lancer-shared 1.2.200 → 1.2.202
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 +14 -0
- package/dist/schemas/agent/index.d.ts +5 -5
- package/dist/schemas/bidder/bid.d.ts +44 -44
- package/dist/schemas/bidder/exceptions/index.d.ts +3 -1
- package/dist/schemas/bidder/exceptions/private-job.exception.d.ts +5 -0
- package/dist/schemas/campaign/campaign-analytics.d.ts +29 -29
- package/dist/schemas/campaign/campaign.d.ts +9 -9
- package/dist/schemas/lead/index.d.ts +18 -18
- 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 +10 -10
- package/package.json +1 -1
|
@@ -96,13 +96,13 @@ export declare const leadStatusEventMetadata: z.ZodObject<{
|
|
|
96
96
|
leadId: z.ZodString;
|
|
97
97
|
userId: z.ZodString;
|
|
98
98
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
99
|
-
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "viewed", "replied", "won"]>;
|
|
99
|
+
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "viewed", "replied", "won"]>;
|
|
100
100
|
proposalId: z.ZodNullable<z.ZodString>;
|
|
101
101
|
}, "strip", z.ZodTypeAny, {
|
|
102
|
-
status: "insufficientConnects" | "leads" | "contacted" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "viewed" | "replied" | "won";
|
|
102
|
+
status: "insufficientConnects" | "leads" | "contacted" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "viewed" | "replied" | "won";
|
|
103
103
|
proposalId: string | null;
|
|
104
104
|
}, {
|
|
105
|
-
status: "insufficientConnects" | "leads" | "contacted" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "viewed" | "replied" | "won";
|
|
105
|
+
status: "insufficientConnects" | "leads" | "contacted" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "viewed" | "replied" | "won";
|
|
106
106
|
proposalId: string | null;
|
|
107
107
|
}>>;
|
|
108
108
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -113,7 +113,7 @@ export declare const leadStatusEventMetadata: z.ZodObject<{
|
|
|
113
113
|
leadId: string;
|
|
114
114
|
reason?: string | undefined;
|
|
115
115
|
metadata?: {
|
|
116
|
-
status: "insufficientConnects" | "leads" | "contacted" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "viewed" | "replied" | "won";
|
|
116
|
+
status: "insufficientConnects" | "leads" | "contacted" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "viewed" | "replied" | "won";
|
|
117
117
|
proposalId: string | null;
|
|
118
118
|
} | undefined;
|
|
119
119
|
}, {
|
|
@@ -123,7 +123,7 @@ export declare const leadStatusEventMetadata: z.ZodObject<{
|
|
|
123
123
|
leadId: string;
|
|
124
124
|
reason?: string | undefined;
|
|
125
125
|
metadata?: {
|
|
126
|
-
status: "insufficientConnects" | "leads" | "contacted" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "viewed" | "replied" | "won";
|
|
126
|
+
status: "insufficientConnects" | "leads" | "contacted" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "viewed" | "replied" | "won";
|
|
127
127
|
proposalId: string | null;
|
|
128
128
|
} | undefined;
|
|
129
129
|
}>;
|
|
@@ -692,7 +692,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
692
692
|
biddingFixedHourlyRate: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
693
693
|
biddingHourlyRatePercentage: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
694
694
|
bidWithWarning: import("zod").ZodEnum<["bid", "skip"]>;
|
|
695
|
-
leadCounts: import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>, import("zod").ZodNumber>>;
|
|
695
|
+
leadCounts: import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "viewed", "replied", "won"]>, import("zod").ZodNumber>>;
|
|
696
696
|
expenses: import("zod").ZodObject<{
|
|
697
697
|
biddingAmount: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
698
698
|
boostingAmount: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
@@ -867,7 +867,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
867
867
|
biddingFixedHourlyRate: number | null;
|
|
868
868
|
biddingHourlyRatePercentage: number | null;
|
|
869
869
|
bidWithWarning: "skip" | "bid";
|
|
870
|
-
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "viewed" | "replied" | "won", number>> | null;
|
|
870
|
+
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "viewed" | "replied" | "won", number>> | null;
|
|
871
871
|
expenses: {
|
|
872
872
|
biddingAmount: number;
|
|
873
873
|
boostingAmount: number;
|
|
@@ -977,7 +977,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
977
977
|
biddingFixedHourlyRate: number | null;
|
|
978
978
|
biddingHourlyRatePercentage: number | null;
|
|
979
979
|
bidWithWarning: "skip" | "bid";
|
|
980
|
-
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "viewed" | "replied" | "won", number>> | null;
|
|
980
|
+
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "viewed" | "replied" | "won", number>> | null;
|
|
981
981
|
expenses: {
|
|
982
982
|
biddingAmount?: number | undefined;
|
|
983
983
|
boostingAmount?: number | undefined;
|
|
@@ -1669,7 +1669,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
1669
1669
|
answer: string;
|
|
1670
1670
|
}>, "many">>;
|
|
1671
1671
|
agentStatus: import("zod").ZodNullable<import("zod").ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
1672
|
-
leadStatus: import("zod").ZodNullable<import("zod").ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>>;
|
|
1672
|
+
leadStatus: import("zod").ZodNullable<import("zod").ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "viewed", "replied", "won"]>>;
|
|
1673
1673
|
biddingAmount: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
1674
1674
|
boosted: import("zod").ZodNullable<import("zod").ZodBoolean>;
|
|
1675
1675
|
boostingAmount: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
@@ -1786,7 +1786,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
1786
1786
|
answer: string;
|
|
1787
1787
|
}[] | null;
|
|
1788
1788
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
1789
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "viewed" | "replied" | "won" | null;
|
|
1789
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "viewed" | "replied" | "won" | null;
|
|
1790
1790
|
biddingTaskScheduled: boolean | null;
|
|
1791
1791
|
scheduledBiddingTime: number | null;
|
|
1792
1792
|
feedbackCheckTaskId: string | null;
|
|
@@ -1921,7 +1921,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
1921
1921
|
answer: string;
|
|
1922
1922
|
}[] | null;
|
|
1923
1923
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
1924
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "viewed" | "replied" | "won" | null;
|
|
1924
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "viewed" | "replied" | "won" | null;
|
|
1925
1925
|
biddingTaskScheduled: boolean | null;
|
|
1926
1926
|
scheduledBiddingTime: number | null;
|
|
1927
1927
|
feedbackCheckTaskId: string | null;
|
|
@@ -2137,7 +2137,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
2137
2137
|
biddingFixedHourlyRate: number | null;
|
|
2138
2138
|
biddingHourlyRatePercentage: number | null;
|
|
2139
2139
|
bidWithWarning: "skip" | "bid";
|
|
2140
|
-
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "viewed" | "replied" | "won", number>> | null;
|
|
2140
|
+
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "viewed" | "replied" | "won", number>> | null;
|
|
2141
2141
|
expenses: {
|
|
2142
2142
|
biddingAmount: number;
|
|
2143
2143
|
boostingAmount: number;
|
|
@@ -2342,7 +2342,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
2342
2342
|
answer: string;
|
|
2343
2343
|
}[] | null;
|
|
2344
2344
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
2345
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "viewed" | "replied" | "won" | null;
|
|
2345
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "viewed" | "replied" | "won" | null;
|
|
2346
2346
|
biddingTaskScheduled: boolean | null;
|
|
2347
2347
|
scheduledBiddingTime: number | null;
|
|
2348
2348
|
feedbackCheckTaskId: string | null;
|
|
@@ -2475,7 +2475,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
2475
2475
|
biddingFixedHourlyRate: number | null;
|
|
2476
2476
|
biddingHourlyRatePercentage: number | null;
|
|
2477
2477
|
bidWithWarning: "skip" | "bid";
|
|
2478
|
-
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "viewed" | "replied" | "won", number>> | null;
|
|
2478
|
+
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "viewed" | "replied" | "won", number>> | null;
|
|
2479
2479
|
expenses: {
|
|
2480
2480
|
biddingAmount?: number | undefined;
|
|
2481
2481
|
boostingAmount?: number | undefined;
|
|
@@ -2685,7 +2685,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
2685
2685
|
answer: string;
|
|
2686
2686
|
}[] | null;
|
|
2687
2687
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
2688
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "viewed" | "replied" | "won" | null;
|
|
2688
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "viewed" | "replied" | "won" | null;
|
|
2689
2689
|
biddingTaskScheduled: boolean | null;
|
|
2690
2690
|
scheduledBiddingTime: number | null;
|
|
2691
2691
|
feedbackCheckTaskId: string | null;
|