lancer-shared 1.2.260 → 1.2.262
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.cjs.js +141 -35
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +138 -36
- package/dist/bundle.esm.js.map +1 -1
- package/dist/constants/routes.d.ts +1 -0
- package/dist/schemas/agent/index.d.ts +165 -18
- package/dist/schemas/agent/proposal.d.ts +1 -1
- package/dist/schemas/bidder/bid.d.ts +1680 -304
- package/dist/schemas/campaign/campaign-analytics.d.ts +614 -38
- package/dist/schemas/campaign/campaign-search.d.ts +3 -5
- package/dist/schemas/campaign/campaign.d.ts +127 -127
- package/dist/schemas/lead/index.d.ts +675 -72
- package/dist/schemas/lead/lead-status.d.ts +7 -7
- package/dist/schemas/logger/log-event.d.ts +31 -17
- package/dist/schemas/organization/index.d.ts +1 -0
- package/dist/schemas/organization/organization-leads.d.ts +23 -0
- package/dist/schemas/scraper/scrape-payload.d.ts +233 -89
- package/package.json +1 -1
|
@@ -169,6 +169,7 @@ export declare const ROUTES: {
|
|
|
169
169
|
readonly SEARCH: (organizationId: string, campaignId: string) => string;
|
|
170
170
|
readonly GENERATE_COUNTS: (organizationId: string, campaignId: string) => string;
|
|
171
171
|
readonly REJECTED: (organizationId: string, campaignId: string) => string;
|
|
172
|
+
readonly SCHEDULE_BIDDING: (organizationId: string, campaignId: string, leadId: string) => string;
|
|
172
173
|
};
|
|
173
174
|
readonly ANALYTICS: (organizationId: string, campaignId: string) => string;
|
|
174
175
|
readonly TOTAL_STATS: (organizationId: string, campaignId: string) => string;
|
|
@@ -4,6 +4,7 @@ export declare const agentGenerateProposalRequestSchema: z.ZodObject<{
|
|
|
4
4
|
userId: z.ZodNullable<z.ZodString>;
|
|
5
5
|
organizationId: z.ZodString;
|
|
6
6
|
campaignId: z.ZodString;
|
|
7
|
+
coverLetterTemplateId: z.ZodOptional<z.ZodString>;
|
|
7
8
|
job: z.ZodObject<{
|
|
8
9
|
leadId: z.ZodString;
|
|
9
10
|
jobId: z.ZodString;
|
|
@@ -49,6 +50,7 @@ export declare const agentGenerateProposalRequestSchema: z.ZodObject<{
|
|
|
49
50
|
jobId: string;
|
|
50
51
|
clientCountry: string;
|
|
51
52
|
};
|
|
53
|
+
coverLetterTemplateId?: string | undefined;
|
|
52
54
|
isOverallHighestPriorityCampaign?: boolean | undefined;
|
|
53
55
|
applyToLeads?: {
|
|
54
56
|
campaignId: string;
|
|
@@ -66,6 +68,7 @@ export declare const agentGenerateProposalRequestSchema: z.ZodObject<{
|
|
|
66
68
|
jobId: string;
|
|
67
69
|
clientCountry: string;
|
|
68
70
|
};
|
|
71
|
+
coverLetterTemplateId?: string | undefined;
|
|
69
72
|
isOverallHighestPriorityCampaign?: boolean | undefined;
|
|
70
73
|
applyToLeads?: {
|
|
71
74
|
campaignId: string;
|
|
@@ -419,7 +422,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
419
422
|
question: string;
|
|
420
423
|
}>, "many">>;
|
|
421
424
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
422
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "won"]>>;
|
|
425
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>>;
|
|
423
426
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
424
427
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
425
428
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -429,12 +432,76 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
429
432
|
biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
|
|
430
433
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
431
434
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
435
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
436
|
+
checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
|
|
432
437
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
433
438
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
434
439
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
435
440
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
436
441
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
437
|
-
|
|
442
|
+
leadBiddingConfig: z.ZodNullable<z.ZodObject<{
|
|
443
|
+
appliedFromQueue: z.ZodNullable<z.ZodBoolean>;
|
|
444
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
445
|
+
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
446
|
+
biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
|
|
447
|
+
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
448
|
+
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
449
|
+
boostingEnabled: z.ZodNullable<z.ZodBoolean>;
|
|
450
|
+
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
451
|
+
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
452
|
+
maximumBoost: z.ZodNullable<z.ZodNumber>;
|
|
453
|
+
minBoost: z.ZodNullable<z.ZodNumber>;
|
|
454
|
+
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
455
|
+
bidConfig: z.ZodObject<{
|
|
456
|
+
agencyName: z.ZodNullable<z.ZodString>;
|
|
457
|
+
contractorName: z.ZodNullable<z.ZodString>;
|
|
458
|
+
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
459
|
+
}, "strip", z.ZodTypeAny, {
|
|
460
|
+
contractorName: string | null;
|
|
461
|
+
agencyName: string | null;
|
|
462
|
+
specialisedProfile: string | null;
|
|
463
|
+
}, {
|
|
464
|
+
contractorName: string | null;
|
|
465
|
+
agencyName: string | null;
|
|
466
|
+
specialisedProfile: string | null;
|
|
467
|
+
}>;
|
|
468
|
+
}, "strip", z.ZodTypeAny, {
|
|
469
|
+
appliedFromQueue: boolean | null;
|
|
470
|
+
biddingDelayInMinutes: number | null;
|
|
471
|
+
bidWithWarning: "bid" | "skip";
|
|
472
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
473
|
+
biddingHourlyRatePercentage: number | null;
|
|
474
|
+
biddingFixedHourlyRate: number | null;
|
|
475
|
+
boostingEnabled: boolean | null;
|
|
476
|
+
boostDownToNthPlace: number | null;
|
|
477
|
+
connectsAbovePrevious: number | null;
|
|
478
|
+
maximumBoost: number | null;
|
|
479
|
+
minBoost: number | null;
|
|
480
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
481
|
+
bidConfig: {
|
|
482
|
+
contractorName: string | null;
|
|
483
|
+
agencyName: string | null;
|
|
484
|
+
specialisedProfile: string | null;
|
|
485
|
+
};
|
|
486
|
+
}, {
|
|
487
|
+
appliedFromQueue: boolean | null;
|
|
488
|
+
biddingDelayInMinutes: number | null;
|
|
489
|
+
bidWithWarning: "bid" | "skip";
|
|
490
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
491
|
+
biddingHourlyRatePercentage: number | null;
|
|
492
|
+
biddingFixedHourlyRate: number | null;
|
|
493
|
+
boostingEnabled: boolean | null;
|
|
494
|
+
boostDownToNthPlace: number | null;
|
|
495
|
+
connectsAbovePrevious: number | null;
|
|
496
|
+
maximumBoost: number | null;
|
|
497
|
+
minBoost: number | null;
|
|
498
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
499
|
+
bidConfig: {
|
|
500
|
+
contractorName: string | null;
|
|
501
|
+
agencyName: string | null;
|
|
502
|
+
specialisedProfile: string | null;
|
|
503
|
+
};
|
|
504
|
+
}>>;
|
|
438
505
|
}>, "processed">, "strip", z.ZodTypeAny, {
|
|
439
506
|
id: string | null;
|
|
440
507
|
title: string | null;
|
|
@@ -454,6 +521,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
454
521
|
datetime: number | null;
|
|
455
522
|
campaignId: string;
|
|
456
523
|
organizationId: string;
|
|
524
|
+
inQueue: boolean | null;
|
|
457
525
|
createdAt: number | null;
|
|
458
526
|
updatedAt: number | null;
|
|
459
527
|
isFeatured: boolean | null;
|
|
@@ -529,6 +597,8 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
529
597
|
} | null;
|
|
530
598
|
activityUpdates: 2 | 1 | 3 | null;
|
|
531
599
|
scrapedAt: number | null;
|
|
600
|
+
biddingDelayInMinutes: number | null;
|
|
601
|
+
specialisedProfile: string | null;
|
|
532
602
|
jobId: string;
|
|
533
603
|
suitabilityRating: number | null;
|
|
534
604
|
suitabilityReason: string | null;
|
|
@@ -538,20 +608,38 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
538
608
|
question: string;
|
|
539
609
|
}[] | null;
|
|
540
610
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
541
|
-
leadStatus: "rejected" | "
|
|
611
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
542
612
|
biddingAmount: number | null;
|
|
543
613
|
boosted: boolean | null;
|
|
544
614
|
boostingAmount: number | null;
|
|
545
615
|
boostedForPlace: number | null;
|
|
546
|
-
specialisedProfile: string | null;
|
|
547
616
|
biddedAt: number | null;
|
|
548
617
|
biddingTaskScheduled: boolean | null;
|
|
549
618
|
scheduledBiddingTime: number | null;
|
|
550
|
-
|
|
619
|
+
checkFeedbackStatusCreatedAt: number | null;
|
|
551
620
|
feedbackCheckTaskId: string | null;
|
|
552
621
|
bidDecision: "rejected" | "proceeded" | null;
|
|
553
622
|
rejectedFeedback: string | null;
|
|
554
623
|
applicationId: string | null;
|
|
624
|
+
leadBiddingConfig: {
|
|
625
|
+
appliedFromQueue: boolean | null;
|
|
626
|
+
biddingDelayInMinutes: number | null;
|
|
627
|
+
bidWithWarning: "bid" | "skip";
|
|
628
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
629
|
+
biddingHourlyRatePercentage: number | null;
|
|
630
|
+
biddingFixedHourlyRate: number | null;
|
|
631
|
+
boostingEnabled: boolean | null;
|
|
632
|
+
boostDownToNthPlace: number | null;
|
|
633
|
+
connectsAbovePrevious: number | null;
|
|
634
|
+
maximumBoost: number | null;
|
|
635
|
+
minBoost: number | null;
|
|
636
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
637
|
+
bidConfig: {
|
|
638
|
+
contractorName: string | null;
|
|
639
|
+
agencyName: string | null;
|
|
640
|
+
specialisedProfile: string | null;
|
|
641
|
+
};
|
|
642
|
+
} | null;
|
|
555
643
|
activity?: Partial<Record<"4h" | "24h", {
|
|
556
644
|
updatedAt: number | null;
|
|
557
645
|
unansweredInvites: number | null;
|
|
@@ -574,7 +662,6 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
574
662
|
} | null | undefined;
|
|
575
663
|
proposalId?: string | undefined;
|
|
576
664
|
wonAmount?: number | undefined;
|
|
577
|
-
campaignName?: string | undefined;
|
|
578
665
|
}, {
|
|
579
666
|
id: string | null;
|
|
580
667
|
title: string | null;
|
|
@@ -594,6 +681,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
594
681
|
datetime: number | null;
|
|
595
682
|
campaignId: string;
|
|
596
683
|
organizationId: string;
|
|
684
|
+
inQueue: boolean | null;
|
|
597
685
|
createdAt: number | null;
|
|
598
686
|
updatedAt: number | null;
|
|
599
687
|
isFeatured: boolean | null;
|
|
@@ -669,6 +757,8 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
669
757
|
} | null;
|
|
670
758
|
activityUpdates: 2 | 1 | 3 | null;
|
|
671
759
|
scrapedAt: number | null;
|
|
760
|
+
biddingDelayInMinutes: number | null;
|
|
761
|
+
specialisedProfile: string | null;
|
|
672
762
|
jobId: string;
|
|
673
763
|
suitabilityRating: number | null;
|
|
674
764
|
suitabilityReason: string | null;
|
|
@@ -678,20 +768,38 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
678
768
|
question: string;
|
|
679
769
|
}[] | null;
|
|
680
770
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
681
|
-
leadStatus: "rejected" | "
|
|
771
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
682
772
|
biddingAmount: number | null;
|
|
683
773
|
boosted: boolean | null;
|
|
684
774
|
boostingAmount: number | null;
|
|
685
775
|
boostedForPlace: number | null;
|
|
686
|
-
specialisedProfile: string | null;
|
|
687
776
|
biddedAt: number | null;
|
|
688
777
|
biddingTaskScheduled: boolean | null;
|
|
689
778
|
scheduledBiddingTime: number | null;
|
|
690
|
-
|
|
779
|
+
checkFeedbackStatusCreatedAt: number | null;
|
|
691
780
|
feedbackCheckTaskId: string | null;
|
|
692
781
|
bidDecision: "rejected" | "proceeded" | null;
|
|
693
782
|
rejectedFeedback: string | null;
|
|
694
783
|
applicationId: string | null;
|
|
784
|
+
leadBiddingConfig: {
|
|
785
|
+
appliedFromQueue: boolean | null;
|
|
786
|
+
biddingDelayInMinutes: number | null;
|
|
787
|
+
bidWithWarning: "bid" | "skip";
|
|
788
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
789
|
+
biddingHourlyRatePercentage: number | null;
|
|
790
|
+
biddingFixedHourlyRate: number | null;
|
|
791
|
+
boostingEnabled: boolean | null;
|
|
792
|
+
boostDownToNthPlace: number | null;
|
|
793
|
+
connectsAbovePrevious: number | null;
|
|
794
|
+
maximumBoost: number | null;
|
|
795
|
+
minBoost: number | null;
|
|
796
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
797
|
+
bidConfig: {
|
|
798
|
+
contractorName: string | null;
|
|
799
|
+
agencyName: string | null;
|
|
800
|
+
specialisedProfile: string | null;
|
|
801
|
+
};
|
|
802
|
+
} | null;
|
|
695
803
|
activity?: Partial<Record<"4h" | "24h", {
|
|
696
804
|
updatedAt: number | null;
|
|
697
805
|
unansweredInvites: number | null;
|
|
@@ -714,7 +822,6 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
714
822
|
} | null | undefined;
|
|
715
823
|
proposalId?: string | undefined;
|
|
716
824
|
wonAmount?: number | undefined;
|
|
717
|
-
campaignName?: string | undefined;
|
|
718
825
|
}>;
|
|
719
826
|
isOverallHighestPriorityCampaign: z.ZodOptional<z.ZodBoolean>;
|
|
720
827
|
applyToLeads: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -750,6 +857,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
750
857
|
datetime: number | null;
|
|
751
858
|
campaignId: string;
|
|
752
859
|
organizationId: string;
|
|
860
|
+
inQueue: boolean | null;
|
|
753
861
|
createdAt: number | null;
|
|
754
862
|
updatedAt: number | null;
|
|
755
863
|
isFeatured: boolean | null;
|
|
@@ -825,6 +933,8 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
825
933
|
} | null;
|
|
826
934
|
activityUpdates: 2 | 1 | 3 | null;
|
|
827
935
|
scrapedAt: number | null;
|
|
936
|
+
biddingDelayInMinutes: number | null;
|
|
937
|
+
specialisedProfile: string | null;
|
|
828
938
|
jobId: string;
|
|
829
939
|
suitabilityRating: number | null;
|
|
830
940
|
suitabilityReason: string | null;
|
|
@@ -834,20 +944,38 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
834
944
|
question: string;
|
|
835
945
|
}[] | null;
|
|
836
946
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
837
|
-
leadStatus: "rejected" | "
|
|
947
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
838
948
|
biddingAmount: number | null;
|
|
839
949
|
boosted: boolean | null;
|
|
840
950
|
boostingAmount: number | null;
|
|
841
951
|
boostedForPlace: number | null;
|
|
842
|
-
specialisedProfile: string | null;
|
|
843
952
|
biddedAt: number | null;
|
|
844
953
|
biddingTaskScheduled: boolean | null;
|
|
845
954
|
scheduledBiddingTime: number | null;
|
|
846
|
-
|
|
955
|
+
checkFeedbackStatusCreatedAt: number | null;
|
|
847
956
|
feedbackCheckTaskId: string | null;
|
|
848
957
|
bidDecision: "rejected" | "proceeded" | null;
|
|
849
958
|
rejectedFeedback: string | null;
|
|
850
959
|
applicationId: string | null;
|
|
960
|
+
leadBiddingConfig: {
|
|
961
|
+
appliedFromQueue: boolean | null;
|
|
962
|
+
biddingDelayInMinutes: number | null;
|
|
963
|
+
bidWithWarning: "bid" | "skip";
|
|
964
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
965
|
+
biddingHourlyRatePercentage: number | null;
|
|
966
|
+
biddingFixedHourlyRate: number | null;
|
|
967
|
+
boostingEnabled: boolean | null;
|
|
968
|
+
boostDownToNthPlace: number | null;
|
|
969
|
+
connectsAbovePrevious: number | null;
|
|
970
|
+
maximumBoost: number | null;
|
|
971
|
+
minBoost: number | null;
|
|
972
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
973
|
+
bidConfig: {
|
|
974
|
+
contractorName: string | null;
|
|
975
|
+
agencyName: string | null;
|
|
976
|
+
specialisedProfile: string | null;
|
|
977
|
+
};
|
|
978
|
+
} | null;
|
|
851
979
|
activity?: Partial<Record<"4h" | "24h", {
|
|
852
980
|
updatedAt: number | null;
|
|
853
981
|
unansweredInvites: number | null;
|
|
@@ -870,7 +998,6 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
870
998
|
} | null | undefined;
|
|
871
999
|
proposalId?: string | undefined;
|
|
872
1000
|
wonAmount?: number | undefined;
|
|
873
|
-
campaignName?: string | undefined;
|
|
874
1001
|
};
|
|
875
1002
|
isOverallHighestPriorityCampaign?: boolean | undefined;
|
|
876
1003
|
applyToLeads?: {
|
|
@@ -900,6 +1027,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
900
1027
|
datetime: number | null;
|
|
901
1028
|
campaignId: string;
|
|
902
1029
|
organizationId: string;
|
|
1030
|
+
inQueue: boolean | null;
|
|
903
1031
|
createdAt: number | null;
|
|
904
1032
|
updatedAt: number | null;
|
|
905
1033
|
isFeatured: boolean | null;
|
|
@@ -975,6 +1103,8 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
975
1103
|
} | null;
|
|
976
1104
|
activityUpdates: 2 | 1 | 3 | null;
|
|
977
1105
|
scrapedAt: number | null;
|
|
1106
|
+
biddingDelayInMinutes: number | null;
|
|
1107
|
+
specialisedProfile: string | null;
|
|
978
1108
|
jobId: string;
|
|
979
1109
|
suitabilityRating: number | null;
|
|
980
1110
|
suitabilityReason: string | null;
|
|
@@ -984,20 +1114,38 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
984
1114
|
question: string;
|
|
985
1115
|
}[] | null;
|
|
986
1116
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
987
|
-
leadStatus: "rejected" | "
|
|
1117
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
988
1118
|
biddingAmount: number | null;
|
|
989
1119
|
boosted: boolean | null;
|
|
990
1120
|
boostingAmount: number | null;
|
|
991
1121
|
boostedForPlace: number | null;
|
|
992
|
-
specialisedProfile: string | null;
|
|
993
1122
|
biddedAt: number | null;
|
|
994
1123
|
biddingTaskScheduled: boolean | null;
|
|
995
1124
|
scheduledBiddingTime: number | null;
|
|
996
|
-
|
|
1125
|
+
checkFeedbackStatusCreatedAt: number | null;
|
|
997
1126
|
feedbackCheckTaskId: string | null;
|
|
998
1127
|
bidDecision: "rejected" | "proceeded" | null;
|
|
999
1128
|
rejectedFeedback: string | null;
|
|
1000
1129
|
applicationId: string | null;
|
|
1130
|
+
leadBiddingConfig: {
|
|
1131
|
+
appliedFromQueue: boolean | null;
|
|
1132
|
+
biddingDelayInMinutes: number | null;
|
|
1133
|
+
bidWithWarning: "bid" | "skip";
|
|
1134
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
1135
|
+
biddingHourlyRatePercentage: number | null;
|
|
1136
|
+
biddingFixedHourlyRate: number | null;
|
|
1137
|
+
boostingEnabled: boolean | null;
|
|
1138
|
+
boostDownToNthPlace: number | null;
|
|
1139
|
+
connectsAbovePrevious: number | null;
|
|
1140
|
+
maximumBoost: number | null;
|
|
1141
|
+
minBoost: number | null;
|
|
1142
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
1143
|
+
bidConfig: {
|
|
1144
|
+
contractorName: string | null;
|
|
1145
|
+
agencyName: string | null;
|
|
1146
|
+
specialisedProfile: string | null;
|
|
1147
|
+
};
|
|
1148
|
+
} | null;
|
|
1001
1149
|
activity?: Partial<Record<"4h" | "24h", {
|
|
1002
1150
|
updatedAt: number | null;
|
|
1003
1151
|
unansweredInvites: number | null;
|
|
@@ -1020,7 +1168,6 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
1020
1168
|
} | null | undefined;
|
|
1021
1169
|
proposalId?: string | undefined;
|
|
1022
1170
|
wonAmount?: number | undefined;
|
|
1023
|
-
campaignName?: string | undefined;
|
|
1024
1171
|
};
|
|
1025
1172
|
isOverallHighestPriorityCampaign?: boolean | undefined;
|
|
1026
1173
|
applyToLeads?: {
|