lancer-shared 1.2.189 → 1.2.191
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 +278 -33
- package/dist/schemas/bidder/bid.d.ts +71 -14
- package/dist/schemas/bidder/exceptions/boost-above-max-connects.exception.d.ts +5 -0
- package/dist/schemas/bidder/exceptions/index.d.ts +3 -1
- package/dist/schemas/campaign/campaign-analytics.d.ts +360 -72
- package/dist/schemas/campaign/campaign-chat-bot.d.ts +11 -11
- package/dist/schemas/campaign/campaign.d.ts +232 -48
- package/dist/schemas/campaign/sequence/budget-node.d.ts +294 -0
- package/dist/schemas/campaign/sequence/client-size-node.d.ts +10 -10
- package/dist/schemas/campaign/sequence/client-spent-node.d.ts +18 -18
- package/dist/schemas/campaign/sequence/edges.d.ts +12 -0
- package/dist/schemas/campaign/sequence/fixed-budget-node.d.ts +91 -0
- package/dist/schemas/campaign/sequence/hire-rate-node.d.ts +18 -18
- package/dist/schemas/campaign/sequence/hourly-budget-node.d.ts +91 -0
- package/dist/schemas/campaign/sequence/hourly-rate-node.d.ts +18 -18
- package/dist/schemas/campaign/sequence/index.d.ts +4 -0
- package/dist/schemas/campaign/sequence/node-types.d.ts +1 -1
- package/dist/schemas/campaign/sequence/payment-type-node.d.ts +45 -0
- package/dist/schemas/campaign/sequence/payment-type.d.ts +45 -0
- package/dist/schemas/campaign/sequence/rating-node.d.ts +91 -0
- package/dist/schemas/campaign/sequence/start-node.d.ts +16 -0
- package/dist/schemas/campaign/sequence/suitability-node.d.ts +18 -18
- package/dist/schemas/scraper/scrape-payload.d.ts +113 -37
- package/dist/utils/timezones.d.ts +4 -3
- 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"]>;
|
|
2
|
+
export declare const campaignNotificationType: z.ZodEnum<["suitableLead", "proposalSent", "proposalViewed", "proposalReplied", "noConnects", "accountDisconnected", "biddingWarning", "boostAboveMaxConnects"]>;
|
|
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"]>, z.ZodDefault<z.ZodBoolean>>;
|
|
30
|
+
notificationSettings: z.ZodRecord<z.ZodEnum<["suitableLead", "proposalSent", "proposalViewed", "proposalReplied", "noConnects", "accountDisconnected", "biddingWarning", "boostAboveMaxConnects"]>, z.ZodDefault<z.ZodBoolean>>;
|
|
31
31
|
organizationId: z.ZodString;
|
|
32
32
|
campaignId: z.ZodString;
|
|
33
33
|
createdAt: z.ZodNumber;
|
|
@@ -40,7 +40,7 @@ export declare const chatbotSchema: z.ZodObject<{
|
|
|
40
40
|
}[];
|
|
41
41
|
selectedChannelId: string | null;
|
|
42
42
|
notificationsEnabled: boolean;
|
|
43
|
-
notificationSettings: Partial<Record<"suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning", boolean>>;
|
|
43
|
+
notificationSettings: Partial<Record<"suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning" | "boostAboveMaxConnects", boolean>>;
|
|
44
44
|
organizationId: string;
|
|
45
45
|
campaignId: string;
|
|
46
46
|
createdAt: number;
|
|
@@ -54,7 +54,7 @@ export declare const chatbotSchema: z.ZodObject<{
|
|
|
54
54
|
name: string;
|
|
55
55
|
}[];
|
|
56
56
|
selectedChannelId: string | null;
|
|
57
|
-
notificationSettings: Partial<Record<"suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning", boolean | undefined>>;
|
|
57
|
+
notificationSettings: Partial<Record<"suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning" | "boostAboveMaxConnects", boolean | undefined>>;
|
|
58
58
|
organizationId: string;
|
|
59
59
|
campaignId: string;
|
|
60
60
|
createdAt: number;
|
|
@@ -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"]>, z.ZodDefault<z.ZodBoolean>>;
|
|
82
|
+
notificationSettings: z.ZodRecord<z.ZodEnum<["suitableLead", "proposalSent", "proposalViewed", "proposalReplied", "noConnects", "accountDisconnected", "biddingWarning", "boostAboveMaxConnects"]>, 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"]>, z.ZodDefault<z.ZodBoolean>>;
|
|
124
|
+
notificationSettings: z.ZodRecord<z.ZodEnum<["suitableLead", "proposalSent", "proposalViewed", "proposalReplied", "noConnects", "accountDisconnected", "biddingWarning", "boostAboveMaxConnects"]>, 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
|
}, "selectedChannelId" | "notificationsEnabled" | "notificationSettings">, "strip", z.ZodTypeAny, {
|
|
130
130
|
selectedChannelId: string | null;
|
|
131
131
|
notificationsEnabled: boolean;
|
|
132
|
-
notificationSettings: Partial<Record<"suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning", boolean>>;
|
|
132
|
+
notificationSettings: Partial<Record<"suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning" | "boostAboveMaxConnects", boolean>>;
|
|
133
133
|
}, {
|
|
134
134
|
selectedChannelId: string | null;
|
|
135
|
-
notificationSettings: Partial<Record<"suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning", boolean | undefined>>;
|
|
135
|
+
notificationSettings: Partial<Record<"suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning" | "boostAboveMaxConnects", 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"]>;
|
|
142
|
+
notificationType: z.ZodEnum<["suitableLead", "proposalSent", "proposalViewed", "proposalReplied", "noConnects", "accountDisconnected", "biddingWarning", "boostAboveMaxConnects"]>;
|
|
143
143
|
message: z.ZodOptional<z.ZodString>;
|
|
144
144
|
isSleepModeActive: z.ZodOptional<z.ZodBoolean>;
|
|
145
145
|
}, "strip", z.ZodTypeAny, {
|
|
146
146
|
organizationId: string;
|
|
147
147
|
campaignId: string;
|
|
148
148
|
leadId: string;
|
|
149
|
-
notificationType: "suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning";
|
|
149
|
+
notificationType: "suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning" | "boostAboveMaxConnects";
|
|
150
150
|
message?: string | undefined;
|
|
151
151
|
isSleepModeActive?: boolean | undefined;
|
|
152
152
|
}, {
|
|
153
153
|
organizationId: string;
|
|
154
154
|
campaignId: string;
|
|
155
155
|
leadId: string;
|
|
156
|
-
notificationType: "suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning";
|
|
156
|
+
notificationType: "suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning" | "boostAboveMaxConnects";
|
|
157
157
|
message?: string | undefined;
|
|
158
158
|
isSleepModeActive?: boolean | undefined;
|
|
159
159
|
}>;
|
|
@@ -19,7 +19,50 @@ export declare const bidConfigSchema: z.ZodObject<{
|
|
|
19
19
|
}>;
|
|
20
20
|
export declare const campaignStatusSchema: z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"draft">, z.ZodLiteral<"paused">, z.ZodLiteral<"error">]>;
|
|
21
21
|
export declare const biddingHourlyRateStrategyEnum: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
|
|
22
|
+
export declare const weekDaysEnum: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
|
|
22
23
|
export declare const bidWithWarningEnum: z.ZodEnum<["bid", "skip"]>;
|
|
24
|
+
export declare const timeBlockSchema: z.ZodObject<{
|
|
25
|
+
fromHour: z.ZodNumber;
|
|
26
|
+
toHour: z.ZodNumber;
|
|
27
|
+
}, "strip", z.ZodTypeAny, {
|
|
28
|
+
fromHour: number;
|
|
29
|
+
toHour: number;
|
|
30
|
+
}, {
|
|
31
|
+
fromHour: number;
|
|
32
|
+
toHour: number;
|
|
33
|
+
}>;
|
|
34
|
+
export declare const workTimeSchema: z.ZodObject<{
|
|
35
|
+
enabled: z.ZodBoolean;
|
|
36
|
+
days: z.ZodArray<z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>, "many">;
|
|
37
|
+
timeBlocks: z.ZodArray<z.ZodObject<{
|
|
38
|
+
fromHour: z.ZodNumber;
|
|
39
|
+
toHour: z.ZodNumber;
|
|
40
|
+
}, "strip", z.ZodTypeAny, {
|
|
41
|
+
fromHour: number;
|
|
42
|
+
toHour: number;
|
|
43
|
+
}, {
|
|
44
|
+
fromHour: number;
|
|
45
|
+
toHour: number;
|
|
46
|
+
}>, "many">;
|
|
47
|
+
timezone: z.ZodNullable<z.ZodString>;
|
|
48
|
+
}, "strip", z.ZodTypeAny, {
|
|
49
|
+
enabled: boolean;
|
|
50
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
51
|
+
timeBlocks: {
|
|
52
|
+
fromHour: number;
|
|
53
|
+
toHour: number;
|
|
54
|
+
}[];
|
|
55
|
+
timezone: string | null;
|
|
56
|
+
}, {
|
|
57
|
+
enabled: boolean;
|
|
58
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
59
|
+
timeBlocks: {
|
|
60
|
+
fromHour: number;
|
|
61
|
+
toHour: number;
|
|
62
|
+
}[];
|
|
63
|
+
timezone: string | null;
|
|
64
|
+
}>;
|
|
65
|
+
export declare const insufficeintBoostConnectsActionEnum: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
23
66
|
export declare const campaignSchema: z.ZodObject<{
|
|
24
67
|
id: z.ZodString;
|
|
25
68
|
name: z.ZodString;
|
|
@@ -258,6 +301,9 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
258
301
|
confirmedBillingAt: z.ZodNullable<z.ZodNumber>;
|
|
259
302
|
boostingEnabled: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
|
260
303
|
maximumBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
304
|
+
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
305
|
+
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
306
|
+
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
261
307
|
monthlyBudget: z.ZodNullable<z.ZodNumber>;
|
|
262
308
|
boostingThreshold: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
263
309
|
biddingDelayInMinutes: z.ZodDefault<z.ZodNumber>;
|
|
@@ -265,10 +311,6 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
265
311
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
266
312
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
267
313
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
268
|
-
sleepEnabled: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
|
269
|
-
sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
270
|
-
sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
271
|
-
sleepTimezone: z.ZodNullable<z.ZodString>;
|
|
272
314
|
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
273
315
|
expenses: z.ZodObject<{
|
|
274
316
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -329,14 +371,45 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
329
371
|
enabled: z.ZodBoolean;
|
|
330
372
|
windowAnchorAt: z.ZodNullable<z.ZodNumber>;
|
|
331
373
|
}, "strip", z.ZodTypeAny, {
|
|
332
|
-
maxDailyProposalsSent: number;
|
|
333
374
|
enabled: boolean;
|
|
375
|
+
maxDailyProposalsSent: number;
|
|
334
376
|
windowAnchorAt: number | null;
|
|
335
377
|
}, {
|
|
336
|
-
maxDailyProposalsSent: number;
|
|
337
378
|
enabled: boolean;
|
|
379
|
+
maxDailyProposalsSent: number;
|
|
338
380
|
windowAnchorAt: number | null;
|
|
339
381
|
}>;
|
|
382
|
+
workTime: z.ZodObject<{
|
|
383
|
+
enabled: z.ZodBoolean;
|
|
384
|
+
days: z.ZodArray<z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>, "many">;
|
|
385
|
+
timeBlocks: z.ZodArray<z.ZodObject<{
|
|
386
|
+
fromHour: z.ZodNumber;
|
|
387
|
+
toHour: z.ZodNumber;
|
|
388
|
+
}, "strip", z.ZodTypeAny, {
|
|
389
|
+
fromHour: number;
|
|
390
|
+
toHour: number;
|
|
391
|
+
}, {
|
|
392
|
+
fromHour: number;
|
|
393
|
+
toHour: number;
|
|
394
|
+
}>, "many">;
|
|
395
|
+
timezone: z.ZodNullable<z.ZodString>;
|
|
396
|
+
}, "strip", z.ZodTypeAny, {
|
|
397
|
+
enabled: boolean;
|
|
398
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
399
|
+
timeBlocks: {
|
|
400
|
+
fromHour: number;
|
|
401
|
+
toHour: number;
|
|
402
|
+
}[];
|
|
403
|
+
timezone: string | null;
|
|
404
|
+
}, {
|
|
405
|
+
enabled: boolean;
|
|
406
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
407
|
+
timeBlocks: {
|
|
408
|
+
fromHour: number;
|
|
409
|
+
toHour: number;
|
|
410
|
+
}[];
|
|
411
|
+
timezone: string | null;
|
|
412
|
+
}>;
|
|
340
413
|
}, "strip", z.ZodTypeAny, {
|
|
341
414
|
id: string;
|
|
342
415
|
name: string;
|
|
@@ -397,6 +470,9 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
397
470
|
confirmedBillingAt: number | null;
|
|
398
471
|
boostingEnabled: boolean | null;
|
|
399
472
|
maximumBoost: number | null;
|
|
473
|
+
boostDownToNthPlace: number | null;
|
|
474
|
+
connectsAbovePrevious: number | null;
|
|
475
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
400
476
|
monthlyBudget: number | null;
|
|
401
477
|
boostingThreshold: number | null;
|
|
402
478
|
biddingDelayInMinutes: number;
|
|
@@ -404,10 +480,6 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
404
480
|
biddingFixedHourlyRate: number | null;
|
|
405
481
|
biddingHourlyRatePercentage: number | null;
|
|
406
482
|
bidWithWarning: "bid" | "skip";
|
|
407
|
-
sleepEnabled: boolean | null;
|
|
408
|
-
sleepStartAtHour: number | null;
|
|
409
|
-
sleepEndAtHour: number | null;
|
|
410
|
-
sleepTimezone: string | null;
|
|
411
483
|
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "viewed" | "replied" | "won", number>> | null;
|
|
412
484
|
expenses: {
|
|
413
485
|
biddingAmount: number;
|
|
@@ -433,10 +505,19 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
433
505
|
organizationProfileId: string | null;
|
|
434
506
|
lastSyncedProposalsAt: number | null;
|
|
435
507
|
limits: {
|
|
436
|
-
maxDailyProposalsSent: number;
|
|
437
508
|
enabled: boolean;
|
|
509
|
+
maxDailyProposalsSent: number;
|
|
438
510
|
windowAnchorAt: number | null;
|
|
439
511
|
};
|
|
512
|
+
workTime: {
|
|
513
|
+
enabled: boolean;
|
|
514
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
515
|
+
timeBlocks: {
|
|
516
|
+
fromHour: number;
|
|
517
|
+
toHour: number;
|
|
518
|
+
}[];
|
|
519
|
+
timezone: string | null;
|
|
520
|
+
};
|
|
440
521
|
status?: "active" | "draft" | "paused" | "error" | undefined;
|
|
441
522
|
}, {
|
|
442
523
|
id: string;
|
|
@@ -496,12 +577,14 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
496
577
|
createdAt: number;
|
|
497
578
|
updatedAt: number;
|
|
498
579
|
confirmedBillingAt: number | null;
|
|
580
|
+
boostDownToNthPlace: number | null;
|
|
581
|
+
connectsAbovePrevious: number | null;
|
|
582
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
499
583
|
monthlyBudget: number | null;
|
|
500
584
|
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
501
585
|
biddingFixedHourlyRate: number | null;
|
|
502
586
|
biddingHourlyRatePercentage: number | null;
|
|
503
587
|
bidWithWarning: "bid" | "skip";
|
|
504
|
-
sleepTimezone: string | null;
|
|
505
588
|
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "viewed" | "replied" | "won", number>> | null;
|
|
506
589
|
expenses: {
|
|
507
590
|
biddingAmount?: number | undefined;
|
|
@@ -527,18 +610,24 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
527
610
|
organizationProfileId: string | null;
|
|
528
611
|
lastSyncedProposalsAt: number | null;
|
|
529
612
|
limits: {
|
|
530
|
-
maxDailyProposalsSent: number;
|
|
531
613
|
enabled: boolean;
|
|
614
|
+
maxDailyProposalsSent: number;
|
|
532
615
|
windowAnchorAt: number | null;
|
|
533
616
|
};
|
|
617
|
+
workTime: {
|
|
618
|
+
enabled: boolean;
|
|
619
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
620
|
+
timeBlocks: {
|
|
621
|
+
fromHour: number;
|
|
622
|
+
toHour: number;
|
|
623
|
+
}[];
|
|
624
|
+
timezone: string | null;
|
|
625
|
+
};
|
|
534
626
|
status?: "active" | "draft" | "paused" | "error" | undefined;
|
|
535
627
|
boostingEnabled?: boolean | null | undefined;
|
|
536
628
|
maximumBoost?: number | null | undefined;
|
|
537
629
|
boostingThreshold?: number | null | undefined;
|
|
538
630
|
biddingDelayInMinutes?: number | undefined;
|
|
539
|
-
sleepEnabled?: boolean | null | undefined;
|
|
540
|
-
sleepStartAtHour?: number | null | undefined;
|
|
541
|
-
sleepEndAtHour?: number | null | undefined;
|
|
542
631
|
}>;
|
|
543
632
|
export declare const upworkAccountConnectStatusSchema: z.ZodUnion<[z.ZodLiteral<"processing">, z.ZodLiteral<"connected">, z.ZodLiteral<"failed">, z.ZodLiteral<"reconnecting">, z.ZodLiteral<"reconnected">, z.ZodLiteral<"reconnect_failed">]>;
|
|
544
633
|
export declare const upworkAccountConnectSchema: z.ZodObject<{
|
|
@@ -797,6 +886,9 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
797
886
|
confirmedBillingAt: z.ZodNullable<z.ZodNumber>;
|
|
798
887
|
boostingEnabled: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
|
799
888
|
maximumBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
889
|
+
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
890
|
+
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
891
|
+
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
800
892
|
monthlyBudget: z.ZodNullable<z.ZodNumber>;
|
|
801
893
|
boostingThreshold: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
802
894
|
biddingDelayInMinutes: z.ZodDefault<z.ZodNumber>;
|
|
@@ -804,10 +896,6 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
804
896
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
805
897
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
806
898
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
807
|
-
sleepEnabled: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
|
808
|
-
sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
809
|
-
sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
810
|
-
sleepTimezone: z.ZodNullable<z.ZodString>;
|
|
811
899
|
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
812
900
|
expenses: z.ZodObject<{
|
|
813
901
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -868,14 +956,45 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
868
956
|
enabled: z.ZodBoolean;
|
|
869
957
|
windowAnchorAt: z.ZodNullable<z.ZodNumber>;
|
|
870
958
|
}, "strip", z.ZodTypeAny, {
|
|
871
|
-
maxDailyProposalsSent: number;
|
|
872
959
|
enabled: boolean;
|
|
960
|
+
maxDailyProposalsSent: number;
|
|
873
961
|
windowAnchorAt: number | null;
|
|
874
962
|
}, {
|
|
875
|
-
maxDailyProposalsSent: number;
|
|
876
963
|
enabled: boolean;
|
|
964
|
+
maxDailyProposalsSent: number;
|
|
877
965
|
windowAnchorAt: number | null;
|
|
878
966
|
}>;
|
|
967
|
+
workTime: z.ZodObject<{
|
|
968
|
+
enabled: z.ZodBoolean;
|
|
969
|
+
days: z.ZodArray<z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>, "many">;
|
|
970
|
+
timeBlocks: z.ZodArray<z.ZodObject<{
|
|
971
|
+
fromHour: z.ZodNumber;
|
|
972
|
+
toHour: z.ZodNumber;
|
|
973
|
+
}, "strip", z.ZodTypeAny, {
|
|
974
|
+
fromHour: number;
|
|
975
|
+
toHour: number;
|
|
976
|
+
}, {
|
|
977
|
+
fromHour: number;
|
|
978
|
+
toHour: number;
|
|
979
|
+
}>, "many">;
|
|
980
|
+
timezone: z.ZodNullable<z.ZodString>;
|
|
981
|
+
}, "strip", z.ZodTypeAny, {
|
|
982
|
+
enabled: boolean;
|
|
983
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
984
|
+
timeBlocks: {
|
|
985
|
+
fromHour: number;
|
|
986
|
+
toHour: number;
|
|
987
|
+
}[];
|
|
988
|
+
timezone: string | null;
|
|
989
|
+
}, {
|
|
990
|
+
enabled: boolean;
|
|
991
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
992
|
+
timeBlocks: {
|
|
993
|
+
fromHour: number;
|
|
994
|
+
toHour: number;
|
|
995
|
+
}[];
|
|
996
|
+
timezone: string | null;
|
|
997
|
+
}>;
|
|
879
998
|
}, "id" | "createdAt" | "updatedAt" | "bidConfig">, "strip", z.ZodTypeAny, {
|
|
880
999
|
name: string;
|
|
881
1000
|
filters: {
|
|
@@ -933,6 +1052,9 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
933
1052
|
confirmedBillingAt: number | null;
|
|
934
1053
|
boostingEnabled: boolean | null;
|
|
935
1054
|
maximumBoost: number | null;
|
|
1055
|
+
boostDownToNthPlace: number | null;
|
|
1056
|
+
connectsAbovePrevious: number | null;
|
|
1057
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
936
1058
|
monthlyBudget: number | null;
|
|
937
1059
|
boostingThreshold: number | null;
|
|
938
1060
|
biddingDelayInMinutes: number;
|
|
@@ -940,10 +1062,6 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
940
1062
|
biddingFixedHourlyRate: number | null;
|
|
941
1063
|
biddingHourlyRatePercentage: number | null;
|
|
942
1064
|
bidWithWarning: "bid" | "skip";
|
|
943
|
-
sleepEnabled: boolean | null;
|
|
944
|
-
sleepStartAtHour: number | null;
|
|
945
|
-
sleepEndAtHour: number | null;
|
|
946
|
-
sleepTimezone: string | null;
|
|
947
1065
|
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "viewed" | "replied" | "won", number>> | null;
|
|
948
1066
|
expenses: {
|
|
949
1067
|
biddingAmount: number;
|
|
@@ -963,10 +1081,19 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
963
1081
|
organizationProfileId: string | null;
|
|
964
1082
|
lastSyncedProposalsAt: number | null;
|
|
965
1083
|
limits: {
|
|
966
|
-
maxDailyProposalsSent: number;
|
|
967
1084
|
enabled: boolean;
|
|
1085
|
+
maxDailyProposalsSent: number;
|
|
968
1086
|
windowAnchorAt: number | null;
|
|
969
1087
|
};
|
|
1088
|
+
workTime: {
|
|
1089
|
+
enabled: boolean;
|
|
1090
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
1091
|
+
timeBlocks: {
|
|
1092
|
+
fromHour: number;
|
|
1093
|
+
toHour: number;
|
|
1094
|
+
}[];
|
|
1095
|
+
timezone: string | null;
|
|
1096
|
+
};
|
|
970
1097
|
status?: "active" | "draft" | "paused" | "error" | undefined;
|
|
971
1098
|
}, {
|
|
972
1099
|
name: string;
|
|
@@ -1023,12 +1150,14 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
1023
1150
|
} | null;
|
|
1024
1151
|
};
|
|
1025
1152
|
confirmedBillingAt: number | null;
|
|
1153
|
+
boostDownToNthPlace: number | null;
|
|
1154
|
+
connectsAbovePrevious: number | null;
|
|
1155
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
1026
1156
|
monthlyBudget: number | null;
|
|
1027
1157
|
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
1028
1158
|
biddingFixedHourlyRate: number | null;
|
|
1029
1159
|
biddingHourlyRatePercentage: number | null;
|
|
1030
1160
|
bidWithWarning: "bid" | "skip";
|
|
1031
|
-
sleepTimezone: string | null;
|
|
1032
1161
|
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "viewed" | "replied" | "won", number>> | null;
|
|
1033
1162
|
expenses: {
|
|
1034
1163
|
biddingAmount?: number | undefined;
|
|
@@ -1048,18 +1177,24 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
1048
1177
|
organizationProfileId: string | null;
|
|
1049
1178
|
lastSyncedProposalsAt: number | null;
|
|
1050
1179
|
limits: {
|
|
1051
|
-
maxDailyProposalsSent: number;
|
|
1052
1180
|
enabled: boolean;
|
|
1181
|
+
maxDailyProposalsSent: number;
|
|
1053
1182
|
windowAnchorAt: number | null;
|
|
1054
1183
|
};
|
|
1184
|
+
workTime: {
|
|
1185
|
+
enabled: boolean;
|
|
1186
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
1187
|
+
timeBlocks: {
|
|
1188
|
+
fromHour: number;
|
|
1189
|
+
toHour: number;
|
|
1190
|
+
}[];
|
|
1191
|
+
timezone: string | null;
|
|
1192
|
+
};
|
|
1055
1193
|
status?: "active" | "draft" | "paused" | "error" | undefined;
|
|
1056
1194
|
boostingEnabled?: boolean | null | undefined;
|
|
1057
1195
|
maximumBoost?: number | null | undefined;
|
|
1058
1196
|
boostingThreshold?: number | null | undefined;
|
|
1059
1197
|
biddingDelayInMinutes?: number | undefined;
|
|
1060
|
-
sleepEnabled?: boolean | null | undefined;
|
|
1061
|
-
sleepStartAtHour?: number | null | undefined;
|
|
1062
|
-
sleepEndAtHour?: number | null | undefined;
|
|
1063
1198
|
}>;
|
|
1064
1199
|
export declare const updateCampaignSchema: z.ZodObject<{
|
|
1065
1200
|
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"draft">, z.ZodLiteral<"paused">, z.ZodLiteral<"error">]>>>;
|
|
@@ -1298,6 +1433,9 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1298
1433
|
confirmedBillingAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1299
1434
|
boostingEnabled: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodBoolean>>>;
|
|
1300
1435
|
maximumBoost: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
|
|
1436
|
+
boostDownToNthPlace: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1437
|
+
connectsAbovePrevious: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1438
|
+
insufficeintBoostConnectsAction: z.ZodOptional<z.ZodEnum<["skip", "bid_without_boost"]>>;
|
|
1301
1439
|
monthlyBudget: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1302
1440
|
boostingThreshold: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
|
|
1303
1441
|
biddingDelayInMinutes: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
@@ -1305,10 +1443,6 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1305
1443
|
biddingFixedHourlyRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1306
1444
|
biddingHourlyRatePercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1307
1445
|
bidWithWarning: z.ZodOptional<z.ZodEnum<["bid", "skip"]>>;
|
|
1308
|
-
sleepEnabled: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodBoolean>>>;
|
|
1309
|
-
sleepStartAtHour: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
|
|
1310
|
-
sleepEndAtHour: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
|
|
1311
|
-
sleepTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1312
1446
|
leadCounts: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>, z.ZodNumber>>>;
|
|
1313
1447
|
expenses: z.ZodOptional<z.ZodObject<{
|
|
1314
1448
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1368,14 +1502,45 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1368
1502
|
enabled: z.ZodBoolean;
|
|
1369
1503
|
windowAnchorAt: z.ZodNullable<z.ZodNumber>;
|
|
1370
1504
|
}, "strip", z.ZodTypeAny, {
|
|
1371
|
-
maxDailyProposalsSent: number;
|
|
1372
1505
|
enabled: boolean;
|
|
1506
|
+
maxDailyProposalsSent: number;
|
|
1373
1507
|
windowAnchorAt: number | null;
|
|
1374
1508
|
}, {
|
|
1375
|
-
maxDailyProposalsSent: number;
|
|
1376
1509
|
enabled: boolean;
|
|
1510
|
+
maxDailyProposalsSent: number;
|
|
1377
1511
|
windowAnchorAt: number | null;
|
|
1378
1512
|
}>>;
|
|
1513
|
+
workTime: z.ZodOptional<z.ZodObject<{
|
|
1514
|
+
enabled: z.ZodBoolean;
|
|
1515
|
+
days: z.ZodArray<z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>, "many">;
|
|
1516
|
+
timeBlocks: z.ZodArray<z.ZodObject<{
|
|
1517
|
+
fromHour: z.ZodNumber;
|
|
1518
|
+
toHour: z.ZodNumber;
|
|
1519
|
+
}, "strip", z.ZodTypeAny, {
|
|
1520
|
+
fromHour: number;
|
|
1521
|
+
toHour: number;
|
|
1522
|
+
}, {
|
|
1523
|
+
fromHour: number;
|
|
1524
|
+
toHour: number;
|
|
1525
|
+
}>, "many">;
|
|
1526
|
+
timezone: z.ZodNullable<z.ZodString>;
|
|
1527
|
+
}, "strip", z.ZodTypeAny, {
|
|
1528
|
+
enabled: boolean;
|
|
1529
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
1530
|
+
timeBlocks: {
|
|
1531
|
+
fromHour: number;
|
|
1532
|
+
toHour: number;
|
|
1533
|
+
}[];
|
|
1534
|
+
timezone: string | null;
|
|
1535
|
+
}, {
|
|
1536
|
+
enabled: boolean;
|
|
1537
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
1538
|
+
timeBlocks: {
|
|
1539
|
+
fromHour: number;
|
|
1540
|
+
toHour: number;
|
|
1541
|
+
}[];
|
|
1542
|
+
timezone: string | null;
|
|
1543
|
+
}>>;
|
|
1379
1544
|
}, "strip", z.ZodTypeAny, {
|
|
1380
1545
|
status?: "active" | "draft" | "paused" | "error" | undefined;
|
|
1381
1546
|
id?: string | undefined;
|
|
@@ -1435,6 +1600,9 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1435
1600
|
confirmedBillingAt?: number | null | undefined;
|
|
1436
1601
|
boostingEnabled?: boolean | null | undefined;
|
|
1437
1602
|
maximumBoost?: number | null | undefined;
|
|
1603
|
+
boostDownToNthPlace?: number | null | undefined;
|
|
1604
|
+
connectsAbovePrevious?: number | null | undefined;
|
|
1605
|
+
insufficeintBoostConnectsAction?: "skip" | "bid_without_boost" | undefined;
|
|
1438
1606
|
monthlyBudget?: number | null | undefined;
|
|
1439
1607
|
boostingThreshold?: number | null | undefined;
|
|
1440
1608
|
biddingDelayInMinutes?: number | undefined;
|
|
@@ -1442,10 +1610,6 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1442
1610
|
biddingFixedHourlyRate?: number | null | undefined;
|
|
1443
1611
|
biddingHourlyRatePercentage?: number | null | undefined;
|
|
1444
1612
|
bidWithWarning?: "bid" | "skip" | undefined;
|
|
1445
|
-
sleepEnabled?: boolean | null | undefined;
|
|
1446
|
-
sleepStartAtHour?: number | null | undefined;
|
|
1447
|
-
sleepEndAtHour?: number | null | undefined;
|
|
1448
|
-
sleepTimezone?: string | null | undefined;
|
|
1449
1613
|
leadCounts?: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "viewed" | "replied" | "won", number>> | null | undefined;
|
|
1450
1614
|
expenses?: {
|
|
1451
1615
|
biddingAmount: number;
|
|
@@ -1471,10 +1635,19 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1471
1635
|
organizationProfileId?: string | null | undefined;
|
|
1472
1636
|
lastSyncedProposalsAt?: number | null | undefined;
|
|
1473
1637
|
limits?: {
|
|
1474
|
-
maxDailyProposalsSent: number;
|
|
1475
1638
|
enabled: boolean;
|
|
1639
|
+
maxDailyProposalsSent: number;
|
|
1476
1640
|
windowAnchorAt: number | null;
|
|
1477
1641
|
} | undefined;
|
|
1642
|
+
workTime?: {
|
|
1643
|
+
enabled: boolean;
|
|
1644
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
1645
|
+
timeBlocks: {
|
|
1646
|
+
fromHour: number;
|
|
1647
|
+
toHour: number;
|
|
1648
|
+
}[];
|
|
1649
|
+
timezone: string | null;
|
|
1650
|
+
} | undefined;
|
|
1478
1651
|
}, {
|
|
1479
1652
|
status?: "active" | "draft" | "paused" | "error" | undefined;
|
|
1480
1653
|
id?: string | undefined;
|
|
@@ -1534,6 +1707,9 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1534
1707
|
confirmedBillingAt?: number | null | undefined;
|
|
1535
1708
|
boostingEnabled?: boolean | null | undefined;
|
|
1536
1709
|
maximumBoost?: number | null | undefined;
|
|
1710
|
+
boostDownToNthPlace?: number | null | undefined;
|
|
1711
|
+
connectsAbovePrevious?: number | null | undefined;
|
|
1712
|
+
insufficeintBoostConnectsAction?: "skip" | "bid_without_boost" | undefined;
|
|
1537
1713
|
monthlyBudget?: number | null | undefined;
|
|
1538
1714
|
boostingThreshold?: number | null | undefined;
|
|
1539
1715
|
biddingDelayInMinutes?: number | undefined;
|
|
@@ -1541,10 +1717,6 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1541
1717
|
biddingFixedHourlyRate?: number | null | undefined;
|
|
1542
1718
|
biddingHourlyRatePercentage?: number | null | undefined;
|
|
1543
1719
|
bidWithWarning?: "bid" | "skip" | undefined;
|
|
1544
|
-
sleepEnabled?: boolean | null | undefined;
|
|
1545
|
-
sleepStartAtHour?: number | null | undefined;
|
|
1546
|
-
sleepEndAtHour?: number | null | undefined;
|
|
1547
|
-
sleepTimezone?: string | null | undefined;
|
|
1548
1720
|
leadCounts?: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "viewed" | "replied" | "won", number>> | null | undefined;
|
|
1549
1721
|
expenses?: {
|
|
1550
1722
|
biddingAmount?: number | undefined;
|
|
@@ -1570,10 +1742,19 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1570
1742
|
organizationProfileId?: string | null | undefined;
|
|
1571
1743
|
lastSyncedProposalsAt?: number | null | undefined;
|
|
1572
1744
|
limits?: {
|
|
1573
|
-
maxDailyProposalsSent: number;
|
|
1574
1745
|
enabled: boolean;
|
|
1746
|
+
maxDailyProposalsSent: number;
|
|
1575
1747
|
windowAnchorAt: number | null;
|
|
1576
1748
|
} | undefined;
|
|
1749
|
+
workTime?: {
|
|
1750
|
+
enabled: boolean;
|
|
1751
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
1752
|
+
timeBlocks: {
|
|
1753
|
+
fromHour: number;
|
|
1754
|
+
toHour: number;
|
|
1755
|
+
}[];
|
|
1756
|
+
timezone: string | null;
|
|
1757
|
+
} | undefined;
|
|
1577
1758
|
}>;
|
|
1578
1759
|
export type BiddingHourlyRateStrategy = z.infer<typeof biddingHourlyRateStrategyEnum>;
|
|
1579
1760
|
export interface Campaign extends z.infer<typeof campaignSchema> {
|
|
@@ -1591,3 +1772,6 @@ export interface UpdateCampaign extends z.infer<typeof updateCampaignSchema> {
|
|
|
1591
1772
|
}
|
|
1592
1773
|
export interface BidConfig extends infer<typeof bidConfigSchema> {
|
|
1593
1774
|
}
|
|
1775
|
+
export type WeekDays = z.infer<typeof weekDaysEnum>;
|
|
1776
|
+
export type TimeBlock = z.infer<typeof timeBlockSchema>;
|
|
1777
|
+
export type WorkTime = z.infer<typeof workTimeSchema>;
|