lancer-shared 1.2.261 → 1.2.263
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 +40 -0
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +41 -3
- package/dist/bundle.esm.js.map +1 -1
- package/dist/constants/routes.d.ts +1 -0
- package/dist/schemas/agent/index.d.ts +165 -13
- package/dist/schemas/bidder/bid.d.ts +1680 -255
- package/dist/schemas/campaign/campaign-analytics.d.ts +614 -29
- package/dist/schemas/campaign/campaign.d.ts +120 -120
- package/dist/schemas/lead/index.d.ts +664 -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 +229 -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", "biddingFailed", "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,76 @@ 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>;
|
|
406
|
+
biddingScheduledAt: z.ZodNullable<z.ZodNumber>;
|
|
342
407
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
343
408
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
344
409
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
345
410
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
346
411
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
412
|
+
leadBiddingConfig: z.ZodNullable<z.ZodObject<{
|
|
413
|
+
appliedFromQueue: z.ZodNullable<z.ZodBoolean>;
|
|
414
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
415
|
+
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
416
|
+
biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
|
|
417
|
+
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
418
|
+
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
419
|
+
boostingEnabled: z.ZodNullable<z.ZodBoolean>;
|
|
420
|
+
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
421
|
+
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
422
|
+
maximumBoost: z.ZodNullable<z.ZodNumber>;
|
|
423
|
+
minBoost: z.ZodNullable<z.ZodNumber>;
|
|
424
|
+
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
425
|
+
bidConfig: z.ZodObject<{
|
|
426
|
+
agencyName: z.ZodNullable<z.ZodString>;
|
|
427
|
+
contractorName: z.ZodNullable<z.ZodString>;
|
|
428
|
+
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
429
|
+
}, "strip", z.ZodTypeAny, {
|
|
430
|
+
contractorName: string | null;
|
|
431
|
+
agencyName: string | null;
|
|
432
|
+
specialisedProfile: string | null;
|
|
433
|
+
}, {
|
|
434
|
+
contractorName: string | null;
|
|
435
|
+
agencyName: string | null;
|
|
436
|
+
specialisedProfile: string | null;
|
|
437
|
+
}>;
|
|
438
|
+
}, "strip", z.ZodTypeAny, {
|
|
439
|
+
appliedFromQueue: boolean | null;
|
|
440
|
+
biddingDelayInMinutes: number | null;
|
|
441
|
+
bidWithWarning: "bid" | "skip";
|
|
442
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
443
|
+
biddingHourlyRatePercentage: number | null;
|
|
444
|
+
biddingFixedHourlyRate: number | null;
|
|
445
|
+
boostingEnabled: boolean | null;
|
|
446
|
+
boostDownToNthPlace: number | null;
|
|
447
|
+
connectsAbovePrevious: number | null;
|
|
448
|
+
maximumBoost: number | null;
|
|
449
|
+
minBoost: number | null;
|
|
450
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
451
|
+
bidConfig: {
|
|
452
|
+
contractorName: string | null;
|
|
453
|
+
agencyName: string | null;
|
|
454
|
+
specialisedProfile: string | null;
|
|
455
|
+
};
|
|
456
|
+
}, {
|
|
457
|
+
appliedFromQueue: boolean | null;
|
|
458
|
+
biddingDelayInMinutes: number | null;
|
|
459
|
+
bidWithWarning: "bid" | "skip";
|
|
460
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
461
|
+
biddingHourlyRatePercentage: number | null;
|
|
462
|
+
biddingFixedHourlyRate: number | null;
|
|
463
|
+
boostingEnabled: boolean | null;
|
|
464
|
+
boostDownToNthPlace: number | null;
|
|
465
|
+
connectsAbovePrevious: number | null;
|
|
466
|
+
maximumBoost: number | null;
|
|
467
|
+
minBoost: number | null;
|
|
468
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
469
|
+
bidConfig: {
|
|
470
|
+
contractorName: string | null;
|
|
471
|
+
agencyName: string | null;
|
|
472
|
+
specialisedProfile: string | null;
|
|
473
|
+
};
|
|
474
|
+
}>>;
|
|
347
475
|
}>, "processed">, "strip", z.ZodTypeAny, {
|
|
348
476
|
id: string | null;
|
|
349
477
|
title: string | null;
|
|
@@ -439,6 +567,8 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
439
567
|
} | null;
|
|
440
568
|
activityUpdates: 2 | 1 | 3 | null;
|
|
441
569
|
scrapedAt: number | null;
|
|
570
|
+
biddingDelayInMinutes: number | null;
|
|
571
|
+
specialisedProfile: string | null;
|
|
442
572
|
jobId: string;
|
|
443
573
|
suitabilityRating: number | null;
|
|
444
574
|
suitabilityReason: string | null;
|
|
@@ -448,20 +578,39 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
448
578
|
question: string;
|
|
449
579
|
}[] | null;
|
|
450
580
|
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;
|
|
581
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
452
582
|
biddingAmount: number | null;
|
|
453
583
|
boosted: boolean | null;
|
|
454
584
|
boostingAmount: number | null;
|
|
455
585
|
boostedForPlace: number | null;
|
|
456
|
-
specialisedProfile: string | null;
|
|
457
586
|
biddedAt: number | null;
|
|
458
587
|
biddingTaskScheduled: boolean | null;
|
|
459
588
|
scheduledBiddingTime: number | null;
|
|
460
|
-
|
|
589
|
+
checkFeedbackStatusCreatedAt: number | null;
|
|
590
|
+
biddingScheduledAt: number | null;
|
|
461
591
|
feedbackCheckTaskId: string | null;
|
|
462
592
|
bidDecision: "rejected" | "proceeded" | null;
|
|
463
593
|
rejectedFeedback: string | null;
|
|
464
594
|
applicationId: string | null;
|
|
595
|
+
leadBiddingConfig: {
|
|
596
|
+
appliedFromQueue: boolean | null;
|
|
597
|
+
biddingDelayInMinutes: number | null;
|
|
598
|
+
bidWithWarning: "bid" | "skip";
|
|
599
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
600
|
+
biddingHourlyRatePercentage: number | null;
|
|
601
|
+
biddingFixedHourlyRate: number | null;
|
|
602
|
+
boostingEnabled: boolean | null;
|
|
603
|
+
boostDownToNthPlace: number | null;
|
|
604
|
+
connectsAbovePrevious: number | null;
|
|
605
|
+
maximumBoost: number | null;
|
|
606
|
+
minBoost: number | null;
|
|
607
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
608
|
+
bidConfig: {
|
|
609
|
+
contractorName: string | null;
|
|
610
|
+
agencyName: string | null;
|
|
611
|
+
specialisedProfile: string | null;
|
|
612
|
+
};
|
|
613
|
+
} | null;
|
|
465
614
|
activity?: Partial<Record<"4h" | "24h", {
|
|
466
615
|
updatedAt: number | null;
|
|
467
616
|
unansweredInvites: number | null;
|
|
@@ -579,6 +728,8 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
579
728
|
} | null;
|
|
580
729
|
activityUpdates: 2 | 1 | 3 | null;
|
|
581
730
|
scrapedAt: number | null;
|
|
731
|
+
biddingDelayInMinutes: number | null;
|
|
732
|
+
specialisedProfile: string | null;
|
|
582
733
|
jobId: string;
|
|
583
734
|
suitabilityRating: number | null;
|
|
584
735
|
suitabilityReason: string | null;
|
|
@@ -588,20 +739,39 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
588
739
|
question: string;
|
|
589
740
|
}[] | null;
|
|
590
741
|
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;
|
|
742
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
592
743
|
biddingAmount: number | null;
|
|
593
744
|
boosted: boolean | null;
|
|
594
745
|
boostingAmount: number | null;
|
|
595
746
|
boostedForPlace: number | null;
|
|
596
|
-
specialisedProfile: string | null;
|
|
597
747
|
biddedAt: number | null;
|
|
598
748
|
biddingTaskScheduled: boolean | null;
|
|
599
749
|
scheduledBiddingTime: number | null;
|
|
600
|
-
|
|
750
|
+
checkFeedbackStatusCreatedAt: number | null;
|
|
751
|
+
biddingScheduledAt: number | null;
|
|
601
752
|
feedbackCheckTaskId: string | null;
|
|
602
753
|
bidDecision: "rejected" | "proceeded" | null;
|
|
603
754
|
rejectedFeedback: string | null;
|
|
604
755
|
applicationId: string | null;
|
|
756
|
+
leadBiddingConfig: {
|
|
757
|
+
appliedFromQueue: boolean | null;
|
|
758
|
+
biddingDelayInMinutes: number | null;
|
|
759
|
+
bidWithWarning: "bid" | "skip";
|
|
760
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
761
|
+
biddingHourlyRatePercentage: number | null;
|
|
762
|
+
biddingFixedHourlyRate: number | null;
|
|
763
|
+
boostingEnabled: boolean | null;
|
|
764
|
+
boostDownToNthPlace: number | null;
|
|
765
|
+
connectsAbovePrevious: number | null;
|
|
766
|
+
maximumBoost: number | null;
|
|
767
|
+
minBoost: number | null;
|
|
768
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
769
|
+
bidConfig: {
|
|
770
|
+
contractorName: string | null;
|
|
771
|
+
agencyName: string | null;
|
|
772
|
+
specialisedProfile: string | null;
|
|
773
|
+
};
|
|
774
|
+
} | null;
|
|
605
775
|
activity?: Partial<Record<"4h" | "24h", {
|
|
606
776
|
updatedAt: number | null;
|
|
607
777
|
unansweredInvites: number | null;
|
|
@@ -944,7 +1114,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
944
1114
|
question: string;
|
|
945
1115
|
}>, "many">>;
|
|
946
1116
|
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"]>>;
|
|
1117
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "biddingFailed", "won"]>>;
|
|
948
1118
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
949
1119
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
950
1120
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -955,11 +1125,76 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
955
1125
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
956
1126
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
957
1127
|
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
1128
|
+
checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
|
|
1129
|
+
biddingScheduledAt: z.ZodNullable<z.ZodNumber>;
|
|
958
1130
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
959
1131
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
960
1132
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
961
1133
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
962
1134
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
1135
|
+
leadBiddingConfig: z.ZodNullable<z.ZodObject<{
|
|
1136
|
+
appliedFromQueue: z.ZodNullable<z.ZodBoolean>;
|
|
1137
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
1138
|
+
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
1139
|
+
biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
|
|
1140
|
+
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
1141
|
+
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
1142
|
+
boostingEnabled: z.ZodNullable<z.ZodBoolean>;
|
|
1143
|
+
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
1144
|
+
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
1145
|
+
maximumBoost: z.ZodNullable<z.ZodNumber>;
|
|
1146
|
+
minBoost: z.ZodNullable<z.ZodNumber>;
|
|
1147
|
+
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
1148
|
+
bidConfig: z.ZodObject<{
|
|
1149
|
+
agencyName: z.ZodNullable<z.ZodString>;
|
|
1150
|
+
contractorName: z.ZodNullable<z.ZodString>;
|
|
1151
|
+
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
1152
|
+
}, "strip", z.ZodTypeAny, {
|
|
1153
|
+
contractorName: string | null;
|
|
1154
|
+
agencyName: string | null;
|
|
1155
|
+
specialisedProfile: string | null;
|
|
1156
|
+
}, {
|
|
1157
|
+
contractorName: string | null;
|
|
1158
|
+
agencyName: string | null;
|
|
1159
|
+
specialisedProfile: string | null;
|
|
1160
|
+
}>;
|
|
1161
|
+
}, "strip", z.ZodTypeAny, {
|
|
1162
|
+
appliedFromQueue: boolean | null;
|
|
1163
|
+
biddingDelayInMinutes: number | null;
|
|
1164
|
+
bidWithWarning: "bid" | "skip";
|
|
1165
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
1166
|
+
biddingHourlyRatePercentage: number | null;
|
|
1167
|
+
biddingFixedHourlyRate: number | null;
|
|
1168
|
+
boostingEnabled: boolean | null;
|
|
1169
|
+
boostDownToNthPlace: number | null;
|
|
1170
|
+
connectsAbovePrevious: number | null;
|
|
1171
|
+
maximumBoost: number | null;
|
|
1172
|
+
minBoost: number | null;
|
|
1173
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
1174
|
+
bidConfig: {
|
|
1175
|
+
contractorName: string | null;
|
|
1176
|
+
agencyName: string | null;
|
|
1177
|
+
specialisedProfile: string | null;
|
|
1178
|
+
};
|
|
1179
|
+
}, {
|
|
1180
|
+
appliedFromQueue: boolean | null;
|
|
1181
|
+
biddingDelayInMinutes: number | null;
|
|
1182
|
+
bidWithWarning: "bid" | "skip";
|
|
1183
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
1184
|
+
biddingHourlyRatePercentage: number | null;
|
|
1185
|
+
biddingFixedHourlyRate: number | null;
|
|
1186
|
+
boostingEnabled: boolean | null;
|
|
1187
|
+
boostDownToNthPlace: number | null;
|
|
1188
|
+
connectsAbovePrevious: number | null;
|
|
1189
|
+
maximumBoost: number | null;
|
|
1190
|
+
minBoost: number | null;
|
|
1191
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
1192
|
+
bidConfig: {
|
|
1193
|
+
contractorName: string | null;
|
|
1194
|
+
agencyName: string | null;
|
|
1195
|
+
specialisedProfile: string | null;
|
|
1196
|
+
};
|
|
1197
|
+
}>>;
|
|
963
1198
|
}>, "processed">, "strip", z.ZodTypeAny, {
|
|
964
1199
|
id: string | null;
|
|
965
1200
|
title: string | null;
|
|
@@ -1055,6 +1290,8 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1055
1290
|
} | null;
|
|
1056
1291
|
activityUpdates: 2 | 1 | 3 | null;
|
|
1057
1292
|
scrapedAt: number | null;
|
|
1293
|
+
biddingDelayInMinutes: number | null;
|
|
1294
|
+
specialisedProfile: string | null;
|
|
1058
1295
|
jobId: string;
|
|
1059
1296
|
suitabilityRating: number | null;
|
|
1060
1297
|
suitabilityReason: string | null;
|
|
@@ -1064,20 +1301,39 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1064
1301
|
question: string;
|
|
1065
1302
|
}[] | null;
|
|
1066
1303
|
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;
|
|
1304
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
1068
1305
|
biddingAmount: number | null;
|
|
1069
1306
|
boosted: boolean | null;
|
|
1070
1307
|
boostingAmount: number | null;
|
|
1071
1308
|
boostedForPlace: number | null;
|
|
1072
|
-
specialisedProfile: string | null;
|
|
1073
1309
|
biddedAt: number | null;
|
|
1074
1310
|
biddingTaskScheduled: boolean | null;
|
|
1075
1311
|
scheduledBiddingTime: number | null;
|
|
1076
|
-
|
|
1312
|
+
checkFeedbackStatusCreatedAt: number | null;
|
|
1313
|
+
biddingScheduledAt: number | null;
|
|
1077
1314
|
feedbackCheckTaskId: string | null;
|
|
1078
1315
|
bidDecision: "rejected" | "proceeded" | null;
|
|
1079
1316
|
rejectedFeedback: string | null;
|
|
1080
1317
|
applicationId: string | null;
|
|
1318
|
+
leadBiddingConfig: {
|
|
1319
|
+
appliedFromQueue: boolean | null;
|
|
1320
|
+
biddingDelayInMinutes: number | null;
|
|
1321
|
+
bidWithWarning: "bid" | "skip";
|
|
1322
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
1323
|
+
biddingHourlyRatePercentage: number | null;
|
|
1324
|
+
biddingFixedHourlyRate: number | null;
|
|
1325
|
+
boostingEnabled: boolean | null;
|
|
1326
|
+
boostDownToNthPlace: number | null;
|
|
1327
|
+
connectsAbovePrevious: number | null;
|
|
1328
|
+
maximumBoost: number | null;
|
|
1329
|
+
minBoost: number | null;
|
|
1330
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
1331
|
+
bidConfig: {
|
|
1332
|
+
contractorName: string | null;
|
|
1333
|
+
agencyName: string | null;
|
|
1334
|
+
specialisedProfile: string | null;
|
|
1335
|
+
};
|
|
1336
|
+
} | null;
|
|
1081
1337
|
activity?: Partial<Record<"4h" | "24h", {
|
|
1082
1338
|
updatedAt: number | null;
|
|
1083
1339
|
unansweredInvites: number | null;
|
|
@@ -1195,6 +1451,8 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1195
1451
|
} | null;
|
|
1196
1452
|
activityUpdates: 2 | 1 | 3 | null;
|
|
1197
1453
|
scrapedAt: number | null;
|
|
1454
|
+
biddingDelayInMinutes: number | null;
|
|
1455
|
+
specialisedProfile: string | null;
|
|
1198
1456
|
jobId: string;
|
|
1199
1457
|
suitabilityRating: number | null;
|
|
1200
1458
|
suitabilityReason: string | null;
|
|
@@ -1204,20 +1462,39 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1204
1462
|
question: string;
|
|
1205
1463
|
}[] | null;
|
|
1206
1464
|
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;
|
|
1465
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
1208
1466
|
biddingAmount: number | null;
|
|
1209
1467
|
boosted: boolean | null;
|
|
1210
1468
|
boostingAmount: number | null;
|
|
1211
1469
|
boostedForPlace: number | null;
|
|
1212
|
-
specialisedProfile: string | null;
|
|
1213
1470
|
biddedAt: number | null;
|
|
1214
1471
|
biddingTaskScheduled: boolean | null;
|
|
1215
1472
|
scheduledBiddingTime: number | null;
|
|
1216
|
-
|
|
1473
|
+
checkFeedbackStatusCreatedAt: number | null;
|
|
1474
|
+
biddingScheduledAt: number | null;
|
|
1217
1475
|
feedbackCheckTaskId: string | null;
|
|
1218
1476
|
bidDecision: "rejected" | "proceeded" | null;
|
|
1219
1477
|
rejectedFeedback: string | null;
|
|
1220
1478
|
applicationId: string | null;
|
|
1479
|
+
leadBiddingConfig: {
|
|
1480
|
+
appliedFromQueue: boolean | null;
|
|
1481
|
+
biddingDelayInMinutes: number | null;
|
|
1482
|
+
bidWithWarning: "bid" | "skip";
|
|
1483
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
1484
|
+
biddingHourlyRatePercentage: number | null;
|
|
1485
|
+
biddingFixedHourlyRate: number | null;
|
|
1486
|
+
boostingEnabled: boolean | null;
|
|
1487
|
+
boostDownToNthPlace: number | null;
|
|
1488
|
+
connectsAbovePrevious: number | null;
|
|
1489
|
+
maximumBoost: number | null;
|
|
1490
|
+
minBoost: number | null;
|
|
1491
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
1492
|
+
bidConfig: {
|
|
1493
|
+
contractorName: string | null;
|
|
1494
|
+
agencyName: string | null;
|
|
1495
|
+
specialisedProfile: string | null;
|
|
1496
|
+
};
|
|
1497
|
+
} | null;
|
|
1221
1498
|
activity?: Partial<Record<"4h" | "24h", {
|
|
1222
1499
|
updatedAt: number | null;
|
|
1223
1500
|
unansweredInvites: number | null;
|
|
@@ -1340,6 +1617,8 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1340
1617
|
} | null;
|
|
1341
1618
|
activityUpdates: 2 | 1 | 3 | null;
|
|
1342
1619
|
scrapedAt: number | null;
|
|
1620
|
+
biddingDelayInMinutes: number | null;
|
|
1621
|
+
specialisedProfile: string | null;
|
|
1343
1622
|
jobId: string;
|
|
1344
1623
|
suitabilityRating: number | null;
|
|
1345
1624
|
suitabilityReason: string | null;
|
|
@@ -1349,20 +1628,39 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1349
1628
|
question: string;
|
|
1350
1629
|
}[] | null;
|
|
1351
1630
|
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;
|
|
1631
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
1353
1632
|
biddingAmount: number | null;
|
|
1354
1633
|
boosted: boolean | null;
|
|
1355
1634
|
boostingAmount: number | null;
|
|
1356
1635
|
boostedForPlace: number | null;
|
|
1357
|
-
specialisedProfile: string | null;
|
|
1358
1636
|
biddedAt: number | null;
|
|
1359
1637
|
biddingTaskScheduled: boolean | null;
|
|
1360
1638
|
scheduledBiddingTime: number | null;
|
|
1361
|
-
|
|
1639
|
+
checkFeedbackStatusCreatedAt: number | null;
|
|
1640
|
+
biddingScheduledAt: number | null;
|
|
1362
1641
|
feedbackCheckTaskId: string | null;
|
|
1363
1642
|
bidDecision: "rejected" | "proceeded" | null;
|
|
1364
1643
|
rejectedFeedback: string | null;
|
|
1365
1644
|
applicationId: string | null;
|
|
1645
|
+
leadBiddingConfig: {
|
|
1646
|
+
appliedFromQueue: boolean | null;
|
|
1647
|
+
biddingDelayInMinutes: number | null;
|
|
1648
|
+
bidWithWarning: "bid" | "skip";
|
|
1649
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
1650
|
+
biddingHourlyRatePercentage: number | null;
|
|
1651
|
+
biddingFixedHourlyRate: number | null;
|
|
1652
|
+
boostingEnabled: boolean | null;
|
|
1653
|
+
boostDownToNthPlace: number | null;
|
|
1654
|
+
connectsAbovePrevious: number | null;
|
|
1655
|
+
maximumBoost: number | null;
|
|
1656
|
+
minBoost: number | null;
|
|
1657
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
1658
|
+
bidConfig: {
|
|
1659
|
+
contractorName: string | null;
|
|
1660
|
+
agencyName: string | null;
|
|
1661
|
+
specialisedProfile: string | null;
|
|
1662
|
+
};
|
|
1663
|
+
} | null;
|
|
1366
1664
|
activity?: Partial<Record<"4h" | "24h", {
|
|
1367
1665
|
updatedAt: number | null;
|
|
1368
1666
|
unansweredInvites: number | null;
|
|
@@ -1485,6 +1783,8 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1485
1783
|
} | null;
|
|
1486
1784
|
activityUpdates: 2 | 1 | 3 | null;
|
|
1487
1785
|
scrapedAt: number | null;
|
|
1786
|
+
biddingDelayInMinutes: number | null;
|
|
1787
|
+
specialisedProfile: string | null;
|
|
1488
1788
|
jobId: string;
|
|
1489
1789
|
suitabilityRating: number | null;
|
|
1490
1790
|
suitabilityReason: string | null;
|
|
@@ -1494,20 +1794,39 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1494
1794
|
question: string;
|
|
1495
1795
|
}[] | null;
|
|
1496
1796
|
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;
|
|
1797
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
1498
1798
|
biddingAmount: number | null;
|
|
1499
1799
|
boosted: boolean | null;
|
|
1500
1800
|
boostingAmount: number | null;
|
|
1501
1801
|
boostedForPlace: number | null;
|
|
1502
|
-
specialisedProfile: string | null;
|
|
1503
1802
|
biddedAt: number | null;
|
|
1504
1803
|
biddingTaskScheduled: boolean | null;
|
|
1505
1804
|
scheduledBiddingTime: number | null;
|
|
1506
|
-
|
|
1805
|
+
checkFeedbackStatusCreatedAt: number | null;
|
|
1806
|
+
biddingScheduledAt: number | null;
|
|
1507
1807
|
feedbackCheckTaskId: string | null;
|
|
1508
1808
|
bidDecision: "rejected" | "proceeded" | null;
|
|
1509
1809
|
rejectedFeedback: string | null;
|
|
1510
1810
|
applicationId: string | null;
|
|
1811
|
+
leadBiddingConfig: {
|
|
1812
|
+
appliedFromQueue: boolean | null;
|
|
1813
|
+
biddingDelayInMinutes: number | null;
|
|
1814
|
+
bidWithWarning: "bid" | "skip";
|
|
1815
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
1816
|
+
biddingHourlyRatePercentage: number | null;
|
|
1817
|
+
biddingFixedHourlyRate: number | null;
|
|
1818
|
+
boostingEnabled: boolean | null;
|
|
1819
|
+
boostDownToNthPlace: number | null;
|
|
1820
|
+
connectsAbovePrevious: number | null;
|
|
1821
|
+
maximumBoost: number | null;
|
|
1822
|
+
minBoost: number | null;
|
|
1823
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
1824
|
+
bidConfig: {
|
|
1825
|
+
contractorName: string | null;
|
|
1826
|
+
agencyName: string | null;
|
|
1827
|
+
specialisedProfile: string | null;
|
|
1828
|
+
};
|
|
1829
|
+
} | null;
|
|
1511
1830
|
activity?: Partial<Record<"4h" | "24h", {
|
|
1512
1831
|
updatedAt: number | null;
|
|
1513
1832
|
unansweredInvites: number | null;
|
|
@@ -2390,7 +2709,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
2390
2709
|
question: string;
|
|
2391
2710
|
}>, "many">>;
|
|
2392
2711
|
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"]>>;
|
|
2712
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "biddingFailed", "won"]>>;
|
|
2394
2713
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
2395
2714
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
2396
2715
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -2401,11 +2720,76 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
2401
2720
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
2402
2721
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
2403
2722
|
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
2723
|
+
checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
|
|
2724
|
+
biddingScheduledAt: z.ZodNullable<z.ZodNumber>;
|
|
2404
2725
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
2405
2726
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
2406
2727
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
2407
2728
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
2408
2729
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
2730
|
+
leadBiddingConfig: z.ZodNullable<z.ZodObject<{
|
|
2731
|
+
appliedFromQueue: z.ZodNullable<z.ZodBoolean>;
|
|
2732
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
2733
|
+
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
2734
|
+
biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
|
|
2735
|
+
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
2736
|
+
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
2737
|
+
boostingEnabled: z.ZodNullable<z.ZodBoolean>;
|
|
2738
|
+
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
2739
|
+
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
2740
|
+
maximumBoost: z.ZodNullable<z.ZodNumber>;
|
|
2741
|
+
minBoost: z.ZodNullable<z.ZodNumber>;
|
|
2742
|
+
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
2743
|
+
bidConfig: z.ZodObject<{
|
|
2744
|
+
agencyName: z.ZodNullable<z.ZodString>;
|
|
2745
|
+
contractorName: z.ZodNullable<z.ZodString>;
|
|
2746
|
+
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
2747
|
+
}, "strip", z.ZodTypeAny, {
|
|
2748
|
+
contractorName: string | null;
|
|
2749
|
+
agencyName: string | null;
|
|
2750
|
+
specialisedProfile: string | null;
|
|
2751
|
+
}, {
|
|
2752
|
+
contractorName: string | null;
|
|
2753
|
+
agencyName: string | null;
|
|
2754
|
+
specialisedProfile: string | null;
|
|
2755
|
+
}>;
|
|
2756
|
+
}, "strip", z.ZodTypeAny, {
|
|
2757
|
+
appliedFromQueue: boolean | null;
|
|
2758
|
+
biddingDelayInMinutes: number | null;
|
|
2759
|
+
bidWithWarning: "bid" | "skip";
|
|
2760
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
2761
|
+
biddingHourlyRatePercentage: number | null;
|
|
2762
|
+
biddingFixedHourlyRate: number | null;
|
|
2763
|
+
boostingEnabled: boolean | null;
|
|
2764
|
+
boostDownToNthPlace: number | null;
|
|
2765
|
+
connectsAbovePrevious: number | null;
|
|
2766
|
+
maximumBoost: number | null;
|
|
2767
|
+
minBoost: number | null;
|
|
2768
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
2769
|
+
bidConfig: {
|
|
2770
|
+
contractorName: string | null;
|
|
2771
|
+
agencyName: string | null;
|
|
2772
|
+
specialisedProfile: string | null;
|
|
2773
|
+
};
|
|
2774
|
+
}, {
|
|
2775
|
+
appliedFromQueue: boolean | null;
|
|
2776
|
+
biddingDelayInMinutes: number | null;
|
|
2777
|
+
bidWithWarning: "bid" | "skip";
|
|
2778
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
2779
|
+
biddingHourlyRatePercentage: number | null;
|
|
2780
|
+
biddingFixedHourlyRate: number | null;
|
|
2781
|
+
boostingEnabled: boolean | null;
|
|
2782
|
+
boostDownToNthPlace: number | null;
|
|
2783
|
+
connectsAbovePrevious: number | null;
|
|
2784
|
+
maximumBoost: number | null;
|
|
2785
|
+
minBoost: number | null;
|
|
2786
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
2787
|
+
bidConfig: {
|
|
2788
|
+
contractorName: string | null;
|
|
2789
|
+
agencyName: string | null;
|
|
2790
|
+
specialisedProfile: string | null;
|
|
2791
|
+
};
|
|
2792
|
+
}>>;
|
|
2409
2793
|
}>, "processed">, "strip", z.ZodTypeAny, {
|
|
2410
2794
|
id: string | null;
|
|
2411
2795
|
title: string | null;
|
|
@@ -2501,6 +2885,8 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
2501
2885
|
} | null;
|
|
2502
2886
|
activityUpdates: 2 | 1 | 3 | null;
|
|
2503
2887
|
scrapedAt: number | null;
|
|
2888
|
+
biddingDelayInMinutes: number | null;
|
|
2889
|
+
specialisedProfile: string | null;
|
|
2504
2890
|
jobId: string;
|
|
2505
2891
|
suitabilityRating: number | null;
|
|
2506
2892
|
suitabilityReason: string | null;
|
|
@@ -2510,20 +2896,39 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
2510
2896
|
question: string;
|
|
2511
2897
|
}[] | null;
|
|
2512
2898
|
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;
|
|
2899
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
2514
2900
|
biddingAmount: number | null;
|
|
2515
2901
|
boosted: boolean | null;
|
|
2516
2902
|
boostingAmount: number | null;
|
|
2517
2903
|
boostedForPlace: number | null;
|
|
2518
|
-
specialisedProfile: string | null;
|
|
2519
2904
|
biddedAt: number | null;
|
|
2520
2905
|
biddingTaskScheduled: boolean | null;
|
|
2521
2906
|
scheduledBiddingTime: number | null;
|
|
2522
|
-
|
|
2907
|
+
checkFeedbackStatusCreatedAt: number | null;
|
|
2908
|
+
biddingScheduledAt: number | null;
|
|
2523
2909
|
feedbackCheckTaskId: string | null;
|
|
2524
2910
|
bidDecision: "rejected" | "proceeded" | null;
|
|
2525
2911
|
rejectedFeedback: string | null;
|
|
2526
2912
|
applicationId: string | null;
|
|
2913
|
+
leadBiddingConfig: {
|
|
2914
|
+
appliedFromQueue: boolean | null;
|
|
2915
|
+
biddingDelayInMinutes: number | null;
|
|
2916
|
+
bidWithWarning: "bid" | "skip";
|
|
2917
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
2918
|
+
biddingHourlyRatePercentage: number | null;
|
|
2919
|
+
biddingFixedHourlyRate: number | null;
|
|
2920
|
+
boostingEnabled: boolean | null;
|
|
2921
|
+
boostDownToNthPlace: number | null;
|
|
2922
|
+
connectsAbovePrevious: number | null;
|
|
2923
|
+
maximumBoost: number | null;
|
|
2924
|
+
minBoost: number | null;
|
|
2925
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
2926
|
+
bidConfig: {
|
|
2927
|
+
contractorName: string | null;
|
|
2928
|
+
agencyName: string | null;
|
|
2929
|
+
specialisedProfile: string | null;
|
|
2930
|
+
};
|
|
2931
|
+
} | null;
|
|
2527
2932
|
activity?: Partial<Record<"4h" | "24h", {
|
|
2528
2933
|
updatedAt: number | null;
|
|
2529
2934
|
unansweredInvites: number | null;
|
|
@@ -2641,6 +3046,8 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
2641
3046
|
} | null;
|
|
2642
3047
|
activityUpdates: 2 | 1 | 3 | null;
|
|
2643
3048
|
scrapedAt: number | null;
|
|
3049
|
+
biddingDelayInMinutes: number | null;
|
|
3050
|
+
specialisedProfile: string | null;
|
|
2644
3051
|
jobId: string;
|
|
2645
3052
|
suitabilityRating: number | null;
|
|
2646
3053
|
suitabilityReason: string | null;
|
|
@@ -2650,20 +3057,39 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
2650
3057
|
question: string;
|
|
2651
3058
|
}[] | null;
|
|
2652
3059
|
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;
|
|
3060
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
2654
3061
|
biddingAmount: number | null;
|
|
2655
3062
|
boosted: boolean | null;
|
|
2656
3063
|
boostingAmount: number | null;
|
|
2657
3064
|
boostedForPlace: number | null;
|
|
2658
|
-
specialisedProfile: string | null;
|
|
2659
3065
|
biddedAt: number | null;
|
|
2660
3066
|
biddingTaskScheduled: boolean | null;
|
|
2661
3067
|
scheduledBiddingTime: number | null;
|
|
2662
|
-
|
|
3068
|
+
checkFeedbackStatusCreatedAt: number | null;
|
|
3069
|
+
biddingScheduledAt: number | null;
|
|
2663
3070
|
feedbackCheckTaskId: string | null;
|
|
2664
3071
|
bidDecision: "rejected" | "proceeded" | null;
|
|
2665
3072
|
rejectedFeedback: string | null;
|
|
2666
3073
|
applicationId: string | null;
|
|
3074
|
+
leadBiddingConfig: {
|
|
3075
|
+
appliedFromQueue: boolean | null;
|
|
3076
|
+
biddingDelayInMinutes: number | null;
|
|
3077
|
+
bidWithWarning: "bid" | "skip";
|
|
3078
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
3079
|
+
biddingHourlyRatePercentage: number | null;
|
|
3080
|
+
biddingFixedHourlyRate: number | null;
|
|
3081
|
+
boostingEnabled: boolean | null;
|
|
3082
|
+
boostDownToNthPlace: number | null;
|
|
3083
|
+
connectsAbovePrevious: number | null;
|
|
3084
|
+
maximumBoost: number | null;
|
|
3085
|
+
minBoost: number | null;
|
|
3086
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
3087
|
+
bidConfig: {
|
|
3088
|
+
contractorName: string | null;
|
|
3089
|
+
agencyName: string | null;
|
|
3090
|
+
specialisedProfile: string | null;
|
|
3091
|
+
};
|
|
3092
|
+
} | null;
|
|
2667
3093
|
activity?: Partial<Record<"4h" | "24h", {
|
|
2668
3094
|
updatedAt: number | null;
|
|
2669
3095
|
unansweredInvites: number | null;
|
|
@@ -2897,6 +3323,8 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
2897
3323
|
} | null;
|
|
2898
3324
|
activityUpdates: 2 | 1 | 3 | null;
|
|
2899
3325
|
scrapedAt: number | null;
|
|
3326
|
+
biddingDelayInMinutes: number | null;
|
|
3327
|
+
specialisedProfile: string | null;
|
|
2900
3328
|
jobId: string;
|
|
2901
3329
|
suitabilityRating: number | null;
|
|
2902
3330
|
suitabilityReason: string | null;
|
|
@@ -2906,20 +3334,39 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
2906
3334
|
question: string;
|
|
2907
3335
|
}[] | null;
|
|
2908
3336
|
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;
|
|
3337
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
2910
3338
|
biddingAmount: number | null;
|
|
2911
3339
|
boosted: boolean | null;
|
|
2912
3340
|
boostingAmount: number | null;
|
|
2913
3341
|
boostedForPlace: number | null;
|
|
2914
|
-
specialisedProfile: string | null;
|
|
2915
3342
|
biddedAt: number | null;
|
|
2916
3343
|
biddingTaskScheduled: boolean | null;
|
|
2917
3344
|
scheduledBiddingTime: number | null;
|
|
2918
|
-
|
|
3345
|
+
checkFeedbackStatusCreatedAt: number | null;
|
|
3346
|
+
biddingScheduledAt: number | null;
|
|
2919
3347
|
feedbackCheckTaskId: string | null;
|
|
2920
3348
|
bidDecision: "rejected" | "proceeded" | null;
|
|
2921
3349
|
rejectedFeedback: string | null;
|
|
2922
3350
|
applicationId: string | null;
|
|
3351
|
+
leadBiddingConfig: {
|
|
3352
|
+
appliedFromQueue: boolean | null;
|
|
3353
|
+
biddingDelayInMinutes: number | null;
|
|
3354
|
+
bidWithWarning: "bid" | "skip";
|
|
3355
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
3356
|
+
biddingHourlyRatePercentage: number | null;
|
|
3357
|
+
biddingFixedHourlyRate: number | null;
|
|
3358
|
+
boostingEnabled: boolean | null;
|
|
3359
|
+
boostDownToNthPlace: number | null;
|
|
3360
|
+
connectsAbovePrevious: number | null;
|
|
3361
|
+
maximumBoost: number | null;
|
|
3362
|
+
minBoost: number | null;
|
|
3363
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
3364
|
+
bidConfig: {
|
|
3365
|
+
contractorName: string | null;
|
|
3366
|
+
agencyName: string | null;
|
|
3367
|
+
specialisedProfile: string | null;
|
|
3368
|
+
};
|
|
3369
|
+
} | null;
|
|
2923
3370
|
activity?: Partial<Record<"4h" | "24h", {
|
|
2924
3371
|
updatedAt: number | null;
|
|
2925
3372
|
unansweredInvites: number | null;
|
|
@@ -3154,6 +3601,8 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
3154
3601
|
} | null;
|
|
3155
3602
|
activityUpdates: 2 | 1 | 3 | null;
|
|
3156
3603
|
scrapedAt: number | null;
|
|
3604
|
+
biddingDelayInMinutes: number | null;
|
|
3605
|
+
specialisedProfile: string | null;
|
|
3157
3606
|
jobId: string;
|
|
3158
3607
|
suitabilityRating: number | null;
|
|
3159
3608
|
suitabilityReason: string | null;
|
|
@@ -3163,20 +3612,39 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
3163
3612
|
question: string;
|
|
3164
3613
|
}[] | null;
|
|
3165
3614
|
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;
|
|
3615
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
3167
3616
|
biddingAmount: number | null;
|
|
3168
3617
|
boosted: boolean | null;
|
|
3169
3618
|
boostingAmount: number | null;
|
|
3170
3619
|
boostedForPlace: number | null;
|
|
3171
|
-
specialisedProfile: string | null;
|
|
3172
3620
|
biddedAt: number | null;
|
|
3173
3621
|
biddingTaskScheduled: boolean | null;
|
|
3174
3622
|
scheduledBiddingTime: number | null;
|
|
3175
|
-
|
|
3623
|
+
checkFeedbackStatusCreatedAt: number | null;
|
|
3624
|
+
biddingScheduledAt: number | null;
|
|
3176
3625
|
feedbackCheckTaskId: string | null;
|
|
3177
3626
|
bidDecision: "rejected" | "proceeded" | null;
|
|
3178
3627
|
rejectedFeedback: string | null;
|
|
3179
3628
|
applicationId: string | null;
|
|
3629
|
+
leadBiddingConfig: {
|
|
3630
|
+
appliedFromQueue: boolean | null;
|
|
3631
|
+
biddingDelayInMinutes: number | null;
|
|
3632
|
+
bidWithWarning: "bid" | "skip";
|
|
3633
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
3634
|
+
biddingHourlyRatePercentage: number | null;
|
|
3635
|
+
biddingFixedHourlyRate: number | null;
|
|
3636
|
+
boostingEnabled: boolean | null;
|
|
3637
|
+
boostDownToNthPlace: number | null;
|
|
3638
|
+
connectsAbovePrevious: number | null;
|
|
3639
|
+
maximumBoost: number | null;
|
|
3640
|
+
minBoost: number | null;
|
|
3641
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
3642
|
+
bidConfig: {
|
|
3643
|
+
contractorName: string | null;
|
|
3644
|
+
agencyName: string | null;
|
|
3645
|
+
specialisedProfile: string | null;
|
|
3646
|
+
};
|
|
3647
|
+
} | null;
|
|
3180
3648
|
activity?: Partial<Record<"4h" | "24h", {
|
|
3181
3649
|
updatedAt: number | null;
|
|
3182
3650
|
unansweredInvites: number | null;
|
|
@@ -3544,7 +4012,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
3544
4012
|
question: string;
|
|
3545
4013
|
}>, "many">>;
|
|
3546
4014
|
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"]>>;
|
|
4015
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "biddingFailed", "won"]>>;
|
|
3548
4016
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
3549
4017
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
3550
4018
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -3555,11 +4023,76 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
3555
4023
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
3556
4024
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
3557
4025
|
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
4026
|
+
checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
|
|
4027
|
+
biddingScheduledAt: z.ZodNullable<z.ZodNumber>;
|
|
3558
4028
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
3559
4029
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
3560
4030
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
3561
4031
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
3562
4032
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
4033
|
+
leadBiddingConfig: z.ZodNullable<z.ZodObject<{
|
|
4034
|
+
appliedFromQueue: z.ZodNullable<z.ZodBoolean>;
|
|
4035
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
4036
|
+
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
4037
|
+
biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
|
|
4038
|
+
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
4039
|
+
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
4040
|
+
boostingEnabled: z.ZodNullable<z.ZodBoolean>;
|
|
4041
|
+
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
4042
|
+
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
4043
|
+
maximumBoost: z.ZodNullable<z.ZodNumber>;
|
|
4044
|
+
minBoost: z.ZodNullable<z.ZodNumber>;
|
|
4045
|
+
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
4046
|
+
bidConfig: z.ZodObject<{
|
|
4047
|
+
agencyName: z.ZodNullable<z.ZodString>;
|
|
4048
|
+
contractorName: z.ZodNullable<z.ZodString>;
|
|
4049
|
+
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
4050
|
+
}, "strip", z.ZodTypeAny, {
|
|
4051
|
+
contractorName: string | null;
|
|
4052
|
+
agencyName: string | null;
|
|
4053
|
+
specialisedProfile: string | null;
|
|
4054
|
+
}, {
|
|
4055
|
+
contractorName: string | null;
|
|
4056
|
+
agencyName: string | null;
|
|
4057
|
+
specialisedProfile: string | null;
|
|
4058
|
+
}>;
|
|
4059
|
+
}, "strip", z.ZodTypeAny, {
|
|
4060
|
+
appliedFromQueue: boolean | null;
|
|
4061
|
+
biddingDelayInMinutes: number | null;
|
|
4062
|
+
bidWithWarning: "bid" | "skip";
|
|
4063
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
4064
|
+
biddingHourlyRatePercentage: number | null;
|
|
4065
|
+
biddingFixedHourlyRate: number | null;
|
|
4066
|
+
boostingEnabled: boolean | null;
|
|
4067
|
+
boostDownToNthPlace: number | null;
|
|
4068
|
+
connectsAbovePrevious: number | null;
|
|
4069
|
+
maximumBoost: number | null;
|
|
4070
|
+
minBoost: number | null;
|
|
4071
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
4072
|
+
bidConfig: {
|
|
4073
|
+
contractorName: string | null;
|
|
4074
|
+
agencyName: string | null;
|
|
4075
|
+
specialisedProfile: string | null;
|
|
4076
|
+
};
|
|
4077
|
+
}, {
|
|
4078
|
+
appliedFromQueue: boolean | null;
|
|
4079
|
+
biddingDelayInMinutes: number | null;
|
|
4080
|
+
bidWithWarning: "bid" | "skip";
|
|
4081
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
4082
|
+
biddingHourlyRatePercentage: number | null;
|
|
4083
|
+
biddingFixedHourlyRate: number | null;
|
|
4084
|
+
boostingEnabled: boolean | null;
|
|
4085
|
+
boostDownToNthPlace: number | null;
|
|
4086
|
+
connectsAbovePrevious: number | null;
|
|
4087
|
+
maximumBoost: number | null;
|
|
4088
|
+
minBoost: number | null;
|
|
4089
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
4090
|
+
bidConfig: {
|
|
4091
|
+
contractorName: string | null;
|
|
4092
|
+
agencyName: string | null;
|
|
4093
|
+
specialisedProfile: string | null;
|
|
4094
|
+
};
|
|
4095
|
+
}>>;
|
|
3563
4096
|
}>, "processed">, "strip", z.ZodTypeAny, {
|
|
3564
4097
|
id: string | null;
|
|
3565
4098
|
title: string | null;
|
|
@@ -3655,6 +4188,8 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
3655
4188
|
} | null;
|
|
3656
4189
|
activityUpdates: 2 | 1 | 3 | null;
|
|
3657
4190
|
scrapedAt: number | null;
|
|
4191
|
+
biddingDelayInMinutes: number | null;
|
|
4192
|
+
specialisedProfile: string | null;
|
|
3658
4193
|
jobId: string;
|
|
3659
4194
|
suitabilityRating: number | null;
|
|
3660
4195
|
suitabilityReason: string | null;
|
|
@@ -3664,20 +4199,39 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
3664
4199
|
question: string;
|
|
3665
4200
|
}[] | null;
|
|
3666
4201
|
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;
|
|
4202
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
3668
4203
|
biddingAmount: number | null;
|
|
3669
4204
|
boosted: boolean | null;
|
|
3670
4205
|
boostingAmount: number | null;
|
|
3671
4206
|
boostedForPlace: number | null;
|
|
3672
|
-
specialisedProfile: string | null;
|
|
3673
4207
|
biddedAt: number | null;
|
|
3674
4208
|
biddingTaskScheduled: boolean | null;
|
|
3675
4209
|
scheduledBiddingTime: number | null;
|
|
3676
|
-
|
|
4210
|
+
checkFeedbackStatusCreatedAt: number | null;
|
|
4211
|
+
biddingScheduledAt: number | null;
|
|
3677
4212
|
feedbackCheckTaskId: string | null;
|
|
3678
4213
|
bidDecision: "rejected" | "proceeded" | null;
|
|
3679
4214
|
rejectedFeedback: string | null;
|
|
3680
4215
|
applicationId: string | null;
|
|
4216
|
+
leadBiddingConfig: {
|
|
4217
|
+
appliedFromQueue: boolean | null;
|
|
4218
|
+
biddingDelayInMinutes: number | null;
|
|
4219
|
+
bidWithWarning: "bid" | "skip";
|
|
4220
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
4221
|
+
biddingHourlyRatePercentage: number | null;
|
|
4222
|
+
biddingFixedHourlyRate: number | null;
|
|
4223
|
+
boostingEnabled: boolean | null;
|
|
4224
|
+
boostDownToNthPlace: number | null;
|
|
4225
|
+
connectsAbovePrevious: number | null;
|
|
4226
|
+
maximumBoost: number | null;
|
|
4227
|
+
minBoost: number | null;
|
|
4228
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
4229
|
+
bidConfig: {
|
|
4230
|
+
contractorName: string | null;
|
|
4231
|
+
agencyName: string | null;
|
|
4232
|
+
specialisedProfile: string | null;
|
|
4233
|
+
};
|
|
4234
|
+
} | null;
|
|
3681
4235
|
activity?: Partial<Record<"4h" | "24h", {
|
|
3682
4236
|
updatedAt: number | null;
|
|
3683
4237
|
unansweredInvites: number | null;
|
|
@@ -3795,6 +4349,8 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
3795
4349
|
} | null;
|
|
3796
4350
|
activityUpdates: 2 | 1 | 3 | null;
|
|
3797
4351
|
scrapedAt: number | null;
|
|
4352
|
+
biddingDelayInMinutes: number | null;
|
|
4353
|
+
specialisedProfile: string | null;
|
|
3798
4354
|
jobId: string;
|
|
3799
4355
|
suitabilityRating: number | null;
|
|
3800
4356
|
suitabilityReason: string | null;
|
|
@@ -3804,20 +4360,39 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
3804
4360
|
question: string;
|
|
3805
4361
|
}[] | null;
|
|
3806
4362
|
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;
|
|
4363
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
3808
4364
|
biddingAmount: number | null;
|
|
3809
4365
|
boosted: boolean | null;
|
|
3810
4366
|
boostingAmount: number | null;
|
|
3811
4367
|
boostedForPlace: number | null;
|
|
3812
|
-
specialisedProfile: string | null;
|
|
3813
4368
|
biddedAt: number | null;
|
|
3814
4369
|
biddingTaskScheduled: boolean | null;
|
|
3815
4370
|
scheduledBiddingTime: number | null;
|
|
3816
|
-
|
|
4371
|
+
checkFeedbackStatusCreatedAt: number | null;
|
|
4372
|
+
biddingScheduledAt: number | null;
|
|
3817
4373
|
feedbackCheckTaskId: string | null;
|
|
3818
4374
|
bidDecision: "rejected" | "proceeded" | null;
|
|
3819
4375
|
rejectedFeedback: string | null;
|
|
3820
4376
|
applicationId: string | null;
|
|
4377
|
+
leadBiddingConfig: {
|
|
4378
|
+
appliedFromQueue: boolean | null;
|
|
4379
|
+
biddingDelayInMinutes: number | null;
|
|
4380
|
+
bidWithWarning: "bid" | "skip";
|
|
4381
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
4382
|
+
biddingHourlyRatePercentage: number | null;
|
|
4383
|
+
biddingFixedHourlyRate: number | null;
|
|
4384
|
+
boostingEnabled: boolean | null;
|
|
4385
|
+
boostDownToNthPlace: number | null;
|
|
4386
|
+
connectsAbovePrevious: number | null;
|
|
4387
|
+
maximumBoost: number | null;
|
|
4388
|
+
minBoost: number | null;
|
|
4389
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
4390
|
+
bidConfig: {
|
|
4391
|
+
contractorName: string | null;
|
|
4392
|
+
agencyName: string | null;
|
|
4393
|
+
specialisedProfile: string | null;
|
|
4394
|
+
};
|
|
4395
|
+
} | null;
|
|
3821
4396
|
activity?: Partial<Record<"4h" | "24h", {
|
|
3822
4397
|
updatedAt: number | null;
|
|
3823
4398
|
unansweredInvites: number | null;
|
|
@@ -3950,6 +4525,8 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
3950
4525
|
} | null;
|
|
3951
4526
|
activityUpdates: 2 | 1 | 3 | null;
|
|
3952
4527
|
scrapedAt: number | null;
|
|
4528
|
+
biddingDelayInMinutes: number | null;
|
|
4529
|
+
specialisedProfile: string | null;
|
|
3953
4530
|
jobId: string;
|
|
3954
4531
|
suitabilityRating: number | null;
|
|
3955
4532
|
suitabilityReason: string | null;
|
|
@@ -3959,20 +4536,39 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
3959
4536
|
question: string;
|
|
3960
4537
|
}[] | null;
|
|
3961
4538
|
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;
|
|
4539
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
3963
4540
|
biddingAmount: number | null;
|
|
3964
4541
|
boosted: boolean | null;
|
|
3965
4542
|
boostingAmount: number | null;
|
|
3966
4543
|
boostedForPlace: number | null;
|
|
3967
|
-
specialisedProfile: string | null;
|
|
3968
4544
|
biddedAt: number | null;
|
|
3969
4545
|
biddingTaskScheduled: boolean | null;
|
|
3970
4546
|
scheduledBiddingTime: number | null;
|
|
3971
|
-
|
|
4547
|
+
checkFeedbackStatusCreatedAt: number | null;
|
|
4548
|
+
biddingScheduledAt: number | null;
|
|
3972
4549
|
feedbackCheckTaskId: string | null;
|
|
3973
4550
|
bidDecision: "rejected" | "proceeded" | null;
|
|
3974
4551
|
rejectedFeedback: string | null;
|
|
3975
4552
|
applicationId: string | null;
|
|
4553
|
+
leadBiddingConfig: {
|
|
4554
|
+
appliedFromQueue: boolean | null;
|
|
4555
|
+
biddingDelayInMinutes: number | null;
|
|
4556
|
+
bidWithWarning: "bid" | "skip";
|
|
4557
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
4558
|
+
biddingHourlyRatePercentage: number | null;
|
|
4559
|
+
biddingFixedHourlyRate: number | null;
|
|
4560
|
+
boostingEnabled: boolean | null;
|
|
4561
|
+
boostDownToNthPlace: number | null;
|
|
4562
|
+
connectsAbovePrevious: number | null;
|
|
4563
|
+
maximumBoost: number | null;
|
|
4564
|
+
minBoost: number | null;
|
|
4565
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
4566
|
+
bidConfig: {
|
|
4567
|
+
contractorName: string | null;
|
|
4568
|
+
agencyName: string | null;
|
|
4569
|
+
specialisedProfile: string | null;
|
|
4570
|
+
};
|
|
4571
|
+
} | null;
|
|
3976
4572
|
activity?: Partial<Record<"4h" | "24h", {
|
|
3977
4573
|
updatedAt: number | null;
|
|
3978
4574
|
unansweredInvites: number | null;
|
|
@@ -4097,6 +4693,8 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
4097
4693
|
} | null;
|
|
4098
4694
|
activityUpdates: 2 | 1 | 3 | null;
|
|
4099
4695
|
scrapedAt: number | null;
|
|
4696
|
+
biddingDelayInMinutes: number | null;
|
|
4697
|
+
specialisedProfile: string | null;
|
|
4100
4698
|
jobId: string;
|
|
4101
4699
|
suitabilityRating: number | null;
|
|
4102
4700
|
suitabilityReason: string | null;
|
|
@@ -4106,20 +4704,39 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
4106
4704
|
question: string;
|
|
4107
4705
|
}[] | null;
|
|
4108
4706
|
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;
|
|
4707
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
4110
4708
|
biddingAmount: number | null;
|
|
4111
4709
|
boosted: boolean | null;
|
|
4112
4710
|
boostingAmount: number | null;
|
|
4113
4711
|
boostedForPlace: number | null;
|
|
4114
|
-
specialisedProfile: string | null;
|
|
4115
4712
|
biddedAt: number | null;
|
|
4116
4713
|
biddingTaskScheduled: boolean | null;
|
|
4117
4714
|
scheduledBiddingTime: number | null;
|
|
4118
|
-
|
|
4715
|
+
checkFeedbackStatusCreatedAt: number | null;
|
|
4716
|
+
biddingScheduledAt: number | null;
|
|
4119
4717
|
feedbackCheckTaskId: string | null;
|
|
4120
4718
|
bidDecision: "rejected" | "proceeded" | null;
|
|
4121
4719
|
rejectedFeedback: string | null;
|
|
4122
4720
|
applicationId: string | null;
|
|
4721
|
+
leadBiddingConfig: {
|
|
4722
|
+
appliedFromQueue: boolean | null;
|
|
4723
|
+
biddingDelayInMinutes: number | null;
|
|
4724
|
+
bidWithWarning: "bid" | "skip";
|
|
4725
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
4726
|
+
biddingHourlyRatePercentage: number | null;
|
|
4727
|
+
biddingFixedHourlyRate: number | null;
|
|
4728
|
+
boostingEnabled: boolean | null;
|
|
4729
|
+
boostDownToNthPlace: number | null;
|
|
4730
|
+
connectsAbovePrevious: number | null;
|
|
4731
|
+
maximumBoost: number | null;
|
|
4732
|
+
minBoost: number | null;
|
|
4733
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
4734
|
+
bidConfig: {
|
|
4735
|
+
contractorName: string | null;
|
|
4736
|
+
agencyName: string | null;
|
|
4737
|
+
specialisedProfile: string | null;
|
|
4738
|
+
};
|
|
4739
|
+
} | null;
|
|
4123
4740
|
activity?: Partial<Record<"4h" | "24h", {
|
|
4124
4741
|
updatedAt: number | null;
|
|
4125
4742
|
unansweredInvites: number | null;
|
|
@@ -4168,5 +4785,6 @@ export type FindLeadsResponse = z.infer<typeof findLeadsResponseSchema>;
|
|
|
4168
4785
|
export type GetCampaignLeadsRequestQuery = z.infer<typeof getCampaignLeadsRequestQuerySchema>;
|
|
4169
4786
|
export type GenerateLeadCountsRequest = z.infer<typeof generateLeadCountsRequestSchema>;
|
|
4170
4787
|
export type GetCampaignLeadsResponse = z.infer<typeof getCampaignLeadsResponseSchema>;
|
|
4788
|
+
export type LeadBiddingConfig = z.infer<typeof leadBiddingConfigSchema>;
|
|
4171
4789
|
export type GetCampaignLeadsStatus = z.infer<typeof getCampaignLeadsStatusEnum>;
|
|
4172
4790
|
export * from './lead-status';
|