controlresell 2.8.50 → 2.8.52
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 +9 -10
- package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/pricedrop}/PriceDropRequest.d.ts +1 -1
- package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/pricedrop}/PriceDropRequest.js +2 -2
- package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/pricedrop}/PriceDropRequest.js.map +1 -1
- package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/pricedrop}/PriceDropRequest.ts +2 -2
- package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/AutomaticPublishRequestItem.d.ts +2 -2
- package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/ManualPublishRequestItem.d.ts +6 -6
- package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/PublishRequest.d.ts +23 -71
- package/src/com/controlresell/api/requests/items/publish/PublishRequest.d.ts.map +1 -0
- package/src/com/controlresell/api/requests/items/publish/PublishRequest.js +11 -0
- package/src/com/controlresell/api/requests/items/publish/PublishRequest.js.map +1 -0
- package/src/com/controlresell/api/requests/items/publish/PublishRequest.ts +9 -0
- package/src/com/controlresell/{inventory/models/items/requests/PublishRequestItem.d.ts → api/requests/items/publish/PublishRequestItems.d.ts} +19 -19
- package/src/com/controlresell/api/requests/items/publish/PublishRequestItems.d.ts.map +1 -0
- package/src/com/controlresell/{inventory/models/items/requests/PublishRequestItem.js → api/requests/items/publish/PublishRequestItems.js} +3 -3
- package/src/com/controlresell/api/requests/items/publish/PublishRequestItems.js.map +1 -0
- package/src/com/controlresell/{inventory/models/items/requests/PublishRequestItem.ts → api/requests/items/publish/PublishRequestItems.ts} +2 -2
- package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/PublishTimeSlot.d.ts +2 -2
- package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/republish}/RepublishRequest.d.ts +88 -88
- package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/republish}/RepublishRequest.js +5 -5
- package/src/com/controlresell/api/requests/items/republish/RepublishRequest.js.map +1 -0
- package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/republish}/RepublishRequest.ts +5 -5
- package/src/com/controlresell/api/requests/quizresponses/CreateQuizResponseRequest.d.ts +22 -0
- package/src/com/controlresell/api/requests/quizresponses/CreateQuizResponseRequest.d.ts.map +1 -0
- package/src/com/controlresell/api/requests/quizresponses/CreateQuizResponseRequest.js +12 -0
- package/src/com/controlresell/api/requests/quizresponses/CreateQuizResponseRequest.js.map +1 -0
- package/src/com/controlresell/api/requests/quizresponses/CreateQuizResponseRequest.ts +10 -0
- package/src/com/controlresell/api/requests/subscriptions/CreateSubscriptionPaymentLinkRequest.d.ts +9 -0
- package/src/com/controlresell/api/requests/subscriptions/CreateSubscriptionPaymentLinkRequest.d.ts.map +1 -1
- package/src/com/controlresell/api/requests/subscriptions/CreateSubscriptionPaymentLinkRequest.js +4 -1
- package/src/com/controlresell/api/requests/subscriptions/CreateSubscriptionPaymentLinkRequest.js.map +1 -1
- package/src/com/controlresell/api/requests/subscriptions/CreateSubscriptionPaymentLinkRequest.ts +4 -1
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseBaseResponse.d.ts +28 -0
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseBaseResponse.d.ts.map +1 -0
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseBaseResponse.js +14 -0
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseBaseResponse.js.map +1 -0
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseBaseResponse.ts +12 -0
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseResponse.d.ts +34 -0
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseResponse.d.ts.map +1 -0
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseResponse.js +16 -0
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseResponse.js.map +1 -0
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseResponse.ts +14 -0
- package/src/com/controlresell/api/responses/subscriptions/BillingPortalUrlResponse.d.ts +10 -0
- package/src/com/controlresell/api/responses/subscriptions/BillingPortalUrlResponse.d.ts.map +1 -0
- package/src/com/controlresell/api/responses/subscriptions/BillingPortalUrlResponse.js +8 -0
- package/src/com/controlresell/api/responses/subscriptions/BillingPortalUrlResponse.js.map +1 -0
- package/src/com/controlresell/api/responses/subscriptions/BillingPortalUrlResponse.ts +6 -0
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionPaymentLinkResponse.d.ts +3 -3
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionPaymentLinkResponse.js +1 -1
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionPaymentLinkResponse.js.map +1 -1
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionPaymentLinkResponse.ts +1 -1
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionStatus.d.ts +76 -0
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionStatus.d.ts.map +1 -0
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionStatus.js +11 -0
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionStatus.js.map +1 -0
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionStatus.ts +9 -0
- package/src/com/controlresell/auth/models/preferences/Preference.d.ts +20 -20
- package/src/com/controlresell/auth/models/preferences/PreferenceWithCase.d.ts +56 -56
- package/src/com/controlresell/auth/models/preferences/PreferenceWithChildren.d.ts +46 -46
- package/src/com/controlresell/auth/models/preferences/cases/CreatePreferenceCasePayload.d.ts +14 -14
- package/src/com/controlresell/auth/models/preferences/cases/PartialPreferenceCasePayload.d.ts +12 -12
- package/src/com/controlresell/auth/models/preferences/cases/PreferenceCase.d.ts +14 -14
- package/src/com/controlresell/auth/models/preferences/payloads/actions/LifecycleDistributionMode.d.ts +8 -8
- package/src/com/controlresell/auth/models/preferences/payloads/actions/LifecycleTimeSlot.d.ts +2 -2
- package/src/com/controlresell/auth/models/preferences/payloads/actions/ManualLifecycleDistributionMode.d.ts +4 -4
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionsPayload.d.ts +6 -6
- package/src/com/controlresell/auth/models/preferences/queue/PreferenceNextActionPayload.d.ts +68 -68
- package/src/com/controlresell/auth/models/preferences/variants/PartialPreferenceCaseVariantPayload.d.ts +10 -10
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariant.d.ts +10 -10
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantDecodedPayload.d.ts +16 -16
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantPayload.d.ts +10 -10
- package/src/com/controlresell/auth/models/users/platforms/UpdateUserOnPlatformPayload.d.ts +2 -2
- package/src/com/controlresell/inbox/models/conversations/Conversation.d.ts +2 -2
- package/src/com/controlresell/inbox/models/conversations/ConversationOnPlatformUpdateRequest.d.ts +6 -6
- package/src/com/controlresell/inbox/models/conversations/ConversationUpdate.d.ts +4 -4
- package/src/com/controlresell/inbox/models/conversations/UserConversations.d.ts +4 -4
- package/src/com/controlresell/inbox/models/transactions/Transaction.d.ts +10 -10
- package/src/com/controlresell/inbox/models/transactions/items/ItemInTransaction.d.ts +4 -4
- package/src/com/controlresell/inbox/models/transactions/items/TransactionWithItems.d.ts +130 -152
- package/src/com/controlresell/inbox/models/transactions/items/TransactionWithItems.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/fees/Fee.d.ts +4 -4
- package/src/com/controlresell/inventory/models/items/CreatedItems.d.ts +118 -140
- package/src/com/controlresell/inventory/models/items/CreatedItems.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/Item.d.ts +84 -102
- package/src/com/controlresell/inventory/models/items/Item.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/ItemFiltersContext.d.ts +39 -0
- package/src/com/controlresell/inventory/models/items/ItemFiltersContext.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/ItemFiltersContext.js +4 -1
- package/src/com/controlresell/inventory/models/items/ItemFiltersContext.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/ItemFiltersContext.ts +4 -1
- package/src/com/controlresell/inventory/models/items/ItemPayload.d.ts +2 -2
- package/src/com/controlresell/inventory/models/items/ItemUpdate.d.ts +114 -136
- package/src/com/controlresell/inventory/models/items/ItemUpdate.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/ItemsWithFilters.d.ts +114 -136
- package/src/com/controlresell/inventory/models/items/ItemsWithFilters.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/UpdatedItem.d.ts +118 -140
- package/src/com/controlresell/inventory/models/items/UpdatedItem.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/CreateItemHistoryPayload.d.ts +42 -56
- package/src/com/controlresell/inventory/models/items/history/CreateItemHistoryPayload.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/ItemHistory.d.ts +44 -58
- package/src/com/controlresell/inventory/models/items/history/ItemHistory.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/ItemHistoryDecodedPayload.d.ts +56 -76
- package/src/com/controlresell/inventory/models/items/history/ItemHistoryDecodedPayload.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryImageProcessingDone.js +2 -2
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryImageProcessingDone.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryImageProcessingDone.ts +2 -2
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryRepublishingPayload.d.ts +4 -10
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryRepublishingPayload.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryRepublishingPayload.js +1 -3
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryRepublishingPayload.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryRepublishingPayload.ts +1 -3
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryRepublishingRetryPayload.d.ts +10 -10
- package/src/com/controlresell/inventory/models/items/{history/data/RepublishImageVariation.d.ts → images/ImageVariation.d.ts} +3 -3
- package/src/com/controlresell/inventory/models/items/images/ImageVariation.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/{history/data/RepublishImageVariation.js → images/ImageVariation.js} +3 -3
- package/src/com/controlresell/inventory/models/items/images/ImageVariation.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/{history/data/RepublishImageVariation.ts → images/ImageVariation.ts} +2 -2
- package/src/com/controlresell/inventory/models/items/labels/ItemLabel.d.ts +4 -4
- package/src/com/controlresell/inventory/models/items/platforms/ItemOnPlatform.d.ts +2 -2
- package/src/com/controlresell/inventory/models/metadata/brands/Brand.d.ts +2 -2
- package/src/com/controlresell/inventory/models/metadata/labels/Label.d.ts +2 -2
- package/src/com/controlresell/inventory/models/metadata/places/Place.d.ts +2 -2
- package/src/com/controlresell/models/filters/SavedFilters.d.ts +57 -0
- package/src/com/controlresell/models/filters/SavedFilters.d.ts.map +1 -1
- package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts +57 -0
- package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/Order.d.ts +48 -48
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +328 -354
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +4 -4
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +230 -252
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
- package/src/com/controlresell/models/users/User.d.ts +2 -2
- package/src/com/controlresell/models/users/ws/ResourceUpdate.d.ts +18 -18
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +272 -316
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/users/ws/UserWsResourcePayload.d.ts +24 -24
- package/src/com/controlresell/notify/models/notifications/NotificationPreference.d.ts +2 -2
- package/src/com/controlresell/subscriptions/api/CreateSubscriptionHistoryPayload.d.ts +28 -0
- package/src/com/controlresell/subscriptions/api/CreateSubscriptionHistoryPayload.d.ts.map +1 -0
- package/src/com/controlresell/subscriptions/api/CreateSubscriptionHistoryPayload.js +14 -0
- package/src/com/controlresell/subscriptions/api/CreateSubscriptionHistoryPayload.js.map +1 -0
- package/src/com/controlresell/subscriptions/api/CreateSubscriptionHistoryPayload.ts +12 -0
- package/src/com/controlresell/subscriptions/models/SubscriptionHistory.d.ts +40 -0
- package/src/com/controlresell/subscriptions/models/SubscriptionHistory.d.ts.map +1 -0
- package/src/com/controlresell/subscriptions/models/SubscriptionHistory.js +18 -0
- package/src/com/controlresell/subscriptions/models/SubscriptionHistory.js.map +1 -0
- package/src/com/controlresell/subscriptions/models/SubscriptionHistory.ts +16 -0
- package/src/index.d.ts +15 -11
- package/src/index.d.ts.map +1 -1
- package/src/index.js +36 -28
- package/src/index.js.map +1 -1
- package/src/index.ts +15 -11
- package/src/com/controlresell/inventory/models/items/history/data/RepublishImageVariation.d.ts.map +0 -1
- package/src/com/controlresell/inventory/models/items/history/data/RepublishImageVariation.js.map +0 -1
- package/src/com/controlresell/inventory/models/items/platforms/PlatformInfo.d.ts +0 -19
- package/src/com/controlresell/inventory/models/items/platforms/PlatformInfo.d.ts.map +0 -1
- package/src/com/controlresell/inventory/models/items/platforms/PlatformInfo.js +0 -11
- package/src/com/controlresell/inventory/models/items/platforms/PlatformInfo.js.map +0 -1
- package/src/com/controlresell/inventory/models/items/platforms/PlatformInfo.ts +0 -9
- package/src/com/controlresell/inventory/models/items/requests/PublishRequest.d.ts.map +0 -1
- package/src/com/controlresell/inventory/models/items/requests/PublishRequest.js +0 -18
- package/src/com/controlresell/inventory/models/items/requests/PublishRequest.js.map +0 -1
- package/src/com/controlresell/inventory/models/items/requests/PublishRequest.ts +0 -16
- package/src/com/controlresell/inventory/models/items/requests/PublishRequestItem.d.ts.map +0 -1
- package/src/com/controlresell/inventory/models/items/requests/PublishRequestItem.js.map +0 -1
- package/src/com/controlresell/inventory/models/items/requests/PublishRequestWithItem.d.ts +0 -225
- package/src/com/controlresell/inventory/models/items/requests/PublishRequestWithItem.d.ts.map +0 -1
- package/src/com/controlresell/inventory/models/items/requests/PublishRequestWithItem.js +0 -13
- package/src/com/controlresell/inventory/models/items/requests/PublishRequestWithItem.js.map +0 -1
- package/src/com/controlresell/inventory/models/items/requests/PublishRequestWithItem.ts +0 -11
- package/src/com/controlresell/inventory/models/items/requests/RepublishRequest.js.map +0 -1
- package/src/com/controlresell/inventory/models/items/requests/RepublishRequestWithItem.d.ts +0 -305
- package/src/com/controlresell/inventory/models/items/requests/RepublishRequestWithItem.d.ts.map +0 -1
- package/src/com/controlresell/inventory/models/items/requests/RepublishRequestWithItem.js +0 -12
- package/src/com/controlresell/inventory/models/items/requests/RepublishRequestWithItem.js.map +0 -1
- package/src/com/controlresell/inventory/models/items/requests/RepublishRequestWithItem.ts +0 -10
- /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/pricedrop}/PriceDropRequest.d.ts.map +0 -0
- /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/AutomaticPublishRequestItem.d.ts.map +0 -0
- /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/AutomaticPublishRequestItem.js +0 -0
- /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/AutomaticPublishRequestItem.js.map +0 -0
- /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/AutomaticPublishRequestItem.ts +0 -0
- /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/ManualPublishRequestItem.d.ts.map +0 -0
- /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/ManualPublishRequestItem.js +0 -0
- /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/ManualPublishRequestItem.js.map +0 -0
- /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/ManualPublishRequestItem.ts +0 -0
- /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/PublishTimeSlot.d.ts.map +0 -0
- /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/PublishTimeSlot.js +0 -0
- /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/PublishTimeSlot.js.map +0 -0
- /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/PublishTimeSlot.ts +0 -0
- /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/republish}/RepublishRequest.d.ts.map +0 -0
|
@@ -83,11 +83,11 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
83
83
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
84
84
|
id: string;
|
|
85
85
|
createdAt: Date;
|
|
86
|
+
updatedAt: Date;
|
|
86
87
|
accountId: string;
|
|
87
88
|
itemId: string | number;
|
|
88
89
|
platformId: string;
|
|
89
90
|
platformUrl: string;
|
|
90
|
-
updatedAt: Date;
|
|
91
91
|
platformPrice: number;
|
|
92
92
|
publishedAt: Date;
|
|
93
93
|
favoritesCount?: number | null | undefined;
|
|
@@ -112,11 +112,11 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
112
112
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
113
113
|
id: string;
|
|
114
114
|
createdAt: Date;
|
|
115
|
+
updatedAt: Date;
|
|
115
116
|
accountId: string;
|
|
116
117
|
itemId: string | number;
|
|
117
118
|
platformId: string;
|
|
118
119
|
platformUrl: string;
|
|
119
|
-
updatedAt: Date;
|
|
120
120
|
platformPrice: number;
|
|
121
121
|
publishedAt: Date;
|
|
122
122
|
favoritesCount?: number | null | undefined;
|
|
@@ -145,11 +145,11 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
145
145
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
146
146
|
id: string;
|
|
147
147
|
createdAt: Date;
|
|
148
|
+
updatedAt: Date;
|
|
148
149
|
accountId: string;
|
|
149
150
|
itemId: string | number;
|
|
150
151
|
platformId: string;
|
|
151
152
|
platformUrl: string;
|
|
152
|
-
updatedAt: Date;
|
|
153
153
|
platformPrice: number;
|
|
154
154
|
publishedAt: Date;
|
|
155
155
|
favoritesCount?: number | null | undefined;
|
|
@@ -178,11 +178,11 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
178
178
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
179
179
|
id: string;
|
|
180
180
|
createdAt: Date;
|
|
181
|
+
updatedAt: Date;
|
|
181
182
|
accountId: string;
|
|
182
183
|
itemId: string | number;
|
|
183
184
|
platformId: string;
|
|
184
185
|
platformUrl: string;
|
|
185
|
-
updatedAt: Date;
|
|
186
186
|
platformPrice: number;
|
|
187
187
|
publishedAt: Date;
|
|
188
188
|
favoritesCount?: number | null | undefined;
|
|
@@ -418,6 +418,40 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
418
418
|
price: number;
|
|
419
419
|
isPrepared: boolean;
|
|
420
420
|
platformOrderId: string;
|
|
421
|
+
items?: {
|
|
422
|
+
orderId: string;
|
|
423
|
+
itemOnPlatformId: string;
|
|
424
|
+
itemOnPlatform?: {
|
|
425
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
426
|
+
id: string;
|
|
427
|
+
createdAt: Date;
|
|
428
|
+
updatedAt: Date;
|
|
429
|
+
accountId: string;
|
|
430
|
+
itemId: string | number;
|
|
431
|
+
platformId: string;
|
|
432
|
+
platformUrl: string;
|
|
433
|
+
platformPrice: number;
|
|
434
|
+
publishedAt: Date;
|
|
435
|
+
favoritesCount?: number | null | undefined;
|
|
436
|
+
viewsCount?: number | null | undefined;
|
|
437
|
+
conversationId?: string | null | undefined;
|
|
438
|
+
account?: {
|
|
439
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
440
|
+
name: string;
|
|
441
|
+
userId: string | number;
|
|
442
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
443
|
+
accountId: string;
|
|
444
|
+
locale?: string | null | undefined;
|
|
445
|
+
night?: {
|
|
446
|
+
startsAt: Date;
|
|
447
|
+
endsAt: Date;
|
|
448
|
+
} | null | undefined;
|
|
449
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
450
|
+
ordersMaxDelay?: number | null | undefined;
|
|
451
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
452
|
+
} | null | undefined;
|
|
453
|
+
} | null | undefined;
|
|
454
|
+
}[] | null | undefined;
|
|
421
455
|
conversationId?: string | null | undefined;
|
|
422
456
|
transactionId?: string | null | undefined;
|
|
423
457
|
labels?: {
|
|
@@ -469,6 +503,15 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
469
503
|
longitude?: number | null | undefined;
|
|
470
504
|
} | null | undefined;
|
|
471
505
|
}[] | null | undefined;
|
|
506
|
+
}, {
|
|
507
|
+
type: "SALE" | "PURCHASE";
|
|
508
|
+
status: "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_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "ORDER_RETURNED_TO_SENDER";
|
|
509
|
+
date: Date;
|
|
510
|
+
id: string;
|
|
511
|
+
accountId: string;
|
|
512
|
+
price: number;
|
|
513
|
+
isPrepared: boolean;
|
|
514
|
+
platformOrderId: string;
|
|
472
515
|
items?: {
|
|
473
516
|
orderId: string;
|
|
474
517
|
itemOnPlatformId: string;
|
|
@@ -476,11 +519,11 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
476
519
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
477
520
|
id: string;
|
|
478
521
|
createdAt: Date;
|
|
522
|
+
updatedAt: Date;
|
|
479
523
|
accountId: string;
|
|
480
524
|
itemId: string | number;
|
|
481
525
|
platformId: string;
|
|
482
526
|
platformUrl: string;
|
|
483
|
-
updatedAt: Date;
|
|
484
527
|
platformPrice: number;
|
|
485
528
|
publishedAt: Date;
|
|
486
529
|
favoritesCount?: number | null | undefined;
|
|
@@ -503,15 +546,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
503
546
|
} | null | undefined;
|
|
504
547
|
} | null | undefined;
|
|
505
548
|
}[] | null | undefined;
|
|
506
|
-
}, {
|
|
507
|
-
type: "SALE" | "PURCHASE";
|
|
508
|
-
status: "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_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "ORDER_RETURNED_TO_SENDER";
|
|
509
|
-
date: Date;
|
|
510
|
-
id: string;
|
|
511
|
-
accountId: string;
|
|
512
|
-
price: number;
|
|
513
|
-
isPrepared: boolean;
|
|
514
|
-
platformOrderId: string;
|
|
515
549
|
conversationId?: string | null | undefined;
|
|
516
550
|
transactionId?: string | null | undefined;
|
|
517
551
|
labels?: {
|
|
@@ -563,40 +597,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
563
597
|
longitude?: number | null | undefined;
|
|
564
598
|
} | null | undefined;
|
|
565
599
|
}[] | null | undefined;
|
|
566
|
-
items?: {
|
|
567
|
-
orderId: string;
|
|
568
|
-
itemOnPlatformId: string;
|
|
569
|
-
itemOnPlatform?: {
|
|
570
|
-
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
571
|
-
id: string;
|
|
572
|
-
createdAt: Date;
|
|
573
|
-
accountId: string;
|
|
574
|
-
itemId: string | number;
|
|
575
|
-
platformId: string;
|
|
576
|
-
platformUrl: string;
|
|
577
|
-
updatedAt: Date;
|
|
578
|
-
platformPrice: number;
|
|
579
|
-
publishedAt: Date;
|
|
580
|
-
favoritesCount?: number | null | undefined;
|
|
581
|
-
viewsCount?: number | null | undefined;
|
|
582
|
-
conversationId?: string | null | undefined;
|
|
583
|
-
account?: {
|
|
584
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
585
|
-
name: string;
|
|
586
|
-
userId: string | number;
|
|
587
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
588
|
-
accountId: string;
|
|
589
|
-
locale?: string | null | undefined;
|
|
590
|
-
night?: {
|
|
591
|
-
startsAt: Date;
|
|
592
|
-
endsAt: Date;
|
|
593
|
-
} | null | undefined;
|
|
594
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
595
|
-
ordersMaxDelay?: number | null | undefined;
|
|
596
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
597
|
-
} | null | undefined;
|
|
598
|
-
} | null | undefined;
|
|
599
|
-
}[] | null | undefined;
|
|
600
600
|
}>;
|
|
601
601
|
items: z.ZodArray<z.ZodObject<{
|
|
602
602
|
id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
@@ -683,10 +683,10 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
683
683
|
value: number;
|
|
684
684
|
type: string;
|
|
685
685
|
id: string | number;
|
|
686
|
-
name: string;
|
|
687
686
|
createdAt: Date;
|
|
688
|
-
userId: string | number;
|
|
689
687
|
updatedAt: Date;
|
|
688
|
+
name: string;
|
|
689
|
+
userId: string | number;
|
|
690
690
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
691
691
|
startDate: Date;
|
|
692
692
|
active: boolean;
|
|
@@ -698,10 +698,10 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
698
698
|
value: number;
|
|
699
699
|
type: string;
|
|
700
700
|
id: string | number;
|
|
701
|
-
name: string;
|
|
702
701
|
createdAt: Date;
|
|
703
|
-
userId: string | number;
|
|
704
702
|
updatedAt: Date;
|
|
703
|
+
name: string;
|
|
704
|
+
userId: string | number;
|
|
705
705
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
706
706
|
startDate: Date;
|
|
707
707
|
active: boolean;
|
|
@@ -723,15 +723,15 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
723
723
|
itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
724
724
|
}, "strip", z.ZodTypeAny, {
|
|
725
725
|
id: string | number;
|
|
726
|
-
name: string;
|
|
727
726
|
createdAt: Date;
|
|
727
|
+
name: string;
|
|
728
728
|
isUserLabel: boolean;
|
|
729
729
|
itemCount?: number | null | undefined;
|
|
730
730
|
userId?: string | number | null | undefined;
|
|
731
731
|
}, {
|
|
732
732
|
id: string | number;
|
|
733
|
-
name: string;
|
|
734
733
|
createdAt: Date;
|
|
734
|
+
name: string;
|
|
735
735
|
isUserLabel: boolean;
|
|
736
736
|
itemCount?: number | null | undefined;
|
|
737
737
|
userId?: string | number | null | undefined;
|
|
@@ -741,8 +741,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
741
741
|
labelId: string | number;
|
|
742
742
|
label?: {
|
|
743
743
|
id: string | number;
|
|
744
|
-
name: string;
|
|
745
744
|
createdAt: Date;
|
|
745
|
+
name: string;
|
|
746
746
|
isUserLabel: boolean;
|
|
747
747
|
itemCount?: number | null | undefined;
|
|
748
748
|
userId?: string | number | null | undefined;
|
|
@@ -752,8 +752,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
752
752
|
labelId: string | number;
|
|
753
753
|
label?: {
|
|
754
754
|
id: string | number;
|
|
755
|
-
name: string;
|
|
756
755
|
createdAt: Date;
|
|
756
|
+
name: string;
|
|
757
757
|
isUserLabel: boolean;
|
|
758
758
|
itemCount?: number | null | undefined;
|
|
759
759
|
userId?: string | number | null | undefined;
|
|
@@ -1386,12 +1386,9 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1386
1386
|
maxRounds?: number | null | undefined;
|
|
1387
1387
|
}>>>;
|
|
1388
1388
|
isTransfer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1389
|
-
sourceAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1390
1389
|
targetAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1391
|
-
targetUserId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1392
1390
|
}, "strip", z.ZodTypeAny, {
|
|
1393
1391
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1394
|
-
publishingDate?: Date | null | undefined;
|
|
1395
1392
|
priceDropPayload?: {
|
|
1396
1393
|
value: number;
|
|
1397
1394
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1399,13 +1396,11 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1399
1396
|
roundStep?: number | null | undefined;
|
|
1400
1397
|
maxRounds?: number | null | undefined;
|
|
1401
1398
|
} | null | undefined;
|
|
1402
|
-
|
|
1403
|
-
sourceAccountId?: string | null | undefined;
|
|
1399
|
+
publishingDate?: Date | null | undefined;
|
|
1404
1400
|
targetAccountId?: string | null | undefined;
|
|
1405
|
-
|
|
1401
|
+
isTransfer?: boolean | null | undefined;
|
|
1406
1402
|
}, {
|
|
1407
1403
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1408
|
-
publishingDate?: Date | null | undefined;
|
|
1409
1404
|
priceDropPayload?: {
|
|
1410
1405
|
value: number;
|
|
1411
1406
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1413,17 +1408,15 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1413
1408
|
roundStep?: number | null | undefined;
|
|
1414
1409
|
maxRounds?: number | null | undefined;
|
|
1415
1410
|
} | null | undefined;
|
|
1416
|
-
|
|
1417
|
-
sourceAccountId?: string | null | undefined;
|
|
1411
|
+
publishingDate?: Date | null | undefined;
|
|
1418
1412
|
targetAccountId?: string | null | undefined;
|
|
1419
|
-
|
|
1413
|
+
isTransfer?: boolean | null | undefined;
|
|
1420
1414
|
}>;
|
|
1421
1415
|
type: z.ZodLiteral<"REPUBLISHING">;
|
|
1422
1416
|
}, "strip", z.ZodTypeAny, {
|
|
1423
1417
|
type: "REPUBLISHING";
|
|
1424
1418
|
data: {
|
|
1425
1419
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1426
|
-
publishingDate?: Date | null | undefined;
|
|
1427
1420
|
priceDropPayload?: {
|
|
1428
1421
|
value: number;
|
|
1429
1422
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1431,16 +1424,14 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1431
1424
|
roundStep?: number | null | undefined;
|
|
1432
1425
|
maxRounds?: number | null | undefined;
|
|
1433
1426
|
} | null | undefined;
|
|
1434
|
-
|
|
1435
|
-
sourceAccountId?: string | null | undefined;
|
|
1427
|
+
publishingDate?: Date | null | undefined;
|
|
1436
1428
|
targetAccountId?: string | null | undefined;
|
|
1437
|
-
|
|
1429
|
+
isTransfer?: boolean | null | undefined;
|
|
1438
1430
|
};
|
|
1439
1431
|
}, {
|
|
1440
1432
|
type: "REPUBLISHING";
|
|
1441
1433
|
data: {
|
|
1442
1434
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1443
|
-
publishingDate?: Date | null | undefined;
|
|
1444
1435
|
priceDropPayload?: {
|
|
1445
1436
|
value: number;
|
|
1446
1437
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1448,10 +1439,9 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1448
1439
|
roundStep?: number | null | undefined;
|
|
1449
1440
|
maxRounds?: number | null | undefined;
|
|
1450
1441
|
} | null | undefined;
|
|
1451
|
-
|
|
1452
|
-
sourceAccountId?: string | null | undefined;
|
|
1442
|
+
publishingDate?: Date | null | undefined;
|
|
1453
1443
|
targetAccountId?: string | null | undefined;
|
|
1454
|
-
|
|
1444
|
+
isTransfer?: boolean | null | undefined;
|
|
1455
1445
|
};
|
|
1456
1446
|
}>, z.ZodObject<{
|
|
1457
1447
|
data: z.ZodObject<{
|
|
@@ -1498,11 +1488,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1498
1488
|
attemptNumber: number;
|
|
1499
1489
|
previousHistoryId: string;
|
|
1500
1490
|
originalFailureDate: Date;
|
|
1501
|
-
fields?: {
|
|
1502
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1503
|
-
autoFixable: boolean;
|
|
1504
|
-
error?: string | null | undefined;
|
|
1505
|
-
}[] | null | undefined;
|
|
1506
1491
|
priceDropPayload?: {
|
|
1507
1492
|
value: number;
|
|
1508
1493
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1510,17 +1495,17 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1510
1495
|
roundStep?: number | null | undefined;
|
|
1511
1496
|
maxRounds?: number | null | undefined;
|
|
1512
1497
|
} | null | undefined;
|
|
1498
|
+
fields?: {
|
|
1499
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1500
|
+
autoFixable: boolean;
|
|
1501
|
+
error?: string | null | undefined;
|
|
1502
|
+
}[] | null | undefined;
|
|
1513
1503
|
}, {
|
|
1514
1504
|
maxAttempts: number;
|
|
1515
1505
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1516
1506
|
attemptNumber: number;
|
|
1517
1507
|
previousHistoryId: string;
|
|
1518
1508
|
originalFailureDate: Date;
|
|
1519
|
-
fields?: {
|
|
1520
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1521
|
-
autoFixable: boolean;
|
|
1522
|
-
error?: string | null | undefined;
|
|
1523
|
-
}[] | null | undefined;
|
|
1524
1509
|
priceDropPayload?: {
|
|
1525
1510
|
value: number;
|
|
1526
1511
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1528,6 +1513,11 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1528
1513
|
roundStep?: number | null | undefined;
|
|
1529
1514
|
maxRounds?: number | null | undefined;
|
|
1530
1515
|
} | null | undefined;
|
|
1516
|
+
fields?: {
|
|
1517
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1518
|
+
autoFixable: boolean;
|
|
1519
|
+
error?: string | null | undefined;
|
|
1520
|
+
}[] | null | undefined;
|
|
1531
1521
|
}>;
|
|
1532
1522
|
type: z.ZodLiteral<"REPUBLISHING_RETRY">;
|
|
1533
1523
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1538,11 +1528,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1538
1528
|
attemptNumber: number;
|
|
1539
1529
|
previousHistoryId: string;
|
|
1540
1530
|
originalFailureDate: Date;
|
|
1541
|
-
fields?: {
|
|
1542
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1543
|
-
autoFixable: boolean;
|
|
1544
|
-
error?: string | null | undefined;
|
|
1545
|
-
}[] | null | undefined;
|
|
1546
1531
|
priceDropPayload?: {
|
|
1547
1532
|
value: number;
|
|
1548
1533
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1550,6 +1535,11 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1550
1535
|
roundStep?: number | null | undefined;
|
|
1551
1536
|
maxRounds?: number | null | undefined;
|
|
1552
1537
|
} | null | undefined;
|
|
1538
|
+
fields?: {
|
|
1539
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1540
|
+
autoFixable: boolean;
|
|
1541
|
+
error?: string | null | undefined;
|
|
1542
|
+
}[] | null | undefined;
|
|
1553
1543
|
};
|
|
1554
1544
|
}, {
|
|
1555
1545
|
type: "REPUBLISHING_RETRY";
|
|
@@ -1559,11 +1549,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1559
1549
|
attemptNumber: number;
|
|
1560
1550
|
previousHistoryId: string;
|
|
1561
1551
|
originalFailureDate: Date;
|
|
1562
|
-
fields?: {
|
|
1563
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1564
|
-
autoFixable: boolean;
|
|
1565
|
-
error?: string | null | undefined;
|
|
1566
|
-
}[] | null | undefined;
|
|
1567
1552
|
priceDropPayload?: {
|
|
1568
1553
|
value: number;
|
|
1569
1554
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1571,6 +1556,11 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1571
1556
|
roundStep?: number | null | undefined;
|
|
1572
1557
|
maxRounds?: number | null | undefined;
|
|
1573
1558
|
} | null | undefined;
|
|
1559
|
+
fields?: {
|
|
1560
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1561
|
+
autoFixable: boolean;
|
|
1562
|
+
error?: string | null | undefined;
|
|
1563
|
+
}[] | null | undefined;
|
|
1574
1564
|
};
|
|
1575
1565
|
}>, z.ZodObject<{
|
|
1576
1566
|
data: z.ZodObject<{
|
|
@@ -1678,6 +1668,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1678
1668
|
id: string;
|
|
1679
1669
|
createdAt: Date;
|
|
1680
1670
|
itemId: string | number;
|
|
1671
|
+
requestId?: string | null | undefined;
|
|
1681
1672
|
data?: {
|
|
1682
1673
|
type: "ACTION_CANCELED";
|
|
1683
1674
|
data: {
|
|
@@ -1775,7 +1766,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1775
1766
|
type: "REPUBLISHING";
|
|
1776
1767
|
data: {
|
|
1777
1768
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1778
|
-
publishingDate?: Date | null | undefined;
|
|
1779
1769
|
priceDropPayload?: {
|
|
1780
1770
|
value: number;
|
|
1781
1771
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1783,10 +1773,9 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1783
1773
|
roundStep?: number | null | undefined;
|
|
1784
1774
|
maxRounds?: number | null | undefined;
|
|
1785
1775
|
} | null | undefined;
|
|
1786
|
-
|
|
1787
|
-
sourceAccountId?: string | null | undefined;
|
|
1776
|
+
publishingDate?: Date | null | undefined;
|
|
1788
1777
|
targetAccountId?: string | null | undefined;
|
|
1789
|
-
|
|
1778
|
+
isTransfer?: boolean | null | undefined;
|
|
1790
1779
|
};
|
|
1791
1780
|
} | {
|
|
1792
1781
|
type: "REPUBLISHING_RETRY";
|
|
@@ -1796,11 +1785,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1796
1785
|
attemptNumber: number;
|
|
1797
1786
|
previousHistoryId: string;
|
|
1798
1787
|
originalFailureDate: Date;
|
|
1799
|
-
fields?: {
|
|
1800
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1801
|
-
autoFixable: boolean;
|
|
1802
|
-
error?: string | null | undefined;
|
|
1803
|
-
}[] | null | undefined;
|
|
1804
1788
|
priceDropPayload?: {
|
|
1805
1789
|
value: number;
|
|
1806
1790
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1808,6 +1792,11 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1808
1792
|
roundStep?: number | null | undefined;
|
|
1809
1793
|
maxRounds?: number | null | undefined;
|
|
1810
1794
|
} | null | undefined;
|
|
1795
|
+
fields?: {
|
|
1796
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1797
|
+
autoFixable: boolean;
|
|
1798
|
+
error?: string | null | undefined;
|
|
1799
|
+
}[] | null | undefined;
|
|
1811
1800
|
};
|
|
1812
1801
|
} | {
|
|
1813
1802
|
type: "SCHEDULED";
|
|
@@ -1831,13 +1820,13 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1831
1820
|
};
|
|
1832
1821
|
} | null | undefined;
|
|
1833
1822
|
accountId?: string | null | undefined;
|
|
1834
|
-
requestId?: string | null | undefined;
|
|
1835
1823
|
targetDate?: Date | null | undefined;
|
|
1836
1824
|
}, {
|
|
1837
1825
|
type: "CANCELED" | "SCHEDULED" | "DELETED" | "ARCHIVED" | "DISPUTE" | "IMPORTED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "DELETING" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
1838
1826
|
id: string;
|
|
1839
1827
|
createdAt: Date;
|
|
1840
1828
|
itemId: string | number;
|
|
1829
|
+
requestId?: string | null | undefined;
|
|
1841
1830
|
data?: {
|
|
1842
1831
|
type: "ACTION_CANCELED";
|
|
1843
1832
|
data: {
|
|
@@ -1935,7 +1924,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1935
1924
|
type: "REPUBLISHING";
|
|
1936
1925
|
data: {
|
|
1937
1926
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1938
|
-
publishingDate?: Date | null | undefined;
|
|
1939
1927
|
priceDropPayload?: {
|
|
1940
1928
|
value: number;
|
|
1941
1929
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1943,10 +1931,9 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1943
1931
|
roundStep?: number | null | undefined;
|
|
1944
1932
|
maxRounds?: number | null | undefined;
|
|
1945
1933
|
} | null | undefined;
|
|
1946
|
-
|
|
1947
|
-
sourceAccountId?: string | null | undefined;
|
|
1934
|
+
publishingDate?: Date | null | undefined;
|
|
1948
1935
|
targetAccountId?: string | null | undefined;
|
|
1949
|
-
|
|
1936
|
+
isTransfer?: boolean | null | undefined;
|
|
1950
1937
|
};
|
|
1951
1938
|
} | {
|
|
1952
1939
|
type: "REPUBLISHING_RETRY";
|
|
@@ -1956,11 +1943,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1956
1943
|
attemptNumber: number;
|
|
1957
1944
|
previousHistoryId: string;
|
|
1958
1945
|
originalFailureDate: Date;
|
|
1959
|
-
fields?: {
|
|
1960
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1961
|
-
autoFixable: boolean;
|
|
1962
|
-
error?: string | null | undefined;
|
|
1963
|
-
}[] | null | undefined;
|
|
1964
1946
|
priceDropPayload?: {
|
|
1965
1947
|
value: number;
|
|
1966
1948
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1968,6 +1950,11 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1968
1950
|
roundStep?: number | null | undefined;
|
|
1969
1951
|
maxRounds?: number | null | undefined;
|
|
1970
1952
|
} | null | undefined;
|
|
1953
|
+
fields?: {
|
|
1954
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1955
|
+
autoFixable: boolean;
|
|
1956
|
+
error?: string | null | undefined;
|
|
1957
|
+
}[] | null | undefined;
|
|
1971
1958
|
};
|
|
1972
1959
|
} | {
|
|
1973
1960
|
type: "SCHEDULED";
|
|
@@ -1991,7 +1978,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1991
1978
|
};
|
|
1992
1979
|
} | null | undefined;
|
|
1993
1980
|
accountId?: string | null | undefined;
|
|
1994
|
-
requestId?: string | null | undefined;
|
|
1995
1981
|
targetDate?: Date | null | undefined;
|
|
1996
1982
|
}>>>;
|
|
1997
1983
|
platforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -2061,11 +2047,11 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2061
2047
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2062
2048
|
id: string;
|
|
2063
2049
|
createdAt: Date;
|
|
2050
|
+
updatedAt: Date;
|
|
2064
2051
|
accountId: string;
|
|
2065
2052
|
itemId: string | number;
|
|
2066
2053
|
platformId: string;
|
|
2067
2054
|
platformUrl: string;
|
|
2068
|
-
updatedAt: Date;
|
|
2069
2055
|
platformPrice: number;
|
|
2070
2056
|
publishedAt: Date;
|
|
2071
2057
|
favoritesCount?: number | null | undefined;
|
|
@@ -2090,11 +2076,11 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2090
2076
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2091
2077
|
id: string;
|
|
2092
2078
|
createdAt: Date;
|
|
2079
|
+
updatedAt: Date;
|
|
2093
2080
|
accountId: string;
|
|
2094
2081
|
itemId: string | number;
|
|
2095
2082
|
platformId: string;
|
|
2096
2083
|
platformUrl: string;
|
|
2097
|
-
updatedAt: Date;
|
|
2098
2084
|
platformPrice: number;
|
|
2099
2085
|
publishedAt: Date;
|
|
2100
2086
|
favoritesCount?: number | null | undefined;
|
|
@@ -2120,19 +2106,20 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2120
2106
|
updatedAt: z.ZodDate;
|
|
2121
2107
|
}, "strip", z.ZodTypeAny, {
|
|
2122
2108
|
id: string | number;
|
|
2123
|
-
name: string;
|
|
2124
2109
|
createdAt: Date;
|
|
2125
|
-
userId: string | number;
|
|
2126
2110
|
updatedAt: Date;
|
|
2111
|
+
name: string;
|
|
2112
|
+
userId: string | number;
|
|
2127
2113
|
sold: boolean;
|
|
2114
|
+
state?: number | null | undefined;
|
|
2128
2115
|
fees?: {
|
|
2129
2116
|
value: number;
|
|
2130
2117
|
type: string;
|
|
2131
2118
|
id: string | number;
|
|
2132
|
-
name: string;
|
|
2133
2119
|
createdAt: Date;
|
|
2134
|
-
userId: string | number;
|
|
2135
2120
|
updatedAt: Date;
|
|
2121
|
+
name: string;
|
|
2122
|
+
userId: string | number;
|
|
2136
2123
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
2137
2124
|
startDate: Date;
|
|
2138
2125
|
active: boolean;
|
|
@@ -2150,14 +2137,13 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2150
2137
|
estimatedPrice?: number | null | undefined;
|
|
2151
2138
|
purchaseDate?: Date | null | undefined;
|
|
2152
2139
|
sellingDate?: Date | null | undefined;
|
|
2153
|
-
state?: number | null | undefined;
|
|
2154
2140
|
labels?: {
|
|
2155
2141
|
itemId: string | number;
|
|
2156
2142
|
labelId: string | number;
|
|
2157
2143
|
label?: {
|
|
2158
2144
|
id: string | number;
|
|
2159
|
-
name: string;
|
|
2160
2145
|
createdAt: Date;
|
|
2146
|
+
name: string;
|
|
2161
2147
|
isUserLabel: boolean;
|
|
2162
2148
|
itemCount?: number | null | undefined;
|
|
2163
2149
|
userId?: string | number | null | undefined;
|
|
@@ -2179,11 +2165,11 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2179
2165
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2180
2166
|
id: string;
|
|
2181
2167
|
createdAt: Date;
|
|
2168
|
+
updatedAt: Date;
|
|
2182
2169
|
accountId: string;
|
|
2183
2170
|
itemId: string | number;
|
|
2184
2171
|
platformId: string;
|
|
2185
2172
|
platformUrl: string;
|
|
2186
|
-
updatedAt: Date;
|
|
2187
2173
|
platformPrice: number;
|
|
2188
2174
|
publishedAt: Date;
|
|
2189
2175
|
favoritesCount?: number | null | undefined;
|
|
@@ -2242,6 +2228,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2242
2228
|
id: string;
|
|
2243
2229
|
createdAt: Date;
|
|
2244
2230
|
itemId: string | number;
|
|
2231
|
+
requestId?: string | null | undefined;
|
|
2245
2232
|
data?: {
|
|
2246
2233
|
type: "ACTION_CANCELED";
|
|
2247
2234
|
data: {
|
|
@@ -2339,7 +2326,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2339
2326
|
type: "REPUBLISHING";
|
|
2340
2327
|
data: {
|
|
2341
2328
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2342
|
-
publishingDate?: Date | null | undefined;
|
|
2343
2329
|
priceDropPayload?: {
|
|
2344
2330
|
value: number;
|
|
2345
2331
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2347,10 +2333,9 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2347
2333
|
roundStep?: number | null | undefined;
|
|
2348
2334
|
maxRounds?: number | null | undefined;
|
|
2349
2335
|
} | null | undefined;
|
|
2350
|
-
|
|
2351
|
-
sourceAccountId?: string | null | undefined;
|
|
2336
|
+
publishingDate?: Date | null | undefined;
|
|
2352
2337
|
targetAccountId?: string | null | undefined;
|
|
2353
|
-
|
|
2338
|
+
isTransfer?: boolean | null | undefined;
|
|
2354
2339
|
};
|
|
2355
2340
|
} | {
|
|
2356
2341
|
type: "REPUBLISHING_RETRY";
|
|
@@ -2360,11 +2345,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2360
2345
|
attemptNumber: number;
|
|
2361
2346
|
previousHistoryId: string;
|
|
2362
2347
|
originalFailureDate: Date;
|
|
2363
|
-
fields?: {
|
|
2364
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2365
|
-
autoFixable: boolean;
|
|
2366
|
-
error?: string | null | undefined;
|
|
2367
|
-
}[] | null | undefined;
|
|
2368
2348
|
priceDropPayload?: {
|
|
2369
2349
|
value: number;
|
|
2370
2350
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2372,6 +2352,11 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2372
2352
|
roundStep?: number | null | undefined;
|
|
2373
2353
|
maxRounds?: number | null | undefined;
|
|
2374
2354
|
} | null | undefined;
|
|
2355
|
+
fields?: {
|
|
2356
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2357
|
+
autoFixable: boolean;
|
|
2358
|
+
error?: string | null | undefined;
|
|
2359
|
+
}[] | null | undefined;
|
|
2375
2360
|
};
|
|
2376
2361
|
} | {
|
|
2377
2362
|
type: "SCHEDULED";
|
|
@@ -2395,24 +2380,24 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2395
2380
|
};
|
|
2396
2381
|
} | null | undefined;
|
|
2397
2382
|
accountId?: string | null | undefined;
|
|
2398
|
-
requestId?: string | null | undefined;
|
|
2399
2383
|
targetDate?: Date | null | undefined;
|
|
2400
2384
|
} | null | undefined;
|
|
2401
2385
|
}, {
|
|
2402
2386
|
id: string | number;
|
|
2403
|
-
name: string;
|
|
2404
2387
|
createdAt: Date;
|
|
2405
|
-
userId: string | number;
|
|
2406
2388
|
updatedAt: Date;
|
|
2389
|
+
name: string;
|
|
2390
|
+
userId: string | number;
|
|
2407
2391
|
sold: boolean;
|
|
2392
|
+
state?: number | null | undefined;
|
|
2408
2393
|
fees?: {
|
|
2409
2394
|
value: number;
|
|
2410
2395
|
type: string;
|
|
2411
2396
|
id: string | number;
|
|
2412
|
-
name: string;
|
|
2413
2397
|
createdAt: Date;
|
|
2414
|
-
userId: string | number;
|
|
2415
2398
|
updatedAt: Date;
|
|
2399
|
+
name: string;
|
|
2400
|
+
userId: string | number;
|
|
2416
2401
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
2417
2402
|
startDate: Date;
|
|
2418
2403
|
active: boolean;
|
|
@@ -2430,14 +2415,13 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2430
2415
|
estimatedPrice?: number | null | undefined;
|
|
2431
2416
|
purchaseDate?: Date | null | undefined;
|
|
2432
2417
|
sellingDate?: Date | null | undefined;
|
|
2433
|
-
state?: number | null | undefined;
|
|
2434
2418
|
labels?: {
|
|
2435
2419
|
itemId: string | number;
|
|
2436
2420
|
labelId: string | number;
|
|
2437
2421
|
label?: {
|
|
2438
2422
|
id: string | number;
|
|
2439
|
-
name: string;
|
|
2440
2423
|
createdAt: Date;
|
|
2424
|
+
name: string;
|
|
2441
2425
|
isUserLabel: boolean;
|
|
2442
2426
|
itemCount?: number | null | undefined;
|
|
2443
2427
|
userId?: string | number | null | undefined;
|
|
@@ -2459,11 +2443,11 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2459
2443
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2460
2444
|
id: string;
|
|
2461
2445
|
createdAt: Date;
|
|
2446
|
+
updatedAt: Date;
|
|
2462
2447
|
accountId: string;
|
|
2463
2448
|
itemId: string | number;
|
|
2464
2449
|
platformId: string;
|
|
2465
2450
|
platformUrl: string;
|
|
2466
|
-
updatedAt: Date;
|
|
2467
2451
|
platformPrice: number;
|
|
2468
2452
|
publishedAt: Date;
|
|
2469
2453
|
favoritesCount?: number | null | undefined;
|
|
@@ -2522,6 +2506,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2522
2506
|
id: string;
|
|
2523
2507
|
createdAt: Date;
|
|
2524
2508
|
itemId: string | number;
|
|
2509
|
+
requestId?: string | null | undefined;
|
|
2525
2510
|
data?: {
|
|
2526
2511
|
type: "ACTION_CANCELED";
|
|
2527
2512
|
data: {
|
|
@@ -2619,7 +2604,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2619
2604
|
type: "REPUBLISHING";
|
|
2620
2605
|
data: {
|
|
2621
2606
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2622
|
-
publishingDate?: Date | null | undefined;
|
|
2623
2607
|
priceDropPayload?: {
|
|
2624
2608
|
value: number;
|
|
2625
2609
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2627,10 +2611,9 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2627
2611
|
roundStep?: number | null | undefined;
|
|
2628
2612
|
maxRounds?: number | null | undefined;
|
|
2629
2613
|
} | null | undefined;
|
|
2630
|
-
|
|
2631
|
-
sourceAccountId?: string | null | undefined;
|
|
2614
|
+
publishingDate?: Date | null | undefined;
|
|
2632
2615
|
targetAccountId?: string | null | undefined;
|
|
2633
|
-
|
|
2616
|
+
isTransfer?: boolean | null | undefined;
|
|
2634
2617
|
};
|
|
2635
2618
|
} | {
|
|
2636
2619
|
type: "REPUBLISHING_RETRY";
|
|
@@ -2640,11 +2623,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2640
2623
|
attemptNumber: number;
|
|
2641
2624
|
previousHistoryId: string;
|
|
2642
2625
|
originalFailureDate: Date;
|
|
2643
|
-
fields?: {
|
|
2644
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2645
|
-
autoFixable: boolean;
|
|
2646
|
-
error?: string | null | undefined;
|
|
2647
|
-
}[] | null | undefined;
|
|
2648
2626
|
priceDropPayload?: {
|
|
2649
2627
|
value: number;
|
|
2650
2628
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2652,6 +2630,11 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2652
2630
|
roundStep?: number | null | undefined;
|
|
2653
2631
|
maxRounds?: number | null | undefined;
|
|
2654
2632
|
} | null | undefined;
|
|
2633
|
+
fields?: {
|
|
2634
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2635
|
+
autoFixable: boolean;
|
|
2636
|
+
error?: string | null | undefined;
|
|
2637
|
+
}[] | null | undefined;
|
|
2655
2638
|
};
|
|
2656
2639
|
} | {
|
|
2657
2640
|
type: "SCHEDULED";
|
|
@@ -2675,26 +2658,26 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2675
2658
|
};
|
|
2676
2659
|
} | null | undefined;
|
|
2677
2660
|
accountId?: string | null | undefined;
|
|
2678
|
-
requestId?: string | null | undefined;
|
|
2679
2661
|
targetDate?: Date | null | undefined;
|
|
2680
2662
|
} | null | undefined;
|
|
2681
2663
|
}>, "many">;
|
|
2682
2664
|
}, "strip", z.ZodTypeAny, {
|
|
2683
2665
|
items: {
|
|
2684
2666
|
id: string | number;
|
|
2685
|
-
name: string;
|
|
2686
2667
|
createdAt: Date;
|
|
2687
|
-
userId: string | number;
|
|
2688
2668
|
updatedAt: Date;
|
|
2669
|
+
name: string;
|
|
2670
|
+
userId: string | number;
|
|
2689
2671
|
sold: boolean;
|
|
2672
|
+
state?: number | null | undefined;
|
|
2690
2673
|
fees?: {
|
|
2691
2674
|
value: number;
|
|
2692
2675
|
type: string;
|
|
2693
2676
|
id: string | number;
|
|
2694
|
-
name: string;
|
|
2695
2677
|
createdAt: Date;
|
|
2696
|
-
userId: string | number;
|
|
2697
2678
|
updatedAt: Date;
|
|
2679
|
+
name: string;
|
|
2680
|
+
userId: string | number;
|
|
2698
2681
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
2699
2682
|
startDate: Date;
|
|
2700
2683
|
active: boolean;
|
|
@@ -2712,14 +2695,13 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2712
2695
|
estimatedPrice?: number | null | undefined;
|
|
2713
2696
|
purchaseDate?: Date | null | undefined;
|
|
2714
2697
|
sellingDate?: Date | null | undefined;
|
|
2715
|
-
state?: number | null | undefined;
|
|
2716
2698
|
labels?: {
|
|
2717
2699
|
itemId: string | number;
|
|
2718
2700
|
labelId: string | number;
|
|
2719
2701
|
label?: {
|
|
2720
2702
|
id: string | number;
|
|
2721
|
-
name: string;
|
|
2722
2703
|
createdAt: Date;
|
|
2704
|
+
name: string;
|
|
2723
2705
|
isUserLabel: boolean;
|
|
2724
2706
|
itemCount?: number | null | undefined;
|
|
2725
2707
|
userId?: string | number | null | undefined;
|
|
@@ -2741,11 +2723,11 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2741
2723
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2742
2724
|
id: string;
|
|
2743
2725
|
createdAt: Date;
|
|
2726
|
+
updatedAt: Date;
|
|
2744
2727
|
accountId: string;
|
|
2745
2728
|
itemId: string | number;
|
|
2746
2729
|
platformId: string;
|
|
2747
2730
|
platformUrl: string;
|
|
2748
|
-
updatedAt: Date;
|
|
2749
2731
|
platformPrice: number;
|
|
2750
2732
|
publishedAt: Date;
|
|
2751
2733
|
favoritesCount?: number | null | undefined;
|
|
@@ -2804,6 +2786,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2804
2786
|
id: string;
|
|
2805
2787
|
createdAt: Date;
|
|
2806
2788
|
itemId: string | number;
|
|
2789
|
+
requestId?: string | null | undefined;
|
|
2807
2790
|
data?: {
|
|
2808
2791
|
type: "ACTION_CANCELED";
|
|
2809
2792
|
data: {
|
|
@@ -2901,7 +2884,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2901
2884
|
type: "REPUBLISHING";
|
|
2902
2885
|
data: {
|
|
2903
2886
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2904
|
-
publishingDate?: Date | null | undefined;
|
|
2905
2887
|
priceDropPayload?: {
|
|
2906
2888
|
value: number;
|
|
2907
2889
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2909,10 +2891,9 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2909
2891
|
roundStep?: number | null | undefined;
|
|
2910
2892
|
maxRounds?: number | null | undefined;
|
|
2911
2893
|
} | null | undefined;
|
|
2912
|
-
|
|
2913
|
-
sourceAccountId?: string | null | undefined;
|
|
2894
|
+
publishingDate?: Date | null | undefined;
|
|
2914
2895
|
targetAccountId?: string | null | undefined;
|
|
2915
|
-
|
|
2896
|
+
isTransfer?: boolean | null | undefined;
|
|
2916
2897
|
};
|
|
2917
2898
|
} | {
|
|
2918
2899
|
type: "REPUBLISHING_RETRY";
|
|
@@ -2922,11 +2903,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2922
2903
|
attemptNumber: number;
|
|
2923
2904
|
previousHistoryId: string;
|
|
2924
2905
|
originalFailureDate: Date;
|
|
2925
|
-
fields?: {
|
|
2926
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2927
|
-
autoFixable: boolean;
|
|
2928
|
-
error?: string | null | undefined;
|
|
2929
|
-
}[] | null | undefined;
|
|
2930
2906
|
priceDropPayload?: {
|
|
2931
2907
|
value: number;
|
|
2932
2908
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2934,6 +2910,11 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2934
2910
|
roundStep?: number | null | undefined;
|
|
2935
2911
|
maxRounds?: number | null | undefined;
|
|
2936
2912
|
} | null | undefined;
|
|
2913
|
+
fields?: {
|
|
2914
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2915
|
+
autoFixable: boolean;
|
|
2916
|
+
error?: string | null | undefined;
|
|
2917
|
+
}[] | null | undefined;
|
|
2937
2918
|
};
|
|
2938
2919
|
} | {
|
|
2939
2920
|
type: "SCHEDULED";
|
|
@@ -2957,7 +2938,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2957
2938
|
};
|
|
2958
2939
|
} | null | undefined;
|
|
2959
2940
|
accountId?: string | null | undefined;
|
|
2960
|
-
requestId?: string | null | undefined;
|
|
2961
2941
|
targetDate?: Date | null | undefined;
|
|
2962
2942
|
} | null | undefined;
|
|
2963
2943
|
}[];
|
|
@@ -2970,6 +2950,40 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2970
2950
|
price: number;
|
|
2971
2951
|
isPrepared: boolean;
|
|
2972
2952
|
platformOrderId: string;
|
|
2953
|
+
items?: {
|
|
2954
|
+
orderId: string;
|
|
2955
|
+
itemOnPlatformId: string;
|
|
2956
|
+
itemOnPlatform?: {
|
|
2957
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2958
|
+
id: string;
|
|
2959
|
+
createdAt: Date;
|
|
2960
|
+
updatedAt: Date;
|
|
2961
|
+
accountId: string;
|
|
2962
|
+
itemId: string | number;
|
|
2963
|
+
platformId: string;
|
|
2964
|
+
platformUrl: string;
|
|
2965
|
+
platformPrice: number;
|
|
2966
|
+
publishedAt: Date;
|
|
2967
|
+
favoritesCount?: number | null | undefined;
|
|
2968
|
+
viewsCount?: number | null | undefined;
|
|
2969
|
+
conversationId?: string | null | undefined;
|
|
2970
|
+
account?: {
|
|
2971
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2972
|
+
name: string;
|
|
2973
|
+
userId: string | number;
|
|
2974
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2975
|
+
accountId: string;
|
|
2976
|
+
locale?: string | null | undefined;
|
|
2977
|
+
night?: {
|
|
2978
|
+
startsAt: Date;
|
|
2979
|
+
endsAt: Date;
|
|
2980
|
+
} | null | undefined;
|
|
2981
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
2982
|
+
ordersMaxDelay?: number | null | undefined;
|
|
2983
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
2984
|
+
} | null | undefined;
|
|
2985
|
+
} | null | undefined;
|
|
2986
|
+
}[] | null | undefined;
|
|
2973
2987
|
conversationId?: string | null | undefined;
|
|
2974
2988
|
transactionId?: string | null | undefined;
|
|
2975
2989
|
labels?: {
|
|
@@ -3021,57 +3035,24 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3021
3035
|
longitude?: number | null | undefined;
|
|
3022
3036
|
} | null | undefined;
|
|
3023
3037
|
}[] | null | undefined;
|
|
3024
|
-
items?: {
|
|
3025
|
-
orderId: string;
|
|
3026
|
-
itemOnPlatformId: string;
|
|
3027
|
-
itemOnPlatform?: {
|
|
3028
|
-
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
3029
|
-
id: string;
|
|
3030
|
-
createdAt: Date;
|
|
3031
|
-
accountId: string;
|
|
3032
|
-
itemId: string | number;
|
|
3033
|
-
platformId: string;
|
|
3034
|
-
platformUrl: string;
|
|
3035
|
-
updatedAt: Date;
|
|
3036
|
-
platformPrice: number;
|
|
3037
|
-
publishedAt: Date;
|
|
3038
|
-
favoritesCount?: number | null | undefined;
|
|
3039
|
-
viewsCount?: number | null | undefined;
|
|
3040
|
-
conversationId?: string | null | undefined;
|
|
3041
|
-
account?: {
|
|
3042
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
3043
|
-
name: string;
|
|
3044
|
-
userId: string | number;
|
|
3045
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3046
|
-
accountId: string;
|
|
3047
|
-
locale?: string | null | undefined;
|
|
3048
|
-
night?: {
|
|
3049
|
-
startsAt: Date;
|
|
3050
|
-
endsAt: Date;
|
|
3051
|
-
} | null | undefined;
|
|
3052
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
3053
|
-
ordersMaxDelay?: number | null | undefined;
|
|
3054
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
3055
|
-
} | null | undefined;
|
|
3056
|
-
} | null | undefined;
|
|
3057
|
-
}[] | null | undefined;
|
|
3058
3038
|
};
|
|
3059
3039
|
}, {
|
|
3060
3040
|
items: {
|
|
3061
3041
|
id: string | number;
|
|
3062
|
-
name: string;
|
|
3063
3042
|
createdAt: Date;
|
|
3064
|
-
userId: string | number;
|
|
3065
3043
|
updatedAt: Date;
|
|
3044
|
+
name: string;
|
|
3045
|
+
userId: string | number;
|
|
3066
3046
|
sold: boolean;
|
|
3047
|
+
state?: number | null | undefined;
|
|
3067
3048
|
fees?: {
|
|
3068
3049
|
value: number;
|
|
3069
3050
|
type: string;
|
|
3070
3051
|
id: string | number;
|
|
3071
|
-
name: string;
|
|
3072
3052
|
createdAt: Date;
|
|
3073
|
-
userId: string | number;
|
|
3074
3053
|
updatedAt: Date;
|
|
3054
|
+
name: string;
|
|
3055
|
+
userId: string | number;
|
|
3075
3056
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
3076
3057
|
startDate: Date;
|
|
3077
3058
|
active: boolean;
|
|
@@ -3089,14 +3070,13 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3089
3070
|
estimatedPrice?: number | null | undefined;
|
|
3090
3071
|
purchaseDate?: Date | null | undefined;
|
|
3091
3072
|
sellingDate?: Date | null | undefined;
|
|
3092
|
-
state?: number | null | undefined;
|
|
3093
3073
|
labels?: {
|
|
3094
3074
|
itemId: string | number;
|
|
3095
3075
|
labelId: string | number;
|
|
3096
3076
|
label?: {
|
|
3097
3077
|
id: string | number;
|
|
3098
|
-
name: string;
|
|
3099
3078
|
createdAt: Date;
|
|
3079
|
+
name: string;
|
|
3100
3080
|
isUserLabel: boolean;
|
|
3101
3081
|
itemCount?: number | null | undefined;
|
|
3102
3082
|
userId?: string | number | null | undefined;
|
|
@@ -3118,11 +3098,11 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3118
3098
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
3119
3099
|
id: string;
|
|
3120
3100
|
createdAt: Date;
|
|
3101
|
+
updatedAt: Date;
|
|
3121
3102
|
accountId: string;
|
|
3122
3103
|
itemId: string | number;
|
|
3123
3104
|
platformId: string;
|
|
3124
3105
|
platformUrl: string;
|
|
3125
|
-
updatedAt: Date;
|
|
3126
3106
|
platformPrice: number;
|
|
3127
3107
|
publishedAt: Date;
|
|
3128
3108
|
favoritesCount?: number | null | undefined;
|
|
@@ -3181,6 +3161,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3181
3161
|
id: string;
|
|
3182
3162
|
createdAt: Date;
|
|
3183
3163
|
itemId: string | number;
|
|
3164
|
+
requestId?: string | null | undefined;
|
|
3184
3165
|
data?: {
|
|
3185
3166
|
type: "ACTION_CANCELED";
|
|
3186
3167
|
data: {
|
|
@@ -3278,7 +3259,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3278
3259
|
type: "REPUBLISHING";
|
|
3279
3260
|
data: {
|
|
3280
3261
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3281
|
-
publishingDate?: Date | null | undefined;
|
|
3282
3262
|
priceDropPayload?: {
|
|
3283
3263
|
value: number;
|
|
3284
3264
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -3286,10 +3266,9 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3286
3266
|
roundStep?: number | null | undefined;
|
|
3287
3267
|
maxRounds?: number | null | undefined;
|
|
3288
3268
|
} | null | undefined;
|
|
3289
|
-
|
|
3290
|
-
sourceAccountId?: string | null | undefined;
|
|
3269
|
+
publishingDate?: Date | null | undefined;
|
|
3291
3270
|
targetAccountId?: string | null | undefined;
|
|
3292
|
-
|
|
3271
|
+
isTransfer?: boolean | null | undefined;
|
|
3293
3272
|
};
|
|
3294
3273
|
} | {
|
|
3295
3274
|
type: "REPUBLISHING_RETRY";
|
|
@@ -3299,11 +3278,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3299
3278
|
attemptNumber: number;
|
|
3300
3279
|
previousHistoryId: string;
|
|
3301
3280
|
originalFailureDate: Date;
|
|
3302
|
-
fields?: {
|
|
3303
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
3304
|
-
autoFixable: boolean;
|
|
3305
|
-
error?: string | null | undefined;
|
|
3306
|
-
}[] | null | undefined;
|
|
3307
3281
|
priceDropPayload?: {
|
|
3308
3282
|
value: number;
|
|
3309
3283
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -3311,6 +3285,11 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3311
3285
|
roundStep?: number | null | undefined;
|
|
3312
3286
|
maxRounds?: number | null | undefined;
|
|
3313
3287
|
} | null | undefined;
|
|
3288
|
+
fields?: {
|
|
3289
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
3290
|
+
autoFixable: boolean;
|
|
3291
|
+
error?: string | null | undefined;
|
|
3292
|
+
}[] | null | undefined;
|
|
3314
3293
|
};
|
|
3315
3294
|
} | {
|
|
3316
3295
|
type: "SCHEDULED";
|
|
@@ -3334,7 +3313,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3334
3313
|
};
|
|
3335
3314
|
} | null | undefined;
|
|
3336
3315
|
accountId?: string | null | undefined;
|
|
3337
|
-
requestId?: string | null | undefined;
|
|
3338
3316
|
targetDate?: Date | null | undefined;
|
|
3339
3317
|
} | null | undefined;
|
|
3340
3318
|
}[];
|
|
@@ -3347,6 +3325,40 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3347
3325
|
price: number;
|
|
3348
3326
|
isPrepared: boolean;
|
|
3349
3327
|
platformOrderId: string;
|
|
3328
|
+
items?: {
|
|
3329
|
+
orderId: string;
|
|
3330
|
+
itemOnPlatformId: string;
|
|
3331
|
+
itemOnPlatform?: {
|
|
3332
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
3333
|
+
id: string;
|
|
3334
|
+
createdAt: Date;
|
|
3335
|
+
updatedAt: Date;
|
|
3336
|
+
accountId: string;
|
|
3337
|
+
itemId: string | number;
|
|
3338
|
+
platformId: string;
|
|
3339
|
+
platformUrl: string;
|
|
3340
|
+
platformPrice: number;
|
|
3341
|
+
publishedAt: Date;
|
|
3342
|
+
favoritesCount?: number | null | undefined;
|
|
3343
|
+
viewsCount?: number | null | undefined;
|
|
3344
|
+
conversationId?: string | null | undefined;
|
|
3345
|
+
account?: {
|
|
3346
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
3347
|
+
name: string;
|
|
3348
|
+
userId: string | number;
|
|
3349
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3350
|
+
accountId: string;
|
|
3351
|
+
locale?: string | null | undefined;
|
|
3352
|
+
night?: {
|
|
3353
|
+
startsAt: Date;
|
|
3354
|
+
endsAt: Date;
|
|
3355
|
+
} | null | undefined;
|
|
3356
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
3357
|
+
ordersMaxDelay?: number | null | undefined;
|
|
3358
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
3359
|
+
} | null | undefined;
|
|
3360
|
+
} | null | undefined;
|
|
3361
|
+
}[] | null | undefined;
|
|
3350
3362
|
conversationId?: string | null | undefined;
|
|
3351
3363
|
transactionId?: string | null | undefined;
|
|
3352
3364
|
labels?: {
|
|
@@ -3398,40 +3410,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3398
3410
|
longitude?: number | null | undefined;
|
|
3399
3411
|
} | null | undefined;
|
|
3400
3412
|
}[] | null | undefined;
|
|
3401
|
-
items?: {
|
|
3402
|
-
orderId: string;
|
|
3403
|
-
itemOnPlatformId: string;
|
|
3404
|
-
itemOnPlatform?: {
|
|
3405
|
-
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
3406
|
-
id: string;
|
|
3407
|
-
createdAt: Date;
|
|
3408
|
-
accountId: string;
|
|
3409
|
-
itemId: string | number;
|
|
3410
|
-
platformId: string;
|
|
3411
|
-
platformUrl: string;
|
|
3412
|
-
updatedAt: Date;
|
|
3413
|
-
platformPrice: number;
|
|
3414
|
-
publishedAt: Date;
|
|
3415
|
-
favoritesCount?: number | null | undefined;
|
|
3416
|
-
viewsCount?: number | null | undefined;
|
|
3417
|
-
conversationId?: string | null | undefined;
|
|
3418
|
-
account?: {
|
|
3419
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
3420
|
-
name: string;
|
|
3421
|
-
userId: string | number;
|
|
3422
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3423
|
-
accountId: string;
|
|
3424
|
-
locale?: string | null | undefined;
|
|
3425
|
-
night?: {
|
|
3426
|
-
startsAt: Date;
|
|
3427
|
-
endsAt: Date;
|
|
3428
|
-
} | null | undefined;
|
|
3429
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
3430
|
-
ordersMaxDelay?: number | null | undefined;
|
|
3431
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
3432
|
-
} | null | undefined;
|
|
3433
|
-
} | null | undefined;
|
|
3434
|
-
}[] | null | undefined;
|
|
3435
3413
|
};
|
|
3436
3414
|
}>, "many">;
|
|
3437
3415
|
currentPage: z.ZodNumber;
|
|
@@ -3441,19 +3419,20 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3441
3419
|
rows: {
|
|
3442
3420
|
items: {
|
|
3443
3421
|
id: string | number;
|
|
3444
|
-
name: string;
|
|
3445
3422
|
createdAt: Date;
|
|
3446
|
-
userId: string | number;
|
|
3447
3423
|
updatedAt: Date;
|
|
3424
|
+
name: string;
|
|
3425
|
+
userId: string | number;
|
|
3448
3426
|
sold: boolean;
|
|
3427
|
+
state?: number | null | undefined;
|
|
3449
3428
|
fees?: {
|
|
3450
3429
|
value: number;
|
|
3451
3430
|
type: string;
|
|
3452
3431
|
id: string | number;
|
|
3453
|
-
name: string;
|
|
3454
3432
|
createdAt: Date;
|
|
3455
|
-
userId: string | number;
|
|
3456
3433
|
updatedAt: Date;
|
|
3434
|
+
name: string;
|
|
3435
|
+
userId: string | number;
|
|
3457
3436
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
3458
3437
|
startDate: Date;
|
|
3459
3438
|
active: boolean;
|
|
@@ -3471,14 +3450,13 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3471
3450
|
estimatedPrice?: number | null | undefined;
|
|
3472
3451
|
purchaseDate?: Date | null | undefined;
|
|
3473
3452
|
sellingDate?: Date | null | undefined;
|
|
3474
|
-
state?: number | null | undefined;
|
|
3475
3453
|
labels?: {
|
|
3476
3454
|
itemId: string | number;
|
|
3477
3455
|
labelId: string | number;
|
|
3478
3456
|
label?: {
|
|
3479
3457
|
id: string | number;
|
|
3480
|
-
name: string;
|
|
3481
3458
|
createdAt: Date;
|
|
3459
|
+
name: string;
|
|
3482
3460
|
isUserLabel: boolean;
|
|
3483
3461
|
itemCount?: number | null | undefined;
|
|
3484
3462
|
userId?: string | number | null | undefined;
|
|
@@ -3500,11 +3478,11 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3500
3478
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
3501
3479
|
id: string;
|
|
3502
3480
|
createdAt: Date;
|
|
3481
|
+
updatedAt: Date;
|
|
3503
3482
|
accountId: string;
|
|
3504
3483
|
itemId: string | number;
|
|
3505
3484
|
platformId: string;
|
|
3506
3485
|
platformUrl: string;
|
|
3507
|
-
updatedAt: Date;
|
|
3508
3486
|
platformPrice: number;
|
|
3509
3487
|
publishedAt: Date;
|
|
3510
3488
|
favoritesCount?: number | null | undefined;
|
|
@@ -3563,6 +3541,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3563
3541
|
id: string;
|
|
3564
3542
|
createdAt: Date;
|
|
3565
3543
|
itemId: string | number;
|
|
3544
|
+
requestId?: string | null | undefined;
|
|
3566
3545
|
data?: {
|
|
3567
3546
|
type: "ACTION_CANCELED";
|
|
3568
3547
|
data: {
|
|
@@ -3660,7 +3639,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3660
3639
|
type: "REPUBLISHING";
|
|
3661
3640
|
data: {
|
|
3662
3641
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3663
|
-
publishingDate?: Date | null | undefined;
|
|
3664
3642
|
priceDropPayload?: {
|
|
3665
3643
|
value: number;
|
|
3666
3644
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -3668,10 +3646,9 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3668
3646
|
roundStep?: number | null | undefined;
|
|
3669
3647
|
maxRounds?: number | null | undefined;
|
|
3670
3648
|
} | null | undefined;
|
|
3671
|
-
|
|
3672
|
-
sourceAccountId?: string | null | undefined;
|
|
3649
|
+
publishingDate?: Date | null | undefined;
|
|
3673
3650
|
targetAccountId?: string | null | undefined;
|
|
3674
|
-
|
|
3651
|
+
isTransfer?: boolean | null | undefined;
|
|
3675
3652
|
};
|
|
3676
3653
|
} | {
|
|
3677
3654
|
type: "REPUBLISHING_RETRY";
|
|
@@ -3681,11 +3658,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3681
3658
|
attemptNumber: number;
|
|
3682
3659
|
previousHistoryId: string;
|
|
3683
3660
|
originalFailureDate: Date;
|
|
3684
|
-
fields?: {
|
|
3685
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
3686
|
-
autoFixable: boolean;
|
|
3687
|
-
error?: string | null | undefined;
|
|
3688
|
-
}[] | null | undefined;
|
|
3689
3661
|
priceDropPayload?: {
|
|
3690
3662
|
value: number;
|
|
3691
3663
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -3693,6 +3665,11 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3693
3665
|
roundStep?: number | null | undefined;
|
|
3694
3666
|
maxRounds?: number | null | undefined;
|
|
3695
3667
|
} | null | undefined;
|
|
3668
|
+
fields?: {
|
|
3669
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
3670
|
+
autoFixable: boolean;
|
|
3671
|
+
error?: string | null | undefined;
|
|
3672
|
+
}[] | null | undefined;
|
|
3696
3673
|
};
|
|
3697
3674
|
} | {
|
|
3698
3675
|
type: "SCHEDULED";
|
|
@@ -3716,7 +3693,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3716
3693
|
};
|
|
3717
3694
|
} | null | undefined;
|
|
3718
3695
|
accountId?: string | null | undefined;
|
|
3719
|
-
requestId?: string | null | undefined;
|
|
3720
3696
|
targetDate?: Date | null | undefined;
|
|
3721
3697
|
} | null | undefined;
|
|
3722
3698
|
}[];
|
|
@@ -3729,6 +3705,40 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3729
3705
|
price: number;
|
|
3730
3706
|
isPrepared: boolean;
|
|
3731
3707
|
platformOrderId: string;
|
|
3708
|
+
items?: {
|
|
3709
|
+
orderId: string;
|
|
3710
|
+
itemOnPlatformId: string;
|
|
3711
|
+
itemOnPlatform?: {
|
|
3712
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
3713
|
+
id: string;
|
|
3714
|
+
createdAt: Date;
|
|
3715
|
+
updatedAt: Date;
|
|
3716
|
+
accountId: string;
|
|
3717
|
+
itemId: string | number;
|
|
3718
|
+
platformId: string;
|
|
3719
|
+
platformUrl: string;
|
|
3720
|
+
platformPrice: number;
|
|
3721
|
+
publishedAt: Date;
|
|
3722
|
+
favoritesCount?: number | null | undefined;
|
|
3723
|
+
viewsCount?: number | null | undefined;
|
|
3724
|
+
conversationId?: string | null | undefined;
|
|
3725
|
+
account?: {
|
|
3726
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
3727
|
+
name: string;
|
|
3728
|
+
userId: string | number;
|
|
3729
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3730
|
+
accountId: string;
|
|
3731
|
+
locale?: string | null | undefined;
|
|
3732
|
+
night?: {
|
|
3733
|
+
startsAt: Date;
|
|
3734
|
+
endsAt: Date;
|
|
3735
|
+
} | null | undefined;
|
|
3736
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
3737
|
+
ordersMaxDelay?: number | null | undefined;
|
|
3738
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
3739
|
+
} | null | undefined;
|
|
3740
|
+
} | null | undefined;
|
|
3741
|
+
}[] | null | undefined;
|
|
3732
3742
|
conversationId?: string | null | undefined;
|
|
3733
3743
|
transactionId?: string | null | undefined;
|
|
3734
3744
|
labels?: {
|
|
@@ -3780,40 +3790,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3780
3790
|
longitude?: number | null | undefined;
|
|
3781
3791
|
} | null | undefined;
|
|
3782
3792
|
}[] | null | undefined;
|
|
3783
|
-
items?: {
|
|
3784
|
-
orderId: string;
|
|
3785
|
-
itemOnPlatformId: string;
|
|
3786
|
-
itemOnPlatform?: {
|
|
3787
|
-
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
3788
|
-
id: string;
|
|
3789
|
-
createdAt: Date;
|
|
3790
|
-
accountId: string;
|
|
3791
|
-
itemId: string | number;
|
|
3792
|
-
platformId: string;
|
|
3793
|
-
platformUrl: string;
|
|
3794
|
-
updatedAt: Date;
|
|
3795
|
-
platformPrice: number;
|
|
3796
|
-
publishedAt: Date;
|
|
3797
|
-
favoritesCount?: number | null | undefined;
|
|
3798
|
-
viewsCount?: number | null | undefined;
|
|
3799
|
-
conversationId?: string | null | undefined;
|
|
3800
|
-
account?: {
|
|
3801
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
3802
|
-
name: string;
|
|
3803
|
-
userId: string | number;
|
|
3804
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3805
|
-
accountId: string;
|
|
3806
|
-
locale?: string | null | undefined;
|
|
3807
|
-
night?: {
|
|
3808
|
-
startsAt: Date;
|
|
3809
|
-
endsAt: Date;
|
|
3810
|
-
} | null | undefined;
|
|
3811
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
3812
|
-
ordersMaxDelay?: number | null | undefined;
|
|
3813
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
3814
|
-
} | null | undefined;
|
|
3815
|
-
} | null | undefined;
|
|
3816
|
-
}[] | null | undefined;
|
|
3817
3793
|
};
|
|
3818
3794
|
}[];
|
|
3819
3795
|
currentPage: number;
|
|
@@ -3824,19 +3800,20 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3824
3800
|
rows: {
|
|
3825
3801
|
items: {
|
|
3826
3802
|
id: string | number;
|
|
3827
|
-
name: string;
|
|
3828
3803
|
createdAt: Date;
|
|
3829
|
-
userId: string | number;
|
|
3830
3804
|
updatedAt: Date;
|
|
3805
|
+
name: string;
|
|
3806
|
+
userId: string | number;
|
|
3831
3807
|
sold: boolean;
|
|
3808
|
+
state?: number | null | undefined;
|
|
3832
3809
|
fees?: {
|
|
3833
3810
|
value: number;
|
|
3834
3811
|
type: string;
|
|
3835
3812
|
id: string | number;
|
|
3836
|
-
name: string;
|
|
3837
3813
|
createdAt: Date;
|
|
3838
|
-
userId: string | number;
|
|
3839
3814
|
updatedAt: Date;
|
|
3815
|
+
name: string;
|
|
3816
|
+
userId: string | number;
|
|
3840
3817
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
3841
3818
|
startDate: Date;
|
|
3842
3819
|
active: boolean;
|
|
@@ -3854,14 +3831,13 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3854
3831
|
estimatedPrice?: number | null | undefined;
|
|
3855
3832
|
purchaseDate?: Date | null | undefined;
|
|
3856
3833
|
sellingDate?: Date | null | undefined;
|
|
3857
|
-
state?: number | null | undefined;
|
|
3858
3834
|
labels?: {
|
|
3859
3835
|
itemId: string | number;
|
|
3860
3836
|
labelId: string | number;
|
|
3861
3837
|
label?: {
|
|
3862
3838
|
id: string | number;
|
|
3863
|
-
name: string;
|
|
3864
3839
|
createdAt: Date;
|
|
3840
|
+
name: string;
|
|
3865
3841
|
isUserLabel: boolean;
|
|
3866
3842
|
itemCount?: number | null | undefined;
|
|
3867
3843
|
userId?: string | number | null | undefined;
|
|
@@ -3883,11 +3859,11 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3883
3859
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
3884
3860
|
id: string;
|
|
3885
3861
|
createdAt: Date;
|
|
3862
|
+
updatedAt: Date;
|
|
3886
3863
|
accountId: string;
|
|
3887
3864
|
itemId: string | number;
|
|
3888
3865
|
platformId: string;
|
|
3889
3866
|
platformUrl: string;
|
|
3890
|
-
updatedAt: Date;
|
|
3891
3867
|
platformPrice: number;
|
|
3892
3868
|
publishedAt: Date;
|
|
3893
3869
|
favoritesCount?: number | null | undefined;
|
|
@@ -3946,6 +3922,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3946
3922
|
id: string;
|
|
3947
3923
|
createdAt: Date;
|
|
3948
3924
|
itemId: string | number;
|
|
3925
|
+
requestId?: string | null | undefined;
|
|
3949
3926
|
data?: {
|
|
3950
3927
|
type: "ACTION_CANCELED";
|
|
3951
3928
|
data: {
|
|
@@ -4043,7 +4020,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
4043
4020
|
type: "REPUBLISHING";
|
|
4044
4021
|
data: {
|
|
4045
4022
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
4046
|
-
publishingDate?: Date | null | undefined;
|
|
4047
4023
|
priceDropPayload?: {
|
|
4048
4024
|
value: number;
|
|
4049
4025
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -4051,10 +4027,9 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
4051
4027
|
roundStep?: number | null | undefined;
|
|
4052
4028
|
maxRounds?: number | null | undefined;
|
|
4053
4029
|
} | null | undefined;
|
|
4054
|
-
|
|
4055
|
-
sourceAccountId?: string | null | undefined;
|
|
4030
|
+
publishingDate?: Date | null | undefined;
|
|
4056
4031
|
targetAccountId?: string | null | undefined;
|
|
4057
|
-
|
|
4032
|
+
isTransfer?: boolean | null | undefined;
|
|
4058
4033
|
};
|
|
4059
4034
|
} | {
|
|
4060
4035
|
type: "REPUBLISHING_RETRY";
|
|
@@ -4064,11 +4039,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
4064
4039
|
attemptNumber: number;
|
|
4065
4040
|
previousHistoryId: string;
|
|
4066
4041
|
originalFailureDate: Date;
|
|
4067
|
-
fields?: {
|
|
4068
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
4069
|
-
autoFixable: boolean;
|
|
4070
|
-
error?: string | null | undefined;
|
|
4071
|
-
}[] | null | undefined;
|
|
4072
4042
|
priceDropPayload?: {
|
|
4073
4043
|
value: number;
|
|
4074
4044
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -4076,6 +4046,11 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
4076
4046
|
roundStep?: number | null | undefined;
|
|
4077
4047
|
maxRounds?: number | null | undefined;
|
|
4078
4048
|
} | null | undefined;
|
|
4049
|
+
fields?: {
|
|
4050
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
4051
|
+
autoFixable: boolean;
|
|
4052
|
+
error?: string | null | undefined;
|
|
4053
|
+
}[] | null | undefined;
|
|
4079
4054
|
};
|
|
4080
4055
|
} | {
|
|
4081
4056
|
type: "SCHEDULED";
|
|
@@ -4099,7 +4074,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
4099
4074
|
};
|
|
4100
4075
|
} | null | undefined;
|
|
4101
4076
|
accountId?: string | null | undefined;
|
|
4102
|
-
requestId?: string | null | undefined;
|
|
4103
4077
|
targetDate?: Date | null | undefined;
|
|
4104
4078
|
} | null | undefined;
|
|
4105
4079
|
}[];
|
|
@@ -4112,6 +4086,40 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
4112
4086
|
price: number;
|
|
4113
4087
|
isPrepared: boolean;
|
|
4114
4088
|
platformOrderId: string;
|
|
4089
|
+
items?: {
|
|
4090
|
+
orderId: string;
|
|
4091
|
+
itemOnPlatformId: string;
|
|
4092
|
+
itemOnPlatform?: {
|
|
4093
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
4094
|
+
id: string;
|
|
4095
|
+
createdAt: Date;
|
|
4096
|
+
updatedAt: Date;
|
|
4097
|
+
accountId: string;
|
|
4098
|
+
itemId: string | number;
|
|
4099
|
+
platformId: string;
|
|
4100
|
+
platformUrl: string;
|
|
4101
|
+
platformPrice: number;
|
|
4102
|
+
publishedAt: Date;
|
|
4103
|
+
favoritesCount?: number | null | undefined;
|
|
4104
|
+
viewsCount?: number | null | undefined;
|
|
4105
|
+
conversationId?: string | null | undefined;
|
|
4106
|
+
account?: {
|
|
4107
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
4108
|
+
name: string;
|
|
4109
|
+
userId: string | number;
|
|
4110
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
4111
|
+
accountId: string;
|
|
4112
|
+
locale?: string | null | undefined;
|
|
4113
|
+
night?: {
|
|
4114
|
+
startsAt: Date;
|
|
4115
|
+
endsAt: Date;
|
|
4116
|
+
} | null | undefined;
|
|
4117
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
4118
|
+
ordersMaxDelay?: number | null | undefined;
|
|
4119
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
4120
|
+
} | null | undefined;
|
|
4121
|
+
} | null | undefined;
|
|
4122
|
+
}[] | null | undefined;
|
|
4115
4123
|
conversationId?: string | null | undefined;
|
|
4116
4124
|
transactionId?: string | null | undefined;
|
|
4117
4125
|
labels?: {
|
|
@@ -4163,40 +4171,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
4163
4171
|
longitude?: number | null | undefined;
|
|
4164
4172
|
} | null | undefined;
|
|
4165
4173
|
}[] | null | undefined;
|
|
4166
|
-
items?: {
|
|
4167
|
-
orderId: string;
|
|
4168
|
-
itemOnPlatformId: string;
|
|
4169
|
-
itemOnPlatform?: {
|
|
4170
|
-
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
4171
|
-
id: string;
|
|
4172
|
-
createdAt: Date;
|
|
4173
|
-
accountId: string;
|
|
4174
|
-
itemId: string | number;
|
|
4175
|
-
platformId: string;
|
|
4176
|
-
platformUrl: string;
|
|
4177
|
-
updatedAt: Date;
|
|
4178
|
-
platformPrice: number;
|
|
4179
|
-
publishedAt: Date;
|
|
4180
|
-
favoritesCount?: number | null | undefined;
|
|
4181
|
-
viewsCount?: number | null | undefined;
|
|
4182
|
-
conversationId?: string | null | undefined;
|
|
4183
|
-
account?: {
|
|
4184
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
4185
|
-
name: string;
|
|
4186
|
-
userId: string | number;
|
|
4187
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
4188
|
-
accountId: string;
|
|
4189
|
-
locale?: string | null | undefined;
|
|
4190
|
-
night?: {
|
|
4191
|
-
startsAt: Date;
|
|
4192
|
-
endsAt: Date;
|
|
4193
|
-
} | null | undefined;
|
|
4194
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
4195
|
-
ordersMaxDelay?: number | null | undefined;
|
|
4196
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
4197
|
-
} | null | undefined;
|
|
4198
|
-
} | null | undefined;
|
|
4199
|
-
}[] | null | undefined;
|
|
4200
4174
|
};
|
|
4201
4175
|
}[];
|
|
4202
4176
|
currentPage: number;
|