lancer-shared 1.2.262 → 1.2.264
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 +6 -2
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +6 -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/lead/index.d.ts +36 -18
- package/dist/schemas/lead/lead-status.d.ts +7 -7
- package/dist/schemas/logger/log-event.d.ts +5 -5
- package/dist/schemas/scraper/scrape-payload.d.ts +15 -10
- 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;
|
|
@@ -422,7 +422,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
422
422
|
question: string;
|
|
423
423
|
}>, "many">>;
|
|
424
424
|
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", "
|
|
425
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "won"]>>;
|
|
426
426
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
427
427
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
428
428
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -434,6 +434,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
434
434
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
435
435
|
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
436
436
|
checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
|
|
437
|
+
biddingScheduledAt: z.ZodNullable<z.ZodNumber>;
|
|
437
438
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
438
439
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
439
440
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
@@ -608,7 +609,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
608
609
|
question: string;
|
|
609
610
|
}[] | null;
|
|
610
611
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
611
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "
|
|
612
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won" | null;
|
|
612
613
|
biddingAmount: number | null;
|
|
613
614
|
boosted: boolean | null;
|
|
614
615
|
boostingAmount: number | null;
|
|
@@ -617,6 +618,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
617
618
|
biddingTaskScheduled: boolean | null;
|
|
618
619
|
scheduledBiddingTime: number | null;
|
|
619
620
|
checkFeedbackStatusCreatedAt: number | null;
|
|
621
|
+
biddingScheduledAt: number | null;
|
|
620
622
|
feedbackCheckTaskId: string | null;
|
|
621
623
|
bidDecision: "rejected" | "proceeded" | null;
|
|
622
624
|
rejectedFeedback: string | null;
|
|
@@ -768,7 +770,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
768
770
|
question: string;
|
|
769
771
|
}[] | null;
|
|
770
772
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
771
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "
|
|
773
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won" | null;
|
|
772
774
|
biddingAmount: number | null;
|
|
773
775
|
boosted: boolean | null;
|
|
774
776
|
boostingAmount: number | null;
|
|
@@ -777,6 +779,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
777
779
|
biddingTaskScheduled: boolean | null;
|
|
778
780
|
scheduledBiddingTime: number | null;
|
|
779
781
|
checkFeedbackStatusCreatedAt: number | null;
|
|
782
|
+
biddingScheduledAt: number | null;
|
|
780
783
|
feedbackCheckTaskId: string | null;
|
|
781
784
|
bidDecision: "rejected" | "proceeded" | null;
|
|
782
785
|
rejectedFeedback: string | null;
|
|
@@ -944,7 +947,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
944
947
|
question: string;
|
|
945
948
|
}[] | null;
|
|
946
949
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
947
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "
|
|
950
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won" | null;
|
|
948
951
|
biddingAmount: number | null;
|
|
949
952
|
boosted: boolean | null;
|
|
950
953
|
boostingAmount: number | null;
|
|
@@ -953,6 +956,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
953
956
|
biddingTaskScheduled: boolean | null;
|
|
954
957
|
scheduledBiddingTime: number | null;
|
|
955
958
|
checkFeedbackStatusCreatedAt: number | null;
|
|
959
|
+
biddingScheduledAt: number | null;
|
|
956
960
|
feedbackCheckTaskId: string | null;
|
|
957
961
|
bidDecision: "rejected" | "proceeded" | null;
|
|
958
962
|
rejectedFeedback: string | null;
|
|
@@ -1114,7 +1118,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
1114
1118
|
question: string;
|
|
1115
1119
|
}[] | null;
|
|
1116
1120
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
1117
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "
|
|
1121
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won" | null;
|
|
1118
1122
|
biddingAmount: number | null;
|
|
1119
1123
|
boosted: boolean | null;
|
|
1120
1124
|
boostingAmount: number | null;
|
|
@@ -1123,6 +1127,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
1123
1127
|
biddingTaskScheduled: boolean | null;
|
|
1124
1128
|
scheduledBiddingTime: number | null;
|
|
1125
1129
|
checkFeedbackStatusCreatedAt: number | null;
|
|
1130
|
+
biddingScheduledAt: number | null;
|
|
1126
1131
|
feedbackCheckTaskId: string | null;
|
|
1127
1132
|
bidDecision: "rejected" | "proceeded" | null;
|
|
1128
1133
|
rejectedFeedback: string | null;
|