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
|
@@ -20,38 +20,38 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
20
20
|
}, "strip", z.ZodTypeAny, {
|
|
21
21
|
path: string;
|
|
22
22
|
id: string;
|
|
23
|
-
createdAt: Date;
|
|
24
23
|
userId: number;
|
|
24
|
+
createdAt: Date;
|
|
25
25
|
signedUrl: string;
|
|
26
26
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
27
27
|
}, {
|
|
28
28
|
path: string;
|
|
29
29
|
id: string;
|
|
30
|
-
createdAt: Date;
|
|
31
30
|
userId: number;
|
|
31
|
+
createdAt: Date;
|
|
32
32
|
signedUrl: string;
|
|
33
33
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
34
34
|
}>>>;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
|
-
fileId: string;
|
|
37
36
|
itemId: number;
|
|
37
|
+
fileId: string;
|
|
38
38
|
file?: {
|
|
39
39
|
path: string;
|
|
40
40
|
id: string;
|
|
41
|
-
createdAt: Date;
|
|
42
41
|
userId: number;
|
|
42
|
+
createdAt: Date;
|
|
43
43
|
signedUrl: string;
|
|
44
44
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
45
45
|
} | null | undefined;
|
|
46
46
|
index?: number | null | undefined;
|
|
47
47
|
}, {
|
|
48
|
-
fileId: string;
|
|
49
48
|
itemId: number;
|
|
49
|
+
fileId: string;
|
|
50
50
|
file?: {
|
|
51
51
|
path: string;
|
|
52
52
|
id: string;
|
|
53
|
-
createdAt: Date;
|
|
54
53
|
userId: number;
|
|
54
|
+
createdAt: Date;
|
|
55
55
|
signedUrl: string;
|
|
56
56
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
57
57
|
} | null | undefined;
|
|
@@ -89,12 +89,12 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
89
89
|
}, "strip", z.ZodTypeAny, {
|
|
90
90
|
value: number;
|
|
91
91
|
type: string;
|
|
92
|
-
name: string;
|
|
93
92
|
id: number;
|
|
94
|
-
createdAt: Date;
|
|
95
93
|
userId: number;
|
|
94
|
+
name: string;
|
|
95
|
+
createdAt: Date;
|
|
96
96
|
updatedAt: Date;
|
|
97
|
-
recurrence: "
|
|
97
|
+
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
98
98
|
startDate: Date;
|
|
99
99
|
active: boolean;
|
|
100
100
|
description?: string | null | undefined;
|
|
@@ -104,12 +104,12 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
104
104
|
}, {
|
|
105
105
|
value: number;
|
|
106
106
|
type: string;
|
|
107
|
-
name: string;
|
|
108
107
|
id: number;
|
|
109
|
-
createdAt: Date;
|
|
110
108
|
userId: number;
|
|
109
|
+
name: string;
|
|
110
|
+
createdAt: Date;
|
|
111
111
|
updatedAt: Date;
|
|
112
|
-
recurrence: "
|
|
112
|
+
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
113
113
|
startDate: Date;
|
|
114
114
|
active: boolean;
|
|
115
115
|
description?: string | null | undefined;
|
|
@@ -130,16 +130,16 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
130
130
|
itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
131
131
|
parentId: z.ZodUnknown;
|
|
132
132
|
}, "strip", z.ZodTypeAny, {
|
|
133
|
-
name: string;
|
|
134
133
|
id: number;
|
|
134
|
+
name: string;
|
|
135
135
|
createdAt: Date;
|
|
136
136
|
isUserLabel: boolean;
|
|
137
137
|
itemCount?: number | null | undefined;
|
|
138
138
|
userId?: number | null | undefined;
|
|
139
139
|
parentId?: unknown;
|
|
140
140
|
}, {
|
|
141
|
-
name: string;
|
|
142
141
|
id: number;
|
|
142
|
+
name: string;
|
|
143
143
|
createdAt: Date;
|
|
144
144
|
isUserLabel: boolean;
|
|
145
145
|
itemCount?: number | null | undefined;
|
|
@@ -150,8 +150,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
150
150
|
itemId: number;
|
|
151
151
|
labelId: number;
|
|
152
152
|
label?: {
|
|
153
|
-
name: string;
|
|
154
153
|
id: number;
|
|
154
|
+
name: string;
|
|
155
155
|
createdAt: Date;
|
|
156
156
|
isUserLabel: boolean;
|
|
157
157
|
itemCount?: number | null | undefined;
|
|
@@ -162,8 +162,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
162
162
|
itemId: number;
|
|
163
163
|
labelId: number;
|
|
164
164
|
label?: {
|
|
165
|
-
name: string;
|
|
166
165
|
id: number;
|
|
166
|
+
name: string;
|
|
167
167
|
createdAt: Date;
|
|
168
168
|
isUserLabel: boolean;
|
|
169
169
|
itemCount?: number | null | undefined;
|
|
@@ -228,11 +228,11 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
228
228
|
data: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
229
229
|
data: z.ZodObject<{
|
|
230
230
|
targetItemHistoryId: z.ZodString;
|
|
231
|
-
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"]>>>>;
|
|
231
|
+
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"]>>>>;
|
|
232
232
|
details: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
233
233
|
}, "strip", z.ZodTypeAny, {
|
|
234
234
|
targetItemHistoryId: string;
|
|
235
|
-
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;
|
|
235
|
+
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;
|
|
236
236
|
details?: string | null | undefined;
|
|
237
237
|
}, {
|
|
238
238
|
targetItemHistoryId: string;
|
|
@@ -244,7 +244,7 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
244
244
|
type: "ACTION_CANCELED";
|
|
245
245
|
data: {
|
|
246
246
|
targetItemHistoryId: string;
|
|
247
|
-
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;
|
|
247
|
+
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;
|
|
248
248
|
details?: string | null | undefined;
|
|
249
249
|
};
|
|
250
250
|
}, {
|
|
@@ -347,7 +347,7 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
347
347
|
autoFixable: z.ZodBoolean;
|
|
348
348
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
349
349
|
}, "strip", z.ZodTypeAny, {
|
|
350
|
-
field: "
|
|
350
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
351
351
|
autoFixable: boolean;
|
|
352
352
|
error?: string | null | undefined;
|
|
353
353
|
}, {
|
|
@@ -362,7 +362,7 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
362
362
|
accountId?: string | null | undefined;
|
|
363
363
|
reason?: string | null | undefined;
|
|
364
364
|
fields?: {
|
|
365
|
-
field: "
|
|
365
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
366
366
|
autoFixable: boolean;
|
|
367
367
|
error?: string | null | undefined;
|
|
368
368
|
}[] | null | undefined;
|
|
@@ -388,7 +388,7 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
388
388
|
accountId?: string | null | undefined;
|
|
389
389
|
reason?: string | null | undefined;
|
|
390
390
|
fields?: {
|
|
391
|
-
field: "
|
|
391
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
392
392
|
autoFixable: boolean;
|
|
393
393
|
error?: string | null | undefined;
|
|
394
394
|
}[] | null | undefined;
|
|
@@ -572,23 +572,23 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
572
572
|
boostedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
573
573
|
boostedUntil: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
574
574
|
}, "strip", z.ZodTypeAny, {
|
|
575
|
+
size?: string | null | undefined;
|
|
575
576
|
status?: string | null | undefined;
|
|
576
577
|
title?: string | null | undefined;
|
|
577
578
|
description?: string | null | undefined;
|
|
578
|
-
brand?: string | null | undefined;
|
|
579
|
-
statusId?: number | null | undefined;
|
|
580
|
-
sizeId?: number | null | undefined;
|
|
581
|
-
colorIds?: number[] | null | undefined;
|
|
582
|
-
packageSizeId?: number | null | undefined;
|
|
583
579
|
price?: number | null | undefined;
|
|
584
580
|
currency?: string | null | undefined;
|
|
581
|
+
brand?: string | null | undefined;
|
|
585
582
|
catalog?: string | null | undefined;
|
|
586
583
|
catalogId?: number | null | undefined;
|
|
587
584
|
colors?: string[] | null | undefined;
|
|
585
|
+
colorIds?: number[] | null | undefined;
|
|
588
586
|
measurementLength?: number | null | undefined;
|
|
589
587
|
measurementWidth?: number | null | undefined;
|
|
588
|
+
packageSizeId?: number | null | undefined;
|
|
590
589
|
photoUrls?: string[] | null | undefined;
|
|
591
|
-
|
|
590
|
+
sizeId?: number | null | undefined;
|
|
591
|
+
statusId?: number | null | undefined;
|
|
592
592
|
isDraft?: boolean | null | undefined;
|
|
593
593
|
isArchived?: boolean | null | undefined;
|
|
594
594
|
isUnisex?: boolean | null | undefined;
|
|
@@ -617,23 +617,23 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
617
617
|
isHidden?: boolean | null | undefined;
|
|
618
618
|
isDeleted?: boolean | null | undefined;
|
|
619
619
|
}, {
|
|
620
|
+
size?: string | null | undefined;
|
|
620
621
|
status?: string | null | undefined;
|
|
621
622
|
title?: string | null | undefined;
|
|
622
623
|
description?: string | null | undefined;
|
|
623
|
-
brand?: string | null | undefined;
|
|
624
|
-
statusId?: number | null | undefined;
|
|
625
|
-
sizeId?: number | null | undefined;
|
|
626
|
-
colorIds?: number[] | null | undefined;
|
|
627
|
-
packageSizeId?: number | null | undefined;
|
|
628
624
|
price?: number | null | undefined;
|
|
629
625
|
currency?: string | null | undefined;
|
|
626
|
+
brand?: string | null | undefined;
|
|
630
627
|
catalog?: string | null | undefined;
|
|
631
628
|
catalogId?: number | null | undefined;
|
|
632
629
|
colors?: string[] | null | undefined;
|
|
630
|
+
colorIds?: number[] | null | undefined;
|
|
633
631
|
measurementLength?: number | null | undefined;
|
|
634
632
|
measurementWidth?: number | null | undefined;
|
|
633
|
+
packageSizeId?: number | null | undefined;
|
|
635
634
|
photoUrls?: string[] | null | undefined;
|
|
636
|
-
|
|
635
|
+
sizeId?: number | null | undefined;
|
|
636
|
+
statusId?: number | null | undefined;
|
|
637
637
|
isDraft?: boolean | null | undefined;
|
|
638
638
|
isArchived?: boolean | null | undefined;
|
|
639
639
|
isUnisex?: boolean | null | undefined;
|
|
@@ -667,23 +667,23 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
667
667
|
}, "strip", z.ZodTypeAny, {
|
|
668
668
|
platformId: string;
|
|
669
669
|
post: {
|
|
670
|
+
size?: string | null | undefined;
|
|
670
671
|
status?: string | null | undefined;
|
|
671
672
|
title?: string | null | undefined;
|
|
672
673
|
description?: string | null | undefined;
|
|
673
|
-
brand?: string | null | undefined;
|
|
674
|
-
statusId?: number | null | undefined;
|
|
675
|
-
sizeId?: number | null | undefined;
|
|
676
|
-
colorIds?: number[] | null | undefined;
|
|
677
|
-
packageSizeId?: number | null | undefined;
|
|
678
674
|
price?: number | null | undefined;
|
|
679
675
|
currency?: string | null | undefined;
|
|
676
|
+
brand?: string | null | undefined;
|
|
680
677
|
catalog?: string | null | undefined;
|
|
681
678
|
catalogId?: number | null | undefined;
|
|
682
679
|
colors?: string[] | null | undefined;
|
|
680
|
+
colorIds?: number[] | null | undefined;
|
|
683
681
|
measurementLength?: number | null | undefined;
|
|
684
682
|
measurementWidth?: number | null | undefined;
|
|
683
|
+
packageSizeId?: number | null | undefined;
|
|
685
684
|
photoUrls?: string[] | null | undefined;
|
|
686
|
-
|
|
685
|
+
sizeId?: number | null | undefined;
|
|
686
|
+
statusId?: number | null | undefined;
|
|
687
687
|
isDraft?: boolean | null | undefined;
|
|
688
688
|
isArchived?: boolean | null | undefined;
|
|
689
689
|
isUnisex?: boolean | null | undefined;
|
|
@@ -719,23 +719,23 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
719
719
|
}, {
|
|
720
720
|
platformId: string;
|
|
721
721
|
post: {
|
|
722
|
+
size?: string | null | undefined;
|
|
722
723
|
status?: string | null | undefined;
|
|
723
724
|
title?: string | null | undefined;
|
|
724
725
|
description?: string | null | undefined;
|
|
725
|
-
brand?: string | null | undefined;
|
|
726
|
-
statusId?: number | null | undefined;
|
|
727
|
-
sizeId?: number | null | undefined;
|
|
728
|
-
colorIds?: number[] | null | undefined;
|
|
729
|
-
packageSizeId?: number | null | undefined;
|
|
730
726
|
price?: number | null | undefined;
|
|
731
727
|
currency?: string | null | undefined;
|
|
728
|
+
brand?: string | null | undefined;
|
|
732
729
|
catalog?: string | null | undefined;
|
|
733
730
|
catalogId?: number | null | undefined;
|
|
734
731
|
colors?: string[] | null | undefined;
|
|
732
|
+
colorIds?: number[] | null | undefined;
|
|
735
733
|
measurementLength?: number | null | undefined;
|
|
736
734
|
measurementWidth?: number | null | undefined;
|
|
735
|
+
packageSizeId?: number | null | undefined;
|
|
737
736
|
photoUrls?: string[] | null | undefined;
|
|
738
|
-
|
|
737
|
+
sizeId?: number | null | undefined;
|
|
738
|
+
statusId?: number | null | undefined;
|
|
739
739
|
isDraft?: boolean | null | undefined;
|
|
740
740
|
isArchived?: boolean | null | undefined;
|
|
741
741
|
isUnisex?: boolean | null | undefined;
|
|
@@ -773,23 +773,23 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
773
773
|
post: {
|
|
774
774
|
platformId: string;
|
|
775
775
|
post: {
|
|
776
|
+
size?: string | null | undefined;
|
|
776
777
|
status?: string | null | undefined;
|
|
777
778
|
title?: string | null | undefined;
|
|
778
779
|
description?: string | null | undefined;
|
|
779
|
-
brand?: string | null | undefined;
|
|
780
|
-
statusId?: number | null | undefined;
|
|
781
|
-
sizeId?: number | null | undefined;
|
|
782
|
-
colorIds?: number[] | null | undefined;
|
|
783
|
-
packageSizeId?: number | null | undefined;
|
|
784
780
|
price?: number | null | undefined;
|
|
785
781
|
currency?: string | null | undefined;
|
|
782
|
+
brand?: string | null | undefined;
|
|
786
783
|
catalog?: string | null | undefined;
|
|
787
784
|
catalogId?: number | null | undefined;
|
|
788
785
|
colors?: string[] | null | undefined;
|
|
786
|
+
colorIds?: number[] | null | undefined;
|
|
789
787
|
measurementLength?: number | null | undefined;
|
|
790
788
|
measurementWidth?: number | null | undefined;
|
|
789
|
+
packageSizeId?: number | null | undefined;
|
|
791
790
|
photoUrls?: string[] | null | undefined;
|
|
792
|
-
|
|
791
|
+
sizeId?: number | null | undefined;
|
|
792
|
+
statusId?: number | null | undefined;
|
|
793
793
|
isDraft?: boolean | null | undefined;
|
|
794
794
|
isArchived?: boolean | null | undefined;
|
|
795
795
|
isUnisex?: boolean | null | undefined;
|
|
@@ -827,23 +827,23 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
827
827
|
post: {
|
|
828
828
|
platformId: string;
|
|
829
829
|
post: {
|
|
830
|
+
size?: string | null | undefined;
|
|
830
831
|
status?: string | null | undefined;
|
|
831
832
|
title?: string | null | undefined;
|
|
832
833
|
description?: string | null | undefined;
|
|
833
|
-
brand?: string | null | undefined;
|
|
834
|
-
statusId?: number | null | undefined;
|
|
835
|
-
sizeId?: number | null | undefined;
|
|
836
|
-
colorIds?: number[] | null | undefined;
|
|
837
|
-
packageSizeId?: number | null | undefined;
|
|
838
834
|
price?: number | null | undefined;
|
|
839
835
|
currency?: string | null | undefined;
|
|
836
|
+
brand?: string | null | undefined;
|
|
840
837
|
catalog?: string | null | undefined;
|
|
841
838
|
catalogId?: number | null | undefined;
|
|
842
839
|
colors?: string[] | null | undefined;
|
|
840
|
+
colorIds?: number[] | null | undefined;
|
|
843
841
|
measurementLength?: number | null | undefined;
|
|
844
842
|
measurementWidth?: number | null | undefined;
|
|
843
|
+
packageSizeId?: number | null | undefined;
|
|
845
844
|
photoUrls?: string[] | null | undefined;
|
|
846
|
-
|
|
845
|
+
sizeId?: number | null | undefined;
|
|
846
|
+
statusId?: number | null | undefined;
|
|
847
847
|
isDraft?: boolean | null | undefined;
|
|
848
848
|
isArchived?: boolean | null | undefined;
|
|
849
849
|
isUnisex?: boolean | null | undefined;
|
|
@@ -885,23 +885,23 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
885
885
|
post: {
|
|
886
886
|
platformId: string;
|
|
887
887
|
post: {
|
|
888
|
+
size?: string | null | undefined;
|
|
888
889
|
status?: string | null | undefined;
|
|
889
890
|
title?: string | null | undefined;
|
|
890
891
|
description?: string | null | undefined;
|
|
891
|
-
brand?: string | null | undefined;
|
|
892
|
-
statusId?: number | null | undefined;
|
|
893
|
-
sizeId?: number | null | undefined;
|
|
894
|
-
colorIds?: number[] | null | undefined;
|
|
895
|
-
packageSizeId?: number | null | undefined;
|
|
896
892
|
price?: number | null | undefined;
|
|
897
893
|
currency?: string | null | undefined;
|
|
894
|
+
brand?: string | null | undefined;
|
|
898
895
|
catalog?: string | null | undefined;
|
|
899
896
|
catalogId?: number | null | undefined;
|
|
900
897
|
colors?: string[] | null | undefined;
|
|
898
|
+
colorIds?: number[] | null | undefined;
|
|
901
899
|
measurementLength?: number | null | undefined;
|
|
902
900
|
measurementWidth?: number | null | undefined;
|
|
901
|
+
packageSizeId?: number | null | undefined;
|
|
903
902
|
photoUrls?: string[] | null | undefined;
|
|
904
|
-
|
|
903
|
+
sizeId?: number | null | undefined;
|
|
904
|
+
statusId?: number | null | undefined;
|
|
905
905
|
isDraft?: boolean | null | undefined;
|
|
906
906
|
isArchived?: boolean | null | undefined;
|
|
907
907
|
isUnisex?: boolean | null | undefined;
|
|
@@ -942,23 +942,23 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
942
942
|
post: {
|
|
943
943
|
platformId: string;
|
|
944
944
|
post: {
|
|
945
|
+
size?: string | null | undefined;
|
|
945
946
|
status?: string | null | undefined;
|
|
946
947
|
title?: string | null | undefined;
|
|
947
948
|
description?: string | null | undefined;
|
|
948
|
-
brand?: string | null | undefined;
|
|
949
|
-
statusId?: number | null | undefined;
|
|
950
|
-
sizeId?: number | null | undefined;
|
|
951
|
-
colorIds?: number[] | null | undefined;
|
|
952
|
-
packageSizeId?: number | null | undefined;
|
|
953
949
|
price?: number | null | undefined;
|
|
954
950
|
currency?: string | null | undefined;
|
|
951
|
+
brand?: string | null | undefined;
|
|
955
952
|
catalog?: string | null | undefined;
|
|
956
953
|
catalogId?: number | null | undefined;
|
|
957
954
|
colors?: string[] | null | undefined;
|
|
955
|
+
colorIds?: number[] | null | undefined;
|
|
958
956
|
measurementLength?: number | null | undefined;
|
|
959
957
|
measurementWidth?: number | null | undefined;
|
|
958
|
+
packageSizeId?: number | null | undefined;
|
|
960
959
|
photoUrls?: string[] | null | undefined;
|
|
961
|
-
|
|
960
|
+
sizeId?: number | null | undefined;
|
|
961
|
+
statusId?: number | null | undefined;
|
|
962
962
|
isDraft?: boolean | null | undefined;
|
|
963
963
|
isArchived?: boolean | null | undefined;
|
|
964
964
|
isUnisex?: boolean | null | undefined;
|
|
@@ -1018,27 +1018,27 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
1018
1018
|
caseId: z.ZodString;
|
|
1019
1019
|
isRepeat: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1020
1020
|
}, "strip", z.ZodTypeAny, {
|
|
1021
|
-
caseId: string;
|
|
1022
1021
|
accountId: string;
|
|
1022
|
+
caseId: string;
|
|
1023
1023
|
isRepeat?: boolean | null | undefined;
|
|
1024
1024
|
}, {
|
|
1025
|
-
caseId: string;
|
|
1026
1025
|
accountId: string;
|
|
1026
|
+
caseId: string;
|
|
1027
1027
|
isRepeat?: boolean | null | undefined;
|
|
1028
1028
|
}>;
|
|
1029
1029
|
type: z.ZodLiteral<"LIFECYCLE_STARTED">;
|
|
1030
1030
|
}, "strip", z.ZodTypeAny, {
|
|
1031
1031
|
type: "LIFECYCLE_STARTED";
|
|
1032
1032
|
data: {
|
|
1033
|
-
caseId: string;
|
|
1034
1033
|
accountId: string;
|
|
1034
|
+
caseId: string;
|
|
1035
1035
|
isRepeat?: boolean | null | undefined;
|
|
1036
1036
|
};
|
|
1037
1037
|
}, {
|
|
1038
1038
|
type: "LIFECYCLE_STARTED";
|
|
1039
1039
|
data: {
|
|
1040
|
-
caseId: string;
|
|
1041
1040
|
accountId: string;
|
|
1041
|
+
caseId: string;
|
|
1042
1042
|
isRepeat?: boolean | null | undefined;
|
|
1043
1043
|
};
|
|
1044
1044
|
}>, z.ZodObject<{
|
|
@@ -1214,10 +1214,10 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
1214
1214
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1215
1215
|
} | null | undefined;
|
|
1216
1216
|
} | null | undefined;
|
|
1217
|
-
publishingDate?: Date | null | undefined;
|
|
1218
|
-
isTransfer?: boolean | null | undefined;
|
|
1219
1217
|
targetAccountId?: string | null | undefined;
|
|
1220
1218
|
allowIfDeleted?: boolean | null | undefined;
|
|
1219
|
+
publishingDate?: Date | null | undefined;
|
|
1220
|
+
isTransfer?: boolean | null | undefined;
|
|
1221
1221
|
}, {
|
|
1222
1222
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1223
1223
|
payload?: {
|
|
@@ -1244,10 +1244,10 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
1244
1244
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1245
1245
|
} | null | undefined;
|
|
1246
1246
|
} | null | undefined;
|
|
1247
|
-
publishingDate?: Date | null | undefined;
|
|
1248
|
-
isTransfer?: boolean | null | undefined;
|
|
1249
1247
|
targetAccountId?: string | null | undefined;
|
|
1250
1248
|
allowIfDeleted?: boolean | null | undefined;
|
|
1249
|
+
publishingDate?: Date | null | undefined;
|
|
1250
|
+
isTransfer?: boolean | null | undefined;
|
|
1251
1251
|
}>;
|
|
1252
1252
|
type: z.ZodLiteral<"REPUBLISHING">;
|
|
1253
1253
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1278,10 +1278,10 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
1278
1278
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1279
1279
|
} | null | undefined;
|
|
1280
1280
|
} | null | undefined;
|
|
1281
|
-
publishingDate?: Date | null | undefined;
|
|
1282
|
-
isTransfer?: boolean | null | undefined;
|
|
1283
1281
|
targetAccountId?: string | null | undefined;
|
|
1284
1282
|
allowIfDeleted?: boolean | null | undefined;
|
|
1283
|
+
publishingDate?: Date | null | undefined;
|
|
1284
|
+
isTransfer?: boolean | null | undefined;
|
|
1285
1285
|
};
|
|
1286
1286
|
}, {
|
|
1287
1287
|
type: "REPUBLISHING";
|
|
@@ -1311,10 +1311,10 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
1311
1311
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1312
1312
|
} | null | undefined;
|
|
1313
1313
|
} | null | undefined;
|
|
1314
|
-
publishingDate?: Date | null | undefined;
|
|
1315
|
-
isTransfer?: boolean | null | undefined;
|
|
1316
1314
|
targetAccountId?: string | null | undefined;
|
|
1317
1315
|
allowIfDeleted?: boolean | null | undefined;
|
|
1316
|
+
publishingDate?: Date | null | undefined;
|
|
1317
|
+
isTransfer?: boolean | null | undefined;
|
|
1318
1318
|
};
|
|
1319
1319
|
}>, z.ZodObject<{
|
|
1320
1320
|
data: z.ZodObject<{
|
|
@@ -1328,7 +1328,7 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
1328
1328
|
autoFixable: z.ZodBoolean;
|
|
1329
1329
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1330
1330
|
}, "strip", z.ZodTypeAny, {
|
|
1331
|
-
field: "
|
|
1331
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1332
1332
|
autoFixable: boolean;
|
|
1333
1333
|
error?: string | null | undefined;
|
|
1334
1334
|
}, {
|
|
@@ -1443,9 +1443,9 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
1443
1443
|
} | null | undefined;
|
|
1444
1444
|
}>>>;
|
|
1445
1445
|
}, "strip", z.ZodTypeAny, {
|
|
1446
|
-
maxAttempts: number;
|
|
1447
1446
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1448
1447
|
attemptNumber: number;
|
|
1448
|
+
maxAttempts: number;
|
|
1449
1449
|
previousHistoryId: string;
|
|
1450
1450
|
originalFailureDate: Date;
|
|
1451
1451
|
payload?: {
|
|
@@ -1473,14 +1473,14 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
1473
1473
|
} | null | undefined;
|
|
1474
1474
|
} | null | undefined;
|
|
1475
1475
|
fields?: {
|
|
1476
|
-
field: "
|
|
1476
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1477
1477
|
autoFixable: boolean;
|
|
1478
1478
|
error?: string | null | undefined;
|
|
1479
1479
|
}[] | null | undefined;
|
|
1480
1480
|
}, {
|
|
1481
|
-
maxAttempts: number;
|
|
1482
1481
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1483
1482
|
attemptNumber: number;
|
|
1483
|
+
maxAttempts: number;
|
|
1484
1484
|
previousHistoryId: string;
|
|
1485
1485
|
originalFailureDate: Date;
|
|
1486
1486
|
payload?: {
|
|
@@ -1517,9 +1517,9 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
1517
1517
|
}, "strip", z.ZodTypeAny, {
|
|
1518
1518
|
type: "REPUBLISHING_RETRY";
|
|
1519
1519
|
data: {
|
|
1520
|
-
maxAttempts: number;
|
|
1521
1520
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1522
1521
|
attemptNumber: number;
|
|
1522
|
+
maxAttempts: number;
|
|
1523
1523
|
previousHistoryId: string;
|
|
1524
1524
|
originalFailureDate: Date;
|
|
1525
1525
|
payload?: {
|
|
@@ -1547,7 +1547,7 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
1547
1547
|
} | null | undefined;
|
|
1548
1548
|
} | null | undefined;
|
|
1549
1549
|
fields?: {
|
|
1550
|
-
field: "
|
|
1550
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1551
1551
|
autoFixable: boolean;
|
|
1552
1552
|
error?: string | null | undefined;
|
|
1553
1553
|
}[] | null | undefined;
|
|
@@ -1555,9 +1555,9 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
1555
1555
|
}, {
|
|
1556
1556
|
type: "REPUBLISHING_RETRY";
|
|
1557
1557
|
data: {
|
|
1558
|
-
maxAttempts: number;
|
|
1559
1558
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1560
1559
|
attemptNumber: number;
|
|
1560
|
+
maxAttempts: number;
|
|
1561
1561
|
previousHistoryId: string;
|
|
1562
1562
|
originalFailureDate: Date;
|
|
1563
1563
|
payload?: {
|
|
@@ -1626,7 +1626,7 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
1626
1626
|
autoFixable: z.ZodBoolean;
|
|
1627
1627
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1628
1628
|
}, "strip", z.ZodTypeAny, {
|
|
1629
|
-
field: "
|
|
1629
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1630
1630
|
autoFixable: boolean;
|
|
1631
1631
|
error?: string | null | undefined;
|
|
1632
1632
|
}, {
|
|
@@ -1635,20 +1635,20 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
1635
1635
|
error?: string | null | undefined;
|
|
1636
1636
|
}>, "many">>>;
|
|
1637
1637
|
}, "strip", z.ZodTypeAny, {
|
|
1638
|
-
maxAttempts: number;
|
|
1639
1638
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1640
1639
|
attemptNumber: number;
|
|
1640
|
+
maxAttempts: number;
|
|
1641
1641
|
previousHistoryId: string;
|
|
1642
1642
|
originalFailureDate: Date;
|
|
1643
1643
|
fields?: {
|
|
1644
|
-
field: "
|
|
1644
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1645
1645
|
autoFixable: boolean;
|
|
1646
1646
|
error?: string | null | undefined;
|
|
1647
1647
|
}[] | null | undefined;
|
|
1648
1648
|
}, {
|
|
1649
|
-
maxAttempts: number;
|
|
1650
1649
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1651
1650
|
attemptNumber: number;
|
|
1651
|
+
maxAttempts: number;
|
|
1652
1652
|
previousHistoryId: string;
|
|
1653
1653
|
originalFailureDate: Date;
|
|
1654
1654
|
fields?: {
|
|
@@ -1661,13 +1661,13 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
1661
1661
|
}, "strip", z.ZodTypeAny, {
|
|
1662
1662
|
type: "SCHEDULED_RETRY";
|
|
1663
1663
|
data: {
|
|
1664
|
-
maxAttempts: number;
|
|
1665
1664
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1666
1665
|
attemptNumber: number;
|
|
1666
|
+
maxAttempts: number;
|
|
1667
1667
|
previousHistoryId: string;
|
|
1668
1668
|
originalFailureDate: Date;
|
|
1669
1669
|
fields?: {
|
|
1670
|
-
field: "
|
|
1670
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1671
1671
|
autoFixable: boolean;
|
|
1672
1672
|
error?: string | null | undefined;
|
|
1673
1673
|
}[] | null | undefined;
|
|
@@ -1675,9 +1675,9 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
1675
1675
|
}, {
|
|
1676
1676
|
type: "SCHEDULED_RETRY";
|
|
1677
1677
|
data: {
|
|
1678
|
-
maxAttempts: number;
|
|
1679
1678
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1680
1679
|
attemptNumber: number;
|
|
1680
|
+
maxAttempts: number;
|
|
1681
1681
|
previousHistoryId: string;
|
|
1682
1682
|
originalFailureDate: Date;
|
|
1683
1683
|
fields?: {
|
|
@@ -1834,11 +1834,12 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
1834
1834
|
id: string;
|
|
1835
1835
|
createdAt: Date;
|
|
1836
1836
|
itemId: number;
|
|
1837
|
+
accountId?: string | null | undefined;
|
|
1837
1838
|
data?: {
|
|
1838
1839
|
type: "ACTION_CANCELED";
|
|
1839
1840
|
data: {
|
|
1840
1841
|
targetItemHistoryId: string;
|
|
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" | null | undefined;
|
|
1842
|
+
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;
|
|
1842
1843
|
details?: string | null | undefined;
|
|
1843
1844
|
};
|
|
1844
1845
|
} | {
|
|
@@ -1869,7 +1870,7 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
1869
1870
|
accountId?: string | null | undefined;
|
|
1870
1871
|
reason?: string | null | undefined;
|
|
1871
1872
|
fields?: {
|
|
1872
|
-
field: "
|
|
1873
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1873
1874
|
autoFixable: boolean;
|
|
1874
1875
|
error?: string | null | undefined;
|
|
1875
1876
|
}[] | null | undefined;
|
|
@@ -1899,23 +1900,23 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
1899
1900
|
post: {
|
|
1900
1901
|
platformId: string;
|
|
1901
1902
|
post: {
|
|
1903
|
+
size?: string | null | undefined;
|
|
1902
1904
|
status?: string | null | undefined;
|
|
1903
1905
|
title?: string | null | undefined;
|
|
1904
1906
|
description?: string | null | undefined;
|
|
1905
|
-
brand?: string | null | undefined;
|
|
1906
|
-
statusId?: number | null | undefined;
|
|
1907
|
-
sizeId?: number | null | undefined;
|
|
1908
|
-
colorIds?: number[] | null | undefined;
|
|
1909
|
-
packageSizeId?: number | null | undefined;
|
|
1910
1907
|
price?: number | null | undefined;
|
|
1911
1908
|
currency?: string | null | undefined;
|
|
1909
|
+
brand?: string | null | undefined;
|
|
1912
1910
|
catalog?: string | null | undefined;
|
|
1913
1911
|
catalogId?: number | null | undefined;
|
|
1914
1912
|
colors?: string[] | null | undefined;
|
|
1913
|
+
colorIds?: number[] | null | undefined;
|
|
1915
1914
|
measurementLength?: number | null | undefined;
|
|
1916
1915
|
measurementWidth?: number | null | undefined;
|
|
1916
|
+
packageSizeId?: number | null | undefined;
|
|
1917
1917
|
photoUrls?: string[] | null | undefined;
|
|
1918
|
-
|
|
1918
|
+
sizeId?: number | null | undefined;
|
|
1919
|
+
statusId?: number | null | undefined;
|
|
1919
1920
|
isDraft?: boolean | null | undefined;
|
|
1920
1921
|
isArchived?: boolean | null | undefined;
|
|
1921
1922
|
isUnisex?: boolean | null | undefined;
|
|
@@ -1958,8 +1959,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
1958
1959
|
} | {
|
|
1959
1960
|
type: "LIFECYCLE_STARTED";
|
|
1960
1961
|
data: {
|
|
1961
|
-
caseId: string;
|
|
1962
1962
|
accountId: string;
|
|
1963
|
+
caseId: string;
|
|
1963
1964
|
isRepeat?: boolean | null | undefined;
|
|
1964
1965
|
};
|
|
1965
1966
|
} | {
|
|
@@ -1998,17 +1999,17 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
1998
1999
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1999
2000
|
} | null | undefined;
|
|
2000
2001
|
} | null | undefined;
|
|
2001
|
-
publishingDate?: Date | null | undefined;
|
|
2002
|
-
isTransfer?: boolean | null | undefined;
|
|
2003
2002
|
targetAccountId?: string | null | undefined;
|
|
2004
2003
|
allowIfDeleted?: boolean | null | undefined;
|
|
2004
|
+
publishingDate?: Date | null | undefined;
|
|
2005
|
+
isTransfer?: boolean | null | undefined;
|
|
2005
2006
|
};
|
|
2006
2007
|
} | {
|
|
2007
2008
|
type: "REPUBLISHING_RETRY";
|
|
2008
2009
|
data: {
|
|
2009
|
-
maxAttempts: number;
|
|
2010
2010
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2011
2011
|
attemptNumber: number;
|
|
2012
|
+
maxAttempts: number;
|
|
2012
2013
|
previousHistoryId: string;
|
|
2013
2014
|
originalFailureDate: Date;
|
|
2014
2015
|
payload?: {
|
|
@@ -2036,7 +2037,7 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2036
2037
|
} | null | undefined;
|
|
2037
2038
|
} | null | undefined;
|
|
2038
2039
|
fields?: {
|
|
2039
|
-
field: "
|
|
2040
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2040
2041
|
autoFixable: boolean;
|
|
2041
2042
|
error?: string | null | undefined;
|
|
2042
2043
|
}[] | null | undefined;
|
|
@@ -2050,13 +2051,13 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2050
2051
|
} | {
|
|
2051
2052
|
type: "SCHEDULED_RETRY";
|
|
2052
2053
|
data: {
|
|
2053
|
-
maxAttempts: number;
|
|
2054
2054
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2055
2055
|
attemptNumber: number;
|
|
2056
|
+
maxAttempts: number;
|
|
2056
2057
|
previousHistoryId: string;
|
|
2057
2058
|
originalFailureDate: Date;
|
|
2058
2059
|
fields?: {
|
|
2059
|
-
field: "
|
|
2060
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2060
2061
|
autoFixable: boolean;
|
|
2061
2062
|
error?: string | null | undefined;
|
|
2062
2063
|
}[] | null | undefined;
|
|
@@ -2085,7 +2086,6 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2085
2086
|
targetDate?: Date | null | undefined;
|
|
2086
2087
|
};
|
|
2087
2088
|
} | null | undefined;
|
|
2088
|
-
accountId?: string | null | undefined;
|
|
2089
2089
|
targetDate?: Date | null | undefined;
|
|
2090
2090
|
requestId?: string | null | undefined;
|
|
2091
2091
|
targetHistoryId?: string | null | undefined;
|
|
@@ -2094,6 +2094,7 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2094
2094
|
createdAt: Date;
|
|
2095
2095
|
itemId: number;
|
|
2096
2096
|
type?: unknown;
|
|
2097
|
+
accountId?: string | null | undefined;
|
|
2097
2098
|
data?: {
|
|
2098
2099
|
type: "ACTION_CANCELED";
|
|
2099
2100
|
data: {
|
|
@@ -2159,23 +2160,23 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2159
2160
|
post: {
|
|
2160
2161
|
platformId: string;
|
|
2161
2162
|
post: {
|
|
2163
|
+
size?: string | null | undefined;
|
|
2162
2164
|
status?: string | null | undefined;
|
|
2163
2165
|
title?: string | null | undefined;
|
|
2164
2166
|
description?: string | null | undefined;
|
|
2165
|
-
brand?: string | null | undefined;
|
|
2166
|
-
statusId?: number | null | undefined;
|
|
2167
|
-
sizeId?: number | null | undefined;
|
|
2168
|
-
colorIds?: number[] | null | undefined;
|
|
2169
|
-
packageSizeId?: number | null | undefined;
|
|
2170
2167
|
price?: number | null | undefined;
|
|
2171
2168
|
currency?: string | null | undefined;
|
|
2169
|
+
brand?: string | null | undefined;
|
|
2172
2170
|
catalog?: string | null | undefined;
|
|
2173
2171
|
catalogId?: number | null | undefined;
|
|
2174
2172
|
colors?: string[] | null | undefined;
|
|
2173
|
+
colorIds?: number[] | null | undefined;
|
|
2175
2174
|
measurementLength?: number | null | undefined;
|
|
2176
2175
|
measurementWidth?: number | null | undefined;
|
|
2176
|
+
packageSizeId?: number | null | undefined;
|
|
2177
2177
|
photoUrls?: string[] | null | undefined;
|
|
2178
|
-
|
|
2178
|
+
sizeId?: number | null | undefined;
|
|
2179
|
+
statusId?: number | null | undefined;
|
|
2179
2180
|
isDraft?: boolean | null | undefined;
|
|
2180
2181
|
isArchived?: boolean | null | undefined;
|
|
2181
2182
|
isUnisex?: boolean | null | undefined;
|
|
@@ -2218,8 +2219,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2218
2219
|
} | {
|
|
2219
2220
|
type: "LIFECYCLE_STARTED";
|
|
2220
2221
|
data: {
|
|
2221
|
-
caseId: string;
|
|
2222
2222
|
accountId: string;
|
|
2223
|
+
caseId: string;
|
|
2223
2224
|
isRepeat?: boolean | null | undefined;
|
|
2224
2225
|
};
|
|
2225
2226
|
} | {
|
|
@@ -2258,17 +2259,17 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2258
2259
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
2259
2260
|
} | null | undefined;
|
|
2260
2261
|
} | null | undefined;
|
|
2261
|
-
publishingDate?: Date | null | undefined;
|
|
2262
|
-
isTransfer?: boolean | null | undefined;
|
|
2263
2262
|
targetAccountId?: string | null | undefined;
|
|
2264
2263
|
allowIfDeleted?: boolean | null | undefined;
|
|
2264
|
+
publishingDate?: Date | null | undefined;
|
|
2265
|
+
isTransfer?: boolean | null | undefined;
|
|
2265
2266
|
};
|
|
2266
2267
|
} | {
|
|
2267
2268
|
type: "REPUBLISHING_RETRY";
|
|
2268
2269
|
data: {
|
|
2269
|
-
maxAttempts: number;
|
|
2270
2270
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2271
2271
|
attemptNumber: number;
|
|
2272
|
+
maxAttempts: number;
|
|
2272
2273
|
previousHistoryId: string;
|
|
2273
2274
|
originalFailureDate: Date;
|
|
2274
2275
|
payload?: {
|
|
@@ -2310,9 +2311,9 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2310
2311
|
} | {
|
|
2311
2312
|
type: "SCHEDULED_RETRY";
|
|
2312
2313
|
data: {
|
|
2313
|
-
maxAttempts: number;
|
|
2314
2314
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2315
2315
|
attemptNumber: number;
|
|
2316
|
+
maxAttempts: number;
|
|
2316
2317
|
previousHistoryId: string;
|
|
2317
2318
|
originalFailureDate: Date;
|
|
2318
2319
|
fields?: {
|
|
@@ -2345,7 +2346,6 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2345
2346
|
targetDate?: Date | null | undefined;
|
|
2346
2347
|
};
|
|
2347
2348
|
} | null | undefined;
|
|
2348
|
-
accountId?: string | null | undefined;
|
|
2349
2349
|
targetDate?: Date | null | undefined;
|
|
2350
2350
|
requestId?: string | null | undefined;
|
|
2351
2351
|
targetHistoryId?: string | null | undefined;
|
|
@@ -2395,15 +2395,15 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2395
2395
|
}, "strip", z.ZodTypeAny, {
|
|
2396
2396
|
path: string;
|
|
2397
2397
|
id: string;
|
|
2398
|
-
createdAt: Date;
|
|
2399
2398
|
userId: number;
|
|
2399
|
+
createdAt: Date;
|
|
2400
2400
|
signedUrl: string;
|
|
2401
2401
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2402
2402
|
}, {
|
|
2403
2403
|
path: string;
|
|
2404
2404
|
id: string;
|
|
2405
|
-
createdAt: Date;
|
|
2406
2405
|
userId: number;
|
|
2406
|
+
createdAt: Date;
|
|
2407
2407
|
signedUrl: string;
|
|
2408
2408
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2409
2409
|
}>>>;
|
|
@@ -2414,9 +2414,9 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2414
2414
|
phoneNumberRequiredAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2415
2415
|
}, "strip", z.ZodTypeAny, {
|
|
2416
2416
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
2417
|
-
name: string;
|
|
2418
|
-
userId: number;
|
|
2419
2417
|
accountId: string;
|
|
2418
|
+
userId: number;
|
|
2419
|
+
name: string;
|
|
2420
2420
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2421
2421
|
locale?: string | null | undefined;
|
|
2422
2422
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -2435,8 +2435,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2435
2435
|
profilePicture?: {
|
|
2436
2436
|
path: string;
|
|
2437
2437
|
id: string;
|
|
2438
|
-
createdAt: Date;
|
|
2439
2438
|
userId: number;
|
|
2439
|
+
createdAt: Date;
|
|
2440
2440
|
signedUrl: string;
|
|
2441
2441
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2442
2442
|
} | null | undefined;
|
|
@@ -2444,9 +2444,9 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2444
2444
|
walletActivationRequiredAt?: Date | null | undefined;
|
|
2445
2445
|
phoneNumberRequiredAt?: Date | null | undefined;
|
|
2446
2446
|
}, {
|
|
2447
|
-
name: string;
|
|
2448
|
-
userId: number;
|
|
2449
2447
|
accountId: string;
|
|
2448
|
+
userId: number;
|
|
2449
|
+
name: string;
|
|
2450
2450
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2451
2451
|
status?: unknown;
|
|
2452
2452
|
locale?: string | null | undefined;
|
|
@@ -2466,8 +2466,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2466
2466
|
profilePicture?: {
|
|
2467
2467
|
path: string;
|
|
2468
2468
|
id: string;
|
|
2469
|
-
createdAt: Date;
|
|
2470
2469
|
userId: number;
|
|
2470
|
+
createdAt: Date;
|
|
2471
2471
|
signedUrl: string;
|
|
2472
2472
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2473
2473
|
} | null | undefined;
|
|
@@ -2482,11 +2482,12 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2482
2482
|
boostedUntil: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2483
2483
|
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"]>>>>;
|
|
2484
2484
|
orderType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PURCHASE", "SALE"]>>>;
|
|
2485
|
+
isBoosted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2485
2486
|
}, "strip", z.ZodTypeAny, {
|
|
2486
2487
|
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
2487
2488
|
id: string;
|
|
2488
|
-
createdAt: Date;
|
|
2489
2489
|
accountId: string;
|
|
2490
|
+
createdAt: Date;
|
|
2490
2491
|
itemId: number;
|
|
2491
2492
|
platformId: string;
|
|
2492
2493
|
platformUrl: string;
|
|
@@ -2500,9 +2501,9 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2500
2501
|
favoritesCount?: number | null | undefined;
|
|
2501
2502
|
account?: {
|
|
2502
2503
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
2503
|
-
name: string;
|
|
2504
|
-
userId: number;
|
|
2505
2504
|
accountId: string;
|
|
2505
|
+
userId: number;
|
|
2506
|
+
name: string;
|
|
2506
2507
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2507
2508
|
locale?: string | null | undefined;
|
|
2508
2509
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -2521,8 +2522,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2521
2522
|
profilePicture?: {
|
|
2522
2523
|
path: string;
|
|
2523
2524
|
id: string;
|
|
2524
|
-
createdAt: Date;
|
|
2525
2525
|
userId: number;
|
|
2526
|
+
createdAt: Date;
|
|
2526
2527
|
signedUrl: string;
|
|
2527
2528
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2528
2529
|
} | null | undefined;
|
|
@@ -2532,10 +2533,11 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2532
2533
|
} | null | undefined;
|
|
2533
2534
|
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;
|
|
2534
2535
|
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
2536
|
+
isBoosted?: boolean | null | undefined;
|
|
2535
2537
|
}, {
|
|
2536
2538
|
id: string;
|
|
2537
|
-
createdAt: Date;
|
|
2538
2539
|
accountId: string;
|
|
2540
|
+
createdAt: Date;
|
|
2539
2541
|
itemId: number;
|
|
2540
2542
|
platformId: string;
|
|
2541
2543
|
platformUrl: string;
|
|
@@ -2549,9 +2551,9 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2549
2551
|
viewsCount?: number | null | undefined;
|
|
2550
2552
|
favoritesCount?: number | null | undefined;
|
|
2551
2553
|
account?: {
|
|
2552
|
-
name: string;
|
|
2553
|
-
userId: number;
|
|
2554
2554
|
accountId: string;
|
|
2555
|
+
userId: number;
|
|
2556
|
+
name: string;
|
|
2555
2557
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2556
2558
|
status?: unknown;
|
|
2557
2559
|
locale?: string | null | undefined;
|
|
@@ -2571,8 +2573,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2571
2573
|
profilePicture?: {
|
|
2572
2574
|
path: string;
|
|
2573
2575
|
id: string;
|
|
2574
|
-
createdAt: Date;
|
|
2575
2576
|
userId: number;
|
|
2577
|
+
createdAt: Date;
|
|
2576
2578
|
signedUrl: string;
|
|
2577
2579
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2578
2580
|
} | null | undefined;
|
|
@@ -2582,11 +2584,12 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2582
2584
|
} | null | undefined;
|
|
2583
2585
|
orderStatus?: unknown;
|
|
2584
2586
|
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
2587
|
+
isBoosted?: boolean | null | undefined;
|
|
2585
2588
|
}>, "many">>>;
|
|
2586
2589
|
actions: z.ZodObject<{
|
|
2587
2590
|
perAccount: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodCatch<z.ZodEnum<["PUBLISH", "PUBLISH_CANCEL", "REPUBLISH", "REPUBLISH_CANCEL", "UPDATE", "UPDATE_CANCEL", "BOOST", "UNKNOWN"]>>, "many">>;
|
|
2588
2591
|
}, "strip", z.ZodTypeAny, {
|
|
2589
|
-
perAccount: Record<string, ("
|
|
2592
|
+
perAccount: Record<string, ("PUBLISH" | "REPUBLISH" | "UPDATE" | "UNKNOWN" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE_CANCEL" | "BOOST")[]>;
|
|
2590
2593
|
}, {
|
|
2591
2594
|
perAccount: Record<string, unknown[]>;
|
|
2592
2595
|
}>;
|
|
@@ -2611,15 +2614,15 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2611
2614
|
}, "strip", z.ZodTypeAny, {
|
|
2612
2615
|
path: string;
|
|
2613
2616
|
id: string;
|
|
2614
|
-
createdAt: Date;
|
|
2615
2617
|
userId: number;
|
|
2618
|
+
createdAt: Date;
|
|
2616
2619
|
signedUrl: string;
|
|
2617
2620
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2618
2621
|
}, {
|
|
2619
2622
|
path: string;
|
|
2620
2623
|
id: string;
|
|
2621
|
-
createdAt: Date;
|
|
2622
2624
|
userId: number;
|
|
2625
|
+
createdAt: Date;
|
|
2623
2626
|
signedUrl: string;
|
|
2624
2627
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2625
2628
|
}>>>;
|
|
@@ -2633,15 +2636,15 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2633
2636
|
}, "strip", z.ZodTypeAny, {
|
|
2634
2637
|
path: string;
|
|
2635
2638
|
id: string;
|
|
2636
|
-
createdAt: Date;
|
|
2637
2639
|
userId: number;
|
|
2640
|
+
createdAt: Date;
|
|
2638
2641
|
signedUrl: string;
|
|
2639
2642
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2640
2643
|
}, {
|
|
2641
2644
|
path: string;
|
|
2642
2645
|
id: string;
|
|
2643
|
-
createdAt: Date;
|
|
2644
2646
|
userId: number;
|
|
2647
|
+
createdAt: Date;
|
|
2645
2648
|
signedUrl: string;
|
|
2646
2649
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2647
2650
|
}>>>;
|
|
@@ -2655,81 +2658,81 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2655
2658
|
}, "strip", z.ZodTypeAny, {
|
|
2656
2659
|
path: string;
|
|
2657
2660
|
id: string;
|
|
2658
|
-
createdAt: Date;
|
|
2659
2661
|
userId: number;
|
|
2662
|
+
createdAt: Date;
|
|
2660
2663
|
signedUrl: string;
|
|
2661
2664
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2662
2665
|
}, {
|
|
2663
2666
|
path: string;
|
|
2664
2667
|
id: string;
|
|
2665
|
-
createdAt: Date;
|
|
2666
2668
|
userId: number;
|
|
2669
|
+
createdAt: Date;
|
|
2667
2670
|
signedUrl: string;
|
|
2668
2671
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2669
2672
|
}>>>;
|
|
2670
2673
|
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"]>>>>;
|
|
2671
2674
|
}, "strip", z.ZodTypeAny, {
|
|
2672
2675
|
id: string;
|
|
2673
|
-
fileId: string;
|
|
2674
2676
|
orderId: string;
|
|
2677
|
+
fileId: string;
|
|
2675
2678
|
nonCroppedFileId: string;
|
|
2676
2679
|
originalFileId: string;
|
|
2677
|
-
|
|
2680
|
+
file?: {
|
|
2678
2681
|
path: string;
|
|
2679
2682
|
id: string;
|
|
2680
|
-
createdAt: Date;
|
|
2681
2683
|
userId: number;
|
|
2684
|
+
createdAt: Date;
|
|
2682
2685
|
signedUrl: string;
|
|
2683
2686
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2684
2687
|
} | null | undefined;
|
|
2685
|
-
|
|
2686
|
-
file?: {
|
|
2688
|
+
nonCroppedFile?: {
|
|
2687
2689
|
path: string;
|
|
2688
2690
|
id: string;
|
|
2689
|
-
createdAt: Date;
|
|
2690
2691
|
userId: number;
|
|
2692
|
+
createdAt: Date;
|
|
2691
2693
|
signedUrl: string;
|
|
2692
2694
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2693
2695
|
} | null | undefined;
|
|
2694
|
-
|
|
2696
|
+
originalFile?: {
|
|
2695
2697
|
path: string;
|
|
2696
2698
|
id: string;
|
|
2697
|
-
createdAt: Date;
|
|
2698
2699
|
userId: number;
|
|
2700
|
+
createdAt: Date;
|
|
2699
2701
|
signedUrl: string;
|
|
2700
2702
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2701
2703
|
} | null | undefined;
|
|
2704
|
+
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;
|
|
2702
2705
|
}, {
|
|
2703
2706
|
id: string;
|
|
2704
|
-
fileId: string;
|
|
2705
2707
|
orderId: string;
|
|
2708
|
+
fileId: string;
|
|
2706
2709
|
nonCroppedFileId: string;
|
|
2707
2710
|
originalFileId: string;
|
|
2708
|
-
|
|
2711
|
+
file?: {
|
|
2709
2712
|
path: string;
|
|
2710
2713
|
id: string;
|
|
2711
|
-
createdAt: Date;
|
|
2712
2714
|
userId: number;
|
|
2715
|
+
createdAt: Date;
|
|
2713
2716
|
signedUrl: string;
|
|
2714
2717
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2715
2718
|
} | null | undefined;
|
|
2716
|
-
|
|
2717
|
-
file?: {
|
|
2719
|
+
nonCroppedFile?: {
|
|
2718
2720
|
path: string;
|
|
2719
2721
|
id: string;
|
|
2720
|
-
createdAt: Date;
|
|
2721
2722
|
userId: number;
|
|
2723
|
+
createdAt: Date;
|
|
2722
2724
|
signedUrl: string;
|
|
2723
2725
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2724
2726
|
} | null | undefined;
|
|
2725
|
-
|
|
2727
|
+
originalFile?: {
|
|
2726
2728
|
path: string;
|
|
2727
2729
|
id: string;
|
|
2728
|
-
createdAt: Date;
|
|
2729
2730
|
userId: number;
|
|
2731
|
+
createdAt: Date;
|
|
2730
2732
|
signedUrl: string;
|
|
2731
2733
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2732
2734
|
} | null | undefined;
|
|
2735
|
+
carrier?: unknown;
|
|
2733
2736
|
}>, "many">>>;
|
|
2734
2737
|
invoices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2735
2738
|
id: z.ZodString;
|
|
@@ -2756,15 +2759,15 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2756
2759
|
}, "strip", z.ZodTypeAny, {
|
|
2757
2760
|
path: string;
|
|
2758
2761
|
id: string;
|
|
2759
|
-
createdAt: Date;
|
|
2760
2762
|
userId: number;
|
|
2763
|
+
createdAt: Date;
|
|
2761
2764
|
signedUrl: string;
|
|
2762
2765
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2763
2766
|
}, {
|
|
2764
2767
|
path: string;
|
|
2765
2768
|
id: string;
|
|
2766
|
-
createdAt: Date;
|
|
2767
2769
|
userId: number;
|
|
2770
|
+
createdAt: Date;
|
|
2768
2771
|
signedUrl: string;
|
|
2769
2772
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2770
2773
|
}>>>;
|
|
@@ -2773,8 +2776,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2773
2776
|
updatedAt: z.ZodDate;
|
|
2774
2777
|
}, "strip", z.ZodTypeAny, {
|
|
2775
2778
|
id: string;
|
|
2776
|
-
createdAt: Date;
|
|
2777
2779
|
userId: number;
|
|
2780
|
+
createdAt: Date;
|
|
2778
2781
|
updatedAt: Date;
|
|
2779
2782
|
businessName: string;
|
|
2780
2783
|
address: string;
|
|
@@ -2787,15 +2790,15 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2787
2790
|
logo?: {
|
|
2788
2791
|
path: string;
|
|
2789
2792
|
id: string;
|
|
2790
|
-
createdAt: Date;
|
|
2791
2793
|
userId: number;
|
|
2794
|
+
createdAt: Date;
|
|
2792
2795
|
signedUrl: string;
|
|
2793
2796
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2794
2797
|
} | null | undefined;
|
|
2795
2798
|
}, {
|
|
2796
2799
|
id: string;
|
|
2797
|
-
createdAt: Date;
|
|
2798
2800
|
userId: number;
|
|
2801
|
+
createdAt: Date;
|
|
2799
2802
|
updatedAt: Date;
|
|
2800
2803
|
businessName: string;
|
|
2801
2804
|
address: string;
|
|
@@ -2808,8 +2811,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2808
2811
|
logo?: {
|
|
2809
2812
|
path: string;
|
|
2810
2813
|
id: string;
|
|
2811
|
-
createdAt: Date;
|
|
2812
2814
|
userId: number;
|
|
2815
|
+
createdAt: Date;
|
|
2813
2816
|
signedUrl: string;
|
|
2814
2817
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2815
2818
|
} | null | undefined;
|
|
@@ -2838,34 +2841,34 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2838
2841
|
firstName: string;
|
|
2839
2842
|
lastName: string;
|
|
2840
2843
|
phoneVerified: boolean;
|
|
2841
|
-
|
|
2844
|
+
postalCode?: string | null | undefined;
|
|
2845
|
+
city?: string | null | undefined;
|
|
2846
|
+
country?: string | null | undefined;
|
|
2842
2847
|
email?: string | null | undefined;
|
|
2848
|
+
addressLine1?: string | null | undefined;
|
|
2849
|
+
addressLine2?: string | null | undefined;
|
|
2850
|
+
birthDate?: Date | null | undefined;
|
|
2843
2851
|
idNumber?: string | null | undefined;
|
|
2844
2852
|
phone?: string | null | undefined;
|
|
2845
2853
|
iban?: string | null | undefined;
|
|
2846
2854
|
bic?: string | null | undefined;
|
|
2847
|
-
addressLine1?: string | null | undefined;
|
|
2848
|
-
addressLine2?: string | null | undefined;
|
|
2849
|
-
city?: string | null | undefined;
|
|
2850
|
-
postalCode?: string | null | undefined;
|
|
2851
|
-
country?: string | null | undefined;
|
|
2852
2855
|
}, {
|
|
2853
2856
|
id: string;
|
|
2854
2857
|
userId: number;
|
|
2855
2858
|
firstName: string;
|
|
2856
2859
|
lastName: string;
|
|
2857
2860
|
phoneVerified: boolean;
|
|
2858
|
-
|
|
2861
|
+
postalCode?: string | null | undefined;
|
|
2862
|
+
city?: string | null | undefined;
|
|
2863
|
+
country?: string | null | undefined;
|
|
2859
2864
|
email?: string | null | undefined;
|
|
2865
|
+
addressLine1?: string | null | undefined;
|
|
2866
|
+
addressLine2?: string | null | undefined;
|
|
2867
|
+
birthDate?: Date | null | undefined;
|
|
2860
2868
|
idNumber?: string | null | undefined;
|
|
2861
2869
|
phone?: string | null | undefined;
|
|
2862
2870
|
iban?: string | null | undefined;
|
|
2863
2871
|
bic?: string | null | undefined;
|
|
2864
|
-
addressLine1?: string | null | undefined;
|
|
2865
|
-
addressLine2?: string | null | undefined;
|
|
2866
|
-
city?: string | null | undefined;
|
|
2867
|
-
postalCode?: string | null | undefined;
|
|
2868
|
-
country?: string | null | undefined;
|
|
2869
2872
|
}>>>;
|
|
2870
2873
|
orderId: z.ZodString;
|
|
2871
2874
|
fileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2879,15 +2882,15 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2879
2882
|
}, "strip", z.ZodTypeAny, {
|
|
2880
2883
|
path: string;
|
|
2881
2884
|
id: string;
|
|
2882
|
-
createdAt: Date;
|
|
2883
2885
|
userId: number;
|
|
2886
|
+
createdAt: Date;
|
|
2884
2887
|
signedUrl: string;
|
|
2885
2888
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2886
2889
|
}, {
|
|
2887
2890
|
path: string;
|
|
2888
2891
|
id: string;
|
|
2889
|
-
createdAt: Date;
|
|
2890
2892
|
userId: number;
|
|
2893
|
+
createdAt: Date;
|
|
2891
2894
|
signedUrl: string;
|
|
2892
2895
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2893
2896
|
}>>>;
|
|
@@ -2912,21 +2915,21 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2912
2915
|
total: z.ZodNumber;
|
|
2913
2916
|
createdAt: z.ZodDate;
|
|
2914
2917
|
}, "strip", z.ZodTypeAny, {
|
|
2915
|
-
|
|
2918
|
+
quantity: number;
|
|
2916
2919
|
id: number;
|
|
2920
|
+
description: string;
|
|
2917
2921
|
createdAt: Date;
|
|
2918
2922
|
invoiceId: string;
|
|
2919
|
-
quantity: number;
|
|
2920
2923
|
unitPrice: number;
|
|
2921
2924
|
total: number;
|
|
2922
2925
|
itemOnPlatformId?: string | null | undefined;
|
|
2923
2926
|
vatRate?: number | null | undefined;
|
|
2924
2927
|
}, {
|
|
2925
|
-
|
|
2928
|
+
quantity: number;
|
|
2926
2929
|
id: number;
|
|
2930
|
+
description: string;
|
|
2927
2931
|
createdAt: Date;
|
|
2928
2932
|
invoiceId: string;
|
|
2929
|
-
quantity: number;
|
|
2930
2933
|
unitPrice: number;
|
|
2931
2934
|
total: number;
|
|
2932
2935
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -2938,8 +2941,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2938
2941
|
type: "SALE" | "PURCHASE";
|
|
2939
2942
|
status: string;
|
|
2940
2943
|
id: string;
|
|
2941
|
-
createdAt: Date;
|
|
2942
2944
|
userId: number;
|
|
2945
|
+
createdAt: Date;
|
|
2943
2946
|
currency: string;
|
|
2944
2947
|
orderId: string;
|
|
2945
2948
|
updatedAt: Date;
|
|
@@ -2948,21 +2951,21 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2948
2951
|
businessProfileId: string;
|
|
2949
2952
|
issueDate: Date;
|
|
2950
2953
|
subtotal: number;
|
|
2951
|
-
fileId?: string | null | undefined;
|
|
2952
2954
|
vatAmount?: number | null | undefined;
|
|
2955
|
+
fileId?: string | null | undefined;
|
|
2953
2956
|
file?: {
|
|
2954
2957
|
path: string;
|
|
2955
2958
|
id: string;
|
|
2956
|
-
createdAt: Date;
|
|
2957
2959
|
userId: number;
|
|
2960
|
+
createdAt: Date;
|
|
2958
2961
|
signedUrl: string;
|
|
2959
2962
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2960
2963
|
} | null | undefined;
|
|
2961
2964
|
vatRate?: number | null | undefined;
|
|
2962
2965
|
businessProfile?: {
|
|
2963
2966
|
id: string;
|
|
2964
|
-
createdAt: Date;
|
|
2965
2967
|
userId: number;
|
|
2968
|
+
createdAt: Date;
|
|
2966
2969
|
updatedAt: Date;
|
|
2967
2970
|
businessName: string;
|
|
2968
2971
|
address: string;
|
|
@@ -2975,8 +2978,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2975
2978
|
logo?: {
|
|
2976
2979
|
path: string;
|
|
2977
2980
|
id: string;
|
|
2978
|
-
createdAt: Date;
|
|
2979
2981
|
userId: number;
|
|
2982
|
+
createdAt: Date;
|
|
2980
2983
|
signedUrl: string;
|
|
2981
2984
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2982
2985
|
} | null | undefined;
|
|
@@ -2988,26 +2991,26 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2988
2991
|
firstName: string;
|
|
2989
2992
|
lastName: string;
|
|
2990
2993
|
phoneVerified: boolean;
|
|
2991
|
-
|
|
2994
|
+
postalCode?: string | null | undefined;
|
|
2995
|
+
city?: string | null | undefined;
|
|
2996
|
+
country?: string | null | undefined;
|
|
2992
2997
|
email?: string | null | undefined;
|
|
2998
|
+
addressLine1?: string | null | undefined;
|
|
2999
|
+
addressLine2?: string | null | undefined;
|
|
3000
|
+
birthDate?: Date | null | undefined;
|
|
2993
3001
|
idNumber?: string | null | undefined;
|
|
2994
3002
|
phone?: string | null | undefined;
|
|
2995
3003
|
iban?: string | null | undefined;
|
|
2996
3004
|
bic?: string | null | undefined;
|
|
2997
|
-
addressLine1?: string | null | undefined;
|
|
2998
|
-
addressLine2?: string | null | undefined;
|
|
2999
|
-
city?: string | null | undefined;
|
|
3000
|
-
postalCode?: string | null | undefined;
|
|
3001
|
-
country?: string | null | undefined;
|
|
3002
3005
|
} | null | undefined;
|
|
3003
3006
|
dueDate?: Date | null | undefined;
|
|
3004
3007
|
notes?: string | null | undefined;
|
|
3005
3008
|
lineItems?: {
|
|
3006
|
-
|
|
3009
|
+
quantity: number;
|
|
3007
3010
|
id: number;
|
|
3011
|
+
description: string;
|
|
3008
3012
|
createdAt: Date;
|
|
3009
3013
|
invoiceId: string;
|
|
3010
|
-
quantity: number;
|
|
3011
3014
|
unitPrice: number;
|
|
3012
3015
|
total: number;
|
|
3013
3016
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3017,8 +3020,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3017
3020
|
type: "SALE" | "PURCHASE";
|
|
3018
3021
|
status: string;
|
|
3019
3022
|
id: string;
|
|
3020
|
-
createdAt: Date;
|
|
3021
3023
|
userId: number;
|
|
3024
|
+
createdAt: Date;
|
|
3022
3025
|
currency: string;
|
|
3023
3026
|
orderId: string;
|
|
3024
3027
|
updatedAt: Date;
|
|
@@ -3027,21 +3030,21 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3027
3030
|
businessProfileId: string;
|
|
3028
3031
|
issueDate: Date;
|
|
3029
3032
|
subtotal: number;
|
|
3030
|
-
fileId?: string | null | undefined;
|
|
3031
3033
|
vatAmount?: number | null | undefined;
|
|
3034
|
+
fileId?: string | null | undefined;
|
|
3032
3035
|
file?: {
|
|
3033
3036
|
path: string;
|
|
3034
3037
|
id: string;
|
|
3035
|
-
createdAt: Date;
|
|
3036
3038
|
userId: number;
|
|
3039
|
+
createdAt: Date;
|
|
3037
3040
|
signedUrl: string;
|
|
3038
3041
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3039
3042
|
} | null | undefined;
|
|
3040
3043
|
vatRate?: number | null | undefined;
|
|
3041
3044
|
businessProfile?: {
|
|
3042
3045
|
id: string;
|
|
3043
|
-
createdAt: Date;
|
|
3044
3046
|
userId: number;
|
|
3047
|
+
createdAt: Date;
|
|
3045
3048
|
updatedAt: Date;
|
|
3046
3049
|
businessName: string;
|
|
3047
3050
|
address: string;
|
|
@@ -3054,8 +3057,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3054
3057
|
logo?: {
|
|
3055
3058
|
path: string;
|
|
3056
3059
|
id: string;
|
|
3057
|
-
createdAt: Date;
|
|
3058
3060
|
userId: number;
|
|
3061
|
+
createdAt: Date;
|
|
3059
3062
|
signedUrl: string;
|
|
3060
3063
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3061
3064
|
} | null | undefined;
|
|
@@ -3067,26 +3070,26 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3067
3070
|
firstName: string;
|
|
3068
3071
|
lastName: string;
|
|
3069
3072
|
phoneVerified: boolean;
|
|
3070
|
-
|
|
3073
|
+
postalCode?: string | null | undefined;
|
|
3074
|
+
city?: string | null | undefined;
|
|
3075
|
+
country?: string | null | undefined;
|
|
3071
3076
|
email?: string | null | undefined;
|
|
3077
|
+
addressLine1?: string | null | undefined;
|
|
3078
|
+
addressLine2?: string | null | undefined;
|
|
3079
|
+
birthDate?: Date | null | undefined;
|
|
3072
3080
|
idNumber?: string | null | undefined;
|
|
3073
3081
|
phone?: string | null | undefined;
|
|
3074
3082
|
iban?: string | null | undefined;
|
|
3075
3083
|
bic?: string | null | undefined;
|
|
3076
|
-
addressLine1?: string | null | undefined;
|
|
3077
|
-
addressLine2?: string | null | undefined;
|
|
3078
|
-
city?: string | null | undefined;
|
|
3079
|
-
postalCode?: string | null | undefined;
|
|
3080
|
-
country?: string | null | undefined;
|
|
3081
3084
|
} | null | undefined;
|
|
3082
3085
|
dueDate?: Date | null | undefined;
|
|
3083
3086
|
notes?: string | null | undefined;
|
|
3084
3087
|
lineItems?: {
|
|
3085
|
-
|
|
3088
|
+
quantity: number;
|
|
3086
3089
|
id: number;
|
|
3090
|
+
description: string;
|
|
3087
3091
|
createdAt: Date;
|
|
3088
3092
|
invoiceId: string;
|
|
3089
|
-
quantity: number;
|
|
3090
3093
|
unitPrice: number;
|
|
3091
3094
|
total: number;
|
|
3092
3095
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3097,42 +3100,42 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3097
3100
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
3098
3101
|
labels?: {
|
|
3099
3102
|
id: string;
|
|
3100
|
-
fileId: string;
|
|
3101
3103
|
orderId: string;
|
|
3104
|
+
fileId: string;
|
|
3102
3105
|
nonCroppedFileId: string;
|
|
3103
3106
|
originalFileId: string;
|
|
3104
|
-
|
|
3107
|
+
file?: {
|
|
3105
3108
|
path: string;
|
|
3106
3109
|
id: string;
|
|
3107
|
-
createdAt: Date;
|
|
3108
3110
|
userId: number;
|
|
3111
|
+
createdAt: Date;
|
|
3109
3112
|
signedUrl: string;
|
|
3110
3113
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3111
3114
|
} | null | undefined;
|
|
3112
|
-
|
|
3113
|
-
file?: {
|
|
3115
|
+
nonCroppedFile?: {
|
|
3114
3116
|
path: string;
|
|
3115
3117
|
id: string;
|
|
3116
|
-
createdAt: Date;
|
|
3117
3118
|
userId: number;
|
|
3119
|
+
createdAt: Date;
|
|
3118
3120
|
signedUrl: string;
|
|
3119
3121
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3120
3122
|
} | null | undefined;
|
|
3121
|
-
|
|
3123
|
+
originalFile?: {
|
|
3122
3124
|
path: string;
|
|
3123
3125
|
id: string;
|
|
3124
|
-
createdAt: Date;
|
|
3125
3126
|
userId: number;
|
|
3127
|
+
createdAt: Date;
|
|
3126
3128
|
signedUrl: string;
|
|
3127
3129
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3128
3130
|
} | null | undefined;
|
|
3131
|
+
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;
|
|
3129
3132
|
}[] | null | undefined;
|
|
3130
3133
|
invoices?: {
|
|
3131
3134
|
type: "SALE" | "PURCHASE";
|
|
3132
3135
|
status: string;
|
|
3133
3136
|
id: string;
|
|
3134
|
-
createdAt: Date;
|
|
3135
3137
|
userId: number;
|
|
3138
|
+
createdAt: Date;
|
|
3136
3139
|
currency: string;
|
|
3137
3140
|
orderId: string;
|
|
3138
3141
|
updatedAt: Date;
|
|
@@ -3141,21 +3144,21 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3141
3144
|
businessProfileId: string;
|
|
3142
3145
|
issueDate: Date;
|
|
3143
3146
|
subtotal: number;
|
|
3144
|
-
fileId?: string | null | undefined;
|
|
3145
3147
|
vatAmount?: number | null | undefined;
|
|
3148
|
+
fileId?: string | null | undefined;
|
|
3146
3149
|
file?: {
|
|
3147
3150
|
path: string;
|
|
3148
3151
|
id: string;
|
|
3149
|
-
createdAt: Date;
|
|
3150
3152
|
userId: number;
|
|
3153
|
+
createdAt: Date;
|
|
3151
3154
|
signedUrl: string;
|
|
3152
3155
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3153
3156
|
} | null | undefined;
|
|
3154
3157
|
vatRate?: number | null | undefined;
|
|
3155
3158
|
businessProfile?: {
|
|
3156
3159
|
id: string;
|
|
3157
|
-
createdAt: Date;
|
|
3158
3160
|
userId: number;
|
|
3161
|
+
createdAt: Date;
|
|
3159
3162
|
updatedAt: Date;
|
|
3160
3163
|
businessName: string;
|
|
3161
3164
|
address: string;
|
|
@@ -3168,8 +3171,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3168
3171
|
logo?: {
|
|
3169
3172
|
path: string;
|
|
3170
3173
|
id: string;
|
|
3171
|
-
createdAt: Date;
|
|
3172
3174
|
userId: number;
|
|
3175
|
+
createdAt: Date;
|
|
3173
3176
|
signedUrl: string;
|
|
3174
3177
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3175
3178
|
} | null | undefined;
|
|
@@ -3181,26 +3184,26 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3181
3184
|
firstName: string;
|
|
3182
3185
|
lastName: string;
|
|
3183
3186
|
phoneVerified: boolean;
|
|
3184
|
-
|
|
3187
|
+
postalCode?: string | null | undefined;
|
|
3188
|
+
city?: string | null | undefined;
|
|
3189
|
+
country?: string | null | undefined;
|
|
3185
3190
|
email?: string | null | undefined;
|
|
3191
|
+
addressLine1?: string | null | undefined;
|
|
3192
|
+
addressLine2?: string | null | undefined;
|
|
3193
|
+
birthDate?: Date | null | undefined;
|
|
3186
3194
|
idNumber?: string | null | undefined;
|
|
3187
3195
|
phone?: string | null | undefined;
|
|
3188
3196
|
iban?: string | null | undefined;
|
|
3189
3197
|
bic?: string | null | undefined;
|
|
3190
|
-
addressLine1?: string | null | undefined;
|
|
3191
|
-
addressLine2?: string | null | undefined;
|
|
3192
|
-
city?: string | null | undefined;
|
|
3193
|
-
postalCode?: string | null | undefined;
|
|
3194
|
-
country?: string | null | undefined;
|
|
3195
3198
|
} | null | undefined;
|
|
3196
3199
|
dueDate?: Date | null | undefined;
|
|
3197
3200
|
notes?: string | null | undefined;
|
|
3198
3201
|
lineItems?: {
|
|
3199
|
-
|
|
3202
|
+
quantity: number;
|
|
3200
3203
|
id: number;
|
|
3204
|
+
description: string;
|
|
3201
3205
|
createdAt: Date;
|
|
3202
3206
|
invoiceId: string;
|
|
3203
|
-
quantity: number;
|
|
3204
3207
|
unitPrice: number;
|
|
3205
3208
|
total: number;
|
|
3206
3209
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3211,42 +3214,42 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3211
3214
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
3212
3215
|
labels?: {
|
|
3213
3216
|
id: string;
|
|
3214
|
-
fileId: string;
|
|
3215
3217
|
orderId: string;
|
|
3218
|
+
fileId: string;
|
|
3216
3219
|
nonCroppedFileId: string;
|
|
3217
3220
|
originalFileId: string;
|
|
3218
|
-
|
|
3221
|
+
file?: {
|
|
3219
3222
|
path: string;
|
|
3220
3223
|
id: string;
|
|
3221
|
-
createdAt: Date;
|
|
3222
3224
|
userId: number;
|
|
3225
|
+
createdAt: Date;
|
|
3223
3226
|
signedUrl: string;
|
|
3224
3227
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3225
3228
|
} | null | undefined;
|
|
3226
|
-
|
|
3227
|
-
file?: {
|
|
3229
|
+
nonCroppedFile?: {
|
|
3228
3230
|
path: string;
|
|
3229
3231
|
id: string;
|
|
3230
|
-
createdAt: Date;
|
|
3231
3232
|
userId: number;
|
|
3233
|
+
createdAt: Date;
|
|
3232
3234
|
signedUrl: string;
|
|
3233
3235
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3234
3236
|
} | null | undefined;
|
|
3235
|
-
|
|
3237
|
+
originalFile?: {
|
|
3236
3238
|
path: string;
|
|
3237
3239
|
id: string;
|
|
3238
|
-
createdAt: Date;
|
|
3239
3240
|
userId: number;
|
|
3241
|
+
createdAt: Date;
|
|
3240
3242
|
signedUrl: string;
|
|
3241
3243
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3242
3244
|
} | null | undefined;
|
|
3245
|
+
carrier?: unknown;
|
|
3243
3246
|
}[] | null | undefined;
|
|
3244
3247
|
invoices?: {
|
|
3245
3248
|
type: "SALE" | "PURCHASE";
|
|
3246
3249
|
status: string;
|
|
3247
3250
|
id: string;
|
|
3248
|
-
createdAt: Date;
|
|
3249
3251
|
userId: number;
|
|
3252
|
+
createdAt: Date;
|
|
3250
3253
|
currency: string;
|
|
3251
3254
|
orderId: string;
|
|
3252
3255
|
updatedAt: Date;
|
|
@@ -3255,21 +3258,21 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3255
3258
|
businessProfileId: string;
|
|
3256
3259
|
issueDate: Date;
|
|
3257
3260
|
subtotal: number;
|
|
3258
|
-
fileId?: string | null | undefined;
|
|
3259
3261
|
vatAmount?: number | null | undefined;
|
|
3262
|
+
fileId?: string | null | undefined;
|
|
3260
3263
|
file?: {
|
|
3261
3264
|
path: string;
|
|
3262
3265
|
id: string;
|
|
3263
|
-
createdAt: Date;
|
|
3264
3266
|
userId: number;
|
|
3267
|
+
createdAt: Date;
|
|
3265
3268
|
signedUrl: string;
|
|
3266
3269
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3267
3270
|
} | null | undefined;
|
|
3268
3271
|
vatRate?: number | null | undefined;
|
|
3269
3272
|
businessProfile?: {
|
|
3270
3273
|
id: string;
|
|
3271
|
-
createdAt: Date;
|
|
3272
3274
|
userId: number;
|
|
3275
|
+
createdAt: Date;
|
|
3273
3276
|
updatedAt: Date;
|
|
3274
3277
|
businessName: string;
|
|
3275
3278
|
address: string;
|
|
@@ -3282,8 +3285,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3282
3285
|
logo?: {
|
|
3283
3286
|
path: string;
|
|
3284
3287
|
id: string;
|
|
3285
|
-
createdAt: Date;
|
|
3286
3288
|
userId: number;
|
|
3289
|
+
createdAt: Date;
|
|
3287
3290
|
signedUrl: string;
|
|
3288
3291
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3289
3292
|
} | null | undefined;
|
|
@@ -3295,26 +3298,26 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3295
3298
|
firstName: string;
|
|
3296
3299
|
lastName: string;
|
|
3297
3300
|
phoneVerified: boolean;
|
|
3298
|
-
|
|
3301
|
+
postalCode?: string | null | undefined;
|
|
3302
|
+
city?: string | null | undefined;
|
|
3303
|
+
country?: string | null | undefined;
|
|
3299
3304
|
email?: string | null | undefined;
|
|
3305
|
+
addressLine1?: string | null | undefined;
|
|
3306
|
+
addressLine2?: string | null | undefined;
|
|
3307
|
+
birthDate?: Date | null | undefined;
|
|
3300
3308
|
idNumber?: string | null | undefined;
|
|
3301
3309
|
phone?: string | null | undefined;
|
|
3302
3310
|
iban?: string | null | undefined;
|
|
3303
3311
|
bic?: string | null | undefined;
|
|
3304
|
-
addressLine1?: string | null | undefined;
|
|
3305
|
-
addressLine2?: string | null | undefined;
|
|
3306
|
-
city?: string | null | undefined;
|
|
3307
|
-
postalCode?: string | null | undefined;
|
|
3308
|
-
country?: string | null | undefined;
|
|
3309
3312
|
} | null | undefined;
|
|
3310
3313
|
dueDate?: Date | null | undefined;
|
|
3311
3314
|
notes?: string | null | undefined;
|
|
3312
3315
|
lineItems?: {
|
|
3313
|
-
|
|
3316
|
+
quantity: number;
|
|
3314
3317
|
id: number;
|
|
3318
|
+
description: string;
|
|
3315
3319
|
createdAt: Date;
|
|
3316
3320
|
invoiceId: string;
|
|
3317
|
-
quantity: number;
|
|
3318
3321
|
unitPrice: number;
|
|
3319
3322
|
total: number;
|
|
3320
3323
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3324,45 +3327,29 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3324
3327
|
}>>>;
|
|
3325
3328
|
analysisStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "COMPLETED", "FAILED"]>>>;
|
|
3326
3329
|
}, "strip", z.ZodTypeAny, {
|
|
3327
|
-
actions: {
|
|
3328
|
-
perAccount: Record<string, ("REPUBLISH" | "UNKNOWN" | "PUBLISH" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE" | "UPDATE_CANCEL" | "BOOST")[]>;
|
|
3329
|
-
};
|
|
3330
|
-
name: string;
|
|
3331
3330
|
id: number;
|
|
3332
|
-
createdAt: Date;
|
|
3333
3331
|
userId: number;
|
|
3332
|
+
name: string;
|
|
3333
|
+
createdAt: Date;
|
|
3334
3334
|
updatedAt: Date;
|
|
3335
3335
|
sold: boolean;
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
name: string;
|
|
3340
|
-
id: number;
|
|
3341
|
-
createdAt: Date;
|
|
3342
|
-
userId: number;
|
|
3343
|
-
updatedAt: Date;
|
|
3344
|
-
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
3345
|
-
startDate: Date;
|
|
3346
|
-
active: boolean;
|
|
3347
|
-
description?: string | null | undefined;
|
|
3348
|
-
itemId?: number | null | undefined;
|
|
3349
|
-
endDate?: Date | null | undefined;
|
|
3350
|
-
parentFeeId?: number | null | undefined;
|
|
3351
|
-
}[] | null | undefined;
|
|
3336
|
+
actions: {
|
|
3337
|
+
perAccount: Record<string, ("PUBLISH" | "REPUBLISH" | "UPDATE" | "UNKNOWN" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE_CANCEL" | "BOOST")[]>;
|
|
3338
|
+
};
|
|
3352
3339
|
description?: string | null | undefined;
|
|
3353
3340
|
categoryId?: number | null | undefined;
|
|
3354
|
-
sizeId?: number | null | undefined;
|
|
3355
|
-
colorIds?: number[] | null | undefined;
|
|
3356
|
-
packageSizeId?: number | null | undefined;
|
|
3357
3341
|
state?: number | null | undefined;
|
|
3342
|
+
colorIds?: number[] | null | undefined;
|
|
3358
3343
|
measurementLength?: number | null | undefined;
|
|
3359
3344
|
measurementWidth?: number | null | undefined;
|
|
3345
|
+
packageSizeId?: number | null | undefined;
|
|
3346
|
+
sizeId?: number | null | undefined;
|
|
3360
3347
|
labels?: {
|
|
3361
3348
|
itemId: number;
|
|
3362
3349
|
labelId: number;
|
|
3363
3350
|
label?: {
|
|
3364
|
-
name: string;
|
|
3365
3351
|
id: number;
|
|
3352
|
+
name: string;
|
|
3366
3353
|
createdAt: Date;
|
|
3367
3354
|
isUserLabel: boolean;
|
|
3368
3355
|
itemCount?: number | null | undefined;
|
|
@@ -3375,85 +3362,50 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3375
3362
|
fieldKey: string;
|
|
3376
3363
|
}[] | null | undefined;
|
|
3377
3364
|
sku?: string | null | undefined;
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
3381
|
-
id: string;
|
|
3382
|
-
createdAt: Date;
|
|
3383
|
-
accountId: string;
|
|
3384
|
-
itemId: number;
|
|
3385
|
-
platformId: string;
|
|
3386
|
-
platformUrl: string;
|
|
3387
|
-
platformPrice: number;
|
|
3388
|
-
updatedAt: Date;
|
|
3389
|
-
publishedAt: Date;
|
|
3390
|
-
conversationId?: string | null | undefined;
|
|
3391
|
-
boostedAt?: Date | null | undefined;
|
|
3392
|
-
boostedUntil?: Date | null | undefined;
|
|
3393
|
-
viewsCount?: number | null | undefined;
|
|
3394
|
-
favoritesCount?: number | null | undefined;
|
|
3395
|
-
account?: {
|
|
3396
|
-
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
3397
|
-
name: string;
|
|
3398
|
-
userId: number;
|
|
3399
|
-
accountId: string;
|
|
3400
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3401
|
-
locale?: string | null | undefined;
|
|
3402
|
-
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
3403
|
-
restrictedUntil?: Date | null | undefined;
|
|
3404
|
-
night?: {
|
|
3405
|
-
startsAt: Date;
|
|
3406
|
-
endsAt: Date;
|
|
3407
|
-
} | null | undefined;
|
|
3408
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
3409
|
-
ordersMaxDelay?: number | null | undefined;
|
|
3410
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
3411
|
-
walletMaxDelay?: number | null | undefined;
|
|
3412
|
-
availableBalance?: number | null | undefined;
|
|
3413
|
-
pendingBalance?: number | null | undefined;
|
|
3414
|
-
profilePictureFileId?: string | null | undefined;
|
|
3415
|
-
profilePicture?: {
|
|
3416
|
-
path: string;
|
|
3417
|
-
id: string;
|
|
3418
|
-
createdAt: Date;
|
|
3419
|
-
userId: number;
|
|
3420
|
-
signedUrl: string;
|
|
3421
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3422
|
-
} | null | undefined;
|
|
3423
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
3424
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
3425
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
3426
|
-
} | null | undefined;
|
|
3427
|
-
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;
|
|
3428
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
3429
|
-
}[] | null | undefined;
|
|
3430
|
-
brandId?: number | null | undefined;
|
|
3431
|
-
estimatedPrice?: number | null | undefined;
|
|
3432
|
-
purchaseDate?: Date | null | undefined;
|
|
3433
|
-
sellingDate?: Date | null | undefined;
|
|
3434
|
-
fields?: {
|
|
3435
|
-
value: string;
|
|
3365
|
+
fields?: {
|
|
3366
|
+
value: string;
|
|
3436
3367
|
itemId: number;
|
|
3437
3368
|
fieldId: number;
|
|
3438
3369
|
}[] | null | undefined;
|
|
3439
3370
|
files?: {
|
|
3440
|
-
fileId: string;
|
|
3441
3371
|
itemId: number;
|
|
3372
|
+
fileId: string;
|
|
3442
3373
|
file?: {
|
|
3443
3374
|
path: string;
|
|
3444
3375
|
id: string;
|
|
3445
|
-
createdAt: Date;
|
|
3446
3376
|
userId: number;
|
|
3377
|
+
createdAt: Date;
|
|
3447
3378
|
signedUrl: string;
|
|
3448
3379
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3449
3380
|
} | null | undefined;
|
|
3450
3381
|
index?: number | null | undefined;
|
|
3451
3382
|
}[] | null | undefined;
|
|
3383
|
+
brandId?: number | null | undefined;
|
|
3384
|
+
sex?: string | null | undefined;
|
|
3452
3385
|
purchasePrice?: number | null | undefined;
|
|
3386
|
+
purchaseDate?: Date | null | undefined;
|
|
3453
3387
|
purchasePlaceId?: number | null | undefined;
|
|
3454
3388
|
purchased?: boolean | null | undefined;
|
|
3455
3389
|
sellingPrice?: number | null | undefined;
|
|
3390
|
+
sellingDate?: Date | null | undefined;
|
|
3456
3391
|
sellingPlaceId?: number | null | undefined;
|
|
3392
|
+
estimatedPrice?: number | null | undefined;
|
|
3393
|
+
fees?: {
|
|
3394
|
+
value: number;
|
|
3395
|
+
type: string;
|
|
3396
|
+
id: number;
|
|
3397
|
+
userId: number;
|
|
3398
|
+
name: string;
|
|
3399
|
+
createdAt: Date;
|
|
3400
|
+
updatedAt: Date;
|
|
3401
|
+
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
3402
|
+
startDate: Date;
|
|
3403
|
+
active: boolean;
|
|
3404
|
+
description?: string | null | undefined;
|
|
3405
|
+
itemId?: number | null | undefined;
|
|
3406
|
+
endDate?: Date | null | undefined;
|
|
3407
|
+
parentFeeId?: number | null | undefined;
|
|
3408
|
+
}[] | null | undefined;
|
|
3457
3409
|
feesSum?: number | null | undefined;
|
|
3458
3410
|
materialIds?: number[] | null | undefined;
|
|
3459
3411
|
enumValues?: {
|
|
@@ -3469,11 +3421,12 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3469
3421
|
id: string;
|
|
3470
3422
|
createdAt: Date;
|
|
3471
3423
|
itemId: number;
|
|
3424
|
+
accountId?: string | null | undefined;
|
|
3472
3425
|
data?: {
|
|
3473
3426
|
type: "ACTION_CANCELED";
|
|
3474
3427
|
data: {
|
|
3475
3428
|
targetItemHistoryId: string;
|
|
3476
|
-
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;
|
|
3429
|
+
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;
|
|
3477
3430
|
details?: string | null | undefined;
|
|
3478
3431
|
};
|
|
3479
3432
|
} | {
|
|
@@ -3504,7 +3457,7 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3504
3457
|
accountId?: string | null | undefined;
|
|
3505
3458
|
reason?: string | null | undefined;
|
|
3506
3459
|
fields?: {
|
|
3507
|
-
field: "
|
|
3460
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
3508
3461
|
autoFixable: boolean;
|
|
3509
3462
|
error?: string | null | undefined;
|
|
3510
3463
|
}[] | null | undefined;
|
|
@@ -3534,23 +3487,23 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3534
3487
|
post: {
|
|
3535
3488
|
platformId: string;
|
|
3536
3489
|
post: {
|
|
3490
|
+
size?: string | null | undefined;
|
|
3537
3491
|
status?: string | null | undefined;
|
|
3538
3492
|
title?: string | null | undefined;
|
|
3539
3493
|
description?: string | null | undefined;
|
|
3540
|
-
brand?: string | null | undefined;
|
|
3541
|
-
statusId?: number | null | undefined;
|
|
3542
|
-
sizeId?: number | null | undefined;
|
|
3543
|
-
colorIds?: number[] | null | undefined;
|
|
3544
|
-
packageSizeId?: number | null | undefined;
|
|
3545
3494
|
price?: number | null | undefined;
|
|
3546
3495
|
currency?: string | null | undefined;
|
|
3496
|
+
brand?: string | null | undefined;
|
|
3547
3497
|
catalog?: string | null | undefined;
|
|
3548
3498
|
catalogId?: number | null | undefined;
|
|
3549
3499
|
colors?: string[] | null | undefined;
|
|
3500
|
+
colorIds?: number[] | null | undefined;
|
|
3550
3501
|
measurementLength?: number | null | undefined;
|
|
3551
3502
|
measurementWidth?: number | null | undefined;
|
|
3503
|
+
packageSizeId?: number | null | undefined;
|
|
3552
3504
|
photoUrls?: string[] | null | undefined;
|
|
3553
|
-
|
|
3505
|
+
sizeId?: number | null | undefined;
|
|
3506
|
+
statusId?: number | null | undefined;
|
|
3554
3507
|
isDraft?: boolean | null | undefined;
|
|
3555
3508
|
isArchived?: boolean | null | undefined;
|
|
3556
3509
|
isUnisex?: boolean | null | undefined;
|
|
@@ -3593,8 +3546,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3593
3546
|
} | {
|
|
3594
3547
|
type: "LIFECYCLE_STARTED";
|
|
3595
3548
|
data: {
|
|
3596
|
-
caseId: string;
|
|
3597
3549
|
accountId: string;
|
|
3550
|
+
caseId: string;
|
|
3598
3551
|
isRepeat?: boolean | null | undefined;
|
|
3599
3552
|
};
|
|
3600
3553
|
} | {
|
|
@@ -3633,17 +3586,17 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3633
3586
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
3634
3587
|
} | null | undefined;
|
|
3635
3588
|
} | null | undefined;
|
|
3636
|
-
publishingDate?: Date | null | undefined;
|
|
3637
|
-
isTransfer?: boolean | null | undefined;
|
|
3638
3589
|
targetAccountId?: string | null | undefined;
|
|
3639
3590
|
allowIfDeleted?: boolean | null | undefined;
|
|
3591
|
+
publishingDate?: Date | null | undefined;
|
|
3592
|
+
isTransfer?: boolean | null | undefined;
|
|
3640
3593
|
};
|
|
3641
3594
|
} | {
|
|
3642
3595
|
type: "REPUBLISHING_RETRY";
|
|
3643
3596
|
data: {
|
|
3644
|
-
maxAttempts: number;
|
|
3645
3597
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3646
3598
|
attemptNumber: number;
|
|
3599
|
+
maxAttempts: number;
|
|
3647
3600
|
previousHistoryId: string;
|
|
3648
3601
|
originalFailureDate: Date;
|
|
3649
3602
|
payload?: {
|
|
@@ -3671,7 +3624,7 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3671
3624
|
} | null | undefined;
|
|
3672
3625
|
} | null | undefined;
|
|
3673
3626
|
fields?: {
|
|
3674
|
-
field: "
|
|
3627
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
3675
3628
|
autoFixable: boolean;
|
|
3676
3629
|
error?: string | null | undefined;
|
|
3677
3630
|
}[] | null | undefined;
|
|
@@ -3685,13 +3638,13 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3685
3638
|
} | {
|
|
3686
3639
|
type: "SCHEDULED_RETRY";
|
|
3687
3640
|
data: {
|
|
3688
|
-
maxAttempts: number;
|
|
3689
3641
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3690
3642
|
attemptNumber: number;
|
|
3643
|
+
maxAttempts: number;
|
|
3691
3644
|
previousHistoryId: string;
|
|
3692
3645
|
originalFailureDate: Date;
|
|
3693
3646
|
fields?: {
|
|
3694
|
-
field: "
|
|
3647
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
3695
3648
|
autoFixable: boolean;
|
|
3696
3649
|
error?: string | null | undefined;
|
|
3697
3650
|
}[] | null | undefined;
|
|
@@ -3720,52 +3673,103 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3720
3673
|
targetDate?: Date | null | undefined;
|
|
3721
3674
|
};
|
|
3722
3675
|
} | null | undefined;
|
|
3723
|
-
accountId?: string | null | undefined;
|
|
3724
3676
|
targetDate?: Date | null | undefined;
|
|
3725
3677
|
requestId?: string | null | undefined;
|
|
3726
3678
|
targetHistoryId?: string | null | undefined;
|
|
3727
3679
|
} | null | undefined;
|
|
3680
|
+
platforms?: {
|
|
3681
|
+
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
3682
|
+
id: string;
|
|
3683
|
+
accountId: string;
|
|
3684
|
+
createdAt: Date;
|
|
3685
|
+
itemId: number;
|
|
3686
|
+
platformId: string;
|
|
3687
|
+
platformUrl: string;
|
|
3688
|
+
platformPrice: number;
|
|
3689
|
+
updatedAt: Date;
|
|
3690
|
+
publishedAt: Date;
|
|
3691
|
+
conversationId?: string | null | undefined;
|
|
3692
|
+
boostedAt?: Date | null | undefined;
|
|
3693
|
+
boostedUntil?: Date | null | undefined;
|
|
3694
|
+
viewsCount?: number | null | undefined;
|
|
3695
|
+
favoritesCount?: number | null | undefined;
|
|
3696
|
+
account?: {
|
|
3697
|
+
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
3698
|
+
accountId: string;
|
|
3699
|
+
userId: number;
|
|
3700
|
+
name: string;
|
|
3701
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3702
|
+
locale?: string | null | undefined;
|
|
3703
|
+
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
3704
|
+
restrictedUntil?: Date | null | undefined;
|
|
3705
|
+
night?: {
|
|
3706
|
+
startsAt: Date;
|
|
3707
|
+
endsAt: Date;
|
|
3708
|
+
} | null | undefined;
|
|
3709
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
3710
|
+
ordersMaxDelay?: number | null | undefined;
|
|
3711
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
3712
|
+
walletMaxDelay?: number | null | undefined;
|
|
3713
|
+
availableBalance?: number | null | undefined;
|
|
3714
|
+
pendingBalance?: number | null | undefined;
|
|
3715
|
+
profilePictureFileId?: string | null | undefined;
|
|
3716
|
+
profilePicture?: {
|
|
3717
|
+
path: string;
|
|
3718
|
+
id: string;
|
|
3719
|
+
userId: number;
|
|
3720
|
+
createdAt: Date;
|
|
3721
|
+
signedUrl: string;
|
|
3722
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3723
|
+
} | null | undefined;
|
|
3724
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
3725
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
3726
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
3727
|
+
} | null | undefined;
|
|
3728
|
+
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;
|
|
3729
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
3730
|
+
isBoosted?: boolean | null | undefined;
|
|
3731
|
+
}[] | null | undefined;
|
|
3728
3732
|
sourceInConversation?: "UNKNOWN" | "DELETED" | "ORDER" | "TRANSACTION" | null | undefined;
|
|
3729
3733
|
order?: {
|
|
3730
3734
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
3731
3735
|
labels?: {
|
|
3732
3736
|
id: string;
|
|
3733
|
-
fileId: string;
|
|
3734
3737
|
orderId: string;
|
|
3738
|
+
fileId: string;
|
|
3735
3739
|
nonCroppedFileId: string;
|
|
3736
3740
|
originalFileId: string;
|
|
3737
|
-
|
|
3741
|
+
file?: {
|
|
3738
3742
|
path: string;
|
|
3739
3743
|
id: string;
|
|
3740
|
-
createdAt: Date;
|
|
3741
3744
|
userId: number;
|
|
3745
|
+
createdAt: Date;
|
|
3742
3746
|
signedUrl: string;
|
|
3743
3747
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3744
3748
|
} | null | undefined;
|
|
3745
|
-
|
|
3746
|
-
file?: {
|
|
3749
|
+
nonCroppedFile?: {
|
|
3747
3750
|
path: string;
|
|
3748
3751
|
id: string;
|
|
3749
|
-
createdAt: Date;
|
|
3750
3752
|
userId: number;
|
|
3753
|
+
createdAt: Date;
|
|
3751
3754
|
signedUrl: string;
|
|
3752
3755
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3753
3756
|
} | null | undefined;
|
|
3754
|
-
|
|
3757
|
+
originalFile?: {
|
|
3755
3758
|
path: string;
|
|
3756
3759
|
id: string;
|
|
3757
|
-
createdAt: Date;
|
|
3758
3760
|
userId: number;
|
|
3761
|
+
createdAt: Date;
|
|
3759
3762
|
signedUrl: string;
|
|
3760
3763
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3761
3764
|
} | null | undefined;
|
|
3765
|
+
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;
|
|
3762
3766
|
}[] | null | undefined;
|
|
3763
3767
|
invoices?: {
|
|
3764
3768
|
type: "SALE" | "PURCHASE";
|
|
3765
3769
|
status: string;
|
|
3766
3770
|
id: string;
|
|
3767
|
-
createdAt: Date;
|
|
3768
3771
|
userId: number;
|
|
3772
|
+
createdAt: Date;
|
|
3769
3773
|
currency: string;
|
|
3770
3774
|
orderId: string;
|
|
3771
3775
|
updatedAt: Date;
|
|
@@ -3774,21 +3778,21 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3774
3778
|
businessProfileId: string;
|
|
3775
3779
|
issueDate: Date;
|
|
3776
3780
|
subtotal: number;
|
|
3777
|
-
fileId?: string | null | undefined;
|
|
3778
3781
|
vatAmount?: number | null | undefined;
|
|
3782
|
+
fileId?: string | null | undefined;
|
|
3779
3783
|
file?: {
|
|
3780
3784
|
path: string;
|
|
3781
3785
|
id: string;
|
|
3782
|
-
createdAt: Date;
|
|
3783
3786
|
userId: number;
|
|
3787
|
+
createdAt: Date;
|
|
3784
3788
|
signedUrl: string;
|
|
3785
3789
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3786
3790
|
} | null | undefined;
|
|
3787
3791
|
vatRate?: number | null | undefined;
|
|
3788
3792
|
businessProfile?: {
|
|
3789
3793
|
id: string;
|
|
3790
|
-
createdAt: Date;
|
|
3791
3794
|
userId: number;
|
|
3795
|
+
createdAt: Date;
|
|
3792
3796
|
updatedAt: Date;
|
|
3793
3797
|
businessName: string;
|
|
3794
3798
|
address: string;
|
|
@@ -3801,8 +3805,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3801
3805
|
logo?: {
|
|
3802
3806
|
path: string;
|
|
3803
3807
|
id: string;
|
|
3804
|
-
createdAt: Date;
|
|
3805
3808
|
userId: number;
|
|
3809
|
+
createdAt: Date;
|
|
3806
3810
|
signedUrl: string;
|
|
3807
3811
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3808
3812
|
} | null | undefined;
|
|
@@ -3814,26 +3818,26 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3814
3818
|
firstName: string;
|
|
3815
3819
|
lastName: string;
|
|
3816
3820
|
phoneVerified: boolean;
|
|
3817
|
-
|
|
3821
|
+
postalCode?: string | null | undefined;
|
|
3822
|
+
city?: string | null | undefined;
|
|
3823
|
+
country?: string | null | undefined;
|
|
3818
3824
|
email?: string | null | undefined;
|
|
3825
|
+
addressLine1?: string | null | undefined;
|
|
3826
|
+
addressLine2?: string | null | undefined;
|
|
3827
|
+
birthDate?: Date | null | undefined;
|
|
3819
3828
|
idNumber?: string | null | undefined;
|
|
3820
3829
|
phone?: string | null | undefined;
|
|
3821
3830
|
iban?: string | null | undefined;
|
|
3822
3831
|
bic?: string | null | undefined;
|
|
3823
|
-
addressLine1?: string | null | undefined;
|
|
3824
|
-
addressLine2?: string | null | undefined;
|
|
3825
|
-
city?: string | null | undefined;
|
|
3826
|
-
postalCode?: string | null | undefined;
|
|
3827
|
-
country?: string | null | undefined;
|
|
3828
3832
|
} | null | undefined;
|
|
3829
3833
|
dueDate?: Date | null | undefined;
|
|
3830
3834
|
notes?: string | null | undefined;
|
|
3831
3835
|
lineItems?: {
|
|
3832
|
-
|
|
3836
|
+
quantity: number;
|
|
3833
3837
|
id: number;
|
|
3838
|
+
description: string;
|
|
3834
3839
|
createdAt: Date;
|
|
3835
3840
|
invoiceId: string;
|
|
3836
|
-
quantity: number;
|
|
3837
3841
|
unitPrice: number;
|
|
3838
3842
|
total: number;
|
|
3839
3843
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3843,45 +3847,29 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3843
3847
|
} | null | undefined;
|
|
3844
3848
|
analysisStatus?: "PENDING" | "COMPLETED" | "FAILED" | null | undefined;
|
|
3845
3849
|
}, {
|
|
3846
|
-
actions: {
|
|
3847
|
-
perAccount: Record<string, unknown[]>;
|
|
3848
|
-
};
|
|
3849
|
-
name: string;
|
|
3850
3850
|
id: number;
|
|
3851
|
-
createdAt: Date;
|
|
3852
3851
|
userId: number;
|
|
3852
|
+
name: string;
|
|
3853
|
+
createdAt: Date;
|
|
3853
3854
|
updatedAt: Date;
|
|
3854
3855
|
sold: boolean;
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
name: string;
|
|
3859
|
-
id: number;
|
|
3860
|
-
createdAt: Date;
|
|
3861
|
-
userId: number;
|
|
3862
|
-
updatedAt: Date;
|
|
3863
|
-
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
3864
|
-
startDate: Date;
|
|
3865
|
-
active: boolean;
|
|
3866
|
-
description?: string | null | undefined;
|
|
3867
|
-
itemId?: number | null | undefined;
|
|
3868
|
-
endDate?: Date | null | undefined;
|
|
3869
|
-
parentFeeId?: number | null | undefined;
|
|
3870
|
-
}[] | null | undefined;
|
|
3856
|
+
actions: {
|
|
3857
|
+
perAccount: Record<string, unknown[]>;
|
|
3858
|
+
};
|
|
3871
3859
|
description?: string | null | undefined;
|
|
3872
3860
|
categoryId?: number | null | undefined;
|
|
3873
|
-
sizeId?: number | null | undefined;
|
|
3874
|
-
colorIds?: number[] | null | undefined;
|
|
3875
|
-
packageSizeId?: number | null | undefined;
|
|
3876
3861
|
state?: number | null | undefined;
|
|
3862
|
+
colorIds?: number[] | null | undefined;
|
|
3877
3863
|
measurementLength?: number | null | undefined;
|
|
3878
3864
|
measurementWidth?: number | null | undefined;
|
|
3865
|
+
packageSizeId?: number | null | undefined;
|
|
3866
|
+
sizeId?: number | null | undefined;
|
|
3879
3867
|
labels?: {
|
|
3880
3868
|
itemId: number;
|
|
3881
3869
|
labelId: number;
|
|
3882
3870
|
label?: {
|
|
3883
|
-
name: string;
|
|
3884
3871
|
id: number;
|
|
3872
|
+
name: string;
|
|
3885
3873
|
createdAt: Date;
|
|
3886
3874
|
isUserLabel: boolean;
|
|
3887
3875
|
itemCount?: number | null | undefined;
|
|
@@ -3894,85 +3882,50 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3894
3882
|
fieldKey: string;
|
|
3895
3883
|
}[] | null | undefined;
|
|
3896
3884
|
sku?: string | null | undefined;
|
|
3897
|
-
sex?: string | null | undefined;
|
|
3898
|
-
platforms?: {
|
|
3899
|
-
id: string;
|
|
3900
|
-
createdAt: Date;
|
|
3901
|
-
accountId: string;
|
|
3902
|
-
itemId: number;
|
|
3903
|
-
platformId: string;
|
|
3904
|
-
platformUrl: string;
|
|
3905
|
-
platformPrice: number;
|
|
3906
|
-
updatedAt: Date;
|
|
3907
|
-
publishedAt: Date;
|
|
3908
|
-
status?: unknown;
|
|
3909
|
-
conversationId?: string | null | undefined;
|
|
3910
|
-
boostedAt?: Date | null | undefined;
|
|
3911
|
-
boostedUntil?: Date | null | undefined;
|
|
3912
|
-
viewsCount?: number | null | undefined;
|
|
3913
|
-
favoritesCount?: number | null | undefined;
|
|
3914
|
-
account?: {
|
|
3915
|
-
name: string;
|
|
3916
|
-
userId: number;
|
|
3917
|
-
accountId: string;
|
|
3918
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3919
|
-
status?: unknown;
|
|
3920
|
-
locale?: string | null | undefined;
|
|
3921
|
-
lockReason?: unknown;
|
|
3922
|
-
restrictedUntil?: Date | null | undefined;
|
|
3923
|
-
night?: {
|
|
3924
|
-
startsAt: Date;
|
|
3925
|
-
endsAt: Date;
|
|
3926
|
-
} | null | undefined;
|
|
3927
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
3928
|
-
ordersMaxDelay?: number | null | undefined;
|
|
3929
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
3930
|
-
walletMaxDelay?: number | null | undefined;
|
|
3931
|
-
availableBalance?: number | null | undefined;
|
|
3932
|
-
pendingBalance?: number | null | undefined;
|
|
3933
|
-
profilePictureFileId?: string | null | undefined;
|
|
3934
|
-
profilePicture?: {
|
|
3935
|
-
path: string;
|
|
3936
|
-
id: string;
|
|
3937
|
-
createdAt: Date;
|
|
3938
|
-
userId: number;
|
|
3939
|
-
signedUrl: string;
|
|
3940
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3941
|
-
} | null | undefined;
|
|
3942
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
3943
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
3944
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
3945
|
-
} | null | undefined;
|
|
3946
|
-
orderStatus?: unknown;
|
|
3947
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
3948
|
-
}[] | null | undefined;
|
|
3949
|
-
brandId?: number | null | undefined;
|
|
3950
|
-
estimatedPrice?: number | null | undefined;
|
|
3951
|
-
purchaseDate?: Date | null | undefined;
|
|
3952
|
-
sellingDate?: Date | null | undefined;
|
|
3953
3885
|
fields?: {
|
|
3954
3886
|
value: string;
|
|
3955
3887
|
itemId: number;
|
|
3956
3888
|
fieldId: number;
|
|
3957
3889
|
}[] | null | undefined;
|
|
3958
3890
|
files?: {
|
|
3959
|
-
fileId: string;
|
|
3960
3891
|
itemId: number;
|
|
3892
|
+
fileId: string;
|
|
3961
3893
|
file?: {
|
|
3962
3894
|
path: string;
|
|
3963
3895
|
id: string;
|
|
3964
|
-
createdAt: Date;
|
|
3965
3896
|
userId: number;
|
|
3897
|
+
createdAt: Date;
|
|
3966
3898
|
signedUrl: string;
|
|
3967
3899
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3968
3900
|
} | null | undefined;
|
|
3969
3901
|
index?: number | null | undefined;
|
|
3970
3902
|
}[] | null | undefined;
|
|
3903
|
+
brandId?: number | null | undefined;
|
|
3904
|
+
sex?: string | null | undefined;
|
|
3971
3905
|
purchasePrice?: number | null | undefined;
|
|
3906
|
+
purchaseDate?: Date | null | undefined;
|
|
3972
3907
|
purchasePlaceId?: number | null | undefined;
|
|
3973
3908
|
purchased?: boolean | null | undefined;
|
|
3974
3909
|
sellingPrice?: number | null | undefined;
|
|
3910
|
+
sellingDate?: Date | null | undefined;
|
|
3975
3911
|
sellingPlaceId?: number | null | undefined;
|
|
3912
|
+
estimatedPrice?: number | null | undefined;
|
|
3913
|
+
fees?: {
|
|
3914
|
+
value: number;
|
|
3915
|
+
type: string;
|
|
3916
|
+
id: number;
|
|
3917
|
+
userId: number;
|
|
3918
|
+
name: string;
|
|
3919
|
+
createdAt: Date;
|
|
3920
|
+
updatedAt: Date;
|
|
3921
|
+
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
3922
|
+
startDate: Date;
|
|
3923
|
+
active: boolean;
|
|
3924
|
+
description?: string | null | undefined;
|
|
3925
|
+
itemId?: number | null | undefined;
|
|
3926
|
+
endDate?: Date | null | undefined;
|
|
3927
|
+
parentFeeId?: number | null | undefined;
|
|
3928
|
+
}[] | null | undefined;
|
|
3976
3929
|
feesSum?: number | null | undefined;
|
|
3977
3930
|
materialIds?: number[] | null | undefined;
|
|
3978
3931
|
enumValues?: {
|
|
@@ -3988,6 +3941,7 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3988
3941
|
createdAt: Date;
|
|
3989
3942
|
itemId: number;
|
|
3990
3943
|
type?: unknown;
|
|
3944
|
+
accountId?: string | null | undefined;
|
|
3991
3945
|
data?: {
|
|
3992
3946
|
type: "ACTION_CANCELED";
|
|
3993
3947
|
data: {
|
|
@@ -4053,23 +4007,23 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4053
4007
|
post: {
|
|
4054
4008
|
platformId: string;
|
|
4055
4009
|
post: {
|
|
4010
|
+
size?: string | null | undefined;
|
|
4056
4011
|
status?: string | null | undefined;
|
|
4057
4012
|
title?: string | null | undefined;
|
|
4058
4013
|
description?: string | null | undefined;
|
|
4059
|
-
brand?: string | null | undefined;
|
|
4060
|
-
statusId?: number | null | undefined;
|
|
4061
|
-
sizeId?: number | null | undefined;
|
|
4062
|
-
colorIds?: number[] | null | undefined;
|
|
4063
|
-
packageSizeId?: number | null | undefined;
|
|
4064
4014
|
price?: number | null | undefined;
|
|
4065
4015
|
currency?: string | null | undefined;
|
|
4016
|
+
brand?: string | null | undefined;
|
|
4066
4017
|
catalog?: string | null | undefined;
|
|
4067
4018
|
catalogId?: number | null | undefined;
|
|
4068
4019
|
colors?: string[] | null | undefined;
|
|
4020
|
+
colorIds?: number[] | null | undefined;
|
|
4069
4021
|
measurementLength?: number | null | undefined;
|
|
4070
4022
|
measurementWidth?: number | null | undefined;
|
|
4023
|
+
packageSizeId?: number | null | undefined;
|
|
4071
4024
|
photoUrls?: string[] | null | undefined;
|
|
4072
|
-
|
|
4025
|
+
sizeId?: number | null | undefined;
|
|
4026
|
+
statusId?: number | null | undefined;
|
|
4073
4027
|
isDraft?: boolean | null | undefined;
|
|
4074
4028
|
isArchived?: boolean | null | undefined;
|
|
4075
4029
|
isUnisex?: boolean | null | undefined;
|
|
@@ -4112,8 +4066,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4112
4066
|
} | {
|
|
4113
4067
|
type: "LIFECYCLE_STARTED";
|
|
4114
4068
|
data: {
|
|
4115
|
-
caseId: string;
|
|
4116
4069
|
accountId: string;
|
|
4070
|
+
caseId: string;
|
|
4117
4071
|
isRepeat?: boolean | null | undefined;
|
|
4118
4072
|
};
|
|
4119
4073
|
} | {
|
|
@@ -4152,17 +4106,17 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4152
4106
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
4153
4107
|
} | null | undefined;
|
|
4154
4108
|
} | null | undefined;
|
|
4155
|
-
publishingDate?: Date | null | undefined;
|
|
4156
|
-
isTransfer?: boolean | null | undefined;
|
|
4157
4109
|
targetAccountId?: string | null | undefined;
|
|
4158
4110
|
allowIfDeleted?: boolean | null | undefined;
|
|
4111
|
+
publishingDate?: Date | null | undefined;
|
|
4112
|
+
isTransfer?: boolean | null | undefined;
|
|
4159
4113
|
};
|
|
4160
4114
|
} | {
|
|
4161
4115
|
type: "REPUBLISHING_RETRY";
|
|
4162
4116
|
data: {
|
|
4163
|
-
maxAttempts: number;
|
|
4164
4117
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4165
4118
|
attemptNumber: number;
|
|
4119
|
+
maxAttempts: number;
|
|
4166
4120
|
previousHistoryId: string;
|
|
4167
4121
|
originalFailureDate: Date;
|
|
4168
4122
|
payload?: {
|
|
@@ -4204,9 +4158,9 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4204
4158
|
} | {
|
|
4205
4159
|
type: "SCHEDULED_RETRY";
|
|
4206
4160
|
data: {
|
|
4207
|
-
maxAttempts: number;
|
|
4208
4161
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4209
4162
|
attemptNumber: number;
|
|
4163
|
+
maxAttempts: number;
|
|
4210
4164
|
previousHistoryId: string;
|
|
4211
4165
|
originalFailureDate: Date;
|
|
4212
4166
|
fields?: {
|
|
@@ -4239,52 +4193,103 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4239
4193
|
targetDate?: Date | null | undefined;
|
|
4240
4194
|
};
|
|
4241
4195
|
} | null | undefined;
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
|
|
4196
|
+
targetDate?: Date | null | undefined;
|
|
4197
|
+
requestId?: string | null | undefined;
|
|
4198
|
+
targetHistoryId?: string | null | undefined;
|
|
4199
|
+
} | null | undefined;
|
|
4200
|
+
platforms?: {
|
|
4201
|
+
id: string;
|
|
4202
|
+
accountId: string;
|
|
4203
|
+
createdAt: Date;
|
|
4204
|
+
itemId: number;
|
|
4205
|
+
platformId: string;
|
|
4206
|
+
platformUrl: string;
|
|
4207
|
+
platformPrice: number;
|
|
4208
|
+
updatedAt: Date;
|
|
4209
|
+
publishedAt: Date;
|
|
4210
|
+
status?: unknown;
|
|
4211
|
+
conversationId?: string | null | undefined;
|
|
4212
|
+
boostedAt?: Date | null | undefined;
|
|
4213
|
+
boostedUntil?: Date | null | undefined;
|
|
4214
|
+
viewsCount?: number | null | undefined;
|
|
4215
|
+
favoritesCount?: number | null | undefined;
|
|
4216
|
+
account?: {
|
|
4217
|
+
accountId: string;
|
|
4218
|
+
userId: number;
|
|
4219
|
+
name: string;
|
|
4220
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4221
|
+
status?: unknown;
|
|
4222
|
+
locale?: string | null | undefined;
|
|
4223
|
+
lockReason?: unknown;
|
|
4224
|
+
restrictedUntil?: Date | null | undefined;
|
|
4225
|
+
night?: {
|
|
4226
|
+
startsAt: Date;
|
|
4227
|
+
endsAt: Date;
|
|
4228
|
+
} | null | undefined;
|
|
4229
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
4230
|
+
ordersMaxDelay?: number | null | undefined;
|
|
4231
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
4232
|
+
walletMaxDelay?: number | null | undefined;
|
|
4233
|
+
availableBalance?: number | null | undefined;
|
|
4234
|
+
pendingBalance?: number | null | undefined;
|
|
4235
|
+
profilePictureFileId?: string | null | undefined;
|
|
4236
|
+
profilePicture?: {
|
|
4237
|
+
path: string;
|
|
4238
|
+
id: string;
|
|
4239
|
+
userId: number;
|
|
4240
|
+
createdAt: Date;
|
|
4241
|
+
signedUrl: string;
|
|
4242
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4243
|
+
} | null | undefined;
|
|
4244
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
4245
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
4246
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
4247
|
+
} | null | undefined;
|
|
4248
|
+
orderStatus?: unknown;
|
|
4249
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
4250
|
+
isBoosted?: boolean | null | undefined;
|
|
4251
|
+
}[] | null | undefined;
|
|
4247
4252
|
sourceInConversation?: unknown;
|
|
4248
4253
|
order?: {
|
|
4249
4254
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
4250
4255
|
labels?: {
|
|
4251
4256
|
id: string;
|
|
4252
|
-
fileId: string;
|
|
4253
4257
|
orderId: string;
|
|
4258
|
+
fileId: string;
|
|
4254
4259
|
nonCroppedFileId: string;
|
|
4255
4260
|
originalFileId: string;
|
|
4256
|
-
|
|
4261
|
+
file?: {
|
|
4257
4262
|
path: string;
|
|
4258
4263
|
id: string;
|
|
4259
|
-
createdAt: Date;
|
|
4260
4264
|
userId: number;
|
|
4265
|
+
createdAt: Date;
|
|
4261
4266
|
signedUrl: string;
|
|
4262
4267
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4263
4268
|
} | null | undefined;
|
|
4264
|
-
|
|
4265
|
-
file?: {
|
|
4269
|
+
nonCroppedFile?: {
|
|
4266
4270
|
path: string;
|
|
4267
4271
|
id: string;
|
|
4268
|
-
createdAt: Date;
|
|
4269
4272
|
userId: number;
|
|
4273
|
+
createdAt: Date;
|
|
4270
4274
|
signedUrl: string;
|
|
4271
4275
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4272
4276
|
} | null | undefined;
|
|
4273
|
-
|
|
4277
|
+
originalFile?: {
|
|
4274
4278
|
path: string;
|
|
4275
4279
|
id: string;
|
|
4276
|
-
createdAt: Date;
|
|
4277
4280
|
userId: number;
|
|
4281
|
+
createdAt: Date;
|
|
4278
4282
|
signedUrl: string;
|
|
4279
4283
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4280
4284
|
} | null | undefined;
|
|
4285
|
+
carrier?: unknown;
|
|
4281
4286
|
}[] | null | undefined;
|
|
4282
4287
|
invoices?: {
|
|
4283
4288
|
type: "SALE" | "PURCHASE";
|
|
4284
4289
|
status: string;
|
|
4285
4290
|
id: string;
|
|
4286
|
-
createdAt: Date;
|
|
4287
4291
|
userId: number;
|
|
4292
|
+
createdAt: Date;
|
|
4288
4293
|
currency: string;
|
|
4289
4294
|
orderId: string;
|
|
4290
4295
|
updatedAt: Date;
|
|
@@ -4293,21 +4298,21 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4293
4298
|
businessProfileId: string;
|
|
4294
4299
|
issueDate: Date;
|
|
4295
4300
|
subtotal: number;
|
|
4296
|
-
fileId?: string | null | undefined;
|
|
4297
4301
|
vatAmount?: number | null | undefined;
|
|
4302
|
+
fileId?: string | null | undefined;
|
|
4298
4303
|
file?: {
|
|
4299
4304
|
path: string;
|
|
4300
4305
|
id: string;
|
|
4301
|
-
createdAt: Date;
|
|
4302
4306
|
userId: number;
|
|
4307
|
+
createdAt: Date;
|
|
4303
4308
|
signedUrl: string;
|
|
4304
4309
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4305
4310
|
} | null | undefined;
|
|
4306
4311
|
vatRate?: number | null | undefined;
|
|
4307
4312
|
businessProfile?: {
|
|
4308
4313
|
id: string;
|
|
4309
|
-
createdAt: Date;
|
|
4310
4314
|
userId: number;
|
|
4315
|
+
createdAt: Date;
|
|
4311
4316
|
updatedAt: Date;
|
|
4312
4317
|
businessName: string;
|
|
4313
4318
|
address: string;
|
|
@@ -4320,8 +4325,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4320
4325
|
logo?: {
|
|
4321
4326
|
path: string;
|
|
4322
4327
|
id: string;
|
|
4323
|
-
createdAt: Date;
|
|
4324
4328
|
userId: number;
|
|
4329
|
+
createdAt: Date;
|
|
4325
4330
|
signedUrl: string;
|
|
4326
4331
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4327
4332
|
} | null | undefined;
|
|
@@ -4333,26 +4338,26 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4333
4338
|
firstName: string;
|
|
4334
4339
|
lastName: string;
|
|
4335
4340
|
phoneVerified: boolean;
|
|
4336
|
-
|
|
4341
|
+
postalCode?: string | null | undefined;
|
|
4342
|
+
city?: string | null | undefined;
|
|
4343
|
+
country?: string | null | undefined;
|
|
4337
4344
|
email?: string | null | undefined;
|
|
4345
|
+
addressLine1?: string | null | undefined;
|
|
4346
|
+
addressLine2?: string | null | undefined;
|
|
4347
|
+
birthDate?: Date | null | undefined;
|
|
4338
4348
|
idNumber?: string | null | undefined;
|
|
4339
4349
|
phone?: string | null | undefined;
|
|
4340
4350
|
iban?: string | null | undefined;
|
|
4341
4351
|
bic?: string | null | undefined;
|
|
4342
|
-
addressLine1?: string | null | undefined;
|
|
4343
|
-
addressLine2?: string | null | undefined;
|
|
4344
|
-
city?: string | null | undefined;
|
|
4345
|
-
postalCode?: string | null | undefined;
|
|
4346
|
-
country?: string | null | undefined;
|
|
4347
4352
|
} | null | undefined;
|
|
4348
4353
|
dueDate?: Date | null | undefined;
|
|
4349
4354
|
notes?: string | null | undefined;
|
|
4350
4355
|
lineItems?: {
|
|
4351
|
-
|
|
4356
|
+
quantity: number;
|
|
4352
4357
|
id: number;
|
|
4358
|
+
description: string;
|
|
4353
4359
|
createdAt: Date;
|
|
4354
4360
|
invoiceId: string;
|
|
4355
|
-
quantity: number;
|
|
4356
4361
|
unitPrice: number;
|
|
4357
4362
|
total: number;
|
|
4358
4363
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -4365,45 +4370,29 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4365
4370
|
analysisId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4366
4371
|
}, "strip", z.ZodTypeAny, {
|
|
4367
4372
|
item: {
|
|
4368
|
-
actions: {
|
|
4369
|
-
perAccount: Record<string, ("REPUBLISH" | "UNKNOWN" | "PUBLISH" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE" | "UPDATE_CANCEL" | "BOOST")[]>;
|
|
4370
|
-
};
|
|
4371
|
-
name: string;
|
|
4372
4373
|
id: number;
|
|
4373
|
-
createdAt: Date;
|
|
4374
4374
|
userId: number;
|
|
4375
|
+
name: string;
|
|
4376
|
+
createdAt: Date;
|
|
4375
4377
|
updatedAt: Date;
|
|
4376
4378
|
sold: boolean;
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
name: string;
|
|
4381
|
-
id: number;
|
|
4382
|
-
createdAt: Date;
|
|
4383
|
-
userId: number;
|
|
4384
|
-
updatedAt: Date;
|
|
4385
|
-
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
4386
|
-
startDate: Date;
|
|
4387
|
-
active: boolean;
|
|
4388
|
-
description?: string | null | undefined;
|
|
4389
|
-
itemId?: number | null | undefined;
|
|
4390
|
-
endDate?: Date | null | undefined;
|
|
4391
|
-
parentFeeId?: number | null | undefined;
|
|
4392
|
-
}[] | null | undefined;
|
|
4379
|
+
actions: {
|
|
4380
|
+
perAccount: Record<string, ("PUBLISH" | "REPUBLISH" | "UPDATE" | "UNKNOWN" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE_CANCEL" | "BOOST")[]>;
|
|
4381
|
+
};
|
|
4393
4382
|
description?: string | null | undefined;
|
|
4394
4383
|
categoryId?: number | null | undefined;
|
|
4395
|
-
sizeId?: number | null | undefined;
|
|
4396
|
-
colorIds?: number[] | null | undefined;
|
|
4397
|
-
packageSizeId?: number | null | undefined;
|
|
4398
4384
|
state?: number | null | undefined;
|
|
4385
|
+
colorIds?: number[] | null | undefined;
|
|
4399
4386
|
measurementLength?: number | null | undefined;
|
|
4400
4387
|
measurementWidth?: number | null | undefined;
|
|
4388
|
+
packageSizeId?: number | null | undefined;
|
|
4389
|
+
sizeId?: number | null | undefined;
|
|
4401
4390
|
labels?: {
|
|
4402
4391
|
itemId: number;
|
|
4403
4392
|
labelId: number;
|
|
4404
4393
|
label?: {
|
|
4405
|
-
name: string;
|
|
4406
4394
|
id: number;
|
|
4395
|
+
name: string;
|
|
4407
4396
|
createdAt: Date;
|
|
4408
4397
|
isUserLabel: boolean;
|
|
4409
4398
|
itemCount?: number | null | undefined;
|
|
@@ -4416,85 +4405,50 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4416
4405
|
fieldKey: string;
|
|
4417
4406
|
}[] | null | undefined;
|
|
4418
4407
|
sku?: string | null | undefined;
|
|
4419
|
-
sex?: string | null | undefined;
|
|
4420
|
-
platforms?: {
|
|
4421
|
-
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
4422
|
-
id: string;
|
|
4423
|
-
createdAt: Date;
|
|
4424
|
-
accountId: string;
|
|
4425
|
-
itemId: number;
|
|
4426
|
-
platformId: string;
|
|
4427
|
-
platformUrl: string;
|
|
4428
|
-
platformPrice: number;
|
|
4429
|
-
updatedAt: Date;
|
|
4430
|
-
publishedAt: Date;
|
|
4431
|
-
conversationId?: string | null | undefined;
|
|
4432
|
-
boostedAt?: Date | null | undefined;
|
|
4433
|
-
boostedUntil?: Date | null | undefined;
|
|
4434
|
-
viewsCount?: number | null | undefined;
|
|
4435
|
-
favoritesCount?: number | null | undefined;
|
|
4436
|
-
account?: {
|
|
4437
|
-
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
4438
|
-
name: string;
|
|
4439
|
-
userId: number;
|
|
4440
|
-
accountId: string;
|
|
4441
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4442
|
-
locale?: string | null | undefined;
|
|
4443
|
-
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
4444
|
-
restrictedUntil?: Date | null | undefined;
|
|
4445
|
-
night?: {
|
|
4446
|
-
startsAt: Date;
|
|
4447
|
-
endsAt: Date;
|
|
4448
|
-
} | null | undefined;
|
|
4449
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
4450
|
-
ordersMaxDelay?: number | null | undefined;
|
|
4451
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
4452
|
-
walletMaxDelay?: number | null | undefined;
|
|
4453
|
-
availableBalance?: number | null | undefined;
|
|
4454
|
-
pendingBalance?: number | null | undefined;
|
|
4455
|
-
profilePictureFileId?: string | null | undefined;
|
|
4456
|
-
profilePicture?: {
|
|
4457
|
-
path: string;
|
|
4458
|
-
id: string;
|
|
4459
|
-
createdAt: Date;
|
|
4460
|
-
userId: number;
|
|
4461
|
-
signedUrl: string;
|
|
4462
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4463
|
-
} | null | undefined;
|
|
4464
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
4465
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
4466
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
4467
|
-
} | null | undefined;
|
|
4468
|
-
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;
|
|
4469
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
4470
|
-
}[] | null | undefined;
|
|
4471
|
-
brandId?: number | null | undefined;
|
|
4472
|
-
estimatedPrice?: number | null | undefined;
|
|
4473
|
-
purchaseDate?: Date | null | undefined;
|
|
4474
|
-
sellingDate?: Date | null | undefined;
|
|
4475
4408
|
fields?: {
|
|
4476
4409
|
value: string;
|
|
4477
4410
|
itemId: number;
|
|
4478
4411
|
fieldId: number;
|
|
4479
4412
|
}[] | null | undefined;
|
|
4480
4413
|
files?: {
|
|
4481
|
-
fileId: string;
|
|
4482
4414
|
itemId: number;
|
|
4415
|
+
fileId: string;
|
|
4483
4416
|
file?: {
|
|
4484
4417
|
path: string;
|
|
4485
4418
|
id: string;
|
|
4486
|
-
createdAt: Date;
|
|
4487
4419
|
userId: number;
|
|
4420
|
+
createdAt: Date;
|
|
4488
4421
|
signedUrl: string;
|
|
4489
4422
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4490
4423
|
} | null | undefined;
|
|
4491
4424
|
index?: number | null | undefined;
|
|
4492
4425
|
}[] | null | undefined;
|
|
4426
|
+
brandId?: number | null | undefined;
|
|
4427
|
+
sex?: string | null | undefined;
|
|
4493
4428
|
purchasePrice?: number | null | undefined;
|
|
4429
|
+
purchaseDate?: Date | null | undefined;
|
|
4494
4430
|
purchasePlaceId?: number | null | undefined;
|
|
4495
4431
|
purchased?: boolean | null | undefined;
|
|
4496
4432
|
sellingPrice?: number | null | undefined;
|
|
4433
|
+
sellingDate?: Date | null | undefined;
|
|
4497
4434
|
sellingPlaceId?: number | null | undefined;
|
|
4435
|
+
estimatedPrice?: number | null | undefined;
|
|
4436
|
+
fees?: {
|
|
4437
|
+
value: number;
|
|
4438
|
+
type: string;
|
|
4439
|
+
id: number;
|
|
4440
|
+
userId: number;
|
|
4441
|
+
name: string;
|
|
4442
|
+
createdAt: Date;
|
|
4443
|
+
updatedAt: Date;
|
|
4444
|
+
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
4445
|
+
startDate: Date;
|
|
4446
|
+
active: boolean;
|
|
4447
|
+
description?: string | null | undefined;
|
|
4448
|
+
itemId?: number | null | undefined;
|
|
4449
|
+
endDate?: Date | null | undefined;
|
|
4450
|
+
parentFeeId?: number | null | undefined;
|
|
4451
|
+
}[] | null | undefined;
|
|
4498
4452
|
feesSum?: number | null | undefined;
|
|
4499
4453
|
materialIds?: number[] | null | undefined;
|
|
4500
4454
|
enumValues?: {
|
|
@@ -4510,11 +4464,12 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4510
4464
|
id: string;
|
|
4511
4465
|
createdAt: Date;
|
|
4512
4466
|
itemId: number;
|
|
4467
|
+
accountId?: string | null | undefined;
|
|
4513
4468
|
data?: {
|
|
4514
4469
|
type: "ACTION_CANCELED";
|
|
4515
4470
|
data: {
|
|
4516
4471
|
targetItemHistoryId: string;
|
|
4517
|
-
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;
|
|
4472
|
+
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;
|
|
4518
4473
|
details?: string | null | undefined;
|
|
4519
4474
|
};
|
|
4520
4475
|
} | {
|
|
@@ -4545,7 +4500,7 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4545
4500
|
accountId?: string | null | undefined;
|
|
4546
4501
|
reason?: string | null | undefined;
|
|
4547
4502
|
fields?: {
|
|
4548
|
-
field: "
|
|
4503
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
4549
4504
|
autoFixable: boolean;
|
|
4550
4505
|
error?: string | null | undefined;
|
|
4551
4506
|
}[] | null | undefined;
|
|
@@ -4575,23 +4530,23 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4575
4530
|
post: {
|
|
4576
4531
|
platformId: string;
|
|
4577
4532
|
post: {
|
|
4533
|
+
size?: string | null | undefined;
|
|
4578
4534
|
status?: string | null | undefined;
|
|
4579
4535
|
title?: string | null | undefined;
|
|
4580
4536
|
description?: string | null | undefined;
|
|
4581
|
-
brand?: string | null | undefined;
|
|
4582
|
-
statusId?: number | null | undefined;
|
|
4583
|
-
sizeId?: number | null | undefined;
|
|
4584
|
-
colorIds?: number[] | null | undefined;
|
|
4585
|
-
packageSizeId?: number | null | undefined;
|
|
4586
4537
|
price?: number | null | undefined;
|
|
4587
4538
|
currency?: string | null | undefined;
|
|
4539
|
+
brand?: string | null | undefined;
|
|
4588
4540
|
catalog?: string | null | undefined;
|
|
4589
4541
|
catalogId?: number | null | undefined;
|
|
4590
4542
|
colors?: string[] | null | undefined;
|
|
4543
|
+
colorIds?: number[] | null | undefined;
|
|
4591
4544
|
measurementLength?: number | null | undefined;
|
|
4592
4545
|
measurementWidth?: number | null | undefined;
|
|
4546
|
+
packageSizeId?: number | null | undefined;
|
|
4593
4547
|
photoUrls?: string[] | null | undefined;
|
|
4594
|
-
|
|
4548
|
+
sizeId?: number | null | undefined;
|
|
4549
|
+
statusId?: number | null | undefined;
|
|
4595
4550
|
isDraft?: boolean | null | undefined;
|
|
4596
4551
|
isArchived?: boolean | null | undefined;
|
|
4597
4552
|
isUnisex?: boolean | null | undefined;
|
|
@@ -4634,8 +4589,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4634
4589
|
} | {
|
|
4635
4590
|
type: "LIFECYCLE_STARTED";
|
|
4636
4591
|
data: {
|
|
4637
|
-
caseId: string;
|
|
4638
4592
|
accountId: string;
|
|
4593
|
+
caseId: string;
|
|
4639
4594
|
isRepeat?: boolean | null | undefined;
|
|
4640
4595
|
};
|
|
4641
4596
|
} | {
|
|
@@ -4674,17 +4629,17 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4674
4629
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
4675
4630
|
} | null | undefined;
|
|
4676
4631
|
} | null | undefined;
|
|
4677
|
-
publishingDate?: Date | null | undefined;
|
|
4678
|
-
isTransfer?: boolean | null | undefined;
|
|
4679
4632
|
targetAccountId?: string | null | undefined;
|
|
4680
4633
|
allowIfDeleted?: boolean | null | undefined;
|
|
4634
|
+
publishingDate?: Date | null | undefined;
|
|
4635
|
+
isTransfer?: boolean | null | undefined;
|
|
4681
4636
|
};
|
|
4682
4637
|
} | {
|
|
4683
4638
|
type: "REPUBLISHING_RETRY";
|
|
4684
4639
|
data: {
|
|
4685
|
-
maxAttempts: number;
|
|
4686
4640
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4687
4641
|
attemptNumber: number;
|
|
4642
|
+
maxAttempts: number;
|
|
4688
4643
|
previousHistoryId: string;
|
|
4689
4644
|
originalFailureDate: Date;
|
|
4690
4645
|
payload?: {
|
|
@@ -4712,7 +4667,7 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4712
4667
|
} | null | undefined;
|
|
4713
4668
|
} | null | undefined;
|
|
4714
4669
|
fields?: {
|
|
4715
|
-
field: "
|
|
4670
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
4716
4671
|
autoFixable: boolean;
|
|
4717
4672
|
error?: string | null | undefined;
|
|
4718
4673
|
}[] | null | undefined;
|
|
@@ -4726,13 +4681,13 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4726
4681
|
} | {
|
|
4727
4682
|
type: "SCHEDULED_RETRY";
|
|
4728
4683
|
data: {
|
|
4729
|
-
maxAttempts: number;
|
|
4730
4684
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4731
4685
|
attemptNumber: number;
|
|
4686
|
+
maxAttempts: number;
|
|
4732
4687
|
previousHistoryId: string;
|
|
4733
4688
|
originalFailureDate: Date;
|
|
4734
4689
|
fields?: {
|
|
4735
|
-
field: "
|
|
4690
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
4736
4691
|
autoFixable: boolean;
|
|
4737
4692
|
error?: string | null | undefined;
|
|
4738
4693
|
}[] | null | undefined;
|
|
@@ -4761,52 +4716,103 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4761
4716
|
targetDate?: Date | null | undefined;
|
|
4762
4717
|
};
|
|
4763
4718
|
} | null | undefined;
|
|
4764
|
-
accountId?: string | null | undefined;
|
|
4765
4719
|
targetDate?: Date | null | undefined;
|
|
4766
4720
|
requestId?: string | null | undefined;
|
|
4767
4721
|
targetHistoryId?: string | null | undefined;
|
|
4768
4722
|
} | null | undefined;
|
|
4723
|
+
platforms?: {
|
|
4724
|
+
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
4725
|
+
id: string;
|
|
4726
|
+
accountId: string;
|
|
4727
|
+
createdAt: Date;
|
|
4728
|
+
itemId: number;
|
|
4729
|
+
platformId: string;
|
|
4730
|
+
platformUrl: string;
|
|
4731
|
+
platformPrice: number;
|
|
4732
|
+
updatedAt: Date;
|
|
4733
|
+
publishedAt: Date;
|
|
4734
|
+
conversationId?: string | null | undefined;
|
|
4735
|
+
boostedAt?: Date | null | undefined;
|
|
4736
|
+
boostedUntil?: Date | null | undefined;
|
|
4737
|
+
viewsCount?: number | null | undefined;
|
|
4738
|
+
favoritesCount?: number | null | undefined;
|
|
4739
|
+
account?: {
|
|
4740
|
+
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
4741
|
+
accountId: string;
|
|
4742
|
+
userId: number;
|
|
4743
|
+
name: string;
|
|
4744
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4745
|
+
locale?: string | null | undefined;
|
|
4746
|
+
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
4747
|
+
restrictedUntil?: Date | null | undefined;
|
|
4748
|
+
night?: {
|
|
4749
|
+
startsAt: Date;
|
|
4750
|
+
endsAt: Date;
|
|
4751
|
+
} | null | undefined;
|
|
4752
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
4753
|
+
ordersMaxDelay?: number | null | undefined;
|
|
4754
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
4755
|
+
walletMaxDelay?: number | null | undefined;
|
|
4756
|
+
availableBalance?: number | null | undefined;
|
|
4757
|
+
pendingBalance?: number | null | undefined;
|
|
4758
|
+
profilePictureFileId?: string | null | undefined;
|
|
4759
|
+
profilePicture?: {
|
|
4760
|
+
path: string;
|
|
4761
|
+
id: string;
|
|
4762
|
+
userId: number;
|
|
4763
|
+
createdAt: Date;
|
|
4764
|
+
signedUrl: string;
|
|
4765
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4766
|
+
} | null | undefined;
|
|
4767
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
4768
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
4769
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
4770
|
+
} | null | undefined;
|
|
4771
|
+
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;
|
|
4772
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
4773
|
+
isBoosted?: boolean | null | undefined;
|
|
4774
|
+
}[] | null | undefined;
|
|
4769
4775
|
sourceInConversation?: "UNKNOWN" | "DELETED" | "ORDER" | "TRANSACTION" | null | undefined;
|
|
4770
4776
|
order?: {
|
|
4771
4777
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
4772
4778
|
labels?: {
|
|
4773
4779
|
id: string;
|
|
4774
|
-
fileId: string;
|
|
4775
4780
|
orderId: string;
|
|
4781
|
+
fileId: string;
|
|
4776
4782
|
nonCroppedFileId: string;
|
|
4777
4783
|
originalFileId: string;
|
|
4778
|
-
|
|
4784
|
+
file?: {
|
|
4779
4785
|
path: string;
|
|
4780
4786
|
id: string;
|
|
4781
|
-
createdAt: Date;
|
|
4782
4787
|
userId: number;
|
|
4788
|
+
createdAt: Date;
|
|
4783
4789
|
signedUrl: string;
|
|
4784
4790
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4785
4791
|
} | null | undefined;
|
|
4786
|
-
|
|
4787
|
-
file?: {
|
|
4792
|
+
nonCroppedFile?: {
|
|
4788
4793
|
path: string;
|
|
4789
4794
|
id: string;
|
|
4790
|
-
createdAt: Date;
|
|
4791
4795
|
userId: number;
|
|
4796
|
+
createdAt: Date;
|
|
4792
4797
|
signedUrl: string;
|
|
4793
4798
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4794
4799
|
} | null | undefined;
|
|
4795
|
-
|
|
4800
|
+
originalFile?: {
|
|
4796
4801
|
path: string;
|
|
4797
4802
|
id: string;
|
|
4798
|
-
createdAt: Date;
|
|
4799
4803
|
userId: number;
|
|
4804
|
+
createdAt: Date;
|
|
4800
4805
|
signedUrl: string;
|
|
4801
4806
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4802
4807
|
} | null | undefined;
|
|
4808
|
+
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;
|
|
4803
4809
|
}[] | null | undefined;
|
|
4804
4810
|
invoices?: {
|
|
4805
4811
|
type: "SALE" | "PURCHASE";
|
|
4806
4812
|
status: string;
|
|
4807
4813
|
id: string;
|
|
4808
|
-
createdAt: Date;
|
|
4809
4814
|
userId: number;
|
|
4815
|
+
createdAt: Date;
|
|
4810
4816
|
currency: string;
|
|
4811
4817
|
orderId: string;
|
|
4812
4818
|
updatedAt: Date;
|
|
@@ -4815,21 +4821,21 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4815
4821
|
businessProfileId: string;
|
|
4816
4822
|
issueDate: Date;
|
|
4817
4823
|
subtotal: number;
|
|
4818
|
-
fileId?: string | null | undefined;
|
|
4819
4824
|
vatAmount?: number | null | undefined;
|
|
4825
|
+
fileId?: string | null | undefined;
|
|
4820
4826
|
file?: {
|
|
4821
4827
|
path: string;
|
|
4822
4828
|
id: string;
|
|
4823
|
-
createdAt: Date;
|
|
4824
4829
|
userId: number;
|
|
4830
|
+
createdAt: Date;
|
|
4825
4831
|
signedUrl: string;
|
|
4826
4832
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4827
4833
|
} | null | undefined;
|
|
4828
4834
|
vatRate?: number | null | undefined;
|
|
4829
4835
|
businessProfile?: {
|
|
4830
4836
|
id: string;
|
|
4831
|
-
createdAt: Date;
|
|
4832
4837
|
userId: number;
|
|
4838
|
+
createdAt: Date;
|
|
4833
4839
|
updatedAt: Date;
|
|
4834
4840
|
businessName: string;
|
|
4835
4841
|
address: string;
|
|
@@ -4842,8 +4848,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4842
4848
|
logo?: {
|
|
4843
4849
|
path: string;
|
|
4844
4850
|
id: string;
|
|
4845
|
-
createdAt: Date;
|
|
4846
4851
|
userId: number;
|
|
4852
|
+
createdAt: Date;
|
|
4847
4853
|
signedUrl: string;
|
|
4848
4854
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4849
4855
|
} | null | undefined;
|
|
@@ -4855,26 +4861,26 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4855
4861
|
firstName: string;
|
|
4856
4862
|
lastName: string;
|
|
4857
4863
|
phoneVerified: boolean;
|
|
4858
|
-
|
|
4864
|
+
postalCode?: string | null | undefined;
|
|
4865
|
+
city?: string | null | undefined;
|
|
4866
|
+
country?: string | null | undefined;
|
|
4859
4867
|
email?: string | null | undefined;
|
|
4868
|
+
addressLine1?: string | null | undefined;
|
|
4869
|
+
addressLine2?: string | null | undefined;
|
|
4870
|
+
birthDate?: Date | null | undefined;
|
|
4860
4871
|
idNumber?: string | null | undefined;
|
|
4861
4872
|
phone?: string | null | undefined;
|
|
4862
4873
|
iban?: string | null | undefined;
|
|
4863
4874
|
bic?: string | null | undefined;
|
|
4864
|
-
addressLine1?: string | null | undefined;
|
|
4865
|
-
addressLine2?: string | null | undefined;
|
|
4866
|
-
city?: string | null | undefined;
|
|
4867
|
-
postalCode?: string | null | undefined;
|
|
4868
|
-
country?: string | null | undefined;
|
|
4869
4875
|
} | null | undefined;
|
|
4870
4876
|
dueDate?: Date | null | undefined;
|
|
4871
4877
|
notes?: string | null | undefined;
|
|
4872
4878
|
lineItems?: {
|
|
4873
|
-
|
|
4879
|
+
quantity: number;
|
|
4874
4880
|
id: number;
|
|
4881
|
+
description: string;
|
|
4875
4882
|
createdAt: Date;
|
|
4876
4883
|
invoiceId: string;
|
|
4877
|
-
quantity: number;
|
|
4878
4884
|
unitPrice: number;
|
|
4879
4885
|
total: number;
|
|
4880
4886
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -4887,45 +4893,29 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4887
4893
|
analysisId?: string | null | undefined;
|
|
4888
4894
|
}, {
|
|
4889
4895
|
item: {
|
|
4890
|
-
actions: {
|
|
4891
|
-
perAccount: Record<string, unknown[]>;
|
|
4892
|
-
};
|
|
4893
|
-
name: string;
|
|
4894
4896
|
id: number;
|
|
4895
|
-
createdAt: Date;
|
|
4896
4897
|
userId: number;
|
|
4898
|
+
name: string;
|
|
4899
|
+
createdAt: Date;
|
|
4897
4900
|
updatedAt: Date;
|
|
4898
4901
|
sold: boolean;
|
|
4899
|
-
|
|
4900
|
-
|
|
4901
|
-
|
|
4902
|
-
name: string;
|
|
4903
|
-
id: number;
|
|
4904
|
-
createdAt: Date;
|
|
4905
|
-
userId: number;
|
|
4906
|
-
updatedAt: Date;
|
|
4907
|
-
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
4908
|
-
startDate: Date;
|
|
4909
|
-
active: boolean;
|
|
4910
|
-
description?: string | null | undefined;
|
|
4911
|
-
itemId?: number | null | undefined;
|
|
4912
|
-
endDate?: Date | null | undefined;
|
|
4913
|
-
parentFeeId?: number | null | undefined;
|
|
4914
|
-
}[] | null | undefined;
|
|
4902
|
+
actions: {
|
|
4903
|
+
perAccount: Record<string, unknown[]>;
|
|
4904
|
+
};
|
|
4915
4905
|
description?: string | null | undefined;
|
|
4916
4906
|
categoryId?: number | null | undefined;
|
|
4917
|
-
sizeId?: number | null | undefined;
|
|
4918
|
-
colorIds?: number[] | null | undefined;
|
|
4919
|
-
packageSizeId?: number | null | undefined;
|
|
4920
4907
|
state?: number | null | undefined;
|
|
4908
|
+
colorIds?: number[] | null | undefined;
|
|
4921
4909
|
measurementLength?: number | null | undefined;
|
|
4922
4910
|
measurementWidth?: number | null | undefined;
|
|
4911
|
+
packageSizeId?: number | null | undefined;
|
|
4912
|
+
sizeId?: number | null | undefined;
|
|
4923
4913
|
labels?: {
|
|
4924
4914
|
itemId: number;
|
|
4925
4915
|
labelId: number;
|
|
4926
4916
|
label?: {
|
|
4927
|
-
name: string;
|
|
4928
4917
|
id: number;
|
|
4918
|
+
name: string;
|
|
4929
4919
|
createdAt: Date;
|
|
4930
4920
|
isUserLabel: boolean;
|
|
4931
4921
|
itemCount?: number | null | undefined;
|
|
@@ -4938,85 +4928,50 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4938
4928
|
fieldKey: string;
|
|
4939
4929
|
}[] | null | undefined;
|
|
4940
4930
|
sku?: string | null | undefined;
|
|
4941
|
-
sex?: string | null | undefined;
|
|
4942
|
-
platforms?: {
|
|
4943
|
-
id: string;
|
|
4944
|
-
createdAt: Date;
|
|
4945
|
-
accountId: string;
|
|
4946
|
-
itemId: number;
|
|
4947
|
-
platformId: string;
|
|
4948
|
-
platformUrl: string;
|
|
4949
|
-
platformPrice: number;
|
|
4950
|
-
updatedAt: Date;
|
|
4951
|
-
publishedAt: Date;
|
|
4952
|
-
status?: unknown;
|
|
4953
|
-
conversationId?: string | null | undefined;
|
|
4954
|
-
boostedAt?: Date | null | undefined;
|
|
4955
|
-
boostedUntil?: Date | null | undefined;
|
|
4956
|
-
viewsCount?: number | null | undefined;
|
|
4957
|
-
favoritesCount?: number | null | undefined;
|
|
4958
|
-
account?: {
|
|
4959
|
-
name: string;
|
|
4960
|
-
userId: number;
|
|
4961
|
-
accountId: string;
|
|
4962
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4963
|
-
status?: unknown;
|
|
4964
|
-
locale?: string | null | undefined;
|
|
4965
|
-
lockReason?: unknown;
|
|
4966
|
-
restrictedUntil?: Date | null | undefined;
|
|
4967
|
-
night?: {
|
|
4968
|
-
startsAt: Date;
|
|
4969
|
-
endsAt: Date;
|
|
4970
|
-
} | null | undefined;
|
|
4971
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
4972
|
-
ordersMaxDelay?: number | null | undefined;
|
|
4973
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
4974
|
-
walletMaxDelay?: number | null | undefined;
|
|
4975
|
-
availableBalance?: number | null | undefined;
|
|
4976
|
-
pendingBalance?: number | null | undefined;
|
|
4977
|
-
profilePictureFileId?: string | null | undefined;
|
|
4978
|
-
profilePicture?: {
|
|
4979
|
-
path: string;
|
|
4980
|
-
id: string;
|
|
4981
|
-
createdAt: Date;
|
|
4982
|
-
userId: number;
|
|
4983
|
-
signedUrl: string;
|
|
4984
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4985
|
-
} | null | undefined;
|
|
4986
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
4987
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
4988
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
4989
|
-
} | null | undefined;
|
|
4990
|
-
orderStatus?: unknown;
|
|
4991
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
4992
|
-
}[] | null | undefined;
|
|
4993
|
-
brandId?: number | null | undefined;
|
|
4994
|
-
estimatedPrice?: number | null | undefined;
|
|
4995
|
-
purchaseDate?: Date | null | undefined;
|
|
4996
|
-
sellingDate?: Date | null | undefined;
|
|
4997
4931
|
fields?: {
|
|
4998
4932
|
value: string;
|
|
4999
4933
|
itemId: number;
|
|
5000
4934
|
fieldId: number;
|
|
5001
4935
|
}[] | null | undefined;
|
|
5002
4936
|
files?: {
|
|
5003
|
-
fileId: string;
|
|
5004
4937
|
itemId: number;
|
|
4938
|
+
fileId: string;
|
|
5005
4939
|
file?: {
|
|
5006
4940
|
path: string;
|
|
5007
4941
|
id: string;
|
|
5008
|
-
createdAt: Date;
|
|
5009
4942
|
userId: number;
|
|
4943
|
+
createdAt: Date;
|
|
5010
4944
|
signedUrl: string;
|
|
5011
4945
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5012
4946
|
} | null | undefined;
|
|
5013
4947
|
index?: number | null | undefined;
|
|
5014
4948
|
}[] | null | undefined;
|
|
4949
|
+
brandId?: number | null | undefined;
|
|
4950
|
+
sex?: string | null | undefined;
|
|
5015
4951
|
purchasePrice?: number | null | undefined;
|
|
4952
|
+
purchaseDate?: Date | null | undefined;
|
|
5016
4953
|
purchasePlaceId?: number | null | undefined;
|
|
5017
4954
|
purchased?: boolean | null | undefined;
|
|
5018
4955
|
sellingPrice?: number | null | undefined;
|
|
4956
|
+
sellingDate?: Date | null | undefined;
|
|
5019
4957
|
sellingPlaceId?: number | null | undefined;
|
|
4958
|
+
estimatedPrice?: number | null | undefined;
|
|
4959
|
+
fees?: {
|
|
4960
|
+
value: number;
|
|
4961
|
+
type: string;
|
|
4962
|
+
id: number;
|
|
4963
|
+
userId: number;
|
|
4964
|
+
name: string;
|
|
4965
|
+
createdAt: Date;
|
|
4966
|
+
updatedAt: Date;
|
|
4967
|
+
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
4968
|
+
startDate: Date;
|
|
4969
|
+
active: boolean;
|
|
4970
|
+
description?: string | null | undefined;
|
|
4971
|
+
itemId?: number | null | undefined;
|
|
4972
|
+
endDate?: Date | null | undefined;
|
|
4973
|
+
parentFeeId?: number | null | undefined;
|
|
4974
|
+
}[] | null | undefined;
|
|
5020
4975
|
feesSum?: number | null | undefined;
|
|
5021
4976
|
materialIds?: number[] | null | undefined;
|
|
5022
4977
|
enumValues?: {
|
|
@@ -5032,6 +4987,7 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
5032
4987
|
createdAt: Date;
|
|
5033
4988
|
itemId: number;
|
|
5034
4989
|
type?: unknown;
|
|
4990
|
+
accountId?: string | null | undefined;
|
|
5035
4991
|
data?: {
|
|
5036
4992
|
type: "ACTION_CANCELED";
|
|
5037
4993
|
data: {
|
|
@@ -5097,23 +5053,23 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
5097
5053
|
post: {
|
|
5098
5054
|
platformId: string;
|
|
5099
5055
|
post: {
|
|
5056
|
+
size?: string | null | undefined;
|
|
5100
5057
|
status?: string | null | undefined;
|
|
5101
5058
|
title?: string | null | undefined;
|
|
5102
5059
|
description?: string | null | undefined;
|
|
5103
|
-
brand?: string | null | undefined;
|
|
5104
|
-
statusId?: number | null | undefined;
|
|
5105
|
-
sizeId?: number | null | undefined;
|
|
5106
|
-
colorIds?: number[] | null | undefined;
|
|
5107
|
-
packageSizeId?: number | null | undefined;
|
|
5108
5060
|
price?: number | null | undefined;
|
|
5109
5061
|
currency?: string | null | undefined;
|
|
5062
|
+
brand?: string | null | undefined;
|
|
5110
5063
|
catalog?: string | null | undefined;
|
|
5111
5064
|
catalogId?: number | null | undefined;
|
|
5112
5065
|
colors?: string[] | null | undefined;
|
|
5066
|
+
colorIds?: number[] | null | undefined;
|
|
5113
5067
|
measurementLength?: number | null | undefined;
|
|
5114
5068
|
measurementWidth?: number | null | undefined;
|
|
5069
|
+
packageSizeId?: number | null | undefined;
|
|
5115
5070
|
photoUrls?: string[] | null | undefined;
|
|
5116
|
-
|
|
5071
|
+
sizeId?: number | null | undefined;
|
|
5072
|
+
statusId?: number | null | undefined;
|
|
5117
5073
|
isDraft?: boolean | null | undefined;
|
|
5118
5074
|
isArchived?: boolean | null | undefined;
|
|
5119
5075
|
isUnisex?: boolean | null | undefined;
|
|
@@ -5156,8 +5112,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
5156
5112
|
} | {
|
|
5157
5113
|
type: "LIFECYCLE_STARTED";
|
|
5158
5114
|
data: {
|
|
5159
|
-
caseId: string;
|
|
5160
5115
|
accountId: string;
|
|
5116
|
+
caseId: string;
|
|
5161
5117
|
isRepeat?: boolean | null | undefined;
|
|
5162
5118
|
};
|
|
5163
5119
|
} | {
|
|
@@ -5196,17 +5152,17 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
5196
5152
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
5197
5153
|
} | null | undefined;
|
|
5198
5154
|
} | null | undefined;
|
|
5199
|
-
publishingDate?: Date | null | undefined;
|
|
5200
|
-
isTransfer?: boolean | null | undefined;
|
|
5201
5155
|
targetAccountId?: string | null | undefined;
|
|
5202
5156
|
allowIfDeleted?: boolean | null | undefined;
|
|
5157
|
+
publishingDate?: Date | null | undefined;
|
|
5158
|
+
isTransfer?: boolean | null | undefined;
|
|
5203
5159
|
};
|
|
5204
5160
|
} | {
|
|
5205
5161
|
type: "REPUBLISHING_RETRY";
|
|
5206
5162
|
data: {
|
|
5207
|
-
maxAttempts: number;
|
|
5208
5163
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5209
5164
|
attemptNumber: number;
|
|
5165
|
+
maxAttempts: number;
|
|
5210
5166
|
previousHistoryId: string;
|
|
5211
5167
|
originalFailureDate: Date;
|
|
5212
5168
|
payload?: {
|
|
@@ -5248,9 +5204,9 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
5248
5204
|
} | {
|
|
5249
5205
|
type: "SCHEDULED_RETRY";
|
|
5250
5206
|
data: {
|
|
5251
|
-
maxAttempts: number;
|
|
5252
5207
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5253
5208
|
attemptNumber: number;
|
|
5209
|
+
maxAttempts: number;
|
|
5254
5210
|
previousHistoryId: string;
|
|
5255
5211
|
originalFailureDate: Date;
|
|
5256
5212
|
fields?: {
|
|
@@ -5283,52 +5239,103 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
5283
5239
|
targetDate?: Date | null | undefined;
|
|
5284
5240
|
};
|
|
5285
5241
|
} | null | undefined;
|
|
5286
|
-
accountId?: string | null | undefined;
|
|
5287
5242
|
targetDate?: Date | null | undefined;
|
|
5288
5243
|
requestId?: string | null | undefined;
|
|
5289
5244
|
targetHistoryId?: string | null | undefined;
|
|
5290
5245
|
} | null | undefined;
|
|
5246
|
+
platforms?: {
|
|
5247
|
+
id: string;
|
|
5248
|
+
accountId: string;
|
|
5249
|
+
createdAt: Date;
|
|
5250
|
+
itemId: number;
|
|
5251
|
+
platformId: string;
|
|
5252
|
+
platformUrl: string;
|
|
5253
|
+
platformPrice: number;
|
|
5254
|
+
updatedAt: Date;
|
|
5255
|
+
publishedAt: Date;
|
|
5256
|
+
status?: unknown;
|
|
5257
|
+
conversationId?: string | null | undefined;
|
|
5258
|
+
boostedAt?: Date | null | undefined;
|
|
5259
|
+
boostedUntil?: Date | null | undefined;
|
|
5260
|
+
viewsCount?: number | null | undefined;
|
|
5261
|
+
favoritesCount?: number | null | undefined;
|
|
5262
|
+
account?: {
|
|
5263
|
+
accountId: string;
|
|
5264
|
+
userId: number;
|
|
5265
|
+
name: string;
|
|
5266
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5267
|
+
status?: unknown;
|
|
5268
|
+
locale?: string | null | undefined;
|
|
5269
|
+
lockReason?: unknown;
|
|
5270
|
+
restrictedUntil?: Date | null | undefined;
|
|
5271
|
+
night?: {
|
|
5272
|
+
startsAt: Date;
|
|
5273
|
+
endsAt: Date;
|
|
5274
|
+
} | null | undefined;
|
|
5275
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
5276
|
+
ordersMaxDelay?: number | null | undefined;
|
|
5277
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
5278
|
+
walletMaxDelay?: number | null | undefined;
|
|
5279
|
+
availableBalance?: number | null | undefined;
|
|
5280
|
+
pendingBalance?: number | null | undefined;
|
|
5281
|
+
profilePictureFileId?: string | null | undefined;
|
|
5282
|
+
profilePicture?: {
|
|
5283
|
+
path: string;
|
|
5284
|
+
id: string;
|
|
5285
|
+
userId: number;
|
|
5286
|
+
createdAt: Date;
|
|
5287
|
+
signedUrl: string;
|
|
5288
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5289
|
+
} | null | undefined;
|
|
5290
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
5291
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
5292
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
5293
|
+
} | null | undefined;
|
|
5294
|
+
orderStatus?: unknown;
|
|
5295
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
5296
|
+
isBoosted?: boolean | null | undefined;
|
|
5297
|
+
}[] | null | undefined;
|
|
5291
5298
|
sourceInConversation?: unknown;
|
|
5292
5299
|
order?: {
|
|
5293
5300
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
5294
5301
|
labels?: {
|
|
5295
5302
|
id: string;
|
|
5296
|
-
fileId: string;
|
|
5297
5303
|
orderId: string;
|
|
5304
|
+
fileId: string;
|
|
5298
5305
|
nonCroppedFileId: string;
|
|
5299
5306
|
originalFileId: string;
|
|
5300
|
-
|
|
5307
|
+
file?: {
|
|
5301
5308
|
path: string;
|
|
5302
5309
|
id: string;
|
|
5303
|
-
createdAt: Date;
|
|
5304
5310
|
userId: number;
|
|
5311
|
+
createdAt: Date;
|
|
5305
5312
|
signedUrl: string;
|
|
5306
5313
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5307
5314
|
} | null | undefined;
|
|
5308
|
-
|
|
5309
|
-
file?: {
|
|
5315
|
+
nonCroppedFile?: {
|
|
5310
5316
|
path: string;
|
|
5311
5317
|
id: string;
|
|
5312
|
-
createdAt: Date;
|
|
5313
5318
|
userId: number;
|
|
5319
|
+
createdAt: Date;
|
|
5314
5320
|
signedUrl: string;
|
|
5315
5321
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5316
5322
|
} | null | undefined;
|
|
5317
|
-
|
|
5323
|
+
originalFile?: {
|
|
5318
5324
|
path: string;
|
|
5319
5325
|
id: string;
|
|
5320
|
-
createdAt: Date;
|
|
5321
5326
|
userId: number;
|
|
5327
|
+
createdAt: Date;
|
|
5322
5328
|
signedUrl: string;
|
|
5323
5329
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5324
5330
|
} | null | undefined;
|
|
5331
|
+
carrier?: unknown;
|
|
5325
5332
|
}[] | null | undefined;
|
|
5326
5333
|
invoices?: {
|
|
5327
5334
|
type: "SALE" | "PURCHASE";
|
|
5328
5335
|
status: string;
|
|
5329
5336
|
id: string;
|
|
5330
|
-
createdAt: Date;
|
|
5331
5337
|
userId: number;
|
|
5338
|
+
createdAt: Date;
|
|
5332
5339
|
currency: string;
|
|
5333
5340
|
orderId: string;
|
|
5334
5341
|
updatedAt: Date;
|
|
@@ -5337,21 +5344,21 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
5337
5344
|
businessProfileId: string;
|
|
5338
5345
|
issueDate: Date;
|
|
5339
5346
|
subtotal: number;
|
|
5340
|
-
fileId?: string | null | undefined;
|
|
5341
5347
|
vatAmount?: number | null | undefined;
|
|
5348
|
+
fileId?: string | null | undefined;
|
|
5342
5349
|
file?: {
|
|
5343
5350
|
path: string;
|
|
5344
5351
|
id: string;
|
|
5345
|
-
createdAt: Date;
|
|
5346
5352
|
userId: number;
|
|
5353
|
+
createdAt: Date;
|
|
5347
5354
|
signedUrl: string;
|
|
5348
5355
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5349
5356
|
} | null | undefined;
|
|
5350
5357
|
vatRate?: number | null | undefined;
|
|
5351
5358
|
businessProfile?: {
|
|
5352
5359
|
id: string;
|
|
5353
|
-
createdAt: Date;
|
|
5354
5360
|
userId: number;
|
|
5361
|
+
createdAt: Date;
|
|
5355
5362
|
updatedAt: Date;
|
|
5356
5363
|
businessName: string;
|
|
5357
5364
|
address: string;
|
|
@@ -5364,8 +5371,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
5364
5371
|
logo?: {
|
|
5365
5372
|
path: string;
|
|
5366
5373
|
id: string;
|
|
5367
|
-
createdAt: Date;
|
|
5368
5374
|
userId: number;
|
|
5375
|
+
createdAt: Date;
|
|
5369
5376
|
signedUrl: string;
|
|
5370
5377
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5371
5378
|
} | null | undefined;
|
|
@@ -5377,26 +5384,26 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
5377
5384
|
firstName: string;
|
|
5378
5385
|
lastName: string;
|
|
5379
5386
|
phoneVerified: boolean;
|
|
5380
|
-
|
|
5387
|
+
postalCode?: string | null | undefined;
|
|
5388
|
+
city?: string | null | undefined;
|
|
5389
|
+
country?: string | null | undefined;
|
|
5381
5390
|
email?: string | null | undefined;
|
|
5391
|
+
addressLine1?: string | null | undefined;
|
|
5392
|
+
addressLine2?: string | null | undefined;
|
|
5393
|
+
birthDate?: Date | null | undefined;
|
|
5382
5394
|
idNumber?: string | null | undefined;
|
|
5383
5395
|
phone?: string | null | undefined;
|
|
5384
5396
|
iban?: string | null | undefined;
|
|
5385
5397
|
bic?: string | null | undefined;
|
|
5386
|
-
addressLine1?: string | null | undefined;
|
|
5387
|
-
addressLine2?: string | null | undefined;
|
|
5388
|
-
city?: string | null | undefined;
|
|
5389
|
-
postalCode?: string | null | undefined;
|
|
5390
|
-
country?: string | null | undefined;
|
|
5391
5398
|
} | null | undefined;
|
|
5392
5399
|
dueDate?: Date | null | undefined;
|
|
5393
5400
|
notes?: string | null | undefined;
|
|
5394
5401
|
lineItems?: {
|
|
5395
|
-
|
|
5402
|
+
quantity: number;
|
|
5396
5403
|
id: number;
|
|
5404
|
+
description: string;
|
|
5397
5405
|
createdAt: Date;
|
|
5398
5406
|
invoiceId: string;
|
|
5399
|
-
quantity: number;
|
|
5400
5407
|
unitPrice: number;
|
|
5401
5408
|
total: number;
|
|
5402
5409
|
itemOnPlatformId?: string | null | undefined;
|