lancer-shared 1.2.266 → 1.2.268
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 +25 -11
- package/dist/schemas/bidder/bid.d.ts +274 -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 +109 -47
- package/dist/schemas/campaign/campaign-chat-bot.d.ts +11 -11
- package/dist/schemas/campaign/campaign.d.ts +24 -15
- package/dist/schemas/job/index.d.ts +8 -0
- package/dist/schemas/lead/already-hired-action.d.ts +3 -0
- package/dist/schemas/lead/index.d.ts +105 -42
- package/dist/schemas/lead/lead-status.d.ts +7 -7
- package/dist/schemas/logger/feed/feed-job-enrich.d.ts +7 -0
- package/dist/schemas/logger/log-event.d.ts +5 -5
- package/dist/schemas/scraper/scrape-payload.d.ts +39 -20
- package/dist/schemas/scraper/scrape-result.d.ts +7 -0
- package/package.json +1 -1
|
@@ -180,6 +180,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
180
180
|
companySize: z.ZodNullable<z.ZodString>;
|
|
181
181
|
enterpriseClient: z.ZodNullable<z.ZodBoolean>;
|
|
182
182
|
avgHourlyRatePaid: z.ZodNullable<z.ZodNumber>;
|
|
183
|
+
companyId: z.ZodNullable<z.ZodString>;
|
|
183
184
|
}, "strip", z.ZodTypeAny, {
|
|
184
185
|
country: string | null;
|
|
185
186
|
region: string | null;
|
|
@@ -198,6 +199,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
198
199
|
memberSince: string | null;
|
|
199
200
|
companyIndustry: string | null;
|
|
200
201
|
avgHourlyRatePaid: number | null;
|
|
202
|
+
companyId: string | null;
|
|
201
203
|
}, {
|
|
202
204
|
country: string | null;
|
|
203
205
|
region: string | null;
|
|
@@ -216,6 +218,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
216
218
|
memberSince: string | null;
|
|
217
219
|
companyIndustry: string | null;
|
|
218
220
|
avgHourlyRatePaid: number | null;
|
|
221
|
+
companyId: string | null;
|
|
219
222
|
}>>;
|
|
220
223
|
vendorQualifications: z.ZodNullable<z.ZodObject<{
|
|
221
224
|
location: z.ZodNullable<z.ZodString>;
|
|
@@ -423,7 +426,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
423
426
|
question: string;
|
|
424
427
|
}>, "many">>;
|
|
425
428
|
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"]>>;
|
|
429
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>>;
|
|
427
430
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
428
431
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
429
432
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -454,6 +457,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
454
457
|
maximumBoost: z.ZodNullable<z.ZodNumber>;
|
|
455
458
|
minBoost: z.ZodNullable<z.ZodNumber>;
|
|
456
459
|
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
460
|
+
alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
|
|
457
461
|
bidConfig: z.ZodObject<{
|
|
458
462
|
agencyName: z.ZodNullable<z.ZodString>;
|
|
459
463
|
contractorName: z.ZodNullable<z.ZodString>;
|
|
@@ -470,7 +474,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
470
474
|
}, "strip", z.ZodTypeAny, {
|
|
471
475
|
appliedFromQueue: boolean | null;
|
|
472
476
|
biddingDelayInMinutes: number | null;
|
|
473
|
-
bidWithWarning: "
|
|
477
|
+
bidWithWarning: "skip" | "bid";
|
|
474
478
|
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
475
479
|
biddingHourlyRatePercentage: number | null;
|
|
476
480
|
biddingFixedHourlyRate: number | null;
|
|
@@ -480,6 +484,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
480
484
|
maximumBoost: number | null;
|
|
481
485
|
minBoost: number | null;
|
|
482
486
|
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
487
|
+
alreadyHiredAction: "skip" | "bid";
|
|
483
488
|
bidConfig: {
|
|
484
489
|
contractorName: string | null;
|
|
485
490
|
agencyName: string | null;
|
|
@@ -488,7 +493,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
488
493
|
}, {
|
|
489
494
|
appliedFromQueue: boolean | null;
|
|
490
495
|
biddingDelayInMinutes: number | null;
|
|
491
|
-
bidWithWarning: "
|
|
496
|
+
bidWithWarning: "skip" | "bid";
|
|
492
497
|
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
493
498
|
biddingHourlyRatePercentage: number | null;
|
|
494
499
|
biddingFixedHourlyRate: number | null;
|
|
@@ -498,6 +503,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
498
503
|
maximumBoost: number | null;
|
|
499
504
|
minBoost: number | null;
|
|
500
505
|
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
506
|
+
alreadyHiredAction: "skip" | "bid";
|
|
501
507
|
bidConfig: {
|
|
502
508
|
contractorName: string | null;
|
|
503
509
|
agencyName: string | null;
|
|
@@ -547,6 +553,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
547
553
|
memberSince: string | null;
|
|
548
554
|
companyIndustry: string | null;
|
|
549
555
|
avgHourlyRatePaid: number | null;
|
|
556
|
+
companyId: string | null;
|
|
550
557
|
} | null;
|
|
551
558
|
vendorQualifications: {
|
|
552
559
|
location: string | null;
|
|
@@ -611,7 +618,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
611
618
|
question: string;
|
|
612
619
|
}[] | null;
|
|
613
620
|
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;
|
|
621
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won" | null;
|
|
615
622
|
biddingAmount: number | null;
|
|
616
623
|
boosted: boolean | null;
|
|
617
624
|
boostingAmount: number | null;
|
|
@@ -628,7 +635,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
628
635
|
leadBiddingConfig: {
|
|
629
636
|
appliedFromQueue: boolean | null;
|
|
630
637
|
biddingDelayInMinutes: number | null;
|
|
631
|
-
bidWithWarning: "
|
|
638
|
+
bidWithWarning: "skip" | "bid";
|
|
632
639
|
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
633
640
|
biddingHourlyRatePercentage: number | null;
|
|
634
641
|
biddingFixedHourlyRate: number | null;
|
|
@@ -638,6 +645,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
638
645
|
maximumBoost: number | null;
|
|
639
646
|
minBoost: number | null;
|
|
640
647
|
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
648
|
+
alreadyHiredAction: "skip" | "bid";
|
|
641
649
|
bidConfig: {
|
|
642
650
|
contractorName: string | null;
|
|
643
651
|
agencyName: string | null;
|
|
@@ -709,6 +717,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
709
717
|
memberSince: string | null;
|
|
710
718
|
companyIndustry: string | null;
|
|
711
719
|
avgHourlyRatePaid: number | null;
|
|
720
|
+
companyId: string | null;
|
|
712
721
|
} | null;
|
|
713
722
|
vendorQualifications: {
|
|
714
723
|
location: string | null;
|
|
@@ -773,7 +782,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
773
782
|
question: string;
|
|
774
783
|
}[] | null;
|
|
775
784
|
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;
|
|
785
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won" | null;
|
|
777
786
|
biddingAmount: number | null;
|
|
778
787
|
boosted: boolean | null;
|
|
779
788
|
boostingAmount: number | null;
|
|
@@ -790,7 +799,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
790
799
|
leadBiddingConfig: {
|
|
791
800
|
appliedFromQueue: boolean | null;
|
|
792
801
|
biddingDelayInMinutes: number | null;
|
|
793
|
-
bidWithWarning: "
|
|
802
|
+
bidWithWarning: "skip" | "bid";
|
|
794
803
|
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
795
804
|
biddingHourlyRatePercentage: number | null;
|
|
796
805
|
biddingFixedHourlyRate: number | null;
|
|
@@ -800,6 +809,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
800
809
|
maximumBoost: number | null;
|
|
801
810
|
minBoost: number | null;
|
|
802
811
|
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
812
|
+
alreadyHiredAction: "skip" | "bid";
|
|
803
813
|
bidConfig: {
|
|
804
814
|
contractorName: string | null;
|
|
805
815
|
agencyName: string | null;
|
|
@@ -887,6 +897,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
887
897
|
memberSince: string | null;
|
|
888
898
|
companyIndustry: string | null;
|
|
889
899
|
avgHourlyRatePaid: number | null;
|
|
900
|
+
companyId: string | null;
|
|
890
901
|
} | null;
|
|
891
902
|
vendorQualifications: {
|
|
892
903
|
location: string | null;
|
|
@@ -951,7 +962,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
951
962
|
question: string;
|
|
952
963
|
}[] | null;
|
|
953
964
|
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;
|
|
965
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won" | null;
|
|
955
966
|
biddingAmount: number | null;
|
|
956
967
|
boosted: boolean | null;
|
|
957
968
|
boostingAmount: number | null;
|
|
@@ -968,7 +979,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
968
979
|
leadBiddingConfig: {
|
|
969
980
|
appliedFromQueue: boolean | null;
|
|
970
981
|
biddingDelayInMinutes: number | null;
|
|
971
|
-
bidWithWarning: "
|
|
982
|
+
bidWithWarning: "skip" | "bid";
|
|
972
983
|
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
973
984
|
biddingHourlyRatePercentage: number | null;
|
|
974
985
|
biddingFixedHourlyRate: number | null;
|
|
@@ -978,6 +989,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
978
989
|
maximumBoost: number | null;
|
|
979
990
|
minBoost: number | null;
|
|
980
991
|
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
992
|
+
alreadyHiredAction: "skip" | "bid";
|
|
981
993
|
bidConfig: {
|
|
982
994
|
contractorName: string | null;
|
|
983
995
|
agencyName: string | null;
|
|
@@ -1059,6 +1071,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
1059
1071
|
memberSince: string | null;
|
|
1060
1072
|
companyIndustry: string | null;
|
|
1061
1073
|
avgHourlyRatePaid: number | null;
|
|
1074
|
+
companyId: string | null;
|
|
1062
1075
|
} | null;
|
|
1063
1076
|
vendorQualifications: {
|
|
1064
1077
|
location: string | null;
|
|
@@ -1123,7 +1136,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
1123
1136
|
question: string;
|
|
1124
1137
|
}[] | null;
|
|
1125
1138
|
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;
|
|
1139
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won" | null;
|
|
1127
1140
|
biddingAmount: number | null;
|
|
1128
1141
|
boosted: boolean | null;
|
|
1129
1142
|
boostingAmount: number | null;
|
|
@@ -1140,7 +1153,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
1140
1153
|
leadBiddingConfig: {
|
|
1141
1154
|
appliedFromQueue: boolean | null;
|
|
1142
1155
|
biddingDelayInMinutes: number | null;
|
|
1143
|
-
bidWithWarning: "
|
|
1156
|
+
bidWithWarning: "skip" | "bid";
|
|
1144
1157
|
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
1145
1158
|
biddingHourlyRatePercentage: number | null;
|
|
1146
1159
|
biddingFixedHourlyRate: number | null;
|
|
@@ -1150,6 +1163,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
1150
1163
|
maximumBoost: number | null;
|
|
1151
1164
|
minBoost: number | null;
|
|
1152
1165
|
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
1166
|
+
alreadyHiredAction: "skip" | "bid";
|
|
1153
1167
|
bidConfig: {
|
|
1154
1168
|
contractorName: string | null;
|
|
1155
1169
|
agencyName: string | null;
|