lancer-shared 1.2.260 → 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 +104 -35
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +104 -37
- package/dist/bundle.esm.js.map +1 -1
- package/dist/schemas/agent/index.d.ts +13 -13
- package/dist/schemas/agent/proposal.d.ts +1 -1
- package/dist/schemas/bidder/bid.d.ts +129 -129
- package/dist/schemas/campaign/campaign-analytics.d.ts +17 -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 +57 -54
- 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 +21 -21
- package/package.json +1 -1
|
@@ -1732,12 +1732,12 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
1732
1732
|
biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
|
|
1733
1733
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
1734
1734
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
1735
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
1735
1736
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
1736
1737
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
1737
1738
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
1738
1739
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
1739
1740
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
1740
|
-
campaignName: z.ZodOptional<z.ZodString>;
|
|
1741
1741
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
1742
1742
|
id: string | null;
|
|
1743
1743
|
title: string | null;
|
|
@@ -2730,12 +2730,12 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2730
2730
|
biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
|
|
2731
2731
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
2732
2732
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
2733
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
2733
2734
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
2734
2735
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
2735
2736
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
2736
2737
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
2737
2738
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
2738
|
-
campaignName: z.ZodOptional<z.ZodString>;
|
|
2739
2739
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
2740
2740
|
id: string | null;
|
|
2741
2741
|
title: string | null;
|
|
@@ -2754,7 +2754,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2754
2754
|
id: string;
|
|
2755
2755
|
name: string;
|
|
2756
2756
|
};
|
|
2757
|
-
status: "rejected" | "
|
|
2757
|
+
status: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
2758
2758
|
createdAt: number;
|
|
2759
2759
|
lead: {
|
|
2760
2760
|
id: string | null;
|
|
@@ -2773,7 +2773,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2773
2773
|
id: string;
|
|
2774
2774
|
name: string;
|
|
2775
2775
|
};
|
|
2776
|
-
status: "rejected" | "
|
|
2776
|
+
status: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
2777
2777
|
createdAt: number;
|
|
2778
2778
|
lead: {
|
|
2779
2779
|
id: string | null;
|
|
@@ -3726,12 +3726,12 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
3726
3726
|
biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
|
|
3727
3727
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
3728
3728
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
3729
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
3729
3730
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
3730
3731
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
3731
3732
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
3732
3733
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
3733
3734
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
3734
|
-
campaignName: z.ZodOptional<z.ZodString>;
|
|
3735
3735
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
3736
3736
|
id: string | null;
|
|
3737
3737
|
title: string | null;
|
|
@@ -5359,12 +5359,12 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5359
5359
|
biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
|
|
5360
5360
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
5361
5361
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
5362
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
5362
5363
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
5363
5364
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
5364
5365
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
5365
5366
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
5366
5367
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
5367
|
-
campaignName: z.ZodOptional<z.ZodString>;
|
|
5368
5368
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
5369
5369
|
id: string | null;
|
|
5370
5370
|
title: string | null;
|
|
@@ -6356,12 +6356,12 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6356
6356
|
biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
|
|
6357
6357
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
6358
6358
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
6359
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
6359
6360
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
6360
6361
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
6361
6362
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
6362
6363
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
6363
6364
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
6364
|
-
campaignName: z.ZodOptional<z.ZodString>;
|
|
6365
6365
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
6366
6366
|
id: string | null;
|
|
6367
6367
|
title: string | null;
|
|
@@ -6380,7 +6380,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6380
6380
|
id: string;
|
|
6381
6381
|
name: string;
|
|
6382
6382
|
};
|
|
6383
|
-
status: "rejected" | "
|
|
6383
|
+
status: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
6384
6384
|
createdAt: number;
|
|
6385
6385
|
lead: {
|
|
6386
6386
|
id: string | null;
|
|
@@ -6399,7 +6399,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6399
6399
|
id: string;
|
|
6400
6400
|
name: string;
|
|
6401
6401
|
};
|
|
6402
|
-
status: "rejected" | "
|
|
6402
|
+
status: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
6403
6403
|
createdAt: number;
|
|
6404
6404
|
lead: {
|
|
6405
6405
|
id: string | null;
|
|
@@ -7351,12 +7351,12 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
7351
7351
|
biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
|
|
7352
7352
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
7353
7353
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
7354
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
7354
7355
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
7355
7356
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
7356
7357
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
7357
7358
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
7358
7359
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
7359
|
-
campaignName: z.ZodOptional<z.ZodString>;
|
|
7360
7360
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
7361
7361
|
id: string | null;
|
|
7362
7362
|
title: string | null;
|
|
@@ -7748,12 +7748,12 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
7748
7748
|
biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
|
|
7749
7749
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
7750
7750
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
7751
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
7751
7752
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
7752
7753
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
7753
7754
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
7754
7755
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
7755
7756
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
7756
|
-
campaignName: z.ZodOptional<z.ZodString>;
|
|
7757
7757
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
7758
7758
|
id: string | null;
|
|
7759
7759
|
title: string | null;
|
|
@@ -8118,12 +8118,12 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
8118
8118
|
biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
|
|
8119
8119
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
8120
8120
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
8121
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
8121
8122
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
8122
8123
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
8123
8124
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
8124
8125
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
8125
8126
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
8126
|
-
campaignName: z.ZodOptional<z.ZodString>;
|
|
8127
8127
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
8128
8128
|
id: string | null;
|
|
8129
8129
|
title: string | null;
|
|
@@ -8138,7 +8138,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
8138
8138
|
creditBalance: z.ZodNumber;
|
|
8139
8139
|
}, "strip", z.ZodTypeAny, {
|
|
8140
8140
|
type: "lead_status";
|
|
8141
|
-
status: "rejected" | "
|
|
8141
|
+
status: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
8142
8142
|
lead: {
|
|
8143
8143
|
id: string | null;
|
|
8144
8144
|
title: string | null;
|
|
@@ -8148,7 +8148,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
8148
8148
|
creditBalance: number;
|
|
8149
8149
|
}, {
|
|
8150
8150
|
type: "lead_status";
|
|
8151
|
-
status: "rejected" | "
|
|
8151
|
+
status: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
8152
8152
|
lead: {
|
|
8153
8153
|
id: string | null;
|
|
8154
8154
|
title: string | null;
|
|
@@ -8486,12 +8486,12 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
8486
8486
|
biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
|
|
8487
8487
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
8488
8488
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
8489
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
8489
8490
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
8490
8491
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
8491
8492
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
8492
8493
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
8493
8494
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
8494
|
-
campaignName: z.ZodOptional<z.ZodString>;
|
|
8495
8495
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
8496
8496
|
id: string | null;
|
|
8497
8497
|
title: string | null;
|
|
@@ -8530,11 +8530,11 @@ export declare const updateCampaignAnalyticsSchema: z.ZodObject<{
|
|
|
8530
8530
|
}, "strip", z.ZodTypeAny, {
|
|
8531
8531
|
campaignId: string;
|
|
8532
8532
|
organizationId: string;
|
|
8533
|
-
fields: ("rejected" | "contacted" | "
|
|
8533
|
+
fields: ("rejected" | "contacted" | "viewed" | "replied" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | "wonAmount" | "leadsAnalyzed" | "leadsFailed" | "suitableJobs" | "unsuitableJobs" | "proposalsFailed")[];
|
|
8534
8534
|
}, {
|
|
8535
8535
|
campaignId: string;
|
|
8536
8536
|
organizationId: string;
|
|
8537
|
-
fields: ("rejected" | "contacted" | "
|
|
8537
|
+
fields: ("rejected" | "contacted" | "viewed" | "replied" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | "wonAmount" | "leadsAnalyzed" | "leadsFailed" | "suitableJobs" | "unsuitableJobs" | "proposalsFailed")[];
|
|
8538
8538
|
}>;
|
|
8539
8539
|
export type CampaignAnalytics = z.infer<typeof campaignAnalyticsSchema>;
|
|
8540
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;
|