lancer-shared 1.2.313 → 1.2.315

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.
@@ -6671,6 +6671,7 @@ const bidderAccountSchema = z.object({
6671
6671
  failedToRefreshRoomsAttempts: z.number().nullable(),
6672
6672
  roomsRefreshedAt: z.number().nullable(),
6673
6673
  userId: z.string().nullable(),
6674
+ connectingToChatStartedAt: z.number().nullable(),
6674
6675
  });
6675
6676
  const connectUpworkAccountSchema = z.object({
6676
6677
  email: z.string().email(),
@@ -6727,13 +6728,18 @@ const reconnectBidderAccountResponseSchema = z.object({
6727
6728
  photoUrl: z.string(),
6728
6729
  contractors: z.array(bidderAccountAgencyContractorSchema),
6729
6730
  });
6731
+ const upworkOrganizationTypeEnum = z.enum([
6732
+ 'freelancer',
6733
+ 'agency',
6734
+ 'client',
6735
+ ]);
6730
6736
  const upworkOrganizationSchema = z.object({
6731
6737
  label: z.string(),
6732
6738
  photo_url: z.string(),
6733
6739
  uid: z.string(),
6734
6740
  id: z.string(),
6735
6741
  link: z.string(),
6736
- type: z.enum(['freelancer', 'agency']),
6742
+ type: upworkOrganizationTypeEnum,
6737
6743
  type_title: z.string(),
6738
6744
  is_active: z.boolean(),
6739
6745
  monetizedTitle: z.string(),
@@ -24879,6 +24885,7 @@ exports.upworkAccountConnectSchema = upworkAccountConnectSchema;
24879
24885
  exports.upworkAccountConnectStatusSchema = upworkAccountConnectStatusSchema;
24880
24886
  exports.upworkJobSchema = upworkJobSchema;
24881
24887
  exports.upworkOrganizationSchema = upworkOrganizationSchema;
24888
+ exports.upworkOrganizationTypeEnum = upworkOrganizationTypeEnum;
24882
24889
  exports.upworkProfileSchema = upworkProfileSchema;
24883
24890
  exports.upworkTalentCountrySchema = upworkTalentCountrySchema;
24884
24891
  exports.upworkTalentSchema = upworkTalentSchema;