lancer-shared 1.2.240 → 1.2.242

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/dist/bundle.cjs.js.map +1 -0
  2. package/dist/bundle.esm.js +23749 -0
  3. package/dist/bundle.esm.js.map +1 -0
  4. package/dist/schemas/account/bidder-account.d.ts +75 -75
  5. package/dist/schemas/account/scraper-account.d.ts +37 -37
  6. package/dist/schemas/agent/index.d.ts +285 -285
  7. package/dist/schemas/agent/proposal.d.ts +6 -6
  8. package/dist/schemas/bidder/bid.d.ts +2345 -2345
  9. package/dist/schemas/campaign/campaign-analytics.d.ts +857 -857
  10. package/dist/schemas/campaign/campaign-chat-bot.d.ts +25 -25
  11. package/dist/schemas/campaign/campaign-expenses.d.ts +2 -2
  12. package/dist/schemas/campaign/campaign-insights.d.ts +12 -12
  13. package/dist/schemas/campaign/campaign.d.ts +201 -201
  14. package/dist/schemas/campaign/sequence/boost-node.d.ts +2 -2
  15. package/dist/schemas/campaign/sequence/client-size-node.d.ts +8 -8
  16. package/dist/schemas/campaign/sequence/client-spent-node.d.ts +16 -16
  17. package/dist/schemas/campaign/sequence/hire-rate-node.d.ts +16 -16
  18. package/dist/schemas/campaign/sequence/hourly-rate-node.d.ts +16 -16
  19. package/dist/schemas/campaign/sequence/rating-node.d.ts +16 -16
  20. package/dist/schemas/campaign/sequence/suitability-node.d.ts +16 -16
  21. package/dist/schemas/dashboard/index.d.ts +34 -34
  22. package/dist/schemas/infrastructure/index.d.ts +8 -8
  23. package/dist/schemas/invoice/index.d.ts +51 -51
  24. package/dist/schemas/job/index.d.ts +212 -212
  25. package/dist/schemas/job/job-api.d.ts +4 -4
  26. package/dist/schemas/job/job-details.d.ts +736 -736
  27. package/dist/schemas/job/job-filters.d.ts +14 -14
  28. package/dist/schemas/job/job-listing.d.ts +94 -94
  29. package/dist/schemas/job/nuxt.d.ts +150 -150
  30. package/dist/schemas/lead/index.d.ts +1022 -1022
  31. package/dist/schemas/lead/lead-status.d.ts +10 -10
  32. package/dist/schemas/logger/feed/feed-chunk-enrich.d.ts +25 -25
  33. package/dist/schemas/logger/feed/feed-enrich.d.ts +15 -15
  34. package/dist/schemas/logger/feed/feed-job-enrich.d.ts +321 -321
  35. package/dist/schemas/logger/feed/feed-scrape.d.ts +15 -15
  36. package/dist/schemas/logger/log-event.d.ts +91 -91
  37. package/dist/schemas/logger/scraper-events.d.ts +90 -90
  38. package/dist/schemas/notifications/index.d.ts +4 -4
  39. package/dist/schemas/organization/cover-letter.d.ts +2 -2
  40. package/dist/schemas/organization/index.d.ts +104 -104
  41. package/dist/schemas/organization/subscription.d.ts +6 -6
  42. package/dist/schemas/plan/index.d.ts +14 -14
  43. package/dist/schemas/proxy/proxy.d.ts +20 -20
  44. package/dist/schemas/saved-search/index.d.ts +4 -4
  45. package/dist/schemas/scraper/scrape-payload.d.ts +621 -621
  46. package/dist/schemas/scraper/scrape-result.d.ts +214 -214
  47. package/dist/schemas/scraper/upwork-profile.d.ts +16 -16
  48. package/dist/schemas/shared.d.ts +1 -1
  49. package/dist/schemas/talent/index.d.ts +854 -854
  50. package/dist/schemas/transaction/index.d.ts +18 -18
  51. package/dist/schemas/usage/index.d.ts +16 -16
  52. package/dist/schemas/usage-event/index.d.ts +4 -4
  53. package/dist/schemas/user/index.d.ts +4 -4
  54. package/package.json +10 -8
@@ -84,15 +84,15 @@ export declare const scrapeJobPayloadSchema: z.ZodObject<{
84
84
  highlighted: z.ZodBoolean;
85
85
  }, "strip", z.ZodTypeAny, {
86
86
  uid: string;
87
- parentSkillUid: string | null;
88
87
  prefLabel: string;
88
+ parentSkillUid: string | null;
89
89
  prettyName: string;
90
90
  highlighted: boolean;
91
91
  freeText?: any;
92
92
  }, {
93
93
  uid: string;
94
- parentSkillUid: string | null;
95
94
  prefLabel: string;
95
+ parentSkillUid: string | null;
96
96
  prettyName: string;
97
97
  highlighted: boolean;
98
98
  freeText?: any;
@@ -101,11 +101,11 @@ export declare const scrapeJobPayloadSchema: z.ZodObject<{
101
101
  min: z.ZodNumber;
102
102
  max: z.ZodNumber;
103
103
  }, "strip", z.ZodTypeAny, {
104
- min: number;
105
104
  max: number;
106
- }, {
107
105
  min: number;
106
+ }, {
108
107
  max: number;
108
+ min: number;
109
109
  }>;
110
110
  weeklyBudget: z.ZodObject<{
111
111
  amount: z.ZodNumber;
@@ -117,18 +117,19 @@ export declare const scrapeJobPayloadSchema: z.ZodObject<{
117
117
  isSTSVectorSearchResult: z.ZodBoolean;
118
118
  }, "strip", z.ZodTypeAny, {
119
119
  type: number;
120
- uid: string;
121
- ciphertext: string;
122
120
  title: string;
123
121
  description: string;
122
+ premium: boolean;
123
+ amount: {
124
+ amount: number;
125
+ };
126
+ uid: string;
127
+ ciphertext: string;
124
128
  createdOn: string;
129
+ durationLabel: string | null;
125
130
  publishedOn: string;
126
131
  renewedOn: string | null;
127
- durationLabel: string | null;
128
132
  engagement: string | null;
129
- amount: {
130
- amount: number;
131
- };
132
133
  connectPrice: number | null;
133
134
  client: {
134
135
  location: {
@@ -146,18 +147,17 @@ export declare const scrapeJobPayloadSchema: z.ZodObject<{
146
147
  tierText: string | null;
147
148
  isApplied: boolean;
148
149
  proposalsTier: string | null;
149
- premium: boolean;
150
150
  attrs: {
151
151
  uid: string;
152
- parentSkillUid: string | null;
153
152
  prefLabel: string;
153
+ parentSkillUid: string | null;
154
154
  prettyName: string;
155
155
  highlighted: boolean;
156
156
  freeText?: any;
157
157
  }[];
158
158
  hourlyBudget: {
159
- min: number;
160
159
  max: number;
160
+ min: number;
161
161
  };
162
162
  weeklyBudget: {
163
163
  amount: number;
@@ -168,18 +168,19 @@ export declare const scrapeJobPayloadSchema: z.ZodObject<{
168
168
  clientRelation?: any;
169
169
  }, {
170
170
  type: number;
171
- uid: string;
172
- ciphertext: string;
173
171
  title: string;
174
172
  description: string;
173
+ premium: boolean;
174
+ amount: {
175
+ amount: number;
176
+ };
177
+ uid: string;
178
+ ciphertext: string;
175
179
  createdOn: string;
180
+ durationLabel: string | null;
176
181
  publishedOn: string;
177
182
  renewedOn: string | null;
178
- durationLabel: string | null;
179
183
  engagement: string | null;
180
- amount: {
181
- amount: number;
182
- };
183
184
  connectPrice: number | null;
184
185
  client: {
185
186
  location: {
@@ -197,18 +198,17 @@ export declare const scrapeJobPayloadSchema: z.ZodObject<{
197
198
  tierText: string | null;
198
199
  isApplied: boolean;
199
200
  proposalsTier: string | null;
200
- premium: boolean;
201
201
  attrs: {
202
202
  uid: string;
203
- parentSkillUid: string | null;
204
203
  prefLabel: string;
204
+ parentSkillUid: string | null;
205
205
  prettyName: string;
206
206
  highlighted: boolean;
207
207
  freeText?: any;
208
208
  }[];
209
209
  hourlyBudget: {
210
- min: number;
211
210
  max: number;
211
+ min: number;
212
212
  };
213
213
  weeklyBudget: {
214
214
  amount: number;
@@ -221,18 +221,19 @@ export declare const scrapeJobPayloadSchema: z.ZodObject<{
221
221
  }, "strip", z.ZodTypeAny, {
222
222
  listing: {
223
223
  type: number;
224
- uid: string;
225
- ciphertext: string;
226
224
  title: string;
227
225
  description: string;
226
+ premium: boolean;
227
+ amount: {
228
+ amount: number;
229
+ };
230
+ uid: string;
231
+ ciphertext: string;
228
232
  createdOn: string;
233
+ durationLabel: string | null;
229
234
  publishedOn: string;
230
235
  renewedOn: string | null;
231
- durationLabel: string | null;
232
236
  engagement: string | null;
233
- amount: {
234
- amount: number;
235
- };
236
237
  connectPrice: number | null;
237
238
  client: {
238
239
  location: {
@@ -250,18 +251,17 @@ export declare const scrapeJobPayloadSchema: z.ZodObject<{
250
251
  tierText: string | null;
251
252
  isApplied: boolean;
252
253
  proposalsTier: string | null;
253
- premium: boolean;
254
254
  attrs: {
255
255
  uid: string;
256
- parentSkillUid: string | null;
257
256
  prefLabel: string;
257
+ parentSkillUid: string | null;
258
258
  prettyName: string;
259
259
  highlighted: boolean;
260
260
  freeText?: any;
261
261
  }[];
262
262
  hourlyBudget: {
263
- min: number;
264
263
  max: number;
264
+ min: number;
265
265
  };
266
266
  weeklyBudget: {
267
267
  amount: number;
@@ -274,18 +274,19 @@ export declare const scrapeJobPayloadSchema: z.ZodObject<{
274
274
  }, {
275
275
  listing: {
276
276
  type: number;
277
- uid: string;
278
- ciphertext: string;
279
277
  title: string;
280
278
  description: string;
279
+ premium: boolean;
280
+ amount: {
281
+ amount: number;
282
+ };
283
+ uid: string;
284
+ ciphertext: string;
281
285
  createdOn: string;
286
+ durationLabel: string | null;
282
287
  publishedOn: string;
283
288
  renewedOn: string | null;
284
- durationLabel: string | null;
285
289
  engagement: string | null;
286
- amount: {
287
- amount: number;
288
- };
289
290
  connectPrice: number | null;
290
291
  client: {
291
292
  location: {
@@ -303,18 +304,17 @@ export declare const scrapeJobPayloadSchema: z.ZodObject<{
303
304
  tierText: string | null;
304
305
  isApplied: boolean;
305
306
  proposalsTier: string | null;
306
- premium: boolean;
307
307
  attrs: {
308
308
  uid: string;
309
- parentSkillUid: string | null;
310
309
  prefLabel: string;
310
+ parentSkillUid: string | null;
311
311
  prettyName: string;
312
312
  highlighted: boolean;
313
313
  freeText?: any;
314
314
  }[];
315
315
  hourlyBudget: {
316
- min: number;
317
316
  max: number;
317
+ min: number;
318
318
  };
319
319
  weeklyBudget: {
320
320
  amount: number;
@@ -326,48 +326,48 @@ export declare const scrapeJobPayloadSchema: z.ZodObject<{
326
326
  };
327
327
  }>;
328
328
  export declare const processFeedPayloadSchema: z.ZodObject<{
329
- region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
329
+ region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">, z.ZodLiteral<"All">]>;
330
330
  listings: z.ZodArray<z.ZodObject<{
331
331
  uid: z.ZodNullable<z.ZodString>;
332
332
  title: z.ZodNullable<z.ZodString>;
333
333
  jobUrl: z.ZodNullable<z.ZodString>;
334
334
  datetime: z.ZodNullable<z.ZodString>;
335
335
  isFeatured: z.ZodNullable<z.ZodBoolean>;
336
- region: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>>;
336
+ region: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">, z.ZodLiteral<"All">]>>;
337
337
  }, "strip", z.ZodTypeAny, {
338
- uid: string | null;
339
338
  title: string | null;
340
- jobUrl: string | null;
341
- region: "USOnly" | "UKOnly" | "Worldwide" | null;
339
+ region: "Worldwide" | "USOnly" | "UKOnly" | "All" | null;
342
340
  datetime: string | null;
343
341
  isFeatured: boolean | null;
344
- }, {
345
342
  uid: string | null;
346
- title: string | null;
347
343
  jobUrl: string | null;
348
- region: "USOnly" | "UKOnly" | "Worldwide" | null;
344
+ }, {
345
+ title: string | null;
346
+ region: "Worldwide" | "USOnly" | "UKOnly" | "All" | null;
349
347
  datetime: string | null;
350
348
  isFeatured: boolean | null;
349
+ uid: string | null;
350
+ jobUrl: string | null;
351
351
  }>, "many">;
352
352
  }, "strip", z.ZodTypeAny, {
353
- region: "USOnly" | "UKOnly" | "Worldwide";
353
+ region: "Worldwide" | "USOnly" | "UKOnly" | "All";
354
354
  listings: {
355
- uid: string | null;
356
355
  title: string | null;
357
- jobUrl: string | null;
358
- region: "USOnly" | "UKOnly" | "Worldwide" | null;
356
+ region: "Worldwide" | "USOnly" | "UKOnly" | "All" | null;
359
357
  datetime: string | null;
360
358
  isFeatured: boolean | null;
359
+ uid: string | null;
360
+ jobUrl: string | null;
361
361
  }[];
362
362
  }, {
363
- region: "USOnly" | "UKOnly" | "Worldwide";
363
+ region: "Worldwide" | "USOnly" | "UKOnly" | "All";
364
364
  listings: {
365
- uid: string | null;
366
365
  title: string | null;
367
- jobUrl: string | null;
368
- region: "USOnly" | "UKOnly" | "Worldwide" | null;
366
+ region: "Worldwide" | "USOnly" | "UKOnly" | "All" | null;
369
367
  datetime: string | null;
370
368
  isFeatured: boolean | null;
369
+ uid: string | null;
370
+ jobUrl: string | null;
371
371
  }[];
372
372
  }>;
373
373
  export declare const scrapeJobActivityPayloadSchema: z.ZodObject<{
@@ -377,41 +377,41 @@ export declare const scrapeJobActivityPayloadSchema: z.ZodObject<{
377
377
  jobUrl: z.ZodNullable<z.ZodString>;
378
378
  datetime: z.ZodNullable<z.ZodString>;
379
379
  isFeatured: z.ZodNullable<z.ZodBoolean>;
380
- region: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>>;
380
+ region: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">, z.ZodLiteral<"All">]>>;
381
381
  }, "strip", z.ZodTypeAny, {
382
- uid: string | null;
383
382
  title: string | null;
384
- jobUrl: string | null;
385
- region: "USOnly" | "UKOnly" | "Worldwide" | null;
383
+ region: "Worldwide" | "USOnly" | "UKOnly" | "All" | null;
386
384
  datetime: string | null;
387
385
  isFeatured: boolean | null;
388
- }, {
389
386
  uid: string | null;
390
- title: string | null;
391
387
  jobUrl: string | null;
392
- region: "USOnly" | "UKOnly" | "Worldwide" | null;
388
+ }, {
389
+ title: string | null;
390
+ region: "Worldwide" | "USOnly" | "UKOnly" | "All" | null;
393
391
  datetime: string | null;
394
392
  isFeatured: boolean | null;
393
+ uid: string | null;
394
+ jobUrl: string | null;
395
395
  }>;
396
396
  offsetHour: z.ZodType<4 | 24, z.ZodTypeDef, 4 | 24>;
397
397
  }, "strip", z.ZodTypeAny, {
398
398
  listing: {
399
- uid: string | null;
400
399
  title: string | null;
401
- jobUrl: string | null;
402
- region: "USOnly" | "UKOnly" | "Worldwide" | null;
400
+ region: "Worldwide" | "USOnly" | "UKOnly" | "All" | null;
403
401
  datetime: string | null;
404
402
  isFeatured: boolean | null;
403
+ uid: string | null;
404
+ jobUrl: string | null;
405
405
  };
406
406
  offsetHour: 4 | 24;
407
407
  }, {
408
408
  listing: {
409
- uid: string | null;
410
409
  title: string | null;
411
- jobUrl: string | null;
412
- region: "USOnly" | "UKOnly" | "Worldwide" | null;
410
+ region: "Worldwide" | "USOnly" | "UKOnly" | "All" | null;
413
411
  datetime: string | null;
414
412
  isFeatured: boolean | null;
413
+ uid: string | null;
414
+ jobUrl: string | null;
415
415
  };
416
416
  offsetHour: 4 | 24;
417
417
  }>;
@@ -433,7 +433,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
433
433
  }>>;
434
434
  searchQuery: z.ZodNullable<z.ZodString>;
435
435
  isFeatured: z.ZodNullable<z.ZodEnum<["all", "true", "false"]>>;
436
- regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["all", "Worldwide", "UKOnly", "USOnly"]>, "many">>;
436
+ regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["Worldwide", "USOnly", "UKOnly", "All"]>, "many">>;
437
437
  categories: z.ZodNullable<z.ZodObject<{
438
438
  includes: z.ZodNullable<z.ZodArray<z.ZodEnum<["Interior & Trade Show Design", "Physical Sciences", "Personal & Professional Coaching", "Accounting & Bookkeeping", "Financial Planning", "Recruiting & Human Resources", "Management Consulting & Analysis", "Other - Accounting & Consulting", "Data Entry & Transcription Services", "Virtual Assistance", "Project Management", "Market Research & Product Reviews", "Community Management & Tagging", "Customer Service & Tech Support", "Data Analysis & Testing", "Data Extraction/ETL", "Data Mining & Management", "AI & Machine Learning", "Art & Illustration", "Audio & Music Production", "Branding & Logo Design", "NFT, AR/VR & Game Art", "Graphic, Editorial & Presentation Design", "Performing Arts", "Photography", "Product Design", "Video & Animation", "Building & Landscape Architecture", "Chemical Engineering", "Civil & Structural Engineering", "Contract Manufacturing", "Electrical & Electronic Engineering", "Energy & Mechanical Engineering", "3D Modeling & CAD", "Database Management & Administration", "ERP/CRM Software", "Information Security & Compliance", "Network & System Administration", "DevOps & Solution Architecture", "Corporate & Contract Law", "International & Immigration Law", "Finance & Tax Law", "Public Law", "Digital Marketing", "Lead Generation & Telemarketing", "Marketing, PR & Brand Strategy", "Language Tutoring & Interpretation", "Translation & Localization Services", "Blockchain, NFT & Cryptocurrency", "AI Apps & Integration", "Desktop Application Development", "Ecommerce Development", "Game Design & Development", "Mobile Development", "Other - Software Development", "Product Management & Scrum", "QA Testing", "Scripts & Utilities", "Web & Mobile Design", "Web Development", "Sales & Marketing Copywriting", "Content Writing", "Editing & Proofreading Services", "Professional & Business Writing"]>, "many">>;
439
439
  excludes: z.ZodNullable<z.ZodArray<z.ZodEnum<["Interior & Trade Show Design", "Physical Sciences", "Personal & Professional Coaching", "Accounting & Bookkeeping", "Financial Planning", "Recruiting & Human Resources", "Management Consulting & Analysis", "Other - Accounting & Consulting", "Data Entry & Transcription Services", "Virtual Assistance", "Project Management", "Market Research & Product Reviews", "Community Management & Tagging", "Customer Service & Tech Support", "Data Analysis & Testing", "Data Extraction/ETL", "Data Mining & Management", "AI & Machine Learning", "Art & Illustration", "Audio & Music Production", "Branding & Logo Design", "NFT, AR/VR & Game Art", "Graphic, Editorial & Presentation Design", "Performing Arts", "Photography", "Product Design", "Video & Animation", "Building & Landscape Architecture", "Chemical Engineering", "Civil & Structural Engineering", "Contract Manufacturing", "Electrical & Electronic Engineering", "Energy & Mechanical Engineering", "3D Modeling & CAD", "Database Management & Administration", "ERP/CRM Software", "Information Security & Compliance", "Network & System Administration", "DevOps & Solution Architecture", "Corporate & Contract Law", "International & Immigration Law", "Finance & Tax Law", "Public Law", "Digital Marketing", "Lead Generation & Telemarketing", "Marketing, PR & Brand Strategy", "Language Tutoring & Interpretation", "Translation & Localization Services", "Blockchain, NFT & Cryptocurrency", "AI Apps & Integration", "Desktop Application Development", "Ecommerce Development", "Game Design & Development", "Mobile Development", "Other - Software Development", "Product Management & Scrum", "QA Testing", "Scripts & Utilities", "Web & Mobile Design", "Web Development", "Sales & Marketing Copywriting", "Content Writing", "Editing & Proofreading Services", "Professional & Business Writing"]>, "many">>;
@@ -494,9 +494,9 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
494
494
  memberSinceFrom: z.ZodNullable<z.ZodString>;
495
495
  memberSinceTo: z.ZodNullable<z.ZodString>;
496
496
  }, "strip", z.ZodTypeAny, {
497
- isPaymentVerified: "all" | "true" | "false";
498
- isPhoneVerified: "all" | "true" | "false";
499
- enterpriseClient: "all" | "true" | "false";
497
+ isPaymentVerified: "false" | "all" | "true";
498
+ isPhoneVerified: "false" | "all" | "true";
499
+ enterpriseClient: "false" | "all" | "true";
500
500
  clientLocationIncludes: string[] | null;
501
501
  clientLocationExcludes: string[] | null;
502
502
  minReviewScore: number | null;
@@ -530,9 +530,9 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
530
530
  minNumReviews: number | null;
531
531
  memberSinceFrom: string | null;
532
532
  memberSinceTo: string | null;
533
- isPaymentVerified?: "all" | "true" | "false" | undefined;
534
- isPhoneVerified?: "all" | "true" | "false" | undefined;
535
- enterpriseClient?: "all" | "true" | "false" | undefined;
533
+ isPaymentVerified?: "false" | "all" | "true" | undefined;
534
+ isPhoneVerified?: "false" | "all" | "true" | undefined;
535
+ enterpriseClient?: "false" | "all" | "true" | undefined;
536
536
  }>>;
537
537
  includeClientsWithZeroReviews: z.ZodNullable<z.ZodBoolean>;
538
538
  includeClientsWithLessThanXPostedJobs: z.ZodNullable<z.ZodNumber>;
@@ -562,13 +562,13 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
562
562
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
563
563
  }>>;
564
564
  }, "strip", z.ZodTypeAny, {
565
- isFeatured: "all" | "true" | "false" | null;
566
565
  keywords: {
567
566
  includes: string | null;
568
567
  excludes: string | null;
569
568
  } | null;
570
569
  searchQuery: string | null;
571
- regions: ("USOnly" | "UKOnly" | "Worldwide" | "all")[] | null;
570
+ isFeatured: "false" | "all" | "true" | null;
571
+ regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
572
572
  categories: {
573
573
  includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
574
574
  excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
@@ -587,9 +587,9 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
587
587
  } | null;
588
588
  engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
589
589
  clientInfo: {
590
- isPaymentVerified: "all" | "true" | "false";
591
- isPhoneVerified: "all" | "true" | "false";
592
- enterpriseClient: "all" | "true" | "false";
590
+ isPaymentVerified: "false" | "all" | "true";
591
+ isPhoneVerified: "false" | "all" | "true";
592
+ enterpriseClient: "false" | "all" | "true";
593
593
  clientLocationIncludes: string[] | null;
594
594
  clientLocationExcludes: string[] | null;
595
595
  minReviewScore: number | null;
@@ -619,13 +619,13 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
619
619
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
620
620
  } | null;
621
621
  }, {
622
- isFeatured: "all" | "true" | "false" | null;
623
622
  keywords: {
624
623
  includes: string | null;
625
624
  excludes: string | null;
626
625
  } | null;
627
626
  searchQuery: string | null;
628
- regions: ("USOnly" | "UKOnly" | "Worldwide" | "all")[] | null;
627
+ isFeatured: "false" | "all" | "true" | null;
628
+ regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
629
629
  categories: {
630
630
  includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
631
631
  excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
@@ -660,9 +660,9 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
660
660
  minNumReviews: number | null;
661
661
  memberSinceFrom: string | null;
662
662
  memberSinceTo: string | null;
663
- isPaymentVerified?: "all" | "true" | "false" | undefined;
664
- isPhoneVerified?: "all" | "true" | "false" | undefined;
665
- enterpriseClient?: "all" | "true" | "false" | undefined;
663
+ isPaymentVerified?: "false" | "all" | "true" | undefined;
664
+ isPhoneVerified?: "false" | "all" | "true" | undefined;
665
+ enterpriseClient?: "false" | "all" | "true" | undefined;
666
666
  } | null;
667
667
  includeClientsWithZeroReviews: boolean | null;
668
668
  includeClientsWithLessThanXPostedJobs: number | null;
@@ -699,12 +699,12 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
699
699
  boosted: z.ZodDefault<z.ZodNumber>;
700
700
  }, "strip", z.ZodTypeAny, {
701
701
  biddingAmount: number;
702
- boostingAmount: number;
703
702
  boosted: number;
703
+ boostingAmount: number;
704
704
  }, {
705
705
  biddingAmount?: number | undefined;
706
- boostingAmount?: number | undefined;
707
706
  boosted?: number | undefined;
707
+ boostingAmount?: number | undefined;
708
708
  }>;
709
709
  notificationsEnabled: z.ZodNullable<z.ZodBoolean>;
710
710
  status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"draft">, z.ZodLiteral<"paused">, z.ZodLiteral<"error">]>>;
@@ -714,14 +714,14 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
714
714
  contractorName: z.ZodNullable<z.ZodString>;
715
715
  specialisedProfile: z.ZodNullable<z.ZodString>;
716
716
  }, "strip", z.ZodTypeAny, {
717
+ contractorName: string | null;
717
718
  agencyName: string | null;
718
719
  bidderId: string | null;
719
- contractorName: string | null;
720
720
  specialisedProfile: string | null;
721
721
  }, {
722
+ contractorName: string | null;
722
723
  agencyName: string | null;
723
724
  bidderId: string | null;
724
- contractorName: string | null;
725
725
  specialisedProfile: string | null;
726
726
  }>>;
727
727
  coverLetterTemplateId: z.ZodNullable<z.ZodString>;
@@ -733,16 +733,16 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
733
733
  template: z.ZodString;
734
734
  instructions: z.ZodString;
735
735
  }, "strip", z.ZodTypeAny, {
736
- description: string | null;
737
736
  id: string;
738
737
  name: string;
739
738
  template: string;
739
+ description: string | null;
740
740
  instructions: string;
741
741
  }, {
742
- description: string | null;
743
742
  id: string;
744
743
  name: string;
745
744
  template: string;
745
+ description: string | null;
746
746
  instructions: string;
747
747
  }>>;
748
748
  organizationProfileId: z.ZodNullable<z.ZodString>;
@@ -752,12 +752,12 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
752
752
  enabled: z.ZodBoolean;
753
753
  windowAnchorAt: z.ZodNullable<z.ZodNumber>;
754
754
  }, "strip", z.ZodTypeAny, {
755
- maxDailyProposalsSent: number;
756
755
  enabled: boolean;
756
+ maxDailyProposalsSent: number;
757
757
  windowAnchorAt: number | null;
758
758
  }, {
759
- maxDailyProposalsSent: number;
760
759
  enabled: boolean;
760
+ maxDailyProposalsSent: number;
761
761
  windowAnchorAt: number | null;
762
762
  }>;
763
763
  workTime: z.ZodObject<{
@@ -775,16 +775,16 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
775
775
  }>, "many">;
776
776
  timezone: z.ZodNullable<z.ZodString>;
777
777
  }, "strip", z.ZodTypeAny, {
778
- enabled: boolean;
779
778
  days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
779
+ enabled: boolean;
780
780
  timeBlocks: {
781
781
  fromHour: number;
782
782
  toHour: number;
783
783
  }[];
784
784
  timezone: string | null;
785
785
  }, {
786
- enabled: boolean;
787
786
  days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
787
+ enabled: boolean;
788
788
  timeBlocks: {
789
789
  fromHour: number;
790
790
  toHour: number;
@@ -793,15 +793,24 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
793
793
  }>;
794
794
  }, "strip", z.ZodTypeAny, {
795
795
  id: string;
796
+ priority: number | null;
796
797
  name: string;
798
+ limits: {
799
+ enabled: boolean;
800
+ maxDailyProposalsSent: number;
801
+ windowAnchorAt: number | null;
802
+ };
803
+ createdAt: number;
804
+ updatedAt: number;
805
+ leadCounts: Partial<Record<"rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won", number>> | null;
797
806
  filters: {
798
- isFeatured: "all" | "true" | "false" | null;
799
807
  keywords: {
800
808
  includes: string | null;
801
809
  excludes: string | null;
802
810
  } | null;
803
811
  searchQuery: string | null;
804
- regions: ("USOnly" | "UKOnly" | "Worldwide" | "all")[] | null;
812
+ isFeatured: "false" | "all" | "true" | null;
813
+ regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
805
814
  categories: {
806
815
  includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
807
816
  excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
@@ -820,9 +829,9 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
820
829
  } | null;
821
830
  engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
822
831
  clientInfo: {
823
- isPaymentVerified: "all" | "true" | "false";
824
- isPhoneVerified: "all" | "true" | "false";
825
- enterpriseClient: "all" | "true" | "false";
832
+ isPaymentVerified: "false" | "all" | "true";
833
+ isPhoneVerified: "false" | "all" | "true";
834
+ enterpriseClient: "false" | "all" | "true";
826
835
  clientLocationIncludes: string[] | null;
827
836
  clientLocationExcludes: string[] | null;
828
837
  minReviewScore: number | null;
@@ -852,8 +861,6 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
852
861
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
853
862
  } | null;
854
863
  };
855
- createdAt: number;
856
- updatedAt: number;
857
864
  confirmedBillingAt: number | null;
858
865
  boostingEnabled: boolean | null;
859
866
  maximumBoost: number | null;
@@ -867,57 +874,59 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
867
874
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
868
875
  biddingFixedHourlyRate: number | null;
869
876
  biddingHourlyRatePercentage: number | null;
870
- bidWithWarning: "skip" | "bid";
871
- leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "won", number>> | null;
877
+ bidWithWarning: "bid" | "skip";
872
878
  expenses: {
873
879
  biddingAmount: number;
874
- boostingAmount: number;
875
880
  boosted: number;
881
+ boostingAmount: number;
876
882
  };
877
883
  notificationsEnabled: boolean | null;
878
884
  bidConfig: {
885
+ contractorName: string | null;
879
886
  agencyName: string | null;
880
887
  bidderId: string | null;
881
- contractorName: string | null;
882
888
  specialisedProfile: string | null;
883
889
  } | null;
884
890
  coverLetterTemplateId: string | null;
885
- priority: number | null;
886
891
  coverLetterTemplate: {
887
- description: string | null;
888
892
  id: string;
889
893
  name: string;
890
894
  template: string;
895
+ description: string | null;
891
896
  instructions: string;
892
897
  } | null;
893
898
  organizationProfileId: string | null;
894
899
  lastSyncedProposalsAt: number | null;
895
- limits: {
896
- maxDailyProposalsSent: number;
897
- enabled: boolean;
898
- windowAnchorAt: number | null;
899
- };
900
900
  workTime: {
901
- enabled: boolean;
902
901
  days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
902
+ enabled: boolean;
903
903
  timeBlocks: {
904
904
  fromHour: number;
905
905
  toHour: number;
906
906
  }[];
907
907
  timezone: string | null;
908
908
  };
909
- status?: "active" | "draft" | "paused" | "error" | undefined;
909
+ status?: "error" | "active" | "paused" | "draft" | undefined;
910
910
  }, {
911
911
  id: string;
912
+ priority: number | null;
912
913
  name: string;
914
+ limits: {
915
+ enabled: boolean;
916
+ maxDailyProposalsSent: number;
917
+ windowAnchorAt: number | null;
918
+ };
919
+ createdAt: number;
920
+ updatedAt: number;
921
+ leadCounts: Partial<Record<"rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won", number>> | null;
913
922
  filters: {
914
- isFeatured: "all" | "true" | "false" | null;
915
923
  keywords: {
916
924
  includes: string | null;
917
925
  excludes: string | null;
918
926
  } | null;
919
927
  searchQuery: string | null;
920
- regions: ("USOnly" | "UKOnly" | "Worldwide" | "all")[] | null;
928
+ isFeatured: "false" | "all" | "true" | null;
929
+ regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
921
930
  categories: {
922
931
  includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
923
932
  excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
@@ -952,9 +961,9 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
952
961
  minNumReviews: number | null;
953
962
  memberSinceFrom: string | null;
954
963
  memberSinceTo: string | null;
955
- isPaymentVerified?: "all" | "true" | "false" | undefined;
956
- isPhoneVerified?: "all" | "true" | "false" | undefined;
957
- enterpriseClient?: "all" | "true" | "false" | undefined;
964
+ isPaymentVerified?: "false" | "all" | "true" | undefined;
965
+ isPhoneVerified?: "false" | "all" | "true" | undefined;
966
+ enterpriseClient?: "false" | "all" | "true" | undefined;
958
967
  } | null;
959
968
  includeClientsWithZeroReviews: boolean | null;
960
969
  includeClientsWithLessThanXPostedJobs: number | null;
@@ -968,8 +977,6 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
968
977
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
969
978
  } | null;
970
979
  };
971
- createdAt: number;
972
- updatedAt: number;
973
980
  confirmedBillingAt: number | null;
974
981
  boostDownToNthPlace: number | null;
975
982
  connectsAbovePrevious: number | null;
@@ -978,46 +985,39 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
978
985
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
979
986
  biddingFixedHourlyRate: number | null;
980
987
  biddingHourlyRatePercentage: number | null;
981
- bidWithWarning: "skip" | "bid";
982
- leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "won", number>> | null;
988
+ bidWithWarning: "bid" | "skip";
983
989
  expenses: {
984
990
  biddingAmount?: number | undefined;
985
- boostingAmount?: number | undefined;
986
991
  boosted?: number | undefined;
992
+ boostingAmount?: number | undefined;
987
993
  };
988
994
  notificationsEnabled: boolean | null;
989
995
  bidConfig: {
996
+ contractorName: string | null;
990
997
  agencyName: string | null;
991
998
  bidderId: string | null;
992
- contractorName: string | null;
993
999
  specialisedProfile: string | null;
994
1000
  } | null;
995
1001
  coverLetterTemplateId: string | null;
996
- priority: number | null;
997
1002
  coverLetterTemplate: {
998
- description: string | null;
999
1003
  id: string;
1000
1004
  name: string;
1001
1005
  template: string;
1006
+ description: string | null;
1002
1007
  instructions: string;
1003
1008
  } | null;
1004
1009
  organizationProfileId: string | null;
1005
1010
  lastSyncedProposalsAt: number | null;
1006
- limits: {
1007
- maxDailyProposalsSent: number;
1008
- enabled: boolean;
1009
- windowAnchorAt: number | null;
1010
- };
1011
1011
  workTime: {
1012
- enabled: boolean;
1013
1012
  days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
1013
+ enabled: boolean;
1014
1014
  timeBlocks: {
1015
1015
  fromHour: number;
1016
1016
  toHour: number;
1017
1017
  }[];
1018
1018
  timezone: string | null;
1019
1019
  };
1020
- status?: "active" | "draft" | "paused" | "error" | undefined;
1020
+ status?: "error" | "active" | "paused" | "draft" | undefined;
1021
1021
  boostingEnabled?: boolean | null | undefined;
1022
1022
  maximumBoost?: number | null | undefined;
1023
1023
  minBoost?: number | null | undefined;
@@ -1096,11 +1096,9 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1096
1096
  usage: z.ZodRecord<z.ZodEnum<["suitabilityComplete", "proposalComplete", "biddingComplete"]>, z.ZodNumber>;
1097
1097
  trialEndsAt: z.ZodNullable<z.ZodNumber>;
1098
1098
  }, "strip", z.ZodTypeAny, {
1099
+ source: "manual" | "stripe";
1099
1100
  status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
1100
1101
  planId: string;
1101
- pendingPlanId: string | null;
1102
- startedAt: number;
1103
- currentPeriodEnd: number;
1104
1102
  stripe: {
1105
1103
  id: string;
1106
1104
  items: {
@@ -1114,15 +1112,15 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1114
1112
  hosted_invoice_url: string | null;
1115
1113
  };
1116
1114
  };
1117
- source: "stripe" | "manual";
1115
+ pendingPlanId: string | null;
1116
+ startedAt: number;
1117
+ currentPeriodEnd: number;
1118
1118
  usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
1119
1119
  trialEndsAt: number | null;
1120
1120
  }, {
1121
+ source: "manual" | "stripe";
1121
1122
  status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
1122
1123
  planId: string;
1123
- pendingPlanId: string | null;
1124
- startedAt: number;
1125
- currentPeriodEnd: number;
1126
1124
  stripe: {
1127
1125
  id: string;
1128
1126
  items: {
@@ -1136,7 +1134,9 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1136
1134
  hosted_invoice_url: string | null;
1137
1135
  };
1138
1136
  };
1139
- source: "stripe" | "manual";
1137
+ pendingPlanId: string | null;
1138
+ startedAt: number;
1139
+ currentPeriodEnd: number;
1140
1140
  usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
1141
1141
  trialEndsAt: number | null;
1142
1142
  }>>;
@@ -1174,19 +1174,19 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1174
1174
  };
1175
1175
  }>;
1176
1176
  }, "strip", z.ZodTypeAny, {
1177
+ savedCard: boolean;
1177
1178
  stripe: {
1178
1179
  customer: {
1179
1180
  id: string | null;
1180
1181
  };
1181
1182
  };
1182
- savedCard: boolean;
1183
1183
  }, {
1184
+ savedCard: boolean;
1184
1185
  stripe: {
1185
1186
  customer: {
1186
1187
  id: string | null;
1187
1188
  };
1188
1189
  };
1189
- savedCard: boolean;
1190
1190
  }>>;
1191
1191
  lastBidTime: z.ZodNullable<z.ZodNumber>;
1192
1192
  nextScheduledBidTime: z.ZodNullable<z.ZodNumber>;
@@ -1204,57 +1204,56 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1204
1204
  error: z.ZodOptional<z.ZodString>;
1205
1205
  }, "strip", z.ZodTypeAny, {
1206
1206
  status: string;
1207
- amount?: number | undefined;
1208
1207
  error?: string | undefined;
1209
- paidAt?: number | undefined;
1210
1208
  currency?: string | undefined;
1209
+ paidAt?: number | undefined;
1210
+ amount?: number | undefined;
1211
1211
  paymentIntentId?: string | undefined;
1212
1212
  }, {
1213
1213
  status: string;
1214
- amount?: number | undefined;
1215
1214
  error?: string | undefined;
1216
- paidAt?: number | undefined;
1217
1215
  currency?: string | undefined;
1216
+ paidAt?: number | undefined;
1217
+ amount?: number | undefined;
1218
1218
  paymentIntentId?: string | undefined;
1219
1219
  }>>;
1220
1220
  }, "strip", z.ZodTypeAny, {
1221
1221
  usBidderAccountPayment?: {
1222
1222
  status: string;
1223
- amount?: number | undefined;
1224
1223
  error?: string | undefined;
1225
- paidAt?: number | undefined;
1226
1224
  currency?: string | undefined;
1225
+ paidAt?: number | undefined;
1226
+ amount?: number | undefined;
1227
1227
  paymentIntentId?: string | undefined;
1228
1228
  } | undefined;
1229
1229
  }, {
1230
1230
  usBidderAccountPayment?: {
1231
1231
  status: string;
1232
- amount?: number | undefined;
1233
1232
  error?: string | undefined;
1234
- paidAt?: number | undefined;
1235
1233
  currency?: string | undefined;
1234
+ paidAt?: number | undefined;
1235
+ amount?: number | undefined;
1236
1236
  paymentIntentId?: string | undefined;
1237
1237
  } | undefined;
1238
1238
  }>>;
1239
1239
  }, "strip", z.ZodTypeAny, {
1240
1240
  type: "agency" | "freelancer";
1241
1241
  id: string;
1242
- name: string;
1243
- createdAt: number;
1244
- updatedAt: number;
1245
1242
  active: boolean;
1246
- limits: {
1247
- monthlyCredits: number;
1248
- usedCredits: number;
1249
- extraCredits: number;
1250
- };
1243
+ name: string;
1244
+ billing: {
1245
+ savedCard: boolean;
1246
+ stripe: {
1247
+ customer: {
1248
+ id: string | null;
1249
+ };
1250
+ };
1251
+ } | null;
1251
1252
  associatedBidders: string[] | null;
1252
1253
  subscription: {
1254
+ source: "manual" | "stripe";
1253
1255
  status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
1254
1256
  planId: string;
1255
- pendingPlanId: string | null;
1256
- startedAt: number;
1257
- currentPeriodEnd: number;
1258
1257
  stripe: {
1259
1258
  id: string;
1260
1259
  items: {
@@ -1268,51 +1267,51 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1268
1267
  hosted_invoice_url: string | null;
1269
1268
  };
1270
1269
  };
1271
- source: "stripe" | "manual";
1270
+ pendingPlanId: string | null;
1271
+ startedAt: number;
1272
+ currentPeriodEnd: number;
1272
1273
  usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
1273
1274
  trialEndsAt: number | null;
1274
1275
  } | null;
1275
- billing: {
1276
- stripe: {
1277
- customer: {
1278
- id: string | null;
1279
- };
1280
- };
1281
- savedCard: boolean;
1282
- } | null;
1276
+ limits: {
1277
+ monthlyCredits: number;
1278
+ usedCredits: number;
1279
+ extraCredits: number;
1280
+ };
1283
1281
  lastBidTime: number | null;
1284
1282
  nextScheduledBidTime: number | null;
1283
+ createdAt: number;
1284
+ updatedAt: number;
1285
1285
  openRouterApiKey: string | null;
1286
1286
  nextProposalStatusSyncTime: number | null;
1287
1287
  oneTimePayments?: {
1288
1288
  usBidderAccountPayment?: {
1289
1289
  status: string;
1290
- amount?: number | undefined;
1291
1290
  error?: string | undefined;
1292
- paidAt?: number | undefined;
1293
1291
  currency?: string | undefined;
1292
+ paidAt?: number | undefined;
1293
+ amount?: number | undefined;
1294
1294
  paymentIntentId?: string | undefined;
1295
1295
  } | undefined;
1296
1296
  } | undefined;
1297
1297
  }, {
1298
1298
  type: "agency" | "freelancer";
1299
1299
  id: string;
1300
+ active: boolean;
1300
1301
  name: string;
1301
- createdAt: number;
1302
- updatedAt: number;
1303
- active: boolean;
1304
- limits: {
1305
- monthlyCredits: number;
1306
- usedCredits: number;
1307
- extraCredits: number;
1308
- };
1302
+ billing: {
1303
+ savedCard: boolean;
1304
+ stripe: {
1305
+ customer: {
1306
+ id: string | null;
1307
+ };
1308
+ };
1309
+ } | null;
1309
1310
  associatedBidders: string[] | null;
1310
1311
  subscription: {
1312
+ source: "manual" | "stripe";
1311
1313
  status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
1312
1314
  planId: string;
1313
- pendingPlanId: string | null;
1314
- startedAt: number;
1315
- currentPeriodEnd: number;
1316
1315
  stripe: {
1317
1316
  id: string;
1318
1317
  items: {
@@ -1326,29 +1325,30 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1326
1325
  hosted_invoice_url: string | null;
1327
1326
  };
1328
1327
  };
1329
- source: "stripe" | "manual";
1328
+ pendingPlanId: string | null;
1329
+ startedAt: number;
1330
+ currentPeriodEnd: number;
1330
1331
  usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
1331
1332
  trialEndsAt: number | null;
1332
1333
  } | null;
1333
- billing: {
1334
- stripe: {
1335
- customer: {
1336
- id: string | null;
1337
- };
1338
- };
1339
- savedCard: boolean;
1340
- } | null;
1334
+ limits: {
1335
+ monthlyCredits: number;
1336
+ usedCredits: number;
1337
+ extraCredits: number;
1338
+ };
1341
1339
  lastBidTime: number | null;
1342
1340
  nextScheduledBidTime: number | null;
1341
+ createdAt: number;
1342
+ updatedAt: number;
1343
1343
  openRouterApiKey: string | null;
1344
1344
  nextProposalStatusSyncTime: number | null;
1345
1345
  oneTimePayments?: {
1346
1346
  usBidderAccountPayment?: {
1347
1347
  status: string;
1348
- amount?: number | undefined;
1349
1348
  error?: string | undefined;
1350
- paidAt?: number | undefined;
1351
1349
  currency?: string | undefined;
1350
+ paidAt?: number | undefined;
1351
+ amount?: number | undefined;
1352
1352
  paymentIntentId?: string | undefined;
1353
1353
  } | undefined;
1354
1354
  } | undefined;
@@ -1382,32 +1382,32 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1382
1382
  min: z.ZodNullable<z.ZodNumber>;
1383
1383
  max: z.ZodNullable<z.ZodNumber>;
1384
1384
  }, "strip", z.ZodTypeAny, {
1385
- min: number | null;
1386
1385
  max: number | null;
1387
- }, {
1388
1386
  min: number | null;
1387
+ }, {
1389
1388
  max: number | null;
1389
+ min: number | null;
1390
1390
  }>>;
1391
1391
  paymentType: z.ZodNullable<z.ZodString>;
1392
1392
  fixedPrice: z.ZodNullable<z.ZodNumber>;
1393
1393
  }, "strip", z.ZodTypeAny, {
1394
- paymentType: string | null;
1395
- experienceLevel: string | null;
1396
1394
  hours: string | null;
1397
1395
  duration: string | null;
1396
+ paymentType: string | null;
1397
+ experienceLevel: string | null;
1398
1398
  hourlyRate: {
1399
- min: number | null;
1400
1399
  max: number | null;
1400
+ min: number | null;
1401
1401
  } | null;
1402
1402
  fixedPrice: number | null;
1403
1403
  }, {
1404
- paymentType: string | null;
1405
- experienceLevel: string | null;
1406
1404
  hours: string | null;
1407
1405
  duration: string | null;
1406
+ paymentType: string | null;
1407
+ experienceLevel: string | null;
1408
1408
  hourlyRate: {
1409
- min: number | null;
1410
1409
  max: number | null;
1410
+ min: number | null;
1411
1411
  } | null;
1412
1412
  fixedPrice: number | null;
1413
1413
  }>>;
@@ -1431,36 +1431,36 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1431
1431
  avgHourlyRatePaid: z.ZodNullable<z.ZodNumber>;
1432
1432
  }, "strip", z.ZodTypeAny, {
1433
1433
  country: string | null;
1434
- isPaymentVerified: boolean | null;
1435
- totalSpent: number | null;
1436
1434
  region: string | null;
1435
+ isPaymentVerified: boolean | null;
1437
1436
  isPhoneVerified: boolean | null;
1438
1437
  enterpriseClient: boolean | null;
1439
1438
  companySize: string | null;
1439
+ openJobs: number | null;
1440
+ totalSpent: number | null;
1440
1441
  numberOfReviews: number | null;
1441
1442
  rating: number | null;
1442
1443
  jobsPosted: number | null;
1443
1444
  numberOfHires: number | null;
1444
1445
  activeEngagements: number | null;
1445
- openJobs: number | null;
1446
1446
  hireRate: number | null;
1447
1447
  memberSince: string | null;
1448
1448
  companyIndustry: string | null;
1449
1449
  avgHourlyRatePaid: number | null;
1450
1450
  }, {
1451
1451
  country: string | null;
1452
- isPaymentVerified: boolean | null;
1453
- totalSpent: number | null;
1454
1452
  region: string | null;
1453
+ isPaymentVerified: boolean | null;
1455
1454
  isPhoneVerified: boolean | null;
1456
1455
  enterpriseClient: boolean | null;
1457
1456
  companySize: string | null;
1457
+ openJobs: number | null;
1458
+ totalSpent: number | null;
1458
1459
  numberOfReviews: number | null;
1459
1460
  rating: number | null;
1460
1461
  jobsPosted: number | null;
1461
1462
  numberOfHires: number | null;
1462
1463
  activeEngagements: number | null;
1463
- openJobs: number | null;
1464
1464
  hireRate: number | null;
1465
1465
  memberSince: string | null;
1466
1466
  companyIndustry: string | null;
@@ -1476,14 +1476,14 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1476
1476
  }, "strip", z.ZodTypeAny, {
1477
1477
  location: string | null;
1478
1478
  includeRisingTalent: string | null;
1479
- talentType: "Independent" | "Agency" | "unspecified" | null;
1479
+ talentType: "unspecified" | "Independent" | "Agency" | null;
1480
1480
  englishLevel: string | null;
1481
1481
  minimumEarnings: number | null;
1482
1482
  jobSuccessScore: string | null;
1483
1483
  }, {
1484
1484
  location: string | null;
1485
1485
  includeRisingTalent: string | null;
1486
- talentType: "Independent" | "Agency" | "unspecified" | null;
1486
+ talentType: "unspecified" | "Independent" | "Agency" | null;
1487
1487
  englishLevel: string | null;
1488
1488
  minimumEarnings: number | null;
1489
1489
  jobSuccessScore: string | null;
@@ -1506,7 +1506,6 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1506
1506
  }, "strip", z.ZodTypeAny, {
1507
1507
  paymentType: string | null;
1508
1508
  hourlyRate: number | null;
1509
- fixedPrice: number | null;
1510
1509
  jobTitle: string | null;
1511
1510
  freelancerName: string | null;
1512
1511
  freelancerRating: number | null;
@@ -1514,12 +1513,12 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1514
1513
  clientFeedback: string | null;
1515
1514
  clientFeedbackRating: number | null;
1516
1515
  dateRange: string | null;
1516
+ fixedPrice: number | null;
1517
1517
  numHours: number | null;
1518
1518
  totalBilled: number | null;
1519
1519
  }, {
1520
1520
  paymentType: string | null;
1521
1521
  hourlyRate: number | null;
1522
- fixedPrice: number | null;
1523
1522
  jobTitle: string | null;
1524
1523
  freelancerName: string | null;
1525
1524
  freelancerRating: number | null;
@@ -1527,33 +1526,34 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1527
1526
  clientFeedback: string | null;
1528
1527
  clientFeedbackRating: number | null;
1529
1528
  dateRange: string | null;
1529
+ fixedPrice: number | null;
1530
1530
  numHours: number | null;
1531
1531
  totalBilled: number | null;
1532
1532
  }>, "many">>;
1533
- region: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>>;
1533
+ region: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">, z.ZodLiteral<"All">]>>;
1534
1534
  bidRange: z.ZodNullable<z.ZodObject<{
1535
1535
  high: z.ZodNullable<z.ZodNumber>;
1536
1536
  avg: z.ZodNullable<z.ZodNumber>;
1537
1537
  low: z.ZodNullable<z.ZodNumber>;
1538
1538
  }, "strip", z.ZodTypeAny, {
1539
1539
  high: number | null;
1540
- avg: number | null;
1541
1540
  low: number | null;
1541
+ avg: number | null;
1542
1542
  }, {
1543
1543
  high: number | null;
1544
- avg: number | null;
1545
1544
  low: number | null;
1545
+ avg: number | null;
1546
1546
  }>>;
1547
1547
  jobActivity: z.ZodNullable<z.ZodObject<{
1548
1548
  proposals: z.ZodObject<{
1549
1549
  min: z.ZodNullable<z.ZodNumber>;
1550
1550
  max: z.ZodNullable<z.ZodNumber>;
1551
1551
  }, "strip", z.ZodTypeAny, {
1552
- min: number | null;
1553
1552
  max: number | null;
1554
- }, {
1555
1553
  min: number | null;
1554
+ }, {
1556
1555
  max: number | null;
1556
+ min: number | null;
1557
1557
  }>;
1558
1558
  lastViewedByClient: z.ZodNullable<z.ZodString>;
1559
1559
  lastViewedByClientTimestamp: z.ZodNullable<z.ZodNumber>;
@@ -1564,28 +1564,28 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1564
1564
  updatedAt: z.ZodNullable<z.ZodNumber>;
1565
1565
  }, "strip", z.ZodTypeAny, {
1566
1566
  updatedAt: number | null;
1567
+ unansweredInvites: number | null;
1567
1568
  proposals: {
1568
- min: number | null;
1569
1569
  max: number | null;
1570
+ min: number | null;
1570
1571
  };
1571
1572
  lastViewedByClient: string | null;
1572
1573
  lastViewedByClientTimestamp: number | null;
1573
1574
  hires: number | null;
1574
1575
  interviewing: number | null;
1575
1576
  invitesSent: number | null;
1576
- unansweredInvites: number | null;
1577
1577
  }, {
1578
1578
  updatedAt: number | null;
1579
+ unansweredInvites: number | null;
1579
1580
  proposals: {
1580
- min: number | null;
1581
1581
  max: number | null;
1582
+ min: number | null;
1582
1583
  };
1583
1584
  lastViewedByClient: string | null;
1584
1585
  lastViewedByClientTimestamp: number | null;
1585
1586
  hires: number | null;
1586
1587
  interviewing: number | null;
1587
1588
  invitesSent: number | null;
1588
- unansweredInvites: number | null;
1589
1589
  }>>;
1590
1590
  activityUpdates: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
1591
1591
  activity: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodEnum<["4h" | "24h"]>, z.ZodObject<{
@@ -1593,11 +1593,11 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1593
1593
  min: z.ZodNullable<z.ZodNumber>;
1594
1594
  max: z.ZodNullable<z.ZodNumber>;
1595
1595
  }, "strip", z.ZodTypeAny, {
1596
- min: number | null;
1597
1596
  max: number | null;
1598
- }, {
1599
1597
  min: number | null;
1598
+ }, {
1600
1599
  max: number | null;
1600
+ min: number | null;
1601
1601
  }>;
1602
1602
  lastViewedByClient: z.ZodNullable<z.ZodString>;
1603
1603
  lastViewedByClientTimestamp: z.ZodNullable<z.ZodNumber>;
@@ -1608,28 +1608,28 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1608
1608
  updatedAt: z.ZodNullable<z.ZodNumber>;
1609
1609
  }, "strip", z.ZodTypeAny, {
1610
1610
  updatedAt: number | null;
1611
+ unansweredInvites: number | null;
1611
1612
  proposals: {
1612
- min: number | null;
1613
1613
  max: number | null;
1614
+ min: number | null;
1614
1615
  };
1615
1616
  lastViewedByClient: string | null;
1616
1617
  lastViewedByClientTimestamp: number | null;
1617
1618
  hires: number | null;
1618
1619
  interviewing: number | null;
1619
1620
  invitesSent: number | null;
1620
- unansweredInvites: number | null;
1621
1621
  }, {
1622
1622
  updatedAt: number | null;
1623
+ unansweredInvites: number | null;
1623
1624
  proposals: {
1624
- min: number | null;
1625
1625
  max: number | null;
1626
+ min: number | null;
1626
1627
  };
1627
1628
  lastViewedByClient: string | null;
1628
1629
  lastViewedByClientTimestamp: number | null;
1629
1630
  hires: number | null;
1630
1631
  interviewing: number | null;
1631
1632
  invitesSent: number | null;
1632
- unansweredInvites: number | null;
1633
1633
  }>>>>;
1634
1634
  activityDelta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1635
1635
  proposals: z.ZodNumber;
@@ -1638,17 +1638,17 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1638
1638
  invitesSent: z.ZodNumber;
1639
1639
  unansweredInvites: z.ZodNumber;
1640
1640
  }, "strip", z.ZodTypeAny, {
1641
+ unansweredInvites: number;
1641
1642
  proposals: number;
1642
1643
  hires: number;
1643
1644
  interviewing: number;
1644
1645
  invitesSent: number;
1645
- unansweredInvites: number;
1646
1646
  }, {
1647
+ unansweredInvites: number;
1647
1648
  proposals: number;
1648
1649
  hires: number;
1649
1650
  interviewing: number;
1650
1651
  invitesSent: number;
1651
- unansweredInvites: number;
1652
1652
  }>>>;
1653
1653
  }, {
1654
1654
  jobId: z.ZodString;
@@ -1664,11 +1664,11 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1664
1664
  question: z.ZodString;
1665
1665
  answer: z.ZodString;
1666
1666
  }, "strip", z.ZodTypeAny, {
1667
- question: string;
1668
1667
  answer: string;
1669
- }, {
1670
1668
  question: string;
1669
+ }, {
1671
1670
  answer: string;
1671
+ question: string;
1672
1672
  }>, "many">>;
1673
1673
  agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
1674
1674
  leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "won"]>>;
@@ -1683,31 +1683,43 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1683
1683
  rejectedFeedback: z.ZodNullable<z.ZodString>;
1684
1684
  applicationId: z.ZodNullable<z.ZodString>;
1685
1685
  }>, "processed">, "strip", z.ZodTypeAny, {
1686
- uid: string | null;
1686
+ id: string | null;
1687
1687
  title: string | null;
1688
- category: string | null;
1689
- jobUrl: string | null;
1688
+ metadata: {
1689
+ hours: string | null;
1690
+ duration: string | null;
1691
+ paymentType: string | null;
1692
+ experienceLevel: string | null;
1693
+ hourlyRate: {
1694
+ max: number | null;
1695
+ min: number | null;
1696
+ } | null;
1697
+ fixedPrice: number | null;
1698
+ } | null;
1690
1699
  description: string | null;
1691
- region: "USOnly" | "UKOnly" | "Worldwide" | null;
1700
+ region: "Worldwide" | "USOnly" | "UKOnly" | "All" | null;
1692
1701
  datetime: number | null;
1702
+ campaignId: string;
1703
+ organizationId: string;
1704
+ createdAt: number | null;
1705
+ updatedAt: number | null;
1693
1706
  isFeatured: boolean | null;
1694
- id: string | null;
1695
1707
  projectDuration: string | null;
1696
1708
  questions: string[] | null;
1697
1709
  clientInfo: {
1698
1710
  country: string | null;
1699
- isPaymentVerified: boolean | null;
1700
- totalSpent: number | null;
1701
1711
  region: string | null;
1712
+ isPaymentVerified: boolean | null;
1702
1713
  isPhoneVerified: boolean | null;
1703
1714
  enterpriseClient: boolean | null;
1704
1715
  companySize: string | null;
1716
+ openJobs: number | null;
1717
+ totalSpent: number | null;
1705
1718
  numberOfReviews: number | null;
1706
1719
  rating: number | null;
1707
1720
  jobsPosted: number | null;
1708
1721
  numberOfHires: number | null;
1709
1722
  activeEngagements: number | null;
1710
- openJobs: number | null;
1711
1723
  hireRate: number | null;
1712
1724
  memberSince: string | null;
1713
1725
  companyIndustry: string | null;
@@ -1716,37 +1728,23 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1716
1728
  vendorQualifications: {
1717
1729
  location: string | null;
1718
1730
  includeRisingTalent: string | null;
1719
- talentType: "Independent" | "Agency" | "unspecified" | null;
1731
+ talentType: "unspecified" | "Independent" | "Agency" | null;
1720
1732
  englishLevel: string | null;
1721
1733
  minimumEarnings: number | null;
1722
1734
  jobSuccessScore: string | null;
1723
1735
  } | null;
1724
- createdAt: number | null;
1725
- updatedAt: number | null;
1726
- biddingAmount: number | null;
1727
- boostingAmount: number | null;
1728
- boosted: boolean | null;
1736
+ category: string | null;
1737
+ uid: string | null;
1738
+ jobUrl: string | null;
1729
1739
  skills: {
1730
1740
  name: string;
1731
1741
  }[] | null;
1732
1742
  descriptionLength: number | null;
1733
1743
  connectsRequired: number | null;
1734
1744
  projectType: string | null;
1735
- metadata: {
1736
- paymentType: string | null;
1737
- experienceLevel: string | null;
1738
- hours: string | null;
1739
- duration: string | null;
1740
- hourlyRate: {
1741
- min: number | null;
1742
- max: number | null;
1743
- } | null;
1744
- fixedPrice: number | null;
1745
- } | null;
1746
1745
  clientReviews: {
1747
1746
  paymentType: string | null;
1748
1747
  hourlyRate: number | null;
1749
- fixedPrice: number | null;
1750
1748
  jobTitle: string | null;
1751
1749
  freelancerName: string | null;
1752
1750
  freelancerRating: number | null;
@@ -1754,41 +1752,43 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1754
1752
  clientFeedback: string | null;
1755
1753
  clientFeedbackRating: number | null;
1756
1754
  dateRange: string | null;
1755
+ fixedPrice: number | null;
1757
1756
  numHours: number | null;
1758
1757
  totalBilled: number | null;
1759
1758
  }[] | null;
1760
1759
  bidRange: {
1761
1760
  high: number | null;
1762
- avg: number | null;
1763
1761
  low: number | null;
1762
+ avg: number | null;
1764
1763
  } | null;
1765
1764
  jobActivity: {
1766
1765
  updatedAt: number | null;
1766
+ unansweredInvites: number | null;
1767
1767
  proposals: {
1768
- min: number | null;
1769
1768
  max: number | null;
1769
+ min: number | null;
1770
1770
  };
1771
1771
  lastViewedByClient: string | null;
1772
1772
  lastViewedByClientTimestamp: number | null;
1773
1773
  hires: number | null;
1774
1774
  interviewing: number | null;
1775
1775
  invitesSent: number | null;
1776
- unansweredInvites: number | null;
1777
1776
  } | null;
1778
- activityUpdates: 1 | 2 | 3 | null;
1779
- jobId: string;
1780
- campaignId: string;
1781
- organizationId: string;
1777
+ activityUpdates: 2 | 1 | 3 | null;
1782
1778
  scrapedAt: number | null;
1779
+ jobId: string;
1783
1780
  suitabilityRating: number | null;
1784
1781
  suitabilityReason: string | null;
1785
1782
  proposal: string | null;
1786
1783
  questionAnswerPairs: {
1787
- question: string;
1788
1784
  answer: string;
1785
+ question: string;
1789
1786
  }[] | null;
1790
1787
  agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
1791
- leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "won" | null;
1788
+ leadStatus: "rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won" | null;
1789
+ biddingAmount: number | null;
1790
+ boosted: boolean | null;
1791
+ boostingAmount: number | null;
1792
1792
  biddingTaskScheduled: boolean | null;
1793
1793
  scheduledBiddingTime: number | null;
1794
1794
  feedbackCheckTaskId: string | null;
@@ -1797,52 +1797,64 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1797
1797
  applicationId: string | null;
1798
1798
  activity?: Partial<Record<"4h" | "24h", {
1799
1799
  updatedAt: number | null;
1800
+ unansweredInvites: number | null;
1800
1801
  proposals: {
1801
- min: number | null;
1802
1802
  max: number | null;
1803
+ min: number | null;
1803
1804
  };
1804
1805
  lastViewedByClient: string | null;
1805
1806
  lastViewedByClientTimestamp: number | null;
1806
1807
  hires: number | null;
1807
1808
  interviewing: number | null;
1808
1809
  invitesSent: number | null;
1809
- unansweredInvites: number | null;
1810
1810
  }>> | null | undefined;
1811
1811
  activityDelta?: {
1812
+ unansweredInvites: number;
1812
1813
  proposals: number;
1813
1814
  hires: number;
1814
1815
  interviewing: number;
1815
1816
  invitesSent: number;
1816
- unansweredInvites: number;
1817
1817
  } | null | undefined;
1818
1818
  proposalId?: string | undefined;
1819
1819
  wonAmount?: number | undefined;
1820
1820
  }, {
1821
- uid: string | null;
1821
+ id: string | null;
1822
1822
  title: string | null;
1823
- category: string | null;
1824
- jobUrl: string | null;
1823
+ metadata: {
1824
+ hours: string | null;
1825
+ duration: string | null;
1826
+ paymentType: string | null;
1827
+ experienceLevel: string | null;
1828
+ hourlyRate: {
1829
+ max: number | null;
1830
+ min: number | null;
1831
+ } | null;
1832
+ fixedPrice: number | null;
1833
+ } | null;
1825
1834
  description: string | null;
1826
- region: "USOnly" | "UKOnly" | "Worldwide" | null;
1835
+ region: "Worldwide" | "USOnly" | "UKOnly" | "All" | null;
1827
1836
  datetime: number | null;
1837
+ campaignId: string;
1838
+ organizationId: string;
1839
+ createdAt: number | null;
1840
+ updatedAt: number | null;
1828
1841
  isFeatured: boolean | null;
1829
- id: string | null;
1830
1842
  projectDuration: string | null;
1831
1843
  questions: string[] | null;
1832
1844
  clientInfo: {
1833
1845
  country: string | null;
1834
- isPaymentVerified: boolean | null;
1835
- totalSpent: number | null;
1836
1846
  region: string | null;
1847
+ isPaymentVerified: boolean | null;
1837
1848
  isPhoneVerified: boolean | null;
1838
1849
  enterpriseClient: boolean | null;
1839
1850
  companySize: string | null;
1851
+ openJobs: number | null;
1852
+ totalSpent: number | null;
1840
1853
  numberOfReviews: number | null;
1841
1854
  rating: number | null;
1842
1855
  jobsPosted: number | null;
1843
1856
  numberOfHires: number | null;
1844
1857
  activeEngagements: number | null;
1845
- openJobs: number | null;
1846
1858
  hireRate: number | null;
1847
1859
  memberSince: string | null;
1848
1860
  companyIndustry: string | null;
@@ -1851,37 +1863,23 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1851
1863
  vendorQualifications: {
1852
1864
  location: string | null;
1853
1865
  includeRisingTalent: string | null;
1854
- talentType: "Independent" | "Agency" | "unspecified" | null;
1866
+ talentType: "unspecified" | "Independent" | "Agency" | null;
1855
1867
  englishLevel: string | null;
1856
1868
  minimumEarnings: number | null;
1857
1869
  jobSuccessScore: string | null;
1858
1870
  } | null;
1859
- createdAt: number | null;
1860
- updatedAt: number | null;
1861
- biddingAmount: number | null;
1862
- boostingAmount: number | null;
1863
- boosted: boolean | null;
1871
+ category: string | null;
1872
+ uid: string | null;
1873
+ jobUrl: string | null;
1864
1874
  skills: {
1865
1875
  name: string;
1866
1876
  }[] | null;
1867
1877
  descriptionLength: number | null;
1868
1878
  connectsRequired: number | null;
1869
1879
  projectType: string | null;
1870
- metadata: {
1871
- paymentType: string | null;
1872
- experienceLevel: string | null;
1873
- hours: string | null;
1874
- duration: string | null;
1875
- hourlyRate: {
1876
- min: number | null;
1877
- max: number | null;
1878
- } | null;
1879
- fixedPrice: number | null;
1880
- } | null;
1881
1880
  clientReviews: {
1882
1881
  paymentType: string | null;
1883
1882
  hourlyRate: number | null;
1884
- fixedPrice: number | null;
1885
1883
  jobTitle: string | null;
1886
1884
  freelancerName: string | null;
1887
1885
  freelancerRating: number | null;
@@ -1889,41 +1887,43 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1889
1887
  clientFeedback: string | null;
1890
1888
  clientFeedbackRating: number | null;
1891
1889
  dateRange: string | null;
1890
+ fixedPrice: number | null;
1892
1891
  numHours: number | null;
1893
1892
  totalBilled: number | null;
1894
1893
  }[] | null;
1895
1894
  bidRange: {
1896
1895
  high: number | null;
1897
- avg: number | null;
1898
1896
  low: number | null;
1897
+ avg: number | null;
1899
1898
  } | null;
1900
1899
  jobActivity: {
1901
1900
  updatedAt: number | null;
1901
+ unansweredInvites: number | null;
1902
1902
  proposals: {
1903
- min: number | null;
1904
1903
  max: number | null;
1904
+ min: number | null;
1905
1905
  };
1906
1906
  lastViewedByClient: string | null;
1907
1907
  lastViewedByClientTimestamp: number | null;
1908
1908
  hires: number | null;
1909
1909
  interviewing: number | null;
1910
1910
  invitesSent: number | null;
1911
- unansweredInvites: number | null;
1912
1911
  } | null;
1913
- activityUpdates: 1 | 2 | 3 | null;
1914
- jobId: string;
1915
- campaignId: string;
1916
- organizationId: string;
1912
+ activityUpdates: 2 | 1 | 3 | null;
1917
1913
  scrapedAt: number | null;
1914
+ jobId: string;
1918
1915
  suitabilityRating: number | null;
1919
1916
  suitabilityReason: string | null;
1920
1917
  proposal: string | null;
1921
1918
  questionAnswerPairs: {
1922
- question: string;
1923
1919
  answer: string;
1920
+ question: string;
1924
1921
  }[] | null;
1925
1922
  agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
1926
- leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "won" | null;
1923
+ leadStatus: "rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won" | null;
1924
+ biddingAmount: number | null;
1925
+ boosted: boolean | null;
1926
+ boostingAmount: number | null;
1927
1927
  biddingTaskScheduled: boolean | null;
1928
1928
  scheduledBiddingTime: number | null;
1929
1929
  feedbackCheckTaskId: string | null;
@@ -1932,23 +1932,23 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1932
1932
  applicationId: string | null;
1933
1933
  activity?: Partial<Record<"4h" | "24h", {
1934
1934
  updatedAt: number | null;
1935
+ unansweredInvites: number | null;
1935
1936
  proposals: {
1936
- min: number | null;
1937
1937
  max: number | null;
1938
+ min: number | null;
1938
1939
  };
1939
1940
  lastViewedByClient: string | null;
1940
1941
  lastViewedByClientTimestamp: number | null;
1941
1942
  hires: number | null;
1942
1943
  interviewing: number | null;
1943
1944
  invitesSent: number | null;
1944
- unansweredInvites: number | null;
1945
1945
  }>> | null | undefined;
1946
1946
  activityDelta?: {
1947
+ unansweredInvites: number;
1947
1948
  proposals: number;
1948
1949
  hires: number;
1949
1950
  interviewing: number;
1950
1951
  invitesSent: number;
1951
- unansweredInvites: number;
1952
1952
  } | null | undefined;
1953
1953
  proposalId?: string | undefined;
1954
1954
  wonAmount?: number | undefined;
@@ -2001,17 +2001,17 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2001
2001
  instanceId: z.ZodNullable<z.ZodString>;
2002
2002
  createdAt: z.ZodNumber;
2003
2003
  updatedAt: z.ZodNumber;
2004
- region: z.ZodEnum<["all", "Worldwide", "UKOnly", "USOnly"]>;
2004
+ region: z.ZodEnum<["Worldwide", "USOnly", "UKOnly", "All"]>;
2005
2005
  isProtected: z.ZodOptional<z.ZodBoolean>;
2006
2006
  }, "strip", z.ZodTypeAny, {
2007
- region: "USOnly" | "UKOnly" | "Worldwide" | "all";
2008
2007
  id: string;
2009
2008
  name: string | null;
2009
+ email: string;
2010
+ region: "Worldwide" | "USOnly" | "UKOnly" | "All";
2010
2011
  createdAt: number;
2011
2012
  updatedAt: number;
2012
- provider: "user-provided" | "lancer-provided";
2013
- email: string;
2014
2013
  password: string;
2014
+ provider: "user-provided" | "lancer-provided";
2015
2015
  isConnecting: boolean | null;
2016
2016
  securityQuestionAnswer: string | null;
2017
2017
  assignedOrganizations: string[];
@@ -2032,14 +2032,14 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2032
2032
  googleOauthTokens?: any;
2033
2033
  isProtected?: boolean | undefined;
2034
2034
  }, {
2035
- region: "USOnly" | "UKOnly" | "Worldwide" | "all";
2036
2035
  id: string;
2037
2036
  name: string | null;
2037
+ email: string;
2038
+ region: "Worldwide" | "USOnly" | "UKOnly" | "All";
2038
2039
  createdAt: number;
2039
2040
  updatedAt: number;
2040
- provider: "user-provided" | "lancer-provided";
2041
- email: string;
2042
2041
  password: string;
2042
+ provider: "user-provided" | "lancer-provided";
2043
2043
  isConnecting: boolean | null;
2044
2044
  securityQuestionAnswer: string | null;
2045
2045
  assignedOrganizations: string[];
@@ -2062,143 +2062,24 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2062
2062
  }>;
2063
2063
  firstExecutionTime: z.ZodNumber;
2064
2064
  }, "strip", z.ZodTypeAny, {
2065
- userId: string;
2066
- campaign: {
2065
+ organization: {
2066
+ type: "agency" | "freelancer";
2067
2067
  id: string;
2068
+ active: boolean;
2068
2069
  name: string;
2069
- filters: {
2070
- isFeatured: "all" | "true" | "false" | null;
2071
- keywords: {
2072
- includes: string | null;
2073
- excludes: string | null;
2074
- } | null;
2075
- searchQuery: string | null;
2076
- regions: ("USOnly" | "UKOnly" | "Worldwide" | "all")[] | null;
2077
- categories: {
2078
- includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
2079
- excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
2080
- } | null;
2081
- payment: {
2082
- paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
2083
- minFixedPrice: number | null;
2084
- maxFixedPrice: number | null;
2085
- minHourlyRate: number | null;
2086
- maxHourlyRate: number | null;
2087
- } | null;
2088
- projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
2089
- experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
2090
- questions: {
2091
- hasQuestions: ("all" | "yes" | "no")[];
2092
- } | null;
2093
- engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
2094
- clientInfo: {
2095
- isPaymentVerified: "all" | "true" | "false";
2096
- isPhoneVerified: "all" | "true" | "false";
2097
- enterpriseClient: "all" | "true" | "false";
2098
- clientLocationIncludes: string[] | null;
2099
- clientLocationExcludes: string[] | null;
2100
- minReviewScore: number | null;
2101
- maxReviewScore: number | null;
2102
- minTotalSpent: number | null;
2103
- maxTotalSpent: number | null;
2104
- minHireRate: number | null;
2105
- maxHireRate: number | null;
2106
- clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
2107
- companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
2108
- minJobsPosted: number | null;
2109
- minAvgHourlyRate: number | null;
2110
- maxAvgHourlyRate: number | null;
2111
- minNumReviews: number | null;
2112
- memberSinceFrom: string | null;
2113
- memberSinceTo: string | null;
2114
- } | null;
2115
- includeClientsWithZeroReviews: boolean | null;
2116
- includeClientsWithLessThanXPostedJobs: number | null;
2117
- vendorQualifications: {
2118
- locationIncludes: string[] | null;
2119
- locationExcludes: string[] | null;
2120
- talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
2121
- englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
2122
- includeRisingTalent: string | null;
2123
- requiredEarnings: 100 | 1000 | 10000 | null;
2124
- requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
2125
- } | null;
2126
- };
2127
- createdAt: number;
2128
- updatedAt: number;
2129
- confirmedBillingAt: number | null;
2130
- boostingEnabled: boolean | null;
2131
- maximumBoost: number | null;
2132
- minBoost: number | null;
2133
- boostDownToNthPlace: number | null;
2134
- connectsAbovePrevious: number | null;
2135
- insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
2136
- monthlyBudget: number | null;
2137
- boostingThreshold: number | null;
2138
- biddingDelayInMinutes: number;
2139
- biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
2140
- biddingFixedHourlyRate: number | null;
2141
- biddingHourlyRatePercentage: number | null;
2142
- bidWithWarning: "skip" | "bid";
2143
- leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "won", number>> | null;
2144
- expenses: {
2145
- biddingAmount: number;
2146
- boostingAmount: number;
2147
- boosted: number;
2148
- };
2149
- notificationsEnabled: boolean | null;
2150
- bidConfig: {
2151
- agencyName: string | null;
2152
- bidderId: string | null;
2153
- contractorName: string | null;
2154
- specialisedProfile: string | null;
2155
- } | null;
2156
- coverLetterTemplateId: string | null;
2157
- priority: number | null;
2158
- coverLetterTemplate: {
2159
- description: string | null;
2160
- id: string;
2161
- name: string;
2162
- template: string;
2163
- instructions: string;
2070
+ billing: {
2071
+ savedCard: boolean;
2072
+ stripe: {
2073
+ customer: {
2074
+ id: string | null;
2075
+ };
2076
+ };
2164
2077
  } | null;
2165
- organizationProfileId: string | null;
2166
- lastSyncedProposalsAt: number | null;
2167
- limits: {
2168
- maxDailyProposalsSent: number;
2169
- enabled: boolean;
2170
- windowAnchorAt: number | null;
2171
- };
2172
- workTime: {
2173
- enabled: boolean;
2174
- days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
2175
- timeBlocks: {
2176
- fromHour: number;
2177
- toHour: number;
2178
- }[];
2179
- timezone: string | null;
2180
- };
2181
- status?: "active" | "draft" | "paused" | "error" | undefined;
2182
- };
2183
- organization: {
2184
- type: "agency" | "freelancer";
2185
- id: string;
2186
- name: string;
2187
- createdAt: number;
2188
- updatedAt: number;
2189
- active: boolean;
2190
- limits: {
2191
- monthlyCredits: number;
2192
- usedCredits: number;
2193
- extraCredits: number;
2194
- };
2195
2078
  associatedBidders: string[] | null;
2196
2079
  subscription: {
2080
+ source: "manual" | "stripe";
2197
2081
  status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
2198
2082
  planId: string;
2199
- pendingPlanId: string | null;
2200
- startedAt: number;
2201
- currentPeriodEnd: number;
2202
2083
  stripe: {
2203
2084
  id: string;
2204
2085
  items: {
@@ -2212,59 +2093,73 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2212
2093
  hosted_invoice_url: string | null;
2213
2094
  };
2214
2095
  };
2215
- source: "stripe" | "manual";
2096
+ pendingPlanId: string | null;
2097
+ startedAt: number;
2098
+ currentPeriodEnd: number;
2216
2099
  usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
2217
2100
  trialEndsAt: number | null;
2218
2101
  } | null;
2219
- billing: {
2220
- stripe: {
2221
- customer: {
2222
- id: string | null;
2223
- };
2224
- };
2225
- savedCard: boolean;
2226
- } | null;
2102
+ limits: {
2103
+ monthlyCredits: number;
2104
+ usedCredits: number;
2105
+ extraCredits: number;
2106
+ };
2227
2107
  lastBidTime: number | null;
2228
2108
  nextScheduledBidTime: number | null;
2109
+ createdAt: number;
2110
+ updatedAt: number;
2229
2111
  openRouterApiKey: string | null;
2230
2112
  nextProposalStatusSyncTime: number | null;
2231
2113
  oneTimePayments?: {
2232
2114
  usBidderAccountPayment?: {
2233
2115
  status: string;
2234
- amount?: number | undefined;
2235
2116
  error?: string | undefined;
2236
- paidAt?: number | undefined;
2237
2117
  currency?: string | undefined;
2118
+ paidAt?: number | undefined;
2119
+ amount?: number | undefined;
2238
2120
  paymentIntentId?: string | undefined;
2239
2121
  } | undefined;
2240
2122
  } | undefined;
2241
2123
  };
2124
+ userId: string;
2242
2125
  lead: {
2243
- uid: string | null;
2126
+ id: string | null;
2244
2127
  title: string | null;
2245
- category: string | null;
2246
- jobUrl: string | null;
2128
+ metadata: {
2129
+ hours: string | null;
2130
+ duration: string | null;
2131
+ paymentType: string | null;
2132
+ experienceLevel: string | null;
2133
+ hourlyRate: {
2134
+ max: number | null;
2135
+ min: number | null;
2136
+ } | null;
2137
+ fixedPrice: number | null;
2138
+ } | null;
2247
2139
  description: string | null;
2248
- region: "USOnly" | "UKOnly" | "Worldwide" | null;
2140
+ region: "Worldwide" | "USOnly" | "UKOnly" | "All" | null;
2249
2141
  datetime: number | null;
2142
+ campaignId: string;
2143
+ organizationId: string;
2144
+ createdAt: number | null;
2145
+ updatedAt: number | null;
2250
2146
  isFeatured: boolean | null;
2251
- id: string | null;
2252
2147
  projectDuration: string | null;
2253
2148
  questions: string[] | null;
2254
2149
  clientInfo: {
2255
2150
  country: string | null;
2256
- isPaymentVerified: boolean | null;
2257
- totalSpent: number | null;
2258
2151
  region: string | null;
2152
+ isPaymentVerified: boolean | null;
2259
2153
  isPhoneVerified: boolean | null;
2260
2154
  enterpriseClient: boolean | null;
2261
2155
  companySize: string | null;
2156
+ openJobs: number | null;
2157
+ totalSpent: number | null;
2262
2158
  numberOfReviews: number | null;
2263
2159
  rating: number | null;
2264
2160
  jobsPosted: number | null;
2265
2161
  numberOfHires: number | null;
2266
2162
  activeEngagements: number | null;
2267
- openJobs: number | null;
2268
2163
  hireRate: number | null;
2269
2164
  memberSince: string | null;
2270
2165
  companyIndustry: string | null;
@@ -2273,37 +2168,23 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2273
2168
  vendorQualifications: {
2274
2169
  location: string | null;
2275
2170
  includeRisingTalent: string | null;
2276
- talentType: "Independent" | "Agency" | "unspecified" | null;
2171
+ talentType: "unspecified" | "Independent" | "Agency" | null;
2277
2172
  englishLevel: string | null;
2278
2173
  minimumEarnings: number | null;
2279
2174
  jobSuccessScore: string | null;
2280
2175
  } | null;
2281
- createdAt: number | null;
2282
- updatedAt: number | null;
2283
- biddingAmount: number | null;
2284
- boostingAmount: number | null;
2285
- boosted: boolean | null;
2176
+ category: string | null;
2177
+ uid: string | null;
2178
+ jobUrl: string | null;
2286
2179
  skills: {
2287
2180
  name: string;
2288
2181
  }[] | null;
2289
2182
  descriptionLength: number | null;
2290
2183
  connectsRequired: number | null;
2291
2184
  projectType: string | null;
2292
- metadata: {
2293
- paymentType: string | null;
2294
- experienceLevel: string | null;
2295
- hours: string | null;
2296
- duration: string | null;
2297
- hourlyRate: {
2298
- min: number | null;
2299
- max: number | null;
2300
- } | null;
2301
- fixedPrice: number | null;
2302
- } | null;
2303
2185
  clientReviews: {
2304
2186
  paymentType: string | null;
2305
2187
  hourlyRate: number | null;
2306
- fixedPrice: number | null;
2307
2188
  jobTitle: string | null;
2308
2189
  freelancerName: string | null;
2309
2190
  freelancerRating: number | null;
@@ -2311,41 +2192,43 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2311
2192
  clientFeedback: string | null;
2312
2193
  clientFeedbackRating: number | null;
2313
2194
  dateRange: string | null;
2195
+ fixedPrice: number | null;
2314
2196
  numHours: number | null;
2315
2197
  totalBilled: number | null;
2316
2198
  }[] | null;
2317
2199
  bidRange: {
2318
2200
  high: number | null;
2319
- avg: number | null;
2320
2201
  low: number | null;
2202
+ avg: number | null;
2321
2203
  } | null;
2322
2204
  jobActivity: {
2323
2205
  updatedAt: number | null;
2206
+ unansweredInvites: number | null;
2324
2207
  proposals: {
2325
- min: number | null;
2326
2208
  max: number | null;
2209
+ min: number | null;
2327
2210
  };
2328
2211
  lastViewedByClient: string | null;
2329
2212
  lastViewedByClientTimestamp: number | null;
2330
2213
  hires: number | null;
2331
2214
  interviewing: number | null;
2332
2215
  invitesSent: number | null;
2333
- unansweredInvites: number | null;
2334
2216
  } | null;
2335
- activityUpdates: 1 | 2 | 3 | null;
2336
- jobId: string;
2337
- campaignId: string;
2338
- organizationId: string;
2217
+ activityUpdates: 2 | 1 | 3 | null;
2339
2218
  scrapedAt: number | null;
2219
+ jobId: string;
2340
2220
  suitabilityRating: number | null;
2341
2221
  suitabilityReason: string | null;
2342
2222
  proposal: string | null;
2343
2223
  questionAnswerPairs: {
2344
- question: string;
2345
2224
  answer: string;
2225
+ question: string;
2346
2226
  }[] | null;
2347
2227
  agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
2348
- leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "won" | null;
2228
+ leadStatus: "rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won" | null;
2229
+ biddingAmount: number | null;
2230
+ boosted: boolean | null;
2231
+ boostingAmount: number | null;
2349
2232
  biddingTaskScheduled: boolean | null;
2350
2233
  scheduledBiddingTime: number | null;
2351
2234
  feedbackCheckTaskId: string | null;
@@ -2354,70 +2237,47 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2354
2237
  applicationId: string | null;
2355
2238
  activity?: Partial<Record<"4h" | "24h", {
2356
2239
  updatedAt: number | null;
2240
+ unansweredInvites: number | null;
2357
2241
  proposals: {
2358
- min: number | null;
2359
2242
  max: number | null;
2243
+ min: number | null;
2360
2244
  };
2361
2245
  lastViewedByClient: string | null;
2362
2246
  lastViewedByClientTimestamp: number | null;
2363
2247
  hires: number | null;
2364
2248
  interviewing: number | null;
2365
2249
  invitesSent: number | null;
2366
- unansweredInvites: number | null;
2367
2250
  }>> | null | undefined;
2368
2251
  activityDelta?: {
2252
+ unansweredInvites: number;
2369
2253
  proposals: number;
2370
2254
  hires: number;
2371
2255
  interviewing: number;
2372
2256
  invitesSent: number;
2373
- unansweredInvites: number;
2374
2257
  } | null | undefined;
2375
2258
  proposalId?: string | undefined;
2376
2259
  wonAmount?: number | undefined;
2377
2260
  };
2378
- bidder: {
2379
- region: "USOnly" | "UKOnly" | "Worldwide" | "all";
2380
- id: string;
2381
- name: string | null;
2382
- createdAt: number;
2383
- updatedAt: number;
2384
- provider: "user-provided" | "lancer-provided";
2385
- email: string;
2386
- password: string;
2387
- isConnecting: boolean | null;
2388
- securityQuestionAnswer: string | null;
2389
- assignedOrganizations: string[];
2390
- lastUsed: number | null;
2391
- multiLoginProfileId: string | null;
2392
- proxyId: string | null;
2393
- profilePhotoUrl: string | null;
2394
- agencies: {
2395
- name: string;
2396
- organizationId: string;
2397
- logoUrl: string | null;
2398
- contractors: {
2399
- name: string;
2400
- specializedProfiles: string[];
2401
- }[];
2402
- }[] | null;
2403
- instanceId: string | null;
2404
- googleOauthTokens?: any;
2405
- isProtected?: boolean | undefined;
2406
- };
2407
- firstExecutionTime: number;
2408
- }, {
2409
- userId: string;
2410
2261
  campaign: {
2411
2262
  id: string;
2263
+ priority: number | null;
2412
2264
  name: string;
2265
+ limits: {
2266
+ enabled: boolean;
2267
+ maxDailyProposalsSent: number;
2268
+ windowAnchorAt: number | null;
2269
+ };
2270
+ createdAt: number;
2271
+ updatedAt: number;
2272
+ leadCounts: Partial<Record<"rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won", number>> | null;
2413
2273
  filters: {
2414
- isFeatured: "all" | "true" | "false" | null;
2415
2274
  keywords: {
2416
2275
  includes: string | null;
2417
2276
  excludes: string | null;
2418
2277
  } | null;
2419
2278
  searchQuery: string | null;
2420
- regions: ("USOnly" | "UKOnly" | "Worldwide" | "all")[] | null;
2279
+ isFeatured: "false" | "all" | "true" | null;
2280
+ regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
2421
2281
  categories: {
2422
2282
  includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
2423
2283
  excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
@@ -2436,6 +2296,9 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2436
2296
  } | null;
2437
2297
  engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
2438
2298
  clientInfo: {
2299
+ isPaymentVerified: "false" | "all" | "true";
2300
+ isPhoneVerified: "false" | "all" | "true";
2301
+ enterpriseClient: "false" | "all" | "true";
2439
2302
  clientLocationIncludes: string[] | null;
2440
2303
  clientLocationExcludes: string[] | null;
2441
2304
  minReviewScore: number | null;
@@ -2452,9 +2315,6 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2452
2315
  minNumReviews: number | null;
2453
2316
  memberSinceFrom: string | null;
2454
2317
  memberSinceTo: string | null;
2455
- isPaymentVerified?: "all" | "true" | "false" | undefined;
2456
- isPhoneVerified?: "all" | "true" | "false" | undefined;
2457
- enterpriseClient?: "all" | "true" | "false" | undefined;
2458
2318
  } | null;
2459
2319
  includeClientsWithZeroReviews: boolean | null;
2460
2320
  includeClientsWithLessThanXPostedJobs: number | null;
@@ -2468,81 +2328,102 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2468
2328
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
2469
2329
  } | null;
2470
2330
  };
2471
- createdAt: number;
2472
- updatedAt: number;
2473
2331
  confirmedBillingAt: number | null;
2332
+ boostingEnabled: boolean | null;
2333
+ maximumBoost: number | null;
2334
+ minBoost: number | null;
2474
2335
  boostDownToNthPlace: number | null;
2475
2336
  connectsAbovePrevious: number | null;
2476
2337
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
2477
2338
  monthlyBudget: number | null;
2339
+ boostingThreshold: number | null;
2340
+ biddingDelayInMinutes: number;
2478
2341
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
2479
2342
  biddingFixedHourlyRate: number | null;
2480
2343
  biddingHourlyRatePercentage: number | null;
2481
- bidWithWarning: "skip" | "bid";
2482
- leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "won", number>> | null;
2344
+ bidWithWarning: "bid" | "skip";
2483
2345
  expenses: {
2484
- biddingAmount?: number | undefined;
2485
- boostingAmount?: number | undefined;
2486
- boosted?: number | undefined;
2346
+ biddingAmount: number;
2347
+ boosted: number;
2348
+ boostingAmount: number;
2487
2349
  };
2488
2350
  notificationsEnabled: boolean | null;
2489
2351
  bidConfig: {
2352
+ contractorName: string | null;
2490
2353
  agencyName: string | null;
2491
2354
  bidderId: string | null;
2492
- contractorName: string | null;
2493
2355
  specialisedProfile: string | null;
2494
2356
  } | null;
2495
2357
  coverLetterTemplateId: string | null;
2496
- priority: number | null;
2497
2358
  coverLetterTemplate: {
2498
- description: string | null;
2499
2359
  id: string;
2500
2360
  name: string;
2501
2361
  template: string;
2362
+ description: string | null;
2502
2363
  instructions: string;
2503
2364
  } | null;
2504
2365
  organizationProfileId: string | null;
2505
2366
  lastSyncedProposalsAt: number | null;
2506
- limits: {
2507
- maxDailyProposalsSent: number;
2508
- enabled: boolean;
2509
- windowAnchorAt: number | null;
2510
- };
2511
2367
  workTime: {
2512
- enabled: boolean;
2513
2368
  days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
2369
+ enabled: boolean;
2514
2370
  timeBlocks: {
2515
2371
  fromHour: number;
2516
2372
  toHour: number;
2517
2373
  }[];
2518
- timezone: string | null;
2519
- };
2520
- status?: "active" | "draft" | "paused" | "error" | undefined;
2521
- boostingEnabled?: boolean | null | undefined;
2522
- maximumBoost?: number | null | undefined;
2523
- minBoost?: number | null | undefined;
2524
- boostingThreshold?: number | null | undefined;
2525
- biddingDelayInMinutes?: number | undefined;
2374
+ timezone: string | null;
2375
+ };
2376
+ status?: "error" | "active" | "paused" | "draft" | undefined;
2377
+ };
2378
+ bidder: {
2379
+ id: string;
2380
+ name: string | null;
2381
+ email: string;
2382
+ region: "Worldwide" | "USOnly" | "UKOnly" | "All";
2383
+ createdAt: number;
2384
+ updatedAt: number;
2385
+ password: string;
2386
+ provider: "user-provided" | "lancer-provided";
2387
+ isConnecting: boolean | null;
2388
+ securityQuestionAnswer: string | null;
2389
+ assignedOrganizations: string[];
2390
+ lastUsed: number | null;
2391
+ multiLoginProfileId: string | null;
2392
+ proxyId: string | null;
2393
+ profilePhotoUrl: string | null;
2394
+ agencies: {
2395
+ name: string;
2396
+ organizationId: string;
2397
+ logoUrl: string | null;
2398
+ contractors: {
2399
+ name: string;
2400
+ specializedProfiles: string[];
2401
+ }[];
2402
+ }[] | null;
2403
+ instanceId: string | null;
2404
+ googleOauthTokens?: any;
2405
+ isProtected?: boolean | undefined;
2526
2406
  };
2407
+ firstExecutionTime: number;
2408
+ }, {
2527
2409
  organization: {
2528
2410
  type: "agency" | "freelancer";
2529
2411
  id: string;
2530
- name: string;
2531
- createdAt: number;
2532
- updatedAt: number;
2533
2412
  active: boolean;
2534
- limits: {
2535
- monthlyCredits: number;
2536
- usedCredits: number;
2537
- extraCredits: number;
2538
- };
2413
+ name: string;
2414
+ billing: {
2415
+ savedCard: boolean;
2416
+ stripe: {
2417
+ customer: {
2418
+ id: string | null;
2419
+ };
2420
+ };
2421
+ } | null;
2539
2422
  associatedBidders: string[] | null;
2540
2423
  subscription: {
2424
+ source: "manual" | "stripe";
2541
2425
  status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
2542
2426
  planId: string;
2543
- pendingPlanId: string | null;
2544
- startedAt: number;
2545
- currentPeriodEnd: number;
2546
2427
  stripe: {
2547
2428
  id: string;
2548
2429
  items: {
@@ -2556,59 +2437,73 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2556
2437
  hosted_invoice_url: string | null;
2557
2438
  };
2558
2439
  };
2559
- source: "stripe" | "manual";
2440
+ pendingPlanId: string | null;
2441
+ startedAt: number;
2442
+ currentPeriodEnd: number;
2560
2443
  usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
2561
2444
  trialEndsAt: number | null;
2562
2445
  } | null;
2563
- billing: {
2564
- stripe: {
2565
- customer: {
2566
- id: string | null;
2567
- };
2568
- };
2569
- savedCard: boolean;
2570
- } | null;
2446
+ limits: {
2447
+ monthlyCredits: number;
2448
+ usedCredits: number;
2449
+ extraCredits: number;
2450
+ };
2571
2451
  lastBidTime: number | null;
2572
2452
  nextScheduledBidTime: number | null;
2453
+ createdAt: number;
2454
+ updatedAt: number;
2573
2455
  openRouterApiKey: string | null;
2574
2456
  nextProposalStatusSyncTime: number | null;
2575
2457
  oneTimePayments?: {
2576
2458
  usBidderAccountPayment?: {
2577
2459
  status: string;
2578
- amount?: number | undefined;
2579
2460
  error?: string | undefined;
2580
- paidAt?: number | undefined;
2581
2461
  currency?: string | undefined;
2462
+ paidAt?: number | undefined;
2463
+ amount?: number | undefined;
2582
2464
  paymentIntentId?: string | undefined;
2583
2465
  } | undefined;
2584
2466
  } | undefined;
2585
2467
  };
2468
+ userId: string;
2586
2469
  lead: {
2587
- uid: string | null;
2470
+ id: string | null;
2588
2471
  title: string | null;
2589
- category: string | null;
2590
- jobUrl: string | null;
2472
+ metadata: {
2473
+ hours: string | null;
2474
+ duration: string | null;
2475
+ paymentType: string | null;
2476
+ experienceLevel: string | null;
2477
+ hourlyRate: {
2478
+ max: number | null;
2479
+ min: number | null;
2480
+ } | null;
2481
+ fixedPrice: number | null;
2482
+ } | null;
2591
2483
  description: string | null;
2592
- region: "USOnly" | "UKOnly" | "Worldwide" | null;
2484
+ region: "Worldwide" | "USOnly" | "UKOnly" | "All" | null;
2593
2485
  datetime: number | null;
2486
+ campaignId: string;
2487
+ organizationId: string;
2488
+ createdAt: number | null;
2489
+ updatedAt: number | null;
2594
2490
  isFeatured: boolean | null;
2595
- id: string | null;
2596
2491
  projectDuration: string | null;
2597
2492
  questions: string[] | null;
2598
2493
  clientInfo: {
2599
2494
  country: string | null;
2600
- isPaymentVerified: boolean | null;
2601
- totalSpent: number | null;
2602
2495
  region: string | null;
2496
+ isPaymentVerified: boolean | null;
2603
2497
  isPhoneVerified: boolean | null;
2604
2498
  enterpriseClient: boolean | null;
2605
2499
  companySize: string | null;
2500
+ openJobs: number | null;
2501
+ totalSpent: number | null;
2606
2502
  numberOfReviews: number | null;
2607
2503
  rating: number | null;
2608
2504
  jobsPosted: number | null;
2609
2505
  numberOfHires: number | null;
2610
2506
  activeEngagements: number | null;
2611
- openJobs: number | null;
2612
2507
  hireRate: number | null;
2613
2508
  memberSince: string | null;
2614
2509
  companyIndustry: string | null;
@@ -2617,37 +2512,23 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2617
2512
  vendorQualifications: {
2618
2513
  location: string | null;
2619
2514
  includeRisingTalent: string | null;
2620
- talentType: "Independent" | "Agency" | "unspecified" | null;
2515
+ talentType: "unspecified" | "Independent" | "Agency" | null;
2621
2516
  englishLevel: string | null;
2622
2517
  minimumEarnings: number | null;
2623
2518
  jobSuccessScore: string | null;
2624
2519
  } | null;
2625
- createdAt: number | null;
2626
- updatedAt: number | null;
2627
- biddingAmount: number | null;
2628
- boostingAmount: number | null;
2629
- boosted: boolean | null;
2520
+ category: string | null;
2521
+ uid: string | null;
2522
+ jobUrl: string | null;
2630
2523
  skills: {
2631
2524
  name: string;
2632
2525
  }[] | null;
2633
2526
  descriptionLength: number | null;
2634
2527
  connectsRequired: number | null;
2635
2528
  projectType: string | null;
2636
- metadata: {
2637
- paymentType: string | null;
2638
- experienceLevel: string | null;
2639
- hours: string | null;
2640
- duration: string | null;
2641
- hourlyRate: {
2642
- min: number | null;
2643
- max: number | null;
2644
- } | null;
2645
- fixedPrice: number | null;
2646
- } | null;
2647
2529
  clientReviews: {
2648
2530
  paymentType: string | null;
2649
2531
  hourlyRate: number | null;
2650
- fixedPrice: number | null;
2651
2532
  jobTitle: string | null;
2652
2533
  freelancerName: string | null;
2653
2534
  freelancerRating: number | null;
@@ -2655,41 +2536,43 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2655
2536
  clientFeedback: string | null;
2656
2537
  clientFeedbackRating: number | null;
2657
2538
  dateRange: string | null;
2539
+ fixedPrice: number | null;
2658
2540
  numHours: number | null;
2659
2541
  totalBilled: number | null;
2660
2542
  }[] | null;
2661
2543
  bidRange: {
2662
2544
  high: number | null;
2663
- avg: number | null;
2664
2545
  low: number | null;
2546
+ avg: number | null;
2665
2547
  } | null;
2666
2548
  jobActivity: {
2667
2549
  updatedAt: number | null;
2550
+ unansweredInvites: number | null;
2668
2551
  proposals: {
2669
- min: number | null;
2670
2552
  max: number | null;
2553
+ min: number | null;
2671
2554
  };
2672
2555
  lastViewedByClient: string | null;
2673
2556
  lastViewedByClientTimestamp: number | null;
2674
2557
  hires: number | null;
2675
2558
  interviewing: number | null;
2676
2559
  invitesSent: number | null;
2677
- unansweredInvites: number | null;
2678
2560
  } | null;
2679
- activityUpdates: 1 | 2 | 3 | null;
2680
- jobId: string;
2681
- campaignId: string;
2682
- organizationId: string;
2561
+ activityUpdates: 2 | 1 | 3 | null;
2683
2562
  scrapedAt: number | null;
2563
+ jobId: string;
2684
2564
  suitabilityRating: number | null;
2685
2565
  suitabilityReason: string | null;
2686
2566
  proposal: string | null;
2687
2567
  questionAnswerPairs: {
2688
- question: string;
2689
2568
  answer: string;
2569
+ question: string;
2690
2570
  }[] | null;
2691
2571
  agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
2692
- leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "won" | null;
2572
+ leadStatus: "rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won" | null;
2573
+ biddingAmount: number | null;
2574
+ boosted: boolean | null;
2575
+ boostingAmount: number | null;
2693
2576
  biddingTaskScheduled: boolean | null;
2694
2577
  scheduledBiddingTime: number | null;
2695
2578
  feedbackCheckTaskId: string | null;
@@ -2698,36 +2581,153 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2698
2581
  applicationId: string | null;
2699
2582
  activity?: Partial<Record<"4h" | "24h", {
2700
2583
  updatedAt: number | null;
2584
+ unansweredInvites: number | null;
2701
2585
  proposals: {
2702
- min: number | null;
2703
2586
  max: number | null;
2587
+ min: number | null;
2704
2588
  };
2705
2589
  lastViewedByClient: string | null;
2706
2590
  lastViewedByClientTimestamp: number | null;
2707
2591
  hires: number | null;
2708
2592
  interviewing: number | null;
2709
2593
  invitesSent: number | null;
2710
- unansweredInvites: number | null;
2711
2594
  }>> | null | undefined;
2712
2595
  activityDelta?: {
2596
+ unansweredInvites: number;
2713
2597
  proposals: number;
2714
2598
  hires: number;
2715
2599
  interviewing: number;
2716
2600
  invitesSent: number;
2717
- unansweredInvites: number;
2718
2601
  } | null | undefined;
2719
2602
  proposalId?: string | undefined;
2720
2603
  wonAmount?: number | undefined;
2721
2604
  };
2605
+ campaign: {
2606
+ id: string;
2607
+ priority: number | null;
2608
+ name: string;
2609
+ limits: {
2610
+ enabled: boolean;
2611
+ maxDailyProposalsSent: number;
2612
+ windowAnchorAt: number | null;
2613
+ };
2614
+ createdAt: number;
2615
+ updatedAt: number;
2616
+ leadCounts: Partial<Record<"rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won", number>> | null;
2617
+ filters: {
2618
+ keywords: {
2619
+ includes: string | null;
2620
+ excludes: string | null;
2621
+ } | null;
2622
+ searchQuery: string | null;
2623
+ isFeatured: "false" | "all" | "true" | null;
2624
+ regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
2625
+ categories: {
2626
+ includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
2627
+ excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
2628
+ } | null;
2629
+ payment: {
2630
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
2631
+ minFixedPrice: number | null;
2632
+ maxFixedPrice: number | null;
2633
+ minHourlyRate: number | null;
2634
+ maxHourlyRate: number | null;
2635
+ } | null;
2636
+ projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
2637
+ experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
2638
+ questions: {
2639
+ hasQuestions: ("all" | "yes" | "no")[];
2640
+ } | null;
2641
+ engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
2642
+ clientInfo: {
2643
+ clientLocationIncludes: string[] | null;
2644
+ clientLocationExcludes: string[] | null;
2645
+ minReviewScore: number | null;
2646
+ maxReviewScore: number | null;
2647
+ minTotalSpent: number | null;
2648
+ maxTotalSpent: number | null;
2649
+ minHireRate: number | null;
2650
+ maxHireRate: number | null;
2651
+ clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
2652
+ companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
2653
+ minJobsPosted: number | null;
2654
+ minAvgHourlyRate: number | null;
2655
+ maxAvgHourlyRate: number | null;
2656
+ minNumReviews: number | null;
2657
+ memberSinceFrom: string | null;
2658
+ memberSinceTo: string | null;
2659
+ isPaymentVerified?: "false" | "all" | "true" | undefined;
2660
+ isPhoneVerified?: "false" | "all" | "true" | undefined;
2661
+ enterpriseClient?: "false" | "all" | "true" | undefined;
2662
+ } | null;
2663
+ includeClientsWithZeroReviews: boolean | null;
2664
+ includeClientsWithLessThanXPostedJobs: number | null;
2665
+ vendorQualifications: {
2666
+ locationIncludes: string[] | null;
2667
+ locationExcludes: string[] | null;
2668
+ talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
2669
+ englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
2670
+ includeRisingTalent: string | null;
2671
+ requiredEarnings: 100 | 1000 | 10000 | null;
2672
+ requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
2673
+ } | null;
2674
+ };
2675
+ confirmedBillingAt: number | null;
2676
+ boostDownToNthPlace: number | null;
2677
+ connectsAbovePrevious: number | null;
2678
+ insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
2679
+ monthlyBudget: number | null;
2680
+ biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
2681
+ biddingFixedHourlyRate: number | null;
2682
+ biddingHourlyRatePercentage: number | null;
2683
+ bidWithWarning: "bid" | "skip";
2684
+ expenses: {
2685
+ biddingAmount?: number | undefined;
2686
+ boosted?: number | undefined;
2687
+ boostingAmount?: number | undefined;
2688
+ };
2689
+ notificationsEnabled: boolean | null;
2690
+ bidConfig: {
2691
+ contractorName: string | null;
2692
+ agencyName: string | null;
2693
+ bidderId: string | null;
2694
+ specialisedProfile: string | null;
2695
+ } | null;
2696
+ coverLetterTemplateId: string | null;
2697
+ coverLetterTemplate: {
2698
+ id: string;
2699
+ name: string;
2700
+ template: string;
2701
+ description: string | null;
2702
+ instructions: string;
2703
+ } | null;
2704
+ organizationProfileId: string | null;
2705
+ lastSyncedProposalsAt: number | null;
2706
+ workTime: {
2707
+ days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
2708
+ enabled: boolean;
2709
+ timeBlocks: {
2710
+ fromHour: number;
2711
+ toHour: number;
2712
+ }[];
2713
+ timezone: string | null;
2714
+ };
2715
+ status?: "error" | "active" | "paused" | "draft" | undefined;
2716
+ boostingEnabled?: boolean | null | undefined;
2717
+ maximumBoost?: number | null | undefined;
2718
+ minBoost?: number | null | undefined;
2719
+ boostingThreshold?: number | null | undefined;
2720
+ biddingDelayInMinutes?: number | undefined;
2721
+ };
2722
2722
  bidder: {
2723
- region: "USOnly" | "UKOnly" | "Worldwide" | "all";
2724
2723
  id: string;
2725
2724
  name: string | null;
2725
+ email: string;
2726
+ region: "Worldwide" | "USOnly" | "UKOnly" | "All";
2726
2727
  createdAt: number;
2727
2728
  updatedAt: number;
2728
- provider: "user-provided" | "lancer-provided";
2729
- email: string;
2730
2729
  password: string;
2730
+ provider: "user-provided" | "lancer-provided";
2731
2731
  isConnecting: boolean | null;
2732
2732
  securityQuestionAnswer: string | null;
2733
2733
  assignedOrganizations: string[];