lancer-shared 1.2.259 → 1.2.261

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.
@@ -337,12 +337,13 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
337
337
  biddedAt: z.ZodNullable<z.ZodNumber>;
338
338
  biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
339
339
  scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
340
+ inQueue: z.ZodNullable<z.ZodBoolean>;
341
+ biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
340
342
  wonAmount: z.ZodOptional<z.ZodNumber>;
341
343
  feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
342
344
  bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
343
345
  rejectedFeedback: z.ZodNullable<z.ZodString>;
344
346
  applicationId: z.ZodNullable<z.ZodString>;
345
- campaignName: z.ZodOptional<z.ZodString>;
346
347
  }>, "processed">, "strip", z.ZodTypeAny, {
347
348
  id: string | null;
348
349
  title: string | null;
@@ -362,6 +363,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
362
363
  datetime: number | null;
363
364
  campaignId: string;
364
365
  organizationId: string;
366
+ inQueue: boolean | null;
365
367
  createdAt: number | null;
366
368
  updatedAt: number | null;
367
369
  isFeatured: boolean | null;
@@ -446,7 +448,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
446
448
  question: string;
447
449
  }[] | null;
448
450
  agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
449
- leadStatus: "rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won" | null;
451
+ leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
450
452
  biddingAmount: number | null;
451
453
  boosted: boolean | null;
452
454
  boostingAmount: number | null;
@@ -455,6 +457,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
455
457
  biddedAt: number | null;
456
458
  biddingTaskScheduled: boolean | null;
457
459
  scheduledBiddingTime: number | null;
460
+ biddingDelayInMinutes: number | null;
458
461
  feedbackCheckTaskId: string | null;
459
462
  bidDecision: "rejected" | "proceeded" | null;
460
463
  rejectedFeedback: string | null;
@@ -481,7 +484,6 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
481
484
  } | null | undefined;
482
485
  proposalId?: string | undefined;
483
486
  wonAmount?: number | undefined;
484
- campaignName?: string | undefined;
485
487
  }, {
486
488
  id: string | null;
487
489
  title: string | null;
@@ -501,6 +503,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
501
503
  datetime: number | null;
502
504
  campaignId: string;
503
505
  organizationId: string;
506
+ inQueue: boolean | null;
504
507
  createdAt: number | null;
505
508
  updatedAt: number | null;
506
509
  isFeatured: boolean | null;
@@ -585,7 +588,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
585
588
  question: string;
586
589
  }[] | null;
587
590
  agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
588
- leadStatus: "rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won" | null;
591
+ leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
589
592
  biddingAmount: number | null;
590
593
  boosted: boolean | null;
591
594
  boostingAmount: number | null;
@@ -594,6 +597,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
594
597
  biddedAt: number | null;
595
598
  biddingTaskScheduled: boolean | null;
596
599
  scheduledBiddingTime: number | null;
600
+ biddingDelayInMinutes: number | null;
597
601
  feedbackCheckTaskId: string | null;
598
602
  bidDecision: "rejected" | "proceeded" | null;
599
603
  rejectedFeedback: string | null;
@@ -620,7 +624,6 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
620
624
  } | null | undefined;
621
625
  proposalId?: string | undefined;
622
626
  wonAmount?: number | undefined;
623
- campaignName?: string | undefined;
624
627
  }>;
625
628
  export declare const leadResponseSchema: z.ZodObject<{
626
629
  leads: z.ZodArray<z.ZodObject<Omit<z.objectUtil.extendShape<{
@@ -950,12 +953,13 @@ export declare const leadResponseSchema: z.ZodObject<{
950
953
  biddedAt: z.ZodNullable<z.ZodNumber>;
951
954
  biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
952
955
  scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
956
+ inQueue: z.ZodNullable<z.ZodBoolean>;
957
+ biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
953
958
  wonAmount: z.ZodOptional<z.ZodNumber>;
954
959
  feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
955
960
  bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
956
961
  rejectedFeedback: z.ZodNullable<z.ZodString>;
957
962
  applicationId: z.ZodNullable<z.ZodString>;
958
- campaignName: z.ZodOptional<z.ZodString>;
959
963
  }>, "processed">, "strip", z.ZodTypeAny, {
960
964
  id: string | null;
961
965
  title: string | null;
@@ -975,6 +979,7 @@ export declare const leadResponseSchema: z.ZodObject<{
975
979
  datetime: number | null;
976
980
  campaignId: string;
977
981
  organizationId: string;
982
+ inQueue: boolean | null;
978
983
  createdAt: number | null;
979
984
  updatedAt: number | null;
980
985
  isFeatured: boolean | null;
@@ -1059,7 +1064,7 @@ export declare const leadResponseSchema: z.ZodObject<{
1059
1064
  question: string;
1060
1065
  }[] | null;
1061
1066
  agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
1062
- leadStatus: "rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won" | null;
1067
+ leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
1063
1068
  biddingAmount: number | null;
1064
1069
  boosted: boolean | null;
1065
1070
  boostingAmount: number | null;
@@ -1068,6 +1073,7 @@ export declare const leadResponseSchema: z.ZodObject<{
1068
1073
  biddedAt: number | null;
1069
1074
  biddingTaskScheduled: boolean | null;
1070
1075
  scheduledBiddingTime: number | null;
1076
+ biddingDelayInMinutes: number | null;
1071
1077
  feedbackCheckTaskId: string | null;
1072
1078
  bidDecision: "rejected" | "proceeded" | null;
1073
1079
  rejectedFeedback: string | null;
@@ -1094,7 +1100,6 @@ export declare const leadResponseSchema: z.ZodObject<{
1094
1100
  } | null | undefined;
1095
1101
  proposalId?: string | undefined;
1096
1102
  wonAmount?: number | undefined;
1097
- campaignName?: string | undefined;
1098
1103
  }, {
1099
1104
  id: string | null;
1100
1105
  title: string | null;
@@ -1114,6 +1119,7 @@ export declare const leadResponseSchema: z.ZodObject<{
1114
1119
  datetime: number | null;
1115
1120
  campaignId: string;
1116
1121
  organizationId: string;
1122
+ inQueue: boolean | null;
1117
1123
  createdAt: number | null;
1118
1124
  updatedAt: number | null;
1119
1125
  isFeatured: boolean | null;
@@ -1198,7 +1204,7 @@ export declare const leadResponseSchema: z.ZodObject<{
1198
1204
  question: string;
1199
1205
  }[] | null;
1200
1206
  agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
1201
- leadStatus: "rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won" | null;
1207
+ leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
1202
1208
  biddingAmount: number | null;
1203
1209
  boosted: boolean | null;
1204
1210
  boostingAmount: number | null;
@@ -1207,6 +1213,7 @@ export declare const leadResponseSchema: z.ZodObject<{
1207
1213
  biddedAt: number | null;
1208
1214
  biddingTaskScheduled: boolean | null;
1209
1215
  scheduledBiddingTime: number | null;
1216
+ biddingDelayInMinutes: number | null;
1210
1217
  feedbackCheckTaskId: string | null;
1211
1218
  bidDecision: "rejected" | "proceeded" | null;
1212
1219
  rejectedFeedback: string | null;
@@ -1233,7 +1240,6 @@ export declare const leadResponseSchema: z.ZodObject<{
1233
1240
  } | null | undefined;
1234
1241
  proposalId?: string | undefined;
1235
1242
  wonAmount?: number | undefined;
1236
- campaignName?: string | undefined;
1237
1243
  }>, "many">;
1238
1244
  nextCursor: z.ZodNullable<z.ZodString>;
1239
1245
  hasMore: z.ZodBoolean;
@@ -1258,6 +1264,7 @@ export declare const leadResponseSchema: z.ZodObject<{
1258
1264
  datetime: number | null;
1259
1265
  campaignId: string;
1260
1266
  organizationId: string;
1267
+ inQueue: boolean | null;
1261
1268
  createdAt: number | null;
1262
1269
  updatedAt: number | null;
1263
1270
  isFeatured: boolean | null;
@@ -1342,7 +1349,7 @@ export declare const leadResponseSchema: z.ZodObject<{
1342
1349
  question: string;
1343
1350
  }[] | null;
1344
1351
  agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
1345
- leadStatus: "rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won" | null;
1352
+ leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
1346
1353
  biddingAmount: number | null;
1347
1354
  boosted: boolean | null;
1348
1355
  boostingAmount: number | null;
@@ -1351,6 +1358,7 @@ export declare const leadResponseSchema: z.ZodObject<{
1351
1358
  biddedAt: number | null;
1352
1359
  biddingTaskScheduled: boolean | null;
1353
1360
  scheduledBiddingTime: number | null;
1361
+ biddingDelayInMinutes: number | null;
1354
1362
  feedbackCheckTaskId: string | null;
1355
1363
  bidDecision: "rejected" | "proceeded" | null;
1356
1364
  rejectedFeedback: string | null;
@@ -1377,7 +1385,6 @@ export declare const leadResponseSchema: z.ZodObject<{
1377
1385
  } | null | undefined;
1378
1386
  proposalId?: string | undefined;
1379
1387
  wonAmount?: number | undefined;
1380
- campaignName?: string | undefined;
1381
1388
  }[];
1382
1389
  nextCursor: string | null;
1383
1390
  hasMore: boolean;
@@ -1402,6 +1409,7 @@ export declare const leadResponseSchema: z.ZodObject<{
1402
1409
  datetime: number | null;
1403
1410
  campaignId: string;
1404
1411
  organizationId: string;
1412
+ inQueue: boolean | null;
1405
1413
  createdAt: number | null;
1406
1414
  updatedAt: number | null;
1407
1415
  isFeatured: boolean | null;
@@ -1486,7 +1494,7 @@ export declare const leadResponseSchema: z.ZodObject<{
1486
1494
  question: string;
1487
1495
  }[] | null;
1488
1496
  agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
1489
- leadStatus: "rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won" | null;
1497
+ leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
1490
1498
  biddingAmount: number | null;
1491
1499
  boosted: boolean | null;
1492
1500
  boostingAmount: number | null;
@@ -1495,6 +1503,7 @@ export declare const leadResponseSchema: z.ZodObject<{
1495
1503
  biddedAt: number | null;
1496
1504
  biddingTaskScheduled: boolean | null;
1497
1505
  scheduledBiddingTime: number | null;
1506
+ biddingDelayInMinutes: number | null;
1498
1507
  feedbackCheckTaskId: string | null;
1499
1508
  bidDecision: "rejected" | "proceeded" | null;
1500
1509
  rejectedFeedback: string | null;
@@ -1521,7 +1530,6 @@ export declare const leadResponseSchema: z.ZodObject<{
1521
1530
  } | null | undefined;
1522
1531
  proposalId?: string | undefined;
1523
1532
  wonAmount?: number | undefined;
1524
- campaignName?: string | undefined;
1525
1533
  }[];
1526
1534
  nextCursor: string | null;
1527
1535
  hasMore: boolean;
@@ -1535,13 +1543,13 @@ export declare const findLeadsRequestSchema: z.ZodObject<{
1535
1543
  }, "strip", z.ZodTypeAny, {
1536
1544
  offset?: number | undefined;
1537
1545
  campaignId?: string | undefined;
1538
- filters?: JobFilters | undefined;
1539
1546
  limit?: number | undefined;
1547
+ filters?: JobFilters | undefined;
1540
1548
  }, {
1541
1549
  offset?: number | undefined;
1542
1550
  campaignId?: string | undefined;
1543
- filters?: JobFilters | undefined;
1544
1551
  limit?: number | undefined;
1552
+ filters?: JobFilters | undefined;
1545
1553
  }>;
1546
1554
  export declare const findLeadsResponseSchema: z.ZodObject<{
1547
1555
  total: z.ZodNumber;
@@ -2391,12 +2399,13 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2391
2399
  biddedAt: z.ZodNullable<z.ZodNumber>;
2392
2400
  biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
2393
2401
  scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
2402
+ inQueue: z.ZodNullable<z.ZodBoolean>;
2403
+ biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
2394
2404
  wonAmount: z.ZodOptional<z.ZodNumber>;
2395
2405
  feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
2396
2406
  bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
2397
2407
  rejectedFeedback: z.ZodNullable<z.ZodString>;
2398
2408
  applicationId: z.ZodNullable<z.ZodString>;
2399
- campaignName: z.ZodOptional<z.ZodString>;
2400
2409
  }>, "processed">, "strip", z.ZodTypeAny, {
2401
2410
  id: string | null;
2402
2411
  title: string | null;
@@ -2416,6 +2425,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2416
2425
  datetime: number | null;
2417
2426
  campaignId: string;
2418
2427
  organizationId: string;
2428
+ inQueue: boolean | null;
2419
2429
  createdAt: number | null;
2420
2430
  updatedAt: number | null;
2421
2431
  isFeatured: boolean | null;
@@ -2500,7 +2510,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2500
2510
  question: string;
2501
2511
  }[] | null;
2502
2512
  agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
2503
- leadStatus: "rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won" | null;
2513
+ leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
2504
2514
  biddingAmount: number | null;
2505
2515
  boosted: boolean | null;
2506
2516
  boostingAmount: number | null;
@@ -2509,6 +2519,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2509
2519
  biddedAt: number | null;
2510
2520
  biddingTaskScheduled: boolean | null;
2511
2521
  scheduledBiddingTime: number | null;
2522
+ biddingDelayInMinutes: number | null;
2512
2523
  feedbackCheckTaskId: string | null;
2513
2524
  bidDecision: "rejected" | "proceeded" | null;
2514
2525
  rejectedFeedback: string | null;
@@ -2535,7 +2546,6 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2535
2546
  } | null | undefined;
2536
2547
  proposalId?: string | undefined;
2537
2548
  wonAmount?: number | undefined;
2538
- campaignName?: string | undefined;
2539
2549
  }, {
2540
2550
  id: string | null;
2541
2551
  title: string | null;
@@ -2555,6 +2565,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2555
2565
  datetime: number | null;
2556
2566
  campaignId: string;
2557
2567
  organizationId: string;
2568
+ inQueue: boolean | null;
2558
2569
  createdAt: number | null;
2559
2570
  updatedAt: number | null;
2560
2571
  isFeatured: boolean | null;
@@ -2639,7 +2650,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2639
2650
  question: string;
2640
2651
  }[] | null;
2641
2652
  agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
2642
- leadStatus: "rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won" | null;
2653
+ leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
2643
2654
  biddingAmount: number | null;
2644
2655
  boosted: boolean | null;
2645
2656
  boostingAmount: number | null;
@@ -2648,6 +2659,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2648
2659
  biddedAt: number | null;
2649
2660
  biddingTaskScheduled: boolean | null;
2650
2661
  scheduledBiddingTime: number | null;
2662
+ biddingDelayInMinutes: number | null;
2651
2663
  feedbackCheckTaskId: string | null;
2652
2664
  bidDecision: "rejected" | "proceeded" | null;
2653
2665
  rejectedFeedback: string | null;
@@ -2674,7 +2686,6 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2674
2686
  } | null | undefined;
2675
2687
  proposalId?: string | undefined;
2676
2688
  wonAmount?: number | undefined;
2677
- campaignName?: string | undefined;
2678
2689
  }>]>, "many">;
2679
2690
  lastMonthTotal: z.ZodOptional<z.ZodNumber>;
2680
2691
  lastMonthTotalWithEmptyFilters: z.ZodOptional<z.ZodNumber>;
@@ -2810,6 +2821,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2810
2821
  datetime: number | null;
2811
2822
  campaignId: string;
2812
2823
  organizationId: string;
2824
+ inQueue: boolean | null;
2813
2825
  createdAt: number | null;
2814
2826
  updatedAt: number | null;
2815
2827
  isFeatured: boolean | null;
@@ -2894,7 +2906,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2894
2906
  question: string;
2895
2907
  }[] | null;
2896
2908
  agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
2897
- leadStatus: "rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won" | null;
2909
+ leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
2898
2910
  biddingAmount: number | null;
2899
2911
  boosted: boolean | null;
2900
2912
  boostingAmount: number | null;
@@ -2903,6 +2915,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2903
2915
  biddedAt: number | null;
2904
2916
  biddingTaskScheduled: boolean | null;
2905
2917
  scheduledBiddingTime: number | null;
2918
+ biddingDelayInMinutes: number | null;
2906
2919
  feedbackCheckTaskId: string | null;
2907
2920
  bidDecision: "rejected" | "proceeded" | null;
2908
2921
  rejectedFeedback: string | null;
@@ -2929,7 +2942,6 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2929
2942
  } | null | undefined;
2930
2943
  proposalId?: string | undefined;
2931
2944
  wonAmount?: number | undefined;
2932
- campaignName?: string | undefined;
2933
2945
  })[];
2934
2946
  total: number;
2935
2947
  error?: string | undefined;
@@ -3066,6 +3078,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
3066
3078
  datetime: number | null;
3067
3079
  campaignId: string;
3068
3080
  organizationId: string;
3081
+ inQueue: boolean | null;
3069
3082
  createdAt: number | null;
3070
3083
  updatedAt: number | null;
3071
3084
  isFeatured: boolean | null;
@@ -3150,7 +3163,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
3150
3163
  question: string;
3151
3164
  }[] | null;
3152
3165
  agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
3153
- leadStatus: "rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won" | null;
3166
+ leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
3154
3167
  biddingAmount: number | null;
3155
3168
  boosted: boolean | null;
3156
3169
  boostingAmount: number | null;
@@ -3159,6 +3172,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
3159
3172
  biddedAt: number | null;
3160
3173
  biddingTaskScheduled: boolean | null;
3161
3174
  scheduledBiddingTime: number | null;
3175
+ biddingDelayInMinutes: number | null;
3162
3176
  feedbackCheckTaskId: string | null;
3163
3177
  bidDecision: "rejected" | "proceeded" | null;
3164
3178
  rejectedFeedback: string | null;
@@ -3185,7 +3199,6 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
3185
3199
  } | null | undefined;
3186
3200
  proposalId?: string | undefined;
3187
3201
  wonAmount?: number | undefined;
3188
- campaignName?: string | undefined;
3189
3202
  })[];
3190
3203
  total: number;
3191
3204
  error?: string | undefined;
@@ -3198,16 +3211,19 @@ export declare const getCampaignLeadsRequestQuerySchema: z.ZodObject<{
3198
3211
  limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
3199
3212
  status: z.ZodOptional<z.ZodEnum<["all", "suitable", "contacted", "viewed", "replied"]>>;
3200
3213
  campaignId: z.ZodOptional<z.ZodString>;
3214
+ inQueue: z.ZodOptional<z.ZodBoolean>;
3201
3215
  }, "strip", z.ZodTypeAny, {
3202
3216
  cursor?: string | undefined;
3203
- status?: "all" | "contacted" | "viewed" | "replied" | "suitable" | undefined;
3217
+ status?: "all" | "suitable" | "contacted" | "viewed" | "replied" | undefined;
3204
3218
  campaignId?: string | undefined;
3205
3219
  limit?: number | undefined;
3220
+ inQueue?: boolean | undefined;
3206
3221
  }, {
3207
3222
  cursor?: string | undefined;
3208
- status?: "all" | "contacted" | "viewed" | "replied" | "suitable" | undefined;
3223
+ status?: "all" | "suitable" | "contacted" | "viewed" | "replied" | undefined;
3209
3224
  campaignId?: string | undefined;
3210
3225
  limit?: number | undefined;
3226
+ inQueue?: boolean | undefined;
3211
3227
  }>;
3212
3228
  export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3213
3229
  data: z.ZodArray<z.ZodObject<Omit<z.objectUtil.extendShape<{
@@ -3537,12 +3553,13 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3537
3553
  biddedAt: z.ZodNullable<z.ZodNumber>;
3538
3554
  biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
3539
3555
  scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
3556
+ inQueue: z.ZodNullable<z.ZodBoolean>;
3557
+ biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
3540
3558
  wonAmount: z.ZodOptional<z.ZodNumber>;
3541
3559
  feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
3542
3560
  bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
3543
3561
  rejectedFeedback: z.ZodNullable<z.ZodString>;
3544
3562
  applicationId: z.ZodNullable<z.ZodString>;
3545
- campaignName: z.ZodOptional<z.ZodString>;
3546
3563
  }>, "processed">, "strip", z.ZodTypeAny, {
3547
3564
  id: string | null;
3548
3565
  title: string | null;
@@ -3562,6 +3579,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3562
3579
  datetime: number | null;
3563
3580
  campaignId: string;
3564
3581
  organizationId: string;
3582
+ inQueue: boolean | null;
3565
3583
  createdAt: number | null;
3566
3584
  updatedAt: number | null;
3567
3585
  isFeatured: boolean | null;
@@ -3646,7 +3664,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3646
3664
  question: string;
3647
3665
  }[] | null;
3648
3666
  agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
3649
- leadStatus: "rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won" | null;
3667
+ leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
3650
3668
  biddingAmount: number | null;
3651
3669
  boosted: boolean | null;
3652
3670
  boostingAmount: number | null;
@@ -3655,6 +3673,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3655
3673
  biddedAt: number | null;
3656
3674
  biddingTaskScheduled: boolean | null;
3657
3675
  scheduledBiddingTime: number | null;
3676
+ biddingDelayInMinutes: number | null;
3658
3677
  feedbackCheckTaskId: string | null;
3659
3678
  bidDecision: "rejected" | "proceeded" | null;
3660
3679
  rejectedFeedback: string | null;
@@ -3681,7 +3700,6 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3681
3700
  } | null | undefined;
3682
3701
  proposalId?: string | undefined;
3683
3702
  wonAmount?: number | undefined;
3684
- campaignName?: string | undefined;
3685
3703
  }, {
3686
3704
  id: string | null;
3687
3705
  title: string | null;
@@ -3701,6 +3719,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3701
3719
  datetime: number | null;
3702
3720
  campaignId: string;
3703
3721
  organizationId: string;
3722
+ inQueue: boolean | null;
3704
3723
  createdAt: number | null;
3705
3724
  updatedAt: number | null;
3706
3725
  isFeatured: boolean | null;
@@ -3785,7 +3804,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3785
3804
  question: string;
3786
3805
  }[] | null;
3787
3806
  agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
3788
- leadStatus: "rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won" | null;
3807
+ leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
3789
3808
  biddingAmount: number | null;
3790
3809
  boosted: boolean | null;
3791
3810
  boostingAmount: number | null;
@@ -3794,6 +3813,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3794
3813
  biddedAt: number | null;
3795
3814
  biddingTaskScheduled: boolean | null;
3796
3815
  scheduledBiddingTime: number | null;
3816
+ biddingDelayInMinutes: number | null;
3797
3817
  feedbackCheckTaskId: string | null;
3798
3818
  bidDecision: "rejected" | "proceeded" | null;
3799
3819
  rejectedFeedback: string | null;
@@ -3820,20 +3840,19 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3820
3840
  } | null | undefined;
3821
3841
  proposalId?: string | undefined;
3822
3842
  wonAmount?: number | undefined;
3823
- campaignName?: string | undefined;
3824
3843
  }>, "many">;
3825
3844
  pagination: z.ZodObject<{
3826
3845
  hasMore: z.ZodBoolean;
3827
3846
  nextCursor: z.ZodNullable<z.ZodString>;
3828
3847
  limit: z.ZodNumber;
3829
3848
  }, "strip", z.ZodTypeAny, {
3849
+ limit: number;
3830
3850
  nextCursor: string | null;
3831
3851
  hasMore: boolean;
3832
- limit: number;
3833
3852
  }, {
3853
+ limit: number;
3834
3854
  nextCursor: string | null;
3835
3855
  hasMore: boolean;
3836
- limit: number;
3837
3856
  }>;
3838
3857
  }, "strip", z.ZodTypeAny, {
3839
3858
  data: {
@@ -3855,6 +3874,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3855
3874
  datetime: number | null;
3856
3875
  campaignId: string;
3857
3876
  organizationId: string;
3877
+ inQueue: boolean | null;
3858
3878
  createdAt: number | null;
3859
3879
  updatedAt: number | null;
3860
3880
  isFeatured: boolean | null;
@@ -3939,7 +3959,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3939
3959
  question: string;
3940
3960
  }[] | null;
3941
3961
  agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
3942
- leadStatus: "rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won" | null;
3962
+ leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
3943
3963
  biddingAmount: number | null;
3944
3964
  boosted: boolean | null;
3945
3965
  boostingAmount: number | null;
@@ -3948,6 +3968,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3948
3968
  biddedAt: number | null;
3949
3969
  biddingTaskScheduled: boolean | null;
3950
3970
  scheduledBiddingTime: number | null;
3971
+ biddingDelayInMinutes: number | null;
3951
3972
  feedbackCheckTaskId: string | null;
3952
3973
  bidDecision: "rejected" | "proceeded" | null;
3953
3974
  rejectedFeedback: string | null;
@@ -3974,12 +3995,11 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3974
3995
  } | null | undefined;
3975
3996
  proposalId?: string | undefined;
3976
3997
  wonAmount?: number | undefined;
3977
- campaignName?: string | undefined;
3978
3998
  }[];
3979
3999
  pagination: {
4000
+ limit: number;
3980
4001
  nextCursor: string | null;
3981
4002
  hasMore: boolean;
3982
- limit: number;
3983
4003
  };
3984
4004
  }, {
3985
4005
  data: {
@@ -4001,6 +4021,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
4001
4021
  datetime: number | null;
4002
4022
  campaignId: string;
4003
4023
  organizationId: string;
4024
+ inQueue: boolean | null;
4004
4025
  createdAt: number | null;
4005
4026
  updatedAt: number | null;
4006
4027
  isFeatured: boolean | null;
@@ -4085,7 +4106,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
4085
4106
  question: string;
4086
4107
  }[] | null;
4087
4108
  agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
4088
- leadStatus: "rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won" | null;
4109
+ leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
4089
4110
  biddingAmount: number | null;
4090
4111
  boosted: boolean | null;
4091
4112
  boostingAmount: number | null;
@@ -4094,6 +4115,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
4094
4115
  biddedAt: number | null;
4095
4116
  biddingTaskScheduled: boolean | null;
4096
4117
  scheduledBiddingTime: number | null;
4118
+ biddingDelayInMinutes: number | null;
4097
4119
  feedbackCheckTaskId: string | null;
4098
4120
  bidDecision: "rejected" | "proceeded" | null;
4099
4121
  rejectedFeedback: string | null;
@@ -4120,12 +4142,11 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
4120
4142
  } | null | undefined;
4121
4143
  proposalId?: string | undefined;
4122
4144
  wonAmount?: number | undefined;
4123
- campaignName?: string | undefined;
4124
4145
  }[];
4125
4146
  pagination: {
4147
+ limit: number;
4126
4148
  nextCursor: string | null;
4127
4149
  hasMore: boolean;
4128
- limit: number;
4129
4150
  };
4130
4151
  }>;
4131
4152
  export declare const generateLeadCountsRequestSchema: z.ZodObject<{
@@ -10,7 +10,7 @@ export declare const updateLeadStatusSchema: z.ZodObject<{
10
10
  userId: z.ZodOptional<z.ZodString>;
11
11
  wonAmount: z.ZodOptional<z.ZodNumber>;
12
12
  }, "strip", z.ZodTypeAny, {
13
- status: "rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won";
13
+ status: "rejected" | "contacted" | "viewed" | "replied" | "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" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won";
21
+ status: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
22
22
  campaignId: string;
23
23
  organizationId: string;
24
24
  leadId: string;
@@ -30,10 +30,10 @@ export declare const updateOrganizationLeadsStatusPayloadSchema: z.ZodArray<z.Zo
30
30
  applicationUid: z.ZodString;
31
31
  status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "won"]>;
32
32
  }, "strip", z.ZodTypeAny, {
33
- status: "rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won";
33
+ status: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
34
34
  applicationUid: string;
35
35
  }, {
36
- status: "rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won";
36
+ status: "rejected" | "contacted" | "viewed" | "replied" | "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>;