controlresell 2.8.51 → 2.8.53
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/onboardingquiz/CreateOnboardingQuizRequest.d.ts +28 -0
- package/src/com/controlresell/api/requests/onboardingquiz/CreateOnboardingQuizRequest.d.ts.map +1 -0
- package/src/com/controlresell/api/requests/onboardingquiz/CreateOnboardingQuizRequest.js +10 -0
- package/src/com/controlresell/api/requests/onboardingquiz/CreateOnboardingQuizRequest.js.map +1 -0
- package/src/com/controlresell/api/requests/onboardingquiz/CreateOnboardingQuizRequest.ts +8 -0
- package/src/com/controlresell/api/requests/onboardingquiz/OnboardingQuizResponseEntry.d.ts +13 -0
- package/src/com/controlresell/api/requests/onboardingquiz/OnboardingQuizResponseEntry.d.ts.map +1 -0
- package/src/com/controlresell/api/requests/onboardingquiz/OnboardingQuizResponseEntry.js +9 -0
- package/src/com/controlresell/api/requests/onboardingquiz/OnboardingQuizResponseEntry.js.map +1 -0
- package/src/com/controlresell/api/requests/onboardingquiz/OnboardingQuizResponseEntry.ts +7 -0
- 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/PreferenceFilter.d.ts +4 -4
- 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/auth/models/users/platforms/UserOnPlatform.d.ts +2 -2
- package/src/com/controlresell/inbox/models/conversations/Conversation.d.ts +6 -6
- package/src/com/controlresell/inbox/models/conversations/ConversationOnPlatformUpdateRequest.d.ts +10 -10
- package/src/com/controlresell/inbox/models/conversations/ConversationUpdate.d.ts +10 -10
- package/src/com/controlresell/inbox/models/conversations/UserConversations.d.ts +10 -10
- package/src/com/controlresell/inbox/models/favorites/ConversationFavorite.d.ts +4 -4
- package/src/com/controlresell/inbox/models/favorites/ReportRateLimitOnFavorites.d.ts +6 -6
- package/src/com/controlresell/inbox/models/favorites/SubmitFavoritesResponse.d.ts +6 -6
- package/src/com/controlresell/inbox/models/transactions/Transaction.d.ts +18 -18
- package/src/com/controlresell/inbox/models/transactions/items/ItemInTransaction.d.ts +10 -10
- package/src/com/controlresell/inbox/models/transactions/items/TransactionWithItems.d.ts +148 -170
- 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 +126 -148
- package/src/com/controlresell/inventory/models/items/CreatedItems.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/Item.d.ts +90 -108
- 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 +122 -144
- package/src/com/controlresell/inventory/models/items/ItemUpdate.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/ItemsWithFilters.d.ts +122 -144
- package/src/com/controlresell/inventory/models/items/ItemsWithFilters.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/UpdatedItem.d.ts +126 -148
- 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 +6 -6
- package/src/com/controlresell/inventory/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts +4 -4
- 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 +55 -55
- package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts +4 -4
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +349 -375
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +10 -10
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +245 -267
- 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/fields/Field.d.ts +2 -2
- package/src/com/controlresell/models/users/fields/FieldsWithData.d.ts +4 -4
- package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts +4 -4
- package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts +4 -4
- package/src/com/controlresell/models/users/ws/ResourceUpdate.d.ts +18 -18
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +300 -344
- 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 +17 -11
- package/src/index.d.ts.map +1 -1
- package/src/index.js +40 -28
- package/src/index.js.map +1 -1
- package/src/index.ts +17 -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
|
@@ -85,10 +85,10 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
85
85
|
value: number;
|
|
86
86
|
type: string;
|
|
87
87
|
id: string | number;
|
|
88
|
-
name: string;
|
|
89
88
|
createdAt: Date;
|
|
90
|
-
userId: string | number;
|
|
91
89
|
updatedAt: Date;
|
|
90
|
+
userId: string | number;
|
|
91
|
+
name: string;
|
|
92
92
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
93
93
|
startDate: Date;
|
|
94
94
|
active: boolean;
|
|
@@ -100,10 +100,10 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
100
100
|
value: number;
|
|
101
101
|
type: string;
|
|
102
102
|
id: string | number;
|
|
103
|
-
name: string;
|
|
104
103
|
createdAt: Date;
|
|
105
|
-
userId: string | number;
|
|
106
104
|
updatedAt: Date;
|
|
105
|
+
userId: string | number;
|
|
106
|
+
name: string;
|
|
107
107
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
108
108
|
startDate: Date;
|
|
109
109
|
active: boolean;
|
|
@@ -125,15 +125,15 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
125
125
|
itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
126
126
|
}, "strip", z.ZodTypeAny, {
|
|
127
127
|
id: string | number;
|
|
128
|
-
name: string;
|
|
129
128
|
createdAt: Date;
|
|
129
|
+
name: string;
|
|
130
130
|
isUserLabel: boolean;
|
|
131
131
|
itemCount?: number | null | undefined;
|
|
132
132
|
userId?: string | number | null | undefined;
|
|
133
133
|
}, {
|
|
134
134
|
id: string | number;
|
|
135
|
-
name: string;
|
|
136
135
|
createdAt: Date;
|
|
136
|
+
name: string;
|
|
137
137
|
isUserLabel: boolean;
|
|
138
138
|
itemCount?: number | null | undefined;
|
|
139
139
|
userId?: string | number | null | undefined;
|
|
@@ -143,8 +143,8 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
143
143
|
labelId: string | number;
|
|
144
144
|
label?: {
|
|
145
145
|
id: string | number;
|
|
146
|
-
name: string;
|
|
147
146
|
createdAt: Date;
|
|
147
|
+
name: string;
|
|
148
148
|
isUserLabel: boolean;
|
|
149
149
|
itemCount?: number | null | undefined;
|
|
150
150
|
userId?: string | number | null | undefined;
|
|
@@ -154,8 +154,8 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
154
154
|
labelId: string | number;
|
|
155
155
|
label?: {
|
|
156
156
|
id: string | number;
|
|
157
|
-
name: string;
|
|
158
157
|
createdAt: Date;
|
|
158
|
+
name: string;
|
|
159
159
|
isUserLabel: boolean;
|
|
160
160
|
itemCount?: number | null | undefined;
|
|
161
161
|
userId?: string | number | null | undefined;
|
|
@@ -788,12 +788,9 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
788
788
|
maxRounds?: number | null | undefined;
|
|
789
789
|
}>>>;
|
|
790
790
|
isTransfer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
791
|
-
sourceAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
792
791
|
targetAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
793
|
-
targetUserId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
794
792
|
}, "strip", z.ZodTypeAny, {
|
|
795
793
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
796
|
-
publishingDate?: Date | null | undefined;
|
|
797
794
|
priceDropPayload?: {
|
|
798
795
|
value: number;
|
|
799
796
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -801,13 +798,11 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
801
798
|
roundStep?: number | null | undefined;
|
|
802
799
|
maxRounds?: number | null | undefined;
|
|
803
800
|
} | null | undefined;
|
|
804
|
-
|
|
805
|
-
sourceAccountId?: string | null | undefined;
|
|
801
|
+
publishingDate?: Date | null | undefined;
|
|
806
802
|
targetAccountId?: string | null | undefined;
|
|
807
|
-
|
|
803
|
+
isTransfer?: boolean | null | undefined;
|
|
808
804
|
}, {
|
|
809
805
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
810
|
-
publishingDate?: Date | null | undefined;
|
|
811
806
|
priceDropPayload?: {
|
|
812
807
|
value: number;
|
|
813
808
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -815,17 +810,15 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
815
810
|
roundStep?: number | null | undefined;
|
|
816
811
|
maxRounds?: number | null | undefined;
|
|
817
812
|
} | null | undefined;
|
|
818
|
-
|
|
819
|
-
sourceAccountId?: string | null | undefined;
|
|
813
|
+
publishingDate?: Date | null | undefined;
|
|
820
814
|
targetAccountId?: string | null | undefined;
|
|
821
|
-
|
|
815
|
+
isTransfer?: boolean | null | undefined;
|
|
822
816
|
}>;
|
|
823
817
|
type: z.ZodLiteral<"REPUBLISHING">;
|
|
824
818
|
}, "strip", z.ZodTypeAny, {
|
|
825
819
|
type: "REPUBLISHING";
|
|
826
820
|
data: {
|
|
827
821
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
828
|
-
publishingDate?: Date | null | undefined;
|
|
829
822
|
priceDropPayload?: {
|
|
830
823
|
value: number;
|
|
831
824
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -833,16 +826,14 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
833
826
|
roundStep?: number | null | undefined;
|
|
834
827
|
maxRounds?: number | null | undefined;
|
|
835
828
|
} | null | undefined;
|
|
836
|
-
|
|
837
|
-
sourceAccountId?: string | null | undefined;
|
|
829
|
+
publishingDate?: Date | null | undefined;
|
|
838
830
|
targetAccountId?: string | null | undefined;
|
|
839
|
-
|
|
831
|
+
isTransfer?: boolean | null | undefined;
|
|
840
832
|
};
|
|
841
833
|
}, {
|
|
842
834
|
type: "REPUBLISHING";
|
|
843
835
|
data: {
|
|
844
836
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
845
|
-
publishingDate?: Date | null | undefined;
|
|
846
837
|
priceDropPayload?: {
|
|
847
838
|
value: number;
|
|
848
839
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -850,10 +841,9 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
850
841
|
roundStep?: number | null | undefined;
|
|
851
842
|
maxRounds?: number | null | undefined;
|
|
852
843
|
} | null | undefined;
|
|
853
|
-
|
|
854
|
-
sourceAccountId?: string | null | undefined;
|
|
844
|
+
publishingDate?: Date | null | undefined;
|
|
855
845
|
targetAccountId?: string | null | undefined;
|
|
856
|
-
|
|
846
|
+
isTransfer?: boolean | null | undefined;
|
|
857
847
|
};
|
|
858
848
|
}>, z.ZodObject<{
|
|
859
849
|
data: z.ZodObject<{
|
|
@@ -900,11 +890,6 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
900
890
|
attemptNumber: number;
|
|
901
891
|
previousHistoryId: string;
|
|
902
892
|
originalFailureDate: Date;
|
|
903
|
-
fields?: {
|
|
904
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
905
|
-
autoFixable: boolean;
|
|
906
|
-
error?: string | null | undefined;
|
|
907
|
-
}[] | null | undefined;
|
|
908
893
|
priceDropPayload?: {
|
|
909
894
|
value: number;
|
|
910
895
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -912,17 +897,17 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
912
897
|
roundStep?: number | null | undefined;
|
|
913
898
|
maxRounds?: number | null | undefined;
|
|
914
899
|
} | null | undefined;
|
|
900
|
+
fields?: {
|
|
901
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
902
|
+
autoFixable: boolean;
|
|
903
|
+
error?: string | null | undefined;
|
|
904
|
+
}[] | null | undefined;
|
|
915
905
|
}, {
|
|
916
906
|
maxAttempts: number;
|
|
917
907
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
918
908
|
attemptNumber: number;
|
|
919
909
|
previousHistoryId: string;
|
|
920
910
|
originalFailureDate: Date;
|
|
921
|
-
fields?: {
|
|
922
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
923
|
-
autoFixable: boolean;
|
|
924
|
-
error?: string | null | undefined;
|
|
925
|
-
}[] | null | undefined;
|
|
926
911
|
priceDropPayload?: {
|
|
927
912
|
value: number;
|
|
928
913
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -930,6 +915,11 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
930
915
|
roundStep?: number | null | undefined;
|
|
931
916
|
maxRounds?: number | null | undefined;
|
|
932
917
|
} | null | undefined;
|
|
918
|
+
fields?: {
|
|
919
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
920
|
+
autoFixable: boolean;
|
|
921
|
+
error?: string | null | undefined;
|
|
922
|
+
}[] | null | undefined;
|
|
933
923
|
}>;
|
|
934
924
|
type: z.ZodLiteral<"REPUBLISHING_RETRY">;
|
|
935
925
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -940,11 +930,6 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
940
930
|
attemptNumber: number;
|
|
941
931
|
previousHistoryId: string;
|
|
942
932
|
originalFailureDate: Date;
|
|
943
|
-
fields?: {
|
|
944
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
945
|
-
autoFixable: boolean;
|
|
946
|
-
error?: string | null | undefined;
|
|
947
|
-
}[] | null | undefined;
|
|
948
933
|
priceDropPayload?: {
|
|
949
934
|
value: number;
|
|
950
935
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -952,6 +937,11 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
952
937
|
roundStep?: number | null | undefined;
|
|
953
938
|
maxRounds?: number | null | undefined;
|
|
954
939
|
} | null | undefined;
|
|
940
|
+
fields?: {
|
|
941
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
942
|
+
autoFixable: boolean;
|
|
943
|
+
error?: string | null | undefined;
|
|
944
|
+
}[] | null | undefined;
|
|
955
945
|
};
|
|
956
946
|
}, {
|
|
957
947
|
type: "REPUBLISHING_RETRY";
|
|
@@ -961,11 +951,6 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
961
951
|
attemptNumber: number;
|
|
962
952
|
previousHistoryId: string;
|
|
963
953
|
originalFailureDate: Date;
|
|
964
|
-
fields?: {
|
|
965
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
966
|
-
autoFixable: boolean;
|
|
967
|
-
error?: string | null | undefined;
|
|
968
|
-
}[] | null | undefined;
|
|
969
954
|
priceDropPayload?: {
|
|
970
955
|
value: number;
|
|
971
956
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -973,6 +958,11 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
973
958
|
roundStep?: number | null | undefined;
|
|
974
959
|
maxRounds?: number | null | undefined;
|
|
975
960
|
} | null | undefined;
|
|
961
|
+
fields?: {
|
|
962
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
963
|
+
autoFixable: boolean;
|
|
964
|
+
error?: string | null | undefined;
|
|
965
|
+
}[] | null | undefined;
|
|
976
966
|
};
|
|
977
967
|
}>, z.ZodObject<{
|
|
978
968
|
data: z.ZodObject<{
|
|
@@ -1080,6 +1070,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
1080
1070
|
id: string;
|
|
1081
1071
|
createdAt: Date;
|
|
1082
1072
|
itemId: string | number;
|
|
1073
|
+
requestId?: string | null | undefined;
|
|
1083
1074
|
data?: {
|
|
1084
1075
|
type: "ACTION_CANCELED";
|
|
1085
1076
|
data: {
|
|
@@ -1177,7 +1168,6 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
1177
1168
|
type: "REPUBLISHING";
|
|
1178
1169
|
data: {
|
|
1179
1170
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1180
|
-
publishingDate?: Date | null | undefined;
|
|
1181
1171
|
priceDropPayload?: {
|
|
1182
1172
|
value: number;
|
|
1183
1173
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1185,10 +1175,9 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
1185
1175
|
roundStep?: number | null | undefined;
|
|
1186
1176
|
maxRounds?: number | null | undefined;
|
|
1187
1177
|
} | null | undefined;
|
|
1188
|
-
|
|
1189
|
-
sourceAccountId?: string | null | undefined;
|
|
1178
|
+
publishingDate?: Date | null | undefined;
|
|
1190
1179
|
targetAccountId?: string | null | undefined;
|
|
1191
|
-
|
|
1180
|
+
isTransfer?: boolean | null | undefined;
|
|
1192
1181
|
};
|
|
1193
1182
|
} | {
|
|
1194
1183
|
type: "REPUBLISHING_RETRY";
|
|
@@ -1198,11 +1187,6 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
1198
1187
|
attemptNumber: number;
|
|
1199
1188
|
previousHistoryId: string;
|
|
1200
1189
|
originalFailureDate: Date;
|
|
1201
|
-
fields?: {
|
|
1202
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1203
|
-
autoFixable: boolean;
|
|
1204
|
-
error?: string | null | undefined;
|
|
1205
|
-
}[] | null | undefined;
|
|
1206
1190
|
priceDropPayload?: {
|
|
1207
1191
|
value: number;
|
|
1208
1192
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1210,6 +1194,11 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
1210
1194
|
roundStep?: number | null | undefined;
|
|
1211
1195
|
maxRounds?: number | null | undefined;
|
|
1212
1196
|
} | null | undefined;
|
|
1197
|
+
fields?: {
|
|
1198
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1199
|
+
autoFixable: boolean;
|
|
1200
|
+
error?: string | null | undefined;
|
|
1201
|
+
}[] | null | undefined;
|
|
1213
1202
|
};
|
|
1214
1203
|
} | {
|
|
1215
1204
|
type: "SCHEDULED";
|
|
@@ -1233,13 +1222,13 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
1233
1222
|
};
|
|
1234
1223
|
} | null | undefined;
|
|
1235
1224
|
accountId?: string | null | undefined;
|
|
1236
|
-
requestId?: string | null | undefined;
|
|
1237
1225
|
targetDate?: Date | null | undefined;
|
|
1238
1226
|
}, {
|
|
1239
1227
|
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";
|
|
1240
1228
|
id: string;
|
|
1241
1229
|
createdAt: Date;
|
|
1242
1230
|
itemId: string | number;
|
|
1231
|
+
requestId?: string | null | undefined;
|
|
1243
1232
|
data?: {
|
|
1244
1233
|
type: "ACTION_CANCELED";
|
|
1245
1234
|
data: {
|
|
@@ -1337,7 +1326,6 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
1337
1326
|
type: "REPUBLISHING";
|
|
1338
1327
|
data: {
|
|
1339
1328
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1340
|
-
publishingDate?: Date | null | undefined;
|
|
1341
1329
|
priceDropPayload?: {
|
|
1342
1330
|
value: number;
|
|
1343
1331
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1345,10 +1333,9 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
1345
1333
|
roundStep?: number | null | undefined;
|
|
1346
1334
|
maxRounds?: number | null | undefined;
|
|
1347
1335
|
} | null | undefined;
|
|
1348
|
-
|
|
1349
|
-
sourceAccountId?: string | null | undefined;
|
|
1336
|
+
publishingDate?: Date | null | undefined;
|
|
1350
1337
|
targetAccountId?: string | null | undefined;
|
|
1351
|
-
|
|
1338
|
+
isTransfer?: boolean | null | undefined;
|
|
1352
1339
|
};
|
|
1353
1340
|
} | {
|
|
1354
1341
|
type: "REPUBLISHING_RETRY";
|
|
@@ -1358,11 +1345,6 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
1358
1345
|
attemptNumber: number;
|
|
1359
1346
|
previousHistoryId: string;
|
|
1360
1347
|
originalFailureDate: Date;
|
|
1361
|
-
fields?: {
|
|
1362
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1363
|
-
autoFixable: boolean;
|
|
1364
|
-
error?: string | null | undefined;
|
|
1365
|
-
}[] | null | undefined;
|
|
1366
1348
|
priceDropPayload?: {
|
|
1367
1349
|
value: number;
|
|
1368
1350
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1370,6 +1352,11 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
1370
1352
|
roundStep?: number | null | undefined;
|
|
1371
1353
|
maxRounds?: number | null | undefined;
|
|
1372
1354
|
} | null | undefined;
|
|
1355
|
+
fields?: {
|
|
1356
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1357
|
+
autoFixable: boolean;
|
|
1358
|
+
error?: string | null | undefined;
|
|
1359
|
+
}[] | null | undefined;
|
|
1373
1360
|
};
|
|
1374
1361
|
} | {
|
|
1375
1362
|
type: "SCHEDULED";
|
|
@@ -1393,7 +1380,6 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
1393
1380
|
};
|
|
1394
1381
|
} | null | undefined;
|
|
1395
1382
|
accountId?: string | null | undefined;
|
|
1396
|
-
requestId?: string | null | undefined;
|
|
1397
1383
|
targetDate?: Date | null | undefined;
|
|
1398
1384
|
}>>>;
|
|
1399
1385
|
platforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -1429,8 +1415,8 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
1429
1415
|
conversationsMaxDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1430
1416
|
}, "strip", z.ZodTypeAny, {
|
|
1431
1417
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
1432
|
-
name: string;
|
|
1433
1418
|
userId: string | number;
|
|
1419
|
+
name: string;
|
|
1434
1420
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1435
1421
|
accountId: string;
|
|
1436
1422
|
locale?: string | null | undefined;
|
|
@@ -1443,8 +1429,8 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
1443
1429
|
conversationsMaxDelay?: number | null | undefined;
|
|
1444
1430
|
}, {
|
|
1445
1431
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
1446
|
-
name: string;
|
|
1447
1432
|
userId: string | number;
|
|
1433
|
+
name: string;
|
|
1448
1434
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1449
1435
|
accountId: string;
|
|
1450
1436
|
locale?: string | null | undefined;
|
|
@@ -1463,11 +1449,11 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
1463
1449
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
1464
1450
|
id: string;
|
|
1465
1451
|
createdAt: Date;
|
|
1452
|
+
updatedAt: Date;
|
|
1466
1453
|
accountId: string;
|
|
1467
1454
|
itemId: string | number;
|
|
1468
1455
|
platformId: string;
|
|
1469
1456
|
platformUrl: string;
|
|
1470
|
-
updatedAt: Date;
|
|
1471
1457
|
platformPrice: number;
|
|
1472
1458
|
publishedAt: Date;
|
|
1473
1459
|
favoritesCount?: number | null | undefined;
|
|
@@ -1475,8 +1461,8 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
1475
1461
|
conversationId?: string | null | undefined;
|
|
1476
1462
|
account?: {
|
|
1477
1463
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
1478
|
-
name: string;
|
|
1479
1464
|
userId: string | number;
|
|
1465
|
+
name: string;
|
|
1480
1466
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1481
1467
|
accountId: string;
|
|
1482
1468
|
locale?: string | null | undefined;
|
|
@@ -1492,11 +1478,11 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
1492
1478
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
1493
1479
|
id: string;
|
|
1494
1480
|
createdAt: Date;
|
|
1481
|
+
updatedAt: Date;
|
|
1495
1482
|
accountId: string;
|
|
1496
1483
|
itemId: string | number;
|
|
1497
1484
|
platformId: string;
|
|
1498
1485
|
platformUrl: string;
|
|
1499
|
-
updatedAt: Date;
|
|
1500
1486
|
platformPrice: number;
|
|
1501
1487
|
publishedAt: Date;
|
|
1502
1488
|
favoritesCount?: number | null | undefined;
|
|
@@ -1504,8 +1490,8 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
1504
1490
|
conversationId?: string | null | undefined;
|
|
1505
1491
|
account?: {
|
|
1506
1492
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
1507
|
-
name: string;
|
|
1508
1493
|
userId: string | number;
|
|
1494
|
+
name: string;
|
|
1509
1495
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1510
1496
|
accountId: string;
|
|
1511
1497
|
locale?: string | null | undefined;
|
|
@@ -1522,19 +1508,20 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
1522
1508
|
updatedAt: z.ZodDate;
|
|
1523
1509
|
}, "strip", z.ZodTypeAny, {
|
|
1524
1510
|
id: string | number;
|
|
1525
|
-
name: string;
|
|
1526
1511
|
createdAt: Date;
|
|
1527
|
-
userId: string | number;
|
|
1528
1512
|
updatedAt: Date;
|
|
1513
|
+
userId: string | number;
|
|
1514
|
+
name: string;
|
|
1529
1515
|
sold: boolean;
|
|
1516
|
+
state?: number | null | undefined;
|
|
1530
1517
|
fees?: {
|
|
1531
1518
|
value: number;
|
|
1532
1519
|
type: string;
|
|
1533
1520
|
id: string | number;
|
|
1534
|
-
name: string;
|
|
1535
1521
|
createdAt: Date;
|
|
1536
|
-
userId: string | number;
|
|
1537
1522
|
updatedAt: Date;
|
|
1523
|
+
userId: string | number;
|
|
1524
|
+
name: string;
|
|
1538
1525
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
1539
1526
|
startDate: Date;
|
|
1540
1527
|
active: boolean;
|
|
@@ -1552,14 +1539,13 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
1552
1539
|
estimatedPrice?: number | null | undefined;
|
|
1553
1540
|
purchaseDate?: Date | null | undefined;
|
|
1554
1541
|
sellingDate?: Date | null | undefined;
|
|
1555
|
-
state?: number | null | undefined;
|
|
1556
1542
|
labels?: {
|
|
1557
1543
|
itemId: string | number;
|
|
1558
1544
|
labelId: string | number;
|
|
1559
1545
|
label?: {
|
|
1560
1546
|
id: string | number;
|
|
1561
|
-
name: string;
|
|
1562
1547
|
createdAt: Date;
|
|
1548
|
+
name: string;
|
|
1563
1549
|
isUserLabel: boolean;
|
|
1564
1550
|
itemCount?: number | null | undefined;
|
|
1565
1551
|
userId?: string | number | null | undefined;
|
|
@@ -1581,11 +1567,11 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
1581
1567
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
1582
1568
|
id: string;
|
|
1583
1569
|
createdAt: Date;
|
|
1570
|
+
updatedAt: Date;
|
|
1584
1571
|
accountId: string;
|
|
1585
1572
|
itemId: string | number;
|
|
1586
1573
|
platformId: string;
|
|
1587
1574
|
platformUrl: string;
|
|
1588
|
-
updatedAt: Date;
|
|
1589
1575
|
platformPrice: number;
|
|
1590
1576
|
publishedAt: Date;
|
|
1591
1577
|
favoritesCount?: number | null | undefined;
|
|
@@ -1593,8 +1579,8 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
1593
1579
|
conversationId?: string | null | undefined;
|
|
1594
1580
|
account?: {
|
|
1595
1581
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
1596
|
-
name: string;
|
|
1597
1582
|
userId: string | number;
|
|
1583
|
+
name: string;
|
|
1598
1584
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1599
1585
|
accountId: string;
|
|
1600
1586
|
locale?: string | null | undefined;
|
|
@@ -1644,6 +1630,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
1644
1630
|
id: string;
|
|
1645
1631
|
createdAt: Date;
|
|
1646
1632
|
itemId: string | number;
|
|
1633
|
+
requestId?: string | null | undefined;
|
|
1647
1634
|
data?: {
|
|
1648
1635
|
type: "ACTION_CANCELED";
|
|
1649
1636
|
data: {
|
|
@@ -1741,7 +1728,6 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
1741
1728
|
type: "REPUBLISHING";
|
|
1742
1729
|
data: {
|
|
1743
1730
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1744
|
-
publishingDate?: Date | null | undefined;
|
|
1745
1731
|
priceDropPayload?: {
|
|
1746
1732
|
value: number;
|
|
1747
1733
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1749,10 +1735,9 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
1749
1735
|
roundStep?: number | null | undefined;
|
|
1750
1736
|
maxRounds?: number | null | undefined;
|
|
1751
1737
|
} | null | undefined;
|
|
1752
|
-
|
|
1753
|
-
sourceAccountId?: string | null | undefined;
|
|
1738
|
+
publishingDate?: Date | null | undefined;
|
|
1754
1739
|
targetAccountId?: string | null | undefined;
|
|
1755
|
-
|
|
1740
|
+
isTransfer?: boolean | null | undefined;
|
|
1756
1741
|
};
|
|
1757
1742
|
} | {
|
|
1758
1743
|
type: "REPUBLISHING_RETRY";
|
|
@@ -1762,11 +1747,6 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
1762
1747
|
attemptNumber: number;
|
|
1763
1748
|
previousHistoryId: string;
|
|
1764
1749
|
originalFailureDate: Date;
|
|
1765
|
-
fields?: {
|
|
1766
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1767
|
-
autoFixable: boolean;
|
|
1768
|
-
error?: string | null | undefined;
|
|
1769
|
-
}[] | null | undefined;
|
|
1770
1750
|
priceDropPayload?: {
|
|
1771
1751
|
value: number;
|
|
1772
1752
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1774,6 +1754,11 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
1774
1754
|
roundStep?: number | null | undefined;
|
|
1775
1755
|
maxRounds?: number | null | undefined;
|
|
1776
1756
|
} | null | undefined;
|
|
1757
|
+
fields?: {
|
|
1758
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1759
|
+
autoFixable: boolean;
|
|
1760
|
+
error?: string | null | undefined;
|
|
1761
|
+
}[] | null | undefined;
|
|
1777
1762
|
};
|
|
1778
1763
|
} | {
|
|
1779
1764
|
type: "SCHEDULED";
|
|
@@ -1797,24 +1782,24 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
1797
1782
|
};
|
|
1798
1783
|
} | null | undefined;
|
|
1799
1784
|
accountId?: string | null | undefined;
|
|
1800
|
-
requestId?: string | null | undefined;
|
|
1801
1785
|
targetDate?: Date | null | undefined;
|
|
1802
1786
|
} | null | undefined;
|
|
1803
1787
|
}, {
|
|
1804
1788
|
id: string | number;
|
|
1805
|
-
name: string;
|
|
1806
1789
|
createdAt: Date;
|
|
1807
|
-
userId: string | number;
|
|
1808
1790
|
updatedAt: Date;
|
|
1791
|
+
userId: string | number;
|
|
1792
|
+
name: string;
|
|
1809
1793
|
sold: boolean;
|
|
1794
|
+
state?: number | null | undefined;
|
|
1810
1795
|
fees?: {
|
|
1811
1796
|
value: number;
|
|
1812
1797
|
type: string;
|
|
1813
1798
|
id: string | number;
|
|
1814
|
-
name: string;
|
|
1815
1799
|
createdAt: Date;
|
|
1816
|
-
userId: string | number;
|
|
1817
1800
|
updatedAt: Date;
|
|
1801
|
+
userId: string | number;
|
|
1802
|
+
name: string;
|
|
1818
1803
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
1819
1804
|
startDate: Date;
|
|
1820
1805
|
active: boolean;
|
|
@@ -1832,14 +1817,13 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
1832
1817
|
estimatedPrice?: number | null | undefined;
|
|
1833
1818
|
purchaseDate?: Date | null | undefined;
|
|
1834
1819
|
sellingDate?: Date | null | undefined;
|
|
1835
|
-
state?: number | null | undefined;
|
|
1836
1820
|
labels?: {
|
|
1837
1821
|
itemId: string | number;
|
|
1838
1822
|
labelId: string | number;
|
|
1839
1823
|
label?: {
|
|
1840
1824
|
id: string | number;
|
|
1841
|
-
name: string;
|
|
1842
1825
|
createdAt: Date;
|
|
1826
|
+
name: string;
|
|
1843
1827
|
isUserLabel: boolean;
|
|
1844
1828
|
itemCount?: number | null | undefined;
|
|
1845
1829
|
userId?: string | number | null | undefined;
|
|
@@ -1861,11 +1845,11 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
1861
1845
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
1862
1846
|
id: string;
|
|
1863
1847
|
createdAt: Date;
|
|
1848
|
+
updatedAt: Date;
|
|
1864
1849
|
accountId: string;
|
|
1865
1850
|
itemId: string | number;
|
|
1866
1851
|
platformId: string;
|
|
1867
1852
|
platformUrl: string;
|
|
1868
|
-
updatedAt: Date;
|
|
1869
1853
|
platformPrice: number;
|
|
1870
1854
|
publishedAt: Date;
|
|
1871
1855
|
favoritesCount?: number | null | undefined;
|
|
@@ -1873,8 +1857,8 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
1873
1857
|
conversationId?: string | null | undefined;
|
|
1874
1858
|
account?: {
|
|
1875
1859
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
1876
|
-
name: string;
|
|
1877
1860
|
userId: string | number;
|
|
1861
|
+
name: string;
|
|
1878
1862
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1879
1863
|
accountId: string;
|
|
1880
1864
|
locale?: string | null | undefined;
|
|
@@ -1924,6 +1908,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
1924
1908
|
id: string;
|
|
1925
1909
|
createdAt: Date;
|
|
1926
1910
|
itemId: string | number;
|
|
1911
|
+
requestId?: string | null | undefined;
|
|
1927
1912
|
data?: {
|
|
1928
1913
|
type: "ACTION_CANCELED";
|
|
1929
1914
|
data: {
|
|
@@ -2021,7 +2006,6 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2021
2006
|
type: "REPUBLISHING";
|
|
2022
2007
|
data: {
|
|
2023
2008
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2024
|
-
publishingDate?: Date | null | undefined;
|
|
2025
2009
|
priceDropPayload?: {
|
|
2026
2010
|
value: number;
|
|
2027
2011
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2029,10 +2013,9 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2029
2013
|
roundStep?: number | null | undefined;
|
|
2030
2014
|
maxRounds?: number | null | undefined;
|
|
2031
2015
|
} | null | undefined;
|
|
2032
|
-
|
|
2033
|
-
sourceAccountId?: string | null | undefined;
|
|
2016
|
+
publishingDate?: Date | null | undefined;
|
|
2034
2017
|
targetAccountId?: string | null | undefined;
|
|
2035
|
-
|
|
2018
|
+
isTransfer?: boolean | null | undefined;
|
|
2036
2019
|
};
|
|
2037
2020
|
} | {
|
|
2038
2021
|
type: "REPUBLISHING_RETRY";
|
|
@@ -2042,11 +2025,6 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2042
2025
|
attemptNumber: number;
|
|
2043
2026
|
previousHistoryId: string;
|
|
2044
2027
|
originalFailureDate: Date;
|
|
2045
|
-
fields?: {
|
|
2046
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2047
|
-
autoFixable: boolean;
|
|
2048
|
-
error?: string | null | undefined;
|
|
2049
|
-
}[] | null | undefined;
|
|
2050
2028
|
priceDropPayload?: {
|
|
2051
2029
|
value: number;
|
|
2052
2030
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2054,6 +2032,11 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2054
2032
|
roundStep?: number | null | undefined;
|
|
2055
2033
|
maxRounds?: number | null | undefined;
|
|
2056
2034
|
} | null | undefined;
|
|
2035
|
+
fields?: {
|
|
2036
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2037
|
+
autoFixable: boolean;
|
|
2038
|
+
error?: string | null | undefined;
|
|
2039
|
+
}[] | null | undefined;
|
|
2057
2040
|
};
|
|
2058
2041
|
} | {
|
|
2059
2042
|
type: "SCHEDULED";
|
|
@@ -2077,7 +2060,6 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2077
2060
|
};
|
|
2078
2061
|
} | null | undefined;
|
|
2079
2062
|
accountId?: string | null | undefined;
|
|
2080
|
-
requestId?: string | null | undefined;
|
|
2081
2063
|
targetDate?: Date | null | undefined;
|
|
2082
2064
|
} | null | undefined;
|
|
2083
2065
|
}>;
|
|
@@ -2090,15 +2072,15 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2090
2072
|
itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2091
2073
|
}, "strip", z.ZodTypeAny, {
|
|
2092
2074
|
id: string | number;
|
|
2093
|
-
name: string;
|
|
2094
2075
|
createdAt: Date;
|
|
2076
|
+
name: string;
|
|
2095
2077
|
isUserLabel: boolean;
|
|
2096
2078
|
itemCount?: number | null | undefined;
|
|
2097
2079
|
userId?: string | number | null | undefined;
|
|
2098
2080
|
}, {
|
|
2099
2081
|
id: string | number;
|
|
2100
|
-
name: string;
|
|
2101
2082
|
createdAt: Date;
|
|
2083
|
+
name: string;
|
|
2102
2084
|
isUserLabel: boolean;
|
|
2103
2085
|
itemCount?: number | null | undefined;
|
|
2104
2086
|
userId?: string | number | null | undefined;
|
|
@@ -2106,27 +2088,28 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2106
2088
|
}, "strip", z.ZodTypeAny, {
|
|
2107
2089
|
newUserLabels: {
|
|
2108
2090
|
id: string | number;
|
|
2109
|
-
name: string;
|
|
2110
2091
|
createdAt: Date;
|
|
2092
|
+
name: string;
|
|
2111
2093
|
isUserLabel: boolean;
|
|
2112
2094
|
itemCount?: number | null | undefined;
|
|
2113
2095
|
userId?: string | number | null | undefined;
|
|
2114
2096
|
}[];
|
|
2115
2097
|
item: {
|
|
2116
2098
|
id: string | number;
|
|
2117
|
-
name: string;
|
|
2118
2099
|
createdAt: Date;
|
|
2119
|
-
userId: string | number;
|
|
2120
2100
|
updatedAt: Date;
|
|
2101
|
+
userId: string | number;
|
|
2102
|
+
name: string;
|
|
2121
2103
|
sold: boolean;
|
|
2104
|
+
state?: number | null | undefined;
|
|
2122
2105
|
fees?: {
|
|
2123
2106
|
value: number;
|
|
2124
2107
|
type: string;
|
|
2125
2108
|
id: string | number;
|
|
2126
|
-
name: string;
|
|
2127
2109
|
createdAt: Date;
|
|
2128
|
-
userId: string | number;
|
|
2129
2110
|
updatedAt: Date;
|
|
2111
|
+
userId: string | number;
|
|
2112
|
+
name: string;
|
|
2130
2113
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
2131
2114
|
startDate: Date;
|
|
2132
2115
|
active: boolean;
|
|
@@ -2144,14 +2127,13 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2144
2127
|
estimatedPrice?: number | null | undefined;
|
|
2145
2128
|
purchaseDate?: Date | null | undefined;
|
|
2146
2129
|
sellingDate?: Date | null | undefined;
|
|
2147
|
-
state?: number | null | undefined;
|
|
2148
2130
|
labels?: {
|
|
2149
2131
|
itemId: string | number;
|
|
2150
2132
|
labelId: string | number;
|
|
2151
2133
|
label?: {
|
|
2152
2134
|
id: string | number;
|
|
2153
|
-
name: string;
|
|
2154
2135
|
createdAt: Date;
|
|
2136
|
+
name: string;
|
|
2155
2137
|
isUserLabel: boolean;
|
|
2156
2138
|
itemCount?: number | null | undefined;
|
|
2157
2139
|
userId?: string | number | null | undefined;
|
|
@@ -2173,11 +2155,11 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2173
2155
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2174
2156
|
id: string;
|
|
2175
2157
|
createdAt: Date;
|
|
2158
|
+
updatedAt: Date;
|
|
2176
2159
|
accountId: string;
|
|
2177
2160
|
itemId: string | number;
|
|
2178
2161
|
platformId: string;
|
|
2179
2162
|
platformUrl: string;
|
|
2180
|
-
updatedAt: Date;
|
|
2181
2163
|
platformPrice: number;
|
|
2182
2164
|
publishedAt: Date;
|
|
2183
2165
|
favoritesCount?: number | null | undefined;
|
|
@@ -2185,8 +2167,8 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2185
2167
|
conversationId?: string | null | undefined;
|
|
2186
2168
|
account?: {
|
|
2187
2169
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2188
|
-
name: string;
|
|
2189
2170
|
userId: string | number;
|
|
2171
|
+
name: string;
|
|
2190
2172
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2191
2173
|
accountId: string;
|
|
2192
2174
|
locale?: string | null | undefined;
|
|
@@ -2236,6 +2218,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2236
2218
|
id: string;
|
|
2237
2219
|
createdAt: Date;
|
|
2238
2220
|
itemId: string | number;
|
|
2221
|
+
requestId?: string | null | undefined;
|
|
2239
2222
|
data?: {
|
|
2240
2223
|
type: "ACTION_CANCELED";
|
|
2241
2224
|
data: {
|
|
@@ -2333,7 +2316,6 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2333
2316
|
type: "REPUBLISHING";
|
|
2334
2317
|
data: {
|
|
2335
2318
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2336
|
-
publishingDate?: Date | null | undefined;
|
|
2337
2319
|
priceDropPayload?: {
|
|
2338
2320
|
value: number;
|
|
2339
2321
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2341,10 +2323,9 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2341
2323
|
roundStep?: number | null | undefined;
|
|
2342
2324
|
maxRounds?: number | null | undefined;
|
|
2343
2325
|
} | null | undefined;
|
|
2344
|
-
|
|
2345
|
-
sourceAccountId?: string | null | undefined;
|
|
2326
|
+
publishingDate?: Date | null | undefined;
|
|
2346
2327
|
targetAccountId?: string | null | undefined;
|
|
2347
|
-
|
|
2328
|
+
isTransfer?: boolean | null | undefined;
|
|
2348
2329
|
};
|
|
2349
2330
|
} | {
|
|
2350
2331
|
type: "REPUBLISHING_RETRY";
|
|
@@ -2354,11 +2335,6 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2354
2335
|
attemptNumber: number;
|
|
2355
2336
|
previousHistoryId: string;
|
|
2356
2337
|
originalFailureDate: Date;
|
|
2357
|
-
fields?: {
|
|
2358
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2359
|
-
autoFixable: boolean;
|
|
2360
|
-
error?: string | null | undefined;
|
|
2361
|
-
}[] | null | undefined;
|
|
2362
2338
|
priceDropPayload?: {
|
|
2363
2339
|
value: number;
|
|
2364
2340
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2366,6 +2342,11 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2366
2342
|
roundStep?: number | null | undefined;
|
|
2367
2343
|
maxRounds?: number | null | undefined;
|
|
2368
2344
|
} | null | undefined;
|
|
2345
|
+
fields?: {
|
|
2346
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2347
|
+
autoFixable: boolean;
|
|
2348
|
+
error?: string | null | undefined;
|
|
2349
|
+
}[] | null | undefined;
|
|
2369
2350
|
};
|
|
2370
2351
|
} | {
|
|
2371
2352
|
type: "SCHEDULED";
|
|
@@ -2389,34 +2370,34 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2389
2370
|
};
|
|
2390
2371
|
} | null | undefined;
|
|
2391
2372
|
accountId?: string | null | undefined;
|
|
2392
|
-
requestId?: string | null | undefined;
|
|
2393
2373
|
targetDate?: Date | null | undefined;
|
|
2394
2374
|
} | null | undefined;
|
|
2395
2375
|
};
|
|
2396
2376
|
}, {
|
|
2397
2377
|
newUserLabels: {
|
|
2398
2378
|
id: string | number;
|
|
2399
|
-
name: string;
|
|
2400
2379
|
createdAt: Date;
|
|
2380
|
+
name: string;
|
|
2401
2381
|
isUserLabel: boolean;
|
|
2402
2382
|
itemCount?: number | null | undefined;
|
|
2403
2383
|
userId?: string | number | null | undefined;
|
|
2404
2384
|
}[];
|
|
2405
2385
|
item: {
|
|
2406
2386
|
id: string | number;
|
|
2407
|
-
name: string;
|
|
2408
2387
|
createdAt: Date;
|
|
2409
|
-
userId: string | number;
|
|
2410
2388
|
updatedAt: Date;
|
|
2389
|
+
userId: string | number;
|
|
2390
|
+
name: string;
|
|
2411
2391
|
sold: boolean;
|
|
2392
|
+
state?: number | null | undefined;
|
|
2412
2393
|
fees?: {
|
|
2413
2394
|
value: number;
|
|
2414
2395
|
type: string;
|
|
2415
2396
|
id: string | number;
|
|
2416
|
-
name: string;
|
|
2417
2397
|
createdAt: Date;
|
|
2418
|
-
userId: string | number;
|
|
2419
2398
|
updatedAt: Date;
|
|
2399
|
+
userId: string | number;
|
|
2400
|
+
name: string;
|
|
2420
2401
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
2421
2402
|
startDate: Date;
|
|
2422
2403
|
active: boolean;
|
|
@@ -2434,14 +2415,13 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2434
2415
|
estimatedPrice?: number | null | undefined;
|
|
2435
2416
|
purchaseDate?: Date | null | undefined;
|
|
2436
2417
|
sellingDate?: Date | null | undefined;
|
|
2437
|
-
state?: number | null | undefined;
|
|
2438
2418
|
labels?: {
|
|
2439
2419
|
itemId: string | number;
|
|
2440
2420
|
labelId: string | number;
|
|
2441
2421
|
label?: {
|
|
2442
2422
|
id: string | number;
|
|
2443
|
-
name: string;
|
|
2444
2423
|
createdAt: Date;
|
|
2424
|
+
name: string;
|
|
2445
2425
|
isUserLabel: boolean;
|
|
2446
2426
|
itemCount?: number | null | undefined;
|
|
2447
2427
|
userId?: string | number | null | undefined;
|
|
@@ -2463,11 +2443,11 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2463
2443
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2464
2444
|
id: string;
|
|
2465
2445
|
createdAt: Date;
|
|
2446
|
+
updatedAt: Date;
|
|
2466
2447
|
accountId: string;
|
|
2467
2448
|
itemId: string | number;
|
|
2468
2449
|
platformId: string;
|
|
2469
2450
|
platformUrl: string;
|
|
2470
|
-
updatedAt: Date;
|
|
2471
2451
|
platformPrice: number;
|
|
2472
2452
|
publishedAt: Date;
|
|
2473
2453
|
favoritesCount?: number | null | undefined;
|
|
@@ -2475,8 +2455,8 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2475
2455
|
conversationId?: string | null | undefined;
|
|
2476
2456
|
account?: {
|
|
2477
2457
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2478
|
-
name: string;
|
|
2479
2458
|
userId: string | number;
|
|
2459
|
+
name: string;
|
|
2480
2460
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2481
2461
|
accountId: string;
|
|
2482
2462
|
locale?: string | null | undefined;
|
|
@@ -2526,6 +2506,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2526
2506
|
id: string;
|
|
2527
2507
|
createdAt: Date;
|
|
2528
2508
|
itemId: string | number;
|
|
2509
|
+
requestId?: string | null | undefined;
|
|
2529
2510
|
data?: {
|
|
2530
2511
|
type: "ACTION_CANCELED";
|
|
2531
2512
|
data: {
|
|
@@ -2623,7 +2604,6 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2623
2604
|
type: "REPUBLISHING";
|
|
2624
2605
|
data: {
|
|
2625
2606
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2626
|
-
publishingDate?: Date | null | undefined;
|
|
2627
2607
|
priceDropPayload?: {
|
|
2628
2608
|
value: number;
|
|
2629
2609
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2631,10 +2611,9 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2631
2611
|
roundStep?: number | null | undefined;
|
|
2632
2612
|
maxRounds?: number | null | undefined;
|
|
2633
2613
|
} | null | undefined;
|
|
2634
|
-
|
|
2635
|
-
sourceAccountId?: string | null | undefined;
|
|
2614
|
+
publishingDate?: Date | null | undefined;
|
|
2636
2615
|
targetAccountId?: string | null | undefined;
|
|
2637
|
-
|
|
2616
|
+
isTransfer?: boolean | null | undefined;
|
|
2638
2617
|
};
|
|
2639
2618
|
} | {
|
|
2640
2619
|
type: "REPUBLISHING_RETRY";
|
|
@@ -2644,11 +2623,6 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2644
2623
|
attemptNumber: number;
|
|
2645
2624
|
previousHistoryId: string;
|
|
2646
2625
|
originalFailureDate: Date;
|
|
2647
|
-
fields?: {
|
|
2648
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2649
|
-
autoFixable: boolean;
|
|
2650
|
-
error?: string | null | undefined;
|
|
2651
|
-
}[] | null | undefined;
|
|
2652
2626
|
priceDropPayload?: {
|
|
2653
2627
|
value: number;
|
|
2654
2628
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2656,6 +2630,11 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2656
2630
|
roundStep?: number | null | undefined;
|
|
2657
2631
|
maxRounds?: number | null | undefined;
|
|
2658
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;
|
|
2659
2638
|
};
|
|
2660
2639
|
} | {
|
|
2661
2640
|
type: "SCHEDULED";
|
|
@@ -2679,7 +2658,6 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
2679
2658
|
};
|
|
2680
2659
|
} | null | undefined;
|
|
2681
2660
|
accountId?: string | null | undefined;
|
|
2682
|
-
requestId?: string | null | undefined;
|
|
2683
2661
|
targetDate?: Date | null | undefined;
|
|
2684
2662
|
} | null | undefined;
|
|
2685
2663
|
};
|