lancer-shared 1.2.123 → 1.2.125

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.
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
- export declare const LogEventTypeEnum: z.ZodEnum<["scraperStarted", "scraperCompleted", "scrapeJobStarted", "jobScraped", "jobScrapeFailed", "scrapeJobDetailsStarted", "scrapeJobDetailsCompleted", "scrapeJobDetailsFailed", "jobsIndexed", "jobDuplicateSkipped", "scraperFailed", "jobActivityScraped", "jobActivityScrapeFailed", "leadStatusCheckFailed", "leadStatusUpdated", "feedScrapeStarted", "feedScrapeCompleted", "feedScrapeFailed", "jobListingScraped", "jobSyncPublished", "jobSyncReceived", "leadsCreatedAndSynced", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "biddingPending", "biddingRetry", "biddingInsufficientConnects", "biddingWarningAlert", "biddingRejected", "biddingRejectedWithFeedback", "checkSuitableLeadFeedbackStatus", "biddingApproved", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged", "scraperAccountError"]>;
2
+ export declare const LogEventTypeEnum: z.ZodEnum<["leadStatusCheckFailed", "leadStatusUpdated", "jobSyncPublished", "jobSyncReceived", "jobsIndexed", "leadsCreatedAndSynced", "jobDuplicateSkipped", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "biddingPending", "biddingRetry", "biddingInsufficientConnects", "biddingWarningAlert", "biddingRejected", "biddingRejectedWithFeedback", "checkSuitableLeadFeedbackStatus", "biddingApproved", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged", "scrapeFeedStarted", "scrapeFeedCompleted", "scrapeFeedFailed", "scrapeJobDetailsStarted", "jobScraped", "scrapeJobDetailsFailed", "scrapeJobsDetailsStarted", "scrapeJobsDetailsCompleted", "scrapeJobsDetailsFailed", "scrapeJobsCompleted", "scraperAccountError"]>;
3
3
  export declare const logEventSchema: z.ZodObject<{
4
- type: z.ZodEnum<["scraperStarted", "scraperCompleted", "scrapeJobStarted", "jobScraped", "jobScrapeFailed", "scrapeJobDetailsStarted", "scrapeJobDetailsCompleted", "scrapeJobDetailsFailed", "jobsIndexed", "jobDuplicateSkipped", "scraperFailed", "jobActivityScraped", "jobActivityScrapeFailed", "leadStatusCheckFailed", "leadStatusUpdated", "feedScrapeStarted", "feedScrapeCompleted", "feedScrapeFailed", "jobListingScraped", "jobSyncPublished", "jobSyncReceived", "leadsCreatedAndSynced", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "biddingPending", "biddingRetry", "biddingInsufficientConnects", "biddingWarningAlert", "biddingRejected", "biddingRejectedWithFeedback", "checkSuitableLeadFeedbackStatus", "biddingApproved", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged", "scraperAccountError"]>;
4
+ type: z.ZodEnum<["leadStatusCheckFailed", "leadStatusUpdated", "jobSyncPublished", "jobSyncReceived", "jobsIndexed", "leadsCreatedAndSynced", "jobDuplicateSkipped", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "biddingPending", "biddingRetry", "biddingInsufficientConnects", "biddingWarningAlert", "biddingRejected", "biddingRejectedWithFeedback", "checkSuitableLeadFeedbackStatus", "biddingApproved", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged", "scrapeFeedStarted", "scrapeFeedCompleted", "scrapeFeedFailed", "scrapeJobDetailsStarted", "jobScraped", "scrapeJobDetailsFailed", "scrapeJobsDetailsStarted", "scrapeJobsDetailsCompleted", "scrapeJobsDetailsFailed", "scrapeJobsCompleted", "scraperAccountError"]>;
5
5
  source: z.ZodString;
6
6
  resourceType: z.ZodDefault<z.ZodString>;
7
7
  resourceId: z.ZodNullable<z.ZodString>;
@@ -13,7 +13,7 @@ export declare const logEventSchema: z.ZodObject<{
13
13
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
14
14
  timestamp: z.ZodNumber;
15
15
  }, "strip", z.ZodTypeAny, {
16
- type: "scraperStarted" | "scraperCompleted" | "scrapeJobStarted" | "jobScraped" | "jobScrapeFailed" | "scrapeJobDetailsStarted" | "scrapeJobDetailsCompleted" | "scrapeJobDetailsFailed" | "jobsIndexed" | "jobDuplicateSkipped" | "scraperFailed" | "jobActivityScraped" | "jobActivityScrapeFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "jobListingScraped" | "jobSyncPublished" | "jobSyncReceived" | "leadsCreatedAndSynced" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "manualSuitabilityAnalyzed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "manualProposalGenerated" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "scraperAccountError";
16
+ type: "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "manualSuitabilityAnalyzed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "manualProposalGenerated" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "scrapeFeedStarted" | "scrapeFeedCompleted" | "scrapeFeedFailed" | "scrapeJobDetailsStarted" | "jobScraped" | "scrapeJobDetailsFailed" | "scrapeJobsDetailsStarted" | "scrapeJobsDetailsCompleted" | "scrapeJobsDetailsFailed" | "scrapeJobsCompleted" | "scraperAccountError";
17
17
  source: string;
18
18
  resourceType: string;
19
19
  resourceId: string | null;
@@ -25,7 +25,7 @@ export declare const logEventSchema: z.ZodObject<{
25
25
  metadata: Record<string, unknown> | null;
26
26
  timestamp: number;
27
27
  }, {
28
- type: "scraperStarted" | "scraperCompleted" | "scrapeJobStarted" | "jobScraped" | "jobScrapeFailed" | "scrapeJobDetailsStarted" | "scrapeJobDetailsCompleted" | "scrapeJobDetailsFailed" | "jobsIndexed" | "jobDuplicateSkipped" | "scraperFailed" | "jobActivityScraped" | "jobActivityScrapeFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "jobListingScraped" | "jobSyncPublished" | "jobSyncReceived" | "leadsCreatedAndSynced" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "manualSuitabilityAnalyzed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "manualProposalGenerated" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "scraperAccountError";
28
+ type: "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "manualSuitabilityAnalyzed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "manualProposalGenerated" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "scrapeFeedStarted" | "scrapeFeedCompleted" | "scrapeFeedFailed" | "scrapeJobDetailsStarted" | "jobScraped" | "scrapeJobDetailsFailed" | "scrapeJobsDetailsStarted" | "scrapeJobsDetailsCompleted" | "scrapeJobsDetailsFailed" | "scrapeJobsCompleted" | "scraperAccountError";
29
29
  source: string;
30
30
  resourceId: string | null;
31
31
  organizationId: string | null;
@@ -37,1477 +37,6 @@ export declare const logEventSchema: z.ZodObject<{
37
37
  timestamp: number;
38
38
  resourceType?: string | undefined;
39
39
  }>;
40
- export declare const listingScrapedEventMetadata: z.ZodObject<{
41
- listing: z.ZodObject<{
42
- uid: z.ZodString;
43
- ciphertext: z.ZodString;
44
- title: z.ZodString;
45
- category: z.ZodOptional<z.ZodString>;
46
- jobUrl: z.ZodOptional<z.ZodString>;
47
- description: z.ZodString;
48
- createdOn: z.ZodString;
49
- publishedOn: z.ZodString;
50
- renewedOn: z.ZodNullable<z.ZodString>;
51
- type: z.ZodNumber;
52
- durationLabel: z.ZodNullable<z.ZodString>;
53
- engagement: z.ZodNullable<z.ZodString>;
54
- amount: z.ZodObject<{
55
- amount: z.ZodNumber;
56
- }, "strip", z.ZodTypeAny, {
57
- amount: number;
58
- }, {
59
- amount: number;
60
- }>;
61
- connectPrice: z.ZodNullable<z.ZodNumber>;
62
- client: z.ZodObject<{
63
- location: z.ZodObject<{
64
- country: z.ZodNullable<z.ZodString>;
65
- }, "strip", z.ZodTypeAny, {
66
- country: string | null;
67
- }, {
68
- country: string | null;
69
- }>;
70
- isPaymentVerified: z.ZodBoolean;
71
- totalSpent: z.ZodNullable<z.ZodString>;
72
- totalReviews: z.ZodNumber;
73
- totalFeedback: z.ZodNumber;
74
- hasFinancialPrivacy: z.ZodBoolean;
75
- }, "strip", z.ZodTypeAny, {
76
- location: {
77
- country: string | null;
78
- };
79
- isPaymentVerified: boolean;
80
- totalSpent: string | null;
81
- totalReviews: number;
82
- totalFeedback: number;
83
- hasFinancialPrivacy: boolean;
84
- }, {
85
- location: {
86
- country: string | null;
87
- };
88
- isPaymentVerified: boolean;
89
- totalSpent: string | null;
90
- totalReviews: number;
91
- totalFeedback: number;
92
- hasFinancialPrivacy: boolean;
93
- }>;
94
- clientRelation: z.ZodNullable<z.ZodAny>;
95
- freelancersToHire: z.ZodNumber;
96
- relevanceEncoded: z.ZodString;
97
- enterpriseJob: z.ZodBoolean;
98
- tierText: z.ZodNullable<z.ZodString>;
99
- isApplied: z.ZodBoolean;
100
- proposalsTier: z.ZodNullable<z.ZodString>;
101
- premium: z.ZodBoolean;
102
- attrs: z.ZodArray<z.ZodObject<{
103
- uid: z.ZodString;
104
- parentSkillUid: z.ZodNullable<z.ZodString>;
105
- prefLabel: z.ZodString;
106
- prettyName: z.ZodString;
107
- freeText: z.ZodNullable<z.ZodAny>;
108
- highlighted: z.ZodBoolean;
109
- }, "strip", z.ZodTypeAny, {
110
- uid: string;
111
- parentSkillUid: string | null;
112
- prefLabel: string;
113
- prettyName: string;
114
- highlighted: boolean;
115
- freeText?: any;
116
- }, {
117
- uid: string;
118
- parentSkillUid: string | null;
119
- prefLabel: string;
120
- prettyName: string;
121
- highlighted: boolean;
122
- freeText?: any;
123
- }>, "many">;
124
- hourlyBudget: z.ZodObject<{
125
- min: z.ZodNumber;
126
- max: z.ZodNumber;
127
- }, "strip", z.ZodTypeAny, {
128
- min: number;
129
- max: number;
130
- }, {
131
- min: number;
132
- max: number;
133
- }>;
134
- weeklyBudget: z.ZodObject<{
135
- amount: z.ZodNumber;
136
- }, "strip", z.ZodTypeAny, {
137
- amount: number;
138
- }, {
139
- amount: number;
140
- }>;
141
- isSTSVectorSearchResult: z.ZodBoolean;
142
- }, "strip", z.ZodTypeAny, {
143
- type: number;
144
- uid: string;
145
- ciphertext: string;
146
- title: string;
147
- description: string;
148
- createdOn: string;
149
- publishedOn: string;
150
- renewedOn: string | null;
151
- durationLabel: string | null;
152
- engagement: string | null;
153
- amount: {
154
- amount: number;
155
- };
156
- connectPrice: number | null;
157
- client: {
158
- location: {
159
- country: string | null;
160
- };
161
- isPaymentVerified: boolean;
162
- totalSpent: string | null;
163
- totalReviews: number;
164
- totalFeedback: number;
165
- hasFinancialPrivacy: boolean;
166
- };
167
- freelancersToHire: number;
168
- relevanceEncoded: string;
169
- enterpriseJob: boolean;
170
- tierText: string | null;
171
- isApplied: boolean;
172
- proposalsTier: string | null;
173
- premium: boolean;
174
- attrs: {
175
- uid: string;
176
- parentSkillUid: string | null;
177
- prefLabel: string;
178
- prettyName: string;
179
- highlighted: boolean;
180
- freeText?: any;
181
- }[];
182
- hourlyBudget: {
183
- min: number;
184
- max: number;
185
- };
186
- weeklyBudget: {
187
- amount: number;
188
- };
189
- isSTSVectorSearchResult: boolean;
190
- category?: string | undefined;
191
- jobUrl?: string | undefined;
192
- clientRelation?: any;
193
- }, {
194
- type: number;
195
- uid: string;
196
- ciphertext: string;
197
- title: string;
198
- description: string;
199
- createdOn: string;
200
- publishedOn: string;
201
- renewedOn: string | null;
202
- durationLabel: string | null;
203
- engagement: string | null;
204
- amount: {
205
- amount: number;
206
- };
207
- connectPrice: number | null;
208
- client: {
209
- location: {
210
- country: string | null;
211
- };
212
- isPaymentVerified: boolean;
213
- totalSpent: string | null;
214
- totalReviews: number;
215
- totalFeedback: number;
216
- hasFinancialPrivacy: boolean;
217
- };
218
- freelancersToHire: number;
219
- relevanceEncoded: string;
220
- enterpriseJob: boolean;
221
- tierText: string | null;
222
- isApplied: boolean;
223
- proposalsTier: string | null;
224
- premium: boolean;
225
- attrs: {
226
- uid: string;
227
- parentSkillUid: string | null;
228
- prefLabel: string;
229
- prettyName: string;
230
- highlighted: boolean;
231
- freeText?: any;
232
- }[];
233
- hourlyBudget: {
234
- min: number;
235
- max: number;
236
- };
237
- weeklyBudget: {
238
- amount: number;
239
- };
240
- isSTSVectorSearchResult: boolean;
241
- category?: string | undefined;
242
- jobUrl?: string | undefined;
243
- clientRelation?: any;
244
- }>;
245
- region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
246
- }, "strip", z.ZodTypeAny, {
247
- listing: {
248
- type: number;
249
- uid: string;
250
- ciphertext: string;
251
- title: string;
252
- description: string;
253
- createdOn: string;
254
- publishedOn: string;
255
- renewedOn: string | null;
256
- durationLabel: string | null;
257
- engagement: string | null;
258
- amount: {
259
- amount: number;
260
- };
261
- connectPrice: number | null;
262
- client: {
263
- location: {
264
- country: string | null;
265
- };
266
- isPaymentVerified: boolean;
267
- totalSpent: string | null;
268
- totalReviews: number;
269
- totalFeedback: number;
270
- hasFinancialPrivacy: boolean;
271
- };
272
- freelancersToHire: number;
273
- relevanceEncoded: string;
274
- enterpriseJob: boolean;
275
- tierText: string | null;
276
- isApplied: boolean;
277
- proposalsTier: string | null;
278
- premium: boolean;
279
- attrs: {
280
- uid: string;
281
- parentSkillUid: string | null;
282
- prefLabel: string;
283
- prettyName: string;
284
- highlighted: boolean;
285
- freeText?: any;
286
- }[];
287
- hourlyBudget: {
288
- min: number;
289
- max: number;
290
- };
291
- weeklyBudget: {
292
- amount: number;
293
- };
294
- isSTSVectorSearchResult: boolean;
295
- category?: string | undefined;
296
- jobUrl?: string | undefined;
297
- clientRelation?: any;
298
- };
299
- region: "USOnly" | "UKOnly" | "Worldwide";
300
- }, {
301
- listing: {
302
- type: number;
303
- uid: string;
304
- ciphertext: string;
305
- title: string;
306
- description: string;
307
- createdOn: string;
308
- publishedOn: string;
309
- renewedOn: string | null;
310
- durationLabel: string | null;
311
- engagement: string | null;
312
- amount: {
313
- amount: number;
314
- };
315
- connectPrice: number | null;
316
- client: {
317
- location: {
318
- country: string | null;
319
- };
320
- isPaymentVerified: boolean;
321
- totalSpent: string | null;
322
- totalReviews: number;
323
- totalFeedback: number;
324
- hasFinancialPrivacy: boolean;
325
- };
326
- freelancersToHire: number;
327
- relevanceEncoded: string;
328
- enterpriseJob: boolean;
329
- tierText: string | null;
330
- isApplied: boolean;
331
- proposalsTier: string | null;
332
- premium: boolean;
333
- attrs: {
334
- uid: string;
335
- parentSkillUid: string | null;
336
- prefLabel: string;
337
- prettyName: string;
338
- highlighted: boolean;
339
- freeText?: any;
340
- }[];
341
- hourlyBudget: {
342
- min: number;
343
- max: number;
344
- };
345
- weeklyBudget: {
346
- amount: number;
347
- };
348
- isSTSVectorSearchResult: boolean;
349
- category?: string | undefined;
350
- jobUrl?: string | undefined;
351
- clientRelation?: any;
352
- };
353
- region: "USOnly" | "UKOnly" | "Worldwide";
354
- }>;
355
- export declare const scrapeFeedEventMetadata: z.ZodObject<{
356
- region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
357
- error: z.ZodString;
358
- }, "strip", z.ZodTypeAny, {
359
- region: "USOnly" | "UKOnly" | "Worldwide";
360
- error: string;
361
- }, {
362
- region: "USOnly" | "UKOnly" | "Worldwide";
363
- error: string;
364
- }>;
365
- export declare const scrapeFeedJobsDetailsStartedEventMetadata: z.ZodObject<{
366
- region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
367
- accounts: z.ZodArray<z.ZodObject<{
368
- id: z.ZodString;
369
- email: z.ZodString;
370
- }, "strip", z.ZodTypeAny, {
371
- id: string;
372
- email: string;
373
- }, {
374
- id: string;
375
- email: string;
376
- }>, "many">;
377
- feedJobsCount: z.ZodNumber;
378
- chunksSize: z.ZodNumber;
379
- }, "strip", z.ZodTypeAny, {
380
- region: "USOnly" | "UKOnly" | "Worldwide";
381
- accounts: {
382
- id: string;
383
- email: string;
384
- }[];
385
- feedJobsCount: number;
386
- chunksSize: number;
387
- }, {
388
- region: "USOnly" | "UKOnly" | "Worldwide";
389
- accounts: {
390
- id: string;
391
- email: string;
392
- }[];
393
- feedJobsCount: number;
394
- chunksSize: number;
395
- }>;
396
- export declare const scrapeFeedJobsDetailsCompletedEventMetadata: z.ZodObject<{
397
- region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
398
- accountId: z.ZodString;
399
- accountEmail: z.ZodString;
400
- feedJobsCount: z.ZodNumber;
401
- duration: z.ZodString;
402
- }, "strip", z.ZodTypeAny, {
403
- region: "USOnly" | "UKOnly" | "Worldwide";
404
- feedJobsCount: number;
405
- accountId: string;
406
- accountEmail: string;
407
- duration: string;
408
- }, {
409
- region: "USOnly" | "UKOnly" | "Worldwide";
410
- feedJobsCount: number;
411
- accountId: string;
412
- accountEmail: string;
413
- duration: string;
414
- }>;
415
- export declare const scrapeFeedJobsDetailsFailedEventMetadata: z.ZodObject<{
416
- region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
417
- accountId: z.ZodString;
418
- accountEmail: z.ZodString;
419
- error: z.ZodString;
420
- duration: z.ZodString;
421
- }, "strip", z.ZodTypeAny, {
422
- region: "USOnly" | "UKOnly" | "Worldwide";
423
- error: string;
424
- accountId: string;
425
- accountEmail: string;
426
- duration: string;
427
- }, {
428
- region: "USOnly" | "UKOnly" | "Worldwide";
429
- error: string;
430
- accountId: string;
431
- accountEmail: string;
432
- duration: string;
433
- }>;
434
- export declare const scrapeJobStartedEventMetadata: z.ZodObject<{
435
- listing: z.ZodObject<{
436
- uid: z.ZodString;
437
- ciphertext: z.ZodString;
438
- title: z.ZodString;
439
- category: z.ZodOptional<z.ZodString>;
440
- jobUrl: z.ZodOptional<z.ZodString>;
441
- description: z.ZodString;
442
- createdOn: z.ZodString;
443
- publishedOn: z.ZodString;
444
- renewedOn: z.ZodNullable<z.ZodString>;
445
- type: z.ZodNumber;
446
- durationLabel: z.ZodNullable<z.ZodString>;
447
- engagement: z.ZodNullable<z.ZodString>;
448
- amount: z.ZodObject<{
449
- amount: z.ZodNumber;
450
- }, "strip", z.ZodTypeAny, {
451
- amount: number;
452
- }, {
453
- amount: number;
454
- }>;
455
- connectPrice: z.ZodNullable<z.ZodNumber>;
456
- client: z.ZodObject<{
457
- location: z.ZodObject<{
458
- country: z.ZodNullable<z.ZodString>;
459
- }, "strip", z.ZodTypeAny, {
460
- country: string | null;
461
- }, {
462
- country: string | null;
463
- }>;
464
- isPaymentVerified: z.ZodBoolean;
465
- totalSpent: z.ZodNullable<z.ZodString>;
466
- totalReviews: z.ZodNumber;
467
- totalFeedback: z.ZodNumber;
468
- hasFinancialPrivacy: z.ZodBoolean;
469
- }, "strip", z.ZodTypeAny, {
470
- location: {
471
- country: string | null;
472
- };
473
- isPaymentVerified: boolean;
474
- totalSpent: string | null;
475
- totalReviews: number;
476
- totalFeedback: number;
477
- hasFinancialPrivacy: boolean;
478
- }, {
479
- location: {
480
- country: string | null;
481
- };
482
- isPaymentVerified: boolean;
483
- totalSpent: string | null;
484
- totalReviews: number;
485
- totalFeedback: number;
486
- hasFinancialPrivacy: boolean;
487
- }>;
488
- clientRelation: z.ZodNullable<z.ZodAny>;
489
- freelancersToHire: z.ZodNumber;
490
- relevanceEncoded: z.ZodString;
491
- enterpriseJob: z.ZodBoolean;
492
- tierText: z.ZodNullable<z.ZodString>;
493
- isApplied: z.ZodBoolean;
494
- proposalsTier: z.ZodNullable<z.ZodString>;
495
- premium: z.ZodBoolean;
496
- attrs: z.ZodArray<z.ZodObject<{
497
- uid: z.ZodString;
498
- parentSkillUid: z.ZodNullable<z.ZodString>;
499
- prefLabel: z.ZodString;
500
- prettyName: z.ZodString;
501
- freeText: z.ZodNullable<z.ZodAny>;
502
- highlighted: z.ZodBoolean;
503
- }, "strip", z.ZodTypeAny, {
504
- uid: string;
505
- parentSkillUid: string | null;
506
- prefLabel: string;
507
- prettyName: string;
508
- highlighted: boolean;
509
- freeText?: any;
510
- }, {
511
- uid: string;
512
- parentSkillUid: string | null;
513
- prefLabel: string;
514
- prettyName: string;
515
- highlighted: boolean;
516
- freeText?: any;
517
- }>, "many">;
518
- hourlyBudget: z.ZodObject<{
519
- min: z.ZodNumber;
520
- max: z.ZodNumber;
521
- }, "strip", z.ZodTypeAny, {
522
- min: number;
523
- max: number;
524
- }, {
525
- min: number;
526
- max: number;
527
- }>;
528
- weeklyBudget: z.ZodObject<{
529
- amount: z.ZodNumber;
530
- }, "strip", z.ZodTypeAny, {
531
- amount: number;
532
- }, {
533
- amount: number;
534
- }>;
535
- isSTSVectorSearchResult: z.ZodBoolean;
536
- }, "strip", z.ZodTypeAny, {
537
- type: number;
538
- uid: string;
539
- ciphertext: string;
540
- title: string;
541
- description: string;
542
- createdOn: string;
543
- publishedOn: string;
544
- renewedOn: string | null;
545
- durationLabel: string | null;
546
- engagement: string | null;
547
- amount: {
548
- amount: number;
549
- };
550
- connectPrice: number | null;
551
- client: {
552
- location: {
553
- country: string | null;
554
- };
555
- isPaymentVerified: boolean;
556
- totalSpent: string | null;
557
- totalReviews: number;
558
- totalFeedback: number;
559
- hasFinancialPrivacy: boolean;
560
- };
561
- freelancersToHire: number;
562
- relevanceEncoded: string;
563
- enterpriseJob: boolean;
564
- tierText: string | null;
565
- isApplied: boolean;
566
- proposalsTier: string | null;
567
- premium: boolean;
568
- attrs: {
569
- uid: string;
570
- parentSkillUid: string | null;
571
- prefLabel: string;
572
- prettyName: string;
573
- highlighted: boolean;
574
- freeText?: any;
575
- }[];
576
- hourlyBudget: {
577
- min: number;
578
- max: number;
579
- };
580
- weeklyBudget: {
581
- amount: number;
582
- };
583
- isSTSVectorSearchResult: boolean;
584
- category?: string | undefined;
585
- jobUrl?: string | undefined;
586
- clientRelation?: any;
587
- }, {
588
- type: number;
589
- uid: string;
590
- ciphertext: string;
591
- title: string;
592
- description: string;
593
- createdOn: string;
594
- publishedOn: string;
595
- renewedOn: string | null;
596
- durationLabel: string | null;
597
- engagement: string | null;
598
- amount: {
599
- amount: number;
600
- };
601
- connectPrice: number | null;
602
- client: {
603
- location: {
604
- country: string | null;
605
- };
606
- isPaymentVerified: boolean;
607
- totalSpent: string | null;
608
- totalReviews: number;
609
- totalFeedback: number;
610
- hasFinancialPrivacy: boolean;
611
- };
612
- freelancersToHire: number;
613
- relevanceEncoded: string;
614
- enterpriseJob: boolean;
615
- tierText: string | null;
616
- isApplied: boolean;
617
- proposalsTier: string | null;
618
- premium: boolean;
619
- attrs: {
620
- uid: string;
621
- parentSkillUid: string | null;
622
- prefLabel: string;
623
- prettyName: string;
624
- highlighted: boolean;
625
- freeText?: any;
626
- }[];
627
- hourlyBudget: {
628
- min: number;
629
- max: number;
630
- };
631
- weeklyBudget: {
632
- amount: number;
633
- };
634
- isSTSVectorSearchResult: boolean;
635
- category?: string | undefined;
636
- jobUrl?: string | undefined;
637
- clientRelation?: any;
638
- }>;
639
- region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
640
- accountId: z.ZodString;
641
- accountEmail: z.ZodString;
642
- }, "strip", z.ZodTypeAny, {
643
- listing: {
644
- type: number;
645
- uid: string;
646
- ciphertext: string;
647
- title: string;
648
- description: string;
649
- createdOn: string;
650
- publishedOn: string;
651
- renewedOn: string | null;
652
- durationLabel: string | null;
653
- engagement: string | null;
654
- amount: {
655
- amount: number;
656
- };
657
- connectPrice: number | null;
658
- client: {
659
- location: {
660
- country: string | null;
661
- };
662
- isPaymentVerified: boolean;
663
- totalSpent: string | null;
664
- totalReviews: number;
665
- totalFeedback: number;
666
- hasFinancialPrivacy: boolean;
667
- };
668
- freelancersToHire: number;
669
- relevanceEncoded: string;
670
- enterpriseJob: boolean;
671
- tierText: string | null;
672
- isApplied: boolean;
673
- proposalsTier: string | null;
674
- premium: boolean;
675
- attrs: {
676
- uid: string;
677
- parentSkillUid: string | null;
678
- prefLabel: string;
679
- prettyName: string;
680
- highlighted: boolean;
681
- freeText?: any;
682
- }[];
683
- hourlyBudget: {
684
- min: number;
685
- max: number;
686
- };
687
- weeklyBudget: {
688
- amount: number;
689
- };
690
- isSTSVectorSearchResult: boolean;
691
- category?: string | undefined;
692
- jobUrl?: string | undefined;
693
- clientRelation?: any;
694
- };
695
- region: "USOnly" | "UKOnly" | "Worldwide";
696
- accountId: string;
697
- accountEmail: string;
698
- }, {
699
- listing: {
700
- type: number;
701
- uid: string;
702
- ciphertext: string;
703
- title: string;
704
- description: string;
705
- createdOn: string;
706
- publishedOn: string;
707
- renewedOn: string | null;
708
- durationLabel: string | null;
709
- engagement: string | null;
710
- amount: {
711
- amount: number;
712
- };
713
- connectPrice: number | null;
714
- client: {
715
- location: {
716
- country: string | null;
717
- };
718
- isPaymentVerified: boolean;
719
- totalSpent: string | null;
720
- totalReviews: number;
721
- totalFeedback: number;
722
- hasFinancialPrivacy: boolean;
723
- };
724
- freelancersToHire: number;
725
- relevanceEncoded: string;
726
- enterpriseJob: boolean;
727
- tierText: string | null;
728
- isApplied: boolean;
729
- proposalsTier: string | null;
730
- premium: boolean;
731
- attrs: {
732
- uid: string;
733
- parentSkillUid: string | null;
734
- prefLabel: string;
735
- prettyName: string;
736
- highlighted: boolean;
737
- freeText?: any;
738
- }[];
739
- hourlyBudget: {
740
- min: number;
741
- max: number;
742
- };
743
- weeklyBudget: {
744
- amount: number;
745
- };
746
- isSTSVectorSearchResult: boolean;
747
- category?: string | undefined;
748
- jobUrl?: string | undefined;
749
- clientRelation?: any;
750
- };
751
- region: "USOnly" | "UKOnly" | "Worldwide";
752
- accountId: string;
753
- accountEmail: string;
754
- }>;
755
- export declare const scrapeJobFailedEventMetadata: z.ZodObject<{
756
- listing: z.ZodObject<{
757
- uid: z.ZodString;
758
- ciphertext: z.ZodString;
759
- title: z.ZodString;
760
- category: z.ZodOptional<z.ZodString>;
761
- jobUrl: z.ZodOptional<z.ZodString>;
762
- description: z.ZodString;
763
- createdOn: z.ZodString;
764
- publishedOn: z.ZodString;
765
- renewedOn: z.ZodNullable<z.ZodString>;
766
- type: z.ZodNumber;
767
- durationLabel: z.ZodNullable<z.ZodString>;
768
- engagement: z.ZodNullable<z.ZodString>;
769
- amount: z.ZodObject<{
770
- amount: z.ZodNumber;
771
- }, "strip", z.ZodTypeAny, {
772
- amount: number;
773
- }, {
774
- amount: number;
775
- }>;
776
- connectPrice: z.ZodNullable<z.ZodNumber>;
777
- client: z.ZodObject<{
778
- location: z.ZodObject<{
779
- country: z.ZodNullable<z.ZodString>;
780
- }, "strip", z.ZodTypeAny, {
781
- country: string | null;
782
- }, {
783
- country: string | null;
784
- }>;
785
- isPaymentVerified: z.ZodBoolean;
786
- totalSpent: z.ZodNullable<z.ZodString>;
787
- totalReviews: z.ZodNumber;
788
- totalFeedback: z.ZodNumber;
789
- hasFinancialPrivacy: z.ZodBoolean;
790
- }, "strip", z.ZodTypeAny, {
791
- location: {
792
- country: string | null;
793
- };
794
- isPaymentVerified: boolean;
795
- totalSpent: string | null;
796
- totalReviews: number;
797
- totalFeedback: number;
798
- hasFinancialPrivacy: boolean;
799
- }, {
800
- location: {
801
- country: string | null;
802
- };
803
- isPaymentVerified: boolean;
804
- totalSpent: string | null;
805
- totalReviews: number;
806
- totalFeedback: number;
807
- hasFinancialPrivacy: boolean;
808
- }>;
809
- clientRelation: z.ZodNullable<z.ZodAny>;
810
- freelancersToHire: z.ZodNumber;
811
- relevanceEncoded: z.ZodString;
812
- enterpriseJob: z.ZodBoolean;
813
- tierText: z.ZodNullable<z.ZodString>;
814
- isApplied: z.ZodBoolean;
815
- proposalsTier: z.ZodNullable<z.ZodString>;
816
- premium: z.ZodBoolean;
817
- attrs: z.ZodArray<z.ZodObject<{
818
- uid: z.ZodString;
819
- parentSkillUid: z.ZodNullable<z.ZodString>;
820
- prefLabel: z.ZodString;
821
- prettyName: z.ZodString;
822
- freeText: z.ZodNullable<z.ZodAny>;
823
- highlighted: z.ZodBoolean;
824
- }, "strip", z.ZodTypeAny, {
825
- uid: string;
826
- parentSkillUid: string | null;
827
- prefLabel: string;
828
- prettyName: string;
829
- highlighted: boolean;
830
- freeText?: any;
831
- }, {
832
- uid: string;
833
- parentSkillUid: string | null;
834
- prefLabel: string;
835
- prettyName: string;
836
- highlighted: boolean;
837
- freeText?: any;
838
- }>, "many">;
839
- hourlyBudget: z.ZodObject<{
840
- min: z.ZodNumber;
841
- max: z.ZodNumber;
842
- }, "strip", z.ZodTypeAny, {
843
- min: number;
844
- max: number;
845
- }, {
846
- min: number;
847
- max: number;
848
- }>;
849
- weeklyBudget: z.ZodObject<{
850
- amount: z.ZodNumber;
851
- }, "strip", z.ZodTypeAny, {
852
- amount: number;
853
- }, {
854
- amount: number;
855
- }>;
856
- isSTSVectorSearchResult: z.ZodBoolean;
857
- }, "strip", z.ZodTypeAny, {
858
- type: number;
859
- uid: string;
860
- ciphertext: string;
861
- title: string;
862
- description: string;
863
- createdOn: string;
864
- publishedOn: string;
865
- renewedOn: string | null;
866
- durationLabel: string | null;
867
- engagement: string | null;
868
- amount: {
869
- amount: number;
870
- };
871
- connectPrice: number | null;
872
- client: {
873
- location: {
874
- country: string | null;
875
- };
876
- isPaymentVerified: boolean;
877
- totalSpent: string | null;
878
- totalReviews: number;
879
- totalFeedback: number;
880
- hasFinancialPrivacy: boolean;
881
- };
882
- freelancersToHire: number;
883
- relevanceEncoded: string;
884
- enterpriseJob: boolean;
885
- tierText: string | null;
886
- isApplied: boolean;
887
- proposalsTier: string | null;
888
- premium: boolean;
889
- attrs: {
890
- uid: string;
891
- parentSkillUid: string | null;
892
- prefLabel: string;
893
- prettyName: string;
894
- highlighted: boolean;
895
- freeText?: any;
896
- }[];
897
- hourlyBudget: {
898
- min: number;
899
- max: number;
900
- };
901
- weeklyBudget: {
902
- amount: number;
903
- };
904
- isSTSVectorSearchResult: boolean;
905
- category?: string | undefined;
906
- jobUrl?: string | undefined;
907
- clientRelation?: any;
908
- }, {
909
- type: number;
910
- uid: string;
911
- ciphertext: string;
912
- title: string;
913
- description: string;
914
- createdOn: string;
915
- publishedOn: string;
916
- renewedOn: string | null;
917
- durationLabel: string | null;
918
- engagement: string | null;
919
- amount: {
920
- amount: number;
921
- };
922
- connectPrice: number | null;
923
- client: {
924
- location: {
925
- country: string | null;
926
- };
927
- isPaymentVerified: boolean;
928
- totalSpent: string | null;
929
- totalReviews: number;
930
- totalFeedback: number;
931
- hasFinancialPrivacy: boolean;
932
- };
933
- freelancersToHire: number;
934
- relevanceEncoded: string;
935
- enterpriseJob: boolean;
936
- tierText: string | null;
937
- isApplied: boolean;
938
- proposalsTier: string | null;
939
- premium: boolean;
940
- attrs: {
941
- uid: string;
942
- parentSkillUid: string | null;
943
- prefLabel: string;
944
- prettyName: string;
945
- highlighted: boolean;
946
- freeText?: any;
947
- }[];
948
- hourlyBudget: {
949
- min: number;
950
- max: number;
951
- };
952
- weeklyBudget: {
953
- amount: number;
954
- };
955
- isSTSVectorSearchResult: boolean;
956
- category?: string | undefined;
957
- jobUrl?: string | undefined;
958
- clientRelation?: any;
959
- }>;
960
- region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
961
- error: z.ZodString;
962
- }, "strip", z.ZodTypeAny, {
963
- listing: {
964
- type: number;
965
- uid: string;
966
- ciphertext: string;
967
- title: string;
968
- description: string;
969
- createdOn: string;
970
- publishedOn: string;
971
- renewedOn: string | null;
972
- durationLabel: string | null;
973
- engagement: string | null;
974
- amount: {
975
- amount: number;
976
- };
977
- connectPrice: number | null;
978
- client: {
979
- location: {
980
- country: string | null;
981
- };
982
- isPaymentVerified: boolean;
983
- totalSpent: string | null;
984
- totalReviews: number;
985
- totalFeedback: number;
986
- hasFinancialPrivacy: boolean;
987
- };
988
- freelancersToHire: number;
989
- relevanceEncoded: string;
990
- enterpriseJob: boolean;
991
- tierText: string | null;
992
- isApplied: boolean;
993
- proposalsTier: string | null;
994
- premium: boolean;
995
- attrs: {
996
- uid: string;
997
- parentSkillUid: string | null;
998
- prefLabel: string;
999
- prettyName: string;
1000
- highlighted: boolean;
1001
- freeText?: any;
1002
- }[];
1003
- hourlyBudget: {
1004
- min: number;
1005
- max: number;
1006
- };
1007
- weeklyBudget: {
1008
- amount: number;
1009
- };
1010
- isSTSVectorSearchResult: boolean;
1011
- category?: string | undefined;
1012
- jobUrl?: string | undefined;
1013
- clientRelation?: any;
1014
- };
1015
- region: "USOnly" | "UKOnly" | "Worldwide";
1016
- error: string;
1017
- }, {
1018
- listing: {
1019
- type: number;
1020
- uid: string;
1021
- ciphertext: string;
1022
- title: string;
1023
- description: string;
1024
- createdOn: string;
1025
- publishedOn: string;
1026
- renewedOn: string | null;
1027
- durationLabel: string | null;
1028
- engagement: string | null;
1029
- amount: {
1030
- amount: number;
1031
- };
1032
- connectPrice: number | null;
1033
- client: {
1034
- location: {
1035
- country: string | null;
1036
- };
1037
- isPaymentVerified: boolean;
1038
- totalSpent: string | null;
1039
- totalReviews: number;
1040
- totalFeedback: number;
1041
- hasFinancialPrivacy: boolean;
1042
- };
1043
- freelancersToHire: number;
1044
- relevanceEncoded: string;
1045
- enterpriseJob: boolean;
1046
- tierText: string | null;
1047
- isApplied: boolean;
1048
- proposalsTier: string | null;
1049
- premium: boolean;
1050
- attrs: {
1051
- uid: string;
1052
- parentSkillUid: string | null;
1053
- prefLabel: string;
1054
- prettyName: string;
1055
- highlighted: boolean;
1056
- freeText?: any;
1057
- }[];
1058
- hourlyBudget: {
1059
- min: number;
1060
- max: number;
1061
- };
1062
- weeklyBudget: {
1063
- amount: number;
1064
- };
1065
- isSTSVectorSearchResult: boolean;
1066
- category?: string | undefined;
1067
- jobUrl?: string | undefined;
1068
- clientRelation?: any;
1069
- };
1070
- region: "USOnly" | "UKOnly" | "Worldwide";
1071
- error: string;
1072
- }>;
1073
- export declare const jobActivityScrapedEventMetadata: z.ZodObject<{
1074
- activity: z.ZodObject<{
1075
- proposals: z.ZodObject<{
1076
- min: z.ZodNullable<z.ZodNumber>;
1077
- max: z.ZodNullable<z.ZodNumber>;
1078
- }, "strip", z.ZodTypeAny, {
1079
- min: number | null;
1080
- max: number | null;
1081
- }, {
1082
- min: number | null;
1083
- max: number | null;
1084
- }>;
1085
- lastViewedByClient: z.ZodNullable<z.ZodString>;
1086
- lastViewedByClientTimestamp: z.ZodNullable<z.ZodNumber>;
1087
- hires: z.ZodNullable<z.ZodNumber>;
1088
- interviewing: z.ZodNullable<z.ZodNumber>;
1089
- invitesSent: z.ZodNullable<z.ZodNumber>;
1090
- unansweredInvites: z.ZodNullable<z.ZodNumber>;
1091
- updatedAt: z.ZodNullable<z.ZodNumber>;
1092
- }, "strip", z.ZodTypeAny, {
1093
- proposals: {
1094
- min: number | null;
1095
- max: number | null;
1096
- };
1097
- lastViewedByClient: string | null;
1098
- lastViewedByClientTimestamp: number | null;
1099
- hires: number | null;
1100
- interviewing: number | null;
1101
- invitesSent: number | null;
1102
- unansweredInvites: number | null;
1103
- updatedAt: number | null;
1104
- }, {
1105
- proposals: {
1106
- min: number | null;
1107
- max: number | null;
1108
- };
1109
- lastViewedByClient: string | null;
1110
- lastViewedByClientTimestamp: number | null;
1111
- hires: number | null;
1112
- interviewing: number | null;
1113
- invitesSent: number | null;
1114
- unansweredInvites: number | null;
1115
- updatedAt: number | null;
1116
- }>;
1117
- region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
1118
- offsetHour: z.ZodType<4 | 24, z.ZodTypeDef, 4 | 24>;
1119
- scrapedAt: z.ZodNumber;
1120
- }, "strip", z.ZodTypeAny, {
1121
- region: "USOnly" | "UKOnly" | "Worldwide";
1122
- activity: {
1123
- proposals: {
1124
- min: number | null;
1125
- max: number | null;
1126
- };
1127
- lastViewedByClient: string | null;
1128
- lastViewedByClientTimestamp: number | null;
1129
- hires: number | null;
1130
- interviewing: number | null;
1131
- invitesSent: number | null;
1132
- unansweredInvites: number | null;
1133
- updatedAt: number | null;
1134
- };
1135
- offsetHour: 4 | 24;
1136
- scrapedAt: number;
1137
- }, {
1138
- region: "USOnly" | "UKOnly" | "Worldwide";
1139
- activity: {
1140
- proposals: {
1141
- min: number | null;
1142
- max: number | null;
1143
- };
1144
- lastViewedByClient: string | null;
1145
- lastViewedByClientTimestamp: number | null;
1146
- hires: number | null;
1147
- interviewing: number | null;
1148
- invitesSent: number | null;
1149
- unansweredInvites: number | null;
1150
- updatedAt: number | null;
1151
- };
1152
- offsetHour: 4 | 24;
1153
- scrapedAt: number;
1154
- }>;
1155
- export declare const jobActivityScrapeFailedEventMetadata: z.ZodObject<{
1156
- listing: z.ZodObject<{
1157
- uid: z.ZodString;
1158
- ciphertext: z.ZodString;
1159
- title: z.ZodString;
1160
- category: z.ZodOptional<z.ZodString>;
1161
- jobUrl: z.ZodOptional<z.ZodString>;
1162
- description: z.ZodString;
1163
- createdOn: z.ZodString;
1164
- publishedOn: z.ZodString;
1165
- renewedOn: z.ZodNullable<z.ZodString>;
1166
- type: z.ZodNumber;
1167
- durationLabel: z.ZodNullable<z.ZodString>;
1168
- engagement: z.ZodNullable<z.ZodString>;
1169
- amount: z.ZodObject<{
1170
- amount: z.ZodNumber;
1171
- }, "strip", z.ZodTypeAny, {
1172
- amount: number;
1173
- }, {
1174
- amount: number;
1175
- }>;
1176
- connectPrice: z.ZodNullable<z.ZodNumber>;
1177
- client: z.ZodObject<{
1178
- location: z.ZodObject<{
1179
- country: z.ZodNullable<z.ZodString>;
1180
- }, "strip", z.ZodTypeAny, {
1181
- country: string | null;
1182
- }, {
1183
- country: string | null;
1184
- }>;
1185
- isPaymentVerified: z.ZodBoolean;
1186
- totalSpent: z.ZodNullable<z.ZodString>;
1187
- totalReviews: z.ZodNumber;
1188
- totalFeedback: z.ZodNumber;
1189
- hasFinancialPrivacy: z.ZodBoolean;
1190
- }, "strip", z.ZodTypeAny, {
1191
- location: {
1192
- country: string | null;
1193
- };
1194
- isPaymentVerified: boolean;
1195
- totalSpent: string | null;
1196
- totalReviews: number;
1197
- totalFeedback: number;
1198
- hasFinancialPrivacy: boolean;
1199
- }, {
1200
- location: {
1201
- country: string | null;
1202
- };
1203
- isPaymentVerified: boolean;
1204
- totalSpent: string | null;
1205
- totalReviews: number;
1206
- totalFeedback: number;
1207
- hasFinancialPrivacy: boolean;
1208
- }>;
1209
- clientRelation: z.ZodNullable<z.ZodAny>;
1210
- freelancersToHire: z.ZodNumber;
1211
- relevanceEncoded: z.ZodString;
1212
- enterpriseJob: z.ZodBoolean;
1213
- tierText: z.ZodNullable<z.ZodString>;
1214
- isApplied: z.ZodBoolean;
1215
- proposalsTier: z.ZodNullable<z.ZodString>;
1216
- premium: z.ZodBoolean;
1217
- attrs: z.ZodArray<z.ZodObject<{
1218
- uid: z.ZodString;
1219
- parentSkillUid: z.ZodNullable<z.ZodString>;
1220
- prefLabel: z.ZodString;
1221
- prettyName: z.ZodString;
1222
- freeText: z.ZodNullable<z.ZodAny>;
1223
- highlighted: z.ZodBoolean;
1224
- }, "strip", z.ZodTypeAny, {
1225
- uid: string;
1226
- parentSkillUid: string | null;
1227
- prefLabel: string;
1228
- prettyName: string;
1229
- highlighted: boolean;
1230
- freeText?: any;
1231
- }, {
1232
- uid: string;
1233
- parentSkillUid: string | null;
1234
- prefLabel: string;
1235
- prettyName: string;
1236
- highlighted: boolean;
1237
- freeText?: any;
1238
- }>, "many">;
1239
- hourlyBudget: z.ZodObject<{
1240
- min: z.ZodNumber;
1241
- max: z.ZodNumber;
1242
- }, "strip", z.ZodTypeAny, {
1243
- min: number;
1244
- max: number;
1245
- }, {
1246
- min: number;
1247
- max: number;
1248
- }>;
1249
- weeklyBudget: z.ZodObject<{
1250
- amount: z.ZodNumber;
1251
- }, "strip", z.ZodTypeAny, {
1252
- amount: number;
1253
- }, {
1254
- amount: number;
1255
- }>;
1256
- isSTSVectorSearchResult: z.ZodBoolean;
1257
- }, "strip", z.ZodTypeAny, {
1258
- type: number;
1259
- uid: string;
1260
- ciphertext: string;
1261
- title: string;
1262
- description: string;
1263
- createdOn: string;
1264
- publishedOn: string;
1265
- renewedOn: string | null;
1266
- durationLabel: string | null;
1267
- engagement: string | null;
1268
- amount: {
1269
- amount: number;
1270
- };
1271
- connectPrice: number | null;
1272
- client: {
1273
- location: {
1274
- country: string | null;
1275
- };
1276
- isPaymentVerified: boolean;
1277
- totalSpent: string | null;
1278
- totalReviews: number;
1279
- totalFeedback: number;
1280
- hasFinancialPrivacy: boolean;
1281
- };
1282
- freelancersToHire: number;
1283
- relevanceEncoded: string;
1284
- enterpriseJob: boolean;
1285
- tierText: string | null;
1286
- isApplied: boolean;
1287
- proposalsTier: string | null;
1288
- premium: boolean;
1289
- attrs: {
1290
- uid: string;
1291
- parentSkillUid: string | null;
1292
- prefLabel: string;
1293
- prettyName: string;
1294
- highlighted: boolean;
1295
- freeText?: any;
1296
- }[];
1297
- hourlyBudget: {
1298
- min: number;
1299
- max: number;
1300
- };
1301
- weeklyBudget: {
1302
- amount: number;
1303
- };
1304
- isSTSVectorSearchResult: boolean;
1305
- category?: string | undefined;
1306
- jobUrl?: string | undefined;
1307
- clientRelation?: any;
1308
- }, {
1309
- type: number;
1310
- uid: string;
1311
- ciphertext: string;
1312
- title: string;
1313
- description: string;
1314
- createdOn: string;
1315
- publishedOn: string;
1316
- renewedOn: string | null;
1317
- durationLabel: string | null;
1318
- engagement: string | null;
1319
- amount: {
1320
- amount: number;
1321
- };
1322
- connectPrice: number | null;
1323
- client: {
1324
- location: {
1325
- country: string | null;
1326
- };
1327
- isPaymentVerified: boolean;
1328
- totalSpent: string | null;
1329
- totalReviews: number;
1330
- totalFeedback: number;
1331
- hasFinancialPrivacy: boolean;
1332
- };
1333
- freelancersToHire: number;
1334
- relevanceEncoded: string;
1335
- enterpriseJob: boolean;
1336
- tierText: string | null;
1337
- isApplied: boolean;
1338
- proposalsTier: string | null;
1339
- premium: boolean;
1340
- attrs: {
1341
- uid: string;
1342
- parentSkillUid: string | null;
1343
- prefLabel: string;
1344
- prettyName: string;
1345
- highlighted: boolean;
1346
- freeText?: any;
1347
- }[];
1348
- hourlyBudget: {
1349
- min: number;
1350
- max: number;
1351
- };
1352
- weeklyBudget: {
1353
- amount: number;
1354
- };
1355
- isSTSVectorSearchResult: boolean;
1356
- category?: string | undefined;
1357
- jobUrl?: string | undefined;
1358
- clientRelation?: any;
1359
- }>;
1360
- region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
1361
- offsetHour: z.ZodType<4 | 24, z.ZodTypeDef, 4 | 24>;
1362
- }, "strip", z.ZodTypeAny, {
1363
- listing: {
1364
- type: number;
1365
- uid: string;
1366
- ciphertext: string;
1367
- title: string;
1368
- description: string;
1369
- createdOn: string;
1370
- publishedOn: string;
1371
- renewedOn: string | null;
1372
- durationLabel: string | null;
1373
- engagement: string | null;
1374
- amount: {
1375
- amount: number;
1376
- };
1377
- connectPrice: number | null;
1378
- client: {
1379
- location: {
1380
- country: string | null;
1381
- };
1382
- isPaymentVerified: boolean;
1383
- totalSpent: string | null;
1384
- totalReviews: number;
1385
- totalFeedback: number;
1386
- hasFinancialPrivacy: boolean;
1387
- };
1388
- freelancersToHire: number;
1389
- relevanceEncoded: string;
1390
- enterpriseJob: boolean;
1391
- tierText: string | null;
1392
- isApplied: boolean;
1393
- proposalsTier: string | null;
1394
- premium: boolean;
1395
- attrs: {
1396
- uid: string;
1397
- parentSkillUid: string | null;
1398
- prefLabel: string;
1399
- prettyName: string;
1400
- highlighted: boolean;
1401
- freeText?: any;
1402
- }[];
1403
- hourlyBudget: {
1404
- min: number;
1405
- max: number;
1406
- };
1407
- weeklyBudget: {
1408
- amount: number;
1409
- };
1410
- isSTSVectorSearchResult: boolean;
1411
- category?: string | undefined;
1412
- jobUrl?: string | undefined;
1413
- clientRelation?: any;
1414
- };
1415
- region: "USOnly" | "UKOnly" | "Worldwide";
1416
- offsetHour: 4 | 24;
1417
- }, {
1418
- listing: {
1419
- type: number;
1420
- uid: string;
1421
- ciphertext: string;
1422
- title: string;
1423
- description: string;
1424
- createdOn: string;
1425
- publishedOn: string;
1426
- renewedOn: string | null;
1427
- durationLabel: string | null;
1428
- engagement: string | null;
1429
- amount: {
1430
- amount: number;
1431
- };
1432
- connectPrice: number | null;
1433
- client: {
1434
- location: {
1435
- country: string | null;
1436
- };
1437
- isPaymentVerified: boolean;
1438
- totalSpent: string | null;
1439
- totalReviews: number;
1440
- totalFeedback: number;
1441
- hasFinancialPrivacy: boolean;
1442
- };
1443
- freelancersToHire: number;
1444
- relevanceEncoded: string;
1445
- enterpriseJob: boolean;
1446
- tierText: string | null;
1447
- isApplied: boolean;
1448
- proposalsTier: string | null;
1449
- premium: boolean;
1450
- attrs: {
1451
- uid: string;
1452
- parentSkillUid: string | null;
1453
- prefLabel: string;
1454
- prettyName: string;
1455
- highlighted: boolean;
1456
- freeText?: any;
1457
- }[];
1458
- hourlyBudget: {
1459
- min: number;
1460
- max: number;
1461
- };
1462
- weeklyBudget: {
1463
- amount: number;
1464
- };
1465
- isSTSVectorSearchResult: boolean;
1466
- category?: string | undefined;
1467
- jobUrl?: string | undefined;
1468
- clientRelation?: any;
1469
- };
1470
- region: "USOnly" | "UKOnly" | "Worldwide";
1471
- offsetHour: 4 | 24;
1472
- }>;
1473
- export declare const feedScrapeStartedEventMetadata: z.ZodObject<{
1474
- id: z.ZodString;
1475
- startTime: z.ZodNumber;
1476
- region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
1477
- }, "strip", z.ZodTypeAny, {
1478
- region: "USOnly" | "UKOnly" | "Worldwide";
1479
- id: string;
1480
- startTime: number;
1481
- }, {
1482
- region: "USOnly" | "UKOnly" | "Worldwide";
1483
- id: string;
1484
- startTime: number;
1485
- }>;
1486
- export declare const feedScrapeCompletedEventMetadata: z.ZodObject<{
1487
- id: z.ZodString;
1488
- endTime: z.ZodNumber;
1489
- listingCount: z.ZodNumber;
1490
- duration: z.ZodString;
1491
- accountEmail: z.ZodString;
1492
- region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
1493
- durationMillis: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1494
- }, "strip", z.ZodTypeAny, {
1495
- region: "USOnly" | "UKOnly" | "Worldwide";
1496
- id: string;
1497
- accountEmail: string;
1498
- duration: string;
1499
- endTime: number;
1500
- listingCount: number;
1501
- durationMillis?: number | null | undefined;
1502
- }, {
1503
- region: "USOnly" | "UKOnly" | "Worldwide";
1504
- id: string;
1505
- accountEmail: string;
1506
- duration: string;
1507
- endTime: number;
1508
- listingCount: number;
1509
- durationMillis?: number | null | undefined;
1510
- }>;
1511
40
  export declare const biddingCompletedEventMetadata: z.ZodObject<{
1512
41
  biddingAmount: z.ZodNumber;
1513
42
  boosted: z.ZodBoolean;
@@ -1588,22 +117,6 @@ export declare const leadStatusEventMetadata: z.ZodObject<{
1588
117
  proposalId: string | null;
1589
118
  } | undefined;
1590
119
  }>;
1591
- export declare const scraperAccountErrorEventMetadata: z.ZodObject<{
1592
- accountId: z.ZodString;
1593
- accountEmail: z.ZodString;
1594
- errorCode: z.ZodString;
1595
- errorMessage: z.ZodString;
1596
- }, "strip", z.ZodTypeAny, {
1597
- accountId: string;
1598
- accountEmail: string;
1599
- errorMessage: string;
1600
- errorCode: string;
1601
- }, {
1602
- accountId: string;
1603
- accountEmail: string;
1604
- errorMessage: string;
1605
- errorCode: string;
1606
- }>;
1607
120
  export declare const biddingRejectedWithFeedbackEventMetadata: z.ZodObject<{
1608
121
  feedback: z.ZodString;
1609
122
  }, "strip", z.ZodTypeAny, {
@@ -1613,22 +126,10 @@ export declare const biddingRejectedWithFeedbackEventMetadata: z.ZodObject<{
1613
126
  }>;
1614
127
  export type LogEventType = z.infer<typeof LogEventTypeEnum>;
1615
128
  export type LogEvent = z.infer<typeof logEventSchema>;
1616
- export type ListingScrapedEventMetadata = z.infer<typeof listingScrapedEventMetadata>;
1617
- export type ScrapeFeedEventMetadata = z.infer<typeof scrapeFeedEventMetadata>;
1618
- export type ScrapeJobStartedEventMetadata = z.infer<typeof scrapeJobStartedEventMetadata>;
1619
- export type ScrapeJobFailedEventMetadata = z.infer<typeof scrapeJobFailedEventMetadata>;
1620
- export type JobActivityScrapedEventMetadata = z.infer<typeof jobActivityScrapedEventMetadata>;
1621
- export type JobActivityScrapeFailedEventMetadata = z.infer<typeof jobActivityScrapeFailedEventMetadata>;
1622
- export type FeedScrapeStartedEventMetadata = z.infer<typeof feedScrapeStartedEventMetadata>;
1623
- export type FeedScrapeCompletedEventMetadata = z.infer<typeof feedScrapeCompletedEventMetadata>;
1624
- export type ScrapeFeedJobsDetailsStartedEventMetadata = z.infer<typeof scrapeFeedJobsDetailsStartedEventMetadata>;
1625
- export type ScrapeFeedJobsDetailsCompletedEventMetadata = z.infer<typeof scrapeFeedJobsDetailsCompletedEventMetadata>;
1626
- export type ScrapeFeedJobsDetailsFailedEventMetadata = z.infer<typeof scrapeFeedJobsDetailsFailedEventMetadata>;
1627
129
  export type BiddingCompletedEventMetadata = z.infer<typeof biddingCompletedEventMetadata>;
1628
130
  export type BiddingFailedEventMetadata = z.infer<typeof biddingFailedEventMetadata>;
1629
131
  export type BiddingRejectedWithFeedbackEventMetadata = z.infer<typeof biddingRejectedWithFeedbackEventMetadata>;
1630
132
  export type LeadStatusEventMetadata = z.infer<typeof leadStatusEventMetadata>;
1631
- export type ScraperAccountErrorEventMetadata = z.infer<typeof scraperAccountErrorEventMetadata>;
1632
133
  export declare const suitabilityPendingEventMetadataSchema: z.ZodObject<{
1633
134
  jobId: z.ZodString;
1634
135
  jobUrl: z.ZodString;
@@ -1646,18 +147,18 @@ export declare const suitabilityPendingEventMetadataSchema: z.ZodObject<{
1646
147
  }>, "many">;
1647
148
  }, "strip", z.ZodTypeAny, {
1648
149
  timestamp: number;
1649
- title: string;
1650
- jobUrl: string;
1651
150
  jobId: string;
151
+ jobUrl: string;
152
+ title: string;
1652
153
  applyToLeads: {
1653
154
  campaignId: string;
1654
155
  leadId: string;
1655
156
  }[];
1656
157
  }, {
1657
158
  timestamp: number;
1658
- title: string;
1659
- jobUrl: string;
1660
159
  jobId: string;
160
+ jobUrl: string;
161
+ title: string;
1661
162
  applyToLeads: {
1662
163
  campaignId: string;
1663
164
  leadId: string;
@@ -1839,7 +340,7 @@ export declare const proposalCompleteEventMetadataSchema: z.ZodObject<{
1839
340
  }>;
1840
341
  export type ProposalCompleteEventMetadata = z.infer<typeof proposalCompleteEventMetadataSchema>;
1841
342
  export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
1842
- type: z.ZodEnum<["scraperStarted", "scraperCompleted", "scrapeJobStarted", "jobScraped", "jobScrapeFailed", "scrapeJobDetailsStarted", "scrapeJobDetailsCompleted", "scrapeJobDetailsFailed", "jobsIndexed", "jobDuplicateSkipped", "scraperFailed", "jobActivityScraped", "jobActivityScrapeFailed", "leadStatusCheckFailed", "leadStatusUpdated", "feedScrapeStarted", "feedScrapeCompleted", "feedScrapeFailed", "jobListingScraped", "jobSyncPublished", "jobSyncReceived", "leadsCreatedAndSynced", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "biddingPending", "biddingRetry", "biddingInsufficientConnects", "biddingWarningAlert", "biddingRejected", "biddingRejectedWithFeedback", "checkSuitableLeadFeedbackStatus", "biddingApproved", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged", "scraperAccountError"]>;
343
+ type: z.ZodEnum<["leadStatusCheckFailed", "leadStatusUpdated", "jobSyncPublished", "jobSyncReceived", "jobsIndexed", "leadsCreatedAndSynced", "jobDuplicateSkipped", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "biddingPending", "biddingRetry", "biddingInsufficientConnects", "biddingWarningAlert", "biddingRejected", "biddingRejectedWithFeedback", "checkSuitableLeadFeedbackStatus", "biddingApproved", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged", "scrapeFeedStarted", "scrapeFeedCompleted", "scrapeFeedFailed", "scrapeJobDetailsStarted", "jobScraped", "scrapeJobDetailsFailed", "scrapeJobsDetailsStarted", "scrapeJobsDetailsCompleted", "scrapeJobsDetailsFailed", "scrapeJobsCompleted", "scraperAccountError"]>;
1843
344
  source: z.ZodString;
1844
345
  resourceType: z.ZodDefault<z.ZodString>;
1845
346
  resourceId: z.ZodNullable<z.ZodString>;
@@ -1851,7 +352,7 @@ export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
1851
352
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1852
353
  timestamp: z.ZodNumber;
1853
354
  }, "strip", z.ZodTypeAny, {
1854
- type: "scraperStarted" | "scraperCompleted" | "scrapeJobStarted" | "jobScraped" | "jobScrapeFailed" | "scrapeJobDetailsStarted" | "scrapeJobDetailsCompleted" | "scrapeJobDetailsFailed" | "jobsIndexed" | "jobDuplicateSkipped" | "scraperFailed" | "jobActivityScraped" | "jobActivityScrapeFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "jobListingScraped" | "jobSyncPublished" | "jobSyncReceived" | "leadsCreatedAndSynced" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "manualSuitabilityAnalyzed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "manualProposalGenerated" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "scraperAccountError";
355
+ type: "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "manualSuitabilityAnalyzed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "manualProposalGenerated" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "scrapeFeedStarted" | "scrapeFeedCompleted" | "scrapeFeedFailed" | "scrapeJobDetailsStarted" | "jobScraped" | "scrapeJobDetailsFailed" | "scrapeJobsDetailsStarted" | "scrapeJobsDetailsCompleted" | "scrapeJobsDetailsFailed" | "scrapeJobsCompleted" | "scraperAccountError";
1855
356
  source: string;
1856
357
  resourceType: string;
1857
358
  resourceId: string | null;
@@ -1863,7 +364,7 @@ export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
1863
364
  metadata: Record<string, unknown> | null;
1864
365
  timestamp: number;
1865
366
  }, {
1866
- type: "scraperStarted" | "scraperCompleted" | "scrapeJobStarted" | "jobScraped" | "jobScrapeFailed" | "scrapeJobDetailsStarted" | "scrapeJobDetailsCompleted" | "scrapeJobDetailsFailed" | "jobsIndexed" | "jobDuplicateSkipped" | "scraperFailed" | "jobActivityScraped" | "jobActivityScrapeFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "jobListingScraped" | "jobSyncPublished" | "jobSyncReceived" | "leadsCreatedAndSynced" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "manualSuitabilityAnalyzed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "manualProposalGenerated" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "scraperAccountError";
367
+ type: "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "manualSuitabilityAnalyzed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "manualProposalGenerated" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "scrapeFeedStarted" | "scrapeFeedCompleted" | "scrapeFeedFailed" | "scrapeJobDetailsStarted" | "jobScraped" | "scrapeJobDetailsFailed" | "scrapeJobsDetailsStarted" | "scrapeJobsDetailsCompleted" | "scrapeJobsDetailsFailed" | "scrapeJobsCompleted" | "scraperAccountError";
1867
368
  source: string;
1868
369
  resourceId: string | null;
1869
370
  organizationId: string | null;
@@ -1875,7 +376,7 @@ export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
1875
376
  timestamp: number;
1876
377
  resourceType?: string | undefined;
1877
378
  }>, z.ZodArray<z.ZodObject<{
1878
- type: z.ZodEnum<["scraperStarted", "scraperCompleted", "scrapeJobStarted", "jobScraped", "jobScrapeFailed", "scrapeJobDetailsStarted", "scrapeJobDetailsCompleted", "scrapeJobDetailsFailed", "jobsIndexed", "jobDuplicateSkipped", "scraperFailed", "jobActivityScraped", "jobActivityScrapeFailed", "leadStatusCheckFailed", "leadStatusUpdated", "feedScrapeStarted", "feedScrapeCompleted", "feedScrapeFailed", "jobListingScraped", "jobSyncPublished", "jobSyncReceived", "leadsCreatedAndSynced", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "biddingPending", "biddingRetry", "biddingInsufficientConnects", "biddingWarningAlert", "biddingRejected", "biddingRejectedWithFeedback", "checkSuitableLeadFeedbackStatus", "biddingApproved", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged", "scraperAccountError"]>;
379
+ type: z.ZodEnum<["leadStatusCheckFailed", "leadStatusUpdated", "jobSyncPublished", "jobSyncReceived", "jobsIndexed", "leadsCreatedAndSynced", "jobDuplicateSkipped", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "biddingPending", "biddingRetry", "biddingInsufficientConnects", "biddingWarningAlert", "biddingRejected", "biddingRejectedWithFeedback", "checkSuitableLeadFeedbackStatus", "biddingApproved", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged", "scrapeFeedStarted", "scrapeFeedCompleted", "scrapeFeedFailed", "scrapeJobDetailsStarted", "jobScraped", "scrapeJobDetailsFailed", "scrapeJobsDetailsStarted", "scrapeJobsDetailsCompleted", "scrapeJobsDetailsFailed", "scrapeJobsCompleted", "scraperAccountError"]>;
1879
380
  source: z.ZodString;
1880
381
  resourceType: z.ZodDefault<z.ZodString>;
1881
382
  resourceId: z.ZodNullable<z.ZodString>;
@@ -1887,7 +388,7 @@ export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
1887
388
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1888
389
  timestamp: z.ZodNumber;
1889
390
  }, "strip", z.ZodTypeAny, {
1890
- type: "scraperStarted" | "scraperCompleted" | "scrapeJobStarted" | "jobScraped" | "jobScrapeFailed" | "scrapeJobDetailsStarted" | "scrapeJobDetailsCompleted" | "scrapeJobDetailsFailed" | "jobsIndexed" | "jobDuplicateSkipped" | "scraperFailed" | "jobActivityScraped" | "jobActivityScrapeFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "jobListingScraped" | "jobSyncPublished" | "jobSyncReceived" | "leadsCreatedAndSynced" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "manualSuitabilityAnalyzed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "manualProposalGenerated" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "scraperAccountError";
391
+ type: "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "manualSuitabilityAnalyzed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "manualProposalGenerated" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "scrapeFeedStarted" | "scrapeFeedCompleted" | "scrapeFeedFailed" | "scrapeJobDetailsStarted" | "jobScraped" | "scrapeJobDetailsFailed" | "scrapeJobsDetailsStarted" | "scrapeJobsDetailsCompleted" | "scrapeJobsDetailsFailed" | "scrapeJobsCompleted" | "scraperAccountError";
1891
392
  source: string;
1892
393
  resourceType: string;
1893
394
  resourceId: string | null;
@@ -1899,7 +400,7 @@ export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
1899
400
  metadata: Record<string, unknown> | null;
1900
401
  timestamp: number;
1901
402
  }, {
1902
- type: "scraperStarted" | "scraperCompleted" | "scrapeJobStarted" | "jobScraped" | "jobScrapeFailed" | "scrapeJobDetailsStarted" | "scrapeJobDetailsCompleted" | "scrapeJobDetailsFailed" | "jobsIndexed" | "jobDuplicateSkipped" | "scraperFailed" | "jobActivityScraped" | "jobActivityScrapeFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "jobListingScraped" | "jobSyncPublished" | "jobSyncReceived" | "leadsCreatedAndSynced" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "manualSuitabilityAnalyzed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "manualProposalGenerated" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "scraperAccountError";
403
+ type: "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "manualSuitabilityAnalyzed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "manualProposalGenerated" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "scrapeFeedStarted" | "scrapeFeedCompleted" | "scrapeFeedFailed" | "scrapeJobDetailsStarted" | "jobScraped" | "scrapeJobDetailsFailed" | "scrapeJobsDetailsStarted" | "scrapeJobsDetailsCompleted" | "scrapeJobsDetailsFailed" | "scrapeJobsCompleted" | "scraperAccountError";
1903
404
  source: string;
1904
405
  resourceId: string | null;
1905
406
  organizationId: string | null;