Add application workflow and lead analytics
This commit is contained in:
@@ -99,11 +99,19 @@ type JobLeadSyncStatus {
|
||||
lastError: String!
|
||||
}
|
||||
|
||||
input JobLeadFilters {
|
||||
sourceKind: String
|
||||
minScore: Int
|
||||
maxScore: Int
|
||||
location: String
|
||||
company: String
|
||||
}
|
||||
|
||||
extend type Query {
|
||||
jobSources: [JobSource!]! @admin
|
||||
# state filters to one of new, dismissed, promoted; omitted returns all.
|
||||
# Leads that failed the pre-filter are left out unless includeUnmatched.
|
||||
jobLeads(state: String, includeUnmatched: Boolean): [JobLead!]! @admin
|
||||
jobLeads(state: String, includeUnmatched: Boolean, filters: JobLeadFilters): [JobLead!]! @admin
|
||||
jobLead(id: ID!): JobLead @admin
|
||||
jobSearchProfile: JobSearchProfile! @admin
|
||||
jobLeadSyncStatus: JobLeadSyncStatus! @admin
|
||||
@@ -124,6 +132,9 @@ extend type Mutation {
|
||||
# is already tracked, links to that row instead of making a second — and
|
||||
# returns the lead, now promoted, with jobAppId set.
|
||||
promoteJobLead(id: ID!): JobLead! @admin
|
||||
bulkDismissJobLeads(ids: [ID!]!): [JobLead!]! @admin
|
||||
bulkRestoreJobLeads(ids: [ID!]!): [JobLead!]! @admin
|
||||
bulkPromoteJobLeads(ids: [ID!]!): [JobLead!]! @admin
|
||||
|
||||
updateJobSearchProfile(input: UpdateJobSearchProfileInput!): JobSearchProfile! @admin
|
||||
|
||||
|
||||
Reference in New Issue
Block a user