controlresell 2.20.18 → 2.22.1

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 (60) hide show
  1. package/package.json +1 -1
  2. package/src/com/controlresell/api/responses/customers/CustomersResponse.d.ts +30 -30
  3. package/src/com/controlresell/api/responses/invoices/ListInvoicesResponse.d.ts +42 -42
  4. package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts +75 -75
  5. package/src/com/controlresell/api/responses/items/ListedItem.d.ts +61 -61
  6. package/src/com/controlresell/api/responses/items/ListedItemOrder.d.ts +42 -42
  7. package/src/com/controlresell/models/conversations/Conversation.d.ts +5 -5
  8. package/src/com/controlresell/models/conversations/ConversationOnPlatformUpdateRequest.d.ts +5 -5
  9. package/src/com/controlresell/models/conversations/ConversationUpdate.d.ts +7 -7
  10. package/src/com/controlresell/models/conversations/UserConversations.d.ts +7 -7
  11. package/src/com/controlresell/models/conversations/favorites/ConversationFavorite.d.ts +5 -5
  12. package/src/com/controlresell/models/conversations/favorites/ReportRateLimitOnFavorites.d.ts +7 -7
  13. package/src/com/controlresell/models/conversations/favorites/SubmitFavoritesResponse.d.ts +7 -7
  14. package/src/com/controlresell/models/customers/Customer.d.ts +18 -18
  15. package/src/com/controlresell/models/customers/Customer.js +6 -6
  16. package/src/com/controlresell/models/customers/Customer.js.map +1 -1
  17. package/src/com/controlresell/models/customers/Customer.ts +6 -6
  18. package/src/com/controlresell/models/filters/PreferenceFilter.d.ts +5 -5
  19. package/src/com/controlresell/models/invoices/Invoice.d.ts +30 -30
  20. package/src/com/controlresell/models/items/CreatedItems.d.ts +84 -84
  21. package/src/com/controlresell/models/items/Item.d.ts +7 -7
  22. package/src/com/controlresell/models/items/ItemUpdate.d.ts +75 -75
  23. package/src/com/controlresell/models/items/UpdatedItem.d.ts +84 -84
  24. package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts +5 -5
  25. package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts +5 -5
  26. package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformEnumsPayload.d.ts +18 -0
  27. package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformEnumsPayload.d.ts.map +1 -1
  28. package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformEnumsPayload.js +3 -1
  29. package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformEnumsPayload.js.map +1 -1
  30. package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformEnumsPayload.ts +3 -1
  31. package/src/com/controlresell/models/metadata/platforms/ItemListingPreview.d.ts +9 -9
  32. package/src/com/controlresell/models/metadata/platforms/PlatformEnumTypePayload.d.ts +13 -0
  33. package/src/com/controlresell/models/metadata/platforms/PlatformEnumTypePayload.d.ts.map +1 -0
  34. package/src/com/controlresell/models/metadata/platforms/PlatformEnumTypePayload.js +6 -0
  35. package/src/com/controlresell/models/metadata/platforms/PlatformEnumTypePayload.js.map +1 -0
  36. package/src/com/controlresell/models/metadata/platforms/PlatformEnumTypePayload.ts +7 -0
  37. package/src/com/controlresell/models/platforms/orders/Order.d.ts +51 -51
  38. package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts +5 -5
  39. package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +168 -168
  40. package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +7 -7
  41. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +140 -140
  42. package/src/com/controlresell/models/transactions/Transaction.d.ts +9 -9
  43. package/src/com/controlresell/models/transactions/items/ItemInTransaction.d.ts +7 -7
  44. package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts +86 -86
  45. package/src/com/controlresell/models/users/User.d.ts +30 -30
  46. package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts +5 -5
  47. package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts +5 -5
  48. package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.d.ts +3 -3
  49. package/src/com/controlresell/models/users/platforms/UserOnPlatform.d.ts +3 -3
  50. package/src/com/controlresell/models/users/platforms/UserOnPlatformStatus.d.ts +1 -1
  51. package/src/com/controlresell/models/users/platforms/UserOnPlatformStatus.d.ts.map +1 -1
  52. package/src/com/controlresell/models/users/platforms/UserOnPlatformStatus.js +2 -2
  53. package/src/com/controlresell/models/users/platforms/UserOnPlatformStatus.js.map +1 -1
  54. package/src/com/controlresell/models/users/platforms/UserOnPlatformStatus.ts +2 -2
  55. package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +164 -164
  56. package/src/index.d.ts +1 -0
  57. package/src/index.d.ts.map +1 -1
  58. package/src/index.js +1 -0
  59. package/src/index.js.map +1 -1
  60. package/src/index.ts +1 -0
@@ -2282,7 +2282,7 @@ export declare const ListedItemSchema: z.ZodObject<{
2282
2282
  platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
2283
2283
  name: z.ZodString;
2284
2284
  locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2285
- status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED"]>;
2285
+ status: z.ZodCatch<z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED", "PAUSED", "UNKNOWN"]>>;
2286
2286
  night: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2287
2287
  startsAt: z.ZodDate;
2288
2288
  endsAt: z.ZodDate;
@@ -2324,7 +2324,7 @@ export declare const ListedItemSchema: z.ZodObject<{
2324
2324
  }>>>;
2325
2325
  lockReason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["BANNED", "PHONE_NUMBER_REQUIRED", "LISTING_RESTRICTION", "CONVERTING_TO_PRO", "UNKNOWN"]>>>>;
2326
2326
  }, "strip", z.ZodTypeAny, {
2327
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
2327
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
2328
2328
  name: string;
2329
2329
  userId: number;
2330
2330
  accountId: string;
@@ -2351,11 +2351,11 @@ export declare const ListedItemSchema: z.ZodObject<{
2351
2351
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2352
2352
  } | null | undefined;
2353
2353
  }, {
2354
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
2355
2354
  name: string;
2356
2355
  userId: number;
2357
2356
  accountId: string;
2358
2357
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
2358
+ status?: unknown;
2359
2359
  locale?: string | null | undefined;
2360
2360
  lockReason?: unknown;
2361
2361
  night?: {
@@ -2396,7 +2396,7 @@ export declare const ListedItemSchema: z.ZodObject<{
2396
2396
  viewsCount?: number | null | undefined;
2397
2397
  favoritesCount?: number | null | undefined;
2398
2398
  account?: {
2399
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
2399
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
2400
2400
  name: string;
2401
2401
  userId: number;
2402
2402
  accountId: string;
@@ -2438,11 +2438,11 @@ export declare const ListedItemSchema: z.ZodObject<{
2438
2438
  viewsCount?: number | null | undefined;
2439
2439
  favoritesCount?: number | null | undefined;
2440
2440
  account?: {
2441
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
2442
2441
  name: string;
2443
2442
  userId: number;
2444
2443
  accountId: string;
2445
2444
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
2445
+ status?: unknown;
2446
2446
  locale?: string | null | undefined;
2447
2447
  lockReason?: unknown;
2448
2448
  night?: {
@@ -2703,12 +2703,12 @@ export declare const ListedItemSchema: z.ZodObject<{
2703
2703
  userId: z.ZodNumber;
2704
2704
  firstName: z.ZodString;
2705
2705
  lastName: z.ZodString;
2706
- birthDate: z.ZodDate;
2707
- email: z.ZodString;
2708
- idNumber: z.ZodString;
2709
- phone: z.ZodString;
2710
- iban: z.ZodString;
2711
- bic: z.ZodString;
2706
+ birthDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2707
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2708
+ idNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2709
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2710
+ iban: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2711
+ bic: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2712
2712
  phoneVerified: z.ZodBoolean;
2713
2713
  addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2714
2714
  addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2720,13 +2720,13 @@ export declare const ListedItemSchema: z.ZodObject<{
2720
2720
  userId: number;
2721
2721
  firstName: string;
2722
2722
  lastName: string;
2723
- birthDate: Date;
2724
- email: string;
2725
- idNumber: string;
2726
- phone: string;
2727
- iban: string;
2728
- bic: string;
2729
2723
  phoneVerified: boolean;
2724
+ birthDate?: Date | null | undefined;
2725
+ email?: string | null | undefined;
2726
+ idNumber?: string | null | undefined;
2727
+ phone?: string | null | undefined;
2728
+ iban?: string | null | undefined;
2729
+ bic?: string | null | undefined;
2730
2730
  addressLine1?: string | null | undefined;
2731
2731
  addressLine2?: string | null | undefined;
2732
2732
  city?: string | null | undefined;
@@ -2737,13 +2737,13 @@ export declare const ListedItemSchema: z.ZodObject<{
2737
2737
  userId: number;
2738
2738
  firstName: string;
2739
2739
  lastName: string;
2740
- birthDate: Date;
2741
- email: string;
2742
- idNumber: string;
2743
- phone: string;
2744
- iban: string;
2745
- bic: string;
2746
2740
  phoneVerified: boolean;
2741
+ birthDate?: Date | null | undefined;
2742
+ email?: string | null | undefined;
2743
+ idNumber?: string | null | undefined;
2744
+ phone?: string | null | undefined;
2745
+ iban?: string | null | undefined;
2746
+ bic?: string | null | undefined;
2747
2747
  addressLine1?: string | null | undefined;
2748
2748
  addressLine2?: string | null | undefined;
2749
2749
  city?: string | null | undefined;
@@ -2870,13 +2870,13 @@ export declare const ListedItemSchema: z.ZodObject<{
2870
2870
  userId: number;
2871
2871
  firstName: string;
2872
2872
  lastName: string;
2873
- birthDate: Date;
2874
- email: string;
2875
- idNumber: string;
2876
- phone: string;
2877
- iban: string;
2878
- bic: string;
2879
2873
  phoneVerified: boolean;
2874
+ birthDate?: Date | null | undefined;
2875
+ email?: string | null | undefined;
2876
+ idNumber?: string | null | undefined;
2877
+ phone?: string | null | undefined;
2878
+ iban?: string | null | undefined;
2879
+ bic?: string | null | undefined;
2880
2880
  addressLine1?: string | null | undefined;
2881
2881
  addressLine2?: string | null | undefined;
2882
2882
  city?: string | null | undefined;
@@ -2949,13 +2949,13 @@ export declare const ListedItemSchema: z.ZodObject<{
2949
2949
  userId: number;
2950
2950
  firstName: string;
2951
2951
  lastName: string;
2952
- birthDate: Date;
2953
- email: string;
2954
- idNumber: string;
2955
- phone: string;
2956
- iban: string;
2957
- bic: string;
2958
2952
  phoneVerified: boolean;
2953
+ birthDate?: Date | null | undefined;
2954
+ email?: string | null | undefined;
2955
+ idNumber?: string | null | undefined;
2956
+ phone?: string | null | undefined;
2957
+ iban?: string | null | undefined;
2958
+ bic?: string | null | undefined;
2959
2959
  addressLine1?: string | null | undefined;
2960
2960
  addressLine2?: string | null | undefined;
2961
2961
  city?: string | null | undefined;
@@ -3063,13 +3063,13 @@ export declare const ListedItemSchema: z.ZodObject<{
3063
3063
  userId: number;
3064
3064
  firstName: string;
3065
3065
  lastName: string;
3066
- birthDate: Date;
3067
- email: string;
3068
- idNumber: string;
3069
- phone: string;
3070
- iban: string;
3071
- bic: string;
3072
3066
  phoneVerified: boolean;
3067
+ birthDate?: Date | null | undefined;
3068
+ email?: string | null | undefined;
3069
+ idNumber?: string | null | undefined;
3070
+ phone?: string | null | undefined;
3071
+ iban?: string | null | undefined;
3072
+ bic?: string | null | undefined;
3073
3073
  addressLine1?: string | null | undefined;
3074
3074
  addressLine2?: string | null | undefined;
3075
3075
  city?: string | null | undefined;
@@ -3177,13 +3177,13 @@ export declare const ListedItemSchema: z.ZodObject<{
3177
3177
  userId: number;
3178
3178
  firstName: string;
3179
3179
  lastName: string;
3180
- birthDate: Date;
3181
- email: string;
3182
- idNumber: string;
3183
- phone: string;
3184
- iban: string;
3185
- bic: string;
3186
3180
  phoneVerified: boolean;
3181
+ birthDate?: Date | null | undefined;
3182
+ email?: string | null | undefined;
3183
+ idNumber?: string | null | undefined;
3184
+ phone?: string | null | undefined;
3185
+ iban?: string | null | undefined;
3186
+ bic?: string | null | undefined;
3187
3187
  addressLine1?: string | null | undefined;
3188
3188
  addressLine2?: string | null | undefined;
3189
3189
  city?: string | null | undefined;
@@ -3272,7 +3272,7 @@ export declare const ListedItemSchema: z.ZodObject<{
3272
3272
  viewsCount?: number | null | undefined;
3273
3273
  favoritesCount?: number | null | undefined;
3274
3274
  account?: {
3275
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
3275
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
3276
3276
  name: string;
3277
3277
  userId: number;
3278
3278
  accountId: string;
@@ -3677,13 +3677,13 @@ export declare const ListedItemSchema: z.ZodObject<{
3677
3677
  userId: number;
3678
3678
  firstName: string;
3679
3679
  lastName: string;
3680
- birthDate: Date;
3681
- email: string;
3682
- idNumber: string;
3683
- phone: string;
3684
- iban: string;
3685
- bic: string;
3686
3680
  phoneVerified: boolean;
3681
+ birthDate?: Date | null | undefined;
3682
+ email?: string | null | undefined;
3683
+ idNumber?: string | null | undefined;
3684
+ phone?: string | null | undefined;
3685
+ iban?: string | null | undefined;
3686
+ bic?: string | null | undefined;
3687
3687
  addressLine1?: string | null | undefined;
3688
3688
  addressLine2?: string | null | undefined;
3689
3689
  city?: string | null | undefined;
@@ -3772,11 +3772,11 @@ export declare const ListedItemSchema: z.ZodObject<{
3772
3772
  viewsCount?: number | null | undefined;
3773
3773
  favoritesCount?: number | null | undefined;
3774
3774
  account?: {
3775
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
3776
3775
  name: string;
3777
3776
  userId: number;
3778
3777
  accountId: string;
3779
3778
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
3779
+ status?: unknown;
3780
3780
  locale?: string | null | undefined;
3781
3781
  lockReason?: unknown;
3782
3782
  night?: {
@@ -4177,13 +4177,13 @@ export declare const ListedItemSchema: z.ZodObject<{
4177
4177
  userId: number;
4178
4178
  firstName: string;
4179
4179
  lastName: string;
4180
- birthDate: Date;
4181
- email: string;
4182
- idNumber: string;
4183
- phone: string;
4184
- iban: string;
4185
- bic: string;
4186
4180
  phoneVerified: boolean;
4181
+ birthDate?: Date | null | undefined;
4182
+ email?: string | null | undefined;
4183
+ idNumber?: string | null | undefined;
4184
+ phone?: string | null | undefined;
4185
+ iban?: string | null | undefined;
4186
+ bic?: string | null | undefined;
4187
4187
  addressLine1?: string | null | undefined;
4188
4188
  addressLine2?: string | null | undefined;
4189
4189
  city?: string | null | undefined;
@@ -226,12 +226,12 @@ export declare const ListedItemOrderSchema: z.ZodObject<{
226
226
  userId: z.ZodNumber;
227
227
  firstName: z.ZodString;
228
228
  lastName: z.ZodString;
229
- birthDate: z.ZodDate;
230
- email: z.ZodString;
231
- idNumber: z.ZodString;
232
- phone: z.ZodString;
233
- iban: z.ZodString;
234
- bic: z.ZodString;
229
+ birthDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
230
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
231
+ idNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
232
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
233
+ iban: z.ZodOptional<z.ZodNullable<z.ZodString>>;
234
+ bic: z.ZodOptional<z.ZodNullable<z.ZodString>>;
235
235
  phoneVerified: z.ZodBoolean;
236
236
  addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
237
237
  addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -243,13 +243,13 @@ export declare const ListedItemOrderSchema: z.ZodObject<{
243
243
  userId: number;
244
244
  firstName: string;
245
245
  lastName: string;
246
- birthDate: Date;
247
- email: string;
248
- idNumber: string;
249
- phone: string;
250
- iban: string;
251
- bic: string;
252
246
  phoneVerified: boolean;
247
+ birthDate?: Date | null | undefined;
248
+ email?: string | null | undefined;
249
+ idNumber?: string | null | undefined;
250
+ phone?: string | null | undefined;
251
+ iban?: string | null | undefined;
252
+ bic?: string | null | undefined;
253
253
  addressLine1?: string | null | undefined;
254
254
  addressLine2?: string | null | undefined;
255
255
  city?: string | null | undefined;
@@ -260,13 +260,13 @@ export declare const ListedItemOrderSchema: z.ZodObject<{
260
260
  userId: number;
261
261
  firstName: string;
262
262
  lastName: string;
263
- birthDate: Date;
264
- email: string;
265
- idNumber: string;
266
- phone: string;
267
- iban: string;
268
- bic: string;
269
263
  phoneVerified: boolean;
264
+ birthDate?: Date | null | undefined;
265
+ email?: string | null | undefined;
266
+ idNumber?: string | null | undefined;
267
+ phone?: string | null | undefined;
268
+ iban?: string | null | undefined;
269
+ bic?: string | null | undefined;
270
270
  addressLine1?: string | null | undefined;
271
271
  addressLine2?: string | null | undefined;
272
272
  city?: string | null | undefined;
@@ -393,13 +393,13 @@ export declare const ListedItemOrderSchema: z.ZodObject<{
393
393
  userId: number;
394
394
  firstName: string;
395
395
  lastName: string;
396
- birthDate: Date;
397
- email: string;
398
- idNumber: string;
399
- phone: string;
400
- iban: string;
401
- bic: string;
402
396
  phoneVerified: boolean;
397
+ birthDate?: Date | null | undefined;
398
+ email?: string | null | undefined;
399
+ idNumber?: string | null | undefined;
400
+ phone?: string | null | undefined;
401
+ iban?: string | null | undefined;
402
+ bic?: string | null | undefined;
403
403
  addressLine1?: string | null | undefined;
404
404
  addressLine2?: string | null | undefined;
405
405
  city?: string | null | undefined;
@@ -472,13 +472,13 @@ export declare const ListedItemOrderSchema: z.ZodObject<{
472
472
  userId: number;
473
473
  firstName: string;
474
474
  lastName: string;
475
- birthDate: Date;
476
- email: string;
477
- idNumber: string;
478
- phone: string;
479
- iban: string;
480
- bic: string;
481
475
  phoneVerified: boolean;
476
+ birthDate?: Date | null | undefined;
477
+ email?: string | null | undefined;
478
+ idNumber?: string | null | undefined;
479
+ phone?: string | null | undefined;
480
+ iban?: string | null | undefined;
481
+ bic?: string | null | undefined;
482
482
  addressLine1?: string | null | undefined;
483
483
  addressLine2?: string | null | undefined;
484
484
  city?: string | null | undefined;
@@ -586,13 +586,13 @@ export declare const ListedItemOrderSchema: z.ZodObject<{
586
586
  userId: number;
587
587
  firstName: string;
588
588
  lastName: string;
589
- birthDate: Date;
590
- email: string;
591
- idNumber: string;
592
- phone: string;
593
- iban: string;
594
- bic: string;
595
589
  phoneVerified: boolean;
590
+ birthDate?: Date | null | undefined;
591
+ email?: string | null | undefined;
592
+ idNumber?: string | null | undefined;
593
+ phone?: string | null | undefined;
594
+ iban?: string | null | undefined;
595
+ bic?: string | null | undefined;
596
596
  addressLine1?: string | null | undefined;
597
597
  addressLine2?: string | null | undefined;
598
598
  city?: string | null | undefined;
@@ -700,13 +700,13 @@ export declare const ListedItemOrderSchema: z.ZodObject<{
700
700
  userId: number;
701
701
  firstName: string;
702
702
  lastName: string;
703
- birthDate: Date;
704
- email: string;
705
- idNumber: string;
706
- phone: string;
707
- iban: string;
708
- bic: string;
709
703
  phoneVerified: boolean;
704
+ birthDate?: Date | null | undefined;
705
+ email?: string | null | undefined;
706
+ idNumber?: string | null | undefined;
707
+ phone?: string | null | undefined;
708
+ iban?: string | null | undefined;
709
+ bic?: string | null | undefined;
710
710
  addressLine1?: string | null | undefined;
711
711
  addressLine2?: string | null | undefined;
712
712
  city?: string | null | undefined;
@@ -11,7 +11,7 @@ export declare const ConversationSchema: z.ZodObject<{
11
11
  platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
12
12
  name: z.ZodString;
13
13
  locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
- status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED"]>;
14
+ status: z.ZodCatch<z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED", "PAUSED", "UNKNOWN"]>>;
15
15
  night: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16
16
  startsAt: z.ZodDate;
17
17
  endsAt: z.ZodDate;
@@ -53,7 +53,7 @@ export declare const ConversationSchema: z.ZodObject<{
53
53
  }>>>;
54
54
  lockReason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["BANNED", "PHONE_NUMBER_REQUIRED", "LISTING_RESTRICTION", "CONVERTING_TO_PRO", "UNKNOWN"]>>>>;
55
55
  }, "strip", z.ZodTypeAny, {
56
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
56
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
57
57
  name: string;
58
58
  userId: number;
59
59
  accountId: string;
@@ -80,11 +80,11 @@ export declare const ConversationSchema: z.ZodObject<{
80
80
  status?: "PENDING" | "CONFIRMED" | null | undefined;
81
81
  } | null | undefined;
82
82
  }, {
83
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
84
83
  name: string;
85
84
  userId: number;
86
85
  accountId: string;
87
86
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
87
+ status?: unknown;
88
88
  locale?: string | null | undefined;
89
89
  lockReason?: unknown;
90
90
  night?: {
@@ -445,7 +445,7 @@ export declare const ConversationSchema: z.ZodObject<{
445
445
  billingCountryCode?: string | null | undefined;
446
446
  }[] | null | undefined;
447
447
  account?: {
448
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
448
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
449
449
  name: string;
450
450
  userId: number;
451
451
  accountId: string;
@@ -554,11 +554,11 @@ export declare const ConversationSchema: z.ZodObject<{
554
554
  billingCountryCode?: string | null | undefined;
555
555
  }[] | null | undefined;
556
556
  account?: {
557
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
558
557
  name: string;
559
558
  userId: number;
560
559
  accountId: string;
561
560
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
561
+ status?: unknown;
562
562
  locale?: string | null | undefined;
563
563
  lockReason?: unknown;
564
564
  night?: {
@@ -748,7 +748,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
748
748
  platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
749
749
  name: z.ZodString;
750
750
  locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
751
- status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED"]>;
751
+ status: z.ZodCatch<z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED", "PAUSED", "UNKNOWN"]>>;
752
752
  night: z.ZodOptional<z.ZodNullable<z.ZodObject<{
753
753
  startsAt: z.ZodDate;
754
754
  endsAt: z.ZodDate;
@@ -790,7 +790,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
790
790
  }>>>;
791
791
  lockReason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["BANNED", "PHONE_NUMBER_REQUIRED", "LISTING_RESTRICTION", "CONVERTING_TO_PRO", "UNKNOWN"]>>>>;
792
792
  }, "strip", z.ZodTypeAny, {
793
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
793
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
794
794
  name: string;
795
795
  userId: number;
796
796
  accountId: string;
@@ -817,11 +817,11 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
817
817
  status?: "PENDING" | "CONFIRMED" | null | undefined;
818
818
  } | null | undefined;
819
819
  }, {
820
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
821
820
  name: string;
822
821
  userId: number;
823
822
  accountId: string;
824
823
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
824
+ status?: unknown;
825
825
  locale?: string | null | undefined;
826
826
  lockReason?: unknown;
827
827
  night?: {
@@ -978,7 +978,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
978
978
  }[] | null | undefined;
979
979
  };
980
980
  account: {
981
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
981
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
982
982
  name: string;
983
983
  userId: number;
984
984
  accountId: string;
@@ -1139,11 +1139,11 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
1139
1139
  }[] | null | undefined;
1140
1140
  };
1141
1141
  account: {
1142
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
1143
1142
  name: string;
1144
1143
  userId: number;
1145
1144
  accountId: string;
1146
1145
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
1146
+ status?: unknown;
1147
1147
  locale?: string | null | undefined;
1148
1148
  lockReason?: unknown;
1149
1149
  night?: {
@@ -13,7 +13,7 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
13
13
  platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
14
14
  name: z.ZodString;
15
15
  locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
- status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED"]>;
16
+ status: z.ZodCatch<z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED", "PAUSED", "UNKNOWN"]>>;
17
17
  night: z.ZodOptional<z.ZodNullable<z.ZodObject<{
18
18
  startsAt: z.ZodDate;
19
19
  endsAt: z.ZodDate;
@@ -55,7 +55,7 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
55
55
  }>>>;
56
56
  lockReason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["BANNED", "PHONE_NUMBER_REQUIRED", "LISTING_RESTRICTION", "CONVERTING_TO_PRO", "UNKNOWN"]>>>>;
57
57
  }, "strip", z.ZodTypeAny, {
58
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
58
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
59
59
  name: string;
60
60
  userId: number;
61
61
  accountId: string;
@@ -82,11 +82,11 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
82
82
  status?: "PENDING" | "CONFIRMED" | null | undefined;
83
83
  } | null | undefined;
84
84
  }, {
85
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
86
85
  name: string;
87
86
  userId: number;
88
87
  accountId: string;
89
88
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
89
+ status?: unknown;
90
90
  locale?: string | null | undefined;
91
91
  lockReason?: unknown;
92
92
  night?: {
@@ -447,7 +447,7 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
447
447
  billingCountryCode?: string | null | undefined;
448
448
  }[] | null | undefined;
449
449
  account?: {
450
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
450
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
451
451
  name: string;
452
452
  userId: number;
453
453
  accountId: string;
@@ -556,11 +556,11 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
556
556
  billingCountryCode?: string | null | undefined;
557
557
  }[] | null | undefined;
558
558
  account?: {
559
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
560
559
  name: string;
561
560
  userId: number;
562
561
  accountId: string;
563
562
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
563
+ status?: unknown;
564
564
  locale?: string | null | undefined;
565
565
  lockReason?: unknown;
566
566
  night?: {
@@ -884,7 +884,7 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
884
884
  billingCountryCode?: string | null | undefined;
885
885
  }[] | null | undefined;
886
886
  account?: {
887
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
887
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
888
888
  name: string;
889
889
  userId: number;
890
890
  accountId: string;
@@ -1044,11 +1044,11 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
1044
1044
  billingCountryCode?: string | null | undefined;
1045
1045
  }[] | null | undefined;
1046
1046
  account?: {
1047
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
1048
1047
  name: string;
1049
1048
  userId: number;
1050
1049
  accountId: string;
1051
1050
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
1051
+ status?: unknown;
1052
1052
  locale?: string | null | undefined;
1053
1053
  lockReason?: unknown;
1054
1054
  night?: {
@@ -24,7 +24,7 @@ export declare const UserConversationsSchema: z.ZodObject<{
24
24
  platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
25
25
  name: z.ZodString;
26
26
  locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
- status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED"]>;
27
+ status: z.ZodCatch<z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED", "PAUSED", "UNKNOWN"]>>;
28
28
  night: z.ZodOptional<z.ZodNullable<z.ZodObject<{
29
29
  startsAt: z.ZodDate;
30
30
  endsAt: z.ZodDate;
@@ -66,7 +66,7 @@ export declare const UserConversationsSchema: z.ZodObject<{
66
66
  }>>>;
67
67
  lockReason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["BANNED", "PHONE_NUMBER_REQUIRED", "LISTING_RESTRICTION", "CONVERTING_TO_PRO", "UNKNOWN"]>>>>;
68
68
  }, "strip", z.ZodTypeAny, {
69
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
69
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
70
70
  name: string;
71
71
  userId: number;
72
72
  accountId: string;
@@ -93,11 +93,11 @@ export declare const UserConversationsSchema: z.ZodObject<{
93
93
  status?: "PENDING" | "CONFIRMED" | null | undefined;
94
94
  } | null | undefined;
95
95
  }, {
96
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
97
96
  name: string;
98
97
  userId: number;
99
98
  accountId: string;
100
99
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
100
+ status?: unknown;
101
101
  locale?: string | null | undefined;
102
102
  lockReason?: unknown;
103
103
  night?: {
@@ -458,7 +458,7 @@ export declare const UserConversationsSchema: z.ZodObject<{
458
458
  billingCountryCode?: string | null | undefined;
459
459
  }[] | null | undefined;
460
460
  account?: {
461
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
461
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
462
462
  name: string;
463
463
  userId: number;
464
464
  accountId: string;
@@ -567,11 +567,11 @@ export declare const UserConversationsSchema: z.ZodObject<{
567
567
  billingCountryCode?: string | null | undefined;
568
568
  }[] | null | undefined;
569
569
  account?: {
570
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
571
570
  name: string;
572
571
  userId: number;
573
572
  accountId: string;
574
573
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
574
+ status?: unknown;
575
575
  locale?: string | null | undefined;
576
576
  lockReason?: unknown;
577
577
  night?: {
@@ -681,7 +681,7 @@ export declare const UserConversationsSchema: z.ZodObject<{
681
681
  billingCountryCode?: string | null | undefined;
682
682
  }[] | null | undefined;
683
683
  account?: {
684
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
684
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
685
685
  name: string;
686
686
  userId: number;
687
687
  accountId: string;
@@ -800,11 +800,11 @@ export declare const UserConversationsSchema: z.ZodObject<{
800
800
  billingCountryCode?: string | null | undefined;
801
801
  }[] | null | undefined;
802
802
  account?: {
803
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
804
803
  name: string;
805
804
  userId: number;
806
805
  accountId: string;
807
806
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
807
+ status?: unknown;
808
808
  locale?: string | null | undefined;
809
809
  lockReason?: unknown;
810
810
  night?: {