controlresell 2.26.6 → 2.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/com/controlresell/api/requests/coach/AskCoachRequest.d.ts +4 -4
- package/src/com/controlresell/api/requests/customers/CreateCustomerRequest.d.ts +2 -2
- package/src/com/controlresell/api/requests/files/CreatePresignedFileRequest.d.ts +2 -2
- package/src/com/controlresell/api/requests/items/boost/BoostRequest.d.ts +3 -3
- package/src/com/controlresell/api/requests/items/cancel/CancelRequest.d.ts +2 -2
- package/src/com/controlresell/api/requests/items/forms/FormOption.d.ts +2 -2
- package/src/com/controlresell/api/requests/items/forms/FormOptionGroup.d.ts +6 -6
- package/src/com/controlresell/api/requests/items/forms/FormOptionPickRequest.d.ts +14 -14
- package/src/com/controlresell/api/requests/items/publish/AutomaticPublishRequestItem.d.ts +2 -2
- package/src/com/controlresell/api/requests/items/publish/ManualPublishRequestItem.d.ts +6 -6
- package/src/com/controlresell/api/requests/items/publish/PublishRequest.d.ts +16 -16
- package/src/com/controlresell/api/requests/items/publish/PublishRequestItems.d.ts +16 -16
- package/src/com/controlresell/api/requests/items/publish/PublishTimeSlot.d.ts +2 -2
- package/src/com/controlresell/api/requests/items/republish/RepublishRequest.d.ts +22 -22
- package/src/com/controlresell/api/requests/items/update/UpdateRequest.d.ts +29 -29
- package/src/com/controlresell/api/requests/subscriptions/ChangeSubscriptionPlanRequest.d.ts +4 -4
- package/src/com/controlresell/api/requests/subscriptions/CreateSubscriptionPaymentLinkRequest.d.ts +4 -4
- package/src/com/controlresell/api/requests/subscriptions/SubscriptionLevelQuantity.d.ts +2 -2
- package/src/com/controlresell/api/responses/activation/ActivationResponse.d.ts +10 -10
- package/src/com/controlresell/api/responses/activity/ActivityDayLevel.d.ts +4 -0
- package/src/com/controlresell/api/responses/activity/ActivityDayLevel.d.ts.map +1 -0
- package/src/com/controlresell/api/responses/activity/ActivityDayLevel.js +5 -0
- package/src/com/controlresell/api/responses/activity/ActivityDayLevel.js.map +1 -0
- package/src/com/controlresell/api/responses/activity/ActivityDayLevel.ts +6 -0
- package/src/com/controlresell/api/responses/activity/ActivityDaySummary.d.ts +41 -2
- package/src/com/controlresell/api/responses/activity/ActivityDaySummary.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/activity/ActivityDaySummary.js +6 -1
- package/src/com/controlresell/api/responses/activity/ActivityDaySummary.js.map +1 -1
- package/src/com/controlresell/api/responses/activity/ActivityDaySummary.ts +6 -1
- package/src/com/controlresell/api/responses/activity/ActivityEvent.d.ts +12 -12
- package/src/com/controlresell/api/responses/activity/ActivityEventsResponse.d.ts +21 -21
- package/src/com/controlresell/api/responses/activity/ActivityFamily.d.ts +4 -0
- package/src/com/controlresell/api/responses/activity/ActivityFamily.d.ts.map +1 -0
- package/src/com/controlresell/api/responses/activity/ActivityFamily.js +5 -0
- package/src/com/controlresell/api/responses/activity/ActivityFamily.js.map +1 -0
- package/src/com/controlresell/api/responses/activity/ActivityFamily.ts +6 -0
- package/src/com/controlresell/api/responses/activity/ActivityFamilyCounts.d.ts +22 -0
- package/src/com/controlresell/api/responses/activity/ActivityFamilyCounts.d.ts.map +1 -0
- package/src/com/controlresell/api/responses/activity/ActivityFamilyCounts.js +10 -0
- package/src/com/controlresell/api/responses/activity/ActivityFamilyCounts.js.map +1 -0
- package/src/com/controlresell/api/responses/activity/ActivityFamilyCounts.ts +11 -0
- package/src/com/controlresell/api/responses/activity/ActivityItem.d.ts +2 -2
- package/src/com/controlresell/api/responses/activity/ActivityMessage.d.ts +1 -1
- package/src/com/controlresell/api/responses/activity/ActivitySummaryResponse.d.ts +121 -25
- package/src/com/controlresell/api/responses/activity/ActivitySummaryResponse.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/activity/ActivitySummaryResponse.js +6 -1
- package/src/com/controlresell/api/responses/activity/ActivitySummaryResponse.js.map +1 -1
- package/src/com/controlresell/api/responses/activity/ActivitySummaryResponse.ts +6 -1
- package/src/com/controlresell/api/responses/coach/CoachAnswerResponse.d.ts +4 -4
- package/src/com/controlresell/api/responses/coach/CoachMessageResponse.d.ts +2 -2
- package/src/com/controlresell/api/responses/coach/CoachThreadResponse.d.ts +6 -6
- package/src/com/controlresell/api/responses/coach/CoachThreadsResponse.d.ts +10 -10
- package/src/com/controlresell/api/responses/conversations/MessageStreamResponse.d.ts +204 -204
- package/src/com/controlresell/api/responses/customers/CustomersResponse.d.ts +24 -24
- package/src/com/controlresell/api/responses/fees/GetAllFeesData.d.ts +12 -12
- package/src/com/controlresell/api/responses/invoices/ListInvoicesResponse.d.ts +76 -76
- package/src/com/controlresell/api/responses/items/FormOptionPickResponse.d.ts +2 -2
- package/src/com/controlresell/api/responses/items/ItemActions.d.ts +1 -1
- package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts +734 -734
- package/src/com/controlresell/api/responses/items/ListedItem.d.ts +491 -491
- package/src/com/controlresell/api/responses/items/ListedItemOrder.d.ts +114 -114
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseBaseResponse.d.ts +2 -2
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseResponse.d.ts +6 -6
- package/src/com/controlresell/api/responses/subscriptions/PromoCodeResponse.d.ts +2 -2
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionLevelResponse.d.ts +2 -2
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionLevelsResponse.d.ts +4 -4
- package/src/com/controlresell/auth/models/preferences/CreatePreferencePayload.d.ts +2 -2
- package/src/com/controlresell/auth/models/preferences/Preference.d.ts +104 -104
- package/src/com/controlresell/auth/models/preferences/PreferenceWithCase.d.ts +298 -298
- package/src/com/controlresell/auth/models/preferences/PreferenceWithChildren.d.ts +238 -238
- package/src/com/controlresell/auth/models/preferences/cases/CreatePreferenceCasePayload.d.ts +70 -70
- package/src/com/controlresell/auth/models/preferences/cases/PartialPreferenceCasePayload.d.ts +68 -68
- package/src/com/controlresell/auth/models/preferences/cases/PreferenceCase.d.ts +74 -74
- package/src/com/controlresell/auth/models/preferences/payloads/actions/LifecycleDistributionMode.d.ts +8 -8
- package/src/com/controlresell/auth/models/preferences/payloads/actions/LifecycleTimeSlot.d.ts +2 -2
- package/src/com/controlresell/auth/models/preferences/payloads/actions/ManualLifecycleDistributionMode.d.ts +4 -4
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionPayload.d.ts +4 -4
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionsPayload.d.ts +14 -14
- package/src/com/controlresell/auth/models/preferences/queue/PreferenceNextActionPayload.d.ts +378 -378
- package/src/com/controlresell/auth/models/preferences/variants/PartialPreferenceCaseVariantPayload.d.ts +50 -50
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariant.d.ts +52 -52
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantDecodedPayload.d.ts +72 -72
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantPayload.d.ts +50 -50
- package/src/com/controlresell/models/auth/LoginPayload.d.ts +2 -2
- package/src/com/controlresell/models/auth/RegisterPayload.d.ts +2 -2
- package/src/com/controlresell/models/business/BusinessProfile.d.ts +6 -6
- package/src/com/controlresell/models/conversations/Conversation.d.ts +64 -64
- package/src/com/controlresell/models/conversations/ConversationOnPlatformUpdateRequest.d.ts +92 -92
- package/src/com/controlresell/models/conversations/ConversationUpdate.d.ts +124 -124
- package/src/com/controlresell/models/conversations/UserConversations.d.ts +94 -94
- package/src/com/controlresell/models/conversations/favorites/ConversationFavorite.d.ts +18 -18
- package/src/com/controlresell/models/conversations/favorites/CreateConversationFavoritePayload.d.ts +2 -2
- package/src/com/controlresell/models/conversations/favorites/ReportRateLimitOnFavorites.d.ts +28 -28
- package/src/com/controlresell/models/conversations/favorites/SubmitFavoritesResponse.d.ts +28 -28
- package/src/com/controlresell/models/conversations/messages/ConversationMessage.d.ts +18 -18
- package/src/com/controlresell/models/conversations/messages/ConversationMessageRequest.d.ts +6 -6
- package/src/com/controlresell/models/conversations/messages/CreateConversationMessagePayload.d.ts +6 -6
- package/src/com/controlresell/models/conversations/messages/PaginatedConversationMessages.d.ts +30 -30
- package/src/com/controlresell/models/conversations/messages/files/ConversationMessageFile.d.ts +6 -6
- package/src/com/controlresell/models/conversations/messages/variables/PreferenceVariable.d.ts +2 -2
- package/src/com/controlresell/models/conversations/offers/ConversationOfferRequest.d.ts +2 -2
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.d.ts +66 -66
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerProfileCase.d.ts +4 -4
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerQuestionCase.d.ts +2 -2
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerTriggerCase.d.ts +4 -4
- package/src/com/controlresell/models/conversations/preferences/ExcludedBuyer.d.ts +2 -2
- package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreference.d.ts +92 -92
- package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreferenceCase.d.ts +28 -28
- package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreferenceVariant.d.ts +12 -12
- package/src/com/controlresell/models/conversations/preferences/NegotiationPreference.d.ts +10 -10
- package/src/com/controlresell/models/conversations/preferences/NegotiationPreferenceCase.d.ts +4 -4
- package/src/com/controlresell/models/conversations/reminders/SendConversationReminderRequest.d.ts +2 -2
- package/src/com/controlresell/models/conversations/users/ConversationUser.d.ts +8 -8
- package/src/com/controlresell/models/conversations/users/CreateConversationUserPayload.d.ts +2 -2
- package/src/com/controlresell/models/conversations/users/UpdateConversationUserPayload.d.ts +4 -4
- package/src/com/controlresell/models/customers/Customer.d.ts +12 -12
- package/src/com/controlresell/models/discord/DiscordLinkCreatedEvent.d.ts +9 -9
- package/src/com/controlresell/models/discord/DiscordLinkDeletedEvent.d.ts +2 -2
- package/src/com/controlresell/models/fees/Fee.d.ts +6 -6
- package/src/com/controlresell/models/files/File.d.ts +2 -2
- package/src/com/controlresell/models/filters/MatchingItem.d.ts +2 -2
- package/src/com/controlresell/models/filters/PreferenceFilter.d.ts +20 -20
- package/src/com/controlresell/models/filters/SavedFilters.d.ts +16 -16
- package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts +16 -16
- package/src/com/controlresell/models/invoices/Invoice.d.ts +50 -50
- package/src/com/controlresell/models/invoices/InvoiceLineItem.d.ts +4 -4
- package/src/com/controlresell/models/items/CreatedItems.d.ts +1443 -1443
- package/src/com/controlresell/models/items/Item.d.ts +456 -456
- package/src/com/controlresell/models/items/ItemFiltersContext.d.ts +8 -8
- package/src/com/controlresell/models/items/ItemPayload.d.ts +18 -18
- package/src/com/controlresell/models/items/ItemSoldPayload.d.ts +2 -2
- package/src/com/controlresell/models/items/ItemUpdate.d.ts +735 -735
- package/src/com/controlresell/models/items/UpdatedItem.d.ts +1443 -1443
- package/src/com/controlresell/models/items/analysis/ItemAnalysisCompletion.d.ts +4 -4
- package/src/com/controlresell/models/items/analysis/ItemAnalysisRequest.d.ts +16 -16
- package/src/com/controlresell/models/items/analysis/ItemAnalysisUpdate.d.ts +735 -735
- package/src/com/controlresell/models/items/analysis/ItemFieldResolution.d.ts +2 -2
- package/src/com/controlresell/models/items/analysis/ItemFieldResolutionsRequest.d.ts +4 -4
- package/src/com/controlresell/models/items/estimation/ItemPriceEstimation.d.ts +4 -4
- package/src/com/controlresell/models/items/estimation/ItemPriceEstimationDraft.d.ts +8 -8
- package/src/com/controlresell/models/items/estimation/ItemPriceEstimationRequest.d.ts +16 -16
- package/src/com/controlresell/models/items/estimation/MarketPriceDistribution.d.ts +2 -2
- package/src/com/controlresell/models/items/files/ItemFile.d.ts +6 -6
- package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.d.ts +102 -102
- package/src/com/controlresell/models/items/history/ItemHistory.d.ts +104 -104
- package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.d.ts +154 -154
- package/src/com/controlresell/models/items/history/data/ItemHistoryFailedToPublishPayload.d.ts +2 -2
- package/src/com/controlresell/models/items/history/data/ItemHistoryImportedPayload.d.ts +36 -36
- package/src/com/controlresell/models/items/history/data/ItemHistoryLifecycleStartedPayload.d.ts +2 -2
- package/src/com/controlresell/models/items/history/data/ItemHistoryRepublishingPayload.d.ts +4 -4
- package/src/com/controlresell/models/items/history/data/ItemHistoryRepublishingRetryPayload.d.ts +4 -4
- package/src/com/controlresell/models/items/history/data/ItemHistoryScheduledRetryPayload.d.ts +4 -4
- package/src/com/controlresell/models/items/labels/ItemLabel.d.ts +4 -4
- package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts +16 -16
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts +50 -50
- package/src/com/controlresell/models/items/templates/PreferenceTemplatePayload.d.ts +8 -8
- package/src/com/controlresell/models/items/templates/Template.d.ts +16 -16
- package/src/com/controlresell/models/metadata/brands/Brand.d.ts +2 -2
- package/src/com/controlresell/models/metadata/categories/CatalogRoot.d.ts +8 -8
- package/src/com/controlresell/models/metadata/categories/Category.d.ts +4 -4
- package/src/com/controlresell/models/metadata/categories/CategoryFormSchema.d.ts +10 -10
- package/src/com/controlresell/models/metadata/categories/EnumFieldSpec.d.ts +4 -4
- package/src/com/controlresell/models/metadata/categoryfields/CategoryField.d.ts +2 -2
- package/src/com/controlresell/models/metadata/categoryfields/CreateCategoryFieldPayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/colors/Color.d.ts +2 -2
- package/src/com/controlresell/models/metadata/colors/ColorRoot.d.ts +4 -4
- package/src/com/controlresell/models/metadata/enums/Enum.d.ts +2 -2
- package/src/com/controlresell/models/metadata/favorites/CreateFavoriteMetadataPayload.d.ts +1 -1
- package/src/com/controlresell/models/metadata/favorites/FavoriteMetadata.d.ts +1 -1
- package/src/com/controlresell/models/metadata/labels/Label.d.ts +2 -2
- package/src/com/controlresell/models/metadata/packagesizes/PackageSize.d.ts +2 -2
- package/src/com/controlresell/models/metadata/places/Place.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformCategoriesPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformCategoryFieldsPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformEnumsPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformSizesPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/BrandMapping.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/CategoryMapping.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/CreateBrandMappingPayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/CreateCategoryMappingPayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/CreateEnumMappingPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/CreateSizeMappingPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/EnumMapping.d.ts +6 -6
- package/src/com/controlresell/models/metadata/platforms/ItemListingPreview.d.ts +756 -756
- package/src/com/controlresell/models/metadata/platforms/MappedPlatformCategories.d.ts +13 -0
- package/src/com/controlresell/models/metadata/platforms/MappedPlatformCategories.d.ts.map +1 -0
- package/src/com/controlresell/models/metadata/platforms/MappedPlatformCategories.js +6 -0
- package/src/com/controlresell/models/metadata/platforms/MappedPlatformCategories.js.map +1 -0
- package/src/com/controlresell/models/metadata/platforms/MappedPlatformCategories.ts +7 -0
- package/src/com/controlresell/models/metadata/platforms/MappingInfo.d.ts +36 -36
- package/src/com/controlresell/models/metadata/platforms/PlatformBrand.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/PlatformCategory.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/PlatformCategoryFieldPayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/PlatformCategoryPayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/PlatformEnum.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/PlatformEnumPayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/PlatformSize.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/PlatformSizePayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/SizeMapping.d.ts +6 -6
- package/src/com/controlresell/models/metadata/platforms/UpdateEnumMappingPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/sizes/Size.d.ts +2 -2
- package/src/com/controlresell/models/metadata/sizes/SizeGroup.d.ts +6 -6
- package/src/com/controlresell/models/metadata/sizes/SizeRoot.d.ts +10 -10
- package/src/com/controlresell/models/metadata/statuses/Status.d.ts +2 -2
- package/src/com/controlresell/models/notifications/CreateNotificationTokenPayload.d.ts +3 -0
- package/src/com/controlresell/models/notifications/CreateNotificationTokenPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/notifications/CreateNotificationTokenPayload.js +2 -1
- package/src/com/controlresell/models/notifications/CreateNotificationTokenPayload.js.map +1 -1
- package/src/com/controlresell/models/notifications/CreateNotificationTokenPayload.ts +2 -1
- package/src/com/controlresell/models/notifications/CreateNotificationTokenPayloadWithUser.d.ts +5 -0
- package/src/com/controlresell/models/notifications/CreateNotificationTokenPayloadWithUser.d.ts.map +1 -1
- package/src/com/controlresell/models/notifications/NotificationToken.d.ts +3 -0
- package/src/com/controlresell/models/notifications/NotificationToken.d.ts.map +1 -1
- package/src/com/controlresell/models/notifications/NotificationToken.js +2 -1
- package/src/com/controlresell/models/notifications/NotificationToken.js.map +1 -1
- package/src/com/controlresell/models/notifications/NotificationToken.ts +2 -1
- package/src/com/controlresell/models/onboardingquiz/OnboardingQuizResponse.d.ts +4 -4
- package/src/com/controlresell/models/platforms/labels/OrderLabel.d.ts +22 -22
- package/src/com/controlresell/models/platforms/orders/CreateOrderPayload.d.ts +2 -2
- package/src/com/controlresell/models/platforms/orders/Order.d.ts +274 -274
- package/src/com/controlresell/models/platforms/orders/OrderFiltersContext.d.ts +2 -2
- package/src/com/controlresell/models/platforms/orders/OrderLabelUpdate.d.ts +38 -38
- package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts +14 -14
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +1629 -1629
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +24 -24
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +1161 -1161
- package/src/com/controlresell/models/platforms/pickups/CreatePickupPointPayload.d.ts +4 -4
- package/src/com/controlresell/models/platforms/pickups/PickupPoint.d.ts +6 -6
- package/src/com/controlresell/models/platforms/pickups/PickupPointInOrder.d.ts +12 -12
- package/src/com/controlresell/models/platforms/pickups/UpdatePickupPointPayload.d.ts +4 -4
- package/src/com/controlresell/models/subscriptions/ActiveLevel.d.ts +2 -2
- package/src/com/controlresell/models/subscriptions/SubscriptionChangedEvent.d.ts +4 -4
- package/src/com/controlresell/models/subscriptions/SubscriptionHistory.d.ts +4 -4
- package/src/com/controlresell/models/subscriptions/UserLimitCounter.d.ts +2 -2
- package/src/com/controlresell/models/subscriptions/UserLimits.d.ts +46 -46
- package/src/com/controlresell/models/transactions/Transaction.d.ts +36 -36
- package/src/com/controlresell/models/transactions/items/ItemInTransaction.d.ts +24 -24
- package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts +773 -773
- package/src/com/controlresell/models/users/UpdateUserPayload.d.ts +6 -6
- package/src/com/controlresell/models/users/User.d.ts +30 -30
- package/src/com/controlresell/models/users/fields/Field.d.ts +2 -2
- package/src/com/controlresell/models/users/fields/FieldsWithData.d.ts +4 -4
- package/src/com/controlresell/models/users/platforms/CreateUserOnPlatformPayload.d.ts +2 -2
- package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts +14 -14
- package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts +16 -16
- package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.d.ts +2 -2
- package/src/com/controlresell/models/users/platforms/UserOnPlatform.d.ts +8 -8
- package/src/com/controlresell/models/users/ws/ResourceUpdate.d.ts +61 -61
- package/src/com/controlresell/models/users/ws/UserLimitsUpdate.d.ts +74 -74
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +3614 -3614
- package/src/com/controlresell/models/users/ws/UserWsResourcePayload.d.ts +80 -80
- package/src/index.d.ts +404 -400
- package/src/index.d.ts.map +1 -1
- package/src/index.js +404 -400
- package/src/index.js.map +1 -1
- package/src/index.ts +404 -400
|
@@ -21,38 +21,38 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
21
21
|
}, "strip", z.ZodTypeAny, {
|
|
22
22
|
path: string;
|
|
23
23
|
id: string;
|
|
24
|
-
userId: number;
|
|
25
24
|
createdAt: Date;
|
|
25
|
+
userId: number;
|
|
26
26
|
signedUrl: string;
|
|
27
27
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
28
28
|
}, {
|
|
29
29
|
path: string;
|
|
30
30
|
id: string;
|
|
31
|
-
userId: number;
|
|
32
31
|
createdAt: Date;
|
|
32
|
+
userId: number;
|
|
33
33
|
signedUrl: string;
|
|
34
34
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
35
35
|
}>>>;
|
|
36
36
|
}, "strip", z.ZodTypeAny, {
|
|
37
|
-
itemId: number;
|
|
38
37
|
fileId: string;
|
|
38
|
+
itemId: number;
|
|
39
39
|
file?: {
|
|
40
40
|
path: string;
|
|
41
41
|
id: string;
|
|
42
|
-
userId: number;
|
|
43
42
|
createdAt: Date;
|
|
43
|
+
userId: number;
|
|
44
44
|
signedUrl: string;
|
|
45
45
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
46
46
|
} | null | undefined;
|
|
47
47
|
index?: number | null | undefined;
|
|
48
48
|
}, {
|
|
49
|
-
itemId: number;
|
|
50
49
|
fileId: string;
|
|
50
|
+
itemId: number;
|
|
51
51
|
file?: {
|
|
52
52
|
path: string;
|
|
53
53
|
id: string;
|
|
54
|
-
userId: number;
|
|
55
54
|
createdAt: Date;
|
|
55
|
+
userId: number;
|
|
56
56
|
signedUrl: string;
|
|
57
57
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
58
58
|
} | null | undefined;
|
|
@@ -90,12 +90,12 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
90
90
|
}, "strip", z.ZodTypeAny, {
|
|
91
91
|
value: number;
|
|
92
92
|
type: string;
|
|
93
|
-
id: number;
|
|
94
|
-
userId: number;
|
|
95
93
|
name: string;
|
|
94
|
+
id: number;
|
|
96
95
|
createdAt: Date;
|
|
96
|
+
userId: number;
|
|
97
97
|
updatedAt: Date;
|
|
98
|
-
recurrence: "
|
|
98
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
99
99
|
startDate: Date;
|
|
100
100
|
active: boolean;
|
|
101
101
|
description?: string | null | undefined;
|
|
@@ -105,12 +105,12 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
105
105
|
}, {
|
|
106
106
|
value: number;
|
|
107
107
|
type: string;
|
|
108
|
-
id: number;
|
|
109
|
-
userId: number;
|
|
110
108
|
name: string;
|
|
109
|
+
id: number;
|
|
111
110
|
createdAt: Date;
|
|
111
|
+
userId: number;
|
|
112
112
|
updatedAt: Date;
|
|
113
|
-
recurrence: "
|
|
113
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
114
114
|
startDate: Date;
|
|
115
115
|
active: boolean;
|
|
116
116
|
description?: string | null | undefined;
|
|
@@ -131,16 +131,16 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
131
131
|
itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
132
132
|
parentId: z.ZodUnknown;
|
|
133
133
|
}, "strip", z.ZodTypeAny, {
|
|
134
|
-
id: number;
|
|
135
134
|
name: string;
|
|
135
|
+
id: number;
|
|
136
136
|
createdAt: Date;
|
|
137
137
|
isUserLabel: boolean;
|
|
138
138
|
itemCount?: number | null | undefined;
|
|
139
139
|
userId?: number | null | undefined;
|
|
140
140
|
parentId?: unknown;
|
|
141
141
|
}, {
|
|
142
|
-
id: number;
|
|
143
142
|
name: string;
|
|
143
|
+
id: number;
|
|
144
144
|
createdAt: Date;
|
|
145
145
|
isUserLabel: boolean;
|
|
146
146
|
itemCount?: number | null | undefined;
|
|
@@ -151,8 +151,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
151
151
|
itemId: number;
|
|
152
152
|
labelId: number;
|
|
153
153
|
label?: {
|
|
154
|
-
id: number;
|
|
155
154
|
name: string;
|
|
155
|
+
id: number;
|
|
156
156
|
createdAt: Date;
|
|
157
157
|
isUserLabel: boolean;
|
|
158
158
|
itemCount?: number | null | undefined;
|
|
@@ -163,8 +163,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
163
163
|
itemId: number;
|
|
164
164
|
labelId: number;
|
|
165
165
|
label?: {
|
|
166
|
-
id: number;
|
|
167
166
|
name: string;
|
|
167
|
+
id: number;
|
|
168
168
|
createdAt: Date;
|
|
169
169
|
isUserLabel: boolean;
|
|
170
170
|
itemCount?: number | null | undefined;
|
|
@@ -348,7 +348,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
348
348
|
autoFixable: z.ZodBoolean;
|
|
349
349
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
350
350
|
}, "strip", z.ZodTypeAny, {
|
|
351
|
-
field: "
|
|
351
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
352
352
|
autoFixable: boolean;
|
|
353
353
|
error?: string | null | undefined;
|
|
354
354
|
}, {
|
|
@@ -363,7 +363,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
363
363
|
accountId?: string | null | undefined;
|
|
364
364
|
reason?: string | null | undefined;
|
|
365
365
|
fields?: {
|
|
366
|
-
field: "
|
|
366
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
367
367
|
autoFixable: boolean;
|
|
368
368
|
error?: string | null | undefined;
|
|
369
369
|
}[] | null | undefined;
|
|
@@ -389,7 +389,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
389
389
|
accountId?: string | null | undefined;
|
|
390
390
|
reason?: string | null | undefined;
|
|
391
391
|
fields?: {
|
|
392
|
-
field: "
|
|
392
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
393
393
|
autoFixable: boolean;
|
|
394
394
|
error?: string | null | undefined;
|
|
395
395
|
}[] | null | undefined;
|
|
@@ -573,23 +573,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
573
573
|
boostedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
574
574
|
boostedUntil: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
575
575
|
}, "strip", z.ZodTypeAny, {
|
|
576
|
-
size?: string | null | undefined;
|
|
577
576
|
status?: string | null | undefined;
|
|
578
577
|
title?: string | null | undefined;
|
|
579
578
|
description?: string | null | undefined;
|
|
579
|
+
brand?: string | null | undefined;
|
|
580
|
+
statusId?: number | null | undefined;
|
|
581
|
+
sizeId?: number | null | undefined;
|
|
582
|
+
colorIds?: number[] | null | undefined;
|
|
583
|
+
packageSizeId?: number | null | undefined;
|
|
580
584
|
price?: number | null | undefined;
|
|
581
585
|
currency?: string | null | undefined;
|
|
582
|
-
brand?: string | null | undefined;
|
|
583
586
|
catalog?: string | null | undefined;
|
|
584
587
|
catalogId?: number | null | undefined;
|
|
585
588
|
colors?: string[] | null | undefined;
|
|
586
|
-
colorIds?: number[] | null | undefined;
|
|
587
589
|
measurementLength?: number | null | undefined;
|
|
588
590
|
measurementWidth?: number | null | undefined;
|
|
589
|
-
packageSizeId?: number | null | undefined;
|
|
590
591
|
photoUrls?: string[] | null | undefined;
|
|
591
|
-
|
|
592
|
-
statusId?: number | null | undefined;
|
|
592
|
+
size?: string | null | undefined;
|
|
593
593
|
isDraft?: boolean | null | undefined;
|
|
594
594
|
isArchived?: boolean | null | undefined;
|
|
595
595
|
isUnisex?: boolean | null | undefined;
|
|
@@ -618,23 +618,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
618
618
|
isHidden?: boolean | null | undefined;
|
|
619
619
|
isDeleted?: boolean | null | undefined;
|
|
620
620
|
}, {
|
|
621
|
-
size?: string | null | undefined;
|
|
622
621
|
status?: string | null | undefined;
|
|
623
622
|
title?: string | null | undefined;
|
|
624
623
|
description?: string | null | undefined;
|
|
624
|
+
brand?: string | null | undefined;
|
|
625
|
+
statusId?: number | null | undefined;
|
|
626
|
+
sizeId?: number | null | undefined;
|
|
627
|
+
colorIds?: number[] | null | undefined;
|
|
628
|
+
packageSizeId?: number | null | undefined;
|
|
625
629
|
price?: number | null | undefined;
|
|
626
630
|
currency?: string | null | undefined;
|
|
627
|
-
brand?: string | null | undefined;
|
|
628
631
|
catalog?: string | null | undefined;
|
|
629
632
|
catalogId?: number | null | undefined;
|
|
630
633
|
colors?: string[] | null | undefined;
|
|
631
|
-
colorIds?: number[] | null | undefined;
|
|
632
634
|
measurementLength?: number | null | undefined;
|
|
633
635
|
measurementWidth?: number | null | undefined;
|
|
634
|
-
packageSizeId?: number | null | undefined;
|
|
635
636
|
photoUrls?: string[] | null | undefined;
|
|
636
|
-
|
|
637
|
-
statusId?: number | null | undefined;
|
|
637
|
+
size?: string | null | undefined;
|
|
638
638
|
isDraft?: boolean | null | undefined;
|
|
639
639
|
isArchived?: boolean | null | undefined;
|
|
640
640
|
isUnisex?: boolean | null | undefined;
|
|
@@ -668,23 +668,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
668
668
|
}, "strip", z.ZodTypeAny, {
|
|
669
669
|
platformId: string;
|
|
670
670
|
post: {
|
|
671
|
-
size?: string | null | undefined;
|
|
672
671
|
status?: string | null | undefined;
|
|
673
672
|
title?: string | null | undefined;
|
|
674
673
|
description?: string | null | undefined;
|
|
674
|
+
brand?: string | null | undefined;
|
|
675
|
+
statusId?: number | null | undefined;
|
|
676
|
+
sizeId?: number | null | undefined;
|
|
677
|
+
colorIds?: number[] | null | undefined;
|
|
678
|
+
packageSizeId?: number | null | undefined;
|
|
675
679
|
price?: number | null | undefined;
|
|
676
680
|
currency?: string | null | undefined;
|
|
677
|
-
brand?: string | null | undefined;
|
|
678
681
|
catalog?: string | null | undefined;
|
|
679
682
|
catalogId?: number | null | undefined;
|
|
680
683
|
colors?: string[] | null | undefined;
|
|
681
|
-
colorIds?: number[] | null | undefined;
|
|
682
684
|
measurementLength?: number | null | undefined;
|
|
683
685
|
measurementWidth?: number | null | undefined;
|
|
684
|
-
packageSizeId?: number | null | undefined;
|
|
685
686
|
photoUrls?: string[] | null | undefined;
|
|
686
|
-
|
|
687
|
-
statusId?: number | null | undefined;
|
|
687
|
+
size?: string | null | undefined;
|
|
688
688
|
isDraft?: boolean | null | undefined;
|
|
689
689
|
isArchived?: boolean | null | undefined;
|
|
690
690
|
isUnisex?: boolean | null | undefined;
|
|
@@ -720,23 +720,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
720
720
|
}, {
|
|
721
721
|
platformId: string;
|
|
722
722
|
post: {
|
|
723
|
-
size?: string | null | undefined;
|
|
724
723
|
status?: string | null | undefined;
|
|
725
724
|
title?: string | null | undefined;
|
|
726
725
|
description?: string | null | undefined;
|
|
726
|
+
brand?: string | null | undefined;
|
|
727
|
+
statusId?: number | null | undefined;
|
|
728
|
+
sizeId?: number | null | undefined;
|
|
729
|
+
colorIds?: number[] | null | undefined;
|
|
730
|
+
packageSizeId?: number | null | undefined;
|
|
727
731
|
price?: number | null | undefined;
|
|
728
732
|
currency?: string | null | undefined;
|
|
729
|
-
brand?: string | null | undefined;
|
|
730
733
|
catalog?: string | null | undefined;
|
|
731
734
|
catalogId?: number | null | undefined;
|
|
732
735
|
colors?: string[] | null | undefined;
|
|
733
|
-
colorIds?: number[] | null | undefined;
|
|
734
736
|
measurementLength?: number | null | undefined;
|
|
735
737
|
measurementWidth?: number | null | undefined;
|
|
736
|
-
packageSizeId?: number | null | undefined;
|
|
737
738
|
photoUrls?: string[] | null | undefined;
|
|
738
|
-
|
|
739
|
-
statusId?: number | null | undefined;
|
|
739
|
+
size?: string | null | undefined;
|
|
740
740
|
isDraft?: boolean | null | undefined;
|
|
741
741
|
isArchived?: boolean | null | undefined;
|
|
742
742
|
isUnisex?: boolean | null | undefined;
|
|
@@ -774,23 +774,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
774
774
|
post: {
|
|
775
775
|
platformId: string;
|
|
776
776
|
post: {
|
|
777
|
-
size?: string | null | undefined;
|
|
778
777
|
status?: string | null | undefined;
|
|
779
778
|
title?: string | null | undefined;
|
|
780
779
|
description?: string | null | undefined;
|
|
780
|
+
brand?: string | null | undefined;
|
|
781
|
+
statusId?: number | null | undefined;
|
|
782
|
+
sizeId?: number | null | undefined;
|
|
783
|
+
colorIds?: number[] | null | undefined;
|
|
784
|
+
packageSizeId?: number | null | undefined;
|
|
781
785
|
price?: number | null | undefined;
|
|
782
786
|
currency?: string | null | undefined;
|
|
783
|
-
brand?: string | null | undefined;
|
|
784
787
|
catalog?: string | null | undefined;
|
|
785
788
|
catalogId?: number | null | undefined;
|
|
786
789
|
colors?: string[] | null | undefined;
|
|
787
|
-
colorIds?: number[] | null | undefined;
|
|
788
790
|
measurementLength?: number | null | undefined;
|
|
789
791
|
measurementWidth?: number | null | undefined;
|
|
790
|
-
packageSizeId?: number | null | undefined;
|
|
791
792
|
photoUrls?: string[] | null | undefined;
|
|
792
|
-
|
|
793
|
-
statusId?: number | null | undefined;
|
|
793
|
+
size?: string | null | undefined;
|
|
794
794
|
isDraft?: boolean | null | undefined;
|
|
795
795
|
isArchived?: boolean | null | undefined;
|
|
796
796
|
isUnisex?: boolean | null | undefined;
|
|
@@ -828,23 +828,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
828
828
|
post: {
|
|
829
829
|
platformId: string;
|
|
830
830
|
post: {
|
|
831
|
-
size?: string | null | undefined;
|
|
832
831
|
status?: string | null | undefined;
|
|
833
832
|
title?: string | null | undefined;
|
|
834
833
|
description?: string | null | undefined;
|
|
834
|
+
brand?: string | null | undefined;
|
|
835
|
+
statusId?: number | null | undefined;
|
|
836
|
+
sizeId?: number | null | undefined;
|
|
837
|
+
colorIds?: number[] | null | undefined;
|
|
838
|
+
packageSizeId?: number | null | undefined;
|
|
835
839
|
price?: number | null | undefined;
|
|
836
840
|
currency?: string | null | undefined;
|
|
837
|
-
brand?: string | null | undefined;
|
|
838
841
|
catalog?: string | null | undefined;
|
|
839
842
|
catalogId?: number | null | undefined;
|
|
840
843
|
colors?: string[] | null | undefined;
|
|
841
|
-
colorIds?: number[] | null | undefined;
|
|
842
844
|
measurementLength?: number | null | undefined;
|
|
843
845
|
measurementWidth?: number | null | undefined;
|
|
844
|
-
packageSizeId?: number | null | undefined;
|
|
845
846
|
photoUrls?: string[] | null | undefined;
|
|
846
|
-
|
|
847
|
-
statusId?: number | null | undefined;
|
|
847
|
+
size?: string | null | undefined;
|
|
848
848
|
isDraft?: boolean | null | undefined;
|
|
849
849
|
isArchived?: boolean | null | undefined;
|
|
850
850
|
isUnisex?: boolean | null | undefined;
|
|
@@ -886,23 +886,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
886
886
|
post: {
|
|
887
887
|
platformId: string;
|
|
888
888
|
post: {
|
|
889
|
-
size?: string | null | undefined;
|
|
890
889
|
status?: string | null | undefined;
|
|
891
890
|
title?: string | null | undefined;
|
|
892
891
|
description?: string | null | undefined;
|
|
892
|
+
brand?: string | null | undefined;
|
|
893
|
+
statusId?: number | null | undefined;
|
|
894
|
+
sizeId?: number | null | undefined;
|
|
895
|
+
colorIds?: number[] | null | undefined;
|
|
896
|
+
packageSizeId?: number | null | undefined;
|
|
893
897
|
price?: number | null | undefined;
|
|
894
898
|
currency?: string | null | undefined;
|
|
895
|
-
brand?: string | null | undefined;
|
|
896
899
|
catalog?: string | null | undefined;
|
|
897
900
|
catalogId?: number | null | undefined;
|
|
898
901
|
colors?: string[] | null | undefined;
|
|
899
|
-
colorIds?: number[] | null | undefined;
|
|
900
902
|
measurementLength?: number | null | undefined;
|
|
901
903
|
measurementWidth?: number | null | undefined;
|
|
902
|
-
packageSizeId?: number | null | undefined;
|
|
903
904
|
photoUrls?: string[] | null | undefined;
|
|
904
|
-
|
|
905
|
-
statusId?: number | null | undefined;
|
|
905
|
+
size?: string | null | undefined;
|
|
906
906
|
isDraft?: boolean | null | undefined;
|
|
907
907
|
isArchived?: boolean | null | undefined;
|
|
908
908
|
isUnisex?: boolean | null | undefined;
|
|
@@ -943,23 +943,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
943
943
|
post: {
|
|
944
944
|
platformId: string;
|
|
945
945
|
post: {
|
|
946
|
-
size?: string | null | undefined;
|
|
947
946
|
status?: string | null | undefined;
|
|
948
947
|
title?: string | null | undefined;
|
|
949
948
|
description?: string | null | undefined;
|
|
949
|
+
brand?: string | null | undefined;
|
|
950
|
+
statusId?: number | null | undefined;
|
|
951
|
+
sizeId?: number | null | undefined;
|
|
952
|
+
colorIds?: number[] | null | undefined;
|
|
953
|
+
packageSizeId?: number | null | undefined;
|
|
950
954
|
price?: number | null | undefined;
|
|
951
955
|
currency?: string | null | undefined;
|
|
952
|
-
brand?: string | null | undefined;
|
|
953
956
|
catalog?: string | null | undefined;
|
|
954
957
|
catalogId?: number | null | undefined;
|
|
955
958
|
colors?: string[] | null | undefined;
|
|
956
|
-
colorIds?: number[] | null | undefined;
|
|
957
959
|
measurementLength?: number | null | undefined;
|
|
958
960
|
measurementWidth?: number | null | undefined;
|
|
959
|
-
packageSizeId?: number | null | undefined;
|
|
960
961
|
photoUrls?: string[] | null | undefined;
|
|
961
|
-
|
|
962
|
-
statusId?: number | null | undefined;
|
|
962
|
+
size?: string | null | undefined;
|
|
963
963
|
isDraft?: boolean | null | undefined;
|
|
964
964
|
isArchived?: boolean | null | undefined;
|
|
965
965
|
isUnisex?: boolean | null | undefined;
|
|
@@ -1019,27 +1019,27 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1019
1019
|
caseId: z.ZodString;
|
|
1020
1020
|
isRepeat: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1021
1021
|
}, "strip", z.ZodTypeAny, {
|
|
1022
|
-
accountId: string;
|
|
1023
1022
|
caseId: string;
|
|
1023
|
+
accountId: string;
|
|
1024
1024
|
isRepeat?: boolean | null | undefined;
|
|
1025
1025
|
}, {
|
|
1026
|
-
accountId: string;
|
|
1027
1026
|
caseId: string;
|
|
1027
|
+
accountId: string;
|
|
1028
1028
|
isRepeat?: boolean | null | undefined;
|
|
1029
1029
|
}>;
|
|
1030
1030
|
type: z.ZodLiteral<"LIFECYCLE_STARTED">;
|
|
1031
1031
|
}, "strip", z.ZodTypeAny, {
|
|
1032
1032
|
type: "LIFECYCLE_STARTED";
|
|
1033
1033
|
data: {
|
|
1034
|
-
accountId: string;
|
|
1035
1034
|
caseId: string;
|
|
1035
|
+
accountId: string;
|
|
1036
1036
|
isRepeat?: boolean | null | undefined;
|
|
1037
1037
|
};
|
|
1038
1038
|
}, {
|
|
1039
1039
|
type: "LIFECYCLE_STARTED";
|
|
1040
1040
|
data: {
|
|
1041
|
-
accountId: string;
|
|
1042
1041
|
caseId: string;
|
|
1042
|
+
accountId: string;
|
|
1043
1043
|
isRepeat?: boolean | null | undefined;
|
|
1044
1044
|
};
|
|
1045
1045
|
}>, z.ZodObject<{
|
|
@@ -1215,10 +1215,10 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1215
1215
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1216
1216
|
} | null | undefined;
|
|
1217
1217
|
} | null | undefined;
|
|
1218
|
-
targetAccountId?: string | null | undefined;
|
|
1219
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
1220
1218
|
publishingDate?: Date | null | undefined;
|
|
1221
1219
|
isTransfer?: boolean | null | undefined;
|
|
1220
|
+
targetAccountId?: string | null | undefined;
|
|
1221
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
1222
1222
|
}, {
|
|
1223
1223
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1224
1224
|
payload?: {
|
|
@@ -1245,10 +1245,10 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1245
1245
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1246
1246
|
} | null | undefined;
|
|
1247
1247
|
} | null | undefined;
|
|
1248
|
-
targetAccountId?: string | null | undefined;
|
|
1249
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
1250
1248
|
publishingDate?: Date | null | undefined;
|
|
1251
1249
|
isTransfer?: boolean | null | undefined;
|
|
1250
|
+
targetAccountId?: string | null | undefined;
|
|
1251
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
1252
1252
|
}>;
|
|
1253
1253
|
type: z.ZodLiteral<"REPUBLISHING">;
|
|
1254
1254
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1279,10 +1279,10 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1279
1279
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1280
1280
|
} | null | undefined;
|
|
1281
1281
|
} | null | undefined;
|
|
1282
|
-
targetAccountId?: string | null | undefined;
|
|
1283
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
1284
1282
|
publishingDate?: Date | null | undefined;
|
|
1285
1283
|
isTransfer?: boolean | null | undefined;
|
|
1284
|
+
targetAccountId?: string | null | undefined;
|
|
1285
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
1286
1286
|
};
|
|
1287
1287
|
}, {
|
|
1288
1288
|
type: "REPUBLISHING";
|
|
@@ -1312,10 +1312,10 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1312
1312
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1313
1313
|
} | null | undefined;
|
|
1314
1314
|
} | null | undefined;
|
|
1315
|
-
targetAccountId?: string | null | undefined;
|
|
1316
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
1317
1315
|
publishingDate?: Date | null | undefined;
|
|
1318
1316
|
isTransfer?: boolean | null | undefined;
|
|
1317
|
+
targetAccountId?: string | null | undefined;
|
|
1318
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
1319
1319
|
};
|
|
1320
1320
|
}>, z.ZodObject<{
|
|
1321
1321
|
data: z.ZodObject<{
|
|
@@ -1329,7 +1329,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1329
1329
|
autoFixable: z.ZodBoolean;
|
|
1330
1330
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1331
1331
|
}, "strip", z.ZodTypeAny, {
|
|
1332
|
-
field: "
|
|
1332
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1333
1333
|
autoFixable: boolean;
|
|
1334
1334
|
error?: string | null | undefined;
|
|
1335
1335
|
}, {
|
|
@@ -1444,9 +1444,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1444
1444
|
} | null | undefined;
|
|
1445
1445
|
}>>>;
|
|
1446
1446
|
}, "strip", z.ZodTypeAny, {
|
|
1447
|
+
maxAttempts: number;
|
|
1447
1448
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1448
1449
|
attemptNumber: number;
|
|
1449
|
-
maxAttempts: number;
|
|
1450
1450
|
previousHistoryId: string;
|
|
1451
1451
|
originalFailureDate: Date;
|
|
1452
1452
|
payload?: {
|
|
@@ -1474,14 +1474,14 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1474
1474
|
} | null | undefined;
|
|
1475
1475
|
} | null | undefined;
|
|
1476
1476
|
fields?: {
|
|
1477
|
-
field: "
|
|
1477
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1478
1478
|
autoFixable: boolean;
|
|
1479
1479
|
error?: string | null | undefined;
|
|
1480
1480
|
}[] | null | undefined;
|
|
1481
1481
|
}, {
|
|
1482
|
+
maxAttempts: number;
|
|
1482
1483
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1483
1484
|
attemptNumber: number;
|
|
1484
|
-
maxAttempts: number;
|
|
1485
1485
|
previousHistoryId: string;
|
|
1486
1486
|
originalFailureDate: Date;
|
|
1487
1487
|
payload?: {
|
|
@@ -1518,9 +1518,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1518
1518
|
}, "strip", z.ZodTypeAny, {
|
|
1519
1519
|
type: "REPUBLISHING_RETRY";
|
|
1520
1520
|
data: {
|
|
1521
|
+
maxAttempts: number;
|
|
1521
1522
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1522
1523
|
attemptNumber: number;
|
|
1523
|
-
maxAttempts: number;
|
|
1524
1524
|
previousHistoryId: string;
|
|
1525
1525
|
originalFailureDate: Date;
|
|
1526
1526
|
payload?: {
|
|
@@ -1548,7 +1548,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1548
1548
|
} | null | undefined;
|
|
1549
1549
|
} | null | undefined;
|
|
1550
1550
|
fields?: {
|
|
1551
|
-
field: "
|
|
1551
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1552
1552
|
autoFixable: boolean;
|
|
1553
1553
|
error?: string | null | undefined;
|
|
1554
1554
|
}[] | null | undefined;
|
|
@@ -1556,9 +1556,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1556
1556
|
}, {
|
|
1557
1557
|
type: "REPUBLISHING_RETRY";
|
|
1558
1558
|
data: {
|
|
1559
|
+
maxAttempts: number;
|
|
1559
1560
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1560
1561
|
attemptNumber: number;
|
|
1561
|
-
maxAttempts: number;
|
|
1562
1562
|
previousHistoryId: string;
|
|
1563
1563
|
originalFailureDate: Date;
|
|
1564
1564
|
payload?: {
|
|
@@ -1627,7 +1627,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1627
1627
|
autoFixable: z.ZodBoolean;
|
|
1628
1628
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1629
1629
|
}, "strip", z.ZodTypeAny, {
|
|
1630
|
-
field: "
|
|
1630
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1631
1631
|
autoFixable: boolean;
|
|
1632
1632
|
error?: string | null | undefined;
|
|
1633
1633
|
}, {
|
|
@@ -1636,20 +1636,20 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1636
1636
|
error?: string | null | undefined;
|
|
1637
1637
|
}>, "many">>>;
|
|
1638
1638
|
}, "strip", z.ZodTypeAny, {
|
|
1639
|
+
maxAttempts: number;
|
|
1639
1640
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1640
1641
|
attemptNumber: number;
|
|
1641
|
-
maxAttempts: number;
|
|
1642
1642
|
previousHistoryId: string;
|
|
1643
1643
|
originalFailureDate: Date;
|
|
1644
1644
|
fields?: {
|
|
1645
|
-
field: "
|
|
1645
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1646
1646
|
autoFixable: boolean;
|
|
1647
1647
|
error?: string | null | undefined;
|
|
1648
1648
|
}[] | null | undefined;
|
|
1649
1649
|
}, {
|
|
1650
|
+
maxAttempts: number;
|
|
1650
1651
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1651
1652
|
attemptNumber: number;
|
|
1652
|
-
maxAttempts: number;
|
|
1653
1653
|
previousHistoryId: string;
|
|
1654
1654
|
originalFailureDate: Date;
|
|
1655
1655
|
fields?: {
|
|
@@ -1662,13 +1662,13 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1662
1662
|
}, "strip", z.ZodTypeAny, {
|
|
1663
1663
|
type: "SCHEDULED_RETRY";
|
|
1664
1664
|
data: {
|
|
1665
|
+
maxAttempts: number;
|
|
1665
1666
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1666
1667
|
attemptNumber: number;
|
|
1667
|
-
maxAttempts: number;
|
|
1668
1668
|
previousHistoryId: string;
|
|
1669
1669
|
originalFailureDate: Date;
|
|
1670
1670
|
fields?: {
|
|
1671
|
-
field: "
|
|
1671
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1672
1672
|
autoFixable: boolean;
|
|
1673
1673
|
error?: string | null | undefined;
|
|
1674
1674
|
}[] | null | undefined;
|
|
@@ -1676,9 +1676,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1676
1676
|
}, {
|
|
1677
1677
|
type: "SCHEDULED_RETRY";
|
|
1678
1678
|
data: {
|
|
1679
|
+
maxAttempts: number;
|
|
1679
1680
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1680
1681
|
attemptNumber: number;
|
|
1681
|
-
maxAttempts: number;
|
|
1682
1682
|
previousHistoryId: string;
|
|
1683
1683
|
originalFailureDate: Date;
|
|
1684
1684
|
fields?: {
|
|
@@ -1835,7 +1835,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1835
1835
|
id: string;
|
|
1836
1836
|
createdAt: Date;
|
|
1837
1837
|
itemId: number;
|
|
1838
|
-
accountId?: string | null | undefined;
|
|
1839
1838
|
data?: {
|
|
1840
1839
|
type: "ACTION_CANCELED";
|
|
1841
1840
|
data: {
|
|
@@ -1871,7 +1870,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1871
1870
|
accountId?: string | null | undefined;
|
|
1872
1871
|
reason?: string | null | undefined;
|
|
1873
1872
|
fields?: {
|
|
1874
|
-
field: "
|
|
1873
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1875
1874
|
autoFixable: boolean;
|
|
1876
1875
|
error?: string | null | undefined;
|
|
1877
1876
|
}[] | null | undefined;
|
|
@@ -1901,23 +1900,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1901
1900
|
post: {
|
|
1902
1901
|
platformId: string;
|
|
1903
1902
|
post: {
|
|
1904
|
-
size?: string | null | undefined;
|
|
1905
1903
|
status?: string | null | undefined;
|
|
1906
1904
|
title?: string | null | undefined;
|
|
1907
1905
|
description?: string | null | undefined;
|
|
1906
|
+
brand?: string | null | undefined;
|
|
1907
|
+
statusId?: number | null | undefined;
|
|
1908
|
+
sizeId?: number | null | undefined;
|
|
1909
|
+
colorIds?: number[] | null | undefined;
|
|
1910
|
+
packageSizeId?: number | null | undefined;
|
|
1908
1911
|
price?: number | null | undefined;
|
|
1909
1912
|
currency?: string | null | undefined;
|
|
1910
|
-
brand?: string | null | undefined;
|
|
1911
1913
|
catalog?: string | null | undefined;
|
|
1912
1914
|
catalogId?: number | null | undefined;
|
|
1913
1915
|
colors?: string[] | null | undefined;
|
|
1914
|
-
colorIds?: number[] | null | undefined;
|
|
1915
1916
|
measurementLength?: number | null | undefined;
|
|
1916
1917
|
measurementWidth?: number | null | undefined;
|
|
1917
|
-
packageSizeId?: number | null | undefined;
|
|
1918
1918
|
photoUrls?: string[] | null | undefined;
|
|
1919
|
-
|
|
1920
|
-
statusId?: number | null | undefined;
|
|
1919
|
+
size?: string | null | undefined;
|
|
1921
1920
|
isDraft?: boolean | null | undefined;
|
|
1922
1921
|
isArchived?: boolean | null | undefined;
|
|
1923
1922
|
isUnisex?: boolean | null | undefined;
|
|
@@ -1960,8 +1959,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1960
1959
|
} | {
|
|
1961
1960
|
type: "LIFECYCLE_STARTED";
|
|
1962
1961
|
data: {
|
|
1963
|
-
accountId: string;
|
|
1964
1962
|
caseId: string;
|
|
1963
|
+
accountId: string;
|
|
1965
1964
|
isRepeat?: boolean | null | undefined;
|
|
1966
1965
|
};
|
|
1967
1966
|
} | {
|
|
@@ -2000,17 +1999,17 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2000
1999
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
2001
2000
|
} | null | undefined;
|
|
2002
2001
|
} | null | undefined;
|
|
2003
|
-
targetAccountId?: string | null | undefined;
|
|
2004
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
2005
2002
|
publishingDate?: Date | null | undefined;
|
|
2006
2003
|
isTransfer?: boolean | null | undefined;
|
|
2004
|
+
targetAccountId?: string | null | undefined;
|
|
2005
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
2007
2006
|
};
|
|
2008
2007
|
} | {
|
|
2009
2008
|
type: "REPUBLISHING_RETRY";
|
|
2010
2009
|
data: {
|
|
2010
|
+
maxAttempts: number;
|
|
2011
2011
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2012
2012
|
attemptNumber: number;
|
|
2013
|
-
maxAttempts: number;
|
|
2014
2013
|
previousHistoryId: string;
|
|
2015
2014
|
originalFailureDate: Date;
|
|
2016
2015
|
payload?: {
|
|
@@ -2038,7 +2037,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2038
2037
|
} | null | undefined;
|
|
2039
2038
|
} | null | undefined;
|
|
2040
2039
|
fields?: {
|
|
2041
|
-
field: "
|
|
2040
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2042
2041
|
autoFixable: boolean;
|
|
2043
2042
|
error?: string | null | undefined;
|
|
2044
2043
|
}[] | null | undefined;
|
|
@@ -2052,13 +2051,13 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2052
2051
|
} | {
|
|
2053
2052
|
type: "SCHEDULED_RETRY";
|
|
2054
2053
|
data: {
|
|
2054
|
+
maxAttempts: number;
|
|
2055
2055
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2056
2056
|
attemptNumber: number;
|
|
2057
|
-
maxAttempts: number;
|
|
2058
2057
|
previousHistoryId: string;
|
|
2059
2058
|
originalFailureDate: Date;
|
|
2060
2059
|
fields?: {
|
|
2061
|
-
field: "
|
|
2060
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2062
2061
|
autoFixable: boolean;
|
|
2063
2062
|
error?: string | null | undefined;
|
|
2064
2063
|
}[] | null | undefined;
|
|
@@ -2087,6 +2086,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2087
2086
|
targetDate?: Date | null | undefined;
|
|
2088
2087
|
};
|
|
2089
2088
|
} | null | undefined;
|
|
2089
|
+
accountId?: string | null | undefined;
|
|
2090
2090
|
targetDate?: Date | null | undefined;
|
|
2091
2091
|
requestId?: string | null | undefined;
|
|
2092
2092
|
targetHistoryId?: string | null | undefined;
|
|
@@ -2095,7 +2095,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2095
2095
|
createdAt: Date;
|
|
2096
2096
|
itemId: number;
|
|
2097
2097
|
type?: unknown;
|
|
2098
|
-
accountId?: string | null | undefined;
|
|
2099
2098
|
data?: {
|
|
2100
2099
|
type: "ACTION_CANCELED";
|
|
2101
2100
|
data: {
|
|
@@ -2161,23 +2160,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2161
2160
|
post: {
|
|
2162
2161
|
platformId: string;
|
|
2163
2162
|
post: {
|
|
2164
|
-
size?: string | null | undefined;
|
|
2165
2163
|
status?: string | null | undefined;
|
|
2166
2164
|
title?: string | null | undefined;
|
|
2167
2165
|
description?: string | null | undefined;
|
|
2166
|
+
brand?: string | null | undefined;
|
|
2167
|
+
statusId?: number | null | undefined;
|
|
2168
|
+
sizeId?: number | null | undefined;
|
|
2169
|
+
colorIds?: number[] | null | undefined;
|
|
2170
|
+
packageSizeId?: number | null | undefined;
|
|
2168
2171
|
price?: number | null | undefined;
|
|
2169
2172
|
currency?: string | null | undefined;
|
|
2170
|
-
brand?: string | null | undefined;
|
|
2171
2173
|
catalog?: string | null | undefined;
|
|
2172
2174
|
catalogId?: number | null | undefined;
|
|
2173
2175
|
colors?: string[] | null | undefined;
|
|
2174
|
-
colorIds?: number[] | null | undefined;
|
|
2175
2176
|
measurementLength?: number | null | undefined;
|
|
2176
2177
|
measurementWidth?: number | null | undefined;
|
|
2177
|
-
packageSizeId?: number | null | undefined;
|
|
2178
2178
|
photoUrls?: string[] | null | undefined;
|
|
2179
|
-
|
|
2180
|
-
statusId?: number | null | undefined;
|
|
2179
|
+
size?: string | null | undefined;
|
|
2181
2180
|
isDraft?: boolean | null | undefined;
|
|
2182
2181
|
isArchived?: boolean | null | undefined;
|
|
2183
2182
|
isUnisex?: boolean | null | undefined;
|
|
@@ -2220,8 +2219,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2220
2219
|
} | {
|
|
2221
2220
|
type: "LIFECYCLE_STARTED";
|
|
2222
2221
|
data: {
|
|
2223
|
-
accountId: string;
|
|
2224
2222
|
caseId: string;
|
|
2223
|
+
accountId: string;
|
|
2225
2224
|
isRepeat?: boolean | null | undefined;
|
|
2226
2225
|
};
|
|
2227
2226
|
} | {
|
|
@@ -2260,17 +2259,17 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2260
2259
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
2261
2260
|
} | null | undefined;
|
|
2262
2261
|
} | null | undefined;
|
|
2263
|
-
targetAccountId?: string | null | undefined;
|
|
2264
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
2265
2262
|
publishingDate?: Date | null | undefined;
|
|
2266
2263
|
isTransfer?: boolean | null | undefined;
|
|
2264
|
+
targetAccountId?: string | null | undefined;
|
|
2265
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
2267
2266
|
};
|
|
2268
2267
|
} | {
|
|
2269
2268
|
type: "REPUBLISHING_RETRY";
|
|
2270
2269
|
data: {
|
|
2270
|
+
maxAttempts: number;
|
|
2271
2271
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2272
2272
|
attemptNumber: number;
|
|
2273
|
-
maxAttempts: number;
|
|
2274
2273
|
previousHistoryId: string;
|
|
2275
2274
|
originalFailureDate: Date;
|
|
2276
2275
|
payload?: {
|
|
@@ -2312,9 +2311,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2312
2311
|
} | {
|
|
2313
2312
|
type: "SCHEDULED_RETRY";
|
|
2314
2313
|
data: {
|
|
2314
|
+
maxAttempts: number;
|
|
2315
2315
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2316
2316
|
attemptNumber: number;
|
|
2317
|
-
maxAttempts: number;
|
|
2318
2317
|
previousHistoryId: string;
|
|
2319
2318
|
originalFailureDate: Date;
|
|
2320
2319
|
fields?: {
|
|
@@ -2347,6 +2346,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2347
2346
|
targetDate?: Date | null | undefined;
|
|
2348
2347
|
};
|
|
2349
2348
|
} | null | undefined;
|
|
2349
|
+
accountId?: string | null | undefined;
|
|
2350
2350
|
targetDate?: Date | null | undefined;
|
|
2351
2351
|
requestId?: string | null | undefined;
|
|
2352
2352
|
targetHistoryId?: string | null | undefined;
|
|
@@ -2396,15 +2396,15 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2396
2396
|
}, "strip", z.ZodTypeAny, {
|
|
2397
2397
|
path: string;
|
|
2398
2398
|
id: string;
|
|
2399
|
-
userId: number;
|
|
2400
2399
|
createdAt: Date;
|
|
2400
|
+
userId: number;
|
|
2401
2401
|
signedUrl: string;
|
|
2402
2402
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2403
2403
|
}, {
|
|
2404
2404
|
path: string;
|
|
2405
2405
|
id: string;
|
|
2406
|
-
userId: number;
|
|
2407
2406
|
createdAt: Date;
|
|
2407
|
+
userId: number;
|
|
2408
2408
|
signedUrl: string;
|
|
2409
2409
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2410
2410
|
}>>>;
|
|
@@ -2415,9 +2415,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2415
2415
|
phoneNumberRequiredAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2416
2416
|
}, "strip", z.ZodTypeAny, {
|
|
2417
2417
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
2418
|
-
accountId: string;
|
|
2419
|
-
userId: number;
|
|
2420
2418
|
name: string;
|
|
2419
|
+
userId: number;
|
|
2420
|
+
accountId: string;
|
|
2421
2421
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2422
2422
|
locale?: string | null | undefined;
|
|
2423
2423
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -2436,8 +2436,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2436
2436
|
profilePicture?: {
|
|
2437
2437
|
path: string;
|
|
2438
2438
|
id: string;
|
|
2439
|
-
userId: number;
|
|
2440
2439
|
createdAt: Date;
|
|
2440
|
+
userId: number;
|
|
2441
2441
|
signedUrl: string;
|
|
2442
2442
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2443
2443
|
} | null | undefined;
|
|
@@ -2445,9 +2445,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2445
2445
|
walletActivationRequiredAt?: Date | null | undefined;
|
|
2446
2446
|
phoneNumberRequiredAt?: Date | null | undefined;
|
|
2447
2447
|
}, {
|
|
2448
|
-
accountId: string;
|
|
2449
|
-
userId: number;
|
|
2450
2448
|
name: string;
|
|
2449
|
+
userId: number;
|
|
2450
|
+
accountId: string;
|
|
2451
2451
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2452
2452
|
status?: unknown;
|
|
2453
2453
|
locale?: string | null | undefined;
|
|
@@ -2467,8 +2467,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2467
2467
|
profilePicture?: {
|
|
2468
2468
|
path: string;
|
|
2469
2469
|
id: string;
|
|
2470
|
-
userId: number;
|
|
2471
2470
|
createdAt: Date;
|
|
2471
|
+
userId: number;
|
|
2472
2472
|
signedUrl: string;
|
|
2473
2473
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2474
2474
|
} | null | undefined;
|
|
@@ -2487,8 +2487,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2487
2487
|
}, "strip", z.ZodTypeAny, {
|
|
2488
2488
|
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
2489
2489
|
id: string;
|
|
2490
|
-
accountId: string;
|
|
2491
2490
|
createdAt: Date;
|
|
2491
|
+
accountId: string;
|
|
2492
2492
|
itemId: number;
|
|
2493
2493
|
platformId: string;
|
|
2494
2494
|
platformUrl: string;
|
|
@@ -2502,9 +2502,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2502
2502
|
favoritesCount?: number | null | undefined;
|
|
2503
2503
|
account?: {
|
|
2504
2504
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
2505
|
-
accountId: string;
|
|
2506
|
-
userId: number;
|
|
2507
2505
|
name: string;
|
|
2506
|
+
userId: number;
|
|
2507
|
+
accountId: string;
|
|
2508
2508
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2509
2509
|
locale?: string | null | undefined;
|
|
2510
2510
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -2523,8 +2523,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2523
2523
|
profilePicture?: {
|
|
2524
2524
|
path: string;
|
|
2525
2525
|
id: string;
|
|
2526
|
-
userId: number;
|
|
2527
2526
|
createdAt: Date;
|
|
2527
|
+
userId: number;
|
|
2528
2528
|
signedUrl: string;
|
|
2529
2529
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2530
2530
|
} | null | undefined;
|
|
@@ -2537,8 +2537,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2537
2537
|
isBoosted?: boolean | null | undefined;
|
|
2538
2538
|
}, {
|
|
2539
2539
|
id: string;
|
|
2540
|
-
accountId: string;
|
|
2541
2540
|
createdAt: Date;
|
|
2541
|
+
accountId: string;
|
|
2542
2542
|
itemId: number;
|
|
2543
2543
|
platformId: string;
|
|
2544
2544
|
platformUrl: string;
|
|
@@ -2552,9 +2552,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2552
2552
|
viewsCount?: number | null | undefined;
|
|
2553
2553
|
favoritesCount?: number | null | undefined;
|
|
2554
2554
|
account?: {
|
|
2555
|
-
accountId: string;
|
|
2556
|
-
userId: number;
|
|
2557
2555
|
name: string;
|
|
2556
|
+
userId: number;
|
|
2557
|
+
accountId: string;
|
|
2558
2558
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2559
2559
|
status?: unknown;
|
|
2560
2560
|
locale?: string | null | undefined;
|
|
@@ -2574,8 +2574,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2574
2574
|
profilePicture?: {
|
|
2575
2575
|
path: string;
|
|
2576
2576
|
id: string;
|
|
2577
|
-
userId: number;
|
|
2578
2577
|
createdAt: Date;
|
|
2578
|
+
userId: number;
|
|
2579
2579
|
signedUrl: string;
|
|
2580
2580
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2581
2581
|
} | null | undefined;
|
|
@@ -2590,7 +2590,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2590
2590
|
actions: z.ZodObject<{
|
|
2591
2591
|
perAccount: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodCatch<z.ZodEnum<["PUBLISH", "PUBLISH_CANCEL", "REPUBLISH", "REPUBLISH_CANCEL", "UPDATE", "UPDATE_CANCEL", "BOOST", "UNKNOWN"]>>, "many">>;
|
|
2592
2592
|
}, "strip", z.ZodTypeAny, {
|
|
2593
|
-
perAccount: Record<string, ("
|
|
2593
|
+
perAccount: Record<string, ("REPUBLISH" | "UNKNOWN" | "PUBLISH" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE" | "UPDATE_CANCEL" | "BOOST")[]>;
|
|
2594
2594
|
}, {
|
|
2595
2595
|
perAccount: Record<string, unknown[]>;
|
|
2596
2596
|
}>;
|
|
@@ -2615,15 +2615,15 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2615
2615
|
}, "strip", z.ZodTypeAny, {
|
|
2616
2616
|
path: string;
|
|
2617
2617
|
id: string;
|
|
2618
|
-
userId: number;
|
|
2619
2618
|
createdAt: Date;
|
|
2619
|
+
userId: number;
|
|
2620
2620
|
signedUrl: string;
|
|
2621
2621
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2622
2622
|
}, {
|
|
2623
2623
|
path: string;
|
|
2624
2624
|
id: string;
|
|
2625
|
-
userId: number;
|
|
2626
2625
|
createdAt: Date;
|
|
2626
|
+
userId: number;
|
|
2627
2627
|
signedUrl: string;
|
|
2628
2628
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2629
2629
|
}>>>;
|
|
@@ -2637,15 +2637,15 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2637
2637
|
}, "strip", z.ZodTypeAny, {
|
|
2638
2638
|
path: string;
|
|
2639
2639
|
id: string;
|
|
2640
|
-
userId: number;
|
|
2641
2640
|
createdAt: Date;
|
|
2641
|
+
userId: number;
|
|
2642
2642
|
signedUrl: string;
|
|
2643
2643
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2644
2644
|
}, {
|
|
2645
2645
|
path: string;
|
|
2646
2646
|
id: string;
|
|
2647
|
-
userId: number;
|
|
2648
2647
|
createdAt: Date;
|
|
2648
|
+
userId: number;
|
|
2649
2649
|
signedUrl: string;
|
|
2650
2650
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2651
2651
|
}>>>;
|
|
@@ -2659,81 +2659,81 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2659
2659
|
}, "strip", z.ZodTypeAny, {
|
|
2660
2660
|
path: string;
|
|
2661
2661
|
id: string;
|
|
2662
|
-
userId: number;
|
|
2663
2662
|
createdAt: Date;
|
|
2663
|
+
userId: number;
|
|
2664
2664
|
signedUrl: string;
|
|
2665
2665
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2666
2666
|
}, {
|
|
2667
2667
|
path: string;
|
|
2668
2668
|
id: string;
|
|
2669
|
-
userId: number;
|
|
2670
2669
|
createdAt: Date;
|
|
2670
|
+
userId: number;
|
|
2671
2671
|
signedUrl: string;
|
|
2672
2672
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2673
2673
|
}>>>;
|
|
2674
2674
|
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"]>>>>;
|
|
2675
2675
|
}, "strip", z.ZodTypeAny, {
|
|
2676
2676
|
id: string;
|
|
2677
|
-
orderId: string;
|
|
2678
2677
|
fileId: string;
|
|
2678
|
+
orderId: string;
|
|
2679
2679
|
nonCroppedFileId: string;
|
|
2680
2680
|
originalFileId: string;
|
|
2681
|
-
|
|
2681
|
+
originalFile?: {
|
|
2682
2682
|
path: string;
|
|
2683
2683
|
id: string;
|
|
2684
|
-
userId: number;
|
|
2685
2684
|
createdAt: Date;
|
|
2685
|
+
userId: number;
|
|
2686
2686
|
signedUrl: string;
|
|
2687
2687
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2688
2688
|
} | null | undefined;
|
|
2689
|
-
|
|
2689
|
+
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;
|
|
2690
|
+
file?: {
|
|
2690
2691
|
path: string;
|
|
2691
2692
|
id: string;
|
|
2692
|
-
userId: number;
|
|
2693
2693
|
createdAt: Date;
|
|
2694
|
+
userId: number;
|
|
2694
2695
|
signedUrl: string;
|
|
2695
2696
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2696
2697
|
} | null | undefined;
|
|
2697
|
-
|
|
2698
|
+
nonCroppedFile?: {
|
|
2698
2699
|
path: string;
|
|
2699
2700
|
id: string;
|
|
2700
|
-
userId: number;
|
|
2701
2701
|
createdAt: Date;
|
|
2702
|
+
userId: number;
|
|
2702
2703
|
signedUrl: string;
|
|
2703
2704
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2704
2705
|
} | null | undefined;
|
|
2705
|
-
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;
|
|
2706
2706
|
}, {
|
|
2707
2707
|
id: string;
|
|
2708
|
-
orderId: string;
|
|
2709
2708
|
fileId: string;
|
|
2709
|
+
orderId: string;
|
|
2710
2710
|
nonCroppedFileId: string;
|
|
2711
2711
|
originalFileId: string;
|
|
2712
|
-
|
|
2712
|
+
originalFile?: {
|
|
2713
2713
|
path: string;
|
|
2714
2714
|
id: string;
|
|
2715
|
-
userId: number;
|
|
2716
2715
|
createdAt: Date;
|
|
2716
|
+
userId: number;
|
|
2717
2717
|
signedUrl: string;
|
|
2718
2718
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2719
2719
|
} | null | undefined;
|
|
2720
|
-
|
|
2720
|
+
carrier?: unknown;
|
|
2721
|
+
file?: {
|
|
2721
2722
|
path: string;
|
|
2722
2723
|
id: string;
|
|
2723
|
-
userId: number;
|
|
2724
2724
|
createdAt: Date;
|
|
2725
|
+
userId: number;
|
|
2725
2726
|
signedUrl: string;
|
|
2726
2727
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2727
2728
|
} | null | undefined;
|
|
2728
|
-
|
|
2729
|
+
nonCroppedFile?: {
|
|
2729
2730
|
path: string;
|
|
2730
2731
|
id: string;
|
|
2731
|
-
userId: number;
|
|
2732
2732
|
createdAt: Date;
|
|
2733
|
+
userId: number;
|
|
2733
2734
|
signedUrl: string;
|
|
2734
2735
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2735
2736
|
} | null | undefined;
|
|
2736
|
-
carrier?: unknown;
|
|
2737
2737
|
}>, "many">>>;
|
|
2738
2738
|
invoices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2739
2739
|
id: z.ZodString;
|
|
@@ -2760,15 +2760,15 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2760
2760
|
}, "strip", z.ZodTypeAny, {
|
|
2761
2761
|
path: string;
|
|
2762
2762
|
id: string;
|
|
2763
|
-
userId: number;
|
|
2764
2763
|
createdAt: Date;
|
|
2764
|
+
userId: number;
|
|
2765
2765
|
signedUrl: string;
|
|
2766
2766
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2767
2767
|
}, {
|
|
2768
2768
|
path: string;
|
|
2769
2769
|
id: string;
|
|
2770
|
-
userId: number;
|
|
2771
2770
|
createdAt: Date;
|
|
2771
|
+
userId: number;
|
|
2772
2772
|
signedUrl: string;
|
|
2773
2773
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2774
2774
|
}>>>;
|
|
@@ -2778,8 +2778,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2778
2778
|
vatRegime: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["MARGIN", "FRANCHISE", "NORMAL", "UNKNOWN"]>>>>;
|
|
2779
2779
|
}, "strip", z.ZodTypeAny, {
|
|
2780
2780
|
id: string;
|
|
2781
|
-
userId: number;
|
|
2782
2781
|
createdAt: Date;
|
|
2782
|
+
userId: number;
|
|
2783
2783
|
updatedAt: Date;
|
|
2784
2784
|
businessName: string;
|
|
2785
2785
|
address: string;
|
|
@@ -2792,16 +2792,16 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2792
2792
|
logo?: {
|
|
2793
2793
|
path: string;
|
|
2794
2794
|
id: string;
|
|
2795
|
-
userId: number;
|
|
2796
2795
|
createdAt: Date;
|
|
2796
|
+
userId: number;
|
|
2797
2797
|
signedUrl: string;
|
|
2798
2798
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2799
2799
|
} | null | undefined;
|
|
2800
2800
|
vatRegime?: "UNKNOWN" | "MARGIN" | "FRANCHISE" | "NORMAL" | null | undefined;
|
|
2801
2801
|
}, {
|
|
2802
2802
|
id: string;
|
|
2803
|
-
userId: number;
|
|
2804
2803
|
createdAt: Date;
|
|
2804
|
+
userId: number;
|
|
2805
2805
|
updatedAt: Date;
|
|
2806
2806
|
businessName: string;
|
|
2807
2807
|
address: string;
|
|
@@ -2814,8 +2814,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2814
2814
|
logo?: {
|
|
2815
2815
|
path: string;
|
|
2816
2816
|
id: string;
|
|
2817
|
-
userId: number;
|
|
2818
2817
|
createdAt: Date;
|
|
2818
|
+
userId: number;
|
|
2819
2819
|
signedUrl: string;
|
|
2820
2820
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2821
2821
|
} | null | undefined;
|
|
@@ -2845,34 +2845,34 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2845
2845
|
firstName: string;
|
|
2846
2846
|
lastName: string;
|
|
2847
2847
|
phoneVerified: boolean;
|
|
2848
|
-
postalCode?: string | null | undefined;
|
|
2849
|
-
city?: string | null | undefined;
|
|
2850
|
-
country?: string | null | undefined;
|
|
2851
|
-
email?: string | null | undefined;
|
|
2852
|
-
addressLine1?: string | null | undefined;
|
|
2853
|
-
addressLine2?: string | null | undefined;
|
|
2854
2848
|
birthDate?: Date | null | undefined;
|
|
2849
|
+
email?: string | null | undefined;
|
|
2855
2850
|
idNumber?: string | null | undefined;
|
|
2856
2851
|
phone?: string | null | undefined;
|
|
2857
2852
|
iban?: string | null | undefined;
|
|
2858
2853
|
bic?: string | null | undefined;
|
|
2854
|
+
addressLine1?: string | null | undefined;
|
|
2855
|
+
addressLine2?: string | null | undefined;
|
|
2856
|
+
city?: string | null | undefined;
|
|
2857
|
+
postalCode?: string | null | undefined;
|
|
2858
|
+
country?: string | null | undefined;
|
|
2859
2859
|
}, {
|
|
2860
2860
|
id: string;
|
|
2861
2861
|
userId: number;
|
|
2862
2862
|
firstName: string;
|
|
2863
2863
|
lastName: string;
|
|
2864
2864
|
phoneVerified: boolean;
|
|
2865
|
-
postalCode?: string | null | undefined;
|
|
2866
|
-
city?: string | null | undefined;
|
|
2867
|
-
country?: string | null | undefined;
|
|
2868
|
-
email?: string | null | undefined;
|
|
2869
|
-
addressLine1?: string | null | undefined;
|
|
2870
|
-
addressLine2?: string | null | undefined;
|
|
2871
2865
|
birthDate?: Date | null | undefined;
|
|
2866
|
+
email?: string | null | undefined;
|
|
2872
2867
|
idNumber?: string | null | undefined;
|
|
2873
2868
|
phone?: string | null | undefined;
|
|
2874
2869
|
iban?: string | null | undefined;
|
|
2875
2870
|
bic?: string | null | undefined;
|
|
2871
|
+
addressLine1?: string | null | undefined;
|
|
2872
|
+
addressLine2?: string | null | undefined;
|
|
2873
|
+
city?: string | null | undefined;
|
|
2874
|
+
postalCode?: string | null | undefined;
|
|
2875
|
+
country?: string | null | undefined;
|
|
2876
2876
|
}>>>;
|
|
2877
2877
|
orderId: z.ZodString;
|
|
2878
2878
|
fileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2886,15 +2886,15 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2886
2886
|
}, "strip", z.ZodTypeAny, {
|
|
2887
2887
|
path: string;
|
|
2888
2888
|
id: string;
|
|
2889
|
-
userId: number;
|
|
2890
2889
|
createdAt: Date;
|
|
2890
|
+
userId: number;
|
|
2891
2891
|
signedUrl: string;
|
|
2892
2892
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2893
2893
|
}, {
|
|
2894
2894
|
path: string;
|
|
2895
2895
|
id: string;
|
|
2896
|
-
userId: number;
|
|
2897
2896
|
createdAt: Date;
|
|
2897
|
+
userId: number;
|
|
2898
2898
|
signedUrl: string;
|
|
2899
2899
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2900
2900
|
}>>>;
|
|
@@ -2919,21 +2919,21 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2919
2919
|
total: z.ZodNumber;
|
|
2920
2920
|
createdAt: z.ZodDate;
|
|
2921
2921
|
}, "strip", z.ZodTypeAny, {
|
|
2922
|
-
quantity: number;
|
|
2923
|
-
id: number;
|
|
2924
2922
|
description: string;
|
|
2923
|
+
id: number;
|
|
2925
2924
|
createdAt: Date;
|
|
2926
2925
|
invoiceId: string;
|
|
2926
|
+
quantity: number;
|
|
2927
2927
|
unitPrice: number;
|
|
2928
2928
|
total: number;
|
|
2929
2929
|
itemOnPlatformId?: string | null | undefined;
|
|
2930
2930
|
vatRate?: number | null | undefined;
|
|
2931
2931
|
}, {
|
|
2932
|
-
quantity: number;
|
|
2933
|
-
id: number;
|
|
2934
2932
|
description: string;
|
|
2933
|
+
id: number;
|
|
2935
2934
|
createdAt: Date;
|
|
2936
2935
|
invoiceId: string;
|
|
2936
|
+
quantity: number;
|
|
2937
2937
|
unitPrice: number;
|
|
2938
2938
|
total: number;
|
|
2939
2939
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -2945,8 +2945,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2945
2945
|
type: "SALE" | "PURCHASE";
|
|
2946
2946
|
status: string;
|
|
2947
2947
|
id: string;
|
|
2948
|
-
userId: number;
|
|
2949
2948
|
createdAt: Date;
|
|
2949
|
+
userId: number;
|
|
2950
2950
|
currency: string;
|
|
2951
2951
|
orderId: string;
|
|
2952
2952
|
updatedAt: Date;
|
|
@@ -2955,21 +2955,21 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2955
2955
|
businessProfileId: string;
|
|
2956
2956
|
issueDate: Date;
|
|
2957
2957
|
subtotal: number;
|
|
2958
|
-
vatAmount?: number | null | undefined;
|
|
2959
2958
|
fileId?: string | null | undefined;
|
|
2959
|
+
vatAmount?: number | null | undefined;
|
|
2960
2960
|
file?: {
|
|
2961
2961
|
path: string;
|
|
2962
2962
|
id: string;
|
|
2963
|
-
userId: number;
|
|
2964
2963
|
createdAt: Date;
|
|
2964
|
+
userId: number;
|
|
2965
2965
|
signedUrl: string;
|
|
2966
2966
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2967
2967
|
} | null | undefined;
|
|
2968
2968
|
vatRate?: number | null | undefined;
|
|
2969
2969
|
businessProfile?: {
|
|
2970
2970
|
id: string;
|
|
2971
|
-
userId: number;
|
|
2972
2971
|
createdAt: Date;
|
|
2972
|
+
userId: number;
|
|
2973
2973
|
updatedAt: Date;
|
|
2974
2974
|
businessName: string;
|
|
2975
2975
|
address: string;
|
|
@@ -2982,8 +2982,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2982
2982
|
logo?: {
|
|
2983
2983
|
path: string;
|
|
2984
2984
|
id: string;
|
|
2985
|
-
userId: number;
|
|
2986
2985
|
createdAt: Date;
|
|
2986
|
+
userId: number;
|
|
2987
2987
|
signedUrl: string;
|
|
2988
2988
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2989
2989
|
} | null | undefined;
|
|
@@ -2996,26 +2996,26 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2996
2996
|
firstName: string;
|
|
2997
2997
|
lastName: string;
|
|
2998
2998
|
phoneVerified: boolean;
|
|
2999
|
-
postalCode?: string | null | undefined;
|
|
3000
|
-
city?: string | null | undefined;
|
|
3001
|
-
country?: string | null | undefined;
|
|
3002
|
-
email?: string | null | undefined;
|
|
3003
|
-
addressLine1?: string | null | undefined;
|
|
3004
|
-
addressLine2?: string | null | undefined;
|
|
3005
2999
|
birthDate?: Date | null | undefined;
|
|
3000
|
+
email?: string | null | undefined;
|
|
3006
3001
|
idNumber?: string | null | undefined;
|
|
3007
3002
|
phone?: string | null | undefined;
|
|
3008
3003
|
iban?: string | null | undefined;
|
|
3009
3004
|
bic?: string | null | undefined;
|
|
3005
|
+
addressLine1?: string | null | undefined;
|
|
3006
|
+
addressLine2?: string | null | undefined;
|
|
3007
|
+
city?: string | null | undefined;
|
|
3008
|
+
postalCode?: string | null | undefined;
|
|
3009
|
+
country?: string | null | undefined;
|
|
3010
3010
|
} | null | undefined;
|
|
3011
3011
|
dueDate?: Date | null | undefined;
|
|
3012
3012
|
notes?: string | null | undefined;
|
|
3013
3013
|
lineItems?: {
|
|
3014
|
-
quantity: number;
|
|
3015
|
-
id: number;
|
|
3016
3014
|
description: string;
|
|
3015
|
+
id: number;
|
|
3017
3016
|
createdAt: Date;
|
|
3018
3017
|
invoiceId: string;
|
|
3018
|
+
quantity: number;
|
|
3019
3019
|
unitPrice: number;
|
|
3020
3020
|
total: number;
|
|
3021
3021
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3025,8 +3025,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3025
3025
|
type: "SALE" | "PURCHASE";
|
|
3026
3026
|
status: string;
|
|
3027
3027
|
id: string;
|
|
3028
|
-
userId: number;
|
|
3029
3028
|
createdAt: Date;
|
|
3029
|
+
userId: number;
|
|
3030
3030
|
currency: string;
|
|
3031
3031
|
orderId: string;
|
|
3032
3032
|
updatedAt: Date;
|
|
@@ -3035,21 +3035,21 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3035
3035
|
businessProfileId: string;
|
|
3036
3036
|
issueDate: Date;
|
|
3037
3037
|
subtotal: number;
|
|
3038
|
-
vatAmount?: number | null | undefined;
|
|
3039
3038
|
fileId?: string | null | undefined;
|
|
3039
|
+
vatAmount?: number | null | undefined;
|
|
3040
3040
|
file?: {
|
|
3041
3041
|
path: string;
|
|
3042
3042
|
id: string;
|
|
3043
|
-
userId: number;
|
|
3044
3043
|
createdAt: Date;
|
|
3044
|
+
userId: number;
|
|
3045
3045
|
signedUrl: string;
|
|
3046
3046
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3047
3047
|
} | null | undefined;
|
|
3048
3048
|
vatRate?: number | null | undefined;
|
|
3049
3049
|
businessProfile?: {
|
|
3050
3050
|
id: string;
|
|
3051
|
-
userId: number;
|
|
3052
3051
|
createdAt: Date;
|
|
3052
|
+
userId: number;
|
|
3053
3053
|
updatedAt: Date;
|
|
3054
3054
|
businessName: string;
|
|
3055
3055
|
address: string;
|
|
@@ -3062,8 +3062,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3062
3062
|
logo?: {
|
|
3063
3063
|
path: string;
|
|
3064
3064
|
id: string;
|
|
3065
|
-
userId: number;
|
|
3066
3065
|
createdAt: Date;
|
|
3066
|
+
userId: number;
|
|
3067
3067
|
signedUrl: string;
|
|
3068
3068
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3069
3069
|
} | null | undefined;
|
|
@@ -3076,26 +3076,26 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3076
3076
|
firstName: string;
|
|
3077
3077
|
lastName: string;
|
|
3078
3078
|
phoneVerified: boolean;
|
|
3079
|
-
postalCode?: string | null | undefined;
|
|
3080
|
-
city?: string | null | undefined;
|
|
3081
|
-
country?: string | null | undefined;
|
|
3082
|
-
email?: string | null | undefined;
|
|
3083
|
-
addressLine1?: string | null | undefined;
|
|
3084
|
-
addressLine2?: string | null | undefined;
|
|
3085
3079
|
birthDate?: Date | null | undefined;
|
|
3080
|
+
email?: string | null | undefined;
|
|
3086
3081
|
idNumber?: string | null | undefined;
|
|
3087
3082
|
phone?: string | null | undefined;
|
|
3088
3083
|
iban?: string | null | undefined;
|
|
3089
3084
|
bic?: string | null | undefined;
|
|
3085
|
+
addressLine1?: string | null | undefined;
|
|
3086
|
+
addressLine2?: string | null | undefined;
|
|
3087
|
+
city?: string | null | undefined;
|
|
3088
|
+
postalCode?: string | null | undefined;
|
|
3089
|
+
country?: string | null | undefined;
|
|
3090
3090
|
} | null | undefined;
|
|
3091
3091
|
dueDate?: Date | null | undefined;
|
|
3092
3092
|
notes?: string | null | undefined;
|
|
3093
3093
|
lineItems?: {
|
|
3094
|
-
quantity: number;
|
|
3095
|
-
id: number;
|
|
3096
3094
|
description: string;
|
|
3095
|
+
id: number;
|
|
3097
3096
|
createdAt: Date;
|
|
3098
3097
|
invoiceId: string;
|
|
3098
|
+
quantity: number;
|
|
3099
3099
|
unitPrice: number;
|
|
3100
3100
|
total: number;
|
|
3101
3101
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3106,42 +3106,42 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3106
3106
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
3107
3107
|
labels?: {
|
|
3108
3108
|
id: string;
|
|
3109
|
-
orderId: string;
|
|
3110
3109
|
fileId: string;
|
|
3110
|
+
orderId: string;
|
|
3111
3111
|
nonCroppedFileId: string;
|
|
3112
3112
|
originalFileId: string;
|
|
3113
|
-
|
|
3113
|
+
originalFile?: {
|
|
3114
3114
|
path: string;
|
|
3115
3115
|
id: string;
|
|
3116
|
-
userId: number;
|
|
3117
3116
|
createdAt: Date;
|
|
3117
|
+
userId: number;
|
|
3118
3118
|
signedUrl: string;
|
|
3119
3119
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3120
3120
|
} | null | undefined;
|
|
3121
|
-
|
|
3121
|
+
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;
|
|
3122
|
+
file?: {
|
|
3122
3123
|
path: string;
|
|
3123
3124
|
id: string;
|
|
3124
|
-
userId: number;
|
|
3125
3125
|
createdAt: Date;
|
|
3126
|
+
userId: number;
|
|
3126
3127
|
signedUrl: string;
|
|
3127
3128
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3128
3129
|
} | null | undefined;
|
|
3129
|
-
|
|
3130
|
+
nonCroppedFile?: {
|
|
3130
3131
|
path: string;
|
|
3131
3132
|
id: string;
|
|
3132
|
-
userId: number;
|
|
3133
3133
|
createdAt: Date;
|
|
3134
|
+
userId: number;
|
|
3134
3135
|
signedUrl: string;
|
|
3135
3136
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3136
3137
|
} | null | undefined;
|
|
3137
|
-
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;
|
|
3138
3138
|
}[] | null | undefined;
|
|
3139
3139
|
invoices?: {
|
|
3140
3140
|
type: "SALE" | "PURCHASE";
|
|
3141
3141
|
status: string;
|
|
3142
3142
|
id: string;
|
|
3143
|
-
userId: number;
|
|
3144
3143
|
createdAt: Date;
|
|
3144
|
+
userId: number;
|
|
3145
3145
|
currency: string;
|
|
3146
3146
|
orderId: string;
|
|
3147
3147
|
updatedAt: Date;
|
|
@@ -3150,21 +3150,21 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3150
3150
|
businessProfileId: string;
|
|
3151
3151
|
issueDate: Date;
|
|
3152
3152
|
subtotal: number;
|
|
3153
|
-
vatAmount?: number | null | undefined;
|
|
3154
3153
|
fileId?: string | null | undefined;
|
|
3154
|
+
vatAmount?: number | null | undefined;
|
|
3155
3155
|
file?: {
|
|
3156
3156
|
path: string;
|
|
3157
3157
|
id: string;
|
|
3158
|
-
userId: number;
|
|
3159
3158
|
createdAt: Date;
|
|
3159
|
+
userId: number;
|
|
3160
3160
|
signedUrl: string;
|
|
3161
3161
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3162
3162
|
} | null | undefined;
|
|
3163
3163
|
vatRate?: number | null | undefined;
|
|
3164
3164
|
businessProfile?: {
|
|
3165
3165
|
id: string;
|
|
3166
|
-
userId: number;
|
|
3167
3166
|
createdAt: Date;
|
|
3167
|
+
userId: number;
|
|
3168
3168
|
updatedAt: Date;
|
|
3169
3169
|
businessName: string;
|
|
3170
3170
|
address: string;
|
|
@@ -3177,8 +3177,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3177
3177
|
logo?: {
|
|
3178
3178
|
path: string;
|
|
3179
3179
|
id: string;
|
|
3180
|
-
userId: number;
|
|
3181
3180
|
createdAt: Date;
|
|
3181
|
+
userId: number;
|
|
3182
3182
|
signedUrl: string;
|
|
3183
3183
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3184
3184
|
} | null | undefined;
|
|
@@ -3191,26 +3191,26 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3191
3191
|
firstName: string;
|
|
3192
3192
|
lastName: string;
|
|
3193
3193
|
phoneVerified: boolean;
|
|
3194
|
-
postalCode?: string | null | undefined;
|
|
3195
|
-
city?: string | null | undefined;
|
|
3196
|
-
country?: string | null | undefined;
|
|
3197
|
-
email?: string | null | undefined;
|
|
3198
|
-
addressLine1?: string | null | undefined;
|
|
3199
|
-
addressLine2?: string | null | undefined;
|
|
3200
3194
|
birthDate?: Date | null | undefined;
|
|
3195
|
+
email?: string | null | undefined;
|
|
3201
3196
|
idNumber?: string | null | undefined;
|
|
3202
3197
|
phone?: string | null | undefined;
|
|
3203
3198
|
iban?: string | null | undefined;
|
|
3204
3199
|
bic?: string | null | undefined;
|
|
3200
|
+
addressLine1?: string | null | undefined;
|
|
3201
|
+
addressLine2?: string | null | undefined;
|
|
3202
|
+
city?: string | null | undefined;
|
|
3203
|
+
postalCode?: string | null | undefined;
|
|
3204
|
+
country?: string | null | undefined;
|
|
3205
3205
|
} | null | undefined;
|
|
3206
3206
|
dueDate?: Date | null | undefined;
|
|
3207
3207
|
notes?: string | null | undefined;
|
|
3208
3208
|
lineItems?: {
|
|
3209
|
-
quantity: number;
|
|
3210
|
-
id: number;
|
|
3211
3209
|
description: string;
|
|
3210
|
+
id: number;
|
|
3212
3211
|
createdAt: Date;
|
|
3213
3212
|
invoiceId: string;
|
|
3213
|
+
quantity: number;
|
|
3214
3214
|
unitPrice: number;
|
|
3215
3215
|
total: number;
|
|
3216
3216
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3221,42 +3221,42 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3221
3221
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
3222
3222
|
labels?: {
|
|
3223
3223
|
id: string;
|
|
3224
|
-
orderId: string;
|
|
3225
3224
|
fileId: string;
|
|
3225
|
+
orderId: string;
|
|
3226
3226
|
nonCroppedFileId: string;
|
|
3227
3227
|
originalFileId: string;
|
|
3228
|
-
|
|
3228
|
+
originalFile?: {
|
|
3229
3229
|
path: string;
|
|
3230
3230
|
id: string;
|
|
3231
|
-
userId: number;
|
|
3232
3231
|
createdAt: Date;
|
|
3232
|
+
userId: number;
|
|
3233
3233
|
signedUrl: string;
|
|
3234
3234
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3235
3235
|
} | null | undefined;
|
|
3236
|
-
|
|
3236
|
+
carrier?: unknown;
|
|
3237
|
+
file?: {
|
|
3237
3238
|
path: string;
|
|
3238
3239
|
id: string;
|
|
3239
|
-
userId: number;
|
|
3240
3240
|
createdAt: Date;
|
|
3241
|
+
userId: number;
|
|
3241
3242
|
signedUrl: string;
|
|
3242
3243
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3243
3244
|
} | null | undefined;
|
|
3244
|
-
|
|
3245
|
+
nonCroppedFile?: {
|
|
3245
3246
|
path: string;
|
|
3246
3247
|
id: string;
|
|
3247
|
-
userId: number;
|
|
3248
3248
|
createdAt: Date;
|
|
3249
|
+
userId: number;
|
|
3249
3250
|
signedUrl: string;
|
|
3250
3251
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3251
3252
|
} | null | undefined;
|
|
3252
|
-
carrier?: unknown;
|
|
3253
3253
|
}[] | null | undefined;
|
|
3254
3254
|
invoices?: {
|
|
3255
3255
|
type: "SALE" | "PURCHASE";
|
|
3256
3256
|
status: string;
|
|
3257
3257
|
id: string;
|
|
3258
|
-
userId: number;
|
|
3259
3258
|
createdAt: Date;
|
|
3259
|
+
userId: number;
|
|
3260
3260
|
currency: string;
|
|
3261
3261
|
orderId: string;
|
|
3262
3262
|
updatedAt: Date;
|
|
@@ -3265,21 +3265,21 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3265
3265
|
businessProfileId: string;
|
|
3266
3266
|
issueDate: Date;
|
|
3267
3267
|
subtotal: number;
|
|
3268
|
-
vatAmount?: number | null | undefined;
|
|
3269
3268
|
fileId?: string | null | undefined;
|
|
3269
|
+
vatAmount?: number | null | undefined;
|
|
3270
3270
|
file?: {
|
|
3271
3271
|
path: string;
|
|
3272
3272
|
id: string;
|
|
3273
|
-
userId: number;
|
|
3274
3273
|
createdAt: Date;
|
|
3274
|
+
userId: number;
|
|
3275
3275
|
signedUrl: string;
|
|
3276
3276
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3277
3277
|
} | null | undefined;
|
|
3278
3278
|
vatRate?: number | null | undefined;
|
|
3279
3279
|
businessProfile?: {
|
|
3280
3280
|
id: string;
|
|
3281
|
-
userId: number;
|
|
3282
3281
|
createdAt: Date;
|
|
3282
|
+
userId: number;
|
|
3283
3283
|
updatedAt: Date;
|
|
3284
3284
|
businessName: string;
|
|
3285
3285
|
address: string;
|
|
@@ -3292,8 +3292,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3292
3292
|
logo?: {
|
|
3293
3293
|
path: string;
|
|
3294
3294
|
id: string;
|
|
3295
|
-
userId: number;
|
|
3296
3295
|
createdAt: Date;
|
|
3296
|
+
userId: number;
|
|
3297
3297
|
signedUrl: string;
|
|
3298
3298
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3299
3299
|
} | null | undefined;
|
|
@@ -3306,26 +3306,26 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3306
3306
|
firstName: string;
|
|
3307
3307
|
lastName: string;
|
|
3308
3308
|
phoneVerified: boolean;
|
|
3309
|
-
postalCode?: string | null | undefined;
|
|
3310
|
-
city?: string | null | undefined;
|
|
3311
|
-
country?: string | null | undefined;
|
|
3312
|
-
email?: string | null | undefined;
|
|
3313
|
-
addressLine1?: string | null | undefined;
|
|
3314
|
-
addressLine2?: string | null | undefined;
|
|
3315
3309
|
birthDate?: Date | null | undefined;
|
|
3310
|
+
email?: string | null | undefined;
|
|
3316
3311
|
idNumber?: string | null | undefined;
|
|
3317
3312
|
phone?: string | null | undefined;
|
|
3318
3313
|
iban?: string | null | undefined;
|
|
3319
3314
|
bic?: string | null | undefined;
|
|
3315
|
+
addressLine1?: string | null | undefined;
|
|
3316
|
+
addressLine2?: string | null | undefined;
|
|
3317
|
+
city?: string | null | undefined;
|
|
3318
|
+
postalCode?: string | null | undefined;
|
|
3319
|
+
country?: string | null | undefined;
|
|
3320
3320
|
} | null | undefined;
|
|
3321
3321
|
dueDate?: Date | null | undefined;
|
|
3322
3322
|
notes?: string | null | undefined;
|
|
3323
3323
|
lineItems?: {
|
|
3324
|
-
quantity: number;
|
|
3325
|
-
id: number;
|
|
3326
3324
|
description: string;
|
|
3325
|
+
id: number;
|
|
3327
3326
|
createdAt: Date;
|
|
3328
3327
|
invoiceId: string;
|
|
3328
|
+
quantity: number;
|
|
3329
3329
|
unitPrice: number;
|
|
3330
3330
|
total: number;
|
|
3331
3331
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3335,29 +3335,45 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3335
3335
|
}>>>;
|
|
3336
3336
|
analysisStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "COMPLETED", "FAILED"]>>>;
|
|
3337
3337
|
}, "strip", z.ZodTypeAny, {
|
|
3338
|
-
|
|
3339
|
-
|
|
3338
|
+
actions: {
|
|
3339
|
+
perAccount: Record<string, ("REPUBLISH" | "UNKNOWN" | "PUBLISH" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE" | "UPDATE_CANCEL" | "BOOST")[]>;
|
|
3340
|
+
};
|
|
3340
3341
|
name: string;
|
|
3342
|
+
id: number;
|
|
3341
3343
|
createdAt: Date;
|
|
3344
|
+
userId: number;
|
|
3342
3345
|
updatedAt: Date;
|
|
3343
3346
|
sold: boolean;
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
+
fees?: {
|
|
3348
|
+
value: number;
|
|
3349
|
+
type: string;
|
|
3350
|
+
name: string;
|
|
3351
|
+
id: number;
|
|
3352
|
+
createdAt: Date;
|
|
3353
|
+
userId: number;
|
|
3354
|
+
updatedAt: Date;
|
|
3355
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
3356
|
+
startDate: Date;
|
|
3357
|
+
active: boolean;
|
|
3358
|
+
description?: string | null | undefined;
|
|
3359
|
+
itemId?: number | null | undefined;
|
|
3360
|
+
endDate?: Date | null | undefined;
|
|
3361
|
+
parentFeeId?: number | null | undefined;
|
|
3362
|
+
}[] | null | undefined;
|
|
3347
3363
|
description?: string | null | undefined;
|
|
3348
3364
|
categoryId?: number | null | undefined;
|
|
3349
|
-
|
|
3365
|
+
sizeId?: number | null | undefined;
|
|
3350
3366
|
colorIds?: number[] | null | undefined;
|
|
3367
|
+
packageSizeId?: number | null | undefined;
|
|
3368
|
+
state?: number | null | undefined;
|
|
3351
3369
|
measurementLength?: number | null | undefined;
|
|
3352
3370
|
measurementWidth?: number | null | undefined;
|
|
3353
|
-
packageSizeId?: number | null | undefined;
|
|
3354
|
-
sizeId?: number | null | undefined;
|
|
3355
3371
|
labels?: {
|
|
3356
3372
|
itemId: number;
|
|
3357
3373
|
labelId: number;
|
|
3358
3374
|
label?: {
|
|
3359
|
-
id: number;
|
|
3360
3375
|
name: string;
|
|
3376
|
+
id: number;
|
|
3361
3377
|
createdAt: Date;
|
|
3362
3378
|
isUserLabel: boolean;
|
|
3363
3379
|
itemCount?: number | null | undefined;
|
|
@@ -3370,50 +3386,86 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3370
3386
|
fieldKey: string;
|
|
3371
3387
|
}[] | null | undefined;
|
|
3372
3388
|
sku?: string | null | undefined;
|
|
3373
|
-
|
|
3374
|
-
|
|
3389
|
+
sex?: string | null | undefined;
|
|
3390
|
+
platforms?: {
|
|
3391
|
+
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
3392
|
+
id: string;
|
|
3393
|
+
createdAt: Date;
|
|
3394
|
+
accountId: string;
|
|
3375
3395
|
itemId: number;
|
|
3376
|
-
|
|
3396
|
+
platformId: string;
|
|
3397
|
+
platformUrl: string;
|
|
3398
|
+
platformPrice: number;
|
|
3399
|
+
updatedAt: Date;
|
|
3400
|
+
publishedAt: Date;
|
|
3401
|
+
conversationId?: string | null | undefined;
|
|
3402
|
+
boostedAt?: Date | null | undefined;
|
|
3403
|
+
boostedUntil?: Date | null | undefined;
|
|
3404
|
+
viewsCount?: number | null | undefined;
|
|
3405
|
+
favoritesCount?: number | null | undefined;
|
|
3406
|
+
account?: {
|
|
3407
|
+
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
3408
|
+
name: string;
|
|
3409
|
+
userId: number;
|
|
3410
|
+
accountId: string;
|
|
3411
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3412
|
+
locale?: string | null | undefined;
|
|
3413
|
+
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
3414
|
+
restrictedUntil?: Date | null | undefined;
|
|
3415
|
+
night?: {
|
|
3416
|
+
startsAt: Date;
|
|
3417
|
+
endsAt: Date;
|
|
3418
|
+
} | null | undefined;
|
|
3419
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
3420
|
+
ordersMaxDelay?: number | null | undefined;
|
|
3421
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
3422
|
+
walletMaxDelay?: number | null | undefined;
|
|
3423
|
+
availableBalance?: number | null | undefined;
|
|
3424
|
+
pendingBalance?: number | null | undefined;
|
|
3425
|
+
profilePictureFileId?: string | null | undefined;
|
|
3426
|
+
profilePicture?: {
|
|
3427
|
+
path: string;
|
|
3428
|
+
id: string;
|
|
3429
|
+
createdAt: Date;
|
|
3430
|
+
userId: number;
|
|
3431
|
+
signedUrl: string;
|
|
3432
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3433
|
+
} | null | undefined;
|
|
3434
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
3435
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
3436
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
3437
|
+
} | null | undefined;
|
|
3438
|
+
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;
|
|
3439
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
3440
|
+
isBoosted?: boolean | null | undefined;
|
|
3377
3441
|
}[] | null | undefined;
|
|
3378
|
-
|
|
3442
|
+
brandId?: number | null | undefined;
|
|
3443
|
+
estimatedPrice?: number | null | undefined;
|
|
3444
|
+
purchaseDate?: Date | null | undefined;
|
|
3445
|
+
sellingDate?: Date | null | undefined;
|
|
3446
|
+
fields?: {
|
|
3447
|
+
value: string;
|
|
3379
3448
|
itemId: number;
|
|
3449
|
+
fieldId: number;
|
|
3450
|
+
}[] | null | undefined;
|
|
3451
|
+
files?: {
|
|
3380
3452
|
fileId: string;
|
|
3453
|
+
itemId: number;
|
|
3381
3454
|
file?: {
|
|
3382
3455
|
path: string;
|
|
3383
3456
|
id: string;
|
|
3384
|
-
userId: number;
|
|
3385
3457
|
createdAt: Date;
|
|
3458
|
+
userId: number;
|
|
3386
3459
|
signedUrl: string;
|
|
3387
3460
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3388
3461
|
} | null | undefined;
|
|
3389
3462
|
index?: number | null | undefined;
|
|
3390
3463
|
}[] | null | undefined;
|
|
3391
|
-
brandId?: number | null | undefined;
|
|
3392
|
-
sex?: string | null | undefined;
|
|
3393
3464
|
purchasePrice?: number | null | undefined;
|
|
3394
|
-
purchaseDate?: Date | null | undefined;
|
|
3395
3465
|
purchasePlaceId?: number | null | undefined;
|
|
3396
3466
|
purchased?: boolean | null | undefined;
|
|
3397
3467
|
sellingPrice?: number | null | undefined;
|
|
3398
|
-
sellingDate?: Date | null | undefined;
|
|
3399
3468
|
sellingPlaceId?: number | null | undefined;
|
|
3400
|
-
estimatedPrice?: number | null | undefined;
|
|
3401
|
-
fees?: {
|
|
3402
|
-
value: number;
|
|
3403
|
-
type: string;
|
|
3404
|
-
id: number;
|
|
3405
|
-
userId: number;
|
|
3406
|
-
name: string;
|
|
3407
|
-
createdAt: Date;
|
|
3408
|
-
updatedAt: Date;
|
|
3409
|
-
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
3410
|
-
startDate: Date;
|
|
3411
|
-
active: boolean;
|
|
3412
|
-
description?: string | null | undefined;
|
|
3413
|
-
itemId?: number | null | undefined;
|
|
3414
|
-
endDate?: Date | null | undefined;
|
|
3415
|
-
parentFeeId?: number | null | undefined;
|
|
3416
|
-
}[] | null | undefined;
|
|
3417
3469
|
feesSum?: number | null | undefined;
|
|
3418
3470
|
materialIds?: number[] | null | undefined;
|
|
3419
3471
|
enumValues?: {
|
|
@@ -3429,7 +3481,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3429
3481
|
id: string;
|
|
3430
3482
|
createdAt: Date;
|
|
3431
3483
|
itemId: number;
|
|
3432
|
-
accountId?: string | null | undefined;
|
|
3433
3484
|
data?: {
|
|
3434
3485
|
type: "ACTION_CANCELED";
|
|
3435
3486
|
data: {
|
|
@@ -3465,7 +3516,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3465
3516
|
accountId?: string | null | undefined;
|
|
3466
3517
|
reason?: string | null | undefined;
|
|
3467
3518
|
fields?: {
|
|
3468
|
-
field: "
|
|
3519
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
3469
3520
|
autoFixable: boolean;
|
|
3470
3521
|
error?: string | null | undefined;
|
|
3471
3522
|
}[] | null | undefined;
|
|
@@ -3495,23 +3546,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3495
3546
|
post: {
|
|
3496
3547
|
platformId: string;
|
|
3497
3548
|
post: {
|
|
3498
|
-
size?: string | null | undefined;
|
|
3499
3549
|
status?: string | null | undefined;
|
|
3500
3550
|
title?: string | null | undefined;
|
|
3501
3551
|
description?: string | null | undefined;
|
|
3552
|
+
brand?: string | null | undefined;
|
|
3553
|
+
statusId?: number | null | undefined;
|
|
3554
|
+
sizeId?: number | null | undefined;
|
|
3555
|
+
colorIds?: number[] | null | undefined;
|
|
3556
|
+
packageSizeId?: number | null | undefined;
|
|
3502
3557
|
price?: number | null | undefined;
|
|
3503
3558
|
currency?: string | null | undefined;
|
|
3504
|
-
brand?: string | null | undefined;
|
|
3505
3559
|
catalog?: string | null | undefined;
|
|
3506
3560
|
catalogId?: number | null | undefined;
|
|
3507
3561
|
colors?: string[] | null | undefined;
|
|
3508
|
-
colorIds?: number[] | null | undefined;
|
|
3509
3562
|
measurementLength?: number | null | undefined;
|
|
3510
3563
|
measurementWidth?: number | null | undefined;
|
|
3511
|
-
packageSizeId?: number | null | undefined;
|
|
3512
3564
|
photoUrls?: string[] | null | undefined;
|
|
3513
|
-
|
|
3514
|
-
statusId?: number | null | undefined;
|
|
3565
|
+
size?: string | null | undefined;
|
|
3515
3566
|
isDraft?: boolean | null | undefined;
|
|
3516
3567
|
isArchived?: boolean | null | undefined;
|
|
3517
3568
|
isUnisex?: boolean | null | undefined;
|
|
@@ -3554,8 +3605,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3554
3605
|
} | {
|
|
3555
3606
|
type: "LIFECYCLE_STARTED";
|
|
3556
3607
|
data: {
|
|
3557
|
-
accountId: string;
|
|
3558
3608
|
caseId: string;
|
|
3609
|
+
accountId: string;
|
|
3559
3610
|
isRepeat?: boolean | null | undefined;
|
|
3560
3611
|
};
|
|
3561
3612
|
} | {
|
|
@@ -3594,17 +3645,17 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3594
3645
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
3595
3646
|
} | null | undefined;
|
|
3596
3647
|
} | null | undefined;
|
|
3597
|
-
targetAccountId?: string | null | undefined;
|
|
3598
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
3599
3648
|
publishingDate?: Date | null | undefined;
|
|
3600
3649
|
isTransfer?: boolean | null | undefined;
|
|
3650
|
+
targetAccountId?: string | null | undefined;
|
|
3651
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
3601
3652
|
};
|
|
3602
3653
|
} | {
|
|
3603
3654
|
type: "REPUBLISHING_RETRY";
|
|
3604
3655
|
data: {
|
|
3656
|
+
maxAttempts: number;
|
|
3605
3657
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3606
3658
|
attemptNumber: number;
|
|
3607
|
-
maxAttempts: number;
|
|
3608
3659
|
previousHistoryId: string;
|
|
3609
3660
|
originalFailureDate: Date;
|
|
3610
3661
|
payload?: {
|
|
@@ -3632,7 +3683,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3632
3683
|
} | null | undefined;
|
|
3633
3684
|
} | null | undefined;
|
|
3634
3685
|
fields?: {
|
|
3635
|
-
field: "
|
|
3686
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
3636
3687
|
autoFixable: boolean;
|
|
3637
3688
|
error?: string | null | undefined;
|
|
3638
3689
|
}[] | null | undefined;
|
|
@@ -3646,13 +3697,13 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3646
3697
|
} | {
|
|
3647
3698
|
type: "SCHEDULED_RETRY";
|
|
3648
3699
|
data: {
|
|
3700
|
+
maxAttempts: number;
|
|
3649
3701
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3650
3702
|
attemptNumber: number;
|
|
3651
|
-
maxAttempts: number;
|
|
3652
3703
|
previousHistoryId: string;
|
|
3653
3704
|
originalFailureDate: Date;
|
|
3654
3705
|
fields?: {
|
|
3655
|
-
field: "
|
|
3706
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
3656
3707
|
autoFixable: boolean;
|
|
3657
3708
|
error?: string | null | undefined;
|
|
3658
3709
|
}[] | null | undefined;
|
|
@@ -3681,103 +3732,52 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3681
3732
|
targetDate?: Date | null | undefined;
|
|
3682
3733
|
};
|
|
3683
3734
|
} | null | undefined;
|
|
3735
|
+
accountId?: string | null | undefined;
|
|
3684
3736
|
targetDate?: Date | null | undefined;
|
|
3685
3737
|
requestId?: string | null | undefined;
|
|
3686
3738
|
targetHistoryId?: string | null | undefined;
|
|
3687
3739
|
} | null | undefined;
|
|
3688
|
-
platforms?: {
|
|
3689
|
-
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
3690
|
-
id: string;
|
|
3691
|
-
accountId: string;
|
|
3692
|
-
createdAt: Date;
|
|
3693
|
-
itemId: number;
|
|
3694
|
-
platformId: string;
|
|
3695
|
-
platformUrl: string;
|
|
3696
|
-
platformPrice: number;
|
|
3697
|
-
updatedAt: Date;
|
|
3698
|
-
publishedAt: Date;
|
|
3699
|
-
conversationId?: string | null | undefined;
|
|
3700
|
-
boostedAt?: Date | null | undefined;
|
|
3701
|
-
boostedUntil?: Date | null | undefined;
|
|
3702
|
-
viewsCount?: number | null | undefined;
|
|
3703
|
-
favoritesCount?: number | null | undefined;
|
|
3704
|
-
account?: {
|
|
3705
|
-
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
3706
|
-
accountId: string;
|
|
3707
|
-
userId: number;
|
|
3708
|
-
name: string;
|
|
3709
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3710
|
-
locale?: string | null | undefined;
|
|
3711
|
-
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
3712
|
-
restrictedUntil?: Date | null | undefined;
|
|
3713
|
-
night?: {
|
|
3714
|
-
startsAt: Date;
|
|
3715
|
-
endsAt: Date;
|
|
3716
|
-
} | null | undefined;
|
|
3717
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
3718
|
-
ordersMaxDelay?: number | null | undefined;
|
|
3719
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
3720
|
-
walletMaxDelay?: number | null | undefined;
|
|
3721
|
-
availableBalance?: number | null | undefined;
|
|
3722
|
-
pendingBalance?: number | null | undefined;
|
|
3723
|
-
profilePictureFileId?: string | null | undefined;
|
|
3724
|
-
profilePicture?: {
|
|
3725
|
-
path: string;
|
|
3726
|
-
id: string;
|
|
3727
|
-
userId: number;
|
|
3728
|
-
createdAt: Date;
|
|
3729
|
-
signedUrl: string;
|
|
3730
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3731
|
-
} | null | undefined;
|
|
3732
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
3733
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
3734
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
3735
|
-
} | null | undefined;
|
|
3736
|
-
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;
|
|
3737
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
3738
|
-
isBoosted?: boolean | null | undefined;
|
|
3739
|
-
}[] | null | undefined;
|
|
3740
3740
|
sourceInConversation?: "UNKNOWN" | "DELETED" | "ORDER" | "TRANSACTION" | null | undefined;
|
|
3741
3741
|
order?: {
|
|
3742
3742
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
3743
3743
|
labels?: {
|
|
3744
3744
|
id: string;
|
|
3745
|
-
orderId: string;
|
|
3746
3745
|
fileId: string;
|
|
3746
|
+
orderId: string;
|
|
3747
3747
|
nonCroppedFileId: string;
|
|
3748
3748
|
originalFileId: string;
|
|
3749
|
-
|
|
3749
|
+
originalFile?: {
|
|
3750
3750
|
path: string;
|
|
3751
3751
|
id: string;
|
|
3752
|
-
userId: number;
|
|
3753
3752
|
createdAt: Date;
|
|
3753
|
+
userId: number;
|
|
3754
3754
|
signedUrl: string;
|
|
3755
3755
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3756
3756
|
} | null | undefined;
|
|
3757
|
-
|
|
3757
|
+
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;
|
|
3758
|
+
file?: {
|
|
3758
3759
|
path: string;
|
|
3759
3760
|
id: string;
|
|
3760
|
-
userId: number;
|
|
3761
3761
|
createdAt: Date;
|
|
3762
|
+
userId: number;
|
|
3762
3763
|
signedUrl: string;
|
|
3763
3764
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3764
3765
|
} | null | undefined;
|
|
3765
|
-
|
|
3766
|
+
nonCroppedFile?: {
|
|
3766
3767
|
path: string;
|
|
3767
3768
|
id: string;
|
|
3768
|
-
userId: number;
|
|
3769
3769
|
createdAt: Date;
|
|
3770
|
+
userId: number;
|
|
3770
3771
|
signedUrl: string;
|
|
3771
3772
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3772
3773
|
} | null | undefined;
|
|
3773
|
-
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;
|
|
3774
3774
|
}[] | null | undefined;
|
|
3775
3775
|
invoices?: {
|
|
3776
3776
|
type: "SALE" | "PURCHASE";
|
|
3777
3777
|
status: string;
|
|
3778
3778
|
id: string;
|
|
3779
|
-
userId: number;
|
|
3780
3779
|
createdAt: Date;
|
|
3780
|
+
userId: number;
|
|
3781
3781
|
currency: string;
|
|
3782
3782
|
orderId: string;
|
|
3783
3783
|
updatedAt: Date;
|
|
@@ -3786,21 +3786,21 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3786
3786
|
businessProfileId: string;
|
|
3787
3787
|
issueDate: Date;
|
|
3788
3788
|
subtotal: number;
|
|
3789
|
-
vatAmount?: number | null | undefined;
|
|
3790
3789
|
fileId?: string | null | undefined;
|
|
3790
|
+
vatAmount?: number | null | undefined;
|
|
3791
3791
|
file?: {
|
|
3792
3792
|
path: string;
|
|
3793
3793
|
id: string;
|
|
3794
|
-
userId: number;
|
|
3795
3794
|
createdAt: Date;
|
|
3795
|
+
userId: number;
|
|
3796
3796
|
signedUrl: string;
|
|
3797
3797
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3798
3798
|
} | null | undefined;
|
|
3799
3799
|
vatRate?: number | null | undefined;
|
|
3800
3800
|
businessProfile?: {
|
|
3801
3801
|
id: string;
|
|
3802
|
-
userId: number;
|
|
3803
3802
|
createdAt: Date;
|
|
3803
|
+
userId: number;
|
|
3804
3804
|
updatedAt: Date;
|
|
3805
3805
|
businessName: string;
|
|
3806
3806
|
address: string;
|
|
@@ -3813,8 +3813,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3813
3813
|
logo?: {
|
|
3814
3814
|
path: string;
|
|
3815
3815
|
id: string;
|
|
3816
|
-
userId: number;
|
|
3817
3816
|
createdAt: Date;
|
|
3817
|
+
userId: number;
|
|
3818
3818
|
signedUrl: string;
|
|
3819
3819
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3820
3820
|
} | null | undefined;
|
|
@@ -3827,26 +3827,26 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3827
3827
|
firstName: string;
|
|
3828
3828
|
lastName: string;
|
|
3829
3829
|
phoneVerified: boolean;
|
|
3830
|
-
postalCode?: string | null | undefined;
|
|
3831
|
-
city?: string | null | undefined;
|
|
3832
|
-
country?: string | null | undefined;
|
|
3833
|
-
email?: string | null | undefined;
|
|
3834
|
-
addressLine1?: string | null | undefined;
|
|
3835
|
-
addressLine2?: string | null | undefined;
|
|
3836
3830
|
birthDate?: Date | null | undefined;
|
|
3831
|
+
email?: string | null | undefined;
|
|
3837
3832
|
idNumber?: string | null | undefined;
|
|
3838
3833
|
phone?: string | null | undefined;
|
|
3839
3834
|
iban?: string | null | undefined;
|
|
3840
3835
|
bic?: string | null | undefined;
|
|
3836
|
+
addressLine1?: string | null | undefined;
|
|
3837
|
+
addressLine2?: string | null | undefined;
|
|
3838
|
+
city?: string | null | undefined;
|
|
3839
|
+
postalCode?: string | null | undefined;
|
|
3840
|
+
country?: string | null | undefined;
|
|
3841
3841
|
} | null | undefined;
|
|
3842
3842
|
dueDate?: Date | null | undefined;
|
|
3843
3843
|
notes?: string | null | undefined;
|
|
3844
3844
|
lineItems?: {
|
|
3845
|
-
quantity: number;
|
|
3846
|
-
id: number;
|
|
3847
3845
|
description: string;
|
|
3846
|
+
id: number;
|
|
3848
3847
|
createdAt: Date;
|
|
3849
3848
|
invoiceId: string;
|
|
3849
|
+
quantity: number;
|
|
3850
3850
|
unitPrice: number;
|
|
3851
3851
|
total: number;
|
|
3852
3852
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3856,29 +3856,45 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3856
3856
|
} | null | undefined;
|
|
3857
3857
|
analysisStatus?: "PENDING" | "COMPLETED" | "FAILED" | null | undefined;
|
|
3858
3858
|
}, {
|
|
3859
|
-
|
|
3860
|
-
|
|
3859
|
+
actions: {
|
|
3860
|
+
perAccount: Record<string, unknown[]>;
|
|
3861
|
+
};
|
|
3861
3862
|
name: string;
|
|
3863
|
+
id: number;
|
|
3862
3864
|
createdAt: Date;
|
|
3865
|
+
userId: number;
|
|
3863
3866
|
updatedAt: Date;
|
|
3864
3867
|
sold: boolean;
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
+
fees?: {
|
|
3869
|
+
value: number;
|
|
3870
|
+
type: string;
|
|
3871
|
+
name: string;
|
|
3872
|
+
id: number;
|
|
3873
|
+
createdAt: Date;
|
|
3874
|
+
userId: number;
|
|
3875
|
+
updatedAt: Date;
|
|
3876
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
3877
|
+
startDate: Date;
|
|
3878
|
+
active: boolean;
|
|
3879
|
+
description?: string | null | undefined;
|
|
3880
|
+
itemId?: number | null | undefined;
|
|
3881
|
+
endDate?: Date | null | undefined;
|
|
3882
|
+
parentFeeId?: number | null | undefined;
|
|
3883
|
+
}[] | null | undefined;
|
|
3868
3884
|
description?: string | null | undefined;
|
|
3869
3885
|
categoryId?: number | null | undefined;
|
|
3870
|
-
|
|
3886
|
+
sizeId?: number | null | undefined;
|
|
3871
3887
|
colorIds?: number[] | null | undefined;
|
|
3888
|
+
packageSizeId?: number | null | undefined;
|
|
3889
|
+
state?: number | null | undefined;
|
|
3872
3890
|
measurementLength?: number | null | undefined;
|
|
3873
3891
|
measurementWidth?: number | null | undefined;
|
|
3874
|
-
packageSizeId?: number | null | undefined;
|
|
3875
|
-
sizeId?: number | null | undefined;
|
|
3876
3892
|
labels?: {
|
|
3877
3893
|
itemId: number;
|
|
3878
3894
|
labelId: number;
|
|
3879
3895
|
label?: {
|
|
3880
|
-
id: number;
|
|
3881
3896
|
name: string;
|
|
3897
|
+
id: number;
|
|
3882
3898
|
createdAt: Date;
|
|
3883
3899
|
isUserLabel: boolean;
|
|
3884
3900
|
itemCount?: number | null | undefined;
|
|
@@ -3891,50 +3907,86 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3891
3907
|
fieldKey: string;
|
|
3892
3908
|
}[] | null | undefined;
|
|
3893
3909
|
sku?: string | null | undefined;
|
|
3910
|
+
sex?: string | null | undefined;
|
|
3911
|
+
platforms?: {
|
|
3912
|
+
id: string;
|
|
3913
|
+
createdAt: Date;
|
|
3914
|
+
accountId: string;
|
|
3915
|
+
itemId: number;
|
|
3916
|
+
platformId: string;
|
|
3917
|
+
platformUrl: string;
|
|
3918
|
+
platformPrice: number;
|
|
3919
|
+
updatedAt: Date;
|
|
3920
|
+
publishedAt: Date;
|
|
3921
|
+
status?: unknown;
|
|
3922
|
+
conversationId?: string | null | undefined;
|
|
3923
|
+
boostedAt?: Date | null | undefined;
|
|
3924
|
+
boostedUntil?: Date | null | undefined;
|
|
3925
|
+
viewsCount?: number | null | undefined;
|
|
3926
|
+
favoritesCount?: number | null | undefined;
|
|
3927
|
+
account?: {
|
|
3928
|
+
name: string;
|
|
3929
|
+
userId: number;
|
|
3930
|
+
accountId: string;
|
|
3931
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3932
|
+
status?: unknown;
|
|
3933
|
+
locale?: string | null | undefined;
|
|
3934
|
+
lockReason?: unknown;
|
|
3935
|
+
restrictedUntil?: Date | null | undefined;
|
|
3936
|
+
night?: {
|
|
3937
|
+
startsAt: Date;
|
|
3938
|
+
endsAt: Date;
|
|
3939
|
+
} | null | undefined;
|
|
3940
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
3941
|
+
ordersMaxDelay?: number | null | undefined;
|
|
3942
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
3943
|
+
walletMaxDelay?: number | null | undefined;
|
|
3944
|
+
availableBalance?: number | null | undefined;
|
|
3945
|
+
pendingBalance?: number | null | undefined;
|
|
3946
|
+
profilePictureFileId?: string | null | undefined;
|
|
3947
|
+
profilePicture?: {
|
|
3948
|
+
path: string;
|
|
3949
|
+
id: string;
|
|
3950
|
+
createdAt: Date;
|
|
3951
|
+
userId: number;
|
|
3952
|
+
signedUrl: string;
|
|
3953
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3954
|
+
} | null | undefined;
|
|
3955
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
3956
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
3957
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
3958
|
+
} | null | undefined;
|
|
3959
|
+
orderStatus?: unknown;
|
|
3960
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
3961
|
+
isBoosted?: boolean | null | undefined;
|
|
3962
|
+
}[] | null | undefined;
|
|
3963
|
+
brandId?: number | null | undefined;
|
|
3964
|
+
estimatedPrice?: number | null | undefined;
|
|
3965
|
+
purchaseDate?: Date | null | undefined;
|
|
3966
|
+
sellingDate?: Date | null | undefined;
|
|
3894
3967
|
fields?: {
|
|
3895
3968
|
value: string;
|
|
3896
3969
|
itemId: number;
|
|
3897
3970
|
fieldId: number;
|
|
3898
3971
|
}[] | null | undefined;
|
|
3899
3972
|
files?: {
|
|
3900
|
-
itemId: number;
|
|
3901
3973
|
fileId: string;
|
|
3974
|
+
itemId: number;
|
|
3902
3975
|
file?: {
|
|
3903
3976
|
path: string;
|
|
3904
3977
|
id: string;
|
|
3905
|
-
userId: number;
|
|
3906
3978
|
createdAt: Date;
|
|
3979
|
+
userId: number;
|
|
3907
3980
|
signedUrl: string;
|
|
3908
3981
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3909
3982
|
} | null | undefined;
|
|
3910
3983
|
index?: number | null | undefined;
|
|
3911
3984
|
}[] | null | undefined;
|
|
3912
|
-
brandId?: number | null | undefined;
|
|
3913
|
-
sex?: string | null | undefined;
|
|
3914
3985
|
purchasePrice?: number | null | undefined;
|
|
3915
|
-
purchaseDate?: Date | null | undefined;
|
|
3916
3986
|
purchasePlaceId?: number | null | undefined;
|
|
3917
3987
|
purchased?: boolean | null | undefined;
|
|
3918
3988
|
sellingPrice?: number | null | undefined;
|
|
3919
|
-
sellingDate?: Date | null | undefined;
|
|
3920
3989
|
sellingPlaceId?: number | null | undefined;
|
|
3921
|
-
estimatedPrice?: number | null | undefined;
|
|
3922
|
-
fees?: {
|
|
3923
|
-
value: number;
|
|
3924
|
-
type: string;
|
|
3925
|
-
id: number;
|
|
3926
|
-
userId: number;
|
|
3927
|
-
name: string;
|
|
3928
|
-
createdAt: Date;
|
|
3929
|
-
updatedAt: Date;
|
|
3930
|
-
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
3931
|
-
startDate: Date;
|
|
3932
|
-
active: boolean;
|
|
3933
|
-
description?: string | null | undefined;
|
|
3934
|
-
itemId?: number | null | undefined;
|
|
3935
|
-
endDate?: Date | null | undefined;
|
|
3936
|
-
parentFeeId?: number | null | undefined;
|
|
3937
|
-
}[] | null | undefined;
|
|
3938
3990
|
feesSum?: number | null | undefined;
|
|
3939
3991
|
materialIds?: number[] | null | undefined;
|
|
3940
3992
|
enumValues?: {
|
|
@@ -3950,7 +4002,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3950
4002
|
createdAt: Date;
|
|
3951
4003
|
itemId: number;
|
|
3952
4004
|
type?: unknown;
|
|
3953
|
-
accountId?: string | null | undefined;
|
|
3954
4005
|
data?: {
|
|
3955
4006
|
type: "ACTION_CANCELED";
|
|
3956
4007
|
data: {
|
|
@@ -4016,23 +4067,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4016
4067
|
post: {
|
|
4017
4068
|
platformId: string;
|
|
4018
4069
|
post: {
|
|
4019
|
-
size?: string | null | undefined;
|
|
4020
4070
|
status?: string | null | undefined;
|
|
4021
4071
|
title?: string | null | undefined;
|
|
4022
4072
|
description?: string | null | undefined;
|
|
4073
|
+
brand?: string | null | undefined;
|
|
4074
|
+
statusId?: number | null | undefined;
|
|
4075
|
+
sizeId?: number | null | undefined;
|
|
4076
|
+
colorIds?: number[] | null | undefined;
|
|
4077
|
+
packageSizeId?: number | null | undefined;
|
|
4023
4078
|
price?: number | null | undefined;
|
|
4024
4079
|
currency?: string | null | undefined;
|
|
4025
|
-
brand?: string | null | undefined;
|
|
4026
4080
|
catalog?: string | null | undefined;
|
|
4027
4081
|
catalogId?: number | null | undefined;
|
|
4028
4082
|
colors?: string[] | null | undefined;
|
|
4029
|
-
colorIds?: number[] | null | undefined;
|
|
4030
4083
|
measurementLength?: number | null | undefined;
|
|
4031
4084
|
measurementWidth?: number | null | undefined;
|
|
4032
|
-
packageSizeId?: number | null | undefined;
|
|
4033
4085
|
photoUrls?: string[] | null | undefined;
|
|
4034
|
-
|
|
4035
|
-
statusId?: number | null | undefined;
|
|
4086
|
+
size?: string | null | undefined;
|
|
4036
4087
|
isDraft?: boolean | null | undefined;
|
|
4037
4088
|
isArchived?: boolean | null | undefined;
|
|
4038
4089
|
isUnisex?: boolean | null | undefined;
|
|
@@ -4075,8 +4126,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4075
4126
|
} | {
|
|
4076
4127
|
type: "LIFECYCLE_STARTED";
|
|
4077
4128
|
data: {
|
|
4078
|
-
accountId: string;
|
|
4079
4129
|
caseId: string;
|
|
4130
|
+
accountId: string;
|
|
4080
4131
|
isRepeat?: boolean | null | undefined;
|
|
4081
4132
|
};
|
|
4082
4133
|
} | {
|
|
@@ -4115,17 +4166,17 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4115
4166
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
4116
4167
|
} | null | undefined;
|
|
4117
4168
|
} | null | undefined;
|
|
4118
|
-
targetAccountId?: string | null | undefined;
|
|
4119
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
4120
4169
|
publishingDate?: Date | null | undefined;
|
|
4121
4170
|
isTransfer?: boolean | null | undefined;
|
|
4171
|
+
targetAccountId?: string | null | undefined;
|
|
4172
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
4122
4173
|
};
|
|
4123
4174
|
} | {
|
|
4124
4175
|
type: "REPUBLISHING_RETRY";
|
|
4125
4176
|
data: {
|
|
4177
|
+
maxAttempts: number;
|
|
4126
4178
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4127
4179
|
attemptNumber: number;
|
|
4128
|
-
maxAttempts: number;
|
|
4129
4180
|
previousHistoryId: string;
|
|
4130
4181
|
originalFailureDate: Date;
|
|
4131
4182
|
payload?: {
|
|
@@ -4167,9 +4218,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4167
4218
|
} | {
|
|
4168
4219
|
type: "SCHEDULED_RETRY";
|
|
4169
4220
|
data: {
|
|
4221
|
+
maxAttempts: number;
|
|
4170
4222
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4171
4223
|
attemptNumber: number;
|
|
4172
|
-
maxAttempts: number;
|
|
4173
4224
|
previousHistoryId: string;
|
|
4174
4225
|
originalFailureDate: Date;
|
|
4175
4226
|
fields?: {
|
|
@@ -4199,106 +4250,55 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4199
4250
|
} | null | undefined;
|
|
4200
4251
|
targetPrice?: number | null | undefined;
|
|
4201
4252
|
} | null | undefined;
|
|
4202
|
-
targetDate?: Date | null | undefined;
|
|
4203
|
-
};
|
|
4204
|
-
} | null | undefined;
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
|
|
4209
|
-
|
|
4210
|
-
id: string;
|
|
4211
|
-
accountId: string;
|
|
4212
|
-
createdAt: Date;
|
|
4213
|
-
itemId: number;
|
|
4214
|
-
platformId: string;
|
|
4215
|
-
platformUrl: string;
|
|
4216
|
-
platformPrice: number;
|
|
4217
|
-
updatedAt: Date;
|
|
4218
|
-
publishedAt: Date;
|
|
4219
|
-
status?: unknown;
|
|
4220
|
-
conversationId?: string | null | undefined;
|
|
4221
|
-
boostedAt?: Date | null | undefined;
|
|
4222
|
-
boostedUntil?: Date | null | undefined;
|
|
4223
|
-
viewsCount?: number | null | undefined;
|
|
4224
|
-
favoritesCount?: number | null | undefined;
|
|
4225
|
-
account?: {
|
|
4226
|
-
accountId: string;
|
|
4227
|
-
userId: number;
|
|
4228
|
-
name: string;
|
|
4229
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4230
|
-
status?: unknown;
|
|
4231
|
-
locale?: string | null | undefined;
|
|
4232
|
-
lockReason?: unknown;
|
|
4233
|
-
restrictedUntil?: Date | null | undefined;
|
|
4234
|
-
night?: {
|
|
4235
|
-
startsAt: Date;
|
|
4236
|
-
endsAt: Date;
|
|
4237
|
-
} | null | undefined;
|
|
4238
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
4239
|
-
ordersMaxDelay?: number | null | undefined;
|
|
4240
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
4241
|
-
walletMaxDelay?: number | null | undefined;
|
|
4242
|
-
availableBalance?: number | null | undefined;
|
|
4243
|
-
pendingBalance?: number | null | undefined;
|
|
4244
|
-
profilePictureFileId?: string | null | undefined;
|
|
4245
|
-
profilePicture?: {
|
|
4246
|
-
path: string;
|
|
4247
|
-
id: string;
|
|
4248
|
-
userId: number;
|
|
4249
|
-
createdAt: Date;
|
|
4250
|
-
signedUrl: string;
|
|
4251
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4252
|
-
} | null | undefined;
|
|
4253
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
4254
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
4255
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
4256
|
-
} | null | undefined;
|
|
4257
|
-
orderStatus?: unknown;
|
|
4258
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
4259
|
-
isBoosted?: boolean | null | undefined;
|
|
4260
|
-
}[] | null | undefined;
|
|
4253
|
+
targetDate?: Date | null | undefined;
|
|
4254
|
+
};
|
|
4255
|
+
} | null | undefined;
|
|
4256
|
+
accountId?: string | null | undefined;
|
|
4257
|
+
targetDate?: Date | null | undefined;
|
|
4258
|
+
requestId?: string | null | undefined;
|
|
4259
|
+
targetHistoryId?: string | null | undefined;
|
|
4260
|
+
} | null | undefined;
|
|
4261
4261
|
sourceInConversation?: unknown;
|
|
4262
4262
|
order?: {
|
|
4263
4263
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
4264
4264
|
labels?: {
|
|
4265
4265
|
id: string;
|
|
4266
|
-
orderId: string;
|
|
4267
4266
|
fileId: string;
|
|
4267
|
+
orderId: string;
|
|
4268
4268
|
nonCroppedFileId: string;
|
|
4269
4269
|
originalFileId: string;
|
|
4270
|
-
|
|
4270
|
+
originalFile?: {
|
|
4271
4271
|
path: string;
|
|
4272
4272
|
id: string;
|
|
4273
|
-
userId: number;
|
|
4274
4273
|
createdAt: Date;
|
|
4274
|
+
userId: number;
|
|
4275
4275
|
signedUrl: string;
|
|
4276
4276
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4277
4277
|
} | null | undefined;
|
|
4278
|
-
|
|
4278
|
+
carrier?: unknown;
|
|
4279
|
+
file?: {
|
|
4279
4280
|
path: string;
|
|
4280
4281
|
id: string;
|
|
4281
|
-
userId: number;
|
|
4282
4282
|
createdAt: Date;
|
|
4283
|
+
userId: number;
|
|
4283
4284
|
signedUrl: string;
|
|
4284
4285
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4285
4286
|
} | null | undefined;
|
|
4286
|
-
|
|
4287
|
+
nonCroppedFile?: {
|
|
4287
4288
|
path: string;
|
|
4288
4289
|
id: string;
|
|
4289
|
-
userId: number;
|
|
4290
4290
|
createdAt: Date;
|
|
4291
|
+
userId: number;
|
|
4291
4292
|
signedUrl: string;
|
|
4292
4293
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4293
4294
|
} | null | undefined;
|
|
4294
|
-
carrier?: unknown;
|
|
4295
4295
|
}[] | null | undefined;
|
|
4296
4296
|
invoices?: {
|
|
4297
4297
|
type: "SALE" | "PURCHASE";
|
|
4298
4298
|
status: string;
|
|
4299
4299
|
id: string;
|
|
4300
|
-
userId: number;
|
|
4301
4300
|
createdAt: Date;
|
|
4301
|
+
userId: number;
|
|
4302
4302
|
currency: string;
|
|
4303
4303
|
orderId: string;
|
|
4304
4304
|
updatedAt: Date;
|
|
@@ -4307,21 +4307,21 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4307
4307
|
businessProfileId: string;
|
|
4308
4308
|
issueDate: Date;
|
|
4309
4309
|
subtotal: number;
|
|
4310
|
-
vatAmount?: number | null | undefined;
|
|
4311
4310
|
fileId?: string | null | undefined;
|
|
4311
|
+
vatAmount?: number | null | undefined;
|
|
4312
4312
|
file?: {
|
|
4313
4313
|
path: string;
|
|
4314
4314
|
id: string;
|
|
4315
|
-
userId: number;
|
|
4316
4315
|
createdAt: Date;
|
|
4316
|
+
userId: number;
|
|
4317
4317
|
signedUrl: string;
|
|
4318
4318
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4319
4319
|
} | null | undefined;
|
|
4320
4320
|
vatRate?: number | null | undefined;
|
|
4321
4321
|
businessProfile?: {
|
|
4322
4322
|
id: string;
|
|
4323
|
-
userId: number;
|
|
4324
4323
|
createdAt: Date;
|
|
4324
|
+
userId: number;
|
|
4325
4325
|
updatedAt: Date;
|
|
4326
4326
|
businessName: string;
|
|
4327
4327
|
address: string;
|
|
@@ -4334,8 +4334,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4334
4334
|
logo?: {
|
|
4335
4335
|
path: string;
|
|
4336
4336
|
id: string;
|
|
4337
|
-
userId: number;
|
|
4338
4337
|
createdAt: Date;
|
|
4338
|
+
userId: number;
|
|
4339
4339
|
signedUrl: string;
|
|
4340
4340
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4341
4341
|
} | null | undefined;
|
|
@@ -4348,26 +4348,26 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4348
4348
|
firstName: string;
|
|
4349
4349
|
lastName: string;
|
|
4350
4350
|
phoneVerified: boolean;
|
|
4351
|
-
postalCode?: string | null | undefined;
|
|
4352
|
-
city?: string | null | undefined;
|
|
4353
|
-
country?: string | null | undefined;
|
|
4354
|
-
email?: string | null | undefined;
|
|
4355
|
-
addressLine1?: string | null | undefined;
|
|
4356
|
-
addressLine2?: string | null | undefined;
|
|
4357
4351
|
birthDate?: Date | null | undefined;
|
|
4352
|
+
email?: string | null | undefined;
|
|
4358
4353
|
idNumber?: string | null | undefined;
|
|
4359
4354
|
phone?: string | null | undefined;
|
|
4360
4355
|
iban?: string | null | undefined;
|
|
4361
4356
|
bic?: string | null | undefined;
|
|
4357
|
+
addressLine1?: string | null | undefined;
|
|
4358
|
+
addressLine2?: string | null | undefined;
|
|
4359
|
+
city?: string | null | undefined;
|
|
4360
|
+
postalCode?: string | null | undefined;
|
|
4361
|
+
country?: string | null | undefined;
|
|
4362
4362
|
} | null | undefined;
|
|
4363
4363
|
dueDate?: Date | null | undefined;
|
|
4364
4364
|
notes?: string | null | undefined;
|
|
4365
4365
|
lineItems?: {
|
|
4366
|
-
quantity: number;
|
|
4367
|
-
id: number;
|
|
4368
4366
|
description: string;
|
|
4367
|
+
id: number;
|
|
4369
4368
|
createdAt: Date;
|
|
4370
4369
|
invoiceId: string;
|
|
4370
|
+
quantity: number;
|
|
4371
4371
|
unitPrice: number;
|
|
4372
4372
|
total: number;
|
|
4373
4373
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -4381,29 +4381,45 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4381
4381
|
}, "strip", z.ZodTypeAny, {
|
|
4382
4382
|
userId: number;
|
|
4383
4383
|
item: {
|
|
4384
|
-
|
|
4385
|
-
|
|
4384
|
+
actions: {
|
|
4385
|
+
perAccount: Record<string, ("REPUBLISH" | "UNKNOWN" | "PUBLISH" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE" | "UPDATE_CANCEL" | "BOOST")[]>;
|
|
4386
|
+
};
|
|
4386
4387
|
name: string;
|
|
4388
|
+
id: number;
|
|
4387
4389
|
createdAt: Date;
|
|
4390
|
+
userId: number;
|
|
4388
4391
|
updatedAt: Date;
|
|
4389
4392
|
sold: boolean;
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
|
|
4393
|
+
fees?: {
|
|
4394
|
+
value: number;
|
|
4395
|
+
type: string;
|
|
4396
|
+
name: string;
|
|
4397
|
+
id: number;
|
|
4398
|
+
createdAt: Date;
|
|
4399
|
+
userId: number;
|
|
4400
|
+
updatedAt: Date;
|
|
4401
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
4402
|
+
startDate: Date;
|
|
4403
|
+
active: boolean;
|
|
4404
|
+
description?: string | null | undefined;
|
|
4405
|
+
itemId?: number | null | undefined;
|
|
4406
|
+
endDate?: Date | null | undefined;
|
|
4407
|
+
parentFeeId?: number | null | undefined;
|
|
4408
|
+
}[] | null | undefined;
|
|
4393
4409
|
description?: string | null | undefined;
|
|
4394
4410
|
categoryId?: number | null | undefined;
|
|
4395
|
-
|
|
4411
|
+
sizeId?: number | null | undefined;
|
|
4396
4412
|
colorIds?: number[] | null | undefined;
|
|
4413
|
+
packageSizeId?: number | null | undefined;
|
|
4414
|
+
state?: number | null | undefined;
|
|
4397
4415
|
measurementLength?: number | null | undefined;
|
|
4398
4416
|
measurementWidth?: number | null | undefined;
|
|
4399
|
-
packageSizeId?: number | null | undefined;
|
|
4400
|
-
sizeId?: number | null | undefined;
|
|
4401
4417
|
labels?: {
|
|
4402
4418
|
itemId: number;
|
|
4403
4419
|
labelId: number;
|
|
4404
4420
|
label?: {
|
|
4405
|
-
id: number;
|
|
4406
4421
|
name: string;
|
|
4422
|
+
id: number;
|
|
4407
4423
|
createdAt: Date;
|
|
4408
4424
|
isUserLabel: boolean;
|
|
4409
4425
|
itemCount?: number | null | undefined;
|
|
@@ -4416,50 +4432,86 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4416
4432
|
fieldKey: string;
|
|
4417
4433
|
}[] | null | undefined;
|
|
4418
4434
|
sku?: string | null | undefined;
|
|
4435
|
+
sex?: string | null | undefined;
|
|
4436
|
+
platforms?: {
|
|
4437
|
+
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
4438
|
+
id: string;
|
|
4439
|
+
createdAt: Date;
|
|
4440
|
+
accountId: string;
|
|
4441
|
+
itemId: number;
|
|
4442
|
+
platformId: string;
|
|
4443
|
+
platformUrl: string;
|
|
4444
|
+
platformPrice: number;
|
|
4445
|
+
updatedAt: Date;
|
|
4446
|
+
publishedAt: Date;
|
|
4447
|
+
conversationId?: string | null | undefined;
|
|
4448
|
+
boostedAt?: Date | null | undefined;
|
|
4449
|
+
boostedUntil?: Date | null | undefined;
|
|
4450
|
+
viewsCount?: number | null | undefined;
|
|
4451
|
+
favoritesCount?: number | null | undefined;
|
|
4452
|
+
account?: {
|
|
4453
|
+
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
4454
|
+
name: string;
|
|
4455
|
+
userId: number;
|
|
4456
|
+
accountId: string;
|
|
4457
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4458
|
+
locale?: string | null | undefined;
|
|
4459
|
+
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
4460
|
+
restrictedUntil?: Date | null | undefined;
|
|
4461
|
+
night?: {
|
|
4462
|
+
startsAt: Date;
|
|
4463
|
+
endsAt: Date;
|
|
4464
|
+
} | null | undefined;
|
|
4465
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
4466
|
+
ordersMaxDelay?: number | null | undefined;
|
|
4467
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
4468
|
+
walletMaxDelay?: number | null | undefined;
|
|
4469
|
+
availableBalance?: number | null | undefined;
|
|
4470
|
+
pendingBalance?: number | null | undefined;
|
|
4471
|
+
profilePictureFileId?: string | null | undefined;
|
|
4472
|
+
profilePicture?: {
|
|
4473
|
+
path: string;
|
|
4474
|
+
id: string;
|
|
4475
|
+
createdAt: Date;
|
|
4476
|
+
userId: number;
|
|
4477
|
+
signedUrl: string;
|
|
4478
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4479
|
+
} | null | undefined;
|
|
4480
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
4481
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
4482
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
4483
|
+
} | null | undefined;
|
|
4484
|
+
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;
|
|
4485
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
4486
|
+
isBoosted?: boolean | null | undefined;
|
|
4487
|
+
}[] | null | undefined;
|
|
4488
|
+
brandId?: number | null | undefined;
|
|
4489
|
+
estimatedPrice?: number | null | undefined;
|
|
4490
|
+
purchaseDate?: Date | null | undefined;
|
|
4491
|
+
sellingDate?: Date | null | undefined;
|
|
4419
4492
|
fields?: {
|
|
4420
4493
|
value: string;
|
|
4421
4494
|
itemId: number;
|
|
4422
4495
|
fieldId: number;
|
|
4423
4496
|
}[] | null | undefined;
|
|
4424
4497
|
files?: {
|
|
4425
|
-
itemId: number;
|
|
4426
4498
|
fileId: string;
|
|
4499
|
+
itemId: number;
|
|
4427
4500
|
file?: {
|
|
4428
4501
|
path: string;
|
|
4429
4502
|
id: string;
|
|
4430
|
-
userId: number;
|
|
4431
4503
|
createdAt: Date;
|
|
4504
|
+
userId: number;
|
|
4432
4505
|
signedUrl: string;
|
|
4433
4506
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4434
4507
|
} | null | undefined;
|
|
4435
4508
|
index?: number | null | undefined;
|
|
4436
4509
|
}[] | null | undefined;
|
|
4437
|
-
brandId?: number | null | undefined;
|
|
4438
|
-
sex?: string | null | undefined;
|
|
4439
4510
|
purchasePrice?: number | null | undefined;
|
|
4440
|
-
purchaseDate?: Date | null | undefined;
|
|
4441
4511
|
purchasePlaceId?: number | null | undefined;
|
|
4442
4512
|
purchased?: boolean | null | undefined;
|
|
4443
4513
|
sellingPrice?: number | null | undefined;
|
|
4444
|
-
sellingDate?: Date | null | undefined;
|
|
4445
4514
|
sellingPlaceId?: number | null | undefined;
|
|
4446
|
-
estimatedPrice?: number | null | undefined;
|
|
4447
|
-
fees?: {
|
|
4448
|
-
value: number;
|
|
4449
|
-
type: string;
|
|
4450
|
-
id: number;
|
|
4451
|
-
userId: number;
|
|
4452
|
-
name: string;
|
|
4453
|
-
createdAt: Date;
|
|
4454
|
-
updatedAt: Date;
|
|
4455
|
-
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
4456
|
-
startDate: Date;
|
|
4457
|
-
active: boolean;
|
|
4458
|
-
description?: string | null | undefined;
|
|
4459
|
-
itemId?: number | null | undefined;
|
|
4460
|
-
endDate?: Date | null | undefined;
|
|
4461
|
-
parentFeeId?: number | null | undefined;
|
|
4462
|
-
}[] | null | undefined;
|
|
4463
4515
|
feesSum?: number | null | undefined;
|
|
4464
4516
|
materialIds?: number[] | null | undefined;
|
|
4465
4517
|
enumValues?: {
|
|
@@ -4475,7 +4527,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4475
4527
|
id: string;
|
|
4476
4528
|
createdAt: Date;
|
|
4477
4529
|
itemId: number;
|
|
4478
|
-
accountId?: string | null | undefined;
|
|
4479
4530
|
data?: {
|
|
4480
4531
|
type: "ACTION_CANCELED";
|
|
4481
4532
|
data: {
|
|
@@ -4511,7 +4562,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4511
4562
|
accountId?: string | null | undefined;
|
|
4512
4563
|
reason?: string | null | undefined;
|
|
4513
4564
|
fields?: {
|
|
4514
|
-
field: "
|
|
4565
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
4515
4566
|
autoFixable: boolean;
|
|
4516
4567
|
error?: string | null | undefined;
|
|
4517
4568
|
}[] | null | undefined;
|
|
@@ -4541,23 +4592,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4541
4592
|
post: {
|
|
4542
4593
|
platformId: string;
|
|
4543
4594
|
post: {
|
|
4544
|
-
size?: string | null | undefined;
|
|
4545
4595
|
status?: string | null | undefined;
|
|
4546
4596
|
title?: string | null | undefined;
|
|
4547
4597
|
description?: string | null | undefined;
|
|
4598
|
+
brand?: string | null | undefined;
|
|
4599
|
+
statusId?: number | null | undefined;
|
|
4600
|
+
sizeId?: number | null | undefined;
|
|
4601
|
+
colorIds?: number[] | null | undefined;
|
|
4602
|
+
packageSizeId?: number | null | undefined;
|
|
4548
4603
|
price?: number | null | undefined;
|
|
4549
4604
|
currency?: string | null | undefined;
|
|
4550
|
-
brand?: string | null | undefined;
|
|
4551
4605
|
catalog?: string | null | undefined;
|
|
4552
4606
|
catalogId?: number | null | undefined;
|
|
4553
4607
|
colors?: string[] | null | undefined;
|
|
4554
|
-
colorIds?: number[] | null | undefined;
|
|
4555
4608
|
measurementLength?: number | null | undefined;
|
|
4556
4609
|
measurementWidth?: number | null | undefined;
|
|
4557
|
-
packageSizeId?: number | null | undefined;
|
|
4558
4610
|
photoUrls?: string[] | null | undefined;
|
|
4559
|
-
|
|
4560
|
-
statusId?: number | null | undefined;
|
|
4611
|
+
size?: string | null | undefined;
|
|
4561
4612
|
isDraft?: boolean | null | undefined;
|
|
4562
4613
|
isArchived?: boolean | null | undefined;
|
|
4563
4614
|
isUnisex?: boolean | null | undefined;
|
|
@@ -4600,8 +4651,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4600
4651
|
} | {
|
|
4601
4652
|
type: "LIFECYCLE_STARTED";
|
|
4602
4653
|
data: {
|
|
4603
|
-
accountId: string;
|
|
4604
4654
|
caseId: string;
|
|
4655
|
+
accountId: string;
|
|
4605
4656
|
isRepeat?: boolean | null | undefined;
|
|
4606
4657
|
};
|
|
4607
4658
|
} | {
|
|
@@ -4640,17 +4691,17 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4640
4691
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
4641
4692
|
} | null | undefined;
|
|
4642
4693
|
} | null | undefined;
|
|
4643
|
-
targetAccountId?: string | null | undefined;
|
|
4644
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
4645
4694
|
publishingDate?: Date | null | undefined;
|
|
4646
4695
|
isTransfer?: boolean | null | undefined;
|
|
4696
|
+
targetAccountId?: string | null | undefined;
|
|
4697
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
4647
4698
|
};
|
|
4648
4699
|
} | {
|
|
4649
4700
|
type: "REPUBLISHING_RETRY";
|
|
4650
4701
|
data: {
|
|
4702
|
+
maxAttempts: number;
|
|
4651
4703
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4652
4704
|
attemptNumber: number;
|
|
4653
|
-
maxAttempts: number;
|
|
4654
4705
|
previousHistoryId: string;
|
|
4655
4706
|
originalFailureDate: Date;
|
|
4656
4707
|
payload?: {
|
|
@@ -4678,7 +4729,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4678
4729
|
} | null | undefined;
|
|
4679
4730
|
} | null | undefined;
|
|
4680
4731
|
fields?: {
|
|
4681
|
-
field: "
|
|
4732
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
4682
4733
|
autoFixable: boolean;
|
|
4683
4734
|
error?: string | null | undefined;
|
|
4684
4735
|
}[] | null | undefined;
|
|
@@ -4692,13 +4743,13 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4692
4743
|
} | {
|
|
4693
4744
|
type: "SCHEDULED_RETRY";
|
|
4694
4745
|
data: {
|
|
4746
|
+
maxAttempts: number;
|
|
4695
4747
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4696
4748
|
attemptNumber: number;
|
|
4697
|
-
maxAttempts: number;
|
|
4698
4749
|
previousHistoryId: string;
|
|
4699
4750
|
originalFailureDate: Date;
|
|
4700
4751
|
fields?: {
|
|
4701
|
-
field: "
|
|
4752
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
4702
4753
|
autoFixable: boolean;
|
|
4703
4754
|
error?: string | null | undefined;
|
|
4704
4755
|
}[] | null | undefined;
|
|
@@ -4727,103 +4778,52 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4727
4778
|
targetDate?: Date | null | undefined;
|
|
4728
4779
|
};
|
|
4729
4780
|
} | null | undefined;
|
|
4781
|
+
accountId?: string | null | undefined;
|
|
4730
4782
|
targetDate?: Date | null | undefined;
|
|
4731
4783
|
requestId?: string | null | undefined;
|
|
4732
4784
|
targetHistoryId?: string | null | undefined;
|
|
4733
4785
|
} | null | undefined;
|
|
4734
|
-
platforms?: {
|
|
4735
|
-
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
4736
|
-
id: string;
|
|
4737
|
-
accountId: string;
|
|
4738
|
-
createdAt: Date;
|
|
4739
|
-
itemId: number;
|
|
4740
|
-
platformId: string;
|
|
4741
|
-
platformUrl: string;
|
|
4742
|
-
platformPrice: number;
|
|
4743
|
-
updatedAt: Date;
|
|
4744
|
-
publishedAt: Date;
|
|
4745
|
-
conversationId?: string | null | undefined;
|
|
4746
|
-
boostedAt?: Date | null | undefined;
|
|
4747
|
-
boostedUntil?: Date | null | undefined;
|
|
4748
|
-
viewsCount?: number | null | undefined;
|
|
4749
|
-
favoritesCount?: number | null | undefined;
|
|
4750
|
-
account?: {
|
|
4751
|
-
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
4752
|
-
accountId: string;
|
|
4753
|
-
userId: number;
|
|
4754
|
-
name: string;
|
|
4755
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4756
|
-
locale?: string | null | undefined;
|
|
4757
|
-
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
4758
|
-
restrictedUntil?: Date | null | undefined;
|
|
4759
|
-
night?: {
|
|
4760
|
-
startsAt: Date;
|
|
4761
|
-
endsAt: Date;
|
|
4762
|
-
} | null | undefined;
|
|
4763
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
4764
|
-
ordersMaxDelay?: number | null | undefined;
|
|
4765
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
4766
|
-
walletMaxDelay?: number | null | undefined;
|
|
4767
|
-
availableBalance?: number | null | undefined;
|
|
4768
|
-
pendingBalance?: number | null | undefined;
|
|
4769
|
-
profilePictureFileId?: string | null | undefined;
|
|
4770
|
-
profilePicture?: {
|
|
4771
|
-
path: string;
|
|
4772
|
-
id: string;
|
|
4773
|
-
userId: number;
|
|
4774
|
-
createdAt: Date;
|
|
4775
|
-
signedUrl: string;
|
|
4776
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4777
|
-
} | null | undefined;
|
|
4778
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
4779
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
4780
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
4781
|
-
} | null | undefined;
|
|
4782
|
-
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;
|
|
4783
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
4784
|
-
isBoosted?: boolean | null | undefined;
|
|
4785
|
-
}[] | null | undefined;
|
|
4786
4786
|
sourceInConversation?: "UNKNOWN" | "DELETED" | "ORDER" | "TRANSACTION" | null | undefined;
|
|
4787
4787
|
order?: {
|
|
4788
4788
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
4789
4789
|
labels?: {
|
|
4790
4790
|
id: string;
|
|
4791
|
-
orderId: string;
|
|
4792
4791
|
fileId: string;
|
|
4792
|
+
orderId: string;
|
|
4793
4793
|
nonCroppedFileId: string;
|
|
4794
4794
|
originalFileId: string;
|
|
4795
|
-
|
|
4795
|
+
originalFile?: {
|
|
4796
4796
|
path: string;
|
|
4797
4797
|
id: string;
|
|
4798
|
-
userId: number;
|
|
4799
4798
|
createdAt: Date;
|
|
4799
|
+
userId: number;
|
|
4800
4800
|
signedUrl: string;
|
|
4801
4801
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4802
4802
|
} | null | undefined;
|
|
4803
|
-
|
|
4803
|
+
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;
|
|
4804
|
+
file?: {
|
|
4804
4805
|
path: string;
|
|
4805
4806
|
id: string;
|
|
4806
|
-
userId: number;
|
|
4807
4807
|
createdAt: Date;
|
|
4808
|
+
userId: number;
|
|
4808
4809
|
signedUrl: string;
|
|
4809
4810
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4810
4811
|
} | null | undefined;
|
|
4811
|
-
|
|
4812
|
+
nonCroppedFile?: {
|
|
4812
4813
|
path: string;
|
|
4813
4814
|
id: string;
|
|
4814
|
-
userId: number;
|
|
4815
4815
|
createdAt: Date;
|
|
4816
|
+
userId: number;
|
|
4816
4817
|
signedUrl: string;
|
|
4817
4818
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4818
4819
|
} | null | undefined;
|
|
4819
|
-
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;
|
|
4820
4820
|
}[] | null | undefined;
|
|
4821
4821
|
invoices?: {
|
|
4822
4822
|
type: "SALE" | "PURCHASE";
|
|
4823
4823
|
status: string;
|
|
4824
4824
|
id: string;
|
|
4825
|
-
userId: number;
|
|
4826
4825
|
createdAt: Date;
|
|
4826
|
+
userId: number;
|
|
4827
4827
|
currency: string;
|
|
4828
4828
|
orderId: string;
|
|
4829
4829
|
updatedAt: Date;
|
|
@@ -4832,21 +4832,21 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4832
4832
|
businessProfileId: string;
|
|
4833
4833
|
issueDate: Date;
|
|
4834
4834
|
subtotal: number;
|
|
4835
|
-
vatAmount?: number | null | undefined;
|
|
4836
4835
|
fileId?: string | null | undefined;
|
|
4836
|
+
vatAmount?: number | null | undefined;
|
|
4837
4837
|
file?: {
|
|
4838
4838
|
path: string;
|
|
4839
4839
|
id: string;
|
|
4840
|
-
userId: number;
|
|
4841
4840
|
createdAt: Date;
|
|
4841
|
+
userId: number;
|
|
4842
4842
|
signedUrl: string;
|
|
4843
4843
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4844
4844
|
} | null | undefined;
|
|
4845
4845
|
vatRate?: number | null | undefined;
|
|
4846
4846
|
businessProfile?: {
|
|
4847
4847
|
id: string;
|
|
4848
|
-
userId: number;
|
|
4849
4848
|
createdAt: Date;
|
|
4849
|
+
userId: number;
|
|
4850
4850
|
updatedAt: Date;
|
|
4851
4851
|
businessName: string;
|
|
4852
4852
|
address: string;
|
|
@@ -4859,8 +4859,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4859
4859
|
logo?: {
|
|
4860
4860
|
path: string;
|
|
4861
4861
|
id: string;
|
|
4862
|
-
userId: number;
|
|
4863
4862
|
createdAt: Date;
|
|
4863
|
+
userId: number;
|
|
4864
4864
|
signedUrl: string;
|
|
4865
4865
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4866
4866
|
} | null | undefined;
|
|
@@ -4873,26 +4873,26 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4873
4873
|
firstName: string;
|
|
4874
4874
|
lastName: string;
|
|
4875
4875
|
phoneVerified: boolean;
|
|
4876
|
-
postalCode?: string | null | undefined;
|
|
4877
|
-
city?: string | null | undefined;
|
|
4878
|
-
country?: string | null | undefined;
|
|
4879
|
-
email?: string | null | undefined;
|
|
4880
|
-
addressLine1?: string | null | undefined;
|
|
4881
|
-
addressLine2?: string | null | undefined;
|
|
4882
4876
|
birthDate?: Date | null | undefined;
|
|
4877
|
+
email?: string | null | undefined;
|
|
4883
4878
|
idNumber?: string | null | undefined;
|
|
4884
4879
|
phone?: string | null | undefined;
|
|
4885
4880
|
iban?: string | null | undefined;
|
|
4886
4881
|
bic?: string | null | undefined;
|
|
4882
|
+
addressLine1?: string | null | undefined;
|
|
4883
|
+
addressLine2?: string | null | undefined;
|
|
4884
|
+
city?: string | null | undefined;
|
|
4885
|
+
postalCode?: string | null | undefined;
|
|
4886
|
+
country?: string | null | undefined;
|
|
4887
4887
|
} | null | undefined;
|
|
4888
4888
|
dueDate?: Date | null | undefined;
|
|
4889
4889
|
notes?: string | null | undefined;
|
|
4890
4890
|
lineItems?: {
|
|
4891
|
-
quantity: number;
|
|
4892
|
-
id: number;
|
|
4893
4891
|
description: string;
|
|
4892
|
+
id: number;
|
|
4894
4893
|
createdAt: Date;
|
|
4895
4894
|
invoiceId: string;
|
|
4895
|
+
quantity: number;
|
|
4896
4896
|
unitPrice: number;
|
|
4897
4897
|
total: number;
|
|
4898
4898
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -4906,29 +4906,45 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4906
4906
|
}, {
|
|
4907
4907
|
userId: number;
|
|
4908
4908
|
item: {
|
|
4909
|
-
|
|
4910
|
-
|
|
4909
|
+
actions: {
|
|
4910
|
+
perAccount: Record<string, unknown[]>;
|
|
4911
|
+
};
|
|
4911
4912
|
name: string;
|
|
4913
|
+
id: number;
|
|
4912
4914
|
createdAt: Date;
|
|
4915
|
+
userId: number;
|
|
4913
4916
|
updatedAt: Date;
|
|
4914
4917
|
sold: boolean;
|
|
4915
|
-
|
|
4916
|
-
|
|
4917
|
-
|
|
4918
|
+
fees?: {
|
|
4919
|
+
value: number;
|
|
4920
|
+
type: string;
|
|
4921
|
+
name: string;
|
|
4922
|
+
id: number;
|
|
4923
|
+
createdAt: Date;
|
|
4924
|
+
userId: number;
|
|
4925
|
+
updatedAt: Date;
|
|
4926
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
4927
|
+
startDate: Date;
|
|
4928
|
+
active: boolean;
|
|
4929
|
+
description?: string | null | undefined;
|
|
4930
|
+
itemId?: number | null | undefined;
|
|
4931
|
+
endDate?: Date | null | undefined;
|
|
4932
|
+
parentFeeId?: number | null | undefined;
|
|
4933
|
+
}[] | null | undefined;
|
|
4918
4934
|
description?: string | null | undefined;
|
|
4919
4935
|
categoryId?: number | null | undefined;
|
|
4920
|
-
|
|
4936
|
+
sizeId?: number | null | undefined;
|
|
4921
4937
|
colorIds?: number[] | null | undefined;
|
|
4938
|
+
packageSizeId?: number | null | undefined;
|
|
4939
|
+
state?: number | null | undefined;
|
|
4922
4940
|
measurementLength?: number | null | undefined;
|
|
4923
4941
|
measurementWidth?: number | null | undefined;
|
|
4924
|
-
packageSizeId?: number | null | undefined;
|
|
4925
|
-
sizeId?: number | null | undefined;
|
|
4926
4942
|
labels?: {
|
|
4927
4943
|
itemId: number;
|
|
4928
4944
|
labelId: number;
|
|
4929
4945
|
label?: {
|
|
4930
|
-
id: number;
|
|
4931
4946
|
name: string;
|
|
4947
|
+
id: number;
|
|
4932
4948
|
createdAt: Date;
|
|
4933
4949
|
isUserLabel: boolean;
|
|
4934
4950
|
itemCount?: number | null | undefined;
|
|
@@ -4941,50 +4957,86 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4941
4957
|
fieldKey: string;
|
|
4942
4958
|
}[] | null | undefined;
|
|
4943
4959
|
sku?: string | null | undefined;
|
|
4960
|
+
sex?: string | null | undefined;
|
|
4961
|
+
platforms?: {
|
|
4962
|
+
id: string;
|
|
4963
|
+
createdAt: Date;
|
|
4964
|
+
accountId: string;
|
|
4965
|
+
itemId: number;
|
|
4966
|
+
platformId: string;
|
|
4967
|
+
platformUrl: string;
|
|
4968
|
+
platformPrice: number;
|
|
4969
|
+
updatedAt: Date;
|
|
4970
|
+
publishedAt: Date;
|
|
4971
|
+
status?: unknown;
|
|
4972
|
+
conversationId?: string | null | undefined;
|
|
4973
|
+
boostedAt?: Date | null | undefined;
|
|
4974
|
+
boostedUntil?: Date | null | undefined;
|
|
4975
|
+
viewsCount?: number | null | undefined;
|
|
4976
|
+
favoritesCount?: number | null | undefined;
|
|
4977
|
+
account?: {
|
|
4978
|
+
name: string;
|
|
4979
|
+
userId: number;
|
|
4980
|
+
accountId: string;
|
|
4981
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4982
|
+
status?: unknown;
|
|
4983
|
+
locale?: string | null | undefined;
|
|
4984
|
+
lockReason?: unknown;
|
|
4985
|
+
restrictedUntil?: Date | null | undefined;
|
|
4986
|
+
night?: {
|
|
4987
|
+
startsAt: Date;
|
|
4988
|
+
endsAt: Date;
|
|
4989
|
+
} | null | undefined;
|
|
4990
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
4991
|
+
ordersMaxDelay?: number | null | undefined;
|
|
4992
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
4993
|
+
walletMaxDelay?: number | null | undefined;
|
|
4994
|
+
availableBalance?: number | null | undefined;
|
|
4995
|
+
pendingBalance?: number | null | undefined;
|
|
4996
|
+
profilePictureFileId?: string | null | undefined;
|
|
4997
|
+
profilePicture?: {
|
|
4998
|
+
path: string;
|
|
4999
|
+
id: string;
|
|
5000
|
+
createdAt: Date;
|
|
5001
|
+
userId: number;
|
|
5002
|
+
signedUrl: string;
|
|
5003
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5004
|
+
} | null | undefined;
|
|
5005
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
5006
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
5007
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
5008
|
+
} | null | undefined;
|
|
5009
|
+
orderStatus?: unknown;
|
|
5010
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
5011
|
+
isBoosted?: boolean | null | undefined;
|
|
5012
|
+
}[] | null | undefined;
|
|
5013
|
+
brandId?: number | null | undefined;
|
|
5014
|
+
estimatedPrice?: number | null | undefined;
|
|
5015
|
+
purchaseDate?: Date | null | undefined;
|
|
5016
|
+
sellingDate?: Date | null | undefined;
|
|
4944
5017
|
fields?: {
|
|
4945
5018
|
value: string;
|
|
4946
5019
|
itemId: number;
|
|
4947
5020
|
fieldId: number;
|
|
4948
5021
|
}[] | null | undefined;
|
|
4949
5022
|
files?: {
|
|
4950
|
-
itemId: number;
|
|
4951
5023
|
fileId: string;
|
|
5024
|
+
itemId: number;
|
|
4952
5025
|
file?: {
|
|
4953
5026
|
path: string;
|
|
4954
5027
|
id: string;
|
|
4955
|
-
userId: number;
|
|
4956
5028
|
createdAt: Date;
|
|
5029
|
+
userId: number;
|
|
4957
5030
|
signedUrl: string;
|
|
4958
5031
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4959
5032
|
} | null | undefined;
|
|
4960
5033
|
index?: number | null | undefined;
|
|
4961
5034
|
}[] | null | undefined;
|
|
4962
|
-
brandId?: number | null | undefined;
|
|
4963
|
-
sex?: string | null | undefined;
|
|
4964
5035
|
purchasePrice?: number | null | undefined;
|
|
4965
|
-
purchaseDate?: Date | null | undefined;
|
|
4966
5036
|
purchasePlaceId?: number | null | undefined;
|
|
4967
5037
|
purchased?: boolean | null | undefined;
|
|
4968
5038
|
sellingPrice?: number | null | undefined;
|
|
4969
|
-
sellingDate?: Date | null | undefined;
|
|
4970
5039
|
sellingPlaceId?: number | null | undefined;
|
|
4971
|
-
estimatedPrice?: number | null | undefined;
|
|
4972
|
-
fees?: {
|
|
4973
|
-
value: number;
|
|
4974
|
-
type: string;
|
|
4975
|
-
id: number;
|
|
4976
|
-
userId: number;
|
|
4977
|
-
name: string;
|
|
4978
|
-
createdAt: Date;
|
|
4979
|
-
updatedAt: Date;
|
|
4980
|
-
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
4981
|
-
startDate: Date;
|
|
4982
|
-
active: boolean;
|
|
4983
|
-
description?: string | null | undefined;
|
|
4984
|
-
itemId?: number | null | undefined;
|
|
4985
|
-
endDate?: Date | null | undefined;
|
|
4986
|
-
parentFeeId?: number | null | undefined;
|
|
4987
|
-
}[] | null | undefined;
|
|
4988
5040
|
feesSum?: number | null | undefined;
|
|
4989
5041
|
materialIds?: number[] | null | undefined;
|
|
4990
5042
|
enumValues?: {
|
|
@@ -5000,7 +5052,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
5000
5052
|
createdAt: Date;
|
|
5001
5053
|
itemId: number;
|
|
5002
5054
|
type?: unknown;
|
|
5003
|
-
accountId?: string | null | undefined;
|
|
5004
5055
|
data?: {
|
|
5005
5056
|
type: "ACTION_CANCELED";
|
|
5006
5057
|
data: {
|
|
@@ -5066,23 +5117,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
5066
5117
|
post: {
|
|
5067
5118
|
platformId: string;
|
|
5068
5119
|
post: {
|
|
5069
|
-
size?: string | null | undefined;
|
|
5070
5120
|
status?: string | null | undefined;
|
|
5071
5121
|
title?: string | null | undefined;
|
|
5072
5122
|
description?: string | null | undefined;
|
|
5123
|
+
brand?: string | null | undefined;
|
|
5124
|
+
statusId?: number | null | undefined;
|
|
5125
|
+
sizeId?: number | null | undefined;
|
|
5126
|
+
colorIds?: number[] | null | undefined;
|
|
5127
|
+
packageSizeId?: number | null | undefined;
|
|
5073
5128
|
price?: number | null | undefined;
|
|
5074
5129
|
currency?: string | null | undefined;
|
|
5075
|
-
brand?: string | null | undefined;
|
|
5076
5130
|
catalog?: string | null | undefined;
|
|
5077
5131
|
catalogId?: number | null | undefined;
|
|
5078
5132
|
colors?: string[] | null | undefined;
|
|
5079
|
-
colorIds?: number[] | null | undefined;
|
|
5080
5133
|
measurementLength?: number | null | undefined;
|
|
5081
5134
|
measurementWidth?: number | null | undefined;
|
|
5082
|
-
packageSizeId?: number | null | undefined;
|
|
5083
5135
|
photoUrls?: string[] | null | undefined;
|
|
5084
|
-
|
|
5085
|
-
statusId?: number | null | undefined;
|
|
5136
|
+
size?: string | null | undefined;
|
|
5086
5137
|
isDraft?: boolean | null | undefined;
|
|
5087
5138
|
isArchived?: boolean | null | undefined;
|
|
5088
5139
|
isUnisex?: boolean | null | undefined;
|
|
@@ -5125,8 +5176,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
5125
5176
|
} | {
|
|
5126
5177
|
type: "LIFECYCLE_STARTED";
|
|
5127
5178
|
data: {
|
|
5128
|
-
accountId: string;
|
|
5129
5179
|
caseId: string;
|
|
5180
|
+
accountId: string;
|
|
5130
5181
|
isRepeat?: boolean | null | undefined;
|
|
5131
5182
|
};
|
|
5132
5183
|
} | {
|
|
@@ -5165,17 +5216,17 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
5165
5216
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
5166
5217
|
} | null | undefined;
|
|
5167
5218
|
} | null | undefined;
|
|
5168
|
-
targetAccountId?: string | null | undefined;
|
|
5169
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
5170
5219
|
publishingDate?: Date | null | undefined;
|
|
5171
5220
|
isTransfer?: boolean | null | undefined;
|
|
5221
|
+
targetAccountId?: string | null | undefined;
|
|
5222
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
5172
5223
|
};
|
|
5173
5224
|
} | {
|
|
5174
5225
|
type: "REPUBLISHING_RETRY";
|
|
5175
5226
|
data: {
|
|
5227
|
+
maxAttempts: number;
|
|
5176
5228
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5177
5229
|
attemptNumber: number;
|
|
5178
|
-
maxAttempts: number;
|
|
5179
5230
|
previousHistoryId: string;
|
|
5180
5231
|
originalFailureDate: Date;
|
|
5181
5232
|
payload?: {
|
|
@@ -5217,9 +5268,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
5217
5268
|
} | {
|
|
5218
5269
|
type: "SCHEDULED_RETRY";
|
|
5219
5270
|
data: {
|
|
5271
|
+
maxAttempts: number;
|
|
5220
5272
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5221
5273
|
attemptNumber: number;
|
|
5222
|
-
maxAttempts: number;
|
|
5223
5274
|
previousHistoryId: string;
|
|
5224
5275
|
originalFailureDate: Date;
|
|
5225
5276
|
fields?: {
|
|
@@ -5252,103 +5303,52 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
5252
5303
|
targetDate?: Date | null | undefined;
|
|
5253
5304
|
};
|
|
5254
5305
|
} | null | undefined;
|
|
5306
|
+
accountId?: string | null | undefined;
|
|
5255
5307
|
targetDate?: Date | null | undefined;
|
|
5256
5308
|
requestId?: string | null | undefined;
|
|
5257
5309
|
targetHistoryId?: string | null | undefined;
|
|
5258
5310
|
} | null | undefined;
|
|
5259
|
-
platforms?: {
|
|
5260
|
-
id: string;
|
|
5261
|
-
accountId: string;
|
|
5262
|
-
createdAt: Date;
|
|
5263
|
-
itemId: number;
|
|
5264
|
-
platformId: string;
|
|
5265
|
-
platformUrl: string;
|
|
5266
|
-
platformPrice: number;
|
|
5267
|
-
updatedAt: Date;
|
|
5268
|
-
publishedAt: Date;
|
|
5269
|
-
status?: unknown;
|
|
5270
|
-
conversationId?: string | null | undefined;
|
|
5271
|
-
boostedAt?: Date | null | undefined;
|
|
5272
|
-
boostedUntil?: Date | null | undefined;
|
|
5273
|
-
viewsCount?: number | null | undefined;
|
|
5274
|
-
favoritesCount?: number | null | undefined;
|
|
5275
|
-
account?: {
|
|
5276
|
-
accountId: string;
|
|
5277
|
-
userId: number;
|
|
5278
|
-
name: string;
|
|
5279
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5280
|
-
status?: unknown;
|
|
5281
|
-
locale?: string | null | undefined;
|
|
5282
|
-
lockReason?: unknown;
|
|
5283
|
-
restrictedUntil?: Date | null | undefined;
|
|
5284
|
-
night?: {
|
|
5285
|
-
startsAt: Date;
|
|
5286
|
-
endsAt: Date;
|
|
5287
|
-
} | null | undefined;
|
|
5288
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
5289
|
-
ordersMaxDelay?: number | null | undefined;
|
|
5290
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
5291
|
-
walletMaxDelay?: number | null | undefined;
|
|
5292
|
-
availableBalance?: number | null | undefined;
|
|
5293
|
-
pendingBalance?: number | null | undefined;
|
|
5294
|
-
profilePictureFileId?: string | null | undefined;
|
|
5295
|
-
profilePicture?: {
|
|
5296
|
-
path: string;
|
|
5297
|
-
id: string;
|
|
5298
|
-
userId: number;
|
|
5299
|
-
createdAt: Date;
|
|
5300
|
-
signedUrl: string;
|
|
5301
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5302
|
-
} | null | undefined;
|
|
5303
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
5304
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
5305
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
5306
|
-
} | null | undefined;
|
|
5307
|
-
orderStatus?: unknown;
|
|
5308
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
5309
|
-
isBoosted?: boolean | null | undefined;
|
|
5310
|
-
}[] | null | undefined;
|
|
5311
5311
|
sourceInConversation?: unknown;
|
|
5312
5312
|
order?: {
|
|
5313
5313
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
5314
5314
|
labels?: {
|
|
5315
5315
|
id: string;
|
|
5316
|
-
orderId: string;
|
|
5317
5316
|
fileId: string;
|
|
5317
|
+
orderId: string;
|
|
5318
5318
|
nonCroppedFileId: string;
|
|
5319
5319
|
originalFileId: string;
|
|
5320
|
-
|
|
5320
|
+
originalFile?: {
|
|
5321
5321
|
path: string;
|
|
5322
5322
|
id: string;
|
|
5323
|
-
userId: number;
|
|
5324
5323
|
createdAt: Date;
|
|
5324
|
+
userId: number;
|
|
5325
5325
|
signedUrl: string;
|
|
5326
5326
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5327
5327
|
} | null | undefined;
|
|
5328
|
-
|
|
5328
|
+
carrier?: unknown;
|
|
5329
|
+
file?: {
|
|
5329
5330
|
path: string;
|
|
5330
5331
|
id: string;
|
|
5331
|
-
userId: number;
|
|
5332
5332
|
createdAt: Date;
|
|
5333
|
+
userId: number;
|
|
5333
5334
|
signedUrl: string;
|
|
5334
5335
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5335
5336
|
} | null | undefined;
|
|
5336
|
-
|
|
5337
|
+
nonCroppedFile?: {
|
|
5337
5338
|
path: string;
|
|
5338
5339
|
id: string;
|
|
5339
|
-
userId: number;
|
|
5340
5340
|
createdAt: Date;
|
|
5341
|
+
userId: number;
|
|
5341
5342
|
signedUrl: string;
|
|
5342
5343
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5343
5344
|
} | null | undefined;
|
|
5344
|
-
carrier?: unknown;
|
|
5345
5345
|
}[] | null | undefined;
|
|
5346
5346
|
invoices?: {
|
|
5347
5347
|
type: "SALE" | "PURCHASE";
|
|
5348
5348
|
status: string;
|
|
5349
5349
|
id: string;
|
|
5350
|
-
userId: number;
|
|
5351
5350
|
createdAt: Date;
|
|
5351
|
+
userId: number;
|
|
5352
5352
|
currency: string;
|
|
5353
5353
|
orderId: string;
|
|
5354
5354
|
updatedAt: Date;
|
|
@@ -5357,21 +5357,21 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
5357
5357
|
businessProfileId: string;
|
|
5358
5358
|
issueDate: Date;
|
|
5359
5359
|
subtotal: number;
|
|
5360
|
-
vatAmount?: number | null | undefined;
|
|
5361
5360
|
fileId?: string | null | undefined;
|
|
5361
|
+
vatAmount?: number | null | undefined;
|
|
5362
5362
|
file?: {
|
|
5363
5363
|
path: string;
|
|
5364
5364
|
id: string;
|
|
5365
|
-
userId: number;
|
|
5366
5365
|
createdAt: Date;
|
|
5366
|
+
userId: number;
|
|
5367
5367
|
signedUrl: string;
|
|
5368
5368
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5369
5369
|
} | null | undefined;
|
|
5370
5370
|
vatRate?: number | null | undefined;
|
|
5371
5371
|
businessProfile?: {
|
|
5372
5372
|
id: string;
|
|
5373
|
-
userId: number;
|
|
5374
5373
|
createdAt: Date;
|
|
5374
|
+
userId: number;
|
|
5375
5375
|
updatedAt: Date;
|
|
5376
5376
|
businessName: string;
|
|
5377
5377
|
address: string;
|
|
@@ -5384,8 +5384,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
5384
5384
|
logo?: {
|
|
5385
5385
|
path: string;
|
|
5386
5386
|
id: string;
|
|
5387
|
-
userId: number;
|
|
5388
5387
|
createdAt: Date;
|
|
5388
|
+
userId: number;
|
|
5389
5389
|
signedUrl: string;
|
|
5390
5390
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5391
5391
|
} | null | undefined;
|
|
@@ -5398,26 +5398,26 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
5398
5398
|
firstName: string;
|
|
5399
5399
|
lastName: string;
|
|
5400
5400
|
phoneVerified: boolean;
|
|
5401
|
-
postalCode?: string | null | undefined;
|
|
5402
|
-
city?: string | null | undefined;
|
|
5403
|
-
country?: string | null | undefined;
|
|
5404
|
-
email?: string | null | undefined;
|
|
5405
|
-
addressLine1?: string | null | undefined;
|
|
5406
|
-
addressLine2?: string | null | undefined;
|
|
5407
5401
|
birthDate?: Date | null | undefined;
|
|
5402
|
+
email?: string | null | undefined;
|
|
5408
5403
|
idNumber?: string | null | undefined;
|
|
5409
5404
|
phone?: string | null | undefined;
|
|
5410
5405
|
iban?: string | null | undefined;
|
|
5411
5406
|
bic?: string | null | undefined;
|
|
5407
|
+
addressLine1?: string | null | undefined;
|
|
5408
|
+
addressLine2?: string | null | undefined;
|
|
5409
|
+
city?: string | null | undefined;
|
|
5410
|
+
postalCode?: string | null | undefined;
|
|
5411
|
+
country?: string | null | undefined;
|
|
5412
5412
|
} | null | undefined;
|
|
5413
5413
|
dueDate?: Date | null | undefined;
|
|
5414
5414
|
notes?: string | null | undefined;
|
|
5415
5415
|
lineItems?: {
|
|
5416
|
-
quantity: number;
|
|
5417
|
-
id: number;
|
|
5418
5416
|
description: string;
|
|
5417
|
+
id: number;
|
|
5419
5418
|
createdAt: Date;
|
|
5420
5419
|
invoiceId: string;
|
|
5420
|
+
quantity: number;
|
|
5421
5421
|
unitPrice: number;
|
|
5422
5422
|
total: number;
|
|
5423
5423
|
itemOnPlatformId?: string | null | undefined;
|