lancer-shared 1.2.263 → 1.2.265
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.cjs.js +3 -2
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +3 -2
- package/dist/bundle.esm.js.map +1 -1
- package/dist/constants/routes.d.ts +1 -0
- package/dist/schemas/agent/index.d.ts +10 -5
- package/dist/schemas/bidder/bid.d.ts +98 -49
- package/dist/schemas/campaign/campaign-analytics.d.ts +38 -29
- package/dist/schemas/campaign/campaign.d.ts +9 -9
- package/dist/schemas/job/index.d.ts +3 -0
- package/dist/schemas/lead/index.d.ts +41 -18
- package/dist/schemas/lead/lead-status.d.ts +7 -7
- package/dist/schemas/logger/feed/feed-job-enrich.d.ts +5 -0
- package/dist/schemas/logger/log-event.d.ts +5 -5
- package/dist/schemas/scraper/scrape-payload.d.ts +15 -10
- package/dist/schemas/scraper/scrape-result.d.ts +5 -0
- package/package.json +1 -1
|
@@ -170,6 +170,7 @@ export declare const ROUTES: {
|
|
|
170
170
|
readonly GENERATE_COUNTS: (organizationId: string, campaignId: string) => string;
|
|
171
171
|
readonly REJECTED: (organizationId: string, campaignId: string) => string;
|
|
172
172
|
readonly SCHEDULE_BIDDING: (organizationId: string, campaignId: string, leadId: string) => string;
|
|
173
|
+
readonly REJECT_LEAD: (organizationId: string, campaignId: string, leadId: string) => string;
|
|
173
174
|
};
|
|
174
175
|
readonly ANALYTICS: (organizationId: string, campaignId: string) => string;
|
|
175
176
|
readonly TOTAL_STATS: (organizationId: string, campaignId: string) => string;
|
|
@@ -338,6 +338,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
338
338
|
interviewing: number | null;
|
|
339
339
|
invitesSent: number | null;
|
|
340
340
|
}>>;
|
|
341
|
+
occupation: z.ZodNullable<z.ZodString>;
|
|
341
342
|
activityUpdates: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
342
343
|
activity: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodEnum<["4h" | "24h"]>, z.ZodObject<{
|
|
343
344
|
proposals: z.ZodObject<{
|
|
@@ -422,7 +423,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
422
423
|
question: string;
|
|
423
424
|
}>, "many">>;
|
|
424
425
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
425
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "
|
|
426
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "won"]>>;
|
|
426
427
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
427
428
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
428
429
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -557,6 +558,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
557
558
|
} | null;
|
|
558
559
|
category: string | null;
|
|
559
560
|
uid: string | null;
|
|
561
|
+
occupation: string | null;
|
|
560
562
|
jobUrl: string | null;
|
|
561
563
|
skills: {
|
|
562
564
|
name: string;
|
|
@@ -609,7 +611,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
609
611
|
question: string;
|
|
610
612
|
}[] | null;
|
|
611
613
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
612
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "
|
|
614
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won" | null;
|
|
613
615
|
biddingAmount: number | null;
|
|
614
616
|
boosted: boolean | null;
|
|
615
617
|
boostingAmount: number | null;
|
|
@@ -718,6 +720,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
718
720
|
} | null;
|
|
719
721
|
category: string | null;
|
|
720
722
|
uid: string | null;
|
|
723
|
+
occupation: string | null;
|
|
721
724
|
jobUrl: string | null;
|
|
722
725
|
skills: {
|
|
723
726
|
name: string;
|
|
@@ -770,7 +773,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
770
773
|
question: string;
|
|
771
774
|
}[] | null;
|
|
772
775
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
773
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "
|
|
776
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won" | null;
|
|
774
777
|
biddingAmount: number | null;
|
|
775
778
|
boosted: boolean | null;
|
|
776
779
|
boostingAmount: number | null;
|
|
@@ -895,6 +898,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
895
898
|
} | null;
|
|
896
899
|
category: string | null;
|
|
897
900
|
uid: string | null;
|
|
901
|
+
occupation: string | null;
|
|
898
902
|
jobUrl: string | null;
|
|
899
903
|
skills: {
|
|
900
904
|
name: string;
|
|
@@ -947,7 +951,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
947
951
|
question: string;
|
|
948
952
|
}[] | null;
|
|
949
953
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
950
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "
|
|
954
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won" | null;
|
|
951
955
|
biddingAmount: number | null;
|
|
952
956
|
boosted: boolean | null;
|
|
953
957
|
boostingAmount: number | null;
|
|
@@ -1066,6 +1070,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
1066
1070
|
} | null;
|
|
1067
1071
|
category: string | null;
|
|
1068
1072
|
uid: string | null;
|
|
1073
|
+
occupation: string | null;
|
|
1069
1074
|
jobUrl: string | null;
|
|
1070
1075
|
skills: {
|
|
1071
1076
|
name: string;
|
|
@@ -1118,7 +1123,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
1118
1123
|
question: string;
|
|
1119
1124
|
}[] | null;
|
|
1120
1125
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
1121
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "
|
|
1126
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won" | null;
|
|
1122
1127
|
biddingAmount: number | null;
|
|
1123
1128
|
boosted: boolean | null;
|
|
1124
1129
|
boostingAmount: number | null;
|