lancer-shared 1.2.260 → 1.2.262

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.
@@ -10,6 +10,69 @@ export declare const questionAnswerPairSchema: z.ZodObject<{
10
10
  answer: string;
11
11
  question: string;
12
12
  }>;
13
+ export declare const leadBiddingConfigSchema: z.ZodObject<{
14
+ appliedFromQueue: z.ZodNullable<z.ZodBoolean>;
15
+ biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
16
+ bidWithWarning: z.ZodEnum<["bid", "skip"]>;
17
+ biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
18
+ biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
19
+ biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
20
+ boostingEnabled: z.ZodNullable<z.ZodBoolean>;
21
+ boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
22
+ connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
23
+ maximumBoost: z.ZodNullable<z.ZodNumber>;
24
+ minBoost: z.ZodNullable<z.ZodNumber>;
25
+ insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
26
+ bidConfig: z.ZodObject<{
27
+ agencyName: z.ZodNullable<z.ZodString>;
28
+ contractorName: z.ZodNullable<z.ZodString>;
29
+ specialisedProfile: z.ZodNullable<z.ZodString>;
30
+ }, "strip", z.ZodTypeAny, {
31
+ contractorName: string | null;
32
+ agencyName: string | null;
33
+ specialisedProfile: string | null;
34
+ }, {
35
+ contractorName: string | null;
36
+ agencyName: string | null;
37
+ specialisedProfile: string | null;
38
+ }>;
39
+ }, "strip", z.ZodTypeAny, {
40
+ appliedFromQueue: boolean | null;
41
+ biddingDelayInMinutes: number | null;
42
+ bidWithWarning: "bid" | "skip";
43
+ biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
44
+ biddingHourlyRatePercentage: number | null;
45
+ biddingFixedHourlyRate: number | null;
46
+ boostingEnabled: boolean | null;
47
+ boostDownToNthPlace: number | null;
48
+ connectsAbovePrevious: number | null;
49
+ maximumBoost: number | null;
50
+ minBoost: number | null;
51
+ insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
52
+ bidConfig: {
53
+ contractorName: string | null;
54
+ agencyName: string | null;
55
+ specialisedProfile: string | null;
56
+ };
57
+ }, {
58
+ appliedFromQueue: boolean | null;
59
+ biddingDelayInMinutes: number | null;
60
+ bidWithWarning: "bid" | "skip";
61
+ biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
62
+ biddingHourlyRatePercentage: number | null;
63
+ biddingFixedHourlyRate: number | null;
64
+ boostingEnabled: boolean | null;
65
+ boostDownToNthPlace: number | null;
66
+ connectsAbovePrevious: number | null;
67
+ maximumBoost: number | null;
68
+ minBoost: number | null;
69
+ insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
70
+ bidConfig: {
71
+ contractorName: string | null;
72
+ agencyName: string | null;
73
+ specialisedProfile: string | null;
74
+ };
75
+ }>;
13
76
  export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
14
77
  id: z.ZodNullable<z.ZodString>;
15
78
  uid: z.ZodNullable<z.ZodString>;
@@ -328,7 +391,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
328
391
  question: string;
329
392
  }>, "many">>;
330
393
  agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
331
- leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "won"]>>;
394
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>>;
332
395
  biddingAmount: z.ZodNullable<z.ZodNumber>;
333
396
  boosted: z.ZodNullable<z.ZodBoolean>;
334
397
  boostingAmount: z.ZodNullable<z.ZodNumber>;
@@ -338,12 +401,76 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
338
401
  biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
339
402
  scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
340
403
  inQueue: z.ZodNullable<z.ZodBoolean>;
404
+ biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
405
+ checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
341
406
  wonAmount: z.ZodOptional<z.ZodNumber>;
342
407
  feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
343
408
  bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
344
409
  rejectedFeedback: z.ZodNullable<z.ZodString>;
345
410
  applicationId: z.ZodNullable<z.ZodString>;
346
- campaignName: z.ZodOptional<z.ZodString>;
411
+ leadBiddingConfig: z.ZodNullable<z.ZodObject<{
412
+ appliedFromQueue: z.ZodNullable<z.ZodBoolean>;
413
+ biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
414
+ bidWithWarning: z.ZodEnum<["bid", "skip"]>;
415
+ biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
416
+ biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
417
+ biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
418
+ boostingEnabled: z.ZodNullable<z.ZodBoolean>;
419
+ boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
420
+ connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
421
+ maximumBoost: z.ZodNullable<z.ZodNumber>;
422
+ minBoost: z.ZodNullable<z.ZodNumber>;
423
+ insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
424
+ bidConfig: z.ZodObject<{
425
+ agencyName: z.ZodNullable<z.ZodString>;
426
+ contractorName: z.ZodNullable<z.ZodString>;
427
+ specialisedProfile: z.ZodNullable<z.ZodString>;
428
+ }, "strip", z.ZodTypeAny, {
429
+ contractorName: string | null;
430
+ agencyName: string | null;
431
+ specialisedProfile: string | null;
432
+ }, {
433
+ contractorName: string | null;
434
+ agencyName: string | null;
435
+ specialisedProfile: string | null;
436
+ }>;
437
+ }, "strip", z.ZodTypeAny, {
438
+ appliedFromQueue: boolean | null;
439
+ biddingDelayInMinutes: number | null;
440
+ bidWithWarning: "bid" | "skip";
441
+ biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
442
+ biddingHourlyRatePercentage: number | null;
443
+ biddingFixedHourlyRate: number | null;
444
+ boostingEnabled: boolean | null;
445
+ boostDownToNthPlace: number | null;
446
+ connectsAbovePrevious: number | null;
447
+ maximumBoost: number | null;
448
+ minBoost: number | null;
449
+ insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
450
+ bidConfig: {
451
+ contractorName: string | null;
452
+ agencyName: string | null;
453
+ specialisedProfile: string | null;
454
+ };
455
+ }, {
456
+ appliedFromQueue: boolean | null;
457
+ biddingDelayInMinutes: number | null;
458
+ bidWithWarning: "bid" | "skip";
459
+ biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
460
+ biddingHourlyRatePercentage: number | null;
461
+ biddingFixedHourlyRate: number | null;
462
+ boostingEnabled: boolean | null;
463
+ boostDownToNthPlace: number | null;
464
+ connectsAbovePrevious: number | null;
465
+ maximumBoost: number | null;
466
+ minBoost: number | null;
467
+ insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
468
+ bidConfig: {
469
+ contractorName: string | null;
470
+ agencyName: string | null;
471
+ specialisedProfile: string | null;
472
+ };
473
+ }>>;
347
474
  }>, "processed">, "strip", z.ZodTypeAny, {
348
475
  id: string | null;
349
476
  title: string | null;
@@ -363,6 +490,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
363
490
  datetime: number | null;
364
491
  campaignId: string;
365
492
  organizationId: string;
493
+ inQueue: boolean | null;
366
494
  createdAt: number | null;
367
495
  updatedAt: number | null;
368
496
  isFeatured: boolean | null;
@@ -438,6 +566,8 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
438
566
  } | null;
439
567
  activityUpdates: 2 | 1 | 3 | null;
440
568
  scrapedAt: number | null;
569
+ biddingDelayInMinutes: number | null;
570
+ specialisedProfile: string | null;
441
571
  jobId: string;
442
572
  suitabilityRating: number | null;
443
573
  suitabilityReason: string | null;
@@ -447,20 +577,38 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
447
577
  question: string;
448
578
  }[] | null;
449
579
  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;
580
+ leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
451
581
  biddingAmount: number | null;
452
582
  boosted: boolean | null;
453
583
  boostingAmount: number | null;
454
584
  boostedForPlace: number | null;
455
- specialisedProfile: string | null;
456
585
  biddedAt: number | null;
457
586
  biddingTaskScheduled: boolean | null;
458
587
  scheduledBiddingTime: number | null;
459
- inQueue: boolean | null;
588
+ checkFeedbackStatusCreatedAt: number | null;
460
589
  feedbackCheckTaskId: string | null;
461
590
  bidDecision: "rejected" | "proceeded" | null;
462
591
  rejectedFeedback: string | null;
463
592
  applicationId: string | null;
593
+ leadBiddingConfig: {
594
+ appliedFromQueue: boolean | null;
595
+ biddingDelayInMinutes: number | null;
596
+ bidWithWarning: "bid" | "skip";
597
+ biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
598
+ biddingHourlyRatePercentage: number | null;
599
+ biddingFixedHourlyRate: number | null;
600
+ boostingEnabled: boolean | null;
601
+ boostDownToNthPlace: number | null;
602
+ connectsAbovePrevious: number | null;
603
+ maximumBoost: number | null;
604
+ minBoost: number | null;
605
+ insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
606
+ bidConfig: {
607
+ contractorName: string | null;
608
+ agencyName: string | null;
609
+ specialisedProfile: string | null;
610
+ };
611
+ } | null;
464
612
  activity?: Partial<Record<"4h" | "24h", {
465
613
  updatedAt: number | null;
466
614
  unansweredInvites: number | null;
@@ -483,7 +631,6 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
483
631
  } | null | undefined;
484
632
  proposalId?: string | undefined;
485
633
  wonAmount?: number | undefined;
486
- campaignName?: string | undefined;
487
634
  }, {
488
635
  id: string | null;
489
636
  title: string | null;
@@ -503,6 +650,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
503
650
  datetime: number | null;
504
651
  campaignId: string;
505
652
  organizationId: string;
653
+ inQueue: boolean | null;
506
654
  createdAt: number | null;
507
655
  updatedAt: number | null;
508
656
  isFeatured: boolean | null;
@@ -578,6 +726,8 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
578
726
  } | null;
579
727
  activityUpdates: 2 | 1 | 3 | null;
580
728
  scrapedAt: number | null;
729
+ biddingDelayInMinutes: number | null;
730
+ specialisedProfile: string | null;
581
731
  jobId: string;
582
732
  suitabilityRating: number | null;
583
733
  suitabilityReason: string | null;
@@ -587,20 +737,38 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
587
737
  question: string;
588
738
  }[] | null;
589
739
  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;
740
+ leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
591
741
  biddingAmount: number | null;
592
742
  boosted: boolean | null;
593
743
  boostingAmount: number | null;
594
744
  boostedForPlace: number | null;
595
- specialisedProfile: string | null;
596
745
  biddedAt: number | null;
597
746
  biddingTaskScheduled: boolean | null;
598
747
  scheduledBiddingTime: number | null;
599
- inQueue: boolean | null;
748
+ checkFeedbackStatusCreatedAt: number | null;
600
749
  feedbackCheckTaskId: string | null;
601
750
  bidDecision: "rejected" | "proceeded" | null;
602
751
  rejectedFeedback: string | null;
603
752
  applicationId: string | null;
753
+ leadBiddingConfig: {
754
+ appliedFromQueue: boolean | null;
755
+ biddingDelayInMinutes: number | null;
756
+ bidWithWarning: "bid" | "skip";
757
+ biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
758
+ biddingHourlyRatePercentage: number | null;
759
+ biddingFixedHourlyRate: number | null;
760
+ boostingEnabled: boolean | null;
761
+ boostDownToNthPlace: number | null;
762
+ connectsAbovePrevious: number | null;
763
+ maximumBoost: number | null;
764
+ minBoost: number | null;
765
+ insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
766
+ bidConfig: {
767
+ contractorName: string | null;
768
+ agencyName: string | null;
769
+ specialisedProfile: string | null;
770
+ };
771
+ } | null;
604
772
  activity?: Partial<Record<"4h" | "24h", {
605
773
  updatedAt: number | null;
606
774
  unansweredInvites: number | null;
@@ -623,7 +791,6 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
623
791
  } | null | undefined;
624
792
  proposalId?: string | undefined;
625
793
  wonAmount?: number | undefined;
626
- campaignName?: string | undefined;
627
794
  }>;
628
795
  export declare const leadResponseSchema: z.ZodObject<{
629
796
  leads: z.ZodArray<z.ZodObject<Omit<z.objectUtil.extendShape<{
@@ -944,7 +1111,7 @@ export declare const leadResponseSchema: z.ZodObject<{
944
1111
  question: string;
945
1112
  }>, "many">>;
946
1113
  agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
947
- leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "won"]>>;
1114
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>>;
948
1115
  biddingAmount: z.ZodNullable<z.ZodNumber>;
949
1116
  boosted: z.ZodNullable<z.ZodBoolean>;
950
1117
  boostingAmount: z.ZodNullable<z.ZodNumber>;
@@ -954,12 +1121,76 @@ export declare const leadResponseSchema: z.ZodObject<{
954
1121
  biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
955
1122
  scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
956
1123
  inQueue: z.ZodNullable<z.ZodBoolean>;
1124
+ biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
1125
+ checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
957
1126
  wonAmount: z.ZodOptional<z.ZodNumber>;
958
1127
  feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
959
1128
  bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
960
1129
  rejectedFeedback: z.ZodNullable<z.ZodString>;
961
1130
  applicationId: z.ZodNullable<z.ZodString>;
962
- campaignName: z.ZodOptional<z.ZodString>;
1131
+ leadBiddingConfig: z.ZodNullable<z.ZodObject<{
1132
+ appliedFromQueue: z.ZodNullable<z.ZodBoolean>;
1133
+ biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
1134
+ bidWithWarning: z.ZodEnum<["bid", "skip"]>;
1135
+ biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
1136
+ biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
1137
+ biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
1138
+ boostingEnabled: z.ZodNullable<z.ZodBoolean>;
1139
+ boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
1140
+ connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
1141
+ maximumBoost: z.ZodNullable<z.ZodNumber>;
1142
+ minBoost: z.ZodNullable<z.ZodNumber>;
1143
+ insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
1144
+ bidConfig: z.ZodObject<{
1145
+ agencyName: z.ZodNullable<z.ZodString>;
1146
+ contractorName: z.ZodNullable<z.ZodString>;
1147
+ specialisedProfile: z.ZodNullable<z.ZodString>;
1148
+ }, "strip", z.ZodTypeAny, {
1149
+ contractorName: string | null;
1150
+ agencyName: string | null;
1151
+ specialisedProfile: string | null;
1152
+ }, {
1153
+ contractorName: string | null;
1154
+ agencyName: string | null;
1155
+ specialisedProfile: string | null;
1156
+ }>;
1157
+ }, "strip", z.ZodTypeAny, {
1158
+ appliedFromQueue: boolean | null;
1159
+ biddingDelayInMinutes: number | null;
1160
+ bidWithWarning: "bid" | "skip";
1161
+ biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
1162
+ biddingHourlyRatePercentage: number | null;
1163
+ biddingFixedHourlyRate: number | null;
1164
+ boostingEnabled: boolean | null;
1165
+ boostDownToNthPlace: number | null;
1166
+ connectsAbovePrevious: number | null;
1167
+ maximumBoost: number | null;
1168
+ minBoost: number | null;
1169
+ insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
1170
+ bidConfig: {
1171
+ contractorName: string | null;
1172
+ agencyName: string | null;
1173
+ specialisedProfile: string | null;
1174
+ };
1175
+ }, {
1176
+ appliedFromQueue: boolean | null;
1177
+ biddingDelayInMinutes: number | null;
1178
+ bidWithWarning: "bid" | "skip";
1179
+ biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
1180
+ biddingHourlyRatePercentage: number | null;
1181
+ biddingFixedHourlyRate: number | null;
1182
+ boostingEnabled: boolean | null;
1183
+ boostDownToNthPlace: number | null;
1184
+ connectsAbovePrevious: number | null;
1185
+ maximumBoost: number | null;
1186
+ minBoost: number | null;
1187
+ insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
1188
+ bidConfig: {
1189
+ contractorName: string | null;
1190
+ agencyName: string | null;
1191
+ specialisedProfile: string | null;
1192
+ };
1193
+ }>>;
963
1194
  }>, "processed">, "strip", z.ZodTypeAny, {
964
1195
  id: string | null;
965
1196
  title: string | null;
@@ -979,6 +1210,7 @@ export declare const leadResponseSchema: z.ZodObject<{
979
1210
  datetime: number | null;
980
1211
  campaignId: string;
981
1212
  organizationId: string;
1213
+ inQueue: boolean | null;
982
1214
  createdAt: number | null;
983
1215
  updatedAt: number | null;
984
1216
  isFeatured: boolean | null;
@@ -1054,6 +1286,8 @@ export declare const leadResponseSchema: z.ZodObject<{
1054
1286
  } | null;
1055
1287
  activityUpdates: 2 | 1 | 3 | null;
1056
1288
  scrapedAt: number | null;
1289
+ biddingDelayInMinutes: number | null;
1290
+ specialisedProfile: string | null;
1057
1291
  jobId: string;
1058
1292
  suitabilityRating: number | null;
1059
1293
  suitabilityReason: string | null;
@@ -1063,20 +1297,38 @@ export declare const leadResponseSchema: z.ZodObject<{
1063
1297
  question: string;
1064
1298
  }[] | null;
1065
1299
  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;
1300
+ leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
1067
1301
  biddingAmount: number | null;
1068
1302
  boosted: boolean | null;
1069
1303
  boostingAmount: number | null;
1070
1304
  boostedForPlace: number | null;
1071
- specialisedProfile: string | null;
1072
1305
  biddedAt: number | null;
1073
1306
  biddingTaskScheduled: boolean | null;
1074
1307
  scheduledBiddingTime: number | null;
1075
- inQueue: boolean | null;
1308
+ checkFeedbackStatusCreatedAt: number | null;
1076
1309
  feedbackCheckTaskId: string | null;
1077
1310
  bidDecision: "rejected" | "proceeded" | null;
1078
1311
  rejectedFeedback: string | null;
1079
1312
  applicationId: string | null;
1313
+ leadBiddingConfig: {
1314
+ appliedFromQueue: boolean | null;
1315
+ biddingDelayInMinutes: number | null;
1316
+ bidWithWarning: "bid" | "skip";
1317
+ biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
1318
+ biddingHourlyRatePercentage: number | null;
1319
+ biddingFixedHourlyRate: number | null;
1320
+ boostingEnabled: boolean | null;
1321
+ boostDownToNthPlace: number | null;
1322
+ connectsAbovePrevious: number | null;
1323
+ maximumBoost: number | null;
1324
+ minBoost: number | null;
1325
+ insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
1326
+ bidConfig: {
1327
+ contractorName: string | null;
1328
+ agencyName: string | null;
1329
+ specialisedProfile: string | null;
1330
+ };
1331
+ } | null;
1080
1332
  activity?: Partial<Record<"4h" | "24h", {
1081
1333
  updatedAt: number | null;
1082
1334
  unansweredInvites: number | null;
@@ -1099,7 +1351,6 @@ export declare const leadResponseSchema: z.ZodObject<{
1099
1351
  } | null | undefined;
1100
1352
  proposalId?: string | undefined;
1101
1353
  wonAmount?: number | undefined;
1102
- campaignName?: string | undefined;
1103
1354
  }, {
1104
1355
  id: string | null;
1105
1356
  title: string | null;
@@ -1119,6 +1370,7 @@ export declare const leadResponseSchema: z.ZodObject<{
1119
1370
  datetime: number | null;
1120
1371
  campaignId: string;
1121
1372
  organizationId: string;
1373
+ inQueue: boolean | null;
1122
1374
  createdAt: number | null;
1123
1375
  updatedAt: number | null;
1124
1376
  isFeatured: boolean | null;
@@ -1194,6 +1446,8 @@ export declare const leadResponseSchema: z.ZodObject<{
1194
1446
  } | null;
1195
1447
  activityUpdates: 2 | 1 | 3 | null;
1196
1448
  scrapedAt: number | null;
1449
+ biddingDelayInMinutes: number | null;
1450
+ specialisedProfile: string | null;
1197
1451
  jobId: string;
1198
1452
  suitabilityRating: number | null;
1199
1453
  suitabilityReason: string | null;
@@ -1203,20 +1457,38 @@ export declare const leadResponseSchema: z.ZodObject<{
1203
1457
  question: string;
1204
1458
  }[] | null;
1205
1459
  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;
1460
+ leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
1207
1461
  biddingAmount: number | null;
1208
1462
  boosted: boolean | null;
1209
1463
  boostingAmount: number | null;
1210
1464
  boostedForPlace: number | null;
1211
- specialisedProfile: string | null;
1212
1465
  biddedAt: number | null;
1213
1466
  biddingTaskScheduled: boolean | null;
1214
1467
  scheduledBiddingTime: number | null;
1215
- inQueue: boolean | null;
1468
+ checkFeedbackStatusCreatedAt: number | null;
1216
1469
  feedbackCheckTaskId: string | null;
1217
1470
  bidDecision: "rejected" | "proceeded" | null;
1218
1471
  rejectedFeedback: string | null;
1219
1472
  applicationId: string | null;
1473
+ leadBiddingConfig: {
1474
+ appliedFromQueue: boolean | null;
1475
+ biddingDelayInMinutes: number | null;
1476
+ bidWithWarning: "bid" | "skip";
1477
+ biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
1478
+ biddingHourlyRatePercentage: number | null;
1479
+ biddingFixedHourlyRate: number | null;
1480
+ boostingEnabled: boolean | null;
1481
+ boostDownToNthPlace: number | null;
1482
+ connectsAbovePrevious: number | null;
1483
+ maximumBoost: number | null;
1484
+ minBoost: number | null;
1485
+ insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
1486
+ bidConfig: {
1487
+ contractorName: string | null;
1488
+ agencyName: string | null;
1489
+ specialisedProfile: string | null;
1490
+ };
1491
+ } | null;
1220
1492
  activity?: Partial<Record<"4h" | "24h", {
1221
1493
  updatedAt: number | null;
1222
1494
  unansweredInvites: number | null;
@@ -1239,7 +1511,6 @@ export declare const leadResponseSchema: z.ZodObject<{
1239
1511
  } | null | undefined;
1240
1512
  proposalId?: string | undefined;
1241
1513
  wonAmount?: number | undefined;
1242
- campaignName?: string | undefined;
1243
1514
  }>, "many">;
1244
1515
  nextCursor: z.ZodNullable<z.ZodString>;
1245
1516
  hasMore: z.ZodBoolean;
@@ -1264,6 +1535,7 @@ export declare const leadResponseSchema: z.ZodObject<{
1264
1535
  datetime: number | null;
1265
1536
  campaignId: string;
1266
1537
  organizationId: string;
1538
+ inQueue: boolean | null;
1267
1539
  createdAt: number | null;
1268
1540
  updatedAt: number | null;
1269
1541
  isFeatured: boolean | null;
@@ -1339,6 +1611,8 @@ export declare const leadResponseSchema: z.ZodObject<{
1339
1611
  } | null;
1340
1612
  activityUpdates: 2 | 1 | 3 | null;
1341
1613
  scrapedAt: number | null;
1614
+ biddingDelayInMinutes: number | null;
1615
+ specialisedProfile: string | null;
1342
1616
  jobId: string;
1343
1617
  suitabilityRating: number | null;
1344
1618
  suitabilityReason: string | null;
@@ -1348,20 +1622,38 @@ export declare const leadResponseSchema: z.ZodObject<{
1348
1622
  question: string;
1349
1623
  }[] | null;
1350
1624
  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;
1625
+ leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
1352
1626
  biddingAmount: number | null;
1353
1627
  boosted: boolean | null;
1354
1628
  boostingAmount: number | null;
1355
1629
  boostedForPlace: number | null;
1356
- specialisedProfile: string | null;
1357
1630
  biddedAt: number | null;
1358
1631
  biddingTaskScheduled: boolean | null;
1359
1632
  scheduledBiddingTime: number | null;
1360
- inQueue: boolean | null;
1633
+ checkFeedbackStatusCreatedAt: number | null;
1361
1634
  feedbackCheckTaskId: string | null;
1362
1635
  bidDecision: "rejected" | "proceeded" | null;
1363
1636
  rejectedFeedback: string | null;
1364
1637
  applicationId: string | null;
1638
+ leadBiddingConfig: {
1639
+ appliedFromQueue: boolean | null;
1640
+ biddingDelayInMinutes: number | null;
1641
+ bidWithWarning: "bid" | "skip";
1642
+ biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
1643
+ biddingHourlyRatePercentage: number | null;
1644
+ biddingFixedHourlyRate: number | null;
1645
+ boostingEnabled: boolean | null;
1646
+ boostDownToNthPlace: number | null;
1647
+ connectsAbovePrevious: number | null;
1648
+ maximumBoost: number | null;
1649
+ minBoost: number | null;
1650
+ insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
1651
+ bidConfig: {
1652
+ contractorName: string | null;
1653
+ agencyName: string | null;
1654
+ specialisedProfile: string | null;
1655
+ };
1656
+ } | null;
1365
1657
  activity?: Partial<Record<"4h" | "24h", {
1366
1658
  updatedAt: number | null;
1367
1659
  unansweredInvites: number | null;
@@ -1384,7 +1676,6 @@ export declare const leadResponseSchema: z.ZodObject<{
1384
1676
  } | null | undefined;
1385
1677
  proposalId?: string | undefined;
1386
1678
  wonAmount?: number | undefined;
1387
- campaignName?: string | undefined;
1388
1679
  }[];
1389
1680
  nextCursor: string | null;
1390
1681
  hasMore: boolean;
@@ -1409,6 +1700,7 @@ export declare const leadResponseSchema: z.ZodObject<{
1409
1700
  datetime: number | null;
1410
1701
  campaignId: string;
1411
1702
  organizationId: string;
1703
+ inQueue: boolean | null;
1412
1704
  createdAt: number | null;
1413
1705
  updatedAt: number | null;
1414
1706
  isFeatured: boolean | null;
@@ -1484,6 +1776,8 @@ export declare const leadResponseSchema: z.ZodObject<{
1484
1776
  } | null;
1485
1777
  activityUpdates: 2 | 1 | 3 | null;
1486
1778
  scrapedAt: number | null;
1779
+ biddingDelayInMinutes: number | null;
1780
+ specialisedProfile: string | null;
1487
1781
  jobId: string;
1488
1782
  suitabilityRating: number | null;
1489
1783
  suitabilityReason: string | null;
@@ -1493,20 +1787,38 @@ export declare const leadResponseSchema: z.ZodObject<{
1493
1787
  question: string;
1494
1788
  }[] | null;
1495
1789
  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;
1790
+ leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
1497
1791
  biddingAmount: number | null;
1498
1792
  boosted: boolean | null;
1499
1793
  boostingAmount: number | null;
1500
1794
  boostedForPlace: number | null;
1501
- specialisedProfile: string | null;
1502
1795
  biddedAt: number | null;
1503
1796
  biddingTaskScheduled: boolean | null;
1504
1797
  scheduledBiddingTime: number | null;
1505
- inQueue: boolean | null;
1798
+ checkFeedbackStatusCreatedAt: number | null;
1506
1799
  feedbackCheckTaskId: string | null;
1507
1800
  bidDecision: "rejected" | "proceeded" | null;
1508
1801
  rejectedFeedback: string | null;
1509
1802
  applicationId: string | null;
1803
+ leadBiddingConfig: {
1804
+ appliedFromQueue: boolean | null;
1805
+ biddingDelayInMinutes: number | null;
1806
+ bidWithWarning: "bid" | "skip";
1807
+ biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
1808
+ biddingHourlyRatePercentage: number | null;
1809
+ biddingFixedHourlyRate: number | null;
1810
+ boostingEnabled: boolean | null;
1811
+ boostDownToNthPlace: number | null;
1812
+ connectsAbovePrevious: number | null;
1813
+ maximumBoost: number | null;
1814
+ minBoost: number | null;
1815
+ insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
1816
+ bidConfig: {
1817
+ contractorName: string | null;
1818
+ agencyName: string | null;
1819
+ specialisedProfile: string | null;
1820
+ };
1821
+ } | null;
1510
1822
  activity?: Partial<Record<"4h" | "24h", {
1511
1823
  updatedAt: number | null;
1512
1824
  unansweredInvites: number | null;
@@ -1529,7 +1841,6 @@ export declare const leadResponseSchema: z.ZodObject<{
1529
1841
  } | null | undefined;
1530
1842
  proposalId?: string | undefined;
1531
1843
  wonAmount?: number | undefined;
1532
- campaignName?: string | undefined;
1533
1844
  }[];
1534
1845
  nextCursor: string | null;
1535
1846
  hasMore: boolean;
@@ -1543,13 +1854,13 @@ export declare const findLeadsRequestSchema: z.ZodObject<{
1543
1854
  }, "strip", z.ZodTypeAny, {
1544
1855
  offset?: number | undefined;
1545
1856
  campaignId?: string | undefined;
1546
- filters?: JobFilters | undefined;
1547
1857
  limit?: number | undefined;
1858
+ filters?: JobFilters | undefined;
1548
1859
  }, {
1549
1860
  offset?: number | undefined;
1550
1861
  campaignId?: string | undefined;
1551
- filters?: JobFilters | undefined;
1552
1862
  limit?: number | undefined;
1863
+ filters?: JobFilters | undefined;
1553
1864
  }>;
1554
1865
  export declare const findLeadsResponseSchema: z.ZodObject<{
1555
1866
  total: z.ZodNumber;
@@ -2390,7 +2701,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2390
2701
  question: string;
2391
2702
  }>, "many">>;
2392
2703
  agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
2393
- leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "won"]>>;
2704
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>>;
2394
2705
  biddingAmount: z.ZodNullable<z.ZodNumber>;
2395
2706
  boosted: z.ZodNullable<z.ZodBoolean>;
2396
2707
  boostingAmount: z.ZodNullable<z.ZodNumber>;
@@ -2400,12 +2711,76 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2400
2711
  biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
2401
2712
  scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
2402
2713
  inQueue: z.ZodNullable<z.ZodBoolean>;
2714
+ biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
2715
+ checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
2403
2716
  wonAmount: z.ZodOptional<z.ZodNumber>;
2404
2717
  feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
2405
2718
  bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
2406
2719
  rejectedFeedback: z.ZodNullable<z.ZodString>;
2407
2720
  applicationId: z.ZodNullable<z.ZodString>;
2408
- campaignName: z.ZodOptional<z.ZodString>;
2721
+ leadBiddingConfig: z.ZodNullable<z.ZodObject<{
2722
+ appliedFromQueue: z.ZodNullable<z.ZodBoolean>;
2723
+ biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
2724
+ bidWithWarning: z.ZodEnum<["bid", "skip"]>;
2725
+ biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
2726
+ biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
2727
+ biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
2728
+ boostingEnabled: z.ZodNullable<z.ZodBoolean>;
2729
+ boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
2730
+ connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
2731
+ maximumBoost: z.ZodNullable<z.ZodNumber>;
2732
+ minBoost: z.ZodNullable<z.ZodNumber>;
2733
+ insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
2734
+ bidConfig: z.ZodObject<{
2735
+ agencyName: z.ZodNullable<z.ZodString>;
2736
+ contractorName: z.ZodNullable<z.ZodString>;
2737
+ specialisedProfile: z.ZodNullable<z.ZodString>;
2738
+ }, "strip", z.ZodTypeAny, {
2739
+ contractorName: string | null;
2740
+ agencyName: string | null;
2741
+ specialisedProfile: string | null;
2742
+ }, {
2743
+ contractorName: string | null;
2744
+ agencyName: string | null;
2745
+ specialisedProfile: string | null;
2746
+ }>;
2747
+ }, "strip", z.ZodTypeAny, {
2748
+ appliedFromQueue: boolean | null;
2749
+ biddingDelayInMinutes: number | null;
2750
+ bidWithWarning: "bid" | "skip";
2751
+ biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
2752
+ biddingHourlyRatePercentage: number | null;
2753
+ biddingFixedHourlyRate: number | null;
2754
+ boostingEnabled: boolean | null;
2755
+ boostDownToNthPlace: number | null;
2756
+ connectsAbovePrevious: number | null;
2757
+ maximumBoost: number | null;
2758
+ minBoost: number | null;
2759
+ insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
2760
+ bidConfig: {
2761
+ contractorName: string | null;
2762
+ agencyName: string | null;
2763
+ specialisedProfile: string | null;
2764
+ };
2765
+ }, {
2766
+ appliedFromQueue: boolean | null;
2767
+ biddingDelayInMinutes: number | null;
2768
+ bidWithWarning: "bid" | "skip";
2769
+ biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
2770
+ biddingHourlyRatePercentage: number | null;
2771
+ biddingFixedHourlyRate: number | null;
2772
+ boostingEnabled: boolean | null;
2773
+ boostDownToNthPlace: number | null;
2774
+ connectsAbovePrevious: number | null;
2775
+ maximumBoost: number | null;
2776
+ minBoost: number | null;
2777
+ insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
2778
+ bidConfig: {
2779
+ contractorName: string | null;
2780
+ agencyName: string | null;
2781
+ specialisedProfile: string | null;
2782
+ };
2783
+ }>>;
2409
2784
  }>, "processed">, "strip", z.ZodTypeAny, {
2410
2785
  id: string | null;
2411
2786
  title: string | null;
@@ -2425,6 +2800,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2425
2800
  datetime: number | null;
2426
2801
  campaignId: string;
2427
2802
  organizationId: string;
2803
+ inQueue: boolean | null;
2428
2804
  createdAt: number | null;
2429
2805
  updatedAt: number | null;
2430
2806
  isFeatured: boolean | null;
@@ -2500,6 +2876,8 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2500
2876
  } | null;
2501
2877
  activityUpdates: 2 | 1 | 3 | null;
2502
2878
  scrapedAt: number | null;
2879
+ biddingDelayInMinutes: number | null;
2880
+ specialisedProfile: string | null;
2503
2881
  jobId: string;
2504
2882
  suitabilityRating: number | null;
2505
2883
  suitabilityReason: string | null;
@@ -2509,20 +2887,38 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2509
2887
  question: string;
2510
2888
  }[] | null;
2511
2889
  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;
2890
+ leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
2513
2891
  biddingAmount: number | null;
2514
2892
  boosted: boolean | null;
2515
2893
  boostingAmount: number | null;
2516
2894
  boostedForPlace: number | null;
2517
- specialisedProfile: string | null;
2518
2895
  biddedAt: number | null;
2519
2896
  biddingTaskScheduled: boolean | null;
2520
2897
  scheduledBiddingTime: number | null;
2521
- inQueue: boolean | null;
2898
+ checkFeedbackStatusCreatedAt: number | null;
2522
2899
  feedbackCheckTaskId: string | null;
2523
2900
  bidDecision: "rejected" | "proceeded" | null;
2524
2901
  rejectedFeedback: string | null;
2525
2902
  applicationId: string | null;
2903
+ leadBiddingConfig: {
2904
+ appliedFromQueue: boolean | null;
2905
+ biddingDelayInMinutes: number | null;
2906
+ bidWithWarning: "bid" | "skip";
2907
+ biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
2908
+ biddingHourlyRatePercentage: number | null;
2909
+ biddingFixedHourlyRate: number | null;
2910
+ boostingEnabled: boolean | null;
2911
+ boostDownToNthPlace: number | null;
2912
+ connectsAbovePrevious: number | null;
2913
+ maximumBoost: number | null;
2914
+ minBoost: number | null;
2915
+ insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
2916
+ bidConfig: {
2917
+ contractorName: string | null;
2918
+ agencyName: string | null;
2919
+ specialisedProfile: string | null;
2920
+ };
2921
+ } | null;
2526
2922
  activity?: Partial<Record<"4h" | "24h", {
2527
2923
  updatedAt: number | null;
2528
2924
  unansweredInvites: number | null;
@@ -2545,7 +2941,6 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2545
2941
  } | null | undefined;
2546
2942
  proposalId?: string | undefined;
2547
2943
  wonAmount?: number | undefined;
2548
- campaignName?: string | undefined;
2549
2944
  }, {
2550
2945
  id: string | null;
2551
2946
  title: string | null;
@@ -2565,6 +2960,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2565
2960
  datetime: number | null;
2566
2961
  campaignId: string;
2567
2962
  organizationId: string;
2963
+ inQueue: boolean | null;
2568
2964
  createdAt: number | null;
2569
2965
  updatedAt: number | null;
2570
2966
  isFeatured: boolean | null;
@@ -2640,6 +3036,8 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2640
3036
  } | null;
2641
3037
  activityUpdates: 2 | 1 | 3 | null;
2642
3038
  scrapedAt: number | null;
3039
+ biddingDelayInMinutes: number | null;
3040
+ specialisedProfile: string | null;
2643
3041
  jobId: string;
2644
3042
  suitabilityRating: number | null;
2645
3043
  suitabilityReason: string | null;
@@ -2649,20 +3047,38 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2649
3047
  question: string;
2650
3048
  }[] | null;
2651
3049
  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;
3050
+ leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
2653
3051
  biddingAmount: number | null;
2654
3052
  boosted: boolean | null;
2655
3053
  boostingAmount: number | null;
2656
3054
  boostedForPlace: number | null;
2657
- specialisedProfile: string | null;
2658
3055
  biddedAt: number | null;
2659
3056
  biddingTaskScheduled: boolean | null;
2660
3057
  scheduledBiddingTime: number | null;
2661
- inQueue: boolean | null;
3058
+ checkFeedbackStatusCreatedAt: number | null;
2662
3059
  feedbackCheckTaskId: string | null;
2663
3060
  bidDecision: "rejected" | "proceeded" | null;
2664
3061
  rejectedFeedback: string | null;
2665
3062
  applicationId: string | null;
3063
+ leadBiddingConfig: {
3064
+ appliedFromQueue: boolean | null;
3065
+ biddingDelayInMinutes: number | null;
3066
+ bidWithWarning: "bid" | "skip";
3067
+ biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
3068
+ biddingHourlyRatePercentage: number | null;
3069
+ biddingFixedHourlyRate: number | null;
3070
+ boostingEnabled: boolean | null;
3071
+ boostDownToNthPlace: number | null;
3072
+ connectsAbovePrevious: number | null;
3073
+ maximumBoost: number | null;
3074
+ minBoost: number | null;
3075
+ insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
3076
+ bidConfig: {
3077
+ contractorName: string | null;
3078
+ agencyName: string | null;
3079
+ specialisedProfile: string | null;
3080
+ };
3081
+ } | null;
2666
3082
  activity?: Partial<Record<"4h" | "24h", {
2667
3083
  updatedAt: number | null;
2668
3084
  unansweredInvites: number | null;
@@ -2685,7 +3101,6 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2685
3101
  } | null | undefined;
2686
3102
  proposalId?: string | undefined;
2687
3103
  wonAmount?: number | undefined;
2688
- campaignName?: string | undefined;
2689
3104
  }>]>, "many">;
2690
3105
  lastMonthTotal: z.ZodOptional<z.ZodNumber>;
2691
3106
  lastMonthTotalWithEmptyFilters: z.ZodOptional<z.ZodNumber>;
@@ -2821,6 +3236,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2821
3236
  datetime: number | null;
2822
3237
  campaignId: string;
2823
3238
  organizationId: string;
3239
+ inQueue: boolean | null;
2824
3240
  createdAt: number | null;
2825
3241
  updatedAt: number | null;
2826
3242
  isFeatured: boolean | null;
@@ -2896,6 +3312,8 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2896
3312
  } | null;
2897
3313
  activityUpdates: 2 | 1 | 3 | null;
2898
3314
  scrapedAt: number | null;
3315
+ biddingDelayInMinutes: number | null;
3316
+ specialisedProfile: string | null;
2899
3317
  jobId: string;
2900
3318
  suitabilityRating: number | null;
2901
3319
  suitabilityReason: string | null;
@@ -2905,20 +3323,38 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2905
3323
  question: string;
2906
3324
  }[] | null;
2907
3325
  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;
3326
+ leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
2909
3327
  biddingAmount: number | null;
2910
3328
  boosted: boolean | null;
2911
3329
  boostingAmount: number | null;
2912
3330
  boostedForPlace: number | null;
2913
- specialisedProfile: string | null;
2914
3331
  biddedAt: number | null;
2915
3332
  biddingTaskScheduled: boolean | null;
2916
3333
  scheduledBiddingTime: number | null;
2917
- inQueue: boolean | null;
3334
+ checkFeedbackStatusCreatedAt: number | null;
2918
3335
  feedbackCheckTaskId: string | null;
2919
3336
  bidDecision: "rejected" | "proceeded" | null;
2920
3337
  rejectedFeedback: string | null;
2921
3338
  applicationId: string | null;
3339
+ leadBiddingConfig: {
3340
+ appliedFromQueue: boolean | null;
3341
+ biddingDelayInMinutes: number | null;
3342
+ bidWithWarning: "bid" | "skip";
3343
+ biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
3344
+ biddingHourlyRatePercentage: number | null;
3345
+ biddingFixedHourlyRate: number | null;
3346
+ boostingEnabled: boolean | null;
3347
+ boostDownToNthPlace: number | null;
3348
+ connectsAbovePrevious: number | null;
3349
+ maximumBoost: number | null;
3350
+ minBoost: number | null;
3351
+ insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
3352
+ bidConfig: {
3353
+ contractorName: string | null;
3354
+ agencyName: string | null;
3355
+ specialisedProfile: string | null;
3356
+ };
3357
+ } | null;
2922
3358
  activity?: Partial<Record<"4h" | "24h", {
2923
3359
  updatedAt: number | null;
2924
3360
  unansweredInvites: number | null;
@@ -2941,7 +3377,6 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2941
3377
  } | null | undefined;
2942
3378
  proposalId?: string | undefined;
2943
3379
  wonAmount?: number | undefined;
2944
- campaignName?: string | undefined;
2945
3380
  })[];
2946
3381
  total: number;
2947
3382
  error?: string | undefined;
@@ -3078,6 +3513,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
3078
3513
  datetime: number | null;
3079
3514
  campaignId: string;
3080
3515
  organizationId: string;
3516
+ inQueue: boolean | null;
3081
3517
  createdAt: number | null;
3082
3518
  updatedAt: number | null;
3083
3519
  isFeatured: boolean | null;
@@ -3153,6 +3589,8 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
3153
3589
  } | null;
3154
3590
  activityUpdates: 2 | 1 | 3 | null;
3155
3591
  scrapedAt: number | null;
3592
+ biddingDelayInMinutes: number | null;
3593
+ specialisedProfile: string | null;
3156
3594
  jobId: string;
3157
3595
  suitabilityRating: number | null;
3158
3596
  suitabilityReason: string | null;
@@ -3162,20 +3600,38 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
3162
3600
  question: string;
3163
3601
  }[] | null;
3164
3602
  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;
3603
+ leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
3166
3604
  biddingAmount: number | null;
3167
3605
  boosted: boolean | null;
3168
3606
  boostingAmount: number | null;
3169
3607
  boostedForPlace: number | null;
3170
- specialisedProfile: string | null;
3171
3608
  biddedAt: number | null;
3172
3609
  biddingTaskScheduled: boolean | null;
3173
3610
  scheduledBiddingTime: number | null;
3174
- inQueue: boolean | null;
3611
+ checkFeedbackStatusCreatedAt: number | null;
3175
3612
  feedbackCheckTaskId: string | null;
3176
3613
  bidDecision: "rejected" | "proceeded" | null;
3177
3614
  rejectedFeedback: string | null;
3178
3615
  applicationId: string | null;
3616
+ leadBiddingConfig: {
3617
+ appliedFromQueue: boolean | null;
3618
+ biddingDelayInMinutes: number | null;
3619
+ bidWithWarning: "bid" | "skip";
3620
+ biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
3621
+ biddingHourlyRatePercentage: number | null;
3622
+ biddingFixedHourlyRate: number | null;
3623
+ boostingEnabled: boolean | null;
3624
+ boostDownToNthPlace: number | null;
3625
+ connectsAbovePrevious: number | null;
3626
+ maximumBoost: number | null;
3627
+ minBoost: number | null;
3628
+ insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
3629
+ bidConfig: {
3630
+ contractorName: string | null;
3631
+ agencyName: string | null;
3632
+ specialisedProfile: string | null;
3633
+ };
3634
+ } | null;
3179
3635
  activity?: Partial<Record<"4h" | "24h", {
3180
3636
  updatedAt: number | null;
3181
3637
  unansweredInvites: number | null;
@@ -3198,7 +3654,6 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
3198
3654
  } | null | undefined;
3199
3655
  proposalId?: string | undefined;
3200
3656
  wonAmount?: number | undefined;
3201
- campaignName?: string | undefined;
3202
3657
  })[];
3203
3658
  total: number;
3204
3659
  error?: string | undefined;
@@ -3211,16 +3666,19 @@ export declare const getCampaignLeadsRequestQuerySchema: z.ZodObject<{
3211
3666
  limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
3212
3667
  status: z.ZodOptional<z.ZodEnum<["all", "suitable", "contacted", "viewed", "replied"]>>;
3213
3668
  campaignId: z.ZodOptional<z.ZodString>;
3669
+ inQueue: z.ZodOptional<z.ZodBoolean>;
3214
3670
  }, "strip", z.ZodTypeAny, {
3215
3671
  cursor?: string | undefined;
3216
- status?: "all" | "contacted" | "viewed" | "replied" | "suitable" | undefined;
3672
+ status?: "all" | "suitable" | "contacted" | "viewed" | "replied" | undefined;
3217
3673
  campaignId?: string | undefined;
3218
3674
  limit?: number | undefined;
3675
+ inQueue?: boolean | undefined;
3219
3676
  }, {
3220
3677
  cursor?: string | undefined;
3221
- status?: "all" | "contacted" | "viewed" | "replied" | "suitable" | undefined;
3678
+ status?: "all" | "suitable" | "contacted" | "viewed" | "replied" | undefined;
3222
3679
  campaignId?: string | undefined;
3223
3680
  limit?: number | undefined;
3681
+ inQueue?: boolean | undefined;
3224
3682
  }>;
3225
3683
  export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3226
3684
  data: z.ZodArray<z.ZodObject<Omit<z.objectUtil.extendShape<{
@@ -3541,7 +3999,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3541
3999
  question: string;
3542
4000
  }>, "many">>;
3543
4001
  agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
3544
- leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "won"]>>;
4002
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>>;
3545
4003
  biddingAmount: z.ZodNullable<z.ZodNumber>;
3546
4004
  boosted: z.ZodNullable<z.ZodBoolean>;
3547
4005
  boostingAmount: z.ZodNullable<z.ZodNumber>;
@@ -3551,12 +4009,76 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3551
4009
  biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
3552
4010
  scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
3553
4011
  inQueue: z.ZodNullable<z.ZodBoolean>;
4012
+ biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
4013
+ checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
3554
4014
  wonAmount: z.ZodOptional<z.ZodNumber>;
3555
4015
  feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
3556
4016
  bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
3557
4017
  rejectedFeedback: z.ZodNullable<z.ZodString>;
3558
4018
  applicationId: z.ZodNullable<z.ZodString>;
3559
- campaignName: z.ZodOptional<z.ZodString>;
4019
+ leadBiddingConfig: z.ZodNullable<z.ZodObject<{
4020
+ appliedFromQueue: z.ZodNullable<z.ZodBoolean>;
4021
+ biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
4022
+ bidWithWarning: z.ZodEnum<["bid", "skip"]>;
4023
+ biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
4024
+ biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
4025
+ biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
4026
+ boostingEnabled: z.ZodNullable<z.ZodBoolean>;
4027
+ boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
4028
+ connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
4029
+ maximumBoost: z.ZodNullable<z.ZodNumber>;
4030
+ minBoost: z.ZodNullable<z.ZodNumber>;
4031
+ insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
4032
+ bidConfig: z.ZodObject<{
4033
+ agencyName: z.ZodNullable<z.ZodString>;
4034
+ contractorName: z.ZodNullable<z.ZodString>;
4035
+ specialisedProfile: z.ZodNullable<z.ZodString>;
4036
+ }, "strip", z.ZodTypeAny, {
4037
+ contractorName: string | null;
4038
+ agencyName: string | null;
4039
+ specialisedProfile: string | null;
4040
+ }, {
4041
+ contractorName: string | null;
4042
+ agencyName: string | null;
4043
+ specialisedProfile: string | null;
4044
+ }>;
4045
+ }, "strip", z.ZodTypeAny, {
4046
+ appliedFromQueue: boolean | null;
4047
+ biddingDelayInMinutes: number | null;
4048
+ bidWithWarning: "bid" | "skip";
4049
+ biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
4050
+ biddingHourlyRatePercentage: number | null;
4051
+ biddingFixedHourlyRate: number | null;
4052
+ boostingEnabled: boolean | null;
4053
+ boostDownToNthPlace: number | null;
4054
+ connectsAbovePrevious: number | null;
4055
+ maximumBoost: number | null;
4056
+ minBoost: number | null;
4057
+ insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
4058
+ bidConfig: {
4059
+ contractorName: string | null;
4060
+ agencyName: string | null;
4061
+ specialisedProfile: string | null;
4062
+ };
4063
+ }, {
4064
+ appliedFromQueue: boolean | null;
4065
+ biddingDelayInMinutes: number | null;
4066
+ bidWithWarning: "bid" | "skip";
4067
+ biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
4068
+ biddingHourlyRatePercentage: number | null;
4069
+ biddingFixedHourlyRate: number | null;
4070
+ boostingEnabled: boolean | null;
4071
+ boostDownToNthPlace: number | null;
4072
+ connectsAbovePrevious: number | null;
4073
+ maximumBoost: number | null;
4074
+ minBoost: number | null;
4075
+ insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
4076
+ bidConfig: {
4077
+ contractorName: string | null;
4078
+ agencyName: string | null;
4079
+ specialisedProfile: string | null;
4080
+ };
4081
+ }>>;
3560
4082
  }>, "processed">, "strip", z.ZodTypeAny, {
3561
4083
  id: string | null;
3562
4084
  title: string | null;
@@ -3576,6 +4098,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3576
4098
  datetime: number | null;
3577
4099
  campaignId: string;
3578
4100
  organizationId: string;
4101
+ inQueue: boolean | null;
3579
4102
  createdAt: number | null;
3580
4103
  updatedAt: number | null;
3581
4104
  isFeatured: boolean | null;
@@ -3651,6 +4174,8 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3651
4174
  } | null;
3652
4175
  activityUpdates: 2 | 1 | 3 | null;
3653
4176
  scrapedAt: number | null;
4177
+ biddingDelayInMinutes: number | null;
4178
+ specialisedProfile: string | null;
3654
4179
  jobId: string;
3655
4180
  suitabilityRating: number | null;
3656
4181
  suitabilityReason: string | null;
@@ -3660,20 +4185,38 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3660
4185
  question: string;
3661
4186
  }[] | null;
3662
4187
  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;
4188
+ leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
3664
4189
  biddingAmount: number | null;
3665
4190
  boosted: boolean | null;
3666
4191
  boostingAmount: number | null;
3667
4192
  boostedForPlace: number | null;
3668
- specialisedProfile: string | null;
3669
4193
  biddedAt: number | null;
3670
4194
  biddingTaskScheduled: boolean | null;
3671
4195
  scheduledBiddingTime: number | null;
3672
- inQueue: boolean | null;
4196
+ checkFeedbackStatusCreatedAt: number | null;
3673
4197
  feedbackCheckTaskId: string | null;
3674
4198
  bidDecision: "rejected" | "proceeded" | null;
3675
4199
  rejectedFeedback: string | null;
3676
4200
  applicationId: string | null;
4201
+ leadBiddingConfig: {
4202
+ appliedFromQueue: boolean | null;
4203
+ biddingDelayInMinutes: number | null;
4204
+ bidWithWarning: "bid" | "skip";
4205
+ biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
4206
+ biddingHourlyRatePercentage: number | null;
4207
+ biddingFixedHourlyRate: number | null;
4208
+ boostingEnabled: boolean | null;
4209
+ boostDownToNthPlace: number | null;
4210
+ connectsAbovePrevious: number | null;
4211
+ maximumBoost: number | null;
4212
+ minBoost: number | null;
4213
+ insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
4214
+ bidConfig: {
4215
+ contractorName: string | null;
4216
+ agencyName: string | null;
4217
+ specialisedProfile: string | null;
4218
+ };
4219
+ } | null;
3677
4220
  activity?: Partial<Record<"4h" | "24h", {
3678
4221
  updatedAt: number | null;
3679
4222
  unansweredInvites: number | null;
@@ -3696,7 +4239,6 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3696
4239
  } | null | undefined;
3697
4240
  proposalId?: string | undefined;
3698
4241
  wonAmount?: number | undefined;
3699
- campaignName?: string | undefined;
3700
4242
  }, {
3701
4243
  id: string | null;
3702
4244
  title: string | null;
@@ -3716,6 +4258,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3716
4258
  datetime: number | null;
3717
4259
  campaignId: string;
3718
4260
  organizationId: string;
4261
+ inQueue: boolean | null;
3719
4262
  createdAt: number | null;
3720
4263
  updatedAt: number | null;
3721
4264
  isFeatured: boolean | null;
@@ -3791,6 +4334,8 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3791
4334
  } | null;
3792
4335
  activityUpdates: 2 | 1 | 3 | null;
3793
4336
  scrapedAt: number | null;
4337
+ biddingDelayInMinutes: number | null;
4338
+ specialisedProfile: string | null;
3794
4339
  jobId: string;
3795
4340
  suitabilityRating: number | null;
3796
4341
  suitabilityReason: string | null;
@@ -3800,20 +4345,38 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3800
4345
  question: string;
3801
4346
  }[] | null;
3802
4347
  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;
4348
+ leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
3804
4349
  biddingAmount: number | null;
3805
4350
  boosted: boolean | null;
3806
4351
  boostingAmount: number | null;
3807
4352
  boostedForPlace: number | null;
3808
- specialisedProfile: string | null;
3809
4353
  biddedAt: number | null;
3810
4354
  biddingTaskScheduled: boolean | null;
3811
4355
  scheduledBiddingTime: number | null;
3812
- inQueue: boolean | null;
4356
+ checkFeedbackStatusCreatedAt: number | null;
3813
4357
  feedbackCheckTaskId: string | null;
3814
4358
  bidDecision: "rejected" | "proceeded" | null;
3815
4359
  rejectedFeedback: string | null;
3816
4360
  applicationId: string | null;
4361
+ leadBiddingConfig: {
4362
+ appliedFromQueue: boolean | null;
4363
+ biddingDelayInMinutes: number | null;
4364
+ bidWithWarning: "bid" | "skip";
4365
+ biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
4366
+ biddingHourlyRatePercentage: number | null;
4367
+ biddingFixedHourlyRate: number | null;
4368
+ boostingEnabled: boolean | null;
4369
+ boostDownToNthPlace: number | null;
4370
+ connectsAbovePrevious: number | null;
4371
+ maximumBoost: number | null;
4372
+ minBoost: number | null;
4373
+ insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
4374
+ bidConfig: {
4375
+ contractorName: string | null;
4376
+ agencyName: string | null;
4377
+ specialisedProfile: string | null;
4378
+ };
4379
+ } | null;
3817
4380
  activity?: Partial<Record<"4h" | "24h", {
3818
4381
  updatedAt: number | null;
3819
4382
  unansweredInvites: number | null;
@@ -3836,20 +4399,19 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3836
4399
  } | null | undefined;
3837
4400
  proposalId?: string | undefined;
3838
4401
  wonAmount?: number | undefined;
3839
- campaignName?: string | undefined;
3840
4402
  }>, "many">;
3841
4403
  pagination: z.ZodObject<{
3842
4404
  hasMore: z.ZodBoolean;
3843
4405
  nextCursor: z.ZodNullable<z.ZodString>;
3844
4406
  limit: z.ZodNumber;
3845
4407
  }, "strip", z.ZodTypeAny, {
4408
+ limit: number;
3846
4409
  nextCursor: string | null;
3847
4410
  hasMore: boolean;
3848
- limit: number;
3849
4411
  }, {
4412
+ limit: number;
3850
4413
  nextCursor: string | null;
3851
4414
  hasMore: boolean;
3852
- limit: number;
3853
4415
  }>;
3854
4416
  }, "strip", z.ZodTypeAny, {
3855
4417
  data: {
@@ -3871,6 +4433,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3871
4433
  datetime: number | null;
3872
4434
  campaignId: string;
3873
4435
  organizationId: string;
4436
+ inQueue: boolean | null;
3874
4437
  createdAt: number | null;
3875
4438
  updatedAt: number | null;
3876
4439
  isFeatured: boolean | null;
@@ -3946,6 +4509,8 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3946
4509
  } | null;
3947
4510
  activityUpdates: 2 | 1 | 3 | null;
3948
4511
  scrapedAt: number | null;
4512
+ biddingDelayInMinutes: number | null;
4513
+ specialisedProfile: string | null;
3949
4514
  jobId: string;
3950
4515
  suitabilityRating: number | null;
3951
4516
  suitabilityReason: string | null;
@@ -3955,20 +4520,38 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3955
4520
  question: string;
3956
4521
  }[] | null;
3957
4522
  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;
4523
+ leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
3959
4524
  biddingAmount: number | null;
3960
4525
  boosted: boolean | null;
3961
4526
  boostingAmount: number | null;
3962
4527
  boostedForPlace: number | null;
3963
- specialisedProfile: string | null;
3964
4528
  biddedAt: number | null;
3965
4529
  biddingTaskScheduled: boolean | null;
3966
4530
  scheduledBiddingTime: number | null;
3967
- inQueue: boolean | null;
4531
+ checkFeedbackStatusCreatedAt: number | null;
3968
4532
  feedbackCheckTaskId: string | null;
3969
4533
  bidDecision: "rejected" | "proceeded" | null;
3970
4534
  rejectedFeedback: string | null;
3971
4535
  applicationId: string | null;
4536
+ leadBiddingConfig: {
4537
+ appliedFromQueue: boolean | null;
4538
+ biddingDelayInMinutes: number | null;
4539
+ bidWithWarning: "bid" | "skip";
4540
+ biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
4541
+ biddingHourlyRatePercentage: number | null;
4542
+ biddingFixedHourlyRate: number | null;
4543
+ boostingEnabled: boolean | null;
4544
+ boostDownToNthPlace: number | null;
4545
+ connectsAbovePrevious: number | null;
4546
+ maximumBoost: number | null;
4547
+ minBoost: number | null;
4548
+ insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
4549
+ bidConfig: {
4550
+ contractorName: string | null;
4551
+ agencyName: string | null;
4552
+ specialisedProfile: string | null;
4553
+ };
4554
+ } | null;
3972
4555
  activity?: Partial<Record<"4h" | "24h", {
3973
4556
  updatedAt: number | null;
3974
4557
  unansweredInvites: number | null;
@@ -3991,12 +4574,11 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
3991
4574
  } | null | undefined;
3992
4575
  proposalId?: string | undefined;
3993
4576
  wonAmount?: number | undefined;
3994
- campaignName?: string | undefined;
3995
4577
  }[];
3996
4578
  pagination: {
4579
+ limit: number;
3997
4580
  nextCursor: string | null;
3998
4581
  hasMore: boolean;
3999
- limit: number;
4000
4582
  };
4001
4583
  }, {
4002
4584
  data: {
@@ -4018,6 +4600,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
4018
4600
  datetime: number | null;
4019
4601
  campaignId: string;
4020
4602
  organizationId: string;
4603
+ inQueue: boolean | null;
4021
4604
  createdAt: number | null;
4022
4605
  updatedAt: number | null;
4023
4606
  isFeatured: boolean | null;
@@ -4093,6 +4676,8 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
4093
4676
  } | null;
4094
4677
  activityUpdates: 2 | 1 | 3 | null;
4095
4678
  scrapedAt: number | null;
4679
+ biddingDelayInMinutes: number | null;
4680
+ specialisedProfile: string | null;
4096
4681
  jobId: string;
4097
4682
  suitabilityRating: number | null;
4098
4683
  suitabilityReason: string | null;
@@ -4102,20 +4687,38 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
4102
4687
  question: string;
4103
4688
  }[] | null;
4104
4689
  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;
4690
+ leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
4106
4691
  biddingAmount: number | null;
4107
4692
  boosted: boolean | null;
4108
4693
  boostingAmount: number | null;
4109
4694
  boostedForPlace: number | null;
4110
- specialisedProfile: string | null;
4111
4695
  biddedAt: number | null;
4112
4696
  biddingTaskScheduled: boolean | null;
4113
4697
  scheduledBiddingTime: number | null;
4114
- inQueue: boolean | null;
4698
+ checkFeedbackStatusCreatedAt: number | null;
4115
4699
  feedbackCheckTaskId: string | null;
4116
4700
  bidDecision: "rejected" | "proceeded" | null;
4117
4701
  rejectedFeedback: string | null;
4118
4702
  applicationId: string | null;
4703
+ leadBiddingConfig: {
4704
+ appliedFromQueue: boolean | null;
4705
+ biddingDelayInMinutes: number | null;
4706
+ bidWithWarning: "bid" | "skip";
4707
+ biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
4708
+ biddingHourlyRatePercentage: number | null;
4709
+ biddingFixedHourlyRate: number | null;
4710
+ boostingEnabled: boolean | null;
4711
+ boostDownToNthPlace: number | null;
4712
+ connectsAbovePrevious: number | null;
4713
+ maximumBoost: number | null;
4714
+ minBoost: number | null;
4715
+ insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
4716
+ bidConfig: {
4717
+ contractorName: string | null;
4718
+ agencyName: string | null;
4719
+ specialisedProfile: string | null;
4720
+ };
4721
+ } | null;
4119
4722
  activity?: Partial<Record<"4h" | "24h", {
4120
4723
  updatedAt: number | null;
4121
4724
  unansweredInvites: number | null;
@@ -4138,12 +4741,11 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
4138
4741
  } | null | undefined;
4139
4742
  proposalId?: string | undefined;
4140
4743
  wonAmount?: number | undefined;
4141
- campaignName?: string | undefined;
4142
4744
  }[];
4143
4745
  pagination: {
4746
+ limit: number;
4144
4747
  nextCursor: string | null;
4145
4748
  hasMore: boolean;
4146
- limit: number;
4147
4749
  };
4148
4750
  }>;
4149
4751
  export declare const generateLeadCountsRequestSchema: z.ZodObject<{
@@ -4165,5 +4767,6 @@ export type FindLeadsResponse = z.infer<typeof findLeadsResponseSchema>;
4165
4767
  export type GetCampaignLeadsRequestQuery = z.infer<typeof getCampaignLeadsRequestQuerySchema>;
4166
4768
  export type GenerateLeadCountsRequest = z.infer<typeof generateLeadCountsRequestSchema>;
4167
4769
  export type GetCampaignLeadsResponse = z.infer<typeof getCampaignLeadsResponseSchema>;
4770
+ export type LeadBiddingConfig = z.infer<typeof leadBiddingConfigSchema>;
4168
4771
  export type GetCampaignLeadsStatus = z.infer<typeof getCampaignLeadsStatusEnum>;
4169
4772
  export * from './lead-status';