Add application workflow and lead analytics
This commit is contained in:
@@ -6,6 +6,42 @@ import (
|
||||
"time"
|
||||
)
|
||||
|
||||
type AddJobApplicationEventInput struct {
|
||||
Kind string `json:"kind"`
|
||||
OccurredAt *time.Time `json:"occurredAt,omitempty"`
|
||||
Note *string `json:"note,omitempty"`
|
||||
Source *string `json:"source,omitempty"`
|
||||
ContactName *string `json:"contactName,omitempty"`
|
||||
ContactEmail *string `json:"contactEmail,omitempty"`
|
||||
ContactRole *string `json:"contactRole,omitempty"`
|
||||
}
|
||||
|
||||
type Analytics struct {
|
||||
TotalApplications int `json:"totalApplications"`
|
||||
StatusCounts []*AnalyticsStatusCount `json:"statusCounts"`
|
||||
Transitions []*AnalyticsTransition `json:"transitions"`
|
||||
ResponseCount int `json:"responseCount"`
|
||||
InterviewCount int `json:"interviewCount"`
|
||||
OfferCount int `json:"offerCount"`
|
||||
ResponseRate float64 `json:"responseRate"`
|
||||
InterviewRate float64 `json:"interviewRate"`
|
||||
OfferRate float64 `json:"offerRate"`
|
||||
AverageDaysToResponse *float64 `json:"averageDaysToResponse,omitempty"`
|
||||
AverageDaysToInterview *float64 `json:"averageDaysToInterview,omitempty"`
|
||||
AverageDaysToOffer *float64 `json:"averageDaysToOffer,omitempty"`
|
||||
}
|
||||
|
||||
type AnalyticsStatusCount struct {
|
||||
Status string `json:"status"`
|
||||
Count int `json:"count"`
|
||||
}
|
||||
|
||||
type AnalyticsTransition struct {
|
||||
From string `json:"from"`
|
||||
To string `json:"to"`
|
||||
Count int `json:"count"`
|
||||
}
|
||||
|
||||
type CreateJobAppReferenceInput struct {
|
||||
Category string `json:"category"`
|
||||
Label string `json:"label"`
|
||||
@@ -14,14 +50,25 @@ type CreateJobAppReferenceInput struct {
|
||||
}
|
||||
|
||||
type CreateJobApplicationInput struct {
|
||||
JobTitle string `json:"jobTitle"`
|
||||
Company string `json:"company"`
|
||||
Location *string `json:"location,omitempty"`
|
||||
URL *string `json:"url,omitempty"`
|
||||
Status string `json:"status"`
|
||||
Notes *string `json:"notes,omitempty"`
|
||||
AppliedAt *time.Time `json:"appliedAt,omitempty"`
|
||||
Description *string `json:"description,omitempty"`
|
||||
JobTitle string `json:"jobTitle"`
|
||||
Company string `json:"company"`
|
||||
Location *string `json:"location,omitempty"`
|
||||
URL *string `json:"url,omitempty"`
|
||||
Status string `json:"status"`
|
||||
Notes *string `json:"notes,omitempty"`
|
||||
AppliedAt *time.Time `json:"appliedAt,omitempty"`
|
||||
Description *string `json:"description,omitempty"`
|
||||
NextAction *string `json:"nextAction,omitempty"`
|
||||
NextActionAt *time.Time `json:"nextActionAt,omitempty"`
|
||||
ContactName *string `json:"contactName,omitempty"`
|
||||
ContactEmail *string `json:"contactEmail,omitempty"`
|
||||
ContactRole *string `json:"contactRole,omitempty"`
|
||||
SalaryRange *string `json:"salaryRange,omitempty"`
|
||||
WorkArrangement *string `json:"workArrangement,omitempty"`
|
||||
ApplicationSource *string `json:"applicationSource,omitempty"`
|
||||
ResumeVersion *string `json:"resumeVersion,omitempty"`
|
||||
RequisitionID *string `json:"requisitionId,omitempty"`
|
||||
LastContactedAt *time.Time `json:"lastContactedAt,omitempty"`
|
||||
}
|
||||
|
||||
type CreateJobSourceInput struct {
|
||||
@@ -33,6 +80,14 @@ type CreateJobSourceInput struct {
|
||||
Enabled *bool `json:"enabled,omitempty"`
|
||||
}
|
||||
|
||||
type JobLeadFilters struct {
|
||||
SourceKind *string `json:"sourceKind,omitempty"`
|
||||
MinScore *int `json:"minScore,omitempty"`
|
||||
MaxScore *int `json:"maxScore,omitempty"`
|
||||
Location *string `json:"location,omitempty"`
|
||||
Company *string `json:"company,omitempty"`
|
||||
}
|
||||
|
||||
type JobLeadSyncStatus struct {
|
||||
Running bool `json:"running"`
|
||||
LastRunAt *time.Time `json:"lastRunAt,omitempty"`
|
||||
@@ -53,14 +108,26 @@ type UpdateJobAppReferenceInput struct {
|
||||
}
|
||||
|
||||
type UpdateJobApplicationInput struct {
|
||||
JobTitle *string `json:"jobTitle,omitempty"`
|
||||
Company *string `json:"company,omitempty"`
|
||||
Location *string `json:"location,omitempty"`
|
||||
URL *string `json:"url,omitempty"`
|
||||
Status *string `json:"status,omitempty"`
|
||||
Notes *string `json:"notes,omitempty"`
|
||||
AppliedAt *time.Time `json:"appliedAt,omitempty"`
|
||||
Description *string `json:"description,omitempty"`
|
||||
JobTitle *string `json:"jobTitle,omitempty"`
|
||||
Company *string `json:"company,omitempty"`
|
||||
Location *string `json:"location,omitempty"`
|
||||
URL *string `json:"url,omitempty"`
|
||||
Status *string `json:"status,omitempty"`
|
||||
Notes *string `json:"notes,omitempty"`
|
||||
AppliedAt *time.Time `json:"appliedAt,omitempty"`
|
||||
Description *string `json:"description,omitempty"`
|
||||
NextAction *string `json:"nextAction,omitempty"`
|
||||
NextActionAt *time.Time `json:"nextActionAt,omitempty"`
|
||||
ClearNextActionAt *bool `json:"clearNextActionAt,omitempty"`
|
||||
ContactName *string `json:"contactName,omitempty"`
|
||||
ContactEmail *string `json:"contactEmail,omitempty"`
|
||||
ContactRole *string `json:"contactRole,omitempty"`
|
||||
SalaryRange *string `json:"salaryRange,omitempty"`
|
||||
WorkArrangement *string `json:"workArrangement,omitempty"`
|
||||
ApplicationSource *string `json:"applicationSource,omitempty"`
|
||||
ResumeVersion *string `json:"resumeVersion,omitempty"`
|
||||
RequisitionID *string `json:"requisitionId,omitempty"`
|
||||
LastContactedAt *time.Time `json:"lastContactedAt,omitempty"`
|
||||
}
|
||||
|
||||
type UpdateJobSearchProfileInput struct {
|
||||
|
||||
Reference in New Issue
Block a user