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
|
@@ -307,6 +307,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
307
307
|
interviewing: number | null;
|
|
308
308
|
invitesSent: number | null;
|
|
309
309
|
}>>;
|
|
310
|
+
occupation: z.ZodNullable<z.ZodString>;
|
|
310
311
|
activityUpdates: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
311
312
|
activity: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodEnum<["4h" | "24h"]>, z.ZodObject<{
|
|
312
313
|
proposals: z.ZodObject<{
|
|
@@ -391,7 +392,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
391
392
|
question: string;
|
|
392
393
|
}>, "many">>;
|
|
393
394
|
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", "
|
|
395
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "won"]>>;
|
|
395
396
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
396
397
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
397
398
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -526,6 +527,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
526
527
|
} | null;
|
|
527
528
|
category: string | null;
|
|
528
529
|
uid: string | null;
|
|
530
|
+
occupation: string | null;
|
|
529
531
|
jobUrl: string | null;
|
|
530
532
|
skills: {
|
|
531
533
|
name: string;
|
|
@@ -578,7 +580,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
578
580
|
question: string;
|
|
579
581
|
}[] | null;
|
|
580
582
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
581
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "
|
|
583
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won" | null;
|
|
582
584
|
biddingAmount: number | null;
|
|
583
585
|
boosted: boolean | null;
|
|
584
586
|
boostingAmount: number | null;
|
|
@@ -687,6 +689,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
687
689
|
} | null;
|
|
688
690
|
category: string | null;
|
|
689
691
|
uid: string | null;
|
|
692
|
+
occupation: string | null;
|
|
690
693
|
jobUrl: string | null;
|
|
691
694
|
skills: {
|
|
692
695
|
name: string;
|
|
@@ -739,7 +742,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
739
742
|
question: string;
|
|
740
743
|
}[] | null;
|
|
741
744
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
742
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "
|
|
745
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won" | null;
|
|
743
746
|
biddingAmount: number | null;
|
|
744
747
|
boosted: boolean | null;
|
|
745
748
|
boostingAmount: number | null;
|
|
@@ -1030,6 +1033,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1030
1033
|
interviewing: number | null;
|
|
1031
1034
|
invitesSent: number | null;
|
|
1032
1035
|
}>>;
|
|
1036
|
+
occupation: z.ZodNullable<z.ZodString>;
|
|
1033
1037
|
activityUpdates: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
1034
1038
|
activity: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodEnum<["4h" | "24h"]>, z.ZodObject<{
|
|
1035
1039
|
proposals: z.ZodObject<{
|
|
@@ -1114,7 +1118,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1114
1118
|
question: string;
|
|
1115
1119
|
}>, "many">>;
|
|
1116
1120
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
1117
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "
|
|
1121
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "won"]>>;
|
|
1118
1122
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
1119
1123
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
1120
1124
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1249,6 +1253,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1249
1253
|
} | null;
|
|
1250
1254
|
category: string | null;
|
|
1251
1255
|
uid: string | null;
|
|
1256
|
+
occupation: string | null;
|
|
1252
1257
|
jobUrl: string | null;
|
|
1253
1258
|
skills: {
|
|
1254
1259
|
name: string;
|
|
@@ -1301,7 +1306,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1301
1306
|
question: string;
|
|
1302
1307
|
}[] | null;
|
|
1303
1308
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
1304
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "
|
|
1309
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won" | null;
|
|
1305
1310
|
biddingAmount: number | null;
|
|
1306
1311
|
boosted: boolean | null;
|
|
1307
1312
|
boostingAmount: number | null;
|
|
@@ -1410,6 +1415,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1410
1415
|
} | null;
|
|
1411
1416
|
category: string | null;
|
|
1412
1417
|
uid: string | null;
|
|
1418
|
+
occupation: string | null;
|
|
1413
1419
|
jobUrl: string | null;
|
|
1414
1420
|
skills: {
|
|
1415
1421
|
name: string;
|
|
@@ -1462,7 +1468,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1462
1468
|
question: string;
|
|
1463
1469
|
}[] | null;
|
|
1464
1470
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
1465
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "
|
|
1471
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won" | null;
|
|
1466
1472
|
biddingAmount: number | null;
|
|
1467
1473
|
boosted: boolean | null;
|
|
1468
1474
|
boostingAmount: number | null;
|
|
@@ -1576,6 +1582,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1576
1582
|
} | null;
|
|
1577
1583
|
category: string | null;
|
|
1578
1584
|
uid: string | null;
|
|
1585
|
+
occupation: string | null;
|
|
1579
1586
|
jobUrl: string | null;
|
|
1580
1587
|
skills: {
|
|
1581
1588
|
name: string;
|
|
@@ -1628,7 +1635,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1628
1635
|
question: string;
|
|
1629
1636
|
}[] | null;
|
|
1630
1637
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
1631
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "
|
|
1638
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won" | null;
|
|
1632
1639
|
biddingAmount: number | null;
|
|
1633
1640
|
boosted: boolean | null;
|
|
1634
1641
|
boostingAmount: number | null;
|
|
@@ -1742,6 +1749,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1742
1749
|
} | null;
|
|
1743
1750
|
category: string | null;
|
|
1744
1751
|
uid: string | null;
|
|
1752
|
+
occupation: string | null;
|
|
1745
1753
|
jobUrl: string | null;
|
|
1746
1754
|
skills: {
|
|
1747
1755
|
name: string;
|
|
@@ -1794,7 +1802,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1794
1802
|
question: string;
|
|
1795
1803
|
}[] | null;
|
|
1796
1804
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
1797
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "
|
|
1805
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won" | null;
|
|
1798
1806
|
biddingAmount: number | null;
|
|
1799
1807
|
boosted: boolean | null;
|
|
1800
1808
|
boostingAmount: number | null;
|
|
@@ -2106,6 +2114,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
2106
2114
|
interviewing: number | null;
|
|
2107
2115
|
invitesSent: number | null;
|
|
2108
2116
|
}>>;
|
|
2117
|
+
occupation: z.ZodNullable<z.ZodString>;
|
|
2109
2118
|
activityUpdates: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
2110
2119
|
activity: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodEnum<["4h" | "24h"]>, z.ZodObject<{
|
|
2111
2120
|
proposals: z.ZodObject<{
|
|
@@ -2219,6 +2228,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
2219
2228
|
} | null;
|
|
2220
2229
|
category: string | null;
|
|
2221
2230
|
uid: string | null;
|
|
2231
|
+
occupation: string | null;
|
|
2222
2232
|
jobUrl: string | null;
|
|
2223
2233
|
skills: {
|
|
2224
2234
|
name: string;
|
|
@@ -2330,6 +2340,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
2330
2340
|
} | null;
|
|
2331
2341
|
category: string | null;
|
|
2332
2342
|
uid: string | null;
|
|
2343
|
+
occupation: string | null;
|
|
2333
2344
|
jobUrl: string | null;
|
|
2334
2345
|
skills: {
|
|
2335
2346
|
name: string;
|
|
@@ -2625,6 +2636,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
2625
2636
|
interviewing: number | null;
|
|
2626
2637
|
invitesSent: number | null;
|
|
2627
2638
|
}>>;
|
|
2639
|
+
occupation: z.ZodNullable<z.ZodString>;
|
|
2628
2640
|
activityUpdates: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
2629
2641
|
activity: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodEnum<["4h" | "24h"]>, z.ZodObject<{
|
|
2630
2642
|
proposals: z.ZodObject<{
|
|
@@ -2709,7 +2721,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
2709
2721
|
question: string;
|
|
2710
2722
|
}>, "many">>;
|
|
2711
2723
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
2712
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "
|
|
2724
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "won"]>>;
|
|
2713
2725
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
2714
2726
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
2715
2727
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -2844,6 +2856,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
2844
2856
|
} | null;
|
|
2845
2857
|
category: string | null;
|
|
2846
2858
|
uid: string | null;
|
|
2859
|
+
occupation: string | null;
|
|
2847
2860
|
jobUrl: string | null;
|
|
2848
2861
|
skills: {
|
|
2849
2862
|
name: string;
|
|
@@ -2896,7 +2909,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
2896
2909
|
question: string;
|
|
2897
2910
|
}[] | null;
|
|
2898
2911
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
2899
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "
|
|
2912
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won" | null;
|
|
2900
2913
|
biddingAmount: number | null;
|
|
2901
2914
|
boosted: boolean | null;
|
|
2902
2915
|
boostingAmount: number | null;
|
|
@@ -3005,6 +3018,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
3005
3018
|
} | null;
|
|
3006
3019
|
category: string | null;
|
|
3007
3020
|
uid: string | null;
|
|
3021
|
+
occupation: string | null;
|
|
3008
3022
|
jobUrl: string | null;
|
|
3009
3023
|
skills: {
|
|
3010
3024
|
name: string;
|
|
@@ -3057,7 +3071,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
3057
3071
|
question: string;
|
|
3058
3072
|
}[] | null;
|
|
3059
3073
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
3060
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "
|
|
3074
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won" | null;
|
|
3061
3075
|
biddingAmount: number | null;
|
|
3062
3076
|
boosted: boolean | null;
|
|
3063
3077
|
boostingAmount: number | null;
|
|
@@ -3167,6 +3181,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
3167
3181
|
} | null;
|
|
3168
3182
|
category: string | null;
|
|
3169
3183
|
uid: string | null;
|
|
3184
|
+
occupation: string | null;
|
|
3170
3185
|
jobUrl: string | null;
|
|
3171
3186
|
skills: {
|
|
3172
3187
|
name: string;
|
|
@@ -3282,6 +3297,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
3282
3297
|
} | null;
|
|
3283
3298
|
category: string | null;
|
|
3284
3299
|
uid: string | null;
|
|
3300
|
+
occupation: string | null;
|
|
3285
3301
|
jobUrl: string | null;
|
|
3286
3302
|
skills: {
|
|
3287
3303
|
name: string;
|
|
@@ -3334,7 +3350,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
3334
3350
|
question: string;
|
|
3335
3351
|
}[] | null;
|
|
3336
3352
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
3337
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "
|
|
3353
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won" | null;
|
|
3338
3354
|
biddingAmount: number | null;
|
|
3339
3355
|
boosted: boolean | null;
|
|
3340
3356
|
boostingAmount: number | null;
|
|
@@ -3445,6 +3461,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
3445
3461
|
} | null;
|
|
3446
3462
|
category: string | null;
|
|
3447
3463
|
uid: string | null;
|
|
3464
|
+
occupation: string | null;
|
|
3448
3465
|
jobUrl: string | null;
|
|
3449
3466
|
skills: {
|
|
3450
3467
|
name: string;
|
|
@@ -3560,6 +3577,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
3560
3577
|
} | null;
|
|
3561
3578
|
category: string | null;
|
|
3562
3579
|
uid: string | null;
|
|
3580
|
+
occupation: string | null;
|
|
3563
3581
|
jobUrl: string | null;
|
|
3564
3582
|
skills: {
|
|
3565
3583
|
name: string;
|
|
@@ -3612,7 +3630,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
3612
3630
|
question: string;
|
|
3613
3631
|
}[] | null;
|
|
3614
3632
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
3615
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "
|
|
3633
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won" | null;
|
|
3616
3634
|
biddingAmount: number | null;
|
|
3617
3635
|
boosted: boolean | null;
|
|
3618
3636
|
boostingAmount: number | null;
|
|
@@ -3928,6 +3946,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
3928
3946
|
interviewing: number | null;
|
|
3929
3947
|
invitesSent: number | null;
|
|
3930
3948
|
}>>;
|
|
3949
|
+
occupation: z.ZodNullable<z.ZodString>;
|
|
3931
3950
|
activityUpdates: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
3932
3951
|
activity: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodEnum<["4h" | "24h"]>, z.ZodObject<{
|
|
3933
3952
|
proposals: z.ZodObject<{
|
|
@@ -4012,7 +4031,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
4012
4031
|
question: string;
|
|
4013
4032
|
}>, "many">>;
|
|
4014
4033
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
4015
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "
|
|
4034
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "won"]>>;
|
|
4016
4035
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
4017
4036
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
4018
4037
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -4147,6 +4166,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
4147
4166
|
} | null;
|
|
4148
4167
|
category: string | null;
|
|
4149
4168
|
uid: string | null;
|
|
4169
|
+
occupation: string | null;
|
|
4150
4170
|
jobUrl: string | null;
|
|
4151
4171
|
skills: {
|
|
4152
4172
|
name: string;
|
|
@@ -4199,7 +4219,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
4199
4219
|
question: string;
|
|
4200
4220
|
}[] | null;
|
|
4201
4221
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
4202
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "
|
|
4222
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won" | null;
|
|
4203
4223
|
biddingAmount: number | null;
|
|
4204
4224
|
boosted: boolean | null;
|
|
4205
4225
|
boostingAmount: number | null;
|
|
@@ -4308,6 +4328,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
4308
4328
|
} | null;
|
|
4309
4329
|
category: string | null;
|
|
4310
4330
|
uid: string | null;
|
|
4331
|
+
occupation: string | null;
|
|
4311
4332
|
jobUrl: string | null;
|
|
4312
4333
|
skills: {
|
|
4313
4334
|
name: string;
|
|
@@ -4360,7 +4381,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
4360
4381
|
question: string;
|
|
4361
4382
|
}[] | null;
|
|
4362
4383
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
4363
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "
|
|
4384
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won" | null;
|
|
4364
4385
|
biddingAmount: number | null;
|
|
4365
4386
|
boosted: boolean | null;
|
|
4366
4387
|
boostingAmount: number | null;
|
|
@@ -4484,6 +4505,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
4484
4505
|
} | null;
|
|
4485
4506
|
category: string | null;
|
|
4486
4507
|
uid: string | null;
|
|
4508
|
+
occupation: string | null;
|
|
4487
4509
|
jobUrl: string | null;
|
|
4488
4510
|
skills: {
|
|
4489
4511
|
name: string;
|
|
@@ -4536,7 +4558,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
4536
4558
|
question: string;
|
|
4537
4559
|
}[] | null;
|
|
4538
4560
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
4539
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "
|
|
4561
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won" | null;
|
|
4540
4562
|
biddingAmount: number | null;
|
|
4541
4563
|
boosted: boolean | null;
|
|
4542
4564
|
boostingAmount: number | null;
|
|
@@ -4652,6 +4674,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
4652
4674
|
} | null;
|
|
4653
4675
|
category: string | null;
|
|
4654
4676
|
uid: string | null;
|
|
4677
|
+
occupation: string | null;
|
|
4655
4678
|
jobUrl: string | null;
|
|
4656
4679
|
skills: {
|
|
4657
4680
|
name: string;
|
|
@@ -4704,7 +4727,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
4704
4727
|
question: string;
|
|
4705
4728
|
}[] | null;
|
|
4706
4729
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
4707
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "
|
|
4730
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won" | null;
|
|
4708
4731
|
biddingAmount: number | null;
|
|
4709
4732
|
boosted: boolean | null;
|
|
4710
4733
|
boostingAmount: number | 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", "
|
|
3
|
+
export declare const leadStatusEnum: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "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", "
|
|
8
|
+
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "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" | "
|
|
13
|
+
status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "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" | "
|
|
21
|
+
status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "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", "
|
|
31
|
+
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "won"]>;
|
|
32
32
|
}, "strip", z.ZodTypeAny, {
|
|
33
|
-
status: "rejected" | "contacted" | "viewed" | "replied" | "
|
|
33
|
+
status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won";
|
|
34
34
|
applicationUid: string;
|
|
35
35
|
}, {
|
|
36
|
-
status: "rejected" | "contacted" | "viewed" | "replied" | "
|
|
36
|
+
status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won";
|
|
37
37
|
applicationUid: string;
|
|
38
38
|
}>, "many">;
|
|
39
39
|
export type LeadStatus = z.infer<typeof leadStatusEnum>;
|
|
@@ -763,6 +763,7 @@ export declare const feedJobEnrichCompletedEventMetadata: z.ZodObject<z.objectUt
|
|
|
763
763
|
interviewing: number | null;
|
|
764
764
|
invitesSent: number | null;
|
|
765
765
|
}>>;
|
|
766
|
+
occupation: z.ZodNullable<z.ZodString>;
|
|
766
767
|
activityUpdates: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
767
768
|
activity: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodEnum<["4h" | "24h"]>, z.ZodObject<{
|
|
768
769
|
proposals: z.ZodObject<{
|
|
@@ -876,6 +877,7 @@ export declare const feedJobEnrichCompletedEventMetadata: z.ZodObject<z.objectUt
|
|
|
876
877
|
} | null;
|
|
877
878
|
category: string | null;
|
|
878
879
|
uid: string | null;
|
|
880
|
+
occupation: string | null;
|
|
879
881
|
jobUrl: string | null;
|
|
880
882
|
skills: {
|
|
881
883
|
name: string;
|
|
@@ -987,6 +989,7 @@ export declare const feedJobEnrichCompletedEventMetadata: z.ZodObject<z.objectUt
|
|
|
987
989
|
} | null;
|
|
988
990
|
category: string | null;
|
|
989
991
|
uid: string | null;
|
|
992
|
+
occupation: string | null;
|
|
990
993
|
jobUrl: string | null;
|
|
991
994
|
skills: {
|
|
992
995
|
name: string;
|
|
@@ -1103,6 +1106,7 @@ export declare const feedJobEnrichCompletedEventMetadata: z.ZodObject<z.objectUt
|
|
|
1103
1106
|
} | null;
|
|
1104
1107
|
category: string | null;
|
|
1105
1108
|
uid: string | null;
|
|
1109
|
+
occupation: string | null;
|
|
1106
1110
|
jobUrl: string | null;
|
|
1107
1111
|
skills: {
|
|
1108
1112
|
name: string;
|
|
@@ -1220,6 +1224,7 @@ export declare const feedJobEnrichCompletedEventMetadata: z.ZodObject<z.objectUt
|
|
|
1220
1224
|
} | null;
|
|
1221
1225
|
category: string | null;
|
|
1222
1226
|
uid: string | null;
|
|
1227
|
+
occupation: string | null;
|
|
1223
1228
|
jobUrl: string | null;
|
|
1224
1229
|
skills: {
|
|
1225
1230
|
name: string;
|
|
@@ -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", "
|
|
134
|
+
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "won"]>;
|
|
135
135
|
proposalId: z.ZodNullable<z.ZodString>;
|
|
136
136
|
}, "strip", z.ZodTypeAny, {
|
|
137
|
-
status: "rejected" | "contacted" | "viewed" | "replied" | "
|
|
137
|
+
status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won";
|
|
138
138
|
proposalId: string | null;
|
|
139
139
|
}, {
|
|
140
|
-
status: "rejected" | "contacted" | "viewed" | "replied" | "
|
|
140
|
+
status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "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" | "
|
|
151
|
+
status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "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" | "
|
|
161
|
+
status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won";
|
|
162
162
|
proposalId: string | null;
|
|
163
163
|
} | undefined;
|
|
164
164
|
}>;
|