lancer-shared 1.2.261 → 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.
- package/dist/bundle.cjs.js +37 -0
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +38 -3
- package/dist/bundle.esm.js.map +1 -1
- package/dist/constants/routes.d.ts +1 -0
- package/dist/schemas/agent/index.d.ts +160 -13
- package/dist/schemas/bidder/bid.d.ts +1631 -255
- package/dist/schemas/campaign/campaign-analytics.d.ts +605 -29
- package/dist/schemas/campaign/campaign.d.ts +120 -120
- package/dist/schemas/lead/index.d.ts +646 -46
- package/dist/schemas/lead/lead-status.d.ts +7 -7
- package/dist/schemas/logger/log-event.d.ts +31 -17
- package/dist/schemas/scraper/scrape-payload.d.ts +224 -80
- package/package.json +1 -1
|
@@ -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>;
|
|
@@ -339,11 +402,75 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
339
402
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
340
403
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
341
404
|
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
405
|
+
checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
|
|
342
406
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
343
407
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
344
408
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
345
409
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
346
410
|
applicationId: z.ZodNullable<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;
|
|
@@ -439,6 +566,8 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
439
566
|
} | null;
|
|
440
567
|
activityUpdates: 2 | 1 | 3 | null;
|
|
441
568
|
scrapedAt: number | null;
|
|
569
|
+
biddingDelayInMinutes: number | null;
|
|
570
|
+
specialisedProfile: string | null;
|
|
442
571
|
jobId: string;
|
|
443
572
|
suitabilityRating: number | null;
|
|
444
573
|
suitabilityReason: string | null;
|
|
@@ -448,20 +577,38 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
448
577
|
question: string;
|
|
449
578
|
}[] | null;
|
|
450
579
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
451
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
580
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
452
581
|
biddingAmount: number | null;
|
|
453
582
|
boosted: boolean | null;
|
|
454
583
|
boostingAmount: number | null;
|
|
455
584
|
boostedForPlace: number | null;
|
|
456
|
-
specialisedProfile: string | null;
|
|
457
585
|
biddedAt: number | null;
|
|
458
586
|
biddingTaskScheduled: boolean | null;
|
|
459
587
|
scheduledBiddingTime: number | null;
|
|
460
|
-
|
|
588
|
+
checkFeedbackStatusCreatedAt: number | null;
|
|
461
589
|
feedbackCheckTaskId: string | null;
|
|
462
590
|
bidDecision: "rejected" | "proceeded" | null;
|
|
463
591
|
rejectedFeedback: string | null;
|
|
464
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;
|
|
465
612
|
activity?: Partial<Record<"4h" | "24h", {
|
|
466
613
|
updatedAt: number | null;
|
|
467
614
|
unansweredInvites: number | null;
|
|
@@ -579,6 +726,8 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
579
726
|
} | null;
|
|
580
727
|
activityUpdates: 2 | 1 | 3 | null;
|
|
581
728
|
scrapedAt: number | null;
|
|
729
|
+
biddingDelayInMinutes: number | null;
|
|
730
|
+
specialisedProfile: string | null;
|
|
582
731
|
jobId: string;
|
|
583
732
|
suitabilityRating: number | null;
|
|
584
733
|
suitabilityReason: string | null;
|
|
@@ -588,20 +737,38 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
588
737
|
question: string;
|
|
589
738
|
}[] | null;
|
|
590
739
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
591
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
740
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
592
741
|
biddingAmount: number | null;
|
|
593
742
|
boosted: boolean | null;
|
|
594
743
|
boostingAmount: number | null;
|
|
595
744
|
boostedForPlace: number | null;
|
|
596
|
-
specialisedProfile: string | null;
|
|
597
745
|
biddedAt: number | null;
|
|
598
746
|
biddingTaskScheduled: boolean | null;
|
|
599
747
|
scheduledBiddingTime: number | null;
|
|
600
|
-
|
|
748
|
+
checkFeedbackStatusCreatedAt: number | null;
|
|
601
749
|
feedbackCheckTaskId: string | null;
|
|
602
750
|
bidDecision: "rejected" | "proceeded" | null;
|
|
603
751
|
rejectedFeedback: string | null;
|
|
604
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;
|
|
605
772
|
activity?: Partial<Record<"4h" | "24h", {
|
|
606
773
|
updatedAt: number | null;
|
|
607
774
|
unansweredInvites: number | null;
|
|
@@ -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>;
|
|
@@ -955,11 +1122,75 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
955
1122
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
956
1123
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
957
1124
|
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
1125
|
+
checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
|
|
958
1126
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
959
1127
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
960
1128
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
961
1129
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
962
1130
|
applicationId: z.ZodNullable<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;
|
|
@@ -1055,6 +1286,8 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1055
1286
|
} | null;
|
|
1056
1287
|
activityUpdates: 2 | 1 | 3 | null;
|
|
1057
1288
|
scrapedAt: number | null;
|
|
1289
|
+
biddingDelayInMinutes: number | null;
|
|
1290
|
+
specialisedProfile: string | null;
|
|
1058
1291
|
jobId: string;
|
|
1059
1292
|
suitabilityRating: number | null;
|
|
1060
1293
|
suitabilityReason: string | null;
|
|
@@ -1064,20 +1297,38 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1064
1297
|
question: string;
|
|
1065
1298
|
}[] | null;
|
|
1066
1299
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
1067
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
1300
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
1068
1301
|
biddingAmount: number | null;
|
|
1069
1302
|
boosted: boolean | null;
|
|
1070
1303
|
boostingAmount: number | null;
|
|
1071
1304
|
boostedForPlace: number | null;
|
|
1072
|
-
specialisedProfile: string | null;
|
|
1073
1305
|
biddedAt: number | null;
|
|
1074
1306
|
biddingTaskScheduled: boolean | null;
|
|
1075
1307
|
scheduledBiddingTime: number | null;
|
|
1076
|
-
|
|
1308
|
+
checkFeedbackStatusCreatedAt: number | null;
|
|
1077
1309
|
feedbackCheckTaskId: string | null;
|
|
1078
1310
|
bidDecision: "rejected" | "proceeded" | null;
|
|
1079
1311
|
rejectedFeedback: string | null;
|
|
1080
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;
|
|
1081
1332
|
activity?: Partial<Record<"4h" | "24h", {
|
|
1082
1333
|
updatedAt: number | null;
|
|
1083
1334
|
unansweredInvites: number | null;
|
|
@@ -1195,6 +1446,8 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1195
1446
|
} | null;
|
|
1196
1447
|
activityUpdates: 2 | 1 | 3 | null;
|
|
1197
1448
|
scrapedAt: number | null;
|
|
1449
|
+
biddingDelayInMinutes: number | null;
|
|
1450
|
+
specialisedProfile: string | null;
|
|
1198
1451
|
jobId: string;
|
|
1199
1452
|
suitabilityRating: number | null;
|
|
1200
1453
|
suitabilityReason: string | null;
|
|
@@ -1204,20 +1457,38 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1204
1457
|
question: string;
|
|
1205
1458
|
}[] | null;
|
|
1206
1459
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
1207
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
1460
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
1208
1461
|
biddingAmount: number | null;
|
|
1209
1462
|
boosted: boolean | null;
|
|
1210
1463
|
boostingAmount: number | null;
|
|
1211
1464
|
boostedForPlace: number | null;
|
|
1212
|
-
specialisedProfile: string | null;
|
|
1213
1465
|
biddedAt: number | null;
|
|
1214
1466
|
biddingTaskScheduled: boolean | null;
|
|
1215
1467
|
scheduledBiddingTime: number | null;
|
|
1216
|
-
|
|
1468
|
+
checkFeedbackStatusCreatedAt: number | null;
|
|
1217
1469
|
feedbackCheckTaskId: string | null;
|
|
1218
1470
|
bidDecision: "rejected" | "proceeded" | null;
|
|
1219
1471
|
rejectedFeedback: string | null;
|
|
1220
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;
|
|
1221
1492
|
activity?: Partial<Record<"4h" | "24h", {
|
|
1222
1493
|
updatedAt: number | null;
|
|
1223
1494
|
unansweredInvites: number | null;
|
|
@@ -1340,6 +1611,8 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1340
1611
|
} | null;
|
|
1341
1612
|
activityUpdates: 2 | 1 | 3 | null;
|
|
1342
1613
|
scrapedAt: number | null;
|
|
1614
|
+
biddingDelayInMinutes: number | null;
|
|
1615
|
+
specialisedProfile: string | null;
|
|
1343
1616
|
jobId: string;
|
|
1344
1617
|
suitabilityRating: number | null;
|
|
1345
1618
|
suitabilityReason: string | null;
|
|
@@ -1349,20 +1622,38 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1349
1622
|
question: string;
|
|
1350
1623
|
}[] | null;
|
|
1351
1624
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
1352
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
1625
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
1353
1626
|
biddingAmount: number | null;
|
|
1354
1627
|
boosted: boolean | null;
|
|
1355
1628
|
boostingAmount: number | null;
|
|
1356
1629
|
boostedForPlace: number | null;
|
|
1357
|
-
specialisedProfile: string | null;
|
|
1358
1630
|
biddedAt: number | null;
|
|
1359
1631
|
biddingTaskScheduled: boolean | null;
|
|
1360
1632
|
scheduledBiddingTime: number | null;
|
|
1361
|
-
|
|
1633
|
+
checkFeedbackStatusCreatedAt: number | null;
|
|
1362
1634
|
feedbackCheckTaskId: string | null;
|
|
1363
1635
|
bidDecision: "rejected" | "proceeded" | null;
|
|
1364
1636
|
rejectedFeedback: string | null;
|
|
1365
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;
|
|
1366
1657
|
activity?: Partial<Record<"4h" | "24h", {
|
|
1367
1658
|
updatedAt: number | null;
|
|
1368
1659
|
unansweredInvites: number | null;
|
|
@@ -1485,6 +1776,8 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1485
1776
|
} | null;
|
|
1486
1777
|
activityUpdates: 2 | 1 | 3 | null;
|
|
1487
1778
|
scrapedAt: number | null;
|
|
1779
|
+
biddingDelayInMinutes: number | null;
|
|
1780
|
+
specialisedProfile: string | null;
|
|
1488
1781
|
jobId: string;
|
|
1489
1782
|
suitabilityRating: number | null;
|
|
1490
1783
|
suitabilityReason: string | null;
|
|
@@ -1494,20 +1787,38 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1494
1787
|
question: string;
|
|
1495
1788
|
}[] | null;
|
|
1496
1789
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
1497
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
1790
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
1498
1791
|
biddingAmount: number | null;
|
|
1499
1792
|
boosted: boolean | null;
|
|
1500
1793
|
boostingAmount: number | null;
|
|
1501
1794
|
boostedForPlace: number | null;
|
|
1502
|
-
specialisedProfile: string | null;
|
|
1503
1795
|
biddedAt: number | null;
|
|
1504
1796
|
biddingTaskScheduled: boolean | null;
|
|
1505
1797
|
scheduledBiddingTime: number | null;
|
|
1506
|
-
|
|
1798
|
+
checkFeedbackStatusCreatedAt: number | null;
|
|
1507
1799
|
feedbackCheckTaskId: string | null;
|
|
1508
1800
|
bidDecision: "rejected" | "proceeded" | null;
|
|
1509
1801
|
rejectedFeedback: string | null;
|
|
1510
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;
|
|
1511
1822
|
activity?: Partial<Record<"4h" | "24h", {
|
|
1512
1823
|
updatedAt: number | null;
|
|
1513
1824
|
unansweredInvites: number | null;
|
|
@@ -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>;
|
|
@@ -2401,11 +2712,75 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
2401
2712
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
2402
2713
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
2403
2714
|
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
2715
|
+
checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
|
|
2404
2716
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
2405
2717
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
2406
2718
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
2407
2719
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
2408
2720
|
applicationId: z.ZodNullable<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;
|
|
@@ -2501,6 +2876,8 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
2501
2876
|
} | null;
|
|
2502
2877
|
activityUpdates: 2 | 1 | 3 | null;
|
|
2503
2878
|
scrapedAt: number | null;
|
|
2879
|
+
biddingDelayInMinutes: number | null;
|
|
2880
|
+
specialisedProfile: string | null;
|
|
2504
2881
|
jobId: string;
|
|
2505
2882
|
suitabilityRating: number | null;
|
|
2506
2883
|
suitabilityReason: string | null;
|
|
@@ -2510,20 +2887,38 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
2510
2887
|
question: string;
|
|
2511
2888
|
}[] | null;
|
|
2512
2889
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
2513
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
2890
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
2514
2891
|
biddingAmount: number | null;
|
|
2515
2892
|
boosted: boolean | null;
|
|
2516
2893
|
boostingAmount: number | null;
|
|
2517
2894
|
boostedForPlace: number | null;
|
|
2518
|
-
specialisedProfile: string | null;
|
|
2519
2895
|
biddedAt: number | null;
|
|
2520
2896
|
biddingTaskScheduled: boolean | null;
|
|
2521
2897
|
scheduledBiddingTime: number | null;
|
|
2522
|
-
|
|
2898
|
+
checkFeedbackStatusCreatedAt: number | null;
|
|
2523
2899
|
feedbackCheckTaskId: string | null;
|
|
2524
2900
|
bidDecision: "rejected" | "proceeded" | null;
|
|
2525
2901
|
rejectedFeedback: string | null;
|
|
2526
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;
|
|
2527
2922
|
activity?: Partial<Record<"4h" | "24h", {
|
|
2528
2923
|
updatedAt: number | null;
|
|
2529
2924
|
unansweredInvites: number | null;
|
|
@@ -2641,6 +3036,8 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
2641
3036
|
} | null;
|
|
2642
3037
|
activityUpdates: 2 | 1 | 3 | null;
|
|
2643
3038
|
scrapedAt: number | null;
|
|
3039
|
+
biddingDelayInMinutes: number | null;
|
|
3040
|
+
specialisedProfile: string | null;
|
|
2644
3041
|
jobId: string;
|
|
2645
3042
|
suitabilityRating: number | null;
|
|
2646
3043
|
suitabilityReason: string | null;
|
|
@@ -2650,20 +3047,38 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
2650
3047
|
question: string;
|
|
2651
3048
|
}[] | null;
|
|
2652
3049
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
2653
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
3050
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
2654
3051
|
biddingAmount: number | null;
|
|
2655
3052
|
boosted: boolean | null;
|
|
2656
3053
|
boostingAmount: number | null;
|
|
2657
3054
|
boostedForPlace: number | null;
|
|
2658
|
-
specialisedProfile: string | null;
|
|
2659
3055
|
biddedAt: number | null;
|
|
2660
3056
|
biddingTaskScheduled: boolean | null;
|
|
2661
3057
|
scheduledBiddingTime: number | null;
|
|
2662
|
-
|
|
3058
|
+
checkFeedbackStatusCreatedAt: number | null;
|
|
2663
3059
|
feedbackCheckTaskId: string | null;
|
|
2664
3060
|
bidDecision: "rejected" | "proceeded" | null;
|
|
2665
3061
|
rejectedFeedback: string | null;
|
|
2666
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;
|
|
2667
3082
|
activity?: Partial<Record<"4h" | "24h", {
|
|
2668
3083
|
updatedAt: number | null;
|
|
2669
3084
|
unansweredInvites: number | null;
|
|
@@ -2897,6 +3312,8 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
2897
3312
|
} | null;
|
|
2898
3313
|
activityUpdates: 2 | 1 | 3 | null;
|
|
2899
3314
|
scrapedAt: number | null;
|
|
3315
|
+
biddingDelayInMinutes: number | null;
|
|
3316
|
+
specialisedProfile: string | null;
|
|
2900
3317
|
jobId: string;
|
|
2901
3318
|
suitabilityRating: number | null;
|
|
2902
3319
|
suitabilityReason: string | null;
|
|
@@ -2906,20 +3323,38 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
2906
3323
|
question: string;
|
|
2907
3324
|
}[] | null;
|
|
2908
3325
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
2909
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
3326
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
2910
3327
|
biddingAmount: number | null;
|
|
2911
3328
|
boosted: boolean | null;
|
|
2912
3329
|
boostingAmount: number | null;
|
|
2913
3330
|
boostedForPlace: number | null;
|
|
2914
|
-
specialisedProfile: string | null;
|
|
2915
3331
|
biddedAt: number | null;
|
|
2916
3332
|
biddingTaskScheduled: boolean | null;
|
|
2917
3333
|
scheduledBiddingTime: number | null;
|
|
2918
|
-
|
|
3334
|
+
checkFeedbackStatusCreatedAt: number | null;
|
|
2919
3335
|
feedbackCheckTaskId: string | null;
|
|
2920
3336
|
bidDecision: "rejected" | "proceeded" | null;
|
|
2921
3337
|
rejectedFeedback: string | null;
|
|
2922
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;
|
|
2923
3358
|
activity?: Partial<Record<"4h" | "24h", {
|
|
2924
3359
|
updatedAt: number | null;
|
|
2925
3360
|
unansweredInvites: number | null;
|
|
@@ -3154,6 +3589,8 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
3154
3589
|
} | null;
|
|
3155
3590
|
activityUpdates: 2 | 1 | 3 | null;
|
|
3156
3591
|
scrapedAt: number | null;
|
|
3592
|
+
biddingDelayInMinutes: number | null;
|
|
3593
|
+
specialisedProfile: string | null;
|
|
3157
3594
|
jobId: string;
|
|
3158
3595
|
suitabilityRating: number | null;
|
|
3159
3596
|
suitabilityReason: string | null;
|
|
@@ -3163,20 +3600,38 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
3163
3600
|
question: string;
|
|
3164
3601
|
}[] | null;
|
|
3165
3602
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
3166
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
3603
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
3167
3604
|
biddingAmount: number | null;
|
|
3168
3605
|
boosted: boolean | null;
|
|
3169
3606
|
boostingAmount: number | null;
|
|
3170
3607
|
boostedForPlace: number | null;
|
|
3171
|
-
specialisedProfile: string | null;
|
|
3172
3608
|
biddedAt: number | null;
|
|
3173
3609
|
biddingTaskScheduled: boolean | null;
|
|
3174
3610
|
scheduledBiddingTime: number | null;
|
|
3175
|
-
|
|
3611
|
+
checkFeedbackStatusCreatedAt: number | null;
|
|
3176
3612
|
feedbackCheckTaskId: string | null;
|
|
3177
3613
|
bidDecision: "rejected" | "proceeded" | null;
|
|
3178
3614
|
rejectedFeedback: string | null;
|
|
3179
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;
|
|
3180
3635
|
activity?: Partial<Record<"4h" | "24h", {
|
|
3181
3636
|
updatedAt: number | null;
|
|
3182
3637
|
unansweredInvites: number | null;
|
|
@@ -3544,7 +3999,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
3544
3999
|
question: string;
|
|
3545
4000
|
}>, "many">>;
|
|
3546
4001
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
3547
|
-
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"]>>;
|
|
3548
4003
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
3549
4004
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
3550
4005
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -3555,11 +4010,75 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
3555
4010
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
3556
4011
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
3557
4012
|
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
4013
|
+
checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
|
|
3558
4014
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
3559
4015
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
3560
4016
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
3561
4017
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
3562
4018
|
applicationId: z.ZodNullable<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
|
+
}>>;
|
|
3563
4082
|
}>, "processed">, "strip", z.ZodTypeAny, {
|
|
3564
4083
|
id: string | null;
|
|
3565
4084
|
title: string | null;
|
|
@@ -3655,6 +4174,8 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
3655
4174
|
} | null;
|
|
3656
4175
|
activityUpdates: 2 | 1 | 3 | null;
|
|
3657
4176
|
scrapedAt: number | null;
|
|
4177
|
+
biddingDelayInMinutes: number | null;
|
|
4178
|
+
specialisedProfile: string | null;
|
|
3658
4179
|
jobId: string;
|
|
3659
4180
|
suitabilityRating: number | null;
|
|
3660
4181
|
suitabilityReason: string | null;
|
|
@@ -3664,20 +4185,38 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
3664
4185
|
question: string;
|
|
3665
4186
|
}[] | null;
|
|
3666
4187
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
3667
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
4188
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
3668
4189
|
biddingAmount: number | null;
|
|
3669
4190
|
boosted: boolean | null;
|
|
3670
4191
|
boostingAmount: number | null;
|
|
3671
4192
|
boostedForPlace: number | null;
|
|
3672
|
-
specialisedProfile: string | null;
|
|
3673
4193
|
biddedAt: number | null;
|
|
3674
4194
|
biddingTaskScheduled: boolean | null;
|
|
3675
4195
|
scheduledBiddingTime: number | null;
|
|
3676
|
-
|
|
4196
|
+
checkFeedbackStatusCreatedAt: number | null;
|
|
3677
4197
|
feedbackCheckTaskId: string | null;
|
|
3678
4198
|
bidDecision: "rejected" | "proceeded" | null;
|
|
3679
4199
|
rejectedFeedback: string | null;
|
|
3680
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;
|
|
3681
4220
|
activity?: Partial<Record<"4h" | "24h", {
|
|
3682
4221
|
updatedAt: number | null;
|
|
3683
4222
|
unansweredInvites: number | null;
|
|
@@ -3795,6 +4334,8 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
3795
4334
|
} | null;
|
|
3796
4335
|
activityUpdates: 2 | 1 | 3 | null;
|
|
3797
4336
|
scrapedAt: number | null;
|
|
4337
|
+
biddingDelayInMinutes: number | null;
|
|
4338
|
+
specialisedProfile: string | null;
|
|
3798
4339
|
jobId: string;
|
|
3799
4340
|
suitabilityRating: number | null;
|
|
3800
4341
|
suitabilityReason: string | null;
|
|
@@ -3804,20 +4345,38 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
3804
4345
|
question: string;
|
|
3805
4346
|
}[] | null;
|
|
3806
4347
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
3807
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
4348
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
3808
4349
|
biddingAmount: number | null;
|
|
3809
4350
|
boosted: boolean | null;
|
|
3810
4351
|
boostingAmount: number | null;
|
|
3811
4352
|
boostedForPlace: number | null;
|
|
3812
|
-
specialisedProfile: string | null;
|
|
3813
4353
|
biddedAt: number | null;
|
|
3814
4354
|
biddingTaskScheduled: boolean | null;
|
|
3815
4355
|
scheduledBiddingTime: number | null;
|
|
3816
|
-
|
|
4356
|
+
checkFeedbackStatusCreatedAt: number | null;
|
|
3817
4357
|
feedbackCheckTaskId: string | null;
|
|
3818
4358
|
bidDecision: "rejected" | "proceeded" | null;
|
|
3819
4359
|
rejectedFeedback: string | null;
|
|
3820
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;
|
|
3821
4380
|
activity?: Partial<Record<"4h" | "24h", {
|
|
3822
4381
|
updatedAt: number | null;
|
|
3823
4382
|
unansweredInvites: number | null;
|
|
@@ -3950,6 +4509,8 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
3950
4509
|
} | null;
|
|
3951
4510
|
activityUpdates: 2 | 1 | 3 | null;
|
|
3952
4511
|
scrapedAt: number | null;
|
|
4512
|
+
biddingDelayInMinutes: number | null;
|
|
4513
|
+
specialisedProfile: string | null;
|
|
3953
4514
|
jobId: string;
|
|
3954
4515
|
suitabilityRating: number | null;
|
|
3955
4516
|
suitabilityReason: string | null;
|
|
@@ -3959,20 +4520,38 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
3959
4520
|
question: string;
|
|
3960
4521
|
}[] | null;
|
|
3961
4522
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
3962
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
4523
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
3963
4524
|
biddingAmount: number | null;
|
|
3964
4525
|
boosted: boolean | null;
|
|
3965
4526
|
boostingAmount: number | null;
|
|
3966
4527
|
boostedForPlace: number | null;
|
|
3967
|
-
specialisedProfile: string | null;
|
|
3968
4528
|
biddedAt: number | null;
|
|
3969
4529
|
biddingTaskScheduled: boolean | null;
|
|
3970
4530
|
scheduledBiddingTime: number | null;
|
|
3971
|
-
|
|
4531
|
+
checkFeedbackStatusCreatedAt: number | null;
|
|
3972
4532
|
feedbackCheckTaskId: string | null;
|
|
3973
4533
|
bidDecision: "rejected" | "proceeded" | null;
|
|
3974
4534
|
rejectedFeedback: string | null;
|
|
3975
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;
|
|
3976
4555
|
activity?: Partial<Record<"4h" | "24h", {
|
|
3977
4556
|
updatedAt: number | null;
|
|
3978
4557
|
unansweredInvites: number | null;
|
|
@@ -4097,6 +4676,8 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
4097
4676
|
} | null;
|
|
4098
4677
|
activityUpdates: 2 | 1 | 3 | null;
|
|
4099
4678
|
scrapedAt: number | null;
|
|
4679
|
+
biddingDelayInMinutes: number | null;
|
|
4680
|
+
specialisedProfile: string | null;
|
|
4100
4681
|
jobId: string;
|
|
4101
4682
|
suitabilityRating: number | null;
|
|
4102
4683
|
suitabilityReason: string | null;
|
|
@@ -4106,20 +4687,38 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
4106
4687
|
question: string;
|
|
4107
4688
|
}[] | null;
|
|
4108
4689
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
4109
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
4690
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
4110
4691
|
biddingAmount: number | null;
|
|
4111
4692
|
boosted: boolean | null;
|
|
4112
4693
|
boostingAmount: number | null;
|
|
4113
4694
|
boostedForPlace: number | null;
|
|
4114
|
-
specialisedProfile: string | null;
|
|
4115
4695
|
biddedAt: number | null;
|
|
4116
4696
|
biddingTaskScheduled: boolean | null;
|
|
4117
4697
|
scheduledBiddingTime: number | null;
|
|
4118
|
-
|
|
4698
|
+
checkFeedbackStatusCreatedAt: number | null;
|
|
4119
4699
|
feedbackCheckTaskId: string | null;
|
|
4120
4700
|
bidDecision: "rejected" | "proceeded" | null;
|
|
4121
4701
|
rejectedFeedback: string | null;
|
|
4122
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;
|
|
4123
4722
|
activity?: Partial<Record<"4h" | "24h", {
|
|
4124
4723
|
updatedAt: number | null;
|
|
4125
4724
|
unansweredInvites: number | null;
|
|
@@ -4168,5 +4767,6 @@ export type FindLeadsResponse = z.infer<typeof findLeadsResponseSchema>;
|
|
|
4168
4767
|
export type GetCampaignLeadsRequestQuery = z.infer<typeof getCampaignLeadsRequestQuerySchema>;
|
|
4169
4768
|
export type GenerateLeadCountsRequest = z.infer<typeof generateLeadCountsRequestSchema>;
|
|
4170
4769
|
export type GetCampaignLeadsResponse = z.infer<typeof getCampaignLeadsResponseSchema>;
|
|
4770
|
+
export type LeadBiddingConfig = z.infer<typeof leadBiddingConfigSchema>;
|
|
4171
4771
|
export type GetCampaignLeadsStatus = z.infer<typeof getCampaignLeadsStatusEnum>;
|
|
4172
4772
|
export * from './lead-status';
|