lancer-shared 1.2.313 → 1.2.314

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.
@@ -129,6 +129,7 @@ export declare const bidderAccountSchema: z.ZodObject<{
129
129
  failedToRefreshRoomsAttempts: z.ZodNullable<z.ZodNumber>;
130
130
  roomsRefreshedAt: z.ZodNullable<z.ZodNumber>;
131
131
  userId: z.ZodNullable<z.ZodString>;
132
+ connectingToChatStartedAt: z.ZodNullable<z.ZodNumber>;
132
133
  }, "strip", z.ZodTypeAny, {
133
134
  name: string | null;
134
135
  status: "connected" | "failed_to_connect" | "connecting" | "draft" | "reconnecting";
@@ -170,6 +171,7 @@ export declare const bidderAccountSchema: z.ZodObject<{
170
171
  failedToRefreshRoomsAttempts: number | null;
171
172
  roomsRefreshedAt: number | null;
172
173
  userId: string | null;
174
+ connectingToChatStartedAt: number | null;
173
175
  googleOauthTokens?: any;
174
176
  isProtected?: boolean | undefined;
175
177
  }, {
@@ -213,6 +215,7 @@ export declare const bidderAccountSchema: z.ZodObject<{
213
215
  failedToRefreshRoomsAttempts: number | null;
214
216
  roomsRefreshedAt: number | null;
215
217
  userId: string | null;
218
+ connectingToChatStartedAt: number | null;
216
219
  googleOauthTokens?: any;
217
220
  isProtected?: boolean | undefined;
218
221
  }>;
@@ -308,6 +311,7 @@ export declare const createBidderAccountSchema: z.ZodObject<z.objectUtil.extendS
308
311
  failedToRefreshRoomsAttempts: z.ZodNullable<z.ZodNumber>;
309
312
  roomsRefreshedAt: z.ZodNullable<z.ZodNumber>;
310
313
  userId: z.ZodNullable<z.ZodString>;
314
+ connectingToChatStartedAt: z.ZodNullable<z.ZodNumber>;
311
315
  }, "name" | "provider" | "email" | "password" | "securityQuestionAnswer" | "assignedOrganizations" | "multiLoginProfileId" | "proxyId" | "profilePhotoUrl" | "agencies" | "region">, {
312
316
  proxyCountry: z.ZodNullable<z.ZodEnum<["US", "CA", "GB", "AF", "AL", "DZ", "AD", "AO", "AR", "AM", "AU", "AT", "AZ", "BD", "BY", "BE", "BA", "BR", "BG", "CM", "CF", "CL", "CN", "CO", "CR", "HR", "CY", "CZ", "DK", "DM", "DO", "EC", "EG", "SV", "EE", "ET", "FI", "FR", "GE", "DE", "GH", "GR", "GL", "GD", "GT", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IL", "IT", "JM", "JP", "JO", "KZ", "KR", "LV", "LB", "LT", "LU", "MK", "MW", "MY", "MT", "MX", "FM", "MD", "MC", "MN", "ME", "MA", "NL", "NZ", "NI", "NG", "NO", "PK", "PW", "PY", "PE", "PH", "PL", "PT", "PR", "QA", "RO", "RU", "SM", "SA", "SN", "RS", "SG", "SK", "SI", "SO", "ZA", "ES", "LK", "SR", "SE", "CH", "TH", "TR", "UG", "UA", "AE", "UY", "UZ", "VE", "VN", "YE", "ZM", "ZW"]>>;
313
317
  }>, "strip", z.ZodTypeAny, {
@@ -427,6 +431,7 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
427
431
  failedToRefreshRoomsAttempts: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
428
432
  roomsRefreshedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
429
433
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
434
+ connectingToChatStartedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
430
435
  }, "strip", z.ZodTypeAny, {
431
436
  name?: string | null | undefined;
432
437
  status?: "connected" | "failed_to_connect" | "connecting" | "draft" | "reconnecting" | undefined;
@@ -469,6 +474,7 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
469
474
  failedToRefreshRoomsAttempts?: number | null | undefined;
470
475
  roomsRefreshedAt?: number | null | undefined;
471
476
  userId?: string | null | undefined;
477
+ connectingToChatStartedAt?: number | null | undefined;
472
478
  }, {
473
479
  name?: string | null | undefined;
474
480
  status?: "connected" | "failed_to_connect" | "connecting" | "draft" | "reconnecting" | undefined;
@@ -511,6 +517,7 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
511
517
  failedToRefreshRoomsAttempts?: number | null | undefined;
512
518
  roomsRefreshedAt?: number | null | undefined;
513
519
  userId?: string | null | undefined;
520
+ connectingToChatStartedAt?: number | null | undefined;
514
521
  }>;
515
522
  export declare const verifyBidderAccountCredentialsSchema: z.ZodObject<{
516
523
  organizationId: z.ZodString;
@@ -680,13 +687,13 @@ export declare const upworkOrganizationSchema: z.ZodObject<{
680
687
  uid: z.ZodString;
681
688
  id: z.ZodString;
682
689
  link: z.ZodString;
683
- type: z.ZodEnum<["freelancer", "agency"]>;
690
+ type: z.ZodEnum<["freelancer", "agency", "client"]>;
684
691
  type_title: z.ZodString;
685
692
  is_active: z.ZodBoolean;
686
693
  monetizedTitle: z.ZodString;
687
694
  portrait100: z.ZodOptional<z.ZodString>;
688
695
  }, "strip", z.ZodTypeAny, {
689
- type: "freelancer" | "agency";
696
+ type: "freelancer" | "agency" | "client";
690
697
  id: string;
691
698
  label: string;
692
699
  photo_url: string;
@@ -697,7 +704,7 @@ export declare const upworkOrganizationSchema: z.ZodObject<{
697
704
  monetizedTitle: string;
698
705
  portrait100?: string | undefined;
699
706
  }, {
700
- type: "freelancer" | "agency";
707
+ type: "freelancer" | "agency" | "client";
701
708
  id: string;
702
709
  label: string;
703
710
  photo_url: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lancer-shared",
3
- "version": "1.2.313",
3
+ "version": "1.2.314",
4
4
  "description": "This package contains shared stuff.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "dist/bundle.cjs.js",