controlresell 2.26.6 → 2.26.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/com/controlresell/api/requests/coach/AskCoachRequest.d.ts +4 -4
- package/src/com/controlresell/api/requests/customers/CreateCustomerRequest.d.ts +2 -2
- package/src/com/controlresell/api/requests/files/CreatePresignedFileRequest.d.ts +2 -2
- package/src/com/controlresell/api/requests/items/boost/BoostRequest.d.ts +3 -3
- package/src/com/controlresell/api/requests/items/cancel/CancelRequest.d.ts +2 -2
- package/src/com/controlresell/api/requests/items/forms/FormOption.d.ts +2 -2
- package/src/com/controlresell/api/requests/items/forms/FormOptionGroup.d.ts +6 -6
- package/src/com/controlresell/api/requests/items/forms/FormOptionPickRequest.d.ts +14 -14
- package/src/com/controlresell/api/requests/items/publish/AutomaticPublishRequestItem.d.ts +2 -2
- package/src/com/controlresell/api/requests/items/publish/ManualPublishRequestItem.d.ts +6 -6
- package/src/com/controlresell/api/requests/items/publish/PublishRequest.d.ts +16 -16
- package/src/com/controlresell/api/requests/items/publish/PublishRequestItems.d.ts +16 -16
- package/src/com/controlresell/api/requests/items/publish/PublishTimeSlot.d.ts +2 -2
- package/src/com/controlresell/api/requests/items/republish/RepublishRequest.d.ts +22 -22
- package/src/com/controlresell/api/requests/items/update/UpdateRequest.d.ts +29 -29
- package/src/com/controlresell/api/requests/subscriptions/ChangeSubscriptionPlanRequest.d.ts +4 -4
- package/src/com/controlresell/api/requests/subscriptions/CreateSubscriptionPaymentLinkRequest.d.ts +4 -4
- package/src/com/controlresell/api/requests/subscriptions/SubscriptionLevelQuantity.d.ts +2 -2
- package/src/com/controlresell/api/responses/activation/ActivationResponse.d.ts +10 -10
- package/src/com/controlresell/api/responses/activity/ActivityDayLevel.d.ts +4 -0
- package/src/com/controlresell/api/responses/activity/ActivityDayLevel.d.ts.map +1 -0
- package/src/com/controlresell/api/responses/activity/ActivityDayLevel.js +5 -0
- package/src/com/controlresell/api/responses/activity/ActivityDayLevel.js.map +1 -0
- package/src/com/controlresell/api/responses/activity/ActivityDayLevel.ts +6 -0
- package/src/com/controlresell/api/responses/activity/ActivityDaySummary.d.ts +41 -2
- package/src/com/controlresell/api/responses/activity/ActivityDaySummary.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/activity/ActivityDaySummary.js +6 -1
- package/src/com/controlresell/api/responses/activity/ActivityDaySummary.js.map +1 -1
- package/src/com/controlresell/api/responses/activity/ActivityDaySummary.ts +6 -1
- package/src/com/controlresell/api/responses/activity/ActivityEvent.d.ts +12 -12
- package/src/com/controlresell/api/responses/activity/ActivityEventsResponse.d.ts +21 -21
- package/src/com/controlresell/api/responses/activity/ActivityFamily.d.ts +4 -0
- package/src/com/controlresell/api/responses/activity/ActivityFamily.d.ts.map +1 -0
- package/src/com/controlresell/api/responses/activity/ActivityFamily.js +5 -0
- package/src/com/controlresell/api/responses/activity/ActivityFamily.js.map +1 -0
- package/src/com/controlresell/api/responses/activity/ActivityFamily.ts +6 -0
- package/src/com/controlresell/api/responses/activity/ActivityFamilyCounts.d.ts +22 -0
- package/src/com/controlresell/api/responses/activity/ActivityFamilyCounts.d.ts.map +1 -0
- package/src/com/controlresell/api/responses/activity/ActivityFamilyCounts.js +10 -0
- package/src/com/controlresell/api/responses/activity/ActivityFamilyCounts.js.map +1 -0
- package/src/com/controlresell/api/responses/activity/ActivityFamilyCounts.ts +11 -0
- package/src/com/controlresell/api/responses/activity/ActivityItem.d.ts +2 -2
- package/src/com/controlresell/api/responses/activity/ActivityMessage.d.ts +1 -1
- package/src/com/controlresell/api/responses/activity/ActivitySummaryResponse.d.ts +121 -25
- package/src/com/controlresell/api/responses/activity/ActivitySummaryResponse.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/activity/ActivitySummaryResponse.js +6 -1
- package/src/com/controlresell/api/responses/activity/ActivitySummaryResponse.js.map +1 -1
- package/src/com/controlresell/api/responses/activity/ActivitySummaryResponse.ts +6 -1
- package/src/com/controlresell/api/responses/coach/CoachAnswerResponse.d.ts +4 -4
- package/src/com/controlresell/api/responses/coach/CoachMessageResponse.d.ts +2 -2
- package/src/com/controlresell/api/responses/coach/CoachThreadResponse.d.ts +6 -6
- package/src/com/controlresell/api/responses/coach/CoachThreadsResponse.d.ts +10 -10
- package/src/com/controlresell/api/responses/conversations/MessageStreamResponse.d.ts +204 -204
- package/src/com/controlresell/api/responses/customers/CustomersResponse.d.ts +24 -24
- package/src/com/controlresell/api/responses/fees/GetAllFeesData.d.ts +12 -12
- package/src/com/controlresell/api/responses/invoices/ListInvoicesResponse.d.ts +76 -76
- package/src/com/controlresell/api/responses/items/FormOptionPickResponse.d.ts +2 -2
- package/src/com/controlresell/api/responses/items/ItemActions.d.ts +1 -1
- package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts +734 -734
- package/src/com/controlresell/api/responses/items/ListedItem.d.ts +491 -491
- package/src/com/controlresell/api/responses/items/ListedItemOrder.d.ts +114 -114
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseBaseResponse.d.ts +2 -2
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseResponse.d.ts +6 -6
- package/src/com/controlresell/api/responses/subscriptions/PromoCodeResponse.d.ts +2 -2
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionLevelResponse.d.ts +2 -2
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionLevelsResponse.d.ts +4 -4
- package/src/com/controlresell/auth/models/preferences/CreatePreferencePayload.d.ts +2 -2
- package/src/com/controlresell/auth/models/preferences/Preference.d.ts +104 -104
- package/src/com/controlresell/auth/models/preferences/PreferenceWithCase.d.ts +298 -298
- package/src/com/controlresell/auth/models/preferences/PreferenceWithChildren.d.ts +238 -238
- package/src/com/controlresell/auth/models/preferences/cases/CreatePreferenceCasePayload.d.ts +70 -70
- package/src/com/controlresell/auth/models/preferences/cases/PartialPreferenceCasePayload.d.ts +68 -68
- package/src/com/controlresell/auth/models/preferences/cases/PreferenceCase.d.ts +74 -74
- 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/PreferenceActionPayload.d.ts +4 -4
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionsPayload.d.ts +14 -14
- package/src/com/controlresell/auth/models/preferences/queue/PreferenceNextActionPayload.d.ts +378 -378
- package/src/com/controlresell/auth/models/preferences/variants/PartialPreferenceCaseVariantPayload.d.ts +50 -50
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariant.d.ts +52 -52
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantDecodedPayload.d.ts +72 -72
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantPayload.d.ts +50 -50
- package/src/com/controlresell/models/auth/LoginPayload.d.ts +2 -2
- package/src/com/controlresell/models/auth/RegisterPayload.d.ts +2 -2
- package/src/com/controlresell/models/business/BusinessProfile.d.ts +6 -6
- package/src/com/controlresell/models/conversations/Conversation.d.ts +64 -64
- package/src/com/controlresell/models/conversations/ConversationOnPlatformUpdateRequest.d.ts +92 -92
- package/src/com/controlresell/models/conversations/ConversationUpdate.d.ts +124 -124
- package/src/com/controlresell/models/conversations/UserConversations.d.ts +94 -94
- package/src/com/controlresell/models/conversations/favorites/ConversationFavorite.d.ts +18 -18
- package/src/com/controlresell/models/conversations/favorites/CreateConversationFavoritePayload.d.ts +2 -2
- package/src/com/controlresell/models/conversations/favorites/ReportRateLimitOnFavorites.d.ts +28 -28
- package/src/com/controlresell/models/conversations/favorites/SubmitFavoritesResponse.d.ts +28 -28
- package/src/com/controlresell/models/conversations/messages/ConversationMessage.d.ts +18 -18
- package/src/com/controlresell/models/conversations/messages/ConversationMessageRequest.d.ts +6 -6
- package/src/com/controlresell/models/conversations/messages/CreateConversationMessagePayload.d.ts +6 -6
- package/src/com/controlresell/models/conversations/messages/PaginatedConversationMessages.d.ts +30 -30
- package/src/com/controlresell/models/conversations/messages/files/ConversationMessageFile.d.ts +6 -6
- package/src/com/controlresell/models/conversations/messages/variables/PreferenceVariable.d.ts +2 -2
- package/src/com/controlresell/models/conversations/offers/ConversationOfferRequest.d.ts +2 -2
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.d.ts +66 -66
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerProfileCase.d.ts +4 -4
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerQuestionCase.d.ts +2 -2
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerTriggerCase.d.ts +4 -4
- package/src/com/controlresell/models/conversations/preferences/ExcludedBuyer.d.ts +2 -2
- package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreference.d.ts +92 -92
- package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreferenceCase.d.ts +28 -28
- package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreferenceVariant.d.ts +12 -12
- package/src/com/controlresell/models/conversations/preferences/NegotiationPreference.d.ts +10 -10
- package/src/com/controlresell/models/conversations/preferences/NegotiationPreferenceCase.d.ts +4 -4
- package/src/com/controlresell/models/conversations/reminders/SendConversationReminderRequest.d.ts +2 -2
- package/src/com/controlresell/models/conversations/users/ConversationUser.d.ts +8 -8
- package/src/com/controlresell/models/conversations/users/CreateConversationUserPayload.d.ts +2 -2
- package/src/com/controlresell/models/conversations/users/UpdateConversationUserPayload.d.ts +4 -4
- package/src/com/controlresell/models/customers/Customer.d.ts +12 -12
- package/src/com/controlresell/models/discord/DiscordLinkCreatedEvent.d.ts +9 -9
- package/src/com/controlresell/models/discord/DiscordLinkDeletedEvent.d.ts +2 -2
- package/src/com/controlresell/models/fees/Fee.d.ts +6 -6
- package/src/com/controlresell/models/files/File.d.ts +2 -2
- package/src/com/controlresell/models/filters/MatchingItem.d.ts +2 -2
- package/src/com/controlresell/models/filters/PreferenceFilter.d.ts +20 -20
- package/src/com/controlresell/models/filters/SavedFilters.d.ts +16 -16
- package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts +16 -16
- package/src/com/controlresell/models/invoices/Invoice.d.ts +50 -50
- package/src/com/controlresell/models/invoices/InvoiceLineItem.d.ts +4 -4
- package/src/com/controlresell/models/items/CreatedItems.d.ts +1443 -1443
- package/src/com/controlresell/models/items/Item.d.ts +456 -456
- package/src/com/controlresell/models/items/ItemFiltersContext.d.ts +8 -8
- package/src/com/controlresell/models/items/ItemPayload.d.ts +18 -18
- package/src/com/controlresell/models/items/ItemSoldPayload.d.ts +2 -2
- package/src/com/controlresell/models/items/ItemUpdate.d.ts +735 -735
- package/src/com/controlresell/models/items/UpdatedItem.d.ts +1443 -1443
- package/src/com/controlresell/models/items/analysis/ItemAnalysisCompletion.d.ts +4 -4
- package/src/com/controlresell/models/items/analysis/ItemAnalysisRequest.d.ts +16 -16
- package/src/com/controlresell/models/items/analysis/ItemAnalysisUpdate.d.ts +735 -735
- package/src/com/controlresell/models/items/analysis/ItemFieldResolution.d.ts +2 -2
- package/src/com/controlresell/models/items/analysis/ItemFieldResolutionsRequest.d.ts +4 -4
- package/src/com/controlresell/models/items/estimation/ItemPriceEstimation.d.ts +4 -4
- package/src/com/controlresell/models/items/estimation/ItemPriceEstimationDraft.d.ts +8 -8
- package/src/com/controlresell/models/items/estimation/ItemPriceEstimationRequest.d.ts +16 -16
- package/src/com/controlresell/models/items/estimation/MarketPriceDistribution.d.ts +2 -2
- package/src/com/controlresell/models/items/files/ItemFile.d.ts +6 -6
- package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.d.ts +102 -102
- package/src/com/controlresell/models/items/history/ItemHistory.d.ts +104 -104
- package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.d.ts +154 -154
- package/src/com/controlresell/models/items/history/data/ItemHistoryFailedToPublishPayload.d.ts +2 -2
- package/src/com/controlresell/models/items/history/data/ItemHistoryImportedPayload.d.ts +36 -36
- package/src/com/controlresell/models/items/history/data/ItemHistoryLifecycleStartedPayload.d.ts +2 -2
- package/src/com/controlresell/models/items/history/data/ItemHistoryRepublishingPayload.d.ts +4 -4
- package/src/com/controlresell/models/items/history/data/ItemHistoryRepublishingRetryPayload.d.ts +4 -4
- package/src/com/controlresell/models/items/history/data/ItemHistoryScheduledRetryPayload.d.ts +4 -4
- package/src/com/controlresell/models/items/labels/ItemLabel.d.ts +4 -4
- package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts +16 -16
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts +50 -50
- package/src/com/controlresell/models/items/templates/PreferenceTemplatePayload.d.ts +8 -8
- package/src/com/controlresell/models/items/templates/Template.d.ts +16 -16
- package/src/com/controlresell/models/metadata/brands/Brand.d.ts +2 -2
- package/src/com/controlresell/models/metadata/categories/CatalogRoot.d.ts +8 -8
- package/src/com/controlresell/models/metadata/categories/Category.d.ts +4 -4
- package/src/com/controlresell/models/metadata/categories/CategoryFormSchema.d.ts +10 -10
- package/src/com/controlresell/models/metadata/categories/EnumFieldSpec.d.ts +4 -4
- package/src/com/controlresell/models/metadata/categoryfields/CategoryField.d.ts +2 -2
- package/src/com/controlresell/models/metadata/categoryfields/CreateCategoryFieldPayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/colors/Color.d.ts +2 -2
- package/src/com/controlresell/models/metadata/colors/ColorRoot.d.ts +4 -4
- package/src/com/controlresell/models/metadata/enums/Enum.d.ts +2 -2
- package/src/com/controlresell/models/metadata/favorites/CreateFavoriteMetadataPayload.d.ts +1 -1
- package/src/com/controlresell/models/metadata/favorites/FavoriteMetadata.d.ts +1 -1
- package/src/com/controlresell/models/metadata/labels/Label.d.ts +2 -2
- package/src/com/controlresell/models/metadata/packagesizes/PackageSize.d.ts +2 -2
- package/src/com/controlresell/models/metadata/places/Place.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformCategoriesPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformCategoryFieldsPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformEnumsPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformSizesPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/BrandMapping.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/CategoryMapping.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/CreateBrandMappingPayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/CreateCategoryMappingPayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/CreateEnumMappingPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/CreateSizeMappingPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/EnumMapping.d.ts +6 -6
- package/src/com/controlresell/models/metadata/platforms/ItemListingPreview.d.ts +756 -756
- package/src/com/controlresell/models/metadata/platforms/MappedPlatformCategories.d.ts +13 -0
- package/src/com/controlresell/models/metadata/platforms/MappedPlatformCategories.d.ts.map +1 -0
- package/src/com/controlresell/models/metadata/platforms/MappedPlatformCategories.js +6 -0
- package/src/com/controlresell/models/metadata/platforms/MappedPlatformCategories.js.map +1 -0
- package/src/com/controlresell/models/metadata/platforms/MappedPlatformCategories.ts +7 -0
- package/src/com/controlresell/models/metadata/platforms/MappingInfo.d.ts +36 -36
- package/src/com/controlresell/models/metadata/platforms/PlatformBrand.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/PlatformCategory.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/PlatformCategoryFieldPayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/PlatformCategoryPayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/PlatformEnum.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/PlatformEnumPayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/PlatformSize.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/PlatformSizePayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/SizeMapping.d.ts +6 -6
- package/src/com/controlresell/models/metadata/platforms/UpdateEnumMappingPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/sizes/Size.d.ts +2 -2
- package/src/com/controlresell/models/metadata/sizes/SizeGroup.d.ts +6 -6
- package/src/com/controlresell/models/metadata/sizes/SizeRoot.d.ts +10 -10
- package/src/com/controlresell/models/metadata/statuses/Status.d.ts +2 -2
- package/src/com/controlresell/models/onboardingquiz/OnboardingQuizResponse.d.ts +4 -4
- package/src/com/controlresell/models/platforms/labels/OrderLabel.d.ts +22 -22
- package/src/com/controlresell/models/platforms/orders/CreateOrderPayload.d.ts +2 -2
- package/src/com/controlresell/models/platforms/orders/Order.d.ts +274 -274
- package/src/com/controlresell/models/platforms/orders/OrderFiltersContext.d.ts +2 -2
- package/src/com/controlresell/models/platforms/orders/OrderLabelUpdate.d.ts +38 -38
- package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts +14 -14
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +1629 -1629
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +24 -24
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +1161 -1161
- package/src/com/controlresell/models/platforms/pickups/CreatePickupPointPayload.d.ts +4 -4
- package/src/com/controlresell/models/platforms/pickups/PickupPoint.d.ts +6 -6
- package/src/com/controlresell/models/platforms/pickups/PickupPointInOrder.d.ts +12 -12
- package/src/com/controlresell/models/platforms/pickups/UpdatePickupPointPayload.d.ts +4 -4
- package/src/com/controlresell/models/subscriptions/ActiveLevel.d.ts +2 -2
- package/src/com/controlresell/models/subscriptions/SubscriptionChangedEvent.d.ts +4 -4
- package/src/com/controlresell/models/subscriptions/SubscriptionHistory.d.ts +4 -4
- package/src/com/controlresell/models/subscriptions/UserLimitCounter.d.ts +2 -2
- package/src/com/controlresell/models/subscriptions/UserLimits.d.ts +46 -46
- package/src/com/controlresell/models/transactions/Transaction.d.ts +36 -36
- package/src/com/controlresell/models/transactions/items/ItemInTransaction.d.ts +24 -24
- package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts +773 -773
- package/src/com/controlresell/models/users/UpdateUserPayload.d.ts +6 -6
- package/src/com/controlresell/models/users/User.d.ts +30 -30
- 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/CreateUserOnPlatformPayload.d.ts +2 -2
- package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts +14 -14
- package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts +16 -16
- package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.d.ts +2 -2
- package/src/com/controlresell/models/users/platforms/UserOnPlatform.d.ts +8 -8
- package/src/com/controlresell/models/users/ws/ResourceUpdate.d.ts +61 -61
- package/src/com/controlresell/models/users/ws/UserLimitsUpdate.d.ts +74 -74
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +3614 -3614
- package/src/com/controlresell/models/users/ws/UserWsResourcePayload.d.ts +80 -80
- package/src/index.d.ts +404 -400
- package/src/index.d.ts.map +1 -1
- package/src/index.js +404 -400
- package/src/index.js.map +1 -1
- package/src/index.ts +404 -400
|
@@ -20,38 +20,38 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
20
20
|
}, "strip", z.ZodTypeAny, {
|
|
21
21
|
path: string;
|
|
22
22
|
id: string;
|
|
23
|
-
userId: number;
|
|
24
23
|
createdAt: Date;
|
|
24
|
+
userId: number;
|
|
25
25
|
signedUrl: string;
|
|
26
26
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
27
27
|
}, {
|
|
28
28
|
path: string;
|
|
29
29
|
id: string;
|
|
30
|
-
userId: number;
|
|
31
30
|
createdAt: Date;
|
|
31
|
+
userId: number;
|
|
32
32
|
signedUrl: string;
|
|
33
33
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
34
34
|
}>>>;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
|
-
itemId: number;
|
|
37
36
|
fileId: string;
|
|
37
|
+
itemId: number;
|
|
38
38
|
file?: {
|
|
39
39
|
path: string;
|
|
40
40
|
id: string;
|
|
41
|
-
userId: number;
|
|
42
41
|
createdAt: Date;
|
|
42
|
+
userId: number;
|
|
43
43
|
signedUrl: string;
|
|
44
44
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
45
45
|
} | null | undefined;
|
|
46
46
|
index?: number | null | undefined;
|
|
47
47
|
}, {
|
|
48
|
-
itemId: number;
|
|
49
48
|
fileId: string;
|
|
49
|
+
itemId: number;
|
|
50
50
|
file?: {
|
|
51
51
|
path: string;
|
|
52
52
|
id: string;
|
|
53
|
-
userId: number;
|
|
54
53
|
createdAt: Date;
|
|
54
|
+
userId: number;
|
|
55
55
|
signedUrl: string;
|
|
56
56
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
57
57
|
} | null | undefined;
|
|
@@ -89,12 +89,12 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
89
89
|
}, "strip", z.ZodTypeAny, {
|
|
90
90
|
value: number;
|
|
91
91
|
type: string;
|
|
92
|
-
id: number;
|
|
93
|
-
userId: number;
|
|
94
92
|
name: string;
|
|
93
|
+
id: number;
|
|
95
94
|
createdAt: Date;
|
|
95
|
+
userId: number;
|
|
96
96
|
updatedAt: Date;
|
|
97
|
-
recurrence: "
|
|
97
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
98
98
|
startDate: Date;
|
|
99
99
|
active: boolean;
|
|
100
100
|
description?: string | null | undefined;
|
|
@@ -104,12 +104,12 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
104
104
|
}, {
|
|
105
105
|
value: number;
|
|
106
106
|
type: string;
|
|
107
|
-
id: number;
|
|
108
|
-
userId: number;
|
|
109
107
|
name: string;
|
|
108
|
+
id: number;
|
|
110
109
|
createdAt: Date;
|
|
110
|
+
userId: number;
|
|
111
111
|
updatedAt: Date;
|
|
112
|
-
recurrence: "
|
|
112
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
113
113
|
startDate: Date;
|
|
114
114
|
active: boolean;
|
|
115
115
|
description?: string | null | undefined;
|
|
@@ -130,16 +130,16 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
130
130
|
itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
131
131
|
parentId: z.ZodUnknown;
|
|
132
132
|
}, "strip", z.ZodTypeAny, {
|
|
133
|
-
id: number;
|
|
134
133
|
name: string;
|
|
134
|
+
id: number;
|
|
135
135
|
createdAt: Date;
|
|
136
136
|
isUserLabel: boolean;
|
|
137
137
|
itemCount?: number | null | undefined;
|
|
138
138
|
userId?: number | null | undefined;
|
|
139
139
|
parentId?: unknown;
|
|
140
140
|
}, {
|
|
141
|
-
id: number;
|
|
142
141
|
name: string;
|
|
142
|
+
id: number;
|
|
143
143
|
createdAt: Date;
|
|
144
144
|
isUserLabel: boolean;
|
|
145
145
|
itemCount?: number | null | undefined;
|
|
@@ -150,8 +150,8 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
150
150
|
itemId: number;
|
|
151
151
|
labelId: number;
|
|
152
152
|
label?: {
|
|
153
|
-
id: number;
|
|
154
153
|
name: string;
|
|
154
|
+
id: number;
|
|
155
155
|
createdAt: Date;
|
|
156
156
|
isUserLabel: boolean;
|
|
157
157
|
itemCount?: number | null | undefined;
|
|
@@ -162,8 +162,8 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
162
162
|
itemId: number;
|
|
163
163
|
labelId: number;
|
|
164
164
|
label?: {
|
|
165
|
-
id: number;
|
|
166
165
|
name: string;
|
|
166
|
+
id: number;
|
|
167
167
|
createdAt: Date;
|
|
168
168
|
isUserLabel: boolean;
|
|
169
169
|
itemCount?: number | null | undefined;
|
|
@@ -347,7 +347,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
347
347
|
autoFixable: z.ZodBoolean;
|
|
348
348
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
349
349
|
}, "strip", z.ZodTypeAny, {
|
|
350
|
-
field: "
|
|
350
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
351
351
|
autoFixable: boolean;
|
|
352
352
|
error?: string | null | undefined;
|
|
353
353
|
}, {
|
|
@@ -362,7 +362,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
362
362
|
accountId?: string | null | undefined;
|
|
363
363
|
reason?: string | null | undefined;
|
|
364
364
|
fields?: {
|
|
365
|
-
field: "
|
|
365
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
366
366
|
autoFixable: boolean;
|
|
367
367
|
error?: string | null | undefined;
|
|
368
368
|
}[] | null | undefined;
|
|
@@ -388,7 +388,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
388
388
|
accountId?: string | null | undefined;
|
|
389
389
|
reason?: string | null | undefined;
|
|
390
390
|
fields?: {
|
|
391
|
-
field: "
|
|
391
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
392
392
|
autoFixable: boolean;
|
|
393
393
|
error?: string | null | undefined;
|
|
394
394
|
}[] | null | undefined;
|
|
@@ -572,23 +572,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
572
572
|
boostedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
573
573
|
boostedUntil: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
574
574
|
}, "strip", z.ZodTypeAny, {
|
|
575
|
-
size?: string | null | undefined;
|
|
576
575
|
status?: string | null | undefined;
|
|
577
576
|
title?: string | null | undefined;
|
|
578
577
|
description?: string | null | undefined;
|
|
578
|
+
brand?: string | null | undefined;
|
|
579
|
+
statusId?: number | null | undefined;
|
|
580
|
+
sizeId?: number | null | undefined;
|
|
581
|
+
colorIds?: number[] | null | undefined;
|
|
582
|
+
packageSizeId?: number | null | undefined;
|
|
579
583
|
price?: number | null | undefined;
|
|
580
584
|
currency?: string | null | undefined;
|
|
581
|
-
brand?: string | null | undefined;
|
|
582
585
|
catalog?: string | null | undefined;
|
|
583
586
|
catalogId?: number | null | undefined;
|
|
584
587
|
colors?: string[] | null | undefined;
|
|
585
|
-
colorIds?: number[] | null | undefined;
|
|
586
588
|
measurementLength?: number | null | undefined;
|
|
587
589
|
measurementWidth?: number | null | undefined;
|
|
588
|
-
packageSizeId?: number | null | undefined;
|
|
589
590
|
photoUrls?: string[] | null | undefined;
|
|
590
|
-
|
|
591
|
-
statusId?: number | null | undefined;
|
|
591
|
+
size?: string | null | undefined;
|
|
592
592
|
isDraft?: boolean | null | undefined;
|
|
593
593
|
isArchived?: boolean | null | undefined;
|
|
594
594
|
isUnisex?: boolean | null | undefined;
|
|
@@ -617,23 +617,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
617
617
|
isHidden?: boolean | null | undefined;
|
|
618
618
|
isDeleted?: boolean | null | undefined;
|
|
619
619
|
}, {
|
|
620
|
-
size?: string | null | undefined;
|
|
621
620
|
status?: string | null | undefined;
|
|
622
621
|
title?: string | null | undefined;
|
|
623
622
|
description?: string | null | undefined;
|
|
623
|
+
brand?: string | null | undefined;
|
|
624
|
+
statusId?: number | null | undefined;
|
|
625
|
+
sizeId?: number | null | undefined;
|
|
626
|
+
colorIds?: number[] | null | undefined;
|
|
627
|
+
packageSizeId?: number | null | undefined;
|
|
624
628
|
price?: number | null | undefined;
|
|
625
629
|
currency?: string | null | undefined;
|
|
626
|
-
brand?: string | null | undefined;
|
|
627
630
|
catalog?: string | null | undefined;
|
|
628
631
|
catalogId?: number | null | undefined;
|
|
629
632
|
colors?: string[] | null | undefined;
|
|
630
|
-
colorIds?: number[] | null | undefined;
|
|
631
633
|
measurementLength?: number | null | undefined;
|
|
632
634
|
measurementWidth?: number | null | undefined;
|
|
633
|
-
packageSizeId?: number | null | undefined;
|
|
634
635
|
photoUrls?: string[] | null | undefined;
|
|
635
|
-
|
|
636
|
-
statusId?: number | null | undefined;
|
|
636
|
+
size?: string | null | undefined;
|
|
637
637
|
isDraft?: boolean | null | undefined;
|
|
638
638
|
isArchived?: boolean | null | undefined;
|
|
639
639
|
isUnisex?: boolean | null | undefined;
|
|
@@ -667,23 +667,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
667
667
|
}, "strip", z.ZodTypeAny, {
|
|
668
668
|
platformId: string;
|
|
669
669
|
post: {
|
|
670
|
-
size?: string | null | undefined;
|
|
671
670
|
status?: string | null | undefined;
|
|
672
671
|
title?: string | null | undefined;
|
|
673
672
|
description?: string | null | undefined;
|
|
673
|
+
brand?: string | null | undefined;
|
|
674
|
+
statusId?: number | null | undefined;
|
|
675
|
+
sizeId?: number | null | undefined;
|
|
676
|
+
colorIds?: number[] | null | undefined;
|
|
677
|
+
packageSizeId?: number | null | undefined;
|
|
674
678
|
price?: number | null | undefined;
|
|
675
679
|
currency?: string | null | undefined;
|
|
676
|
-
brand?: string | null | undefined;
|
|
677
680
|
catalog?: string | null | undefined;
|
|
678
681
|
catalogId?: number | null | undefined;
|
|
679
682
|
colors?: string[] | null | undefined;
|
|
680
|
-
colorIds?: number[] | null | undefined;
|
|
681
683
|
measurementLength?: number | null | undefined;
|
|
682
684
|
measurementWidth?: number | null | undefined;
|
|
683
|
-
packageSizeId?: number | null | undefined;
|
|
684
685
|
photoUrls?: string[] | null | undefined;
|
|
685
|
-
|
|
686
|
-
statusId?: number | null | undefined;
|
|
686
|
+
size?: string | null | undefined;
|
|
687
687
|
isDraft?: boolean | null | undefined;
|
|
688
688
|
isArchived?: boolean | null | undefined;
|
|
689
689
|
isUnisex?: boolean | null | undefined;
|
|
@@ -719,23 +719,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
719
719
|
}, {
|
|
720
720
|
platformId: string;
|
|
721
721
|
post: {
|
|
722
|
-
size?: string | null | undefined;
|
|
723
722
|
status?: string | null | undefined;
|
|
724
723
|
title?: string | null | undefined;
|
|
725
724
|
description?: string | null | undefined;
|
|
725
|
+
brand?: string | null | undefined;
|
|
726
|
+
statusId?: number | null | undefined;
|
|
727
|
+
sizeId?: number | null | undefined;
|
|
728
|
+
colorIds?: number[] | null | undefined;
|
|
729
|
+
packageSizeId?: number | null | undefined;
|
|
726
730
|
price?: number | null | undefined;
|
|
727
731
|
currency?: string | null | undefined;
|
|
728
|
-
brand?: string | null | undefined;
|
|
729
732
|
catalog?: string | null | undefined;
|
|
730
733
|
catalogId?: number | null | undefined;
|
|
731
734
|
colors?: string[] | null | undefined;
|
|
732
|
-
colorIds?: number[] | null | undefined;
|
|
733
735
|
measurementLength?: number | null | undefined;
|
|
734
736
|
measurementWidth?: number | null | undefined;
|
|
735
|
-
packageSizeId?: number | null | undefined;
|
|
736
737
|
photoUrls?: string[] | null | undefined;
|
|
737
|
-
|
|
738
|
-
statusId?: number | null | undefined;
|
|
738
|
+
size?: string | null | undefined;
|
|
739
739
|
isDraft?: boolean | null | undefined;
|
|
740
740
|
isArchived?: boolean | null | undefined;
|
|
741
741
|
isUnisex?: boolean | null | undefined;
|
|
@@ -773,23 +773,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
773
773
|
post: {
|
|
774
774
|
platformId: string;
|
|
775
775
|
post: {
|
|
776
|
-
size?: string | null | undefined;
|
|
777
776
|
status?: string | null | undefined;
|
|
778
777
|
title?: string | null | undefined;
|
|
779
778
|
description?: string | null | undefined;
|
|
779
|
+
brand?: string | null | undefined;
|
|
780
|
+
statusId?: number | null | undefined;
|
|
781
|
+
sizeId?: number | null | undefined;
|
|
782
|
+
colorIds?: number[] | null | undefined;
|
|
783
|
+
packageSizeId?: number | null | undefined;
|
|
780
784
|
price?: number | null | undefined;
|
|
781
785
|
currency?: string | null | undefined;
|
|
782
|
-
brand?: string | null | undefined;
|
|
783
786
|
catalog?: string | null | undefined;
|
|
784
787
|
catalogId?: number | null | undefined;
|
|
785
788
|
colors?: string[] | null | undefined;
|
|
786
|
-
colorIds?: number[] | null | undefined;
|
|
787
789
|
measurementLength?: number | null | undefined;
|
|
788
790
|
measurementWidth?: number | null | undefined;
|
|
789
|
-
packageSizeId?: number | null | undefined;
|
|
790
791
|
photoUrls?: string[] | null | undefined;
|
|
791
|
-
|
|
792
|
-
statusId?: number | null | undefined;
|
|
792
|
+
size?: string | null | undefined;
|
|
793
793
|
isDraft?: boolean | null | undefined;
|
|
794
794
|
isArchived?: boolean | null | undefined;
|
|
795
795
|
isUnisex?: boolean | null | undefined;
|
|
@@ -827,23 +827,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
827
827
|
post: {
|
|
828
828
|
platformId: string;
|
|
829
829
|
post: {
|
|
830
|
-
size?: string | null | undefined;
|
|
831
830
|
status?: string | null | undefined;
|
|
832
831
|
title?: string | null | undefined;
|
|
833
832
|
description?: string | null | undefined;
|
|
833
|
+
brand?: string | null | undefined;
|
|
834
|
+
statusId?: number | null | undefined;
|
|
835
|
+
sizeId?: number | null | undefined;
|
|
836
|
+
colorIds?: number[] | null | undefined;
|
|
837
|
+
packageSizeId?: number | null | undefined;
|
|
834
838
|
price?: number | null | undefined;
|
|
835
839
|
currency?: string | null | undefined;
|
|
836
|
-
brand?: string | null | undefined;
|
|
837
840
|
catalog?: string | null | undefined;
|
|
838
841
|
catalogId?: number | null | undefined;
|
|
839
842
|
colors?: string[] | null | undefined;
|
|
840
|
-
colorIds?: number[] | null | undefined;
|
|
841
843
|
measurementLength?: number | null | undefined;
|
|
842
844
|
measurementWidth?: number | null | undefined;
|
|
843
|
-
packageSizeId?: number | null | undefined;
|
|
844
845
|
photoUrls?: string[] | null | undefined;
|
|
845
|
-
|
|
846
|
-
statusId?: number | null | undefined;
|
|
846
|
+
size?: string | null | undefined;
|
|
847
847
|
isDraft?: boolean | null | undefined;
|
|
848
848
|
isArchived?: boolean | null | undefined;
|
|
849
849
|
isUnisex?: boolean | null | undefined;
|
|
@@ -885,23 +885,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
885
885
|
post: {
|
|
886
886
|
platformId: string;
|
|
887
887
|
post: {
|
|
888
|
-
size?: string | null | undefined;
|
|
889
888
|
status?: string | null | undefined;
|
|
890
889
|
title?: string | null | undefined;
|
|
891
890
|
description?: string | null | undefined;
|
|
891
|
+
brand?: string | null | undefined;
|
|
892
|
+
statusId?: number | null | undefined;
|
|
893
|
+
sizeId?: number | null | undefined;
|
|
894
|
+
colorIds?: number[] | null | undefined;
|
|
895
|
+
packageSizeId?: number | null | undefined;
|
|
892
896
|
price?: number | null | undefined;
|
|
893
897
|
currency?: string | null | undefined;
|
|
894
|
-
brand?: string | null | undefined;
|
|
895
898
|
catalog?: string | null | undefined;
|
|
896
899
|
catalogId?: number | null | undefined;
|
|
897
900
|
colors?: string[] | null | undefined;
|
|
898
|
-
colorIds?: number[] | null | undefined;
|
|
899
901
|
measurementLength?: number | null | undefined;
|
|
900
902
|
measurementWidth?: number | null | undefined;
|
|
901
|
-
packageSizeId?: number | null | undefined;
|
|
902
903
|
photoUrls?: string[] | null | undefined;
|
|
903
|
-
|
|
904
|
-
statusId?: number | null | undefined;
|
|
904
|
+
size?: string | null | undefined;
|
|
905
905
|
isDraft?: boolean | null | undefined;
|
|
906
906
|
isArchived?: boolean | null | undefined;
|
|
907
907
|
isUnisex?: boolean | null | undefined;
|
|
@@ -942,23 +942,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
942
942
|
post: {
|
|
943
943
|
platformId: string;
|
|
944
944
|
post: {
|
|
945
|
-
size?: string | null | undefined;
|
|
946
945
|
status?: string | null | undefined;
|
|
947
946
|
title?: string | null | undefined;
|
|
948
947
|
description?: string | null | undefined;
|
|
948
|
+
brand?: string | null | undefined;
|
|
949
|
+
statusId?: number | null | undefined;
|
|
950
|
+
sizeId?: number | null | undefined;
|
|
951
|
+
colorIds?: number[] | null | undefined;
|
|
952
|
+
packageSizeId?: number | null | undefined;
|
|
949
953
|
price?: number | null | undefined;
|
|
950
954
|
currency?: string | null | undefined;
|
|
951
|
-
brand?: string | null | undefined;
|
|
952
955
|
catalog?: string | null | undefined;
|
|
953
956
|
catalogId?: number | null | undefined;
|
|
954
957
|
colors?: string[] | null | undefined;
|
|
955
|
-
colorIds?: number[] | null | undefined;
|
|
956
958
|
measurementLength?: number | null | undefined;
|
|
957
959
|
measurementWidth?: number | null | undefined;
|
|
958
|
-
packageSizeId?: number | null | undefined;
|
|
959
960
|
photoUrls?: string[] | null | undefined;
|
|
960
|
-
|
|
961
|
-
statusId?: number | null | undefined;
|
|
961
|
+
size?: string | null | undefined;
|
|
962
962
|
isDraft?: boolean | null | undefined;
|
|
963
963
|
isArchived?: boolean | null | undefined;
|
|
964
964
|
isUnisex?: boolean | null | undefined;
|
|
@@ -1018,27 +1018,27 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
1018
1018
|
caseId: z.ZodString;
|
|
1019
1019
|
isRepeat: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1020
1020
|
}, "strip", z.ZodTypeAny, {
|
|
1021
|
-
accountId: string;
|
|
1022
1021
|
caseId: string;
|
|
1022
|
+
accountId: string;
|
|
1023
1023
|
isRepeat?: boolean | null | undefined;
|
|
1024
1024
|
}, {
|
|
1025
|
-
accountId: string;
|
|
1026
1025
|
caseId: string;
|
|
1026
|
+
accountId: string;
|
|
1027
1027
|
isRepeat?: boolean | null | undefined;
|
|
1028
1028
|
}>;
|
|
1029
1029
|
type: z.ZodLiteral<"LIFECYCLE_STARTED">;
|
|
1030
1030
|
}, "strip", z.ZodTypeAny, {
|
|
1031
1031
|
type: "LIFECYCLE_STARTED";
|
|
1032
1032
|
data: {
|
|
1033
|
-
accountId: string;
|
|
1034
1033
|
caseId: string;
|
|
1034
|
+
accountId: string;
|
|
1035
1035
|
isRepeat?: boolean | null | undefined;
|
|
1036
1036
|
};
|
|
1037
1037
|
}, {
|
|
1038
1038
|
type: "LIFECYCLE_STARTED";
|
|
1039
1039
|
data: {
|
|
1040
|
-
accountId: string;
|
|
1041
1040
|
caseId: string;
|
|
1041
|
+
accountId: string;
|
|
1042
1042
|
isRepeat?: boolean | null | undefined;
|
|
1043
1043
|
};
|
|
1044
1044
|
}>, z.ZodObject<{
|
|
@@ -1214,10 +1214,10 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
1214
1214
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1215
1215
|
} | null | undefined;
|
|
1216
1216
|
} | null | undefined;
|
|
1217
|
-
targetAccountId?: string | null | undefined;
|
|
1218
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
1219
1217
|
publishingDate?: Date | null | undefined;
|
|
1220
1218
|
isTransfer?: boolean | null | undefined;
|
|
1219
|
+
targetAccountId?: string | null | undefined;
|
|
1220
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
1221
1221
|
}, {
|
|
1222
1222
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1223
1223
|
payload?: {
|
|
@@ -1244,10 +1244,10 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
1244
1244
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1245
1245
|
} | null | undefined;
|
|
1246
1246
|
} | null | undefined;
|
|
1247
|
-
targetAccountId?: string | null | undefined;
|
|
1248
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
1249
1247
|
publishingDate?: Date | null | undefined;
|
|
1250
1248
|
isTransfer?: boolean | null | undefined;
|
|
1249
|
+
targetAccountId?: string | null | undefined;
|
|
1250
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
1251
1251
|
}>;
|
|
1252
1252
|
type: z.ZodLiteral<"REPUBLISHING">;
|
|
1253
1253
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1278,10 +1278,10 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
1278
1278
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1279
1279
|
} | null | undefined;
|
|
1280
1280
|
} | null | undefined;
|
|
1281
|
-
targetAccountId?: string | null | undefined;
|
|
1282
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
1283
1281
|
publishingDate?: Date | null | undefined;
|
|
1284
1282
|
isTransfer?: boolean | null | undefined;
|
|
1283
|
+
targetAccountId?: string | null | undefined;
|
|
1284
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
1285
1285
|
};
|
|
1286
1286
|
}, {
|
|
1287
1287
|
type: "REPUBLISHING";
|
|
@@ -1311,10 +1311,10 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
1311
1311
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1312
1312
|
} | null | undefined;
|
|
1313
1313
|
} | null | undefined;
|
|
1314
|
-
targetAccountId?: string | null | undefined;
|
|
1315
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
1316
1314
|
publishingDate?: Date | null | undefined;
|
|
1317
1315
|
isTransfer?: boolean | null | undefined;
|
|
1316
|
+
targetAccountId?: string | null | undefined;
|
|
1317
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
1318
1318
|
};
|
|
1319
1319
|
}>, z.ZodObject<{
|
|
1320
1320
|
data: z.ZodObject<{
|
|
@@ -1328,7 +1328,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
1328
1328
|
autoFixable: z.ZodBoolean;
|
|
1329
1329
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1330
1330
|
}, "strip", z.ZodTypeAny, {
|
|
1331
|
-
field: "
|
|
1331
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1332
1332
|
autoFixable: boolean;
|
|
1333
1333
|
error?: string | null | undefined;
|
|
1334
1334
|
}, {
|
|
@@ -1443,9 +1443,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
1443
1443
|
} | null | undefined;
|
|
1444
1444
|
}>>>;
|
|
1445
1445
|
}, "strip", z.ZodTypeAny, {
|
|
1446
|
+
maxAttempts: number;
|
|
1446
1447
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1447
1448
|
attemptNumber: number;
|
|
1448
|
-
maxAttempts: number;
|
|
1449
1449
|
previousHistoryId: string;
|
|
1450
1450
|
originalFailureDate: Date;
|
|
1451
1451
|
payload?: {
|
|
@@ -1473,14 +1473,14 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
1473
1473
|
} | null | undefined;
|
|
1474
1474
|
} | null | undefined;
|
|
1475
1475
|
fields?: {
|
|
1476
|
-
field: "
|
|
1476
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1477
1477
|
autoFixable: boolean;
|
|
1478
1478
|
error?: string | null | undefined;
|
|
1479
1479
|
}[] | null | undefined;
|
|
1480
1480
|
}, {
|
|
1481
|
+
maxAttempts: number;
|
|
1481
1482
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1482
1483
|
attemptNumber: number;
|
|
1483
|
-
maxAttempts: number;
|
|
1484
1484
|
previousHistoryId: string;
|
|
1485
1485
|
originalFailureDate: Date;
|
|
1486
1486
|
payload?: {
|
|
@@ -1517,9 +1517,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
1517
1517
|
}, "strip", z.ZodTypeAny, {
|
|
1518
1518
|
type: "REPUBLISHING_RETRY";
|
|
1519
1519
|
data: {
|
|
1520
|
+
maxAttempts: number;
|
|
1520
1521
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1521
1522
|
attemptNumber: number;
|
|
1522
|
-
maxAttempts: number;
|
|
1523
1523
|
previousHistoryId: string;
|
|
1524
1524
|
originalFailureDate: Date;
|
|
1525
1525
|
payload?: {
|
|
@@ -1547,7 +1547,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
1547
1547
|
} | null | undefined;
|
|
1548
1548
|
} | null | undefined;
|
|
1549
1549
|
fields?: {
|
|
1550
|
-
field: "
|
|
1550
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1551
1551
|
autoFixable: boolean;
|
|
1552
1552
|
error?: string | null | undefined;
|
|
1553
1553
|
}[] | null | undefined;
|
|
@@ -1555,9 +1555,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
1555
1555
|
}, {
|
|
1556
1556
|
type: "REPUBLISHING_RETRY";
|
|
1557
1557
|
data: {
|
|
1558
|
+
maxAttempts: number;
|
|
1558
1559
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1559
1560
|
attemptNumber: number;
|
|
1560
|
-
maxAttempts: number;
|
|
1561
1561
|
previousHistoryId: string;
|
|
1562
1562
|
originalFailureDate: Date;
|
|
1563
1563
|
payload?: {
|
|
@@ -1626,7 +1626,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
1626
1626
|
autoFixable: z.ZodBoolean;
|
|
1627
1627
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1628
1628
|
}, "strip", z.ZodTypeAny, {
|
|
1629
|
-
field: "
|
|
1629
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1630
1630
|
autoFixable: boolean;
|
|
1631
1631
|
error?: string | null | undefined;
|
|
1632
1632
|
}, {
|
|
@@ -1635,20 +1635,20 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
1635
1635
|
error?: string | null | undefined;
|
|
1636
1636
|
}>, "many">>>;
|
|
1637
1637
|
}, "strip", z.ZodTypeAny, {
|
|
1638
|
+
maxAttempts: number;
|
|
1638
1639
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1639
1640
|
attemptNumber: number;
|
|
1640
|
-
maxAttempts: number;
|
|
1641
1641
|
previousHistoryId: string;
|
|
1642
1642
|
originalFailureDate: Date;
|
|
1643
1643
|
fields?: {
|
|
1644
|
-
field: "
|
|
1644
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1645
1645
|
autoFixable: boolean;
|
|
1646
1646
|
error?: string | null | undefined;
|
|
1647
1647
|
}[] | null | undefined;
|
|
1648
1648
|
}, {
|
|
1649
|
+
maxAttempts: number;
|
|
1649
1650
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1650
1651
|
attemptNumber: number;
|
|
1651
|
-
maxAttempts: number;
|
|
1652
1652
|
previousHistoryId: string;
|
|
1653
1653
|
originalFailureDate: Date;
|
|
1654
1654
|
fields?: {
|
|
@@ -1661,13 +1661,13 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
1661
1661
|
}, "strip", z.ZodTypeAny, {
|
|
1662
1662
|
type: "SCHEDULED_RETRY";
|
|
1663
1663
|
data: {
|
|
1664
|
+
maxAttempts: number;
|
|
1664
1665
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1665
1666
|
attemptNumber: number;
|
|
1666
|
-
maxAttempts: number;
|
|
1667
1667
|
previousHistoryId: string;
|
|
1668
1668
|
originalFailureDate: Date;
|
|
1669
1669
|
fields?: {
|
|
1670
|
-
field: "
|
|
1670
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1671
1671
|
autoFixable: boolean;
|
|
1672
1672
|
error?: string | null | undefined;
|
|
1673
1673
|
}[] | null | undefined;
|
|
@@ -1675,9 +1675,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
1675
1675
|
}, {
|
|
1676
1676
|
type: "SCHEDULED_RETRY";
|
|
1677
1677
|
data: {
|
|
1678
|
+
maxAttempts: number;
|
|
1678
1679
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1679
1680
|
attemptNumber: number;
|
|
1680
|
-
maxAttempts: number;
|
|
1681
1681
|
previousHistoryId: string;
|
|
1682
1682
|
originalFailureDate: Date;
|
|
1683
1683
|
fields?: {
|
|
@@ -1834,7 +1834,6 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
1834
1834
|
id: string;
|
|
1835
1835
|
createdAt: Date;
|
|
1836
1836
|
itemId: number;
|
|
1837
|
-
accountId?: string | null | undefined;
|
|
1838
1837
|
data?: {
|
|
1839
1838
|
type: "ACTION_CANCELED";
|
|
1840
1839
|
data: {
|
|
@@ -1870,7 +1869,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
1870
1869
|
accountId?: string | null | undefined;
|
|
1871
1870
|
reason?: string | null | undefined;
|
|
1872
1871
|
fields?: {
|
|
1873
|
-
field: "
|
|
1872
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1874
1873
|
autoFixable: boolean;
|
|
1875
1874
|
error?: string | null | undefined;
|
|
1876
1875
|
}[] | null | undefined;
|
|
@@ -1900,23 +1899,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
1900
1899
|
post: {
|
|
1901
1900
|
platformId: string;
|
|
1902
1901
|
post: {
|
|
1903
|
-
size?: string | null | undefined;
|
|
1904
1902
|
status?: string | null | undefined;
|
|
1905
1903
|
title?: string | null | undefined;
|
|
1906
1904
|
description?: string | null | undefined;
|
|
1905
|
+
brand?: string | null | undefined;
|
|
1906
|
+
statusId?: number | null | undefined;
|
|
1907
|
+
sizeId?: number | null | undefined;
|
|
1908
|
+
colorIds?: number[] | null | undefined;
|
|
1909
|
+
packageSizeId?: number | null | undefined;
|
|
1907
1910
|
price?: number | null | undefined;
|
|
1908
1911
|
currency?: string | null | undefined;
|
|
1909
|
-
brand?: string | null | undefined;
|
|
1910
1912
|
catalog?: string | null | undefined;
|
|
1911
1913
|
catalogId?: number | null | undefined;
|
|
1912
1914
|
colors?: string[] | null | undefined;
|
|
1913
|
-
colorIds?: number[] | null | undefined;
|
|
1914
1915
|
measurementLength?: number | null | undefined;
|
|
1915
1916
|
measurementWidth?: number | null | undefined;
|
|
1916
|
-
packageSizeId?: number | null | undefined;
|
|
1917
1917
|
photoUrls?: string[] | null | undefined;
|
|
1918
|
-
|
|
1919
|
-
statusId?: number | null | undefined;
|
|
1918
|
+
size?: string | null | undefined;
|
|
1920
1919
|
isDraft?: boolean | null | undefined;
|
|
1921
1920
|
isArchived?: boolean | null | undefined;
|
|
1922
1921
|
isUnisex?: boolean | null | undefined;
|
|
@@ -1959,8 +1958,8 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
1959
1958
|
} | {
|
|
1960
1959
|
type: "LIFECYCLE_STARTED";
|
|
1961
1960
|
data: {
|
|
1962
|
-
accountId: string;
|
|
1963
1961
|
caseId: string;
|
|
1962
|
+
accountId: string;
|
|
1964
1963
|
isRepeat?: boolean | null | undefined;
|
|
1965
1964
|
};
|
|
1966
1965
|
} | {
|
|
@@ -1999,17 +1998,17 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
1999
1998
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
2000
1999
|
} | null | undefined;
|
|
2001
2000
|
} | null | undefined;
|
|
2002
|
-
targetAccountId?: string | null | undefined;
|
|
2003
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
2004
2001
|
publishingDate?: Date | null | undefined;
|
|
2005
2002
|
isTransfer?: boolean | null | undefined;
|
|
2003
|
+
targetAccountId?: string | null | undefined;
|
|
2004
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
2006
2005
|
};
|
|
2007
2006
|
} | {
|
|
2008
2007
|
type: "REPUBLISHING_RETRY";
|
|
2009
2008
|
data: {
|
|
2009
|
+
maxAttempts: number;
|
|
2010
2010
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2011
2011
|
attemptNumber: number;
|
|
2012
|
-
maxAttempts: number;
|
|
2013
2012
|
previousHistoryId: string;
|
|
2014
2013
|
originalFailureDate: Date;
|
|
2015
2014
|
payload?: {
|
|
@@ -2037,7 +2036,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
2037
2036
|
} | null | undefined;
|
|
2038
2037
|
} | null | undefined;
|
|
2039
2038
|
fields?: {
|
|
2040
|
-
field: "
|
|
2039
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2041
2040
|
autoFixable: boolean;
|
|
2042
2041
|
error?: string | null | undefined;
|
|
2043
2042
|
}[] | null | undefined;
|
|
@@ -2051,13 +2050,13 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
2051
2050
|
} | {
|
|
2052
2051
|
type: "SCHEDULED_RETRY";
|
|
2053
2052
|
data: {
|
|
2053
|
+
maxAttempts: number;
|
|
2054
2054
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2055
2055
|
attemptNumber: number;
|
|
2056
|
-
maxAttempts: number;
|
|
2057
2056
|
previousHistoryId: string;
|
|
2058
2057
|
originalFailureDate: Date;
|
|
2059
2058
|
fields?: {
|
|
2060
|
-
field: "
|
|
2059
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2061
2060
|
autoFixable: boolean;
|
|
2062
2061
|
error?: string | null | undefined;
|
|
2063
2062
|
}[] | null | undefined;
|
|
@@ -2086,6 +2085,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
2086
2085
|
targetDate?: Date | null | undefined;
|
|
2087
2086
|
};
|
|
2088
2087
|
} | null | undefined;
|
|
2088
|
+
accountId?: string | null | undefined;
|
|
2089
2089
|
targetDate?: Date | null | undefined;
|
|
2090
2090
|
requestId?: string | null | undefined;
|
|
2091
2091
|
targetHistoryId?: string | null | undefined;
|
|
@@ -2094,7 +2094,6 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
2094
2094
|
createdAt: Date;
|
|
2095
2095
|
itemId: number;
|
|
2096
2096
|
type?: unknown;
|
|
2097
|
-
accountId?: string | null | undefined;
|
|
2098
2097
|
data?: {
|
|
2099
2098
|
type: "ACTION_CANCELED";
|
|
2100
2099
|
data: {
|
|
@@ -2160,23 +2159,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
2160
2159
|
post: {
|
|
2161
2160
|
platformId: string;
|
|
2162
2161
|
post: {
|
|
2163
|
-
size?: string | null | undefined;
|
|
2164
2162
|
status?: string | null | undefined;
|
|
2165
2163
|
title?: string | null | undefined;
|
|
2166
2164
|
description?: string | null | undefined;
|
|
2165
|
+
brand?: string | null | undefined;
|
|
2166
|
+
statusId?: number | null | undefined;
|
|
2167
|
+
sizeId?: number | null | undefined;
|
|
2168
|
+
colorIds?: number[] | null | undefined;
|
|
2169
|
+
packageSizeId?: number | null | undefined;
|
|
2167
2170
|
price?: number | null | undefined;
|
|
2168
2171
|
currency?: string | null | undefined;
|
|
2169
|
-
brand?: string | null | undefined;
|
|
2170
2172
|
catalog?: string | null | undefined;
|
|
2171
2173
|
catalogId?: number | null | undefined;
|
|
2172
2174
|
colors?: string[] | null | undefined;
|
|
2173
|
-
colorIds?: number[] | null | undefined;
|
|
2174
2175
|
measurementLength?: number | null | undefined;
|
|
2175
2176
|
measurementWidth?: number | null | undefined;
|
|
2176
|
-
packageSizeId?: number | null | undefined;
|
|
2177
2177
|
photoUrls?: string[] | null | undefined;
|
|
2178
|
-
|
|
2179
|
-
statusId?: number | null | undefined;
|
|
2178
|
+
size?: string | null | undefined;
|
|
2180
2179
|
isDraft?: boolean | null | undefined;
|
|
2181
2180
|
isArchived?: boolean | null | undefined;
|
|
2182
2181
|
isUnisex?: boolean | null | undefined;
|
|
@@ -2219,8 +2218,8 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
2219
2218
|
} | {
|
|
2220
2219
|
type: "LIFECYCLE_STARTED";
|
|
2221
2220
|
data: {
|
|
2222
|
-
accountId: string;
|
|
2223
2221
|
caseId: string;
|
|
2222
|
+
accountId: string;
|
|
2224
2223
|
isRepeat?: boolean | null | undefined;
|
|
2225
2224
|
};
|
|
2226
2225
|
} | {
|
|
@@ -2259,17 +2258,17 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
2259
2258
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
2260
2259
|
} | null | undefined;
|
|
2261
2260
|
} | null | undefined;
|
|
2262
|
-
targetAccountId?: string | null | undefined;
|
|
2263
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
2264
2261
|
publishingDate?: Date | null | undefined;
|
|
2265
2262
|
isTransfer?: boolean | null | undefined;
|
|
2263
|
+
targetAccountId?: string | null | undefined;
|
|
2264
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
2266
2265
|
};
|
|
2267
2266
|
} | {
|
|
2268
2267
|
type: "REPUBLISHING_RETRY";
|
|
2269
2268
|
data: {
|
|
2269
|
+
maxAttempts: number;
|
|
2270
2270
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2271
2271
|
attemptNumber: number;
|
|
2272
|
-
maxAttempts: number;
|
|
2273
2272
|
previousHistoryId: string;
|
|
2274
2273
|
originalFailureDate: Date;
|
|
2275
2274
|
payload?: {
|
|
@@ -2311,9 +2310,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
2311
2310
|
} | {
|
|
2312
2311
|
type: "SCHEDULED_RETRY";
|
|
2313
2312
|
data: {
|
|
2313
|
+
maxAttempts: number;
|
|
2314
2314
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2315
2315
|
attemptNumber: number;
|
|
2316
|
-
maxAttempts: number;
|
|
2317
2316
|
previousHistoryId: string;
|
|
2318
2317
|
originalFailureDate: Date;
|
|
2319
2318
|
fields?: {
|
|
@@ -2346,6 +2345,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
2346
2345
|
targetDate?: Date | null | undefined;
|
|
2347
2346
|
};
|
|
2348
2347
|
} | null | undefined;
|
|
2348
|
+
accountId?: string | null | undefined;
|
|
2349
2349
|
targetDate?: Date | null | undefined;
|
|
2350
2350
|
requestId?: string | null | undefined;
|
|
2351
2351
|
targetHistoryId?: string | null | undefined;
|
|
@@ -2395,15 +2395,15 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
2395
2395
|
}, "strip", z.ZodTypeAny, {
|
|
2396
2396
|
path: string;
|
|
2397
2397
|
id: string;
|
|
2398
|
-
userId: number;
|
|
2399
2398
|
createdAt: Date;
|
|
2399
|
+
userId: number;
|
|
2400
2400
|
signedUrl: string;
|
|
2401
2401
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2402
2402
|
}, {
|
|
2403
2403
|
path: string;
|
|
2404
2404
|
id: string;
|
|
2405
|
-
userId: number;
|
|
2406
2405
|
createdAt: Date;
|
|
2406
|
+
userId: number;
|
|
2407
2407
|
signedUrl: string;
|
|
2408
2408
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2409
2409
|
}>>>;
|
|
@@ -2414,9 +2414,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
2414
2414
|
phoneNumberRequiredAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2415
2415
|
}, "strip", z.ZodTypeAny, {
|
|
2416
2416
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
2417
|
-
accountId: string;
|
|
2418
|
-
userId: number;
|
|
2419
2417
|
name: string;
|
|
2418
|
+
userId: number;
|
|
2419
|
+
accountId: string;
|
|
2420
2420
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2421
2421
|
locale?: string | null | undefined;
|
|
2422
2422
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -2435,8 +2435,8 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
2435
2435
|
profilePicture?: {
|
|
2436
2436
|
path: string;
|
|
2437
2437
|
id: string;
|
|
2438
|
-
userId: number;
|
|
2439
2438
|
createdAt: Date;
|
|
2439
|
+
userId: number;
|
|
2440
2440
|
signedUrl: string;
|
|
2441
2441
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2442
2442
|
} | null | undefined;
|
|
@@ -2444,9 +2444,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
2444
2444
|
walletActivationRequiredAt?: Date | null | undefined;
|
|
2445
2445
|
phoneNumberRequiredAt?: Date | null | undefined;
|
|
2446
2446
|
}, {
|
|
2447
|
-
accountId: string;
|
|
2448
|
-
userId: number;
|
|
2449
2447
|
name: string;
|
|
2448
|
+
userId: number;
|
|
2449
|
+
accountId: string;
|
|
2450
2450
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2451
2451
|
status?: unknown;
|
|
2452
2452
|
locale?: string | null | undefined;
|
|
@@ -2466,8 +2466,8 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
2466
2466
|
profilePicture?: {
|
|
2467
2467
|
path: string;
|
|
2468
2468
|
id: string;
|
|
2469
|
-
userId: number;
|
|
2470
2469
|
createdAt: Date;
|
|
2470
|
+
userId: number;
|
|
2471
2471
|
signedUrl: string;
|
|
2472
2472
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2473
2473
|
} | null | undefined;
|
|
@@ -2486,8 +2486,8 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
2486
2486
|
}, "strip", z.ZodTypeAny, {
|
|
2487
2487
|
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
2488
2488
|
id: string;
|
|
2489
|
-
accountId: string;
|
|
2490
2489
|
createdAt: Date;
|
|
2490
|
+
accountId: string;
|
|
2491
2491
|
itemId: number;
|
|
2492
2492
|
platformId: string;
|
|
2493
2493
|
platformUrl: string;
|
|
@@ -2501,9 +2501,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
2501
2501
|
favoritesCount?: number | null | undefined;
|
|
2502
2502
|
account?: {
|
|
2503
2503
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
2504
|
-
accountId: string;
|
|
2505
|
-
userId: number;
|
|
2506
2504
|
name: string;
|
|
2505
|
+
userId: number;
|
|
2506
|
+
accountId: string;
|
|
2507
2507
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2508
2508
|
locale?: string | null | undefined;
|
|
2509
2509
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -2522,8 +2522,8 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
2522
2522
|
profilePicture?: {
|
|
2523
2523
|
path: string;
|
|
2524
2524
|
id: string;
|
|
2525
|
-
userId: number;
|
|
2526
2525
|
createdAt: Date;
|
|
2526
|
+
userId: number;
|
|
2527
2527
|
signedUrl: string;
|
|
2528
2528
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2529
2529
|
} | null | undefined;
|
|
@@ -2536,8 +2536,8 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
2536
2536
|
isBoosted?: boolean | null | undefined;
|
|
2537
2537
|
}, {
|
|
2538
2538
|
id: string;
|
|
2539
|
-
accountId: string;
|
|
2540
2539
|
createdAt: Date;
|
|
2540
|
+
accountId: string;
|
|
2541
2541
|
itemId: number;
|
|
2542
2542
|
platformId: string;
|
|
2543
2543
|
platformUrl: string;
|
|
@@ -2551,9 +2551,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
2551
2551
|
viewsCount?: number | null | undefined;
|
|
2552
2552
|
favoritesCount?: number | null | undefined;
|
|
2553
2553
|
account?: {
|
|
2554
|
-
accountId: string;
|
|
2555
|
-
userId: number;
|
|
2556
2554
|
name: string;
|
|
2555
|
+
userId: number;
|
|
2556
|
+
accountId: string;
|
|
2557
2557
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2558
2558
|
status?: unknown;
|
|
2559
2559
|
locale?: string | null | undefined;
|
|
@@ -2573,8 +2573,8 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
2573
2573
|
profilePicture?: {
|
|
2574
2574
|
path: string;
|
|
2575
2575
|
id: string;
|
|
2576
|
-
userId: number;
|
|
2577
2576
|
createdAt: Date;
|
|
2577
|
+
userId: number;
|
|
2578
2578
|
signedUrl: string;
|
|
2579
2579
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2580
2580
|
} | null | undefined;
|
|
@@ -2712,7 +2712,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
2712
2712
|
autoFixable: z.ZodBoolean;
|
|
2713
2713
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2714
2714
|
}, "strip", z.ZodTypeAny, {
|
|
2715
|
-
field: "
|
|
2715
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2716
2716
|
autoFixable: boolean;
|
|
2717
2717
|
error?: string | null | undefined;
|
|
2718
2718
|
}, {
|
|
@@ -2727,7 +2727,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
2727
2727
|
accountId?: string | null | undefined;
|
|
2728
2728
|
reason?: string | null | undefined;
|
|
2729
2729
|
fields?: {
|
|
2730
|
-
field: "
|
|
2730
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2731
2731
|
autoFixable: boolean;
|
|
2732
2732
|
error?: string | null | undefined;
|
|
2733
2733
|
}[] | null | undefined;
|
|
@@ -2753,7 +2753,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
2753
2753
|
accountId?: string | null | undefined;
|
|
2754
2754
|
reason?: string | null | undefined;
|
|
2755
2755
|
fields?: {
|
|
2756
|
-
field: "
|
|
2756
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2757
2757
|
autoFixable: boolean;
|
|
2758
2758
|
error?: string | null | undefined;
|
|
2759
2759
|
}[] | null | undefined;
|
|
@@ -2937,23 +2937,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
2937
2937
|
boostedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2938
2938
|
boostedUntil: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2939
2939
|
}, "strip", z.ZodTypeAny, {
|
|
2940
|
-
size?: string | null | undefined;
|
|
2941
2940
|
status?: string | null | undefined;
|
|
2942
2941
|
title?: string | null | undefined;
|
|
2943
2942
|
description?: string | null | undefined;
|
|
2943
|
+
brand?: string | null | undefined;
|
|
2944
|
+
statusId?: number | null | undefined;
|
|
2945
|
+
sizeId?: number | null | undefined;
|
|
2946
|
+
colorIds?: number[] | null | undefined;
|
|
2947
|
+
packageSizeId?: number | null | undefined;
|
|
2944
2948
|
price?: number | null | undefined;
|
|
2945
2949
|
currency?: string | null | undefined;
|
|
2946
|
-
brand?: string | null | undefined;
|
|
2947
2950
|
catalog?: string | null | undefined;
|
|
2948
2951
|
catalogId?: number | null | undefined;
|
|
2949
2952
|
colors?: string[] | null | undefined;
|
|
2950
|
-
colorIds?: number[] | null | undefined;
|
|
2951
2953
|
measurementLength?: number | null | undefined;
|
|
2952
2954
|
measurementWidth?: number | null | undefined;
|
|
2953
|
-
packageSizeId?: number | null | undefined;
|
|
2954
2955
|
photoUrls?: string[] | null | undefined;
|
|
2955
|
-
|
|
2956
|
-
statusId?: number | null | undefined;
|
|
2956
|
+
size?: string | null | undefined;
|
|
2957
2957
|
isDraft?: boolean | null | undefined;
|
|
2958
2958
|
isArchived?: boolean | null | undefined;
|
|
2959
2959
|
isUnisex?: boolean | null | undefined;
|
|
@@ -2982,23 +2982,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
2982
2982
|
isHidden?: boolean | null | undefined;
|
|
2983
2983
|
isDeleted?: boolean | null | undefined;
|
|
2984
2984
|
}, {
|
|
2985
|
-
size?: string | null | undefined;
|
|
2986
2985
|
status?: string | null | undefined;
|
|
2987
2986
|
title?: string | null | undefined;
|
|
2988
2987
|
description?: string | null | undefined;
|
|
2988
|
+
brand?: string | null | undefined;
|
|
2989
|
+
statusId?: number | null | undefined;
|
|
2990
|
+
sizeId?: number | null | undefined;
|
|
2991
|
+
colorIds?: number[] | null | undefined;
|
|
2992
|
+
packageSizeId?: number | null | undefined;
|
|
2989
2993
|
price?: number | null | undefined;
|
|
2990
2994
|
currency?: string | null | undefined;
|
|
2991
|
-
brand?: string | null | undefined;
|
|
2992
2995
|
catalog?: string | null | undefined;
|
|
2993
2996
|
catalogId?: number | null | undefined;
|
|
2994
2997
|
colors?: string[] | null | undefined;
|
|
2995
|
-
colorIds?: number[] | null | undefined;
|
|
2996
2998
|
measurementLength?: number | null | undefined;
|
|
2997
2999
|
measurementWidth?: number | null | undefined;
|
|
2998
|
-
packageSizeId?: number | null | undefined;
|
|
2999
3000
|
photoUrls?: string[] | null | undefined;
|
|
3000
|
-
|
|
3001
|
-
statusId?: number | null | undefined;
|
|
3001
|
+
size?: string | null | undefined;
|
|
3002
3002
|
isDraft?: boolean | null | undefined;
|
|
3003
3003
|
isArchived?: boolean | null | undefined;
|
|
3004
3004
|
isUnisex?: boolean | null | undefined;
|
|
@@ -3032,23 +3032,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
3032
3032
|
}, "strip", z.ZodTypeAny, {
|
|
3033
3033
|
platformId: string;
|
|
3034
3034
|
post: {
|
|
3035
|
-
size?: string | null | undefined;
|
|
3036
3035
|
status?: string | null | undefined;
|
|
3037
3036
|
title?: string | null | undefined;
|
|
3038
3037
|
description?: string | null | undefined;
|
|
3038
|
+
brand?: string | null | undefined;
|
|
3039
|
+
statusId?: number | null | undefined;
|
|
3040
|
+
sizeId?: number | null | undefined;
|
|
3041
|
+
colorIds?: number[] | null | undefined;
|
|
3042
|
+
packageSizeId?: number | null | undefined;
|
|
3039
3043
|
price?: number | null | undefined;
|
|
3040
3044
|
currency?: string | null | undefined;
|
|
3041
|
-
brand?: string | null | undefined;
|
|
3042
3045
|
catalog?: string | null | undefined;
|
|
3043
3046
|
catalogId?: number | null | undefined;
|
|
3044
3047
|
colors?: string[] | null | undefined;
|
|
3045
|
-
colorIds?: number[] | null | undefined;
|
|
3046
3048
|
measurementLength?: number | null | undefined;
|
|
3047
3049
|
measurementWidth?: number | null | undefined;
|
|
3048
|
-
packageSizeId?: number | null | undefined;
|
|
3049
3050
|
photoUrls?: string[] | null | undefined;
|
|
3050
|
-
|
|
3051
|
-
statusId?: number | null | undefined;
|
|
3051
|
+
size?: string | null | undefined;
|
|
3052
3052
|
isDraft?: boolean | null | undefined;
|
|
3053
3053
|
isArchived?: boolean | null | undefined;
|
|
3054
3054
|
isUnisex?: boolean | null | undefined;
|
|
@@ -3084,23 +3084,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
3084
3084
|
}, {
|
|
3085
3085
|
platformId: string;
|
|
3086
3086
|
post: {
|
|
3087
|
-
size?: string | null | undefined;
|
|
3088
3087
|
status?: string | null | undefined;
|
|
3089
3088
|
title?: string | null | undefined;
|
|
3090
3089
|
description?: string | null | undefined;
|
|
3090
|
+
brand?: string | null | undefined;
|
|
3091
|
+
statusId?: number | null | undefined;
|
|
3092
|
+
sizeId?: number | null | undefined;
|
|
3093
|
+
colorIds?: number[] | null | undefined;
|
|
3094
|
+
packageSizeId?: number | null | undefined;
|
|
3091
3095
|
price?: number | null | undefined;
|
|
3092
3096
|
currency?: string | null | undefined;
|
|
3093
|
-
brand?: string | null | undefined;
|
|
3094
3097
|
catalog?: string | null | undefined;
|
|
3095
3098
|
catalogId?: number | null | undefined;
|
|
3096
3099
|
colors?: string[] | null | undefined;
|
|
3097
|
-
colorIds?: number[] | null | undefined;
|
|
3098
3100
|
measurementLength?: number | null | undefined;
|
|
3099
3101
|
measurementWidth?: number | null | undefined;
|
|
3100
|
-
packageSizeId?: number | null | undefined;
|
|
3101
3102
|
photoUrls?: string[] | null | undefined;
|
|
3102
|
-
|
|
3103
|
-
statusId?: number | null | undefined;
|
|
3103
|
+
size?: string | null | undefined;
|
|
3104
3104
|
isDraft?: boolean | null | undefined;
|
|
3105
3105
|
isArchived?: boolean | null | undefined;
|
|
3106
3106
|
isUnisex?: boolean | null | undefined;
|
|
@@ -3138,23 +3138,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
3138
3138
|
post: {
|
|
3139
3139
|
platformId: string;
|
|
3140
3140
|
post: {
|
|
3141
|
-
size?: string | null | undefined;
|
|
3142
3141
|
status?: string | null | undefined;
|
|
3143
3142
|
title?: string | null | undefined;
|
|
3144
3143
|
description?: string | null | undefined;
|
|
3144
|
+
brand?: string | null | undefined;
|
|
3145
|
+
statusId?: number | null | undefined;
|
|
3146
|
+
sizeId?: number | null | undefined;
|
|
3147
|
+
colorIds?: number[] | null | undefined;
|
|
3148
|
+
packageSizeId?: number | null | undefined;
|
|
3145
3149
|
price?: number | null | undefined;
|
|
3146
3150
|
currency?: string | null | undefined;
|
|
3147
|
-
brand?: string | null | undefined;
|
|
3148
3151
|
catalog?: string | null | undefined;
|
|
3149
3152
|
catalogId?: number | null | undefined;
|
|
3150
3153
|
colors?: string[] | null | undefined;
|
|
3151
|
-
colorIds?: number[] | null | undefined;
|
|
3152
3154
|
measurementLength?: number | null | undefined;
|
|
3153
3155
|
measurementWidth?: number | null | undefined;
|
|
3154
|
-
packageSizeId?: number | null | undefined;
|
|
3155
3156
|
photoUrls?: string[] | null | undefined;
|
|
3156
|
-
|
|
3157
|
-
statusId?: number | null | undefined;
|
|
3157
|
+
size?: string | null | undefined;
|
|
3158
3158
|
isDraft?: boolean | null | undefined;
|
|
3159
3159
|
isArchived?: boolean | null | undefined;
|
|
3160
3160
|
isUnisex?: boolean | null | undefined;
|
|
@@ -3192,23 +3192,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
3192
3192
|
post: {
|
|
3193
3193
|
platformId: string;
|
|
3194
3194
|
post: {
|
|
3195
|
-
size?: string | null | undefined;
|
|
3196
3195
|
status?: string | null | undefined;
|
|
3197
3196
|
title?: string | null | undefined;
|
|
3198
3197
|
description?: string | null | undefined;
|
|
3198
|
+
brand?: string | null | undefined;
|
|
3199
|
+
statusId?: number | null | undefined;
|
|
3200
|
+
sizeId?: number | null | undefined;
|
|
3201
|
+
colorIds?: number[] | null | undefined;
|
|
3202
|
+
packageSizeId?: number | null | undefined;
|
|
3199
3203
|
price?: number | null | undefined;
|
|
3200
3204
|
currency?: string | null | undefined;
|
|
3201
|
-
brand?: string | null | undefined;
|
|
3202
3205
|
catalog?: string | null | undefined;
|
|
3203
3206
|
catalogId?: number | null | undefined;
|
|
3204
3207
|
colors?: string[] | null | undefined;
|
|
3205
|
-
colorIds?: number[] | null | undefined;
|
|
3206
3208
|
measurementLength?: number | null | undefined;
|
|
3207
3209
|
measurementWidth?: number | null | undefined;
|
|
3208
|
-
packageSizeId?: number | null | undefined;
|
|
3209
3210
|
photoUrls?: string[] | null | undefined;
|
|
3210
|
-
|
|
3211
|
-
statusId?: number | null | undefined;
|
|
3211
|
+
size?: string | null | undefined;
|
|
3212
3212
|
isDraft?: boolean | null | undefined;
|
|
3213
3213
|
isArchived?: boolean | null | undefined;
|
|
3214
3214
|
isUnisex?: boolean | null | undefined;
|
|
@@ -3250,23 +3250,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
3250
3250
|
post: {
|
|
3251
3251
|
platformId: string;
|
|
3252
3252
|
post: {
|
|
3253
|
-
size?: string | null | undefined;
|
|
3254
3253
|
status?: string | null | undefined;
|
|
3255
3254
|
title?: string | null | undefined;
|
|
3256
3255
|
description?: string | null | undefined;
|
|
3256
|
+
brand?: string | null | undefined;
|
|
3257
|
+
statusId?: number | null | undefined;
|
|
3258
|
+
sizeId?: number | null | undefined;
|
|
3259
|
+
colorIds?: number[] | null | undefined;
|
|
3260
|
+
packageSizeId?: number | null | undefined;
|
|
3257
3261
|
price?: number | null | undefined;
|
|
3258
3262
|
currency?: string | null | undefined;
|
|
3259
|
-
brand?: string | null | undefined;
|
|
3260
3263
|
catalog?: string | null | undefined;
|
|
3261
3264
|
catalogId?: number | null | undefined;
|
|
3262
3265
|
colors?: string[] | null | undefined;
|
|
3263
|
-
colorIds?: number[] | null | undefined;
|
|
3264
3266
|
measurementLength?: number | null | undefined;
|
|
3265
3267
|
measurementWidth?: number | null | undefined;
|
|
3266
|
-
packageSizeId?: number | null | undefined;
|
|
3267
3268
|
photoUrls?: string[] | null | undefined;
|
|
3268
|
-
|
|
3269
|
-
statusId?: number | null | undefined;
|
|
3269
|
+
size?: string | null | undefined;
|
|
3270
3270
|
isDraft?: boolean | null | undefined;
|
|
3271
3271
|
isArchived?: boolean | null | undefined;
|
|
3272
3272
|
isUnisex?: boolean | null | undefined;
|
|
@@ -3307,23 +3307,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
3307
3307
|
post: {
|
|
3308
3308
|
platformId: string;
|
|
3309
3309
|
post: {
|
|
3310
|
-
size?: string | null | undefined;
|
|
3311
3310
|
status?: string | null | undefined;
|
|
3312
3311
|
title?: string | null | undefined;
|
|
3313
3312
|
description?: string | null | undefined;
|
|
3313
|
+
brand?: string | null | undefined;
|
|
3314
|
+
statusId?: number | null | undefined;
|
|
3315
|
+
sizeId?: number | null | undefined;
|
|
3316
|
+
colorIds?: number[] | null | undefined;
|
|
3317
|
+
packageSizeId?: number | null | undefined;
|
|
3314
3318
|
price?: number | null | undefined;
|
|
3315
3319
|
currency?: string | null | undefined;
|
|
3316
|
-
brand?: string | null | undefined;
|
|
3317
3320
|
catalog?: string | null | undefined;
|
|
3318
3321
|
catalogId?: number | null | undefined;
|
|
3319
3322
|
colors?: string[] | null | undefined;
|
|
3320
|
-
colorIds?: number[] | null | undefined;
|
|
3321
3323
|
measurementLength?: number | null | undefined;
|
|
3322
3324
|
measurementWidth?: number | null | undefined;
|
|
3323
|
-
packageSizeId?: number | null | undefined;
|
|
3324
3325
|
photoUrls?: string[] | null | undefined;
|
|
3325
|
-
|
|
3326
|
-
statusId?: number | null | undefined;
|
|
3326
|
+
size?: string | null | undefined;
|
|
3327
3327
|
isDraft?: boolean | null | undefined;
|
|
3328
3328
|
isArchived?: boolean | null | undefined;
|
|
3329
3329
|
isUnisex?: boolean | null | undefined;
|
|
@@ -3383,27 +3383,27 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
3383
3383
|
caseId: z.ZodString;
|
|
3384
3384
|
isRepeat: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3385
3385
|
}, "strip", z.ZodTypeAny, {
|
|
3386
|
-
accountId: string;
|
|
3387
3386
|
caseId: string;
|
|
3387
|
+
accountId: string;
|
|
3388
3388
|
isRepeat?: boolean | null | undefined;
|
|
3389
3389
|
}, {
|
|
3390
|
-
accountId: string;
|
|
3391
3390
|
caseId: string;
|
|
3391
|
+
accountId: string;
|
|
3392
3392
|
isRepeat?: boolean | null | undefined;
|
|
3393
3393
|
}>;
|
|
3394
3394
|
type: z.ZodLiteral<"LIFECYCLE_STARTED">;
|
|
3395
3395
|
}, "strip", z.ZodTypeAny, {
|
|
3396
3396
|
type: "LIFECYCLE_STARTED";
|
|
3397
3397
|
data: {
|
|
3398
|
-
accountId: string;
|
|
3399
3398
|
caseId: string;
|
|
3399
|
+
accountId: string;
|
|
3400
3400
|
isRepeat?: boolean | null | undefined;
|
|
3401
3401
|
};
|
|
3402
3402
|
}, {
|
|
3403
3403
|
type: "LIFECYCLE_STARTED";
|
|
3404
3404
|
data: {
|
|
3405
|
-
accountId: string;
|
|
3406
3405
|
caseId: string;
|
|
3406
|
+
accountId: string;
|
|
3407
3407
|
isRepeat?: boolean | null | undefined;
|
|
3408
3408
|
};
|
|
3409
3409
|
}>, z.ZodObject<{
|
|
@@ -3579,10 +3579,10 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
3579
3579
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
3580
3580
|
} | null | undefined;
|
|
3581
3581
|
} | null | undefined;
|
|
3582
|
-
targetAccountId?: string | null | undefined;
|
|
3583
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
3584
3582
|
publishingDate?: Date | null | undefined;
|
|
3585
3583
|
isTransfer?: boolean | null | undefined;
|
|
3584
|
+
targetAccountId?: string | null | undefined;
|
|
3585
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
3586
3586
|
}, {
|
|
3587
3587
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3588
3588
|
payload?: {
|
|
@@ -3609,10 +3609,10 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
3609
3609
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
3610
3610
|
} | null | undefined;
|
|
3611
3611
|
} | null | undefined;
|
|
3612
|
-
targetAccountId?: string | null | undefined;
|
|
3613
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
3614
3612
|
publishingDate?: Date | null | undefined;
|
|
3615
3613
|
isTransfer?: boolean | null | undefined;
|
|
3614
|
+
targetAccountId?: string | null | undefined;
|
|
3615
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
3616
3616
|
}>;
|
|
3617
3617
|
type: z.ZodLiteral<"REPUBLISHING">;
|
|
3618
3618
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3643,10 +3643,10 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
3643
3643
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
3644
3644
|
} | null | undefined;
|
|
3645
3645
|
} | null | undefined;
|
|
3646
|
-
targetAccountId?: string | null | undefined;
|
|
3647
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
3648
3646
|
publishingDate?: Date | null | undefined;
|
|
3649
3647
|
isTransfer?: boolean | null | undefined;
|
|
3648
|
+
targetAccountId?: string | null | undefined;
|
|
3649
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
3650
3650
|
};
|
|
3651
3651
|
}, {
|
|
3652
3652
|
type: "REPUBLISHING";
|
|
@@ -3676,10 +3676,10 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
3676
3676
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
3677
3677
|
} | null | undefined;
|
|
3678
3678
|
} | null | undefined;
|
|
3679
|
-
targetAccountId?: string | null | undefined;
|
|
3680
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
3681
3679
|
publishingDate?: Date | null | undefined;
|
|
3682
3680
|
isTransfer?: boolean | null | undefined;
|
|
3681
|
+
targetAccountId?: string | null | undefined;
|
|
3682
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
3683
3683
|
};
|
|
3684
3684
|
}>, z.ZodObject<{
|
|
3685
3685
|
data: z.ZodObject<{
|
|
@@ -3693,7 +3693,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
3693
3693
|
autoFixable: z.ZodBoolean;
|
|
3694
3694
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3695
3695
|
}, "strip", z.ZodTypeAny, {
|
|
3696
|
-
field: "
|
|
3696
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
3697
3697
|
autoFixable: boolean;
|
|
3698
3698
|
error?: string | null | undefined;
|
|
3699
3699
|
}, {
|
|
@@ -3808,9 +3808,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
3808
3808
|
} | null | undefined;
|
|
3809
3809
|
}>>>;
|
|
3810
3810
|
}, "strip", z.ZodTypeAny, {
|
|
3811
|
+
maxAttempts: number;
|
|
3811
3812
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3812
3813
|
attemptNumber: number;
|
|
3813
|
-
maxAttempts: number;
|
|
3814
3814
|
previousHistoryId: string;
|
|
3815
3815
|
originalFailureDate: Date;
|
|
3816
3816
|
payload?: {
|
|
@@ -3838,14 +3838,14 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
3838
3838
|
} | null | undefined;
|
|
3839
3839
|
} | null | undefined;
|
|
3840
3840
|
fields?: {
|
|
3841
|
-
field: "
|
|
3841
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
3842
3842
|
autoFixable: boolean;
|
|
3843
3843
|
error?: string | null | undefined;
|
|
3844
3844
|
}[] | null | undefined;
|
|
3845
3845
|
}, {
|
|
3846
|
+
maxAttempts: number;
|
|
3846
3847
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3847
3848
|
attemptNumber: number;
|
|
3848
|
-
maxAttempts: number;
|
|
3849
3849
|
previousHistoryId: string;
|
|
3850
3850
|
originalFailureDate: Date;
|
|
3851
3851
|
payload?: {
|
|
@@ -3882,9 +3882,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
3882
3882
|
}, "strip", z.ZodTypeAny, {
|
|
3883
3883
|
type: "REPUBLISHING_RETRY";
|
|
3884
3884
|
data: {
|
|
3885
|
+
maxAttempts: number;
|
|
3885
3886
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3886
3887
|
attemptNumber: number;
|
|
3887
|
-
maxAttempts: number;
|
|
3888
3888
|
previousHistoryId: string;
|
|
3889
3889
|
originalFailureDate: Date;
|
|
3890
3890
|
payload?: {
|
|
@@ -3912,7 +3912,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
3912
3912
|
} | null | undefined;
|
|
3913
3913
|
} | null | undefined;
|
|
3914
3914
|
fields?: {
|
|
3915
|
-
field: "
|
|
3915
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
3916
3916
|
autoFixable: boolean;
|
|
3917
3917
|
error?: string | null | undefined;
|
|
3918
3918
|
}[] | null | undefined;
|
|
@@ -3920,9 +3920,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
3920
3920
|
}, {
|
|
3921
3921
|
type: "REPUBLISHING_RETRY";
|
|
3922
3922
|
data: {
|
|
3923
|
+
maxAttempts: number;
|
|
3923
3924
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3924
3925
|
attemptNumber: number;
|
|
3925
|
-
maxAttempts: number;
|
|
3926
3926
|
previousHistoryId: string;
|
|
3927
3927
|
originalFailureDate: Date;
|
|
3928
3928
|
payload?: {
|
|
@@ -3991,7 +3991,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
3991
3991
|
autoFixable: z.ZodBoolean;
|
|
3992
3992
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3993
3993
|
}, "strip", z.ZodTypeAny, {
|
|
3994
|
-
field: "
|
|
3994
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
3995
3995
|
autoFixable: boolean;
|
|
3996
3996
|
error?: string | null | undefined;
|
|
3997
3997
|
}, {
|
|
@@ -4000,20 +4000,20 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
4000
4000
|
error?: string | null | undefined;
|
|
4001
4001
|
}>, "many">>>;
|
|
4002
4002
|
}, "strip", z.ZodTypeAny, {
|
|
4003
|
+
maxAttempts: number;
|
|
4003
4004
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4004
4005
|
attemptNumber: number;
|
|
4005
|
-
maxAttempts: number;
|
|
4006
4006
|
previousHistoryId: string;
|
|
4007
4007
|
originalFailureDate: Date;
|
|
4008
4008
|
fields?: {
|
|
4009
|
-
field: "
|
|
4009
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
4010
4010
|
autoFixable: boolean;
|
|
4011
4011
|
error?: string | null | undefined;
|
|
4012
4012
|
}[] | null | undefined;
|
|
4013
4013
|
}, {
|
|
4014
|
+
maxAttempts: number;
|
|
4014
4015
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4015
4016
|
attemptNumber: number;
|
|
4016
|
-
maxAttempts: number;
|
|
4017
4017
|
previousHistoryId: string;
|
|
4018
4018
|
originalFailureDate: Date;
|
|
4019
4019
|
fields?: {
|
|
@@ -4026,13 +4026,13 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
4026
4026
|
}, "strip", z.ZodTypeAny, {
|
|
4027
4027
|
type: "SCHEDULED_RETRY";
|
|
4028
4028
|
data: {
|
|
4029
|
+
maxAttempts: number;
|
|
4029
4030
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4030
4031
|
attemptNumber: number;
|
|
4031
|
-
maxAttempts: number;
|
|
4032
4032
|
previousHistoryId: string;
|
|
4033
4033
|
originalFailureDate: Date;
|
|
4034
4034
|
fields?: {
|
|
4035
|
-
field: "
|
|
4035
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
4036
4036
|
autoFixable: boolean;
|
|
4037
4037
|
error?: string | null | undefined;
|
|
4038
4038
|
}[] | null | undefined;
|
|
@@ -4040,9 +4040,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
4040
4040
|
}, {
|
|
4041
4041
|
type: "SCHEDULED_RETRY";
|
|
4042
4042
|
data: {
|
|
4043
|
+
maxAttempts: number;
|
|
4043
4044
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4044
4045
|
attemptNumber: number;
|
|
4045
|
-
maxAttempts: number;
|
|
4046
4046
|
previousHistoryId: string;
|
|
4047
4047
|
originalFailureDate: Date;
|
|
4048
4048
|
fields?: {
|
|
@@ -4199,7 +4199,6 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
4199
4199
|
id: string;
|
|
4200
4200
|
createdAt: Date;
|
|
4201
4201
|
itemId: number;
|
|
4202
|
-
accountId?: string | null | undefined;
|
|
4203
4202
|
data?: {
|
|
4204
4203
|
type: "ACTION_CANCELED";
|
|
4205
4204
|
data: {
|
|
@@ -4235,7 +4234,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
4235
4234
|
accountId?: string | null | undefined;
|
|
4236
4235
|
reason?: string | null | undefined;
|
|
4237
4236
|
fields?: {
|
|
4238
|
-
field: "
|
|
4237
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
4239
4238
|
autoFixable: boolean;
|
|
4240
4239
|
error?: string | null | undefined;
|
|
4241
4240
|
}[] | null | undefined;
|
|
@@ -4265,23 +4264,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
4265
4264
|
post: {
|
|
4266
4265
|
platformId: string;
|
|
4267
4266
|
post: {
|
|
4268
|
-
size?: string | null | undefined;
|
|
4269
4267
|
status?: string | null | undefined;
|
|
4270
4268
|
title?: string | null | undefined;
|
|
4271
4269
|
description?: string | null | undefined;
|
|
4270
|
+
brand?: string | null | undefined;
|
|
4271
|
+
statusId?: number | null | undefined;
|
|
4272
|
+
sizeId?: number | null | undefined;
|
|
4273
|
+
colorIds?: number[] | null | undefined;
|
|
4274
|
+
packageSizeId?: number | null | undefined;
|
|
4272
4275
|
price?: number | null | undefined;
|
|
4273
4276
|
currency?: string | null | undefined;
|
|
4274
|
-
brand?: string | null | undefined;
|
|
4275
4277
|
catalog?: string | null | undefined;
|
|
4276
4278
|
catalogId?: number | null | undefined;
|
|
4277
4279
|
colors?: string[] | null | undefined;
|
|
4278
|
-
colorIds?: number[] | null | undefined;
|
|
4279
4280
|
measurementLength?: number | null | undefined;
|
|
4280
4281
|
measurementWidth?: number | null | undefined;
|
|
4281
|
-
packageSizeId?: number | null | undefined;
|
|
4282
4282
|
photoUrls?: string[] | null | undefined;
|
|
4283
|
-
|
|
4284
|
-
statusId?: number | null | undefined;
|
|
4283
|
+
size?: string | null | undefined;
|
|
4285
4284
|
isDraft?: boolean | null | undefined;
|
|
4286
4285
|
isArchived?: boolean | null | undefined;
|
|
4287
4286
|
isUnisex?: boolean | null | undefined;
|
|
@@ -4324,8 +4323,8 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
4324
4323
|
} | {
|
|
4325
4324
|
type: "LIFECYCLE_STARTED";
|
|
4326
4325
|
data: {
|
|
4327
|
-
accountId: string;
|
|
4328
4326
|
caseId: string;
|
|
4327
|
+
accountId: string;
|
|
4329
4328
|
isRepeat?: boolean | null | undefined;
|
|
4330
4329
|
};
|
|
4331
4330
|
} | {
|
|
@@ -4364,17 +4363,17 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
4364
4363
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
4365
4364
|
} | null | undefined;
|
|
4366
4365
|
} | null | undefined;
|
|
4367
|
-
targetAccountId?: string | null | undefined;
|
|
4368
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
4369
4366
|
publishingDate?: Date | null | undefined;
|
|
4370
4367
|
isTransfer?: boolean | null | undefined;
|
|
4368
|
+
targetAccountId?: string | null | undefined;
|
|
4369
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
4371
4370
|
};
|
|
4372
4371
|
} | {
|
|
4373
4372
|
type: "REPUBLISHING_RETRY";
|
|
4374
4373
|
data: {
|
|
4374
|
+
maxAttempts: number;
|
|
4375
4375
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4376
4376
|
attemptNumber: number;
|
|
4377
|
-
maxAttempts: number;
|
|
4378
4377
|
previousHistoryId: string;
|
|
4379
4378
|
originalFailureDate: Date;
|
|
4380
4379
|
payload?: {
|
|
@@ -4402,7 +4401,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
4402
4401
|
} | null | undefined;
|
|
4403
4402
|
} | null | undefined;
|
|
4404
4403
|
fields?: {
|
|
4405
|
-
field: "
|
|
4404
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
4406
4405
|
autoFixable: boolean;
|
|
4407
4406
|
error?: string | null | undefined;
|
|
4408
4407
|
}[] | null | undefined;
|
|
@@ -4416,13 +4415,13 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
4416
4415
|
} | {
|
|
4417
4416
|
type: "SCHEDULED_RETRY";
|
|
4418
4417
|
data: {
|
|
4418
|
+
maxAttempts: number;
|
|
4419
4419
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4420
4420
|
attemptNumber: number;
|
|
4421
|
-
maxAttempts: number;
|
|
4422
4421
|
previousHistoryId: string;
|
|
4423
4422
|
originalFailureDate: Date;
|
|
4424
4423
|
fields?: {
|
|
4425
|
-
field: "
|
|
4424
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
4426
4425
|
autoFixable: boolean;
|
|
4427
4426
|
error?: string | null | undefined;
|
|
4428
4427
|
}[] | null | undefined;
|
|
@@ -4451,6 +4450,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
4451
4450
|
targetDate?: Date | null | undefined;
|
|
4452
4451
|
};
|
|
4453
4452
|
} | null | undefined;
|
|
4453
|
+
accountId?: string | null | undefined;
|
|
4454
4454
|
targetDate?: Date | null | undefined;
|
|
4455
4455
|
requestId?: string | null | undefined;
|
|
4456
4456
|
targetHistoryId?: string | null | undefined;
|
|
@@ -4459,7 +4459,6 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
4459
4459
|
createdAt: Date;
|
|
4460
4460
|
itemId: number;
|
|
4461
4461
|
type?: unknown;
|
|
4462
|
-
accountId?: string | null | undefined;
|
|
4463
4462
|
data?: {
|
|
4464
4463
|
type: "ACTION_CANCELED";
|
|
4465
4464
|
data: {
|
|
@@ -4525,23 +4524,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
4525
4524
|
post: {
|
|
4526
4525
|
platformId: string;
|
|
4527
4526
|
post: {
|
|
4528
|
-
size?: string | null | undefined;
|
|
4529
4527
|
status?: string | null | undefined;
|
|
4530
4528
|
title?: string | null | undefined;
|
|
4531
4529
|
description?: string | null | undefined;
|
|
4530
|
+
brand?: string | null | undefined;
|
|
4531
|
+
statusId?: number | null | undefined;
|
|
4532
|
+
sizeId?: number | null | undefined;
|
|
4533
|
+
colorIds?: number[] | null | undefined;
|
|
4534
|
+
packageSizeId?: number | null | undefined;
|
|
4532
4535
|
price?: number | null | undefined;
|
|
4533
4536
|
currency?: string | null | undefined;
|
|
4534
|
-
brand?: string | null | undefined;
|
|
4535
4537
|
catalog?: string | null | undefined;
|
|
4536
4538
|
catalogId?: number | null | undefined;
|
|
4537
4539
|
colors?: string[] | null | undefined;
|
|
4538
|
-
colorIds?: number[] | null | undefined;
|
|
4539
4540
|
measurementLength?: number | null | undefined;
|
|
4540
4541
|
measurementWidth?: number | null | undefined;
|
|
4541
|
-
packageSizeId?: number | null | undefined;
|
|
4542
4542
|
photoUrls?: string[] | null | undefined;
|
|
4543
|
-
|
|
4544
|
-
statusId?: number | null | undefined;
|
|
4543
|
+
size?: string | null | undefined;
|
|
4545
4544
|
isDraft?: boolean | null | undefined;
|
|
4546
4545
|
isArchived?: boolean | null | undefined;
|
|
4547
4546
|
isUnisex?: boolean | null | undefined;
|
|
@@ -4584,8 +4583,8 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
4584
4583
|
} | {
|
|
4585
4584
|
type: "LIFECYCLE_STARTED";
|
|
4586
4585
|
data: {
|
|
4587
|
-
accountId: string;
|
|
4588
4586
|
caseId: string;
|
|
4587
|
+
accountId: string;
|
|
4589
4588
|
isRepeat?: boolean | null | undefined;
|
|
4590
4589
|
};
|
|
4591
4590
|
} | {
|
|
@@ -4624,17 +4623,17 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
4624
4623
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
4625
4624
|
} | null | undefined;
|
|
4626
4625
|
} | null | undefined;
|
|
4627
|
-
targetAccountId?: string | null | undefined;
|
|
4628
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
4629
4626
|
publishingDate?: Date | null | undefined;
|
|
4630
4627
|
isTransfer?: boolean | null | undefined;
|
|
4628
|
+
targetAccountId?: string | null | undefined;
|
|
4629
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
4631
4630
|
};
|
|
4632
4631
|
} | {
|
|
4633
4632
|
type: "REPUBLISHING_RETRY";
|
|
4634
4633
|
data: {
|
|
4634
|
+
maxAttempts: number;
|
|
4635
4635
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4636
4636
|
attemptNumber: number;
|
|
4637
|
-
maxAttempts: number;
|
|
4638
4637
|
previousHistoryId: string;
|
|
4639
4638
|
originalFailureDate: Date;
|
|
4640
4639
|
payload?: {
|
|
@@ -4676,9 +4675,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
4676
4675
|
} | {
|
|
4677
4676
|
type: "SCHEDULED_RETRY";
|
|
4678
4677
|
data: {
|
|
4678
|
+
maxAttempts: number;
|
|
4679
4679
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4680
4680
|
attemptNumber: number;
|
|
4681
|
-
maxAttempts: number;
|
|
4682
4681
|
previousHistoryId: string;
|
|
4683
4682
|
originalFailureDate: Date;
|
|
4684
4683
|
fields?: {
|
|
@@ -4711,6 +4710,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
4711
4710
|
targetDate?: Date | null | undefined;
|
|
4712
4711
|
};
|
|
4713
4712
|
} | null | undefined;
|
|
4713
|
+
accountId?: string | null | undefined;
|
|
4714
4714
|
targetDate?: Date | null | undefined;
|
|
4715
4715
|
requestId?: string | null | undefined;
|
|
4716
4716
|
targetHistoryId?: string | null | undefined;
|
|
@@ -4720,26 +4720,42 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
4720
4720
|
analysisStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "COMPLETED", "FAILED"]>>>;
|
|
4721
4721
|
analysisRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4722
4722
|
}, "strip", z.ZodTypeAny, {
|
|
4723
|
-
id: number;
|
|
4724
|
-
userId: number;
|
|
4725
4723
|
name: string;
|
|
4724
|
+
id: number;
|
|
4726
4725
|
createdAt: Date;
|
|
4726
|
+
userId: number;
|
|
4727
4727
|
updatedAt: Date;
|
|
4728
4728
|
sold: boolean;
|
|
4729
|
+
fees?: {
|
|
4730
|
+
value: number;
|
|
4731
|
+
type: string;
|
|
4732
|
+
name: string;
|
|
4733
|
+
id: number;
|
|
4734
|
+
createdAt: Date;
|
|
4735
|
+
userId: number;
|
|
4736
|
+
updatedAt: Date;
|
|
4737
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
4738
|
+
startDate: Date;
|
|
4739
|
+
active: boolean;
|
|
4740
|
+
description?: string | null | undefined;
|
|
4741
|
+
itemId?: number | null | undefined;
|
|
4742
|
+
endDate?: Date | null | undefined;
|
|
4743
|
+
parentFeeId?: number | null | undefined;
|
|
4744
|
+
}[] | null | undefined;
|
|
4729
4745
|
description?: string | null | undefined;
|
|
4730
4746
|
categoryId?: number | null | undefined;
|
|
4731
|
-
|
|
4747
|
+
sizeId?: number | null | undefined;
|
|
4732
4748
|
colorIds?: number[] | null | undefined;
|
|
4749
|
+
packageSizeId?: number | null | undefined;
|
|
4750
|
+
state?: number | null | undefined;
|
|
4733
4751
|
measurementLength?: number | null | undefined;
|
|
4734
4752
|
measurementWidth?: number | null | undefined;
|
|
4735
|
-
packageSizeId?: number | null | undefined;
|
|
4736
|
-
sizeId?: number | null | undefined;
|
|
4737
4753
|
labels?: {
|
|
4738
4754
|
itemId: number;
|
|
4739
4755
|
labelId: number;
|
|
4740
4756
|
label?: {
|
|
4741
|
-
id: number;
|
|
4742
4757
|
name: string;
|
|
4758
|
+
id: number;
|
|
4743
4759
|
createdAt: Date;
|
|
4744
4760
|
isUserLabel: boolean;
|
|
4745
4761
|
itemCount?: number | null | undefined;
|
|
@@ -4752,50 +4768,86 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
4752
4768
|
fieldKey: string;
|
|
4753
4769
|
}[] | null | undefined;
|
|
4754
4770
|
sku?: string | null | undefined;
|
|
4771
|
+
sex?: string | null | undefined;
|
|
4772
|
+
platforms?: {
|
|
4773
|
+
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
4774
|
+
id: string;
|
|
4775
|
+
createdAt: Date;
|
|
4776
|
+
accountId: string;
|
|
4777
|
+
itemId: number;
|
|
4778
|
+
platformId: string;
|
|
4779
|
+
platformUrl: string;
|
|
4780
|
+
platformPrice: number;
|
|
4781
|
+
updatedAt: Date;
|
|
4782
|
+
publishedAt: Date;
|
|
4783
|
+
conversationId?: string | null | undefined;
|
|
4784
|
+
boostedAt?: Date | null | undefined;
|
|
4785
|
+
boostedUntil?: Date | null | undefined;
|
|
4786
|
+
viewsCount?: number | null | undefined;
|
|
4787
|
+
favoritesCount?: number | null | undefined;
|
|
4788
|
+
account?: {
|
|
4789
|
+
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
4790
|
+
name: string;
|
|
4791
|
+
userId: number;
|
|
4792
|
+
accountId: string;
|
|
4793
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4794
|
+
locale?: string | null | undefined;
|
|
4795
|
+
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
4796
|
+
restrictedUntil?: Date | null | undefined;
|
|
4797
|
+
night?: {
|
|
4798
|
+
startsAt: Date;
|
|
4799
|
+
endsAt: Date;
|
|
4800
|
+
} | null | undefined;
|
|
4801
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
4802
|
+
ordersMaxDelay?: number | null | undefined;
|
|
4803
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
4804
|
+
walletMaxDelay?: number | null | undefined;
|
|
4805
|
+
availableBalance?: number | null | undefined;
|
|
4806
|
+
pendingBalance?: number | null | undefined;
|
|
4807
|
+
profilePictureFileId?: string | null | undefined;
|
|
4808
|
+
profilePicture?: {
|
|
4809
|
+
path: string;
|
|
4810
|
+
id: string;
|
|
4811
|
+
createdAt: Date;
|
|
4812
|
+
userId: number;
|
|
4813
|
+
signedUrl: string;
|
|
4814
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4815
|
+
} | null | undefined;
|
|
4816
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
4817
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
4818
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
4819
|
+
} | null | undefined;
|
|
4820
|
+
orderStatus?: "UNKNOWN" | "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_IN_PROGRESS" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "FAILED_TO_ORDER_SHIPPING_LABEL" | "ORDER_RETURNED_TO_SENDER" | "PAYMENT_FAILED" | "ORDER_SUSPENDED" | "SHIPPING_TO_VERIFICATION_CENTER" | "RECEIVED_AT_VERIFICATION_CENTER" | "PAYMENT_IN_PROGRESS" | "SENT_TO_VERIFICATION_CENTER" | "SHIPPING_FROM_VERIFICATION_CENTER" | "VERIFICATION_FAILED" | "ORDER_DISPUTE_RESOLVED" | null | undefined;
|
|
4821
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
4822
|
+
isBoosted?: boolean | null | undefined;
|
|
4823
|
+
}[] | null | undefined;
|
|
4824
|
+
brandId?: number | null | undefined;
|
|
4825
|
+
estimatedPrice?: number | null | undefined;
|
|
4826
|
+
purchaseDate?: Date | null | undefined;
|
|
4827
|
+
sellingDate?: Date | null | undefined;
|
|
4755
4828
|
fields?: {
|
|
4756
4829
|
value: string;
|
|
4757
4830
|
itemId: number;
|
|
4758
4831
|
fieldId: number;
|
|
4759
4832
|
}[] | null | undefined;
|
|
4760
4833
|
files?: {
|
|
4761
|
-
itemId: number;
|
|
4762
4834
|
fileId: string;
|
|
4835
|
+
itemId: number;
|
|
4763
4836
|
file?: {
|
|
4764
4837
|
path: string;
|
|
4765
4838
|
id: string;
|
|
4766
|
-
userId: number;
|
|
4767
4839
|
createdAt: Date;
|
|
4840
|
+
userId: number;
|
|
4768
4841
|
signedUrl: string;
|
|
4769
4842
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4770
4843
|
} | null | undefined;
|
|
4771
4844
|
index?: number | null | undefined;
|
|
4772
4845
|
}[] | null | undefined;
|
|
4773
|
-
brandId?: number | null | undefined;
|
|
4774
|
-
sex?: string | null | undefined;
|
|
4775
4846
|
purchasePrice?: number | null | undefined;
|
|
4776
|
-
purchaseDate?: Date | null | undefined;
|
|
4777
4847
|
purchasePlaceId?: number | null | undefined;
|
|
4778
4848
|
purchased?: boolean | null | undefined;
|
|
4779
4849
|
sellingPrice?: number | null | undefined;
|
|
4780
|
-
sellingDate?: Date | null | undefined;
|
|
4781
4850
|
sellingPlaceId?: number | null | undefined;
|
|
4782
|
-
estimatedPrice?: number | null | undefined;
|
|
4783
|
-
fees?: {
|
|
4784
|
-
value: number;
|
|
4785
|
-
type: string;
|
|
4786
|
-
id: number;
|
|
4787
|
-
userId: number;
|
|
4788
|
-
name: string;
|
|
4789
|
-
createdAt: Date;
|
|
4790
|
-
updatedAt: Date;
|
|
4791
|
-
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
4792
|
-
startDate: Date;
|
|
4793
|
-
active: boolean;
|
|
4794
|
-
description?: string | null | undefined;
|
|
4795
|
-
itemId?: number | null | undefined;
|
|
4796
|
-
endDate?: Date | null | undefined;
|
|
4797
|
-
parentFeeId?: number | null | undefined;
|
|
4798
|
-
}[] | null | undefined;
|
|
4799
4851
|
feesSum?: number | null | undefined;
|
|
4800
4852
|
materialIds?: number[] | null | undefined;
|
|
4801
4853
|
enumValues?: {
|
|
@@ -4811,7 +4863,6 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
4811
4863
|
id: string;
|
|
4812
4864
|
createdAt: Date;
|
|
4813
4865
|
itemId: number;
|
|
4814
|
-
accountId?: string | null | undefined;
|
|
4815
4866
|
data?: {
|
|
4816
4867
|
type: "ACTION_CANCELED";
|
|
4817
4868
|
data: {
|
|
@@ -4847,7 +4898,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
4847
4898
|
accountId?: string | null | undefined;
|
|
4848
4899
|
reason?: string | null | undefined;
|
|
4849
4900
|
fields?: {
|
|
4850
|
-
field: "
|
|
4901
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
4851
4902
|
autoFixable: boolean;
|
|
4852
4903
|
error?: string | null | undefined;
|
|
4853
4904
|
}[] | null | undefined;
|
|
@@ -4877,23 +4928,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
4877
4928
|
post: {
|
|
4878
4929
|
platformId: string;
|
|
4879
4930
|
post: {
|
|
4880
|
-
size?: string | null | undefined;
|
|
4881
4931
|
status?: string | null | undefined;
|
|
4882
4932
|
title?: string | null | undefined;
|
|
4883
4933
|
description?: string | null | undefined;
|
|
4934
|
+
brand?: string | null | undefined;
|
|
4935
|
+
statusId?: number | null | undefined;
|
|
4936
|
+
sizeId?: number | null | undefined;
|
|
4937
|
+
colorIds?: number[] | null | undefined;
|
|
4938
|
+
packageSizeId?: number | null | undefined;
|
|
4884
4939
|
price?: number | null | undefined;
|
|
4885
4940
|
currency?: string | null | undefined;
|
|
4886
|
-
brand?: string | null | undefined;
|
|
4887
4941
|
catalog?: string | null | undefined;
|
|
4888
4942
|
catalogId?: number | null | undefined;
|
|
4889
4943
|
colors?: string[] | null | undefined;
|
|
4890
|
-
colorIds?: number[] | null | undefined;
|
|
4891
4944
|
measurementLength?: number | null | undefined;
|
|
4892
4945
|
measurementWidth?: number | null | undefined;
|
|
4893
|
-
packageSizeId?: number | null | undefined;
|
|
4894
4946
|
photoUrls?: string[] | null | undefined;
|
|
4895
|
-
|
|
4896
|
-
statusId?: number | null | undefined;
|
|
4947
|
+
size?: string | null | undefined;
|
|
4897
4948
|
isDraft?: boolean | null | undefined;
|
|
4898
4949
|
isArchived?: boolean | null | undefined;
|
|
4899
4950
|
isUnisex?: boolean | null | undefined;
|
|
@@ -4936,8 +4987,8 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
4936
4987
|
} | {
|
|
4937
4988
|
type: "LIFECYCLE_STARTED";
|
|
4938
4989
|
data: {
|
|
4939
|
-
accountId: string;
|
|
4940
4990
|
caseId: string;
|
|
4991
|
+
accountId: string;
|
|
4941
4992
|
isRepeat?: boolean | null | undefined;
|
|
4942
4993
|
};
|
|
4943
4994
|
} | {
|
|
@@ -4976,17 +5027,17 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
4976
5027
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
4977
5028
|
} | null | undefined;
|
|
4978
5029
|
} | null | undefined;
|
|
4979
|
-
targetAccountId?: string | null | undefined;
|
|
4980
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
4981
5030
|
publishingDate?: Date | null | undefined;
|
|
4982
5031
|
isTransfer?: boolean | null | undefined;
|
|
5032
|
+
targetAccountId?: string | null | undefined;
|
|
5033
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
4983
5034
|
};
|
|
4984
5035
|
} | {
|
|
4985
5036
|
type: "REPUBLISHING_RETRY";
|
|
4986
5037
|
data: {
|
|
5038
|
+
maxAttempts: number;
|
|
4987
5039
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4988
5040
|
attemptNumber: number;
|
|
4989
|
-
maxAttempts: number;
|
|
4990
5041
|
previousHistoryId: string;
|
|
4991
5042
|
originalFailureDate: Date;
|
|
4992
5043
|
payload?: {
|
|
@@ -5014,7 +5065,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
5014
5065
|
} | null | undefined;
|
|
5015
5066
|
} | null | undefined;
|
|
5016
5067
|
fields?: {
|
|
5017
|
-
field: "
|
|
5068
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
5018
5069
|
autoFixable: boolean;
|
|
5019
5070
|
error?: string | null | undefined;
|
|
5020
5071
|
}[] | null | undefined;
|
|
@@ -5028,13 +5079,13 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
5028
5079
|
} | {
|
|
5029
5080
|
type: "SCHEDULED_RETRY";
|
|
5030
5081
|
data: {
|
|
5082
|
+
maxAttempts: number;
|
|
5031
5083
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5032
5084
|
attemptNumber: number;
|
|
5033
|
-
maxAttempts: number;
|
|
5034
5085
|
previousHistoryId: string;
|
|
5035
5086
|
originalFailureDate: Date;
|
|
5036
5087
|
fields?: {
|
|
5037
|
-
field: "
|
|
5088
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
5038
5089
|
autoFixable: boolean;
|
|
5039
5090
|
error?: string | null | undefined;
|
|
5040
5091
|
}[] | null | undefined;
|
|
@@ -5063,69 +5114,17 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
5063
5114
|
targetDate?: Date | null | undefined;
|
|
5064
5115
|
};
|
|
5065
5116
|
} | null | undefined;
|
|
5117
|
+
accountId?: string | null | undefined;
|
|
5066
5118
|
targetDate?: Date | null | undefined;
|
|
5067
5119
|
requestId?: string | null | undefined;
|
|
5068
5120
|
targetHistoryId?: string | null | undefined;
|
|
5069
5121
|
} | null | undefined;
|
|
5070
|
-
platforms?: {
|
|
5071
|
-
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
5072
|
-
id: string;
|
|
5073
|
-
accountId: string;
|
|
5074
|
-
createdAt: Date;
|
|
5075
|
-
itemId: number;
|
|
5076
|
-
platformId: string;
|
|
5077
|
-
platformUrl: string;
|
|
5078
|
-
platformPrice: number;
|
|
5079
|
-
updatedAt: Date;
|
|
5080
|
-
publishedAt: Date;
|
|
5081
|
-
conversationId?: string | null | undefined;
|
|
5082
|
-
boostedAt?: Date | null | undefined;
|
|
5083
|
-
boostedUntil?: Date | null | undefined;
|
|
5084
|
-
viewsCount?: number | null | undefined;
|
|
5085
|
-
favoritesCount?: number | null | undefined;
|
|
5086
|
-
account?: {
|
|
5087
|
-
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
5088
|
-
accountId: string;
|
|
5089
|
-
userId: number;
|
|
5090
|
-
name: string;
|
|
5091
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5092
|
-
locale?: string | null | undefined;
|
|
5093
|
-
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
5094
|
-
restrictedUntil?: Date | null | undefined;
|
|
5095
|
-
night?: {
|
|
5096
|
-
startsAt: Date;
|
|
5097
|
-
endsAt: Date;
|
|
5098
|
-
} | null | undefined;
|
|
5099
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
5100
|
-
ordersMaxDelay?: number | null | undefined;
|
|
5101
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
5102
|
-
walletMaxDelay?: number | null | undefined;
|
|
5103
|
-
availableBalance?: number | null | undefined;
|
|
5104
|
-
pendingBalance?: number | null | undefined;
|
|
5105
|
-
profilePictureFileId?: string | null | undefined;
|
|
5106
|
-
profilePicture?: {
|
|
5107
|
-
path: string;
|
|
5108
|
-
id: string;
|
|
5109
|
-
userId: number;
|
|
5110
|
-
createdAt: Date;
|
|
5111
|
-
signedUrl: string;
|
|
5112
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5113
|
-
} | null | undefined;
|
|
5114
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
5115
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
5116
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
5117
|
-
} | null | undefined;
|
|
5118
|
-
orderStatus?: "UNKNOWN" | "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_IN_PROGRESS" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "FAILED_TO_ORDER_SHIPPING_LABEL" | "ORDER_RETURNED_TO_SENDER" | "PAYMENT_FAILED" | "ORDER_SUSPENDED" | "SHIPPING_TO_VERIFICATION_CENTER" | "RECEIVED_AT_VERIFICATION_CENTER" | "PAYMENT_IN_PROGRESS" | "SENT_TO_VERIFICATION_CENTER" | "SHIPPING_FROM_VERIFICATION_CENTER" | "VERIFICATION_FAILED" | "ORDER_DISPUTE_RESOLVED" | null | undefined;
|
|
5119
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
5120
|
-
isBoosted?: boolean | null | undefined;
|
|
5121
|
-
}[] | null | undefined;
|
|
5122
5122
|
analysisStatus?: "PENDING" | "COMPLETED" | "FAILED" | null | undefined;
|
|
5123
5123
|
history?: {
|
|
5124
5124
|
type: "UNKNOWN" | "DELETING" | "CANCELED" | "IMPORTED" | "ARCHIVED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "FAILED_TO_UPDATE" | "DISPUTE" | "DISPUTE_RESOLVED" | "PARCEL_LOST" | "DELETED" | "DELETE_CANCELED" | "FAILED_TO_DELETE" | "BOOSTING" | "BOOSTED" | "BOOST_CANCELED" | "FAILED_TO_BOOST" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
5125
5125
|
id: string;
|
|
5126
5126
|
createdAt: Date;
|
|
5127
5127
|
itemId: number;
|
|
5128
|
-
accountId?: string | null | undefined;
|
|
5129
5128
|
data?: {
|
|
5130
5129
|
type: "ACTION_CANCELED";
|
|
5131
5130
|
data: {
|
|
@@ -5161,7 +5160,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
5161
5160
|
accountId?: string | null | undefined;
|
|
5162
5161
|
reason?: string | null | undefined;
|
|
5163
5162
|
fields?: {
|
|
5164
|
-
field: "
|
|
5163
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
5165
5164
|
autoFixable: boolean;
|
|
5166
5165
|
error?: string | null | undefined;
|
|
5167
5166
|
}[] | null | undefined;
|
|
@@ -5191,23 +5190,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
5191
5190
|
post: {
|
|
5192
5191
|
platformId: string;
|
|
5193
5192
|
post: {
|
|
5194
|
-
size?: string | null | undefined;
|
|
5195
5193
|
status?: string | null | undefined;
|
|
5196
5194
|
title?: string | null | undefined;
|
|
5197
5195
|
description?: string | null | undefined;
|
|
5196
|
+
brand?: string | null | undefined;
|
|
5197
|
+
statusId?: number | null | undefined;
|
|
5198
|
+
sizeId?: number | null | undefined;
|
|
5199
|
+
colorIds?: number[] | null | undefined;
|
|
5200
|
+
packageSizeId?: number | null | undefined;
|
|
5198
5201
|
price?: number | null | undefined;
|
|
5199
5202
|
currency?: string | null | undefined;
|
|
5200
|
-
brand?: string | null | undefined;
|
|
5201
5203
|
catalog?: string | null | undefined;
|
|
5202
5204
|
catalogId?: number | null | undefined;
|
|
5203
5205
|
colors?: string[] | null | undefined;
|
|
5204
|
-
colorIds?: number[] | null | undefined;
|
|
5205
5206
|
measurementLength?: number | null | undefined;
|
|
5206
5207
|
measurementWidth?: number | null | undefined;
|
|
5207
|
-
packageSizeId?: number | null | undefined;
|
|
5208
5208
|
photoUrls?: string[] | null | undefined;
|
|
5209
|
-
|
|
5210
|
-
statusId?: number | null | undefined;
|
|
5209
|
+
size?: string | null | undefined;
|
|
5211
5210
|
isDraft?: boolean | null | undefined;
|
|
5212
5211
|
isArchived?: boolean | null | undefined;
|
|
5213
5212
|
isUnisex?: boolean | null | undefined;
|
|
@@ -5250,8 +5249,8 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
5250
5249
|
} | {
|
|
5251
5250
|
type: "LIFECYCLE_STARTED";
|
|
5252
5251
|
data: {
|
|
5253
|
-
accountId: string;
|
|
5254
5252
|
caseId: string;
|
|
5253
|
+
accountId: string;
|
|
5255
5254
|
isRepeat?: boolean | null | undefined;
|
|
5256
5255
|
};
|
|
5257
5256
|
} | {
|
|
@@ -5290,17 +5289,17 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
5290
5289
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
5291
5290
|
} | null | undefined;
|
|
5292
5291
|
} | null | undefined;
|
|
5293
|
-
targetAccountId?: string | null | undefined;
|
|
5294
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
5295
5292
|
publishingDate?: Date | null | undefined;
|
|
5296
5293
|
isTransfer?: boolean | null | undefined;
|
|
5294
|
+
targetAccountId?: string | null | undefined;
|
|
5295
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
5297
5296
|
};
|
|
5298
5297
|
} | {
|
|
5299
5298
|
type: "REPUBLISHING_RETRY";
|
|
5300
5299
|
data: {
|
|
5300
|
+
maxAttempts: number;
|
|
5301
5301
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5302
5302
|
attemptNumber: number;
|
|
5303
|
-
maxAttempts: number;
|
|
5304
5303
|
previousHistoryId: string;
|
|
5305
5304
|
originalFailureDate: Date;
|
|
5306
5305
|
payload?: {
|
|
@@ -5328,7 +5327,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
5328
5327
|
} | null | undefined;
|
|
5329
5328
|
} | null | undefined;
|
|
5330
5329
|
fields?: {
|
|
5331
|
-
field: "
|
|
5330
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
5332
5331
|
autoFixable: boolean;
|
|
5333
5332
|
error?: string | null | undefined;
|
|
5334
5333
|
}[] | null | undefined;
|
|
@@ -5342,13 +5341,13 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
5342
5341
|
} | {
|
|
5343
5342
|
type: "SCHEDULED_RETRY";
|
|
5344
5343
|
data: {
|
|
5344
|
+
maxAttempts: number;
|
|
5345
5345
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5346
5346
|
attemptNumber: number;
|
|
5347
|
-
maxAttempts: number;
|
|
5348
5347
|
previousHistoryId: string;
|
|
5349
5348
|
originalFailureDate: Date;
|
|
5350
5349
|
fields?: {
|
|
5351
|
-
field: "
|
|
5350
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
5352
5351
|
autoFixable: boolean;
|
|
5353
5352
|
error?: string | null | undefined;
|
|
5354
5353
|
}[] | null | undefined;
|
|
@@ -5377,32 +5376,49 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
5377
5376
|
targetDate?: Date | null | undefined;
|
|
5378
5377
|
};
|
|
5379
5378
|
} | null | undefined;
|
|
5379
|
+
accountId?: string | null | undefined;
|
|
5380
5380
|
targetDate?: Date | null | undefined;
|
|
5381
5381
|
requestId?: string | null | undefined;
|
|
5382
5382
|
targetHistoryId?: string | null | undefined;
|
|
5383
5383
|
}[] | null | undefined;
|
|
5384
5384
|
analysisRunId?: string | null | undefined;
|
|
5385
5385
|
}, {
|
|
5386
|
-
id: number;
|
|
5387
|
-
userId: number;
|
|
5388
5386
|
name: string;
|
|
5387
|
+
id: number;
|
|
5389
5388
|
createdAt: Date;
|
|
5389
|
+
userId: number;
|
|
5390
5390
|
updatedAt: Date;
|
|
5391
5391
|
sold: boolean;
|
|
5392
|
+
fees?: {
|
|
5393
|
+
value: number;
|
|
5394
|
+
type: string;
|
|
5395
|
+
name: string;
|
|
5396
|
+
id: number;
|
|
5397
|
+
createdAt: Date;
|
|
5398
|
+
userId: number;
|
|
5399
|
+
updatedAt: Date;
|
|
5400
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
5401
|
+
startDate: Date;
|
|
5402
|
+
active: boolean;
|
|
5403
|
+
description?: string | null | undefined;
|
|
5404
|
+
itemId?: number | null | undefined;
|
|
5405
|
+
endDate?: Date | null | undefined;
|
|
5406
|
+
parentFeeId?: number | null | undefined;
|
|
5407
|
+
}[] | null | undefined;
|
|
5392
5408
|
description?: string | null | undefined;
|
|
5393
5409
|
categoryId?: number | null | undefined;
|
|
5394
|
-
|
|
5410
|
+
sizeId?: number | null | undefined;
|
|
5395
5411
|
colorIds?: number[] | null | undefined;
|
|
5412
|
+
packageSizeId?: number | null | undefined;
|
|
5413
|
+
state?: number | null | undefined;
|
|
5396
5414
|
measurementLength?: number | null | undefined;
|
|
5397
5415
|
measurementWidth?: number | null | undefined;
|
|
5398
|
-
packageSizeId?: number | null | undefined;
|
|
5399
|
-
sizeId?: number | null | undefined;
|
|
5400
5416
|
labels?: {
|
|
5401
5417
|
itemId: number;
|
|
5402
5418
|
labelId: number;
|
|
5403
5419
|
label?: {
|
|
5404
|
-
id: number;
|
|
5405
5420
|
name: string;
|
|
5421
|
+
id: number;
|
|
5406
5422
|
createdAt: Date;
|
|
5407
5423
|
isUserLabel: boolean;
|
|
5408
5424
|
itemCount?: number | null | undefined;
|
|
@@ -5415,50 +5431,86 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
5415
5431
|
fieldKey: string;
|
|
5416
5432
|
}[] | null | undefined;
|
|
5417
5433
|
sku?: string | null | undefined;
|
|
5434
|
+
sex?: string | null | undefined;
|
|
5435
|
+
platforms?: {
|
|
5436
|
+
id: string;
|
|
5437
|
+
createdAt: Date;
|
|
5438
|
+
accountId: string;
|
|
5439
|
+
itemId: number;
|
|
5440
|
+
platformId: string;
|
|
5441
|
+
platformUrl: string;
|
|
5442
|
+
platformPrice: number;
|
|
5443
|
+
updatedAt: Date;
|
|
5444
|
+
publishedAt: Date;
|
|
5445
|
+
status?: unknown;
|
|
5446
|
+
conversationId?: string | null | undefined;
|
|
5447
|
+
boostedAt?: Date | null | undefined;
|
|
5448
|
+
boostedUntil?: Date | null | undefined;
|
|
5449
|
+
viewsCount?: number | null | undefined;
|
|
5450
|
+
favoritesCount?: number | null | undefined;
|
|
5451
|
+
account?: {
|
|
5452
|
+
name: string;
|
|
5453
|
+
userId: number;
|
|
5454
|
+
accountId: string;
|
|
5455
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5456
|
+
status?: unknown;
|
|
5457
|
+
locale?: string | null | undefined;
|
|
5458
|
+
lockReason?: unknown;
|
|
5459
|
+
restrictedUntil?: Date | null | undefined;
|
|
5460
|
+
night?: {
|
|
5461
|
+
startsAt: Date;
|
|
5462
|
+
endsAt: Date;
|
|
5463
|
+
} | null | undefined;
|
|
5464
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
5465
|
+
ordersMaxDelay?: number | null | undefined;
|
|
5466
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
5467
|
+
walletMaxDelay?: number | null | undefined;
|
|
5468
|
+
availableBalance?: number | null | undefined;
|
|
5469
|
+
pendingBalance?: number | null | undefined;
|
|
5470
|
+
profilePictureFileId?: string | null | undefined;
|
|
5471
|
+
profilePicture?: {
|
|
5472
|
+
path: string;
|
|
5473
|
+
id: string;
|
|
5474
|
+
createdAt: Date;
|
|
5475
|
+
userId: number;
|
|
5476
|
+
signedUrl: string;
|
|
5477
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5478
|
+
} | null | undefined;
|
|
5479
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
5480
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
5481
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
5482
|
+
} | null | undefined;
|
|
5483
|
+
orderStatus?: unknown;
|
|
5484
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
5485
|
+
isBoosted?: boolean | null | undefined;
|
|
5486
|
+
}[] | null | undefined;
|
|
5487
|
+
brandId?: number | null | undefined;
|
|
5488
|
+
estimatedPrice?: number | null | undefined;
|
|
5489
|
+
purchaseDate?: Date | null | undefined;
|
|
5490
|
+
sellingDate?: Date | null | undefined;
|
|
5418
5491
|
fields?: {
|
|
5419
5492
|
value: string;
|
|
5420
5493
|
itemId: number;
|
|
5421
5494
|
fieldId: number;
|
|
5422
5495
|
}[] | null | undefined;
|
|
5423
5496
|
files?: {
|
|
5424
|
-
itemId: number;
|
|
5425
5497
|
fileId: string;
|
|
5498
|
+
itemId: number;
|
|
5426
5499
|
file?: {
|
|
5427
5500
|
path: string;
|
|
5428
5501
|
id: string;
|
|
5429
|
-
userId: number;
|
|
5430
5502
|
createdAt: Date;
|
|
5503
|
+
userId: number;
|
|
5431
5504
|
signedUrl: string;
|
|
5432
5505
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5433
5506
|
} | null | undefined;
|
|
5434
5507
|
index?: number | null | undefined;
|
|
5435
5508
|
}[] | null | undefined;
|
|
5436
|
-
brandId?: number | null | undefined;
|
|
5437
|
-
sex?: string | null | undefined;
|
|
5438
5509
|
purchasePrice?: number | null | undefined;
|
|
5439
|
-
purchaseDate?: Date | null | undefined;
|
|
5440
5510
|
purchasePlaceId?: number | null | undefined;
|
|
5441
5511
|
purchased?: boolean | null | undefined;
|
|
5442
5512
|
sellingPrice?: number | null | undefined;
|
|
5443
|
-
sellingDate?: Date | null | undefined;
|
|
5444
5513
|
sellingPlaceId?: number | null | undefined;
|
|
5445
|
-
estimatedPrice?: number | null | undefined;
|
|
5446
|
-
fees?: {
|
|
5447
|
-
value: number;
|
|
5448
|
-
type: string;
|
|
5449
|
-
id: number;
|
|
5450
|
-
userId: number;
|
|
5451
|
-
name: string;
|
|
5452
|
-
createdAt: Date;
|
|
5453
|
-
updatedAt: Date;
|
|
5454
|
-
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
5455
|
-
startDate: Date;
|
|
5456
|
-
active: boolean;
|
|
5457
|
-
description?: string | null | undefined;
|
|
5458
|
-
itemId?: number | null | undefined;
|
|
5459
|
-
endDate?: Date | null | undefined;
|
|
5460
|
-
parentFeeId?: number | null | undefined;
|
|
5461
|
-
}[] | null | undefined;
|
|
5462
5514
|
feesSum?: number | null | undefined;
|
|
5463
5515
|
materialIds?: number[] | null | undefined;
|
|
5464
5516
|
enumValues?: {
|
|
@@ -5474,7 +5526,6 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
5474
5526
|
createdAt: Date;
|
|
5475
5527
|
itemId: number;
|
|
5476
5528
|
type?: unknown;
|
|
5477
|
-
accountId?: string | null | undefined;
|
|
5478
5529
|
data?: {
|
|
5479
5530
|
type: "ACTION_CANCELED";
|
|
5480
5531
|
data: {
|
|
@@ -5540,23 +5591,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
5540
5591
|
post: {
|
|
5541
5592
|
platformId: string;
|
|
5542
5593
|
post: {
|
|
5543
|
-
size?: string | null | undefined;
|
|
5544
5594
|
status?: string | null | undefined;
|
|
5545
5595
|
title?: string | null | undefined;
|
|
5546
5596
|
description?: string | null | undefined;
|
|
5597
|
+
brand?: string | null | undefined;
|
|
5598
|
+
statusId?: number | null | undefined;
|
|
5599
|
+
sizeId?: number | null | undefined;
|
|
5600
|
+
colorIds?: number[] | null | undefined;
|
|
5601
|
+
packageSizeId?: number | null | undefined;
|
|
5547
5602
|
price?: number | null | undefined;
|
|
5548
5603
|
currency?: string | null | undefined;
|
|
5549
|
-
brand?: string | null | undefined;
|
|
5550
5604
|
catalog?: string | null | undefined;
|
|
5551
5605
|
catalogId?: number | null | undefined;
|
|
5552
5606
|
colors?: string[] | null | undefined;
|
|
5553
|
-
colorIds?: number[] | null | undefined;
|
|
5554
5607
|
measurementLength?: number | null | undefined;
|
|
5555
5608
|
measurementWidth?: number | null | undefined;
|
|
5556
|
-
packageSizeId?: number | null | undefined;
|
|
5557
5609
|
photoUrls?: string[] | null | undefined;
|
|
5558
|
-
|
|
5559
|
-
statusId?: number | null | undefined;
|
|
5610
|
+
size?: string | null | undefined;
|
|
5560
5611
|
isDraft?: boolean | null | undefined;
|
|
5561
5612
|
isArchived?: boolean | null | undefined;
|
|
5562
5613
|
isUnisex?: boolean | null | undefined;
|
|
@@ -5599,8 +5650,8 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
5599
5650
|
} | {
|
|
5600
5651
|
type: "LIFECYCLE_STARTED";
|
|
5601
5652
|
data: {
|
|
5602
|
-
accountId: string;
|
|
5603
5653
|
caseId: string;
|
|
5654
|
+
accountId: string;
|
|
5604
5655
|
isRepeat?: boolean | null | undefined;
|
|
5605
5656
|
};
|
|
5606
5657
|
} | {
|
|
@@ -5639,17 +5690,17 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
5639
5690
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
5640
5691
|
} | null | undefined;
|
|
5641
5692
|
} | null | undefined;
|
|
5642
|
-
targetAccountId?: string | null | undefined;
|
|
5643
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
5644
5693
|
publishingDate?: Date | null | undefined;
|
|
5645
5694
|
isTransfer?: boolean | null | undefined;
|
|
5695
|
+
targetAccountId?: string | null | undefined;
|
|
5696
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
5646
5697
|
};
|
|
5647
5698
|
} | {
|
|
5648
5699
|
type: "REPUBLISHING_RETRY";
|
|
5649
5700
|
data: {
|
|
5701
|
+
maxAttempts: number;
|
|
5650
5702
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5651
5703
|
attemptNumber: number;
|
|
5652
|
-
maxAttempts: number;
|
|
5653
5704
|
previousHistoryId: string;
|
|
5654
5705
|
originalFailureDate: Date;
|
|
5655
5706
|
payload?: {
|
|
@@ -5691,9 +5742,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
5691
5742
|
} | {
|
|
5692
5743
|
type: "SCHEDULED_RETRY";
|
|
5693
5744
|
data: {
|
|
5745
|
+
maxAttempts: number;
|
|
5694
5746
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5695
5747
|
attemptNumber: number;
|
|
5696
|
-
maxAttempts: number;
|
|
5697
5748
|
previousHistoryId: string;
|
|
5698
5749
|
originalFailureDate: Date;
|
|
5699
5750
|
fields?: {
|
|
@@ -5726,69 +5777,17 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
5726
5777
|
targetDate?: Date | null | undefined;
|
|
5727
5778
|
};
|
|
5728
5779
|
} | null | undefined;
|
|
5780
|
+
accountId?: string | null | undefined;
|
|
5729
5781
|
targetDate?: Date | null | undefined;
|
|
5730
5782
|
requestId?: string | null | undefined;
|
|
5731
5783
|
targetHistoryId?: string | null | undefined;
|
|
5732
5784
|
} | null | undefined;
|
|
5733
|
-
platforms?: {
|
|
5734
|
-
id: string;
|
|
5735
|
-
accountId: string;
|
|
5736
|
-
createdAt: Date;
|
|
5737
|
-
itemId: number;
|
|
5738
|
-
platformId: string;
|
|
5739
|
-
platformUrl: string;
|
|
5740
|
-
platformPrice: number;
|
|
5741
|
-
updatedAt: Date;
|
|
5742
|
-
publishedAt: Date;
|
|
5743
|
-
status?: unknown;
|
|
5744
|
-
conversationId?: string | null | undefined;
|
|
5745
|
-
boostedAt?: Date | null | undefined;
|
|
5746
|
-
boostedUntil?: Date | null | undefined;
|
|
5747
|
-
viewsCount?: number | null | undefined;
|
|
5748
|
-
favoritesCount?: number | null | undefined;
|
|
5749
|
-
account?: {
|
|
5750
|
-
accountId: string;
|
|
5751
|
-
userId: number;
|
|
5752
|
-
name: string;
|
|
5753
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5754
|
-
status?: unknown;
|
|
5755
|
-
locale?: string | null | undefined;
|
|
5756
|
-
lockReason?: unknown;
|
|
5757
|
-
restrictedUntil?: Date | null | undefined;
|
|
5758
|
-
night?: {
|
|
5759
|
-
startsAt: Date;
|
|
5760
|
-
endsAt: Date;
|
|
5761
|
-
} | null | undefined;
|
|
5762
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
5763
|
-
ordersMaxDelay?: number | null | undefined;
|
|
5764
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
5765
|
-
walletMaxDelay?: number | null | undefined;
|
|
5766
|
-
availableBalance?: number | null | undefined;
|
|
5767
|
-
pendingBalance?: number | null | undefined;
|
|
5768
|
-
profilePictureFileId?: string | null | undefined;
|
|
5769
|
-
profilePicture?: {
|
|
5770
|
-
path: string;
|
|
5771
|
-
id: string;
|
|
5772
|
-
userId: number;
|
|
5773
|
-
createdAt: Date;
|
|
5774
|
-
signedUrl: string;
|
|
5775
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5776
|
-
} | null | undefined;
|
|
5777
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
5778
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
5779
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
5780
|
-
} | null | undefined;
|
|
5781
|
-
orderStatus?: unknown;
|
|
5782
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
5783
|
-
isBoosted?: boolean | null | undefined;
|
|
5784
|
-
}[] | null | undefined;
|
|
5785
5785
|
analysisStatus?: "PENDING" | "COMPLETED" | "FAILED" | null | undefined;
|
|
5786
5786
|
history?: {
|
|
5787
5787
|
id: string;
|
|
5788
5788
|
createdAt: Date;
|
|
5789
5789
|
itemId: number;
|
|
5790
5790
|
type?: unknown;
|
|
5791
|
-
accountId?: string | null | undefined;
|
|
5792
5791
|
data?: {
|
|
5793
5792
|
type: "ACTION_CANCELED";
|
|
5794
5793
|
data: {
|
|
@@ -5854,23 +5853,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
5854
5853
|
post: {
|
|
5855
5854
|
platformId: string;
|
|
5856
5855
|
post: {
|
|
5857
|
-
size?: string | null | undefined;
|
|
5858
5856
|
status?: string | null | undefined;
|
|
5859
5857
|
title?: string | null | undefined;
|
|
5860
5858
|
description?: string | null | undefined;
|
|
5859
|
+
brand?: string | null | undefined;
|
|
5860
|
+
statusId?: number | null | undefined;
|
|
5861
|
+
sizeId?: number | null | undefined;
|
|
5862
|
+
colorIds?: number[] | null | undefined;
|
|
5863
|
+
packageSizeId?: number | null | undefined;
|
|
5861
5864
|
price?: number | null | undefined;
|
|
5862
5865
|
currency?: string | null | undefined;
|
|
5863
|
-
brand?: string | null | undefined;
|
|
5864
5866
|
catalog?: string | null | undefined;
|
|
5865
5867
|
catalogId?: number | null | undefined;
|
|
5866
5868
|
colors?: string[] | null | undefined;
|
|
5867
|
-
colorIds?: number[] | null | undefined;
|
|
5868
5869
|
measurementLength?: number | null | undefined;
|
|
5869
5870
|
measurementWidth?: number | null | undefined;
|
|
5870
|
-
packageSizeId?: number | null | undefined;
|
|
5871
5871
|
photoUrls?: string[] | null | undefined;
|
|
5872
|
-
|
|
5873
|
-
statusId?: number | null | undefined;
|
|
5872
|
+
size?: string | null | undefined;
|
|
5874
5873
|
isDraft?: boolean | null | undefined;
|
|
5875
5874
|
isArchived?: boolean | null | undefined;
|
|
5876
5875
|
isUnisex?: boolean | null | undefined;
|
|
@@ -5913,8 +5912,8 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
5913
5912
|
} | {
|
|
5914
5913
|
type: "LIFECYCLE_STARTED";
|
|
5915
5914
|
data: {
|
|
5916
|
-
accountId: string;
|
|
5917
5915
|
caseId: string;
|
|
5916
|
+
accountId: string;
|
|
5918
5917
|
isRepeat?: boolean | null | undefined;
|
|
5919
5918
|
};
|
|
5920
5919
|
} | {
|
|
@@ -5953,17 +5952,17 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
5953
5952
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
5954
5953
|
} | null | undefined;
|
|
5955
5954
|
} | null | undefined;
|
|
5956
|
-
targetAccountId?: string | null | undefined;
|
|
5957
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
5958
5955
|
publishingDate?: Date | null | undefined;
|
|
5959
5956
|
isTransfer?: boolean | null | undefined;
|
|
5957
|
+
targetAccountId?: string | null | undefined;
|
|
5958
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
5960
5959
|
};
|
|
5961
5960
|
} | {
|
|
5962
5961
|
type: "REPUBLISHING_RETRY";
|
|
5963
5962
|
data: {
|
|
5963
|
+
maxAttempts: number;
|
|
5964
5964
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5965
5965
|
attemptNumber: number;
|
|
5966
|
-
maxAttempts: number;
|
|
5967
5966
|
previousHistoryId: string;
|
|
5968
5967
|
originalFailureDate: Date;
|
|
5969
5968
|
payload?: {
|
|
@@ -6005,9 +6004,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
6005
6004
|
} | {
|
|
6006
6005
|
type: "SCHEDULED_RETRY";
|
|
6007
6006
|
data: {
|
|
6007
|
+
maxAttempts: number;
|
|
6008
6008
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
6009
6009
|
attemptNumber: number;
|
|
6010
|
-
maxAttempts: number;
|
|
6011
6010
|
previousHistoryId: string;
|
|
6012
6011
|
originalFailureDate: Date;
|
|
6013
6012
|
fields?: {
|
|
@@ -6040,6 +6039,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
6040
6039
|
targetDate?: Date | null | undefined;
|
|
6041
6040
|
};
|
|
6042
6041
|
} | null | undefined;
|
|
6042
|
+
accountId?: string | null | undefined;
|
|
6043
6043
|
targetDate?: Date | null | undefined;
|
|
6044
6044
|
requestId?: string | null | undefined;
|
|
6045
6045
|
targetHistoryId?: string | null | undefined;
|
|
@@ -6197,23 +6197,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
6197
6197
|
status: string;
|
|
6198
6198
|
title: string;
|
|
6199
6199
|
description: string;
|
|
6200
|
-
price: number;
|
|
6201
6200
|
brand: string;
|
|
6201
|
+
statusId: number;
|
|
6202
|
+
packageSizeId: number;
|
|
6203
|
+
price: number;
|
|
6202
6204
|
catalog: string;
|
|
6203
6205
|
catalogId: number;
|
|
6204
|
-
packageSizeId: number;
|
|
6205
6206
|
photoUrls: string[];
|
|
6206
|
-
statusId: number;
|
|
6207
6207
|
isDraft: boolean;
|
|
6208
6208
|
isArchived: boolean;
|
|
6209
6209
|
availableQuantity: number;
|
|
6210
|
-
|
|
6210
|
+
sizeId?: number | null | undefined;
|
|
6211
|
+
colorIds?: number[] | null | undefined;
|
|
6211
6212
|
currency?: string | null | undefined;
|
|
6212
6213
|
colors?: string[] | null | undefined;
|
|
6213
|
-
colorIds?: number[] | null | undefined;
|
|
6214
6214
|
measurementLength?: number | null | undefined;
|
|
6215
6215
|
measurementWidth?: number | null | undefined;
|
|
6216
|
-
|
|
6216
|
+
size?: string | null | undefined;
|
|
6217
6217
|
isUnisex?: boolean | null | undefined;
|
|
6218
6218
|
material?: number[] | null | undefined;
|
|
6219
6219
|
manufacturerLabelling?: string | null | undefined;
|
|
@@ -6240,23 +6240,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
6240
6240
|
status: string;
|
|
6241
6241
|
title: string;
|
|
6242
6242
|
description: string;
|
|
6243
|
-
price: number;
|
|
6244
6243
|
brand: string;
|
|
6244
|
+
statusId: number;
|
|
6245
|
+
packageSizeId: number;
|
|
6246
|
+
price: number;
|
|
6245
6247
|
catalog: string;
|
|
6246
6248
|
catalogId: number;
|
|
6247
|
-
packageSizeId: number;
|
|
6248
6249
|
photoUrls: string[];
|
|
6249
|
-
statusId: number;
|
|
6250
6250
|
isDraft: boolean;
|
|
6251
6251
|
isArchived: boolean;
|
|
6252
6252
|
availableQuantity: number;
|
|
6253
|
-
|
|
6253
|
+
sizeId?: number | null | undefined;
|
|
6254
|
+
colorIds?: number[] | null | undefined;
|
|
6254
6255
|
currency?: string | null | undefined;
|
|
6255
6256
|
colors?: string[] | null | undefined;
|
|
6256
|
-
colorIds?: number[] | null | undefined;
|
|
6257
6257
|
measurementLength?: number | null | undefined;
|
|
6258
6258
|
measurementWidth?: number | null | undefined;
|
|
6259
|
-
|
|
6259
|
+
size?: string | null | undefined;
|
|
6260
6260
|
isUnisex?: boolean | null | undefined;
|
|
6261
6261
|
material?: number[] | null | undefined;
|
|
6262
6262
|
manufacturerLabelling?: string | null | undefined;
|
|
@@ -6297,10 +6297,10 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
6297
6297
|
createdAt: Date;
|
|
6298
6298
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
6299
6299
|
platformCategoryId: string;
|
|
6300
|
+
internalCategoryId: number;
|
|
6300
6301
|
confidence: number;
|
|
6301
|
-
verified: boolean;
|
|
6302
6302
|
mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
|
|
6303
|
-
|
|
6303
|
+
verified: boolean;
|
|
6304
6304
|
verifiedBy?: number | null | undefined;
|
|
6305
6305
|
verifiedAt?: Date | null | undefined;
|
|
6306
6306
|
}, {
|
|
@@ -6308,10 +6308,10 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
6308
6308
|
createdAt: Date;
|
|
6309
6309
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
6310
6310
|
platformCategoryId: string;
|
|
6311
|
+
internalCategoryId: number;
|
|
6311
6312
|
confidence: number;
|
|
6312
|
-
verified: boolean;
|
|
6313
6313
|
mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
|
|
6314
|
-
|
|
6314
|
+
verified: boolean;
|
|
6315
6315
|
verifiedBy?: number | null | undefined;
|
|
6316
6316
|
verifiedAt?: Date | null | undefined;
|
|
6317
6317
|
}>>>;
|
|
@@ -6332,9 +6332,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
6332
6332
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
6333
6333
|
platformBrandId: string;
|
|
6334
6334
|
confidence: number;
|
|
6335
|
+
mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
|
|
6335
6336
|
verified: boolean;
|
|
6336
6337
|
internalBrandId: number;
|
|
6337
|
-
mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
|
|
6338
6338
|
verifiedBy?: number | null | undefined;
|
|
6339
6339
|
verifiedAt?: Date | null | undefined;
|
|
6340
6340
|
}, {
|
|
@@ -6343,9 +6343,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
6343
6343
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
6344
6344
|
platformBrandId: string;
|
|
6345
6345
|
confidence: number;
|
|
6346
|
+
mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
|
|
6346
6347
|
verified: boolean;
|
|
6347
6348
|
internalBrandId: number;
|
|
6348
|
-
mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
|
|
6349
6349
|
verifiedBy?: number | null | undefined;
|
|
6350
6350
|
verifiedAt?: Date | null | undefined;
|
|
6351
6351
|
}>>>;
|
|
@@ -6366,11 +6366,11 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
6366
6366
|
createdAt: Date;
|
|
6367
6367
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
6368
6368
|
platformSizeId: string;
|
|
6369
|
+
internalSizeId: number;
|
|
6370
|
+
internalCategoryId: number;
|
|
6369
6371
|
confidence: number;
|
|
6370
|
-
verified: boolean;
|
|
6371
6372
|
mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
|
|
6372
|
-
|
|
6373
|
-
internalSizeId: number;
|
|
6373
|
+
verified: boolean;
|
|
6374
6374
|
verifiedBy?: number | null | undefined;
|
|
6375
6375
|
verifiedAt?: Date | null | undefined;
|
|
6376
6376
|
}, {
|
|
@@ -6378,93 +6378,93 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
6378
6378
|
createdAt: Date;
|
|
6379
6379
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
6380
6380
|
platformSizeId: string;
|
|
6381
|
+
internalSizeId: number;
|
|
6382
|
+
internalCategoryId: number;
|
|
6381
6383
|
confidence: number;
|
|
6382
|
-
verified: boolean;
|
|
6383
6384
|
mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
|
|
6384
|
-
|
|
6385
|
-
internalSizeId: number;
|
|
6385
|
+
verified: boolean;
|
|
6386
6386
|
verifiedBy?: number | null | undefined;
|
|
6387
6387
|
verifiedAt?: Date | null | undefined;
|
|
6388
6388
|
}>>>;
|
|
6389
6389
|
condition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6390
6390
|
colors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
6391
6391
|
}, "strip", z.ZodTypeAny, {
|
|
6392
|
-
|
|
6392
|
+
brand?: {
|
|
6393
6393
|
id: string;
|
|
6394
6394
|
createdAt: Date;
|
|
6395
6395
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
6396
|
-
|
|
6396
|
+
platformBrandId: string;
|
|
6397
6397
|
confidence: number;
|
|
6398
|
-
verified: boolean;
|
|
6399
6398
|
mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
|
|
6400
|
-
|
|
6401
|
-
|
|
6399
|
+
verified: boolean;
|
|
6400
|
+
internalBrandId: number;
|
|
6402
6401
|
verifiedBy?: number | null | undefined;
|
|
6403
6402
|
verifiedAt?: Date | null | undefined;
|
|
6404
6403
|
} | null | undefined;
|
|
6405
|
-
|
|
6404
|
+
colors?: string[] | null | undefined;
|
|
6405
|
+
size?: {
|
|
6406
6406
|
id: string;
|
|
6407
6407
|
createdAt: Date;
|
|
6408
6408
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
6409
|
-
|
|
6409
|
+
platformSizeId: string;
|
|
6410
|
+
internalSizeId: number;
|
|
6411
|
+
internalCategoryId: number;
|
|
6410
6412
|
confidence: number;
|
|
6411
|
-
verified: boolean;
|
|
6412
|
-
internalBrandId: number;
|
|
6413
6413
|
mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
|
|
6414
|
+
verified: boolean;
|
|
6414
6415
|
verifiedBy?: number | null | undefined;
|
|
6415
6416
|
verifiedAt?: Date | null | undefined;
|
|
6416
6417
|
} | null | undefined;
|
|
6417
|
-
colors?: string[] | null | undefined;
|
|
6418
6418
|
condition?: string | null | undefined;
|
|
6419
6419
|
category?: {
|
|
6420
6420
|
id: string;
|
|
6421
6421
|
createdAt: Date;
|
|
6422
6422
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
6423
6423
|
platformCategoryId: string;
|
|
6424
|
+
internalCategoryId: number;
|
|
6424
6425
|
confidence: number;
|
|
6425
|
-
verified: boolean;
|
|
6426
6426
|
mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
|
|
6427
|
-
|
|
6427
|
+
verified: boolean;
|
|
6428
6428
|
verifiedBy?: number | null | undefined;
|
|
6429
6429
|
verifiedAt?: Date | null | undefined;
|
|
6430
6430
|
} | null | undefined;
|
|
6431
6431
|
}, {
|
|
6432
|
-
|
|
6432
|
+
brand?: {
|
|
6433
6433
|
id: string;
|
|
6434
6434
|
createdAt: Date;
|
|
6435
6435
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
6436
|
-
|
|
6436
|
+
platformBrandId: string;
|
|
6437
6437
|
confidence: number;
|
|
6438
|
-
verified: boolean;
|
|
6439
6438
|
mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
|
|
6440
|
-
|
|
6441
|
-
|
|
6439
|
+
verified: boolean;
|
|
6440
|
+
internalBrandId: number;
|
|
6442
6441
|
verifiedBy?: number | null | undefined;
|
|
6443
6442
|
verifiedAt?: Date | null | undefined;
|
|
6444
6443
|
} | null | undefined;
|
|
6445
|
-
|
|
6444
|
+
colors?: string[] | null | undefined;
|
|
6445
|
+
size?: {
|
|
6446
6446
|
id: string;
|
|
6447
6447
|
createdAt: Date;
|
|
6448
6448
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
6449
|
-
|
|
6449
|
+
platformSizeId: string;
|
|
6450
|
+
internalSizeId: number;
|
|
6451
|
+
internalCategoryId: number;
|
|
6450
6452
|
confidence: number;
|
|
6451
|
-
verified: boolean;
|
|
6452
|
-
internalBrandId: number;
|
|
6453
6453
|
mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
|
|
6454
|
+
verified: boolean;
|
|
6454
6455
|
verifiedBy?: number | null | undefined;
|
|
6455
6456
|
verifiedAt?: Date | null | undefined;
|
|
6456
6457
|
} | null | undefined;
|
|
6457
|
-
colors?: string[] | null | undefined;
|
|
6458
6458
|
condition?: string | null | undefined;
|
|
6459
6459
|
category?: {
|
|
6460
6460
|
id: string;
|
|
6461
6461
|
createdAt: Date;
|
|
6462
6462
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
6463
6463
|
platformCategoryId: string;
|
|
6464
|
+
internalCategoryId: number;
|
|
6464
6465
|
confidence: number;
|
|
6465
|
-
verified: boolean;
|
|
6466
6466
|
mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
|
|
6467
|
-
|
|
6467
|
+
verified: boolean;
|
|
6468
6468
|
verifiedBy?: number | null | undefined;
|
|
6469
6469
|
verifiedAt?: Date | null | undefined;
|
|
6470
6470
|
} | null | undefined;
|
|
@@ -6487,26 +6487,42 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
6487
6487
|
}>, "many">;
|
|
6488
6488
|
}, "strip", z.ZodTypeAny, {
|
|
6489
6489
|
item: {
|
|
6490
|
-
id: number;
|
|
6491
|
-
userId: number;
|
|
6492
6490
|
name: string;
|
|
6491
|
+
id: number;
|
|
6493
6492
|
createdAt: Date;
|
|
6493
|
+
userId: number;
|
|
6494
6494
|
updatedAt: Date;
|
|
6495
6495
|
sold: boolean;
|
|
6496
|
+
fees?: {
|
|
6497
|
+
value: number;
|
|
6498
|
+
type: string;
|
|
6499
|
+
name: string;
|
|
6500
|
+
id: number;
|
|
6501
|
+
createdAt: Date;
|
|
6502
|
+
userId: number;
|
|
6503
|
+
updatedAt: Date;
|
|
6504
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
6505
|
+
startDate: Date;
|
|
6506
|
+
active: boolean;
|
|
6507
|
+
description?: string | null | undefined;
|
|
6508
|
+
itemId?: number | null | undefined;
|
|
6509
|
+
endDate?: Date | null | undefined;
|
|
6510
|
+
parentFeeId?: number | null | undefined;
|
|
6511
|
+
}[] | null | undefined;
|
|
6496
6512
|
description?: string | null | undefined;
|
|
6497
6513
|
categoryId?: number | null | undefined;
|
|
6498
|
-
|
|
6514
|
+
sizeId?: number | null | undefined;
|
|
6499
6515
|
colorIds?: number[] | null | undefined;
|
|
6516
|
+
packageSizeId?: number | null | undefined;
|
|
6517
|
+
state?: number | null | undefined;
|
|
6500
6518
|
measurementLength?: number | null | undefined;
|
|
6501
6519
|
measurementWidth?: number | null | undefined;
|
|
6502
|
-
packageSizeId?: number | null | undefined;
|
|
6503
|
-
sizeId?: number | null | undefined;
|
|
6504
6520
|
labels?: {
|
|
6505
6521
|
itemId: number;
|
|
6506
6522
|
labelId: number;
|
|
6507
6523
|
label?: {
|
|
6508
|
-
id: number;
|
|
6509
6524
|
name: string;
|
|
6525
|
+
id: number;
|
|
6510
6526
|
createdAt: Date;
|
|
6511
6527
|
isUserLabel: boolean;
|
|
6512
6528
|
itemCount?: number | null | undefined;
|
|
@@ -6519,50 +6535,86 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
6519
6535
|
fieldKey: string;
|
|
6520
6536
|
}[] | null | undefined;
|
|
6521
6537
|
sku?: string | null | undefined;
|
|
6538
|
+
sex?: string | null | undefined;
|
|
6539
|
+
platforms?: {
|
|
6540
|
+
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
6541
|
+
id: string;
|
|
6542
|
+
createdAt: Date;
|
|
6543
|
+
accountId: string;
|
|
6544
|
+
itemId: number;
|
|
6545
|
+
platformId: string;
|
|
6546
|
+
platformUrl: string;
|
|
6547
|
+
platformPrice: number;
|
|
6548
|
+
updatedAt: Date;
|
|
6549
|
+
publishedAt: Date;
|
|
6550
|
+
conversationId?: string | null | undefined;
|
|
6551
|
+
boostedAt?: Date | null | undefined;
|
|
6552
|
+
boostedUntil?: Date | null | undefined;
|
|
6553
|
+
viewsCount?: number | null | undefined;
|
|
6554
|
+
favoritesCount?: number | null | undefined;
|
|
6555
|
+
account?: {
|
|
6556
|
+
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
6557
|
+
name: string;
|
|
6558
|
+
userId: number;
|
|
6559
|
+
accountId: string;
|
|
6560
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
6561
|
+
locale?: string | null | undefined;
|
|
6562
|
+
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
6563
|
+
restrictedUntil?: Date | null | undefined;
|
|
6564
|
+
night?: {
|
|
6565
|
+
startsAt: Date;
|
|
6566
|
+
endsAt: Date;
|
|
6567
|
+
} | null | undefined;
|
|
6568
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
6569
|
+
ordersMaxDelay?: number | null | undefined;
|
|
6570
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
6571
|
+
walletMaxDelay?: number | null | undefined;
|
|
6572
|
+
availableBalance?: number | null | undefined;
|
|
6573
|
+
pendingBalance?: number | null | undefined;
|
|
6574
|
+
profilePictureFileId?: string | null | undefined;
|
|
6575
|
+
profilePicture?: {
|
|
6576
|
+
path: string;
|
|
6577
|
+
id: string;
|
|
6578
|
+
createdAt: Date;
|
|
6579
|
+
userId: number;
|
|
6580
|
+
signedUrl: string;
|
|
6581
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
6582
|
+
} | null | undefined;
|
|
6583
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
6584
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
6585
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
6586
|
+
} | null | undefined;
|
|
6587
|
+
orderStatus?: "UNKNOWN" | "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_IN_PROGRESS" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "FAILED_TO_ORDER_SHIPPING_LABEL" | "ORDER_RETURNED_TO_SENDER" | "PAYMENT_FAILED" | "ORDER_SUSPENDED" | "SHIPPING_TO_VERIFICATION_CENTER" | "RECEIVED_AT_VERIFICATION_CENTER" | "PAYMENT_IN_PROGRESS" | "SENT_TO_VERIFICATION_CENTER" | "SHIPPING_FROM_VERIFICATION_CENTER" | "VERIFICATION_FAILED" | "ORDER_DISPUTE_RESOLVED" | null | undefined;
|
|
6588
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
6589
|
+
isBoosted?: boolean | null | undefined;
|
|
6590
|
+
}[] | null | undefined;
|
|
6591
|
+
brandId?: number | null | undefined;
|
|
6592
|
+
estimatedPrice?: number | null | undefined;
|
|
6593
|
+
purchaseDate?: Date | null | undefined;
|
|
6594
|
+
sellingDate?: Date | null | undefined;
|
|
6522
6595
|
fields?: {
|
|
6523
6596
|
value: string;
|
|
6524
6597
|
itemId: number;
|
|
6525
6598
|
fieldId: number;
|
|
6526
6599
|
}[] | null | undefined;
|
|
6527
6600
|
files?: {
|
|
6528
|
-
itemId: number;
|
|
6529
6601
|
fileId: string;
|
|
6602
|
+
itemId: number;
|
|
6530
6603
|
file?: {
|
|
6531
6604
|
path: string;
|
|
6532
6605
|
id: string;
|
|
6533
|
-
userId: number;
|
|
6534
6606
|
createdAt: Date;
|
|
6607
|
+
userId: number;
|
|
6535
6608
|
signedUrl: string;
|
|
6536
6609
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
6537
6610
|
} | null | undefined;
|
|
6538
6611
|
index?: number | null | undefined;
|
|
6539
6612
|
}[] | null | undefined;
|
|
6540
|
-
brandId?: number | null | undefined;
|
|
6541
|
-
sex?: string | null | undefined;
|
|
6542
6613
|
purchasePrice?: number | null | undefined;
|
|
6543
|
-
purchaseDate?: Date | null | undefined;
|
|
6544
6614
|
purchasePlaceId?: number | null | undefined;
|
|
6545
6615
|
purchased?: boolean | null | undefined;
|
|
6546
6616
|
sellingPrice?: number | null | undefined;
|
|
6547
|
-
sellingDate?: Date | null | undefined;
|
|
6548
6617
|
sellingPlaceId?: number | null | undefined;
|
|
6549
|
-
estimatedPrice?: number | null | undefined;
|
|
6550
|
-
fees?: {
|
|
6551
|
-
value: number;
|
|
6552
|
-
type: string;
|
|
6553
|
-
id: number;
|
|
6554
|
-
userId: number;
|
|
6555
|
-
name: string;
|
|
6556
|
-
createdAt: Date;
|
|
6557
|
-
updatedAt: Date;
|
|
6558
|
-
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
6559
|
-
startDate: Date;
|
|
6560
|
-
active: boolean;
|
|
6561
|
-
description?: string | null | undefined;
|
|
6562
|
-
itemId?: number | null | undefined;
|
|
6563
|
-
endDate?: Date | null | undefined;
|
|
6564
|
-
parentFeeId?: number | null | undefined;
|
|
6565
|
-
}[] | null | undefined;
|
|
6566
6618
|
feesSum?: number | null | undefined;
|
|
6567
6619
|
materialIds?: number[] | null | undefined;
|
|
6568
6620
|
enumValues?: {
|
|
@@ -6578,7 +6630,6 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
6578
6630
|
id: string;
|
|
6579
6631
|
createdAt: Date;
|
|
6580
6632
|
itemId: number;
|
|
6581
|
-
accountId?: string | null | undefined;
|
|
6582
6633
|
data?: {
|
|
6583
6634
|
type: "ACTION_CANCELED";
|
|
6584
6635
|
data: {
|
|
@@ -6614,7 +6665,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
6614
6665
|
accountId?: string | null | undefined;
|
|
6615
6666
|
reason?: string | null | undefined;
|
|
6616
6667
|
fields?: {
|
|
6617
|
-
field: "
|
|
6668
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
6618
6669
|
autoFixable: boolean;
|
|
6619
6670
|
error?: string | null | undefined;
|
|
6620
6671
|
}[] | null | undefined;
|
|
@@ -6644,23 +6695,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
6644
6695
|
post: {
|
|
6645
6696
|
platformId: string;
|
|
6646
6697
|
post: {
|
|
6647
|
-
size?: string | null | undefined;
|
|
6648
6698
|
status?: string | null | undefined;
|
|
6649
6699
|
title?: string | null | undefined;
|
|
6650
6700
|
description?: string | null | undefined;
|
|
6701
|
+
brand?: string | null | undefined;
|
|
6702
|
+
statusId?: number | null | undefined;
|
|
6703
|
+
sizeId?: number | null | undefined;
|
|
6704
|
+
colorIds?: number[] | null | undefined;
|
|
6705
|
+
packageSizeId?: number | null | undefined;
|
|
6651
6706
|
price?: number | null | undefined;
|
|
6652
6707
|
currency?: string | null | undefined;
|
|
6653
|
-
brand?: string | null | undefined;
|
|
6654
6708
|
catalog?: string | null | undefined;
|
|
6655
6709
|
catalogId?: number | null | undefined;
|
|
6656
6710
|
colors?: string[] | null | undefined;
|
|
6657
|
-
colorIds?: number[] | null | undefined;
|
|
6658
6711
|
measurementLength?: number | null | undefined;
|
|
6659
6712
|
measurementWidth?: number | null | undefined;
|
|
6660
|
-
packageSizeId?: number | null | undefined;
|
|
6661
6713
|
photoUrls?: string[] | null | undefined;
|
|
6662
|
-
|
|
6663
|
-
statusId?: number | null | undefined;
|
|
6714
|
+
size?: string | null | undefined;
|
|
6664
6715
|
isDraft?: boolean | null | undefined;
|
|
6665
6716
|
isArchived?: boolean | null | undefined;
|
|
6666
6717
|
isUnisex?: boolean | null | undefined;
|
|
@@ -6703,8 +6754,8 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
6703
6754
|
} | {
|
|
6704
6755
|
type: "LIFECYCLE_STARTED";
|
|
6705
6756
|
data: {
|
|
6706
|
-
accountId: string;
|
|
6707
6757
|
caseId: string;
|
|
6758
|
+
accountId: string;
|
|
6708
6759
|
isRepeat?: boolean | null | undefined;
|
|
6709
6760
|
};
|
|
6710
6761
|
} | {
|
|
@@ -6743,17 +6794,17 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
6743
6794
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
6744
6795
|
} | null | undefined;
|
|
6745
6796
|
} | null | undefined;
|
|
6746
|
-
targetAccountId?: string | null | undefined;
|
|
6747
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
6748
6797
|
publishingDate?: Date | null | undefined;
|
|
6749
6798
|
isTransfer?: boolean | null | undefined;
|
|
6799
|
+
targetAccountId?: string | null | undefined;
|
|
6800
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
6750
6801
|
};
|
|
6751
6802
|
} | {
|
|
6752
6803
|
type: "REPUBLISHING_RETRY";
|
|
6753
6804
|
data: {
|
|
6805
|
+
maxAttempts: number;
|
|
6754
6806
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
6755
6807
|
attemptNumber: number;
|
|
6756
|
-
maxAttempts: number;
|
|
6757
6808
|
previousHistoryId: string;
|
|
6758
6809
|
originalFailureDate: Date;
|
|
6759
6810
|
payload?: {
|
|
@@ -6781,7 +6832,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
6781
6832
|
} | null | undefined;
|
|
6782
6833
|
} | null | undefined;
|
|
6783
6834
|
fields?: {
|
|
6784
|
-
field: "
|
|
6835
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
6785
6836
|
autoFixable: boolean;
|
|
6786
6837
|
error?: string | null | undefined;
|
|
6787
6838
|
}[] | null | undefined;
|
|
@@ -6795,13 +6846,13 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
6795
6846
|
} | {
|
|
6796
6847
|
type: "SCHEDULED_RETRY";
|
|
6797
6848
|
data: {
|
|
6849
|
+
maxAttempts: number;
|
|
6798
6850
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
6799
6851
|
attemptNumber: number;
|
|
6800
|
-
maxAttempts: number;
|
|
6801
6852
|
previousHistoryId: string;
|
|
6802
6853
|
originalFailureDate: Date;
|
|
6803
6854
|
fields?: {
|
|
6804
|
-
field: "
|
|
6855
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
6805
6856
|
autoFixable: boolean;
|
|
6806
6857
|
error?: string | null | undefined;
|
|
6807
6858
|
}[] | null | undefined;
|
|
@@ -6830,69 +6881,17 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
6830
6881
|
targetDate?: Date | null | undefined;
|
|
6831
6882
|
};
|
|
6832
6883
|
} | null | undefined;
|
|
6884
|
+
accountId?: string | null | undefined;
|
|
6833
6885
|
targetDate?: Date | null | undefined;
|
|
6834
6886
|
requestId?: string | null | undefined;
|
|
6835
6887
|
targetHistoryId?: string | null | undefined;
|
|
6836
6888
|
} | null | undefined;
|
|
6837
|
-
platforms?: {
|
|
6838
|
-
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
6839
|
-
id: string;
|
|
6840
|
-
accountId: string;
|
|
6841
|
-
createdAt: Date;
|
|
6842
|
-
itemId: number;
|
|
6843
|
-
platformId: string;
|
|
6844
|
-
platformUrl: string;
|
|
6845
|
-
platformPrice: number;
|
|
6846
|
-
updatedAt: Date;
|
|
6847
|
-
publishedAt: Date;
|
|
6848
|
-
conversationId?: string | null | undefined;
|
|
6849
|
-
boostedAt?: Date | null | undefined;
|
|
6850
|
-
boostedUntil?: Date | null | undefined;
|
|
6851
|
-
viewsCount?: number | null | undefined;
|
|
6852
|
-
favoritesCount?: number | null | undefined;
|
|
6853
|
-
account?: {
|
|
6854
|
-
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
6855
|
-
accountId: string;
|
|
6856
|
-
userId: number;
|
|
6857
|
-
name: string;
|
|
6858
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
6859
|
-
locale?: string | null | undefined;
|
|
6860
|
-
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
6861
|
-
restrictedUntil?: Date | null | undefined;
|
|
6862
|
-
night?: {
|
|
6863
|
-
startsAt: Date;
|
|
6864
|
-
endsAt: Date;
|
|
6865
|
-
} | null | undefined;
|
|
6866
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
6867
|
-
ordersMaxDelay?: number | null | undefined;
|
|
6868
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
6869
|
-
walletMaxDelay?: number | null | undefined;
|
|
6870
|
-
availableBalance?: number | null | undefined;
|
|
6871
|
-
pendingBalance?: number | null | undefined;
|
|
6872
|
-
profilePictureFileId?: string | null | undefined;
|
|
6873
|
-
profilePicture?: {
|
|
6874
|
-
path: string;
|
|
6875
|
-
id: string;
|
|
6876
|
-
userId: number;
|
|
6877
|
-
createdAt: Date;
|
|
6878
|
-
signedUrl: string;
|
|
6879
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
6880
|
-
} | null | undefined;
|
|
6881
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
6882
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
6883
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
6884
|
-
} | null | undefined;
|
|
6885
|
-
orderStatus?: "UNKNOWN" | "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_IN_PROGRESS" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "FAILED_TO_ORDER_SHIPPING_LABEL" | "ORDER_RETURNED_TO_SENDER" | "PAYMENT_FAILED" | "ORDER_SUSPENDED" | "SHIPPING_TO_VERIFICATION_CENTER" | "RECEIVED_AT_VERIFICATION_CENTER" | "PAYMENT_IN_PROGRESS" | "SENT_TO_VERIFICATION_CENTER" | "SHIPPING_FROM_VERIFICATION_CENTER" | "VERIFICATION_FAILED" | "ORDER_DISPUTE_RESOLVED" | null | undefined;
|
|
6886
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
6887
|
-
isBoosted?: boolean | null | undefined;
|
|
6888
|
-
}[] | null | undefined;
|
|
6889
6889
|
analysisStatus?: "PENDING" | "COMPLETED" | "FAILED" | null | undefined;
|
|
6890
6890
|
history?: {
|
|
6891
6891
|
type: "UNKNOWN" | "DELETING" | "CANCELED" | "IMPORTED" | "ARCHIVED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "FAILED_TO_UPDATE" | "DISPUTE" | "DISPUTE_RESOLVED" | "PARCEL_LOST" | "DELETED" | "DELETE_CANCELED" | "FAILED_TO_DELETE" | "BOOSTING" | "BOOSTED" | "BOOST_CANCELED" | "FAILED_TO_BOOST" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
6892
6892
|
id: string;
|
|
6893
6893
|
createdAt: Date;
|
|
6894
6894
|
itemId: number;
|
|
6895
|
-
accountId?: string | null | undefined;
|
|
6896
6895
|
data?: {
|
|
6897
6896
|
type: "ACTION_CANCELED";
|
|
6898
6897
|
data: {
|
|
@@ -6928,7 +6927,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
6928
6927
|
accountId?: string | null | undefined;
|
|
6929
6928
|
reason?: string | null | undefined;
|
|
6930
6929
|
fields?: {
|
|
6931
|
-
field: "
|
|
6930
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
6932
6931
|
autoFixable: boolean;
|
|
6933
6932
|
error?: string | null | undefined;
|
|
6934
6933
|
}[] | null | undefined;
|
|
@@ -6958,23 +6957,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
6958
6957
|
post: {
|
|
6959
6958
|
platformId: string;
|
|
6960
6959
|
post: {
|
|
6961
|
-
size?: string | null | undefined;
|
|
6962
6960
|
status?: string | null | undefined;
|
|
6963
6961
|
title?: string | null | undefined;
|
|
6964
6962
|
description?: string | null | undefined;
|
|
6963
|
+
brand?: string | null | undefined;
|
|
6964
|
+
statusId?: number | null | undefined;
|
|
6965
|
+
sizeId?: number | null | undefined;
|
|
6966
|
+
colorIds?: number[] | null | undefined;
|
|
6967
|
+
packageSizeId?: number | null | undefined;
|
|
6965
6968
|
price?: number | null | undefined;
|
|
6966
6969
|
currency?: string | null | undefined;
|
|
6967
|
-
brand?: string | null | undefined;
|
|
6968
6970
|
catalog?: string | null | undefined;
|
|
6969
6971
|
catalogId?: number | null | undefined;
|
|
6970
6972
|
colors?: string[] | null | undefined;
|
|
6971
|
-
colorIds?: number[] | null | undefined;
|
|
6972
6973
|
measurementLength?: number | null | undefined;
|
|
6973
6974
|
measurementWidth?: number | null | undefined;
|
|
6974
|
-
packageSizeId?: number | null | undefined;
|
|
6975
6975
|
photoUrls?: string[] | null | undefined;
|
|
6976
|
-
|
|
6977
|
-
statusId?: number | null | undefined;
|
|
6976
|
+
size?: string | null | undefined;
|
|
6978
6977
|
isDraft?: boolean | null | undefined;
|
|
6979
6978
|
isArchived?: boolean | null | undefined;
|
|
6980
6979
|
isUnisex?: boolean | null | undefined;
|
|
@@ -7017,8 +7016,8 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
7017
7016
|
} | {
|
|
7018
7017
|
type: "LIFECYCLE_STARTED";
|
|
7019
7018
|
data: {
|
|
7020
|
-
accountId: string;
|
|
7021
7019
|
caseId: string;
|
|
7020
|
+
accountId: string;
|
|
7022
7021
|
isRepeat?: boolean | null | undefined;
|
|
7023
7022
|
};
|
|
7024
7023
|
} | {
|
|
@@ -7057,17 +7056,17 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
7057
7056
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
7058
7057
|
} | null | undefined;
|
|
7059
7058
|
} | null | undefined;
|
|
7060
|
-
targetAccountId?: string | null | undefined;
|
|
7061
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
7062
7059
|
publishingDate?: Date | null | undefined;
|
|
7063
7060
|
isTransfer?: boolean | null | undefined;
|
|
7061
|
+
targetAccountId?: string | null | undefined;
|
|
7062
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
7064
7063
|
};
|
|
7065
7064
|
} | {
|
|
7066
7065
|
type: "REPUBLISHING_RETRY";
|
|
7067
7066
|
data: {
|
|
7067
|
+
maxAttempts: number;
|
|
7068
7068
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
7069
7069
|
attemptNumber: number;
|
|
7070
|
-
maxAttempts: number;
|
|
7071
7070
|
previousHistoryId: string;
|
|
7072
7071
|
originalFailureDate: Date;
|
|
7073
7072
|
payload?: {
|
|
@@ -7095,7 +7094,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
7095
7094
|
} | null | undefined;
|
|
7096
7095
|
} | null | undefined;
|
|
7097
7096
|
fields?: {
|
|
7098
|
-
field: "
|
|
7097
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
7099
7098
|
autoFixable: boolean;
|
|
7100
7099
|
error?: string | null | undefined;
|
|
7101
7100
|
}[] | null | undefined;
|
|
@@ -7109,13 +7108,13 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
7109
7108
|
} | {
|
|
7110
7109
|
type: "SCHEDULED_RETRY";
|
|
7111
7110
|
data: {
|
|
7111
|
+
maxAttempts: number;
|
|
7112
7112
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
7113
7113
|
attemptNumber: number;
|
|
7114
|
-
maxAttempts: number;
|
|
7115
7114
|
previousHistoryId: string;
|
|
7116
7115
|
originalFailureDate: Date;
|
|
7117
7116
|
fields?: {
|
|
7118
|
-
field: "
|
|
7117
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
7119
7118
|
autoFixable: boolean;
|
|
7120
7119
|
error?: string | null | undefined;
|
|
7121
7120
|
}[] | null | undefined;
|
|
@@ -7144,6 +7143,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
7144
7143
|
targetDate?: Date | null | undefined;
|
|
7145
7144
|
};
|
|
7146
7145
|
} | null | undefined;
|
|
7146
|
+
accountId?: string | null | undefined;
|
|
7147
7147
|
targetDate?: Date | null | undefined;
|
|
7148
7148
|
requestId?: string | null | undefined;
|
|
7149
7149
|
targetHistoryId?: string | null | undefined;
|
|
@@ -7154,23 +7154,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
7154
7154
|
status: string;
|
|
7155
7155
|
title: string;
|
|
7156
7156
|
description: string;
|
|
7157
|
-
price: number;
|
|
7158
7157
|
brand: string;
|
|
7158
|
+
statusId: number;
|
|
7159
|
+
packageSizeId: number;
|
|
7160
|
+
price: number;
|
|
7159
7161
|
catalog: string;
|
|
7160
7162
|
catalogId: number;
|
|
7161
|
-
packageSizeId: number;
|
|
7162
7163
|
photoUrls: string[];
|
|
7163
|
-
statusId: number;
|
|
7164
7164
|
isDraft: boolean;
|
|
7165
7165
|
isArchived: boolean;
|
|
7166
7166
|
availableQuantity: number;
|
|
7167
|
-
|
|
7167
|
+
sizeId?: number | null | undefined;
|
|
7168
|
+
colorIds?: number[] | null | undefined;
|
|
7168
7169
|
currency?: string | null | undefined;
|
|
7169
7170
|
colors?: string[] | null | undefined;
|
|
7170
|
-
colorIds?: number[] | null | undefined;
|
|
7171
7171
|
measurementLength?: number | null | undefined;
|
|
7172
7172
|
measurementWidth?: number | null | undefined;
|
|
7173
|
-
|
|
7173
|
+
size?: string | null | undefined;
|
|
7174
7174
|
isUnisex?: boolean | null | undefined;
|
|
7175
7175
|
material?: number[] | null | undefined;
|
|
7176
7176
|
manufacturerLabelling?: string | null | undefined;
|
|
@@ -7195,42 +7195,42 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
7195
7195
|
boostedUntil?: Date | null | undefined;
|
|
7196
7196
|
};
|
|
7197
7197
|
mappings: {
|
|
7198
|
-
|
|
7198
|
+
brand?: {
|
|
7199
7199
|
id: string;
|
|
7200
7200
|
createdAt: Date;
|
|
7201
7201
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
7202
|
-
|
|
7202
|
+
platformBrandId: string;
|
|
7203
7203
|
confidence: number;
|
|
7204
|
-
verified: boolean;
|
|
7205
7204
|
mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
|
|
7206
|
-
|
|
7207
|
-
|
|
7205
|
+
verified: boolean;
|
|
7206
|
+
internalBrandId: number;
|
|
7208
7207
|
verifiedBy?: number | null | undefined;
|
|
7209
7208
|
verifiedAt?: Date | null | undefined;
|
|
7210
7209
|
} | null | undefined;
|
|
7211
|
-
|
|
7210
|
+
colors?: string[] | null | undefined;
|
|
7211
|
+
size?: {
|
|
7212
7212
|
id: string;
|
|
7213
7213
|
createdAt: Date;
|
|
7214
7214
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
7215
|
-
|
|
7215
|
+
platformSizeId: string;
|
|
7216
|
+
internalSizeId: number;
|
|
7217
|
+
internalCategoryId: number;
|
|
7216
7218
|
confidence: number;
|
|
7217
|
-
verified: boolean;
|
|
7218
|
-
internalBrandId: number;
|
|
7219
7219
|
mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
|
|
7220
|
+
verified: boolean;
|
|
7220
7221
|
verifiedBy?: number | null | undefined;
|
|
7221
7222
|
verifiedAt?: Date | null | undefined;
|
|
7222
7223
|
} | null | undefined;
|
|
7223
|
-
colors?: string[] | null | undefined;
|
|
7224
7224
|
condition?: string | null | undefined;
|
|
7225
7225
|
category?: {
|
|
7226
7226
|
id: string;
|
|
7227
7227
|
createdAt: Date;
|
|
7228
7228
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
7229
7229
|
platformCategoryId: string;
|
|
7230
|
+
internalCategoryId: number;
|
|
7230
7231
|
confidence: number;
|
|
7231
|
-
verified: boolean;
|
|
7232
7232
|
mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
|
|
7233
|
-
|
|
7233
|
+
verified: boolean;
|
|
7234
7234
|
verifiedBy?: number | null | undefined;
|
|
7235
7235
|
verifiedAt?: Date | null | undefined;
|
|
7236
7236
|
} | null | undefined;
|
|
@@ -7269,26 +7269,42 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
7269
7269
|
} | null | undefined;
|
|
7270
7270
|
}, {
|
|
7271
7271
|
item: {
|
|
7272
|
-
id: number;
|
|
7273
|
-
userId: number;
|
|
7274
7272
|
name: string;
|
|
7273
|
+
id: number;
|
|
7275
7274
|
createdAt: Date;
|
|
7275
|
+
userId: number;
|
|
7276
7276
|
updatedAt: Date;
|
|
7277
7277
|
sold: boolean;
|
|
7278
|
+
fees?: {
|
|
7279
|
+
value: number;
|
|
7280
|
+
type: string;
|
|
7281
|
+
name: string;
|
|
7282
|
+
id: number;
|
|
7283
|
+
createdAt: Date;
|
|
7284
|
+
userId: number;
|
|
7285
|
+
updatedAt: Date;
|
|
7286
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
7287
|
+
startDate: Date;
|
|
7288
|
+
active: boolean;
|
|
7289
|
+
description?: string | null | undefined;
|
|
7290
|
+
itemId?: number | null | undefined;
|
|
7291
|
+
endDate?: Date | null | undefined;
|
|
7292
|
+
parentFeeId?: number | null | undefined;
|
|
7293
|
+
}[] | null | undefined;
|
|
7278
7294
|
description?: string | null | undefined;
|
|
7279
7295
|
categoryId?: number | null | undefined;
|
|
7280
|
-
|
|
7296
|
+
sizeId?: number | null | undefined;
|
|
7281
7297
|
colorIds?: number[] | null | undefined;
|
|
7298
|
+
packageSizeId?: number | null | undefined;
|
|
7299
|
+
state?: number | null | undefined;
|
|
7282
7300
|
measurementLength?: number | null | undefined;
|
|
7283
7301
|
measurementWidth?: number | null | undefined;
|
|
7284
|
-
packageSizeId?: number | null | undefined;
|
|
7285
|
-
sizeId?: number | null | undefined;
|
|
7286
7302
|
labels?: {
|
|
7287
7303
|
itemId: number;
|
|
7288
7304
|
labelId: number;
|
|
7289
7305
|
label?: {
|
|
7290
|
-
id: number;
|
|
7291
7306
|
name: string;
|
|
7307
|
+
id: number;
|
|
7292
7308
|
createdAt: Date;
|
|
7293
7309
|
isUserLabel: boolean;
|
|
7294
7310
|
itemCount?: number | null | undefined;
|
|
@@ -7301,50 +7317,86 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
7301
7317
|
fieldKey: string;
|
|
7302
7318
|
}[] | null | undefined;
|
|
7303
7319
|
sku?: string | null | undefined;
|
|
7320
|
+
sex?: string | null | undefined;
|
|
7321
|
+
platforms?: {
|
|
7322
|
+
id: string;
|
|
7323
|
+
createdAt: Date;
|
|
7324
|
+
accountId: string;
|
|
7325
|
+
itemId: number;
|
|
7326
|
+
platformId: string;
|
|
7327
|
+
platformUrl: string;
|
|
7328
|
+
platformPrice: number;
|
|
7329
|
+
updatedAt: Date;
|
|
7330
|
+
publishedAt: Date;
|
|
7331
|
+
status?: unknown;
|
|
7332
|
+
conversationId?: string | null | undefined;
|
|
7333
|
+
boostedAt?: Date | null | undefined;
|
|
7334
|
+
boostedUntil?: Date | null | undefined;
|
|
7335
|
+
viewsCount?: number | null | undefined;
|
|
7336
|
+
favoritesCount?: number | null | undefined;
|
|
7337
|
+
account?: {
|
|
7338
|
+
name: string;
|
|
7339
|
+
userId: number;
|
|
7340
|
+
accountId: string;
|
|
7341
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
7342
|
+
status?: unknown;
|
|
7343
|
+
locale?: string | null | undefined;
|
|
7344
|
+
lockReason?: unknown;
|
|
7345
|
+
restrictedUntil?: Date | null | undefined;
|
|
7346
|
+
night?: {
|
|
7347
|
+
startsAt: Date;
|
|
7348
|
+
endsAt: Date;
|
|
7349
|
+
} | null | undefined;
|
|
7350
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
7351
|
+
ordersMaxDelay?: number | null | undefined;
|
|
7352
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
7353
|
+
walletMaxDelay?: number | null | undefined;
|
|
7354
|
+
availableBalance?: number | null | undefined;
|
|
7355
|
+
pendingBalance?: number | null | undefined;
|
|
7356
|
+
profilePictureFileId?: string | null | undefined;
|
|
7357
|
+
profilePicture?: {
|
|
7358
|
+
path: string;
|
|
7359
|
+
id: string;
|
|
7360
|
+
createdAt: Date;
|
|
7361
|
+
userId: number;
|
|
7362
|
+
signedUrl: string;
|
|
7363
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
7364
|
+
} | null | undefined;
|
|
7365
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
7366
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
7367
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
7368
|
+
} | null | undefined;
|
|
7369
|
+
orderStatus?: unknown;
|
|
7370
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
7371
|
+
isBoosted?: boolean | null | undefined;
|
|
7372
|
+
}[] | null | undefined;
|
|
7373
|
+
brandId?: number | null | undefined;
|
|
7374
|
+
estimatedPrice?: number | null | undefined;
|
|
7375
|
+
purchaseDate?: Date | null | undefined;
|
|
7376
|
+
sellingDate?: Date | null | undefined;
|
|
7304
7377
|
fields?: {
|
|
7305
7378
|
value: string;
|
|
7306
7379
|
itemId: number;
|
|
7307
7380
|
fieldId: number;
|
|
7308
7381
|
}[] | null | undefined;
|
|
7309
7382
|
files?: {
|
|
7310
|
-
itemId: number;
|
|
7311
7383
|
fileId: string;
|
|
7384
|
+
itemId: number;
|
|
7312
7385
|
file?: {
|
|
7313
7386
|
path: string;
|
|
7314
7387
|
id: string;
|
|
7315
|
-
userId: number;
|
|
7316
7388
|
createdAt: Date;
|
|
7389
|
+
userId: number;
|
|
7317
7390
|
signedUrl: string;
|
|
7318
7391
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
7319
7392
|
} | null | undefined;
|
|
7320
7393
|
index?: number | null | undefined;
|
|
7321
7394
|
}[] | null | undefined;
|
|
7322
|
-
brandId?: number | null | undefined;
|
|
7323
|
-
sex?: string | null | undefined;
|
|
7324
7395
|
purchasePrice?: number | null | undefined;
|
|
7325
|
-
purchaseDate?: Date | null | undefined;
|
|
7326
7396
|
purchasePlaceId?: number | null | undefined;
|
|
7327
7397
|
purchased?: boolean | null | undefined;
|
|
7328
7398
|
sellingPrice?: number | null | undefined;
|
|
7329
|
-
sellingDate?: Date | null | undefined;
|
|
7330
7399
|
sellingPlaceId?: number | null | undefined;
|
|
7331
|
-
estimatedPrice?: number | null | undefined;
|
|
7332
|
-
fees?: {
|
|
7333
|
-
value: number;
|
|
7334
|
-
type: string;
|
|
7335
|
-
id: number;
|
|
7336
|
-
userId: number;
|
|
7337
|
-
name: string;
|
|
7338
|
-
createdAt: Date;
|
|
7339
|
-
updatedAt: Date;
|
|
7340
|
-
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
7341
|
-
startDate: Date;
|
|
7342
|
-
active: boolean;
|
|
7343
|
-
description?: string | null | undefined;
|
|
7344
|
-
itemId?: number | null | undefined;
|
|
7345
|
-
endDate?: Date | null | undefined;
|
|
7346
|
-
parentFeeId?: number | null | undefined;
|
|
7347
|
-
}[] | null | undefined;
|
|
7348
7400
|
feesSum?: number | null | undefined;
|
|
7349
7401
|
materialIds?: number[] | null | undefined;
|
|
7350
7402
|
enumValues?: {
|
|
@@ -7360,7 +7412,6 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
7360
7412
|
createdAt: Date;
|
|
7361
7413
|
itemId: number;
|
|
7362
7414
|
type?: unknown;
|
|
7363
|
-
accountId?: string | null | undefined;
|
|
7364
7415
|
data?: {
|
|
7365
7416
|
type: "ACTION_CANCELED";
|
|
7366
7417
|
data: {
|
|
@@ -7426,23 +7477,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
7426
7477
|
post: {
|
|
7427
7478
|
platformId: string;
|
|
7428
7479
|
post: {
|
|
7429
|
-
size?: string | null | undefined;
|
|
7430
7480
|
status?: string | null | undefined;
|
|
7431
7481
|
title?: string | null | undefined;
|
|
7432
7482
|
description?: string | null | undefined;
|
|
7483
|
+
brand?: string | null | undefined;
|
|
7484
|
+
statusId?: number | null | undefined;
|
|
7485
|
+
sizeId?: number | null | undefined;
|
|
7486
|
+
colorIds?: number[] | null | undefined;
|
|
7487
|
+
packageSizeId?: number | null | undefined;
|
|
7433
7488
|
price?: number | null | undefined;
|
|
7434
7489
|
currency?: string | null | undefined;
|
|
7435
|
-
brand?: string | null | undefined;
|
|
7436
7490
|
catalog?: string | null | undefined;
|
|
7437
7491
|
catalogId?: number | null | undefined;
|
|
7438
7492
|
colors?: string[] | null | undefined;
|
|
7439
|
-
colorIds?: number[] | null | undefined;
|
|
7440
7493
|
measurementLength?: number | null | undefined;
|
|
7441
7494
|
measurementWidth?: number | null | undefined;
|
|
7442
|
-
packageSizeId?: number | null | undefined;
|
|
7443
7495
|
photoUrls?: string[] | null | undefined;
|
|
7444
|
-
|
|
7445
|
-
statusId?: number | null | undefined;
|
|
7496
|
+
size?: string | null | undefined;
|
|
7446
7497
|
isDraft?: boolean | null | undefined;
|
|
7447
7498
|
isArchived?: boolean | null | undefined;
|
|
7448
7499
|
isUnisex?: boolean | null | undefined;
|
|
@@ -7485,8 +7536,8 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
7485
7536
|
} | {
|
|
7486
7537
|
type: "LIFECYCLE_STARTED";
|
|
7487
7538
|
data: {
|
|
7488
|
-
accountId: string;
|
|
7489
7539
|
caseId: string;
|
|
7540
|
+
accountId: string;
|
|
7490
7541
|
isRepeat?: boolean | null | undefined;
|
|
7491
7542
|
};
|
|
7492
7543
|
} | {
|
|
@@ -7525,17 +7576,17 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
7525
7576
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
7526
7577
|
} | null | undefined;
|
|
7527
7578
|
} | null | undefined;
|
|
7528
|
-
targetAccountId?: string | null | undefined;
|
|
7529
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
7530
7579
|
publishingDate?: Date | null | undefined;
|
|
7531
7580
|
isTransfer?: boolean | null | undefined;
|
|
7581
|
+
targetAccountId?: string | null | undefined;
|
|
7582
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
7532
7583
|
};
|
|
7533
7584
|
} | {
|
|
7534
7585
|
type: "REPUBLISHING_RETRY";
|
|
7535
7586
|
data: {
|
|
7587
|
+
maxAttempts: number;
|
|
7536
7588
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
7537
7589
|
attemptNumber: number;
|
|
7538
|
-
maxAttempts: number;
|
|
7539
7590
|
previousHistoryId: string;
|
|
7540
7591
|
originalFailureDate: Date;
|
|
7541
7592
|
payload?: {
|
|
@@ -7577,9 +7628,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
7577
7628
|
} | {
|
|
7578
7629
|
type: "SCHEDULED_RETRY";
|
|
7579
7630
|
data: {
|
|
7631
|
+
maxAttempts: number;
|
|
7580
7632
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
7581
7633
|
attemptNumber: number;
|
|
7582
|
-
maxAttempts: number;
|
|
7583
7634
|
previousHistoryId: string;
|
|
7584
7635
|
originalFailureDate: Date;
|
|
7585
7636
|
fields?: {
|
|
@@ -7612,69 +7663,17 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
7612
7663
|
targetDate?: Date | null | undefined;
|
|
7613
7664
|
};
|
|
7614
7665
|
} | null | undefined;
|
|
7666
|
+
accountId?: string | null | undefined;
|
|
7615
7667
|
targetDate?: Date | null | undefined;
|
|
7616
7668
|
requestId?: string | null | undefined;
|
|
7617
7669
|
targetHistoryId?: string | null | undefined;
|
|
7618
7670
|
} | null | undefined;
|
|
7619
|
-
platforms?: {
|
|
7620
|
-
id: string;
|
|
7621
|
-
accountId: string;
|
|
7622
|
-
createdAt: Date;
|
|
7623
|
-
itemId: number;
|
|
7624
|
-
platformId: string;
|
|
7625
|
-
platformUrl: string;
|
|
7626
|
-
platformPrice: number;
|
|
7627
|
-
updatedAt: Date;
|
|
7628
|
-
publishedAt: Date;
|
|
7629
|
-
status?: unknown;
|
|
7630
|
-
conversationId?: string | null | undefined;
|
|
7631
|
-
boostedAt?: Date | null | undefined;
|
|
7632
|
-
boostedUntil?: Date | null | undefined;
|
|
7633
|
-
viewsCount?: number | null | undefined;
|
|
7634
|
-
favoritesCount?: number | null | undefined;
|
|
7635
|
-
account?: {
|
|
7636
|
-
accountId: string;
|
|
7637
|
-
userId: number;
|
|
7638
|
-
name: string;
|
|
7639
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
7640
|
-
status?: unknown;
|
|
7641
|
-
locale?: string | null | undefined;
|
|
7642
|
-
lockReason?: unknown;
|
|
7643
|
-
restrictedUntil?: Date | null | undefined;
|
|
7644
|
-
night?: {
|
|
7645
|
-
startsAt: Date;
|
|
7646
|
-
endsAt: Date;
|
|
7647
|
-
} | null | undefined;
|
|
7648
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
7649
|
-
ordersMaxDelay?: number | null | undefined;
|
|
7650
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
7651
|
-
walletMaxDelay?: number | null | undefined;
|
|
7652
|
-
availableBalance?: number | null | undefined;
|
|
7653
|
-
pendingBalance?: number | null | undefined;
|
|
7654
|
-
profilePictureFileId?: string | null | undefined;
|
|
7655
|
-
profilePicture?: {
|
|
7656
|
-
path: string;
|
|
7657
|
-
id: string;
|
|
7658
|
-
userId: number;
|
|
7659
|
-
createdAt: Date;
|
|
7660
|
-
signedUrl: string;
|
|
7661
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
7662
|
-
} | null | undefined;
|
|
7663
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
7664
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
7665
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
7666
|
-
} | null | undefined;
|
|
7667
|
-
orderStatus?: unknown;
|
|
7668
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
7669
|
-
isBoosted?: boolean | null | undefined;
|
|
7670
|
-
}[] | null | undefined;
|
|
7671
7671
|
analysisStatus?: "PENDING" | "COMPLETED" | "FAILED" | null | undefined;
|
|
7672
7672
|
history?: {
|
|
7673
7673
|
id: string;
|
|
7674
7674
|
createdAt: Date;
|
|
7675
7675
|
itemId: number;
|
|
7676
7676
|
type?: unknown;
|
|
7677
|
-
accountId?: string | null | undefined;
|
|
7678
7677
|
data?: {
|
|
7679
7678
|
type: "ACTION_CANCELED";
|
|
7680
7679
|
data: {
|
|
@@ -7740,23 +7739,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
7740
7739
|
post: {
|
|
7741
7740
|
platformId: string;
|
|
7742
7741
|
post: {
|
|
7743
|
-
size?: string | null | undefined;
|
|
7744
7742
|
status?: string | null | undefined;
|
|
7745
7743
|
title?: string | null | undefined;
|
|
7746
7744
|
description?: string | null | undefined;
|
|
7745
|
+
brand?: string | null | undefined;
|
|
7746
|
+
statusId?: number | null | undefined;
|
|
7747
|
+
sizeId?: number | null | undefined;
|
|
7748
|
+
colorIds?: number[] | null | undefined;
|
|
7749
|
+
packageSizeId?: number | null | undefined;
|
|
7747
7750
|
price?: number | null | undefined;
|
|
7748
7751
|
currency?: string | null | undefined;
|
|
7749
|
-
brand?: string | null | undefined;
|
|
7750
7752
|
catalog?: string | null | undefined;
|
|
7751
7753
|
catalogId?: number | null | undefined;
|
|
7752
7754
|
colors?: string[] | null | undefined;
|
|
7753
|
-
colorIds?: number[] | null | undefined;
|
|
7754
7755
|
measurementLength?: number | null | undefined;
|
|
7755
7756
|
measurementWidth?: number | null | undefined;
|
|
7756
|
-
packageSizeId?: number | null | undefined;
|
|
7757
7757
|
photoUrls?: string[] | null | undefined;
|
|
7758
|
-
|
|
7759
|
-
statusId?: number | null | undefined;
|
|
7758
|
+
size?: string | null | undefined;
|
|
7760
7759
|
isDraft?: boolean | null | undefined;
|
|
7761
7760
|
isArchived?: boolean | null | undefined;
|
|
7762
7761
|
isUnisex?: boolean | null | undefined;
|
|
@@ -7799,8 +7798,8 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
7799
7798
|
} | {
|
|
7800
7799
|
type: "LIFECYCLE_STARTED";
|
|
7801
7800
|
data: {
|
|
7802
|
-
accountId: string;
|
|
7803
7801
|
caseId: string;
|
|
7802
|
+
accountId: string;
|
|
7804
7803
|
isRepeat?: boolean | null | undefined;
|
|
7805
7804
|
};
|
|
7806
7805
|
} | {
|
|
@@ -7839,17 +7838,17 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
7839
7838
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
7840
7839
|
} | null | undefined;
|
|
7841
7840
|
} | null | undefined;
|
|
7842
|
-
targetAccountId?: string | null | undefined;
|
|
7843
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
7844
7841
|
publishingDate?: Date | null | undefined;
|
|
7845
7842
|
isTransfer?: boolean | null | undefined;
|
|
7843
|
+
targetAccountId?: string | null | undefined;
|
|
7844
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
7846
7845
|
};
|
|
7847
7846
|
} | {
|
|
7848
7847
|
type: "REPUBLISHING_RETRY";
|
|
7849
7848
|
data: {
|
|
7849
|
+
maxAttempts: number;
|
|
7850
7850
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
7851
7851
|
attemptNumber: number;
|
|
7852
|
-
maxAttempts: number;
|
|
7853
7852
|
previousHistoryId: string;
|
|
7854
7853
|
originalFailureDate: Date;
|
|
7855
7854
|
payload?: {
|
|
@@ -7891,9 +7890,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
7891
7890
|
} | {
|
|
7892
7891
|
type: "SCHEDULED_RETRY";
|
|
7893
7892
|
data: {
|
|
7893
|
+
maxAttempts: number;
|
|
7894
7894
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
7895
7895
|
attemptNumber: number;
|
|
7896
|
-
maxAttempts: number;
|
|
7897
7896
|
previousHistoryId: string;
|
|
7898
7897
|
originalFailureDate: Date;
|
|
7899
7898
|
fields?: {
|
|
@@ -7926,6 +7925,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
7926
7925
|
targetDate?: Date | null | undefined;
|
|
7927
7926
|
};
|
|
7928
7927
|
} | null | undefined;
|
|
7928
|
+
accountId?: string | null | undefined;
|
|
7929
7929
|
targetDate?: Date | null | undefined;
|
|
7930
7930
|
requestId?: string | null | undefined;
|
|
7931
7931
|
targetHistoryId?: string | null | undefined;
|
|
@@ -7936,23 +7936,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
7936
7936
|
status: string;
|
|
7937
7937
|
title: string;
|
|
7938
7938
|
description: string;
|
|
7939
|
-
price: number;
|
|
7940
7939
|
brand: string;
|
|
7940
|
+
statusId: number;
|
|
7941
|
+
packageSizeId: number;
|
|
7942
|
+
price: number;
|
|
7941
7943
|
catalog: string;
|
|
7942
7944
|
catalogId: number;
|
|
7943
|
-
packageSizeId: number;
|
|
7944
7945
|
photoUrls: string[];
|
|
7945
|
-
statusId: number;
|
|
7946
7946
|
isDraft: boolean;
|
|
7947
7947
|
isArchived: boolean;
|
|
7948
7948
|
availableQuantity: number;
|
|
7949
|
-
|
|
7949
|
+
sizeId?: number | null | undefined;
|
|
7950
|
+
colorIds?: number[] | null | undefined;
|
|
7950
7951
|
currency?: string | null | undefined;
|
|
7951
7952
|
colors?: string[] | null | undefined;
|
|
7952
|
-
colorIds?: number[] | null | undefined;
|
|
7953
7953
|
measurementLength?: number | null | undefined;
|
|
7954
7954
|
measurementWidth?: number | null | undefined;
|
|
7955
|
-
|
|
7955
|
+
size?: string | null | undefined;
|
|
7956
7956
|
isUnisex?: boolean | null | undefined;
|
|
7957
7957
|
material?: number[] | null | undefined;
|
|
7958
7958
|
manufacturerLabelling?: string | null | undefined;
|
|
@@ -7977,42 +7977,42 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
7977
7977
|
boostedUntil?: Date | null | undefined;
|
|
7978
7978
|
};
|
|
7979
7979
|
mappings: {
|
|
7980
|
-
|
|
7980
|
+
brand?: {
|
|
7981
7981
|
id: string;
|
|
7982
7982
|
createdAt: Date;
|
|
7983
7983
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
7984
|
-
|
|
7984
|
+
platformBrandId: string;
|
|
7985
7985
|
confidence: number;
|
|
7986
|
-
verified: boolean;
|
|
7987
7986
|
mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
|
|
7988
|
-
|
|
7989
|
-
|
|
7987
|
+
verified: boolean;
|
|
7988
|
+
internalBrandId: number;
|
|
7990
7989
|
verifiedBy?: number | null | undefined;
|
|
7991
7990
|
verifiedAt?: Date | null | undefined;
|
|
7992
7991
|
} | null | undefined;
|
|
7993
|
-
|
|
7992
|
+
colors?: string[] | null | undefined;
|
|
7993
|
+
size?: {
|
|
7994
7994
|
id: string;
|
|
7995
7995
|
createdAt: Date;
|
|
7996
7996
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
7997
|
-
|
|
7997
|
+
platformSizeId: string;
|
|
7998
|
+
internalSizeId: number;
|
|
7999
|
+
internalCategoryId: number;
|
|
7998
8000
|
confidence: number;
|
|
7999
|
-
verified: boolean;
|
|
8000
|
-
internalBrandId: number;
|
|
8001
8001
|
mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
|
|
8002
|
+
verified: boolean;
|
|
8002
8003
|
verifiedBy?: number | null | undefined;
|
|
8003
8004
|
verifiedAt?: Date | null | undefined;
|
|
8004
8005
|
} | null | undefined;
|
|
8005
|
-
colors?: string[] | null | undefined;
|
|
8006
8006
|
condition?: string | null | undefined;
|
|
8007
8007
|
category?: {
|
|
8008
8008
|
id: string;
|
|
8009
8009
|
createdAt: Date;
|
|
8010
8010
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
8011
8011
|
platformCategoryId: string;
|
|
8012
|
+
internalCategoryId: number;
|
|
8012
8013
|
confidence: number;
|
|
8013
|
-
verified: boolean;
|
|
8014
8014
|
mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
|
|
8015
|
-
|
|
8015
|
+
verified: boolean;
|
|
8016
8016
|
verifiedBy?: number | null | undefined;
|
|
8017
8017
|
verifiedAt?: Date | null | undefined;
|
|
8018
8018
|
} | null | undefined;
|