controlresell 2.8.51 → 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/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/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
|
@@ -78,11 +78,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
78
78
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
79
79
|
id: string;
|
|
80
80
|
createdAt: Date;
|
|
81
|
+
updatedAt: Date;
|
|
81
82
|
accountId: string;
|
|
82
83
|
itemId: string | number;
|
|
83
84
|
platformId: string;
|
|
84
85
|
platformUrl: string;
|
|
85
|
-
updatedAt: Date;
|
|
86
86
|
platformPrice: number;
|
|
87
87
|
publishedAt: Date;
|
|
88
88
|
favoritesCount?: number | null | undefined;
|
|
@@ -107,11 +107,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
107
107
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
108
108
|
id: string;
|
|
109
109
|
createdAt: Date;
|
|
110
|
+
updatedAt: Date;
|
|
110
111
|
accountId: string;
|
|
111
112
|
itemId: string | number;
|
|
112
113
|
platformId: string;
|
|
113
114
|
platformUrl: string;
|
|
114
|
-
updatedAt: Date;
|
|
115
115
|
platformPrice: number;
|
|
116
116
|
publishedAt: Date;
|
|
117
117
|
favoritesCount?: number | null | undefined;
|
|
@@ -140,11 +140,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
140
140
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
141
141
|
id: string;
|
|
142
142
|
createdAt: Date;
|
|
143
|
+
updatedAt: Date;
|
|
143
144
|
accountId: string;
|
|
144
145
|
itemId: string | number;
|
|
145
146
|
platformId: string;
|
|
146
147
|
platformUrl: string;
|
|
147
|
-
updatedAt: Date;
|
|
148
148
|
platformPrice: number;
|
|
149
149
|
publishedAt: Date;
|
|
150
150
|
favoritesCount?: number | null | undefined;
|
|
@@ -173,11 +173,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
173
173
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
174
174
|
id: string;
|
|
175
175
|
createdAt: Date;
|
|
176
|
+
updatedAt: Date;
|
|
176
177
|
accountId: string;
|
|
177
178
|
itemId: string | number;
|
|
178
179
|
platformId: string;
|
|
179
180
|
platformUrl: string;
|
|
180
|
-
updatedAt: Date;
|
|
181
181
|
platformPrice: number;
|
|
182
182
|
publishedAt: Date;
|
|
183
183
|
favoritesCount?: number | null | undefined;
|
|
@@ -204,8 +204,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
204
204
|
id: string;
|
|
205
205
|
accountId: string;
|
|
206
206
|
platformTransactionId: string;
|
|
207
|
-
conversationId?: string | null | undefined;
|
|
208
|
-
shipmentId?: string | null | undefined;
|
|
209
207
|
items?: {
|
|
210
208
|
transactionId: string;
|
|
211
209
|
itemOnPlatformId: string;
|
|
@@ -213,11 +211,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
213
211
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
214
212
|
id: string;
|
|
215
213
|
createdAt: Date;
|
|
214
|
+
updatedAt: Date;
|
|
216
215
|
accountId: string;
|
|
217
216
|
itemId: string | number;
|
|
218
217
|
platformId: string;
|
|
219
218
|
platformUrl: string;
|
|
220
|
-
updatedAt: Date;
|
|
221
219
|
platformPrice: number;
|
|
222
220
|
publishedAt: Date;
|
|
223
221
|
favoritesCount?: number | null | undefined;
|
|
@@ -240,14 +238,14 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
240
238
|
} | null | undefined;
|
|
241
239
|
} | null | undefined;
|
|
242
240
|
}[] | null | undefined;
|
|
241
|
+
conversationId?: string | null | undefined;
|
|
242
|
+
shipmentId?: string | null | undefined;
|
|
243
243
|
buyerPlatformId?: string | null | undefined;
|
|
244
244
|
sellerPlatformId?: string | null | undefined;
|
|
245
245
|
}, {
|
|
246
246
|
id: string;
|
|
247
247
|
accountId: string;
|
|
248
248
|
platformTransactionId: string;
|
|
249
|
-
conversationId?: string | null | undefined;
|
|
250
|
-
shipmentId?: string | null | undefined;
|
|
251
249
|
items?: {
|
|
252
250
|
transactionId: string;
|
|
253
251
|
itemOnPlatformId: string;
|
|
@@ -255,11 +253,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
255
253
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
256
254
|
id: string;
|
|
257
255
|
createdAt: Date;
|
|
256
|
+
updatedAt: Date;
|
|
258
257
|
accountId: string;
|
|
259
258
|
itemId: string | number;
|
|
260
259
|
platformId: string;
|
|
261
260
|
platformUrl: string;
|
|
262
|
-
updatedAt: Date;
|
|
263
261
|
platformPrice: number;
|
|
264
262
|
publishedAt: Date;
|
|
265
263
|
favoritesCount?: number | null | undefined;
|
|
@@ -282,6 +280,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
282
280
|
} | null | undefined;
|
|
283
281
|
} | null | undefined;
|
|
284
282
|
}[] | null | undefined;
|
|
283
|
+
conversationId?: string | null | undefined;
|
|
284
|
+
shipmentId?: string | null | undefined;
|
|
285
285
|
buyerPlatformId?: string | null | undefined;
|
|
286
286
|
sellerPlatformId?: string | null | undefined;
|
|
287
287
|
}>;
|
|
@@ -370,10 +370,10 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
370
370
|
value: number;
|
|
371
371
|
type: string;
|
|
372
372
|
id: string | number;
|
|
373
|
-
name: string;
|
|
374
373
|
createdAt: Date;
|
|
375
|
-
userId: string | number;
|
|
376
374
|
updatedAt: Date;
|
|
375
|
+
name: string;
|
|
376
|
+
userId: string | number;
|
|
377
377
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
378
378
|
startDate: Date;
|
|
379
379
|
active: boolean;
|
|
@@ -385,10 +385,10 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
385
385
|
value: number;
|
|
386
386
|
type: string;
|
|
387
387
|
id: string | number;
|
|
388
|
-
name: string;
|
|
389
388
|
createdAt: Date;
|
|
390
|
-
userId: string | number;
|
|
391
389
|
updatedAt: Date;
|
|
390
|
+
name: string;
|
|
391
|
+
userId: string | number;
|
|
392
392
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
393
393
|
startDate: Date;
|
|
394
394
|
active: boolean;
|
|
@@ -410,15 +410,15 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
410
410
|
itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
411
411
|
}, "strip", z.ZodTypeAny, {
|
|
412
412
|
id: string | number;
|
|
413
|
-
name: string;
|
|
414
413
|
createdAt: Date;
|
|
414
|
+
name: string;
|
|
415
415
|
isUserLabel: boolean;
|
|
416
416
|
itemCount?: number | null | undefined;
|
|
417
417
|
userId?: string | number | null | undefined;
|
|
418
418
|
}, {
|
|
419
419
|
id: string | number;
|
|
420
|
-
name: string;
|
|
421
420
|
createdAt: Date;
|
|
421
|
+
name: string;
|
|
422
422
|
isUserLabel: boolean;
|
|
423
423
|
itemCount?: number | null | undefined;
|
|
424
424
|
userId?: string | number | null | undefined;
|
|
@@ -428,8 +428,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
428
428
|
labelId: string | number;
|
|
429
429
|
label?: {
|
|
430
430
|
id: string | number;
|
|
431
|
-
name: string;
|
|
432
431
|
createdAt: Date;
|
|
432
|
+
name: string;
|
|
433
433
|
isUserLabel: boolean;
|
|
434
434
|
itemCount?: number | null | undefined;
|
|
435
435
|
userId?: string | number | null | undefined;
|
|
@@ -439,8 +439,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
439
439
|
labelId: string | number;
|
|
440
440
|
label?: {
|
|
441
441
|
id: string | number;
|
|
442
|
-
name: string;
|
|
443
442
|
createdAt: Date;
|
|
443
|
+
name: string;
|
|
444
444
|
isUserLabel: boolean;
|
|
445
445
|
itemCount?: number | null | undefined;
|
|
446
446
|
userId?: string | number | null | undefined;
|
|
@@ -1073,12 +1073,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1073
1073
|
maxRounds?: number | null | undefined;
|
|
1074
1074
|
}>>>;
|
|
1075
1075
|
isTransfer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1076
|
-
sourceAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1077
1076
|
targetAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1078
|
-
targetUserId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1079
1077
|
}, "strip", z.ZodTypeAny, {
|
|
1080
1078
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1081
|
-
publishingDate?: Date | null | undefined;
|
|
1082
1079
|
priceDropPayload?: {
|
|
1083
1080
|
value: number;
|
|
1084
1081
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1086,13 +1083,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1086
1083
|
roundStep?: number | null | undefined;
|
|
1087
1084
|
maxRounds?: number | null | undefined;
|
|
1088
1085
|
} | null | undefined;
|
|
1089
|
-
|
|
1090
|
-
sourceAccountId?: string | null | undefined;
|
|
1086
|
+
publishingDate?: Date | null | undefined;
|
|
1091
1087
|
targetAccountId?: string | null | undefined;
|
|
1092
|
-
|
|
1088
|
+
isTransfer?: boolean | null | undefined;
|
|
1093
1089
|
}, {
|
|
1094
1090
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1095
|
-
publishingDate?: Date | null | undefined;
|
|
1096
1091
|
priceDropPayload?: {
|
|
1097
1092
|
value: number;
|
|
1098
1093
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1100,17 +1095,15 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1100
1095
|
roundStep?: number | null | undefined;
|
|
1101
1096
|
maxRounds?: number | null | undefined;
|
|
1102
1097
|
} | null | undefined;
|
|
1103
|
-
|
|
1104
|
-
sourceAccountId?: string | null | undefined;
|
|
1098
|
+
publishingDate?: Date | null | undefined;
|
|
1105
1099
|
targetAccountId?: string | null | undefined;
|
|
1106
|
-
|
|
1100
|
+
isTransfer?: boolean | null | undefined;
|
|
1107
1101
|
}>;
|
|
1108
1102
|
type: z.ZodLiteral<"REPUBLISHING">;
|
|
1109
1103
|
}, "strip", z.ZodTypeAny, {
|
|
1110
1104
|
type: "REPUBLISHING";
|
|
1111
1105
|
data: {
|
|
1112
1106
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1113
|
-
publishingDate?: Date | null | undefined;
|
|
1114
1107
|
priceDropPayload?: {
|
|
1115
1108
|
value: number;
|
|
1116
1109
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1118,16 +1111,14 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1118
1111
|
roundStep?: number | null | undefined;
|
|
1119
1112
|
maxRounds?: number | null | undefined;
|
|
1120
1113
|
} | null | undefined;
|
|
1121
|
-
|
|
1122
|
-
sourceAccountId?: string | null | undefined;
|
|
1114
|
+
publishingDate?: Date | null | undefined;
|
|
1123
1115
|
targetAccountId?: string | null | undefined;
|
|
1124
|
-
|
|
1116
|
+
isTransfer?: boolean | null | undefined;
|
|
1125
1117
|
};
|
|
1126
1118
|
}, {
|
|
1127
1119
|
type: "REPUBLISHING";
|
|
1128
1120
|
data: {
|
|
1129
1121
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1130
|
-
publishingDate?: Date | null | undefined;
|
|
1131
1122
|
priceDropPayload?: {
|
|
1132
1123
|
value: number;
|
|
1133
1124
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1135,10 +1126,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1135
1126
|
roundStep?: number | null | undefined;
|
|
1136
1127
|
maxRounds?: number | null | undefined;
|
|
1137
1128
|
} | null | undefined;
|
|
1138
|
-
|
|
1139
|
-
sourceAccountId?: string | null | undefined;
|
|
1129
|
+
publishingDate?: Date | null | undefined;
|
|
1140
1130
|
targetAccountId?: string | null | undefined;
|
|
1141
|
-
|
|
1131
|
+
isTransfer?: boolean | null | undefined;
|
|
1142
1132
|
};
|
|
1143
1133
|
}>, z.ZodObject<{
|
|
1144
1134
|
data: z.ZodObject<{
|
|
@@ -1185,11 +1175,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1185
1175
|
attemptNumber: number;
|
|
1186
1176
|
previousHistoryId: string;
|
|
1187
1177
|
originalFailureDate: Date;
|
|
1188
|
-
fields?: {
|
|
1189
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1190
|
-
autoFixable: boolean;
|
|
1191
|
-
error?: string | null | undefined;
|
|
1192
|
-
}[] | null | undefined;
|
|
1193
1178
|
priceDropPayload?: {
|
|
1194
1179
|
value: number;
|
|
1195
1180
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1197,17 +1182,17 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1197
1182
|
roundStep?: number | null | undefined;
|
|
1198
1183
|
maxRounds?: number | null | undefined;
|
|
1199
1184
|
} | null | undefined;
|
|
1185
|
+
fields?: {
|
|
1186
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1187
|
+
autoFixable: boolean;
|
|
1188
|
+
error?: string | null | undefined;
|
|
1189
|
+
}[] | null | undefined;
|
|
1200
1190
|
}, {
|
|
1201
1191
|
maxAttempts: number;
|
|
1202
1192
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1203
1193
|
attemptNumber: number;
|
|
1204
1194
|
previousHistoryId: string;
|
|
1205
1195
|
originalFailureDate: Date;
|
|
1206
|
-
fields?: {
|
|
1207
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1208
|
-
autoFixable: boolean;
|
|
1209
|
-
error?: string | null | undefined;
|
|
1210
|
-
}[] | null | undefined;
|
|
1211
1196
|
priceDropPayload?: {
|
|
1212
1197
|
value: number;
|
|
1213
1198
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1215,6 +1200,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1215
1200
|
roundStep?: number | null | undefined;
|
|
1216
1201
|
maxRounds?: number | null | undefined;
|
|
1217
1202
|
} | null | undefined;
|
|
1203
|
+
fields?: {
|
|
1204
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1205
|
+
autoFixable: boolean;
|
|
1206
|
+
error?: string | null | undefined;
|
|
1207
|
+
}[] | null | undefined;
|
|
1218
1208
|
}>;
|
|
1219
1209
|
type: z.ZodLiteral<"REPUBLISHING_RETRY">;
|
|
1220
1210
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1225,11 +1215,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1225
1215
|
attemptNumber: number;
|
|
1226
1216
|
previousHistoryId: string;
|
|
1227
1217
|
originalFailureDate: Date;
|
|
1228
|
-
fields?: {
|
|
1229
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1230
|
-
autoFixable: boolean;
|
|
1231
|
-
error?: string | null | undefined;
|
|
1232
|
-
}[] | null | undefined;
|
|
1233
1218
|
priceDropPayload?: {
|
|
1234
1219
|
value: number;
|
|
1235
1220
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1237,6 +1222,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1237
1222
|
roundStep?: number | null | undefined;
|
|
1238
1223
|
maxRounds?: number | null | undefined;
|
|
1239
1224
|
} | null | undefined;
|
|
1225
|
+
fields?: {
|
|
1226
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1227
|
+
autoFixable: boolean;
|
|
1228
|
+
error?: string | null | undefined;
|
|
1229
|
+
}[] | null | undefined;
|
|
1240
1230
|
};
|
|
1241
1231
|
}, {
|
|
1242
1232
|
type: "REPUBLISHING_RETRY";
|
|
@@ -1246,11 +1236,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1246
1236
|
attemptNumber: number;
|
|
1247
1237
|
previousHistoryId: string;
|
|
1248
1238
|
originalFailureDate: Date;
|
|
1249
|
-
fields?: {
|
|
1250
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1251
|
-
autoFixable: boolean;
|
|
1252
|
-
error?: string | null | undefined;
|
|
1253
|
-
}[] | null | undefined;
|
|
1254
1239
|
priceDropPayload?: {
|
|
1255
1240
|
value: number;
|
|
1256
1241
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1258,6 +1243,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1258
1243
|
roundStep?: number | null | undefined;
|
|
1259
1244
|
maxRounds?: number | null | undefined;
|
|
1260
1245
|
} | null | undefined;
|
|
1246
|
+
fields?: {
|
|
1247
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1248
|
+
autoFixable: boolean;
|
|
1249
|
+
error?: string | null | undefined;
|
|
1250
|
+
}[] | null | undefined;
|
|
1261
1251
|
};
|
|
1262
1252
|
}>, z.ZodObject<{
|
|
1263
1253
|
data: z.ZodObject<{
|
|
@@ -1365,6 +1355,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1365
1355
|
id: string;
|
|
1366
1356
|
createdAt: Date;
|
|
1367
1357
|
itemId: string | number;
|
|
1358
|
+
requestId?: string | null | undefined;
|
|
1368
1359
|
data?: {
|
|
1369
1360
|
type: "ACTION_CANCELED";
|
|
1370
1361
|
data: {
|
|
@@ -1462,7 +1453,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1462
1453
|
type: "REPUBLISHING";
|
|
1463
1454
|
data: {
|
|
1464
1455
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1465
|
-
publishingDate?: Date | null | undefined;
|
|
1466
1456
|
priceDropPayload?: {
|
|
1467
1457
|
value: number;
|
|
1468
1458
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1470,10 +1460,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1470
1460
|
roundStep?: number | null | undefined;
|
|
1471
1461
|
maxRounds?: number | null | undefined;
|
|
1472
1462
|
} | null | undefined;
|
|
1473
|
-
|
|
1474
|
-
sourceAccountId?: string | null | undefined;
|
|
1463
|
+
publishingDate?: Date | null | undefined;
|
|
1475
1464
|
targetAccountId?: string | null | undefined;
|
|
1476
|
-
|
|
1465
|
+
isTransfer?: boolean | null | undefined;
|
|
1477
1466
|
};
|
|
1478
1467
|
} | {
|
|
1479
1468
|
type: "REPUBLISHING_RETRY";
|
|
@@ -1483,11 +1472,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1483
1472
|
attemptNumber: number;
|
|
1484
1473
|
previousHistoryId: string;
|
|
1485
1474
|
originalFailureDate: Date;
|
|
1486
|
-
fields?: {
|
|
1487
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1488
|
-
autoFixable: boolean;
|
|
1489
|
-
error?: string | null | undefined;
|
|
1490
|
-
}[] | null | undefined;
|
|
1491
1475
|
priceDropPayload?: {
|
|
1492
1476
|
value: number;
|
|
1493
1477
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1495,6 +1479,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1495
1479
|
roundStep?: number | null | undefined;
|
|
1496
1480
|
maxRounds?: number | null | undefined;
|
|
1497
1481
|
} | null | undefined;
|
|
1482
|
+
fields?: {
|
|
1483
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1484
|
+
autoFixable: boolean;
|
|
1485
|
+
error?: string | null | undefined;
|
|
1486
|
+
}[] | null | undefined;
|
|
1498
1487
|
};
|
|
1499
1488
|
} | {
|
|
1500
1489
|
type: "SCHEDULED";
|
|
@@ -1518,13 +1507,13 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1518
1507
|
};
|
|
1519
1508
|
} | null | undefined;
|
|
1520
1509
|
accountId?: string | null | undefined;
|
|
1521
|
-
requestId?: string | null | undefined;
|
|
1522
1510
|
targetDate?: Date | null | undefined;
|
|
1523
1511
|
}, {
|
|
1524
1512
|
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";
|
|
1525
1513
|
id: string;
|
|
1526
1514
|
createdAt: Date;
|
|
1527
1515
|
itemId: string | number;
|
|
1516
|
+
requestId?: string | null | undefined;
|
|
1528
1517
|
data?: {
|
|
1529
1518
|
type: "ACTION_CANCELED";
|
|
1530
1519
|
data: {
|
|
@@ -1622,7 +1611,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1622
1611
|
type: "REPUBLISHING";
|
|
1623
1612
|
data: {
|
|
1624
1613
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1625
|
-
publishingDate?: Date | null | undefined;
|
|
1626
1614
|
priceDropPayload?: {
|
|
1627
1615
|
value: number;
|
|
1628
1616
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1630,10 +1618,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1630
1618
|
roundStep?: number | null | undefined;
|
|
1631
1619
|
maxRounds?: number | null | undefined;
|
|
1632
1620
|
} | null | undefined;
|
|
1633
|
-
|
|
1634
|
-
sourceAccountId?: string | null | undefined;
|
|
1621
|
+
publishingDate?: Date | null | undefined;
|
|
1635
1622
|
targetAccountId?: string | null | undefined;
|
|
1636
|
-
|
|
1623
|
+
isTransfer?: boolean | null | undefined;
|
|
1637
1624
|
};
|
|
1638
1625
|
} | {
|
|
1639
1626
|
type: "REPUBLISHING_RETRY";
|
|
@@ -1643,11 +1630,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1643
1630
|
attemptNumber: number;
|
|
1644
1631
|
previousHistoryId: string;
|
|
1645
1632
|
originalFailureDate: Date;
|
|
1646
|
-
fields?: {
|
|
1647
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1648
|
-
autoFixable: boolean;
|
|
1649
|
-
error?: string | null | undefined;
|
|
1650
|
-
}[] | null | undefined;
|
|
1651
1633
|
priceDropPayload?: {
|
|
1652
1634
|
value: number;
|
|
1653
1635
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1655,6 +1637,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1655
1637
|
roundStep?: number | null | undefined;
|
|
1656
1638
|
maxRounds?: number | null | undefined;
|
|
1657
1639
|
} | null | undefined;
|
|
1640
|
+
fields?: {
|
|
1641
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1642
|
+
autoFixable: boolean;
|
|
1643
|
+
error?: string | null | undefined;
|
|
1644
|
+
}[] | null | undefined;
|
|
1658
1645
|
};
|
|
1659
1646
|
} | {
|
|
1660
1647
|
type: "SCHEDULED";
|
|
@@ -1678,7 +1665,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1678
1665
|
};
|
|
1679
1666
|
} | null | undefined;
|
|
1680
1667
|
accountId?: string | null | undefined;
|
|
1681
|
-
requestId?: string | null | undefined;
|
|
1682
1668
|
targetDate?: Date | null | undefined;
|
|
1683
1669
|
}>>>;
|
|
1684
1670
|
platforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -1748,11 +1734,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1748
1734
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
1749
1735
|
id: string;
|
|
1750
1736
|
createdAt: Date;
|
|
1737
|
+
updatedAt: Date;
|
|
1751
1738
|
accountId: string;
|
|
1752
1739
|
itemId: string | number;
|
|
1753
1740
|
platformId: string;
|
|
1754
1741
|
platformUrl: string;
|
|
1755
|
-
updatedAt: Date;
|
|
1756
1742
|
platformPrice: number;
|
|
1757
1743
|
publishedAt: Date;
|
|
1758
1744
|
favoritesCount?: number | null | undefined;
|
|
@@ -1777,11 +1763,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1777
1763
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
1778
1764
|
id: string;
|
|
1779
1765
|
createdAt: Date;
|
|
1766
|
+
updatedAt: Date;
|
|
1780
1767
|
accountId: string;
|
|
1781
1768
|
itemId: string | number;
|
|
1782
1769
|
platformId: string;
|
|
1783
1770
|
platformUrl: string;
|
|
1784
|
-
updatedAt: Date;
|
|
1785
1771
|
platformPrice: number;
|
|
1786
1772
|
publishedAt: Date;
|
|
1787
1773
|
favoritesCount?: number | null | undefined;
|
|
@@ -1807,19 +1793,20 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1807
1793
|
updatedAt: z.ZodDate;
|
|
1808
1794
|
}, "strip", z.ZodTypeAny, {
|
|
1809
1795
|
id: string | number;
|
|
1810
|
-
name: string;
|
|
1811
1796
|
createdAt: Date;
|
|
1812
|
-
userId: string | number;
|
|
1813
1797
|
updatedAt: Date;
|
|
1798
|
+
name: string;
|
|
1799
|
+
userId: string | number;
|
|
1814
1800
|
sold: boolean;
|
|
1801
|
+
state?: number | null | undefined;
|
|
1815
1802
|
fees?: {
|
|
1816
1803
|
value: number;
|
|
1817
1804
|
type: string;
|
|
1818
1805
|
id: string | number;
|
|
1819
|
-
name: string;
|
|
1820
1806
|
createdAt: Date;
|
|
1821
|
-
userId: string | number;
|
|
1822
1807
|
updatedAt: Date;
|
|
1808
|
+
name: string;
|
|
1809
|
+
userId: string | number;
|
|
1823
1810
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
1824
1811
|
startDate: Date;
|
|
1825
1812
|
active: boolean;
|
|
@@ -1837,14 +1824,13 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1837
1824
|
estimatedPrice?: number | null | undefined;
|
|
1838
1825
|
purchaseDate?: Date | null | undefined;
|
|
1839
1826
|
sellingDate?: Date | null | undefined;
|
|
1840
|
-
state?: number | null | undefined;
|
|
1841
1827
|
labels?: {
|
|
1842
1828
|
itemId: string | number;
|
|
1843
1829
|
labelId: string | number;
|
|
1844
1830
|
label?: {
|
|
1845
1831
|
id: string | number;
|
|
1846
|
-
name: string;
|
|
1847
1832
|
createdAt: Date;
|
|
1833
|
+
name: string;
|
|
1848
1834
|
isUserLabel: boolean;
|
|
1849
1835
|
itemCount?: number | null | undefined;
|
|
1850
1836
|
userId?: string | number | null | undefined;
|
|
@@ -1866,11 +1852,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1866
1852
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
1867
1853
|
id: string;
|
|
1868
1854
|
createdAt: Date;
|
|
1855
|
+
updatedAt: Date;
|
|
1869
1856
|
accountId: string;
|
|
1870
1857
|
itemId: string | number;
|
|
1871
1858
|
platformId: string;
|
|
1872
1859
|
platformUrl: string;
|
|
1873
|
-
updatedAt: Date;
|
|
1874
1860
|
platformPrice: number;
|
|
1875
1861
|
publishedAt: Date;
|
|
1876
1862
|
favoritesCount?: number | null | undefined;
|
|
@@ -1929,6 +1915,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1929
1915
|
id: string;
|
|
1930
1916
|
createdAt: Date;
|
|
1931
1917
|
itemId: string | number;
|
|
1918
|
+
requestId?: string | null | undefined;
|
|
1932
1919
|
data?: {
|
|
1933
1920
|
type: "ACTION_CANCELED";
|
|
1934
1921
|
data: {
|
|
@@ -2026,7 +2013,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2026
2013
|
type: "REPUBLISHING";
|
|
2027
2014
|
data: {
|
|
2028
2015
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2029
|
-
publishingDate?: Date | null | undefined;
|
|
2030
2016
|
priceDropPayload?: {
|
|
2031
2017
|
value: number;
|
|
2032
2018
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2034,10 +2020,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2034
2020
|
roundStep?: number | null | undefined;
|
|
2035
2021
|
maxRounds?: number | null | undefined;
|
|
2036
2022
|
} | null | undefined;
|
|
2037
|
-
|
|
2038
|
-
sourceAccountId?: string | null | undefined;
|
|
2023
|
+
publishingDate?: Date | null | undefined;
|
|
2039
2024
|
targetAccountId?: string | null | undefined;
|
|
2040
|
-
|
|
2025
|
+
isTransfer?: boolean | null | undefined;
|
|
2041
2026
|
};
|
|
2042
2027
|
} | {
|
|
2043
2028
|
type: "REPUBLISHING_RETRY";
|
|
@@ -2047,11 +2032,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2047
2032
|
attemptNumber: number;
|
|
2048
2033
|
previousHistoryId: string;
|
|
2049
2034
|
originalFailureDate: Date;
|
|
2050
|
-
fields?: {
|
|
2051
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2052
|
-
autoFixable: boolean;
|
|
2053
|
-
error?: string | null | undefined;
|
|
2054
|
-
}[] | null | undefined;
|
|
2055
2035
|
priceDropPayload?: {
|
|
2056
2036
|
value: number;
|
|
2057
2037
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2059,6 +2039,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2059
2039
|
roundStep?: number | null | undefined;
|
|
2060
2040
|
maxRounds?: number | null | undefined;
|
|
2061
2041
|
} | null | undefined;
|
|
2042
|
+
fields?: {
|
|
2043
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2044
|
+
autoFixable: boolean;
|
|
2045
|
+
error?: string | null | undefined;
|
|
2046
|
+
}[] | null | undefined;
|
|
2062
2047
|
};
|
|
2063
2048
|
} | {
|
|
2064
2049
|
type: "SCHEDULED";
|
|
@@ -2082,24 +2067,24 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2082
2067
|
};
|
|
2083
2068
|
} | null | undefined;
|
|
2084
2069
|
accountId?: string | null | undefined;
|
|
2085
|
-
requestId?: string | null | undefined;
|
|
2086
2070
|
targetDate?: Date | null | undefined;
|
|
2087
2071
|
} | null | undefined;
|
|
2088
2072
|
}, {
|
|
2089
2073
|
id: string | number;
|
|
2090
|
-
name: string;
|
|
2091
2074
|
createdAt: Date;
|
|
2092
|
-
userId: string | number;
|
|
2093
2075
|
updatedAt: Date;
|
|
2076
|
+
name: string;
|
|
2077
|
+
userId: string | number;
|
|
2094
2078
|
sold: boolean;
|
|
2079
|
+
state?: number | null | undefined;
|
|
2095
2080
|
fees?: {
|
|
2096
2081
|
value: number;
|
|
2097
2082
|
type: string;
|
|
2098
2083
|
id: string | number;
|
|
2099
|
-
name: string;
|
|
2100
2084
|
createdAt: Date;
|
|
2101
|
-
userId: string | number;
|
|
2102
2085
|
updatedAt: Date;
|
|
2086
|
+
name: string;
|
|
2087
|
+
userId: string | number;
|
|
2103
2088
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
2104
2089
|
startDate: Date;
|
|
2105
2090
|
active: boolean;
|
|
@@ -2117,14 +2102,13 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2117
2102
|
estimatedPrice?: number | null | undefined;
|
|
2118
2103
|
purchaseDate?: Date | null | undefined;
|
|
2119
2104
|
sellingDate?: Date | null | undefined;
|
|
2120
|
-
state?: number | null | undefined;
|
|
2121
2105
|
labels?: {
|
|
2122
2106
|
itemId: string | number;
|
|
2123
2107
|
labelId: string | number;
|
|
2124
2108
|
label?: {
|
|
2125
2109
|
id: string | number;
|
|
2126
|
-
name: string;
|
|
2127
2110
|
createdAt: Date;
|
|
2111
|
+
name: string;
|
|
2128
2112
|
isUserLabel: boolean;
|
|
2129
2113
|
itemCount?: number | null | undefined;
|
|
2130
2114
|
userId?: string | number | null | undefined;
|
|
@@ -2146,11 +2130,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2146
2130
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2147
2131
|
id: string;
|
|
2148
2132
|
createdAt: Date;
|
|
2133
|
+
updatedAt: Date;
|
|
2149
2134
|
accountId: string;
|
|
2150
2135
|
itemId: string | number;
|
|
2151
2136
|
platformId: string;
|
|
2152
2137
|
platformUrl: string;
|
|
2153
|
-
updatedAt: Date;
|
|
2154
2138
|
platformPrice: number;
|
|
2155
2139
|
publishedAt: Date;
|
|
2156
2140
|
favoritesCount?: number | null | undefined;
|
|
@@ -2209,6 +2193,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2209
2193
|
id: string;
|
|
2210
2194
|
createdAt: Date;
|
|
2211
2195
|
itemId: string | number;
|
|
2196
|
+
requestId?: string | null | undefined;
|
|
2212
2197
|
data?: {
|
|
2213
2198
|
type: "ACTION_CANCELED";
|
|
2214
2199
|
data: {
|
|
@@ -2306,7 +2291,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2306
2291
|
type: "REPUBLISHING";
|
|
2307
2292
|
data: {
|
|
2308
2293
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2309
|
-
publishingDate?: Date | null | undefined;
|
|
2310
2294
|
priceDropPayload?: {
|
|
2311
2295
|
value: number;
|
|
2312
2296
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2314,10 +2298,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2314
2298
|
roundStep?: number | null | undefined;
|
|
2315
2299
|
maxRounds?: number | null | undefined;
|
|
2316
2300
|
} | null | undefined;
|
|
2317
|
-
|
|
2318
|
-
sourceAccountId?: string | null | undefined;
|
|
2301
|
+
publishingDate?: Date | null | undefined;
|
|
2319
2302
|
targetAccountId?: string | null | undefined;
|
|
2320
|
-
|
|
2303
|
+
isTransfer?: boolean | null | undefined;
|
|
2321
2304
|
};
|
|
2322
2305
|
} | {
|
|
2323
2306
|
type: "REPUBLISHING_RETRY";
|
|
@@ -2327,11 +2310,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2327
2310
|
attemptNumber: number;
|
|
2328
2311
|
previousHistoryId: string;
|
|
2329
2312
|
originalFailureDate: Date;
|
|
2330
|
-
fields?: {
|
|
2331
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2332
|
-
autoFixable: boolean;
|
|
2333
|
-
error?: string | null | undefined;
|
|
2334
|
-
}[] | null | undefined;
|
|
2335
2313
|
priceDropPayload?: {
|
|
2336
2314
|
value: number;
|
|
2337
2315
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2339,6 +2317,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2339
2317
|
roundStep?: number | null | undefined;
|
|
2340
2318
|
maxRounds?: number | null | undefined;
|
|
2341
2319
|
} | null | undefined;
|
|
2320
|
+
fields?: {
|
|
2321
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2322
|
+
autoFixable: boolean;
|
|
2323
|
+
error?: string | null | undefined;
|
|
2324
|
+
}[] | null | undefined;
|
|
2342
2325
|
};
|
|
2343
2326
|
} | {
|
|
2344
2327
|
type: "SCHEDULED";
|
|
@@ -2362,26 +2345,26 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2362
2345
|
};
|
|
2363
2346
|
} | null | undefined;
|
|
2364
2347
|
accountId?: string | null | undefined;
|
|
2365
|
-
requestId?: string | null | undefined;
|
|
2366
2348
|
targetDate?: Date | null | undefined;
|
|
2367
2349
|
} | null | undefined;
|
|
2368
2350
|
}>, "many">;
|
|
2369
2351
|
}, "strip", z.ZodTypeAny, {
|
|
2370
2352
|
items: {
|
|
2371
2353
|
id: string | number;
|
|
2372
|
-
name: string;
|
|
2373
2354
|
createdAt: Date;
|
|
2374
|
-
userId: string | number;
|
|
2375
2355
|
updatedAt: Date;
|
|
2356
|
+
name: string;
|
|
2357
|
+
userId: string | number;
|
|
2376
2358
|
sold: boolean;
|
|
2359
|
+
state?: number | null | undefined;
|
|
2377
2360
|
fees?: {
|
|
2378
2361
|
value: number;
|
|
2379
2362
|
type: string;
|
|
2380
2363
|
id: string | number;
|
|
2381
|
-
name: string;
|
|
2382
2364
|
createdAt: Date;
|
|
2383
|
-
userId: string | number;
|
|
2384
2365
|
updatedAt: Date;
|
|
2366
|
+
name: string;
|
|
2367
|
+
userId: string | number;
|
|
2385
2368
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
2386
2369
|
startDate: Date;
|
|
2387
2370
|
active: boolean;
|
|
@@ -2399,14 +2382,13 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2399
2382
|
estimatedPrice?: number | null | undefined;
|
|
2400
2383
|
purchaseDate?: Date | null | undefined;
|
|
2401
2384
|
sellingDate?: Date | null | undefined;
|
|
2402
|
-
state?: number | null | undefined;
|
|
2403
2385
|
labels?: {
|
|
2404
2386
|
itemId: string | number;
|
|
2405
2387
|
labelId: string | number;
|
|
2406
2388
|
label?: {
|
|
2407
2389
|
id: string | number;
|
|
2408
|
-
name: string;
|
|
2409
2390
|
createdAt: Date;
|
|
2391
|
+
name: string;
|
|
2410
2392
|
isUserLabel: boolean;
|
|
2411
2393
|
itemCount?: number | null | undefined;
|
|
2412
2394
|
userId?: string | number | null | undefined;
|
|
@@ -2428,11 +2410,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2428
2410
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2429
2411
|
id: string;
|
|
2430
2412
|
createdAt: Date;
|
|
2413
|
+
updatedAt: Date;
|
|
2431
2414
|
accountId: string;
|
|
2432
2415
|
itemId: string | number;
|
|
2433
2416
|
platformId: string;
|
|
2434
2417
|
platformUrl: string;
|
|
2435
|
-
updatedAt: Date;
|
|
2436
2418
|
platformPrice: number;
|
|
2437
2419
|
publishedAt: Date;
|
|
2438
2420
|
favoritesCount?: number | null | undefined;
|
|
@@ -2491,6 +2473,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2491
2473
|
id: string;
|
|
2492
2474
|
createdAt: Date;
|
|
2493
2475
|
itemId: string | number;
|
|
2476
|
+
requestId?: string | null | undefined;
|
|
2494
2477
|
data?: {
|
|
2495
2478
|
type: "ACTION_CANCELED";
|
|
2496
2479
|
data: {
|
|
@@ -2588,7 +2571,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2588
2571
|
type: "REPUBLISHING";
|
|
2589
2572
|
data: {
|
|
2590
2573
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2591
|
-
publishingDate?: Date | null | undefined;
|
|
2592
2574
|
priceDropPayload?: {
|
|
2593
2575
|
value: number;
|
|
2594
2576
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2596,10 +2578,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2596
2578
|
roundStep?: number | null | undefined;
|
|
2597
2579
|
maxRounds?: number | null | undefined;
|
|
2598
2580
|
} | null | undefined;
|
|
2599
|
-
|
|
2600
|
-
sourceAccountId?: string | null | undefined;
|
|
2581
|
+
publishingDate?: Date | null | undefined;
|
|
2601
2582
|
targetAccountId?: string | null | undefined;
|
|
2602
|
-
|
|
2583
|
+
isTransfer?: boolean | null | undefined;
|
|
2603
2584
|
};
|
|
2604
2585
|
} | {
|
|
2605
2586
|
type: "REPUBLISHING_RETRY";
|
|
@@ -2609,11 +2590,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2609
2590
|
attemptNumber: number;
|
|
2610
2591
|
previousHistoryId: string;
|
|
2611
2592
|
originalFailureDate: Date;
|
|
2612
|
-
fields?: {
|
|
2613
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2614
|
-
autoFixable: boolean;
|
|
2615
|
-
error?: string | null | undefined;
|
|
2616
|
-
}[] | null | undefined;
|
|
2617
2593
|
priceDropPayload?: {
|
|
2618
2594
|
value: number;
|
|
2619
2595
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2621,6 +2597,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2621
2597
|
roundStep?: number | null | undefined;
|
|
2622
2598
|
maxRounds?: number | null | undefined;
|
|
2623
2599
|
} | null | undefined;
|
|
2600
|
+
fields?: {
|
|
2601
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2602
|
+
autoFixable: boolean;
|
|
2603
|
+
error?: string | null | undefined;
|
|
2604
|
+
}[] | null | undefined;
|
|
2624
2605
|
};
|
|
2625
2606
|
} | {
|
|
2626
2607
|
type: "SCHEDULED";
|
|
@@ -2644,7 +2625,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2644
2625
|
};
|
|
2645
2626
|
} | null | undefined;
|
|
2646
2627
|
accountId?: string | null | undefined;
|
|
2647
|
-
requestId?: string | null | undefined;
|
|
2648
2628
|
targetDate?: Date | null | undefined;
|
|
2649
2629
|
} | null | undefined;
|
|
2650
2630
|
}[];
|
|
@@ -2652,8 +2632,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2652
2632
|
id: string;
|
|
2653
2633
|
accountId: string;
|
|
2654
2634
|
platformTransactionId: string;
|
|
2655
|
-
conversationId?: string | null | undefined;
|
|
2656
|
-
shipmentId?: string | null | undefined;
|
|
2657
2635
|
items?: {
|
|
2658
2636
|
transactionId: string;
|
|
2659
2637
|
itemOnPlatformId: string;
|
|
@@ -2661,11 +2639,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2661
2639
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2662
2640
|
id: string;
|
|
2663
2641
|
createdAt: Date;
|
|
2642
|
+
updatedAt: Date;
|
|
2664
2643
|
accountId: string;
|
|
2665
2644
|
itemId: string | number;
|
|
2666
2645
|
platformId: string;
|
|
2667
2646
|
platformUrl: string;
|
|
2668
|
-
updatedAt: Date;
|
|
2669
2647
|
platformPrice: number;
|
|
2670
2648
|
publishedAt: Date;
|
|
2671
2649
|
favoritesCount?: number | null | undefined;
|
|
@@ -2688,25 +2666,28 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2688
2666
|
} | null | undefined;
|
|
2689
2667
|
} | null | undefined;
|
|
2690
2668
|
}[] | null | undefined;
|
|
2669
|
+
conversationId?: string | null | undefined;
|
|
2670
|
+
shipmentId?: string | null | undefined;
|
|
2691
2671
|
buyerPlatformId?: string | null | undefined;
|
|
2692
2672
|
sellerPlatformId?: string | null | undefined;
|
|
2693
2673
|
};
|
|
2694
2674
|
}, {
|
|
2695
2675
|
items: {
|
|
2696
2676
|
id: string | number;
|
|
2697
|
-
name: string;
|
|
2698
2677
|
createdAt: Date;
|
|
2699
|
-
userId: string | number;
|
|
2700
2678
|
updatedAt: Date;
|
|
2679
|
+
name: string;
|
|
2680
|
+
userId: string | number;
|
|
2701
2681
|
sold: boolean;
|
|
2682
|
+
state?: number | null | undefined;
|
|
2702
2683
|
fees?: {
|
|
2703
2684
|
value: number;
|
|
2704
2685
|
type: string;
|
|
2705
2686
|
id: string | number;
|
|
2706
|
-
name: string;
|
|
2707
2687
|
createdAt: Date;
|
|
2708
|
-
userId: string | number;
|
|
2709
2688
|
updatedAt: Date;
|
|
2689
|
+
name: string;
|
|
2690
|
+
userId: string | number;
|
|
2710
2691
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
2711
2692
|
startDate: Date;
|
|
2712
2693
|
active: boolean;
|
|
@@ -2724,14 +2705,13 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2724
2705
|
estimatedPrice?: number | null | undefined;
|
|
2725
2706
|
purchaseDate?: Date | null | undefined;
|
|
2726
2707
|
sellingDate?: Date | null | undefined;
|
|
2727
|
-
state?: number | null | undefined;
|
|
2728
2708
|
labels?: {
|
|
2729
2709
|
itemId: string | number;
|
|
2730
2710
|
labelId: string | number;
|
|
2731
2711
|
label?: {
|
|
2732
2712
|
id: string | number;
|
|
2733
|
-
name: string;
|
|
2734
2713
|
createdAt: Date;
|
|
2714
|
+
name: string;
|
|
2735
2715
|
isUserLabel: boolean;
|
|
2736
2716
|
itemCount?: number | null | undefined;
|
|
2737
2717
|
userId?: string | number | null | undefined;
|
|
@@ -2753,11 +2733,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2753
2733
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2754
2734
|
id: string;
|
|
2755
2735
|
createdAt: Date;
|
|
2736
|
+
updatedAt: Date;
|
|
2756
2737
|
accountId: string;
|
|
2757
2738
|
itemId: string | number;
|
|
2758
2739
|
platformId: string;
|
|
2759
2740
|
platformUrl: string;
|
|
2760
|
-
updatedAt: Date;
|
|
2761
2741
|
platformPrice: number;
|
|
2762
2742
|
publishedAt: Date;
|
|
2763
2743
|
favoritesCount?: number | null | undefined;
|
|
@@ -2816,6 +2796,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2816
2796
|
id: string;
|
|
2817
2797
|
createdAt: Date;
|
|
2818
2798
|
itemId: string | number;
|
|
2799
|
+
requestId?: string | null | undefined;
|
|
2819
2800
|
data?: {
|
|
2820
2801
|
type: "ACTION_CANCELED";
|
|
2821
2802
|
data: {
|
|
@@ -2913,7 +2894,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2913
2894
|
type: "REPUBLISHING";
|
|
2914
2895
|
data: {
|
|
2915
2896
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2916
|
-
publishingDate?: Date | null | undefined;
|
|
2917
2897
|
priceDropPayload?: {
|
|
2918
2898
|
value: number;
|
|
2919
2899
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2921,10 +2901,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2921
2901
|
roundStep?: number | null | undefined;
|
|
2922
2902
|
maxRounds?: number | null | undefined;
|
|
2923
2903
|
} | null | undefined;
|
|
2924
|
-
|
|
2925
|
-
sourceAccountId?: string | null | undefined;
|
|
2904
|
+
publishingDate?: Date | null | undefined;
|
|
2926
2905
|
targetAccountId?: string | null | undefined;
|
|
2927
|
-
|
|
2906
|
+
isTransfer?: boolean | null | undefined;
|
|
2928
2907
|
};
|
|
2929
2908
|
} | {
|
|
2930
2909
|
type: "REPUBLISHING_RETRY";
|
|
@@ -2934,11 +2913,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2934
2913
|
attemptNumber: number;
|
|
2935
2914
|
previousHistoryId: string;
|
|
2936
2915
|
originalFailureDate: Date;
|
|
2937
|
-
fields?: {
|
|
2938
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2939
|
-
autoFixable: boolean;
|
|
2940
|
-
error?: string | null | undefined;
|
|
2941
|
-
}[] | null | undefined;
|
|
2942
2916
|
priceDropPayload?: {
|
|
2943
2917
|
value: number;
|
|
2944
2918
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2946,6 +2920,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2946
2920
|
roundStep?: number | null | undefined;
|
|
2947
2921
|
maxRounds?: number | null | undefined;
|
|
2948
2922
|
} | null | undefined;
|
|
2923
|
+
fields?: {
|
|
2924
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2925
|
+
autoFixable: boolean;
|
|
2926
|
+
error?: string | null | undefined;
|
|
2927
|
+
}[] | null | undefined;
|
|
2949
2928
|
};
|
|
2950
2929
|
} | {
|
|
2951
2930
|
type: "SCHEDULED";
|
|
@@ -2969,7 +2948,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2969
2948
|
};
|
|
2970
2949
|
} | null | undefined;
|
|
2971
2950
|
accountId?: string | null | undefined;
|
|
2972
|
-
requestId?: string | null | undefined;
|
|
2973
2951
|
targetDate?: Date | null | undefined;
|
|
2974
2952
|
} | null | undefined;
|
|
2975
2953
|
}[];
|
|
@@ -2977,8 +2955,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2977
2955
|
id: string;
|
|
2978
2956
|
accountId: string;
|
|
2979
2957
|
platformTransactionId: string;
|
|
2980
|
-
conversationId?: string | null | undefined;
|
|
2981
|
-
shipmentId?: string | null | undefined;
|
|
2982
2958
|
items?: {
|
|
2983
2959
|
transactionId: string;
|
|
2984
2960
|
itemOnPlatformId: string;
|
|
@@ -2986,11 +2962,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2986
2962
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2987
2963
|
id: string;
|
|
2988
2964
|
createdAt: Date;
|
|
2965
|
+
updatedAt: Date;
|
|
2989
2966
|
accountId: string;
|
|
2990
2967
|
itemId: string | number;
|
|
2991
2968
|
platformId: string;
|
|
2992
2969
|
platformUrl: string;
|
|
2993
|
-
updatedAt: Date;
|
|
2994
2970
|
platformPrice: number;
|
|
2995
2971
|
publishedAt: Date;
|
|
2996
2972
|
favoritesCount?: number | null | undefined;
|
|
@@ -3013,6 +2989,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3013
2989
|
} | null | undefined;
|
|
3014
2990
|
} | null | undefined;
|
|
3015
2991
|
}[] | null | undefined;
|
|
2992
|
+
conversationId?: string | null | undefined;
|
|
2993
|
+
shipmentId?: string | null | undefined;
|
|
3016
2994
|
buyerPlatformId?: string | null | undefined;
|
|
3017
2995
|
sellerPlatformId?: string | null | undefined;
|
|
3018
2996
|
};
|