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.
@@ -1,16 +1,16 @@
1
1
  import { z } from 'zod';
2
2
  export declare const agentStatusSchema: z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>;
3
- export declare const leadStatusEnum: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "won"]>;
3
+ export declare const leadStatusEnum: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>;
4
4
  export declare const updateLeadStatusSchema: z.ZodObject<{
5
5
  leadId: z.ZodString;
6
6
  organizationId: z.ZodString;
7
7
  campaignId: z.ZodString;
8
- status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "won"]>;
8
+ status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>;
9
9
  proposalId: z.ZodOptional<z.ZodString>;
10
10
  userId: z.ZodOptional<z.ZodString>;
11
11
  wonAmount: z.ZodOptional<z.ZodNumber>;
12
12
  }, "strip", z.ZodTypeAny, {
13
- status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won";
13
+ status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won";
14
14
  campaignId: string;
15
15
  organizationId: string;
16
16
  leadId: string;
@@ -18,7 +18,7 @@ export declare const updateLeadStatusSchema: z.ZodObject<{
18
18
  proposalId?: string | undefined;
19
19
  wonAmount?: number | undefined;
20
20
  }, {
21
- status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won";
21
+ status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won";
22
22
  campaignId: string;
23
23
  organizationId: string;
24
24
  leadId: string;
@@ -28,12 +28,12 @@ export declare const updateLeadStatusSchema: z.ZodObject<{
28
28
  }>;
29
29
  export declare const updateOrganizationLeadsStatusPayloadSchema: z.ZodArray<z.ZodObject<{
30
30
  applicationUid: z.ZodString;
31
- status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "won"]>;
31
+ status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>;
32
32
  }, "strip", z.ZodTypeAny, {
33
- status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won";
33
+ status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won";
34
34
  applicationUid: string;
35
35
  }, {
36
- status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won";
36
+ status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won";
37
37
  applicationUid: string;
38
38
  }>, "many">;
39
39
  export type LeadStatus = z.infer<typeof leadStatusEnum>;
@@ -605,6 +605,7 @@ export declare const feedJobEnrichCompletedEventMetadata: z.ZodObject<z.objectUt
605
605
  companySize: z.ZodNullable<z.ZodString>;
606
606
  enterpriseClient: z.ZodNullable<z.ZodBoolean>;
607
607
  avgHourlyRatePaid: z.ZodNullable<z.ZodNumber>;
608
+ companyId: z.ZodNullable<z.ZodString>;
608
609
  }, "strip", z.ZodTypeAny, {
609
610
  country: string | null;
610
611
  region: string | null;
@@ -623,6 +624,7 @@ export declare const feedJobEnrichCompletedEventMetadata: z.ZodObject<z.objectUt
623
624
  memberSince: string | null;
624
625
  companyIndustry: string | null;
625
626
  avgHourlyRatePaid: number | null;
627
+ companyId: string | null;
626
628
  }, {
627
629
  country: string | null;
628
630
  region: string | null;
@@ -641,6 +643,7 @@ export declare const feedJobEnrichCompletedEventMetadata: z.ZodObject<z.objectUt
641
643
  memberSince: string | null;
642
644
  companyIndustry: string | null;
643
645
  avgHourlyRatePaid: number | null;
646
+ companyId: string | null;
644
647
  }>>;
645
648
  vendorQualifications: z.ZodNullable<z.ZodObject<{
646
649
  location: z.ZodNullable<z.ZodString>;
@@ -866,6 +869,7 @@ export declare const feedJobEnrichCompletedEventMetadata: z.ZodObject<z.objectUt
866
869
  memberSince: string | null;
867
870
  companyIndustry: string | null;
868
871
  avgHourlyRatePaid: number | null;
872
+ companyId: string | null;
869
873
  } | null;
870
874
  vendorQualifications: {
871
875
  location: string | null;
@@ -978,6 +982,7 @@ export declare const feedJobEnrichCompletedEventMetadata: z.ZodObject<z.objectUt
978
982
  memberSince: string | null;
979
983
  companyIndustry: string | null;
980
984
  avgHourlyRatePaid: number | null;
985
+ companyId: string | null;
981
986
  } | null;
982
987
  vendorQualifications: {
983
988
  location: string | null;
@@ -1095,6 +1100,7 @@ export declare const feedJobEnrichCompletedEventMetadata: z.ZodObject<z.objectUt
1095
1100
  memberSince: string | null;
1096
1101
  companyIndustry: string | null;
1097
1102
  avgHourlyRatePaid: number | null;
1103
+ companyId: string | null;
1098
1104
  } | null;
1099
1105
  vendorQualifications: {
1100
1106
  location: string | null;
@@ -1213,6 +1219,7 @@ export declare const feedJobEnrichCompletedEventMetadata: z.ZodObject<z.objectUt
1213
1219
  memberSince: string | null;
1214
1220
  companyIndustry: string | null;
1215
1221
  avgHourlyRatePaid: number | null;
1222
+ companyId: string | null;
1216
1223
  } | null;
1217
1224
  vendorQualifications: {
1218
1225
  location: string | null;
@@ -131,13 +131,13 @@ export declare const leadStatusEventMetadata: z.ZodObject<{
131
131
  leadId: z.ZodString;
132
132
  userId: z.ZodString;
133
133
  metadata: z.ZodOptional<z.ZodObject<{
134
- status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "won"]>;
134
+ status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>;
135
135
  proposalId: z.ZodNullable<z.ZodString>;
136
136
  }, "strip", z.ZodTypeAny, {
137
- status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won";
137
+ status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won";
138
138
  proposalId: string | null;
139
139
  }, {
140
- status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won";
140
+ status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won";
141
141
  proposalId: string | null;
142
142
  }>>;
143
143
  reason: z.ZodOptional<z.ZodString>;
@@ -148,7 +148,7 @@ export declare const leadStatusEventMetadata: z.ZodObject<{
148
148
  leadId: string;
149
149
  reason?: string | undefined;
150
150
  metadata?: {
151
- status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won";
151
+ status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won";
152
152
  proposalId: string | null;
153
153
  } | undefined;
154
154
  }, {
@@ -158,7 +158,7 @@ export declare const leadStatusEventMetadata: z.ZodObject<{
158
158
  leadId: string;
159
159
  reason?: string | undefined;
160
160
  metadata?: {
161
- status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won";
161
+ status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won";
162
162
  proposalId: string | null;
163
163
  } | undefined;
164
164
  }>;
@@ -696,9 +696,10 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
696
696
  biddingDelayInMinutes: z.ZodDefault<z.ZodNumber>;
697
697
  biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
698
698
  biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
699
+ alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
699
700
  biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
700
701
  bidWithWarning: z.ZodEnum<["bid", "skip"]>;
701
- leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "won"]>, z.ZodNumber>>;
702
+ leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>, z.ZodNumber>>;
702
703
  expenses: z.ZodObject<{
703
704
  biddingAmount: z.ZodDefault<z.ZodNumber>;
704
705
  boostingAmount: z.ZodDefault<z.ZodNumber>;
@@ -809,7 +810,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
809
810
  createdAt: number;
810
811
  updatedAt: number;
811
812
  biddingDelayInMinutes: number;
812
- bidWithWarning: "bid" | "skip";
813
+ bidWithWarning: "skip" | "bid";
813
814
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
814
815
  biddingHourlyRatePercentage: number | null;
815
816
  biddingFixedHourlyRate: number | null;
@@ -819,13 +820,14 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
819
820
  maximumBoost: number | null;
820
821
  minBoost: number | null;
821
822
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
823
+ alreadyHiredAction: "skip" | "bid";
822
824
  bidConfig: {
823
825
  contractorName: string | null;
824
826
  agencyName: string | null;
825
827
  specialisedProfile: string | null;
826
828
  bidderId: string | null;
827
829
  } | null;
828
- leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won", number>> | null;
830
+ leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won", number>> | null;
829
831
  filters: {
830
832
  keywords: {
831
833
  includes: string | null;
@@ -926,20 +928,21 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
926
928
  };
927
929
  createdAt: number;
928
930
  updatedAt: number;
929
- bidWithWarning: "bid" | "skip";
931
+ bidWithWarning: "skip" | "bid";
930
932
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
931
933
  biddingHourlyRatePercentage: number | null;
932
934
  biddingFixedHourlyRate: number | null;
933
935
  boostDownToNthPlace: number | null;
934
936
  connectsAbovePrevious: number | null;
935
937
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
938
+ alreadyHiredAction: "skip" | "bid";
936
939
  bidConfig: {
937
940
  contractorName: string | null;
938
941
  agencyName: string | null;
939
942
  specialisedProfile: string | null;
940
943
  bidderId: string | null;
941
944
  } | null;
942
- leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won", number>> | null;
945
+ leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won", number>> | null;
943
946
  filters: {
944
947
  keywords: {
945
948
  includes: string | null;
@@ -1439,6 +1442,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1439
1442
  companySize: z.ZodNullable<z.ZodString>;
1440
1443
  enterpriseClient: z.ZodNullable<z.ZodBoolean>;
1441
1444
  avgHourlyRatePaid: z.ZodNullable<z.ZodNumber>;
1445
+ companyId: z.ZodNullable<z.ZodString>;
1442
1446
  }, "strip", z.ZodTypeAny, {
1443
1447
  country: string | null;
1444
1448
  region: string | null;
@@ -1457,6 +1461,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1457
1461
  memberSince: string | null;
1458
1462
  companyIndustry: string | null;
1459
1463
  avgHourlyRatePaid: number | null;
1464
+ companyId: string | null;
1460
1465
  }, {
1461
1466
  country: string | null;
1462
1467
  region: string | null;
@@ -1475,6 +1480,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1475
1480
  memberSince: string | null;
1476
1481
  companyIndustry: string | null;
1477
1482
  avgHourlyRatePaid: number | null;
1483
+ companyId: string | null;
1478
1484
  }>>;
1479
1485
  vendorQualifications: z.ZodNullable<z.ZodObject<{
1480
1486
  location: z.ZodNullable<z.ZodString>;
@@ -1682,7 +1688,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1682
1688
  question: string;
1683
1689
  }>, "many">>;
1684
1690
  agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
1685
- leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "won"]>>;
1691
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>>;
1686
1692
  biddingAmount: z.ZodNullable<z.ZodNumber>;
1687
1693
  boosted: z.ZodNullable<z.ZodBoolean>;
1688
1694
  boostingAmount: z.ZodNullable<z.ZodNumber>;
@@ -1713,6 +1719,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1713
1719
  maximumBoost: z.ZodNullable<z.ZodNumber>;
1714
1720
  minBoost: z.ZodNullable<z.ZodNumber>;
1715
1721
  insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
1722
+ alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
1716
1723
  bidConfig: z.ZodObject<{
1717
1724
  agencyName: z.ZodNullable<z.ZodString>;
1718
1725
  contractorName: z.ZodNullable<z.ZodString>;
@@ -1729,7 +1736,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1729
1736
  }, "strip", z.ZodTypeAny, {
1730
1737
  appliedFromQueue: boolean | null;
1731
1738
  biddingDelayInMinutes: number | null;
1732
- bidWithWarning: "bid" | "skip";
1739
+ bidWithWarning: "skip" | "bid";
1733
1740
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
1734
1741
  biddingHourlyRatePercentage: number | null;
1735
1742
  biddingFixedHourlyRate: number | null;
@@ -1739,6 +1746,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1739
1746
  maximumBoost: number | null;
1740
1747
  minBoost: number | null;
1741
1748
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
1749
+ alreadyHiredAction: "skip" | "bid";
1742
1750
  bidConfig: {
1743
1751
  contractorName: string | null;
1744
1752
  agencyName: string | null;
@@ -1747,7 +1755,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1747
1755
  }, {
1748
1756
  appliedFromQueue: boolean | null;
1749
1757
  biddingDelayInMinutes: number | null;
1750
- bidWithWarning: "bid" | "skip";
1758
+ bidWithWarning: "skip" | "bid";
1751
1759
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
1752
1760
  biddingHourlyRatePercentage: number | null;
1753
1761
  biddingFixedHourlyRate: number | null;
@@ -1757,6 +1765,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1757
1765
  maximumBoost: number | null;
1758
1766
  minBoost: number | null;
1759
1767
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
1768
+ alreadyHiredAction: "skip" | "bid";
1760
1769
  bidConfig: {
1761
1770
  contractorName: string | null;
1762
1771
  agencyName: string | null;
@@ -1806,6 +1815,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1806
1815
  memberSince: string | null;
1807
1816
  companyIndustry: string | null;
1808
1817
  avgHourlyRatePaid: number | null;
1818
+ companyId: string | null;
1809
1819
  } | null;
1810
1820
  vendorQualifications: {
1811
1821
  location: string | null;
@@ -1870,7 +1880,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1870
1880
  question: string;
1871
1881
  }[] | null;
1872
1882
  agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
1873
- leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won" | null;
1883
+ leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won" | null;
1874
1884
  biddingAmount: number | null;
1875
1885
  boosted: boolean | null;
1876
1886
  boostingAmount: number | null;
@@ -1887,7 +1897,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1887
1897
  leadBiddingConfig: {
1888
1898
  appliedFromQueue: boolean | null;
1889
1899
  biddingDelayInMinutes: number | null;
1890
- bidWithWarning: "bid" | "skip";
1900
+ bidWithWarning: "skip" | "bid";
1891
1901
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
1892
1902
  biddingHourlyRatePercentage: number | null;
1893
1903
  biddingFixedHourlyRate: number | null;
@@ -1897,6 +1907,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1897
1907
  maximumBoost: number | null;
1898
1908
  minBoost: number | null;
1899
1909
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
1910
+ alreadyHiredAction: "skip" | "bid";
1900
1911
  bidConfig: {
1901
1912
  contractorName: string | null;
1902
1913
  agencyName: string | null;
@@ -1968,6 +1979,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1968
1979
  memberSince: string | null;
1969
1980
  companyIndustry: string | null;
1970
1981
  avgHourlyRatePaid: number | null;
1982
+ companyId: string | null;
1971
1983
  } | null;
1972
1984
  vendorQualifications: {
1973
1985
  location: string | null;
@@ -2032,7 +2044,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2032
2044
  question: string;
2033
2045
  }[] | null;
2034
2046
  agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
2035
- leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won" | null;
2047
+ leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won" | null;
2036
2048
  biddingAmount: number | null;
2037
2049
  boosted: boolean | null;
2038
2050
  boostingAmount: number | null;
@@ -2049,7 +2061,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2049
2061
  leadBiddingConfig: {
2050
2062
  appliedFromQueue: boolean | null;
2051
2063
  biddingDelayInMinutes: number | null;
2052
- bidWithWarning: "bid" | "skip";
2064
+ bidWithWarning: "skip" | "bid";
2053
2065
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
2054
2066
  biddingHourlyRatePercentage: number | null;
2055
2067
  biddingFixedHourlyRate: number | null;
@@ -2059,6 +2071,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2059
2071
  maximumBoost: number | null;
2060
2072
  minBoost: number | null;
2061
2073
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
2074
+ alreadyHiredAction: "skip" | "bid";
2062
2075
  bidConfig: {
2063
2076
  contractorName: string | null;
2064
2077
  agencyName: string | null;
@@ -2300,6 +2313,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2300
2313
  memberSince: string | null;
2301
2314
  companyIndustry: string | null;
2302
2315
  avgHourlyRatePaid: number | null;
2316
+ companyId: string | null;
2303
2317
  } | null;
2304
2318
  vendorQualifications: {
2305
2319
  location: string | null;
@@ -2364,7 +2378,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2364
2378
  question: string;
2365
2379
  }[] | null;
2366
2380
  agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
2367
- leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won" | null;
2381
+ leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won" | null;
2368
2382
  biddingAmount: number | null;
2369
2383
  boosted: boolean | null;
2370
2384
  boostingAmount: number | null;
@@ -2381,7 +2395,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2381
2395
  leadBiddingConfig: {
2382
2396
  appliedFromQueue: boolean | null;
2383
2397
  biddingDelayInMinutes: number | null;
2384
- bidWithWarning: "bid" | "skip";
2398
+ bidWithWarning: "skip" | "bid";
2385
2399
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
2386
2400
  biddingHourlyRatePercentage: number | null;
2387
2401
  biddingFixedHourlyRate: number | null;
@@ -2391,6 +2405,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2391
2405
  maximumBoost: number | null;
2392
2406
  minBoost: number | null;
2393
2407
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
2408
+ alreadyHiredAction: "skip" | "bid";
2394
2409
  bidConfig: {
2395
2410
  contractorName: string | null;
2396
2411
  agencyName: string | null;
@@ -2432,7 +2447,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2432
2447
  createdAt: number;
2433
2448
  updatedAt: number;
2434
2449
  biddingDelayInMinutes: number;
2435
- bidWithWarning: "bid" | "skip";
2450
+ bidWithWarning: "skip" | "bid";
2436
2451
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
2437
2452
  biddingHourlyRatePercentage: number | null;
2438
2453
  biddingFixedHourlyRate: number | null;
@@ -2442,13 +2457,14 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2442
2457
  maximumBoost: number | null;
2443
2458
  minBoost: number | null;
2444
2459
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
2460
+ alreadyHiredAction: "skip" | "bid";
2445
2461
  bidConfig: {
2446
2462
  contractorName: string | null;
2447
2463
  agencyName: string | null;
2448
2464
  specialisedProfile: string | null;
2449
2465
  bidderId: string | null;
2450
2466
  } | null;
2451
- leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won", number>> | null;
2467
+ leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won", number>> | null;
2452
2468
  filters: {
2453
2469
  keywords: {
2454
2470
  includes: string | null;
@@ -2673,6 +2689,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2673
2689
  memberSince: string | null;
2674
2690
  companyIndustry: string | null;
2675
2691
  avgHourlyRatePaid: number | null;
2692
+ companyId: string | null;
2676
2693
  } | null;
2677
2694
  vendorQualifications: {
2678
2695
  location: string | null;
@@ -2737,7 +2754,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2737
2754
  question: string;
2738
2755
  }[] | null;
2739
2756
  agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
2740
- leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won" | null;
2757
+ leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won" | null;
2741
2758
  biddingAmount: number | null;
2742
2759
  boosted: boolean | null;
2743
2760
  boostingAmount: number | null;
@@ -2754,7 +2771,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2754
2771
  leadBiddingConfig: {
2755
2772
  appliedFromQueue: boolean | null;
2756
2773
  biddingDelayInMinutes: number | null;
2757
- bidWithWarning: "bid" | "skip";
2774
+ bidWithWarning: "skip" | "bid";
2758
2775
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
2759
2776
  biddingHourlyRatePercentage: number | null;
2760
2777
  biddingFixedHourlyRate: number | null;
@@ -2764,6 +2781,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2764
2781
  maximumBoost: number | null;
2765
2782
  minBoost: number | null;
2766
2783
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
2784
+ alreadyHiredAction: "skip" | "bid";
2767
2785
  bidConfig: {
2768
2786
  contractorName: string | null;
2769
2787
  agencyName: string | null;
@@ -2804,20 +2822,21 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2804
2822
  };
2805
2823
  createdAt: number;
2806
2824
  updatedAt: number;
2807
- bidWithWarning: "bid" | "skip";
2825
+ bidWithWarning: "skip" | "bid";
2808
2826
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
2809
2827
  biddingHourlyRatePercentage: number | null;
2810
2828
  biddingFixedHourlyRate: number | null;
2811
2829
  boostDownToNthPlace: number | null;
2812
2830
  connectsAbovePrevious: number | null;
2813
2831
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
2832
+ alreadyHiredAction: "skip" | "bid";
2814
2833
  bidConfig: {
2815
2834
  contractorName: string | null;
2816
2835
  agencyName: string | null;
2817
2836
  specialisedProfile: string | null;
2818
2837
  bidderId: string | null;
2819
2838
  } | null;
2820
- leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won", number>> | null;
2839
+ leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won", number>> | null;
2821
2840
  filters: {
2822
2841
  keywords: {
2823
2842
  includes: string | null;
@@ -76,6 +76,7 @@ export declare const scrapeResultSchema: import("zod").ZodObject<{
76
76
  companySize: import("zod").ZodNullable<import("zod").ZodString>;
77
77
  enterpriseClient: import("zod").ZodNullable<import("zod").ZodBoolean>;
78
78
  avgHourlyRatePaid: import("zod").ZodNullable<import("zod").ZodNumber>;
79
+ companyId: import("zod").ZodNullable<import("zod").ZodString>;
79
80
  }, "strip", import("zod").ZodTypeAny, {
80
81
  country: string | null;
81
82
  region: string | null;
@@ -94,6 +95,7 @@ export declare const scrapeResultSchema: import("zod").ZodObject<{
94
95
  memberSince: string | null;
95
96
  companyIndustry: string | null;
96
97
  avgHourlyRatePaid: number | null;
98
+ companyId: string | null;
97
99
  }, {
98
100
  country: string | null;
99
101
  region: string | null;
@@ -112,6 +114,7 @@ export declare const scrapeResultSchema: import("zod").ZodObject<{
112
114
  memberSince: string | null;
113
115
  companyIndustry: string | null;
114
116
  avgHourlyRatePaid: number | null;
117
+ companyId: string | null;
115
118
  }>>;
116
119
  vendorQualifications: import("zod").ZodNullable<import("zod").ZodObject<{
117
120
  location: import("zod").ZodNullable<import("zod").ZodString>;
@@ -337,6 +340,7 @@ export declare const scrapeResultSchema: import("zod").ZodObject<{
337
340
  memberSince: string | null;
338
341
  companyIndustry: string | null;
339
342
  avgHourlyRatePaid: number | null;
343
+ companyId: string | null;
340
344
  } | null;
341
345
  vendorQualifications: {
342
346
  location: string | null;
@@ -449,6 +453,7 @@ export declare const scrapeResultSchema: import("zod").ZodObject<{
449
453
  memberSince: string | null;
450
454
  companyIndustry: string | null;
451
455
  avgHourlyRatePaid: number | null;
456
+ companyId: string | null;
452
457
  } | null;
453
458
  vendorQualifications: {
454
459
  location: string | null;
@@ -567,6 +572,7 @@ export declare const scrapeResultSchema: import("zod").ZodObject<{
567
572
  memberSince: string | null;
568
573
  companyIndustry: string | null;
569
574
  avgHourlyRatePaid: number | null;
575
+ companyId: string | null;
570
576
  } | null;
571
577
  vendorQualifications: {
572
578
  location: string | null;
@@ -684,6 +690,7 @@ export declare const scrapeResultSchema: import("zod").ZodObject<{
684
690
  memberSince: string | null;
685
691
  companyIndustry: string | null;
686
692
  avgHourlyRatePaid: number | null;
693
+ companyId: string | null;
687
694
  } | null;
688
695
  vendorQualifications: {
689
696
  location: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lancer-shared",
3
- "version": "1.2.266",
3
+ "version": "1.2.268",
4
4
  "description": "This package contains shared stuff.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "dist/bundle.cjs.js",