lancer-shared 1.2.260 → 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.
@@ -338,12 +338,12 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
338
338
  biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
339
339
  scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
340
340
  inQueue: z.ZodNullable<z.ZodBoolean>;
341
+ biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
341
342
  wonAmount: z.ZodOptional<z.ZodNumber>;
342
343
  feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
343
344
  bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
344
345
  rejectedFeedback: z.ZodNullable<z.ZodString>;
345
346
  applicationId: z.ZodNullable<z.ZodString>;
346
- campaignName: z.ZodOptional<z.ZodString>;
347
347
  }>, "processed">, "strip", z.ZodTypeAny, {
348
348
  id: string | null;
349
349
  title: string | null;
@@ -363,6 +363,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
363
363
  datetime: number | null;
364
364
  campaignId: string;
365
365
  organizationId: string;
366
+ inQueue: boolean | null;
366
367
  createdAt: number | null;
367
368
  updatedAt: number | null;
368
369
  isFeatured: boolean | null;
@@ -447,7 +448,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
447
448
  question: string;
448
449
  }[] | null;
449
450
  agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
450
- 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;
451
452
  biddingAmount: number | null;
452
453
  boosted: boolean | null;
453
454
  boostingAmount: number | null;
@@ -456,7 +457,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
456
457
  biddedAt: number | null;
457
458
  biddingTaskScheduled: boolean | null;
458
459
  scheduledBiddingTime: number | null;
459
- inQueue: boolean | null;
460
+ biddingDelayInMinutes: number | null;
460
461
  feedbackCheckTaskId: string | null;
461
462
  bidDecision: "rejected" | "proceeded" | null;
462
463
  rejectedFeedback: string | null;
@@ -483,7 +484,6 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
483
484
  } | null | undefined;
484
485
  proposalId?: string | undefined;
485
486
  wonAmount?: number | undefined;
486
- campaignName?: string | undefined;
487
487
  }, {
488
488
  id: string | null;
489
489
  title: string | null;
@@ -503,6 +503,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
503
503
  datetime: number | null;
504
504
  campaignId: string;
505
505
  organizationId: string;
506
+ inQueue: boolean | null;
506
507
  createdAt: number | null;
507
508
  updatedAt: number | null;
508
509
  isFeatured: boolean | null;
@@ -587,7 +588,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
587
588
  question: string;
588
589
  }[] | null;
589
590
  agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
590
- 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;
591
592
  biddingAmount: number | null;
592
593
  boosted: boolean | null;
593
594
  boostingAmount: number | null;
@@ -596,7 +597,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
596
597
  biddedAt: number | null;
597
598
  biddingTaskScheduled: boolean | null;
598
599
  scheduledBiddingTime: number | null;
599
- inQueue: boolean | null;
600
+ biddingDelayInMinutes: number | null;
600
601
  feedbackCheckTaskId: string | null;
601
602
  bidDecision: "rejected" | "proceeded" | null;
602
603
  rejectedFeedback: string | null;
@@ -623,7 +624,6 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
623
624
  } | null | undefined;
624
625
  proposalId?: string | undefined;
625
626
  wonAmount?: number | undefined;
626
- campaignName?: string | undefined;
627
627
  }>;
628
628
  export declare const leadResponseSchema: z.ZodObject<{
629
629
  leads: z.ZodArray<z.ZodObject<Omit<z.objectUtil.extendShape<{
@@ -954,12 +954,12 @@ export declare const leadResponseSchema: z.ZodObject<{
954
954
  biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
955
955
  scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
956
956
  inQueue: z.ZodNullable<z.ZodBoolean>;
957
+ biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
957
958
  wonAmount: z.ZodOptional<z.ZodNumber>;
958
959
  feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
959
960
  bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
960
961
  rejectedFeedback: z.ZodNullable<z.ZodString>;
961
962
  applicationId: z.ZodNullable<z.ZodString>;
962
- campaignName: z.ZodOptional<z.ZodString>;
963
963
  }>, "processed">, "strip", z.ZodTypeAny, {
964
964
  id: string | null;
965
965
  title: string | null;
@@ -979,6 +979,7 @@ export declare const leadResponseSchema: z.ZodObject<{
979
979
  datetime: number | null;
980
980
  campaignId: string;
981
981
  organizationId: string;
982
+ inQueue: boolean | null;
982
983
  createdAt: number | null;
983
984
  updatedAt: number | null;
984
985
  isFeatured: boolean | null;
@@ -1063,7 +1064,7 @@ export declare const leadResponseSchema: z.ZodObject<{
1063
1064
  question: string;
1064
1065
  }[] | null;
1065
1066
  agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
1066
- 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;
1067
1068
  biddingAmount: number | null;
1068
1069
  boosted: boolean | null;
1069
1070
  boostingAmount: number | null;
@@ -1072,7 +1073,7 @@ export declare const leadResponseSchema: z.ZodObject<{
1072
1073
  biddedAt: number | null;
1073
1074
  biddingTaskScheduled: boolean | null;
1074
1075
  scheduledBiddingTime: number | null;
1075
- inQueue: boolean | null;
1076
+ biddingDelayInMinutes: number | null;
1076
1077
  feedbackCheckTaskId: string | null;
1077
1078
  bidDecision: "rejected" | "proceeded" | null;
1078
1079
  rejectedFeedback: string | null;
@@ -1099,7 +1100,6 @@ export declare const leadResponseSchema: z.ZodObject<{
1099
1100
  } | null | undefined;
1100
1101
  proposalId?: string | undefined;
1101
1102
  wonAmount?: number | undefined;
1102
- campaignName?: string | undefined;
1103
1103
  }, {
1104
1104
  id: string | null;
1105
1105
  title: string | null;
@@ -1119,6 +1119,7 @@ export declare const leadResponseSchema: z.ZodObject<{
1119
1119
  datetime: number | null;
1120
1120
  campaignId: string;
1121
1121
  organizationId: string;
1122
+ inQueue: boolean | null;
1122
1123
  createdAt: number | null;
1123
1124
  updatedAt: number | null;
1124
1125
  isFeatured: boolean | null;
@@ -1203,7 +1204,7 @@ export declare const leadResponseSchema: z.ZodObject<{
1203
1204
  question: string;
1204
1205
  }[] | null;
1205
1206
  agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
1206
- 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;
1207
1208
  biddingAmount: number | null;
1208
1209
  boosted: boolean | null;
1209
1210
  boostingAmount: number | null;
@@ -1212,7 +1213,7 @@ export declare const leadResponseSchema: z.ZodObject<{
1212
1213
  biddedAt: number | null;
1213
1214
  biddingTaskScheduled: boolean | null;
1214
1215
  scheduledBiddingTime: number | null;
1215
- inQueue: boolean | null;
1216
+ biddingDelayInMinutes: number | null;
1216
1217
  feedbackCheckTaskId: string | null;
1217
1218
  bidDecision: "rejected" | "proceeded" | null;
1218
1219
  rejectedFeedback: string | null;
@@ -1239,7 +1240,6 @@ export declare const leadResponseSchema: z.ZodObject<{
1239
1240
  } | null | undefined;
1240
1241
  proposalId?: string | undefined;
1241
1242
  wonAmount?: number | undefined;
1242
- campaignName?: string | undefined;
1243
1243
  }>, "many">;
1244
1244
  nextCursor: z.ZodNullable<z.ZodString>;
1245
1245
  hasMore: z.ZodBoolean;
@@ -1264,6 +1264,7 @@ export declare const leadResponseSchema: z.ZodObject<{
1264
1264
  datetime: number | null;
1265
1265
  campaignId: string;
1266
1266
  organizationId: string;
1267
+ inQueue: boolean | null;
1267
1268
  createdAt: number | null;
1268
1269
  updatedAt: number | null;
1269
1270
  isFeatured: boolean | null;
@@ -1348,7 +1349,7 @@ export declare const leadResponseSchema: z.ZodObject<{
1348
1349
  question: string;
1349
1350
  }[] | null;
1350
1351
  agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
1351
- 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;
1352
1353
  biddingAmount: number | null;
1353
1354
  boosted: boolean | null;
1354
1355
  boostingAmount: number | null;
@@ -1357,7 +1358,7 @@ export declare const leadResponseSchema: z.ZodObject<{
1357
1358
  biddedAt: number | null;
1358
1359
  biddingTaskScheduled: boolean | null;
1359
1360
  scheduledBiddingTime: number | null;
1360
- inQueue: boolean | null;
1361
+ biddingDelayInMinutes: number | null;
1361
1362
  feedbackCheckTaskId: string | null;
1362
1363
  bidDecision: "rejected" | "proceeded" | null;
1363
1364
  rejectedFeedback: string | null;
@@ -1384,7 +1385,6 @@ export declare const leadResponseSchema: z.ZodObject<{
1384
1385
  } | null | undefined;
1385
1386
  proposalId?: string | undefined;
1386
1387
  wonAmount?: number | undefined;
1387
- campaignName?: string | undefined;
1388
1388
  }[];
1389
1389
  nextCursor: string | null;
1390
1390
  hasMore: boolean;
@@ -1409,6 +1409,7 @@ export declare const leadResponseSchema: z.ZodObject<{
1409
1409
  datetime: number | null;
1410
1410
  campaignId: string;
1411
1411
  organizationId: string;
1412
+ inQueue: boolean | null;
1412
1413
  createdAt: number | null;
1413
1414
  updatedAt: number | null;
1414
1415
  isFeatured: boolean | null;
@@ -1493,7 +1494,7 @@ export declare const leadResponseSchema: z.ZodObject<{
1493
1494
  question: string;
1494
1495
  }[] | null;
1495
1496
  agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
1496
- 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;
1497
1498
  biddingAmount: number | null;
1498
1499
  boosted: boolean | null;
1499
1500
  boostingAmount: number | null;
@@ -1502,7 +1503,7 @@ export declare const leadResponseSchema: z.ZodObject<{
1502
1503
  biddedAt: number | null;
1503
1504
  biddingTaskScheduled: boolean | null;
1504
1505
  scheduledBiddingTime: number | null;
1505
- inQueue: boolean | null;
1506
+ biddingDelayInMinutes: number | null;
1506
1507
  feedbackCheckTaskId: string | null;
1507
1508
  bidDecision: "rejected" | "proceeded" | null;
1508
1509
  rejectedFeedback: string | null;
@@ -1529,7 +1530,6 @@ export declare const leadResponseSchema: z.ZodObject<{
1529
1530
  } | null | undefined;
1530
1531
  proposalId?: string | undefined;
1531
1532
  wonAmount?: number | undefined;
1532
- campaignName?: string | undefined;
1533
1533
  }[];
1534
1534
  nextCursor: string | null;
1535
1535
  hasMore: boolean;
@@ -1543,13 +1543,13 @@ export declare const findLeadsRequestSchema: z.ZodObject<{
1543
1543
  }, "strip", z.ZodTypeAny, {
1544
1544
  offset?: number | undefined;
1545
1545
  campaignId?: string | undefined;
1546
- filters?: JobFilters | undefined;
1547
1546
  limit?: number | undefined;
1547
+ filters?: JobFilters | undefined;
1548
1548
  }, {
1549
1549
  offset?: number | undefined;
1550
1550
  campaignId?: string | undefined;
1551
- filters?: JobFilters | undefined;
1552
1551
  limit?: number | undefined;
1552
+ filters?: JobFilters | undefined;
1553
1553
  }>;
1554
1554
  export declare const findLeadsResponseSchema: z.ZodObject<{
1555
1555
  total: z.ZodNumber;
@@ -2400,12 +2400,12 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2400
2400
  biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
2401
2401
  scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
2402
2402
  inQueue: z.ZodNullable<z.ZodBoolean>;
2403
+ biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
2403
2404
  wonAmount: z.ZodOptional<z.ZodNumber>;
2404
2405
  feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
2405
2406
  bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
2406
2407
  rejectedFeedback: z.ZodNullable<z.ZodString>;
2407
2408
  applicationId: z.ZodNullable<z.ZodString>;
2408
- campaignName: z.ZodOptional<z.ZodString>;
2409
2409
  }>, "processed">, "strip", z.ZodTypeAny, {
2410
2410
  id: string | null;
2411
2411
  title: string | null;
@@ -2425,6 +2425,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2425
2425
  datetime: number | null;
2426
2426
  campaignId: string;
2427
2427
  organizationId: string;
2428
+ inQueue: boolean | null;
2428
2429
  createdAt: number | null;
2429
2430
  updatedAt: number | null;
2430
2431
  isFeatured: boolean | null;
@@ -2509,7 +2510,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2509
2510
  question: string;
2510
2511
  }[] | null;
2511
2512
  agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
2512
- 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;
2513
2514
  biddingAmount: number | null;
2514
2515
  boosted: boolean | null;
2515
2516
  boostingAmount: number | null;
@@ -2518,7 +2519,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2518
2519
  biddedAt: number | null;
2519
2520
  biddingTaskScheduled: boolean | null;
2520
2521
  scheduledBiddingTime: number | null;
2521
- inQueue: boolean | null;
2522
+ biddingDelayInMinutes: number | null;
2522
2523
  feedbackCheckTaskId: string | null;
2523
2524
  bidDecision: "rejected" | "proceeded" | null;
2524
2525
  rejectedFeedback: string | null;
@@ -2545,7 +2546,6 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2545
2546
  } | null | undefined;
2546
2547
  proposalId?: string | undefined;
2547
2548
  wonAmount?: number | undefined;
2548
- campaignName?: string | undefined;
2549
2549
  }, {
2550
2550
  id: string | null;
2551
2551
  title: string | null;
@@ -2565,6 +2565,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2565
2565
  datetime: number | null;
2566
2566
  campaignId: string;
2567
2567
  organizationId: string;
2568
+ inQueue: boolean | null;
2568
2569
  createdAt: number | null;
2569
2570
  updatedAt: number | null;
2570
2571
  isFeatured: boolean | null;
@@ -2649,7 +2650,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2649
2650
  question: string;
2650
2651
  }[] | null;
2651
2652
  agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
2652
- 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;
2653
2654
  biddingAmount: number | null;
2654
2655
  boosted: boolean | null;
2655
2656
  boostingAmount: number | null;
@@ -2658,7 +2659,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2658
2659
  biddedAt: number | null;
2659
2660
  biddingTaskScheduled: boolean | null;
2660
2661
  scheduledBiddingTime: number | null;
2661
- inQueue: boolean | null;
2662
+ biddingDelayInMinutes: number | null;
2662
2663
  feedbackCheckTaskId: string | null;
2663
2664
  bidDecision: "rejected" | "proceeded" | null;
2664
2665
  rejectedFeedback: string | null;
@@ -2685,7 +2686,6 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2685
2686
  } | null | undefined;
2686
2687
  proposalId?: string | undefined;
2687
2688
  wonAmount?: number | undefined;
2688
- campaignName?: string | undefined;
2689
2689
  }>]>, "many">;
2690
2690
  lastMonthTotal: z.ZodOptional<z.ZodNumber>;
2691
2691
  lastMonthTotalWithEmptyFilters: z.ZodOptional<z.ZodNumber>;
@@ -2821,6 +2821,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2821
2821
  datetime: number | null;
2822
2822
  campaignId: string;
2823
2823
  organizationId: string;
2824
+ inQueue: boolean | null;
2824
2825
  createdAt: number | null;
2825
2826
  updatedAt: number | null;
2826
2827
  isFeatured: boolean | null;
@@ -2905,7 +2906,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2905
2906
  question: string;
2906
2907
  }[] | null;
2907
2908
  agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
2908
- 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;
2909
2910
  biddingAmount: number | null;
2910
2911
  boosted: boolean | null;
2911
2912
  boostingAmount: number | null;
@@ -2914,7 +2915,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2914
2915
  biddedAt: number | null;
2915
2916
  biddingTaskScheduled: boolean | null;
2916
2917
  scheduledBiddingTime: number | null;
2917
- inQueue: boolean | null;
2918
+ biddingDelayInMinutes: number | null;
2918
2919
  feedbackCheckTaskId: string | null;
2919
2920
  bidDecision: "rejected" | "proceeded" | null;
2920
2921
  rejectedFeedback: string | null;
@@ -2941,7 +2942,6 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2941
2942
  } | null | undefined;
2942
2943
  proposalId?: string | undefined;
2943
2944
  wonAmount?: number | undefined;
2944
- campaignName?: string | undefined;
2945
2945
  })[];
2946
2946
  total: number;
2947
2947
  error?: string | undefined;
@@ -3078,6 +3078,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
3078
3078
  datetime: number | null;
3079
3079
  campaignId: string;
3080
3080
  organizationId: string;
3081
+ inQueue: boolean | null;
3081
3082
  createdAt: number | null;
3082
3083
  updatedAt: number | null;
3083
3084
  isFeatured: boolean | null;
@@ -3162,7 +3163,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
3162
3163
  question: string;
3163
3164
  }[] | null;
3164
3165
  agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
3165
- 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;
3166
3167
  biddingAmount: number | null;
3167
3168
  boosted: boolean | null;
3168
3169
  boostingAmount: number | null;
@@ -3171,7 +3172,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
3171
3172
  biddedAt: number | null;
3172
3173
  biddingTaskScheduled: boolean | null;
3173
3174
  scheduledBiddingTime: number | null;
3174
- inQueue: boolean | null;
3175
+ biddingDelayInMinutes: number | null;
3175
3176
  feedbackCheckTaskId: string | null;
3176
3177
  bidDecision: "rejected" | "proceeded" | null;
3177
3178
  rejectedFeedback: string | null;
@@ -3198,7 +3199,6 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
3198
3199
  } | null | undefined;
3199
3200
  proposalId?: string | undefined;
3200
3201
  wonAmount?: number | undefined;
3201
- campaignName?: string | undefined;
3202
3202
  })[];
3203
3203
  total: number;
3204
3204
  error?: string | undefined;
@@ -3211,16 +3211,19 @@ export declare const getCampaignLeadsRequestQuerySchema: z.ZodObject<{
3211
3211
  limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
3212
3212
  status: z.ZodOptional<z.ZodEnum<["all", "suitable", "contacted", "viewed", "replied"]>>;
3213
3213
  campaignId: z.ZodOptional<z.ZodString>;
3214
+ inQueue: z.ZodOptional<z.ZodBoolean>;
3214
3215
  }, "strip", z.ZodTypeAny, {
3215
3216
  cursor?: string | undefined;
3216
- status?: "all" | "contacted" | "viewed" | "replied" | "suitable" | undefined;
3217
+ status?: "all" | "suitable" | "contacted" | "viewed" | "replied" | undefined;
3217
3218
  campaignId?: string | undefined;
3218
3219
  limit?: number | undefined;
3220
+ inQueue?: boolean | undefined;
3219
3221
  }, {
3220
3222
  cursor?: string | undefined;
3221
- status?: "all" | "contacted" | "viewed" | "replied" | "suitable" | undefined;
3223
+ status?: "all" | "suitable" | "contacted" | "viewed" | "replied" | undefined;
3222
3224
  campaignId?: string | undefined;
3223
3225
  limit?: number | undefined;
3226
+ inQueue?: boolean | undefined;
3224
3227
  }>;
3225
3228
  export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3226
3229
  data: z.ZodArray<z.ZodObject<Omit<z.objectUtil.extendShape<{
@@ -3551,12 +3554,12 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3551
3554
  biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
3552
3555
  scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
3553
3556
  inQueue: z.ZodNullable<z.ZodBoolean>;
3557
+ biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
3554
3558
  wonAmount: z.ZodOptional<z.ZodNumber>;
3555
3559
  feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
3556
3560
  bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
3557
3561
  rejectedFeedback: z.ZodNullable<z.ZodString>;
3558
3562
  applicationId: z.ZodNullable<z.ZodString>;
3559
- campaignName: z.ZodOptional<z.ZodString>;
3560
3563
  }>, "processed">, "strip", z.ZodTypeAny, {
3561
3564
  id: string | null;
3562
3565
  title: string | null;
@@ -3576,6 +3579,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3576
3579
  datetime: number | null;
3577
3580
  campaignId: string;
3578
3581
  organizationId: string;
3582
+ inQueue: boolean | null;
3579
3583
  createdAt: number | null;
3580
3584
  updatedAt: number | null;
3581
3585
  isFeatured: boolean | null;
@@ -3660,7 +3664,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3660
3664
  question: string;
3661
3665
  }[] | null;
3662
3666
  agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
3663
- 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;
3664
3668
  biddingAmount: number | null;
3665
3669
  boosted: boolean | null;
3666
3670
  boostingAmount: number | null;
@@ -3669,7 +3673,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3669
3673
  biddedAt: number | null;
3670
3674
  biddingTaskScheduled: boolean | null;
3671
3675
  scheduledBiddingTime: number | null;
3672
- inQueue: boolean | null;
3676
+ biddingDelayInMinutes: number | null;
3673
3677
  feedbackCheckTaskId: string | null;
3674
3678
  bidDecision: "rejected" | "proceeded" | null;
3675
3679
  rejectedFeedback: string | null;
@@ -3696,7 +3700,6 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3696
3700
  } | null | undefined;
3697
3701
  proposalId?: string | undefined;
3698
3702
  wonAmount?: number | undefined;
3699
- campaignName?: string | undefined;
3700
3703
  }, {
3701
3704
  id: string | null;
3702
3705
  title: string | null;
@@ -3716,6 +3719,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3716
3719
  datetime: number | null;
3717
3720
  campaignId: string;
3718
3721
  organizationId: string;
3722
+ inQueue: boolean | null;
3719
3723
  createdAt: number | null;
3720
3724
  updatedAt: number | null;
3721
3725
  isFeatured: boolean | null;
@@ -3800,7 +3804,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3800
3804
  question: string;
3801
3805
  }[] | null;
3802
3806
  agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
3803
- 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;
3804
3808
  biddingAmount: number | null;
3805
3809
  boosted: boolean | null;
3806
3810
  boostingAmount: number | null;
@@ -3809,7 +3813,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3809
3813
  biddedAt: number | null;
3810
3814
  biddingTaskScheduled: boolean | null;
3811
3815
  scheduledBiddingTime: number | null;
3812
- inQueue: boolean | null;
3816
+ biddingDelayInMinutes: number | null;
3813
3817
  feedbackCheckTaskId: string | null;
3814
3818
  bidDecision: "rejected" | "proceeded" | null;
3815
3819
  rejectedFeedback: string | null;
@@ -3836,20 +3840,19 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3836
3840
  } | null | undefined;
3837
3841
  proposalId?: string | undefined;
3838
3842
  wonAmount?: number | undefined;
3839
- campaignName?: string | undefined;
3840
3843
  }>, "many">;
3841
3844
  pagination: z.ZodObject<{
3842
3845
  hasMore: z.ZodBoolean;
3843
3846
  nextCursor: z.ZodNullable<z.ZodString>;
3844
3847
  limit: z.ZodNumber;
3845
3848
  }, "strip", z.ZodTypeAny, {
3849
+ limit: number;
3846
3850
  nextCursor: string | null;
3847
3851
  hasMore: boolean;
3848
- limit: number;
3849
3852
  }, {
3853
+ limit: number;
3850
3854
  nextCursor: string | null;
3851
3855
  hasMore: boolean;
3852
- limit: number;
3853
3856
  }>;
3854
3857
  }, "strip", z.ZodTypeAny, {
3855
3858
  data: {
@@ -3871,6 +3874,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3871
3874
  datetime: number | null;
3872
3875
  campaignId: string;
3873
3876
  organizationId: string;
3877
+ inQueue: boolean | null;
3874
3878
  createdAt: number | null;
3875
3879
  updatedAt: number | null;
3876
3880
  isFeatured: boolean | null;
@@ -3955,7 +3959,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3955
3959
  question: string;
3956
3960
  }[] | null;
3957
3961
  agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
3958
- 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;
3959
3963
  biddingAmount: number | null;
3960
3964
  boosted: boolean | null;
3961
3965
  boostingAmount: number | null;
@@ -3964,7 +3968,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3964
3968
  biddedAt: number | null;
3965
3969
  biddingTaskScheduled: boolean | null;
3966
3970
  scheduledBiddingTime: number | null;
3967
- inQueue: boolean | null;
3971
+ biddingDelayInMinutes: number | null;
3968
3972
  feedbackCheckTaskId: string | null;
3969
3973
  bidDecision: "rejected" | "proceeded" | null;
3970
3974
  rejectedFeedback: string | null;
@@ -3991,12 +3995,11 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3991
3995
  } | null | undefined;
3992
3996
  proposalId?: string | undefined;
3993
3997
  wonAmount?: number | undefined;
3994
- campaignName?: string | undefined;
3995
3998
  }[];
3996
3999
  pagination: {
4000
+ limit: number;
3997
4001
  nextCursor: string | null;
3998
4002
  hasMore: boolean;
3999
- limit: number;
4000
4003
  };
4001
4004
  }, {
4002
4005
  data: {
@@ -4018,6 +4021,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
4018
4021
  datetime: number | null;
4019
4022
  campaignId: string;
4020
4023
  organizationId: string;
4024
+ inQueue: boolean | null;
4021
4025
  createdAt: number | null;
4022
4026
  updatedAt: number | null;
4023
4027
  isFeatured: boolean | null;
@@ -4102,7 +4106,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
4102
4106
  question: string;
4103
4107
  }[] | null;
4104
4108
  agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
4105
- 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;
4106
4110
  biddingAmount: number | null;
4107
4111
  boosted: boolean | null;
4108
4112
  boostingAmount: number | null;
@@ -4111,7 +4115,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
4111
4115
  biddedAt: number | null;
4112
4116
  biddingTaskScheduled: boolean | null;
4113
4117
  scheduledBiddingTime: number | null;
4114
- inQueue: boolean | null;
4118
+ biddingDelayInMinutes: number | null;
4115
4119
  feedbackCheckTaskId: string | null;
4116
4120
  bidDecision: "rejected" | "proceeded" | null;
4117
4121
  rejectedFeedback: string | null;
@@ -4138,12 +4142,11 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
4138
4142
  } | null | undefined;
4139
4143
  proposalId?: string | undefined;
4140
4144
  wonAmount?: number | undefined;
4141
- campaignName?: string | undefined;
4142
4145
  }[];
4143
4146
  pagination: {
4147
+ limit: number;
4144
4148
  nextCursor: string | null;
4145
4149
  hasMore: boolean;
4146
- limit: number;
4147
4150
  };
4148
4151
  }>;
4149
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>;