lancer-shared 1.2.266 → 1.2.267
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 +23 -0
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +21 -1
- package/dist/bundle.esm.js.map +1 -1
- package/dist/schemas/agent/index.d.ts +18 -11
- package/dist/schemas/bidder/bid.d.ts +207 -121
- package/dist/schemas/bidder/exceptions/index.d.ts +3 -1
- package/dist/schemas/bidder/exceptions/job-already-hired.exception.d.ts +5 -0
- package/dist/schemas/campaign/campaign-analytics.d.ts +82 -47
- package/dist/schemas/campaign/campaign-chat-bot.d.ts +11 -11
- package/dist/schemas/campaign/campaign.d.ts +24 -15
- package/dist/schemas/lead/already-hired-action.d.ts +3 -0
- package/dist/schemas/lead/index.d.ts +72 -42
- package/dist/schemas/lead/lead-status.d.ts +7 -7
- package/dist/schemas/logger/log-event.d.ts +5 -5
- package/dist/schemas/scraper/scrape-payload.d.ts +32 -20
- package/package.json +1 -1
|
@@ -423,7 +423,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
423
423
|
question: string;
|
|
424
424
|
}>, "many">>;
|
|
425
425
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
426
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "won"]>>;
|
|
426
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>>;
|
|
427
427
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
428
428
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
429
429
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -454,6 +454,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
454
454
|
maximumBoost: z.ZodNullable<z.ZodNumber>;
|
|
455
455
|
minBoost: z.ZodNullable<z.ZodNumber>;
|
|
456
456
|
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
457
|
+
alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
|
|
457
458
|
bidConfig: z.ZodObject<{
|
|
458
459
|
agencyName: z.ZodNullable<z.ZodString>;
|
|
459
460
|
contractorName: z.ZodNullable<z.ZodString>;
|
|
@@ -470,7 +471,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
470
471
|
}, "strip", z.ZodTypeAny, {
|
|
471
472
|
appliedFromQueue: boolean | null;
|
|
472
473
|
biddingDelayInMinutes: number | null;
|
|
473
|
-
bidWithWarning: "
|
|
474
|
+
bidWithWarning: "skip" | "bid";
|
|
474
475
|
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
475
476
|
biddingHourlyRatePercentage: number | null;
|
|
476
477
|
biddingFixedHourlyRate: number | null;
|
|
@@ -480,6 +481,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
480
481
|
maximumBoost: number | null;
|
|
481
482
|
minBoost: number | null;
|
|
482
483
|
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
484
|
+
alreadyHiredAction: "skip" | "bid";
|
|
483
485
|
bidConfig: {
|
|
484
486
|
contractorName: string | null;
|
|
485
487
|
agencyName: string | null;
|
|
@@ -488,7 +490,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
488
490
|
}, {
|
|
489
491
|
appliedFromQueue: boolean | null;
|
|
490
492
|
biddingDelayInMinutes: number | null;
|
|
491
|
-
bidWithWarning: "
|
|
493
|
+
bidWithWarning: "skip" | "bid";
|
|
492
494
|
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
493
495
|
biddingHourlyRatePercentage: number | null;
|
|
494
496
|
biddingFixedHourlyRate: number | null;
|
|
@@ -498,6 +500,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
498
500
|
maximumBoost: number | null;
|
|
499
501
|
minBoost: number | null;
|
|
500
502
|
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
503
|
+
alreadyHiredAction: "skip" | "bid";
|
|
501
504
|
bidConfig: {
|
|
502
505
|
contractorName: string | null;
|
|
503
506
|
agencyName: string | null;
|
|
@@ -611,7 +614,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
611
614
|
question: string;
|
|
612
615
|
}[] | null;
|
|
613
616
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
614
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won" | null;
|
|
617
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won" | null;
|
|
615
618
|
biddingAmount: number | null;
|
|
616
619
|
boosted: boolean | null;
|
|
617
620
|
boostingAmount: number | null;
|
|
@@ -628,7 +631,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
628
631
|
leadBiddingConfig: {
|
|
629
632
|
appliedFromQueue: boolean | null;
|
|
630
633
|
biddingDelayInMinutes: number | null;
|
|
631
|
-
bidWithWarning: "
|
|
634
|
+
bidWithWarning: "skip" | "bid";
|
|
632
635
|
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
633
636
|
biddingHourlyRatePercentage: number | null;
|
|
634
637
|
biddingFixedHourlyRate: number | null;
|
|
@@ -638,6 +641,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
638
641
|
maximumBoost: number | null;
|
|
639
642
|
minBoost: number | null;
|
|
640
643
|
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
644
|
+
alreadyHiredAction: "skip" | "bid";
|
|
641
645
|
bidConfig: {
|
|
642
646
|
contractorName: string | null;
|
|
643
647
|
agencyName: string | null;
|
|
@@ -773,7 +777,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
773
777
|
question: string;
|
|
774
778
|
}[] | null;
|
|
775
779
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
776
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won" | null;
|
|
780
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won" | null;
|
|
777
781
|
biddingAmount: number | null;
|
|
778
782
|
boosted: boolean | null;
|
|
779
783
|
boostingAmount: number | null;
|
|
@@ -790,7 +794,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
790
794
|
leadBiddingConfig: {
|
|
791
795
|
appliedFromQueue: boolean | null;
|
|
792
796
|
biddingDelayInMinutes: number | null;
|
|
793
|
-
bidWithWarning: "
|
|
797
|
+
bidWithWarning: "skip" | "bid";
|
|
794
798
|
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
795
799
|
biddingHourlyRatePercentage: number | null;
|
|
796
800
|
biddingFixedHourlyRate: number | null;
|
|
@@ -800,6 +804,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
800
804
|
maximumBoost: number | null;
|
|
801
805
|
minBoost: number | null;
|
|
802
806
|
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
807
|
+
alreadyHiredAction: "skip" | "bid";
|
|
803
808
|
bidConfig: {
|
|
804
809
|
contractorName: string | null;
|
|
805
810
|
agencyName: string | null;
|
|
@@ -951,7 +956,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
951
956
|
question: string;
|
|
952
957
|
}[] | null;
|
|
953
958
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
954
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won" | null;
|
|
959
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won" | null;
|
|
955
960
|
biddingAmount: number | null;
|
|
956
961
|
boosted: boolean | null;
|
|
957
962
|
boostingAmount: number | null;
|
|
@@ -968,7 +973,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
968
973
|
leadBiddingConfig: {
|
|
969
974
|
appliedFromQueue: boolean | null;
|
|
970
975
|
biddingDelayInMinutes: number | null;
|
|
971
|
-
bidWithWarning: "
|
|
976
|
+
bidWithWarning: "skip" | "bid";
|
|
972
977
|
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
973
978
|
biddingHourlyRatePercentage: number | null;
|
|
974
979
|
biddingFixedHourlyRate: number | null;
|
|
@@ -978,6 +983,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
978
983
|
maximumBoost: number | null;
|
|
979
984
|
minBoost: number | null;
|
|
980
985
|
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
986
|
+
alreadyHiredAction: "skip" | "bid";
|
|
981
987
|
bidConfig: {
|
|
982
988
|
contractorName: string | null;
|
|
983
989
|
agencyName: string | null;
|
|
@@ -1123,7 +1129,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
1123
1129
|
question: string;
|
|
1124
1130
|
}[] | null;
|
|
1125
1131
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
1126
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won" | null;
|
|
1132
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won" | null;
|
|
1127
1133
|
biddingAmount: number | null;
|
|
1128
1134
|
boosted: boolean | null;
|
|
1129
1135
|
boostingAmount: number | null;
|
|
@@ -1140,7 +1146,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
1140
1146
|
leadBiddingConfig: {
|
|
1141
1147
|
appliedFromQueue: boolean | null;
|
|
1142
1148
|
biddingDelayInMinutes: number | null;
|
|
1143
|
-
bidWithWarning: "
|
|
1149
|
+
bidWithWarning: "skip" | "bid";
|
|
1144
1150
|
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
1145
1151
|
biddingHourlyRatePercentage: number | null;
|
|
1146
1152
|
biddingFixedHourlyRate: number | null;
|
|
@@ -1150,6 +1156,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
1150
1156
|
maximumBoost: number | null;
|
|
1151
1157
|
minBoost: number | null;
|
|
1152
1158
|
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
1159
|
+
alreadyHiredAction: "skip" | "bid";
|
|
1153
1160
|
bidConfig: {
|
|
1154
1161
|
contractorName: string | null;
|
|
1155
1162
|
agencyName: string | null;
|