lancer-shared 1.2.260 → 1.2.262
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 +141 -35
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +138 -36
- package/dist/bundle.esm.js.map +1 -1
- package/dist/constants/routes.d.ts +1 -0
- package/dist/schemas/agent/index.d.ts +165 -18
- package/dist/schemas/agent/proposal.d.ts +1 -1
- package/dist/schemas/bidder/bid.d.ts +1680 -304
- package/dist/schemas/campaign/campaign-analytics.d.ts +614 -38
- package/dist/schemas/campaign/campaign-search.d.ts +3 -5
- package/dist/schemas/campaign/campaign.d.ts +127 -127
- package/dist/schemas/lead/index.d.ts +675 -72
- package/dist/schemas/lead/lead-status.d.ts +7 -7
- package/dist/schemas/logger/log-event.d.ts +31 -17
- package/dist/schemas/organization/index.d.ts +1 -0
- package/dist/schemas/organization/organization-leads.d.ts +23 -0
- package/dist/schemas/scraper/scrape-payload.d.ts +233 -89
- package/package.json +1 -1
|
@@ -5,6 +5,7 @@ export declare const SearchFieldsSchema: z.ZodObject<{
|
|
|
5
5
|
noneWords: z.ZodDefault<z.ZodString>;
|
|
6
6
|
exactPhrase: z.ZodDefault<z.ZodString>;
|
|
7
7
|
titleSearch: z.ZodDefault<z.ZodString>;
|
|
8
|
+
titleAny: z.ZodDefault<z.ZodString>;
|
|
8
9
|
skillsSearch: z.ZodDefault<z.ZodString>;
|
|
9
10
|
}, "strip", z.ZodTypeAny, {
|
|
10
11
|
allWords: string;
|
|
@@ -12,6 +13,7 @@ export declare const SearchFieldsSchema: z.ZodObject<{
|
|
|
12
13
|
noneWords: string;
|
|
13
14
|
exactPhrase: string;
|
|
14
15
|
titleSearch: string;
|
|
16
|
+
titleAny: string;
|
|
15
17
|
skillsSearch: string;
|
|
16
18
|
}, {
|
|
17
19
|
allWords?: string | undefined;
|
|
@@ -19,6 +21,7 @@ export declare const SearchFieldsSchema: z.ZodObject<{
|
|
|
19
21
|
noneWords?: string | undefined;
|
|
20
22
|
exactPhrase?: string | undefined;
|
|
21
23
|
titleSearch?: string | undefined;
|
|
24
|
+
titleAny?: string | undefined;
|
|
22
25
|
skillsSearch?: string | undefined;
|
|
23
26
|
}>;
|
|
24
27
|
export type SearchFields = z.infer<typeof SearchFieldsSchema>;
|
|
@@ -42,11 +45,6 @@ export declare class SearchQueryBuilder {
|
|
|
42
45
|
valid: false;
|
|
43
46
|
errors: string[];
|
|
44
47
|
};
|
|
45
|
-
/**
|
|
46
|
-
* Test/demo method to show phrase handling
|
|
47
|
-
* Remove this in production
|
|
48
|
-
*/
|
|
49
|
-
static examples(): void;
|
|
50
48
|
/**
|
|
51
49
|
* Parse a query string back into SearchFields structure
|
|
52
50
|
* Fixed to handle grouped NOT expressions correctly
|
|
@@ -343,7 +343,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
343
343
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
344
344
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
345
345
|
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", "won"]>, z.ZodNumber>>;
|
|
346
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>, z.ZodNumber>>;
|
|
347
347
|
expenses: z.ZodObject<{
|
|
348
348
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
349
349
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -453,7 +453,24 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
453
453
|
};
|
|
454
454
|
createdAt: number;
|
|
455
455
|
updatedAt: number;
|
|
456
|
-
|
|
456
|
+
biddingDelayInMinutes: number;
|
|
457
|
+
bidWithWarning: "bid" | "skip";
|
|
458
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
459
|
+
biddingHourlyRatePercentage: number | null;
|
|
460
|
+
biddingFixedHourlyRate: number | null;
|
|
461
|
+
boostingEnabled: boolean | null;
|
|
462
|
+
boostDownToNthPlace: number | null;
|
|
463
|
+
connectsAbovePrevious: number | null;
|
|
464
|
+
maximumBoost: number | null;
|
|
465
|
+
minBoost: number | null;
|
|
466
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
467
|
+
bidConfig: {
|
|
468
|
+
contractorName: string | null;
|
|
469
|
+
agencyName: string | null;
|
|
470
|
+
specialisedProfile: string | null;
|
|
471
|
+
bidderId: string | null;
|
|
472
|
+
} | null;
|
|
473
|
+
leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won", number>> | null;
|
|
457
474
|
filters: {
|
|
458
475
|
keywords: {
|
|
459
476
|
includes: string | null;
|
|
@@ -514,33 +531,16 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
514
531
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
515
532
|
} | null;
|
|
516
533
|
};
|
|
534
|
+
coverLetterTemplateId: string | null;
|
|
517
535
|
confirmedBillingAt: number | null;
|
|
518
|
-
boostingEnabled: boolean | null;
|
|
519
|
-
maximumBoost: number | null;
|
|
520
|
-
minBoost: number | null;
|
|
521
|
-
boostDownToNthPlace: number | null;
|
|
522
|
-
connectsAbovePrevious: number | null;
|
|
523
|
-
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
524
536
|
monthlyBudget: number | null;
|
|
525
537
|
boostingThreshold: number | null;
|
|
526
|
-
biddingDelayInMinutes: number;
|
|
527
|
-
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
528
|
-
biddingFixedHourlyRate: number | null;
|
|
529
|
-
biddingHourlyRatePercentage: number | null;
|
|
530
|
-
bidWithWarning: "bid" | "skip";
|
|
531
538
|
expenses: {
|
|
532
539
|
biddingAmount: number;
|
|
533
540
|
boosted: number;
|
|
534
541
|
boostingAmount: number;
|
|
535
542
|
};
|
|
536
543
|
notificationsEnabled: boolean | null;
|
|
537
|
-
bidConfig: {
|
|
538
|
-
contractorName: string | null;
|
|
539
|
-
agencyName: string | null;
|
|
540
|
-
specialisedProfile: string | null;
|
|
541
|
-
bidderId: string | null;
|
|
542
|
-
} | null;
|
|
543
|
-
coverLetterTemplateId: string | null;
|
|
544
544
|
coverLetterTemplate: {
|
|
545
545
|
id: string;
|
|
546
546
|
name: string;
|
|
@@ -571,7 +571,20 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
571
571
|
};
|
|
572
572
|
createdAt: number;
|
|
573
573
|
updatedAt: number;
|
|
574
|
-
|
|
574
|
+
bidWithWarning: "bid" | "skip";
|
|
575
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
576
|
+
biddingHourlyRatePercentage: number | null;
|
|
577
|
+
biddingFixedHourlyRate: number | null;
|
|
578
|
+
boostDownToNthPlace: number | null;
|
|
579
|
+
connectsAbovePrevious: number | null;
|
|
580
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
581
|
+
bidConfig: {
|
|
582
|
+
contractorName: string | null;
|
|
583
|
+
agencyName: string | null;
|
|
584
|
+
specialisedProfile: string | null;
|
|
585
|
+
bidderId: string | null;
|
|
586
|
+
} | null;
|
|
587
|
+
leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won", number>> | null;
|
|
575
588
|
filters: {
|
|
576
589
|
keywords: {
|
|
577
590
|
includes: string | null;
|
|
@@ -632,28 +645,15 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
632
645
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
633
646
|
} | null;
|
|
634
647
|
};
|
|
648
|
+
coverLetterTemplateId: string | null;
|
|
635
649
|
confirmedBillingAt: number | null;
|
|
636
|
-
boostDownToNthPlace: number | null;
|
|
637
|
-
connectsAbovePrevious: number | null;
|
|
638
|
-
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
639
650
|
monthlyBudget: number | null;
|
|
640
|
-
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
641
|
-
biddingFixedHourlyRate: number | null;
|
|
642
|
-
biddingHourlyRatePercentage: number | null;
|
|
643
|
-
bidWithWarning: "bid" | "skip";
|
|
644
651
|
expenses: {
|
|
645
652
|
biddingAmount?: number | undefined;
|
|
646
653
|
boosted?: number | undefined;
|
|
647
654
|
boostingAmount?: number | undefined;
|
|
648
655
|
};
|
|
649
656
|
notificationsEnabled: boolean | null;
|
|
650
|
-
bidConfig: {
|
|
651
|
-
contractorName: string | null;
|
|
652
|
-
agencyName: string | null;
|
|
653
|
-
specialisedProfile: string | null;
|
|
654
|
-
bidderId: string | null;
|
|
655
|
-
} | null;
|
|
656
|
-
coverLetterTemplateId: string | null;
|
|
657
657
|
coverLetterTemplate: {
|
|
658
658
|
id: string;
|
|
659
659
|
name: string;
|
|
@@ -673,11 +673,11 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
673
673
|
timezone: string | null;
|
|
674
674
|
};
|
|
675
675
|
status?: "error" | "active" | "paused" | "draft" | undefined;
|
|
676
|
+
biddingDelayInMinutes?: number | undefined;
|
|
676
677
|
boostingEnabled?: boolean | null | undefined;
|
|
677
678
|
maximumBoost?: number | null | undefined;
|
|
678
679
|
minBoost?: number | null | undefined;
|
|
679
680
|
boostingThreshold?: number | null | undefined;
|
|
680
|
-
biddingDelayInMinutes?: number | undefined;
|
|
681
681
|
}>;
|
|
682
682
|
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">]>;
|
|
683
683
|
export declare const upworkAccountConnectSchema: z.ZodObject<{
|
|
@@ -979,7 +979,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
979
979
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
980
980
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
981
981
|
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", "won"]>, z.ZodNumber>>;
|
|
982
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>, z.ZodNumber>>;
|
|
983
983
|
expenses: z.ZodObject<{
|
|
984
984
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
985
985
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1086,7 +1086,18 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
1086
1086
|
maxDailyProposalsSent: number;
|
|
1087
1087
|
windowAnchorAt: number | null;
|
|
1088
1088
|
};
|
|
1089
|
-
|
|
1089
|
+
biddingDelayInMinutes: number;
|
|
1090
|
+
bidWithWarning: "bid" | "skip";
|
|
1091
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
1092
|
+
biddingHourlyRatePercentage: number | null;
|
|
1093
|
+
biddingFixedHourlyRate: number | null;
|
|
1094
|
+
boostingEnabled: boolean | null;
|
|
1095
|
+
boostDownToNthPlace: number | null;
|
|
1096
|
+
connectsAbovePrevious: number | null;
|
|
1097
|
+
maximumBoost: number | null;
|
|
1098
|
+
minBoost: number | null;
|
|
1099
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
1100
|
+
leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won", number>> | null;
|
|
1090
1101
|
filters: {
|
|
1091
1102
|
keywords: {
|
|
1092
1103
|
includes: string | null;
|
|
@@ -1147,27 +1158,16 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
1147
1158
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
1148
1159
|
} | null;
|
|
1149
1160
|
};
|
|
1161
|
+
coverLetterTemplateId: string | null;
|
|
1150
1162
|
confirmedBillingAt: number | null;
|
|
1151
|
-
boostingEnabled: boolean | null;
|
|
1152
|
-
maximumBoost: number | null;
|
|
1153
|
-
minBoost: number | null;
|
|
1154
|
-
boostDownToNthPlace: number | null;
|
|
1155
|
-
connectsAbovePrevious: number | null;
|
|
1156
|
-
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
1157
1163
|
monthlyBudget: number | null;
|
|
1158
1164
|
boostingThreshold: number | null;
|
|
1159
|
-
biddingDelayInMinutes: number;
|
|
1160
|
-
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
1161
|
-
biddingFixedHourlyRate: number | null;
|
|
1162
|
-
biddingHourlyRatePercentage: number | null;
|
|
1163
|
-
bidWithWarning: "bid" | "skip";
|
|
1164
1165
|
expenses: {
|
|
1165
1166
|
biddingAmount: number;
|
|
1166
1167
|
boosted: number;
|
|
1167
1168
|
boostingAmount: number;
|
|
1168
1169
|
};
|
|
1169
1170
|
notificationsEnabled: boolean | null;
|
|
1170
|
-
coverLetterTemplateId: string | null;
|
|
1171
1171
|
coverLetterTemplate: {
|
|
1172
1172
|
id: string;
|
|
1173
1173
|
name: string;
|
|
@@ -1195,7 +1195,14 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
1195
1195
|
maxDailyProposalsSent: number;
|
|
1196
1196
|
windowAnchorAt: number | null;
|
|
1197
1197
|
};
|
|
1198
|
-
|
|
1198
|
+
bidWithWarning: "bid" | "skip";
|
|
1199
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
1200
|
+
biddingHourlyRatePercentage: number | null;
|
|
1201
|
+
biddingFixedHourlyRate: number | null;
|
|
1202
|
+
boostDownToNthPlace: number | null;
|
|
1203
|
+
connectsAbovePrevious: number | null;
|
|
1204
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
1205
|
+
leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won", number>> | null;
|
|
1199
1206
|
filters: {
|
|
1200
1207
|
keywords: {
|
|
1201
1208
|
includes: string | null;
|
|
@@ -1256,22 +1263,15 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
1256
1263
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
1257
1264
|
} | null;
|
|
1258
1265
|
};
|
|
1266
|
+
coverLetterTemplateId: string | null;
|
|
1259
1267
|
confirmedBillingAt: number | null;
|
|
1260
|
-
boostDownToNthPlace: number | null;
|
|
1261
|
-
connectsAbovePrevious: number | null;
|
|
1262
|
-
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
1263
1268
|
monthlyBudget: number | null;
|
|
1264
|
-
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
1265
|
-
biddingFixedHourlyRate: number | null;
|
|
1266
|
-
biddingHourlyRatePercentage: number | null;
|
|
1267
|
-
bidWithWarning: "bid" | "skip";
|
|
1268
1269
|
expenses: {
|
|
1269
1270
|
biddingAmount?: number | undefined;
|
|
1270
1271
|
boosted?: number | undefined;
|
|
1271
1272
|
boostingAmount?: number | undefined;
|
|
1272
1273
|
};
|
|
1273
1274
|
notificationsEnabled: boolean | null;
|
|
1274
|
-
coverLetterTemplateId: string | null;
|
|
1275
1275
|
coverLetterTemplate: {
|
|
1276
1276
|
id: string;
|
|
1277
1277
|
name: string;
|
|
@@ -1291,11 +1291,11 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
1291
1291
|
timezone: string | null;
|
|
1292
1292
|
};
|
|
1293
1293
|
status?: "error" | "active" | "paused" | "draft" | undefined;
|
|
1294
|
+
biddingDelayInMinutes?: number | undefined;
|
|
1294
1295
|
boostingEnabled?: boolean | null | undefined;
|
|
1295
1296
|
maximumBoost?: number | null | undefined;
|
|
1296
1297
|
minBoost?: number | null | undefined;
|
|
1297
1298
|
boostingThreshold?: number | null | undefined;
|
|
1298
|
-
biddingDelayInMinutes?: number | undefined;
|
|
1299
1299
|
}>;
|
|
1300
1300
|
export declare const updateCampaignSchema: z.ZodObject<{
|
|
1301
1301
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1315,7 +1315,34 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1315
1315
|
maxDailyProposalsSent: number;
|
|
1316
1316
|
windowAnchorAt: number | null;
|
|
1317
1317
|
}>>;
|
|
1318
|
-
|
|
1318
|
+
biddingDelayInMinutes: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
1319
|
+
bidWithWarning: z.ZodOptional<z.ZodEnum<["bid", "skip"]>>;
|
|
1320
|
+
biddingHourlyRateStrategy: z.ZodOptional<z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>>;
|
|
1321
|
+
biddingHourlyRatePercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1322
|
+
biddingFixedHourlyRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1323
|
+
boostingEnabled: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodBoolean>>>;
|
|
1324
|
+
boostDownToNthPlace: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1325
|
+
connectsAbovePrevious: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1326
|
+
maximumBoost: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
|
|
1327
|
+
minBoost: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
|
|
1328
|
+
insufficeintBoostConnectsAction: z.ZodOptional<z.ZodEnum<["skip", "bid_without_boost"]>>;
|
|
1329
|
+
bidConfig: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1330
|
+
agencyName: z.ZodNullable<z.ZodString>;
|
|
1331
|
+
bidderId: z.ZodNullable<z.ZodString>;
|
|
1332
|
+
contractorName: z.ZodNullable<z.ZodString>;
|
|
1333
|
+
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
1334
|
+
}, "strip", z.ZodTypeAny, {
|
|
1335
|
+
contractorName: string | null;
|
|
1336
|
+
agencyName: string | null;
|
|
1337
|
+
specialisedProfile: string | null;
|
|
1338
|
+
bidderId: string | null;
|
|
1339
|
+
}, {
|
|
1340
|
+
contractorName: string | null;
|
|
1341
|
+
agencyName: string | null;
|
|
1342
|
+
specialisedProfile: string | null;
|
|
1343
|
+
bidderId: string | null;
|
|
1344
|
+
}>>>;
|
|
1345
|
+
leadCounts: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>, z.ZodNumber>>>;
|
|
1319
1346
|
filters: z.ZodOptional<z.ZodObject<{
|
|
1320
1347
|
keywords: z.ZodNullable<z.ZodObject<{
|
|
1321
1348
|
includes: z.ZodNullable<z.ZodString>;
|
|
@@ -1578,20 +1605,10 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1578
1605
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
1579
1606
|
} | null;
|
|
1580
1607
|
}>>;
|
|
1608
|
+
coverLetterTemplateId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1581
1609
|
confirmedBillingAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1582
|
-
boostingEnabled: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodBoolean>>>;
|
|
1583
|
-
maximumBoost: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
|
|
1584
|
-
minBoost: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
|
|
1585
|
-
boostDownToNthPlace: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1586
|
-
connectsAbovePrevious: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1587
|
-
insufficeintBoostConnectsAction: z.ZodOptional<z.ZodEnum<["skip", "bid_without_boost"]>>;
|
|
1588
1610
|
monthlyBudget: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1589
1611
|
boostingThreshold: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
|
|
1590
|
-
biddingDelayInMinutes: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
1591
|
-
biddingHourlyRateStrategy: z.ZodOptional<z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>>;
|
|
1592
|
-
biddingFixedHourlyRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1593
|
-
biddingHourlyRatePercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1594
|
-
bidWithWarning: z.ZodOptional<z.ZodEnum<["bid", "skip"]>>;
|
|
1595
1612
|
expenses: z.ZodOptional<z.ZodObject<{
|
|
1596
1613
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
1597
1614
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1606,23 +1623,6 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1606
1623
|
boostingAmount?: number | undefined;
|
|
1607
1624
|
}>>;
|
|
1608
1625
|
notificationsEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1609
|
-
bidConfig: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1610
|
-
agencyName: z.ZodNullable<z.ZodString>;
|
|
1611
|
-
bidderId: z.ZodNullable<z.ZodString>;
|
|
1612
|
-
contractorName: z.ZodNullable<z.ZodString>;
|
|
1613
|
-
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
1614
|
-
}, "strip", z.ZodTypeAny, {
|
|
1615
|
-
contractorName: string | null;
|
|
1616
|
-
agencyName: string | null;
|
|
1617
|
-
specialisedProfile: string | null;
|
|
1618
|
-
bidderId: string | null;
|
|
1619
|
-
}, {
|
|
1620
|
-
contractorName: string | null;
|
|
1621
|
-
agencyName: string | null;
|
|
1622
|
-
specialisedProfile: string | null;
|
|
1623
|
-
bidderId: string | null;
|
|
1624
|
-
}>>>;
|
|
1625
|
-
coverLetterTemplateId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1626
1626
|
coverLetterTemplate: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1627
1627
|
id: z.ZodString;
|
|
1628
1628
|
name: z.ZodString;
|
|
@@ -1685,7 +1685,24 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1685
1685
|
maxDailyProposalsSent: number;
|
|
1686
1686
|
windowAnchorAt: number | null;
|
|
1687
1687
|
} | undefined;
|
|
1688
|
-
|
|
1688
|
+
biddingDelayInMinutes?: number | undefined;
|
|
1689
|
+
bidWithWarning?: "bid" | "skip" | undefined;
|
|
1690
|
+
biddingHourlyRateStrategy?: "match_job_budget" | "match_profile_rate" | "fixed_rate" | undefined;
|
|
1691
|
+
biddingHourlyRatePercentage?: number | null | undefined;
|
|
1692
|
+
biddingFixedHourlyRate?: number | null | undefined;
|
|
1693
|
+
boostingEnabled?: boolean | null | undefined;
|
|
1694
|
+
boostDownToNthPlace?: number | null | undefined;
|
|
1695
|
+
connectsAbovePrevious?: number | null | undefined;
|
|
1696
|
+
maximumBoost?: number | null | undefined;
|
|
1697
|
+
minBoost?: number | null | undefined;
|
|
1698
|
+
insufficeintBoostConnectsAction?: "skip" | "bid_without_boost" | undefined;
|
|
1699
|
+
bidConfig?: {
|
|
1700
|
+
contractorName: string | null;
|
|
1701
|
+
agencyName: string | null;
|
|
1702
|
+
specialisedProfile: string | null;
|
|
1703
|
+
bidderId: string | null;
|
|
1704
|
+
} | null | undefined;
|
|
1705
|
+
leadCounts?: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won", number>> | null | undefined;
|
|
1689
1706
|
filters?: {
|
|
1690
1707
|
keywords: {
|
|
1691
1708
|
includes: string | null;
|
|
@@ -1746,33 +1763,16 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1746
1763
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
1747
1764
|
} | null;
|
|
1748
1765
|
} | undefined;
|
|
1766
|
+
coverLetterTemplateId?: string | null | undefined;
|
|
1749
1767
|
confirmedBillingAt?: number | null | undefined;
|
|
1750
|
-
boostingEnabled?: boolean | null | undefined;
|
|
1751
|
-
maximumBoost?: number | null | undefined;
|
|
1752
|
-
minBoost?: number | null | undefined;
|
|
1753
|
-
boostDownToNthPlace?: number | null | undefined;
|
|
1754
|
-
connectsAbovePrevious?: number | null | undefined;
|
|
1755
|
-
insufficeintBoostConnectsAction?: "skip" | "bid_without_boost" | undefined;
|
|
1756
1768
|
monthlyBudget?: number | null | undefined;
|
|
1757
1769
|
boostingThreshold?: number | null | undefined;
|
|
1758
|
-
biddingDelayInMinutes?: number | undefined;
|
|
1759
|
-
biddingHourlyRateStrategy?: "match_job_budget" | "match_profile_rate" | "fixed_rate" | undefined;
|
|
1760
|
-
biddingFixedHourlyRate?: number | null | undefined;
|
|
1761
|
-
biddingHourlyRatePercentage?: number | null | undefined;
|
|
1762
|
-
bidWithWarning?: "bid" | "skip" | undefined;
|
|
1763
1770
|
expenses?: {
|
|
1764
1771
|
biddingAmount: number;
|
|
1765
1772
|
boosted: number;
|
|
1766
1773
|
boostingAmount: number;
|
|
1767
1774
|
} | undefined;
|
|
1768
1775
|
notificationsEnabled?: boolean | null | undefined;
|
|
1769
|
-
bidConfig?: {
|
|
1770
|
-
contractorName: string | null;
|
|
1771
|
-
agencyName: string | null;
|
|
1772
|
-
specialisedProfile: string | null;
|
|
1773
|
-
bidderId: string | null;
|
|
1774
|
-
} | null | undefined;
|
|
1775
|
-
coverLetterTemplateId?: string | null | undefined;
|
|
1776
1776
|
coverLetterTemplate?: {
|
|
1777
1777
|
id: string;
|
|
1778
1778
|
name: string;
|
|
@@ -1801,7 +1801,24 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1801
1801
|
maxDailyProposalsSent: number;
|
|
1802
1802
|
windowAnchorAt: number | null;
|
|
1803
1803
|
} | undefined;
|
|
1804
|
-
|
|
1804
|
+
biddingDelayInMinutes?: number | undefined;
|
|
1805
|
+
bidWithWarning?: "bid" | "skip" | undefined;
|
|
1806
|
+
biddingHourlyRateStrategy?: "match_job_budget" | "match_profile_rate" | "fixed_rate" | undefined;
|
|
1807
|
+
biddingHourlyRatePercentage?: number | null | undefined;
|
|
1808
|
+
biddingFixedHourlyRate?: number | null | undefined;
|
|
1809
|
+
boostingEnabled?: boolean | null | undefined;
|
|
1810
|
+
boostDownToNthPlace?: number | null | undefined;
|
|
1811
|
+
connectsAbovePrevious?: number | null | undefined;
|
|
1812
|
+
maximumBoost?: number | null | undefined;
|
|
1813
|
+
minBoost?: number | null | undefined;
|
|
1814
|
+
insufficeintBoostConnectsAction?: "skip" | "bid_without_boost" | undefined;
|
|
1815
|
+
bidConfig?: {
|
|
1816
|
+
contractorName: string | null;
|
|
1817
|
+
agencyName: string | null;
|
|
1818
|
+
specialisedProfile: string | null;
|
|
1819
|
+
bidderId: string | null;
|
|
1820
|
+
} | null | undefined;
|
|
1821
|
+
leadCounts?: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won", number>> | null | undefined;
|
|
1805
1822
|
filters?: {
|
|
1806
1823
|
keywords: {
|
|
1807
1824
|
includes: string | null;
|
|
@@ -1862,33 +1879,16 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1862
1879
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
1863
1880
|
} | null;
|
|
1864
1881
|
} | undefined;
|
|
1882
|
+
coverLetterTemplateId?: string | null | undefined;
|
|
1865
1883
|
confirmedBillingAt?: number | null | undefined;
|
|
1866
|
-
boostingEnabled?: boolean | null | undefined;
|
|
1867
|
-
maximumBoost?: number | null | undefined;
|
|
1868
|
-
minBoost?: number | null | undefined;
|
|
1869
|
-
boostDownToNthPlace?: number | null | undefined;
|
|
1870
|
-
connectsAbovePrevious?: number | null | undefined;
|
|
1871
|
-
insufficeintBoostConnectsAction?: "skip" | "bid_without_boost" | undefined;
|
|
1872
1884
|
monthlyBudget?: number | null | undefined;
|
|
1873
1885
|
boostingThreshold?: number | null | undefined;
|
|
1874
|
-
biddingDelayInMinutes?: number | undefined;
|
|
1875
|
-
biddingHourlyRateStrategy?: "match_job_budget" | "match_profile_rate" | "fixed_rate" | undefined;
|
|
1876
|
-
biddingFixedHourlyRate?: number | null | undefined;
|
|
1877
|
-
biddingHourlyRatePercentage?: number | null | undefined;
|
|
1878
|
-
bidWithWarning?: "bid" | "skip" | undefined;
|
|
1879
1886
|
expenses?: {
|
|
1880
1887
|
biddingAmount?: number | undefined;
|
|
1881
1888
|
boosted?: number | undefined;
|
|
1882
1889
|
boostingAmount?: number | undefined;
|
|
1883
1890
|
} | undefined;
|
|
1884
1891
|
notificationsEnabled?: boolean | null | undefined;
|
|
1885
|
-
bidConfig?: {
|
|
1886
|
-
contractorName: string | null;
|
|
1887
|
-
agencyName: string | null;
|
|
1888
|
-
specialisedProfile: string | null;
|
|
1889
|
-
bidderId: string | null;
|
|
1890
|
-
} | null | undefined;
|
|
1891
|
-
coverLetterTemplateId?: string | null | undefined;
|
|
1892
1892
|
coverLetterTemplate?: {
|
|
1893
1893
|
id: string;
|
|
1894
1894
|
name: string;
|