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
@@ -20,13 +20,13 @@ export declare const CreateConversationUserPayloadSchema: z.ZodObject<{
20
20
  reviewCount?: number | null | undefined;
21
21
  reviewValue?: number | null | undefined;
22
22
  location?: string | null | undefined;
23
- photoFileId?: string | null | undefined;
24
23
  billingName?: string | null | undefined;
25
24
  billingAddressLine1?: string | null | undefined;
26
25
  billingAddressLine2?: string | null | undefined;
27
26
  billingPostalCode?: string | null | undefined;
28
27
  billingCity?: string | null | undefined;
29
28
  billingCountryCode?: string | null | undefined;
29
+ photoFileId?: string | null | undefined;
30
30
  }, {
31
31
  login: string;
32
32
  platformUserId: string;
@@ -34,13 +34,13 @@ export declare const CreateConversationUserPayloadSchema: z.ZodObject<{
34
34
  reviewCount?: number | null | undefined;
35
35
  reviewValue?: number | null | undefined;
36
36
  location?: string | null | undefined;
37
- photoFileId?: string | null | undefined;
38
37
  billingName?: string | null | undefined;
39
38
  billingAddressLine1?: string | null | undefined;
40
39
  billingAddressLine2?: string | null | undefined;
41
40
  billingPostalCode?: string | null | undefined;
42
41
  billingCity?: string | null | undefined;
43
42
  billingCountryCode?: string | null | undefined;
43
+ photoFileId?: string | null | undefined;
44
44
  }>;
45
45
  export type CreateConversationUserPayload = z.infer<typeof CreateConversationUserPayloadSchema>;
46
46
  //# sourceMappingURL=CreateConversationUserPayload.d.ts.map
@@ -18,26 +18,26 @@ export declare const UpdateConversationUserPayloadSchema: z.ZodObject<{
18
18
  reviewCount?: number | null | undefined;
19
19
  reviewValue?: number | null | undefined;
20
20
  location?: string | null | undefined;
21
- photoFileId?: string | null | undefined;
22
21
  billingName?: string | null | undefined;
23
22
  billingAddressLine1?: string | null | undefined;
24
23
  billingAddressLine2?: string | null | undefined;
25
24
  billingPostalCode?: string | null | undefined;
26
25
  billingCity?: string | null | undefined;
27
26
  billingCountryCode?: string | null | undefined;
27
+ photoFileId?: string | null | undefined;
28
28
  }, {
29
29
  email?: string | null | undefined;
30
30
  login?: string | null | undefined;
31
31
  reviewCount?: number | null | undefined;
32
32
  reviewValue?: number | null | undefined;
33
33
  location?: string | null | undefined;
34
- photoFileId?: string | null | undefined;
35
34
  billingName?: string | null | undefined;
36
35
  billingAddressLine1?: string | null | undefined;
37
36
  billingAddressLine2?: string | null | undefined;
38
37
  billingPostalCode?: string | null | undefined;
39
38
  billingCity?: string | null | undefined;
40
39
  billingCountryCode?: string | null | undefined;
40
+ photoFileId?: string | null | undefined;
41
41
  }>;
42
42
  export type UpdateConversationUserPayload = z.infer<typeof UpdateConversationUserPayloadSchema>;
43
43
  //# sourceMappingURL=UpdateConversationUserPayload.d.ts.map
@@ -34,7 +34,7 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
34
34
  platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
35
35
  name: z.ZodString;
36
36
  locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
- status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED"]>;
37
+ status: z.ZodCatch<z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED", "PAUSED", "UNKNOWN"]>>;
38
38
  night: z.ZodOptional<z.ZodNullable<z.ZodObject<{
39
39
  startsAt: z.ZodDate;
40
40
  endsAt: z.ZodDate;
@@ -75,8 +75,9 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
75
75
  status?: "PENDING" | "CONFIRMED" | null | undefined;
76
76
  }>>>;
77
77
  lockReason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["BANNED", "PHONE_NUMBER_REQUIRED", "LISTING_RESTRICTION", "CONVERTING_TO_PRO", "UNKNOWN"]>>>>;
78
+ cooldownEndsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
78
79
  }, "strip", z.ZodTypeAny, {
79
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
80
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
80
81
  name: string;
81
82
  userId: number;
82
83
  accountId: string;
@@ -102,12 +103,13 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
102
103
  signedUrl: string;
103
104
  status?: "PENDING" | "CONFIRMED" | null | undefined;
104
105
  } | null | undefined;
106
+ cooldownEndsAt?: Date | null | undefined;
105
107
  }, {
106
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
107
108
  name: string;
108
109
  userId: number;
109
110
  accountId: string;
110
111
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
112
+ status?: unknown;
111
113
  locale?: string | null | undefined;
112
114
  lockReason?: unknown;
113
115
  night?: {
@@ -129,6 +131,7 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
129
131
  signedUrl: string;
130
132
  status?: "PENDING" | "CONFIRMED" | null | undefined;
131
133
  } | null | undefined;
134
+ cooldownEndsAt?: Date | null | undefined;
132
135
  }>, "many">>>;
133
136
  transactionType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["SINGLE_ITEM", "BUNDLE"]>>>;
134
137
  }, "strip", z.ZodTypeAny, {
@@ -144,7 +147,7 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
144
147
  sellingDate?: Date | null | undefined;
145
148
  }[] | null | undefined;
146
149
  accounts?: {
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 PreferenceFilterSchema: 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
  transactionType?: "SINGLE_ITEM" | "BUNDLE" | null | undefined;
@@ -184,11 +188,11 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
184
188
  sellingDate?: Date | null | undefined;
185
189
  }[] | null | undefined;
186
190
  accounts?: {
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 PreferenceFilterSchema: 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
  export type PreferenceFilter = z.infer<typeof PreferenceFilterSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"PreferenceFilter.d.ts","sourceRoot":"","sources":["PreferenceFilter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAKrB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIjC,CAAA;AACF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA"}
1
+ {"version":3,"file":"PreferenceFilter.d.ts","sourceRoot":"","sources":["PreferenceFilter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAKrB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIjC,CAAA;AACF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA"}
@@ -217,6 +217,7 @@ export declare const InvoiceSchema: z.ZodObject<{
217
217
  issueDate: Date;
218
218
  subtotal: number;
219
219
  fileId?: string | null | undefined;
220
+ vatAmount?: number | null | undefined;
220
221
  file?: {
221
222
  path: string;
222
223
  id: string;
@@ -225,7 +226,6 @@ export declare const InvoiceSchema: z.ZodObject<{
225
226
  signedUrl: string;
226
227
  status?: "PENDING" | "CONFIRMED" | null | undefined;
227
228
  } | null | undefined;
228
- vatAmount?: number | null | undefined;
229
229
  vatRate?: number | null | undefined;
230
230
  businessProfile?: {
231
231
  id: string;
@@ -296,6 +296,7 @@ export declare const InvoiceSchema: z.ZodObject<{
296
296
  issueDate: Date;
297
297
  subtotal: number;
298
298
  fileId?: string | null | undefined;
299
+ vatAmount?: number | null | undefined;
299
300
  file?: {
300
301
  path: string;
301
302
  id: string;
@@ -304,7 +305,6 @@ export declare const InvoiceSchema: z.ZodObject<{
304
305
  signedUrl: string;
305
306
  status?: "PENDING" | "CONFIRMED" | null | undefined;
306
307
  } | null | undefined;
307
- vatAmount?: number | null | undefined;
308
308
  vatRate?: number | null | undefined;
309
309
  businessProfile?: {
310
310
  id: string;
@@ -2283,7 +2283,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
2283
2283
  platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
2284
2284
  name: z.ZodString;
2285
2285
  locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2286
- status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED"]>;
2286
+ status: z.ZodCatch<z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED", "PAUSED", "UNKNOWN"]>>;
2287
2287
  night: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2288
2288
  startsAt: z.ZodDate;
2289
2289
  endsAt: z.ZodDate;
@@ -2324,8 +2324,9 @@ export declare const CreatedItemsSchema: z.ZodObject<{
2324
2324
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2325
2325
  }>>>;
2326
2326
  lockReason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["BANNED", "PHONE_NUMBER_REQUIRED", "LISTING_RESTRICTION", "CONVERTING_TO_PRO", "UNKNOWN"]>>>>;
2327
+ cooldownEndsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2327
2328
  }, "strip", z.ZodTypeAny, {
2328
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
2329
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
2329
2330
  name: string;
2330
2331
  userId: number;
2331
2332
  accountId: string;
@@ -2351,12 +2352,13 @@ export declare const CreatedItemsSchema: z.ZodObject<{
2351
2352
  signedUrl: string;
2352
2353
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2353
2354
  } | null | undefined;
2355
+ cooldownEndsAt?: Date | null | undefined;
2354
2356
  }, {
2355
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
2356
2357
  name: string;
2357
2358
  userId: number;
2358
2359
  accountId: string;
2359
2360
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
2361
+ status?: unknown;
2360
2362
  locale?: string | null | undefined;
2361
2363
  lockReason?: unknown;
2362
2364
  night?: {
@@ -2378,6 +2380,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
2378
2380
  signedUrl: string;
2379
2381
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2380
2382
  } | null | undefined;
2383
+ cooldownEndsAt?: Date | null | undefined;
2381
2384
  }>>>;
2382
2385
  conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2383
2386
  viewsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -2397,7 +2400,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
2397
2400
  viewsCount?: number | null | undefined;
2398
2401
  favoritesCount?: number | null | undefined;
2399
2402
  account?: {
2400
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
2403
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
2401
2404
  name: string;
2402
2405
  userId: number;
2403
2406
  accountId: string;
@@ -2423,6 +2426,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
2423
2426
  signedUrl: string;
2424
2427
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2425
2428
  } | null | undefined;
2429
+ cooldownEndsAt?: Date | null | undefined;
2426
2430
  } | null | undefined;
2427
2431
  }, {
2428
2432
  id: string;
@@ -2439,11 +2443,11 @@ export declare const CreatedItemsSchema: z.ZodObject<{
2439
2443
  viewsCount?: number | null | undefined;
2440
2444
  favoritesCount?: number | null | undefined;
2441
2445
  account?: {
2442
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
2443
2446
  name: string;
2444
2447
  userId: number;
2445
2448
  accountId: string;
2446
2449
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
2450
+ status?: unknown;
2447
2451
  locale?: string | null | undefined;
2448
2452
  lockReason?: unknown;
2449
2453
  night?: {
@@ -2465,6 +2469,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
2465
2469
  signedUrl: string;
2466
2470
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2467
2471
  } | null | undefined;
2472
+ cooldownEndsAt?: Date | null | undefined;
2468
2473
  } | null | undefined;
2469
2474
  }>, "many">>>;
2470
2475
  history: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
@@ -4578,7 +4583,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
4578
4583
  viewsCount?: number | null | undefined;
4579
4584
  favoritesCount?: number | null | undefined;
4580
4585
  account?: {
4581
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
4586
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
4582
4587
  name: string;
4583
4588
  userId: number;
4584
4589
  accountId: string;
@@ -4604,6 +4609,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
4604
4609
  signedUrl: string;
4605
4610
  status?: "PENDING" | "CONFIRMED" | null | undefined;
4606
4611
  } | null | undefined;
4612
+ cooldownEndsAt?: Date | null | undefined;
4607
4613
  } | null | undefined;
4608
4614
  }[] | null | undefined;
4609
4615
  brandId?: number | null | undefined;
@@ -5210,11 +5216,11 @@ export declare const CreatedItemsSchema: z.ZodObject<{
5210
5216
  viewsCount?: number | null | undefined;
5211
5217
  favoritesCount?: number | null | undefined;
5212
5218
  account?: {
5213
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
5214
5219
  name: string;
5215
5220
  userId: number;
5216
5221
  accountId: string;
5217
5222
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
5223
+ status?: unknown;
5218
5224
  locale?: string | null | undefined;
5219
5225
  lockReason?: unknown;
5220
5226
  night?: {
@@ -5236,6 +5242,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
5236
5242
  signedUrl: string;
5237
5243
  status?: "PENDING" | "CONFIRMED" | null | undefined;
5238
5244
  } | null | undefined;
5245
+ cooldownEndsAt?: Date | null | undefined;
5239
5246
  } | null | undefined;
5240
5247
  }[] | null | undefined;
5241
5248
  brandId?: number | null | undefined;
@@ -8087,7 +8094,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
8087
8094
  platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
8088
8095
  name: z.ZodString;
8089
8096
  locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8090
- status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED"]>;
8097
+ status: z.ZodCatch<z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED", "PAUSED", "UNKNOWN"]>>;
8091
8098
  night: z.ZodOptional<z.ZodNullable<z.ZodObject<{
8092
8099
  startsAt: z.ZodDate;
8093
8100
  endsAt: z.ZodDate;
@@ -8128,8 +8135,9 @@ export declare const CreatedItemsSchema: z.ZodObject<{
8128
8135
  status?: "PENDING" | "CONFIRMED" | null | undefined;
8129
8136
  }>>>;
8130
8137
  lockReason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["BANNED", "PHONE_NUMBER_REQUIRED", "LISTING_RESTRICTION", "CONVERTING_TO_PRO", "UNKNOWN"]>>>>;
8138
+ cooldownEndsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
8131
8139
  }, "strip", z.ZodTypeAny, {
8132
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
8140
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
8133
8141
  name: string;
8134
8142
  userId: number;
8135
8143
  accountId: string;
@@ -8155,12 +8163,13 @@ export declare const CreatedItemsSchema: z.ZodObject<{
8155
8163
  signedUrl: string;
8156
8164
  status?: "PENDING" | "CONFIRMED" | null | undefined;
8157
8165
  } | null | undefined;
8166
+ cooldownEndsAt?: Date | null | undefined;
8158
8167
  }, {
8159
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
8160
8168
  name: string;
8161
8169
  userId: number;
8162
8170
  accountId: string;
8163
8171
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
8172
+ status?: unknown;
8164
8173
  locale?: string | null | undefined;
8165
8174
  lockReason?: unknown;
8166
8175
  night?: {
@@ -8182,6 +8191,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
8182
8191
  signedUrl: string;
8183
8192
  status?: "PENDING" | "CONFIRMED" | null | undefined;
8184
8193
  } | null | undefined;
8194
+ cooldownEndsAt?: Date | null | undefined;
8185
8195
  }>>>;
8186
8196
  conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8187
8197
  viewsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -8201,7 +8211,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
8201
8211
  viewsCount?: number | null | undefined;
8202
8212
  favoritesCount?: number | null | undefined;
8203
8213
  account?: {
8204
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
8214
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
8205
8215
  name: string;
8206
8216
  userId: number;
8207
8217
  accountId: string;
@@ -8227,6 +8237,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
8227
8237
  signedUrl: string;
8228
8238
  status?: "PENDING" | "CONFIRMED" | null | undefined;
8229
8239
  } | null | undefined;
8240
+ cooldownEndsAt?: Date | null | undefined;
8230
8241
  } | null | undefined;
8231
8242
  }, {
8232
8243
  id: string;
@@ -8243,11 +8254,11 @@ export declare const CreatedItemsSchema: z.ZodObject<{
8243
8254
  viewsCount?: number | null | undefined;
8244
8255
  favoritesCount?: number | null | undefined;
8245
8256
  account?: {
8246
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
8247
8257
  name: string;
8248
8258
  userId: number;
8249
8259
  accountId: string;
8250
8260
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
8261
+ status?: unknown;
8251
8262
  locale?: string | null | undefined;
8252
8263
  lockReason?: unknown;
8253
8264
  night?: {
@@ -8269,6 +8280,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
8269
8280
  signedUrl: string;
8270
8281
  status?: "PENDING" | "CONFIRMED" | null | undefined;
8271
8282
  } | null | undefined;
8283
+ cooldownEndsAt?: Date | null | undefined;
8272
8284
  } | null | undefined;
8273
8285
  }>, "many">>>;
8274
8286
  actions: z.ZodObject<{
@@ -8637,6 +8649,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
8637
8649
  issueDate: Date;
8638
8650
  subtotal: number;
8639
8651
  fileId?: string | null | undefined;
8652
+ vatAmount?: number | null | undefined;
8640
8653
  file?: {
8641
8654
  path: string;
8642
8655
  id: string;
@@ -8645,7 +8658,6 @@ export declare const CreatedItemsSchema: z.ZodObject<{
8645
8658
  signedUrl: string;
8646
8659
  status?: "PENDING" | "CONFIRMED" | null | undefined;
8647
8660
  } | null | undefined;
8648
- vatAmount?: number | null | undefined;
8649
8661
  vatRate?: number | null | undefined;
8650
8662
  businessProfile?: {
8651
8663
  id: string;
@@ -8716,6 +8728,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
8716
8728
  issueDate: Date;
8717
8729
  subtotal: number;
8718
8730
  fileId?: string | null | undefined;
8731
+ vatAmount?: number | null | undefined;
8719
8732
  file?: {
8720
8733
  path: string;
8721
8734
  id: string;
@@ -8724,7 +8737,6 @@ export declare const CreatedItemsSchema: z.ZodObject<{
8724
8737
  signedUrl: string;
8725
8738
  status?: "PENDING" | "CONFIRMED" | null | undefined;
8726
8739
  } | null | undefined;
8727
- vatAmount?: number | null | undefined;
8728
8740
  vatRate?: number | null | undefined;
8729
8741
  businessProfile?: {
8730
8742
  id: string;
@@ -8830,6 +8842,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
8830
8842
  issueDate: Date;
8831
8843
  subtotal: number;
8832
8844
  fileId?: string | null | undefined;
8845
+ vatAmount?: number | null | undefined;
8833
8846
  file?: {
8834
8847
  path: string;
8835
8848
  id: string;
@@ -8838,7 +8851,6 @@ export declare const CreatedItemsSchema: z.ZodObject<{
8838
8851
  signedUrl: string;
8839
8852
  status?: "PENDING" | "CONFIRMED" | null | undefined;
8840
8853
  } | null | undefined;
8841
- vatAmount?: number | null | undefined;
8842
8854
  vatRate?: number | null | undefined;
8843
8855
  businessProfile?: {
8844
8856
  id: string;
@@ -8944,6 +8956,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
8944
8956
  issueDate: Date;
8945
8957
  subtotal: number;
8946
8958
  fileId?: string | null | undefined;
8959
+ vatAmount?: number | null | undefined;
8947
8960
  file?: {
8948
8961
  path: string;
8949
8962
  id: string;
@@ -8952,7 +8965,6 @@ export declare const CreatedItemsSchema: z.ZodObject<{
8952
8965
  signedUrl: string;
8953
8966
  status?: "PENDING" | "CONFIRMED" | null | undefined;
8954
8967
  } | null | undefined;
8955
- vatAmount?: number | null | undefined;
8956
8968
  vatRate?: number | null | undefined;
8957
8969
  businessProfile?: {
8958
8970
  id: string;
@@ -9077,7 +9089,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
9077
9089
  viewsCount?: number | null | undefined;
9078
9090
  favoritesCount?: number | null | undefined;
9079
9091
  account?: {
9080
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
9092
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
9081
9093
  name: string;
9082
9094
  userId: number;
9083
9095
  accountId: string;
@@ -9103,6 +9115,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
9103
9115
  signedUrl: string;
9104
9116
  status?: "PENDING" | "CONFIRMED" | null | undefined;
9105
9117
  } | null | undefined;
9118
+ cooldownEndsAt?: Date | null | undefined;
9106
9119
  } | null | undefined;
9107
9120
  }[] | null | undefined;
9108
9121
  brandId?: number | null | undefined;
@@ -9444,6 +9457,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
9444
9457
  issueDate: Date;
9445
9458
  subtotal: number;
9446
9459
  fileId?: string | null | undefined;
9460
+ vatAmount?: number | null | undefined;
9447
9461
  file?: {
9448
9462
  path: string;
9449
9463
  id: string;
@@ -9452,7 +9466,6 @@ export declare const CreatedItemsSchema: z.ZodObject<{
9452
9466
  signedUrl: string;
9453
9467
  status?: "PENDING" | "CONFIRMED" | null | undefined;
9454
9468
  } | null | undefined;
9455
- vatAmount?: number | null | undefined;
9456
9469
  vatRate?: number | null | undefined;
9457
9470
  businessProfile?: {
9458
9471
  id: string;
@@ -9577,11 +9590,11 @@ export declare const CreatedItemsSchema: z.ZodObject<{
9577
9590
  viewsCount?: number | null | undefined;
9578
9591
  favoritesCount?: number | null | undefined;
9579
9592
  account?: {
9580
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
9581
9593
  name: string;
9582
9594
  userId: number;
9583
9595
  accountId: string;
9584
9596
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
9597
+ status?: unknown;
9585
9598
  locale?: string | null | undefined;
9586
9599
  lockReason?: unknown;
9587
9600
  night?: {
@@ -9603,6 +9616,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
9603
9616
  signedUrl: string;
9604
9617
  status?: "PENDING" | "CONFIRMED" | null | undefined;
9605
9618
  } | null | undefined;
9619
+ cooldownEndsAt?: Date | null | undefined;
9606
9620
  } | null | undefined;
9607
9621
  }[] | null | undefined;
9608
9622
  brandId?: number | null | undefined;
@@ -9944,6 +9958,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
9944
9958
  issueDate: Date;
9945
9959
  subtotal: number;
9946
9960
  fileId?: string | null | undefined;
9961
+ vatAmount?: number | null | undefined;
9947
9962
  file?: {
9948
9963
  path: string;
9949
9964
  id: string;
@@ -9952,7 +9967,6 @@ export declare const CreatedItemsSchema: z.ZodObject<{
9952
9967
  signedUrl: string;
9953
9968
  status?: "PENDING" | "CONFIRMED" | null | undefined;
9954
9969
  } | null | undefined;
9955
- vatAmount?: number | null | undefined;
9956
9970
  vatRate?: number | null | undefined;
9957
9971
  businessProfile?: {
9958
9972
  id: string;
@@ -10076,7 +10090,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
10076
10090
  viewsCount?: number | null | undefined;
10077
10091
  favoritesCount?: number | null | undefined;
10078
10092
  account?: {
10079
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
10093
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
10080
10094
  name: string;
10081
10095
  userId: number;
10082
10096
  accountId: string;
@@ -10102,6 +10116,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
10102
10116
  signedUrl: string;
10103
10117
  status?: "PENDING" | "CONFIRMED" | null | undefined;
10104
10118
  } | null | undefined;
10119
+ cooldownEndsAt?: Date | null | undefined;
10105
10120
  } | null | undefined;
10106
10121
  }[] | null | undefined;
10107
10122
  brandId?: number | null | undefined;
@@ -10721,7 +10736,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
10721
10736
  viewsCount?: number | null | undefined;
10722
10737
  favoritesCount?: number | null | undefined;
10723
10738
  account?: {
10724
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
10739
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
10725
10740
  name: string;
10726
10741
  userId: number;
10727
10742
  accountId: string;
@@ -10747,6 +10762,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
10747
10762
  signedUrl: string;
10748
10763
  status?: "PENDING" | "CONFIRMED" | null | undefined;
10749
10764
  } | null | undefined;
10765
+ cooldownEndsAt?: Date | null | undefined;
10750
10766
  } | null | undefined;
10751
10767
  }[] | null | undefined;
10752
10768
  brandId?: number | null | undefined;
@@ -11088,6 +11104,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
11088
11104
  issueDate: Date;
11089
11105
  subtotal: number;
11090
11106
  fileId?: string | null | undefined;
11107
+ vatAmount?: number | null | undefined;
11091
11108
  file?: {
11092
11109
  path: string;
11093
11110
  id: string;
@@ -11096,7 +11113,6 @@ export declare const CreatedItemsSchema: z.ZodObject<{
11096
11113
  signedUrl: string;
11097
11114
  status?: "PENDING" | "CONFIRMED" | null | undefined;
11098
11115
  } | null | undefined;
11099
- vatAmount?: number | null | undefined;
11100
11116
  vatRate?: number | null | undefined;
11101
11117
  businessProfile?: {
11102
11118
  id: string;
@@ -11220,11 +11236,11 @@ export declare const CreatedItemsSchema: z.ZodObject<{
11220
11236
  viewsCount?: number | null | undefined;
11221
11237
  favoritesCount?: number | null | undefined;
11222
11238
  account?: {
11223
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
11224
11239
  name: string;
11225
11240
  userId: number;
11226
11241
  accountId: string;
11227
11242
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
11243
+ status?: unknown;
11228
11244
  locale?: string | null | undefined;
11229
11245
  lockReason?: unknown;
11230
11246
  night?: {
@@ -11246,6 +11262,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
11246
11262
  signedUrl: string;
11247
11263
  status?: "PENDING" | "CONFIRMED" | null | undefined;
11248
11264
  } | null | undefined;
11265
+ cooldownEndsAt?: Date | null | undefined;
11249
11266
  } | null | undefined;
11250
11267
  }[] | null | undefined;
11251
11268
  brandId?: number | null | undefined;
@@ -11865,11 +11882,11 @@ export declare const CreatedItemsSchema: z.ZodObject<{
11865
11882
  viewsCount?: number | null | undefined;
11866
11883
  favoritesCount?: number | null | undefined;
11867
11884
  account?: {
11868
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
11869
11885
  name: string;
11870
11886
  userId: number;
11871
11887
  accountId: string;
11872
11888
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
11889
+ status?: unknown;
11873
11890
  locale?: string | null | undefined;
11874
11891
  lockReason?: unknown;
11875
11892
  night?: {
@@ -11891,6 +11908,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
11891
11908
  signedUrl: string;
11892
11909
  status?: "PENDING" | "CONFIRMED" | null | undefined;
11893
11910
  } | null | undefined;
11911
+ cooldownEndsAt?: Date | null | undefined;
11894
11912
  } | null | undefined;
11895
11913
  }[] | null | undefined;
11896
11914
  brandId?: number | null | undefined;
@@ -12232,6 +12250,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
12232
12250
  issueDate: Date;
12233
12251
  subtotal: number;
12234
12252
  fileId?: string | null | undefined;
12253
+ vatAmount?: number | null | undefined;
12235
12254
  file?: {
12236
12255
  path: string;
12237
12256
  id: string;
@@ -12240,7 +12259,6 @@ export declare const CreatedItemsSchema: z.ZodObject<{
12240
12259
  signedUrl: string;
12241
12260
  status?: "PENDING" | "CONFIRMED" | null | undefined;
12242
12261
  } | null | undefined;
12243
- vatAmount?: number | null | undefined;
12244
12262
  vatRate?: number | null | undefined;
12245
12263
  businessProfile?: {
12246
12264
  id: string;