lancer-shared 1.2.295 → 1.2.296

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.
@@ -6551,6 +6551,23 @@ const proxyCountryCodeToName = {
6551
6551
  ZM: 'Zambia',
6552
6552
  ZW: 'Zimbabwe',
6553
6553
  };
6554
+ const largeCountries = [
6555
+ 'US',
6556
+ 'CN',
6557
+ 'IN',
6558
+ 'BR',
6559
+ 'CA',
6560
+ 'RU',
6561
+ 'AU',
6562
+ 'MX',
6563
+ 'TR',
6564
+ 'DE',
6565
+ 'GB',
6566
+ 'FR',
6567
+ 'IT',
6568
+ 'ES',
6569
+ 'UA',
6570
+ ];
6554
6571
 
6555
6572
  const proxyStatusSchema = z.enum([
6556
6573
  'invalid',
@@ -6580,6 +6597,7 @@ const proxySchema = z.object({
6580
6597
  city: z.string().nullable(),
6581
6598
  status: proxyStatusSchema.nullable(),
6582
6599
  country: proxyCountryEnum.nullable(),
6600
+ region: z.string().nullable(),
6583
6601
  accountId: z.string().nullable(),
6584
6602
  type: proxyTypeSchema,
6585
6603
  });
@@ -6648,6 +6666,7 @@ const connectUpworkAccountSchema = z.object({
6648
6666
  password: z.string(),
6649
6667
  securityQuestionAnswer: z.string().nullable(),
6650
6668
  targetCountry: proxyCountryEnum,
6669
+ targetRegion: z.string().optional(),
6651
6670
  });
6652
6671
  const createBidderAccountSchema = bidderAccountSchema
6653
6672
  .pick({
@@ -6679,7 +6698,6 @@ const verifyBidderAccountCredentialsResponseSchema = z.object({
6679
6698
  accountName: z.string().nullable(),
6680
6699
  accountPhotoUrl: z.string().nullable(),
6681
6700
  agencies: z.array(bidderAccountAgencySchema).nullable(),
6682
- specialisedProfiles: z.array(z.string()).nullable(),
6683
6701
  });
6684
6702
  const acceptUpworkInvitationSchema = z.object({
6685
6703
  code: z.string(),
@@ -15451,6 +15469,7 @@ const ROUTES = {
15451
15469
  DISMISS_CONNECTION_ERROR: (id) => `organizations/${id}/bidder-account-connection/dismiss-connection-error`,
15452
15470
  CONNECT_UPWORK_ACCOUNT: (id) => `organizations/${id}/bidder-accounts/connect-upwork-account`,
15453
15471
  RETRY_CONNECT_UPWORK_ACCOUNT: (id, bidderId) => `organizations/${id}/bidder-accounts/${bidderId}/retry-connect-upwork-account`,
15472
+ AVAILABLE_REGIONS: (id) => `organizations/${id}/bidder-accounts/available-regions`,
15454
15473
  },
15455
15474
  LEADS_BY_JOB_ID: (organizationId, jobId) => `organizations/${organizationId}/leads/${jobId}`,
15456
15475
  UPDATE_CAMPAIGN_PRIORITY: (organizationId) => `organizations/${organizationId}/update-campaign-priority`,
@@ -24410,6 +24429,7 @@ exports.jobSkillsSchema = jobSkillsSchema;
24410
24429
  exports.jobStatusOrder = jobStatusOrder;
24411
24430
  exports.labelEnum = labelEnum;
24412
24431
  exports.lancerBiddingExceptionEventMetadata = lancerBiddingExceptionEventMetadata;
24432
+ exports.largeCountries = largeCountries;
24413
24433
  exports.leadAnalysisActivitySchema = leadAnalysisActivitySchema;
24414
24434
  exports.leadBiddingConfigSchema = leadBiddingConfigSchema;
24415
24435
  exports.leadResponseSchema = leadResponseSchema;