lancer-shared 1.2.122 → 1.2.124

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<["scraperStarted", "scraperCompleted", "scrapeJobStarted", "jobScraped", "jobScrapeFailed", "scrapeJobDetailsStarted", "scrapeJobDetailsCompleted", "scrapeJobDetailsFailed", "jobsIndexed", "jobDuplicateSkipped", "scraperFailed", "jobActivityScraped", "jobActivityScrapeFailed", "leadStatusCheckFailed", "leadStatusUpdated", "scrapeJobsCompleted", "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"]>;
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<["scraperStarted", "scraperCompleted", "scrapeJobStarted", "jobScraped", "jobScrapeFailed", "scrapeJobDetailsStarted", "scrapeJobDetailsCompleted", "scrapeJobDetailsFailed", "jobsIndexed", "jobDuplicateSkipped", "scraperFailed", "jobActivityScraped", "jobActivityScrapeFailed", "leadStatusCheckFailed", "leadStatusUpdated", "scrapeJobsCompleted", "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"]>;
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: "scraperStarted" | "scraperCompleted" | "scrapeJobStarted" | "jobScraped" | "jobScrapeFailed" | "scrapeJobDetailsStarted" | "scrapeJobDetailsCompleted" | "scrapeJobDetailsFailed" | "jobsIndexed" | "jobDuplicateSkipped" | "scraperFailed" | "jobActivityScraped" | "jobActivityScrapeFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "scrapeJobsCompleted" | "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";
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: "scraperStarted" | "scraperCompleted" | "scrapeJobStarted" | "jobScraped" | "jobScrapeFailed" | "scrapeJobDetailsStarted" | "scrapeJobDetailsCompleted" | "scrapeJobDetailsFailed" | "jobsIndexed" | "jobDuplicateSkipped" | "scraperFailed" | "jobActivityScraped" | "jobActivityScrapeFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "scrapeJobsCompleted" | "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";
29
29
  source: string;
30
30
  resourceId: string | null;
31
31
  organizationId: string | null;
@@ -39,63 +39,333 @@ export declare const logEventSchema: z.ZodObject<{
39
39
  }>;
40
40
  export declare const listingScrapedEventMetadata: z.ZodObject<{
41
41
  listing: z.ZodObject<{
42
- uid: z.ZodNullable<z.ZodString>;
43
- title: z.ZodNullable<z.ZodString>;
44
- jobUrl: z.ZodNullable<z.ZodString>;
45
- datetime: z.ZodNullable<z.ZodString>;
46
- isFeatured: z.ZodNullable<z.ZodBoolean>;
47
- region: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>>;
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;
48
142
  }, "strip", z.ZodTypeAny, {
49
- uid: string | null;
50
- title: string | null;
51
- jobUrl: string | null;
52
- datetime: string | null;
53
- isFeatured: boolean | null;
54
- region: "USOnly" | "UKOnly" | "Worldwide" | null;
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;
55
193
  }, {
56
- uid: string | null;
57
- title: string | null;
58
- jobUrl: string | null;
59
- datetime: string | null;
60
- isFeatured: boolean | null;
61
- region: "USOnly" | "UKOnly" | "Worldwide" | null;
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;
62
244
  }>;
63
245
  region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
64
246
  }, "strip", z.ZodTypeAny, {
65
- region: "USOnly" | "UKOnly" | "Worldwide";
66
247
  listing: {
67
- uid: string | null;
68
- title: string | null;
69
- jobUrl: string | null;
70
- datetime: string | null;
71
- isFeatured: boolean | null;
72
- region: "USOnly" | "UKOnly" | "Worldwide" | null;
73
- };
74
- }, {
75
- region: "USOnly" | "UKOnly" | "Worldwide";
76
- listing: {
77
- uid: string | null;
78
- title: string | null;
79
- jobUrl: string | null;
80
- datetime: string | null;
81
- isFeatured: boolean | null;
82
- region: "USOnly" | "UKOnly" | "Worldwide" | null;
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;
83
298
  };
84
- }>;
85
- export declare const scrapeFeedEventMetadata: z.ZodObject<{
86
- region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
87
- error: z.ZodString;
88
- }, "strip", z.ZodTypeAny, {
89
299
  region: "USOnly" | "UKOnly" | "Worldwide";
90
- error: string;
91
300
  }, {
92
- region: "USOnly" | "UKOnly" | "Worldwide";
93
- error: string;
94
- }>;
95
- export declare const scrapeFeedJobsDetailsStartedEventMetadata: z.ZodObject<{
96
- region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
97
- accounts: z.ZodArray<z.ZodObject<{
98
- id: z.ZodString;
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;
99
369
  email: z.ZodString;
100
370
  }, "strip", z.ZodTypeAny, {
101
371
  id: string;
@@ -151,72 +421,744 @@ export declare const scrapeFeedJobsDetailsFailedEventMetadata: z.ZodObject<{
151
421
  }, "strip", z.ZodTypeAny, {
152
422
  region: "USOnly" | "UKOnly" | "Worldwide";
153
423
  error: string;
154
- accountId: string;
155
- accountEmail: string;
156
- duration: 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;
157
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
+ };
158
1070
  region: "USOnly" | "UKOnly" | "Worldwide";
159
1071
  error: string;
160
- accountId: string;
161
- accountEmail: string;
162
- duration: string;
163
1072
  }>;
164
- export declare const scrapeJobStartedEventMetadata: z.ZodObject<{
165
- listing: z.ZodObject<{
166
- uid: z.ZodNullable<z.ZodString>;
167
- title: z.ZodNullable<z.ZodString>;
168
- jobUrl: z.ZodNullable<z.ZodString>;
169
- datetime: z.ZodNullable<z.ZodString>;
170
- isFeatured: z.ZodNullable<z.ZodBoolean>;
171
- region: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>>;
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>;
172
1092
  }, "strip", z.ZodTypeAny, {
173
- uid: string | null;
174
- title: string | null;
175
- jobUrl: string | null;
176
- datetime: string | null;
177
- isFeatured: boolean | null;
178
- region: "USOnly" | "UKOnly" | "Worldwide" | null;
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;
179
1104
  }, {
180
- uid: string | null;
181
- title: string | null;
182
- jobUrl: string | null;
183
- datetime: string | null;
184
- isFeatured: boolean | null;
185
- region: "USOnly" | "UKOnly" | "Worldwide" | null;
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;
186
1116
  }>;
187
1117
  region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
188
- accountId: z.ZodString;
189
- accountEmail: z.ZodString;
1118
+ offsetHour: z.ZodType<4 | 24, z.ZodTypeDef, 4 | 24>;
1119
+ scrapedAt: z.ZodNumber;
190
1120
  }, "strip", z.ZodTypeAny, {
191
1121
  region: "USOnly" | "UKOnly" | "Worldwide";
192
- listing: {
193
- uid: string | null;
194
- title: string | null;
195
- jobUrl: string | null;
196
- datetime: string | null;
197
- isFeatured: boolean | null;
198
- region: "USOnly" | "UKOnly" | "Worldwide" | null;
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;
199
1134
  };
200
- accountId: string;
201
- accountEmail: string;
1135
+ offsetHour: 4 | 24;
1136
+ scrapedAt: number;
202
1137
  }, {
203
1138
  region: "USOnly" | "UKOnly" | "Worldwide";
204
- listing: {
205
- uid: string | null;
206
- title: string | null;
207
- jobUrl: string | null;
208
- datetime: string | null;
209
- isFeatured: boolean | null;
210
- region: "USOnly" | "UKOnly" | "Worldwide" | null;
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;
211
1151
  };
212
- accountId: string;
213
- accountEmail: string;
1152
+ offsetHour: 4 | 24;
1153
+ scrapedAt: number;
214
1154
  }>;
215
- export declare const scrapeJobFailedEventMetadata: z.ZodObject<{
1155
+ export declare const jobActivityScrapeFailedEventMetadata: z.ZodObject<{
216
1156
  listing: z.ZodObject<{
217
1157
  uid: z.ZodString;
218
1158
  ciphertext: z.ZodString;
219
1159
  title: z.ZodString;
1160
+ category: z.ZodOptional<z.ZodString>;
1161
+ jobUrl: z.ZodOptional<z.ZodString>;
220
1162
  description: z.ZodString;
221
1163
  createdOn: z.ZodString;
222
1164
  publishedOn: z.ZodString;
@@ -268,7 +1210,7 @@ export declare const scrapeJobFailedEventMetadata: z.ZodObject<{
268
1210
  freelancersToHire: z.ZodNumber;
269
1211
  relevanceEncoded: z.ZodString;
270
1212
  enterpriseJob: z.ZodBoolean;
271
- tierText: z.ZodString;
1213
+ tierText: z.ZodNullable<z.ZodString>;
272
1214
  isApplied: z.ZodBoolean;
273
1215
  proposalsTier: z.ZodNullable<z.ZodString>;
274
1216
  premium: z.ZodBoolean;
@@ -315,8 +1257,8 @@ export declare const scrapeJobFailedEventMetadata: z.ZodObject<{
315
1257
  }, "strip", z.ZodTypeAny, {
316
1258
  type: number;
317
1259
  uid: string;
318
- title: string;
319
1260
  ciphertext: string;
1261
+ title: string;
320
1262
  description: string;
321
1263
  createdOn: string;
322
1264
  publishedOn: string;
@@ -340,7 +1282,7 @@ export declare const scrapeJobFailedEventMetadata: z.ZodObject<{
340
1282
  freelancersToHire: number;
341
1283
  relevanceEncoded: string;
342
1284
  enterpriseJob: boolean;
343
- tierText: string;
1285
+ tierText: string | null;
344
1286
  isApplied: boolean;
345
1287
  proposalsTier: string | null;
346
1288
  premium: boolean;
@@ -360,12 +1302,14 @@ export declare const scrapeJobFailedEventMetadata: z.ZodObject<{
360
1302
  amount: number;
361
1303
  };
362
1304
  isSTSVectorSearchResult: boolean;
1305
+ category?: string | undefined;
1306
+ jobUrl?: string | undefined;
363
1307
  clientRelation?: any;
364
1308
  }, {
365
1309
  type: number;
366
1310
  uid: string;
367
- title: string;
368
1311
  ciphertext: string;
1312
+ title: string;
369
1313
  description: string;
370
1314
  createdOn: string;
371
1315
  publishedOn: string;
@@ -389,7 +1333,7 @@ export declare const scrapeJobFailedEventMetadata: z.ZodObject<{
389
1333
  freelancersToHire: number;
390
1334
  relevanceEncoded: string;
391
1335
  enterpriseJob: boolean;
392
- tierText: string;
1336
+ tierText: string | null;
393
1337
  isApplied: boolean;
394
1338
  proposalsTier: string | null;
395
1339
  premium: boolean;
@@ -409,17 +1353,18 @@ export declare const scrapeJobFailedEventMetadata: z.ZodObject<{
409
1353
  amount: number;
410
1354
  };
411
1355
  isSTSVectorSearchResult: boolean;
1356
+ category?: string | undefined;
1357
+ jobUrl?: string | undefined;
412
1358
  clientRelation?: any;
413
1359
  }>;
414
1360
  region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
415
- error: z.ZodString;
1361
+ offsetHour: z.ZodType<4 | 24, z.ZodTypeDef, 4 | 24>;
416
1362
  }, "strip", z.ZodTypeAny, {
417
- region: "USOnly" | "UKOnly" | "Worldwide";
418
1363
  listing: {
419
1364
  type: number;
420
1365
  uid: string;
421
- title: string;
422
1366
  ciphertext: string;
1367
+ title: string;
423
1368
  description: string;
424
1369
  createdOn: string;
425
1370
  publishedOn: string;
@@ -443,7 +1388,7 @@ export declare const scrapeJobFailedEventMetadata: z.ZodObject<{
443
1388
  freelancersToHire: number;
444
1389
  relevanceEncoded: string;
445
1390
  enterpriseJob: boolean;
446
- tierText: string;
1391
+ tierText: string | null;
447
1392
  isApplied: boolean;
448
1393
  proposalsTier: string | null;
449
1394
  premium: boolean;
@@ -463,16 +1408,18 @@ export declare const scrapeJobFailedEventMetadata: z.ZodObject<{
463
1408
  amount: number;
464
1409
  };
465
1410
  isSTSVectorSearchResult: boolean;
1411
+ category?: string | undefined;
1412
+ jobUrl?: string | undefined;
466
1413
  clientRelation?: any;
467
1414
  };
468
- error: string;
469
- }, {
470
1415
  region: "USOnly" | "UKOnly" | "Worldwide";
1416
+ offsetHour: 4 | 24;
1417
+ }, {
471
1418
  listing: {
472
1419
  type: number;
473
1420
  uid: string;
474
- title: string;
475
1421
  ciphertext: string;
1422
+ title: string;
476
1423
  description: string;
477
1424
  createdOn: string;
478
1425
  publishedOn: string;
@@ -496,7 +1443,7 @@ export declare const scrapeJobFailedEventMetadata: z.ZodObject<{
496
1443
  freelancersToHire: number;
497
1444
  relevanceEncoded: string;
498
1445
  enterpriseJob: boolean;
499
- tierText: string;
1446
+ tierText: string | null;
500
1447
  isApplied: boolean;
501
1448
  proposalsTier: string | null;
502
1449
  premium: boolean;
@@ -516,138 +1463,11 @@ export declare const scrapeJobFailedEventMetadata: z.ZodObject<{
516
1463
  amount: number;
517
1464
  };
518
1465
  isSTSVectorSearchResult: boolean;
1466
+ category?: string | undefined;
1467
+ jobUrl?: string | undefined;
519
1468
  clientRelation?: any;
520
1469
  };
521
- error: string;
522
- }>;
523
- export declare const jobActivityScrapedEventMetadata: z.ZodObject<{
524
- activity: z.ZodObject<{
525
- proposals: z.ZodObject<{
526
- min: z.ZodNullable<z.ZodNumber>;
527
- max: z.ZodNullable<z.ZodNumber>;
528
- }, "strip", z.ZodTypeAny, {
529
- min: number | null;
530
- max: number | null;
531
- }, {
532
- min: number | null;
533
- max: number | null;
534
- }>;
535
- lastViewedByClient: z.ZodNullable<z.ZodString>;
536
- lastViewedByClientTimestamp: z.ZodNullable<z.ZodNumber>;
537
- hires: z.ZodNullable<z.ZodNumber>;
538
- interviewing: z.ZodNullable<z.ZodNumber>;
539
- invitesSent: z.ZodNullable<z.ZodNumber>;
540
- unansweredInvites: z.ZodNullable<z.ZodNumber>;
541
- updatedAt: z.ZodNullable<z.ZodNumber>;
542
- }, "strip", z.ZodTypeAny, {
543
- proposals: {
544
- min: number | null;
545
- max: number | null;
546
- };
547
- lastViewedByClient: string | null;
548
- lastViewedByClientTimestamp: number | null;
549
- hires: number | null;
550
- interviewing: number | null;
551
- invitesSent: number | null;
552
- unansweredInvites: number | null;
553
- updatedAt: number | null;
554
- }, {
555
- proposals: {
556
- min: number | null;
557
- max: number | null;
558
- };
559
- lastViewedByClient: string | null;
560
- lastViewedByClientTimestamp: number | null;
561
- hires: number | null;
562
- interviewing: number | null;
563
- invitesSent: number | null;
564
- unansweredInvites: number | null;
565
- updatedAt: number | null;
566
- }>;
567
- region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
568
- offsetHour: z.ZodType<4 | 24, z.ZodTypeDef, 4 | 24>;
569
- scrapedAt: z.ZodNumber;
570
- }, "strip", z.ZodTypeAny, {
571
- region: "USOnly" | "UKOnly" | "Worldwide";
572
- activity: {
573
- proposals: {
574
- min: number | null;
575
- max: number | null;
576
- };
577
- lastViewedByClient: string | null;
578
- lastViewedByClientTimestamp: number | null;
579
- hires: number | null;
580
- interviewing: number | null;
581
- invitesSent: number | null;
582
- unansweredInvites: number | null;
583
- updatedAt: number | null;
584
- };
585
- offsetHour: 4 | 24;
586
- scrapedAt: number;
587
- }, {
588
- region: "USOnly" | "UKOnly" | "Worldwide";
589
- activity: {
590
- proposals: {
591
- min: number | null;
592
- max: number | null;
593
- };
594
- lastViewedByClient: string | null;
595
- lastViewedByClientTimestamp: number | null;
596
- hires: number | null;
597
- interviewing: number | null;
598
- invitesSent: number | null;
599
- unansweredInvites: number | null;
600
- updatedAt: number | null;
601
- };
602
- offsetHour: 4 | 24;
603
- scrapedAt: number;
604
- }>;
605
- export declare const jobActivityScrapeFailedEventMetadata: z.ZodObject<{
606
- listing: z.ZodObject<{
607
- uid: z.ZodNullable<z.ZodString>;
608
- title: z.ZodNullable<z.ZodString>;
609
- jobUrl: z.ZodNullable<z.ZodString>;
610
- datetime: z.ZodNullable<z.ZodString>;
611
- isFeatured: z.ZodNullable<z.ZodBoolean>;
612
- region: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>>;
613
- }, "strip", z.ZodTypeAny, {
614
- uid: string | null;
615
- title: string | null;
616
- jobUrl: string | null;
617
- datetime: string | null;
618
- isFeatured: boolean | null;
619
- region: "USOnly" | "UKOnly" | "Worldwide" | null;
620
- }, {
621
- uid: string | null;
622
- title: string | null;
623
- jobUrl: string | null;
624
- datetime: string | null;
625
- isFeatured: boolean | null;
626
- region: "USOnly" | "UKOnly" | "Worldwide" | null;
627
- }>;
628
- region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
629
- offsetHour: z.ZodType<4 | 24, z.ZodTypeDef, 4 | 24>;
630
- }, "strip", z.ZodTypeAny, {
631
- region: "USOnly" | "UKOnly" | "Worldwide";
632
- listing: {
633
- uid: string | null;
634
- title: string | null;
635
- jobUrl: string | null;
636
- datetime: string | null;
637
- isFeatured: boolean | null;
638
- region: "USOnly" | "UKOnly" | "Worldwide" | null;
639
- };
640
- offsetHour: 4 | 24;
641
- }, {
642
1470
  region: "USOnly" | "UKOnly" | "Worldwide";
643
- listing: {
644
- uid: string | null;
645
- title: string | null;
646
- jobUrl: string | null;
647
- datetime: string | null;
648
- isFeatured: boolean | null;
649
- region: "USOnly" | "UKOnly" | "Worldwide" | null;
650
- };
651
1471
  offsetHour: 4 | 24;
652
1472
  }>;
653
1473
  export declare const feedScrapeStartedEventMetadata: z.ZodObject<{
@@ -1019,7 +1839,7 @@ export declare const proposalCompleteEventMetadataSchema: z.ZodObject<{
1019
1839
  }>;
1020
1840
  export type ProposalCompleteEventMetadata = z.infer<typeof proposalCompleteEventMetadataSchema>;
1021
1841
  export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
1022
- 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"]>;
1842
+ type: z.ZodEnum<["scraperStarted", "scraperCompleted", "scrapeJobStarted", "jobScraped", "jobScrapeFailed", "scrapeJobDetailsStarted", "scrapeJobDetailsCompleted", "scrapeJobDetailsFailed", "jobsIndexed", "jobDuplicateSkipped", "scraperFailed", "jobActivityScraped", "jobActivityScrapeFailed", "leadStatusCheckFailed", "leadStatusUpdated", "scrapeJobsCompleted", "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"]>;
1023
1843
  source: z.ZodString;
1024
1844
  resourceType: z.ZodDefault<z.ZodString>;
1025
1845
  resourceId: z.ZodNullable<z.ZodString>;
@@ -1031,7 +1851,7 @@ export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
1031
1851
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1032
1852
  timestamp: z.ZodNumber;
1033
1853
  }, "strip", z.ZodTypeAny, {
1034
- 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";
1854
+ type: "scraperStarted" | "scraperCompleted" | "scrapeJobStarted" | "jobScraped" | "jobScrapeFailed" | "scrapeJobDetailsStarted" | "scrapeJobDetailsCompleted" | "scrapeJobDetailsFailed" | "jobsIndexed" | "jobDuplicateSkipped" | "scraperFailed" | "jobActivityScraped" | "jobActivityScrapeFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "scrapeJobsCompleted" | "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";
1035
1855
  source: string;
1036
1856
  resourceType: string;
1037
1857
  resourceId: string | null;
@@ -1043,7 +1863,7 @@ export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
1043
1863
  metadata: Record<string, unknown> | null;
1044
1864
  timestamp: number;
1045
1865
  }, {
1046
- 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";
1866
+ type: "scraperStarted" | "scraperCompleted" | "scrapeJobStarted" | "jobScraped" | "jobScrapeFailed" | "scrapeJobDetailsStarted" | "scrapeJobDetailsCompleted" | "scrapeJobDetailsFailed" | "jobsIndexed" | "jobDuplicateSkipped" | "scraperFailed" | "jobActivityScraped" | "jobActivityScrapeFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "scrapeJobsCompleted" | "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";
1047
1867
  source: string;
1048
1868
  resourceId: string | null;
1049
1869
  organizationId: string | null;
@@ -1055,7 +1875,7 @@ export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
1055
1875
  timestamp: number;
1056
1876
  resourceType?: string | undefined;
1057
1877
  }>, z.ZodArray<z.ZodObject<{
1058
- 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"]>;
1878
+ type: z.ZodEnum<["scraperStarted", "scraperCompleted", "scrapeJobStarted", "jobScraped", "jobScrapeFailed", "scrapeJobDetailsStarted", "scrapeJobDetailsCompleted", "scrapeJobDetailsFailed", "jobsIndexed", "jobDuplicateSkipped", "scraperFailed", "jobActivityScraped", "jobActivityScrapeFailed", "leadStatusCheckFailed", "leadStatusUpdated", "scrapeJobsCompleted", "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"]>;
1059
1879
  source: z.ZodString;
1060
1880
  resourceType: z.ZodDefault<z.ZodString>;
1061
1881
  resourceId: z.ZodNullable<z.ZodString>;
@@ -1067,7 +1887,7 @@ export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
1067
1887
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1068
1888
  timestamp: z.ZodNumber;
1069
1889
  }, "strip", z.ZodTypeAny, {
1070
- 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";
1890
+ type: "scraperStarted" | "scraperCompleted" | "scrapeJobStarted" | "jobScraped" | "jobScrapeFailed" | "scrapeJobDetailsStarted" | "scrapeJobDetailsCompleted" | "scrapeJobDetailsFailed" | "jobsIndexed" | "jobDuplicateSkipped" | "scraperFailed" | "jobActivityScraped" | "jobActivityScrapeFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "scrapeJobsCompleted" | "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";
1071
1891
  source: string;
1072
1892
  resourceType: string;
1073
1893
  resourceId: string | null;
@@ -1079,7 +1899,7 @@ export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
1079
1899
  metadata: Record<string, unknown> | null;
1080
1900
  timestamp: number;
1081
1901
  }, {
1082
- 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";
1902
+ type: "scraperStarted" | "scraperCompleted" | "scrapeJobStarted" | "jobScraped" | "jobScrapeFailed" | "scrapeJobDetailsStarted" | "scrapeJobDetailsCompleted" | "scrapeJobDetailsFailed" | "jobsIndexed" | "jobDuplicateSkipped" | "scraperFailed" | "jobActivityScraped" | "jobActivityScrapeFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "scrapeJobsCompleted" | "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";
1083
1903
  source: string;
1084
1904
  resourceId: string | null;
1085
1905
  organizationId: string | null;