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.
- package/dist/bundle.cjs.js +26 -0
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +24 -1
- package/dist/bundle.esm.js.map +1 -1
- package/dist/schemas/agent/index.d.ts +18 -11
- package/dist/schemas/bidder/bid.d.ts +207 -121
- package/dist/schemas/bidder/exceptions/index.d.ts +3 -1
- package/dist/schemas/bidder/exceptions/job-already-hired.exception.d.ts +5 -0
- package/dist/schemas/campaign/campaign-analytics.d.ts +82 -47
- package/dist/schemas/campaign/campaign-chat-bot.d.ts +11 -11
- package/dist/schemas/campaign/campaign.d.ts +24 -15
- package/dist/schemas/lead/already-hired-action.d.ts +3 -0
- package/dist/schemas/lead/index.d.ts +76 -46
- package/dist/schemas/lead/lead-status.d.ts +7 -7
- package/dist/schemas/logger/log-event.d.ts +5 -5
- package/dist/schemas/organization/organization-leads.d.ts +4 -4
- package/dist/schemas/scraper/scrape-payload.d.ts +32 -20
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const campaignNotificationType: z.ZodEnum<["suitableLead", "proposalSent", "proposalViewed", "proposalReplied", "noConnects", "accountDisconnected", "biddingWarning", "boostAboveMaxConnects", "jobNoLongerAvailable", "privateJob", "jobAlreadyBiddedOn", "biddingFailed"]>;
|
|
2
|
+
export declare const campaignNotificationType: z.ZodEnum<["suitableLead", "proposalSent", "proposalViewed", "proposalReplied", "noConnects", "accountDisconnected", "biddingWarning", "boostAboveMaxConnects", "jobNoLongerAvailable", "privateJob", "jobAlreadyBiddedOn", "biddingFailed", "alreadyHired"]>;
|
|
3
3
|
export declare const chatbotChannelSchema: z.ZodObject<{
|
|
4
4
|
id: z.ZodString;
|
|
5
5
|
name: z.ZodString;
|
|
@@ -27,7 +27,7 @@ export declare const chatbotSchema: z.ZodObject<{
|
|
|
27
27
|
}>, "many">;
|
|
28
28
|
selectedChannelId: z.ZodNullable<z.ZodString>;
|
|
29
29
|
notificationsEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
30
|
-
notificationSettings: z.ZodRecord<z.ZodEnum<["suitableLead", "proposalSent", "proposalViewed", "proposalReplied", "noConnects", "accountDisconnected", "biddingWarning", "boostAboveMaxConnects", "jobNoLongerAvailable", "privateJob", "jobAlreadyBiddedOn", "biddingFailed"]>, z.ZodDefault<z.ZodBoolean>>;
|
|
30
|
+
notificationSettings: z.ZodRecord<z.ZodEnum<["suitableLead", "proposalSent", "proposalViewed", "proposalReplied", "noConnects", "accountDisconnected", "biddingWarning", "boostAboveMaxConnects", "jobNoLongerAvailable", "privateJob", "jobAlreadyBiddedOn", "biddingFailed", "alreadyHired"]>, z.ZodDefault<z.ZodBoolean>>;
|
|
31
31
|
organizationId: z.ZodString;
|
|
32
32
|
campaignId: z.ZodString;
|
|
33
33
|
createdAt: z.ZodNumber;
|
|
@@ -44,7 +44,7 @@ export declare const chatbotSchema: z.ZodObject<{
|
|
|
44
44
|
name: string;
|
|
45
45
|
}[];
|
|
46
46
|
selectedChannelId: string | null;
|
|
47
|
-
notificationSettings: Partial<Record<"biddingFailed" | "boostAboveMaxConnects" | "privateJob" | "suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning" | "jobNoLongerAvailable" | "jobAlreadyBiddedOn", boolean>>;
|
|
47
|
+
notificationSettings: Partial<Record<"biddingFailed" | "boostAboveMaxConnects" | "privateJob" | "alreadyHired" | "suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning" | "jobNoLongerAvailable" | "jobAlreadyBiddedOn", boolean>>;
|
|
48
48
|
accessToken?: string | undefined;
|
|
49
49
|
refreshToken?: string | undefined;
|
|
50
50
|
}, {
|
|
@@ -58,7 +58,7 @@ export declare const chatbotSchema: z.ZodObject<{
|
|
|
58
58
|
name: string;
|
|
59
59
|
}[];
|
|
60
60
|
selectedChannelId: string | null;
|
|
61
|
-
notificationSettings: Partial<Record<"biddingFailed" | "boostAboveMaxConnects" | "privateJob" | "suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning" | "jobNoLongerAvailable" | "jobAlreadyBiddedOn", boolean | undefined>>;
|
|
61
|
+
notificationSettings: Partial<Record<"biddingFailed" | "boostAboveMaxConnects" | "privateJob" | "alreadyHired" | "suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning" | "jobNoLongerAvailable" | "jobAlreadyBiddedOn", boolean | undefined>>;
|
|
62
62
|
notificationsEnabled?: boolean | undefined;
|
|
63
63
|
accessToken?: string | undefined;
|
|
64
64
|
refreshToken?: string | undefined;
|
|
@@ -79,7 +79,7 @@ export declare const createChatbotSchema: z.ZodObject<Pick<{
|
|
|
79
79
|
}>, "many">;
|
|
80
80
|
selectedChannelId: z.ZodNullable<z.ZodString>;
|
|
81
81
|
notificationsEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
82
|
-
notificationSettings: z.ZodRecord<z.ZodEnum<["suitableLead", "proposalSent", "proposalViewed", "proposalReplied", "noConnects", "accountDisconnected", "biddingWarning", "boostAboveMaxConnects", "jobNoLongerAvailable", "privateJob", "jobAlreadyBiddedOn", "biddingFailed"]>, z.ZodDefault<z.ZodBoolean>>;
|
|
82
|
+
notificationSettings: z.ZodRecord<z.ZodEnum<["suitableLead", "proposalSent", "proposalViewed", "proposalReplied", "noConnects", "accountDisconnected", "biddingWarning", "boostAboveMaxConnects", "jobNoLongerAvailable", "privateJob", "jobAlreadyBiddedOn", "biddingFailed", "alreadyHired"]>, z.ZodDefault<z.ZodBoolean>>;
|
|
83
83
|
organizationId: z.ZodString;
|
|
84
84
|
campaignId: z.ZodString;
|
|
85
85
|
createdAt: z.ZodNumber;
|
|
@@ -121,7 +121,7 @@ export declare const updateChatbotSchema: z.ZodObject<Pick<{
|
|
|
121
121
|
}>, "many">;
|
|
122
122
|
selectedChannelId: z.ZodNullable<z.ZodString>;
|
|
123
123
|
notificationsEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
124
|
-
notificationSettings: z.ZodRecord<z.ZodEnum<["suitableLead", "proposalSent", "proposalViewed", "proposalReplied", "noConnects", "accountDisconnected", "biddingWarning", "boostAboveMaxConnects", "jobNoLongerAvailable", "privateJob", "jobAlreadyBiddedOn", "biddingFailed"]>, z.ZodDefault<z.ZodBoolean>>;
|
|
124
|
+
notificationSettings: z.ZodRecord<z.ZodEnum<["suitableLead", "proposalSent", "proposalViewed", "proposalReplied", "noConnects", "accountDisconnected", "biddingWarning", "boostAboveMaxConnects", "jobNoLongerAvailable", "privateJob", "jobAlreadyBiddedOn", "biddingFailed", "alreadyHired"]>, z.ZodDefault<z.ZodBoolean>>;
|
|
125
125
|
organizationId: z.ZodString;
|
|
126
126
|
campaignId: z.ZodString;
|
|
127
127
|
createdAt: z.ZodNumber;
|
|
@@ -129,31 +129,31 @@ export declare const updateChatbotSchema: z.ZodObject<Pick<{
|
|
|
129
129
|
}, "notificationsEnabled" | "selectedChannelId" | "notificationSettings">, "strip", z.ZodTypeAny, {
|
|
130
130
|
notificationsEnabled: boolean;
|
|
131
131
|
selectedChannelId: string | null;
|
|
132
|
-
notificationSettings: Partial<Record<"biddingFailed" | "boostAboveMaxConnects" | "privateJob" | "suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning" | "jobNoLongerAvailable" | "jobAlreadyBiddedOn", boolean>>;
|
|
132
|
+
notificationSettings: Partial<Record<"biddingFailed" | "boostAboveMaxConnects" | "privateJob" | "alreadyHired" | "suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning" | "jobNoLongerAvailable" | "jobAlreadyBiddedOn", boolean>>;
|
|
133
133
|
}, {
|
|
134
134
|
selectedChannelId: string | null;
|
|
135
|
-
notificationSettings: Partial<Record<"biddingFailed" | "boostAboveMaxConnects" | "privateJob" | "suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning" | "jobNoLongerAvailable" | "jobAlreadyBiddedOn", boolean | undefined>>;
|
|
135
|
+
notificationSettings: Partial<Record<"biddingFailed" | "boostAboveMaxConnects" | "privateJob" | "alreadyHired" | "suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning" | "jobNoLongerAvailable" | "jobAlreadyBiddedOn", boolean | undefined>>;
|
|
136
136
|
notificationsEnabled?: boolean | undefined;
|
|
137
137
|
}>;
|
|
138
138
|
export declare const sendNotificationRequestSchema: z.ZodObject<{
|
|
139
139
|
organizationId: z.ZodString;
|
|
140
140
|
campaignId: z.ZodString;
|
|
141
141
|
leadId: z.ZodString;
|
|
142
|
-
notificationType: z.ZodEnum<["suitableLead", "proposalSent", "proposalViewed", "proposalReplied", "noConnects", "accountDisconnected", "biddingWarning", "boostAboveMaxConnects", "jobNoLongerAvailable", "privateJob", "jobAlreadyBiddedOn", "biddingFailed"]>;
|
|
142
|
+
notificationType: z.ZodEnum<["suitableLead", "proposalSent", "proposalViewed", "proposalReplied", "noConnects", "accountDisconnected", "biddingWarning", "boostAboveMaxConnects", "jobNoLongerAvailable", "privateJob", "jobAlreadyBiddedOn", "biddingFailed", "alreadyHired"]>;
|
|
143
143
|
message: z.ZodOptional<z.ZodString>;
|
|
144
144
|
isSleepModeActive: z.ZodOptional<z.ZodBoolean>;
|
|
145
145
|
}, "strip", z.ZodTypeAny, {
|
|
146
146
|
campaignId: string;
|
|
147
147
|
organizationId: string;
|
|
148
148
|
leadId: string;
|
|
149
|
-
notificationType: "biddingFailed" | "boostAboveMaxConnects" | "privateJob" | "suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning" | "jobNoLongerAvailable" | "jobAlreadyBiddedOn";
|
|
149
|
+
notificationType: "biddingFailed" | "boostAboveMaxConnects" | "privateJob" | "alreadyHired" | "suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning" | "jobNoLongerAvailable" | "jobAlreadyBiddedOn";
|
|
150
150
|
message?: string | undefined;
|
|
151
151
|
isSleepModeActive?: boolean | undefined;
|
|
152
152
|
}, {
|
|
153
153
|
campaignId: string;
|
|
154
154
|
organizationId: string;
|
|
155
155
|
leadId: string;
|
|
156
|
-
notificationType: "biddingFailed" | "boostAboveMaxConnects" | "privateJob" | "suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning" | "jobNoLongerAvailable" | "jobAlreadyBiddedOn";
|
|
156
|
+
notificationType: "biddingFailed" | "boostAboveMaxConnects" | "privateJob" | "alreadyHired" | "suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning" | "jobNoLongerAvailable" | "jobAlreadyBiddedOn";
|
|
157
157
|
message?: string | undefined;
|
|
158
158
|
isSleepModeActive?: boolean | undefined;
|
|
159
159
|
}>;
|
|
@@ -341,9 +341,10 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
341
341
|
biddingDelayInMinutes: z.ZodDefault<z.ZodNumber>;
|
|
342
342
|
biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
|
|
343
343
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
344
|
+
alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
|
|
344
345
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
345
346
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
346
|
-
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>>;
|
|
347
|
+
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>>;
|
|
347
348
|
expenses: z.ZodObject<{
|
|
348
349
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
349
350
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -454,7 +455,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
454
455
|
createdAt: number;
|
|
455
456
|
updatedAt: number;
|
|
456
457
|
biddingDelayInMinutes: number;
|
|
457
|
-
bidWithWarning: "
|
|
458
|
+
bidWithWarning: "skip" | "bid";
|
|
458
459
|
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
459
460
|
biddingHourlyRatePercentage: number | null;
|
|
460
461
|
biddingFixedHourlyRate: number | null;
|
|
@@ -464,13 +465,14 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
464
465
|
maximumBoost: number | null;
|
|
465
466
|
minBoost: number | null;
|
|
466
467
|
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
468
|
+
alreadyHiredAction: "skip" | "bid";
|
|
467
469
|
bidConfig: {
|
|
468
470
|
contractorName: string | null;
|
|
469
471
|
agencyName: string | null;
|
|
470
472
|
specialisedProfile: string | null;
|
|
471
473
|
bidderId: string | null;
|
|
472
474
|
} | null;
|
|
473
|
-
leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won", number>> | null;
|
|
475
|
+
leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won", number>> | null;
|
|
474
476
|
filters: {
|
|
475
477
|
keywords: {
|
|
476
478
|
includes: string | null;
|
|
@@ -571,20 +573,21 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
571
573
|
};
|
|
572
574
|
createdAt: number;
|
|
573
575
|
updatedAt: number;
|
|
574
|
-
bidWithWarning: "
|
|
576
|
+
bidWithWarning: "skip" | "bid";
|
|
575
577
|
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
576
578
|
biddingHourlyRatePercentage: number | null;
|
|
577
579
|
biddingFixedHourlyRate: number | null;
|
|
578
580
|
boostDownToNthPlace: number | null;
|
|
579
581
|
connectsAbovePrevious: number | null;
|
|
580
582
|
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
583
|
+
alreadyHiredAction: "skip" | "bid";
|
|
581
584
|
bidConfig: {
|
|
582
585
|
contractorName: string | null;
|
|
583
586
|
agencyName: string | null;
|
|
584
587
|
specialisedProfile: string | null;
|
|
585
588
|
bidderId: string | null;
|
|
586
589
|
} | null;
|
|
587
|
-
leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won", number>> | null;
|
|
590
|
+
leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won", number>> | null;
|
|
588
591
|
filters: {
|
|
589
592
|
keywords: {
|
|
590
593
|
includes: string | null;
|
|
@@ -977,9 +980,10 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
977
980
|
biddingDelayInMinutes: z.ZodDefault<z.ZodNumber>;
|
|
978
981
|
biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
|
|
979
982
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
983
|
+
alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
|
|
980
984
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
981
985
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
982
|
-
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>>;
|
|
986
|
+
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>>;
|
|
983
987
|
expenses: z.ZodObject<{
|
|
984
988
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
985
989
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1087,7 +1091,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
1087
1091
|
windowAnchorAt: number | null;
|
|
1088
1092
|
};
|
|
1089
1093
|
biddingDelayInMinutes: number;
|
|
1090
|
-
bidWithWarning: "
|
|
1094
|
+
bidWithWarning: "skip" | "bid";
|
|
1091
1095
|
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
1092
1096
|
biddingHourlyRatePercentage: number | null;
|
|
1093
1097
|
biddingFixedHourlyRate: number | null;
|
|
@@ -1097,7 +1101,8 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
1097
1101
|
maximumBoost: number | null;
|
|
1098
1102
|
minBoost: number | null;
|
|
1099
1103
|
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
1100
|
-
|
|
1104
|
+
alreadyHiredAction: "skip" | "bid";
|
|
1105
|
+
leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won", number>> | null;
|
|
1101
1106
|
filters: {
|
|
1102
1107
|
keywords: {
|
|
1103
1108
|
includes: string | null;
|
|
@@ -1195,14 +1200,15 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
1195
1200
|
maxDailyProposalsSent: number;
|
|
1196
1201
|
windowAnchorAt: number | null;
|
|
1197
1202
|
};
|
|
1198
|
-
bidWithWarning: "
|
|
1203
|
+
bidWithWarning: "skip" | "bid";
|
|
1199
1204
|
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
1200
1205
|
biddingHourlyRatePercentage: number | null;
|
|
1201
1206
|
biddingFixedHourlyRate: number | null;
|
|
1202
1207
|
boostDownToNthPlace: number | null;
|
|
1203
1208
|
connectsAbovePrevious: number | null;
|
|
1204
1209
|
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
1205
|
-
|
|
1210
|
+
alreadyHiredAction: "skip" | "bid";
|
|
1211
|
+
leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won", number>> | null;
|
|
1206
1212
|
filters: {
|
|
1207
1213
|
keywords: {
|
|
1208
1214
|
includes: string | null;
|
|
@@ -1326,6 +1332,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1326
1332
|
maximumBoost: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
|
|
1327
1333
|
minBoost: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
|
|
1328
1334
|
insufficeintBoostConnectsAction: z.ZodOptional<z.ZodEnum<["skip", "bid_without_boost"]>>;
|
|
1335
|
+
alreadyHiredAction: z.ZodOptional<z.ZodEnum<["skip", "bid"]>>;
|
|
1329
1336
|
bidConfig: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1330
1337
|
agencyName: z.ZodNullable<z.ZodString>;
|
|
1331
1338
|
bidderId: z.ZodNullable<z.ZodString>;
|
|
@@ -1342,7 +1349,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1342
1349
|
specialisedProfile: string | null;
|
|
1343
1350
|
bidderId: string | null;
|
|
1344
1351
|
}>>>;
|
|
1345
|
-
leadCounts: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "won"]>, z.ZodNumber>>>;
|
|
1352
|
+
leadCounts: z.ZodOptional<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>>>;
|
|
1346
1353
|
filters: z.ZodOptional<z.ZodObject<{
|
|
1347
1354
|
keywords: z.ZodNullable<z.ZodObject<{
|
|
1348
1355
|
includes: z.ZodNullable<z.ZodString>;
|
|
@@ -1686,7 +1693,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1686
1693
|
windowAnchorAt: number | null;
|
|
1687
1694
|
} | undefined;
|
|
1688
1695
|
biddingDelayInMinutes?: number | undefined;
|
|
1689
|
-
bidWithWarning?: "
|
|
1696
|
+
bidWithWarning?: "skip" | "bid" | undefined;
|
|
1690
1697
|
biddingHourlyRateStrategy?: "match_job_budget" | "match_profile_rate" | "fixed_rate" | undefined;
|
|
1691
1698
|
biddingHourlyRatePercentage?: number | null | undefined;
|
|
1692
1699
|
biddingFixedHourlyRate?: number | null | undefined;
|
|
@@ -1696,13 +1703,14 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1696
1703
|
maximumBoost?: number | null | undefined;
|
|
1697
1704
|
minBoost?: number | null | undefined;
|
|
1698
1705
|
insufficeintBoostConnectsAction?: "skip" | "bid_without_boost" | undefined;
|
|
1706
|
+
alreadyHiredAction?: "skip" | "bid" | undefined;
|
|
1699
1707
|
bidConfig?: {
|
|
1700
1708
|
contractorName: string | null;
|
|
1701
1709
|
agencyName: string | null;
|
|
1702
1710
|
specialisedProfile: string | null;
|
|
1703
1711
|
bidderId: string | null;
|
|
1704
1712
|
} | null | undefined;
|
|
1705
|
-
leadCounts?: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won", number>> | null | undefined;
|
|
1713
|
+
leadCounts?: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won", number>> | null | undefined;
|
|
1706
1714
|
filters?: {
|
|
1707
1715
|
keywords: {
|
|
1708
1716
|
includes: string | null;
|
|
@@ -1802,7 +1810,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1802
1810
|
windowAnchorAt: number | null;
|
|
1803
1811
|
} | undefined;
|
|
1804
1812
|
biddingDelayInMinutes?: number | undefined;
|
|
1805
|
-
bidWithWarning?: "
|
|
1813
|
+
bidWithWarning?: "skip" | "bid" | undefined;
|
|
1806
1814
|
biddingHourlyRateStrategy?: "match_job_budget" | "match_profile_rate" | "fixed_rate" | undefined;
|
|
1807
1815
|
biddingHourlyRatePercentage?: number | null | undefined;
|
|
1808
1816
|
biddingFixedHourlyRate?: number | null | undefined;
|
|
@@ -1812,13 +1820,14 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1812
1820
|
maximumBoost?: number | null | undefined;
|
|
1813
1821
|
minBoost?: number | null | undefined;
|
|
1814
1822
|
insufficeintBoostConnectsAction?: "skip" | "bid_without_boost" | undefined;
|
|
1823
|
+
alreadyHiredAction?: "skip" | "bid" | undefined;
|
|
1815
1824
|
bidConfig?: {
|
|
1816
1825
|
contractorName: string | null;
|
|
1817
1826
|
agencyName: string | null;
|
|
1818
1827
|
specialisedProfile: string | null;
|
|
1819
1828
|
bidderId: string | null;
|
|
1820
1829
|
} | null | undefined;
|
|
1821
|
-
leadCounts?: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won", number>> | null | undefined;
|
|
1830
|
+
leadCounts?: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won", number>> | null | undefined;
|
|
1822
1831
|
filters?: {
|
|
1823
1832
|
keywords: {
|
|
1824
1833
|
includes: string | null;
|