lancer-shared 1.2.302 → 1.2.303
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 +1 -0
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +1 -0
- package/dist/bundle.esm.js.map +1 -1
- package/dist/schemas/account/bidder-account.d.ts +40 -40
- package/dist/schemas/account/scraper-account.d.ts +27 -27
- package/dist/schemas/agent/index.d.ts +273 -273
- package/dist/schemas/agent/proposal.d.ts +4 -4
- package/dist/schemas/bidder/bid.d.ts +2358 -2358
- package/dist/schemas/campaign/campaign-analytics.d.ts +1404 -1404
- package/dist/schemas/campaign/campaign-chat-bot.d.ts +24 -24
- package/dist/schemas/campaign/campaign-expenses.d.ts +2 -2
- package/dist/schemas/campaign/campaign-insights.d.ts +12 -12
- package/dist/schemas/campaign/campaign.d.ts +566 -566
- package/dist/schemas/campaign/sequence/boost-node.d.ts +2 -2
- package/dist/schemas/campaign/sequence/client-size-node.d.ts +8 -8
- package/dist/schemas/campaign/sequence/client-spent-node.d.ts +16 -16
- package/dist/schemas/campaign/sequence/hire-rate-node.d.ts +16 -16
- package/dist/schemas/campaign/sequence/hourly-rate-node.d.ts +16 -16
- package/dist/schemas/campaign/sequence/rating-node.d.ts +16 -16
- package/dist/schemas/campaign/sequence/suitability-node.d.ts +16 -16
- package/dist/schemas/dashboard/index.d.ts +46 -46
- package/dist/schemas/golden-dataset/sample.d.ts +12 -12
- package/dist/schemas/infrastructure/index.d.ts +8 -8
- package/dist/schemas/invoice/index.d.ts +55 -55
- package/dist/schemas/job/index.d.ts +189 -189
- package/dist/schemas/job/job-api.d.ts +4 -4
- package/dist/schemas/job/job-details.d.ts +726 -726
- package/dist/schemas/job/job-filters.d.ts +55 -55
- package/dist/schemas/job/job-listing.d.ts +96 -96
- package/dist/schemas/job/nuxt.d.ts +130 -130
- package/dist/schemas/lead/index.d.ts +1040 -1040
- package/dist/schemas/lead/lead-status.d.ts +4 -4
- package/dist/schemas/logger/feed/feed-chunk-enrich.d.ts +16 -16
- package/dist/schemas/logger/feed/feed-enrich.d.ts +12 -12
- package/dist/schemas/logger/feed/feed-job-enrich.d.ts +272 -272
- package/dist/schemas/logger/feed/feed-scrape.d.ts +6 -6
- package/dist/schemas/logger/log-event.d.ts +103 -103
- package/dist/schemas/logger/scraper-events.d.ts +73 -73
- package/dist/schemas/notifications/index.d.ts +4 -4
- package/dist/schemas/organization/billing.d.ts +2 -2
- package/dist/schemas/organization/cover-letter.d.ts +4 -4
- package/dist/schemas/organization/index.d.ts +112 -112
- package/dist/schemas/organization/onboarding.d.ts +6 -6
- package/dist/schemas/organization/organization-leads.d.ts +4 -4
- package/dist/schemas/organization/subscription.d.ts +12 -12
- package/dist/schemas/plan/index.d.ts +55 -55
- package/dist/schemas/proxy/proxy.d.ts +29 -29
- package/dist/schemas/saved-search/index.d.ts +4 -4
- package/dist/schemas/scraper/scrape-payload.d.ts +876 -876
- package/dist/schemas/scraper/scrape-result.d.ts +174 -174
- package/dist/schemas/scraper/upwork-profile.d.ts +16 -16
- package/dist/schemas/shared.d.ts +1 -1
- package/dist/schemas/talent/index.d.ts +750 -750
- package/dist/schemas/transaction/index.d.ts +20 -20
- package/dist/schemas/upwork-analytics/index.d.ts +22 -22
- package/dist/schemas/usage/index.d.ts +16 -16
- package/dist/schemas/usage-event/index.d.ts +11 -11
- package/dist/schemas/user/index.d.ts +4 -4
- package/package.json +2 -2
|
@@ -33,35 +33,35 @@ export declare const chatbotSchema: z.ZodObject<{
|
|
|
33
33
|
createdAt: z.ZodNumber;
|
|
34
34
|
updatedAt: z.ZodNumber;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
|
-
organizationId: string;
|
|
37
|
-
campaignId: string;
|
|
38
|
-
createdAt: number;
|
|
39
|
-
updatedAt: number;
|
|
40
|
-
notificationsEnabled: boolean;
|
|
41
36
|
workspaceId: string;
|
|
42
37
|
channels: {
|
|
43
38
|
id: string;
|
|
44
39
|
name: string;
|
|
45
40
|
}[];
|
|
46
41
|
selectedChannelId: string | null;
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
refreshToken?: string | undefined;
|
|
50
|
-
}, {
|
|
42
|
+
notificationsEnabled: boolean;
|
|
43
|
+
notificationSettings: Partial<Record<"suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning" | "boostAboveMaxConnects" | "jobNoLongerAvailable" | "privateJob" | "jobAlreadyBiddedOn" | "biddingFailed" | "alreadyHired", boolean>>;
|
|
51
44
|
organizationId: string;
|
|
52
45
|
campaignId: string;
|
|
53
46
|
createdAt: number;
|
|
54
47
|
updatedAt: number;
|
|
48
|
+
accessToken?: string | undefined;
|
|
49
|
+
refreshToken?: string | undefined;
|
|
50
|
+
}, {
|
|
55
51
|
workspaceId: string;
|
|
56
52
|
channels: {
|
|
57
53
|
id: string;
|
|
58
54
|
name: string;
|
|
59
55
|
}[];
|
|
60
56
|
selectedChannelId: string | null;
|
|
61
|
-
notificationSettings: Partial<Record<"
|
|
62
|
-
|
|
57
|
+
notificationSettings: Partial<Record<"suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning" | "boostAboveMaxConnects" | "jobNoLongerAvailable" | "privateJob" | "jobAlreadyBiddedOn" | "biddingFailed" | "alreadyHired", boolean | undefined>>;
|
|
58
|
+
organizationId: string;
|
|
59
|
+
campaignId: string;
|
|
60
|
+
createdAt: number;
|
|
61
|
+
updatedAt: number;
|
|
63
62
|
accessToken?: string | undefined;
|
|
64
63
|
refreshToken?: string | undefined;
|
|
64
|
+
notificationsEnabled?: boolean | undefined;
|
|
65
65
|
}>;
|
|
66
66
|
export declare const createChatbotSchema: z.ZodObject<Pick<{
|
|
67
67
|
accessToken: z.ZodOptional<z.ZodString>;
|
|
@@ -84,24 +84,24 @@ export declare const createChatbotSchema: z.ZodObject<Pick<{
|
|
|
84
84
|
campaignId: z.ZodString;
|
|
85
85
|
createdAt: z.ZodNumber;
|
|
86
86
|
updatedAt: z.ZodNumber;
|
|
87
|
-
}, "
|
|
88
|
-
organizationId: string;
|
|
89
|
-
campaignId: string;
|
|
87
|
+
}, "accessToken" | "refreshToken" | "workspaceId" | "channels" | "organizationId" | "campaignId">, "strip", z.ZodTypeAny, {
|
|
90
88
|
workspaceId: string;
|
|
91
89
|
channels: {
|
|
92
90
|
id: string;
|
|
93
91
|
name: string;
|
|
94
92
|
}[];
|
|
93
|
+
organizationId: string;
|
|
94
|
+
campaignId: string;
|
|
95
95
|
accessToken?: string | undefined;
|
|
96
96
|
refreshToken?: string | undefined;
|
|
97
97
|
}, {
|
|
98
|
-
organizationId: string;
|
|
99
|
-
campaignId: string;
|
|
100
98
|
workspaceId: string;
|
|
101
99
|
channels: {
|
|
102
100
|
id: string;
|
|
103
101
|
name: string;
|
|
104
102
|
}[];
|
|
103
|
+
organizationId: string;
|
|
104
|
+
campaignId: string;
|
|
105
105
|
accessToken?: string | undefined;
|
|
106
106
|
refreshToken?: string | undefined;
|
|
107
107
|
}>;
|
|
@@ -126,13 +126,13 @@ export declare const updateChatbotSchema: z.ZodObject<Pick<{
|
|
|
126
126
|
campaignId: z.ZodString;
|
|
127
127
|
createdAt: z.ZodNumber;
|
|
128
128
|
updatedAt: z.ZodNumber;
|
|
129
|
-
}, "
|
|
130
|
-
notificationsEnabled: boolean;
|
|
129
|
+
}, "selectedChannelId" | "notificationsEnabled" | "notificationSettings">, "strip", z.ZodTypeAny, {
|
|
131
130
|
selectedChannelId: string | null;
|
|
132
|
-
|
|
131
|
+
notificationsEnabled: boolean;
|
|
132
|
+
notificationSettings: Partial<Record<"suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning" | "boostAboveMaxConnects" | "jobNoLongerAvailable" | "privateJob" | "jobAlreadyBiddedOn" | "biddingFailed" | "alreadyHired", boolean>>;
|
|
133
133
|
}, {
|
|
134
134
|
selectedChannelId: string | null;
|
|
135
|
-
notificationSettings: Partial<Record<"
|
|
135
|
+
notificationSettings: Partial<Record<"suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning" | "boostAboveMaxConnects" | "jobNoLongerAvailable" | "privateJob" | "jobAlreadyBiddedOn" | "biddingFailed" | "alreadyHired", boolean | undefined>>;
|
|
136
136
|
notificationsEnabled?: boolean | undefined;
|
|
137
137
|
}>;
|
|
138
138
|
export declare const sendNotificationRequestSchema: z.ZodObject<{
|
|
@@ -143,17 +143,17 @@ export declare const sendNotificationRequestSchema: z.ZodObject<{
|
|
|
143
143
|
message: z.ZodOptional<z.ZodString>;
|
|
144
144
|
isSleepModeActive: z.ZodOptional<z.ZodBoolean>;
|
|
145
145
|
}, "strip", z.ZodTypeAny, {
|
|
146
|
-
leadId: string;
|
|
147
146
|
organizationId: string;
|
|
148
147
|
campaignId: string;
|
|
149
|
-
|
|
148
|
+
leadId: string;
|
|
149
|
+
notificationType: "suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning" | "boostAboveMaxConnects" | "jobNoLongerAvailable" | "privateJob" | "jobAlreadyBiddedOn" | "biddingFailed" | "alreadyHired";
|
|
150
150
|
message?: string | undefined;
|
|
151
151
|
isSleepModeActive?: boolean | undefined;
|
|
152
152
|
}, {
|
|
153
|
-
leadId: string;
|
|
154
153
|
organizationId: string;
|
|
155
154
|
campaignId: string;
|
|
156
|
-
|
|
155
|
+
leadId: string;
|
|
156
|
+
notificationType: "suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning" | "boostAboveMaxConnects" | "jobNoLongerAvailable" | "privateJob" | "jobAlreadyBiddedOn" | "biddingFailed" | "alreadyHired";
|
|
157
157
|
message?: string | undefined;
|
|
158
158
|
isSleepModeActive?: boolean | undefined;
|
|
159
159
|
}>;
|
|
@@ -5,11 +5,11 @@ export declare const campaignExpensesSchema: z.ZodObject<{
|
|
|
5
5
|
boosted: z.ZodDefault<z.ZodNumber>;
|
|
6
6
|
}, "strip", z.ZodTypeAny, {
|
|
7
7
|
biddingAmount: number;
|
|
8
|
-
boosted: number;
|
|
9
8
|
boostingAmount: number;
|
|
9
|
+
boosted: number;
|
|
10
10
|
}, {
|
|
11
11
|
biddingAmount?: number | undefined;
|
|
12
|
-
boosted?: number | undefined;
|
|
13
12
|
boostingAmount?: number | undefined;
|
|
13
|
+
boosted?: number | undefined;
|
|
14
14
|
}>;
|
|
15
15
|
export type CampaignExpenses = z.infer<typeof campaignExpensesSchema>;
|
|
@@ -5,25 +5,25 @@ export declare const campaignCountByStatusSchema: z.ZodObject<{
|
|
|
5
5
|
organic: z.ZodNumber;
|
|
6
6
|
total: z.ZodNumber;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
total: number;
|
|
9
8
|
boosted: number;
|
|
10
9
|
organic: number;
|
|
11
|
-
}, {
|
|
12
10
|
total: number;
|
|
11
|
+
}, {
|
|
13
12
|
boosted: number;
|
|
14
13
|
organic: number;
|
|
14
|
+
total: number;
|
|
15
15
|
}>;
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
17
17
|
[x: string]: {
|
|
18
|
-
total: number;
|
|
19
18
|
boosted: number;
|
|
20
19
|
organic: number;
|
|
20
|
+
total: number;
|
|
21
21
|
};
|
|
22
22
|
}, {
|
|
23
23
|
[x: string]: {
|
|
24
|
-
total: number;
|
|
25
24
|
boosted: number;
|
|
26
25
|
organic: number;
|
|
26
|
+
total: number;
|
|
27
27
|
};
|
|
28
28
|
}>;
|
|
29
29
|
export declare const campaignInsightsSchema: z.ZodObject<{
|
|
@@ -33,25 +33,25 @@ export declare const campaignInsightsSchema: z.ZodObject<{
|
|
|
33
33
|
organic: z.ZodNumber;
|
|
34
34
|
total: z.ZodNumber;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
|
-
total: number;
|
|
37
36
|
boosted: number;
|
|
38
37
|
organic: number;
|
|
39
|
-
}, {
|
|
40
38
|
total: number;
|
|
39
|
+
}, {
|
|
41
40
|
boosted: number;
|
|
42
41
|
organic: number;
|
|
42
|
+
total: number;
|
|
43
43
|
}>;
|
|
44
44
|
}, "strip", z.ZodTypeAny, {
|
|
45
45
|
[x: string]: {
|
|
46
|
-
total: number;
|
|
47
46
|
boosted: number;
|
|
48
47
|
organic: number;
|
|
48
|
+
total: number;
|
|
49
49
|
};
|
|
50
50
|
}, {
|
|
51
51
|
[x: string]: {
|
|
52
|
-
total: number;
|
|
53
52
|
boosted: number;
|
|
54
53
|
organic: number;
|
|
54
|
+
total: number;
|
|
55
55
|
};
|
|
56
56
|
}>;
|
|
57
57
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -70,15 +70,15 @@ export declare const campaignInsightsSchema: z.ZodObject<{
|
|
|
70
70
|
suitabilityRange80to90: z.ZodNumber;
|
|
71
71
|
suitabilityRange90to100: z.ZodNumber;
|
|
72
72
|
}, "strip", z.ZodTypeAny, {
|
|
73
|
-
biddingAmount: number;
|
|
74
|
-
boostingAmount: number;
|
|
75
73
|
pipelineHealth: {
|
|
76
74
|
[x: string]: {
|
|
77
|
-
total: number;
|
|
78
75
|
boosted: number;
|
|
79
76
|
organic: number;
|
|
77
|
+
total: number;
|
|
80
78
|
};
|
|
81
79
|
};
|
|
80
|
+
biddingAmount: number;
|
|
81
|
+
boostingAmount: number;
|
|
82
82
|
boostedProposalsCount: number;
|
|
83
83
|
totalProposalsCount: number;
|
|
84
84
|
totalExpenses: number;
|
|
@@ -95,9 +95,9 @@ export declare const campaignInsightsSchema: z.ZodObject<{
|
|
|
95
95
|
}, {
|
|
96
96
|
pipelineHealth: {
|
|
97
97
|
[x: string]: {
|
|
98
|
-
total: number;
|
|
99
98
|
boosted: number;
|
|
100
99
|
organic: number;
|
|
100
|
+
total: number;
|
|
101
101
|
};
|
|
102
102
|
};
|
|
103
103
|
suitabilityRange0to10: number;
|