controlresell 2.20.19 → 2.22.2

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 (102) hide show
  1. package/package.json +2 -2
  2. package/src/com/controlresell/api/requests/items/cancel/CancelRequest.d.ts +2 -2
  3. package/src/com/controlresell/api/responses/conversations/MessageStreamResponse.d.ts +19 -12
  4. package/src/com/controlresell/api/responses/conversations/MessageStreamResponse.d.ts.map +1 -1
  5. package/src/com/controlresell/api/responses/invoices/ListInvoicesResponse.d.ts +4 -4
  6. package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts +26 -17
  7. package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts.map +1 -1
  8. package/src/com/controlresell/api/responses/items/ListedItem.d.ts +20 -13
  9. package/src/com/controlresell/api/responses/items/ListedItem.d.ts.map +1 -1
  10. package/src/com/controlresell/api/responses/items/ListedItemOrder.d.ts +4 -4
  11. package/src/com/controlresell/models/conversations/Conversation.d.ts +34 -29
  12. package/src/com/controlresell/models/conversations/Conversation.d.ts.map +1 -1
  13. package/src/com/controlresell/models/conversations/ConversationOnPlatformUpdateRequest.d.ts +101 -5
  14. package/src/com/controlresell/models/conversations/ConversationOnPlatformUpdateRequest.d.ts.map +1 -1
  15. package/src/com/controlresell/models/conversations/ConversationUpdate.d.ts +50 -43
  16. package/src/com/controlresell/models/conversations/ConversationUpdate.d.ts.map +1 -1
  17. package/src/com/controlresell/models/conversations/UserConversations.d.ts +50 -43
  18. package/src/com/controlresell/models/conversations/UserConversations.d.ts.map +1 -1
  19. package/src/com/controlresell/models/conversations/favorites/ConversationFavorite.d.ts +10 -5
  20. package/src/com/controlresell/models/conversations/favorites/ConversationFavorite.d.ts.map +1 -1
  21. package/src/com/controlresell/models/conversations/favorites/ReportRateLimitOnFavorites.d.ts +14 -7
  22. package/src/com/controlresell/models/conversations/favorites/ReportRateLimitOnFavorites.d.ts.map +1 -1
  23. package/src/com/controlresell/models/conversations/favorites/SubmitFavoritesResponse.d.ts +14 -7
  24. package/src/com/controlresell/models/conversations/favorites/SubmitFavoritesResponse.d.ts.map +1 -1
  25. package/src/com/controlresell/models/conversations/users/ConversationUser.d.ts +12 -12
  26. package/src/com/controlresell/models/conversations/users/CreateConversationUserPayload.d.ts +2 -2
  27. package/src/com/controlresell/models/conversations/users/UpdateConversationUserPayload.d.ts +2 -2
  28. package/src/com/controlresell/models/filters/PreferenceFilter.d.ts +10 -5
  29. package/src/com/controlresell/models/filters/PreferenceFilter.d.ts.map +1 -1
  30. package/src/com/controlresell/models/invoices/Invoice.d.ts +2 -2
  31. package/src/com/controlresell/models/items/CreatedItems.d.ts +44 -26
  32. package/src/com/controlresell/models/items/CreatedItems.d.ts.map +1 -1
  33. package/src/com/controlresell/models/items/Item.d.ts +14 -7
  34. package/src/com/controlresell/models/items/Item.d.ts.map +1 -1
  35. package/src/com/controlresell/models/items/ItemUpdate.d.ts +26 -17
  36. package/src/com/controlresell/models/items/ItemUpdate.d.ts.map +1 -1
  37. package/src/com/controlresell/models/items/UpdatedItem.d.ts +44 -26
  38. package/src/com/controlresell/models/items/UpdatedItem.d.ts.map +1 -1
  39. package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts +10 -5
  40. package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts.map +1 -1
  41. package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts +10 -5
  42. package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts.map +1 -1
  43. package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformEnumsPayload.d.ts +18 -0
  44. package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformEnumsPayload.d.ts.map +1 -1
  45. package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformEnumsPayload.js +3 -1
  46. package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformEnumsPayload.js.map +1 -1
  47. package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformEnumsPayload.ts +3 -1
  48. package/src/com/controlresell/models/metadata/platforms/ItemListingPreview.d.ts +18 -9
  49. package/src/com/controlresell/models/metadata/platforms/ItemListingPreview.d.ts.map +1 -1
  50. package/src/com/controlresell/models/metadata/platforms/PlatformEnumTypePayload.d.ts +13 -0
  51. package/src/com/controlresell/models/metadata/platforms/PlatformEnumTypePayload.d.ts.map +1 -0
  52. package/src/com/controlresell/models/metadata/platforms/PlatformEnumTypePayload.js +6 -0
  53. package/src/com/controlresell/models/metadata/platforms/PlatformEnumTypePayload.js.map +1 -0
  54. package/src/com/controlresell/models/metadata/platforms/PlatformEnumTypePayload.ts +7 -0
  55. package/src/com/controlresell/models/orders/FetchOrdersRequest.d.ts +30 -0
  56. package/src/com/controlresell/models/orders/FetchOrdersRequest.d.ts.map +1 -1
  57. package/src/com/controlresell/models/orders/FetchOrdersResponse.d.ts +30 -0
  58. package/src/com/controlresell/models/orders/FetchOrdersResponse.d.ts.map +1 -1
  59. package/src/com/controlresell/models/platforms/orders/BatchUpdateOrdersPayload.d.ts +4 -4
  60. package/src/com/controlresell/models/platforms/orders/Order.d.ts +34 -25
  61. package/src/com/controlresell/models/platforms/orders/Order.d.ts.map +1 -1
  62. package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts +40 -5
  63. package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts.map +1 -1
  64. package/src/com/controlresell/models/platforms/orders/UpdateOrderPayload.d.ts +2 -2
  65. package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +102 -78
  66. package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts.map +1 -1
  67. package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +14 -7
  68. package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts.map +1 -1
  69. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +78 -58
  70. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
  71. package/src/com/controlresell/models/transactions/Transaction.d.ts +18 -9
  72. package/src/com/controlresell/models/transactions/Transaction.d.ts.map +1 -1
  73. package/src/com/controlresell/models/transactions/items/ItemInTransaction.d.ts +14 -7
  74. package/src/com/controlresell/models/transactions/items/ItemInTransaction.d.ts.map +1 -1
  75. package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts +48 -28
  76. package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts.map +1 -1
  77. package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts +10 -5
  78. package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts.map +1 -1
  79. package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts +10 -5
  80. package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts.map +1 -1
  81. package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.d.ts +6 -3
  82. package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.d.ts.map +1 -1
  83. package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.js +2 -1
  84. package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.js.map +1 -1
  85. package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.ts +2 -1
  86. package/src/com/controlresell/models/users/platforms/UserOnPlatform.d.ts +6 -3
  87. package/src/com/controlresell/models/users/platforms/UserOnPlatform.d.ts.map +1 -1
  88. package/src/com/controlresell/models/users/platforms/UserOnPlatform.js +2 -1
  89. package/src/com/controlresell/models/users/platforms/UserOnPlatform.js.map +1 -1
  90. package/src/com/controlresell/models/users/platforms/UserOnPlatform.ts +2 -1
  91. package/src/com/controlresell/models/users/platforms/UserOnPlatformStatus.d.ts +1 -1
  92. package/src/com/controlresell/models/users/platforms/UserOnPlatformStatus.d.ts.map +1 -1
  93. package/src/com/controlresell/models/users/platforms/UserOnPlatformStatus.js +2 -2
  94. package/src/com/controlresell/models/users/platforms/UserOnPlatformStatus.js.map +1 -1
  95. package/src/com/controlresell/models/users/platforms/UserOnPlatformStatus.ts +2 -2
  96. package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +152 -120
  97. package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
  98. package/src/index.d.ts +1 -0
  99. package/src/index.d.ts.map +1 -1
  100. package/src/index.js +1 -0
  101. package/src/index.js.map +1 -1
  102. package/src/index.ts +1 -0
@@ -28,7 +28,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
28
28
  platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
29
29
  name: z.ZodString;
30
30
  locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
- status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED"]>;
31
+ status: z.ZodCatch<z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED", "PAUSED", "UNKNOWN"]>>;
32
32
  night: z.ZodOptional<z.ZodNullable<z.ZodObject<{
33
33
  startsAt: z.ZodDate;
34
34
  endsAt: z.ZodDate;
@@ -69,8 +69,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
69
69
  status?: "PENDING" | "CONFIRMED" | null | undefined;
70
70
  }>>>;
71
71
  lockReason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["BANNED", "PHONE_NUMBER_REQUIRED", "LISTING_RESTRICTION", "CONVERTING_TO_PRO", "UNKNOWN"]>>>>;
72
+ cooldownEndsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
72
73
  }, "strip", z.ZodTypeAny, {
73
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
74
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
74
75
  name: string;
75
76
  userId: number;
76
77
  accountId: string;
@@ -96,12 +97,13 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
96
97
  signedUrl: string;
97
98
  status?: "PENDING" | "CONFIRMED" | null | undefined;
98
99
  } | null | undefined;
100
+ cooldownEndsAt?: Date | null | undefined;
99
101
  }, {
100
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
101
102
  name: string;
102
103
  userId: number;
103
104
  accountId: string;
104
105
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
106
+ status?: unknown;
105
107
  locale?: string | null | undefined;
106
108
  lockReason?: unknown;
107
109
  night?: {
@@ -123,6 +125,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
123
125
  signedUrl: string;
124
126
  status?: "PENDING" | "CONFIRMED" | null | undefined;
125
127
  } | null | undefined;
128
+ cooldownEndsAt?: Date | null | undefined;
126
129
  }>>>;
127
130
  conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
128
131
  viewsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -142,7 +145,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
142
145
  viewsCount?: number | null | undefined;
143
146
  favoritesCount?: number | null | undefined;
144
147
  account?: {
145
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
148
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
146
149
  name: string;
147
150
  userId: number;
148
151
  accountId: string;
@@ -168,6 +171,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
168
171
  signedUrl: string;
169
172
  status?: "PENDING" | "CONFIRMED" | null | undefined;
170
173
  } | null | undefined;
174
+ cooldownEndsAt?: Date | null | undefined;
171
175
  } | null | undefined;
172
176
  }, {
173
177
  id: string;
@@ -184,11 +188,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
184
188
  viewsCount?: number | null | undefined;
185
189
  favoritesCount?: number | null | undefined;
186
190
  account?: {
187
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
188
191
  name: string;
189
192
  userId: number;
190
193
  accountId: string;
191
194
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
195
+ status?: unknown;
192
196
  locale?: string | null | undefined;
193
197
  lockReason?: unknown;
194
198
  night?: {
@@ -210,6 +214,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
210
214
  signedUrl: string;
211
215
  status?: "PENDING" | "CONFIRMED" | null | undefined;
212
216
  } | null | undefined;
217
+ cooldownEndsAt?: Date | null | undefined;
213
218
  } | null | undefined;
214
219
  }>>>;
215
220
  }, "strip", z.ZodTypeAny, {
@@ -230,7 +235,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
230
235
  viewsCount?: number | null | undefined;
231
236
  favoritesCount?: number | null | undefined;
232
237
  account?: {
233
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
238
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
234
239
  name: string;
235
240
  userId: number;
236
241
  accountId: string;
@@ -256,6 +261,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
256
261
  signedUrl: string;
257
262
  status?: "PENDING" | "CONFIRMED" | null | undefined;
258
263
  } | null | undefined;
264
+ cooldownEndsAt?: Date | null | undefined;
259
265
  } | null | undefined;
260
266
  } | null | undefined;
261
267
  }, {
@@ -276,11 +282,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
276
282
  viewsCount?: number | null | undefined;
277
283
  favoritesCount?: number | null | undefined;
278
284
  account?: {
279
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
280
285
  name: string;
281
286
  userId: number;
282
287
  accountId: string;
283
288
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
289
+ status?: unknown;
284
290
  locale?: string | null | undefined;
285
291
  lockReason?: unknown;
286
292
  night?: {
@@ -302,6 +308,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
302
308
  signedUrl: string;
303
309
  status?: "PENDING" | "CONFIRMED" | null | undefined;
304
310
  } | null | undefined;
311
+ cooldownEndsAt?: Date | null | undefined;
305
312
  } | null | undefined;
306
313
  } | null | undefined;
307
314
  }>, "many">>>;
@@ -329,7 +336,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
329
336
  viewsCount?: number | null | undefined;
330
337
  favoritesCount?: number | null | undefined;
331
338
  account?: {
332
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
339
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
333
340
  name: string;
334
341
  userId: number;
335
342
  accountId: string;
@@ -355,6 +362,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
355
362
  signedUrl: string;
356
363
  status?: "PENDING" | "CONFIRMED" | null | undefined;
357
364
  } | null | undefined;
365
+ cooldownEndsAt?: Date | null | undefined;
358
366
  } | null | undefined;
359
367
  } | null | undefined;
360
368
  }[] | null | undefined;
@@ -384,11 +392,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
384
392
  viewsCount?: number | null | undefined;
385
393
  favoritesCount?: number | null | undefined;
386
394
  account?: {
387
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
388
395
  name: string;
389
396
  userId: number;
390
397
  accountId: string;
391
398
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
399
+ status?: unknown;
392
400
  locale?: string | null | undefined;
393
401
  lockReason?: unknown;
394
402
  night?: {
@@ -410,6 +418,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
410
418
  signedUrl: string;
411
419
  status?: "PENDING" | "CONFIRMED" | null | undefined;
412
420
  } | null | undefined;
421
+ cooldownEndsAt?: Date | null | undefined;
413
422
  } | null | undefined;
414
423
  } | null | undefined;
415
424
  }[] | null | undefined;
@@ -2699,7 +2708,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
2699
2708
  platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
2700
2709
  name: z.ZodString;
2701
2710
  locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2702
- status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED"]>;
2711
+ status: z.ZodCatch<z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED", "PAUSED", "UNKNOWN"]>>;
2703
2712
  night: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2704
2713
  startsAt: z.ZodDate;
2705
2714
  endsAt: z.ZodDate;
@@ -2740,8 +2749,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
2740
2749
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2741
2750
  }>>>;
2742
2751
  lockReason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["BANNED", "PHONE_NUMBER_REQUIRED", "LISTING_RESTRICTION", "CONVERTING_TO_PRO", "UNKNOWN"]>>>>;
2752
+ cooldownEndsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2743
2753
  }, "strip", z.ZodTypeAny, {
2744
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
2754
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
2745
2755
  name: string;
2746
2756
  userId: number;
2747
2757
  accountId: string;
@@ -2767,12 +2777,13 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
2767
2777
  signedUrl: string;
2768
2778
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2769
2779
  } | null | undefined;
2780
+ cooldownEndsAt?: Date | null | undefined;
2770
2781
  }, {
2771
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
2772
2782
  name: string;
2773
2783
  userId: number;
2774
2784
  accountId: string;
2775
2785
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
2786
+ status?: unknown;
2776
2787
  locale?: string | null | undefined;
2777
2788
  lockReason?: unknown;
2778
2789
  night?: {
@@ -2794,6 +2805,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
2794
2805
  signedUrl: string;
2795
2806
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2796
2807
  } | null | undefined;
2808
+ cooldownEndsAt?: Date | null | undefined;
2797
2809
  }>>>;
2798
2810
  conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2799
2811
  viewsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -2813,7 +2825,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
2813
2825
  viewsCount?: number | null | undefined;
2814
2826
  favoritesCount?: number | null | undefined;
2815
2827
  account?: {
2816
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
2828
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
2817
2829
  name: string;
2818
2830
  userId: number;
2819
2831
  accountId: string;
@@ -2839,6 +2851,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
2839
2851
  signedUrl: string;
2840
2852
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2841
2853
  } | null | undefined;
2854
+ cooldownEndsAt?: Date | null | undefined;
2842
2855
  } | null | undefined;
2843
2856
  }, {
2844
2857
  id: string;
@@ -2855,11 +2868,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
2855
2868
  viewsCount?: number | null | undefined;
2856
2869
  favoritesCount?: number | null | undefined;
2857
2870
  account?: {
2858
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
2859
2871
  name: string;
2860
2872
  userId: number;
2861
2873
  accountId: string;
2862
2874
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
2875
+ status?: unknown;
2863
2876
  locale?: string | null | undefined;
2864
2877
  lockReason?: unknown;
2865
2878
  night?: {
@@ -2881,6 +2894,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
2881
2894
  signedUrl: string;
2882
2895
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2883
2896
  } | null | undefined;
2897
+ cooldownEndsAt?: Date | null | undefined;
2884
2898
  } | null | undefined;
2885
2899
  }>, "many">>>;
2886
2900
  actions: z.ZodObject<{
@@ -3249,6 +3263,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
3249
3263
  issueDate: Date;
3250
3264
  subtotal: number;
3251
3265
  fileId?: string | null | undefined;
3266
+ vatAmount?: number | null | undefined;
3252
3267
  file?: {
3253
3268
  path: string;
3254
3269
  id: string;
@@ -3257,7 +3272,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
3257
3272
  signedUrl: string;
3258
3273
  status?: "PENDING" | "CONFIRMED" | null | undefined;
3259
3274
  } | null | undefined;
3260
- vatAmount?: number | null | undefined;
3261
3275
  vatRate?: number | null | undefined;
3262
3276
  businessProfile?: {
3263
3277
  id: string;
@@ -3328,6 +3342,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
3328
3342
  issueDate: Date;
3329
3343
  subtotal: number;
3330
3344
  fileId?: string | null | undefined;
3345
+ vatAmount?: number | null | undefined;
3331
3346
  file?: {
3332
3347
  path: string;
3333
3348
  id: string;
@@ -3336,7 +3351,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
3336
3351
  signedUrl: string;
3337
3352
  status?: "PENDING" | "CONFIRMED" | null | undefined;
3338
3353
  } | null | undefined;
3339
- vatAmount?: number | null | undefined;
3340
3354
  vatRate?: number | null | undefined;
3341
3355
  businessProfile?: {
3342
3356
  id: string;
@@ -3442,6 +3456,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
3442
3456
  issueDate: Date;
3443
3457
  subtotal: number;
3444
3458
  fileId?: string | null | undefined;
3459
+ vatAmount?: number | null | undefined;
3445
3460
  file?: {
3446
3461
  path: string;
3447
3462
  id: string;
@@ -3450,7 +3465,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
3450
3465
  signedUrl: string;
3451
3466
  status?: "PENDING" | "CONFIRMED" | null | undefined;
3452
3467
  } | null | undefined;
3453
- vatAmount?: number | null | undefined;
3454
3468
  vatRate?: number | null | undefined;
3455
3469
  businessProfile?: {
3456
3470
  id: string;
@@ -3556,6 +3570,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
3556
3570
  issueDate: Date;
3557
3571
  subtotal: number;
3558
3572
  fileId?: string | null | undefined;
3573
+ vatAmount?: number | null | undefined;
3559
3574
  file?: {
3560
3575
  path: string;
3561
3576
  id: string;
@@ -3564,7 +3579,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
3564
3579
  signedUrl: string;
3565
3580
  status?: "PENDING" | "CONFIRMED" | null | undefined;
3566
3581
  } | null | undefined;
3567
- vatAmount?: number | null | undefined;
3568
3582
  vatRate?: number | null | undefined;
3569
3583
  businessProfile?: {
3570
3584
  id: string;
@@ -3689,7 +3703,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
3689
3703
  viewsCount?: number | null | undefined;
3690
3704
  favoritesCount?: number | null | undefined;
3691
3705
  account?: {
3692
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
3706
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
3693
3707
  name: string;
3694
3708
  userId: number;
3695
3709
  accountId: string;
@@ -3715,6 +3729,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
3715
3729
  signedUrl: string;
3716
3730
  status?: "PENDING" | "CONFIRMED" | null | undefined;
3717
3731
  } | null | undefined;
3732
+ cooldownEndsAt?: Date | null | undefined;
3718
3733
  } | null | undefined;
3719
3734
  }[] | null | undefined;
3720
3735
  brandId?: number | null | undefined;
@@ -4056,6 +4071,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
4056
4071
  issueDate: Date;
4057
4072
  subtotal: number;
4058
4073
  fileId?: string | null | undefined;
4074
+ vatAmount?: number | null | undefined;
4059
4075
  file?: {
4060
4076
  path: string;
4061
4077
  id: string;
@@ -4064,7 +4080,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
4064
4080
  signedUrl: string;
4065
4081
  status?: "PENDING" | "CONFIRMED" | null | undefined;
4066
4082
  } | null | undefined;
4067
- vatAmount?: number | null | undefined;
4068
4083
  vatRate?: number | null | undefined;
4069
4084
  businessProfile?: {
4070
4085
  id: string;
@@ -4189,11 +4204,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
4189
4204
  viewsCount?: number | null | undefined;
4190
4205
  favoritesCount?: number | null | undefined;
4191
4206
  account?: {
4192
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
4193
4207
  name: string;
4194
4208
  userId: number;
4195
4209
  accountId: string;
4196
4210
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
4211
+ status?: unknown;
4197
4212
  locale?: string | null | undefined;
4198
4213
  lockReason?: unknown;
4199
4214
  night?: {
@@ -4215,6 +4230,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
4215
4230
  signedUrl: string;
4216
4231
  status?: "PENDING" | "CONFIRMED" | null | undefined;
4217
4232
  } | null | undefined;
4233
+ cooldownEndsAt?: Date | null | undefined;
4218
4234
  } | null | undefined;
4219
4235
  }[] | null | undefined;
4220
4236
  brandId?: number | null | undefined;
@@ -4556,6 +4572,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
4556
4572
  issueDate: Date;
4557
4573
  subtotal: number;
4558
4574
  fileId?: string | null | undefined;
4575
+ vatAmount?: number | null | undefined;
4559
4576
  file?: {
4560
4577
  path: string;
4561
4578
  id: string;
@@ -4564,7 +4581,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
4564
4581
  signedUrl: string;
4565
4582
  status?: "PENDING" | "CONFIRMED" | null | undefined;
4566
4583
  } | null | undefined;
4567
- vatAmount?: number | null | undefined;
4568
4584
  vatRate?: number | null | undefined;
4569
4585
  businessProfile?: {
4570
4586
  id: string;
@@ -4691,7 +4707,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
4691
4707
  viewsCount?: number | null | undefined;
4692
4708
  favoritesCount?: number | null | undefined;
4693
4709
  account?: {
4694
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
4710
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
4695
4711
  name: string;
4696
4712
  userId: number;
4697
4713
  accountId: string;
@@ -4717,6 +4733,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
4717
4733
  signedUrl: string;
4718
4734
  status?: "PENDING" | "CONFIRMED" | null | undefined;
4719
4735
  } | null | undefined;
4736
+ cooldownEndsAt?: Date | null | undefined;
4720
4737
  } | null | undefined;
4721
4738
  }[] | null | undefined;
4722
4739
  brandId?: number | null | undefined;
@@ -5058,6 +5075,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
5058
5075
  issueDate: Date;
5059
5076
  subtotal: number;
5060
5077
  fileId?: string | null | undefined;
5078
+ vatAmount?: number | null | undefined;
5061
5079
  file?: {
5062
5080
  path: string;
5063
5081
  id: string;
@@ -5066,7 +5084,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
5066
5084
  signedUrl: string;
5067
5085
  status?: "PENDING" | "CONFIRMED" | null | undefined;
5068
5086
  } | null | undefined;
5069
- vatAmount?: number | null | undefined;
5070
5087
  vatRate?: number | null | undefined;
5071
5088
  businessProfile?: {
5072
5089
  id: string;
@@ -5149,7 +5166,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
5149
5166
  viewsCount?: number | null | undefined;
5150
5167
  favoritesCount?: number | null | undefined;
5151
5168
  account?: {
5152
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
5169
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
5153
5170
  name: string;
5154
5171
  userId: number;
5155
5172
  accountId: string;
@@ -5175,6 +5192,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
5175
5192
  signedUrl: string;
5176
5193
  status?: "PENDING" | "CONFIRMED" | null | undefined;
5177
5194
  } | null | undefined;
5195
+ cooldownEndsAt?: Date | null | undefined;
5178
5196
  } | null | undefined;
5179
5197
  } | null | undefined;
5180
5198
  }[] | null | undefined;
@@ -5249,11 +5267,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
5249
5267
  viewsCount?: number | null | undefined;
5250
5268
  favoritesCount?: number | null | undefined;
5251
5269
  account?: {
5252
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
5253
5270
  name: string;
5254
5271
  userId: number;
5255
5272
  accountId: string;
5256
5273
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
5274
+ status?: unknown;
5257
5275
  locale?: string | null | undefined;
5258
5276
  lockReason?: unknown;
5259
5277
  night?: {
@@ -5275,6 +5293,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
5275
5293
  signedUrl: string;
5276
5294
  status?: "PENDING" | "CONFIRMED" | null | undefined;
5277
5295
  } | null | undefined;
5296
+ cooldownEndsAt?: Date | null | undefined;
5278
5297
  } | null | undefined;
5279
5298
  }[] | null | undefined;
5280
5299
  brandId?: number | null | undefined;
@@ -5616,6 +5635,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
5616
5635
  issueDate: Date;
5617
5636
  subtotal: number;
5618
5637
  fileId?: string | null | undefined;
5638
+ vatAmount?: number | null | undefined;
5619
5639
  file?: {
5620
5640
  path: string;
5621
5641
  id: string;
@@ -5624,7 +5644,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
5624
5644
  signedUrl: string;
5625
5645
  status?: "PENDING" | "CONFIRMED" | null | undefined;
5626
5646
  } | null | undefined;
5627
- vatAmount?: number | null | undefined;
5628
5647
  vatRate?: number | null | undefined;
5629
5648
  businessProfile?: {
5630
5649
  id: string;
@@ -5707,11 +5726,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
5707
5726
  viewsCount?: number | null | undefined;
5708
5727
  favoritesCount?: number | null | undefined;
5709
5728
  account?: {
5710
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
5711
5729
  name: string;
5712
5730
  userId: number;
5713
5731
  accountId: string;
5714
5732
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
5733
+ status?: unknown;
5715
5734
  locale?: string | null | undefined;
5716
5735
  lockReason?: unknown;
5717
5736
  night?: {
@@ -5733,6 +5752,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
5733
5752
  signedUrl: string;
5734
5753
  status?: "PENDING" | "CONFIRMED" | null | undefined;
5735
5754
  } | null | undefined;
5755
+ cooldownEndsAt?: Date | null | undefined;
5736
5756
  } | null | undefined;
5737
5757
  } | null | undefined;
5738
5758
  }[] | null | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"TransactionWithItems.d.ts","sourceRoot":"","sources":["TransactionWithItems.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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ED", "VESTIAIRE"]>;
7
7
  name: z.ZodString;
8
8
  locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
- status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED"]>;
9
+ status: z.ZodCatch<z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED", "PAUSED", "UNKNOWN"]>>;
10
10
  night: z.ZodOptional<z.ZodNullable<z.ZodObject<{
11
11
  startsAt: z.ZodDate;
12
12
  endsAt: z.ZodDate;
@@ -47,8 +47,9 @@ export declare const PlatformAuthRequestSchema: z.ZodObject<{
47
47
  status?: "PENDING" | "CONFIRMED" | null | undefined;
48
48
  }>>>;
49
49
  lockReason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["BANNED", "PHONE_NUMBER_REQUIRED", "LISTING_RESTRICTION", "CONVERTING_TO_PRO", "UNKNOWN"]>>>>;
50
+ cooldownEndsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
50
51
  }, "strip", z.ZodTypeAny, {
51
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
52
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
52
53
  name: string;
53
54
  userId: number;
54
55
  accountId: string;
@@ -74,12 +75,13 @@ export declare const PlatformAuthRequestSchema: z.ZodObject<{
74
75
  signedUrl: string;
75
76
  status?: "PENDING" | "CONFIRMED" | null | undefined;
76
77
  } | null | undefined;
78
+ cooldownEndsAt?: Date | null | undefined;
77
79
  }, {
78
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
79
80
  name: string;
80
81
  userId: number;
81
82
  accountId: string;
82
83
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
84
+ status?: unknown;
83
85
  locale?: string | null | undefined;
84
86
  lockReason?: unknown;
85
87
  night?: {
@@ -101,12 +103,13 @@ export declare const PlatformAuthRequestSchema: z.ZodObject<{
101
103
  signedUrl: string;
102
104
  status?: "PENDING" | "CONFIRMED" | null | undefined;
103
105
  } | null | undefined;
106
+ cooldownEndsAt?: Date | null | undefined;
104
107
  }>;
105
108
  otp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
106
109
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
107
110
  }, "strip", z.ZodTypeAny, {
108
111
  account: {
109
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
112
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
110
113
  name: string;
111
114
  userId: number;
112
115
  accountId: string;
@@ -132,16 +135,17 @@ export declare const PlatformAuthRequestSchema: z.ZodObject<{
132
135
  signedUrl: string;
133
136
  status?: "PENDING" | "CONFIRMED" | null | undefined;
134
137
  } | null | undefined;
138
+ cooldownEndsAt?: Date | null | undefined;
135
139
  };
136
140
  otp?: number | null | undefined;
137
141
  error?: string | null | undefined;
138
142
  }, {
139
143
  account: {
140
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
141
144
  name: string;
142
145
  userId: number;
143
146
  accountId: string;
144
147
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
148
+ status?: unknown;
145
149
  locale?: string | null | undefined;
146
150
  lockReason?: unknown;
147
151
  night?: {
@@ -163,6 +167,7 @@ export declare const PlatformAuthRequestSchema: z.ZodObject<{
163
167
  signedUrl: string;
164
168
  status?: "PENDING" | "CONFIRMED" | null | undefined;
165
169
  } | null | undefined;
170
+ cooldownEndsAt?: Date | null | undefined;
166
171
  };
167
172
  otp?: number | null | undefined;
168
173
  error?: string | null | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"PlatformAuthRequest.d.ts","sourceRoot":"","sources":["PlatformAuthRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIpC,CAAA;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAA"}
1
+ {"version":3,"file":"PlatformAuthRequest.d.ts","sourceRoot":"","sources":["PlatformAuthRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIpC,CAAA;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAA"}
@@ -6,7 +6,7 @@ export declare const PlatformJobUpdateSchema: z.ZodObject<{
6
6
  platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
7
7
  name: z.ZodString;
8
8
  locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
- status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED"]>;
9
+ status: z.ZodCatch<z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED", "PAUSED", "UNKNOWN"]>>;
10
10
  night: z.ZodOptional<z.ZodNullable<z.ZodObject<{
11
11
  startsAt: z.ZodDate;
12
12
  endsAt: z.ZodDate;
@@ -47,8 +47,9 @@ export declare const PlatformJobUpdateSchema: z.ZodObject<{
47
47
  status?: "PENDING" | "CONFIRMED" | null | undefined;
48
48
  }>>>;
49
49
  lockReason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["BANNED", "PHONE_NUMBER_REQUIRED", "LISTING_RESTRICTION", "CONVERTING_TO_PRO", "UNKNOWN"]>>>>;
50
+ cooldownEndsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
50
51
  }, "strip", z.ZodTypeAny, {
51
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
52
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
52
53
  name: string;
53
54
  userId: number;
54
55
  accountId: string;
@@ -74,12 +75,13 @@ export declare const PlatformJobUpdateSchema: z.ZodObject<{
74
75
  signedUrl: string;
75
76
  status?: "PENDING" | "CONFIRMED" | null | undefined;
76
77
  } | null | undefined;
78
+ cooldownEndsAt?: Date | null | undefined;
77
79
  }, {
78
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
79
80
  name: string;
80
81
  userId: number;
81
82
  accountId: string;
82
83
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
84
+ status?: unknown;
83
85
  locale?: string | null | undefined;
84
86
  lockReason?: unknown;
85
87
  night?: {
@@ -101,12 +103,13 @@ export declare const PlatformJobUpdateSchema: z.ZodObject<{
101
103
  signedUrl: string;
102
104
  status?: "PENDING" | "CONFIRMED" | null | undefined;
103
105
  } | null | undefined;
106
+ cooldownEndsAt?: Date | null | undefined;
104
107
  }>;
105
108
  job: z.ZodEnum<["POSTS_LIST", "ORDERS_LIST", "CONVERSATIONS_INBOX_GET", "ACCOUNTS_LOGIN"]>;
106
109
  done: z.ZodBoolean;
107
110
  }, "strip", z.ZodTypeAny, {
108
111
  account: {
109
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
112
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
110
113
  name: string;
111
114
  userId: number;
112
115
  accountId: string;
@@ -132,16 +135,17 @@ export declare const PlatformJobUpdateSchema: z.ZodObject<{
132
135
  signedUrl: string;
133
136
  status?: "PENDING" | "CONFIRMED" | null | undefined;
134
137
  } | null | undefined;
138
+ cooldownEndsAt?: Date | null | undefined;
135
139
  };
136
140
  job: "ACCOUNTS_LOGIN" | "CONVERSATIONS_INBOX_GET" | "ORDERS_LIST" | "POSTS_LIST";
137
141
  done: boolean;
138
142
  }, {
139
143
  account: {
140
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
141
144
  name: string;
142
145
  userId: number;
143
146
  accountId: string;
144
147
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
148
+ status?: unknown;
145
149
  locale?: string | null | undefined;
146
150
  lockReason?: unknown;
147
151
  night?: {
@@ -163,6 +167,7 @@ export declare const PlatformJobUpdateSchema: z.ZodObject<{
163
167
  signedUrl: string;
164
168
  status?: "PENDING" | "CONFIRMED" | null | undefined;
165
169
  } | null | undefined;
170
+ cooldownEndsAt?: Date | null | undefined;
166
171
  };
167
172
  job: "ACCOUNTS_LOGIN" | "CONVERSATIONS_INBOX_GET" | "ORDERS_LIST" | "POSTS_LIST";
168
173
  done: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"PlatformJobUpdate.d.ts","sourceRoot":"","sources":["PlatformJobUpdate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIlC,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA"}
1
+ {"version":3,"file":"PlatformJobUpdate.d.ts","sourceRoot":"","sources":["PlatformJobUpdate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIlC,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA"}