controlresell 2.25.2 → 2.25.6
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.
- package/package.json +2 -2
- package/src/com/controlresell/api/requests/conversations/MessageStreamRequest.d.ts +3 -0
- package/src/com/controlresell/api/requests/conversations/MessageStreamRequest.d.ts.map +1 -1
- package/src/com/controlresell/api/requests/conversations/MessageStreamRequest.js +2 -1
- package/src/com/controlresell/api/requests/conversations/MessageStreamRequest.js.map +1 -1
- package/src/com/controlresell/api/requests/conversations/MessageStreamRequest.ts +2 -1
- package/src/com/controlresell/api/responses/conversations/MessageStreamResponse.d.ts +7 -7
- package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts +29 -6
- package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/items/ListedItem.d.ts +22 -5
- package/src/com/controlresell/api/responses/items/ListedItem.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/Conversation.d.ts +5 -0
- package/src/com/controlresell/models/conversations/Conversation.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/ConversationOnPlatformUpdateRequest.d.ts +5 -0
- package/src/com/controlresell/models/conversations/ConversationOnPlatformUpdateRequest.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/ConversationUpdate.d.ts +7 -0
- package/src/com/controlresell/models/conversations/ConversationUpdate.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/UserConversations.d.ts +7 -0
- package/src/com/controlresell/models/conversations/UserConversations.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/favorites/ConversationFavorite.d.ts +8 -0
- package/src/com/controlresell/models/conversations/favorites/ConversationFavorite.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/favorites/ConversationFavorite.js +1 -0
- package/src/com/controlresell/models/conversations/favorites/ConversationFavorite.js.map +1 -1
- package/src/com/controlresell/models/conversations/favorites/ConversationFavorite.ts +1 -0
- package/src/com/controlresell/models/conversations/favorites/ReportRateLimitOnFavorites.d.ts +12 -0
- package/src/com/controlresell/models/conversations/favorites/ReportRateLimitOnFavorites.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/favorites/SubmitFavoritesResponse.d.ts +12 -0
- package/src/com/controlresell/models/conversations/favorites/SubmitFavoritesResponse.d.ts.map +1 -1
- package/src/com/controlresell/models/filters/PreferenceFilter.d.ts +5 -0
- package/src/com/controlresell/models/filters/PreferenceFilter.d.ts.map +1 -1
- package/src/com/controlresell/models/items/CreatedItems.d.ts +64 -18
- package/src/com/controlresell/models/items/CreatedItems.d.ts.map +1 -1
- package/src/com/controlresell/models/items/Item.d.ts +27 -10
- package/src/com/controlresell/models/items/Item.d.ts.map +1 -1
- package/src/com/controlresell/models/items/ItemUpdate.d.ts +29 -6
- package/src/com/controlresell/models/items/ItemUpdate.d.ts.map +1 -1
- package/src/com/controlresell/models/items/UpdatedItem.d.ts +64 -18
- package/src/com/controlresell/models/items/UpdatedItem.d.ts.map +1 -1
- package/src/com/controlresell/models/items/analysis/ItemAnalysisUpdate.d.ts +29 -6
- package/src/com/controlresell/models/items/analysis/ItemAnalysisUpdate.d.ts.map +1 -1
- package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.d.ts +4 -4
- package/src/com/controlresell/models/items/history/ItemHistory.d.ts +4 -4
- package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.d.ts +6 -6
- package/src/com/controlresell/models/items/history/data/ItemHistoryActionCanceledPayload.d.ts +2 -2
- package/src/com/controlresell/models/items/history/data/ItemHistoryCancelReason.d.ts +1 -1
- package/src/com/controlresell/models/items/history/data/ItemHistoryCancelReason.d.ts.map +1 -1
- package/src/com/controlresell/models/items/history/data/ItemHistoryCancelReason.js +1 -1
- package/src/com/controlresell/models/items/history/data/ItemHistoryCancelReason.js.map +1 -1
- package/src/com/controlresell/models/items/history/data/ItemHistoryCancelReason.ts +1 -1
- package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts +11 -0
- package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts.map +1 -1
- package/src/com/controlresell/models/items/platforms/ItemOnPlatform.js +5 -1
- package/src/com/controlresell/models/items/platforms/ItemOnPlatform.js.map +1 -1
- package/src/com/controlresell/models/items/platforms/ItemOnPlatform.ts +5 -1
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts +5 -0
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts.map +1 -1
- package/src/com/controlresell/models/metadata/platforms/ItemListingPreview.d.ts +35 -12
- package/src/com/controlresell/models/metadata/platforms/ItemListingPreview.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/Order.d.ts +23 -0
- package/src/com/controlresell/models/platforms/orders/Order.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts +5 -0
- package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +71 -7
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +17 -0
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +58 -6
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
- package/src/com/controlresell/models/transactions/Transaction.d.ts +23 -0
- package/src/com/controlresell/models/transactions/Transaction.d.ts.map +1 -1
- package/src/com/controlresell/models/transactions/items/ItemInTransaction.d.ts +17 -0
- package/src/com/controlresell/models/transactions/items/ItemInTransaction.d.ts.map +1 -1
- package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts +58 -6
- package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts.map +1 -1
- package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts +5 -0
- package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts.map +1 -1
- package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts +5 -0
- package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts.map +1 -1
- package/src/com/controlresell/models/users/platforms/UserOnPlatform.d.ts +3 -0
- package/src/com/controlresell/models/users/platforms/UserOnPlatform.d.ts.map +1 -1
- package/src/com/controlresell/models/users/platforms/UserOnPlatform.js +2 -1
- package/src/com/controlresell/models/users/platforms/UserOnPlatform.js.map +1 -1
- package/src/com/controlresell/models/users/platforms/UserOnPlatform.ts +2 -1
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +136 -30
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/users/ws/UserWsPayload.js +1 -1
- package/src/com/controlresell/models/users/ws/UserWsPayload.js.map +1 -1
- package/src/com/controlresell/models/users/ws/UserWsPayload.ts +1 -1
|
@@ -72,6 +72,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
72
72
|
}>>>;
|
|
73
73
|
lockReason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["BANNED", "PHONE_NUMBER_REQUIRED", "LISTING_RESTRICTION", "CONVERTING_TO_PRO", "UNKNOWN"]>>>>;
|
|
74
74
|
cooldownEndsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
75
|
+
restrictedUntil: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
75
76
|
}, "strip", z.ZodTypeAny, {
|
|
76
77
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
77
78
|
name: string;
|
|
@@ -80,6 +81,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
80
81
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
81
82
|
locale?: string | null | undefined;
|
|
82
83
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
84
|
+
restrictedUntil?: Date | null | undefined;
|
|
83
85
|
night?: {
|
|
84
86
|
startsAt: Date;
|
|
85
87
|
endsAt: Date;
|
|
@@ -108,6 +110,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
108
110
|
status?: unknown;
|
|
109
111
|
locale?: string | null | undefined;
|
|
110
112
|
lockReason?: unknown;
|
|
113
|
+
restrictedUntil?: Date | null | undefined;
|
|
111
114
|
night?: {
|
|
112
115
|
startsAt: Date;
|
|
113
116
|
endsAt: Date;
|
|
@@ -134,6 +137,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
134
137
|
favoritesCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
135
138
|
boostedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
136
139
|
boostedUntil: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
140
|
+
orderStatus: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["PAYMENT_VALIDATED", "ORDER_CANCELED", "SHIPPING_LABEL_SENT_TO_SELLER", "ORDER_SHIPPED", "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT", "ORDER_RECEIVED", "ORDER_FINALIZED", "RETURN_INITIATED", "REFUND_IN_PROGRESS", "REFUND_DONE", "ORDER_CANCELED_ITEM_UNAVAILABLE", "ORDER_CANCELED_BY_VINTED", "ORDER_DISPUTE_STARTED", "ORDER_CANCELED_DUE_TO_LATE_SHIPPING", "SHIPPING_LABEL_ORDERED", "FAILED_TO_ORDER_SHIPPING_LABEL", "ORDER_RETURNED_TO_SENDER", "PAYMENT_FAILED", "ORDER_SUSPENDED", "SHIPPING_TO_VERIFICATION_CENTER", "RECEIVED_AT_VERIFICATION_CENTER", "PAYMENT_IN_PROGRESS", "SENT_TO_VERIFICATION_CENTER", "SHIPPING_FROM_VERIFICATION_CENTER", "VERIFICATION_FAILED", "ORDER_DISPUTE_RESOLVED", "UNKNOWN"]>>>>;
|
|
141
|
+
orderType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PURCHASE", "SALE"]>>>;
|
|
137
142
|
}, "strip", z.ZodTypeAny, {
|
|
138
143
|
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
139
144
|
id: string;
|
|
@@ -158,6 +163,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
158
163
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
159
164
|
locale?: string | null | undefined;
|
|
160
165
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
166
|
+
restrictedUntil?: Date | null | undefined;
|
|
161
167
|
night?: {
|
|
162
168
|
startsAt: Date;
|
|
163
169
|
endsAt: Date;
|
|
@@ -179,6 +185,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
179
185
|
} | null | undefined;
|
|
180
186
|
cooldownEndsAt?: Date | null | undefined;
|
|
181
187
|
} | null | undefined;
|
|
188
|
+
orderStatus?: "UNKNOWN" | "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_IN_PROGRESS" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "FAILED_TO_ORDER_SHIPPING_LABEL" | "ORDER_RETURNED_TO_SENDER" | "PAYMENT_FAILED" | "ORDER_SUSPENDED" | "SHIPPING_TO_VERIFICATION_CENTER" | "RECEIVED_AT_VERIFICATION_CENTER" | "PAYMENT_IN_PROGRESS" | "SENT_TO_VERIFICATION_CENTER" | "SHIPPING_FROM_VERIFICATION_CENTER" | "VERIFICATION_FAILED" | "ORDER_DISPUTE_RESOLVED" | null | undefined;
|
|
189
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
182
190
|
}, {
|
|
183
191
|
id: string;
|
|
184
192
|
createdAt: Date;
|
|
@@ -203,6 +211,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
203
211
|
status?: unknown;
|
|
204
212
|
locale?: string | null | undefined;
|
|
205
213
|
lockReason?: unknown;
|
|
214
|
+
restrictedUntil?: Date | null | undefined;
|
|
206
215
|
night?: {
|
|
207
216
|
startsAt: Date;
|
|
208
217
|
endsAt: Date;
|
|
@@ -224,6 +233,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
224
233
|
} | null | undefined;
|
|
225
234
|
cooldownEndsAt?: Date | null | undefined;
|
|
226
235
|
} | null | undefined;
|
|
236
|
+
orderStatus?: unknown;
|
|
237
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
227
238
|
}>>>;
|
|
228
239
|
}, "strip", z.ZodTypeAny, {
|
|
229
240
|
orderId: string;
|
|
@@ -252,6 +263,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
252
263
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
253
264
|
locale?: string | null | undefined;
|
|
254
265
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
266
|
+
restrictedUntil?: Date | null | undefined;
|
|
255
267
|
night?: {
|
|
256
268
|
startsAt: Date;
|
|
257
269
|
endsAt: Date;
|
|
@@ -273,6 +285,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
273
285
|
} | null | undefined;
|
|
274
286
|
cooldownEndsAt?: Date | null | undefined;
|
|
275
287
|
} | null | undefined;
|
|
288
|
+
orderStatus?: "UNKNOWN" | "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_IN_PROGRESS" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "FAILED_TO_ORDER_SHIPPING_LABEL" | "ORDER_RETURNED_TO_SENDER" | "PAYMENT_FAILED" | "ORDER_SUSPENDED" | "SHIPPING_TO_VERIFICATION_CENTER" | "RECEIVED_AT_VERIFICATION_CENTER" | "PAYMENT_IN_PROGRESS" | "SENT_TO_VERIFICATION_CENTER" | "SHIPPING_FROM_VERIFICATION_CENTER" | "VERIFICATION_FAILED" | "ORDER_DISPUTE_RESOLVED" | null | undefined;
|
|
289
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
276
290
|
} | null | undefined;
|
|
277
291
|
}, {
|
|
278
292
|
orderId: string;
|
|
@@ -301,6 +315,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
301
315
|
status?: unknown;
|
|
302
316
|
locale?: string | null | undefined;
|
|
303
317
|
lockReason?: unknown;
|
|
318
|
+
restrictedUntil?: Date | null | undefined;
|
|
304
319
|
night?: {
|
|
305
320
|
startsAt: Date;
|
|
306
321
|
endsAt: Date;
|
|
@@ -322,6 +337,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
322
337
|
} | null | undefined;
|
|
323
338
|
cooldownEndsAt?: Date | null | undefined;
|
|
324
339
|
} | null | undefined;
|
|
340
|
+
orderStatus?: unknown;
|
|
341
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
325
342
|
} | null | undefined;
|
|
326
343
|
}>, "many">>>;
|
|
327
344
|
labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -1011,6 +1028,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1011
1028
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1012
1029
|
locale?: string | null | undefined;
|
|
1013
1030
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
1031
|
+
restrictedUntil?: Date | null | undefined;
|
|
1014
1032
|
night?: {
|
|
1015
1033
|
startsAt: Date;
|
|
1016
1034
|
endsAt: Date;
|
|
@@ -1032,6 +1050,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1032
1050
|
} | null | undefined;
|
|
1033
1051
|
cooldownEndsAt?: Date | null | undefined;
|
|
1034
1052
|
} | null | undefined;
|
|
1053
|
+
orderStatus?: "UNKNOWN" | "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_IN_PROGRESS" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "FAILED_TO_ORDER_SHIPPING_LABEL" | "ORDER_RETURNED_TO_SENDER" | "PAYMENT_FAILED" | "ORDER_SUSPENDED" | "SHIPPING_TO_VERIFICATION_CENTER" | "RECEIVED_AT_VERIFICATION_CENTER" | "PAYMENT_IN_PROGRESS" | "SENT_TO_VERIFICATION_CENTER" | "SHIPPING_FROM_VERIFICATION_CENTER" | "VERIFICATION_FAILED" | "ORDER_DISPUTE_RESOLVED" | null | undefined;
|
|
1054
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
1035
1055
|
} | null | undefined;
|
|
1036
1056
|
}[] | null | undefined;
|
|
1037
1057
|
invoices?: {
|
|
@@ -1211,6 +1231,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1211
1231
|
status?: unknown;
|
|
1212
1232
|
locale?: string | null | undefined;
|
|
1213
1233
|
lockReason?: unknown;
|
|
1234
|
+
restrictedUntil?: Date | null | undefined;
|
|
1214
1235
|
night?: {
|
|
1215
1236
|
startsAt: Date;
|
|
1216
1237
|
endsAt: Date;
|
|
@@ -1232,6 +1253,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1232
1253
|
} | null | undefined;
|
|
1233
1254
|
cooldownEndsAt?: Date | null | undefined;
|
|
1234
1255
|
} | null | undefined;
|
|
1256
|
+
orderStatus?: unknown;
|
|
1257
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
1235
1258
|
} | null | undefined;
|
|
1236
1259
|
}[] | null | undefined;
|
|
1237
1260
|
invoices?: {
|
|
@@ -1543,11 +1566,11 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1543
1566
|
data: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1544
1567
|
data: z.ZodObject<{
|
|
1545
1568
|
targetItemHistoryId: z.ZodString;
|
|
1546
|
-
reason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["REQUESTED_BY_USER", "REPLACED_BY_NEW_SCHEDULE", "ITEM_SOLD_OR_ARCHIVED", "ACCOUNT_BLOCKED", "ACTIVE_SCHEDULE", "ALREADY_PUBLISHED", "NEVER_PUBLISHED", "ACCOUNT_DELETED", "LISTING_NOT_FOUND_ON_PLATFORM", "UNKNOWN"]>>>>;
|
|
1569
|
+
reason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["REQUESTED_BY_USER", "REPLACED_BY_NEW_SCHEDULE", "ITEM_SOLD_OR_ARCHIVED", "ACCOUNT_BLOCKED", "ACTIVE_SCHEDULE", "ALREADY_PUBLISHED", "NEVER_PUBLISHED", "ACCOUNT_DELETED", "LISTING_NOT_FOUND_ON_PLATFORM", "LISTING_DELETED", "UNKNOWN"]>>>>;
|
|
1547
1570
|
details: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1548
1571
|
}, "strip", z.ZodTypeAny, {
|
|
1549
1572
|
targetItemHistoryId: string;
|
|
1550
|
-
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | null | undefined;
|
|
1573
|
+
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | null | undefined;
|
|
1551
1574
|
details?: string | null | undefined;
|
|
1552
1575
|
}, {
|
|
1553
1576
|
targetItemHistoryId: string;
|
|
@@ -1559,7 +1582,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1559
1582
|
type: "ACTION_CANCELED";
|
|
1560
1583
|
data: {
|
|
1561
1584
|
targetItemHistoryId: string;
|
|
1562
|
-
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | null | undefined;
|
|
1585
|
+
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | null | undefined;
|
|
1563
1586
|
details?: string | null | undefined;
|
|
1564
1587
|
};
|
|
1565
1588
|
}, {
|
|
@@ -3138,7 +3161,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
3138
3161
|
type: "ACTION_CANCELED";
|
|
3139
3162
|
data: {
|
|
3140
3163
|
targetItemHistoryId: string;
|
|
3141
|
-
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | null | undefined;
|
|
3164
|
+
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | null | undefined;
|
|
3142
3165
|
details?: string | null | undefined;
|
|
3143
3166
|
};
|
|
3144
3167
|
} | {
|
|
@@ -3703,6 +3726,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
3703
3726
|
}>>>;
|
|
3704
3727
|
lockReason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["BANNED", "PHONE_NUMBER_REQUIRED", "LISTING_RESTRICTION", "CONVERTING_TO_PRO", "UNKNOWN"]>>>>;
|
|
3705
3728
|
cooldownEndsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
3729
|
+
restrictedUntil: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
3706
3730
|
}, "strip", z.ZodTypeAny, {
|
|
3707
3731
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
3708
3732
|
name: string;
|
|
@@ -3711,6 +3735,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
3711
3735
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3712
3736
|
locale?: string | null | undefined;
|
|
3713
3737
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
3738
|
+
restrictedUntil?: Date | null | undefined;
|
|
3714
3739
|
night?: {
|
|
3715
3740
|
startsAt: Date;
|
|
3716
3741
|
endsAt: Date;
|
|
@@ -3739,6 +3764,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
3739
3764
|
status?: unknown;
|
|
3740
3765
|
locale?: string | null | undefined;
|
|
3741
3766
|
lockReason?: unknown;
|
|
3767
|
+
restrictedUntil?: Date | null | undefined;
|
|
3742
3768
|
night?: {
|
|
3743
3769
|
startsAt: Date;
|
|
3744
3770
|
endsAt: Date;
|
|
@@ -3765,6 +3791,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
3765
3791
|
favoritesCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3766
3792
|
boostedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
3767
3793
|
boostedUntil: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
3794
|
+
orderStatus: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["PAYMENT_VALIDATED", "ORDER_CANCELED", "SHIPPING_LABEL_SENT_TO_SELLER", "ORDER_SHIPPED", "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT", "ORDER_RECEIVED", "ORDER_FINALIZED", "RETURN_INITIATED", "REFUND_IN_PROGRESS", "REFUND_DONE", "ORDER_CANCELED_ITEM_UNAVAILABLE", "ORDER_CANCELED_BY_VINTED", "ORDER_DISPUTE_STARTED", "ORDER_CANCELED_DUE_TO_LATE_SHIPPING", "SHIPPING_LABEL_ORDERED", "FAILED_TO_ORDER_SHIPPING_LABEL", "ORDER_RETURNED_TO_SENDER", "PAYMENT_FAILED", "ORDER_SUSPENDED", "SHIPPING_TO_VERIFICATION_CENTER", "RECEIVED_AT_VERIFICATION_CENTER", "PAYMENT_IN_PROGRESS", "SENT_TO_VERIFICATION_CENTER", "SHIPPING_FROM_VERIFICATION_CENTER", "VERIFICATION_FAILED", "ORDER_DISPUTE_RESOLVED", "UNKNOWN"]>>>>;
|
|
3795
|
+
orderType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PURCHASE", "SALE"]>>>;
|
|
3768
3796
|
}, "strip", z.ZodTypeAny, {
|
|
3769
3797
|
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
3770
3798
|
id: string;
|
|
@@ -3789,6 +3817,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
3789
3817
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3790
3818
|
locale?: string | null | undefined;
|
|
3791
3819
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
3820
|
+
restrictedUntil?: Date | null | undefined;
|
|
3792
3821
|
night?: {
|
|
3793
3822
|
startsAt: Date;
|
|
3794
3823
|
endsAt: Date;
|
|
@@ -3810,6 +3839,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
3810
3839
|
} | null | undefined;
|
|
3811
3840
|
cooldownEndsAt?: Date | null | undefined;
|
|
3812
3841
|
} | null | undefined;
|
|
3842
|
+
orderStatus?: "UNKNOWN" | "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_IN_PROGRESS" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "FAILED_TO_ORDER_SHIPPING_LABEL" | "ORDER_RETURNED_TO_SENDER" | "PAYMENT_FAILED" | "ORDER_SUSPENDED" | "SHIPPING_TO_VERIFICATION_CENTER" | "RECEIVED_AT_VERIFICATION_CENTER" | "PAYMENT_IN_PROGRESS" | "SENT_TO_VERIFICATION_CENTER" | "SHIPPING_FROM_VERIFICATION_CENTER" | "VERIFICATION_FAILED" | "ORDER_DISPUTE_RESOLVED" | null | undefined;
|
|
3843
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
3813
3844
|
}, {
|
|
3814
3845
|
id: string;
|
|
3815
3846
|
createdAt: Date;
|
|
@@ -3834,6 +3865,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
3834
3865
|
status?: unknown;
|
|
3835
3866
|
locale?: string | null | undefined;
|
|
3836
3867
|
lockReason?: unknown;
|
|
3868
|
+
restrictedUntil?: Date | null | undefined;
|
|
3837
3869
|
night?: {
|
|
3838
3870
|
startsAt: Date;
|
|
3839
3871
|
endsAt: Date;
|
|
@@ -3855,6 +3887,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
3855
3887
|
} | null | undefined;
|
|
3856
3888
|
cooldownEndsAt?: Date | null | undefined;
|
|
3857
3889
|
} | null | undefined;
|
|
3890
|
+
orderStatus?: unknown;
|
|
3891
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
3858
3892
|
}>, "many">>>;
|
|
3859
3893
|
actions: z.ZodObject<{
|
|
3860
3894
|
perAccount: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodCatch<z.ZodEnum<["PUBLISH", "PUBLISH_CANCEL", "REPUBLISH", "REPUBLISH_CANCEL", "UPDATE", "UPDATE_CANCEL", "BOOST", "UNKNOWN"]>>, "many">>;
|
|
@@ -4672,6 +4706,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
4672
4706
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4673
4707
|
locale?: string | null | undefined;
|
|
4674
4708
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
4709
|
+
restrictedUntil?: Date | null | undefined;
|
|
4675
4710
|
night?: {
|
|
4676
4711
|
startsAt: Date;
|
|
4677
4712
|
endsAt: Date;
|
|
@@ -4693,6 +4728,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
4693
4728
|
} | null | undefined;
|
|
4694
4729
|
cooldownEndsAt?: Date | null | undefined;
|
|
4695
4730
|
} | null | undefined;
|
|
4731
|
+
orderStatus?: "UNKNOWN" | "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_IN_PROGRESS" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "FAILED_TO_ORDER_SHIPPING_LABEL" | "ORDER_RETURNED_TO_SENDER" | "PAYMENT_FAILED" | "ORDER_SUSPENDED" | "SHIPPING_TO_VERIFICATION_CENTER" | "RECEIVED_AT_VERIFICATION_CENTER" | "PAYMENT_IN_PROGRESS" | "SENT_TO_VERIFICATION_CENTER" | "SHIPPING_FROM_VERIFICATION_CENTER" | "VERIFICATION_FAILED" | "ORDER_DISPUTE_RESOLVED" | null | undefined;
|
|
4732
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
4696
4733
|
}[] | null | undefined;
|
|
4697
4734
|
brandId?: number | null | undefined;
|
|
4698
4735
|
estimatedPrice?: number | null | undefined;
|
|
@@ -4740,7 +4777,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
4740
4777
|
type: "ACTION_CANCELED";
|
|
4741
4778
|
data: {
|
|
4742
4779
|
targetItemHistoryId: string;
|
|
4743
|
-
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | null | undefined;
|
|
4780
|
+
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | null | undefined;
|
|
4744
4781
|
details?: string | null | undefined;
|
|
4745
4782
|
};
|
|
4746
4783
|
} | {
|
|
@@ -5182,6 +5219,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
5182
5219
|
status?: unknown;
|
|
5183
5220
|
locale?: string | null | undefined;
|
|
5184
5221
|
lockReason?: unknown;
|
|
5222
|
+
restrictedUntil?: Date | null | undefined;
|
|
5185
5223
|
night?: {
|
|
5186
5224
|
startsAt: Date;
|
|
5187
5225
|
endsAt: Date;
|
|
@@ -5203,6 +5241,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
5203
5241
|
} | null | undefined;
|
|
5204
5242
|
cooldownEndsAt?: Date | null | undefined;
|
|
5205
5243
|
} | null | undefined;
|
|
5244
|
+
orderStatus?: unknown;
|
|
5245
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
5206
5246
|
}[] | null | undefined;
|
|
5207
5247
|
brandId?: number | null | undefined;
|
|
5208
5248
|
estimatedPrice?: number | null | undefined;
|
|
@@ -5694,6 +5734,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
5694
5734
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5695
5735
|
locale?: string | null | undefined;
|
|
5696
5736
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
5737
|
+
restrictedUntil?: Date | null | undefined;
|
|
5697
5738
|
night?: {
|
|
5698
5739
|
startsAt: Date;
|
|
5699
5740
|
endsAt: Date;
|
|
@@ -5715,6 +5756,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
5715
5756
|
} | null | undefined;
|
|
5716
5757
|
cooldownEndsAt?: Date | null | undefined;
|
|
5717
5758
|
} | null | undefined;
|
|
5759
|
+
orderStatus?: "UNKNOWN" | "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_IN_PROGRESS" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "FAILED_TO_ORDER_SHIPPING_LABEL" | "ORDER_RETURNED_TO_SENDER" | "PAYMENT_FAILED" | "ORDER_SUSPENDED" | "SHIPPING_TO_VERIFICATION_CENTER" | "RECEIVED_AT_VERIFICATION_CENTER" | "PAYMENT_IN_PROGRESS" | "SENT_TO_VERIFICATION_CENTER" | "SHIPPING_FROM_VERIFICATION_CENTER" | "VERIFICATION_FAILED" | "ORDER_DISPUTE_RESOLVED" | null | undefined;
|
|
5760
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
5718
5761
|
}[] | null | undefined;
|
|
5719
5762
|
brandId?: number | null | undefined;
|
|
5720
5763
|
estimatedPrice?: number | null | undefined;
|
|
@@ -5762,7 +5805,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
5762
5805
|
type: "ACTION_CANCELED";
|
|
5763
5806
|
data: {
|
|
5764
5807
|
targetItemHistoryId: string;
|
|
5765
|
-
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | null | undefined;
|
|
5808
|
+
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | null | undefined;
|
|
5766
5809
|
details?: string | null | undefined;
|
|
5767
5810
|
};
|
|
5768
5811
|
} | {
|
|
@@ -6225,6 +6268,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
6225
6268
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
6226
6269
|
locale?: string | null | undefined;
|
|
6227
6270
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
6271
|
+
restrictedUntil?: Date | null | undefined;
|
|
6228
6272
|
night?: {
|
|
6229
6273
|
startsAt: Date;
|
|
6230
6274
|
endsAt: Date;
|
|
@@ -6246,6 +6290,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
6246
6290
|
} | null | undefined;
|
|
6247
6291
|
cooldownEndsAt?: Date | null | undefined;
|
|
6248
6292
|
} | null | undefined;
|
|
6293
|
+
orderStatus?: "UNKNOWN" | "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_IN_PROGRESS" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "FAILED_TO_ORDER_SHIPPING_LABEL" | "ORDER_RETURNED_TO_SENDER" | "PAYMENT_FAILED" | "ORDER_SUSPENDED" | "SHIPPING_TO_VERIFICATION_CENTER" | "RECEIVED_AT_VERIFICATION_CENTER" | "PAYMENT_IN_PROGRESS" | "SENT_TO_VERIFICATION_CENTER" | "SHIPPING_FROM_VERIFICATION_CENTER" | "VERIFICATION_FAILED" | "ORDER_DISPUTE_RESOLVED" | null | undefined;
|
|
6294
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
6249
6295
|
} | null | undefined;
|
|
6250
6296
|
}[] | null | undefined;
|
|
6251
6297
|
invoices?: {
|
|
@@ -6407,6 +6453,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
6407
6453
|
status?: unknown;
|
|
6408
6454
|
locale?: string | null | undefined;
|
|
6409
6455
|
lockReason?: unknown;
|
|
6456
|
+
restrictedUntil?: Date | null | undefined;
|
|
6410
6457
|
night?: {
|
|
6411
6458
|
startsAt: Date;
|
|
6412
6459
|
endsAt: Date;
|
|
@@ -6428,6 +6475,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
6428
6475
|
} | null | undefined;
|
|
6429
6476
|
cooldownEndsAt?: Date | null | undefined;
|
|
6430
6477
|
} | null | undefined;
|
|
6478
|
+
orderStatus?: unknown;
|
|
6479
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
6431
6480
|
}[] | null | undefined;
|
|
6432
6481
|
brandId?: number | null | undefined;
|
|
6433
6482
|
estimatedPrice?: number | null | undefined;
|
|
@@ -6938,6 +6987,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
6938
6987
|
status?: unknown;
|
|
6939
6988
|
locale?: string | null | undefined;
|
|
6940
6989
|
lockReason?: unknown;
|
|
6990
|
+
restrictedUntil?: Date | null | undefined;
|
|
6941
6991
|
night?: {
|
|
6942
6992
|
startsAt: Date;
|
|
6943
6993
|
endsAt: Date;
|
|
@@ -6959,6 +7009,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
6959
7009
|
} | null | undefined;
|
|
6960
7010
|
cooldownEndsAt?: Date | null | undefined;
|
|
6961
7011
|
} | null | undefined;
|
|
7012
|
+
orderStatus?: unknown;
|
|
7013
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
6962
7014
|
} | null | undefined;
|
|
6963
7015
|
}[] | null | undefined;
|
|
6964
7016
|
invoices?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OrderWithItems.d.ts","sourceRoot":"","sources":["OrderWithItems.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"OrderWithItems.d.ts","sourceRoot":"","sources":["OrderWithItems.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG/B,CAAA;AACF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA"}
|
|
@@ -69,6 +69,7 @@ export declare const TransactionSchema: z.ZodObject<{
|
|
|
69
69
|
}>>>;
|
|
70
70
|
lockReason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["BANNED", "PHONE_NUMBER_REQUIRED", "LISTING_RESTRICTION", "CONVERTING_TO_PRO", "UNKNOWN"]>>>>;
|
|
71
71
|
cooldownEndsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
72
|
+
restrictedUntil: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
72
73
|
}, "strip", z.ZodTypeAny, {
|
|
73
74
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
74
75
|
name: string;
|
|
@@ -77,6 +78,7 @@ export declare const TransactionSchema: z.ZodObject<{
|
|
|
77
78
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
78
79
|
locale?: string | null | undefined;
|
|
79
80
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
81
|
+
restrictedUntil?: Date | null | undefined;
|
|
80
82
|
night?: {
|
|
81
83
|
startsAt: Date;
|
|
82
84
|
endsAt: Date;
|
|
@@ -105,6 +107,7 @@ export declare const TransactionSchema: z.ZodObject<{
|
|
|
105
107
|
status?: unknown;
|
|
106
108
|
locale?: string | null | undefined;
|
|
107
109
|
lockReason?: unknown;
|
|
110
|
+
restrictedUntil?: Date | null | undefined;
|
|
108
111
|
night?: {
|
|
109
112
|
startsAt: Date;
|
|
110
113
|
endsAt: Date;
|
|
@@ -131,6 +134,8 @@ export declare const TransactionSchema: z.ZodObject<{
|
|
|
131
134
|
favoritesCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
132
135
|
boostedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
133
136
|
boostedUntil: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
137
|
+
orderStatus: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["PAYMENT_VALIDATED", "ORDER_CANCELED", "SHIPPING_LABEL_SENT_TO_SELLER", "ORDER_SHIPPED", "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT", "ORDER_RECEIVED", "ORDER_FINALIZED", "RETURN_INITIATED", "REFUND_IN_PROGRESS", "REFUND_DONE", "ORDER_CANCELED_ITEM_UNAVAILABLE", "ORDER_CANCELED_BY_VINTED", "ORDER_DISPUTE_STARTED", "ORDER_CANCELED_DUE_TO_LATE_SHIPPING", "SHIPPING_LABEL_ORDERED", "FAILED_TO_ORDER_SHIPPING_LABEL", "ORDER_RETURNED_TO_SENDER", "PAYMENT_FAILED", "ORDER_SUSPENDED", "SHIPPING_TO_VERIFICATION_CENTER", "RECEIVED_AT_VERIFICATION_CENTER", "PAYMENT_IN_PROGRESS", "SENT_TO_VERIFICATION_CENTER", "SHIPPING_FROM_VERIFICATION_CENTER", "VERIFICATION_FAILED", "ORDER_DISPUTE_RESOLVED", "UNKNOWN"]>>>>;
|
|
138
|
+
orderType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PURCHASE", "SALE"]>>>;
|
|
134
139
|
}, "strip", z.ZodTypeAny, {
|
|
135
140
|
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
136
141
|
id: string;
|
|
@@ -155,6 +160,7 @@ export declare const TransactionSchema: z.ZodObject<{
|
|
|
155
160
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
156
161
|
locale?: string | null | undefined;
|
|
157
162
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
163
|
+
restrictedUntil?: Date | null | undefined;
|
|
158
164
|
night?: {
|
|
159
165
|
startsAt: Date;
|
|
160
166
|
endsAt: Date;
|
|
@@ -176,6 +182,8 @@ export declare const TransactionSchema: z.ZodObject<{
|
|
|
176
182
|
} | null | undefined;
|
|
177
183
|
cooldownEndsAt?: Date | null | undefined;
|
|
178
184
|
} | null | undefined;
|
|
185
|
+
orderStatus?: "UNKNOWN" | "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_IN_PROGRESS" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "FAILED_TO_ORDER_SHIPPING_LABEL" | "ORDER_RETURNED_TO_SENDER" | "PAYMENT_FAILED" | "ORDER_SUSPENDED" | "SHIPPING_TO_VERIFICATION_CENTER" | "RECEIVED_AT_VERIFICATION_CENTER" | "PAYMENT_IN_PROGRESS" | "SENT_TO_VERIFICATION_CENTER" | "SHIPPING_FROM_VERIFICATION_CENTER" | "VERIFICATION_FAILED" | "ORDER_DISPUTE_RESOLVED" | null | undefined;
|
|
186
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
179
187
|
}, {
|
|
180
188
|
id: string;
|
|
181
189
|
createdAt: Date;
|
|
@@ -200,6 +208,7 @@ export declare const TransactionSchema: z.ZodObject<{
|
|
|
200
208
|
status?: unknown;
|
|
201
209
|
locale?: string | null | undefined;
|
|
202
210
|
lockReason?: unknown;
|
|
211
|
+
restrictedUntil?: Date | null | undefined;
|
|
203
212
|
night?: {
|
|
204
213
|
startsAt: Date;
|
|
205
214
|
endsAt: Date;
|
|
@@ -221,6 +230,8 @@ export declare const TransactionSchema: z.ZodObject<{
|
|
|
221
230
|
} | null | undefined;
|
|
222
231
|
cooldownEndsAt?: Date | null | undefined;
|
|
223
232
|
} | null | undefined;
|
|
233
|
+
orderStatus?: unknown;
|
|
234
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
224
235
|
}>>>;
|
|
225
236
|
}, "strip", z.ZodTypeAny, {
|
|
226
237
|
transactionId: string;
|
|
@@ -249,6 +260,7 @@ export declare const TransactionSchema: z.ZodObject<{
|
|
|
249
260
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
250
261
|
locale?: string | null | undefined;
|
|
251
262
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
263
|
+
restrictedUntil?: Date | null | undefined;
|
|
252
264
|
night?: {
|
|
253
265
|
startsAt: Date;
|
|
254
266
|
endsAt: Date;
|
|
@@ -270,6 +282,8 @@ export declare const TransactionSchema: z.ZodObject<{
|
|
|
270
282
|
} | null | undefined;
|
|
271
283
|
cooldownEndsAt?: Date | null | undefined;
|
|
272
284
|
} | null | undefined;
|
|
285
|
+
orderStatus?: "UNKNOWN" | "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_IN_PROGRESS" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "FAILED_TO_ORDER_SHIPPING_LABEL" | "ORDER_RETURNED_TO_SENDER" | "PAYMENT_FAILED" | "ORDER_SUSPENDED" | "SHIPPING_TO_VERIFICATION_CENTER" | "RECEIVED_AT_VERIFICATION_CENTER" | "PAYMENT_IN_PROGRESS" | "SENT_TO_VERIFICATION_CENTER" | "SHIPPING_FROM_VERIFICATION_CENTER" | "VERIFICATION_FAILED" | "ORDER_DISPUTE_RESOLVED" | null | undefined;
|
|
286
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
273
287
|
} | null | undefined;
|
|
274
288
|
}, {
|
|
275
289
|
transactionId: string;
|
|
@@ -298,6 +312,7 @@ export declare const TransactionSchema: z.ZodObject<{
|
|
|
298
312
|
status?: unknown;
|
|
299
313
|
locale?: string | null | undefined;
|
|
300
314
|
lockReason?: unknown;
|
|
315
|
+
restrictedUntil?: Date | null | undefined;
|
|
301
316
|
night?: {
|
|
302
317
|
startsAt: Date;
|
|
303
318
|
endsAt: Date;
|
|
@@ -319,6 +334,8 @@ export declare const TransactionSchema: z.ZodObject<{
|
|
|
319
334
|
} | null | undefined;
|
|
320
335
|
cooldownEndsAt?: Date | null | undefined;
|
|
321
336
|
} | null | undefined;
|
|
337
|
+
orderStatus?: unknown;
|
|
338
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
322
339
|
} | null | undefined;
|
|
323
340
|
}>, "many">>>;
|
|
324
341
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -354,6 +371,7 @@ export declare const TransactionSchema: z.ZodObject<{
|
|
|
354
371
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
355
372
|
locale?: string | null | undefined;
|
|
356
373
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
374
|
+
restrictedUntil?: Date | null | undefined;
|
|
357
375
|
night?: {
|
|
358
376
|
startsAt: Date;
|
|
359
377
|
endsAt: Date;
|
|
@@ -375,6 +393,8 @@ export declare const TransactionSchema: z.ZodObject<{
|
|
|
375
393
|
} | null | undefined;
|
|
376
394
|
cooldownEndsAt?: Date | null | undefined;
|
|
377
395
|
} | null | undefined;
|
|
396
|
+
orderStatus?: "UNKNOWN" | "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_IN_PROGRESS" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "FAILED_TO_ORDER_SHIPPING_LABEL" | "ORDER_RETURNED_TO_SENDER" | "PAYMENT_FAILED" | "ORDER_SUSPENDED" | "SHIPPING_TO_VERIFICATION_CENTER" | "RECEIVED_AT_VERIFICATION_CENTER" | "PAYMENT_IN_PROGRESS" | "SENT_TO_VERIFICATION_CENTER" | "SHIPPING_FROM_VERIFICATION_CENTER" | "VERIFICATION_FAILED" | "ORDER_DISPUTE_RESOLVED" | null | undefined;
|
|
397
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
378
398
|
} | null | undefined;
|
|
379
399
|
}[] | null | undefined;
|
|
380
400
|
buyerPlatformId?: string | null | undefined;
|
|
@@ -412,6 +432,7 @@ export declare const TransactionSchema: z.ZodObject<{
|
|
|
412
432
|
status?: unknown;
|
|
413
433
|
locale?: string | null | undefined;
|
|
414
434
|
lockReason?: unknown;
|
|
435
|
+
restrictedUntil?: Date | null | undefined;
|
|
415
436
|
night?: {
|
|
416
437
|
startsAt: Date;
|
|
417
438
|
endsAt: Date;
|
|
@@ -433,6 +454,8 @@ export declare const TransactionSchema: z.ZodObject<{
|
|
|
433
454
|
} | null | undefined;
|
|
434
455
|
cooldownEndsAt?: Date | null | undefined;
|
|
435
456
|
} | null | undefined;
|
|
457
|
+
orderStatus?: unknown;
|
|
458
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
436
459
|
} | null | undefined;
|
|
437
460
|
}[] | null | undefined;
|
|
438
461
|
buyerPlatformId?: string | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Transaction.d.ts","sourceRoot":"","sources":["Transaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"Transaction.d.ts","sourceRoot":"","sources":["Transaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS5B,CAAA;AACF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA"}
|