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
@@ -30,7 +30,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
30
30
  platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
31
31
  name: z.ZodString;
32
32
  locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
- status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED"]>;
33
+ status: z.ZodCatch<z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED", "PAUSED", "UNKNOWN"]>>;
34
34
  night: z.ZodOptional<z.ZodNullable<z.ZodObject<{
35
35
  startsAt: z.ZodDate;
36
36
  endsAt: z.ZodDate;
@@ -71,8 +71,9 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
71
71
  status?: "PENDING" | "CONFIRMED" | null | undefined;
72
72
  }>>>;
73
73
  lockReason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["BANNED", "PHONE_NUMBER_REQUIRED", "LISTING_RESTRICTION", "CONVERTING_TO_PRO", "UNKNOWN"]>>>>;
74
+ cooldownEndsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
74
75
  }, "strip", z.ZodTypeAny, {
75
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
76
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
76
77
  name: string;
77
78
  userId: number;
78
79
  accountId: string;
@@ -98,12 +99,13 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
98
99
  signedUrl: string;
99
100
  status?: "PENDING" | "CONFIRMED" | null | undefined;
100
101
  } | null | undefined;
102
+ cooldownEndsAt?: Date | null | undefined;
101
103
  }, {
102
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
103
104
  name: string;
104
105
  userId: number;
105
106
  accountId: string;
106
107
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
108
+ status?: unknown;
107
109
  locale?: string | null | undefined;
108
110
  lockReason?: unknown;
109
111
  night?: {
@@ -125,6 +127,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
125
127
  signedUrl: string;
126
128
  status?: "PENDING" | "CONFIRMED" | null | undefined;
127
129
  } | null | undefined;
130
+ cooldownEndsAt?: Date | null | undefined;
128
131
  }>>>;
129
132
  conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
130
133
  viewsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -144,7 +147,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
144
147
  viewsCount?: number | null | undefined;
145
148
  favoritesCount?: number | null | undefined;
146
149
  account?: {
147
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
150
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
148
151
  name: string;
149
152
  userId: number;
150
153
  accountId: string;
@@ -170,6 +173,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
170
173
  signedUrl: string;
171
174
  status?: "PENDING" | "CONFIRMED" | null | undefined;
172
175
  } | null | undefined;
176
+ cooldownEndsAt?: Date | null | undefined;
173
177
  } | null | undefined;
174
178
  }, {
175
179
  id: string;
@@ -186,11 +190,11 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
186
190
  viewsCount?: number | null | undefined;
187
191
  favoritesCount?: number | null | undefined;
188
192
  account?: {
189
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
190
193
  name: string;
191
194
  userId: number;
192
195
  accountId: string;
193
196
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
197
+ status?: unknown;
194
198
  locale?: string | null | undefined;
195
199
  lockReason?: unknown;
196
200
  night?: {
@@ -212,6 +216,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
212
216
  signedUrl: string;
213
217
  status?: "PENDING" | "CONFIRMED" | null | undefined;
214
218
  } | null | undefined;
219
+ cooldownEndsAt?: Date | null | undefined;
215
220
  } | null | undefined;
216
221
  }>>>;
217
222
  }, "strip", z.ZodTypeAny, {
@@ -232,7 +237,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
232
237
  viewsCount?: number | null | undefined;
233
238
  favoritesCount?: number | null | undefined;
234
239
  account?: {
235
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
240
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
236
241
  name: string;
237
242
  userId: number;
238
243
  accountId: string;
@@ -258,6 +263,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
258
263
  signedUrl: string;
259
264
  status?: "PENDING" | "CONFIRMED" | null | undefined;
260
265
  } | null | undefined;
266
+ cooldownEndsAt?: Date | null | undefined;
261
267
  } | null | undefined;
262
268
  } | null | undefined;
263
269
  }, {
@@ -278,11 +284,11 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
278
284
  viewsCount?: number | null | undefined;
279
285
  favoritesCount?: number | null | undefined;
280
286
  account?: {
281
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
282
287
  name: string;
283
288
  userId: number;
284
289
  accountId: string;
285
290
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
291
+ status?: unknown;
286
292
  locale?: string | null | undefined;
287
293
  lockReason?: unknown;
288
294
  night?: {
@@ -304,6 +310,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
304
310
  signedUrl: string;
305
311
  status?: "PENDING" | "CONFIRMED" | null | undefined;
306
312
  } | null | undefined;
313
+ cooldownEndsAt?: Date | null | undefined;
307
314
  } | null | undefined;
308
315
  } | null | undefined;
309
316
  }>, "many">>>;
@@ -746,6 +753,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
746
753
  issueDate: Date;
747
754
  subtotal: number;
748
755
  fileId?: string | null | undefined;
756
+ vatAmount?: number | null | undefined;
749
757
  file?: {
750
758
  path: string;
751
759
  id: string;
@@ -754,7 +762,6 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
754
762
  signedUrl: string;
755
763
  status?: "PENDING" | "CONFIRMED" | null | undefined;
756
764
  } | null | undefined;
757
- vatAmount?: number | null | undefined;
758
765
  vatRate?: number | null | undefined;
759
766
  businessProfile?: {
760
767
  id: string;
@@ -825,6 +832,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
825
832
  issueDate: Date;
826
833
  subtotal: number;
827
834
  fileId?: string | null | undefined;
835
+ vatAmount?: number | null | undefined;
828
836
  file?: {
829
837
  path: string;
830
838
  id: string;
@@ -833,7 +841,6 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
833
841
  signedUrl: string;
834
842
  status?: "PENDING" | "CONFIRMED" | null | undefined;
835
843
  } | null | undefined;
836
- vatAmount?: number | null | undefined;
837
844
  vatRate?: number | null | undefined;
838
845
  businessProfile?: {
839
846
  id: string;
@@ -940,6 +947,12 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
940
947
  status?: "PENDING" | "CONFIRMED" | null | undefined;
941
948
  } | null | undefined;
942
949
  }[] | null | undefined;
950
+ platformFee?: number | null | undefined;
951
+ shippingFee?: number | null | undefined;
952
+ shippingVat?: number | null | undefined;
953
+ vatAmount?: number | null | undefined;
954
+ totalAmount?: number | null | undefined;
955
+ refundAmount?: number | null | undefined;
943
956
  pickupPoints?: {
944
957
  orderId: string;
945
958
  pickupPointId: string;
@@ -979,7 +992,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
979
992
  viewsCount?: number | null | undefined;
980
993
  favoritesCount?: number | null | undefined;
981
994
  account?: {
982
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
995
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
983
996
  name: string;
984
997
  userId: number;
985
998
  accountId: string;
@@ -1005,15 +1018,10 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1005
1018
  signedUrl: string;
1006
1019
  status?: "PENDING" | "CONFIRMED" | null | undefined;
1007
1020
  } | null | undefined;
1021
+ cooldownEndsAt?: Date | null | undefined;
1008
1022
  } | null | undefined;
1009
1023
  } | null | undefined;
1010
1024
  }[] | null | undefined;
1011
- platformFee?: number | null | undefined;
1012
- shippingFee?: number | null | undefined;
1013
- shippingVat?: number | null | undefined;
1014
- vatAmount?: number | null | undefined;
1015
- totalAmount?: number | null | undefined;
1016
- refundAmount?: number | null | undefined;
1017
1025
  invoices?: {
1018
1026
  type: "SALE" | "PURCHASE";
1019
1027
  status: string;
@@ -1029,6 +1037,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1029
1037
  issueDate: Date;
1030
1038
  subtotal: number;
1031
1039
  fileId?: string | null | undefined;
1040
+ vatAmount?: number | null | undefined;
1032
1041
  file?: {
1033
1042
  path: string;
1034
1043
  id: string;
@@ -1037,7 +1046,6 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1037
1046
  signedUrl: string;
1038
1047
  status?: "PENDING" | "CONFIRMED" | null | undefined;
1039
1048
  } | null | undefined;
1040
- vatAmount?: number | null | undefined;
1041
1049
  vatRate?: number | null | undefined;
1042
1050
  businessProfile?: {
1043
1051
  id: string;
@@ -1137,6 +1145,12 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1137
1145
  status?: "PENDING" | "CONFIRMED" | null | undefined;
1138
1146
  } | null | undefined;
1139
1147
  }[] | null | undefined;
1148
+ platformFee?: number | null | undefined;
1149
+ shippingFee?: number | null | undefined;
1150
+ shippingVat?: number | null | undefined;
1151
+ vatAmount?: number | null | undefined;
1152
+ totalAmount?: number | null | undefined;
1153
+ refundAmount?: number | null | undefined;
1140
1154
  pickupPoints?: {
1141
1155
  orderId: string;
1142
1156
  pickupPointId: string;
@@ -1176,11 +1190,11 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1176
1190
  viewsCount?: number | null | undefined;
1177
1191
  favoritesCount?: number | null | undefined;
1178
1192
  account?: {
1179
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
1180
1193
  name: string;
1181
1194
  userId: number;
1182
1195
  accountId: string;
1183
1196
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
1197
+ status?: unknown;
1184
1198
  locale?: string | null | undefined;
1185
1199
  lockReason?: unknown;
1186
1200
  night?: {
@@ -1202,15 +1216,10 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1202
1216
  signedUrl: string;
1203
1217
  status?: "PENDING" | "CONFIRMED" | null | undefined;
1204
1218
  } | null | undefined;
1219
+ cooldownEndsAt?: Date | null | undefined;
1205
1220
  } | null | undefined;
1206
1221
  } | null | undefined;
1207
1222
  }[] | null | undefined;
1208
- platformFee?: number | null | undefined;
1209
- shippingFee?: number | null | undefined;
1210
- shippingVat?: number | null | undefined;
1211
- vatAmount?: number | null | undefined;
1212
- totalAmount?: number | null | undefined;
1213
- refundAmount?: number | null | undefined;
1214
1223
  invoices?: {
1215
1224
  type: "SALE" | "PURCHASE";
1216
1225
  status: string;
@@ -1226,6 +1235,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1226
1235
  issueDate: Date;
1227
1236
  subtotal: number;
1228
1237
  fileId?: string | null | undefined;
1238
+ vatAmount?: number | null | undefined;
1229
1239
  file?: {
1230
1240
  path: string;
1231
1241
  id: string;
@@ -1234,7 +1244,6 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1234
1244
  signedUrl: string;
1235
1245
  status?: "PENDING" | "CONFIRMED" | null | undefined;
1236
1246
  } | null | undefined;
1237
- vatAmount?: number | null | undefined;
1238
1247
  vatRate?: number | null | undefined;
1239
1248
  businessProfile?: {
1240
1249
  id: string;
@@ -3575,7 +3584,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
3575
3584
  platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
3576
3585
  name: z.ZodString;
3577
3586
  locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3578
- status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED"]>;
3587
+ status: z.ZodCatch<z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED", "PAUSED", "UNKNOWN"]>>;
3579
3588
  night: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3580
3589
  startsAt: z.ZodDate;
3581
3590
  endsAt: z.ZodDate;
@@ -3616,8 +3625,9 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
3616
3625
  status?: "PENDING" | "CONFIRMED" | null | undefined;
3617
3626
  }>>>;
3618
3627
  lockReason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["BANNED", "PHONE_NUMBER_REQUIRED", "LISTING_RESTRICTION", "CONVERTING_TO_PRO", "UNKNOWN"]>>>>;
3628
+ cooldownEndsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3619
3629
  }, "strip", z.ZodTypeAny, {
3620
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
3630
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
3621
3631
  name: string;
3622
3632
  userId: number;
3623
3633
  accountId: string;
@@ -3643,12 +3653,13 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
3643
3653
  signedUrl: string;
3644
3654
  status?: "PENDING" | "CONFIRMED" | null | undefined;
3645
3655
  } | null | undefined;
3656
+ cooldownEndsAt?: Date | null | undefined;
3646
3657
  }, {
3647
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
3648
3658
  name: string;
3649
3659
  userId: number;
3650
3660
  accountId: string;
3651
3661
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
3662
+ status?: unknown;
3652
3663
  locale?: string | null | undefined;
3653
3664
  lockReason?: unknown;
3654
3665
  night?: {
@@ -3670,6 +3681,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
3670
3681
  signedUrl: string;
3671
3682
  status?: "PENDING" | "CONFIRMED" | null | undefined;
3672
3683
  } | null | undefined;
3684
+ cooldownEndsAt?: Date | null | undefined;
3673
3685
  }>>>;
3674
3686
  conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3675
3687
  viewsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -3689,7 +3701,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
3689
3701
  viewsCount?: number | null | undefined;
3690
3702
  favoritesCount?: number | null | undefined;
3691
3703
  account?: {
3692
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
3704
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
3693
3705
  name: string;
3694
3706
  userId: number;
3695
3707
  accountId: string;
@@ -3715,6 +3727,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
3715
3727
  signedUrl: string;
3716
3728
  status?: "PENDING" | "CONFIRMED" | null | undefined;
3717
3729
  } | null | undefined;
3730
+ cooldownEndsAt?: Date | null | undefined;
3718
3731
  } | null | undefined;
3719
3732
  }, {
3720
3733
  id: string;
@@ -3731,11 +3744,11 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
3731
3744
  viewsCount?: number | null | undefined;
3732
3745
  favoritesCount?: number | null | undefined;
3733
3746
  account?: {
3734
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
3735
3747
  name: string;
3736
3748
  userId: number;
3737
3749
  accountId: string;
3738
3750
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
3751
+ status?: unknown;
3739
3752
  locale?: string | null | undefined;
3740
3753
  lockReason?: unknown;
3741
3754
  night?: {
@@ -3757,6 +3770,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
3757
3770
  signedUrl: string;
3758
3771
  status?: "PENDING" | "CONFIRMED" | null | undefined;
3759
3772
  } | null | undefined;
3773
+ cooldownEndsAt?: Date | null | undefined;
3760
3774
  } | null | undefined;
3761
3775
  }>, "many">>>;
3762
3776
  actions: z.ZodObject<{
@@ -4125,6 +4139,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
4125
4139
  issueDate: Date;
4126
4140
  subtotal: number;
4127
4141
  fileId?: string | null | undefined;
4142
+ vatAmount?: number | null | undefined;
4128
4143
  file?: {
4129
4144
  path: string;
4130
4145
  id: string;
@@ -4133,7 +4148,6 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
4133
4148
  signedUrl: string;
4134
4149
  status?: "PENDING" | "CONFIRMED" | null | undefined;
4135
4150
  } | null | undefined;
4136
- vatAmount?: number | null | undefined;
4137
4151
  vatRate?: number | null | undefined;
4138
4152
  businessProfile?: {
4139
4153
  id: string;
@@ -4204,6 +4218,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
4204
4218
  issueDate: Date;
4205
4219
  subtotal: number;
4206
4220
  fileId?: string | null | undefined;
4221
+ vatAmount?: number | null | undefined;
4207
4222
  file?: {
4208
4223
  path: string;
4209
4224
  id: string;
@@ -4212,7 +4227,6 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
4212
4227
  signedUrl: string;
4213
4228
  status?: "PENDING" | "CONFIRMED" | null | undefined;
4214
4229
  } | null | undefined;
4215
- vatAmount?: number | null | undefined;
4216
4230
  vatRate?: number | null | undefined;
4217
4231
  businessProfile?: {
4218
4232
  id: string;
@@ -4318,6 +4332,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
4318
4332
  issueDate: Date;
4319
4333
  subtotal: number;
4320
4334
  fileId?: string | null | undefined;
4335
+ vatAmount?: number | null | undefined;
4321
4336
  file?: {
4322
4337
  path: string;
4323
4338
  id: string;
@@ -4326,7 +4341,6 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
4326
4341
  signedUrl: string;
4327
4342
  status?: "PENDING" | "CONFIRMED" | null | undefined;
4328
4343
  } | null | undefined;
4329
- vatAmount?: number | null | undefined;
4330
4344
  vatRate?: number | null | undefined;
4331
4345
  businessProfile?: {
4332
4346
  id: string;
@@ -4432,6 +4446,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
4432
4446
  issueDate: Date;
4433
4447
  subtotal: number;
4434
4448
  fileId?: string | null | undefined;
4449
+ vatAmount?: number | null | undefined;
4435
4450
  file?: {
4436
4451
  path: string;
4437
4452
  id: string;
@@ -4440,7 +4455,6 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
4440
4455
  signedUrl: string;
4441
4456
  status?: "PENDING" | "CONFIRMED" | null | undefined;
4442
4457
  } | null | undefined;
4443
- vatAmount?: number | null | undefined;
4444
4458
  vatRate?: number | null | undefined;
4445
4459
  businessProfile?: {
4446
4460
  id: string;
@@ -4565,7 +4579,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
4565
4579
  viewsCount?: number | null | undefined;
4566
4580
  favoritesCount?: number | null | undefined;
4567
4581
  account?: {
4568
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
4582
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
4569
4583
  name: string;
4570
4584
  userId: number;
4571
4585
  accountId: string;
@@ -4591,6 +4605,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
4591
4605
  signedUrl: string;
4592
4606
  status?: "PENDING" | "CONFIRMED" | null | undefined;
4593
4607
  } | null | undefined;
4608
+ cooldownEndsAt?: Date | null | undefined;
4594
4609
  } | null | undefined;
4595
4610
  }[] | null | undefined;
4596
4611
  brandId?: number | null | undefined;
@@ -4932,6 +4947,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
4932
4947
  issueDate: Date;
4933
4948
  subtotal: number;
4934
4949
  fileId?: string | null | undefined;
4950
+ vatAmount?: number | null | undefined;
4935
4951
  file?: {
4936
4952
  path: string;
4937
4953
  id: string;
@@ -4940,7 +4956,6 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
4940
4956
  signedUrl: string;
4941
4957
  status?: "PENDING" | "CONFIRMED" | null | undefined;
4942
4958
  } | null | undefined;
4943
- vatAmount?: number | null | undefined;
4944
4959
  vatRate?: number | null | undefined;
4945
4960
  businessProfile?: {
4946
4961
  id: string;
@@ -5065,11 +5080,11 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
5065
5080
  viewsCount?: number | null | undefined;
5066
5081
  favoritesCount?: number | null | undefined;
5067
5082
  account?: {
5068
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
5069
5083
  name: string;
5070
5084
  userId: number;
5071
5085
  accountId: string;
5072
5086
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
5087
+ status?: unknown;
5073
5088
  locale?: string | null | undefined;
5074
5089
  lockReason?: unknown;
5075
5090
  night?: {
@@ -5091,6 +5106,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
5091
5106
  signedUrl: string;
5092
5107
  status?: "PENDING" | "CONFIRMED" | null | undefined;
5093
5108
  } | null | undefined;
5109
+ cooldownEndsAt?: Date | null | undefined;
5094
5110
  } | null | undefined;
5095
5111
  }[] | null | undefined;
5096
5112
  brandId?: number | null | undefined;
@@ -5432,6 +5448,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
5432
5448
  issueDate: Date;
5433
5449
  subtotal: number;
5434
5450
  fileId?: string | null | undefined;
5451
+ vatAmount?: number | null | undefined;
5435
5452
  file?: {
5436
5453
  path: string;
5437
5454
  id: string;
@@ -5440,7 +5457,6 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
5440
5457
  signedUrl: string;
5441
5458
  status?: "PENDING" | "CONFIRMED" | null | undefined;
5442
5459
  } | null | undefined;
5443
- vatAmount?: number | null | undefined;
5444
5460
  vatRate?: number | null | undefined;
5445
5461
  businessProfile?: {
5446
5462
  id: string;
@@ -5567,7 +5583,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
5567
5583
  viewsCount?: number | null | undefined;
5568
5584
  favoritesCount?: number | null | undefined;
5569
5585
  account?: {
5570
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
5586
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
5571
5587
  name: string;
5572
5588
  userId: number;
5573
5589
  accountId: string;
@@ -5593,6 +5609,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
5593
5609
  signedUrl: string;
5594
5610
  status?: "PENDING" | "CONFIRMED" | null | undefined;
5595
5611
  } | null | undefined;
5612
+ cooldownEndsAt?: Date | null | undefined;
5596
5613
  } | null | undefined;
5597
5614
  }[] | null | undefined;
5598
5615
  brandId?: number | null | undefined;
@@ -5934,6 +5951,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
5934
5951
  issueDate: Date;
5935
5952
  subtotal: number;
5936
5953
  fileId?: string | null | undefined;
5954
+ vatAmount?: number | null | undefined;
5937
5955
  file?: {
5938
5956
  path: string;
5939
5957
  id: string;
@@ -5942,7 +5960,6 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
5942
5960
  signedUrl: string;
5943
5961
  status?: "PENDING" | "CONFIRMED" | null | undefined;
5944
5962
  } | null | undefined;
5945
- vatAmount?: number | null | undefined;
5946
5963
  vatRate?: number | null | undefined;
5947
5964
  businessProfile?: {
5948
5965
  id: string;
@@ -6044,6 +6061,12 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
6044
6061
  status?: "PENDING" | "CONFIRMED" | null | undefined;
6045
6062
  } | null | undefined;
6046
6063
  }[] | null | undefined;
6064
+ platformFee?: number | null | undefined;
6065
+ shippingFee?: number | null | undefined;
6066
+ shippingVat?: number | null | undefined;
6067
+ vatAmount?: number | null | undefined;
6068
+ totalAmount?: number | null | undefined;
6069
+ refundAmount?: number | null | undefined;
6047
6070
  pickupPoints?: {
6048
6071
  orderId: string;
6049
6072
  pickupPointId: string;
@@ -6083,7 +6106,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
6083
6106
  viewsCount?: number | null | undefined;
6084
6107
  favoritesCount?: number | null | undefined;
6085
6108
  account?: {
6086
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
6109
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
6087
6110
  name: string;
6088
6111
  userId: number;
6089
6112
  accountId: string;
@@ -6109,15 +6132,10 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
6109
6132
  signedUrl: string;
6110
6133
  status?: "PENDING" | "CONFIRMED" | null | undefined;
6111
6134
  } | null | undefined;
6135
+ cooldownEndsAt?: Date | null | undefined;
6112
6136
  } | null | undefined;
6113
6137
  } | null | undefined;
6114
6138
  }[] | null | undefined;
6115
- platformFee?: number | null | undefined;
6116
- shippingFee?: number | null | undefined;
6117
- shippingVat?: number | null | undefined;
6118
- vatAmount?: number | null | undefined;
6119
- totalAmount?: number | null | undefined;
6120
- refundAmount?: number | null | undefined;
6121
6139
  invoices?: {
6122
6140
  type: "SALE" | "PURCHASE";
6123
6141
  status: string;
@@ -6133,6 +6151,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
6133
6151
  issueDate: Date;
6134
6152
  subtotal: number;
6135
6153
  fileId?: string | null | undefined;
6154
+ vatAmount?: number | null | undefined;
6136
6155
  file?: {
6137
6156
  path: string;
6138
6157
  id: string;
@@ -6141,7 +6160,6 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
6141
6160
  signedUrl: string;
6142
6161
  status?: "PENDING" | "CONFIRMED" | null | undefined;
6143
6162
  } | null | undefined;
6144
- vatAmount?: number | null | undefined;
6145
6163
  vatRate?: number | null | undefined;
6146
6164
  businessProfile?: {
6147
6165
  id: string;
@@ -6267,11 +6285,11 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
6267
6285
  viewsCount?: number | null | undefined;
6268
6286
  favoritesCount?: number | null | undefined;
6269
6287
  account?: {
6270
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
6271
6288
  name: string;
6272
6289
  userId: number;
6273
6290
  accountId: string;
6274
6291
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
6292
+ status?: unknown;
6275
6293
  locale?: string | null | undefined;
6276
6294
  lockReason?: unknown;
6277
6295
  night?: {
@@ -6293,6 +6311,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
6293
6311
  signedUrl: string;
6294
6312
  status?: "PENDING" | "CONFIRMED" | null | undefined;
6295
6313
  } | null | undefined;
6314
+ cooldownEndsAt?: Date | null | undefined;
6296
6315
  } | null | undefined;
6297
6316
  }[] | null | undefined;
6298
6317
  brandId?: number | null | undefined;
@@ -6634,6 +6653,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
6634
6653
  issueDate: Date;
6635
6654
  subtotal: number;
6636
6655
  fileId?: string | null | undefined;
6656
+ vatAmount?: number | null | undefined;
6637
6657
  file?: {
6638
6658
  path: string;
6639
6659
  id: string;
@@ -6642,7 +6662,6 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
6642
6662
  signedUrl: string;
6643
6663
  status?: "PENDING" | "CONFIRMED" | null | undefined;
6644
6664
  } | null | undefined;
6645
- vatAmount?: number | null | undefined;
6646
6665
  vatRate?: number | null | undefined;
6647
6666
  businessProfile?: {
6648
6667
  id: string;
@@ -6744,6 +6763,12 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
6744
6763
  status?: "PENDING" | "CONFIRMED" | null | undefined;
6745
6764
  } | null | undefined;
6746
6765
  }[] | null | undefined;
6766
+ platformFee?: number | null | undefined;
6767
+ shippingFee?: number | null | undefined;
6768
+ shippingVat?: number | null | undefined;
6769
+ vatAmount?: number | null | undefined;
6770
+ totalAmount?: number | null | undefined;
6771
+ refundAmount?: number | null | undefined;
6747
6772
  pickupPoints?: {
6748
6773
  orderId: string;
6749
6774
  pickupPointId: string;
@@ -6783,11 +6808,11 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
6783
6808
  viewsCount?: number | null | undefined;
6784
6809
  favoritesCount?: number | null | undefined;
6785
6810
  account?: {
6786
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
6787
6811
  name: string;
6788
6812
  userId: number;
6789
6813
  accountId: string;
6790
6814
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
6815
+ status?: unknown;
6791
6816
  locale?: string | null | undefined;
6792
6817
  lockReason?: unknown;
6793
6818
  night?: {
@@ -6809,15 +6834,10 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
6809
6834
  signedUrl: string;
6810
6835
  status?: "PENDING" | "CONFIRMED" | null | undefined;
6811
6836
  } | null | undefined;
6837
+ cooldownEndsAt?: Date | null | undefined;
6812
6838
  } | null | undefined;
6813
6839
  } | null | undefined;
6814
6840
  }[] | null | undefined;
6815
- platformFee?: number | null | undefined;
6816
- shippingFee?: number | null | undefined;
6817
- shippingVat?: number | null | undefined;
6818
- vatAmount?: number | null | undefined;
6819
- totalAmount?: number | null | undefined;
6820
- refundAmount?: number | null | undefined;
6821
6841
  invoices?: {
6822
6842
  type: "SALE" | "PURCHASE";
6823
6843
  status: string;
@@ -6833,6 +6853,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
6833
6853
  issueDate: Date;
6834
6854
  subtotal: number;
6835
6855
  fileId?: string | null | undefined;
6856
+ vatAmount?: number | null | undefined;
6836
6857
  file?: {
6837
6858
  path: string;
6838
6859
  id: string;
@@ -6841,7 +6862,6 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
6841
6862
  signedUrl: string;
6842
6863
  status?: "PENDING" | "CONFIRMED" | null | undefined;
6843
6864
  } | null | undefined;
6844
- vatAmount?: number | null | undefined;
6845
6865
  vatRate?: number | null | undefined;
6846
6866
  businessProfile?: {
6847
6867
  id: string;