lancer-shared 1.2.265 → 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.
@@ -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>;
@@ -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
  }>;
@@ -1,20 +1,20 @@
1
1
  import { z } from 'zod';
2
- export declare const getOrganizationLeadsStatusEnum: z.ZodEnum<["all", "suitable", "contacted", "viewed", "replied"]>;
2
+ export declare const getOrganizationLeadsStatusEnum: z.ZodEnum<["all", "suitable", "contacted", "viewed", "replied", "rejected"]>;
3
3
  export declare const getOrganizationLeadsRequestQuerySchema: z.ZodObject<{
4
4
  cursor: z.ZodOptional<z.ZodString>;
5
5
  limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
6
- status: z.ZodOptional<z.ZodEnum<["all", "suitable", "contacted", "viewed", "replied"]>>;
6
+ status: z.ZodOptional<z.ZodEnum<["all", "suitable", "contacted", "viewed", "replied", "rejected"]>>;
7
7
  campaignId: z.ZodOptional<z.ZodString>;
8
8
  inQueue: z.ZodOptional<z.ZodBoolean>;
9
9
  }, "strip", z.ZodTypeAny, {
10
10
  cursor?: string | undefined;
11
- status?: "all" | "suitable" | "contacted" | "viewed" | "replied" | undefined;
11
+ status?: "all" | "rejected" | "suitable" | "contacted" | "viewed" | "replied" | undefined;
12
12
  campaignId?: string | undefined;
13
13
  limit?: number | undefined;
14
14
  inQueue?: boolean | undefined;
15
15
  }, {
16
16
  cursor?: string | undefined;
17
- status?: "all" | "suitable" | "contacted" | "viewed" | "replied" | undefined;
17
+ status?: "all" | "rejected" | "suitable" | "contacted" | "viewed" | "replied" | undefined;
18
18
  campaignId?: string | undefined;
19
19
  limit?: number | undefined;
20
20
  inQueue?: boolean | undefined;
@@ -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;
@@ -1682,7 +1685,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1682
1685
  question: string;
1683
1686
  }>, "many">>;
1684
1687
  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"]>>;
1688
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>>;
1686
1689
  biddingAmount: z.ZodNullable<z.ZodNumber>;
1687
1690
  boosted: z.ZodNullable<z.ZodBoolean>;
1688
1691
  boostingAmount: z.ZodNullable<z.ZodNumber>;
@@ -1713,6 +1716,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1713
1716
  maximumBoost: z.ZodNullable<z.ZodNumber>;
1714
1717
  minBoost: z.ZodNullable<z.ZodNumber>;
1715
1718
  insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
1719
+ alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
1716
1720
  bidConfig: z.ZodObject<{
1717
1721
  agencyName: z.ZodNullable<z.ZodString>;
1718
1722
  contractorName: z.ZodNullable<z.ZodString>;
@@ -1729,7 +1733,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1729
1733
  }, "strip", z.ZodTypeAny, {
1730
1734
  appliedFromQueue: boolean | null;
1731
1735
  biddingDelayInMinutes: number | null;
1732
- bidWithWarning: "bid" | "skip";
1736
+ bidWithWarning: "skip" | "bid";
1733
1737
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
1734
1738
  biddingHourlyRatePercentage: number | null;
1735
1739
  biddingFixedHourlyRate: number | null;
@@ -1739,6 +1743,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1739
1743
  maximumBoost: number | null;
1740
1744
  minBoost: number | null;
1741
1745
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
1746
+ alreadyHiredAction: "skip" | "bid";
1742
1747
  bidConfig: {
1743
1748
  contractorName: string | null;
1744
1749
  agencyName: string | null;
@@ -1747,7 +1752,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1747
1752
  }, {
1748
1753
  appliedFromQueue: boolean | null;
1749
1754
  biddingDelayInMinutes: number | null;
1750
- bidWithWarning: "bid" | "skip";
1755
+ bidWithWarning: "skip" | "bid";
1751
1756
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
1752
1757
  biddingHourlyRatePercentage: number | null;
1753
1758
  biddingFixedHourlyRate: number | null;
@@ -1757,6 +1762,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1757
1762
  maximumBoost: number | null;
1758
1763
  minBoost: number | null;
1759
1764
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
1765
+ alreadyHiredAction: "skip" | "bid";
1760
1766
  bidConfig: {
1761
1767
  contractorName: string | null;
1762
1768
  agencyName: string | null;
@@ -1870,7 +1876,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1870
1876
  question: string;
1871
1877
  }[] | null;
1872
1878
  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;
1879
+ leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won" | null;
1874
1880
  biddingAmount: number | null;
1875
1881
  boosted: boolean | null;
1876
1882
  boostingAmount: number | null;
@@ -1887,7 +1893,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1887
1893
  leadBiddingConfig: {
1888
1894
  appliedFromQueue: boolean | null;
1889
1895
  biddingDelayInMinutes: number | null;
1890
- bidWithWarning: "bid" | "skip";
1896
+ bidWithWarning: "skip" | "bid";
1891
1897
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
1892
1898
  biddingHourlyRatePercentage: number | null;
1893
1899
  biddingFixedHourlyRate: number | null;
@@ -1897,6 +1903,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1897
1903
  maximumBoost: number | null;
1898
1904
  minBoost: number | null;
1899
1905
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
1906
+ alreadyHiredAction: "skip" | "bid";
1900
1907
  bidConfig: {
1901
1908
  contractorName: string | null;
1902
1909
  agencyName: string | null;
@@ -2032,7 +2039,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2032
2039
  question: string;
2033
2040
  }[] | null;
2034
2041
  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;
2042
+ leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won" | null;
2036
2043
  biddingAmount: number | null;
2037
2044
  boosted: boolean | null;
2038
2045
  boostingAmount: number | null;
@@ -2049,7 +2056,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2049
2056
  leadBiddingConfig: {
2050
2057
  appliedFromQueue: boolean | null;
2051
2058
  biddingDelayInMinutes: number | null;
2052
- bidWithWarning: "bid" | "skip";
2059
+ bidWithWarning: "skip" | "bid";
2053
2060
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
2054
2061
  biddingHourlyRatePercentage: number | null;
2055
2062
  biddingFixedHourlyRate: number | null;
@@ -2059,6 +2066,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2059
2066
  maximumBoost: number | null;
2060
2067
  minBoost: number | null;
2061
2068
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
2069
+ alreadyHiredAction: "skip" | "bid";
2062
2070
  bidConfig: {
2063
2071
  contractorName: string | null;
2064
2072
  agencyName: string | null;
@@ -2364,7 +2372,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2364
2372
  question: string;
2365
2373
  }[] | null;
2366
2374
  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;
2375
+ leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won" | null;
2368
2376
  biddingAmount: number | null;
2369
2377
  boosted: boolean | null;
2370
2378
  boostingAmount: number | null;
@@ -2381,7 +2389,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2381
2389
  leadBiddingConfig: {
2382
2390
  appliedFromQueue: boolean | null;
2383
2391
  biddingDelayInMinutes: number | null;
2384
- bidWithWarning: "bid" | "skip";
2392
+ bidWithWarning: "skip" | "bid";
2385
2393
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
2386
2394
  biddingHourlyRatePercentage: number | null;
2387
2395
  biddingFixedHourlyRate: number | null;
@@ -2391,6 +2399,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2391
2399
  maximumBoost: number | null;
2392
2400
  minBoost: number | null;
2393
2401
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
2402
+ alreadyHiredAction: "skip" | "bid";
2394
2403
  bidConfig: {
2395
2404
  contractorName: string | null;
2396
2405
  agencyName: string | null;
@@ -2432,7 +2441,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2432
2441
  createdAt: number;
2433
2442
  updatedAt: number;
2434
2443
  biddingDelayInMinutes: number;
2435
- bidWithWarning: "bid" | "skip";
2444
+ bidWithWarning: "skip" | "bid";
2436
2445
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
2437
2446
  biddingHourlyRatePercentage: number | null;
2438
2447
  biddingFixedHourlyRate: number | null;
@@ -2442,13 +2451,14 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2442
2451
  maximumBoost: number | null;
2443
2452
  minBoost: number | null;
2444
2453
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
2454
+ alreadyHiredAction: "skip" | "bid";
2445
2455
  bidConfig: {
2446
2456
  contractorName: string | null;
2447
2457
  agencyName: string | null;
2448
2458
  specialisedProfile: string | null;
2449
2459
  bidderId: string | null;
2450
2460
  } | null;
2451
- leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won", number>> | null;
2461
+ leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won", number>> | null;
2452
2462
  filters: {
2453
2463
  keywords: {
2454
2464
  includes: string | null;
@@ -2737,7 +2747,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2737
2747
  question: string;
2738
2748
  }[] | null;
2739
2749
  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;
2750
+ leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won" | null;
2741
2751
  biddingAmount: number | null;
2742
2752
  boosted: boolean | null;
2743
2753
  boostingAmount: number | null;
@@ -2754,7 +2764,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2754
2764
  leadBiddingConfig: {
2755
2765
  appliedFromQueue: boolean | null;
2756
2766
  biddingDelayInMinutes: number | null;
2757
- bidWithWarning: "bid" | "skip";
2767
+ bidWithWarning: "skip" | "bid";
2758
2768
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
2759
2769
  biddingHourlyRatePercentage: number | null;
2760
2770
  biddingFixedHourlyRate: number | null;
@@ -2764,6 +2774,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2764
2774
  maximumBoost: number | null;
2765
2775
  minBoost: number | null;
2766
2776
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
2777
+ alreadyHiredAction: "skip" | "bid";
2767
2778
  bidConfig: {
2768
2779
  contractorName: string | null;
2769
2780
  agencyName: string | null;
@@ -2804,20 +2815,21 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2804
2815
  };
2805
2816
  createdAt: number;
2806
2817
  updatedAt: number;
2807
- bidWithWarning: "bid" | "skip";
2818
+ bidWithWarning: "skip" | "bid";
2808
2819
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
2809
2820
  biddingHourlyRatePercentage: number | null;
2810
2821
  biddingFixedHourlyRate: number | null;
2811
2822
  boostDownToNthPlace: number | null;
2812
2823
  connectsAbovePrevious: number | null;
2813
2824
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
2825
+ alreadyHiredAction: "skip" | "bid";
2814
2826
  bidConfig: {
2815
2827
  contractorName: string | null;
2816
2828
  agencyName: string | null;
2817
2829
  specialisedProfile: string | null;
2818
2830
  bidderId: string | null;
2819
2831
  } | null;
2820
- leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won", number>> | null;
2832
+ leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won", number>> | null;
2821
2833
  filters: {
2822
2834
  keywords: {
2823
2835
  includes: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lancer-shared",
3
- "version": "1.2.265",
3
+ "version": "1.2.267",
4
4
  "description": "This package contains shared stuff.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "dist/bundle.cjs.js",