lancer-shared 1.2.150 → 1.2.152

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.
@@ -12468,6 +12468,7 @@ const proxyProviderSchema = z.enum([
12468
12468
  'webshare',
12469
12469
  'decodo',
12470
12470
  'proxy-cheap',
12471
+ 'rayobyte',
12471
12472
  ]);
12472
12473
  const proxyTypeSchema = z.enum(['rotating', 'static']);
12473
12474
  const proxySchema = z.object({
@@ -12606,7 +12607,7 @@ class NoGoogleOAuthTokensFoundException extends Error {
12606
12607
  }
12607
12608
  const noGoogleOAuthTokensFoundException = (message) => new NoGoogleOAuthTokensFoundException(message);
12608
12609
 
12609
- const scraperAccountType = z.enum([
12610
+ const scraperAccountTypeEnum = z.enum([
12610
12611
  'feed',
12611
12612
  'job',
12612
12613
  'status',
@@ -12629,7 +12630,7 @@ const scraperAccountSchema = z.object({
12629
12630
  lastUsed: z.number().nullable(),
12630
12631
  multiloginProfileId: z.string().nullable(),
12631
12632
  proxyId: z.string().nullable(),
12632
- type: scraperAccountType,
12633
+ type: scraperAccountTypeEnum,
12633
12634
  createdAt: z.number(),
12634
12635
  updatedAt: z.number(),
12635
12636
  isProtected: z.boolean().optional(),
@@ -13852,6 +13853,9 @@ const LogEventTypeEnum = z.enum([
13852
13853
  'feedChunkEnrichFailed',
13853
13854
  'scrapeJobsCompleted',
13854
13855
  'scraperAccountError',
13856
+ 'scraperAccountSwapStarted',
13857
+ 'scraperAccountSwapCompleted',
13858
+ 'scraperAccountSwapFailed',
13855
13859
  ]);
13856
13860
  const logEventSchema = z.object({
13857
13861
  // The type of event (use a z.enum if possible)
@@ -13981,6 +13985,35 @@ const scraperAccountErrorEventMetadata = objectType({
13981
13985
  errorCode: stringType(),
13982
13986
  errorMessage: stringType(),
13983
13987
  });
13988
+ const scraperAccountSwapStartedEventMetadata = objectType({
13989
+ region: regionSchema,
13990
+ type: scraperAccountTypeEnum,
13991
+ accountId: stringType(),
13992
+ accountEmail: stringType(),
13993
+ });
13994
+ const scraperAccountSwapCompletedEventMetadata = scraperAccountSwapStartedEventMetadata
13995
+ .pick({
13996
+ region: true,
13997
+ type: true,
13998
+ accountId: true,
13999
+ accountEmail: true,
14000
+ })
14001
+ .extend({
14002
+ newAccountId: stringType(),
14003
+ newAccountEmail: stringType(),
14004
+ });
14005
+ const scraperAccountSwapFailedEventMetadata = scraperAccountSwapStartedEventMetadata
14006
+ .pick({
14007
+ region: true,
14008
+ type: true,
14009
+ accountId: true,
14010
+ accountEmail: true,
14011
+ })
14012
+ .extend({
14013
+ errorStack: stringType(),
14014
+ errorCode: stringType(),
14015
+ errorMessage: stringType(),
14016
+ });
13984
14017
 
13985
14018
  const planStripeMetadataSchema = objectType({
13986
14019
  id: stringType().regex(/^prod_[a-zA-Z0-9]+$/),
@@ -14958,7 +14991,10 @@ exports.scraperAccountErrorEventMetadata = scraperAccountErrorEventMetadata;
14958
14991
  exports.scraperAccountProxyNotFoundException = scraperAccountProxyNotFoundException;
14959
14992
  exports.scraperAccountRegionEnum = scraperAccountRegionEnum;
14960
14993
  exports.scraperAccountSchema = scraperAccountSchema;
14961
- exports.scraperAccountType = scraperAccountType;
14994
+ exports.scraperAccountSwapCompletedEventMetadata = scraperAccountSwapCompletedEventMetadata;
14995
+ exports.scraperAccountSwapFailedEventMetadata = scraperAccountSwapFailedEventMetadata;
14996
+ exports.scraperAccountSwapStartedEventMetadata = scraperAccountSwapStartedEventMetadata;
14997
+ exports.scraperAccountTypeEnum = scraperAccountTypeEnum;
14962
14998
  exports.selectAgencyException = selectAgencyException;
14963
14999
  exports.selectContractorException = selectContractorException;
14964
15000
  exports.selectorNotFoundError = selectorNotFoundError;
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import { Proxy } from '../proxy';
3
- export declare const scraperAccountType: z.ZodEnum<["feed", "job", "status", "activity", "profile", "unauthenticated"]>;
3
+ export declare const scraperAccountTypeEnum: z.ZodEnum<["feed", "job", "status", "activity", "profile", "unauthenticated"]>;
4
4
  export declare const scraperAccountRegionEnum: z.ZodEnum<["Worldwide", "UKOnly", "USOnly"]>;
5
5
  export declare const scraperAccountSchema: z.ZodObject<{
6
6
  id: z.ZodString;
@@ -121,7 +121,7 @@ export declare const updateScraperAccountSchema: z.ZodObject<{
121
121
  updatedAt?: number | undefined;
122
122
  isProtected?: boolean | undefined;
123
123
  }>;
124
- export type ScraperAccountType = z.infer<typeof scraperAccountType>;
124
+ export type ScraperAccountType = z.infer<typeof scraperAccountTypeEnum>;
125
125
  export interface ScraperAccount extends z.infer<typeof scraperAccountSchema> {
126
126
  proxy?: Proxy;
127
127
  }
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
- export declare const LogEventTypeEnum: z.ZodEnum<["leadStatusCheckFailed", "leadStatusUpdated", "jobSyncPublished", "jobSyncReceived", "jobsIndexed", "leadsCreatedAndSynced", "jobDuplicateSkipped", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "biddingPending", "biddingRetry", "biddingInsufficientConnects", "biddingWarningAlert", "biddingRejected", "biddingRejectedWithFeedback", "checkSuitableLeadFeedbackStatus", "biddingApproved", "acceptInvitationFailed", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged", "feedScrapeStarted", "feedScrapeCompleted", "feedScrapeFailed", "feedEnrichStarted", "feedEnrichCompleted", "feedEnrichFailed", "feedJobEnrichStarted", "feedJobEnrichCompleted", "feedJobEnrichFailed", "feedChunkEnrichStarted", "feedChunkEnrichCompleted", "feedChunkEnrichFailed", "scrapeJobsCompleted", "scraperAccountError"]>;
2
+ export declare const LogEventTypeEnum: z.ZodEnum<["leadStatusCheckFailed", "leadStatusUpdated", "jobSyncPublished", "jobSyncReceived", "jobsIndexed", "leadsCreatedAndSynced", "jobDuplicateSkipped", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "biddingPending", "biddingRetry", "biddingInsufficientConnects", "biddingWarningAlert", "biddingRejected", "biddingRejectedWithFeedback", "checkSuitableLeadFeedbackStatus", "biddingApproved", "acceptInvitationFailed", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged", "feedScrapeStarted", "feedScrapeCompleted", "feedScrapeFailed", "feedEnrichStarted", "feedEnrichCompleted", "feedEnrichFailed", "feedJobEnrichStarted", "feedJobEnrichCompleted", "feedJobEnrichFailed", "feedChunkEnrichStarted", "feedChunkEnrichCompleted", "feedChunkEnrichFailed", "scrapeJobsCompleted", "scraperAccountError", "scraperAccountSwapStarted", "scraperAccountSwapCompleted", "scraperAccountSwapFailed"]>;
3
3
  export declare const logEventSchema: z.ZodObject<{
4
- type: z.ZodEnum<["leadStatusCheckFailed", "leadStatusUpdated", "jobSyncPublished", "jobSyncReceived", "jobsIndexed", "leadsCreatedAndSynced", "jobDuplicateSkipped", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "biddingPending", "biddingRetry", "biddingInsufficientConnects", "biddingWarningAlert", "biddingRejected", "biddingRejectedWithFeedback", "checkSuitableLeadFeedbackStatus", "biddingApproved", "acceptInvitationFailed", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged", "feedScrapeStarted", "feedScrapeCompleted", "feedScrapeFailed", "feedEnrichStarted", "feedEnrichCompleted", "feedEnrichFailed", "feedJobEnrichStarted", "feedJobEnrichCompleted", "feedJobEnrichFailed", "feedChunkEnrichStarted", "feedChunkEnrichCompleted", "feedChunkEnrichFailed", "scrapeJobsCompleted", "scraperAccountError"]>;
4
+ type: z.ZodEnum<["leadStatusCheckFailed", "leadStatusUpdated", "jobSyncPublished", "jobSyncReceived", "jobsIndexed", "leadsCreatedAndSynced", "jobDuplicateSkipped", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "biddingPending", "biddingRetry", "biddingInsufficientConnects", "biddingWarningAlert", "biddingRejected", "biddingRejectedWithFeedback", "checkSuitableLeadFeedbackStatus", "biddingApproved", "acceptInvitationFailed", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged", "feedScrapeStarted", "feedScrapeCompleted", "feedScrapeFailed", "feedEnrichStarted", "feedEnrichCompleted", "feedEnrichFailed", "feedJobEnrichStarted", "feedJobEnrichCompleted", "feedJobEnrichFailed", "feedChunkEnrichStarted", "feedChunkEnrichCompleted", "feedChunkEnrichFailed", "scrapeJobsCompleted", "scraperAccountError", "scraperAccountSwapStarted", "scraperAccountSwapCompleted", "scraperAccountSwapFailed"]>;
5
5
  source: z.ZodString;
6
6
  resourceType: z.ZodDefault<z.ZodString>;
7
7
  resourceId: z.ZodNullable<z.ZodString>;
@@ -13,7 +13,7 @@ export declare const logEventSchema: z.ZodObject<{
13
13
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
14
14
  timestamp: z.ZodNumber;
15
15
  }, "strip", z.ZodTypeAny, {
16
- type: "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "manualSuitabilityAnalyzed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "manualProposalGenerated" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "acceptInvitationFailed" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "feedEnrichStarted" | "feedEnrichCompleted" | "feedEnrichFailed" | "feedJobEnrichStarted" | "feedJobEnrichCompleted" | "feedJobEnrichFailed" | "feedChunkEnrichStarted" | "feedChunkEnrichCompleted" | "feedChunkEnrichFailed" | "scrapeJobsCompleted" | "scraperAccountError";
16
+ type: "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "manualSuitabilityAnalyzed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "manualProposalGenerated" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "acceptInvitationFailed" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "feedEnrichStarted" | "feedEnrichCompleted" | "feedEnrichFailed" | "feedJobEnrichStarted" | "feedJobEnrichCompleted" | "feedJobEnrichFailed" | "feedChunkEnrichStarted" | "feedChunkEnrichCompleted" | "feedChunkEnrichFailed" | "scrapeJobsCompleted" | "scraperAccountError" | "scraperAccountSwapStarted" | "scraperAccountSwapCompleted" | "scraperAccountSwapFailed";
17
17
  source: string;
18
18
  resourceType: string;
19
19
  resourceId: string | null;
@@ -25,7 +25,7 @@ export declare const logEventSchema: z.ZodObject<{
25
25
  metadata: Record<string, unknown> | null;
26
26
  timestamp: number;
27
27
  }, {
28
- type: "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "manualSuitabilityAnalyzed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "manualProposalGenerated" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "acceptInvitationFailed" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "feedEnrichStarted" | "feedEnrichCompleted" | "feedEnrichFailed" | "feedJobEnrichStarted" | "feedJobEnrichCompleted" | "feedJobEnrichFailed" | "feedChunkEnrichStarted" | "feedChunkEnrichCompleted" | "feedChunkEnrichFailed" | "scrapeJobsCompleted" | "scraperAccountError";
28
+ type: "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "manualSuitabilityAnalyzed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "manualProposalGenerated" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "acceptInvitationFailed" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "feedEnrichStarted" | "feedEnrichCompleted" | "feedEnrichFailed" | "feedJobEnrichStarted" | "feedJobEnrichCompleted" | "feedJobEnrichFailed" | "feedChunkEnrichStarted" | "feedChunkEnrichCompleted" | "feedChunkEnrichFailed" | "scrapeJobsCompleted" | "scraperAccountError" | "scraperAccountSwapStarted" | "scraperAccountSwapCompleted" | "scraperAccountSwapFailed";
29
29
  source: string;
30
30
  resourceId: string | null;
31
31
  organizationId: string | null;
@@ -340,7 +340,7 @@ export declare const proposalCompleteEventMetadataSchema: z.ZodObject<{
340
340
  }>;
341
341
  export type ProposalCompleteEventMetadata = z.infer<typeof proposalCompleteEventMetadataSchema>;
342
342
  export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
343
- type: z.ZodEnum<["leadStatusCheckFailed", "leadStatusUpdated", "jobSyncPublished", "jobSyncReceived", "jobsIndexed", "leadsCreatedAndSynced", "jobDuplicateSkipped", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "biddingPending", "biddingRetry", "biddingInsufficientConnects", "biddingWarningAlert", "biddingRejected", "biddingRejectedWithFeedback", "checkSuitableLeadFeedbackStatus", "biddingApproved", "acceptInvitationFailed", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged", "feedScrapeStarted", "feedScrapeCompleted", "feedScrapeFailed", "feedEnrichStarted", "feedEnrichCompleted", "feedEnrichFailed", "feedJobEnrichStarted", "feedJobEnrichCompleted", "feedJobEnrichFailed", "feedChunkEnrichStarted", "feedChunkEnrichCompleted", "feedChunkEnrichFailed", "scrapeJobsCompleted", "scraperAccountError"]>;
343
+ type: z.ZodEnum<["leadStatusCheckFailed", "leadStatusUpdated", "jobSyncPublished", "jobSyncReceived", "jobsIndexed", "leadsCreatedAndSynced", "jobDuplicateSkipped", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "biddingPending", "biddingRetry", "biddingInsufficientConnects", "biddingWarningAlert", "biddingRejected", "biddingRejectedWithFeedback", "checkSuitableLeadFeedbackStatus", "biddingApproved", "acceptInvitationFailed", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged", "feedScrapeStarted", "feedScrapeCompleted", "feedScrapeFailed", "feedEnrichStarted", "feedEnrichCompleted", "feedEnrichFailed", "feedJobEnrichStarted", "feedJobEnrichCompleted", "feedJobEnrichFailed", "feedChunkEnrichStarted", "feedChunkEnrichCompleted", "feedChunkEnrichFailed", "scrapeJobsCompleted", "scraperAccountError", "scraperAccountSwapStarted", "scraperAccountSwapCompleted", "scraperAccountSwapFailed"]>;
344
344
  source: z.ZodString;
345
345
  resourceType: z.ZodDefault<z.ZodString>;
346
346
  resourceId: z.ZodNullable<z.ZodString>;
@@ -352,7 +352,7 @@ export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
352
352
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
353
353
  timestamp: z.ZodNumber;
354
354
  }, "strip", z.ZodTypeAny, {
355
- type: "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "manualSuitabilityAnalyzed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "manualProposalGenerated" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "acceptInvitationFailed" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "feedEnrichStarted" | "feedEnrichCompleted" | "feedEnrichFailed" | "feedJobEnrichStarted" | "feedJobEnrichCompleted" | "feedJobEnrichFailed" | "feedChunkEnrichStarted" | "feedChunkEnrichCompleted" | "feedChunkEnrichFailed" | "scrapeJobsCompleted" | "scraperAccountError";
355
+ type: "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "manualSuitabilityAnalyzed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "manualProposalGenerated" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "acceptInvitationFailed" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "feedEnrichStarted" | "feedEnrichCompleted" | "feedEnrichFailed" | "feedJobEnrichStarted" | "feedJobEnrichCompleted" | "feedJobEnrichFailed" | "feedChunkEnrichStarted" | "feedChunkEnrichCompleted" | "feedChunkEnrichFailed" | "scrapeJobsCompleted" | "scraperAccountError" | "scraperAccountSwapStarted" | "scraperAccountSwapCompleted" | "scraperAccountSwapFailed";
356
356
  source: string;
357
357
  resourceType: string;
358
358
  resourceId: string | null;
@@ -364,7 +364,7 @@ export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
364
364
  metadata: Record<string, unknown> | null;
365
365
  timestamp: number;
366
366
  }, {
367
- type: "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "manualSuitabilityAnalyzed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "manualProposalGenerated" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "acceptInvitationFailed" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "feedEnrichStarted" | "feedEnrichCompleted" | "feedEnrichFailed" | "feedJobEnrichStarted" | "feedJobEnrichCompleted" | "feedJobEnrichFailed" | "feedChunkEnrichStarted" | "feedChunkEnrichCompleted" | "feedChunkEnrichFailed" | "scrapeJobsCompleted" | "scraperAccountError";
367
+ type: "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "manualSuitabilityAnalyzed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "manualProposalGenerated" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "acceptInvitationFailed" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "feedEnrichStarted" | "feedEnrichCompleted" | "feedEnrichFailed" | "feedJobEnrichStarted" | "feedJobEnrichCompleted" | "feedJobEnrichFailed" | "feedChunkEnrichStarted" | "feedChunkEnrichCompleted" | "feedChunkEnrichFailed" | "scrapeJobsCompleted" | "scraperAccountError" | "scraperAccountSwapStarted" | "scraperAccountSwapCompleted" | "scraperAccountSwapFailed";
368
368
  source: string;
369
369
  resourceId: string | null;
370
370
  organizationId: string | null;
@@ -376,7 +376,7 @@ export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
376
376
  timestamp: number;
377
377
  resourceType?: string | undefined;
378
378
  }>, z.ZodArray<z.ZodObject<{
379
- type: z.ZodEnum<["leadStatusCheckFailed", "leadStatusUpdated", "jobSyncPublished", "jobSyncReceived", "jobsIndexed", "leadsCreatedAndSynced", "jobDuplicateSkipped", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "biddingPending", "biddingRetry", "biddingInsufficientConnects", "biddingWarningAlert", "biddingRejected", "biddingRejectedWithFeedback", "checkSuitableLeadFeedbackStatus", "biddingApproved", "acceptInvitationFailed", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged", "feedScrapeStarted", "feedScrapeCompleted", "feedScrapeFailed", "feedEnrichStarted", "feedEnrichCompleted", "feedEnrichFailed", "feedJobEnrichStarted", "feedJobEnrichCompleted", "feedJobEnrichFailed", "feedChunkEnrichStarted", "feedChunkEnrichCompleted", "feedChunkEnrichFailed", "scrapeJobsCompleted", "scraperAccountError"]>;
379
+ type: z.ZodEnum<["leadStatusCheckFailed", "leadStatusUpdated", "jobSyncPublished", "jobSyncReceived", "jobsIndexed", "leadsCreatedAndSynced", "jobDuplicateSkipped", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "biddingPending", "biddingRetry", "biddingInsufficientConnects", "biddingWarningAlert", "biddingRejected", "biddingRejectedWithFeedback", "checkSuitableLeadFeedbackStatus", "biddingApproved", "acceptInvitationFailed", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged", "feedScrapeStarted", "feedScrapeCompleted", "feedScrapeFailed", "feedEnrichStarted", "feedEnrichCompleted", "feedEnrichFailed", "feedJobEnrichStarted", "feedJobEnrichCompleted", "feedJobEnrichFailed", "feedChunkEnrichStarted", "feedChunkEnrichCompleted", "feedChunkEnrichFailed", "scrapeJobsCompleted", "scraperAccountError", "scraperAccountSwapStarted", "scraperAccountSwapCompleted", "scraperAccountSwapFailed"]>;
380
380
  source: z.ZodString;
381
381
  resourceType: z.ZodDefault<z.ZodString>;
382
382
  resourceId: z.ZodNullable<z.ZodString>;
@@ -388,7 +388,7 @@ export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
388
388
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
389
389
  timestamp: z.ZodNumber;
390
390
  }, "strip", z.ZodTypeAny, {
391
- type: "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "manualSuitabilityAnalyzed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "manualProposalGenerated" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "acceptInvitationFailed" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "feedEnrichStarted" | "feedEnrichCompleted" | "feedEnrichFailed" | "feedJobEnrichStarted" | "feedJobEnrichCompleted" | "feedJobEnrichFailed" | "feedChunkEnrichStarted" | "feedChunkEnrichCompleted" | "feedChunkEnrichFailed" | "scrapeJobsCompleted" | "scraperAccountError";
391
+ type: "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "manualSuitabilityAnalyzed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "manualProposalGenerated" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "acceptInvitationFailed" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "feedEnrichStarted" | "feedEnrichCompleted" | "feedEnrichFailed" | "feedJobEnrichStarted" | "feedJobEnrichCompleted" | "feedJobEnrichFailed" | "feedChunkEnrichStarted" | "feedChunkEnrichCompleted" | "feedChunkEnrichFailed" | "scrapeJobsCompleted" | "scraperAccountError" | "scraperAccountSwapStarted" | "scraperAccountSwapCompleted" | "scraperAccountSwapFailed";
392
392
  source: string;
393
393
  resourceType: string;
394
394
  resourceId: string | null;
@@ -400,7 +400,7 @@ export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
400
400
  metadata: Record<string, unknown> | null;
401
401
  timestamp: number;
402
402
  }, {
403
- type: "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "manualSuitabilityAnalyzed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "manualProposalGenerated" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "acceptInvitationFailed" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "feedEnrichStarted" | "feedEnrichCompleted" | "feedEnrichFailed" | "feedJobEnrichStarted" | "feedJobEnrichCompleted" | "feedJobEnrichFailed" | "feedChunkEnrichStarted" | "feedChunkEnrichCompleted" | "feedChunkEnrichFailed" | "scrapeJobsCompleted" | "scraperAccountError";
403
+ type: "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "manualSuitabilityAnalyzed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "manualProposalGenerated" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "acceptInvitationFailed" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "feedEnrichStarted" | "feedEnrichCompleted" | "feedEnrichFailed" | "feedJobEnrichStarted" | "feedJobEnrichCompleted" | "feedJobEnrichFailed" | "feedChunkEnrichStarted" | "feedChunkEnrichCompleted" | "feedChunkEnrichFailed" | "scrapeJobsCompleted" | "scraperAccountError" | "scraperAccountSwapStarted" | "scraperAccountSwapCompleted" | "scraperAccountSwapFailed";
404
404
  source: string;
405
405
  resourceId: string | null;
406
406
  organizationId: string | null;
@@ -437,7 +437,82 @@ export declare const scraperAccountErrorEventMetadata: z.ZodObject<{
437
437
  errorCode: string;
438
438
  errorMessage: string;
439
439
  }>;
440
+ export declare const scraperAccountSwapStartedEventMetadata: z.ZodObject<{
441
+ region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
442
+ type: z.ZodEnum<["feed", "job", "status", "activity", "profile", "unauthenticated"]>;
443
+ accountId: z.ZodString;
444
+ accountEmail: z.ZodString;
445
+ }, "strip", z.ZodTypeAny, {
446
+ type: "status" | "activity" | "feed" | "job" | "profile" | "unauthenticated";
447
+ region: "USOnly" | "UKOnly" | "Worldwide";
448
+ accountId: string;
449
+ accountEmail: string;
450
+ }, {
451
+ type: "status" | "activity" | "feed" | "job" | "profile" | "unauthenticated";
452
+ region: "USOnly" | "UKOnly" | "Worldwide";
453
+ accountId: string;
454
+ accountEmail: string;
455
+ }>;
456
+ export declare const scraperAccountSwapCompletedEventMetadata: z.ZodObject<z.objectUtil.extendShape<Pick<{
457
+ region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
458
+ type: z.ZodEnum<["feed", "job", "status", "activity", "profile", "unauthenticated"]>;
459
+ accountId: z.ZodString;
460
+ accountEmail: z.ZodString;
461
+ }, "type" | "region" | "accountId" | "accountEmail">, {
462
+ newAccountId: z.ZodString;
463
+ newAccountEmail: z.ZodString;
464
+ }>, "strip", z.ZodTypeAny, {
465
+ type: "status" | "activity" | "feed" | "job" | "profile" | "unauthenticated";
466
+ region: "USOnly" | "UKOnly" | "Worldwide";
467
+ accountId: string;
468
+ accountEmail: string;
469
+ newAccountId: string;
470
+ newAccountEmail: string;
471
+ }, {
472
+ type: "status" | "activity" | "feed" | "job" | "profile" | "unauthenticated";
473
+ region: "USOnly" | "UKOnly" | "Worldwide";
474
+ accountId: string;
475
+ accountEmail: string;
476
+ newAccountId: string;
477
+ newAccountEmail: string;
478
+ }>;
479
+ export declare const scraperAccountSwapFailedEventMetadata: z.ZodObject<z.objectUtil.extendShape<Pick<{
480
+ region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
481
+ type: z.ZodEnum<["feed", "job", "status", "activity", "profile", "unauthenticated"]>;
482
+ accountId: z.ZodString;
483
+ accountEmail: z.ZodString;
484
+ }, "type" | "region" | "accountId" | "accountEmail">, {
485
+ errorStack: z.ZodString;
486
+ errorCode: z.ZodString;
487
+ errorMessage: z.ZodString;
488
+ }>, "strip", z.ZodTypeAny, {
489
+ type: "status" | "activity" | "feed" | "job" | "profile" | "unauthenticated";
490
+ region: "USOnly" | "UKOnly" | "Worldwide";
491
+ errorStack: string;
492
+ errorCode: string;
493
+ errorMessage: string;
494
+ accountId: string;
495
+ accountEmail: string;
496
+ }, {
497
+ type: "status" | "activity" | "feed" | "job" | "profile" | "unauthenticated";
498
+ region: "USOnly" | "UKOnly" | "Worldwide";
499
+ errorStack: string;
500
+ errorCode: string;
501
+ errorMessage: string;
502
+ accountId: string;
503
+ accountEmail: string;
504
+ }>;
440
505
  export interface ScrapeJobsCompletedEventMetadata extends z.infer<typeof scrapeJobsCompletedEventMetadata> {
441
506
  }
507
+ export interface JobActivityScrapedEventMetadata extends z.infer<typeof jobActivityScrapedEventMetadata> {
508
+ }
509
+ export interface JobActivityScrapeFailedEventMetadata extends z.infer<typeof jobActivityScrapeFailedEventMetadata> {
510
+ }
442
511
  export interface ScraperAccountErrorEventMetadata extends z.infer<typeof scraperAccountErrorEventMetadata> {
443
512
  }
513
+ export interface ScraperAccountSwapStartedEventMetadata extends z.infer<typeof scraperAccountSwapStartedEventMetadata> {
514
+ }
515
+ export interface ScraperAccountSwapCompletedEventMetadata extends z.infer<typeof scraperAccountSwapCompletedEventMetadata> {
516
+ }
517
+ export interface ScraperAccountSwapFailedEventMetadata extends z.infer<typeof scraperAccountSwapFailedEventMetadata> {
518
+ }
@@ -3,7 +3,7 @@ import { BidderAccount, ScraperAccount } from '../account';
3
3
  import { Region } from '../shared';
4
4
  import { proxyCountryEnum } from './proxy-country';
5
5
  export declare const proxyStatusSchema: z.ZodEnum<["invalid", "valid", "pending_validation"]>;
6
- export declare const proxyProviderSchema: z.ZodEnum<["webshare", "decodo", "proxy-cheap"]>;
6
+ export declare const proxyProviderSchema: z.ZodEnum<["webshare", "decodo", "proxy-cheap", "rayobyte"]>;
7
7
  export declare const proxyTypeSchema: z.ZodEnum<["rotating", "static"]>;
8
8
  export declare const proxySchema: z.ZodObject<{
9
9
  id: z.ZodString;
@@ -12,7 +12,7 @@ export declare const proxySchema: z.ZodObject<{
12
12
  port: z.ZodNumber;
13
13
  username: z.ZodString;
14
14
  password: z.ZodString;
15
- provider: z.ZodEnum<["webshare", "decodo", "proxy-cheap"]>;
15
+ provider: z.ZodEnum<["webshare", "decodo", "proxy-cheap", "rayobyte"]>;
16
16
  fraudScore: z.ZodNullable<z.ZodNumber>;
17
17
  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"]>;
18
18
  status: z.ZodNullable<z.ZodEnum<["invalid", "valid", "pending_validation"]>>;
@@ -26,7 +26,7 @@ export declare const proxySchema: z.ZodObject<{
26
26
  port: number;
27
27
  username: string;
28
28
  password: string;
29
- provider: "webshare" | "decodo" | "proxy-cheap";
29
+ provider: "webshare" | "decodo" | "proxy-cheap" | "rayobyte";
30
30
  fraudScore: number | null;
31
31
  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";
32
32
  status: "invalid" | "valid" | "pending_validation" | null;
@@ -40,7 +40,7 @@ export declare const proxySchema: z.ZodObject<{
40
40
  port: number;
41
41
  username: string;
42
42
  password: string;
43
- provider: "webshare" | "decodo" | "proxy-cheap";
43
+ provider: "webshare" | "decodo" | "proxy-cheap" | "rayobyte";
44
44
  fraudScore: number | null;
45
45
  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";
46
46
  status: "invalid" | "valid" | "pending_validation" | null;
@@ -55,7 +55,7 @@ export declare const externalProxySchema: z.ZodObject<Omit<{
55
55
  port: z.ZodNumber;
56
56
  username: z.ZodString;
57
57
  password: z.ZodString;
58
- provider: z.ZodEnum<["webshare", "decodo", "proxy-cheap"]>;
58
+ provider: z.ZodEnum<["webshare", "decodo", "proxy-cheap", "rayobyte"]>;
59
59
  fraudScore: z.ZodNullable<z.ZodNumber>;
60
60
  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"]>;
61
61
  status: z.ZodNullable<z.ZodEnum<["invalid", "valid", "pending_validation"]>>;
@@ -68,7 +68,7 @@ export declare const externalProxySchema: z.ZodObject<Omit<{
68
68
  port: number;
69
69
  username: string;
70
70
  password: string;
71
- provider: "webshare" | "decodo" | "proxy-cheap";
71
+ provider: "webshare" | "decodo" | "proxy-cheap" | "rayobyte";
72
72
  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";
73
73
  type: "rotating" | "static";
74
74
  }, {
@@ -77,7 +77,7 @@ export declare const externalProxySchema: z.ZodObject<Omit<{
77
77
  port: number;
78
78
  username: string;
79
79
  password: string;
80
- provider: "webshare" | "decodo" | "proxy-cheap";
80
+ provider: "webshare" | "decodo" | "proxy-cheap" | "rayobyte";
81
81
  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";
82
82
  type: "rotating" | "static";
83
83
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lancer-shared",
3
- "version": "1.2.150",
3
+ "version": "1.2.152",
4
4
  "description": "This package contains shared stuff.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "dist/bundle.cjs.js",