lancer-shared 1.2.118 → 1.2.120

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 (73) hide show
  1. package/dist/bundle.cjs.js +903 -322
  2. package/dist/constants/organization.d.ts +2 -2
  3. package/dist/constants/proxies.d.ts +4 -0
  4. package/dist/constants/routes.d.ts +3 -2
  5. package/dist/constants/routes.js +6 -0
  6. package/dist/constants/upwork-filters.d.ts +5 -0
  7. package/dist/constants/upwork-filters.js +75 -0
  8. package/dist/schemas/account/bidder-account.d.ts +19 -7
  9. package/dist/schemas/account/exceptions/no-bidder-accounts-available.d.ts +5 -0
  10. package/dist/schemas/account/scraper-account.d.ts +21 -16
  11. package/dist/schemas/ai-config/ai-config.d.ts +39 -0
  12. package/dist/schemas/ai-config/ai-config.js +12 -0
  13. package/dist/schemas/ai-config/index.d.ts +1 -0
  14. package/dist/schemas/ai-config/index.js +17 -0
  15. package/dist/schemas/bid/bid-status.d.ts +30 -0
  16. package/dist/schemas/bid/bid-status.js +15 -0
  17. package/dist/schemas/bid/exceptions/base-exception.d.ts +4 -0
  18. package/dist/schemas/bid/exceptions/evalute-element.exception.d.ts +5 -0
  19. package/dist/schemas/bid/exceptions/wait-for-function-timeout.d.ts +5 -0
  20. package/dist/schemas/bidding/proposal-dto.d.ts +26 -0
  21. package/dist/schemas/bidding/proposal-dto.js +18 -0
  22. package/dist/schemas/campaign/campaign-integrations.d.ts +0 -5
  23. package/dist/schemas/job/feed-job.d.ts +842 -0
  24. package/dist/schemas/job/index.d.ts +3 -0
  25. package/dist/schemas/job/job-details.d.ts +5711 -305
  26. package/dist/schemas/job/job-exceptions.d.ts +10 -0
  27. package/dist/schemas/job/job-pipeline.d.ts +74 -0
  28. package/dist/schemas/job/job-pipeline.js +29 -0
  29. package/dist/schemas/job/job-suitability.d.ts +12 -0
  30. package/dist/schemas/job/job-suitability.js +13 -0
  31. package/dist/schemas/job/job.d.ts +16 -16
  32. package/dist/schemas/job/pipeline-job.d.ts +9 -3
  33. package/dist/schemas/job/pipeline-job.js +1 -0
  34. package/dist/schemas/knowledge-object/index.d.ts +1 -0
  35. package/dist/schemas/knowledge-object/index.js +17 -0
  36. package/dist/schemas/knowledge-object/knowledge-object.d.ts +128 -0
  37. package/dist/schemas/knowledge-object/knowledge-object.js +47 -0
  38. package/dist/schemas/logger/log-event.d.ts +290 -36
  39. package/dist/schemas/proxy/proxy-available-replacements.d.ts +1 -1
  40. package/dist/schemas/proxy/proxy.d.ts +20 -9
  41. package/dist/schemas/proxy/proxy.js +3 -1
  42. package/dist/schemas/scraper/scrape-payload.d.ts +5 -0
  43. package/dist/schemas/scraper/scrape-response.d.ts +345 -0
  44. package/dist/schemas/scraper/scrape-response.js +9 -0
  45. package/dist/schemas/upwork-account/index.d.ts +1 -1
  46. package/dist/schemas/upwork-account/index.js +1 -1
  47. package/dist/schemas/upwork-account/upwork-business-manager-account.d.ts +14 -14
  48. package/dist/schemas/upwork-account/upwork-business-manager-account.js +2 -2
  49. package/dist/schemas/upwork-account/upwork-scraper-account.d.ts +92 -0
  50. package/dist/schemas/upwork-account/upwork-scraper-account.js +31 -0
  51. package/dist/schemas/upwork-account/upwork-scraping-account.d.ts +23 -23
  52. package/dist/schemas/upwork-account/upwork-scraping-account.js +4 -3
  53. package/dist/types/ai-config/ai-config.d.ts +6 -0
  54. package/dist/types/ai-config/ai-config.js +2 -0
  55. package/dist/types/ai-config/index.d.ts +1 -0
  56. package/dist/types/ai-config/index.js +17 -0
  57. package/dist/types/bid/bid-status.d.ts +5 -0
  58. package/dist/types/bid/bid-status.js +2 -0
  59. package/dist/types/bidding/proposal-dto.d.ts +3 -0
  60. package/dist/types/bidding/proposal-dto.js +2 -0
  61. package/dist/types/job/job-pipeline.d.ts +4 -0
  62. package/dist/types/job/job-pipeline.js +2 -0
  63. package/dist/types/job/job-suitability.d.ts +3 -0
  64. package/dist/types/job/job-suitability.js +2 -0
  65. package/dist/types/knowledge-object/index.d.ts +1 -0
  66. package/dist/types/knowledge-object/index.js +17 -0
  67. package/dist/types/knowledge-object/knowledge-object.d.ts +4 -0
  68. package/dist/types/knowledge-object/knowledge-object.js +2 -0
  69. package/dist/types/scraper/scrape-response.d.ts +4 -0
  70. package/dist/types/scraper/scrape-response.js +2 -0
  71. package/dist/types/upwork-account/upwork-scraping-account.d.ts +2 -2
  72. package/package.json +1 -1
  73. package/dist/schemas/account/bidder-account-rental.d.ts +0 -91
@@ -214,57 +214,311 @@ export declare const scrapeJobStartedEventMetadata: z.ZodObject<{
214
214
  }>;
215
215
  export declare const scrapeJobFailedEventMetadata: z.ZodObject<{
216
216
  listing: z.ZodObject<{
217
- uid: z.ZodNullable<z.ZodString>;
218
- title: z.ZodNullable<z.ZodString>;
219
- jobUrl: z.ZodNullable<z.ZodString>;
220
- datetime: z.ZodNullable<z.ZodString>;
221
- isFeatured: z.ZodNullable<z.ZodBoolean>;
222
- region: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>>;
217
+ uid: z.ZodString;
218
+ ciphertext: z.ZodString;
219
+ title: z.ZodString;
220
+ description: z.ZodString;
221
+ createdOn: z.ZodString;
222
+ publishedOn: z.ZodString;
223
+ renewedOn: z.ZodNullable<z.ZodString>;
224
+ type: z.ZodNumber;
225
+ durationLabel: z.ZodNullable<z.ZodString>;
226
+ engagement: z.ZodNullable<z.ZodString>;
227
+ amount: z.ZodObject<{
228
+ amount: z.ZodNumber;
229
+ }, "strip", z.ZodTypeAny, {
230
+ amount: number;
231
+ }, {
232
+ amount: number;
233
+ }>;
234
+ connectPrice: z.ZodNullable<z.ZodNumber>;
235
+ client: z.ZodObject<{
236
+ location: z.ZodObject<{
237
+ country: z.ZodNullable<z.ZodString>;
238
+ }, "strip", z.ZodTypeAny, {
239
+ country: string | null;
240
+ }, {
241
+ country: string | null;
242
+ }>;
243
+ isPaymentVerified: z.ZodBoolean;
244
+ totalSpent: z.ZodNullable<z.ZodString>;
245
+ totalReviews: z.ZodNumber;
246
+ totalFeedback: z.ZodNumber;
247
+ hasFinancialPrivacy: z.ZodBoolean;
248
+ }, "strip", z.ZodTypeAny, {
249
+ location: {
250
+ country: string | null;
251
+ };
252
+ isPaymentVerified: boolean;
253
+ totalSpent: string | null;
254
+ totalReviews: number;
255
+ totalFeedback: number;
256
+ hasFinancialPrivacy: boolean;
257
+ }, {
258
+ location: {
259
+ country: string | null;
260
+ };
261
+ isPaymentVerified: boolean;
262
+ totalSpent: string | null;
263
+ totalReviews: number;
264
+ totalFeedback: number;
265
+ hasFinancialPrivacy: boolean;
266
+ }>;
267
+ clientRelation: z.ZodNullable<z.ZodAny>;
268
+ freelancersToHire: z.ZodNumber;
269
+ relevanceEncoded: z.ZodString;
270
+ enterpriseJob: z.ZodBoolean;
271
+ tierText: z.ZodString;
272
+ isApplied: z.ZodBoolean;
273
+ proposalsTier: z.ZodNullable<z.ZodString>;
274
+ premium: z.ZodBoolean;
275
+ attrs: z.ZodArray<z.ZodObject<{
276
+ uid: z.ZodString;
277
+ parentSkillUid: z.ZodNullable<z.ZodString>;
278
+ prefLabel: z.ZodString;
279
+ prettyName: z.ZodString;
280
+ freeText: z.ZodNullable<z.ZodAny>;
281
+ highlighted: z.ZodBoolean;
282
+ }, "strip", z.ZodTypeAny, {
283
+ uid: string;
284
+ parentSkillUid: string | null;
285
+ prefLabel: string;
286
+ prettyName: string;
287
+ highlighted: boolean;
288
+ freeText?: any;
289
+ }, {
290
+ uid: string;
291
+ parentSkillUid: string | null;
292
+ prefLabel: string;
293
+ prettyName: string;
294
+ highlighted: boolean;
295
+ freeText?: any;
296
+ }>, "many">;
297
+ hourlyBudget: z.ZodObject<{
298
+ min: z.ZodNumber;
299
+ max: z.ZodNumber;
300
+ }, "strip", z.ZodTypeAny, {
301
+ min: number;
302
+ max: number;
303
+ }, {
304
+ min: number;
305
+ max: number;
306
+ }>;
307
+ weeklyBudget: z.ZodObject<{
308
+ amount: z.ZodNumber;
309
+ }, "strip", z.ZodTypeAny, {
310
+ amount: number;
311
+ }, {
312
+ amount: number;
313
+ }>;
314
+ isSTSVectorSearchResult: z.ZodBoolean;
223
315
  }, "strip", z.ZodTypeAny, {
224
- uid: string | null;
225
- title: string | null;
226
- jobUrl: string | null;
227
- datetime: string | null;
228
- isFeatured: boolean | null;
229
- region: "USOnly" | "UKOnly" | "Worldwide" | null;
316
+ type: number;
317
+ uid: string;
318
+ title: string;
319
+ ciphertext: string;
320
+ description: string;
321
+ createdOn: string;
322
+ publishedOn: string;
323
+ renewedOn: string | null;
324
+ durationLabel: string | null;
325
+ engagement: string | null;
326
+ amount: {
327
+ amount: number;
328
+ };
329
+ connectPrice: number | null;
330
+ client: {
331
+ location: {
332
+ country: string | null;
333
+ };
334
+ isPaymentVerified: boolean;
335
+ totalSpent: string | null;
336
+ totalReviews: number;
337
+ totalFeedback: number;
338
+ hasFinancialPrivacy: boolean;
339
+ };
340
+ freelancersToHire: number;
341
+ relevanceEncoded: string;
342
+ enterpriseJob: boolean;
343
+ tierText: string;
344
+ isApplied: boolean;
345
+ proposalsTier: string | null;
346
+ premium: boolean;
347
+ attrs: {
348
+ uid: string;
349
+ parentSkillUid: string | null;
350
+ prefLabel: string;
351
+ prettyName: string;
352
+ highlighted: boolean;
353
+ freeText?: any;
354
+ }[];
355
+ hourlyBudget: {
356
+ min: number;
357
+ max: number;
358
+ };
359
+ weeklyBudget: {
360
+ amount: number;
361
+ };
362
+ isSTSVectorSearchResult: boolean;
363
+ clientRelation?: any;
230
364
  }, {
231
- uid: string | null;
232
- title: string | null;
233
- jobUrl: string | null;
234
- datetime: string | null;
235
- isFeatured: boolean | null;
236
- region: "USOnly" | "UKOnly" | "Worldwide" | null;
365
+ type: number;
366
+ uid: string;
367
+ title: string;
368
+ ciphertext: string;
369
+ description: string;
370
+ createdOn: string;
371
+ publishedOn: string;
372
+ renewedOn: string | null;
373
+ durationLabel: string | null;
374
+ engagement: string | null;
375
+ amount: {
376
+ amount: number;
377
+ };
378
+ connectPrice: number | null;
379
+ client: {
380
+ location: {
381
+ country: string | null;
382
+ };
383
+ isPaymentVerified: boolean;
384
+ totalSpent: string | null;
385
+ totalReviews: number;
386
+ totalFeedback: number;
387
+ hasFinancialPrivacy: boolean;
388
+ };
389
+ freelancersToHire: number;
390
+ relevanceEncoded: string;
391
+ enterpriseJob: boolean;
392
+ tierText: string;
393
+ isApplied: boolean;
394
+ proposalsTier: string | null;
395
+ premium: boolean;
396
+ attrs: {
397
+ uid: string;
398
+ parentSkillUid: string | null;
399
+ prefLabel: string;
400
+ prettyName: string;
401
+ highlighted: boolean;
402
+ freeText?: any;
403
+ }[];
404
+ hourlyBudget: {
405
+ min: number;
406
+ max: number;
407
+ };
408
+ weeklyBudget: {
409
+ amount: number;
410
+ };
411
+ isSTSVectorSearchResult: boolean;
412
+ clientRelation?: any;
237
413
  }>;
238
414
  region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
239
- accountId: z.ZodString;
240
- accountEmail: z.ZodString;
241
415
  error: z.ZodString;
242
416
  }, "strip", z.ZodTypeAny, {
243
417
  region: "USOnly" | "UKOnly" | "Worldwide";
244
418
  listing: {
245
- uid: string | null;
246
- title: string | null;
247
- jobUrl: string | null;
248
- datetime: string | null;
249
- isFeatured: boolean | null;
250
- region: "USOnly" | "UKOnly" | "Worldwide" | null;
419
+ type: number;
420
+ uid: string;
421
+ title: string;
422
+ ciphertext: string;
423
+ description: string;
424
+ createdOn: string;
425
+ publishedOn: string;
426
+ renewedOn: string | null;
427
+ durationLabel: string | null;
428
+ engagement: string | null;
429
+ amount: {
430
+ amount: number;
431
+ };
432
+ connectPrice: number | null;
433
+ client: {
434
+ location: {
435
+ country: string | null;
436
+ };
437
+ isPaymentVerified: boolean;
438
+ totalSpent: string | null;
439
+ totalReviews: number;
440
+ totalFeedback: number;
441
+ hasFinancialPrivacy: boolean;
442
+ };
443
+ freelancersToHire: number;
444
+ relevanceEncoded: string;
445
+ enterpriseJob: boolean;
446
+ tierText: string;
447
+ isApplied: boolean;
448
+ proposalsTier: string | null;
449
+ premium: boolean;
450
+ attrs: {
451
+ uid: string;
452
+ parentSkillUid: string | null;
453
+ prefLabel: string;
454
+ prettyName: string;
455
+ highlighted: boolean;
456
+ freeText?: any;
457
+ }[];
458
+ hourlyBudget: {
459
+ min: number;
460
+ max: number;
461
+ };
462
+ weeklyBudget: {
463
+ amount: number;
464
+ };
465
+ isSTSVectorSearchResult: boolean;
466
+ clientRelation?: any;
251
467
  };
252
468
  error: string;
253
- accountId: string;
254
- accountEmail: string;
255
469
  }, {
256
470
  region: "USOnly" | "UKOnly" | "Worldwide";
257
471
  listing: {
258
- uid: string | null;
259
- title: string | null;
260
- jobUrl: string | null;
261
- datetime: string | null;
262
- isFeatured: boolean | null;
263
- region: "USOnly" | "UKOnly" | "Worldwide" | null;
472
+ type: number;
473
+ uid: string;
474
+ title: string;
475
+ ciphertext: string;
476
+ description: string;
477
+ createdOn: string;
478
+ publishedOn: string;
479
+ renewedOn: string | null;
480
+ durationLabel: string | null;
481
+ engagement: string | null;
482
+ amount: {
483
+ amount: number;
484
+ };
485
+ connectPrice: number | null;
486
+ client: {
487
+ location: {
488
+ country: string | null;
489
+ };
490
+ isPaymentVerified: boolean;
491
+ totalSpent: string | null;
492
+ totalReviews: number;
493
+ totalFeedback: number;
494
+ hasFinancialPrivacy: boolean;
495
+ };
496
+ freelancersToHire: number;
497
+ relevanceEncoded: string;
498
+ enterpriseJob: boolean;
499
+ tierText: string;
500
+ isApplied: boolean;
501
+ proposalsTier: string | null;
502
+ premium: boolean;
503
+ attrs: {
504
+ uid: string;
505
+ parentSkillUid: string | null;
506
+ prefLabel: string;
507
+ prettyName: string;
508
+ highlighted: boolean;
509
+ freeText?: any;
510
+ }[];
511
+ hourlyBudget: {
512
+ min: number;
513
+ max: number;
514
+ };
515
+ weeklyBudget: {
516
+ amount: number;
517
+ };
518
+ isSTSVectorSearchResult: boolean;
519
+ clientRelation?: any;
264
520
  };
265
521
  error: string;
266
- accountId: string;
267
- accountEmail: string;
268
522
  }>;
269
523
  export declare const jobActivityScrapedEventMetadata: z.ZodObject<{
270
524
  activity: z.ZodObject<{
@@ -1,4 +1,4 @@
1
1
  import { z } from 'zod';
2
- export declare const proxyAvailableReplacementsSchema: z.ZodRecord<z.ZodEnum<["webshare", "decodo"]>, z.ZodNumber>;
2
+ export declare const proxyAvailableReplacementsSchema: z.ZodRecord<z.ZodEnum<["webshare", "decodo", "proxy-cheap"]>, z.ZodNumber>;
3
3
  export interface ProxyAvailableReplacements extends z.infer<typeof proxyAvailableReplacementsSchema> {
4
4
  }
@@ -1,7 +1,9 @@
1
- import { z } from "zod";
2
- import { proxyCountryEnum } from "./proxy-country";
1
+ import { z } from 'zod';
2
+ import { BidderAccount, ScraperAccount } from '../account';
3
+ import { proxyCountryEnum } from './proxy-country';
3
4
  export declare const proxyStatusSchema: z.ZodEnum<["invalid", "valid", "pending_validation"]>;
4
- export declare const proxyProviderSchema: z.ZodEnum<["webshare", "decodo"]>;
5
+ export declare const proxyProviderSchema: z.ZodEnum<["webshare", "decodo", "proxy-cheap"]>;
6
+ export declare const proxyTypeSchema: z.ZodEnum<["rotating", "static"]>;
5
7
  export declare const proxySchema: z.ZodObject<{
6
8
  id: z.ZodString;
7
9
  externalId: z.ZodString;
@@ -9,12 +11,13 @@ export declare const proxySchema: z.ZodObject<{
9
11
  port: z.ZodNumber;
10
12
  username: z.ZodString;
11
13
  password: z.ZodString;
12
- provider: z.ZodEnum<["webshare", "decodo"]>;
14
+ provider: z.ZodEnum<["webshare", "decodo", "proxy-cheap"]>;
13
15
  fraudScore: z.ZodNullable<z.ZodNumber>;
14
16
  claimedCountry: z.ZodEnum<["US", "CA", "GB", "AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "KH", "CM", "CV", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KP", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "AN", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "ZA", "GS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"]>;
15
17
  status: z.ZodNullable<z.ZodEnum<["invalid", "valid", "pending_validation"]>>;
16
18
  country: z.ZodNullable<z.ZodEnum<["US", "CA", "GB", "AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "KH", "CM", "CV", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KP", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "AN", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "ZA", "GS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"]>>;
17
19
  accountId: z.ZodNullable<z.ZodString>;
20
+ type: z.ZodEnum<["rotating", "static"]>;
18
21
  }, "strip", z.ZodTypeAny, {
19
22
  id: string;
20
23
  externalId: string;
@@ -22,12 +25,13 @@ export declare const proxySchema: z.ZodObject<{
22
25
  port: number;
23
26
  username: string;
24
27
  password: string;
25
- provider: "webshare" | "decodo";
28
+ provider: "webshare" | "decodo" | "proxy-cheap";
26
29
  fraudScore: number | null;
27
30
  claimedCountry: "US" | "CA" | "GB" | "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW";
28
31
  status: "invalid" | "valid" | "pending_validation" | null;
29
32
  country: "US" | "CA" | "GB" | "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW" | null;
30
33
  accountId: string | null;
34
+ type: "rotating" | "static";
31
35
  }, {
32
36
  id: string;
33
37
  externalId: string;
@@ -35,12 +39,13 @@ export declare const proxySchema: z.ZodObject<{
35
39
  port: number;
36
40
  username: string;
37
41
  password: string;
38
- provider: "webshare" | "decodo";
42
+ provider: "webshare" | "decodo" | "proxy-cheap";
39
43
  fraudScore: number | null;
40
44
  claimedCountry: "US" | "CA" | "GB" | "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW";
41
45
  status: "invalid" | "valid" | "pending_validation" | null;
42
46
  country: "US" | "CA" | "GB" | "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW" | null;
43
47
  accountId: string | null;
48
+ type: "rotating" | "static";
44
49
  }>;
45
50
  export declare const externalProxySchema: z.ZodObject<Omit<{
46
51
  id: z.ZodString;
@@ -49,34 +54,40 @@ export declare const externalProxySchema: z.ZodObject<Omit<{
49
54
  port: z.ZodNumber;
50
55
  username: z.ZodString;
51
56
  password: z.ZodString;
52
- provider: z.ZodEnum<["webshare", "decodo"]>;
57
+ provider: z.ZodEnum<["webshare", "decodo", "proxy-cheap"]>;
53
58
  fraudScore: z.ZodNullable<z.ZodNumber>;
54
59
  claimedCountry: z.ZodEnum<["US", "CA", "GB", "AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "KH", "CM", "CV", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KP", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "AN", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "ZA", "GS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"]>;
55
60
  status: z.ZodNullable<z.ZodEnum<["invalid", "valid", "pending_validation"]>>;
56
61
  country: z.ZodNullable<z.ZodEnum<["US", "CA", "GB", "AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "KH", "CM", "CV", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KP", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "AN", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "ZA", "GS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"]>>;
57
62
  accountId: z.ZodNullable<z.ZodString>;
63
+ type: z.ZodEnum<["rotating", "static"]>;
58
64
  }, "id" | "fraudScore" | "status" | "country" | "accountId">, "strip", z.ZodTypeAny, {
59
65
  externalId: string;
60
66
  host: string;
61
67
  port: number;
62
68
  username: string;
63
69
  password: string;
64
- provider: "webshare" | "decodo";
70
+ provider: "webshare" | "decodo" | "proxy-cheap";
65
71
  claimedCountry: "US" | "CA" | "GB" | "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW";
72
+ type: "rotating" | "static";
66
73
  }, {
67
74
  externalId: string;
68
75
  host: string;
69
76
  port: number;
70
77
  username: string;
71
78
  password: string;
72
- provider: "webshare" | "decodo";
79
+ provider: "webshare" | "decodo" | "proxy-cheap";
73
80
  claimedCountry: "US" | "CA" | "GB" | "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW";
81
+ type: "rotating" | "static";
74
82
  }>;
75
83
  export type ProxyProvider = z.infer<typeof proxyProviderSchema>;
76
84
  export type ProxyCountry = z.infer<typeof proxyCountryEnum>;
77
85
  export type ProxyStatus = z.infer<typeof proxyStatusSchema>;
78
86
  export interface Proxy extends z.infer<typeof proxySchema> {
87
+ account?: ScraperAccount | BidderAccount;
79
88
  }
89
+ export type ProxyType = z.infer<typeof proxyTypeSchema>;
80
90
  export interface ExternalProxy extends z.infer<typeof externalProxySchema> {
81
91
  claimedCountry: ProxyCountry;
92
+ type: ProxyType;
82
93
  }
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.externalProxySchema = exports.proxySchema = exports.proxyCountrySchema = exports.proxyProviderSchema = void 0;
3
+ exports.externalProxySchema = exports.proxySchema = exports.proxyCountrySchema = exports.proxyProviderSchema = exports.proxyStatusSchema = void 0;
4
4
  const zod_1 = require("zod");
5
+ exports.proxyStatusSchema = zod_1.z.enum(['ready', 'pending', 'to_replace']);
5
6
  exports.proxyProviderSchema = zod_1.z.enum(['webshare']);
6
7
  exports.proxyCountrySchema = zod_1.z.enum(['USA']);
7
8
  exports.proxySchema = zod_1.z.object({
@@ -13,6 +14,7 @@ exports.proxySchema = zod_1.z.object({
13
14
  password: zod_1.z.string(),
14
15
  provider: exports.proxyProviderSchema,
15
16
  country: exports.proxyCountrySchema,
17
+ status: exports.proxyStatusSchema,
16
18
  bidderId: zod_1.z.string().nullable(),
17
19
  });
18
20
  exports.externalProxySchema = exports.proxySchema.omit({
@@ -1501,6 +1501,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
1501
1501
  createdAt: import("zod").ZodNumber;
1502
1502
  updatedAt: import("zod").ZodNumber;
1503
1503
  region: import("zod").ZodEnum<["all", "Worldwide", "UKOnly", "USOnly"]>;
1504
+ isProtected: import("zod").ZodOptional<import("zod").ZodBoolean>;
1504
1505
  }, "strip", import("zod").ZodTypeAny, {
1505
1506
  region: "USOnly" | "UKOnly" | "Worldwide" | "all";
1506
1507
  id: string;
@@ -1524,6 +1525,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
1524
1525
  }[] | null;
1525
1526
  instanceId: string | null;
1526
1527
  googleOauthTokens?: any;
1528
+ isProtected?: boolean | undefined;
1527
1529
  }, {
1528
1530
  region: "USOnly" | "UKOnly" | "Worldwide" | "all";
1529
1531
  id: string;
@@ -1547,6 +1549,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
1547
1549
  }[] | null;
1548
1550
  instanceId: string | null;
1549
1551
  googleOauthTokens?: any;
1552
+ isProtected?: boolean | undefined;
1550
1553
  }>;
1551
1554
  firstExecutionTime: import("zod").ZodNumber;
1552
1555
  }, "strip", import("zod").ZodTypeAny, {
@@ -1842,6 +1845,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
1842
1845
  }[] | null;
1843
1846
  instanceId: string | null;
1844
1847
  googleOauthTokens?: any;
1848
+ isProtected?: boolean | undefined;
1845
1849
  };
1846
1850
  firstExecutionTime: number;
1847
1851
  }, {
@@ -2137,6 +2141,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
2137
2141
  }[] | null;
2138
2142
  instanceId: string | null;
2139
2143
  googleOauthTokens?: any;
2144
+ isProtected?: boolean | undefined;
2140
2145
  };
2141
2146
  firstExecutionTime: number;
2142
2147
  }>;