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
|
@@ -61,6 +61,7 @@ export declare const ItemInTransactionSchema: z.ZodObject<{
|
|
|
61
61
|
}>>>;
|
|
62
62
|
lockReason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["BANNED", "PHONE_NUMBER_REQUIRED", "LISTING_RESTRICTION", "CONVERTING_TO_PRO", "UNKNOWN"]>>>>;
|
|
63
63
|
cooldownEndsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
64
|
+
restrictedUntil: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
64
65
|
}, "strip", z.ZodTypeAny, {
|
|
65
66
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
66
67
|
name: string;
|
|
@@ -69,6 +70,7 @@ export declare const ItemInTransactionSchema: z.ZodObject<{
|
|
|
69
70
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
70
71
|
locale?: string | null | undefined;
|
|
71
72
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
73
|
+
restrictedUntil?: Date | null | undefined;
|
|
72
74
|
night?: {
|
|
73
75
|
startsAt: Date;
|
|
74
76
|
endsAt: Date;
|
|
@@ -97,6 +99,7 @@ export declare const ItemInTransactionSchema: z.ZodObject<{
|
|
|
97
99
|
status?: unknown;
|
|
98
100
|
locale?: string | null | undefined;
|
|
99
101
|
lockReason?: unknown;
|
|
102
|
+
restrictedUntil?: Date | null | undefined;
|
|
100
103
|
night?: {
|
|
101
104
|
startsAt: Date;
|
|
102
105
|
endsAt: Date;
|
|
@@ -123,6 +126,8 @@ export declare const ItemInTransactionSchema: z.ZodObject<{
|
|
|
123
126
|
favoritesCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
124
127
|
boostedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
125
128
|
boostedUntil: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
129
|
+
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"]>>>>;
|
|
130
|
+
orderType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PURCHASE", "SALE"]>>>;
|
|
126
131
|
}, "strip", z.ZodTypeAny, {
|
|
127
132
|
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
128
133
|
id: string;
|
|
@@ -147,6 +152,7 @@ export declare const ItemInTransactionSchema: z.ZodObject<{
|
|
|
147
152
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
148
153
|
locale?: string | null | undefined;
|
|
149
154
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
155
|
+
restrictedUntil?: Date | null | undefined;
|
|
150
156
|
night?: {
|
|
151
157
|
startsAt: Date;
|
|
152
158
|
endsAt: Date;
|
|
@@ -168,6 +174,8 @@ export declare const ItemInTransactionSchema: z.ZodObject<{
|
|
|
168
174
|
} | null | undefined;
|
|
169
175
|
cooldownEndsAt?: Date | null | undefined;
|
|
170
176
|
} | null | undefined;
|
|
177
|
+
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;
|
|
178
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
171
179
|
}, {
|
|
172
180
|
id: string;
|
|
173
181
|
createdAt: Date;
|
|
@@ -192,6 +200,7 @@ export declare const ItemInTransactionSchema: z.ZodObject<{
|
|
|
192
200
|
status?: unknown;
|
|
193
201
|
locale?: string | null | undefined;
|
|
194
202
|
lockReason?: unknown;
|
|
203
|
+
restrictedUntil?: Date | null | undefined;
|
|
195
204
|
night?: {
|
|
196
205
|
startsAt: Date;
|
|
197
206
|
endsAt: Date;
|
|
@@ -213,6 +222,8 @@ export declare const ItemInTransactionSchema: z.ZodObject<{
|
|
|
213
222
|
} | null | undefined;
|
|
214
223
|
cooldownEndsAt?: Date | null | undefined;
|
|
215
224
|
} | null | undefined;
|
|
225
|
+
orderStatus?: unknown;
|
|
226
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
216
227
|
}>>>;
|
|
217
228
|
}, "strip", z.ZodTypeAny, {
|
|
218
229
|
transactionId: string;
|
|
@@ -241,6 +252,7 @@ export declare const ItemInTransactionSchema: z.ZodObject<{
|
|
|
241
252
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
242
253
|
locale?: string | null | undefined;
|
|
243
254
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
255
|
+
restrictedUntil?: Date | null | undefined;
|
|
244
256
|
night?: {
|
|
245
257
|
startsAt: Date;
|
|
246
258
|
endsAt: Date;
|
|
@@ -262,6 +274,8 @@ export declare const ItemInTransactionSchema: z.ZodObject<{
|
|
|
262
274
|
} | null | undefined;
|
|
263
275
|
cooldownEndsAt?: Date | null | undefined;
|
|
264
276
|
} | null | undefined;
|
|
277
|
+
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;
|
|
278
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
265
279
|
} | null | undefined;
|
|
266
280
|
}, {
|
|
267
281
|
transactionId: string;
|
|
@@ -290,6 +304,7 @@ export declare const ItemInTransactionSchema: z.ZodObject<{
|
|
|
290
304
|
status?: unknown;
|
|
291
305
|
locale?: string | null | undefined;
|
|
292
306
|
lockReason?: unknown;
|
|
307
|
+
restrictedUntil?: Date | null | undefined;
|
|
293
308
|
night?: {
|
|
294
309
|
startsAt: Date;
|
|
295
310
|
endsAt: Date;
|
|
@@ -311,6 +326,8 @@ export declare const ItemInTransactionSchema: z.ZodObject<{
|
|
|
311
326
|
} | null | undefined;
|
|
312
327
|
cooldownEndsAt?: Date | null | undefined;
|
|
313
328
|
} | null | undefined;
|
|
329
|
+
orderStatus?: unknown;
|
|
330
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
314
331
|
} | null | undefined;
|
|
315
332
|
}>;
|
|
316
333
|
export type ItemInTransaction = z.infer<typeof ItemInTransactionSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ItemInTransaction.d.ts","sourceRoot":"","sources":["ItemInTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"ItemInTransaction.d.ts","sourceRoot":"","sources":["ItemInTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIlC,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA"}
|
|
@@ -70,6 +70,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
70
70
|
}>>>;
|
|
71
71
|
lockReason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["BANNED", "PHONE_NUMBER_REQUIRED", "LISTING_RESTRICTION", "CONVERTING_TO_PRO", "UNKNOWN"]>>>>;
|
|
72
72
|
cooldownEndsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
73
|
+
restrictedUntil: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
73
74
|
}, "strip", z.ZodTypeAny, {
|
|
74
75
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
75
76
|
name: string;
|
|
@@ -78,6 +79,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
78
79
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
79
80
|
locale?: string | null | undefined;
|
|
80
81
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
82
|
+
restrictedUntil?: Date | null | undefined;
|
|
81
83
|
night?: {
|
|
82
84
|
startsAt: Date;
|
|
83
85
|
endsAt: Date;
|
|
@@ -106,6 +108,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
106
108
|
status?: unknown;
|
|
107
109
|
locale?: string | null | undefined;
|
|
108
110
|
lockReason?: unknown;
|
|
111
|
+
restrictedUntil?: Date | null | undefined;
|
|
109
112
|
night?: {
|
|
110
113
|
startsAt: Date;
|
|
111
114
|
endsAt: Date;
|
|
@@ -132,6 +135,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
132
135
|
favoritesCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
133
136
|
boostedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
134
137
|
boostedUntil: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
138
|
+
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"]>>>>;
|
|
139
|
+
orderType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PURCHASE", "SALE"]>>>;
|
|
135
140
|
}, "strip", z.ZodTypeAny, {
|
|
136
141
|
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
137
142
|
id: string;
|
|
@@ -156,6 +161,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
156
161
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
157
162
|
locale?: string | null | undefined;
|
|
158
163
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
164
|
+
restrictedUntil?: Date | null | undefined;
|
|
159
165
|
night?: {
|
|
160
166
|
startsAt: Date;
|
|
161
167
|
endsAt: Date;
|
|
@@ -177,6 +183,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
177
183
|
} | null | undefined;
|
|
178
184
|
cooldownEndsAt?: Date | null | undefined;
|
|
179
185
|
} | null | undefined;
|
|
186
|
+
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;
|
|
187
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
180
188
|
}, {
|
|
181
189
|
id: string;
|
|
182
190
|
createdAt: Date;
|
|
@@ -201,6 +209,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
201
209
|
status?: unknown;
|
|
202
210
|
locale?: string | null | undefined;
|
|
203
211
|
lockReason?: unknown;
|
|
212
|
+
restrictedUntil?: Date | null | undefined;
|
|
204
213
|
night?: {
|
|
205
214
|
startsAt: Date;
|
|
206
215
|
endsAt: Date;
|
|
@@ -222,6 +231,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
222
231
|
} | null | undefined;
|
|
223
232
|
cooldownEndsAt?: Date | null | undefined;
|
|
224
233
|
} | null | undefined;
|
|
234
|
+
orderStatus?: unknown;
|
|
235
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
225
236
|
}>>>;
|
|
226
237
|
}, "strip", z.ZodTypeAny, {
|
|
227
238
|
transactionId: string;
|
|
@@ -250,6 +261,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
250
261
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
251
262
|
locale?: string | null | undefined;
|
|
252
263
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
264
|
+
restrictedUntil?: Date | null | undefined;
|
|
253
265
|
night?: {
|
|
254
266
|
startsAt: Date;
|
|
255
267
|
endsAt: Date;
|
|
@@ -271,6 +283,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
271
283
|
} | null | undefined;
|
|
272
284
|
cooldownEndsAt?: Date | null | undefined;
|
|
273
285
|
} | null | undefined;
|
|
286
|
+
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;
|
|
287
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
274
288
|
} | null | undefined;
|
|
275
289
|
}, {
|
|
276
290
|
transactionId: string;
|
|
@@ -299,6 +313,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
299
313
|
status?: unknown;
|
|
300
314
|
locale?: string | null | undefined;
|
|
301
315
|
lockReason?: unknown;
|
|
316
|
+
restrictedUntil?: Date | null | undefined;
|
|
302
317
|
night?: {
|
|
303
318
|
startsAt: Date;
|
|
304
319
|
endsAt: Date;
|
|
@@ -320,6 +335,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
320
335
|
} | null | undefined;
|
|
321
336
|
cooldownEndsAt?: Date | null | undefined;
|
|
322
337
|
} | null | undefined;
|
|
338
|
+
orderStatus?: unknown;
|
|
339
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
323
340
|
} | null | undefined;
|
|
324
341
|
}>, "many">>>;
|
|
325
342
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -355,6 +372,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
355
372
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
356
373
|
locale?: string | null | undefined;
|
|
357
374
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
375
|
+
restrictedUntil?: Date | null | undefined;
|
|
358
376
|
night?: {
|
|
359
377
|
startsAt: Date;
|
|
360
378
|
endsAt: Date;
|
|
@@ -376,6 +394,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
376
394
|
} | null | undefined;
|
|
377
395
|
cooldownEndsAt?: Date | null | undefined;
|
|
378
396
|
} | null | undefined;
|
|
397
|
+
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;
|
|
398
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
379
399
|
} | null | undefined;
|
|
380
400
|
}[] | null | undefined;
|
|
381
401
|
buyerPlatformId?: string | null | undefined;
|
|
@@ -413,6 +433,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
413
433
|
status?: unknown;
|
|
414
434
|
locale?: string | null | undefined;
|
|
415
435
|
lockReason?: unknown;
|
|
436
|
+
restrictedUntil?: Date | null | undefined;
|
|
416
437
|
night?: {
|
|
417
438
|
startsAt: Date;
|
|
418
439
|
endsAt: Date;
|
|
@@ -434,6 +455,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
434
455
|
} | null | undefined;
|
|
435
456
|
cooldownEndsAt?: Date | null | undefined;
|
|
436
457
|
} | null | undefined;
|
|
458
|
+
orderStatus?: unknown;
|
|
459
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
437
460
|
} | null | undefined;
|
|
438
461
|
}[] | null | undefined;
|
|
439
462
|
buyerPlatformId?: string | null | undefined;
|
|
@@ -667,11 +690,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
667
690
|
data: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
668
691
|
data: z.ZodObject<{
|
|
669
692
|
targetItemHistoryId: z.ZodString;
|
|
670
|
-
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"]>>>>;
|
|
693
|
+
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"]>>>>;
|
|
671
694
|
details: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
672
695
|
}, "strip", z.ZodTypeAny, {
|
|
673
696
|
targetItemHistoryId: string;
|
|
674
|
-
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;
|
|
697
|
+
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;
|
|
675
698
|
details?: string | null | undefined;
|
|
676
699
|
}, {
|
|
677
700
|
targetItemHistoryId: string;
|
|
@@ -683,7 +706,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
683
706
|
type: "ACTION_CANCELED";
|
|
684
707
|
data: {
|
|
685
708
|
targetItemHistoryId: string;
|
|
686
|
-
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;
|
|
709
|
+
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;
|
|
687
710
|
details?: string | null | undefined;
|
|
688
711
|
};
|
|
689
712
|
}, {
|
|
@@ -2262,7 +2285,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2262
2285
|
type: "ACTION_CANCELED";
|
|
2263
2286
|
data: {
|
|
2264
2287
|
targetItemHistoryId: string;
|
|
2265
|
-
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;
|
|
2288
|
+
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;
|
|
2266
2289
|
details?: string | null | undefined;
|
|
2267
2290
|
};
|
|
2268
2291
|
} | {
|
|
@@ -2827,6 +2850,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2827
2850
|
}>>>;
|
|
2828
2851
|
lockReason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["BANNED", "PHONE_NUMBER_REQUIRED", "LISTING_RESTRICTION", "CONVERTING_TO_PRO", "UNKNOWN"]>>>>;
|
|
2829
2852
|
cooldownEndsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2853
|
+
restrictedUntil: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2830
2854
|
}, "strip", z.ZodTypeAny, {
|
|
2831
2855
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
2832
2856
|
name: string;
|
|
@@ -2835,6 +2859,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2835
2859
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2836
2860
|
locale?: string | null | undefined;
|
|
2837
2861
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
2862
|
+
restrictedUntil?: Date | null | undefined;
|
|
2838
2863
|
night?: {
|
|
2839
2864
|
startsAt: Date;
|
|
2840
2865
|
endsAt: Date;
|
|
@@ -2863,6 +2888,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2863
2888
|
status?: unknown;
|
|
2864
2889
|
locale?: string | null | undefined;
|
|
2865
2890
|
lockReason?: unknown;
|
|
2891
|
+
restrictedUntil?: Date | null | undefined;
|
|
2866
2892
|
night?: {
|
|
2867
2893
|
startsAt: Date;
|
|
2868
2894
|
endsAt: Date;
|
|
@@ -2889,6 +2915,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2889
2915
|
favoritesCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2890
2916
|
boostedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2891
2917
|
boostedUntil: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2918
|
+
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"]>>>>;
|
|
2919
|
+
orderType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PURCHASE", "SALE"]>>>;
|
|
2892
2920
|
}, "strip", z.ZodTypeAny, {
|
|
2893
2921
|
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
2894
2922
|
id: string;
|
|
@@ -2913,6 +2941,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2913
2941
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2914
2942
|
locale?: string | null | undefined;
|
|
2915
2943
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
2944
|
+
restrictedUntil?: Date | null | undefined;
|
|
2916
2945
|
night?: {
|
|
2917
2946
|
startsAt: Date;
|
|
2918
2947
|
endsAt: Date;
|
|
@@ -2934,6 +2963,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2934
2963
|
} | null | undefined;
|
|
2935
2964
|
cooldownEndsAt?: Date | null | undefined;
|
|
2936
2965
|
} | null | undefined;
|
|
2966
|
+
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;
|
|
2967
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
2937
2968
|
}, {
|
|
2938
2969
|
id: string;
|
|
2939
2970
|
createdAt: Date;
|
|
@@ -2958,6 +2989,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2958
2989
|
status?: unknown;
|
|
2959
2990
|
locale?: string | null | undefined;
|
|
2960
2991
|
lockReason?: unknown;
|
|
2992
|
+
restrictedUntil?: Date | null | undefined;
|
|
2961
2993
|
night?: {
|
|
2962
2994
|
startsAt: Date;
|
|
2963
2995
|
endsAt: Date;
|
|
@@ -2979,6 +3011,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2979
3011
|
} | null | undefined;
|
|
2980
3012
|
cooldownEndsAt?: Date | null | undefined;
|
|
2981
3013
|
} | null | undefined;
|
|
3014
|
+
orderStatus?: unknown;
|
|
3015
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
2982
3016
|
}>, "many">>>;
|
|
2983
3017
|
actions: z.ZodObject<{
|
|
2984
3018
|
perAccount: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodCatch<z.ZodEnum<["PUBLISH", "PUBLISH_CANCEL", "REPUBLISH", "REPUBLISH_CANCEL", "UPDATE", "UPDATE_CANCEL", "BOOST", "UNKNOWN"]>>, "many">>;
|
|
@@ -3796,6 +3830,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3796
3830
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3797
3831
|
locale?: string | null | undefined;
|
|
3798
3832
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
3833
|
+
restrictedUntil?: Date | null | undefined;
|
|
3799
3834
|
night?: {
|
|
3800
3835
|
startsAt: Date;
|
|
3801
3836
|
endsAt: Date;
|
|
@@ -3817,6 +3852,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3817
3852
|
} | null | undefined;
|
|
3818
3853
|
cooldownEndsAt?: Date | null | undefined;
|
|
3819
3854
|
} | null | undefined;
|
|
3855
|
+
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;
|
|
3856
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
3820
3857
|
}[] | null | undefined;
|
|
3821
3858
|
brandId?: number | null | undefined;
|
|
3822
3859
|
estimatedPrice?: number | null | undefined;
|
|
@@ -3864,7 +3901,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3864
3901
|
type: "ACTION_CANCELED";
|
|
3865
3902
|
data: {
|
|
3866
3903
|
targetItemHistoryId: string;
|
|
3867
|
-
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;
|
|
3904
|
+
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;
|
|
3868
3905
|
details?: string | null | undefined;
|
|
3869
3906
|
};
|
|
3870
3907
|
} | {
|
|
@@ -4306,6 +4343,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4306
4343
|
status?: unknown;
|
|
4307
4344
|
locale?: string | null | undefined;
|
|
4308
4345
|
lockReason?: unknown;
|
|
4346
|
+
restrictedUntil?: Date | null | undefined;
|
|
4309
4347
|
night?: {
|
|
4310
4348
|
startsAt: Date;
|
|
4311
4349
|
endsAt: Date;
|
|
@@ -4327,6 +4365,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4327
4365
|
} | null | undefined;
|
|
4328
4366
|
cooldownEndsAt?: Date | null | undefined;
|
|
4329
4367
|
} | null | undefined;
|
|
4368
|
+
orderStatus?: unknown;
|
|
4369
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
4330
4370
|
}[] | null | undefined;
|
|
4331
4371
|
brandId?: number | null | undefined;
|
|
4332
4372
|
estimatedPrice?: number | null | undefined;
|
|
@@ -4818,6 +4858,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4818
4858
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4819
4859
|
locale?: string | null | undefined;
|
|
4820
4860
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
4861
|
+
restrictedUntil?: Date | null | undefined;
|
|
4821
4862
|
night?: {
|
|
4822
4863
|
startsAt: Date;
|
|
4823
4864
|
endsAt: Date;
|
|
@@ -4839,6 +4880,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4839
4880
|
} | null | undefined;
|
|
4840
4881
|
cooldownEndsAt?: Date | null | undefined;
|
|
4841
4882
|
} | null | undefined;
|
|
4883
|
+
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;
|
|
4884
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
4842
4885
|
}[] | null | undefined;
|
|
4843
4886
|
brandId?: number | null | undefined;
|
|
4844
4887
|
estimatedPrice?: number | null | undefined;
|
|
@@ -4886,7 +4929,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4886
4929
|
type: "ACTION_CANCELED";
|
|
4887
4930
|
data: {
|
|
4888
4931
|
targetItemHistoryId: string;
|
|
4889
|
-
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;
|
|
4932
|
+
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;
|
|
4890
4933
|
details?: string | null | undefined;
|
|
4891
4934
|
};
|
|
4892
4935
|
} | {
|
|
@@ -5285,6 +5328,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5285
5328
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5286
5329
|
locale?: string | null | undefined;
|
|
5287
5330
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
5331
|
+
restrictedUntil?: Date | null | undefined;
|
|
5288
5332
|
night?: {
|
|
5289
5333
|
startsAt: Date;
|
|
5290
5334
|
endsAt: Date;
|
|
@@ -5306,6 +5350,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5306
5350
|
} | null | undefined;
|
|
5307
5351
|
cooldownEndsAt?: Date | null | undefined;
|
|
5308
5352
|
} | null | undefined;
|
|
5353
|
+
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;
|
|
5354
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
5309
5355
|
} | null | undefined;
|
|
5310
5356
|
}[] | null | undefined;
|
|
5311
5357
|
buyerPlatformId?: string | null | undefined;
|
|
@@ -5389,6 +5435,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5389
5435
|
status?: unknown;
|
|
5390
5436
|
locale?: string | null | undefined;
|
|
5391
5437
|
lockReason?: unknown;
|
|
5438
|
+
restrictedUntil?: Date | null | undefined;
|
|
5392
5439
|
night?: {
|
|
5393
5440
|
startsAt: Date;
|
|
5394
5441
|
endsAt: Date;
|
|
@@ -5410,6 +5457,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5410
5457
|
} | null | undefined;
|
|
5411
5458
|
cooldownEndsAt?: Date | null | undefined;
|
|
5412
5459
|
} | null | undefined;
|
|
5460
|
+
orderStatus?: unknown;
|
|
5461
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
5413
5462
|
}[] | null | undefined;
|
|
5414
5463
|
brandId?: number | null | undefined;
|
|
5415
5464
|
estimatedPrice?: number | null | undefined;
|
|
@@ -5856,6 +5905,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5856
5905
|
status?: unknown;
|
|
5857
5906
|
locale?: string | null | undefined;
|
|
5858
5907
|
lockReason?: unknown;
|
|
5908
|
+
restrictedUntil?: Date | null | undefined;
|
|
5859
5909
|
night?: {
|
|
5860
5910
|
startsAt: Date;
|
|
5861
5911
|
endsAt: Date;
|
|
@@ -5877,6 +5927,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5877
5927
|
} | null | undefined;
|
|
5878
5928
|
cooldownEndsAt?: Date | null | undefined;
|
|
5879
5929
|
} | null | undefined;
|
|
5930
|
+
orderStatus?: unknown;
|
|
5931
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
5880
5932
|
} | null | undefined;
|
|
5881
5933
|
}[] | null | undefined;
|
|
5882
5934
|
buyerPlatformId?: string | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionWithItems.d.ts","sourceRoot":"","sources":["TransactionWithItems.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"TransactionWithItems.d.ts","sourceRoot":"","sources":["TransactionWithItems.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;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", "LISTING_RESTRICTION", "CONVERTING_TO_PRO", "UNKNOWN"]>>>>;
|
|
50
50
|
cooldownEndsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
51
|
+
restrictedUntil: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
51
52
|
}, "strip", z.ZodTypeAny, {
|
|
52
53
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
53
54
|
name: string;
|
|
@@ -56,6 +57,7 @@ export declare const PlatformAuthRequestSchema: z.ZodObject<{
|
|
|
56
57
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
57
58
|
locale?: string | null | undefined;
|
|
58
59
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
60
|
+
restrictedUntil?: Date | null | undefined;
|
|
59
61
|
night?: {
|
|
60
62
|
startsAt: Date;
|
|
61
63
|
endsAt: Date;
|
|
@@ -84,6 +86,7 @@ export declare const PlatformAuthRequestSchema: z.ZodObject<{
|
|
|
84
86
|
status?: unknown;
|
|
85
87
|
locale?: string | null | undefined;
|
|
86
88
|
lockReason?: unknown;
|
|
89
|
+
restrictedUntil?: Date | null | undefined;
|
|
87
90
|
night?: {
|
|
88
91
|
startsAt: Date;
|
|
89
92
|
endsAt: Date;
|
|
@@ -116,6 +119,7 @@ export declare const PlatformAuthRequestSchema: z.ZodObject<{
|
|
|
116
119
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
117
120
|
locale?: string | null | undefined;
|
|
118
121
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
122
|
+
restrictedUntil?: Date | null | undefined;
|
|
119
123
|
night?: {
|
|
120
124
|
startsAt: Date;
|
|
121
125
|
endsAt: Date;
|
|
@@ -148,6 +152,7 @@ export declare const PlatformAuthRequestSchema: z.ZodObject<{
|
|
|
148
152
|
status?: unknown;
|
|
149
153
|
locale?: string | null | undefined;
|
|
150
154
|
lockReason?: unknown;
|
|
155
|
+
restrictedUntil?: Date | null | undefined;
|
|
151
156
|
night?: {
|
|
152
157
|
startsAt: Date;
|
|
153
158
|
endsAt: Date;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlatformAuthRequest.d.ts","sourceRoot":"","sources":["PlatformAuthRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"PlatformAuthRequest.d.ts","sourceRoot":"","sources":["PlatformAuthRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIpC,CAAA;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAA"}
|
|
@@ -48,6 +48,7 @@ export declare const PlatformJobUpdateSchema: z.ZodObject<{
|
|
|
48
48
|
}>>>;
|
|
49
49
|
lockReason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["BANNED", "PHONE_NUMBER_REQUIRED", "LISTING_RESTRICTION", "CONVERTING_TO_PRO", "UNKNOWN"]>>>>;
|
|
50
50
|
cooldownEndsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
51
|
+
restrictedUntil: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
51
52
|
}, "strip", z.ZodTypeAny, {
|
|
52
53
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
53
54
|
name: string;
|
|
@@ -56,6 +57,7 @@ export declare const PlatformJobUpdateSchema: z.ZodObject<{
|
|
|
56
57
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
57
58
|
locale?: string | null | undefined;
|
|
58
59
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
60
|
+
restrictedUntil?: Date | null | undefined;
|
|
59
61
|
night?: {
|
|
60
62
|
startsAt: Date;
|
|
61
63
|
endsAt: Date;
|
|
@@ -84,6 +86,7 @@ export declare const PlatformJobUpdateSchema: z.ZodObject<{
|
|
|
84
86
|
status?: unknown;
|
|
85
87
|
locale?: string | null | undefined;
|
|
86
88
|
lockReason?: unknown;
|
|
89
|
+
restrictedUntil?: Date | null | undefined;
|
|
87
90
|
night?: {
|
|
88
91
|
startsAt: Date;
|
|
89
92
|
endsAt: Date;
|
|
@@ -116,6 +119,7 @@ export declare const PlatformJobUpdateSchema: z.ZodObject<{
|
|
|
116
119
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
117
120
|
locale?: string | null | undefined;
|
|
118
121
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
122
|
+
restrictedUntil?: Date | null | undefined;
|
|
119
123
|
night?: {
|
|
120
124
|
startsAt: Date;
|
|
121
125
|
endsAt: Date;
|
|
@@ -148,6 +152,7 @@ export declare const PlatformJobUpdateSchema: z.ZodObject<{
|
|
|
148
152
|
status?: unknown;
|
|
149
153
|
locale?: string | null | undefined;
|
|
150
154
|
lockReason?: unknown;
|
|
155
|
+
restrictedUntil?: Date | null | undefined;
|
|
151
156
|
night?: {
|
|
152
157
|
startsAt: Date;
|
|
153
158
|
endsAt: Date;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlatformJobUpdate.d.ts","sourceRoot":"","sources":["PlatformJobUpdate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"PlatformJobUpdate.d.ts","sourceRoot":"","sources":["PlatformJobUpdate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIlC,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA"}
|
|
@@ -47,6 +47,7 @@ export declare const UserOnPlatformSchema: z.ZodObject<{
|
|
|
47
47
|
}>>>;
|
|
48
48
|
lockReason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["BANNED", "PHONE_NUMBER_REQUIRED", "LISTING_RESTRICTION", "CONVERTING_TO_PRO", "UNKNOWN"]>>>>;
|
|
49
49
|
cooldownEndsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
50
|
+
restrictedUntil: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
50
51
|
}, "strip", z.ZodTypeAny, {
|
|
51
52
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
52
53
|
name: string;
|
|
@@ -55,6 +56,7 @@ export declare const UserOnPlatformSchema: z.ZodObject<{
|
|
|
55
56
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
56
57
|
locale?: string | null | undefined;
|
|
57
58
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
59
|
+
restrictedUntil?: Date | null | undefined;
|
|
58
60
|
night?: {
|
|
59
61
|
startsAt: Date;
|
|
60
62
|
endsAt: Date;
|
|
@@ -83,6 +85,7 @@ export declare const UserOnPlatformSchema: z.ZodObject<{
|
|
|
83
85
|
status?: unknown;
|
|
84
86
|
locale?: string | null | undefined;
|
|
85
87
|
lockReason?: unknown;
|
|
88
|
+
restrictedUntil?: Date | null | undefined;
|
|
86
89
|
night?: {
|
|
87
90
|
startsAt: Date;
|
|
88
91
|
endsAt: Date;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserOnPlatform.d.ts","sourceRoot":"","sources":["UserOnPlatform.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAOrB,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"UserOnPlatform.d.ts","sourceRoot":"","sources":["UserOnPlatform.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAOrB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmB/B,CAAA;AACF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA"}
|
|
@@ -21,6 +21,7 @@ export const UserOnPlatformSchema = z.object({
|
|
|
21
21
|
profilePictureFileId: z.string().uuid().nullish(),
|
|
22
22
|
profilePicture: FileSchema.nullish(),
|
|
23
23
|
lockReason: AccountLockReasonSchema.nullish(),
|
|
24
|
-
cooldownEndsAt: z.coerce.date().nullish()
|
|
24
|
+
cooldownEndsAt: z.coerce.date().nullish(),
|
|
25
|
+
restrictedUntil: z.coerce.date().nullish()
|
|
25
26
|
});
|
|
26
27
|
//# sourceMappingURL=UserOnPlatform.js.map
|