lancer-shared 1.2.262 → 1.2.263
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 -0
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +3 -0
- package/dist/bundle.esm.js.map +1 -1
- 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
|
@@ -391,7 +391,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
391
391
|
question: string;
|
|
392
392
|
}>, "many">>;
|
|
393
393
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
394
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>>;
|
|
394
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "biddingFailed", "won"]>>;
|
|
395
395
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
396
396
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
397
397
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -403,6 +403,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
403
403
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
404
404
|
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
405
405
|
checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
|
|
406
|
+
biddingScheduledAt: z.ZodNullable<z.ZodNumber>;
|
|
406
407
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
407
408
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
408
409
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
@@ -577,7 +578,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
577
578
|
question: string;
|
|
578
579
|
}[] | null;
|
|
579
580
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
580
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
581
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
581
582
|
biddingAmount: number | null;
|
|
582
583
|
boosted: boolean | null;
|
|
583
584
|
boostingAmount: number | null;
|
|
@@ -586,6 +587,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
586
587
|
biddingTaskScheduled: boolean | null;
|
|
587
588
|
scheduledBiddingTime: number | null;
|
|
588
589
|
checkFeedbackStatusCreatedAt: number | null;
|
|
590
|
+
biddingScheduledAt: number | null;
|
|
589
591
|
feedbackCheckTaskId: string | null;
|
|
590
592
|
bidDecision: "rejected" | "proceeded" | null;
|
|
591
593
|
rejectedFeedback: string | null;
|
|
@@ -737,7 +739,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
737
739
|
question: string;
|
|
738
740
|
}[] | null;
|
|
739
741
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
740
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
742
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
741
743
|
biddingAmount: number | null;
|
|
742
744
|
boosted: boolean | null;
|
|
743
745
|
boostingAmount: number | null;
|
|
@@ -746,6 +748,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
746
748
|
biddingTaskScheduled: boolean | null;
|
|
747
749
|
scheduledBiddingTime: number | null;
|
|
748
750
|
checkFeedbackStatusCreatedAt: number | null;
|
|
751
|
+
biddingScheduledAt: number | null;
|
|
749
752
|
feedbackCheckTaskId: string | null;
|
|
750
753
|
bidDecision: "rejected" | "proceeded" | null;
|
|
751
754
|
rejectedFeedback: string | null;
|
|
@@ -1111,7 +1114,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1111
1114
|
question: string;
|
|
1112
1115
|
}>, "many">>;
|
|
1113
1116
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
1114
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>>;
|
|
1117
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "biddingFailed", "won"]>>;
|
|
1115
1118
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
1116
1119
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
1117
1120
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1123,6 +1126,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1123
1126
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
1124
1127
|
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
1125
1128
|
checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
|
|
1129
|
+
biddingScheduledAt: z.ZodNullable<z.ZodNumber>;
|
|
1126
1130
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
1127
1131
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
1128
1132
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
@@ -1297,7 +1301,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1297
1301
|
question: string;
|
|
1298
1302
|
}[] | null;
|
|
1299
1303
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
1300
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
1304
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
1301
1305
|
biddingAmount: number | null;
|
|
1302
1306
|
boosted: boolean | null;
|
|
1303
1307
|
boostingAmount: number | null;
|
|
@@ -1306,6 +1310,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1306
1310
|
biddingTaskScheduled: boolean | null;
|
|
1307
1311
|
scheduledBiddingTime: number | null;
|
|
1308
1312
|
checkFeedbackStatusCreatedAt: number | null;
|
|
1313
|
+
biddingScheduledAt: number | null;
|
|
1309
1314
|
feedbackCheckTaskId: string | null;
|
|
1310
1315
|
bidDecision: "rejected" | "proceeded" | null;
|
|
1311
1316
|
rejectedFeedback: string | null;
|
|
@@ -1457,7 +1462,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1457
1462
|
question: string;
|
|
1458
1463
|
}[] | null;
|
|
1459
1464
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
1460
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
1465
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
1461
1466
|
biddingAmount: number | null;
|
|
1462
1467
|
boosted: boolean | null;
|
|
1463
1468
|
boostingAmount: number | null;
|
|
@@ -1466,6 +1471,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1466
1471
|
biddingTaskScheduled: boolean | null;
|
|
1467
1472
|
scheduledBiddingTime: number | null;
|
|
1468
1473
|
checkFeedbackStatusCreatedAt: number | null;
|
|
1474
|
+
biddingScheduledAt: number | null;
|
|
1469
1475
|
feedbackCheckTaskId: string | null;
|
|
1470
1476
|
bidDecision: "rejected" | "proceeded" | null;
|
|
1471
1477
|
rejectedFeedback: string | null;
|
|
@@ -1622,7 +1628,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1622
1628
|
question: string;
|
|
1623
1629
|
}[] | null;
|
|
1624
1630
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
1625
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
1631
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
1626
1632
|
biddingAmount: number | null;
|
|
1627
1633
|
boosted: boolean | null;
|
|
1628
1634
|
boostingAmount: number | null;
|
|
@@ -1631,6 +1637,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1631
1637
|
biddingTaskScheduled: boolean | null;
|
|
1632
1638
|
scheduledBiddingTime: number | null;
|
|
1633
1639
|
checkFeedbackStatusCreatedAt: number | null;
|
|
1640
|
+
biddingScheduledAt: number | null;
|
|
1634
1641
|
feedbackCheckTaskId: string | null;
|
|
1635
1642
|
bidDecision: "rejected" | "proceeded" | null;
|
|
1636
1643
|
rejectedFeedback: string | null;
|
|
@@ -1787,7 +1794,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1787
1794
|
question: string;
|
|
1788
1795
|
}[] | null;
|
|
1789
1796
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
1790
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
1797
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
1791
1798
|
biddingAmount: number | null;
|
|
1792
1799
|
boosted: boolean | null;
|
|
1793
1800
|
boostingAmount: number | null;
|
|
@@ -1796,6 +1803,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1796
1803
|
biddingTaskScheduled: boolean | null;
|
|
1797
1804
|
scheduledBiddingTime: number | null;
|
|
1798
1805
|
checkFeedbackStatusCreatedAt: number | null;
|
|
1806
|
+
biddingScheduledAt: number | null;
|
|
1799
1807
|
feedbackCheckTaskId: string | null;
|
|
1800
1808
|
bidDecision: "rejected" | "proceeded" | null;
|
|
1801
1809
|
rejectedFeedback: string | null;
|
|
@@ -2701,7 +2709,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
2701
2709
|
question: string;
|
|
2702
2710
|
}>, "many">>;
|
|
2703
2711
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
2704
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>>;
|
|
2712
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "biddingFailed", "won"]>>;
|
|
2705
2713
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
2706
2714
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
2707
2715
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -2713,6 +2721,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
2713
2721
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
2714
2722
|
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
2715
2723
|
checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
|
|
2724
|
+
biddingScheduledAt: z.ZodNullable<z.ZodNumber>;
|
|
2716
2725
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
2717
2726
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
2718
2727
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
@@ -2887,7 +2896,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
2887
2896
|
question: string;
|
|
2888
2897
|
}[] | null;
|
|
2889
2898
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
2890
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
2899
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
2891
2900
|
biddingAmount: number | null;
|
|
2892
2901
|
boosted: boolean | null;
|
|
2893
2902
|
boostingAmount: number | null;
|
|
@@ -2896,6 +2905,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
2896
2905
|
biddingTaskScheduled: boolean | null;
|
|
2897
2906
|
scheduledBiddingTime: number | null;
|
|
2898
2907
|
checkFeedbackStatusCreatedAt: number | null;
|
|
2908
|
+
biddingScheduledAt: number | null;
|
|
2899
2909
|
feedbackCheckTaskId: string | null;
|
|
2900
2910
|
bidDecision: "rejected" | "proceeded" | null;
|
|
2901
2911
|
rejectedFeedback: string | null;
|
|
@@ -3047,7 +3057,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
3047
3057
|
question: string;
|
|
3048
3058
|
}[] | null;
|
|
3049
3059
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
3050
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
3060
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
3051
3061
|
biddingAmount: number | null;
|
|
3052
3062
|
boosted: boolean | null;
|
|
3053
3063
|
boostingAmount: number | null;
|
|
@@ -3056,6 +3066,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
3056
3066
|
biddingTaskScheduled: boolean | null;
|
|
3057
3067
|
scheduledBiddingTime: number | null;
|
|
3058
3068
|
checkFeedbackStatusCreatedAt: number | null;
|
|
3069
|
+
biddingScheduledAt: number | null;
|
|
3059
3070
|
feedbackCheckTaskId: string | null;
|
|
3060
3071
|
bidDecision: "rejected" | "proceeded" | null;
|
|
3061
3072
|
rejectedFeedback: string | null;
|
|
@@ -3323,7 +3334,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
3323
3334
|
question: string;
|
|
3324
3335
|
}[] | null;
|
|
3325
3336
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
3326
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
3337
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
3327
3338
|
biddingAmount: number | null;
|
|
3328
3339
|
boosted: boolean | null;
|
|
3329
3340
|
boostingAmount: number | null;
|
|
@@ -3332,6 +3343,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
3332
3343
|
biddingTaskScheduled: boolean | null;
|
|
3333
3344
|
scheduledBiddingTime: number | null;
|
|
3334
3345
|
checkFeedbackStatusCreatedAt: number | null;
|
|
3346
|
+
biddingScheduledAt: number | null;
|
|
3335
3347
|
feedbackCheckTaskId: string | null;
|
|
3336
3348
|
bidDecision: "rejected" | "proceeded" | null;
|
|
3337
3349
|
rejectedFeedback: string | null;
|
|
@@ -3600,7 +3612,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
3600
3612
|
question: string;
|
|
3601
3613
|
}[] | null;
|
|
3602
3614
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
3603
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
3615
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
3604
3616
|
biddingAmount: number | null;
|
|
3605
3617
|
boosted: boolean | null;
|
|
3606
3618
|
boostingAmount: number | null;
|
|
@@ -3609,6 +3621,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
3609
3621
|
biddingTaskScheduled: boolean | null;
|
|
3610
3622
|
scheduledBiddingTime: number | null;
|
|
3611
3623
|
checkFeedbackStatusCreatedAt: number | null;
|
|
3624
|
+
biddingScheduledAt: number | null;
|
|
3612
3625
|
feedbackCheckTaskId: string | null;
|
|
3613
3626
|
bidDecision: "rejected" | "proceeded" | null;
|
|
3614
3627
|
rejectedFeedback: string | null;
|
|
@@ -3999,7 +4012,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
3999
4012
|
question: string;
|
|
4000
4013
|
}>, "many">>;
|
|
4001
4014
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
4002
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>>;
|
|
4015
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "biddingFailed", "won"]>>;
|
|
4003
4016
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
4004
4017
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
4005
4018
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -4011,6 +4024,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
4011
4024
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
4012
4025
|
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
4013
4026
|
checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
|
|
4027
|
+
biddingScheduledAt: z.ZodNullable<z.ZodNumber>;
|
|
4014
4028
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
4015
4029
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
4016
4030
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
@@ -4185,7 +4199,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
4185
4199
|
question: string;
|
|
4186
4200
|
}[] | null;
|
|
4187
4201
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
4188
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
4202
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
4189
4203
|
biddingAmount: number | null;
|
|
4190
4204
|
boosted: boolean | null;
|
|
4191
4205
|
boostingAmount: number | null;
|
|
@@ -4194,6 +4208,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
4194
4208
|
biddingTaskScheduled: boolean | null;
|
|
4195
4209
|
scheduledBiddingTime: number | null;
|
|
4196
4210
|
checkFeedbackStatusCreatedAt: number | null;
|
|
4211
|
+
biddingScheduledAt: number | null;
|
|
4197
4212
|
feedbackCheckTaskId: string | null;
|
|
4198
4213
|
bidDecision: "rejected" | "proceeded" | null;
|
|
4199
4214
|
rejectedFeedback: string | null;
|
|
@@ -4345,7 +4360,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
4345
4360
|
question: string;
|
|
4346
4361
|
}[] | null;
|
|
4347
4362
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
4348
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
4363
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
4349
4364
|
biddingAmount: number | null;
|
|
4350
4365
|
boosted: boolean | null;
|
|
4351
4366
|
boostingAmount: number | null;
|
|
@@ -4354,6 +4369,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
4354
4369
|
biddingTaskScheduled: boolean | null;
|
|
4355
4370
|
scheduledBiddingTime: number | null;
|
|
4356
4371
|
checkFeedbackStatusCreatedAt: number | null;
|
|
4372
|
+
biddingScheduledAt: number | null;
|
|
4357
4373
|
feedbackCheckTaskId: string | null;
|
|
4358
4374
|
bidDecision: "rejected" | "proceeded" | null;
|
|
4359
4375
|
rejectedFeedback: string | null;
|
|
@@ -4520,7 +4536,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
4520
4536
|
question: string;
|
|
4521
4537
|
}[] | null;
|
|
4522
4538
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
4523
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
4539
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
4524
4540
|
biddingAmount: number | null;
|
|
4525
4541
|
boosted: boolean | null;
|
|
4526
4542
|
boostingAmount: number | null;
|
|
@@ -4529,6 +4545,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
4529
4545
|
biddingTaskScheduled: boolean | null;
|
|
4530
4546
|
scheduledBiddingTime: number | null;
|
|
4531
4547
|
checkFeedbackStatusCreatedAt: number | null;
|
|
4548
|
+
biddingScheduledAt: number | null;
|
|
4532
4549
|
feedbackCheckTaskId: string | null;
|
|
4533
4550
|
bidDecision: "rejected" | "proceeded" | null;
|
|
4534
4551
|
rejectedFeedback: string | null;
|
|
@@ -4687,7 +4704,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
4687
4704
|
question: string;
|
|
4688
4705
|
}[] | null;
|
|
4689
4706
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
4690
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
4707
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
4691
4708
|
biddingAmount: number | null;
|
|
4692
4709
|
boosted: boolean | null;
|
|
4693
4710
|
boostingAmount: number | null;
|
|
@@ -4696,6 +4713,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
4696
4713
|
biddingTaskScheduled: boolean | null;
|
|
4697
4714
|
scheduledBiddingTime: number | null;
|
|
4698
4715
|
checkFeedbackStatusCreatedAt: number | null;
|
|
4716
|
+
biddingScheduledAt: number | null;
|
|
4699
4717
|
feedbackCheckTaskId: string | null;
|
|
4700
4718
|
bidDecision: "rejected" | "proceeded" | null;
|
|
4701
4719
|
rejectedFeedback: string | null;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const agentStatusSchema: z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>;
|
|
3
|
-
export declare const leadStatusEnum: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>;
|
|
3
|
+
export declare const leadStatusEnum: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "biddingFailed", "won"]>;
|
|
4
4
|
export declare const updateLeadStatusSchema: z.ZodObject<{
|
|
5
5
|
leadId: z.ZodString;
|
|
6
6
|
organizationId: z.ZodString;
|
|
7
7
|
campaignId: z.ZodString;
|
|
8
|
-
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>;
|
|
8
|
+
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "biddingFailed", "won"]>;
|
|
9
9
|
proposalId: z.ZodOptional<z.ZodString>;
|
|
10
10
|
userId: z.ZodOptional<z.ZodString>;
|
|
11
11
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
12
12
|
}, "strip", z.ZodTypeAny, {
|
|
13
|
-
status: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
13
|
+
status: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
14
14
|
campaignId: string;
|
|
15
15
|
organizationId: string;
|
|
16
16
|
leadId: string;
|
|
@@ -18,7 +18,7 @@ export declare const updateLeadStatusSchema: z.ZodObject<{
|
|
|
18
18
|
proposalId?: string | undefined;
|
|
19
19
|
wonAmount?: number | undefined;
|
|
20
20
|
}, {
|
|
21
|
-
status: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
21
|
+
status: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
22
22
|
campaignId: string;
|
|
23
23
|
organizationId: string;
|
|
24
24
|
leadId: string;
|
|
@@ -28,12 +28,12 @@ export declare const updateLeadStatusSchema: z.ZodObject<{
|
|
|
28
28
|
}>;
|
|
29
29
|
export declare const updateOrganizationLeadsStatusPayloadSchema: z.ZodArray<z.ZodObject<{
|
|
30
30
|
applicationUid: z.ZodString;
|
|
31
|
-
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>;
|
|
31
|
+
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "biddingFailed", "won"]>;
|
|
32
32
|
}, "strip", z.ZodTypeAny, {
|
|
33
|
-
status: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
33
|
+
status: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
34
34
|
applicationUid: string;
|
|
35
35
|
}, {
|
|
36
|
-
status: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
36
|
+
status: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
37
37
|
applicationUid: string;
|
|
38
38
|
}>, "many">;
|
|
39
39
|
export type LeadStatus = z.infer<typeof leadStatusEnum>;
|
|
@@ -131,13 +131,13 @@ export declare const leadStatusEventMetadata: z.ZodObject<{
|
|
|
131
131
|
leadId: z.ZodString;
|
|
132
132
|
userId: z.ZodString;
|
|
133
133
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
134
|
-
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>;
|
|
134
|
+
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "biddingFailed", "won"]>;
|
|
135
135
|
proposalId: z.ZodNullable<z.ZodString>;
|
|
136
136
|
}, "strip", z.ZodTypeAny, {
|
|
137
|
-
status: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
137
|
+
status: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
138
138
|
proposalId: string | null;
|
|
139
139
|
}, {
|
|
140
|
-
status: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
140
|
+
status: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
141
141
|
proposalId: string | null;
|
|
142
142
|
}>>;
|
|
143
143
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -148,7 +148,7 @@ export declare const leadStatusEventMetadata: z.ZodObject<{
|
|
|
148
148
|
leadId: string;
|
|
149
149
|
reason?: string | undefined;
|
|
150
150
|
metadata?: {
|
|
151
|
-
status: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
151
|
+
status: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
152
152
|
proposalId: string | null;
|
|
153
153
|
} | undefined;
|
|
154
154
|
}, {
|
|
@@ -158,7 +158,7 @@ export declare const leadStatusEventMetadata: z.ZodObject<{
|
|
|
158
158
|
leadId: string;
|
|
159
159
|
reason?: string | undefined;
|
|
160
160
|
metadata?: {
|
|
161
|
-
status: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
161
|
+
status: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
162
162
|
proposalId: string | null;
|
|
163
163
|
} | undefined;
|
|
164
164
|
}>;
|
|
@@ -698,7 +698,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
698
698
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
699
699
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
700
700
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
701
|
-
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>, z.ZodNumber>>;
|
|
701
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "biddingFailed", "won"]>, z.ZodNumber>>;
|
|
702
702
|
expenses: z.ZodObject<{
|
|
703
703
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
704
704
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -825,7 +825,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
825
825
|
specialisedProfile: string | null;
|
|
826
826
|
bidderId: string | null;
|
|
827
827
|
} | null;
|
|
828
|
-
leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won", number>> | null;
|
|
828
|
+
leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won", number>> | null;
|
|
829
829
|
filters: {
|
|
830
830
|
keywords: {
|
|
831
831
|
includes: string | null;
|
|
@@ -939,7 +939,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
939
939
|
specialisedProfile: string | null;
|
|
940
940
|
bidderId: string | null;
|
|
941
941
|
} | null;
|
|
942
|
-
leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won", number>> | null;
|
|
942
|
+
leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won", number>> | null;
|
|
943
943
|
filters: {
|
|
944
944
|
keywords: {
|
|
945
945
|
includes: string | null;
|
|
@@ -1681,7 +1681,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1681
1681
|
question: string;
|
|
1682
1682
|
}>, "many">>;
|
|
1683
1683
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
1684
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>>;
|
|
1684
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "biddingFailed", "won"]>>;
|
|
1685
1685
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
1686
1686
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
1687
1687
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1693,6 +1693,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1693
1693
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
1694
1694
|
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
1695
1695
|
checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
|
|
1696
|
+
biddingScheduledAt: z.ZodNullable<z.ZodNumber>;
|
|
1696
1697
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
1697
1698
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
1698
1699
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
@@ -1867,7 +1868,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1867
1868
|
question: string;
|
|
1868
1869
|
}[] | null;
|
|
1869
1870
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
1870
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
1871
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
1871
1872
|
biddingAmount: number | null;
|
|
1872
1873
|
boosted: boolean | null;
|
|
1873
1874
|
boostingAmount: number | null;
|
|
@@ -1876,6 +1877,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1876
1877
|
biddingTaskScheduled: boolean | null;
|
|
1877
1878
|
scheduledBiddingTime: number | null;
|
|
1878
1879
|
checkFeedbackStatusCreatedAt: number | null;
|
|
1880
|
+
biddingScheduledAt: number | null;
|
|
1879
1881
|
feedbackCheckTaskId: string | null;
|
|
1880
1882
|
bidDecision: "rejected" | "proceeded" | null;
|
|
1881
1883
|
rejectedFeedback: string | null;
|
|
@@ -2027,7 +2029,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2027
2029
|
question: string;
|
|
2028
2030
|
}[] | null;
|
|
2029
2031
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
2030
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
2032
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
2031
2033
|
biddingAmount: number | null;
|
|
2032
2034
|
boosted: boolean | null;
|
|
2033
2035
|
boostingAmount: number | null;
|
|
@@ -2036,6 +2038,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2036
2038
|
biddingTaskScheduled: boolean | null;
|
|
2037
2039
|
scheduledBiddingTime: number | null;
|
|
2038
2040
|
checkFeedbackStatusCreatedAt: number | null;
|
|
2041
|
+
biddingScheduledAt: number | null;
|
|
2039
2042
|
feedbackCheckTaskId: string | null;
|
|
2040
2043
|
bidDecision: "rejected" | "proceeded" | null;
|
|
2041
2044
|
rejectedFeedback: string | null;
|
|
@@ -2357,7 +2360,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2357
2360
|
question: string;
|
|
2358
2361
|
}[] | null;
|
|
2359
2362
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
2360
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
2363
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
2361
2364
|
biddingAmount: number | null;
|
|
2362
2365
|
boosted: boolean | null;
|
|
2363
2366
|
boostingAmount: number | null;
|
|
@@ -2366,6 +2369,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2366
2369
|
biddingTaskScheduled: boolean | null;
|
|
2367
2370
|
scheduledBiddingTime: number | null;
|
|
2368
2371
|
checkFeedbackStatusCreatedAt: number | null;
|
|
2372
|
+
biddingScheduledAt: number | null;
|
|
2369
2373
|
feedbackCheckTaskId: string | null;
|
|
2370
2374
|
bidDecision: "rejected" | "proceeded" | null;
|
|
2371
2375
|
rejectedFeedback: string | null;
|
|
@@ -2440,7 +2444,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2440
2444
|
specialisedProfile: string | null;
|
|
2441
2445
|
bidderId: string | null;
|
|
2442
2446
|
} | null;
|
|
2443
|
-
leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won", number>> | null;
|
|
2447
|
+
leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won", number>> | null;
|
|
2444
2448
|
filters: {
|
|
2445
2449
|
keywords: {
|
|
2446
2450
|
includes: string | null;
|
|
@@ -2728,7 +2732,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2728
2732
|
question: string;
|
|
2729
2733
|
}[] | null;
|
|
2730
2734
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
2731
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
2735
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
2732
2736
|
biddingAmount: number | null;
|
|
2733
2737
|
boosted: boolean | null;
|
|
2734
2738
|
boostingAmount: number | null;
|
|
@@ -2737,6 +2741,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2737
2741
|
biddingTaskScheduled: boolean | null;
|
|
2738
2742
|
scheduledBiddingTime: number | null;
|
|
2739
2743
|
checkFeedbackStatusCreatedAt: number | null;
|
|
2744
|
+
biddingScheduledAt: number | null;
|
|
2740
2745
|
feedbackCheckTaskId: string | null;
|
|
2741
2746
|
bidDecision: "rejected" | "proceeded" | null;
|
|
2742
2747
|
rejectedFeedback: string | null;
|
|
@@ -2807,7 +2812,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2807
2812
|
specialisedProfile: string | null;
|
|
2808
2813
|
bidderId: string | null;
|
|
2809
2814
|
} | null;
|
|
2810
|
-
leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won", number>> | null;
|
|
2815
|
+
leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won", number>> | null;
|
|
2811
2816
|
filters: {
|
|
2812
2817
|
keywords: {
|
|
2813
2818
|
includes: string | null;
|