lancer-shared 1.2.259 → 1.2.261
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 +105 -35
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +104 -36
- package/dist/bundle.esm.js.map +1 -1
- package/dist/schemas/agent/index.d.ts +14 -9
- package/dist/schemas/agent/proposal.d.ts +1 -1
- package/dist/schemas/bidder/bid.d.ts +138 -89
- package/dist/schemas/campaign/campaign-analytics.d.ts +26 -17
- package/dist/schemas/campaign/campaign-search.d.ts +3 -5
- package/dist/schemas/campaign/campaign.d.ts +13 -13
- package/dist/schemas/lead/index.d.ts +61 -40
- package/dist/schemas/lead/lead-status.d.ts +4 -4
- package/dist/schemas/logger/log-event.d.ts +4 -4
- 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 +22 -17
- package/package.json +1 -1
|
@@ -1731,12 +1731,13 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
1731
1731
|
biddedAt: z.ZodNullable<z.ZodNumber>;
|
|
1732
1732
|
biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
|
|
1733
1733
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
1734
|
+
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
1735
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
1734
1736
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
1735
1737
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
1736
1738
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
1737
1739
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
1738
1740
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
1739
|
-
campaignName: z.ZodOptional<z.ZodString>;
|
|
1740
1741
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
1741
1742
|
id: string | null;
|
|
1742
1743
|
title: string | null;
|
|
@@ -2728,12 +2729,13 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2728
2729
|
biddedAt: z.ZodNullable<z.ZodNumber>;
|
|
2729
2730
|
biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
|
|
2730
2731
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
2732
|
+
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
2733
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
2731
2734
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
2732
2735
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
2733
2736
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
2734
2737
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
2735
2738
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
2736
|
-
campaignName: z.ZodOptional<z.ZodString>;
|
|
2737
2739
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
2738
2740
|
id: string | null;
|
|
2739
2741
|
title: string | null;
|
|
@@ -2752,7 +2754,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2752
2754
|
id: string;
|
|
2753
2755
|
name: string;
|
|
2754
2756
|
};
|
|
2755
|
-
status: "rejected" | "
|
|
2757
|
+
status: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
2756
2758
|
createdAt: number;
|
|
2757
2759
|
lead: {
|
|
2758
2760
|
id: string | null;
|
|
@@ -2771,7 +2773,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2771
2773
|
id: string;
|
|
2772
2774
|
name: string;
|
|
2773
2775
|
};
|
|
2774
|
-
status: "rejected" | "
|
|
2776
|
+
status: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
2775
2777
|
createdAt: number;
|
|
2776
2778
|
lead: {
|
|
2777
2779
|
id: string | null;
|
|
@@ -3723,12 +3725,13 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
3723
3725
|
biddedAt: z.ZodNullable<z.ZodNumber>;
|
|
3724
3726
|
biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
|
|
3725
3727
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
3728
|
+
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
3729
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
3726
3730
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
3727
3731
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
3728
3732
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
3729
3733
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
3730
3734
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
3731
|
-
campaignName: z.ZodOptional<z.ZodString>;
|
|
3732
3735
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
3733
3736
|
id: string | null;
|
|
3734
3737
|
title: string | null;
|
|
@@ -5355,12 +5358,13 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5355
5358
|
biddedAt: z.ZodNullable<z.ZodNumber>;
|
|
5356
5359
|
biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
|
|
5357
5360
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
5361
|
+
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
5362
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
5358
5363
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
5359
5364
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
5360
5365
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
5361
5366
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
5362
5367
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
5363
|
-
campaignName: z.ZodOptional<z.ZodString>;
|
|
5364
5368
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
5365
5369
|
id: string | null;
|
|
5366
5370
|
title: string | null;
|
|
@@ -6351,12 +6355,13 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6351
6355
|
biddedAt: z.ZodNullable<z.ZodNumber>;
|
|
6352
6356
|
biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
|
|
6353
6357
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
6358
|
+
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
6359
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
6354
6360
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
6355
6361
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
6356
6362
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
6357
6363
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
6358
6364
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
6359
|
-
campaignName: z.ZodOptional<z.ZodString>;
|
|
6360
6365
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
6361
6366
|
id: string | null;
|
|
6362
6367
|
title: string | null;
|
|
@@ -6375,7 +6380,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6375
6380
|
id: string;
|
|
6376
6381
|
name: string;
|
|
6377
6382
|
};
|
|
6378
|
-
status: "rejected" | "
|
|
6383
|
+
status: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
6379
6384
|
createdAt: number;
|
|
6380
6385
|
lead: {
|
|
6381
6386
|
id: string | null;
|
|
@@ -6394,7 +6399,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6394
6399
|
id: string;
|
|
6395
6400
|
name: string;
|
|
6396
6401
|
};
|
|
6397
|
-
status: "rejected" | "
|
|
6402
|
+
status: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
6398
6403
|
createdAt: number;
|
|
6399
6404
|
lead: {
|
|
6400
6405
|
id: string | null;
|
|
@@ -7345,12 +7350,13 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
7345
7350
|
biddedAt: z.ZodNullable<z.ZodNumber>;
|
|
7346
7351
|
biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
|
|
7347
7352
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
7353
|
+
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
7354
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
7348
7355
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
7349
7356
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
7350
7357
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
7351
7358
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
7352
7359
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
7353
|
-
campaignName: z.ZodOptional<z.ZodString>;
|
|
7354
7360
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
7355
7361
|
id: string | null;
|
|
7356
7362
|
title: string | null;
|
|
@@ -7741,12 +7747,13 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
7741
7747
|
biddedAt: z.ZodNullable<z.ZodNumber>;
|
|
7742
7748
|
biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
|
|
7743
7749
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
7750
|
+
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
7751
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
7744
7752
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
7745
7753
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
7746
7754
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
7747
7755
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
7748
7756
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
7749
|
-
campaignName: z.ZodOptional<z.ZodString>;
|
|
7750
7757
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
7751
7758
|
id: string | null;
|
|
7752
7759
|
title: string | null;
|
|
@@ -8110,12 +8117,13 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
8110
8117
|
biddedAt: z.ZodNullable<z.ZodNumber>;
|
|
8111
8118
|
biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
|
|
8112
8119
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
8120
|
+
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
8121
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
8113
8122
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
8114
8123
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
8115
8124
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
8116
8125
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
8117
8126
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
8118
|
-
campaignName: z.ZodOptional<z.ZodString>;
|
|
8119
8127
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
8120
8128
|
id: string | null;
|
|
8121
8129
|
title: string | null;
|
|
@@ -8130,7 +8138,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
8130
8138
|
creditBalance: z.ZodNumber;
|
|
8131
8139
|
}, "strip", z.ZodTypeAny, {
|
|
8132
8140
|
type: "lead_status";
|
|
8133
|
-
status: "rejected" | "
|
|
8141
|
+
status: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
8134
8142
|
lead: {
|
|
8135
8143
|
id: string | null;
|
|
8136
8144
|
title: string | null;
|
|
@@ -8140,7 +8148,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
8140
8148
|
creditBalance: number;
|
|
8141
8149
|
}, {
|
|
8142
8150
|
type: "lead_status";
|
|
8143
|
-
status: "rejected" | "
|
|
8151
|
+
status: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
8144
8152
|
lead: {
|
|
8145
8153
|
id: string | null;
|
|
8146
8154
|
title: string | null;
|
|
@@ -8477,12 +8485,13 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
8477
8485
|
biddedAt: z.ZodNullable<z.ZodNumber>;
|
|
8478
8486
|
biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
|
|
8479
8487
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
8488
|
+
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
8489
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
8480
8490
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
8481
8491
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
8482
8492
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
8483
8493
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
8484
8494
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
8485
|
-
campaignName: z.ZodOptional<z.ZodString>;
|
|
8486
8495
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
8487
8496
|
id: string | null;
|
|
8488
8497
|
title: string | null;
|
|
@@ -8521,11 +8530,11 @@ export declare const updateCampaignAnalyticsSchema: z.ZodObject<{
|
|
|
8521
8530
|
}, "strip", z.ZodTypeAny, {
|
|
8522
8531
|
campaignId: string;
|
|
8523
8532
|
organizationId: string;
|
|
8524
|
-
fields: ("rejected" | "contacted" | "
|
|
8533
|
+
fields: ("rejected" | "contacted" | "viewed" | "replied" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | "wonAmount" | "leadsAnalyzed" | "leadsFailed" | "suitableJobs" | "unsuitableJobs" | "proposalsFailed")[];
|
|
8525
8534
|
}, {
|
|
8526
8535
|
campaignId: string;
|
|
8527
8536
|
organizationId: string;
|
|
8528
|
-
fields: ("rejected" | "contacted" | "
|
|
8537
|
+
fields: ("rejected" | "contacted" | "viewed" | "replied" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | "wonAmount" | "leadsAnalyzed" | "leadsFailed" | "suitableJobs" | "unsuitableJobs" | "proposalsFailed")[];
|
|
8529
8538
|
}>;
|
|
8530
8539
|
export type CampaignAnalytics = z.infer<typeof campaignAnalyticsSchema>;
|
|
8531
8540
|
export type CampaignAnalyticsStats = z.infer<typeof campaignAnalyticsStatsSchema>;
|
|
@@ -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
|
|
@@ -453,7 +453,8 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
453
453
|
};
|
|
454
454
|
createdAt: number;
|
|
455
455
|
updatedAt: number;
|
|
456
|
-
|
|
456
|
+
biddingDelayInMinutes: number;
|
|
457
|
+
leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won", number>> | null;
|
|
457
458
|
filters: {
|
|
458
459
|
keywords: {
|
|
459
460
|
includes: string | null;
|
|
@@ -523,7 +524,6 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
523
524
|
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
524
525
|
monthlyBudget: number | null;
|
|
525
526
|
boostingThreshold: number | null;
|
|
526
|
-
biddingDelayInMinutes: number;
|
|
527
527
|
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
528
528
|
biddingFixedHourlyRate: number | null;
|
|
529
529
|
biddingHourlyRatePercentage: number | null;
|
|
@@ -571,7 +571,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
571
571
|
};
|
|
572
572
|
createdAt: number;
|
|
573
573
|
updatedAt: number;
|
|
574
|
-
leadCounts: Partial<Record<"rejected" | "
|
|
574
|
+
leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won", number>> | null;
|
|
575
575
|
filters: {
|
|
576
576
|
keywords: {
|
|
577
577
|
includes: string | null;
|
|
@@ -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<{
|
|
@@ -1086,7 +1086,8 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
1086
1086
|
maxDailyProposalsSent: number;
|
|
1087
1087
|
windowAnchorAt: number | null;
|
|
1088
1088
|
};
|
|
1089
|
-
|
|
1089
|
+
biddingDelayInMinutes: number;
|
|
1090
|
+
leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won", number>> | null;
|
|
1090
1091
|
filters: {
|
|
1091
1092
|
keywords: {
|
|
1092
1093
|
includes: string | null;
|
|
@@ -1156,7 +1157,6 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
1156
1157
|
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
1157
1158
|
monthlyBudget: number | null;
|
|
1158
1159
|
boostingThreshold: number | null;
|
|
1159
|
-
biddingDelayInMinutes: number;
|
|
1160
1160
|
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
1161
1161
|
biddingFixedHourlyRate: number | null;
|
|
1162
1162
|
biddingHourlyRatePercentage: number | null;
|
|
@@ -1195,7 +1195,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
1195
1195
|
maxDailyProposalsSent: number;
|
|
1196
1196
|
windowAnchorAt: number | null;
|
|
1197
1197
|
};
|
|
1198
|
-
leadCounts: Partial<Record<"rejected" | "
|
|
1198
|
+
leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won", number>> | null;
|
|
1199
1199
|
filters: {
|
|
1200
1200
|
keywords: {
|
|
1201
1201
|
includes: string | null;
|
|
@@ -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,6 +1315,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1315
1315
|
maxDailyProposalsSent: number;
|
|
1316
1316
|
windowAnchorAt: number | null;
|
|
1317
1317
|
}>>;
|
|
1318
|
+
biddingDelayInMinutes: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
1318
1319
|
leadCounts: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "won"]>, z.ZodNumber>>>;
|
|
1319
1320
|
filters: z.ZodOptional<z.ZodObject<{
|
|
1320
1321
|
keywords: z.ZodNullable<z.ZodObject<{
|
|
@@ -1587,7 +1588,6 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1587
1588
|
insufficeintBoostConnectsAction: z.ZodOptional<z.ZodEnum<["skip", "bid_without_boost"]>>;
|
|
1588
1589
|
monthlyBudget: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1589
1590
|
boostingThreshold: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
|
|
1590
|
-
biddingDelayInMinutes: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
1591
1591
|
biddingHourlyRateStrategy: z.ZodOptional<z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>>;
|
|
1592
1592
|
biddingFixedHourlyRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1593
1593
|
biddingHourlyRatePercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -1685,7 +1685,8 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1685
1685
|
maxDailyProposalsSent: number;
|
|
1686
1686
|
windowAnchorAt: number | null;
|
|
1687
1687
|
} | undefined;
|
|
1688
|
-
|
|
1688
|
+
biddingDelayInMinutes?: number | undefined;
|
|
1689
|
+
leadCounts?: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won", number>> | null | undefined;
|
|
1689
1690
|
filters?: {
|
|
1690
1691
|
keywords: {
|
|
1691
1692
|
includes: string | null;
|
|
@@ -1755,7 +1756,6 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1755
1756
|
insufficeintBoostConnectsAction?: "skip" | "bid_without_boost" | undefined;
|
|
1756
1757
|
monthlyBudget?: number | null | undefined;
|
|
1757
1758
|
boostingThreshold?: number | null | undefined;
|
|
1758
|
-
biddingDelayInMinutes?: number | undefined;
|
|
1759
1759
|
biddingHourlyRateStrategy?: "match_job_budget" | "match_profile_rate" | "fixed_rate" | undefined;
|
|
1760
1760
|
biddingFixedHourlyRate?: number | null | undefined;
|
|
1761
1761
|
biddingHourlyRatePercentage?: number | null | undefined;
|
|
@@ -1801,7 +1801,8 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1801
1801
|
maxDailyProposalsSent: number;
|
|
1802
1802
|
windowAnchorAt: number | null;
|
|
1803
1803
|
} | undefined;
|
|
1804
|
-
|
|
1804
|
+
biddingDelayInMinutes?: number | undefined;
|
|
1805
|
+
leadCounts?: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won", number>> | null | undefined;
|
|
1805
1806
|
filters?: {
|
|
1806
1807
|
keywords: {
|
|
1807
1808
|
includes: string | null;
|
|
@@ -1871,7 +1872,6 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1871
1872
|
insufficeintBoostConnectsAction?: "skip" | "bid_without_boost" | undefined;
|
|
1872
1873
|
monthlyBudget?: number | null | undefined;
|
|
1873
1874
|
boostingThreshold?: number | null | undefined;
|
|
1874
|
-
biddingDelayInMinutes?: number | undefined;
|
|
1875
1875
|
biddingHourlyRateStrategy?: "match_job_budget" | "match_profile_rate" | "fixed_rate" | undefined;
|
|
1876
1876
|
biddingFixedHourlyRate?: number | null | undefined;
|
|
1877
1877
|
biddingHourlyRatePercentage?: number | null | undefined;
|