controlresell 2.26.2 → 2.26.4
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/ActivityDaySummary.d.ts +2 -2
- package/src/com/controlresell/api/responses/activity/ActivityEvent.d.ts +14 -14
- package/src/com/controlresell/api/responses/activity/ActivityEventsResponse.d.ts +24 -24
- 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 +28 -28
- 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 +742 -735
- package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/items/ListedItem.d.ts +498 -493
- package/src/com/controlresell/api/responses/items/ListedItem.d.ts.map +1 -1
- 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 +1431 -1417
- package/src/com/controlresell/models/items/CreatedItems.d.ts.map +1 -1
- package/src/com/controlresell/models/items/Item.d.ts +469 -464
- package/src/com/controlresell/models/items/Item.d.ts.map +1 -1
- 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 +740 -733
- package/src/com/controlresell/models/items/ItemUpdate.d.ts.map +1 -1
- package/src/com/controlresell/models/items/UpdatedItem.d.ts +1431 -1417
- package/src/com/controlresell/models/items/UpdatedItem.d.ts.map +1 -1
- 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 +740 -733
- package/src/com/controlresell/models/items/analysis/ItemAnalysisUpdate.d.ts.map +1 -1
- 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 +106 -106
- package/src/com/controlresell/models/items/history/ItemHistory.d.ts +108 -108
- package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.d.ts +160 -160
- package/src/com/controlresell/models/items/history/data/ItemHistoryActionCanceledPayload.d.ts +2 -2
- package/src/com/controlresell/models/items/history/data/ItemHistoryCancelReason.d.ts +1 -1
- package/src/com/controlresell/models/items/history/data/ItemHistoryCancelReason.d.ts.map +1 -1
- package/src/com/controlresell/models/items/history/data/ItemHistoryCancelReason.js +1 -1
- package/src/com/controlresell/models/items/history/data/ItemHistoryCancelReason.js.map +1 -1
- package/src/com/controlresell/models/items/history/data/ItemHistoryCancelReason.ts +1 -1
- 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 +19 -16
- package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts.map +1 -1
- package/src/com/controlresell/models/items/platforms/ItemOnPlatform.js +2 -1
- package/src/com/controlresell/models/items/platforms/ItemOnPlatform.js.map +1 -1
- package/src/com/controlresell/models/items/platforms/ItemOnPlatform.ts +2 -1
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts +50 -50
- package/src/com/controlresell/models/items/platforms/UpdateItemOnPlatformPayload.d.ts +3 -0
- package/src/com/controlresell/models/items/platforms/UpdateItemOnPlatformPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/items/platforms/UpdateItemOnPlatformPayload.js +2 -1
- package/src/com/controlresell/models/items/platforms/UpdateItemOnPlatformPayload.js.map +1 -1
- package/src/com/controlresell/models/items/platforms/UpdateItemOnPlatformPayload.ts +2 -1
- 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 +774 -767
- package/src/com/controlresell/models/metadata/platforms/ItemListingPreview.d.ts.map +1 -1
- 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/PlatformCatalogInternalIds.d.ts +16 -0
- package/src/com/controlresell/models/metadata/platforms/PlatformCatalogInternalIds.d.ts.map +1 -0
- package/src/com/controlresell/models/metadata/platforms/PlatformCatalogInternalIds.js +7 -0
- package/src/com/controlresell/models/metadata/platforms/PlatformCatalogInternalIds.js.map +1 -0
- package/src/com/controlresell/models/metadata/platforms/PlatformCatalogInternalIds.ts +8 -0
- 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 +277 -270
- package/src/com/controlresell/models/platforms/orders/Order.d.ts.map +1 -1
- 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 +1661 -1641
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +29 -24
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +1244 -1228
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
- 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 +43 -36
- package/src/com/controlresell/models/transactions/Transaction.d.ts.map +1 -1
- package/src/com/controlresell/models/transactions/items/ItemInTransaction.d.ts +29 -24
- package/src/com/controlresell/models/transactions/items/ItemInTransaction.d.ts.map +1 -1
- package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts +791 -775
- package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts.map +1 -1
- 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 +3759 -3731
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/users/ws/UserWsResourcePayload.d.ts +80 -80
- package/src/index.d.ts +384 -383
- package/src/index.d.ts.map +1 -1
- package/src/index.js +384 -383
- package/src/index.js.map +1 -1
- package/src/index.ts +384 -383
|
@@ -19,38 +19,38 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
20
20
|
path: string;
|
|
21
21
|
id: string;
|
|
22
|
-
createdAt: Date;
|
|
23
22
|
userId: number;
|
|
23
|
+
createdAt: Date;
|
|
24
24
|
signedUrl: string;
|
|
25
25
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
26
26
|
}, {
|
|
27
27
|
path: string;
|
|
28
28
|
id: string;
|
|
29
|
-
createdAt: Date;
|
|
30
29
|
userId: number;
|
|
30
|
+
createdAt: Date;
|
|
31
31
|
signedUrl: string;
|
|
32
32
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
33
33
|
}>>>;
|
|
34
34
|
}, "strip", z.ZodTypeAny, {
|
|
35
|
-
fileId: string;
|
|
36
35
|
itemId: number;
|
|
36
|
+
fileId: string;
|
|
37
37
|
file?: {
|
|
38
38
|
path: string;
|
|
39
39
|
id: string;
|
|
40
|
-
createdAt: Date;
|
|
41
40
|
userId: number;
|
|
41
|
+
createdAt: Date;
|
|
42
42
|
signedUrl: string;
|
|
43
43
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
44
44
|
} | null | undefined;
|
|
45
45
|
index?: number | null | undefined;
|
|
46
46
|
}, {
|
|
47
|
-
fileId: string;
|
|
48
47
|
itemId: number;
|
|
48
|
+
fileId: string;
|
|
49
49
|
file?: {
|
|
50
50
|
path: string;
|
|
51
51
|
id: string;
|
|
52
|
-
createdAt: Date;
|
|
53
52
|
userId: number;
|
|
53
|
+
createdAt: Date;
|
|
54
54
|
signedUrl: string;
|
|
55
55
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
56
56
|
} | null | undefined;
|
|
@@ -88,12 +88,12 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
88
88
|
}, "strip", z.ZodTypeAny, {
|
|
89
89
|
value: number;
|
|
90
90
|
type: string;
|
|
91
|
-
name: string;
|
|
92
91
|
id: number;
|
|
93
|
-
createdAt: Date;
|
|
94
92
|
userId: number;
|
|
93
|
+
name: string;
|
|
94
|
+
createdAt: Date;
|
|
95
95
|
updatedAt: Date;
|
|
96
|
-
recurrence: "
|
|
96
|
+
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
97
97
|
startDate: Date;
|
|
98
98
|
active: boolean;
|
|
99
99
|
description?: string | null | undefined;
|
|
@@ -103,12 +103,12 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
103
103
|
}, {
|
|
104
104
|
value: number;
|
|
105
105
|
type: string;
|
|
106
|
-
name: string;
|
|
107
106
|
id: number;
|
|
108
|
-
createdAt: Date;
|
|
109
107
|
userId: number;
|
|
108
|
+
name: string;
|
|
109
|
+
createdAt: Date;
|
|
110
110
|
updatedAt: Date;
|
|
111
|
-
recurrence: "
|
|
111
|
+
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
112
112
|
startDate: Date;
|
|
113
113
|
active: boolean;
|
|
114
114
|
description?: string | null | undefined;
|
|
@@ -129,16 +129,16 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
129
129
|
itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
130
130
|
parentId: z.ZodUnknown;
|
|
131
131
|
}, "strip", z.ZodTypeAny, {
|
|
132
|
-
name: string;
|
|
133
132
|
id: number;
|
|
133
|
+
name: string;
|
|
134
134
|
createdAt: Date;
|
|
135
135
|
isUserLabel: boolean;
|
|
136
136
|
itemCount?: number | null | undefined;
|
|
137
137
|
userId?: number | null | undefined;
|
|
138
138
|
parentId?: unknown;
|
|
139
139
|
}, {
|
|
140
|
-
name: string;
|
|
141
140
|
id: number;
|
|
141
|
+
name: string;
|
|
142
142
|
createdAt: Date;
|
|
143
143
|
isUserLabel: boolean;
|
|
144
144
|
itemCount?: number | null | undefined;
|
|
@@ -149,8 +149,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
149
149
|
itemId: number;
|
|
150
150
|
labelId: number;
|
|
151
151
|
label?: {
|
|
152
|
-
name: string;
|
|
153
152
|
id: number;
|
|
153
|
+
name: string;
|
|
154
154
|
createdAt: Date;
|
|
155
155
|
isUserLabel: boolean;
|
|
156
156
|
itemCount?: number | null | undefined;
|
|
@@ -161,8 +161,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
161
161
|
itemId: number;
|
|
162
162
|
labelId: number;
|
|
163
163
|
label?: {
|
|
164
|
-
name: string;
|
|
165
164
|
id: number;
|
|
165
|
+
name: string;
|
|
166
166
|
createdAt: Date;
|
|
167
167
|
isUserLabel: boolean;
|
|
168
168
|
itemCount?: number | null | undefined;
|
|
@@ -227,11 +227,11 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
227
227
|
data: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
228
228
|
data: z.ZodObject<{
|
|
229
229
|
targetItemHistoryId: z.ZodString;
|
|
230
|
-
reason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["REQUESTED_BY_USER", "REPLACED_BY_NEW_SCHEDULE", "ITEM_SOLD_OR_ARCHIVED", "ACCOUNT_BLOCKED", "ACTIVE_SCHEDULE", "ALREADY_PUBLISHED", "NEVER_PUBLISHED", "ACCOUNT_DELETED", "LISTING_NOT_FOUND_ON_PLATFORM", "LISTING_DELETED", "UNKNOWN"]>>>>;
|
|
230
|
+
reason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["REQUESTED_BY_USER", "REPLACED_BY_NEW_SCHEDULE", "ITEM_SOLD_OR_ARCHIVED", "ACCOUNT_BLOCKED", "ACTIVE_SCHEDULE", "ALREADY_PUBLISHED", "NEVER_PUBLISHED", "ACCOUNT_DELETED", "LISTING_NOT_FOUND_ON_PLATFORM", "LISTING_DELETED", "LISTING_BOOSTED", "LISTING_SOLD_ON_PLATFORM", "UNKNOWN"]>>>>;
|
|
231
231
|
details: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
232
232
|
}, "strip", z.ZodTypeAny, {
|
|
233
233
|
targetItemHistoryId: string;
|
|
234
|
-
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | null | undefined;
|
|
234
|
+
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | "LISTING_BOOSTED" | "LISTING_SOLD_ON_PLATFORM" | null | undefined;
|
|
235
235
|
details?: string | null | undefined;
|
|
236
236
|
}, {
|
|
237
237
|
targetItemHistoryId: string;
|
|
@@ -243,7 +243,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
243
243
|
type: "ACTION_CANCELED";
|
|
244
244
|
data: {
|
|
245
245
|
targetItemHistoryId: string;
|
|
246
|
-
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | null | undefined;
|
|
246
|
+
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | "LISTING_BOOSTED" | "LISTING_SOLD_ON_PLATFORM" | null | undefined;
|
|
247
247
|
details?: string | null | undefined;
|
|
248
248
|
};
|
|
249
249
|
}, {
|
|
@@ -346,7 +346,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
346
346
|
autoFixable: z.ZodBoolean;
|
|
347
347
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
348
348
|
}, "strip", z.ZodTypeAny, {
|
|
349
|
-
field: "
|
|
349
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
350
350
|
autoFixable: boolean;
|
|
351
351
|
error?: string | null | undefined;
|
|
352
352
|
}, {
|
|
@@ -361,7 +361,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
361
361
|
accountId?: string | null | undefined;
|
|
362
362
|
reason?: string | null | undefined;
|
|
363
363
|
fields?: {
|
|
364
|
-
field: "
|
|
364
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
365
365
|
autoFixable: boolean;
|
|
366
366
|
error?: string | null | undefined;
|
|
367
367
|
}[] | null | undefined;
|
|
@@ -387,7 +387,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
387
387
|
accountId?: string | null | undefined;
|
|
388
388
|
reason?: string | null | undefined;
|
|
389
389
|
fields?: {
|
|
390
|
-
field: "
|
|
390
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
391
391
|
autoFixable: boolean;
|
|
392
392
|
error?: string | null | undefined;
|
|
393
393
|
}[] | null | undefined;
|
|
@@ -571,23 +571,23 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
571
571
|
boostedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
572
572
|
boostedUntil: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
573
573
|
}, "strip", z.ZodTypeAny, {
|
|
574
|
+
size?: string | null | undefined;
|
|
574
575
|
status?: string | null | undefined;
|
|
575
576
|
title?: string | null | undefined;
|
|
576
577
|
description?: string | null | undefined;
|
|
577
|
-
brand?: string | null | undefined;
|
|
578
|
-
statusId?: number | null | undefined;
|
|
579
|
-
sizeId?: number | null | undefined;
|
|
580
|
-
colorIds?: number[] | null | undefined;
|
|
581
|
-
packageSizeId?: number | null | undefined;
|
|
582
578
|
price?: number | null | undefined;
|
|
583
579
|
currency?: string | null | undefined;
|
|
580
|
+
brand?: string | null | undefined;
|
|
584
581
|
catalog?: string | null | undefined;
|
|
585
582
|
catalogId?: number | null | undefined;
|
|
586
583
|
colors?: string[] | null | undefined;
|
|
584
|
+
colorIds?: number[] | null | undefined;
|
|
587
585
|
measurementLength?: number | null | undefined;
|
|
588
586
|
measurementWidth?: number | null | undefined;
|
|
587
|
+
packageSizeId?: number | null | undefined;
|
|
589
588
|
photoUrls?: string[] | null | undefined;
|
|
590
|
-
|
|
589
|
+
sizeId?: number | null | undefined;
|
|
590
|
+
statusId?: number | null | undefined;
|
|
591
591
|
isDraft?: boolean | null | undefined;
|
|
592
592
|
isArchived?: boolean | null | undefined;
|
|
593
593
|
isUnisex?: boolean | null | undefined;
|
|
@@ -616,23 +616,23 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
616
616
|
isHidden?: boolean | null | undefined;
|
|
617
617
|
isDeleted?: boolean | null | undefined;
|
|
618
618
|
}, {
|
|
619
|
+
size?: string | null | undefined;
|
|
619
620
|
status?: string | null | undefined;
|
|
620
621
|
title?: string | null | undefined;
|
|
621
622
|
description?: string | null | undefined;
|
|
622
|
-
brand?: string | null | undefined;
|
|
623
|
-
statusId?: number | null | undefined;
|
|
624
|
-
sizeId?: number | null | undefined;
|
|
625
|
-
colorIds?: number[] | null | undefined;
|
|
626
|
-
packageSizeId?: number | null | undefined;
|
|
627
623
|
price?: number | null | undefined;
|
|
628
624
|
currency?: string | null | undefined;
|
|
625
|
+
brand?: string | null | undefined;
|
|
629
626
|
catalog?: string | null | undefined;
|
|
630
627
|
catalogId?: number | null | undefined;
|
|
631
628
|
colors?: string[] | null | undefined;
|
|
629
|
+
colorIds?: number[] | null | undefined;
|
|
632
630
|
measurementLength?: number | null | undefined;
|
|
633
631
|
measurementWidth?: number | null | undefined;
|
|
632
|
+
packageSizeId?: number | null | undefined;
|
|
634
633
|
photoUrls?: string[] | null | undefined;
|
|
635
|
-
|
|
634
|
+
sizeId?: number | null | undefined;
|
|
635
|
+
statusId?: number | null | undefined;
|
|
636
636
|
isDraft?: boolean | null | undefined;
|
|
637
637
|
isArchived?: boolean | null | undefined;
|
|
638
638
|
isUnisex?: boolean | null | undefined;
|
|
@@ -666,23 +666,23 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
666
666
|
}, "strip", z.ZodTypeAny, {
|
|
667
667
|
platformId: string;
|
|
668
668
|
post: {
|
|
669
|
+
size?: string | null | undefined;
|
|
669
670
|
status?: string | null | undefined;
|
|
670
671
|
title?: string | null | undefined;
|
|
671
672
|
description?: string | null | undefined;
|
|
672
|
-
brand?: string | null | undefined;
|
|
673
|
-
statusId?: number | null | undefined;
|
|
674
|
-
sizeId?: number | null | undefined;
|
|
675
|
-
colorIds?: number[] | null | undefined;
|
|
676
|
-
packageSizeId?: number | null | undefined;
|
|
677
673
|
price?: number | null | undefined;
|
|
678
674
|
currency?: string | null | undefined;
|
|
675
|
+
brand?: string | null | undefined;
|
|
679
676
|
catalog?: string | null | undefined;
|
|
680
677
|
catalogId?: number | null | undefined;
|
|
681
678
|
colors?: string[] | null | undefined;
|
|
679
|
+
colorIds?: number[] | null | undefined;
|
|
682
680
|
measurementLength?: number | null | undefined;
|
|
683
681
|
measurementWidth?: number | null | undefined;
|
|
682
|
+
packageSizeId?: number | null | undefined;
|
|
684
683
|
photoUrls?: string[] | null | undefined;
|
|
685
|
-
|
|
684
|
+
sizeId?: number | null | undefined;
|
|
685
|
+
statusId?: number | null | undefined;
|
|
686
686
|
isDraft?: boolean | null | undefined;
|
|
687
687
|
isArchived?: boolean | null | undefined;
|
|
688
688
|
isUnisex?: boolean | null | undefined;
|
|
@@ -718,23 +718,23 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
718
718
|
}, {
|
|
719
719
|
platformId: string;
|
|
720
720
|
post: {
|
|
721
|
+
size?: string | null | undefined;
|
|
721
722
|
status?: string | null | undefined;
|
|
722
723
|
title?: string | null | undefined;
|
|
723
724
|
description?: string | null | undefined;
|
|
724
|
-
brand?: string | null | undefined;
|
|
725
|
-
statusId?: number | null | undefined;
|
|
726
|
-
sizeId?: number | null | undefined;
|
|
727
|
-
colorIds?: number[] | null | undefined;
|
|
728
|
-
packageSizeId?: number | null | undefined;
|
|
729
725
|
price?: number | null | undefined;
|
|
730
726
|
currency?: string | null | undefined;
|
|
727
|
+
brand?: string | null | undefined;
|
|
731
728
|
catalog?: string | null | undefined;
|
|
732
729
|
catalogId?: number | null | undefined;
|
|
733
730
|
colors?: string[] | null | undefined;
|
|
731
|
+
colorIds?: number[] | null | undefined;
|
|
734
732
|
measurementLength?: number | null | undefined;
|
|
735
733
|
measurementWidth?: number | null | undefined;
|
|
734
|
+
packageSizeId?: number | null | undefined;
|
|
736
735
|
photoUrls?: string[] | null | undefined;
|
|
737
|
-
|
|
736
|
+
sizeId?: number | null | undefined;
|
|
737
|
+
statusId?: number | null | undefined;
|
|
738
738
|
isDraft?: boolean | null | undefined;
|
|
739
739
|
isArchived?: boolean | null | undefined;
|
|
740
740
|
isUnisex?: boolean | null | undefined;
|
|
@@ -772,23 +772,23 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
772
772
|
post: {
|
|
773
773
|
platformId: string;
|
|
774
774
|
post: {
|
|
775
|
+
size?: string | null | undefined;
|
|
775
776
|
status?: string | null | undefined;
|
|
776
777
|
title?: string | null | undefined;
|
|
777
778
|
description?: string | null | undefined;
|
|
778
|
-
brand?: string | null | undefined;
|
|
779
|
-
statusId?: number | null | undefined;
|
|
780
|
-
sizeId?: number | null | undefined;
|
|
781
|
-
colorIds?: number[] | null | undefined;
|
|
782
|
-
packageSizeId?: number | null | undefined;
|
|
783
779
|
price?: number | null | undefined;
|
|
784
780
|
currency?: string | null | undefined;
|
|
781
|
+
brand?: string | null | undefined;
|
|
785
782
|
catalog?: string | null | undefined;
|
|
786
783
|
catalogId?: number | null | undefined;
|
|
787
784
|
colors?: string[] | null | undefined;
|
|
785
|
+
colorIds?: number[] | null | undefined;
|
|
788
786
|
measurementLength?: number | null | undefined;
|
|
789
787
|
measurementWidth?: number | null | undefined;
|
|
788
|
+
packageSizeId?: number | null | undefined;
|
|
790
789
|
photoUrls?: string[] | null | undefined;
|
|
791
|
-
|
|
790
|
+
sizeId?: number | null | undefined;
|
|
791
|
+
statusId?: number | null | undefined;
|
|
792
792
|
isDraft?: boolean | null | undefined;
|
|
793
793
|
isArchived?: boolean | null | undefined;
|
|
794
794
|
isUnisex?: boolean | null | undefined;
|
|
@@ -826,23 +826,23 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
826
826
|
post: {
|
|
827
827
|
platformId: string;
|
|
828
828
|
post: {
|
|
829
|
+
size?: string | null | undefined;
|
|
829
830
|
status?: string | null | undefined;
|
|
830
831
|
title?: string | null | undefined;
|
|
831
832
|
description?: string | null | undefined;
|
|
832
|
-
brand?: string | null | undefined;
|
|
833
|
-
statusId?: number | null | undefined;
|
|
834
|
-
sizeId?: number | null | undefined;
|
|
835
|
-
colorIds?: number[] | null | undefined;
|
|
836
|
-
packageSizeId?: number | null | undefined;
|
|
837
833
|
price?: number | null | undefined;
|
|
838
834
|
currency?: string | null | undefined;
|
|
835
|
+
brand?: string | null | undefined;
|
|
839
836
|
catalog?: string | null | undefined;
|
|
840
837
|
catalogId?: number | null | undefined;
|
|
841
838
|
colors?: string[] | null | undefined;
|
|
839
|
+
colorIds?: number[] | null | undefined;
|
|
842
840
|
measurementLength?: number | null | undefined;
|
|
843
841
|
measurementWidth?: number | null | undefined;
|
|
842
|
+
packageSizeId?: number | null | undefined;
|
|
844
843
|
photoUrls?: string[] | null | undefined;
|
|
845
|
-
|
|
844
|
+
sizeId?: number | null | undefined;
|
|
845
|
+
statusId?: number | null | undefined;
|
|
846
846
|
isDraft?: boolean | null | undefined;
|
|
847
847
|
isArchived?: boolean | null | undefined;
|
|
848
848
|
isUnisex?: boolean | null | undefined;
|
|
@@ -884,23 +884,23 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
884
884
|
post: {
|
|
885
885
|
platformId: string;
|
|
886
886
|
post: {
|
|
887
|
+
size?: string | null | undefined;
|
|
887
888
|
status?: string | null | undefined;
|
|
888
889
|
title?: string | null | undefined;
|
|
889
890
|
description?: string | null | undefined;
|
|
890
|
-
brand?: string | null | undefined;
|
|
891
|
-
statusId?: number | null | undefined;
|
|
892
|
-
sizeId?: number | null | undefined;
|
|
893
|
-
colorIds?: number[] | null | undefined;
|
|
894
|
-
packageSizeId?: number | null | undefined;
|
|
895
891
|
price?: number | null | undefined;
|
|
896
892
|
currency?: string | null | undefined;
|
|
893
|
+
brand?: string | null | undefined;
|
|
897
894
|
catalog?: string | null | undefined;
|
|
898
895
|
catalogId?: number | null | undefined;
|
|
899
896
|
colors?: string[] | null | undefined;
|
|
897
|
+
colorIds?: number[] | null | undefined;
|
|
900
898
|
measurementLength?: number | null | undefined;
|
|
901
899
|
measurementWidth?: number | null | undefined;
|
|
900
|
+
packageSizeId?: number | null | undefined;
|
|
902
901
|
photoUrls?: string[] | null | undefined;
|
|
903
|
-
|
|
902
|
+
sizeId?: number | null | undefined;
|
|
903
|
+
statusId?: number | null | undefined;
|
|
904
904
|
isDraft?: boolean | null | undefined;
|
|
905
905
|
isArchived?: boolean | null | undefined;
|
|
906
906
|
isUnisex?: boolean | null | undefined;
|
|
@@ -941,23 +941,23 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
941
941
|
post: {
|
|
942
942
|
platformId: string;
|
|
943
943
|
post: {
|
|
944
|
+
size?: string | null | undefined;
|
|
944
945
|
status?: string | null | undefined;
|
|
945
946
|
title?: string | null | undefined;
|
|
946
947
|
description?: string | null | undefined;
|
|
947
|
-
brand?: string | null | undefined;
|
|
948
|
-
statusId?: number | null | undefined;
|
|
949
|
-
sizeId?: number | null | undefined;
|
|
950
|
-
colorIds?: number[] | null | undefined;
|
|
951
|
-
packageSizeId?: number | null | undefined;
|
|
952
948
|
price?: number | null | undefined;
|
|
953
949
|
currency?: string | null | undefined;
|
|
950
|
+
brand?: string | null | undefined;
|
|
954
951
|
catalog?: string | null | undefined;
|
|
955
952
|
catalogId?: number | null | undefined;
|
|
956
953
|
colors?: string[] | null | undefined;
|
|
954
|
+
colorIds?: number[] | null | undefined;
|
|
957
955
|
measurementLength?: number | null | undefined;
|
|
958
956
|
measurementWidth?: number | null | undefined;
|
|
957
|
+
packageSizeId?: number | null | undefined;
|
|
959
958
|
photoUrls?: string[] | null | undefined;
|
|
960
|
-
|
|
959
|
+
sizeId?: number | null | undefined;
|
|
960
|
+
statusId?: number | null | undefined;
|
|
961
961
|
isDraft?: boolean | null | undefined;
|
|
962
962
|
isArchived?: boolean | null | undefined;
|
|
963
963
|
isUnisex?: boolean | null | undefined;
|
|
@@ -1017,27 +1017,27 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1017
1017
|
caseId: z.ZodString;
|
|
1018
1018
|
isRepeat: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1019
1019
|
}, "strip", z.ZodTypeAny, {
|
|
1020
|
-
caseId: string;
|
|
1021
1020
|
accountId: string;
|
|
1021
|
+
caseId: string;
|
|
1022
1022
|
isRepeat?: boolean | null | undefined;
|
|
1023
1023
|
}, {
|
|
1024
|
-
caseId: string;
|
|
1025
1024
|
accountId: string;
|
|
1025
|
+
caseId: string;
|
|
1026
1026
|
isRepeat?: boolean | null | undefined;
|
|
1027
1027
|
}>;
|
|
1028
1028
|
type: z.ZodLiteral<"LIFECYCLE_STARTED">;
|
|
1029
1029
|
}, "strip", z.ZodTypeAny, {
|
|
1030
1030
|
type: "LIFECYCLE_STARTED";
|
|
1031
1031
|
data: {
|
|
1032
|
-
caseId: string;
|
|
1033
1032
|
accountId: string;
|
|
1033
|
+
caseId: string;
|
|
1034
1034
|
isRepeat?: boolean | null | undefined;
|
|
1035
1035
|
};
|
|
1036
1036
|
}, {
|
|
1037
1037
|
type: "LIFECYCLE_STARTED";
|
|
1038
1038
|
data: {
|
|
1039
|
-
caseId: string;
|
|
1040
1039
|
accountId: string;
|
|
1040
|
+
caseId: string;
|
|
1041
1041
|
isRepeat?: boolean | null | undefined;
|
|
1042
1042
|
};
|
|
1043
1043
|
}>, z.ZodObject<{
|
|
@@ -1213,10 +1213,10 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1213
1213
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1214
1214
|
} | null | undefined;
|
|
1215
1215
|
} | null | undefined;
|
|
1216
|
-
publishingDate?: Date | null | undefined;
|
|
1217
|
-
isTransfer?: boolean | null | undefined;
|
|
1218
1216
|
targetAccountId?: string | null | undefined;
|
|
1219
1217
|
allowIfDeleted?: boolean | null | undefined;
|
|
1218
|
+
publishingDate?: Date | null | undefined;
|
|
1219
|
+
isTransfer?: boolean | null | undefined;
|
|
1220
1220
|
}, {
|
|
1221
1221
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1222
1222
|
payload?: {
|
|
@@ -1243,10 +1243,10 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1243
1243
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1244
1244
|
} | null | undefined;
|
|
1245
1245
|
} | null | undefined;
|
|
1246
|
-
publishingDate?: Date | null | undefined;
|
|
1247
|
-
isTransfer?: boolean | null | undefined;
|
|
1248
1246
|
targetAccountId?: string | null | undefined;
|
|
1249
1247
|
allowIfDeleted?: boolean | null | undefined;
|
|
1248
|
+
publishingDate?: Date | null | undefined;
|
|
1249
|
+
isTransfer?: boolean | null | undefined;
|
|
1250
1250
|
}>;
|
|
1251
1251
|
type: z.ZodLiteral<"REPUBLISHING">;
|
|
1252
1252
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1277,10 +1277,10 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1277
1277
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1278
1278
|
} | null | undefined;
|
|
1279
1279
|
} | null | undefined;
|
|
1280
|
-
publishingDate?: Date | null | undefined;
|
|
1281
|
-
isTransfer?: boolean | null | undefined;
|
|
1282
1280
|
targetAccountId?: string | null | undefined;
|
|
1283
1281
|
allowIfDeleted?: boolean | null | undefined;
|
|
1282
|
+
publishingDate?: Date | null | undefined;
|
|
1283
|
+
isTransfer?: boolean | null | undefined;
|
|
1284
1284
|
};
|
|
1285
1285
|
}, {
|
|
1286
1286
|
type: "REPUBLISHING";
|
|
@@ -1310,10 +1310,10 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1310
1310
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1311
1311
|
} | null | undefined;
|
|
1312
1312
|
} | null | undefined;
|
|
1313
|
-
publishingDate?: Date | null | undefined;
|
|
1314
|
-
isTransfer?: boolean | null | undefined;
|
|
1315
1313
|
targetAccountId?: string | null | undefined;
|
|
1316
1314
|
allowIfDeleted?: boolean | null | undefined;
|
|
1315
|
+
publishingDate?: Date | null | undefined;
|
|
1316
|
+
isTransfer?: boolean | null | undefined;
|
|
1317
1317
|
};
|
|
1318
1318
|
}>, z.ZodObject<{
|
|
1319
1319
|
data: z.ZodObject<{
|
|
@@ -1327,7 +1327,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1327
1327
|
autoFixable: z.ZodBoolean;
|
|
1328
1328
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1329
1329
|
}, "strip", z.ZodTypeAny, {
|
|
1330
|
-
field: "
|
|
1330
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1331
1331
|
autoFixable: boolean;
|
|
1332
1332
|
error?: string | null | undefined;
|
|
1333
1333
|
}, {
|
|
@@ -1442,9 +1442,9 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1442
1442
|
} | null | undefined;
|
|
1443
1443
|
}>>>;
|
|
1444
1444
|
}, "strip", z.ZodTypeAny, {
|
|
1445
|
-
maxAttempts: number;
|
|
1446
1445
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1447
1446
|
attemptNumber: number;
|
|
1447
|
+
maxAttempts: number;
|
|
1448
1448
|
previousHistoryId: string;
|
|
1449
1449
|
originalFailureDate: Date;
|
|
1450
1450
|
payload?: {
|
|
@@ -1472,14 +1472,14 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1472
1472
|
} | null | undefined;
|
|
1473
1473
|
} | null | undefined;
|
|
1474
1474
|
fields?: {
|
|
1475
|
-
field: "
|
|
1475
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1476
1476
|
autoFixable: boolean;
|
|
1477
1477
|
error?: string | null | undefined;
|
|
1478
1478
|
}[] | null | undefined;
|
|
1479
1479
|
}, {
|
|
1480
|
-
maxAttempts: number;
|
|
1481
1480
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1482
1481
|
attemptNumber: number;
|
|
1482
|
+
maxAttempts: number;
|
|
1483
1483
|
previousHistoryId: string;
|
|
1484
1484
|
originalFailureDate: Date;
|
|
1485
1485
|
payload?: {
|
|
@@ -1516,9 +1516,9 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1516
1516
|
}, "strip", z.ZodTypeAny, {
|
|
1517
1517
|
type: "REPUBLISHING_RETRY";
|
|
1518
1518
|
data: {
|
|
1519
|
-
maxAttempts: number;
|
|
1520
1519
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1521
1520
|
attemptNumber: number;
|
|
1521
|
+
maxAttempts: number;
|
|
1522
1522
|
previousHistoryId: string;
|
|
1523
1523
|
originalFailureDate: Date;
|
|
1524
1524
|
payload?: {
|
|
@@ -1546,7 +1546,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1546
1546
|
} | null | undefined;
|
|
1547
1547
|
} | null | undefined;
|
|
1548
1548
|
fields?: {
|
|
1549
|
-
field: "
|
|
1549
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1550
1550
|
autoFixable: boolean;
|
|
1551
1551
|
error?: string | null | undefined;
|
|
1552
1552
|
}[] | null | undefined;
|
|
@@ -1554,9 +1554,9 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1554
1554
|
}, {
|
|
1555
1555
|
type: "REPUBLISHING_RETRY";
|
|
1556
1556
|
data: {
|
|
1557
|
-
maxAttempts: number;
|
|
1558
1557
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1559
1558
|
attemptNumber: number;
|
|
1559
|
+
maxAttempts: number;
|
|
1560
1560
|
previousHistoryId: string;
|
|
1561
1561
|
originalFailureDate: Date;
|
|
1562
1562
|
payload?: {
|
|
@@ -1625,7 +1625,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1625
1625
|
autoFixable: z.ZodBoolean;
|
|
1626
1626
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1627
1627
|
}, "strip", z.ZodTypeAny, {
|
|
1628
|
-
field: "
|
|
1628
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1629
1629
|
autoFixable: boolean;
|
|
1630
1630
|
error?: string | null | undefined;
|
|
1631
1631
|
}, {
|
|
@@ -1634,20 +1634,20 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1634
1634
|
error?: string | null | undefined;
|
|
1635
1635
|
}>, "many">>>;
|
|
1636
1636
|
}, "strip", z.ZodTypeAny, {
|
|
1637
|
-
maxAttempts: number;
|
|
1638
1637
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1639
1638
|
attemptNumber: number;
|
|
1639
|
+
maxAttempts: number;
|
|
1640
1640
|
previousHistoryId: string;
|
|
1641
1641
|
originalFailureDate: Date;
|
|
1642
1642
|
fields?: {
|
|
1643
|
-
field: "
|
|
1643
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1644
1644
|
autoFixable: boolean;
|
|
1645
1645
|
error?: string | null | undefined;
|
|
1646
1646
|
}[] | null | undefined;
|
|
1647
1647
|
}, {
|
|
1648
|
-
maxAttempts: number;
|
|
1649
1648
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1650
1649
|
attemptNumber: number;
|
|
1650
|
+
maxAttempts: number;
|
|
1651
1651
|
previousHistoryId: string;
|
|
1652
1652
|
originalFailureDate: Date;
|
|
1653
1653
|
fields?: {
|
|
@@ -1660,13 +1660,13 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1660
1660
|
}, "strip", z.ZodTypeAny, {
|
|
1661
1661
|
type: "SCHEDULED_RETRY";
|
|
1662
1662
|
data: {
|
|
1663
|
-
maxAttempts: number;
|
|
1664
1663
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1665
1664
|
attemptNumber: number;
|
|
1665
|
+
maxAttempts: number;
|
|
1666
1666
|
previousHistoryId: string;
|
|
1667
1667
|
originalFailureDate: Date;
|
|
1668
1668
|
fields?: {
|
|
1669
|
-
field: "
|
|
1669
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1670
1670
|
autoFixable: boolean;
|
|
1671
1671
|
error?: string | null | undefined;
|
|
1672
1672
|
}[] | null | undefined;
|
|
@@ -1674,9 +1674,9 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1674
1674
|
}, {
|
|
1675
1675
|
type: "SCHEDULED_RETRY";
|
|
1676
1676
|
data: {
|
|
1677
|
-
maxAttempts: number;
|
|
1678
1677
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1679
1678
|
attemptNumber: number;
|
|
1679
|
+
maxAttempts: number;
|
|
1680
1680
|
previousHistoryId: string;
|
|
1681
1681
|
originalFailureDate: Date;
|
|
1682
1682
|
fields?: {
|
|
@@ -1833,11 +1833,12 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1833
1833
|
id: string;
|
|
1834
1834
|
createdAt: Date;
|
|
1835
1835
|
itemId: number;
|
|
1836
|
+
accountId?: string | null | undefined;
|
|
1836
1837
|
data?: {
|
|
1837
1838
|
type: "ACTION_CANCELED";
|
|
1838
1839
|
data: {
|
|
1839
1840
|
targetItemHistoryId: string;
|
|
1840
|
-
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | null | undefined;
|
|
1841
|
+
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | "LISTING_BOOSTED" | "LISTING_SOLD_ON_PLATFORM" | null | undefined;
|
|
1841
1842
|
details?: string | null | undefined;
|
|
1842
1843
|
};
|
|
1843
1844
|
} | {
|
|
@@ -1868,7 +1869,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1868
1869
|
accountId?: string | null | undefined;
|
|
1869
1870
|
reason?: string | null | undefined;
|
|
1870
1871
|
fields?: {
|
|
1871
|
-
field: "
|
|
1872
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1872
1873
|
autoFixable: boolean;
|
|
1873
1874
|
error?: string | null | undefined;
|
|
1874
1875
|
}[] | null | undefined;
|
|
@@ -1898,23 +1899,23 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1898
1899
|
post: {
|
|
1899
1900
|
platformId: string;
|
|
1900
1901
|
post: {
|
|
1902
|
+
size?: string | null | undefined;
|
|
1901
1903
|
status?: string | null | undefined;
|
|
1902
1904
|
title?: string | null | undefined;
|
|
1903
1905
|
description?: string | null | undefined;
|
|
1904
|
-
brand?: string | null | undefined;
|
|
1905
|
-
statusId?: number | null | undefined;
|
|
1906
|
-
sizeId?: number | null | undefined;
|
|
1907
|
-
colorIds?: number[] | null | undefined;
|
|
1908
|
-
packageSizeId?: number | null | undefined;
|
|
1909
1906
|
price?: number | null | undefined;
|
|
1910
1907
|
currency?: string | null | undefined;
|
|
1908
|
+
brand?: string | null | undefined;
|
|
1911
1909
|
catalog?: string | null | undefined;
|
|
1912
1910
|
catalogId?: number | null | undefined;
|
|
1913
1911
|
colors?: string[] | null | undefined;
|
|
1912
|
+
colorIds?: number[] | null | undefined;
|
|
1914
1913
|
measurementLength?: number | null | undefined;
|
|
1915
1914
|
measurementWidth?: number | null | undefined;
|
|
1915
|
+
packageSizeId?: number | null | undefined;
|
|
1916
1916
|
photoUrls?: string[] | null | undefined;
|
|
1917
|
-
|
|
1917
|
+
sizeId?: number | null | undefined;
|
|
1918
|
+
statusId?: number | null | undefined;
|
|
1918
1919
|
isDraft?: boolean | null | undefined;
|
|
1919
1920
|
isArchived?: boolean | null | undefined;
|
|
1920
1921
|
isUnisex?: boolean | null | undefined;
|
|
@@ -1957,8 +1958,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1957
1958
|
} | {
|
|
1958
1959
|
type: "LIFECYCLE_STARTED";
|
|
1959
1960
|
data: {
|
|
1960
|
-
caseId: string;
|
|
1961
1961
|
accountId: string;
|
|
1962
|
+
caseId: string;
|
|
1962
1963
|
isRepeat?: boolean | null | undefined;
|
|
1963
1964
|
};
|
|
1964
1965
|
} | {
|
|
@@ -1997,17 +1998,17 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1997
1998
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1998
1999
|
} | null | undefined;
|
|
1999
2000
|
} | null | undefined;
|
|
2000
|
-
publishingDate?: Date | null | undefined;
|
|
2001
|
-
isTransfer?: boolean | null | undefined;
|
|
2002
2001
|
targetAccountId?: string | null | undefined;
|
|
2003
2002
|
allowIfDeleted?: boolean | null | undefined;
|
|
2003
|
+
publishingDate?: Date | null | undefined;
|
|
2004
|
+
isTransfer?: boolean | null | undefined;
|
|
2004
2005
|
};
|
|
2005
2006
|
} | {
|
|
2006
2007
|
type: "REPUBLISHING_RETRY";
|
|
2007
2008
|
data: {
|
|
2008
|
-
maxAttempts: number;
|
|
2009
2009
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2010
2010
|
attemptNumber: number;
|
|
2011
|
+
maxAttempts: number;
|
|
2011
2012
|
previousHistoryId: string;
|
|
2012
2013
|
originalFailureDate: Date;
|
|
2013
2014
|
payload?: {
|
|
@@ -2035,7 +2036,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2035
2036
|
} | null | undefined;
|
|
2036
2037
|
} | null | undefined;
|
|
2037
2038
|
fields?: {
|
|
2038
|
-
field: "
|
|
2039
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2039
2040
|
autoFixable: boolean;
|
|
2040
2041
|
error?: string | null | undefined;
|
|
2041
2042
|
}[] | null | undefined;
|
|
@@ -2049,13 +2050,13 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2049
2050
|
} | {
|
|
2050
2051
|
type: "SCHEDULED_RETRY";
|
|
2051
2052
|
data: {
|
|
2052
|
-
maxAttempts: number;
|
|
2053
2053
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2054
2054
|
attemptNumber: number;
|
|
2055
|
+
maxAttempts: number;
|
|
2055
2056
|
previousHistoryId: string;
|
|
2056
2057
|
originalFailureDate: Date;
|
|
2057
2058
|
fields?: {
|
|
2058
|
-
field: "
|
|
2059
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2059
2060
|
autoFixable: boolean;
|
|
2060
2061
|
error?: string | null | undefined;
|
|
2061
2062
|
}[] | null | undefined;
|
|
@@ -2084,7 +2085,6 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2084
2085
|
targetDate?: Date | null | undefined;
|
|
2085
2086
|
};
|
|
2086
2087
|
} | null | undefined;
|
|
2087
|
-
accountId?: string | null | undefined;
|
|
2088
2088
|
targetDate?: Date | null | undefined;
|
|
2089
2089
|
requestId?: string | null | undefined;
|
|
2090
2090
|
targetHistoryId?: string | null | undefined;
|
|
@@ -2093,6 +2093,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2093
2093
|
createdAt: Date;
|
|
2094
2094
|
itemId: number;
|
|
2095
2095
|
type?: unknown;
|
|
2096
|
+
accountId?: string | null | undefined;
|
|
2096
2097
|
data?: {
|
|
2097
2098
|
type: "ACTION_CANCELED";
|
|
2098
2099
|
data: {
|
|
@@ -2158,23 +2159,23 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2158
2159
|
post: {
|
|
2159
2160
|
platformId: string;
|
|
2160
2161
|
post: {
|
|
2162
|
+
size?: string | null | undefined;
|
|
2161
2163
|
status?: string | null | undefined;
|
|
2162
2164
|
title?: string | null | undefined;
|
|
2163
2165
|
description?: string | null | undefined;
|
|
2164
|
-
brand?: string | null | undefined;
|
|
2165
|
-
statusId?: number | null | undefined;
|
|
2166
|
-
sizeId?: number | null | undefined;
|
|
2167
|
-
colorIds?: number[] | null | undefined;
|
|
2168
|
-
packageSizeId?: number | null | undefined;
|
|
2169
2166
|
price?: number | null | undefined;
|
|
2170
2167
|
currency?: string | null | undefined;
|
|
2168
|
+
brand?: string | null | undefined;
|
|
2171
2169
|
catalog?: string | null | undefined;
|
|
2172
2170
|
catalogId?: number | null | undefined;
|
|
2173
2171
|
colors?: string[] | null | undefined;
|
|
2172
|
+
colorIds?: number[] | null | undefined;
|
|
2174
2173
|
measurementLength?: number | null | undefined;
|
|
2175
2174
|
measurementWidth?: number | null | undefined;
|
|
2175
|
+
packageSizeId?: number | null | undefined;
|
|
2176
2176
|
photoUrls?: string[] | null | undefined;
|
|
2177
|
-
|
|
2177
|
+
sizeId?: number | null | undefined;
|
|
2178
|
+
statusId?: number | null | undefined;
|
|
2178
2179
|
isDraft?: boolean | null | undefined;
|
|
2179
2180
|
isArchived?: boolean | null | undefined;
|
|
2180
2181
|
isUnisex?: boolean | null | undefined;
|
|
@@ -2217,8 +2218,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2217
2218
|
} | {
|
|
2218
2219
|
type: "LIFECYCLE_STARTED";
|
|
2219
2220
|
data: {
|
|
2220
|
-
caseId: string;
|
|
2221
2221
|
accountId: string;
|
|
2222
|
+
caseId: string;
|
|
2222
2223
|
isRepeat?: boolean | null | undefined;
|
|
2223
2224
|
};
|
|
2224
2225
|
} | {
|
|
@@ -2257,17 +2258,17 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2257
2258
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
2258
2259
|
} | null | undefined;
|
|
2259
2260
|
} | null | undefined;
|
|
2260
|
-
publishingDate?: Date | null | undefined;
|
|
2261
|
-
isTransfer?: boolean | null | undefined;
|
|
2262
2261
|
targetAccountId?: string | null | undefined;
|
|
2263
2262
|
allowIfDeleted?: boolean | null | undefined;
|
|
2263
|
+
publishingDate?: Date | null | undefined;
|
|
2264
|
+
isTransfer?: boolean | null | undefined;
|
|
2264
2265
|
};
|
|
2265
2266
|
} | {
|
|
2266
2267
|
type: "REPUBLISHING_RETRY";
|
|
2267
2268
|
data: {
|
|
2268
|
-
maxAttempts: number;
|
|
2269
2269
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2270
2270
|
attemptNumber: number;
|
|
2271
|
+
maxAttempts: number;
|
|
2271
2272
|
previousHistoryId: string;
|
|
2272
2273
|
originalFailureDate: Date;
|
|
2273
2274
|
payload?: {
|
|
@@ -2309,9 +2310,9 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2309
2310
|
} | {
|
|
2310
2311
|
type: "SCHEDULED_RETRY";
|
|
2311
2312
|
data: {
|
|
2312
|
-
maxAttempts: number;
|
|
2313
2313
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2314
2314
|
attemptNumber: number;
|
|
2315
|
+
maxAttempts: number;
|
|
2315
2316
|
previousHistoryId: string;
|
|
2316
2317
|
originalFailureDate: Date;
|
|
2317
2318
|
fields?: {
|
|
@@ -2344,7 +2345,6 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2344
2345
|
targetDate?: Date | null | undefined;
|
|
2345
2346
|
};
|
|
2346
2347
|
} | null | undefined;
|
|
2347
|
-
accountId?: string | null | undefined;
|
|
2348
2348
|
targetDate?: Date | null | undefined;
|
|
2349
2349
|
requestId?: string | null | undefined;
|
|
2350
2350
|
targetHistoryId?: string | null | undefined;
|
|
@@ -2394,15 +2394,15 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2394
2394
|
}, "strip", z.ZodTypeAny, {
|
|
2395
2395
|
path: string;
|
|
2396
2396
|
id: string;
|
|
2397
|
-
createdAt: Date;
|
|
2398
2397
|
userId: number;
|
|
2398
|
+
createdAt: Date;
|
|
2399
2399
|
signedUrl: string;
|
|
2400
2400
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2401
2401
|
}, {
|
|
2402
2402
|
path: string;
|
|
2403
2403
|
id: string;
|
|
2404
|
-
createdAt: Date;
|
|
2405
2404
|
userId: number;
|
|
2405
|
+
createdAt: Date;
|
|
2406
2406
|
signedUrl: string;
|
|
2407
2407
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2408
2408
|
}>>>;
|
|
@@ -2413,9 +2413,9 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2413
2413
|
phoneNumberRequiredAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2414
2414
|
}, "strip", z.ZodTypeAny, {
|
|
2415
2415
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
2416
|
-
name: string;
|
|
2417
|
-
userId: number;
|
|
2418
2416
|
accountId: string;
|
|
2417
|
+
userId: number;
|
|
2418
|
+
name: string;
|
|
2419
2419
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2420
2420
|
locale?: string | null | undefined;
|
|
2421
2421
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -2434,8 +2434,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2434
2434
|
profilePicture?: {
|
|
2435
2435
|
path: string;
|
|
2436
2436
|
id: string;
|
|
2437
|
-
createdAt: Date;
|
|
2438
2437
|
userId: number;
|
|
2438
|
+
createdAt: Date;
|
|
2439
2439
|
signedUrl: string;
|
|
2440
2440
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2441
2441
|
} | null | undefined;
|
|
@@ -2443,9 +2443,9 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2443
2443
|
walletActivationRequiredAt?: Date | null | undefined;
|
|
2444
2444
|
phoneNumberRequiredAt?: Date | null | undefined;
|
|
2445
2445
|
}, {
|
|
2446
|
-
name: string;
|
|
2447
|
-
userId: number;
|
|
2448
2446
|
accountId: string;
|
|
2447
|
+
userId: number;
|
|
2448
|
+
name: string;
|
|
2449
2449
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2450
2450
|
status?: unknown;
|
|
2451
2451
|
locale?: string | null | undefined;
|
|
@@ -2465,8 +2465,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2465
2465
|
profilePicture?: {
|
|
2466
2466
|
path: string;
|
|
2467
2467
|
id: string;
|
|
2468
|
-
createdAt: Date;
|
|
2469
2468
|
userId: number;
|
|
2469
|
+
createdAt: Date;
|
|
2470
2470
|
signedUrl: string;
|
|
2471
2471
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2472
2472
|
} | null | undefined;
|
|
@@ -2481,11 +2481,12 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2481
2481
|
boostedUntil: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2482
2482
|
orderStatus: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["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", "UNKNOWN"]>>>>;
|
|
2483
2483
|
orderType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PURCHASE", "SALE"]>>>;
|
|
2484
|
+
isBoosted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2484
2485
|
}, "strip", z.ZodTypeAny, {
|
|
2485
2486
|
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
2486
2487
|
id: string;
|
|
2487
|
-
createdAt: Date;
|
|
2488
2488
|
accountId: string;
|
|
2489
|
+
createdAt: Date;
|
|
2489
2490
|
itemId: number;
|
|
2490
2491
|
platformId: string;
|
|
2491
2492
|
platformUrl: string;
|
|
@@ -2499,9 +2500,9 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2499
2500
|
favoritesCount?: number | null | undefined;
|
|
2500
2501
|
account?: {
|
|
2501
2502
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
2502
|
-
name: string;
|
|
2503
|
-
userId: number;
|
|
2504
2503
|
accountId: string;
|
|
2504
|
+
userId: number;
|
|
2505
|
+
name: string;
|
|
2505
2506
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2506
2507
|
locale?: string | null | undefined;
|
|
2507
2508
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -2520,8 +2521,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2520
2521
|
profilePicture?: {
|
|
2521
2522
|
path: string;
|
|
2522
2523
|
id: string;
|
|
2523
|
-
createdAt: Date;
|
|
2524
2524
|
userId: number;
|
|
2525
|
+
createdAt: Date;
|
|
2525
2526
|
signedUrl: string;
|
|
2526
2527
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2527
2528
|
} | null | undefined;
|
|
@@ -2531,10 +2532,11 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2531
2532
|
} | null | undefined;
|
|
2532
2533
|
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;
|
|
2533
2534
|
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
2535
|
+
isBoosted?: boolean | null | undefined;
|
|
2534
2536
|
}, {
|
|
2535
2537
|
id: string;
|
|
2536
|
-
createdAt: Date;
|
|
2537
2538
|
accountId: string;
|
|
2539
|
+
createdAt: Date;
|
|
2538
2540
|
itemId: number;
|
|
2539
2541
|
platformId: string;
|
|
2540
2542
|
platformUrl: string;
|
|
@@ -2548,9 +2550,9 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2548
2550
|
viewsCount?: number | null | undefined;
|
|
2549
2551
|
favoritesCount?: number | null | undefined;
|
|
2550
2552
|
account?: {
|
|
2551
|
-
name: string;
|
|
2552
|
-
userId: number;
|
|
2553
2553
|
accountId: string;
|
|
2554
|
+
userId: number;
|
|
2555
|
+
name: string;
|
|
2554
2556
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2555
2557
|
status?: unknown;
|
|
2556
2558
|
locale?: string | null | undefined;
|
|
@@ -2570,8 +2572,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2570
2572
|
profilePicture?: {
|
|
2571
2573
|
path: string;
|
|
2572
2574
|
id: string;
|
|
2573
|
-
createdAt: Date;
|
|
2574
2575
|
userId: number;
|
|
2576
|
+
createdAt: Date;
|
|
2575
2577
|
signedUrl: string;
|
|
2576
2578
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2577
2579
|
} | null | undefined;
|
|
@@ -2581,11 +2583,12 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2581
2583
|
} | null | undefined;
|
|
2582
2584
|
orderStatus?: unknown;
|
|
2583
2585
|
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
2586
|
+
isBoosted?: boolean | null | undefined;
|
|
2584
2587
|
}>, "many">>>;
|
|
2585
2588
|
actions: z.ZodObject<{
|
|
2586
2589
|
perAccount: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodCatch<z.ZodEnum<["PUBLISH", "PUBLISH_CANCEL", "REPUBLISH", "REPUBLISH_CANCEL", "UPDATE", "UPDATE_CANCEL", "BOOST", "UNKNOWN"]>>, "many">>;
|
|
2587
2590
|
}, "strip", z.ZodTypeAny, {
|
|
2588
|
-
perAccount: Record<string, ("
|
|
2591
|
+
perAccount: Record<string, ("PUBLISH" | "REPUBLISH" | "UPDATE" | "UNKNOWN" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE_CANCEL" | "BOOST")[]>;
|
|
2589
2592
|
}, {
|
|
2590
2593
|
perAccount: Record<string, unknown[]>;
|
|
2591
2594
|
}>;
|
|
@@ -2610,15 +2613,15 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2610
2613
|
}, "strip", z.ZodTypeAny, {
|
|
2611
2614
|
path: string;
|
|
2612
2615
|
id: string;
|
|
2613
|
-
createdAt: Date;
|
|
2614
2616
|
userId: number;
|
|
2617
|
+
createdAt: Date;
|
|
2615
2618
|
signedUrl: string;
|
|
2616
2619
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2617
2620
|
}, {
|
|
2618
2621
|
path: string;
|
|
2619
2622
|
id: string;
|
|
2620
|
-
createdAt: Date;
|
|
2621
2623
|
userId: number;
|
|
2624
|
+
createdAt: Date;
|
|
2622
2625
|
signedUrl: string;
|
|
2623
2626
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2624
2627
|
}>>>;
|
|
@@ -2632,15 +2635,15 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2632
2635
|
}, "strip", z.ZodTypeAny, {
|
|
2633
2636
|
path: string;
|
|
2634
2637
|
id: string;
|
|
2635
|
-
createdAt: Date;
|
|
2636
2638
|
userId: number;
|
|
2639
|
+
createdAt: Date;
|
|
2637
2640
|
signedUrl: string;
|
|
2638
2641
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2639
2642
|
}, {
|
|
2640
2643
|
path: string;
|
|
2641
2644
|
id: string;
|
|
2642
|
-
createdAt: Date;
|
|
2643
2645
|
userId: number;
|
|
2646
|
+
createdAt: Date;
|
|
2644
2647
|
signedUrl: string;
|
|
2645
2648
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2646
2649
|
}>>>;
|
|
@@ -2654,81 +2657,81 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2654
2657
|
}, "strip", z.ZodTypeAny, {
|
|
2655
2658
|
path: string;
|
|
2656
2659
|
id: string;
|
|
2657
|
-
createdAt: Date;
|
|
2658
2660
|
userId: number;
|
|
2661
|
+
createdAt: Date;
|
|
2659
2662
|
signedUrl: string;
|
|
2660
2663
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2661
2664
|
}, {
|
|
2662
2665
|
path: string;
|
|
2663
2666
|
id: string;
|
|
2664
|
-
createdAt: Date;
|
|
2665
2667
|
userId: number;
|
|
2668
|
+
createdAt: Date;
|
|
2666
2669
|
signedUrl: string;
|
|
2667
2670
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2668
2671
|
}>>>;
|
|
2669
2672
|
carrier: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["MONDIAL_RELAY", "MONDIAL_RELAY_2", "MONDIAL_RELAY_3", "MONDIAL_RELAY_4", "MONDIAL_RELAY_5", "UPS", "CHRONOPOST", "COLISSIMO", "RELAIS_COLIS", "VINTED_GO", "VINTED_GO_BE", "VINTED_VERIF", "B_POST", "VINTED_GO_IT", "DPD", "VINTED_GO_DIGITAL", "DHL", "DHL_ECONOMY", "UNKNOWN"]>>>>;
|
|
2670
2673
|
}, "strip", z.ZodTypeAny, {
|
|
2671
2674
|
id: string;
|
|
2672
|
-
fileId: string;
|
|
2673
2675
|
orderId: string;
|
|
2676
|
+
fileId: string;
|
|
2674
2677
|
nonCroppedFileId: string;
|
|
2675
2678
|
originalFileId: string;
|
|
2676
|
-
|
|
2679
|
+
file?: {
|
|
2677
2680
|
path: string;
|
|
2678
2681
|
id: string;
|
|
2679
|
-
createdAt: Date;
|
|
2680
2682
|
userId: number;
|
|
2683
|
+
createdAt: Date;
|
|
2681
2684
|
signedUrl: string;
|
|
2682
2685
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2683
2686
|
} | null | undefined;
|
|
2684
|
-
|
|
2685
|
-
file?: {
|
|
2687
|
+
nonCroppedFile?: {
|
|
2686
2688
|
path: string;
|
|
2687
2689
|
id: string;
|
|
2688
|
-
createdAt: Date;
|
|
2689
2690
|
userId: number;
|
|
2691
|
+
createdAt: Date;
|
|
2690
2692
|
signedUrl: string;
|
|
2691
2693
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2692
2694
|
} | null | undefined;
|
|
2693
|
-
|
|
2695
|
+
originalFile?: {
|
|
2694
2696
|
path: string;
|
|
2695
2697
|
id: string;
|
|
2696
|
-
createdAt: Date;
|
|
2697
2698
|
userId: number;
|
|
2699
|
+
createdAt: Date;
|
|
2698
2700
|
signedUrl: string;
|
|
2699
2701
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2700
2702
|
} | null | undefined;
|
|
2703
|
+
carrier?: "UNKNOWN" | "MONDIAL_RELAY" | "MONDIAL_RELAY_2" | "MONDIAL_RELAY_3" | "MONDIAL_RELAY_4" | "MONDIAL_RELAY_5" | "UPS" | "CHRONOPOST" | "COLISSIMO" | "RELAIS_COLIS" | "VINTED_GO" | "VINTED_GO_BE" | "VINTED_VERIF" | "B_POST" | "VINTED_GO_IT" | "DPD" | "VINTED_GO_DIGITAL" | "DHL" | "DHL_ECONOMY" | null | undefined;
|
|
2701
2704
|
}, {
|
|
2702
2705
|
id: string;
|
|
2703
|
-
fileId: string;
|
|
2704
2706
|
orderId: string;
|
|
2707
|
+
fileId: string;
|
|
2705
2708
|
nonCroppedFileId: string;
|
|
2706
2709
|
originalFileId: string;
|
|
2707
|
-
|
|
2710
|
+
file?: {
|
|
2708
2711
|
path: string;
|
|
2709
2712
|
id: string;
|
|
2710
|
-
createdAt: Date;
|
|
2711
2713
|
userId: number;
|
|
2714
|
+
createdAt: Date;
|
|
2712
2715
|
signedUrl: string;
|
|
2713
2716
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2714
2717
|
} | null | undefined;
|
|
2715
|
-
|
|
2716
|
-
file?: {
|
|
2718
|
+
nonCroppedFile?: {
|
|
2717
2719
|
path: string;
|
|
2718
2720
|
id: string;
|
|
2719
|
-
createdAt: Date;
|
|
2720
2721
|
userId: number;
|
|
2722
|
+
createdAt: Date;
|
|
2721
2723
|
signedUrl: string;
|
|
2722
2724
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2723
2725
|
} | null | undefined;
|
|
2724
|
-
|
|
2726
|
+
originalFile?: {
|
|
2725
2727
|
path: string;
|
|
2726
2728
|
id: string;
|
|
2727
|
-
createdAt: Date;
|
|
2728
2729
|
userId: number;
|
|
2730
|
+
createdAt: Date;
|
|
2729
2731
|
signedUrl: string;
|
|
2730
2732
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2731
2733
|
} | null | undefined;
|
|
2734
|
+
carrier?: unknown;
|
|
2732
2735
|
}>, "many">>>;
|
|
2733
2736
|
invoices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2734
2737
|
id: z.ZodString;
|
|
@@ -2755,15 +2758,15 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2755
2758
|
}, "strip", z.ZodTypeAny, {
|
|
2756
2759
|
path: string;
|
|
2757
2760
|
id: string;
|
|
2758
|
-
createdAt: Date;
|
|
2759
2761
|
userId: number;
|
|
2762
|
+
createdAt: Date;
|
|
2760
2763
|
signedUrl: string;
|
|
2761
2764
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2762
2765
|
}, {
|
|
2763
2766
|
path: string;
|
|
2764
2767
|
id: string;
|
|
2765
|
-
createdAt: Date;
|
|
2766
2768
|
userId: number;
|
|
2769
|
+
createdAt: Date;
|
|
2767
2770
|
signedUrl: string;
|
|
2768
2771
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2769
2772
|
}>>>;
|
|
@@ -2772,8 +2775,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2772
2775
|
updatedAt: z.ZodDate;
|
|
2773
2776
|
}, "strip", z.ZodTypeAny, {
|
|
2774
2777
|
id: string;
|
|
2775
|
-
createdAt: Date;
|
|
2776
2778
|
userId: number;
|
|
2779
|
+
createdAt: Date;
|
|
2777
2780
|
updatedAt: Date;
|
|
2778
2781
|
businessName: string;
|
|
2779
2782
|
address: string;
|
|
@@ -2786,15 +2789,15 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2786
2789
|
logo?: {
|
|
2787
2790
|
path: string;
|
|
2788
2791
|
id: string;
|
|
2789
|
-
createdAt: Date;
|
|
2790
2792
|
userId: number;
|
|
2793
|
+
createdAt: Date;
|
|
2791
2794
|
signedUrl: string;
|
|
2792
2795
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2793
2796
|
} | null | undefined;
|
|
2794
2797
|
}, {
|
|
2795
2798
|
id: string;
|
|
2796
|
-
createdAt: Date;
|
|
2797
2799
|
userId: number;
|
|
2800
|
+
createdAt: Date;
|
|
2798
2801
|
updatedAt: Date;
|
|
2799
2802
|
businessName: string;
|
|
2800
2803
|
address: string;
|
|
@@ -2807,8 +2810,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2807
2810
|
logo?: {
|
|
2808
2811
|
path: string;
|
|
2809
2812
|
id: string;
|
|
2810
|
-
createdAt: Date;
|
|
2811
2813
|
userId: number;
|
|
2814
|
+
createdAt: Date;
|
|
2812
2815
|
signedUrl: string;
|
|
2813
2816
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2814
2817
|
} | null | undefined;
|
|
@@ -2837,34 +2840,34 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2837
2840
|
firstName: string;
|
|
2838
2841
|
lastName: string;
|
|
2839
2842
|
phoneVerified: boolean;
|
|
2840
|
-
|
|
2843
|
+
postalCode?: string | null | undefined;
|
|
2844
|
+
city?: string | null | undefined;
|
|
2845
|
+
country?: string | null | undefined;
|
|
2841
2846
|
email?: string | null | undefined;
|
|
2847
|
+
addressLine1?: string | null | undefined;
|
|
2848
|
+
addressLine2?: string | null | undefined;
|
|
2849
|
+
birthDate?: Date | null | undefined;
|
|
2842
2850
|
idNumber?: string | null | undefined;
|
|
2843
2851
|
phone?: string | null | undefined;
|
|
2844
2852
|
iban?: string | null | undefined;
|
|
2845
2853
|
bic?: string | null | undefined;
|
|
2846
|
-
addressLine1?: string | null | undefined;
|
|
2847
|
-
addressLine2?: string | null | undefined;
|
|
2848
|
-
city?: string | null | undefined;
|
|
2849
|
-
postalCode?: string | null | undefined;
|
|
2850
|
-
country?: string | null | undefined;
|
|
2851
2854
|
}, {
|
|
2852
2855
|
id: string;
|
|
2853
2856
|
userId: number;
|
|
2854
2857
|
firstName: string;
|
|
2855
2858
|
lastName: string;
|
|
2856
2859
|
phoneVerified: boolean;
|
|
2857
|
-
|
|
2860
|
+
postalCode?: string | null | undefined;
|
|
2861
|
+
city?: string | null | undefined;
|
|
2862
|
+
country?: string | null | undefined;
|
|
2858
2863
|
email?: string | null | undefined;
|
|
2864
|
+
addressLine1?: string | null | undefined;
|
|
2865
|
+
addressLine2?: string | null | undefined;
|
|
2866
|
+
birthDate?: Date | null | undefined;
|
|
2859
2867
|
idNumber?: string | null | undefined;
|
|
2860
2868
|
phone?: string | null | undefined;
|
|
2861
2869
|
iban?: string | null | undefined;
|
|
2862
2870
|
bic?: string | null | undefined;
|
|
2863
|
-
addressLine1?: string | null | undefined;
|
|
2864
|
-
addressLine2?: string | null | undefined;
|
|
2865
|
-
city?: string | null | undefined;
|
|
2866
|
-
postalCode?: string | null | undefined;
|
|
2867
|
-
country?: string | null | undefined;
|
|
2868
2871
|
}>>>;
|
|
2869
2872
|
orderId: z.ZodString;
|
|
2870
2873
|
fileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2878,15 +2881,15 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2878
2881
|
}, "strip", z.ZodTypeAny, {
|
|
2879
2882
|
path: string;
|
|
2880
2883
|
id: string;
|
|
2881
|
-
createdAt: Date;
|
|
2882
2884
|
userId: number;
|
|
2885
|
+
createdAt: Date;
|
|
2883
2886
|
signedUrl: string;
|
|
2884
2887
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2885
2888
|
}, {
|
|
2886
2889
|
path: string;
|
|
2887
2890
|
id: string;
|
|
2888
|
-
createdAt: Date;
|
|
2889
2891
|
userId: number;
|
|
2892
|
+
createdAt: Date;
|
|
2890
2893
|
signedUrl: string;
|
|
2891
2894
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2892
2895
|
}>>>;
|
|
@@ -2911,21 +2914,21 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2911
2914
|
total: z.ZodNumber;
|
|
2912
2915
|
createdAt: z.ZodDate;
|
|
2913
2916
|
}, "strip", z.ZodTypeAny, {
|
|
2914
|
-
|
|
2917
|
+
quantity: number;
|
|
2915
2918
|
id: number;
|
|
2919
|
+
description: string;
|
|
2916
2920
|
createdAt: Date;
|
|
2917
2921
|
invoiceId: string;
|
|
2918
|
-
quantity: number;
|
|
2919
2922
|
unitPrice: number;
|
|
2920
2923
|
total: number;
|
|
2921
2924
|
itemOnPlatformId?: string | null | undefined;
|
|
2922
2925
|
vatRate?: number | null | undefined;
|
|
2923
2926
|
}, {
|
|
2924
|
-
|
|
2927
|
+
quantity: number;
|
|
2925
2928
|
id: number;
|
|
2929
|
+
description: string;
|
|
2926
2930
|
createdAt: Date;
|
|
2927
2931
|
invoiceId: string;
|
|
2928
|
-
quantity: number;
|
|
2929
2932
|
unitPrice: number;
|
|
2930
2933
|
total: number;
|
|
2931
2934
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -2937,8 +2940,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2937
2940
|
type: "SALE" | "PURCHASE";
|
|
2938
2941
|
status: string;
|
|
2939
2942
|
id: string;
|
|
2940
|
-
createdAt: Date;
|
|
2941
2943
|
userId: number;
|
|
2944
|
+
createdAt: Date;
|
|
2942
2945
|
currency: string;
|
|
2943
2946
|
orderId: string;
|
|
2944
2947
|
updatedAt: Date;
|
|
@@ -2947,21 +2950,21 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2947
2950
|
businessProfileId: string;
|
|
2948
2951
|
issueDate: Date;
|
|
2949
2952
|
subtotal: number;
|
|
2950
|
-
fileId?: string | null | undefined;
|
|
2951
2953
|
vatAmount?: number | null | undefined;
|
|
2954
|
+
fileId?: string | null | undefined;
|
|
2952
2955
|
file?: {
|
|
2953
2956
|
path: string;
|
|
2954
2957
|
id: string;
|
|
2955
|
-
createdAt: Date;
|
|
2956
2958
|
userId: number;
|
|
2959
|
+
createdAt: Date;
|
|
2957
2960
|
signedUrl: string;
|
|
2958
2961
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2959
2962
|
} | null | undefined;
|
|
2960
2963
|
vatRate?: number | null | undefined;
|
|
2961
2964
|
businessProfile?: {
|
|
2962
2965
|
id: string;
|
|
2963
|
-
createdAt: Date;
|
|
2964
2966
|
userId: number;
|
|
2967
|
+
createdAt: Date;
|
|
2965
2968
|
updatedAt: Date;
|
|
2966
2969
|
businessName: string;
|
|
2967
2970
|
address: string;
|
|
@@ -2974,8 +2977,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2974
2977
|
logo?: {
|
|
2975
2978
|
path: string;
|
|
2976
2979
|
id: string;
|
|
2977
|
-
createdAt: Date;
|
|
2978
2980
|
userId: number;
|
|
2981
|
+
createdAt: Date;
|
|
2979
2982
|
signedUrl: string;
|
|
2980
2983
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2981
2984
|
} | null | undefined;
|
|
@@ -2987,26 +2990,26 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2987
2990
|
firstName: string;
|
|
2988
2991
|
lastName: string;
|
|
2989
2992
|
phoneVerified: boolean;
|
|
2990
|
-
|
|
2993
|
+
postalCode?: string | null | undefined;
|
|
2994
|
+
city?: string | null | undefined;
|
|
2995
|
+
country?: string | null | undefined;
|
|
2991
2996
|
email?: string | null | undefined;
|
|
2997
|
+
addressLine1?: string | null | undefined;
|
|
2998
|
+
addressLine2?: string | null | undefined;
|
|
2999
|
+
birthDate?: Date | null | undefined;
|
|
2992
3000
|
idNumber?: string | null | undefined;
|
|
2993
3001
|
phone?: string | null | undefined;
|
|
2994
3002
|
iban?: string | null | undefined;
|
|
2995
3003
|
bic?: string | null | undefined;
|
|
2996
|
-
addressLine1?: string | null | undefined;
|
|
2997
|
-
addressLine2?: string | null | undefined;
|
|
2998
|
-
city?: string | null | undefined;
|
|
2999
|
-
postalCode?: string | null | undefined;
|
|
3000
|
-
country?: string | null | undefined;
|
|
3001
3004
|
} | null | undefined;
|
|
3002
3005
|
dueDate?: Date | null | undefined;
|
|
3003
3006
|
notes?: string | null | undefined;
|
|
3004
3007
|
lineItems?: {
|
|
3005
|
-
|
|
3008
|
+
quantity: number;
|
|
3006
3009
|
id: number;
|
|
3010
|
+
description: string;
|
|
3007
3011
|
createdAt: Date;
|
|
3008
3012
|
invoiceId: string;
|
|
3009
|
-
quantity: number;
|
|
3010
3013
|
unitPrice: number;
|
|
3011
3014
|
total: number;
|
|
3012
3015
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3016,8 +3019,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3016
3019
|
type: "SALE" | "PURCHASE";
|
|
3017
3020
|
status: string;
|
|
3018
3021
|
id: string;
|
|
3019
|
-
createdAt: Date;
|
|
3020
3022
|
userId: number;
|
|
3023
|
+
createdAt: Date;
|
|
3021
3024
|
currency: string;
|
|
3022
3025
|
orderId: string;
|
|
3023
3026
|
updatedAt: Date;
|
|
@@ -3026,21 +3029,21 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3026
3029
|
businessProfileId: string;
|
|
3027
3030
|
issueDate: Date;
|
|
3028
3031
|
subtotal: number;
|
|
3029
|
-
fileId?: string | null | undefined;
|
|
3030
3032
|
vatAmount?: number | null | undefined;
|
|
3033
|
+
fileId?: string | null | undefined;
|
|
3031
3034
|
file?: {
|
|
3032
3035
|
path: string;
|
|
3033
3036
|
id: string;
|
|
3034
|
-
createdAt: Date;
|
|
3035
3037
|
userId: number;
|
|
3038
|
+
createdAt: Date;
|
|
3036
3039
|
signedUrl: string;
|
|
3037
3040
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3038
3041
|
} | null | undefined;
|
|
3039
3042
|
vatRate?: number | null | undefined;
|
|
3040
3043
|
businessProfile?: {
|
|
3041
3044
|
id: string;
|
|
3042
|
-
createdAt: Date;
|
|
3043
3045
|
userId: number;
|
|
3046
|
+
createdAt: Date;
|
|
3044
3047
|
updatedAt: Date;
|
|
3045
3048
|
businessName: string;
|
|
3046
3049
|
address: string;
|
|
@@ -3053,8 +3056,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3053
3056
|
logo?: {
|
|
3054
3057
|
path: string;
|
|
3055
3058
|
id: string;
|
|
3056
|
-
createdAt: Date;
|
|
3057
3059
|
userId: number;
|
|
3060
|
+
createdAt: Date;
|
|
3058
3061
|
signedUrl: string;
|
|
3059
3062
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3060
3063
|
} | null | undefined;
|
|
@@ -3066,26 +3069,26 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3066
3069
|
firstName: string;
|
|
3067
3070
|
lastName: string;
|
|
3068
3071
|
phoneVerified: boolean;
|
|
3069
|
-
|
|
3072
|
+
postalCode?: string | null | undefined;
|
|
3073
|
+
city?: string | null | undefined;
|
|
3074
|
+
country?: string | null | undefined;
|
|
3070
3075
|
email?: string | null | undefined;
|
|
3076
|
+
addressLine1?: string | null | undefined;
|
|
3077
|
+
addressLine2?: string | null | undefined;
|
|
3078
|
+
birthDate?: Date | null | undefined;
|
|
3071
3079
|
idNumber?: string | null | undefined;
|
|
3072
3080
|
phone?: string | null | undefined;
|
|
3073
3081
|
iban?: string | null | undefined;
|
|
3074
3082
|
bic?: string | null | undefined;
|
|
3075
|
-
addressLine1?: string | null | undefined;
|
|
3076
|
-
addressLine2?: string | null | undefined;
|
|
3077
|
-
city?: string | null | undefined;
|
|
3078
|
-
postalCode?: string | null | undefined;
|
|
3079
|
-
country?: string | null | undefined;
|
|
3080
3083
|
} | null | undefined;
|
|
3081
3084
|
dueDate?: Date | null | undefined;
|
|
3082
3085
|
notes?: string | null | undefined;
|
|
3083
3086
|
lineItems?: {
|
|
3084
|
-
|
|
3087
|
+
quantity: number;
|
|
3085
3088
|
id: number;
|
|
3089
|
+
description: string;
|
|
3086
3090
|
createdAt: Date;
|
|
3087
3091
|
invoiceId: string;
|
|
3088
|
-
quantity: number;
|
|
3089
3092
|
unitPrice: number;
|
|
3090
3093
|
total: number;
|
|
3091
3094
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3096,42 +3099,42 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3096
3099
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
3097
3100
|
labels?: {
|
|
3098
3101
|
id: string;
|
|
3099
|
-
fileId: string;
|
|
3100
3102
|
orderId: string;
|
|
3103
|
+
fileId: string;
|
|
3101
3104
|
nonCroppedFileId: string;
|
|
3102
3105
|
originalFileId: string;
|
|
3103
|
-
|
|
3106
|
+
file?: {
|
|
3104
3107
|
path: string;
|
|
3105
3108
|
id: string;
|
|
3106
|
-
createdAt: Date;
|
|
3107
3109
|
userId: number;
|
|
3110
|
+
createdAt: Date;
|
|
3108
3111
|
signedUrl: string;
|
|
3109
3112
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3110
3113
|
} | null | undefined;
|
|
3111
|
-
|
|
3112
|
-
file?: {
|
|
3114
|
+
nonCroppedFile?: {
|
|
3113
3115
|
path: string;
|
|
3114
3116
|
id: string;
|
|
3115
|
-
createdAt: Date;
|
|
3116
3117
|
userId: number;
|
|
3118
|
+
createdAt: Date;
|
|
3117
3119
|
signedUrl: string;
|
|
3118
3120
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3119
3121
|
} | null | undefined;
|
|
3120
|
-
|
|
3122
|
+
originalFile?: {
|
|
3121
3123
|
path: string;
|
|
3122
3124
|
id: string;
|
|
3123
|
-
createdAt: Date;
|
|
3124
3125
|
userId: number;
|
|
3126
|
+
createdAt: Date;
|
|
3125
3127
|
signedUrl: string;
|
|
3126
3128
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3127
3129
|
} | null | undefined;
|
|
3130
|
+
carrier?: "UNKNOWN" | "MONDIAL_RELAY" | "MONDIAL_RELAY_2" | "MONDIAL_RELAY_3" | "MONDIAL_RELAY_4" | "MONDIAL_RELAY_5" | "UPS" | "CHRONOPOST" | "COLISSIMO" | "RELAIS_COLIS" | "VINTED_GO" | "VINTED_GO_BE" | "VINTED_VERIF" | "B_POST" | "VINTED_GO_IT" | "DPD" | "VINTED_GO_DIGITAL" | "DHL" | "DHL_ECONOMY" | null | undefined;
|
|
3128
3131
|
}[] | null | undefined;
|
|
3129
3132
|
invoices?: {
|
|
3130
3133
|
type: "SALE" | "PURCHASE";
|
|
3131
3134
|
status: string;
|
|
3132
3135
|
id: string;
|
|
3133
|
-
createdAt: Date;
|
|
3134
3136
|
userId: number;
|
|
3137
|
+
createdAt: Date;
|
|
3135
3138
|
currency: string;
|
|
3136
3139
|
orderId: string;
|
|
3137
3140
|
updatedAt: Date;
|
|
@@ -3140,21 +3143,21 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3140
3143
|
businessProfileId: string;
|
|
3141
3144
|
issueDate: Date;
|
|
3142
3145
|
subtotal: number;
|
|
3143
|
-
fileId?: string | null | undefined;
|
|
3144
3146
|
vatAmount?: number | null | undefined;
|
|
3147
|
+
fileId?: string | null | undefined;
|
|
3145
3148
|
file?: {
|
|
3146
3149
|
path: string;
|
|
3147
3150
|
id: string;
|
|
3148
|
-
createdAt: Date;
|
|
3149
3151
|
userId: number;
|
|
3152
|
+
createdAt: Date;
|
|
3150
3153
|
signedUrl: string;
|
|
3151
3154
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3152
3155
|
} | null | undefined;
|
|
3153
3156
|
vatRate?: number | null | undefined;
|
|
3154
3157
|
businessProfile?: {
|
|
3155
3158
|
id: string;
|
|
3156
|
-
createdAt: Date;
|
|
3157
3159
|
userId: number;
|
|
3160
|
+
createdAt: Date;
|
|
3158
3161
|
updatedAt: Date;
|
|
3159
3162
|
businessName: string;
|
|
3160
3163
|
address: string;
|
|
@@ -3167,8 +3170,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3167
3170
|
logo?: {
|
|
3168
3171
|
path: string;
|
|
3169
3172
|
id: string;
|
|
3170
|
-
createdAt: Date;
|
|
3171
3173
|
userId: number;
|
|
3174
|
+
createdAt: Date;
|
|
3172
3175
|
signedUrl: string;
|
|
3173
3176
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3174
3177
|
} | null | undefined;
|
|
@@ -3180,26 +3183,26 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3180
3183
|
firstName: string;
|
|
3181
3184
|
lastName: string;
|
|
3182
3185
|
phoneVerified: boolean;
|
|
3183
|
-
|
|
3186
|
+
postalCode?: string | null | undefined;
|
|
3187
|
+
city?: string | null | undefined;
|
|
3188
|
+
country?: string | null | undefined;
|
|
3184
3189
|
email?: string | null | undefined;
|
|
3190
|
+
addressLine1?: string | null | undefined;
|
|
3191
|
+
addressLine2?: string | null | undefined;
|
|
3192
|
+
birthDate?: Date | null | undefined;
|
|
3185
3193
|
idNumber?: string | null | undefined;
|
|
3186
3194
|
phone?: string | null | undefined;
|
|
3187
3195
|
iban?: string | null | undefined;
|
|
3188
3196
|
bic?: string | null | undefined;
|
|
3189
|
-
addressLine1?: string | null | undefined;
|
|
3190
|
-
addressLine2?: string | null | undefined;
|
|
3191
|
-
city?: string | null | undefined;
|
|
3192
|
-
postalCode?: string | null | undefined;
|
|
3193
|
-
country?: string | null | undefined;
|
|
3194
3197
|
} | null | undefined;
|
|
3195
3198
|
dueDate?: Date | null | undefined;
|
|
3196
3199
|
notes?: string | null | undefined;
|
|
3197
3200
|
lineItems?: {
|
|
3198
|
-
|
|
3201
|
+
quantity: number;
|
|
3199
3202
|
id: number;
|
|
3203
|
+
description: string;
|
|
3200
3204
|
createdAt: Date;
|
|
3201
3205
|
invoiceId: string;
|
|
3202
|
-
quantity: number;
|
|
3203
3206
|
unitPrice: number;
|
|
3204
3207
|
total: number;
|
|
3205
3208
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3210,42 +3213,42 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3210
3213
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
3211
3214
|
labels?: {
|
|
3212
3215
|
id: string;
|
|
3213
|
-
fileId: string;
|
|
3214
3216
|
orderId: string;
|
|
3217
|
+
fileId: string;
|
|
3215
3218
|
nonCroppedFileId: string;
|
|
3216
3219
|
originalFileId: string;
|
|
3217
|
-
|
|
3220
|
+
file?: {
|
|
3218
3221
|
path: string;
|
|
3219
3222
|
id: string;
|
|
3220
|
-
createdAt: Date;
|
|
3221
3223
|
userId: number;
|
|
3224
|
+
createdAt: Date;
|
|
3222
3225
|
signedUrl: string;
|
|
3223
3226
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3224
3227
|
} | null | undefined;
|
|
3225
|
-
|
|
3226
|
-
file?: {
|
|
3228
|
+
nonCroppedFile?: {
|
|
3227
3229
|
path: string;
|
|
3228
3230
|
id: string;
|
|
3229
|
-
createdAt: Date;
|
|
3230
3231
|
userId: number;
|
|
3232
|
+
createdAt: Date;
|
|
3231
3233
|
signedUrl: string;
|
|
3232
3234
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3233
3235
|
} | null | undefined;
|
|
3234
|
-
|
|
3236
|
+
originalFile?: {
|
|
3235
3237
|
path: string;
|
|
3236
3238
|
id: string;
|
|
3237
|
-
createdAt: Date;
|
|
3238
3239
|
userId: number;
|
|
3240
|
+
createdAt: Date;
|
|
3239
3241
|
signedUrl: string;
|
|
3240
3242
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3241
3243
|
} | null | undefined;
|
|
3244
|
+
carrier?: unknown;
|
|
3242
3245
|
}[] | null | undefined;
|
|
3243
3246
|
invoices?: {
|
|
3244
3247
|
type: "SALE" | "PURCHASE";
|
|
3245
3248
|
status: string;
|
|
3246
3249
|
id: string;
|
|
3247
|
-
createdAt: Date;
|
|
3248
3250
|
userId: number;
|
|
3251
|
+
createdAt: Date;
|
|
3249
3252
|
currency: string;
|
|
3250
3253
|
orderId: string;
|
|
3251
3254
|
updatedAt: Date;
|
|
@@ -3254,21 +3257,21 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3254
3257
|
businessProfileId: string;
|
|
3255
3258
|
issueDate: Date;
|
|
3256
3259
|
subtotal: number;
|
|
3257
|
-
fileId?: string | null | undefined;
|
|
3258
3260
|
vatAmount?: number | null | undefined;
|
|
3261
|
+
fileId?: string | null | undefined;
|
|
3259
3262
|
file?: {
|
|
3260
3263
|
path: string;
|
|
3261
3264
|
id: string;
|
|
3262
|
-
createdAt: Date;
|
|
3263
3265
|
userId: number;
|
|
3266
|
+
createdAt: Date;
|
|
3264
3267
|
signedUrl: string;
|
|
3265
3268
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3266
3269
|
} | null | undefined;
|
|
3267
3270
|
vatRate?: number | null | undefined;
|
|
3268
3271
|
businessProfile?: {
|
|
3269
3272
|
id: string;
|
|
3270
|
-
createdAt: Date;
|
|
3271
3273
|
userId: number;
|
|
3274
|
+
createdAt: Date;
|
|
3272
3275
|
updatedAt: Date;
|
|
3273
3276
|
businessName: string;
|
|
3274
3277
|
address: string;
|
|
@@ -3281,8 +3284,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3281
3284
|
logo?: {
|
|
3282
3285
|
path: string;
|
|
3283
3286
|
id: string;
|
|
3284
|
-
createdAt: Date;
|
|
3285
3287
|
userId: number;
|
|
3288
|
+
createdAt: Date;
|
|
3286
3289
|
signedUrl: string;
|
|
3287
3290
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3288
3291
|
} | null | undefined;
|
|
@@ -3294,26 +3297,26 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3294
3297
|
firstName: string;
|
|
3295
3298
|
lastName: string;
|
|
3296
3299
|
phoneVerified: boolean;
|
|
3297
|
-
|
|
3300
|
+
postalCode?: string | null | undefined;
|
|
3301
|
+
city?: string | null | undefined;
|
|
3302
|
+
country?: string | null | undefined;
|
|
3298
3303
|
email?: string | null | undefined;
|
|
3304
|
+
addressLine1?: string | null | undefined;
|
|
3305
|
+
addressLine2?: string | null | undefined;
|
|
3306
|
+
birthDate?: Date | null | undefined;
|
|
3299
3307
|
idNumber?: string | null | undefined;
|
|
3300
3308
|
phone?: string | null | undefined;
|
|
3301
3309
|
iban?: string | null | undefined;
|
|
3302
3310
|
bic?: string | null | undefined;
|
|
3303
|
-
addressLine1?: string | null | undefined;
|
|
3304
|
-
addressLine2?: string | null | undefined;
|
|
3305
|
-
city?: string | null | undefined;
|
|
3306
|
-
postalCode?: string | null | undefined;
|
|
3307
|
-
country?: string | null | undefined;
|
|
3308
3311
|
} | null | undefined;
|
|
3309
3312
|
dueDate?: Date | null | undefined;
|
|
3310
3313
|
notes?: string | null | undefined;
|
|
3311
3314
|
lineItems?: {
|
|
3312
|
-
|
|
3315
|
+
quantity: number;
|
|
3313
3316
|
id: number;
|
|
3317
|
+
description: string;
|
|
3314
3318
|
createdAt: Date;
|
|
3315
3319
|
invoiceId: string;
|
|
3316
|
-
quantity: number;
|
|
3317
3320
|
unitPrice: number;
|
|
3318
3321
|
total: number;
|
|
3319
3322
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3323,45 +3326,29 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3323
3326
|
}>>>;
|
|
3324
3327
|
analysisStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "COMPLETED", "FAILED"]>>>;
|
|
3325
3328
|
}, "strip", z.ZodTypeAny, {
|
|
3326
|
-
actions: {
|
|
3327
|
-
perAccount: Record<string, ("REPUBLISH" | "UNKNOWN" | "PUBLISH" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE" | "UPDATE_CANCEL" | "BOOST")[]>;
|
|
3328
|
-
};
|
|
3329
|
-
name: string;
|
|
3330
3329
|
id: number;
|
|
3331
|
-
createdAt: Date;
|
|
3332
3330
|
userId: number;
|
|
3331
|
+
name: string;
|
|
3332
|
+
createdAt: Date;
|
|
3333
3333
|
updatedAt: Date;
|
|
3334
3334
|
sold: boolean;
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
name: string;
|
|
3339
|
-
id: number;
|
|
3340
|
-
createdAt: Date;
|
|
3341
|
-
userId: number;
|
|
3342
|
-
updatedAt: Date;
|
|
3343
|
-
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
3344
|
-
startDate: Date;
|
|
3345
|
-
active: boolean;
|
|
3346
|
-
description?: string | null | undefined;
|
|
3347
|
-
itemId?: number | null | undefined;
|
|
3348
|
-
endDate?: Date | null | undefined;
|
|
3349
|
-
parentFeeId?: number | null | undefined;
|
|
3350
|
-
}[] | null | undefined;
|
|
3335
|
+
actions: {
|
|
3336
|
+
perAccount: Record<string, ("PUBLISH" | "REPUBLISH" | "UPDATE" | "UNKNOWN" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE_CANCEL" | "BOOST")[]>;
|
|
3337
|
+
};
|
|
3351
3338
|
description?: string | null | undefined;
|
|
3352
3339
|
categoryId?: number | null | undefined;
|
|
3353
|
-
sizeId?: number | null | undefined;
|
|
3354
|
-
colorIds?: number[] | null | undefined;
|
|
3355
|
-
packageSizeId?: number | null | undefined;
|
|
3356
3340
|
state?: number | null | undefined;
|
|
3341
|
+
colorIds?: number[] | null | undefined;
|
|
3357
3342
|
measurementLength?: number | null | undefined;
|
|
3358
3343
|
measurementWidth?: number | null | undefined;
|
|
3344
|
+
packageSizeId?: number | null | undefined;
|
|
3345
|
+
sizeId?: number | null | undefined;
|
|
3359
3346
|
labels?: {
|
|
3360
3347
|
itemId: number;
|
|
3361
3348
|
labelId: number;
|
|
3362
3349
|
label?: {
|
|
3363
|
-
name: string;
|
|
3364
3350
|
id: number;
|
|
3351
|
+
name: string;
|
|
3365
3352
|
createdAt: Date;
|
|
3366
3353
|
isUserLabel: boolean;
|
|
3367
3354
|
itemCount?: number | null | undefined;
|
|
@@ -3374,85 +3361,50 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3374
3361
|
fieldKey: string;
|
|
3375
3362
|
}[] | null | undefined;
|
|
3376
3363
|
sku?: string | null | undefined;
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
3380
|
-
id: string;
|
|
3381
|
-
createdAt: Date;
|
|
3382
|
-
accountId: string;
|
|
3383
|
-
itemId: number;
|
|
3384
|
-
platformId: string;
|
|
3385
|
-
platformUrl: string;
|
|
3386
|
-
platformPrice: number;
|
|
3387
|
-
updatedAt: Date;
|
|
3388
|
-
publishedAt: Date;
|
|
3389
|
-
conversationId?: string | null | undefined;
|
|
3390
|
-
boostedAt?: Date | null | undefined;
|
|
3391
|
-
boostedUntil?: Date | null | undefined;
|
|
3392
|
-
viewsCount?: number | null | undefined;
|
|
3393
|
-
favoritesCount?: number | null | undefined;
|
|
3394
|
-
account?: {
|
|
3395
|
-
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
3396
|
-
name: string;
|
|
3397
|
-
userId: number;
|
|
3398
|
-
accountId: string;
|
|
3399
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3400
|
-
locale?: string | null | undefined;
|
|
3401
|
-
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
3402
|
-
restrictedUntil?: Date | null | undefined;
|
|
3403
|
-
night?: {
|
|
3404
|
-
startsAt: Date;
|
|
3405
|
-
endsAt: Date;
|
|
3406
|
-
} | null | undefined;
|
|
3407
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
3408
|
-
ordersMaxDelay?: number | null | undefined;
|
|
3409
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
3410
|
-
walletMaxDelay?: number | null | undefined;
|
|
3411
|
-
availableBalance?: number | null | undefined;
|
|
3412
|
-
pendingBalance?: number | null | undefined;
|
|
3413
|
-
profilePictureFileId?: string | null | undefined;
|
|
3414
|
-
profilePicture?: {
|
|
3415
|
-
path: string;
|
|
3416
|
-
id: string;
|
|
3417
|
-
createdAt: Date;
|
|
3418
|
-
userId: number;
|
|
3419
|
-
signedUrl: string;
|
|
3420
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3421
|
-
} | null | undefined;
|
|
3422
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
3423
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
3424
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
3425
|
-
} | null | undefined;
|
|
3426
|
-
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;
|
|
3427
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
3428
|
-
}[] | null | undefined;
|
|
3429
|
-
brandId?: number | null | undefined;
|
|
3430
|
-
estimatedPrice?: number | null | undefined;
|
|
3431
|
-
purchaseDate?: Date | null | undefined;
|
|
3432
|
-
sellingDate?: Date | null | undefined;
|
|
3433
|
-
fields?: {
|
|
3434
|
-
value: string;
|
|
3364
|
+
fields?: {
|
|
3365
|
+
value: string;
|
|
3435
3366
|
itemId: number;
|
|
3436
3367
|
fieldId: number;
|
|
3437
3368
|
}[] | null | undefined;
|
|
3438
3369
|
files?: {
|
|
3439
|
-
fileId: string;
|
|
3440
3370
|
itemId: number;
|
|
3371
|
+
fileId: string;
|
|
3441
3372
|
file?: {
|
|
3442
3373
|
path: string;
|
|
3443
3374
|
id: string;
|
|
3444
|
-
createdAt: Date;
|
|
3445
3375
|
userId: number;
|
|
3376
|
+
createdAt: Date;
|
|
3446
3377
|
signedUrl: string;
|
|
3447
3378
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3448
3379
|
} | null | undefined;
|
|
3449
3380
|
index?: number | null | undefined;
|
|
3450
3381
|
}[] | null | undefined;
|
|
3382
|
+
brandId?: number | null | undefined;
|
|
3383
|
+
sex?: string | null | undefined;
|
|
3451
3384
|
purchasePrice?: number | null | undefined;
|
|
3385
|
+
purchaseDate?: Date | null | undefined;
|
|
3452
3386
|
purchasePlaceId?: number | null | undefined;
|
|
3453
3387
|
purchased?: boolean | null | undefined;
|
|
3454
3388
|
sellingPrice?: number | null | undefined;
|
|
3389
|
+
sellingDate?: Date | null | undefined;
|
|
3455
3390
|
sellingPlaceId?: number | null | undefined;
|
|
3391
|
+
estimatedPrice?: number | null | undefined;
|
|
3392
|
+
fees?: {
|
|
3393
|
+
value: number;
|
|
3394
|
+
type: string;
|
|
3395
|
+
id: number;
|
|
3396
|
+
userId: number;
|
|
3397
|
+
name: string;
|
|
3398
|
+
createdAt: Date;
|
|
3399
|
+
updatedAt: Date;
|
|
3400
|
+
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
3401
|
+
startDate: Date;
|
|
3402
|
+
active: boolean;
|
|
3403
|
+
description?: string | null | undefined;
|
|
3404
|
+
itemId?: number | null | undefined;
|
|
3405
|
+
endDate?: Date | null | undefined;
|
|
3406
|
+
parentFeeId?: number | null | undefined;
|
|
3407
|
+
}[] | null | undefined;
|
|
3456
3408
|
feesSum?: number | null | undefined;
|
|
3457
3409
|
materialIds?: number[] | null | undefined;
|
|
3458
3410
|
enumValues?: {
|
|
@@ -3468,11 +3420,12 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3468
3420
|
id: string;
|
|
3469
3421
|
createdAt: Date;
|
|
3470
3422
|
itemId: number;
|
|
3423
|
+
accountId?: string | null | undefined;
|
|
3471
3424
|
data?: {
|
|
3472
3425
|
type: "ACTION_CANCELED";
|
|
3473
3426
|
data: {
|
|
3474
3427
|
targetItemHistoryId: string;
|
|
3475
|
-
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | null | undefined;
|
|
3428
|
+
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | "LISTING_BOOSTED" | "LISTING_SOLD_ON_PLATFORM" | null | undefined;
|
|
3476
3429
|
details?: string | null | undefined;
|
|
3477
3430
|
};
|
|
3478
3431
|
} | {
|
|
@@ -3503,7 +3456,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3503
3456
|
accountId?: string | null | undefined;
|
|
3504
3457
|
reason?: string | null | undefined;
|
|
3505
3458
|
fields?: {
|
|
3506
|
-
field: "
|
|
3459
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
3507
3460
|
autoFixable: boolean;
|
|
3508
3461
|
error?: string | null | undefined;
|
|
3509
3462
|
}[] | null | undefined;
|
|
@@ -3533,23 +3486,23 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3533
3486
|
post: {
|
|
3534
3487
|
platformId: string;
|
|
3535
3488
|
post: {
|
|
3489
|
+
size?: string | null | undefined;
|
|
3536
3490
|
status?: string | null | undefined;
|
|
3537
3491
|
title?: string | null | undefined;
|
|
3538
3492
|
description?: string | null | undefined;
|
|
3539
|
-
brand?: string | null | undefined;
|
|
3540
|
-
statusId?: number | null | undefined;
|
|
3541
|
-
sizeId?: number | null | undefined;
|
|
3542
|
-
colorIds?: number[] | null | undefined;
|
|
3543
|
-
packageSizeId?: number | null | undefined;
|
|
3544
3493
|
price?: number | null | undefined;
|
|
3545
3494
|
currency?: string | null | undefined;
|
|
3495
|
+
brand?: string | null | undefined;
|
|
3546
3496
|
catalog?: string | null | undefined;
|
|
3547
3497
|
catalogId?: number | null | undefined;
|
|
3548
3498
|
colors?: string[] | null | undefined;
|
|
3499
|
+
colorIds?: number[] | null | undefined;
|
|
3549
3500
|
measurementLength?: number | null | undefined;
|
|
3550
3501
|
measurementWidth?: number | null | undefined;
|
|
3502
|
+
packageSizeId?: number | null | undefined;
|
|
3551
3503
|
photoUrls?: string[] | null | undefined;
|
|
3552
|
-
|
|
3504
|
+
sizeId?: number | null | undefined;
|
|
3505
|
+
statusId?: number | null | undefined;
|
|
3553
3506
|
isDraft?: boolean | null | undefined;
|
|
3554
3507
|
isArchived?: boolean | null | undefined;
|
|
3555
3508
|
isUnisex?: boolean | null | undefined;
|
|
@@ -3592,8 +3545,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3592
3545
|
} | {
|
|
3593
3546
|
type: "LIFECYCLE_STARTED";
|
|
3594
3547
|
data: {
|
|
3595
|
-
caseId: string;
|
|
3596
3548
|
accountId: string;
|
|
3549
|
+
caseId: string;
|
|
3597
3550
|
isRepeat?: boolean | null | undefined;
|
|
3598
3551
|
};
|
|
3599
3552
|
} | {
|
|
@@ -3632,17 +3585,17 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3632
3585
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
3633
3586
|
} | null | undefined;
|
|
3634
3587
|
} | null | undefined;
|
|
3635
|
-
publishingDate?: Date | null | undefined;
|
|
3636
|
-
isTransfer?: boolean | null | undefined;
|
|
3637
3588
|
targetAccountId?: string | null | undefined;
|
|
3638
3589
|
allowIfDeleted?: boolean | null | undefined;
|
|
3590
|
+
publishingDate?: Date | null | undefined;
|
|
3591
|
+
isTransfer?: boolean | null | undefined;
|
|
3639
3592
|
};
|
|
3640
3593
|
} | {
|
|
3641
3594
|
type: "REPUBLISHING_RETRY";
|
|
3642
3595
|
data: {
|
|
3643
|
-
maxAttempts: number;
|
|
3644
3596
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3645
3597
|
attemptNumber: number;
|
|
3598
|
+
maxAttempts: number;
|
|
3646
3599
|
previousHistoryId: string;
|
|
3647
3600
|
originalFailureDate: Date;
|
|
3648
3601
|
payload?: {
|
|
@@ -3670,7 +3623,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3670
3623
|
} | null | undefined;
|
|
3671
3624
|
} | null | undefined;
|
|
3672
3625
|
fields?: {
|
|
3673
|
-
field: "
|
|
3626
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
3674
3627
|
autoFixable: boolean;
|
|
3675
3628
|
error?: string | null | undefined;
|
|
3676
3629
|
}[] | null | undefined;
|
|
@@ -3684,13 +3637,13 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3684
3637
|
} | {
|
|
3685
3638
|
type: "SCHEDULED_RETRY";
|
|
3686
3639
|
data: {
|
|
3687
|
-
maxAttempts: number;
|
|
3688
3640
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3689
3641
|
attemptNumber: number;
|
|
3642
|
+
maxAttempts: number;
|
|
3690
3643
|
previousHistoryId: string;
|
|
3691
3644
|
originalFailureDate: Date;
|
|
3692
3645
|
fields?: {
|
|
3693
|
-
field: "
|
|
3646
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
3694
3647
|
autoFixable: boolean;
|
|
3695
3648
|
error?: string | null | undefined;
|
|
3696
3649
|
}[] | null | undefined;
|
|
@@ -3719,52 +3672,103 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3719
3672
|
targetDate?: Date | null | undefined;
|
|
3720
3673
|
};
|
|
3721
3674
|
} | null | undefined;
|
|
3722
|
-
accountId?: string | null | undefined;
|
|
3723
3675
|
targetDate?: Date | null | undefined;
|
|
3724
3676
|
requestId?: string | null | undefined;
|
|
3725
3677
|
targetHistoryId?: string | null | undefined;
|
|
3726
3678
|
} | null | undefined;
|
|
3679
|
+
platforms?: {
|
|
3680
|
+
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
3681
|
+
id: string;
|
|
3682
|
+
accountId: string;
|
|
3683
|
+
createdAt: Date;
|
|
3684
|
+
itemId: number;
|
|
3685
|
+
platformId: string;
|
|
3686
|
+
platformUrl: string;
|
|
3687
|
+
platformPrice: number;
|
|
3688
|
+
updatedAt: Date;
|
|
3689
|
+
publishedAt: Date;
|
|
3690
|
+
conversationId?: string | null | undefined;
|
|
3691
|
+
boostedAt?: Date | null | undefined;
|
|
3692
|
+
boostedUntil?: Date | null | undefined;
|
|
3693
|
+
viewsCount?: number | null | undefined;
|
|
3694
|
+
favoritesCount?: number | null | undefined;
|
|
3695
|
+
account?: {
|
|
3696
|
+
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
3697
|
+
accountId: string;
|
|
3698
|
+
userId: number;
|
|
3699
|
+
name: string;
|
|
3700
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3701
|
+
locale?: string | null | undefined;
|
|
3702
|
+
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
3703
|
+
restrictedUntil?: Date | null | undefined;
|
|
3704
|
+
night?: {
|
|
3705
|
+
startsAt: Date;
|
|
3706
|
+
endsAt: Date;
|
|
3707
|
+
} | null | undefined;
|
|
3708
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
3709
|
+
ordersMaxDelay?: number | null | undefined;
|
|
3710
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
3711
|
+
walletMaxDelay?: number | null | undefined;
|
|
3712
|
+
availableBalance?: number | null | undefined;
|
|
3713
|
+
pendingBalance?: number | null | undefined;
|
|
3714
|
+
profilePictureFileId?: string | null | undefined;
|
|
3715
|
+
profilePicture?: {
|
|
3716
|
+
path: string;
|
|
3717
|
+
id: string;
|
|
3718
|
+
userId: number;
|
|
3719
|
+
createdAt: Date;
|
|
3720
|
+
signedUrl: string;
|
|
3721
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3722
|
+
} | null | undefined;
|
|
3723
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
3724
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
3725
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
3726
|
+
} | null | undefined;
|
|
3727
|
+
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;
|
|
3728
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
3729
|
+
isBoosted?: boolean | null | undefined;
|
|
3730
|
+
}[] | null | undefined;
|
|
3727
3731
|
sourceInConversation?: "UNKNOWN" | "DELETED" | "ORDER" | "TRANSACTION" | null | undefined;
|
|
3728
3732
|
order?: {
|
|
3729
3733
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
3730
3734
|
labels?: {
|
|
3731
3735
|
id: string;
|
|
3732
|
-
fileId: string;
|
|
3733
3736
|
orderId: string;
|
|
3737
|
+
fileId: string;
|
|
3734
3738
|
nonCroppedFileId: string;
|
|
3735
3739
|
originalFileId: string;
|
|
3736
|
-
|
|
3740
|
+
file?: {
|
|
3737
3741
|
path: string;
|
|
3738
3742
|
id: string;
|
|
3739
|
-
createdAt: Date;
|
|
3740
3743
|
userId: number;
|
|
3744
|
+
createdAt: Date;
|
|
3741
3745
|
signedUrl: string;
|
|
3742
3746
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3743
3747
|
} | null | undefined;
|
|
3744
|
-
|
|
3745
|
-
file?: {
|
|
3748
|
+
nonCroppedFile?: {
|
|
3746
3749
|
path: string;
|
|
3747
3750
|
id: string;
|
|
3748
|
-
createdAt: Date;
|
|
3749
3751
|
userId: number;
|
|
3752
|
+
createdAt: Date;
|
|
3750
3753
|
signedUrl: string;
|
|
3751
3754
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3752
3755
|
} | null | undefined;
|
|
3753
|
-
|
|
3756
|
+
originalFile?: {
|
|
3754
3757
|
path: string;
|
|
3755
3758
|
id: string;
|
|
3756
|
-
createdAt: Date;
|
|
3757
3759
|
userId: number;
|
|
3760
|
+
createdAt: Date;
|
|
3758
3761
|
signedUrl: string;
|
|
3759
3762
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3760
3763
|
} | null | undefined;
|
|
3764
|
+
carrier?: "UNKNOWN" | "MONDIAL_RELAY" | "MONDIAL_RELAY_2" | "MONDIAL_RELAY_3" | "MONDIAL_RELAY_4" | "MONDIAL_RELAY_5" | "UPS" | "CHRONOPOST" | "COLISSIMO" | "RELAIS_COLIS" | "VINTED_GO" | "VINTED_GO_BE" | "VINTED_VERIF" | "B_POST" | "VINTED_GO_IT" | "DPD" | "VINTED_GO_DIGITAL" | "DHL" | "DHL_ECONOMY" | null | undefined;
|
|
3761
3765
|
}[] | null | undefined;
|
|
3762
3766
|
invoices?: {
|
|
3763
3767
|
type: "SALE" | "PURCHASE";
|
|
3764
3768
|
status: string;
|
|
3765
3769
|
id: string;
|
|
3766
|
-
createdAt: Date;
|
|
3767
3770
|
userId: number;
|
|
3771
|
+
createdAt: Date;
|
|
3768
3772
|
currency: string;
|
|
3769
3773
|
orderId: string;
|
|
3770
3774
|
updatedAt: Date;
|
|
@@ -3773,21 +3777,21 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3773
3777
|
businessProfileId: string;
|
|
3774
3778
|
issueDate: Date;
|
|
3775
3779
|
subtotal: number;
|
|
3776
|
-
fileId?: string | null | undefined;
|
|
3777
3780
|
vatAmount?: number | null | undefined;
|
|
3781
|
+
fileId?: string | null | undefined;
|
|
3778
3782
|
file?: {
|
|
3779
3783
|
path: string;
|
|
3780
3784
|
id: string;
|
|
3781
|
-
createdAt: Date;
|
|
3782
3785
|
userId: number;
|
|
3786
|
+
createdAt: Date;
|
|
3783
3787
|
signedUrl: string;
|
|
3784
3788
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3785
3789
|
} | null | undefined;
|
|
3786
3790
|
vatRate?: number | null | undefined;
|
|
3787
3791
|
businessProfile?: {
|
|
3788
3792
|
id: string;
|
|
3789
|
-
createdAt: Date;
|
|
3790
3793
|
userId: number;
|
|
3794
|
+
createdAt: Date;
|
|
3791
3795
|
updatedAt: Date;
|
|
3792
3796
|
businessName: string;
|
|
3793
3797
|
address: string;
|
|
@@ -3800,8 +3804,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3800
3804
|
logo?: {
|
|
3801
3805
|
path: string;
|
|
3802
3806
|
id: string;
|
|
3803
|
-
createdAt: Date;
|
|
3804
3807
|
userId: number;
|
|
3808
|
+
createdAt: Date;
|
|
3805
3809
|
signedUrl: string;
|
|
3806
3810
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3807
3811
|
} | null | undefined;
|
|
@@ -3813,26 +3817,26 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3813
3817
|
firstName: string;
|
|
3814
3818
|
lastName: string;
|
|
3815
3819
|
phoneVerified: boolean;
|
|
3816
|
-
|
|
3820
|
+
postalCode?: string | null | undefined;
|
|
3821
|
+
city?: string | null | undefined;
|
|
3822
|
+
country?: string | null | undefined;
|
|
3817
3823
|
email?: string | null | undefined;
|
|
3824
|
+
addressLine1?: string | null | undefined;
|
|
3825
|
+
addressLine2?: string | null | undefined;
|
|
3826
|
+
birthDate?: Date | null | undefined;
|
|
3818
3827
|
idNumber?: string | null | undefined;
|
|
3819
3828
|
phone?: string | null | undefined;
|
|
3820
3829
|
iban?: string | null | undefined;
|
|
3821
3830
|
bic?: string | null | undefined;
|
|
3822
|
-
addressLine1?: string | null | undefined;
|
|
3823
|
-
addressLine2?: string | null | undefined;
|
|
3824
|
-
city?: string | null | undefined;
|
|
3825
|
-
postalCode?: string | null | undefined;
|
|
3826
|
-
country?: string | null | undefined;
|
|
3827
3831
|
} | null | undefined;
|
|
3828
3832
|
dueDate?: Date | null | undefined;
|
|
3829
3833
|
notes?: string | null | undefined;
|
|
3830
3834
|
lineItems?: {
|
|
3831
|
-
|
|
3835
|
+
quantity: number;
|
|
3832
3836
|
id: number;
|
|
3837
|
+
description: string;
|
|
3833
3838
|
createdAt: Date;
|
|
3834
3839
|
invoiceId: string;
|
|
3835
|
-
quantity: number;
|
|
3836
3840
|
unitPrice: number;
|
|
3837
3841
|
total: number;
|
|
3838
3842
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3842,45 +3846,29 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3842
3846
|
} | null | undefined;
|
|
3843
3847
|
analysisStatus?: "PENDING" | "COMPLETED" | "FAILED" | null | undefined;
|
|
3844
3848
|
}, {
|
|
3845
|
-
actions: {
|
|
3846
|
-
perAccount: Record<string, unknown[]>;
|
|
3847
|
-
};
|
|
3848
|
-
name: string;
|
|
3849
3849
|
id: number;
|
|
3850
|
-
createdAt: Date;
|
|
3851
3850
|
userId: number;
|
|
3851
|
+
name: string;
|
|
3852
|
+
createdAt: Date;
|
|
3852
3853
|
updatedAt: Date;
|
|
3853
3854
|
sold: boolean;
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
name: string;
|
|
3858
|
-
id: number;
|
|
3859
|
-
createdAt: Date;
|
|
3860
|
-
userId: number;
|
|
3861
|
-
updatedAt: Date;
|
|
3862
|
-
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
3863
|
-
startDate: Date;
|
|
3864
|
-
active: boolean;
|
|
3865
|
-
description?: string | null | undefined;
|
|
3866
|
-
itemId?: number | null | undefined;
|
|
3867
|
-
endDate?: Date | null | undefined;
|
|
3868
|
-
parentFeeId?: number | null | undefined;
|
|
3869
|
-
}[] | null | undefined;
|
|
3855
|
+
actions: {
|
|
3856
|
+
perAccount: Record<string, unknown[]>;
|
|
3857
|
+
};
|
|
3870
3858
|
description?: string | null | undefined;
|
|
3871
3859
|
categoryId?: number | null | undefined;
|
|
3872
|
-
sizeId?: number | null | undefined;
|
|
3873
|
-
colorIds?: number[] | null | undefined;
|
|
3874
|
-
packageSizeId?: number | null | undefined;
|
|
3875
3860
|
state?: number | null | undefined;
|
|
3861
|
+
colorIds?: number[] | null | undefined;
|
|
3876
3862
|
measurementLength?: number | null | undefined;
|
|
3877
3863
|
measurementWidth?: number | null | undefined;
|
|
3864
|
+
packageSizeId?: number | null | undefined;
|
|
3865
|
+
sizeId?: number | null | undefined;
|
|
3878
3866
|
labels?: {
|
|
3879
3867
|
itemId: number;
|
|
3880
3868
|
labelId: number;
|
|
3881
3869
|
label?: {
|
|
3882
|
-
name: string;
|
|
3883
3870
|
id: number;
|
|
3871
|
+
name: string;
|
|
3884
3872
|
createdAt: Date;
|
|
3885
3873
|
isUserLabel: boolean;
|
|
3886
3874
|
itemCount?: number | null | undefined;
|
|
@@ -3893,85 +3881,50 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3893
3881
|
fieldKey: string;
|
|
3894
3882
|
}[] | null | undefined;
|
|
3895
3883
|
sku?: string | null | undefined;
|
|
3896
|
-
sex?: string | null | undefined;
|
|
3897
|
-
platforms?: {
|
|
3898
|
-
id: string;
|
|
3899
|
-
createdAt: Date;
|
|
3900
|
-
accountId: string;
|
|
3901
|
-
itemId: number;
|
|
3902
|
-
platformId: string;
|
|
3903
|
-
platformUrl: string;
|
|
3904
|
-
platformPrice: number;
|
|
3905
|
-
updatedAt: Date;
|
|
3906
|
-
publishedAt: Date;
|
|
3907
|
-
status?: unknown;
|
|
3908
|
-
conversationId?: string | null | undefined;
|
|
3909
|
-
boostedAt?: Date | null | undefined;
|
|
3910
|
-
boostedUntil?: Date | null | undefined;
|
|
3911
|
-
viewsCount?: number | null | undefined;
|
|
3912
|
-
favoritesCount?: number | null | undefined;
|
|
3913
|
-
account?: {
|
|
3914
|
-
name: string;
|
|
3915
|
-
userId: number;
|
|
3916
|
-
accountId: string;
|
|
3917
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3918
|
-
status?: unknown;
|
|
3919
|
-
locale?: string | null | undefined;
|
|
3920
|
-
lockReason?: unknown;
|
|
3921
|
-
restrictedUntil?: Date | null | undefined;
|
|
3922
|
-
night?: {
|
|
3923
|
-
startsAt: Date;
|
|
3924
|
-
endsAt: Date;
|
|
3925
|
-
} | null | undefined;
|
|
3926
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
3927
|
-
ordersMaxDelay?: number | null | undefined;
|
|
3928
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
3929
|
-
walletMaxDelay?: number | null | undefined;
|
|
3930
|
-
availableBalance?: number | null | undefined;
|
|
3931
|
-
pendingBalance?: number | null | undefined;
|
|
3932
|
-
profilePictureFileId?: string | null | undefined;
|
|
3933
|
-
profilePicture?: {
|
|
3934
|
-
path: string;
|
|
3935
|
-
id: string;
|
|
3936
|
-
createdAt: Date;
|
|
3937
|
-
userId: number;
|
|
3938
|
-
signedUrl: string;
|
|
3939
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3940
|
-
} | null | undefined;
|
|
3941
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
3942
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
3943
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
3944
|
-
} | null | undefined;
|
|
3945
|
-
orderStatus?: unknown;
|
|
3946
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
3947
|
-
}[] | null | undefined;
|
|
3948
|
-
brandId?: number | null | undefined;
|
|
3949
|
-
estimatedPrice?: number | null | undefined;
|
|
3950
|
-
purchaseDate?: Date | null | undefined;
|
|
3951
|
-
sellingDate?: Date | null | undefined;
|
|
3952
3884
|
fields?: {
|
|
3953
3885
|
value: string;
|
|
3954
3886
|
itemId: number;
|
|
3955
3887
|
fieldId: number;
|
|
3956
3888
|
}[] | null | undefined;
|
|
3957
3889
|
files?: {
|
|
3958
|
-
fileId: string;
|
|
3959
3890
|
itemId: number;
|
|
3891
|
+
fileId: string;
|
|
3960
3892
|
file?: {
|
|
3961
3893
|
path: string;
|
|
3962
3894
|
id: string;
|
|
3963
|
-
createdAt: Date;
|
|
3964
3895
|
userId: number;
|
|
3896
|
+
createdAt: Date;
|
|
3965
3897
|
signedUrl: string;
|
|
3966
3898
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3967
3899
|
} | null | undefined;
|
|
3968
3900
|
index?: number | null | undefined;
|
|
3969
3901
|
}[] | null | undefined;
|
|
3902
|
+
brandId?: number | null | undefined;
|
|
3903
|
+
sex?: string | null | undefined;
|
|
3970
3904
|
purchasePrice?: number | null | undefined;
|
|
3905
|
+
purchaseDate?: Date | null | undefined;
|
|
3971
3906
|
purchasePlaceId?: number | null | undefined;
|
|
3972
3907
|
purchased?: boolean | null | undefined;
|
|
3973
3908
|
sellingPrice?: number | null | undefined;
|
|
3909
|
+
sellingDate?: Date | null | undefined;
|
|
3974
3910
|
sellingPlaceId?: number | null | undefined;
|
|
3911
|
+
estimatedPrice?: number | null | undefined;
|
|
3912
|
+
fees?: {
|
|
3913
|
+
value: number;
|
|
3914
|
+
type: string;
|
|
3915
|
+
id: number;
|
|
3916
|
+
userId: number;
|
|
3917
|
+
name: string;
|
|
3918
|
+
createdAt: Date;
|
|
3919
|
+
updatedAt: Date;
|
|
3920
|
+
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
3921
|
+
startDate: Date;
|
|
3922
|
+
active: boolean;
|
|
3923
|
+
description?: string | null | undefined;
|
|
3924
|
+
itemId?: number | null | undefined;
|
|
3925
|
+
endDate?: Date | null | undefined;
|
|
3926
|
+
parentFeeId?: number | null | undefined;
|
|
3927
|
+
}[] | null | undefined;
|
|
3975
3928
|
feesSum?: number | null | undefined;
|
|
3976
3929
|
materialIds?: number[] | null | undefined;
|
|
3977
3930
|
enumValues?: {
|
|
@@ -3987,6 +3940,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3987
3940
|
createdAt: Date;
|
|
3988
3941
|
itemId: number;
|
|
3989
3942
|
type?: unknown;
|
|
3943
|
+
accountId?: string | null | undefined;
|
|
3990
3944
|
data?: {
|
|
3991
3945
|
type: "ACTION_CANCELED";
|
|
3992
3946
|
data: {
|
|
@@ -4052,23 +4006,23 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
4052
4006
|
post: {
|
|
4053
4007
|
platformId: string;
|
|
4054
4008
|
post: {
|
|
4009
|
+
size?: string | null | undefined;
|
|
4055
4010
|
status?: string | null | undefined;
|
|
4056
4011
|
title?: string | null | undefined;
|
|
4057
4012
|
description?: string | null | undefined;
|
|
4058
|
-
brand?: string | null | undefined;
|
|
4059
|
-
statusId?: number | null | undefined;
|
|
4060
|
-
sizeId?: number | null | undefined;
|
|
4061
|
-
colorIds?: number[] | null | undefined;
|
|
4062
|
-
packageSizeId?: number | null | undefined;
|
|
4063
4013
|
price?: number | null | undefined;
|
|
4064
4014
|
currency?: string | null | undefined;
|
|
4015
|
+
brand?: string | null | undefined;
|
|
4065
4016
|
catalog?: string | null | undefined;
|
|
4066
4017
|
catalogId?: number | null | undefined;
|
|
4067
4018
|
colors?: string[] | null | undefined;
|
|
4019
|
+
colorIds?: number[] | null | undefined;
|
|
4068
4020
|
measurementLength?: number | null | undefined;
|
|
4069
4021
|
measurementWidth?: number | null | undefined;
|
|
4022
|
+
packageSizeId?: number | null | undefined;
|
|
4070
4023
|
photoUrls?: string[] | null | undefined;
|
|
4071
|
-
|
|
4024
|
+
sizeId?: number | null | undefined;
|
|
4025
|
+
statusId?: number | null | undefined;
|
|
4072
4026
|
isDraft?: boolean | null | undefined;
|
|
4073
4027
|
isArchived?: boolean | null | undefined;
|
|
4074
4028
|
isUnisex?: boolean | null | undefined;
|
|
@@ -4111,8 +4065,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
4111
4065
|
} | {
|
|
4112
4066
|
type: "LIFECYCLE_STARTED";
|
|
4113
4067
|
data: {
|
|
4114
|
-
caseId: string;
|
|
4115
4068
|
accountId: string;
|
|
4069
|
+
caseId: string;
|
|
4116
4070
|
isRepeat?: boolean | null | undefined;
|
|
4117
4071
|
};
|
|
4118
4072
|
} | {
|
|
@@ -4151,17 +4105,17 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
4151
4105
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
4152
4106
|
} | null | undefined;
|
|
4153
4107
|
} | null | undefined;
|
|
4154
|
-
publishingDate?: Date | null | undefined;
|
|
4155
|
-
isTransfer?: boolean | null | undefined;
|
|
4156
4108
|
targetAccountId?: string | null | undefined;
|
|
4157
4109
|
allowIfDeleted?: boolean | null | undefined;
|
|
4110
|
+
publishingDate?: Date | null | undefined;
|
|
4111
|
+
isTransfer?: boolean | null | undefined;
|
|
4158
4112
|
};
|
|
4159
4113
|
} | {
|
|
4160
4114
|
type: "REPUBLISHING_RETRY";
|
|
4161
4115
|
data: {
|
|
4162
|
-
maxAttempts: number;
|
|
4163
4116
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4164
4117
|
attemptNumber: number;
|
|
4118
|
+
maxAttempts: number;
|
|
4165
4119
|
previousHistoryId: string;
|
|
4166
4120
|
originalFailureDate: Date;
|
|
4167
4121
|
payload?: {
|
|
@@ -4203,9 +4157,9 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
4203
4157
|
} | {
|
|
4204
4158
|
type: "SCHEDULED_RETRY";
|
|
4205
4159
|
data: {
|
|
4206
|
-
maxAttempts: number;
|
|
4207
4160
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4208
4161
|
attemptNumber: number;
|
|
4162
|
+
maxAttempts: number;
|
|
4209
4163
|
previousHistoryId: string;
|
|
4210
4164
|
originalFailureDate: Date;
|
|
4211
4165
|
fields?: {
|
|
@@ -4238,52 +4192,103 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
4238
4192
|
targetDate?: Date | null | undefined;
|
|
4239
4193
|
};
|
|
4240
4194
|
} | null | undefined;
|
|
4241
|
-
accountId?: string | null | undefined;
|
|
4242
4195
|
targetDate?: Date | null | undefined;
|
|
4243
4196
|
requestId?: string | null | undefined;
|
|
4244
4197
|
targetHistoryId?: string | null | undefined;
|
|
4245
4198
|
} | null | undefined;
|
|
4199
|
+
platforms?: {
|
|
4200
|
+
id: string;
|
|
4201
|
+
accountId: string;
|
|
4202
|
+
createdAt: Date;
|
|
4203
|
+
itemId: number;
|
|
4204
|
+
platformId: string;
|
|
4205
|
+
platformUrl: string;
|
|
4206
|
+
platformPrice: number;
|
|
4207
|
+
updatedAt: Date;
|
|
4208
|
+
publishedAt: Date;
|
|
4209
|
+
status?: unknown;
|
|
4210
|
+
conversationId?: string | null | undefined;
|
|
4211
|
+
boostedAt?: Date | null | undefined;
|
|
4212
|
+
boostedUntil?: Date | null | undefined;
|
|
4213
|
+
viewsCount?: number | null | undefined;
|
|
4214
|
+
favoritesCount?: number | null | undefined;
|
|
4215
|
+
account?: {
|
|
4216
|
+
accountId: string;
|
|
4217
|
+
userId: number;
|
|
4218
|
+
name: string;
|
|
4219
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4220
|
+
status?: unknown;
|
|
4221
|
+
locale?: string | null | undefined;
|
|
4222
|
+
lockReason?: unknown;
|
|
4223
|
+
restrictedUntil?: Date | null | undefined;
|
|
4224
|
+
night?: {
|
|
4225
|
+
startsAt: Date;
|
|
4226
|
+
endsAt: Date;
|
|
4227
|
+
} | null | undefined;
|
|
4228
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
4229
|
+
ordersMaxDelay?: number | null | undefined;
|
|
4230
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
4231
|
+
walletMaxDelay?: number | null | undefined;
|
|
4232
|
+
availableBalance?: number | null | undefined;
|
|
4233
|
+
pendingBalance?: number | null | undefined;
|
|
4234
|
+
profilePictureFileId?: string | null | undefined;
|
|
4235
|
+
profilePicture?: {
|
|
4236
|
+
path: string;
|
|
4237
|
+
id: string;
|
|
4238
|
+
userId: number;
|
|
4239
|
+
createdAt: Date;
|
|
4240
|
+
signedUrl: string;
|
|
4241
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4242
|
+
} | null | undefined;
|
|
4243
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
4244
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
4245
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
4246
|
+
} | null | undefined;
|
|
4247
|
+
orderStatus?: unknown;
|
|
4248
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
4249
|
+
isBoosted?: boolean | null | undefined;
|
|
4250
|
+
}[] | null | undefined;
|
|
4246
4251
|
sourceInConversation?: unknown;
|
|
4247
4252
|
order?: {
|
|
4248
4253
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
4249
4254
|
labels?: {
|
|
4250
4255
|
id: string;
|
|
4251
|
-
fileId: string;
|
|
4252
4256
|
orderId: string;
|
|
4257
|
+
fileId: string;
|
|
4253
4258
|
nonCroppedFileId: string;
|
|
4254
4259
|
originalFileId: string;
|
|
4255
|
-
|
|
4260
|
+
file?: {
|
|
4256
4261
|
path: string;
|
|
4257
4262
|
id: string;
|
|
4258
|
-
createdAt: Date;
|
|
4259
4263
|
userId: number;
|
|
4264
|
+
createdAt: Date;
|
|
4260
4265
|
signedUrl: string;
|
|
4261
4266
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4262
4267
|
} | null | undefined;
|
|
4263
|
-
|
|
4264
|
-
file?: {
|
|
4268
|
+
nonCroppedFile?: {
|
|
4265
4269
|
path: string;
|
|
4266
4270
|
id: string;
|
|
4267
|
-
createdAt: Date;
|
|
4268
4271
|
userId: number;
|
|
4272
|
+
createdAt: Date;
|
|
4269
4273
|
signedUrl: string;
|
|
4270
4274
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4271
4275
|
} | null | undefined;
|
|
4272
|
-
|
|
4276
|
+
originalFile?: {
|
|
4273
4277
|
path: string;
|
|
4274
4278
|
id: string;
|
|
4275
|
-
createdAt: Date;
|
|
4276
4279
|
userId: number;
|
|
4280
|
+
createdAt: Date;
|
|
4277
4281
|
signedUrl: string;
|
|
4278
4282
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4279
4283
|
} | null | undefined;
|
|
4284
|
+
carrier?: unknown;
|
|
4280
4285
|
}[] | null | undefined;
|
|
4281
4286
|
invoices?: {
|
|
4282
4287
|
type: "SALE" | "PURCHASE";
|
|
4283
4288
|
status: string;
|
|
4284
4289
|
id: string;
|
|
4285
|
-
createdAt: Date;
|
|
4286
4290
|
userId: number;
|
|
4291
|
+
createdAt: Date;
|
|
4287
4292
|
currency: string;
|
|
4288
4293
|
orderId: string;
|
|
4289
4294
|
updatedAt: Date;
|
|
@@ -4292,21 +4297,21 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
4292
4297
|
businessProfileId: string;
|
|
4293
4298
|
issueDate: Date;
|
|
4294
4299
|
subtotal: number;
|
|
4295
|
-
fileId?: string | null | undefined;
|
|
4296
4300
|
vatAmount?: number | null | undefined;
|
|
4301
|
+
fileId?: string | null | undefined;
|
|
4297
4302
|
file?: {
|
|
4298
4303
|
path: string;
|
|
4299
4304
|
id: string;
|
|
4300
|
-
createdAt: Date;
|
|
4301
4305
|
userId: number;
|
|
4306
|
+
createdAt: Date;
|
|
4302
4307
|
signedUrl: string;
|
|
4303
4308
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4304
4309
|
} | null | undefined;
|
|
4305
4310
|
vatRate?: number | null | undefined;
|
|
4306
4311
|
businessProfile?: {
|
|
4307
4312
|
id: string;
|
|
4308
|
-
createdAt: Date;
|
|
4309
4313
|
userId: number;
|
|
4314
|
+
createdAt: Date;
|
|
4310
4315
|
updatedAt: Date;
|
|
4311
4316
|
businessName: string;
|
|
4312
4317
|
address: string;
|
|
@@ -4319,8 +4324,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
4319
4324
|
logo?: {
|
|
4320
4325
|
path: string;
|
|
4321
4326
|
id: string;
|
|
4322
|
-
createdAt: Date;
|
|
4323
4327
|
userId: number;
|
|
4328
|
+
createdAt: Date;
|
|
4324
4329
|
signedUrl: string;
|
|
4325
4330
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4326
4331
|
} | null | undefined;
|
|
@@ -4332,26 +4337,26 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
4332
4337
|
firstName: string;
|
|
4333
4338
|
lastName: string;
|
|
4334
4339
|
phoneVerified: boolean;
|
|
4335
|
-
|
|
4340
|
+
postalCode?: string | null | undefined;
|
|
4341
|
+
city?: string | null | undefined;
|
|
4342
|
+
country?: string | null | undefined;
|
|
4336
4343
|
email?: string | null | undefined;
|
|
4344
|
+
addressLine1?: string | null | undefined;
|
|
4345
|
+
addressLine2?: string | null | undefined;
|
|
4346
|
+
birthDate?: Date | null | undefined;
|
|
4337
4347
|
idNumber?: string | null | undefined;
|
|
4338
4348
|
phone?: string | null | undefined;
|
|
4339
4349
|
iban?: string | null | undefined;
|
|
4340
4350
|
bic?: string | null | undefined;
|
|
4341
|
-
addressLine1?: string | null | undefined;
|
|
4342
|
-
addressLine2?: string | null | undefined;
|
|
4343
|
-
city?: string | null | undefined;
|
|
4344
|
-
postalCode?: string | null | undefined;
|
|
4345
|
-
country?: string | null | undefined;
|
|
4346
4351
|
} | null | undefined;
|
|
4347
4352
|
dueDate?: Date | null | undefined;
|
|
4348
4353
|
notes?: string | null | undefined;
|
|
4349
4354
|
lineItems?: {
|
|
4350
|
-
|
|
4355
|
+
quantity: number;
|
|
4351
4356
|
id: number;
|
|
4357
|
+
description: string;
|
|
4352
4358
|
createdAt: Date;
|
|
4353
4359
|
invoiceId: string;
|
|
4354
|
-
quantity: number;
|
|
4355
4360
|
unitPrice: number;
|
|
4356
4361
|
total: number;
|
|
4357
4362
|
itemOnPlatformId?: string | null | undefined;
|