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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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
|
}>, "many">;
|
|
@@ -2090,15 +2072,15 @@ export declare const CreatedItemsSchema: 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,19 +2088,20 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
2106
2088
|
}, "strip", z.ZodTypeAny, {
|
|
2107
2089
|
items: {
|
|
2108
2090
|
id: string | number;
|
|
2109
|
-
name: string;
|
|
2110
2091
|
createdAt: Date;
|
|
2111
|
-
userId: string | number;
|
|
2112
2092
|
updatedAt: Date;
|
|
2093
|
+
userId: string | number;
|
|
2094
|
+
name: string;
|
|
2113
2095
|
sold: boolean;
|
|
2096
|
+
state?: number | null | undefined;
|
|
2114
2097
|
fees?: {
|
|
2115
2098
|
value: number;
|
|
2116
2099
|
type: string;
|
|
2117
2100
|
id: string | number;
|
|
2118
|
-
name: string;
|
|
2119
2101
|
createdAt: Date;
|
|
2120
|
-
userId: string | number;
|
|
2121
2102
|
updatedAt: Date;
|
|
2103
|
+
userId: string | number;
|
|
2104
|
+
name: string;
|
|
2122
2105
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
2123
2106
|
startDate: Date;
|
|
2124
2107
|
active: boolean;
|
|
@@ -2136,14 +2119,13 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
2136
2119
|
estimatedPrice?: number | null | undefined;
|
|
2137
2120
|
purchaseDate?: Date | null | undefined;
|
|
2138
2121
|
sellingDate?: Date | null | undefined;
|
|
2139
|
-
state?: number | null | undefined;
|
|
2140
2122
|
labels?: {
|
|
2141
2123
|
itemId: string | number;
|
|
2142
2124
|
labelId: string | number;
|
|
2143
2125
|
label?: {
|
|
2144
2126
|
id: string | number;
|
|
2145
|
-
name: string;
|
|
2146
2127
|
createdAt: Date;
|
|
2128
|
+
name: string;
|
|
2147
2129
|
isUserLabel: boolean;
|
|
2148
2130
|
itemCount?: number | null | undefined;
|
|
2149
2131
|
userId?: string | number | null | undefined;
|
|
@@ -2165,11 +2147,11 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
2165
2147
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2166
2148
|
id: string;
|
|
2167
2149
|
createdAt: Date;
|
|
2150
|
+
updatedAt: Date;
|
|
2168
2151
|
accountId: string;
|
|
2169
2152
|
itemId: string | number;
|
|
2170
2153
|
platformId: string;
|
|
2171
2154
|
platformUrl: string;
|
|
2172
|
-
updatedAt: Date;
|
|
2173
2155
|
platformPrice: number;
|
|
2174
2156
|
publishedAt: Date;
|
|
2175
2157
|
favoritesCount?: number | null | undefined;
|
|
@@ -2177,8 +2159,8 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
2177
2159
|
conversationId?: string | null | undefined;
|
|
2178
2160
|
account?: {
|
|
2179
2161
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2180
|
-
name: string;
|
|
2181
2162
|
userId: string | number;
|
|
2163
|
+
name: string;
|
|
2182
2164
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2183
2165
|
accountId: string;
|
|
2184
2166
|
locale?: string | null | undefined;
|
|
@@ -2228,6 +2210,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
2228
2210
|
id: string;
|
|
2229
2211
|
createdAt: Date;
|
|
2230
2212
|
itemId: string | number;
|
|
2213
|
+
requestId?: string | null | undefined;
|
|
2231
2214
|
data?: {
|
|
2232
2215
|
type: "ACTION_CANCELED";
|
|
2233
2216
|
data: {
|
|
@@ -2325,7 +2308,6 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
2325
2308
|
type: "REPUBLISHING";
|
|
2326
2309
|
data: {
|
|
2327
2310
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2328
|
-
publishingDate?: Date | null | undefined;
|
|
2329
2311
|
priceDropPayload?: {
|
|
2330
2312
|
value: number;
|
|
2331
2313
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2333,10 +2315,9 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
2333
2315
|
roundStep?: number | null | undefined;
|
|
2334
2316
|
maxRounds?: number | null | undefined;
|
|
2335
2317
|
} | null | undefined;
|
|
2336
|
-
|
|
2337
|
-
sourceAccountId?: string | null | undefined;
|
|
2318
|
+
publishingDate?: Date | null | undefined;
|
|
2338
2319
|
targetAccountId?: string | null | undefined;
|
|
2339
|
-
|
|
2320
|
+
isTransfer?: boolean | null | undefined;
|
|
2340
2321
|
};
|
|
2341
2322
|
} | {
|
|
2342
2323
|
type: "REPUBLISHING_RETRY";
|
|
@@ -2346,11 +2327,6 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
2346
2327
|
attemptNumber: number;
|
|
2347
2328
|
previousHistoryId: string;
|
|
2348
2329
|
originalFailureDate: Date;
|
|
2349
|
-
fields?: {
|
|
2350
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2351
|
-
autoFixable: boolean;
|
|
2352
|
-
error?: string | null | undefined;
|
|
2353
|
-
}[] | null | undefined;
|
|
2354
2330
|
priceDropPayload?: {
|
|
2355
2331
|
value: number;
|
|
2356
2332
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2358,6 +2334,11 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
2358
2334
|
roundStep?: number | null | undefined;
|
|
2359
2335
|
maxRounds?: number | null | undefined;
|
|
2360
2336
|
} | null | undefined;
|
|
2337
|
+
fields?: {
|
|
2338
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2339
|
+
autoFixable: boolean;
|
|
2340
|
+
error?: string | null | undefined;
|
|
2341
|
+
}[] | null | undefined;
|
|
2361
2342
|
};
|
|
2362
2343
|
} | {
|
|
2363
2344
|
type: "SCHEDULED";
|
|
@@ -2381,14 +2362,13 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
2381
2362
|
};
|
|
2382
2363
|
} | null | undefined;
|
|
2383
2364
|
accountId?: string | null | undefined;
|
|
2384
|
-
requestId?: string | null | undefined;
|
|
2385
2365
|
targetDate?: Date | null | undefined;
|
|
2386
2366
|
} | null | undefined;
|
|
2387
2367
|
}[];
|
|
2388
2368
|
newUserLabels: {
|
|
2389
2369
|
id: string | number;
|
|
2390
|
-
name: string;
|
|
2391
2370
|
createdAt: Date;
|
|
2371
|
+
name: string;
|
|
2392
2372
|
isUserLabel: boolean;
|
|
2393
2373
|
itemCount?: number | null | undefined;
|
|
2394
2374
|
userId?: string | number | null | undefined;
|
|
@@ -2396,19 +2376,20 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
2396
2376
|
}, {
|
|
2397
2377
|
items: {
|
|
2398
2378
|
id: string | number;
|
|
2399
|
-
name: string;
|
|
2400
2379
|
createdAt: Date;
|
|
2401
|
-
userId: string | number;
|
|
2402
2380
|
updatedAt: Date;
|
|
2381
|
+
userId: string | number;
|
|
2382
|
+
name: string;
|
|
2403
2383
|
sold: boolean;
|
|
2384
|
+
state?: number | null | undefined;
|
|
2404
2385
|
fees?: {
|
|
2405
2386
|
value: number;
|
|
2406
2387
|
type: string;
|
|
2407
2388
|
id: string | number;
|
|
2408
|
-
name: string;
|
|
2409
2389
|
createdAt: Date;
|
|
2410
|
-
userId: string | number;
|
|
2411
2390
|
updatedAt: Date;
|
|
2391
|
+
userId: string | number;
|
|
2392
|
+
name: string;
|
|
2412
2393
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
2413
2394
|
startDate: Date;
|
|
2414
2395
|
active: boolean;
|
|
@@ -2426,14 +2407,13 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
2426
2407
|
estimatedPrice?: number | null | undefined;
|
|
2427
2408
|
purchaseDate?: Date | null | undefined;
|
|
2428
2409
|
sellingDate?: Date | null | undefined;
|
|
2429
|
-
state?: number | null | undefined;
|
|
2430
2410
|
labels?: {
|
|
2431
2411
|
itemId: string | number;
|
|
2432
2412
|
labelId: string | number;
|
|
2433
2413
|
label?: {
|
|
2434
2414
|
id: string | number;
|
|
2435
|
-
name: string;
|
|
2436
2415
|
createdAt: Date;
|
|
2416
|
+
name: string;
|
|
2437
2417
|
isUserLabel: boolean;
|
|
2438
2418
|
itemCount?: number | null | undefined;
|
|
2439
2419
|
userId?: string | number | null | undefined;
|
|
@@ -2455,11 +2435,11 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
2455
2435
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2456
2436
|
id: string;
|
|
2457
2437
|
createdAt: Date;
|
|
2438
|
+
updatedAt: Date;
|
|
2458
2439
|
accountId: string;
|
|
2459
2440
|
itemId: string | number;
|
|
2460
2441
|
platformId: string;
|
|
2461
2442
|
platformUrl: string;
|
|
2462
|
-
updatedAt: Date;
|
|
2463
2443
|
platformPrice: number;
|
|
2464
2444
|
publishedAt: Date;
|
|
2465
2445
|
favoritesCount?: number | null | undefined;
|
|
@@ -2467,8 +2447,8 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
2467
2447
|
conversationId?: string | null | undefined;
|
|
2468
2448
|
account?: {
|
|
2469
2449
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2470
|
-
name: string;
|
|
2471
2450
|
userId: string | number;
|
|
2451
|
+
name: string;
|
|
2472
2452
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2473
2453
|
accountId: string;
|
|
2474
2454
|
locale?: string | null | undefined;
|
|
@@ -2518,6 +2498,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
2518
2498
|
id: string;
|
|
2519
2499
|
createdAt: Date;
|
|
2520
2500
|
itemId: string | number;
|
|
2501
|
+
requestId?: string | null | undefined;
|
|
2521
2502
|
data?: {
|
|
2522
2503
|
type: "ACTION_CANCELED";
|
|
2523
2504
|
data: {
|
|
@@ -2615,7 +2596,6 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
2615
2596
|
type: "REPUBLISHING";
|
|
2616
2597
|
data: {
|
|
2617
2598
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2618
|
-
publishingDate?: Date | null | undefined;
|
|
2619
2599
|
priceDropPayload?: {
|
|
2620
2600
|
value: number;
|
|
2621
2601
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2623,10 +2603,9 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
2623
2603
|
roundStep?: number | null | undefined;
|
|
2624
2604
|
maxRounds?: number | null | undefined;
|
|
2625
2605
|
} | null | undefined;
|
|
2626
|
-
|
|
2627
|
-
sourceAccountId?: string | null | undefined;
|
|
2606
|
+
publishingDate?: Date | null | undefined;
|
|
2628
2607
|
targetAccountId?: string | null | undefined;
|
|
2629
|
-
|
|
2608
|
+
isTransfer?: boolean | null | undefined;
|
|
2630
2609
|
};
|
|
2631
2610
|
} | {
|
|
2632
2611
|
type: "REPUBLISHING_RETRY";
|
|
@@ -2636,11 +2615,6 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
2636
2615
|
attemptNumber: number;
|
|
2637
2616
|
previousHistoryId: string;
|
|
2638
2617
|
originalFailureDate: Date;
|
|
2639
|
-
fields?: {
|
|
2640
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2641
|
-
autoFixable: boolean;
|
|
2642
|
-
error?: string | null | undefined;
|
|
2643
|
-
}[] | null | undefined;
|
|
2644
2618
|
priceDropPayload?: {
|
|
2645
2619
|
value: number;
|
|
2646
2620
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2648,6 +2622,11 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
2648
2622
|
roundStep?: number | null | undefined;
|
|
2649
2623
|
maxRounds?: number | null | undefined;
|
|
2650
2624
|
} | null | undefined;
|
|
2625
|
+
fields?: {
|
|
2626
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2627
|
+
autoFixable: boolean;
|
|
2628
|
+
error?: string | null | undefined;
|
|
2629
|
+
}[] | null | undefined;
|
|
2651
2630
|
};
|
|
2652
2631
|
} | {
|
|
2653
2632
|
type: "SCHEDULED";
|
|
@@ -2671,14 +2650,13 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
2671
2650
|
};
|
|
2672
2651
|
} | null | undefined;
|
|
2673
2652
|
accountId?: string | null | undefined;
|
|
2674
|
-
requestId?: string | null | undefined;
|
|
2675
2653
|
targetDate?: Date | null | undefined;
|
|
2676
2654
|
} | null | undefined;
|
|
2677
2655
|
}[];
|
|
2678
2656
|
newUserLabels: {
|
|
2679
2657
|
id: string | number;
|
|
2680
|
-
name: string;
|
|
2681
2658
|
createdAt: Date;
|
|
2659
|
+
name: string;
|
|
2682
2660
|
isUserLabel: boolean;
|
|
2683
2661
|
itemCount?: number | null | undefined;
|
|
2684
2662
|
userId?: string | number | null | undefined;
|