lancer-shared 1.2.240 → 1.2.242
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.map +1 -0
- package/dist/bundle.esm.js +23749 -0
- package/dist/bundle.esm.js.map +1 -0
- package/dist/schemas/account/bidder-account.d.ts +75 -75
- package/dist/schemas/account/scraper-account.d.ts +37 -37
- package/dist/schemas/agent/index.d.ts +285 -285
- package/dist/schemas/agent/proposal.d.ts +6 -6
- package/dist/schemas/bidder/bid.d.ts +2345 -2345
- package/dist/schemas/campaign/campaign-analytics.d.ts +857 -857
- package/dist/schemas/campaign/campaign-chat-bot.d.ts +25 -25
- 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 +201 -201
- 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 +34 -34
- package/dist/schemas/infrastructure/index.d.ts +8 -8
- package/dist/schemas/invoice/index.d.ts +51 -51
- package/dist/schemas/job/index.d.ts +212 -212
- package/dist/schemas/job/job-api.d.ts +4 -4
- package/dist/schemas/job/job-details.d.ts +736 -736
- package/dist/schemas/job/job-filters.d.ts +14 -14
- package/dist/schemas/job/job-listing.d.ts +94 -94
- package/dist/schemas/job/nuxt.d.ts +150 -150
- package/dist/schemas/lead/index.d.ts +1022 -1022
- package/dist/schemas/lead/lead-status.d.ts +10 -10
- package/dist/schemas/logger/feed/feed-chunk-enrich.d.ts +25 -25
- package/dist/schemas/logger/feed/feed-enrich.d.ts +15 -15
- package/dist/schemas/logger/feed/feed-job-enrich.d.ts +321 -321
- package/dist/schemas/logger/feed/feed-scrape.d.ts +15 -15
- package/dist/schemas/logger/log-event.d.ts +91 -91
- package/dist/schemas/logger/scraper-events.d.ts +90 -90
- package/dist/schemas/notifications/index.d.ts +4 -4
- package/dist/schemas/organization/cover-letter.d.ts +2 -2
- package/dist/schemas/organization/index.d.ts +104 -104
- package/dist/schemas/organization/subscription.d.ts +6 -6
- package/dist/schemas/plan/index.d.ts +14 -14
- package/dist/schemas/proxy/proxy.d.ts +20 -20
- package/dist/schemas/saved-search/index.d.ts +4 -4
- package/dist/schemas/scraper/scrape-payload.d.ts +621 -621
- package/dist/schemas/scraper/scrape-result.d.ts +214 -214
- 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 +854 -854
- package/dist/schemas/transaction/index.d.ts +18 -18
- package/dist/schemas/usage/index.d.ts +16 -16
- package/dist/schemas/usage-event/index.d.ts +4 -4
- package/dist/schemas/user/index.d.ts +4 -4
- package/package.json +10 -8
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const scrapeJobsCompletedEventMetadata: z.ZodObject<{
|
|
3
|
-
region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
|
|
3
|
+
region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">, z.ZodLiteral<"All">]>;
|
|
4
4
|
feedScraperAccountId: z.ZodString;
|
|
5
5
|
feedScraperAccountEmail: z.ZodString;
|
|
6
6
|
uniqueJobsFound: z.ZodNumber;
|
|
@@ -8,21 +8,21 @@ export declare const scrapeJobsCompletedEventMetadata: z.ZodObject<{
|
|
|
8
8
|
successfulEnrichJobCount: z.ZodNumber;
|
|
9
9
|
failedEnrichJobCount: z.ZodNumber;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
region: "USOnly" | "UKOnly" | "
|
|
12
|
-
feedScraperAccountId: string;
|
|
13
|
-
feedScraperAccountEmail: string;
|
|
14
|
-
uniqueJobsFound: number;
|
|
11
|
+
region: "Worldwide" | "USOnly" | "UKOnly" | "All";
|
|
15
12
|
duration: string;
|
|
16
13
|
successfulEnrichJobCount: number;
|
|
17
14
|
failedEnrichJobCount: number;
|
|
18
|
-
}, {
|
|
19
|
-
region: "USOnly" | "UKOnly" | "Worldwide";
|
|
20
15
|
feedScraperAccountId: string;
|
|
21
16
|
feedScraperAccountEmail: string;
|
|
22
17
|
uniqueJobsFound: number;
|
|
18
|
+
}, {
|
|
19
|
+
region: "Worldwide" | "USOnly" | "UKOnly" | "All";
|
|
23
20
|
duration: string;
|
|
24
21
|
successfulEnrichJobCount: number;
|
|
25
22
|
failedEnrichJobCount: number;
|
|
23
|
+
feedScraperAccountId: string;
|
|
24
|
+
feedScraperAccountEmail: string;
|
|
25
|
+
uniqueJobsFound: number;
|
|
26
26
|
}>;
|
|
27
27
|
export declare const jobActivityScrapedEventMetadata: z.ZodObject<{
|
|
28
28
|
activity: z.ZodObject<{
|
|
@@ -30,11 +30,11 @@ export declare const jobActivityScrapedEventMetadata: z.ZodObject<{
|
|
|
30
30
|
min: z.ZodNullable<z.ZodNumber>;
|
|
31
31
|
max: z.ZodNullable<z.ZodNumber>;
|
|
32
32
|
}, "strip", z.ZodTypeAny, {
|
|
33
|
-
min: number | null;
|
|
34
33
|
max: number | null;
|
|
35
|
-
}, {
|
|
36
34
|
min: number | null;
|
|
35
|
+
}, {
|
|
37
36
|
max: number | null;
|
|
37
|
+
min: number | null;
|
|
38
38
|
}>;
|
|
39
39
|
lastViewedByClient: z.ZodNullable<z.ZodString>;
|
|
40
40
|
lastViewedByClientTimestamp: z.ZodNullable<z.ZodNumber>;
|
|
@@ -44,64 +44,64 @@ export declare const jobActivityScrapedEventMetadata: z.ZodObject<{
|
|
|
44
44
|
unansweredInvites: z.ZodNullable<z.ZodNumber>;
|
|
45
45
|
updatedAt: z.ZodNullable<z.ZodNumber>;
|
|
46
46
|
}, "strip", z.ZodTypeAny, {
|
|
47
|
+
updatedAt: number | null;
|
|
48
|
+
unansweredInvites: number | null;
|
|
47
49
|
proposals: {
|
|
48
|
-
min: number | null;
|
|
49
50
|
max: number | null;
|
|
51
|
+
min: number | null;
|
|
50
52
|
};
|
|
51
53
|
lastViewedByClient: string | null;
|
|
52
54
|
lastViewedByClientTimestamp: number | null;
|
|
53
55
|
hires: number | null;
|
|
54
56
|
interviewing: number | null;
|
|
55
57
|
invitesSent: number | null;
|
|
56
|
-
unansweredInvites: number | null;
|
|
57
|
-
updatedAt: number | null;
|
|
58
58
|
}, {
|
|
59
|
+
updatedAt: number | null;
|
|
60
|
+
unansweredInvites: number | null;
|
|
59
61
|
proposals: {
|
|
60
|
-
min: number | null;
|
|
61
62
|
max: number | null;
|
|
63
|
+
min: number | null;
|
|
62
64
|
};
|
|
63
65
|
lastViewedByClient: string | null;
|
|
64
66
|
lastViewedByClientTimestamp: number | null;
|
|
65
67
|
hires: number | null;
|
|
66
68
|
interviewing: number | null;
|
|
67
69
|
invitesSent: number | null;
|
|
68
|
-
unansweredInvites: number | null;
|
|
69
|
-
updatedAt: number | null;
|
|
70
70
|
}>;
|
|
71
|
-
region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
|
|
71
|
+
region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">, z.ZodLiteral<"All">]>;
|
|
72
72
|
offsetHour: z.ZodType<4 | 24, z.ZodTypeDef, 4 | 24>;
|
|
73
73
|
scrapedAt: z.ZodNumber;
|
|
74
74
|
}, "strip", z.ZodTypeAny, {
|
|
75
|
-
region: "USOnly" | "UKOnly" | "
|
|
75
|
+
region: "Worldwide" | "USOnly" | "UKOnly" | "All";
|
|
76
76
|
activity: {
|
|
77
|
+
updatedAt: number | null;
|
|
78
|
+
unansweredInvites: number | null;
|
|
77
79
|
proposals: {
|
|
78
|
-
min: number | null;
|
|
79
80
|
max: number | null;
|
|
81
|
+
min: number | null;
|
|
80
82
|
};
|
|
81
83
|
lastViewedByClient: string | null;
|
|
82
84
|
lastViewedByClientTimestamp: number | null;
|
|
83
85
|
hires: number | null;
|
|
84
86
|
interviewing: number | null;
|
|
85
87
|
invitesSent: number | null;
|
|
86
|
-
unansweredInvites: number | null;
|
|
87
|
-
updatedAt: number | null;
|
|
88
88
|
};
|
|
89
89
|
offsetHour: 4 | 24;
|
|
90
90
|
scrapedAt: number;
|
|
91
91
|
}, {
|
|
92
|
-
region: "USOnly" | "UKOnly" | "
|
|
92
|
+
region: "Worldwide" | "USOnly" | "UKOnly" | "All";
|
|
93
93
|
activity: {
|
|
94
|
+
updatedAt: number | null;
|
|
95
|
+
unansweredInvites: number | null;
|
|
94
96
|
proposals: {
|
|
95
|
-
min: number | null;
|
|
96
97
|
max: number | null;
|
|
98
|
+
min: number | null;
|
|
97
99
|
};
|
|
98
100
|
lastViewedByClient: string | null;
|
|
99
101
|
lastViewedByClientTimestamp: number | null;
|
|
100
102
|
hires: number | null;
|
|
101
103
|
interviewing: number | null;
|
|
102
104
|
invitesSent: number | null;
|
|
103
|
-
unansweredInvites: number | null;
|
|
104
|
-
updatedAt: number | null;
|
|
105
105
|
};
|
|
106
106
|
offsetHour: 4 | 24;
|
|
107
107
|
scrapedAt: number;
|
|
@@ -177,15 +177,15 @@ export declare const jobActivityScrapeFailedEventMetadata: z.ZodObject<{
|
|
|
177
177
|
highlighted: z.ZodBoolean;
|
|
178
178
|
}, "strip", z.ZodTypeAny, {
|
|
179
179
|
uid: string;
|
|
180
|
-
parentSkillUid: string | null;
|
|
181
180
|
prefLabel: string;
|
|
181
|
+
parentSkillUid: string | null;
|
|
182
182
|
prettyName: string;
|
|
183
183
|
highlighted: boolean;
|
|
184
184
|
freeText?: any;
|
|
185
185
|
}, {
|
|
186
186
|
uid: string;
|
|
187
|
-
parentSkillUid: string | null;
|
|
188
187
|
prefLabel: string;
|
|
188
|
+
parentSkillUid: string | null;
|
|
189
189
|
prettyName: string;
|
|
190
190
|
highlighted: boolean;
|
|
191
191
|
freeText?: any;
|
|
@@ -194,11 +194,11 @@ export declare const jobActivityScrapeFailedEventMetadata: z.ZodObject<{
|
|
|
194
194
|
min: z.ZodNumber;
|
|
195
195
|
max: z.ZodNumber;
|
|
196
196
|
}, "strip", z.ZodTypeAny, {
|
|
197
|
-
min: number;
|
|
198
197
|
max: number;
|
|
199
|
-
}, {
|
|
200
198
|
min: number;
|
|
199
|
+
}, {
|
|
201
200
|
max: number;
|
|
201
|
+
min: number;
|
|
202
202
|
}>;
|
|
203
203
|
weeklyBudget: z.ZodObject<{
|
|
204
204
|
amount: z.ZodNumber;
|
|
@@ -210,18 +210,19 @@ export declare const jobActivityScrapeFailedEventMetadata: z.ZodObject<{
|
|
|
210
210
|
isSTSVectorSearchResult: z.ZodBoolean;
|
|
211
211
|
}, "strip", z.ZodTypeAny, {
|
|
212
212
|
type: number;
|
|
213
|
-
uid: string;
|
|
214
|
-
ciphertext: string;
|
|
215
213
|
title: string;
|
|
216
214
|
description: string;
|
|
215
|
+
premium: boolean;
|
|
216
|
+
amount: {
|
|
217
|
+
amount: number;
|
|
218
|
+
};
|
|
219
|
+
uid: string;
|
|
220
|
+
ciphertext: string;
|
|
217
221
|
createdOn: string;
|
|
222
|
+
durationLabel: string | null;
|
|
218
223
|
publishedOn: string;
|
|
219
224
|
renewedOn: string | null;
|
|
220
|
-
durationLabel: string | null;
|
|
221
225
|
engagement: string | null;
|
|
222
|
-
amount: {
|
|
223
|
-
amount: number;
|
|
224
|
-
};
|
|
225
226
|
connectPrice: number | null;
|
|
226
227
|
client: {
|
|
227
228
|
location: {
|
|
@@ -239,18 +240,17 @@ export declare const jobActivityScrapeFailedEventMetadata: z.ZodObject<{
|
|
|
239
240
|
tierText: string | null;
|
|
240
241
|
isApplied: boolean;
|
|
241
242
|
proposalsTier: string | null;
|
|
242
|
-
premium: boolean;
|
|
243
243
|
attrs: {
|
|
244
244
|
uid: string;
|
|
245
|
-
parentSkillUid: string | null;
|
|
246
245
|
prefLabel: string;
|
|
246
|
+
parentSkillUid: string | null;
|
|
247
247
|
prettyName: string;
|
|
248
248
|
highlighted: boolean;
|
|
249
249
|
freeText?: any;
|
|
250
250
|
}[];
|
|
251
251
|
hourlyBudget: {
|
|
252
|
-
min: number;
|
|
253
252
|
max: number;
|
|
253
|
+
min: number;
|
|
254
254
|
};
|
|
255
255
|
weeklyBudget: {
|
|
256
256
|
amount: number;
|
|
@@ -261,18 +261,19 @@ export declare const jobActivityScrapeFailedEventMetadata: z.ZodObject<{
|
|
|
261
261
|
clientRelation?: any;
|
|
262
262
|
}, {
|
|
263
263
|
type: number;
|
|
264
|
-
uid: string;
|
|
265
|
-
ciphertext: string;
|
|
266
264
|
title: string;
|
|
267
265
|
description: string;
|
|
266
|
+
premium: boolean;
|
|
267
|
+
amount: {
|
|
268
|
+
amount: number;
|
|
269
|
+
};
|
|
270
|
+
uid: string;
|
|
271
|
+
ciphertext: string;
|
|
268
272
|
createdOn: string;
|
|
273
|
+
durationLabel: string | null;
|
|
269
274
|
publishedOn: string;
|
|
270
275
|
renewedOn: string | null;
|
|
271
|
-
durationLabel: string | null;
|
|
272
276
|
engagement: string | null;
|
|
273
|
-
amount: {
|
|
274
|
-
amount: number;
|
|
275
|
-
};
|
|
276
277
|
connectPrice: number | null;
|
|
277
278
|
client: {
|
|
278
279
|
location: {
|
|
@@ -290,18 +291,17 @@ export declare const jobActivityScrapeFailedEventMetadata: z.ZodObject<{
|
|
|
290
291
|
tierText: string | null;
|
|
291
292
|
isApplied: boolean;
|
|
292
293
|
proposalsTier: string | null;
|
|
293
|
-
premium: boolean;
|
|
294
294
|
attrs: {
|
|
295
295
|
uid: string;
|
|
296
|
-
parentSkillUid: string | null;
|
|
297
296
|
prefLabel: string;
|
|
297
|
+
parentSkillUid: string | null;
|
|
298
298
|
prettyName: string;
|
|
299
299
|
highlighted: boolean;
|
|
300
300
|
freeText?: any;
|
|
301
301
|
}[];
|
|
302
302
|
hourlyBudget: {
|
|
303
|
-
min: number;
|
|
304
303
|
max: number;
|
|
304
|
+
min: number;
|
|
305
305
|
};
|
|
306
306
|
weeklyBudget: {
|
|
307
307
|
amount: number;
|
|
@@ -311,25 +311,24 @@ export declare const jobActivityScrapeFailedEventMetadata: z.ZodObject<{
|
|
|
311
311
|
jobUrl?: string | undefined;
|
|
312
312
|
clientRelation?: any;
|
|
313
313
|
}>;
|
|
314
|
-
region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
|
|
314
|
+
region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">, z.ZodLiteral<"All">]>;
|
|
315
315
|
offsetHour: z.ZodType<4 | 24, z.ZodTypeDef, 4 | 24>;
|
|
316
316
|
}, "strip", z.ZodTypeAny, {
|
|
317
|
-
region: "USOnly" | "UKOnly" | "Worldwide";
|
|
318
|
-
offsetHour: 4 | 24;
|
|
319
317
|
listing: {
|
|
320
318
|
type: number;
|
|
321
|
-
uid: string;
|
|
322
|
-
ciphertext: string;
|
|
323
319
|
title: string;
|
|
324
320
|
description: string;
|
|
321
|
+
premium: boolean;
|
|
322
|
+
amount: {
|
|
323
|
+
amount: number;
|
|
324
|
+
};
|
|
325
|
+
uid: string;
|
|
326
|
+
ciphertext: string;
|
|
325
327
|
createdOn: string;
|
|
328
|
+
durationLabel: string | null;
|
|
326
329
|
publishedOn: string;
|
|
327
330
|
renewedOn: string | null;
|
|
328
|
-
durationLabel: string | null;
|
|
329
331
|
engagement: string | null;
|
|
330
|
-
amount: {
|
|
331
|
-
amount: number;
|
|
332
|
-
};
|
|
333
332
|
connectPrice: number | null;
|
|
334
333
|
client: {
|
|
335
334
|
location: {
|
|
@@ -347,18 +346,17 @@ export declare const jobActivityScrapeFailedEventMetadata: z.ZodObject<{
|
|
|
347
346
|
tierText: string | null;
|
|
348
347
|
isApplied: boolean;
|
|
349
348
|
proposalsTier: string | null;
|
|
350
|
-
premium: boolean;
|
|
351
349
|
attrs: {
|
|
352
350
|
uid: string;
|
|
353
|
-
parentSkillUid: string | null;
|
|
354
351
|
prefLabel: string;
|
|
352
|
+
parentSkillUid: string | null;
|
|
355
353
|
prettyName: string;
|
|
356
354
|
highlighted: boolean;
|
|
357
355
|
freeText?: any;
|
|
358
356
|
}[];
|
|
359
357
|
hourlyBudget: {
|
|
360
|
-
min: number;
|
|
361
358
|
max: number;
|
|
359
|
+
min: number;
|
|
362
360
|
};
|
|
363
361
|
weeklyBudget: {
|
|
364
362
|
amount: number;
|
|
@@ -368,23 +366,24 @@ export declare const jobActivityScrapeFailedEventMetadata: z.ZodObject<{
|
|
|
368
366
|
jobUrl?: string | undefined;
|
|
369
367
|
clientRelation?: any;
|
|
370
368
|
};
|
|
371
|
-
|
|
372
|
-
region: "USOnly" | "UKOnly" | "Worldwide";
|
|
369
|
+
region: "Worldwide" | "USOnly" | "UKOnly" | "All";
|
|
373
370
|
offsetHour: 4 | 24;
|
|
371
|
+
}, {
|
|
374
372
|
listing: {
|
|
375
373
|
type: number;
|
|
376
|
-
uid: string;
|
|
377
|
-
ciphertext: string;
|
|
378
374
|
title: string;
|
|
379
375
|
description: string;
|
|
376
|
+
premium: boolean;
|
|
377
|
+
amount: {
|
|
378
|
+
amount: number;
|
|
379
|
+
};
|
|
380
|
+
uid: string;
|
|
381
|
+
ciphertext: string;
|
|
380
382
|
createdOn: string;
|
|
383
|
+
durationLabel: string | null;
|
|
381
384
|
publishedOn: string;
|
|
382
385
|
renewedOn: string | null;
|
|
383
|
-
durationLabel: string | null;
|
|
384
386
|
engagement: string | null;
|
|
385
|
-
amount: {
|
|
386
|
-
amount: number;
|
|
387
|
-
};
|
|
388
387
|
connectPrice: number | null;
|
|
389
388
|
client: {
|
|
390
389
|
location: {
|
|
@@ -402,18 +401,17 @@ export declare const jobActivityScrapeFailedEventMetadata: z.ZodObject<{
|
|
|
402
401
|
tierText: string | null;
|
|
403
402
|
isApplied: boolean;
|
|
404
403
|
proposalsTier: string | null;
|
|
405
|
-
premium: boolean;
|
|
406
404
|
attrs: {
|
|
407
405
|
uid: string;
|
|
408
|
-
parentSkillUid: string | null;
|
|
409
406
|
prefLabel: string;
|
|
407
|
+
parentSkillUid: string | null;
|
|
410
408
|
prettyName: string;
|
|
411
409
|
highlighted: boolean;
|
|
412
410
|
freeText?: any;
|
|
413
411
|
}[];
|
|
414
412
|
hourlyBudget: {
|
|
415
|
-
min: number;
|
|
416
413
|
max: number;
|
|
414
|
+
min: number;
|
|
417
415
|
};
|
|
418
416
|
weeklyBudget: {
|
|
419
417
|
amount: number;
|
|
@@ -423,38 +421,40 @@ export declare const jobActivityScrapeFailedEventMetadata: z.ZodObject<{
|
|
|
423
421
|
jobUrl?: string | undefined;
|
|
424
422
|
clientRelation?: any;
|
|
425
423
|
};
|
|
424
|
+
region: "Worldwide" | "USOnly" | "UKOnly" | "All";
|
|
425
|
+
offsetHour: 4 | 24;
|
|
426
426
|
}>;
|
|
427
427
|
export declare const scraperAccountErrorEventMetadata: z.ZodObject<{
|
|
428
428
|
errorStack: z.ZodString;
|
|
429
429
|
errorCode: z.ZodString;
|
|
430
430
|
errorMessage: z.ZodString;
|
|
431
431
|
}, "strip", z.ZodTypeAny, {
|
|
432
|
-
errorStack: string;
|
|
433
432
|
errorCode: string;
|
|
434
433
|
errorMessage: string;
|
|
435
|
-
}, {
|
|
436
434
|
errorStack: string;
|
|
435
|
+
}, {
|
|
437
436
|
errorCode: string;
|
|
438
437
|
errorMessage: string;
|
|
438
|
+
errorStack: string;
|
|
439
439
|
}>;
|
|
440
440
|
export declare const scraperAccountSwapStartedEventMetadata: z.ZodObject<{
|
|
441
|
-
region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
|
|
441
|
+
region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">, z.ZodLiteral<"All">]>;
|
|
442
442
|
type: z.ZodEnum<["feed", "job", "status", "activity", "profile", "unauthenticated"]>;
|
|
443
443
|
accountId: z.ZodString;
|
|
444
444
|
accountEmail: z.ZodString;
|
|
445
445
|
}, "strip", z.ZodTypeAny, {
|
|
446
|
-
type: "status" | "
|
|
447
|
-
region: "USOnly" | "UKOnly" | "
|
|
446
|
+
type: "status" | "profile" | "job" | "activity" | "feed" | "unauthenticated";
|
|
447
|
+
region: "Worldwide" | "USOnly" | "UKOnly" | "All";
|
|
448
448
|
accountId: string;
|
|
449
449
|
accountEmail: string;
|
|
450
450
|
}, {
|
|
451
|
-
type: "status" | "
|
|
452
|
-
region: "USOnly" | "UKOnly" | "
|
|
451
|
+
type: "status" | "profile" | "job" | "activity" | "feed" | "unauthenticated";
|
|
452
|
+
region: "Worldwide" | "USOnly" | "UKOnly" | "All";
|
|
453
453
|
accountId: string;
|
|
454
454
|
accountEmail: string;
|
|
455
455
|
}>;
|
|
456
456
|
export declare const scraperAccountSwapCompletedEventMetadata: z.ZodObject<z.objectUtil.extendShape<Pick<{
|
|
457
|
-
region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
|
|
457
|
+
region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">, z.ZodLiteral<"All">]>;
|
|
458
458
|
type: z.ZodEnum<["feed", "job", "status", "activity", "profile", "unauthenticated"]>;
|
|
459
459
|
accountId: z.ZodString;
|
|
460
460
|
accountEmail: z.ZodString;
|
|
@@ -462,22 +462,22 @@ export declare const scraperAccountSwapCompletedEventMetadata: z.ZodObject<z.obj
|
|
|
462
462
|
newAccountId: z.ZodString;
|
|
463
463
|
newAccountEmail: z.ZodString;
|
|
464
464
|
}>, "strip", z.ZodTypeAny, {
|
|
465
|
-
type: "status" | "
|
|
466
|
-
region: "USOnly" | "UKOnly" | "
|
|
465
|
+
type: "status" | "profile" | "job" | "activity" | "feed" | "unauthenticated";
|
|
466
|
+
region: "Worldwide" | "USOnly" | "UKOnly" | "All";
|
|
467
467
|
accountId: string;
|
|
468
468
|
accountEmail: string;
|
|
469
469
|
newAccountId: string;
|
|
470
470
|
newAccountEmail: string;
|
|
471
471
|
}, {
|
|
472
|
-
type: "status" | "
|
|
473
|
-
region: "USOnly" | "UKOnly" | "
|
|
472
|
+
type: "status" | "profile" | "job" | "activity" | "feed" | "unauthenticated";
|
|
473
|
+
region: "Worldwide" | "USOnly" | "UKOnly" | "All";
|
|
474
474
|
accountId: string;
|
|
475
475
|
accountEmail: string;
|
|
476
476
|
newAccountId: string;
|
|
477
477
|
newAccountEmail: string;
|
|
478
478
|
}>;
|
|
479
479
|
export declare const scraperAccountSwapFailedEventMetadata: z.ZodObject<z.objectUtil.extendShape<Pick<{
|
|
480
|
-
region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
|
|
480
|
+
region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">, z.ZodLiteral<"All">]>;
|
|
481
481
|
type: z.ZodEnum<["feed", "job", "status", "activity", "profile", "unauthenticated"]>;
|
|
482
482
|
accountId: z.ZodString;
|
|
483
483
|
accountEmail: z.ZodString;
|
|
@@ -486,20 +486,20 @@ export declare const scraperAccountSwapFailedEventMetadata: z.ZodObject<z.object
|
|
|
486
486
|
errorCode: z.ZodString;
|
|
487
487
|
errorMessage: z.ZodString;
|
|
488
488
|
}>, "strip", z.ZodTypeAny, {
|
|
489
|
-
type: "status" | "
|
|
490
|
-
region: "USOnly" | "UKOnly" | "Worldwide";
|
|
491
|
-
errorStack: string;
|
|
489
|
+
type: "status" | "profile" | "job" | "activity" | "feed" | "unauthenticated";
|
|
492
490
|
errorCode: string;
|
|
493
|
-
|
|
491
|
+
region: "Worldwide" | "USOnly" | "UKOnly" | "All";
|
|
494
492
|
accountId: string;
|
|
493
|
+
errorMessage: string;
|
|
494
|
+
errorStack: string;
|
|
495
495
|
accountEmail: string;
|
|
496
496
|
}, {
|
|
497
|
-
type: "status" | "
|
|
498
|
-
region: "USOnly" | "UKOnly" | "Worldwide";
|
|
499
|
-
errorStack: string;
|
|
497
|
+
type: "status" | "profile" | "job" | "activity" | "feed" | "unauthenticated";
|
|
500
498
|
errorCode: string;
|
|
501
|
-
|
|
499
|
+
region: "Worldwide" | "USOnly" | "UKOnly" | "All";
|
|
502
500
|
accountId: string;
|
|
501
|
+
errorMessage: string;
|
|
502
|
+
errorStack: string;
|
|
503
503
|
accountEmail: string;
|
|
504
504
|
}>;
|
|
505
505
|
export interface ScrapeJobsCompletedEventMetadata extends z.infer<typeof scrapeJobsCompletedEventMetadata> {
|
|
@@ -6,15 +6,15 @@ export declare const sendAlertPayloadSchema: z.ZodObject<{
|
|
|
6
6
|
leadId: z.ZodNullable<z.ZodString>;
|
|
7
7
|
errorMessage: z.ZodString;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
|
-
type: "
|
|
10
|
-
organizationId: string | null;
|
|
9
|
+
type: "proposal" | "suitability" | "bidding" | "scraper";
|
|
11
10
|
campaignId: string | null;
|
|
11
|
+
organizationId: string | null;
|
|
12
12
|
leadId: string | null;
|
|
13
13
|
errorMessage: string;
|
|
14
14
|
}, {
|
|
15
|
-
type: "
|
|
16
|
-
organizationId: string | null;
|
|
15
|
+
type: "proposal" | "suitability" | "bidding" | "scraper";
|
|
17
16
|
campaignId: string | null;
|
|
17
|
+
organizationId: string | null;
|
|
18
18
|
leadId: string | null;
|
|
19
19
|
errorMessage: string;
|
|
20
20
|
}>;
|
|
@@ -8,14 +8,14 @@ export declare const coverLetterTemplateSchema: z.ZodObject<{
|
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
9
|
id: string;
|
|
10
10
|
name: string;
|
|
11
|
-
description: string | null;
|
|
12
11
|
template: string;
|
|
12
|
+
description: string | null;
|
|
13
13
|
instructions: string;
|
|
14
14
|
}, {
|
|
15
15
|
id: string;
|
|
16
16
|
name: string;
|
|
17
|
-
description: string | null;
|
|
18
17
|
template: string;
|
|
18
|
+
description: string | null;
|
|
19
19
|
instructions: string;
|
|
20
20
|
}>;
|
|
21
21
|
export declare const createCoverLetterTemplateSchema: z.ZodObject<Pick<{
|