controlresell 2.26.2 → 2.26.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/com/controlresell/api/requests/coach/AskCoachRequest.d.ts +4 -4
- package/src/com/controlresell/api/requests/customers/CreateCustomerRequest.d.ts +2 -2
- package/src/com/controlresell/api/requests/files/CreatePresignedFileRequest.d.ts +2 -2
- package/src/com/controlresell/api/requests/items/boost/BoostRequest.d.ts +3 -3
- package/src/com/controlresell/api/requests/items/cancel/CancelRequest.d.ts +2 -2
- package/src/com/controlresell/api/requests/items/forms/FormOption.d.ts +2 -2
- package/src/com/controlresell/api/requests/items/forms/FormOptionGroup.d.ts +6 -6
- package/src/com/controlresell/api/requests/items/forms/FormOptionPickRequest.d.ts +14 -14
- package/src/com/controlresell/api/requests/items/publish/AutomaticPublishRequestItem.d.ts +2 -2
- package/src/com/controlresell/api/requests/items/publish/ManualPublishRequestItem.d.ts +6 -6
- package/src/com/controlresell/api/requests/items/publish/PublishRequest.d.ts +16 -16
- package/src/com/controlresell/api/requests/items/publish/PublishRequestItems.d.ts +16 -16
- package/src/com/controlresell/api/requests/items/publish/PublishTimeSlot.d.ts +2 -2
- package/src/com/controlresell/api/requests/items/republish/RepublishRequest.d.ts +22 -22
- package/src/com/controlresell/api/requests/items/update/UpdateRequest.d.ts +29 -29
- package/src/com/controlresell/api/requests/subscriptions/ChangeSubscriptionPlanRequest.d.ts +4 -4
- package/src/com/controlresell/api/requests/subscriptions/CreateSubscriptionPaymentLinkRequest.d.ts +4 -4
- package/src/com/controlresell/api/requests/subscriptions/SubscriptionLevelQuantity.d.ts +2 -2
- package/src/com/controlresell/api/responses/activation/ActivationResponse.d.ts +10 -10
- package/src/com/controlresell/api/responses/activity/ActivityDaySummary.d.ts +2 -2
- package/src/com/controlresell/api/responses/activity/ActivityEvent.d.ts +14 -14
- package/src/com/controlresell/api/responses/activity/ActivityEventsResponse.d.ts +24 -24
- package/src/com/controlresell/api/responses/activity/ActivityItem.d.ts +2 -2
- package/src/com/controlresell/api/responses/activity/ActivityMessage.d.ts +1 -1
- package/src/com/controlresell/api/responses/activity/ActivitySummaryResponse.d.ts +28 -28
- package/src/com/controlresell/api/responses/coach/CoachAnswerResponse.d.ts +4 -4
- package/src/com/controlresell/api/responses/coach/CoachMessageResponse.d.ts +2 -2
- package/src/com/controlresell/api/responses/coach/CoachThreadResponse.d.ts +6 -6
- package/src/com/controlresell/api/responses/coach/CoachThreadsResponse.d.ts +10 -10
- package/src/com/controlresell/api/responses/conversations/MessageStreamResponse.d.ts +204 -204
- package/src/com/controlresell/api/responses/customers/CustomersResponse.d.ts +24 -24
- package/src/com/controlresell/api/responses/fees/GetAllFeesData.d.ts +12 -12
- package/src/com/controlresell/api/responses/invoices/ListInvoicesResponse.d.ts +76 -76
- package/src/com/controlresell/api/responses/items/FormOptionPickResponse.d.ts +2 -2
- package/src/com/controlresell/api/responses/items/ItemActions.d.ts +1 -1
- package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts +742 -735
- package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/items/ListedItem.d.ts +498 -493
- package/src/com/controlresell/api/responses/items/ListedItem.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/items/ListedItemOrder.d.ts +114 -114
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseBaseResponse.d.ts +2 -2
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseResponse.d.ts +6 -6
- package/src/com/controlresell/api/responses/subscriptions/PromoCodeResponse.d.ts +2 -2
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionLevelResponse.d.ts +2 -2
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionLevelsResponse.d.ts +4 -4
- package/src/com/controlresell/auth/models/preferences/CreatePreferencePayload.d.ts +2 -2
- package/src/com/controlresell/auth/models/preferences/Preference.d.ts +104 -104
- package/src/com/controlresell/auth/models/preferences/PreferenceWithCase.d.ts +298 -298
- package/src/com/controlresell/auth/models/preferences/PreferenceWithChildren.d.ts +238 -238
- package/src/com/controlresell/auth/models/preferences/cases/CreatePreferenceCasePayload.d.ts +70 -70
- package/src/com/controlresell/auth/models/preferences/cases/PartialPreferenceCasePayload.d.ts +68 -68
- package/src/com/controlresell/auth/models/preferences/cases/PreferenceCase.d.ts +74 -74
- package/src/com/controlresell/auth/models/preferences/payloads/actions/LifecycleDistributionMode.d.ts +8 -8
- package/src/com/controlresell/auth/models/preferences/payloads/actions/LifecycleTimeSlot.d.ts +2 -2
- package/src/com/controlresell/auth/models/preferences/payloads/actions/ManualLifecycleDistributionMode.d.ts +4 -4
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionPayload.d.ts +4 -4
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionsPayload.d.ts +14 -14
- package/src/com/controlresell/auth/models/preferences/queue/PreferenceNextActionPayload.d.ts +378 -378
- package/src/com/controlresell/auth/models/preferences/variants/PartialPreferenceCaseVariantPayload.d.ts +50 -50
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariant.d.ts +52 -52
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantDecodedPayload.d.ts +72 -72
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantPayload.d.ts +50 -50
- package/src/com/controlresell/models/auth/LoginPayload.d.ts +2 -2
- package/src/com/controlresell/models/auth/RegisterPayload.d.ts +2 -2
- package/src/com/controlresell/models/business/BusinessProfile.d.ts +6 -6
- package/src/com/controlresell/models/conversations/Conversation.d.ts +64 -64
- package/src/com/controlresell/models/conversations/ConversationOnPlatformUpdateRequest.d.ts +92 -92
- package/src/com/controlresell/models/conversations/ConversationUpdate.d.ts +124 -124
- package/src/com/controlresell/models/conversations/UserConversations.d.ts +94 -94
- package/src/com/controlresell/models/conversations/favorites/ConversationFavorite.d.ts +18 -18
- package/src/com/controlresell/models/conversations/favorites/CreateConversationFavoritePayload.d.ts +2 -2
- package/src/com/controlresell/models/conversations/favorites/ReportRateLimitOnFavorites.d.ts +28 -28
- package/src/com/controlresell/models/conversations/favorites/SubmitFavoritesResponse.d.ts +28 -28
- package/src/com/controlresell/models/conversations/messages/ConversationMessage.d.ts +18 -18
- package/src/com/controlresell/models/conversations/messages/ConversationMessageRequest.d.ts +6 -6
- package/src/com/controlresell/models/conversations/messages/CreateConversationMessagePayload.d.ts +6 -6
- package/src/com/controlresell/models/conversations/messages/PaginatedConversationMessages.d.ts +30 -30
- package/src/com/controlresell/models/conversations/messages/files/ConversationMessageFile.d.ts +6 -6
- package/src/com/controlresell/models/conversations/messages/variables/PreferenceVariable.d.ts +2 -2
- package/src/com/controlresell/models/conversations/offers/ConversationOfferRequest.d.ts +2 -2
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.d.ts +66 -66
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerProfileCase.d.ts +4 -4
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerQuestionCase.d.ts +2 -2
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerTriggerCase.d.ts +4 -4
- package/src/com/controlresell/models/conversations/preferences/ExcludedBuyer.d.ts +2 -2
- package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreference.d.ts +92 -92
- package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreferenceCase.d.ts +28 -28
- package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreferenceVariant.d.ts +12 -12
- package/src/com/controlresell/models/conversations/preferences/NegotiationPreference.d.ts +10 -10
- package/src/com/controlresell/models/conversations/preferences/NegotiationPreferenceCase.d.ts +4 -4
- package/src/com/controlresell/models/conversations/reminders/SendConversationReminderRequest.d.ts +2 -2
- package/src/com/controlresell/models/conversations/users/ConversationUser.d.ts +8 -8
- package/src/com/controlresell/models/conversations/users/CreateConversationUserPayload.d.ts +2 -2
- package/src/com/controlresell/models/conversations/users/UpdateConversationUserPayload.d.ts +4 -4
- package/src/com/controlresell/models/customers/Customer.d.ts +12 -12
- package/src/com/controlresell/models/discord/DiscordLinkCreatedEvent.d.ts +9 -9
- package/src/com/controlresell/models/discord/DiscordLinkDeletedEvent.d.ts +2 -2
- package/src/com/controlresell/models/fees/Fee.d.ts +6 -6
- package/src/com/controlresell/models/files/File.d.ts +2 -2
- package/src/com/controlresell/models/filters/MatchingItem.d.ts +2 -2
- package/src/com/controlresell/models/filters/PreferenceFilter.d.ts +20 -20
- package/src/com/controlresell/models/filters/SavedFilters.d.ts +16 -16
- package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts +16 -16
- package/src/com/controlresell/models/invoices/Invoice.d.ts +50 -50
- package/src/com/controlresell/models/invoices/InvoiceLineItem.d.ts +4 -4
- package/src/com/controlresell/models/items/CreatedItems.d.ts +1431 -1417
- package/src/com/controlresell/models/items/CreatedItems.d.ts.map +1 -1
- package/src/com/controlresell/models/items/Item.d.ts +469 -464
- package/src/com/controlresell/models/items/Item.d.ts.map +1 -1
- package/src/com/controlresell/models/items/ItemFiltersContext.d.ts +8 -8
- package/src/com/controlresell/models/items/ItemPayload.d.ts +18 -18
- package/src/com/controlresell/models/items/ItemSoldPayload.d.ts +2 -2
- package/src/com/controlresell/models/items/ItemUpdate.d.ts +740 -733
- package/src/com/controlresell/models/items/ItemUpdate.d.ts.map +1 -1
- package/src/com/controlresell/models/items/UpdatedItem.d.ts +1431 -1417
- package/src/com/controlresell/models/items/UpdatedItem.d.ts.map +1 -1
- package/src/com/controlresell/models/items/analysis/ItemAnalysisCompletion.d.ts +4 -4
- package/src/com/controlresell/models/items/analysis/ItemAnalysisRequest.d.ts +16 -16
- package/src/com/controlresell/models/items/analysis/ItemAnalysisUpdate.d.ts +740 -733
- package/src/com/controlresell/models/items/analysis/ItemAnalysisUpdate.d.ts.map +1 -1
- package/src/com/controlresell/models/items/analysis/ItemFieldResolution.d.ts +2 -2
- package/src/com/controlresell/models/items/analysis/ItemFieldResolutionsRequest.d.ts +4 -4
- package/src/com/controlresell/models/items/estimation/ItemPriceEstimation.d.ts +4 -4
- package/src/com/controlresell/models/items/estimation/ItemPriceEstimationDraft.d.ts +8 -8
- package/src/com/controlresell/models/items/estimation/ItemPriceEstimationRequest.d.ts +16 -16
- package/src/com/controlresell/models/items/estimation/MarketPriceDistribution.d.ts +2 -2
- package/src/com/controlresell/models/items/files/ItemFile.d.ts +6 -6
- package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.d.ts +106 -106
- package/src/com/controlresell/models/items/history/ItemHistory.d.ts +108 -108
- package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.d.ts +160 -160
- package/src/com/controlresell/models/items/history/data/ItemHistoryActionCanceledPayload.d.ts +2 -2
- package/src/com/controlresell/models/items/history/data/ItemHistoryCancelReason.d.ts +1 -1
- package/src/com/controlresell/models/items/history/data/ItemHistoryCancelReason.d.ts.map +1 -1
- package/src/com/controlresell/models/items/history/data/ItemHistoryCancelReason.js +1 -1
- package/src/com/controlresell/models/items/history/data/ItemHistoryCancelReason.js.map +1 -1
- package/src/com/controlresell/models/items/history/data/ItemHistoryCancelReason.ts +1 -1
- package/src/com/controlresell/models/items/history/data/ItemHistoryFailedToPublishPayload.d.ts +2 -2
- package/src/com/controlresell/models/items/history/data/ItemHistoryImportedPayload.d.ts +36 -36
- package/src/com/controlresell/models/items/history/data/ItemHistoryLifecycleStartedPayload.d.ts +2 -2
- package/src/com/controlresell/models/items/history/data/ItemHistoryRepublishingPayload.d.ts +4 -4
- package/src/com/controlresell/models/items/history/data/ItemHistoryRepublishingRetryPayload.d.ts +4 -4
- package/src/com/controlresell/models/items/history/data/ItemHistoryScheduledRetryPayload.d.ts +4 -4
- package/src/com/controlresell/models/items/labels/ItemLabel.d.ts +4 -4
- package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts +19 -16
- package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts.map +1 -1
- package/src/com/controlresell/models/items/platforms/ItemOnPlatform.js +2 -1
- package/src/com/controlresell/models/items/platforms/ItemOnPlatform.js.map +1 -1
- package/src/com/controlresell/models/items/platforms/ItemOnPlatform.ts +2 -1
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts +50 -50
- package/src/com/controlresell/models/items/platforms/UpdateItemOnPlatformPayload.d.ts +3 -0
- package/src/com/controlresell/models/items/platforms/UpdateItemOnPlatformPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/items/platforms/UpdateItemOnPlatformPayload.js +2 -1
- package/src/com/controlresell/models/items/platforms/UpdateItemOnPlatformPayload.js.map +1 -1
- package/src/com/controlresell/models/items/platforms/UpdateItemOnPlatformPayload.ts +2 -1
- package/src/com/controlresell/models/items/templates/PreferenceTemplatePayload.d.ts +8 -8
- package/src/com/controlresell/models/items/templates/Template.d.ts +16 -16
- package/src/com/controlresell/models/metadata/brands/Brand.d.ts +2 -2
- package/src/com/controlresell/models/metadata/categories/CatalogRoot.d.ts +8 -8
- package/src/com/controlresell/models/metadata/categories/Category.d.ts +4 -4
- package/src/com/controlresell/models/metadata/categories/CategoryFormSchema.d.ts +10 -10
- package/src/com/controlresell/models/metadata/categories/EnumFieldSpec.d.ts +4 -4
- package/src/com/controlresell/models/metadata/categoryfields/CategoryField.d.ts +2 -2
- package/src/com/controlresell/models/metadata/categoryfields/CreateCategoryFieldPayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/colors/Color.d.ts +2 -2
- package/src/com/controlresell/models/metadata/colors/ColorRoot.d.ts +4 -4
- package/src/com/controlresell/models/metadata/enums/Enum.d.ts +2 -2
- package/src/com/controlresell/models/metadata/favorites/CreateFavoriteMetadataPayload.d.ts +1 -1
- package/src/com/controlresell/models/metadata/favorites/FavoriteMetadata.d.ts +1 -1
- package/src/com/controlresell/models/metadata/labels/Label.d.ts +2 -2
- package/src/com/controlresell/models/metadata/packagesizes/PackageSize.d.ts +2 -2
- package/src/com/controlresell/models/metadata/places/Place.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformCategoriesPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformCategoryFieldsPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformEnumsPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformSizesPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/BrandMapping.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/CategoryMapping.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/CreateBrandMappingPayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/CreateCategoryMappingPayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/CreateEnumMappingPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/CreateSizeMappingPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/EnumMapping.d.ts +6 -6
- package/src/com/controlresell/models/metadata/platforms/ItemListingPreview.d.ts +774 -767
- package/src/com/controlresell/models/metadata/platforms/ItemListingPreview.d.ts.map +1 -1
- package/src/com/controlresell/models/metadata/platforms/MappingInfo.d.ts +36 -36
- package/src/com/controlresell/models/metadata/platforms/PlatformBrand.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/PlatformCatalogInternalIds.d.ts +16 -0
- package/src/com/controlresell/models/metadata/platforms/PlatformCatalogInternalIds.d.ts.map +1 -0
- package/src/com/controlresell/models/metadata/platforms/PlatformCatalogInternalIds.js +7 -0
- package/src/com/controlresell/models/metadata/platforms/PlatformCatalogInternalIds.js.map +1 -0
- package/src/com/controlresell/models/metadata/platforms/PlatformCatalogInternalIds.ts +8 -0
- package/src/com/controlresell/models/metadata/platforms/PlatformCategory.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/PlatformCategoryFieldPayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/PlatformCategoryPayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/PlatformEnum.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/PlatformEnumPayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/PlatformSize.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/PlatformSizePayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/SizeMapping.d.ts +6 -6
- package/src/com/controlresell/models/metadata/platforms/UpdateEnumMappingPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/sizes/Size.d.ts +2 -2
- package/src/com/controlresell/models/metadata/sizes/SizeGroup.d.ts +6 -6
- package/src/com/controlresell/models/metadata/sizes/SizeRoot.d.ts +10 -10
- package/src/com/controlresell/models/metadata/statuses/Status.d.ts +2 -2
- package/src/com/controlresell/models/onboardingquiz/OnboardingQuizResponse.d.ts +4 -4
- package/src/com/controlresell/models/platforms/labels/OrderLabel.d.ts +22 -22
- package/src/com/controlresell/models/platforms/orders/CreateOrderPayload.d.ts +2 -2
- package/src/com/controlresell/models/platforms/orders/Order.d.ts +277 -270
- package/src/com/controlresell/models/platforms/orders/Order.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/OrderFiltersContext.d.ts +2 -2
- package/src/com/controlresell/models/platforms/orders/OrderLabelUpdate.d.ts +38 -38
- package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts +14 -14
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +1661 -1641
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +29 -24
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +1244 -1228
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/pickups/CreatePickupPointPayload.d.ts +4 -4
- package/src/com/controlresell/models/platforms/pickups/PickupPoint.d.ts +6 -6
- package/src/com/controlresell/models/platforms/pickups/PickupPointInOrder.d.ts +12 -12
- package/src/com/controlresell/models/platforms/pickups/UpdatePickupPointPayload.d.ts +4 -4
- package/src/com/controlresell/models/subscriptions/ActiveLevel.d.ts +2 -2
- package/src/com/controlresell/models/subscriptions/SubscriptionChangedEvent.d.ts +4 -4
- package/src/com/controlresell/models/subscriptions/SubscriptionHistory.d.ts +4 -4
- package/src/com/controlresell/models/subscriptions/UserLimitCounter.d.ts +2 -2
- package/src/com/controlresell/models/subscriptions/UserLimits.d.ts +46 -46
- package/src/com/controlresell/models/transactions/Transaction.d.ts +43 -36
- package/src/com/controlresell/models/transactions/Transaction.d.ts.map +1 -1
- package/src/com/controlresell/models/transactions/items/ItemInTransaction.d.ts +29 -24
- package/src/com/controlresell/models/transactions/items/ItemInTransaction.d.ts.map +1 -1
- package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts +791 -775
- package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts.map +1 -1
- package/src/com/controlresell/models/users/UpdateUserPayload.d.ts +6 -6
- package/src/com/controlresell/models/users/User.d.ts +30 -30
- package/src/com/controlresell/models/users/fields/Field.d.ts +2 -2
- package/src/com/controlresell/models/users/fields/FieldsWithData.d.ts +4 -4
- package/src/com/controlresell/models/users/platforms/CreateUserOnPlatformPayload.d.ts +2 -2
- package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts +14 -14
- package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts +16 -16
- package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.d.ts +2 -2
- package/src/com/controlresell/models/users/platforms/UserOnPlatform.d.ts +8 -8
- package/src/com/controlresell/models/users/ws/ResourceUpdate.d.ts +61 -61
- package/src/com/controlresell/models/users/ws/UserLimitsUpdate.d.ts +74 -74
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +3759 -3731
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/users/ws/UserWsResourcePayload.d.ts +80 -80
- package/src/index.d.ts +384 -383
- package/src/index.d.ts.map +1 -1
- package/src/index.js +384 -383
- package/src/index.js.map +1 -1
- package/src/index.ts +384 -383
|
@@ -56,15 +56,15 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
56
56
|
}, "strip", z.ZodTypeAny, {
|
|
57
57
|
path: string;
|
|
58
58
|
id: string;
|
|
59
|
-
createdAt: Date;
|
|
60
59
|
userId: number;
|
|
60
|
+
createdAt: Date;
|
|
61
61
|
signedUrl: string;
|
|
62
62
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
63
63
|
}, {
|
|
64
64
|
path: string;
|
|
65
65
|
id: string;
|
|
66
|
-
createdAt: Date;
|
|
67
66
|
userId: number;
|
|
67
|
+
createdAt: Date;
|
|
68
68
|
signedUrl: string;
|
|
69
69
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
70
70
|
}>>>;
|
|
@@ -75,9 +75,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
75
75
|
phoneNumberRequiredAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
76
76
|
}, "strip", z.ZodTypeAny, {
|
|
77
77
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
78
|
-
name: string;
|
|
79
|
-
userId: number;
|
|
80
78
|
accountId: string;
|
|
79
|
+
userId: number;
|
|
80
|
+
name: string;
|
|
81
81
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
82
82
|
locale?: string | null | undefined;
|
|
83
83
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -96,8 +96,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
96
96
|
profilePicture?: {
|
|
97
97
|
path: string;
|
|
98
98
|
id: string;
|
|
99
|
-
createdAt: Date;
|
|
100
99
|
userId: number;
|
|
100
|
+
createdAt: Date;
|
|
101
101
|
signedUrl: string;
|
|
102
102
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
103
103
|
} | null | undefined;
|
|
@@ -105,9 +105,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
105
105
|
walletActivationRequiredAt?: Date | null | undefined;
|
|
106
106
|
phoneNumberRequiredAt?: Date | null | undefined;
|
|
107
107
|
}, {
|
|
108
|
-
name: string;
|
|
109
|
-
userId: number;
|
|
110
108
|
accountId: string;
|
|
109
|
+
userId: number;
|
|
110
|
+
name: string;
|
|
111
111
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
112
112
|
status?: unknown;
|
|
113
113
|
locale?: string | null | undefined;
|
|
@@ -127,8 +127,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
127
127
|
profilePicture?: {
|
|
128
128
|
path: string;
|
|
129
129
|
id: string;
|
|
130
|
-
createdAt: Date;
|
|
131
130
|
userId: number;
|
|
131
|
+
createdAt: Date;
|
|
132
132
|
signedUrl: string;
|
|
133
133
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
134
134
|
} | null | undefined;
|
|
@@ -143,11 +143,12 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
143
143
|
boostedUntil: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
144
144
|
orderStatus: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["PAYMENT_VALIDATED", "ORDER_CANCELED", "SHIPPING_LABEL_SENT_TO_SELLER", "ORDER_SHIPPED", "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT", "ORDER_RECEIVED", "ORDER_FINALIZED", "RETURN_INITIATED", "REFUND_IN_PROGRESS", "REFUND_DONE", "ORDER_CANCELED_ITEM_UNAVAILABLE", "ORDER_CANCELED_BY_VINTED", "ORDER_DISPUTE_STARTED", "ORDER_CANCELED_DUE_TO_LATE_SHIPPING", "SHIPPING_LABEL_ORDERED", "FAILED_TO_ORDER_SHIPPING_LABEL", "ORDER_RETURNED_TO_SENDER", "PAYMENT_FAILED", "ORDER_SUSPENDED", "SHIPPING_TO_VERIFICATION_CENTER", "RECEIVED_AT_VERIFICATION_CENTER", "PAYMENT_IN_PROGRESS", "SENT_TO_VERIFICATION_CENTER", "SHIPPING_FROM_VERIFICATION_CENTER", "VERIFICATION_FAILED", "ORDER_DISPUTE_RESOLVED", "UNKNOWN"]>>>>;
|
|
145
145
|
orderType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PURCHASE", "SALE"]>>>;
|
|
146
|
+
isBoosted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
146
147
|
}, "strip", z.ZodTypeAny, {
|
|
147
148
|
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
148
149
|
id: string;
|
|
149
|
-
createdAt: Date;
|
|
150
150
|
accountId: string;
|
|
151
|
+
createdAt: Date;
|
|
151
152
|
itemId: number;
|
|
152
153
|
platformId: string;
|
|
153
154
|
platformUrl: string;
|
|
@@ -161,9 +162,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
161
162
|
favoritesCount?: number | null | undefined;
|
|
162
163
|
account?: {
|
|
163
164
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
164
|
-
name: string;
|
|
165
|
-
userId: number;
|
|
166
165
|
accountId: string;
|
|
166
|
+
userId: number;
|
|
167
|
+
name: string;
|
|
167
168
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
168
169
|
locale?: string | null | undefined;
|
|
169
170
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -182,8 +183,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
182
183
|
profilePicture?: {
|
|
183
184
|
path: string;
|
|
184
185
|
id: string;
|
|
185
|
-
createdAt: Date;
|
|
186
186
|
userId: number;
|
|
187
|
+
createdAt: Date;
|
|
187
188
|
signedUrl: string;
|
|
188
189
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
189
190
|
} | null | undefined;
|
|
@@ -193,10 +194,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
193
194
|
} | null | undefined;
|
|
194
195
|
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;
|
|
195
196
|
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
197
|
+
isBoosted?: boolean | null | undefined;
|
|
196
198
|
}, {
|
|
197
199
|
id: string;
|
|
198
|
-
createdAt: Date;
|
|
199
200
|
accountId: string;
|
|
201
|
+
createdAt: Date;
|
|
200
202
|
itemId: number;
|
|
201
203
|
platformId: string;
|
|
202
204
|
platformUrl: string;
|
|
@@ -210,9 +212,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
210
212
|
viewsCount?: number | null | undefined;
|
|
211
213
|
favoritesCount?: number | null | undefined;
|
|
212
214
|
account?: {
|
|
213
|
-
name: string;
|
|
214
|
-
userId: number;
|
|
215
215
|
accountId: string;
|
|
216
|
+
userId: number;
|
|
217
|
+
name: string;
|
|
216
218
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
217
219
|
status?: unknown;
|
|
218
220
|
locale?: string | null | undefined;
|
|
@@ -232,8 +234,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
232
234
|
profilePicture?: {
|
|
233
235
|
path: string;
|
|
234
236
|
id: string;
|
|
235
|
-
createdAt: Date;
|
|
236
237
|
userId: number;
|
|
238
|
+
createdAt: Date;
|
|
237
239
|
signedUrl: string;
|
|
238
240
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
239
241
|
} | null | undefined;
|
|
@@ -243,6 +245,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
243
245
|
} | null | undefined;
|
|
244
246
|
orderStatus?: unknown;
|
|
245
247
|
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
248
|
+
isBoosted?: boolean | null | undefined;
|
|
246
249
|
}>>>;
|
|
247
250
|
}, "strip", z.ZodTypeAny, {
|
|
248
251
|
transactionId: string;
|
|
@@ -250,8 +253,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
250
253
|
itemOnPlatform?: {
|
|
251
254
|
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
252
255
|
id: string;
|
|
253
|
-
createdAt: Date;
|
|
254
256
|
accountId: string;
|
|
257
|
+
createdAt: Date;
|
|
255
258
|
itemId: number;
|
|
256
259
|
platformId: string;
|
|
257
260
|
platformUrl: string;
|
|
@@ -265,9 +268,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
265
268
|
favoritesCount?: number | null | undefined;
|
|
266
269
|
account?: {
|
|
267
270
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
268
|
-
name: string;
|
|
269
|
-
userId: number;
|
|
270
271
|
accountId: string;
|
|
272
|
+
userId: number;
|
|
273
|
+
name: string;
|
|
271
274
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
272
275
|
locale?: string | null | undefined;
|
|
273
276
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -286,8 +289,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
286
289
|
profilePicture?: {
|
|
287
290
|
path: string;
|
|
288
291
|
id: string;
|
|
289
|
-
createdAt: Date;
|
|
290
292
|
userId: number;
|
|
293
|
+
createdAt: Date;
|
|
291
294
|
signedUrl: string;
|
|
292
295
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
293
296
|
} | null | undefined;
|
|
@@ -297,14 +300,15 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
297
300
|
} | null | undefined;
|
|
298
301
|
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;
|
|
299
302
|
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
303
|
+
isBoosted?: boolean | null | undefined;
|
|
300
304
|
} | null | undefined;
|
|
301
305
|
}, {
|
|
302
306
|
transactionId: string;
|
|
303
307
|
itemOnPlatformId: string;
|
|
304
308
|
itemOnPlatform?: {
|
|
305
309
|
id: string;
|
|
306
|
-
createdAt: Date;
|
|
307
310
|
accountId: string;
|
|
311
|
+
createdAt: Date;
|
|
308
312
|
itemId: number;
|
|
309
313
|
platformId: string;
|
|
310
314
|
platformUrl: string;
|
|
@@ -318,9 +322,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
318
322
|
viewsCount?: number | null | undefined;
|
|
319
323
|
favoritesCount?: number | null | undefined;
|
|
320
324
|
account?: {
|
|
321
|
-
name: string;
|
|
322
|
-
userId: number;
|
|
323
325
|
accountId: string;
|
|
326
|
+
userId: number;
|
|
327
|
+
name: string;
|
|
324
328
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
325
329
|
status?: unknown;
|
|
326
330
|
locale?: string | null | undefined;
|
|
@@ -340,8 +344,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
340
344
|
profilePicture?: {
|
|
341
345
|
path: string;
|
|
342
346
|
id: string;
|
|
343
|
-
createdAt: Date;
|
|
344
347
|
userId: number;
|
|
348
|
+
createdAt: Date;
|
|
345
349
|
signedUrl: string;
|
|
346
350
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
347
351
|
} | null | undefined;
|
|
@@ -351,22 +355,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
351
355
|
} | null | undefined;
|
|
352
356
|
orderStatus?: unknown;
|
|
353
357
|
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
358
|
+
isBoosted?: boolean | null | undefined;
|
|
354
359
|
} | null | undefined;
|
|
355
360
|
}>, "many">>>;
|
|
356
361
|
}, "strip", z.ZodTypeAny, {
|
|
357
362
|
id: string;
|
|
358
363
|
accountId: string;
|
|
359
364
|
platformTransactionId: string;
|
|
360
|
-
conversationId?: string | null | undefined;
|
|
361
|
-
shipmentId?: string | null | undefined;
|
|
362
365
|
items?: {
|
|
363
366
|
transactionId: string;
|
|
364
367
|
itemOnPlatformId: string;
|
|
365
368
|
itemOnPlatform?: {
|
|
366
369
|
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
367
370
|
id: string;
|
|
368
|
-
createdAt: Date;
|
|
369
371
|
accountId: string;
|
|
372
|
+
createdAt: Date;
|
|
370
373
|
itemId: number;
|
|
371
374
|
platformId: string;
|
|
372
375
|
platformUrl: string;
|
|
@@ -380,9 +383,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
380
383
|
favoritesCount?: number | null | undefined;
|
|
381
384
|
account?: {
|
|
382
385
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
383
|
-
name: string;
|
|
384
|
-
userId: number;
|
|
385
386
|
accountId: string;
|
|
387
|
+
userId: number;
|
|
388
|
+
name: string;
|
|
386
389
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
387
390
|
locale?: string | null | undefined;
|
|
388
391
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -401,8 +404,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
401
404
|
profilePicture?: {
|
|
402
405
|
path: string;
|
|
403
406
|
id: string;
|
|
404
|
-
createdAt: Date;
|
|
405
407
|
userId: number;
|
|
408
|
+
createdAt: Date;
|
|
406
409
|
signedUrl: string;
|
|
407
410
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
408
411
|
} | null | undefined;
|
|
@@ -412,23 +415,24 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
412
415
|
} | null | undefined;
|
|
413
416
|
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;
|
|
414
417
|
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
418
|
+
isBoosted?: boolean | null | undefined;
|
|
415
419
|
} | null | undefined;
|
|
416
420
|
}[] | null | undefined;
|
|
421
|
+
conversationId?: string | null | undefined;
|
|
422
|
+
shipmentId?: string | null | undefined;
|
|
417
423
|
buyerPlatformId?: string | null | undefined;
|
|
418
424
|
sellerPlatformId?: string | null | undefined;
|
|
419
425
|
}, {
|
|
420
426
|
id: string;
|
|
421
427
|
accountId: string;
|
|
422
428
|
platformTransactionId: string;
|
|
423
|
-
conversationId?: string | null | undefined;
|
|
424
|
-
shipmentId?: string | null | undefined;
|
|
425
429
|
items?: {
|
|
426
430
|
transactionId: string;
|
|
427
431
|
itemOnPlatformId: string;
|
|
428
432
|
itemOnPlatform?: {
|
|
429
433
|
id: string;
|
|
430
|
-
createdAt: Date;
|
|
431
434
|
accountId: string;
|
|
435
|
+
createdAt: Date;
|
|
432
436
|
itemId: number;
|
|
433
437
|
platformId: string;
|
|
434
438
|
platformUrl: string;
|
|
@@ -442,9 +446,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
442
446
|
viewsCount?: number | null | undefined;
|
|
443
447
|
favoritesCount?: number | null | undefined;
|
|
444
448
|
account?: {
|
|
445
|
-
name: string;
|
|
446
|
-
userId: number;
|
|
447
449
|
accountId: string;
|
|
450
|
+
userId: number;
|
|
451
|
+
name: string;
|
|
448
452
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
449
453
|
status?: unknown;
|
|
450
454
|
locale?: string | null | undefined;
|
|
@@ -464,8 +468,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
464
468
|
profilePicture?: {
|
|
465
469
|
path: string;
|
|
466
470
|
id: string;
|
|
467
|
-
createdAt: Date;
|
|
468
471
|
userId: number;
|
|
472
|
+
createdAt: Date;
|
|
469
473
|
signedUrl: string;
|
|
470
474
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
471
475
|
} | null | undefined;
|
|
@@ -475,8 +479,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
475
479
|
} | null | undefined;
|
|
476
480
|
orderStatus?: unknown;
|
|
477
481
|
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
482
|
+
isBoosted?: boolean | null | undefined;
|
|
478
483
|
} | null | undefined;
|
|
479
484
|
}[] | null | undefined;
|
|
485
|
+
conversationId?: string | null | undefined;
|
|
486
|
+
shipmentId?: string | null | undefined;
|
|
480
487
|
buyerPlatformId?: string | null | undefined;
|
|
481
488
|
sellerPlatformId?: string | null | undefined;
|
|
482
489
|
}>;
|
|
@@ -500,38 +507,38 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
500
507
|
}, "strip", z.ZodTypeAny, {
|
|
501
508
|
path: string;
|
|
502
509
|
id: string;
|
|
503
|
-
createdAt: Date;
|
|
504
510
|
userId: number;
|
|
511
|
+
createdAt: Date;
|
|
505
512
|
signedUrl: string;
|
|
506
513
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
507
514
|
}, {
|
|
508
515
|
path: string;
|
|
509
516
|
id: string;
|
|
510
|
-
createdAt: Date;
|
|
511
517
|
userId: number;
|
|
518
|
+
createdAt: Date;
|
|
512
519
|
signedUrl: string;
|
|
513
520
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
514
521
|
}>>>;
|
|
515
522
|
}, "strip", z.ZodTypeAny, {
|
|
516
|
-
fileId: string;
|
|
517
523
|
itemId: number;
|
|
524
|
+
fileId: string;
|
|
518
525
|
file?: {
|
|
519
526
|
path: string;
|
|
520
527
|
id: string;
|
|
521
|
-
createdAt: Date;
|
|
522
528
|
userId: number;
|
|
529
|
+
createdAt: Date;
|
|
523
530
|
signedUrl: string;
|
|
524
531
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
525
532
|
} | null | undefined;
|
|
526
533
|
index?: number | null | undefined;
|
|
527
534
|
}, {
|
|
528
|
-
fileId: string;
|
|
529
535
|
itemId: number;
|
|
536
|
+
fileId: string;
|
|
530
537
|
file?: {
|
|
531
538
|
path: string;
|
|
532
539
|
id: string;
|
|
533
|
-
createdAt: Date;
|
|
534
540
|
userId: number;
|
|
541
|
+
createdAt: Date;
|
|
535
542
|
signedUrl: string;
|
|
536
543
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
537
544
|
} | null | undefined;
|
|
@@ -569,12 +576,12 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
569
576
|
}, "strip", z.ZodTypeAny, {
|
|
570
577
|
value: number;
|
|
571
578
|
type: string;
|
|
572
|
-
name: string;
|
|
573
579
|
id: number;
|
|
574
|
-
createdAt: Date;
|
|
575
580
|
userId: number;
|
|
581
|
+
name: string;
|
|
582
|
+
createdAt: Date;
|
|
576
583
|
updatedAt: Date;
|
|
577
|
-
recurrence: "
|
|
584
|
+
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
578
585
|
startDate: Date;
|
|
579
586
|
active: boolean;
|
|
580
587
|
description?: string | null | undefined;
|
|
@@ -584,12 +591,12 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
584
591
|
}, {
|
|
585
592
|
value: number;
|
|
586
593
|
type: string;
|
|
587
|
-
name: string;
|
|
588
594
|
id: number;
|
|
589
|
-
createdAt: Date;
|
|
590
595
|
userId: number;
|
|
596
|
+
name: string;
|
|
597
|
+
createdAt: Date;
|
|
591
598
|
updatedAt: Date;
|
|
592
|
-
recurrence: "
|
|
599
|
+
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
593
600
|
startDate: Date;
|
|
594
601
|
active: boolean;
|
|
595
602
|
description?: string | null | undefined;
|
|
@@ -610,16 +617,16 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
610
617
|
itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
611
618
|
parentId: z.ZodUnknown;
|
|
612
619
|
}, "strip", z.ZodTypeAny, {
|
|
613
|
-
name: string;
|
|
614
620
|
id: number;
|
|
621
|
+
name: string;
|
|
615
622
|
createdAt: Date;
|
|
616
623
|
isUserLabel: boolean;
|
|
617
624
|
itemCount?: number | null | undefined;
|
|
618
625
|
userId?: number | null | undefined;
|
|
619
626
|
parentId?: unknown;
|
|
620
627
|
}, {
|
|
621
|
-
name: string;
|
|
622
628
|
id: number;
|
|
629
|
+
name: string;
|
|
623
630
|
createdAt: Date;
|
|
624
631
|
isUserLabel: boolean;
|
|
625
632
|
itemCount?: number | null | undefined;
|
|
@@ -630,8 +637,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
630
637
|
itemId: number;
|
|
631
638
|
labelId: number;
|
|
632
639
|
label?: {
|
|
633
|
-
name: string;
|
|
634
640
|
id: number;
|
|
641
|
+
name: string;
|
|
635
642
|
createdAt: Date;
|
|
636
643
|
isUserLabel: boolean;
|
|
637
644
|
itemCount?: number | null | undefined;
|
|
@@ -642,8 +649,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
642
649
|
itemId: number;
|
|
643
650
|
labelId: number;
|
|
644
651
|
label?: {
|
|
645
|
-
name: string;
|
|
646
652
|
id: number;
|
|
653
|
+
name: string;
|
|
647
654
|
createdAt: Date;
|
|
648
655
|
isUserLabel: boolean;
|
|
649
656
|
itemCount?: number | null | undefined;
|
|
@@ -708,11 +715,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
708
715
|
data: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
709
716
|
data: z.ZodObject<{
|
|
710
717
|
targetItemHistoryId: z.ZodString;
|
|
711
|
-
reason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["REQUESTED_BY_USER", "REPLACED_BY_NEW_SCHEDULE", "ITEM_SOLD_OR_ARCHIVED", "ACCOUNT_BLOCKED", "ACTIVE_SCHEDULE", "ALREADY_PUBLISHED", "NEVER_PUBLISHED", "ACCOUNT_DELETED", "LISTING_NOT_FOUND_ON_PLATFORM", "LISTING_DELETED", "UNKNOWN"]>>>>;
|
|
718
|
+
reason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["REQUESTED_BY_USER", "REPLACED_BY_NEW_SCHEDULE", "ITEM_SOLD_OR_ARCHIVED", "ACCOUNT_BLOCKED", "ACTIVE_SCHEDULE", "ALREADY_PUBLISHED", "NEVER_PUBLISHED", "ACCOUNT_DELETED", "LISTING_NOT_FOUND_ON_PLATFORM", "LISTING_DELETED", "LISTING_BOOSTED", "LISTING_SOLD_ON_PLATFORM", "UNKNOWN"]>>>>;
|
|
712
719
|
details: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
713
720
|
}, "strip", z.ZodTypeAny, {
|
|
714
721
|
targetItemHistoryId: string;
|
|
715
|
-
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | null | undefined;
|
|
722
|
+
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | "LISTING_BOOSTED" | "LISTING_SOLD_ON_PLATFORM" | null | undefined;
|
|
716
723
|
details?: string | null | undefined;
|
|
717
724
|
}, {
|
|
718
725
|
targetItemHistoryId: string;
|
|
@@ -724,7 +731,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
724
731
|
type: "ACTION_CANCELED";
|
|
725
732
|
data: {
|
|
726
733
|
targetItemHistoryId: string;
|
|
727
|
-
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | null | undefined;
|
|
734
|
+
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | "LISTING_BOOSTED" | "LISTING_SOLD_ON_PLATFORM" | null | undefined;
|
|
728
735
|
details?: string | null | undefined;
|
|
729
736
|
};
|
|
730
737
|
}, {
|
|
@@ -827,7 +834,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
827
834
|
autoFixable: z.ZodBoolean;
|
|
828
835
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
829
836
|
}, "strip", z.ZodTypeAny, {
|
|
830
|
-
field: "
|
|
837
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
831
838
|
autoFixable: boolean;
|
|
832
839
|
error?: string | null | undefined;
|
|
833
840
|
}, {
|
|
@@ -842,7 +849,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
842
849
|
accountId?: string | null | undefined;
|
|
843
850
|
reason?: string | null | undefined;
|
|
844
851
|
fields?: {
|
|
845
|
-
field: "
|
|
852
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
846
853
|
autoFixable: boolean;
|
|
847
854
|
error?: string | null | undefined;
|
|
848
855
|
}[] | null | undefined;
|
|
@@ -868,7 +875,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
868
875
|
accountId?: string | null | undefined;
|
|
869
876
|
reason?: string | null | undefined;
|
|
870
877
|
fields?: {
|
|
871
|
-
field: "
|
|
878
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
872
879
|
autoFixable: boolean;
|
|
873
880
|
error?: string | null | undefined;
|
|
874
881
|
}[] | null | undefined;
|
|
@@ -1052,23 +1059,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1052
1059
|
boostedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1053
1060
|
boostedUntil: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1054
1061
|
}, "strip", z.ZodTypeAny, {
|
|
1062
|
+
size?: string | null | undefined;
|
|
1055
1063
|
status?: string | null | undefined;
|
|
1056
1064
|
title?: string | null | undefined;
|
|
1057
1065
|
description?: string | null | undefined;
|
|
1058
|
-
brand?: string | null | undefined;
|
|
1059
|
-
statusId?: number | null | undefined;
|
|
1060
|
-
sizeId?: number | null | undefined;
|
|
1061
|
-
colorIds?: number[] | null | undefined;
|
|
1062
|
-
packageSizeId?: number | null | undefined;
|
|
1063
1066
|
price?: number | null | undefined;
|
|
1064
1067
|
currency?: string | null | undefined;
|
|
1068
|
+
brand?: string | null | undefined;
|
|
1065
1069
|
catalog?: string | null | undefined;
|
|
1066
1070
|
catalogId?: number | null | undefined;
|
|
1067
1071
|
colors?: string[] | null | undefined;
|
|
1072
|
+
colorIds?: number[] | null | undefined;
|
|
1068
1073
|
measurementLength?: number | null | undefined;
|
|
1069
1074
|
measurementWidth?: number | null | undefined;
|
|
1075
|
+
packageSizeId?: number | null | undefined;
|
|
1070
1076
|
photoUrls?: string[] | null | undefined;
|
|
1071
|
-
|
|
1077
|
+
sizeId?: number | null | undefined;
|
|
1078
|
+
statusId?: number | null | undefined;
|
|
1072
1079
|
isDraft?: boolean | null | undefined;
|
|
1073
1080
|
isArchived?: boolean | null | undefined;
|
|
1074
1081
|
isUnisex?: boolean | null | undefined;
|
|
@@ -1097,23 +1104,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1097
1104
|
isHidden?: boolean | null | undefined;
|
|
1098
1105
|
isDeleted?: boolean | null | undefined;
|
|
1099
1106
|
}, {
|
|
1107
|
+
size?: string | null | undefined;
|
|
1100
1108
|
status?: string | null | undefined;
|
|
1101
1109
|
title?: string | null | undefined;
|
|
1102
1110
|
description?: string | null | undefined;
|
|
1103
|
-
brand?: string | null | undefined;
|
|
1104
|
-
statusId?: number | null | undefined;
|
|
1105
|
-
sizeId?: number | null | undefined;
|
|
1106
|
-
colorIds?: number[] | null | undefined;
|
|
1107
|
-
packageSizeId?: number | null | undefined;
|
|
1108
1111
|
price?: number | null | undefined;
|
|
1109
1112
|
currency?: string | null | undefined;
|
|
1113
|
+
brand?: string | null | undefined;
|
|
1110
1114
|
catalog?: string | null | undefined;
|
|
1111
1115
|
catalogId?: number | null | undefined;
|
|
1112
1116
|
colors?: string[] | null | undefined;
|
|
1117
|
+
colorIds?: number[] | null | undefined;
|
|
1113
1118
|
measurementLength?: number | null | undefined;
|
|
1114
1119
|
measurementWidth?: number | null | undefined;
|
|
1120
|
+
packageSizeId?: number | null | undefined;
|
|
1115
1121
|
photoUrls?: string[] | null | undefined;
|
|
1116
|
-
|
|
1122
|
+
sizeId?: number | null | undefined;
|
|
1123
|
+
statusId?: number | null | undefined;
|
|
1117
1124
|
isDraft?: boolean | null | undefined;
|
|
1118
1125
|
isArchived?: boolean | null | undefined;
|
|
1119
1126
|
isUnisex?: boolean | null | undefined;
|
|
@@ -1147,23 +1154,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1147
1154
|
}, "strip", z.ZodTypeAny, {
|
|
1148
1155
|
platformId: string;
|
|
1149
1156
|
post: {
|
|
1157
|
+
size?: string | null | undefined;
|
|
1150
1158
|
status?: string | null | undefined;
|
|
1151
1159
|
title?: string | null | undefined;
|
|
1152
1160
|
description?: string | null | undefined;
|
|
1153
|
-
brand?: string | null | undefined;
|
|
1154
|
-
statusId?: number | null | undefined;
|
|
1155
|
-
sizeId?: number | null | undefined;
|
|
1156
|
-
colorIds?: number[] | null | undefined;
|
|
1157
|
-
packageSizeId?: number | null | undefined;
|
|
1158
1161
|
price?: number | null | undefined;
|
|
1159
1162
|
currency?: string | null | undefined;
|
|
1163
|
+
brand?: string | null | undefined;
|
|
1160
1164
|
catalog?: string | null | undefined;
|
|
1161
1165
|
catalogId?: number | null | undefined;
|
|
1162
1166
|
colors?: string[] | null | undefined;
|
|
1167
|
+
colorIds?: number[] | null | undefined;
|
|
1163
1168
|
measurementLength?: number | null | undefined;
|
|
1164
1169
|
measurementWidth?: number | null | undefined;
|
|
1170
|
+
packageSizeId?: number | null | undefined;
|
|
1165
1171
|
photoUrls?: string[] | null | undefined;
|
|
1166
|
-
|
|
1172
|
+
sizeId?: number | null | undefined;
|
|
1173
|
+
statusId?: number | null | undefined;
|
|
1167
1174
|
isDraft?: boolean | null | undefined;
|
|
1168
1175
|
isArchived?: boolean | null | undefined;
|
|
1169
1176
|
isUnisex?: boolean | null | undefined;
|
|
@@ -1199,23 +1206,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1199
1206
|
}, {
|
|
1200
1207
|
platformId: string;
|
|
1201
1208
|
post: {
|
|
1209
|
+
size?: string | null | undefined;
|
|
1202
1210
|
status?: string | null | undefined;
|
|
1203
1211
|
title?: string | null | undefined;
|
|
1204
1212
|
description?: string | null | undefined;
|
|
1205
|
-
brand?: string | null | undefined;
|
|
1206
|
-
statusId?: number | null | undefined;
|
|
1207
|
-
sizeId?: number | null | undefined;
|
|
1208
|
-
colorIds?: number[] | null | undefined;
|
|
1209
|
-
packageSizeId?: number | null | undefined;
|
|
1210
1213
|
price?: number | null | undefined;
|
|
1211
1214
|
currency?: string | null | undefined;
|
|
1215
|
+
brand?: string | null | undefined;
|
|
1212
1216
|
catalog?: string | null | undefined;
|
|
1213
1217
|
catalogId?: number | null | undefined;
|
|
1214
1218
|
colors?: string[] | null | undefined;
|
|
1219
|
+
colorIds?: number[] | null | undefined;
|
|
1215
1220
|
measurementLength?: number | null | undefined;
|
|
1216
1221
|
measurementWidth?: number | null | undefined;
|
|
1222
|
+
packageSizeId?: number | null | undefined;
|
|
1217
1223
|
photoUrls?: string[] | null | undefined;
|
|
1218
|
-
|
|
1224
|
+
sizeId?: number | null | undefined;
|
|
1225
|
+
statusId?: number | null | undefined;
|
|
1219
1226
|
isDraft?: boolean | null | undefined;
|
|
1220
1227
|
isArchived?: boolean | null | undefined;
|
|
1221
1228
|
isUnisex?: boolean | null | undefined;
|
|
@@ -1253,23 +1260,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1253
1260
|
post: {
|
|
1254
1261
|
platformId: string;
|
|
1255
1262
|
post: {
|
|
1263
|
+
size?: string | null | undefined;
|
|
1256
1264
|
status?: string | null | undefined;
|
|
1257
1265
|
title?: string | null | undefined;
|
|
1258
1266
|
description?: string | null | undefined;
|
|
1259
|
-
brand?: string | null | undefined;
|
|
1260
|
-
statusId?: number | null | undefined;
|
|
1261
|
-
sizeId?: number | null | undefined;
|
|
1262
|
-
colorIds?: number[] | null | undefined;
|
|
1263
|
-
packageSizeId?: number | null | undefined;
|
|
1264
1267
|
price?: number | null | undefined;
|
|
1265
1268
|
currency?: string | null | undefined;
|
|
1269
|
+
brand?: string | null | undefined;
|
|
1266
1270
|
catalog?: string | null | undefined;
|
|
1267
1271
|
catalogId?: number | null | undefined;
|
|
1268
1272
|
colors?: string[] | null | undefined;
|
|
1273
|
+
colorIds?: number[] | null | undefined;
|
|
1269
1274
|
measurementLength?: number | null | undefined;
|
|
1270
1275
|
measurementWidth?: number | null | undefined;
|
|
1276
|
+
packageSizeId?: number | null | undefined;
|
|
1271
1277
|
photoUrls?: string[] | null | undefined;
|
|
1272
|
-
|
|
1278
|
+
sizeId?: number | null | undefined;
|
|
1279
|
+
statusId?: number | null | undefined;
|
|
1273
1280
|
isDraft?: boolean | null | undefined;
|
|
1274
1281
|
isArchived?: boolean | null | undefined;
|
|
1275
1282
|
isUnisex?: boolean | null | undefined;
|
|
@@ -1307,23 +1314,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1307
1314
|
post: {
|
|
1308
1315
|
platformId: string;
|
|
1309
1316
|
post: {
|
|
1317
|
+
size?: string | null | undefined;
|
|
1310
1318
|
status?: string | null | undefined;
|
|
1311
1319
|
title?: string | null | undefined;
|
|
1312
1320
|
description?: string | null | undefined;
|
|
1313
|
-
brand?: string | null | undefined;
|
|
1314
|
-
statusId?: number | null | undefined;
|
|
1315
|
-
sizeId?: number | null | undefined;
|
|
1316
|
-
colorIds?: number[] | null | undefined;
|
|
1317
|
-
packageSizeId?: number | null | undefined;
|
|
1318
1321
|
price?: number | null | undefined;
|
|
1319
1322
|
currency?: string | null | undefined;
|
|
1323
|
+
brand?: string | null | undefined;
|
|
1320
1324
|
catalog?: string | null | undefined;
|
|
1321
1325
|
catalogId?: number | null | undefined;
|
|
1322
1326
|
colors?: string[] | null | undefined;
|
|
1327
|
+
colorIds?: number[] | null | undefined;
|
|
1323
1328
|
measurementLength?: number | null | undefined;
|
|
1324
1329
|
measurementWidth?: number | null | undefined;
|
|
1330
|
+
packageSizeId?: number | null | undefined;
|
|
1325
1331
|
photoUrls?: string[] | null | undefined;
|
|
1326
|
-
|
|
1332
|
+
sizeId?: number | null | undefined;
|
|
1333
|
+
statusId?: number | null | undefined;
|
|
1327
1334
|
isDraft?: boolean | null | undefined;
|
|
1328
1335
|
isArchived?: boolean | null | undefined;
|
|
1329
1336
|
isUnisex?: boolean | null | undefined;
|
|
@@ -1365,23 +1372,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1365
1372
|
post: {
|
|
1366
1373
|
platformId: string;
|
|
1367
1374
|
post: {
|
|
1375
|
+
size?: string | null | undefined;
|
|
1368
1376
|
status?: string | null | undefined;
|
|
1369
1377
|
title?: string | null | undefined;
|
|
1370
1378
|
description?: string | null | undefined;
|
|
1371
|
-
brand?: string | null | undefined;
|
|
1372
|
-
statusId?: number | null | undefined;
|
|
1373
|
-
sizeId?: number | null | undefined;
|
|
1374
|
-
colorIds?: number[] | null | undefined;
|
|
1375
|
-
packageSizeId?: number | null | undefined;
|
|
1376
1379
|
price?: number | null | undefined;
|
|
1377
1380
|
currency?: string | null | undefined;
|
|
1381
|
+
brand?: string | null | undefined;
|
|
1378
1382
|
catalog?: string | null | undefined;
|
|
1379
1383
|
catalogId?: number | null | undefined;
|
|
1380
1384
|
colors?: string[] | null | undefined;
|
|
1385
|
+
colorIds?: number[] | null | undefined;
|
|
1381
1386
|
measurementLength?: number | null | undefined;
|
|
1382
1387
|
measurementWidth?: number | null | undefined;
|
|
1388
|
+
packageSizeId?: number | null | undefined;
|
|
1383
1389
|
photoUrls?: string[] | null | undefined;
|
|
1384
|
-
|
|
1390
|
+
sizeId?: number | null | undefined;
|
|
1391
|
+
statusId?: number | null | undefined;
|
|
1385
1392
|
isDraft?: boolean | null | undefined;
|
|
1386
1393
|
isArchived?: boolean | null | undefined;
|
|
1387
1394
|
isUnisex?: boolean | null | undefined;
|
|
@@ -1422,23 +1429,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1422
1429
|
post: {
|
|
1423
1430
|
platformId: string;
|
|
1424
1431
|
post: {
|
|
1432
|
+
size?: string | null | undefined;
|
|
1425
1433
|
status?: string | null | undefined;
|
|
1426
1434
|
title?: string | null | undefined;
|
|
1427
1435
|
description?: string | null | undefined;
|
|
1428
|
-
brand?: string | null | undefined;
|
|
1429
|
-
statusId?: number | null | undefined;
|
|
1430
|
-
sizeId?: number | null | undefined;
|
|
1431
|
-
colorIds?: number[] | null | undefined;
|
|
1432
|
-
packageSizeId?: number | null | undefined;
|
|
1433
1436
|
price?: number | null | undefined;
|
|
1434
1437
|
currency?: string | null | undefined;
|
|
1438
|
+
brand?: string | null | undefined;
|
|
1435
1439
|
catalog?: string | null | undefined;
|
|
1436
1440
|
catalogId?: number | null | undefined;
|
|
1437
1441
|
colors?: string[] | null | undefined;
|
|
1442
|
+
colorIds?: number[] | null | undefined;
|
|
1438
1443
|
measurementLength?: number | null | undefined;
|
|
1439
1444
|
measurementWidth?: number | null | undefined;
|
|
1445
|
+
packageSizeId?: number | null | undefined;
|
|
1440
1446
|
photoUrls?: string[] | null | undefined;
|
|
1441
|
-
|
|
1447
|
+
sizeId?: number | null | undefined;
|
|
1448
|
+
statusId?: number | null | undefined;
|
|
1442
1449
|
isDraft?: boolean | null | undefined;
|
|
1443
1450
|
isArchived?: boolean | null | undefined;
|
|
1444
1451
|
isUnisex?: boolean | null | undefined;
|
|
@@ -1498,27 +1505,27 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1498
1505
|
caseId: z.ZodString;
|
|
1499
1506
|
isRepeat: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1500
1507
|
}, "strip", z.ZodTypeAny, {
|
|
1501
|
-
caseId: string;
|
|
1502
1508
|
accountId: string;
|
|
1509
|
+
caseId: string;
|
|
1503
1510
|
isRepeat?: boolean | null | undefined;
|
|
1504
1511
|
}, {
|
|
1505
|
-
caseId: string;
|
|
1506
1512
|
accountId: string;
|
|
1513
|
+
caseId: string;
|
|
1507
1514
|
isRepeat?: boolean | null | undefined;
|
|
1508
1515
|
}>;
|
|
1509
1516
|
type: z.ZodLiteral<"LIFECYCLE_STARTED">;
|
|
1510
1517
|
}, "strip", z.ZodTypeAny, {
|
|
1511
1518
|
type: "LIFECYCLE_STARTED";
|
|
1512
1519
|
data: {
|
|
1513
|
-
caseId: string;
|
|
1514
1520
|
accountId: string;
|
|
1521
|
+
caseId: string;
|
|
1515
1522
|
isRepeat?: boolean | null | undefined;
|
|
1516
1523
|
};
|
|
1517
1524
|
}, {
|
|
1518
1525
|
type: "LIFECYCLE_STARTED";
|
|
1519
1526
|
data: {
|
|
1520
|
-
caseId: string;
|
|
1521
1527
|
accountId: string;
|
|
1528
|
+
caseId: string;
|
|
1522
1529
|
isRepeat?: boolean | null | undefined;
|
|
1523
1530
|
};
|
|
1524
1531
|
}>, z.ZodObject<{
|
|
@@ -1694,10 +1701,10 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1694
1701
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1695
1702
|
} | null | undefined;
|
|
1696
1703
|
} | null | undefined;
|
|
1697
|
-
publishingDate?: Date | null | undefined;
|
|
1698
|
-
isTransfer?: boolean | null | undefined;
|
|
1699
1704
|
targetAccountId?: string | null | undefined;
|
|
1700
1705
|
allowIfDeleted?: boolean | null | undefined;
|
|
1706
|
+
publishingDate?: Date | null | undefined;
|
|
1707
|
+
isTransfer?: boolean | null | undefined;
|
|
1701
1708
|
}, {
|
|
1702
1709
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1703
1710
|
payload?: {
|
|
@@ -1724,10 +1731,10 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1724
1731
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1725
1732
|
} | null | undefined;
|
|
1726
1733
|
} | null | undefined;
|
|
1727
|
-
publishingDate?: Date | null | undefined;
|
|
1728
|
-
isTransfer?: boolean | null | undefined;
|
|
1729
1734
|
targetAccountId?: string | null | undefined;
|
|
1730
1735
|
allowIfDeleted?: boolean | null | undefined;
|
|
1736
|
+
publishingDate?: Date | null | undefined;
|
|
1737
|
+
isTransfer?: boolean | null | undefined;
|
|
1731
1738
|
}>;
|
|
1732
1739
|
type: z.ZodLiteral<"REPUBLISHING">;
|
|
1733
1740
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1758,10 +1765,10 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1758
1765
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1759
1766
|
} | null | undefined;
|
|
1760
1767
|
} | null | undefined;
|
|
1761
|
-
publishingDate?: Date | null | undefined;
|
|
1762
|
-
isTransfer?: boolean | null | undefined;
|
|
1763
1768
|
targetAccountId?: string | null | undefined;
|
|
1764
1769
|
allowIfDeleted?: boolean | null | undefined;
|
|
1770
|
+
publishingDate?: Date | null | undefined;
|
|
1771
|
+
isTransfer?: boolean | null | undefined;
|
|
1765
1772
|
};
|
|
1766
1773
|
}, {
|
|
1767
1774
|
type: "REPUBLISHING";
|
|
@@ -1791,10 +1798,10 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1791
1798
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1792
1799
|
} | null | undefined;
|
|
1793
1800
|
} | null | undefined;
|
|
1794
|
-
publishingDate?: Date | null | undefined;
|
|
1795
|
-
isTransfer?: boolean | null | undefined;
|
|
1796
1801
|
targetAccountId?: string | null | undefined;
|
|
1797
1802
|
allowIfDeleted?: boolean | null | undefined;
|
|
1803
|
+
publishingDate?: Date | null | undefined;
|
|
1804
|
+
isTransfer?: boolean | null | undefined;
|
|
1798
1805
|
};
|
|
1799
1806
|
}>, z.ZodObject<{
|
|
1800
1807
|
data: z.ZodObject<{
|
|
@@ -1808,7 +1815,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1808
1815
|
autoFixable: z.ZodBoolean;
|
|
1809
1816
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1810
1817
|
}, "strip", z.ZodTypeAny, {
|
|
1811
|
-
field: "
|
|
1818
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1812
1819
|
autoFixable: boolean;
|
|
1813
1820
|
error?: string | null | undefined;
|
|
1814
1821
|
}, {
|
|
@@ -1923,9 +1930,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1923
1930
|
} | null | undefined;
|
|
1924
1931
|
}>>>;
|
|
1925
1932
|
}, "strip", z.ZodTypeAny, {
|
|
1926
|
-
maxAttempts: number;
|
|
1927
1933
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1928
1934
|
attemptNumber: number;
|
|
1935
|
+
maxAttempts: number;
|
|
1929
1936
|
previousHistoryId: string;
|
|
1930
1937
|
originalFailureDate: Date;
|
|
1931
1938
|
payload?: {
|
|
@@ -1953,14 +1960,14 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1953
1960
|
} | null | undefined;
|
|
1954
1961
|
} | null | undefined;
|
|
1955
1962
|
fields?: {
|
|
1956
|
-
field: "
|
|
1963
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1957
1964
|
autoFixable: boolean;
|
|
1958
1965
|
error?: string | null | undefined;
|
|
1959
1966
|
}[] | null | undefined;
|
|
1960
1967
|
}, {
|
|
1961
|
-
maxAttempts: number;
|
|
1962
1968
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1963
1969
|
attemptNumber: number;
|
|
1970
|
+
maxAttempts: number;
|
|
1964
1971
|
previousHistoryId: string;
|
|
1965
1972
|
originalFailureDate: Date;
|
|
1966
1973
|
payload?: {
|
|
@@ -1997,9 +2004,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1997
2004
|
}, "strip", z.ZodTypeAny, {
|
|
1998
2005
|
type: "REPUBLISHING_RETRY";
|
|
1999
2006
|
data: {
|
|
2000
|
-
maxAttempts: number;
|
|
2001
2007
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2002
2008
|
attemptNumber: number;
|
|
2009
|
+
maxAttempts: number;
|
|
2003
2010
|
previousHistoryId: string;
|
|
2004
2011
|
originalFailureDate: Date;
|
|
2005
2012
|
payload?: {
|
|
@@ -2027,7 +2034,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2027
2034
|
} | null | undefined;
|
|
2028
2035
|
} | null | undefined;
|
|
2029
2036
|
fields?: {
|
|
2030
|
-
field: "
|
|
2037
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2031
2038
|
autoFixable: boolean;
|
|
2032
2039
|
error?: string | null | undefined;
|
|
2033
2040
|
}[] | null | undefined;
|
|
@@ -2035,9 +2042,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2035
2042
|
}, {
|
|
2036
2043
|
type: "REPUBLISHING_RETRY";
|
|
2037
2044
|
data: {
|
|
2038
|
-
maxAttempts: number;
|
|
2039
2045
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2040
2046
|
attemptNumber: number;
|
|
2047
|
+
maxAttempts: number;
|
|
2041
2048
|
previousHistoryId: string;
|
|
2042
2049
|
originalFailureDate: Date;
|
|
2043
2050
|
payload?: {
|
|
@@ -2106,7 +2113,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2106
2113
|
autoFixable: z.ZodBoolean;
|
|
2107
2114
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2108
2115
|
}, "strip", z.ZodTypeAny, {
|
|
2109
|
-
field: "
|
|
2116
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2110
2117
|
autoFixable: boolean;
|
|
2111
2118
|
error?: string | null | undefined;
|
|
2112
2119
|
}, {
|
|
@@ -2115,20 +2122,20 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2115
2122
|
error?: string | null | undefined;
|
|
2116
2123
|
}>, "many">>>;
|
|
2117
2124
|
}, "strip", z.ZodTypeAny, {
|
|
2118
|
-
maxAttempts: number;
|
|
2119
2125
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2120
2126
|
attemptNumber: number;
|
|
2127
|
+
maxAttempts: number;
|
|
2121
2128
|
previousHistoryId: string;
|
|
2122
2129
|
originalFailureDate: Date;
|
|
2123
2130
|
fields?: {
|
|
2124
|
-
field: "
|
|
2131
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2125
2132
|
autoFixable: boolean;
|
|
2126
2133
|
error?: string | null | undefined;
|
|
2127
2134
|
}[] | null | undefined;
|
|
2128
2135
|
}, {
|
|
2129
|
-
maxAttempts: number;
|
|
2130
2136
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2131
2137
|
attemptNumber: number;
|
|
2138
|
+
maxAttempts: number;
|
|
2132
2139
|
previousHistoryId: string;
|
|
2133
2140
|
originalFailureDate: Date;
|
|
2134
2141
|
fields?: {
|
|
@@ -2141,13 +2148,13 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2141
2148
|
}, "strip", z.ZodTypeAny, {
|
|
2142
2149
|
type: "SCHEDULED_RETRY";
|
|
2143
2150
|
data: {
|
|
2144
|
-
maxAttempts: number;
|
|
2145
2151
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2146
2152
|
attemptNumber: number;
|
|
2153
|
+
maxAttempts: number;
|
|
2147
2154
|
previousHistoryId: string;
|
|
2148
2155
|
originalFailureDate: Date;
|
|
2149
2156
|
fields?: {
|
|
2150
|
-
field: "
|
|
2157
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2151
2158
|
autoFixable: boolean;
|
|
2152
2159
|
error?: string | null | undefined;
|
|
2153
2160
|
}[] | null | undefined;
|
|
@@ -2155,9 +2162,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2155
2162
|
}, {
|
|
2156
2163
|
type: "SCHEDULED_RETRY";
|
|
2157
2164
|
data: {
|
|
2158
|
-
maxAttempts: number;
|
|
2159
2165
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2160
2166
|
attemptNumber: number;
|
|
2167
|
+
maxAttempts: number;
|
|
2161
2168
|
previousHistoryId: string;
|
|
2162
2169
|
originalFailureDate: Date;
|
|
2163
2170
|
fields?: {
|
|
@@ -2314,11 +2321,12 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2314
2321
|
id: string;
|
|
2315
2322
|
createdAt: Date;
|
|
2316
2323
|
itemId: number;
|
|
2324
|
+
accountId?: string | null | undefined;
|
|
2317
2325
|
data?: {
|
|
2318
2326
|
type: "ACTION_CANCELED";
|
|
2319
2327
|
data: {
|
|
2320
2328
|
targetItemHistoryId: string;
|
|
2321
|
-
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | null | undefined;
|
|
2329
|
+
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | "LISTING_BOOSTED" | "LISTING_SOLD_ON_PLATFORM" | null | undefined;
|
|
2322
2330
|
details?: string | null | undefined;
|
|
2323
2331
|
};
|
|
2324
2332
|
} | {
|
|
@@ -2349,7 +2357,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2349
2357
|
accountId?: string | null | undefined;
|
|
2350
2358
|
reason?: string | null | undefined;
|
|
2351
2359
|
fields?: {
|
|
2352
|
-
field: "
|
|
2360
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2353
2361
|
autoFixable: boolean;
|
|
2354
2362
|
error?: string | null | undefined;
|
|
2355
2363
|
}[] | null | undefined;
|
|
@@ -2379,23 +2387,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2379
2387
|
post: {
|
|
2380
2388
|
platformId: string;
|
|
2381
2389
|
post: {
|
|
2390
|
+
size?: string | null | undefined;
|
|
2382
2391
|
status?: string | null | undefined;
|
|
2383
2392
|
title?: string | null | undefined;
|
|
2384
2393
|
description?: string | null | undefined;
|
|
2385
|
-
brand?: string | null | undefined;
|
|
2386
|
-
statusId?: number | null | undefined;
|
|
2387
|
-
sizeId?: number | null | undefined;
|
|
2388
|
-
colorIds?: number[] | null | undefined;
|
|
2389
|
-
packageSizeId?: number | null | undefined;
|
|
2390
2394
|
price?: number | null | undefined;
|
|
2391
2395
|
currency?: string | null | undefined;
|
|
2396
|
+
brand?: string | null | undefined;
|
|
2392
2397
|
catalog?: string | null | undefined;
|
|
2393
2398
|
catalogId?: number | null | undefined;
|
|
2394
2399
|
colors?: string[] | null | undefined;
|
|
2400
|
+
colorIds?: number[] | null | undefined;
|
|
2395
2401
|
measurementLength?: number | null | undefined;
|
|
2396
2402
|
measurementWidth?: number | null | undefined;
|
|
2403
|
+
packageSizeId?: number | null | undefined;
|
|
2397
2404
|
photoUrls?: string[] | null | undefined;
|
|
2398
|
-
|
|
2405
|
+
sizeId?: number | null | undefined;
|
|
2406
|
+
statusId?: number | null | undefined;
|
|
2399
2407
|
isDraft?: boolean | null | undefined;
|
|
2400
2408
|
isArchived?: boolean | null | undefined;
|
|
2401
2409
|
isUnisex?: boolean | null | undefined;
|
|
@@ -2438,8 +2446,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2438
2446
|
} | {
|
|
2439
2447
|
type: "LIFECYCLE_STARTED";
|
|
2440
2448
|
data: {
|
|
2441
|
-
caseId: string;
|
|
2442
2449
|
accountId: string;
|
|
2450
|
+
caseId: string;
|
|
2443
2451
|
isRepeat?: boolean | null | undefined;
|
|
2444
2452
|
};
|
|
2445
2453
|
} | {
|
|
@@ -2478,17 +2486,17 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2478
2486
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
2479
2487
|
} | null | undefined;
|
|
2480
2488
|
} | null | undefined;
|
|
2481
|
-
publishingDate?: Date | null | undefined;
|
|
2482
|
-
isTransfer?: boolean | null | undefined;
|
|
2483
2489
|
targetAccountId?: string | null | undefined;
|
|
2484
2490
|
allowIfDeleted?: boolean | null | undefined;
|
|
2491
|
+
publishingDate?: Date | null | undefined;
|
|
2492
|
+
isTransfer?: boolean | null | undefined;
|
|
2485
2493
|
};
|
|
2486
2494
|
} | {
|
|
2487
2495
|
type: "REPUBLISHING_RETRY";
|
|
2488
2496
|
data: {
|
|
2489
|
-
maxAttempts: number;
|
|
2490
2497
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2491
2498
|
attemptNumber: number;
|
|
2499
|
+
maxAttempts: number;
|
|
2492
2500
|
previousHistoryId: string;
|
|
2493
2501
|
originalFailureDate: Date;
|
|
2494
2502
|
payload?: {
|
|
@@ -2516,7 +2524,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2516
2524
|
} | null | undefined;
|
|
2517
2525
|
} | null | undefined;
|
|
2518
2526
|
fields?: {
|
|
2519
|
-
field: "
|
|
2527
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2520
2528
|
autoFixable: boolean;
|
|
2521
2529
|
error?: string | null | undefined;
|
|
2522
2530
|
}[] | null | undefined;
|
|
@@ -2530,13 +2538,13 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2530
2538
|
} | {
|
|
2531
2539
|
type: "SCHEDULED_RETRY";
|
|
2532
2540
|
data: {
|
|
2533
|
-
maxAttempts: number;
|
|
2534
2541
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2535
2542
|
attemptNumber: number;
|
|
2543
|
+
maxAttempts: number;
|
|
2536
2544
|
previousHistoryId: string;
|
|
2537
2545
|
originalFailureDate: Date;
|
|
2538
2546
|
fields?: {
|
|
2539
|
-
field: "
|
|
2547
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2540
2548
|
autoFixable: boolean;
|
|
2541
2549
|
error?: string | null | undefined;
|
|
2542
2550
|
}[] | null | undefined;
|
|
@@ -2565,7 +2573,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2565
2573
|
targetDate?: Date | null | undefined;
|
|
2566
2574
|
};
|
|
2567
2575
|
} | null | undefined;
|
|
2568
|
-
accountId?: string | null | undefined;
|
|
2569
2576
|
targetDate?: Date | null | undefined;
|
|
2570
2577
|
requestId?: string | null | undefined;
|
|
2571
2578
|
targetHistoryId?: string | null | undefined;
|
|
@@ -2574,6 +2581,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2574
2581
|
createdAt: Date;
|
|
2575
2582
|
itemId: number;
|
|
2576
2583
|
type?: unknown;
|
|
2584
|
+
accountId?: string | null | undefined;
|
|
2577
2585
|
data?: {
|
|
2578
2586
|
type: "ACTION_CANCELED";
|
|
2579
2587
|
data: {
|
|
@@ -2639,23 +2647,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2639
2647
|
post: {
|
|
2640
2648
|
platformId: string;
|
|
2641
2649
|
post: {
|
|
2650
|
+
size?: string | null | undefined;
|
|
2642
2651
|
status?: string | null | undefined;
|
|
2643
2652
|
title?: string | null | undefined;
|
|
2644
2653
|
description?: string | null | undefined;
|
|
2645
|
-
brand?: string | null | undefined;
|
|
2646
|
-
statusId?: number | null | undefined;
|
|
2647
|
-
sizeId?: number | null | undefined;
|
|
2648
|
-
colorIds?: number[] | null | undefined;
|
|
2649
|
-
packageSizeId?: number | null | undefined;
|
|
2650
2654
|
price?: number | null | undefined;
|
|
2651
2655
|
currency?: string | null | undefined;
|
|
2656
|
+
brand?: string | null | undefined;
|
|
2652
2657
|
catalog?: string | null | undefined;
|
|
2653
2658
|
catalogId?: number | null | undefined;
|
|
2654
2659
|
colors?: string[] | null | undefined;
|
|
2660
|
+
colorIds?: number[] | null | undefined;
|
|
2655
2661
|
measurementLength?: number | null | undefined;
|
|
2656
2662
|
measurementWidth?: number | null | undefined;
|
|
2663
|
+
packageSizeId?: number | null | undefined;
|
|
2657
2664
|
photoUrls?: string[] | null | undefined;
|
|
2658
|
-
|
|
2665
|
+
sizeId?: number | null | undefined;
|
|
2666
|
+
statusId?: number | null | undefined;
|
|
2659
2667
|
isDraft?: boolean | null | undefined;
|
|
2660
2668
|
isArchived?: boolean | null | undefined;
|
|
2661
2669
|
isUnisex?: boolean | null | undefined;
|
|
@@ -2698,8 +2706,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2698
2706
|
} | {
|
|
2699
2707
|
type: "LIFECYCLE_STARTED";
|
|
2700
2708
|
data: {
|
|
2701
|
-
caseId: string;
|
|
2702
2709
|
accountId: string;
|
|
2710
|
+
caseId: string;
|
|
2703
2711
|
isRepeat?: boolean | null | undefined;
|
|
2704
2712
|
};
|
|
2705
2713
|
} | {
|
|
@@ -2738,17 +2746,17 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2738
2746
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
2739
2747
|
} | null | undefined;
|
|
2740
2748
|
} | null | undefined;
|
|
2741
|
-
publishingDate?: Date | null | undefined;
|
|
2742
|
-
isTransfer?: boolean | null | undefined;
|
|
2743
2749
|
targetAccountId?: string | null | undefined;
|
|
2744
2750
|
allowIfDeleted?: boolean | null | undefined;
|
|
2751
|
+
publishingDate?: Date | null | undefined;
|
|
2752
|
+
isTransfer?: boolean | null | undefined;
|
|
2745
2753
|
};
|
|
2746
2754
|
} | {
|
|
2747
2755
|
type: "REPUBLISHING_RETRY";
|
|
2748
2756
|
data: {
|
|
2749
|
-
maxAttempts: number;
|
|
2750
2757
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2751
2758
|
attemptNumber: number;
|
|
2759
|
+
maxAttempts: number;
|
|
2752
2760
|
previousHistoryId: string;
|
|
2753
2761
|
originalFailureDate: Date;
|
|
2754
2762
|
payload?: {
|
|
@@ -2790,9 +2798,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2790
2798
|
} | {
|
|
2791
2799
|
type: "SCHEDULED_RETRY";
|
|
2792
2800
|
data: {
|
|
2793
|
-
maxAttempts: number;
|
|
2794
2801
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2795
2802
|
attemptNumber: number;
|
|
2803
|
+
maxAttempts: number;
|
|
2796
2804
|
previousHistoryId: string;
|
|
2797
2805
|
originalFailureDate: Date;
|
|
2798
2806
|
fields?: {
|
|
@@ -2825,7 +2833,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2825
2833
|
targetDate?: Date | null | undefined;
|
|
2826
2834
|
};
|
|
2827
2835
|
} | null | undefined;
|
|
2828
|
-
accountId?: string | null | undefined;
|
|
2829
2836
|
targetDate?: Date | null | undefined;
|
|
2830
2837
|
requestId?: string | null | undefined;
|
|
2831
2838
|
targetHistoryId?: string | null | undefined;
|
|
@@ -2875,15 +2882,15 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2875
2882
|
}, "strip", z.ZodTypeAny, {
|
|
2876
2883
|
path: string;
|
|
2877
2884
|
id: string;
|
|
2878
|
-
createdAt: Date;
|
|
2879
2885
|
userId: number;
|
|
2886
|
+
createdAt: Date;
|
|
2880
2887
|
signedUrl: string;
|
|
2881
2888
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2882
2889
|
}, {
|
|
2883
2890
|
path: string;
|
|
2884
2891
|
id: string;
|
|
2885
|
-
createdAt: Date;
|
|
2886
2892
|
userId: number;
|
|
2893
|
+
createdAt: Date;
|
|
2887
2894
|
signedUrl: string;
|
|
2888
2895
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2889
2896
|
}>>>;
|
|
@@ -2894,9 +2901,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2894
2901
|
phoneNumberRequiredAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2895
2902
|
}, "strip", z.ZodTypeAny, {
|
|
2896
2903
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
2897
|
-
name: string;
|
|
2898
|
-
userId: number;
|
|
2899
2904
|
accountId: string;
|
|
2905
|
+
userId: number;
|
|
2906
|
+
name: string;
|
|
2900
2907
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2901
2908
|
locale?: string | null | undefined;
|
|
2902
2909
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -2915,8 +2922,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2915
2922
|
profilePicture?: {
|
|
2916
2923
|
path: string;
|
|
2917
2924
|
id: string;
|
|
2918
|
-
createdAt: Date;
|
|
2919
2925
|
userId: number;
|
|
2926
|
+
createdAt: Date;
|
|
2920
2927
|
signedUrl: string;
|
|
2921
2928
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2922
2929
|
} | null | undefined;
|
|
@@ -2924,9 +2931,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2924
2931
|
walletActivationRequiredAt?: Date | null | undefined;
|
|
2925
2932
|
phoneNumberRequiredAt?: Date | null | undefined;
|
|
2926
2933
|
}, {
|
|
2927
|
-
name: string;
|
|
2928
|
-
userId: number;
|
|
2929
2934
|
accountId: string;
|
|
2935
|
+
userId: number;
|
|
2936
|
+
name: string;
|
|
2930
2937
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2931
2938
|
status?: unknown;
|
|
2932
2939
|
locale?: string | null | undefined;
|
|
@@ -2946,8 +2953,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2946
2953
|
profilePicture?: {
|
|
2947
2954
|
path: string;
|
|
2948
2955
|
id: string;
|
|
2949
|
-
createdAt: Date;
|
|
2950
2956
|
userId: number;
|
|
2957
|
+
createdAt: Date;
|
|
2951
2958
|
signedUrl: string;
|
|
2952
2959
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2953
2960
|
} | null | undefined;
|
|
@@ -2962,11 +2969,12 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2962
2969
|
boostedUntil: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2963
2970
|
orderStatus: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["PAYMENT_VALIDATED", "ORDER_CANCELED", "SHIPPING_LABEL_SENT_TO_SELLER", "ORDER_SHIPPED", "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT", "ORDER_RECEIVED", "ORDER_FINALIZED", "RETURN_INITIATED", "REFUND_IN_PROGRESS", "REFUND_DONE", "ORDER_CANCELED_ITEM_UNAVAILABLE", "ORDER_CANCELED_BY_VINTED", "ORDER_DISPUTE_STARTED", "ORDER_CANCELED_DUE_TO_LATE_SHIPPING", "SHIPPING_LABEL_ORDERED", "FAILED_TO_ORDER_SHIPPING_LABEL", "ORDER_RETURNED_TO_SENDER", "PAYMENT_FAILED", "ORDER_SUSPENDED", "SHIPPING_TO_VERIFICATION_CENTER", "RECEIVED_AT_VERIFICATION_CENTER", "PAYMENT_IN_PROGRESS", "SENT_TO_VERIFICATION_CENTER", "SHIPPING_FROM_VERIFICATION_CENTER", "VERIFICATION_FAILED", "ORDER_DISPUTE_RESOLVED", "UNKNOWN"]>>>>;
|
|
2964
2971
|
orderType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PURCHASE", "SALE"]>>>;
|
|
2972
|
+
isBoosted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2965
2973
|
}, "strip", z.ZodTypeAny, {
|
|
2966
2974
|
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
2967
2975
|
id: string;
|
|
2968
|
-
createdAt: Date;
|
|
2969
2976
|
accountId: string;
|
|
2977
|
+
createdAt: Date;
|
|
2970
2978
|
itemId: number;
|
|
2971
2979
|
platformId: string;
|
|
2972
2980
|
platformUrl: string;
|
|
@@ -2980,9 +2988,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2980
2988
|
favoritesCount?: number | null | undefined;
|
|
2981
2989
|
account?: {
|
|
2982
2990
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
2983
|
-
name: string;
|
|
2984
|
-
userId: number;
|
|
2985
2991
|
accountId: string;
|
|
2992
|
+
userId: number;
|
|
2993
|
+
name: string;
|
|
2986
2994
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2987
2995
|
locale?: string | null | undefined;
|
|
2988
2996
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -3001,8 +3009,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3001
3009
|
profilePicture?: {
|
|
3002
3010
|
path: string;
|
|
3003
3011
|
id: string;
|
|
3004
|
-
createdAt: Date;
|
|
3005
3012
|
userId: number;
|
|
3013
|
+
createdAt: Date;
|
|
3006
3014
|
signedUrl: string;
|
|
3007
3015
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3008
3016
|
} | null | undefined;
|
|
@@ -3012,10 +3020,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3012
3020
|
} | null | undefined;
|
|
3013
3021
|
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;
|
|
3014
3022
|
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
3023
|
+
isBoosted?: boolean | null | undefined;
|
|
3015
3024
|
}, {
|
|
3016
3025
|
id: string;
|
|
3017
|
-
createdAt: Date;
|
|
3018
3026
|
accountId: string;
|
|
3027
|
+
createdAt: Date;
|
|
3019
3028
|
itemId: number;
|
|
3020
3029
|
platformId: string;
|
|
3021
3030
|
platformUrl: string;
|
|
@@ -3029,9 +3038,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3029
3038
|
viewsCount?: number | null | undefined;
|
|
3030
3039
|
favoritesCount?: number | null | undefined;
|
|
3031
3040
|
account?: {
|
|
3032
|
-
name: string;
|
|
3033
|
-
userId: number;
|
|
3034
3041
|
accountId: string;
|
|
3042
|
+
userId: number;
|
|
3043
|
+
name: string;
|
|
3035
3044
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3036
3045
|
status?: unknown;
|
|
3037
3046
|
locale?: string | null | undefined;
|
|
@@ -3051,8 +3060,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3051
3060
|
profilePicture?: {
|
|
3052
3061
|
path: string;
|
|
3053
3062
|
id: string;
|
|
3054
|
-
createdAt: Date;
|
|
3055
3063
|
userId: number;
|
|
3064
|
+
createdAt: Date;
|
|
3056
3065
|
signedUrl: string;
|
|
3057
3066
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3058
3067
|
} | null | undefined;
|
|
@@ -3062,11 +3071,12 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3062
3071
|
} | null | undefined;
|
|
3063
3072
|
orderStatus?: unknown;
|
|
3064
3073
|
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
3074
|
+
isBoosted?: boolean | null | undefined;
|
|
3065
3075
|
}>, "many">>>;
|
|
3066
3076
|
actions: z.ZodObject<{
|
|
3067
3077
|
perAccount: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodCatch<z.ZodEnum<["PUBLISH", "PUBLISH_CANCEL", "REPUBLISH", "REPUBLISH_CANCEL", "UPDATE", "UPDATE_CANCEL", "BOOST", "UNKNOWN"]>>, "many">>;
|
|
3068
3078
|
}, "strip", z.ZodTypeAny, {
|
|
3069
|
-
perAccount: Record<string, ("
|
|
3079
|
+
perAccount: Record<string, ("PUBLISH" | "REPUBLISH" | "UPDATE" | "UNKNOWN" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE_CANCEL" | "BOOST")[]>;
|
|
3070
3080
|
}, {
|
|
3071
3081
|
perAccount: Record<string, unknown[]>;
|
|
3072
3082
|
}>;
|
|
@@ -3091,15 +3101,15 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3091
3101
|
}, "strip", z.ZodTypeAny, {
|
|
3092
3102
|
path: string;
|
|
3093
3103
|
id: string;
|
|
3094
|
-
createdAt: Date;
|
|
3095
3104
|
userId: number;
|
|
3105
|
+
createdAt: Date;
|
|
3096
3106
|
signedUrl: string;
|
|
3097
3107
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3098
3108
|
}, {
|
|
3099
3109
|
path: string;
|
|
3100
3110
|
id: string;
|
|
3101
|
-
createdAt: Date;
|
|
3102
3111
|
userId: number;
|
|
3112
|
+
createdAt: Date;
|
|
3103
3113
|
signedUrl: string;
|
|
3104
3114
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3105
3115
|
}>>>;
|
|
@@ -3113,15 +3123,15 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3113
3123
|
}, "strip", z.ZodTypeAny, {
|
|
3114
3124
|
path: string;
|
|
3115
3125
|
id: string;
|
|
3116
|
-
createdAt: Date;
|
|
3117
3126
|
userId: number;
|
|
3127
|
+
createdAt: Date;
|
|
3118
3128
|
signedUrl: string;
|
|
3119
3129
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3120
3130
|
}, {
|
|
3121
3131
|
path: string;
|
|
3122
3132
|
id: string;
|
|
3123
|
-
createdAt: Date;
|
|
3124
3133
|
userId: number;
|
|
3134
|
+
createdAt: Date;
|
|
3125
3135
|
signedUrl: string;
|
|
3126
3136
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3127
3137
|
}>>>;
|
|
@@ -3135,81 +3145,81 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3135
3145
|
}, "strip", z.ZodTypeAny, {
|
|
3136
3146
|
path: string;
|
|
3137
3147
|
id: string;
|
|
3138
|
-
createdAt: Date;
|
|
3139
3148
|
userId: number;
|
|
3149
|
+
createdAt: Date;
|
|
3140
3150
|
signedUrl: string;
|
|
3141
3151
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3142
3152
|
}, {
|
|
3143
3153
|
path: string;
|
|
3144
3154
|
id: string;
|
|
3145
|
-
createdAt: Date;
|
|
3146
3155
|
userId: number;
|
|
3156
|
+
createdAt: Date;
|
|
3147
3157
|
signedUrl: string;
|
|
3148
3158
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3149
3159
|
}>>>;
|
|
3150
3160
|
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"]>>>>;
|
|
3151
3161
|
}, "strip", z.ZodTypeAny, {
|
|
3152
3162
|
id: string;
|
|
3153
|
-
fileId: string;
|
|
3154
3163
|
orderId: string;
|
|
3164
|
+
fileId: string;
|
|
3155
3165
|
nonCroppedFileId: string;
|
|
3156
3166
|
originalFileId: string;
|
|
3157
|
-
|
|
3167
|
+
file?: {
|
|
3158
3168
|
path: string;
|
|
3159
3169
|
id: string;
|
|
3160
|
-
createdAt: Date;
|
|
3161
3170
|
userId: number;
|
|
3171
|
+
createdAt: Date;
|
|
3162
3172
|
signedUrl: string;
|
|
3163
3173
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3164
3174
|
} | null | undefined;
|
|
3165
|
-
|
|
3166
|
-
file?: {
|
|
3175
|
+
nonCroppedFile?: {
|
|
3167
3176
|
path: string;
|
|
3168
3177
|
id: string;
|
|
3169
|
-
createdAt: Date;
|
|
3170
3178
|
userId: number;
|
|
3179
|
+
createdAt: Date;
|
|
3171
3180
|
signedUrl: string;
|
|
3172
3181
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3173
3182
|
} | null | undefined;
|
|
3174
|
-
|
|
3183
|
+
originalFile?: {
|
|
3175
3184
|
path: string;
|
|
3176
3185
|
id: string;
|
|
3177
|
-
createdAt: Date;
|
|
3178
3186
|
userId: number;
|
|
3187
|
+
createdAt: Date;
|
|
3179
3188
|
signedUrl: string;
|
|
3180
3189
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3181
3190
|
} | null | undefined;
|
|
3191
|
+
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;
|
|
3182
3192
|
}, {
|
|
3183
3193
|
id: string;
|
|
3184
|
-
fileId: string;
|
|
3185
3194
|
orderId: string;
|
|
3195
|
+
fileId: string;
|
|
3186
3196
|
nonCroppedFileId: string;
|
|
3187
3197
|
originalFileId: string;
|
|
3188
|
-
|
|
3198
|
+
file?: {
|
|
3189
3199
|
path: string;
|
|
3190
3200
|
id: string;
|
|
3191
|
-
createdAt: Date;
|
|
3192
3201
|
userId: number;
|
|
3202
|
+
createdAt: Date;
|
|
3193
3203
|
signedUrl: string;
|
|
3194
3204
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3195
3205
|
} | null | undefined;
|
|
3196
|
-
|
|
3197
|
-
file?: {
|
|
3206
|
+
nonCroppedFile?: {
|
|
3198
3207
|
path: string;
|
|
3199
3208
|
id: string;
|
|
3200
|
-
createdAt: Date;
|
|
3201
3209
|
userId: number;
|
|
3210
|
+
createdAt: Date;
|
|
3202
3211
|
signedUrl: string;
|
|
3203
3212
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3204
3213
|
} | null | undefined;
|
|
3205
|
-
|
|
3214
|
+
originalFile?: {
|
|
3206
3215
|
path: string;
|
|
3207
3216
|
id: string;
|
|
3208
|
-
createdAt: Date;
|
|
3209
3217
|
userId: number;
|
|
3218
|
+
createdAt: Date;
|
|
3210
3219
|
signedUrl: string;
|
|
3211
3220
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3212
3221
|
} | null | undefined;
|
|
3222
|
+
carrier?: unknown;
|
|
3213
3223
|
}>, "many">>>;
|
|
3214
3224
|
invoices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
3215
3225
|
id: z.ZodString;
|
|
@@ -3236,15 +3246,15 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3236
3246
|
}, "strip", z.ZodTypeAny, {
|
|
3237
3247
|
path: string;
|
|
3238
3248
|
id: string;
|
|
3239
|
-
createdAt: Date;
|
|
3240
3249
|
userId: number;
|
|
3250
|
+
createdAt: Date;
|
|
3241
3251
|
signedUrl: string;
|
|
3242
3252
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3243
3253
|
}, {
|
|
3244
3254
|
path: string;
|
|
3245
3255
|
id: string;
|
|
3246
|
-
createdAt: Date;
|
|
3247
3256
|
userId: number;
|
|
3257
|
+
createdAt: Date;
|
|
3248
3258
|
signedUrl: string;
|
|
3249
3259
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3250
3260
|
}>>>;
|
|
@@ -3253,8 +3263,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3253
3263
|
updatedAt: z.ZodDate;
|
|
3254
3264
|
}, "strip", z.ZodTypeAny, {
|
|
3255
3265
|
id: string;
|
|
3256
|
-
createdAt: Date;
|
|
3257
3266
|
userId: number;
|
|
3267
|
+
createdAt: Date;
|
|
3258
3268
|
updatedAt: Date;
|
|
3259
3269
|
businessName: string;
|
|
3260
3270
|
address: string;
|
|
@@ -3267,15 +3277,15 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3267
3277
|
logo?: {
|
|
3268
3278
|
path: string;
|
|
3269
3279
|
id: string;
|
|
3270
|
-
createdAt: Date;
|
|
3271
3280
|
userId: number;
|
|
3281
|
+
createdAt: Date;
|
|
3272
3282
|
signedUrl: string;
|
|
3273
3283
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3274
3284
|
} | null | undefined;
|
|
3275
3285
|
}, {
|
|
3276
3286
|
id: string;
|
|
3277
|
-
createdAt: Date;
|
|
3278
3287
|
userId: number;
|
|
3288
|
+
createdAt: Date;
|
|
3279
3289
|
updatedAt: Date;
|
|
3280
3290
|
businessName: string;
|
|
3281
3291
|
address: string;
|
|
@@ -3288,8 +3298,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3288
3298
|
logo?: {
|
|
3289
3299
|
path: string;
|
|
3290
3300
|
id: string;
|
|
3291
|
-
createdAt: Date;
|
|
3292
3301
|
userId: number;
|
|
3302
|
+
createdAt: Date;
|
|
3293
3303
|
signedUrl: string;
|
|
3294
3304
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3295
3305
|
} | null | undefined;
|
|
@@ -3318,34 +3328,34 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3318
3328
|
firstName: string;
|
|
3319
3329
|
lastName: string;
|
|
3320
3330
|
phoneVerified: boolean;
|
|
3321
|
-
|
|
3331
|
+
postalCode?: string | null | undefined;
|
|
3332
|
+
city?: string | null | undefined;
|
|
3333
|
+
country?: string | null | undefined;
|
|
3322
3334
|
email?: string | null | undefined;
|
|
3335
|
+
addressLine1?: string | null | undefined;
|
|
3336
|
+
addressLine2?: string | null | undefined;
|
|
3337
|
+
birthDate?: Date | null | undefined;
|
|
3323
3338
|
idNumber?: string | null | undefined;
|
|
3324
3339
|
phone?: string | null | undefined;
|
|
3325
3340
|
iban?: string | null | undefined;
|
|
3326
3341
|
bic?: string | null | undefined;
|
|
3327
|
-
addressLine1?: string | null | undefined;
|
|
3328
|
-
addressLine2?: string | null | undefined;
|
|
3329
|
-
city?: string | null | undefined;
|
|
3330
|
-
postalCode?: string | null | undefined;
|
|
3331
|
-
country?: string | null | undefined;
|
|
3332
3342
|
}, {
|
|
3333
3343
|
id: string;
|
|
3334
3344
|
userId: number;
|
|
3335
3345
|
firstName: string;
|
|
3336
3346
|
lastName: string;
|
|
3337
3347
|
phoneVerified: boolean;
|
|
3338
|
-
|
|
3348
|
+
postalCode?: string | null | undefined;
|
|
3349
|
+
city?: string | null | undefined;
|
|
3350
|
+
country?: string | null | undefined;
|
|
3339
3351
|
email?: string | null | undefined;
|
|
3352
|
+
addressLine1?: string | null | undefined;
|
|
3353
|
+
addressLine2?: string | null | undefined;
|
|
3354
|
+
birthDate?: Date | null | undefined;
|
|
3340
3355
|
idNumber?: string | null | undefined;
|
|
3341
3356
|
phone?: string | null | undefined;
|
|
3342
3357
|
iban?: string | null | undefined;
|
|
3343
3358
|
bic?: string | null | undefined;
|
|
3344
|
-
addressLine1?: string | null | undefined;
|
|
3345
|
-
addressLine2?: string | null | undefined;
|
|
3346
|
-
city?: string | null | undefined;
|
|
3347
|
-
postalCode?: string | null | undefined;
|
|
3348
|
-
country?: string | null | undefined;
|
|
3349
3359
|
}>>>;
|
|
3350
3360
|
orderId: z.ZodString;
|
|
3351
3361
|
fileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3359,15 +3369,15 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3359
3369
|
}, "strip", z.ZodTypeAny, {
|
|
3360
3370
|
path: string;
|
|
3361
3371
|
id: string;
|
|
3362
|
-
createdAt: Date;
|
|
3363
3372
|
userId: number;
|
|
3373
|
+
createdAt: Date;
|
|
3364
3374
|
signedUrl: string;
|
|
3365
3375
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3366
3376
|
}, {
|
|
3367
3377
|
path: string;
|
|
3368
3378
|
id: string;
|
|
3369
|
-
createdAt: Date;
|
|
3370
3379
|
userId: number;
|
|
3380
|
+
createdAt: Date;
|
|
3371
3381
|
signedUrl: string;
|
|
3372
3382
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3373
3383
|
}>>>;
|
|
@@ -3392,21 +3402,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3392
3402
|
total: z.ZodNumber;
|
|
3393
3403
|
createdAt: z.ZodDate;
|
|
3394
3404
|
}, "strip", z.ZodTypeAny, {
|
|
3395
|
-
|
|
3405
|
+
quantity: number;
|
|
3396
3406
|
id: number;
|
|
3407
|
+
description: string;
|
|
3397
3408
|
createdAt: Date;
|
|
3398
3409
|
invoiceId: string;
|
|
3399
|
-
quantity: number;
|
|
3400
3410
|
unitPrice: number;
|
|
3401
3411
|
total: number;
|
|
3402
3412
|
itemOnPlatformId?: string | null | undefined;
|
|
3403
3413
|
vatRate?: number | null | undefined;
|
|
3404
3414
|
}, {
|
|
3405
|
-
|
|
3415
|
+
quantity: number;
|
|
3406
3416
|
id: number;
|
|
3417
|
+
description: string;
|
|
3407
3418
|
createdAt: Date;
|
|
3408
3419
|
invoiceId: string;
|
|
3409
|
-
quantity: number;
|
|
3410
3420
|
unitPrice: number;
|
|
3411
3421
|
total: number;
|
|
3412
3422
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3418,8 +3428,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3418
3428
|
type: "SALE" | "PURCHASE";
|
|
3419
3429
|
status: string;
|
|
3420
3430
|
id: string;
|
|
3421
|
-
createdAt: Date;
|
|
3422
3431
|
userId: number;
|
|
3432
|
+
createdAt: Date;
|
|
3423
3433
|
currency: string;
|
|
3424
3434
|
orderId: string;
|
|
3425
3435
|
updatedAt: Date;
|
|
@@ -3428,21 +3438,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3428
3438
|
businessProfileId: string;
|
|
3429
3439
|
issueDate: Date;
|
|
3430
3440
|
subtotal: number;
|
|
3431
|
-
fileId?: string | null | undefined;
|
|
3432
3441
|
vatAmount?: number | null | undefined;
|
|
3442
|
+
fileId?: string | null | undefined;
|
|
3433
3443
|
file?: {
|
|
3434
3444
|
path: string;
|
|
3435
3445
|
id: string;
|
|
3436
|
-
createdAt: Date;
|
|
3437
3446
|
userId: number;
|
|
3447
|
+
createdAt: Date;
|
|
3438
3448
|
signedUrl: string;
|
|
3439
3449
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3440
3450
|
} | null | undefined;
|
|
3441
3451
|
vatRate?: number | null | undefined;
|
|
3442
3452
|
businessProfile?: {
|
|
3443
3453
|
id: string;
|
|
3444
|
-
createdAt: Date;
|
|
3445
3454
|
userId: number;
|
|
3455
|
+
createdAt: Date;
|
|
3446
3456
|
updatedAt: Date;
|
|
3447
3457
|
businessName: string;
|
|
3448
3458
|
address: string;
|
|
@@ -3455,8 +3465,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3455
3465
|
logo?: {
|
|
3456
3466
|
path: string;
|
|
3457
3467
|
id: string;
|
|
3458
|
-
createdAt: Date;
|
|
3459
3468
|
userId: number;
|
|
3469
|
+
createdAt: Date;
|
|
3460
3470
|
signedUrl: string;
|
|
3461
3471
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3462
3472
|
} | null | undefined;
|
|
@@ -3468,26 +3478,26 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3468
3478
|
firstName: string;
|
|
3469
3479
|
lastName: string;
|
|
3470
3480
|
phoneVerified: boolean;
|
|
3471
|
-
|
|
3481
|
+
postalCode?: string | null | undefined;
|
|
3482
|
+
city?: string | null | undefined;
|
|
3483
|
+
country?: string | null | undefined;
|
|
3472
3484
|
email?: string | null | undefined;
|
|
3485
|
+
addressLine1?: string | null | undefined;
|
|
3486
|
+
addressLine2?: string | null | undefined;
|
|
3487
|
+
birthDate?: Date | null | undefined;
|
|
3473
3488
|
idNumber?: string | null | undefined;
|
|
3474
3489
|
phone?: string | null | undefined;
|
|
3475
3490
|
iban?: string | null | undefined;
|
|
3476
3491
|
bic?: string | null | undefined;
|
|
3477
|
-
addressLine1?: string | null | undefined;
|
|
3478
|
-
addressLine2?: string | null | undefined;
|
|
3479
|
-
city?: string | null | undefined;
|
|
3480
|
-
postalCode?: string | null | undefined;
|
|
3481
|
-
country?: string | null | undefined;
|
|
3482
3492
|
} | null | undefined;
|
|
3483
3493
|
dueDate?: Date | null | undefined;
|
|
3484
3494
|
notes?: string | null | undefined;
|
|
3485
3495
|
lineItems?: {
|
|
3486
|
-
|
|
3496
|
+
quantity: number;
|
|
3487
3497
|
id: number;
|
|
3498
|
+
description: string;
|
|
3488
3499
|
createdAt: Date;
|
|
3489
3500
|
invoiceId: string;
|
|
3490
|
-
quantity: number;
|
|
3491
3501
|
unitPrice: number;
|
|
3492
3502
|
total: number;
|
|
3493
3503
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3497,8 +3507,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3497
3507
|
type: "SALE" | "PURCHASE";
|
|
3498
3508
|
status: string;
|
|
3499
3509
|
id: string;
|
|
3500
|
-
createdAt: Date;
|
|
3501
3510
|
userId: number;
|
|
3511
|
+
createdAt: Date;
|
|
3502
3512
|
currency: string;
|
|
3503
3513
|
orderId: string;
|
|
3504
3514
|
updatedAt: Date;
|
|
@@ -3507,21 +3517,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3507
3517
|
businessProfileId: string;
|
|
3508
3518
|
issueDate: Date;
|
|
3509
3519
|
subtotal: number;
|
|
3510
|
-
fileId?: string | null | undefined;
|
|
3511
3520
|
vatAmount?: number | null | undefined;
|
|
3521
|
+
fileId?: string | null | undefined;
|
|
3512
3522
|
file?: {
|
|
3513
3523
|
path: string;
|
|
3514
3524
|
id: string;
|
|
3515
|
-
createdAt: Date;
|
|
3516
3525
|
userId: number;
|
|
3526
|
+
createdAt: Date;
|
|
3517
3527
|
signedUrl: string;
|
|
3518
3528
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3519
3529
|
} | null | undefined;
|
|
3520
3530
|
vatRate?: number | null | undefined;
|
|
3521
3531
|
businessProfile?: {
|
|
3522
3532
|
id: string;
|
|
3523
|
-
createdAt: Date;
|
|
3524
3533
|
userId: number;
|
|
3534
|
+
createdAt: Date;
|
|
3525
3535
|
updatedAt: Date;
|
|
3526
3536
|
businessName: string;
|
|
3527
3537
|
address: string;
|
|
@@ -3534,8 +3544,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3534
3544
|
logo?: {
|
|
3535
3545
|
path: string;
|
|
3536
3546
|
id: string;
|
|
3537
|
-
createdAt: Date;
|
|
3538
3547
|
userId: number;
|
|
3548
|
+
createdAt: Date;
|
|
3539
3549
|
signedUrl: string;
|
|
3540
3550
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3541
3551
|
} | null | undefined;
|
|
@@ -3547,26 +3557,26 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3547
3557
|
firstName: string;
|
|
3548
3558
|
lastName: string;
|
|
3549
3559
|
phoneVerified: boolean;
|
|
3550
|
-
|
|
3560
|
+
postalCode?: string | null | undefined;
|
|
3561
|
+
city?: string | null | undefined;
|
|
3562
|
+
country?: string | null | undefined;
|
|
3551
3563
|
email?: string | null | undefined;
|
|
3564
|
+
addressLine1?: string | null | undefined;
|
|
3565
|
+
addressLine2?: string | null | undefined;
|
|
3566
|
+
birthDate?: Date | null | undefined;
|
|
3552
3567
|
idNumber?: string | null | undefined;
|
|
3553
3568
|
phone?: string | null | undefined;
|
|
3554
3569
|
iban?: string | null | undefined;
|
|
3555
3570
|
bic?: string | null | undefined;
|
|
3556
|
-
addressLine1?: string | null | undefined;
|
|
3557
|
-
addressLine2?: string | null | undefined;
|
|
3558
|
-
city?: string | null | undefined;
|
|
3559
|
-
postalCode?: string | null | undefined;
|
|
3560
|
-
country?: string | null | undefined;
|
|
3561
3571
|
} | null | undefined;
|
|
3562
3572
|
dueDate?: Date | null | undefined;
|
|
3563
3573
|
notes?: string | null | undefined;
|
|
3564
3574
|
lineItems?: {
|
|
3565
|
-
|
|
3575
|
+
quantity: number;
|
|
3566
3576
|
id: number;
|
|
3577
|
+
description: string;
|
|
3567
3578
|
createdAt: Date;
|
|
3568
3579
|
invoiceId: string;
|
|
3569
|
-
quantity: number;
|
|
3570
3580
|
unitPrice: number;
|
|
3571
3581
|
total: number;
|
|
3572
3582
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3577,42 +3587,42 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3577
3587
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
3578
3588
|
labels?: {
|
|
3579
3589
|
id: string;
|
|
3580
|
-
fileId: string;
|
|
3581
3590
|
orderId: string;
|
|
3591
|
+
fileId: string;
|
|
3582
3592
|
nonCroppedFileId: string;
|
|
3583
3593
|
originalFileId: string;
|
|
3584
|
-
|
|
3594
|
+
file?: {
|
|
3585
3595
|
path: string;
|
|
3586
3596
|
id: string;
|
|
3587
|
-
createdAt: Date;
|
|
3588
3597
|
userId: number;
|
|
3598
|
+
createdAt: Date;
|
|
3589
3599
|
signedUrl: string;
|
|
3590
3600
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3591
3601
|
} | null | undefined;
|
|
3592
|
-
|
|
3593
|
-
file?: {
|
|
3602
|
+
nonCroppedFile?: {
|
|
3594
3603
|
path: string;
|
|
3595
3604
|
id: string;
|
|
3596
|
-
createdAt: Date;
|
|
3597
3605
|
userId: number;
|
|
3606
|
+
createdAt: Date;
|
|
3598
3607
|
signedUrl: string;
|
|
3599
3608
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3600
3609
|
} | null | undefined;
|
|
3601
|
-
|
|
3610
|
+
originalFile?: {
|
|
3602
3611
|
path: string;
|
|
3603
3612
|
id: string;
|
|
3604
|
-
createdAt: Date;
|
|
3605
3613
|
userId: number;
|
|
3614
|
+
createdAt: Date;
|
|
3606
3615
|
signedUrl: string;
|
|
3607
3616
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3608
3617
|
} | null | undefined;
|
|
3618
|
+
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;
|
|
3609
3619
|
}[] | null | undefined;
|
|
3610
3620
|
invoices?: {
|
|
3611
3621
|
type: "SALE" | "PURCHASE";
|
|
3612
3622
|
status: string;
|
|
3613
3623
|
id: string;
|
|
3614
|
-
createdAt: Date;
|
|
3615
3624
|
userId: number;
|
|
3625
|
+
createdAt: Date;
|
|
3616
3626
|
currency: string;
|
|
3617
3627
|
orderId: string;
|
|
3618
3628
|
updatedAt: Date;
|
|
@@ -3621,21 +3631,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3621
3631
|
businessProfileId: string;
|
|
3622
3632
|
issueDate: Date;
|
|
3623
3633
|
subtotal: number;
|
|
3624
|
-
fileId?: string | null | undefined;
|
|
3625
3634
|
vatAmount?: number | null | undefined;
|
|
3635
|
+
fileId?: string | null | undefined;
|
|
3626
3636
|
file?: {
|
|
3627
3637
|
path: string;
|
|
3628
3638
|
id: string;
|
|
3629
|
-
createdAt: Date;
|
|
3630
3639
|
userId: number;
|
|
3640
|
+
createdAt: Date;
|
|
3631
3641
|
signedUrl: string;
|
|
3632
3642
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3633
3643
|
} | null | undefined;
|
|
3634
3644
|
vatRate?: number | null | undefined;
|
|
3635
3645
|
businessProfile?: {
|
|
3636
3646
|
id: string;
|
|
3637
|
-
createdAt: Date;
|
|
3638
3647
|
userId: number;
|
|
3648
|
+
createdAt: Date;
|
|
3639
3649
|
updatedAt: Date;
|
|
3640
3650
|
businessName: string;
|
|
3641
3651
|
address: string;
|
|
@@ -3648,8 +3658,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3648
3658
|
logo?: {
|
|
3649
3659
|
path: string;
|
|
3650
3660
|
id: string;
|
|
3651
|
-
createdAt: Date;
|
|
3652
3661
|
userId: number;
|
|
3662
|
+
createdAt: Date;
|
|
3653
3663
|
signedUrl: string;
|
|
3654
3664
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3655
3665
|
} | null | undefined;
|
|
@@ -3661,26 +3671,26 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3661
3671
|
firstName: string;
|
|
3662
3672
|
lastName: string;
|
|
3663
3673
|
phoneVerified: boolean;
|
|
3664
|
-
|
|
3674
|
+
postalCode?: string | null | undefined;
|
|
3675
|
+
city?: string | null | undefined;
|
|
3676
|
+
country?: string | null | undefined;
|
|
3665
3677
|
email?: string | null | undefined;
|
|
3678
|
+
addressLine1?: string | null | undefined;
|
|
3679
|
+
addressLine2?: string | null | undefined;
|
|
3680
|
+
birthDate?: Date | null | undefined;
|
|
3666
3681
|
idNumber?: string | null | undefined;
|
|
3667
3682
|
phone?: string | null | undefined;
|
|
3668
3683
|
iban?: string | null | undefined;
|
|
3669
3684
|
bic?: string | null | undefined;
|
|
3670
|
-
addressLine1?: string | null | undefined;
|
|
3671
|
-
addressLine2?: string | null | undefined;
|
|
3672
|
-
city?: string | null | undefined;
|
|
3673
|
-
postalCode?: string | null | undefined;
|
|
3674
|
-
country?: string | null | undefined;
|
|
3675
3685
|
} | null | undefined;
|
|
3676
3686
|
dueDate?: Date | null | undefined;
|
|
3677
3687
|
notes?: string | null | undefined;
|
|
3678
3688
|
lineItems?: {
|
|
3679
|
-
|
|
3689
|
+
quantity: number;
|
|
3680
3690
|
id: number;
|
|
3691
|
+
description: string;
|
|
3681
3692
|
createdAt: Date;
|
|
3682
3693
|
invoiceId: string;
|
|
3683
|
-
quantity: number;
|
|
3684
3694
|
unitPrice: number;
|
|
3685
3695
|
total: number;
|
|
3686
3696
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3691,42 +3701,42 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3691
3701
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
3692
3702
|
labels?: {
|
|
3693
3703
|
id: string;
|
|
3694
|
-
fileId: string;
|
|
3695
3704
|
orderId: string;
|
|
3705
|
+
fileId: string;
|
|
3696
3706
|
nonCroppedFileId: string;
|
|
3697
3707
|
originalFileId: string;
|
|
3698
|
-
|
|
3708
|
+
file?: {
|
|
3699
3709
|
path: string;
|
|
3700
3710
|
id: string;
|
|
3701
|
-
createdAt: Date;
|
|
3702
3711
|
userId: number;
|
|
3712
|
+
createdAt: Date;
|
|
3703
3713
|
signedUrl: string;
|
|
3704
3714
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3705
3715
|
} | null | undefined;
|
|
3706
|
-
|
|
3707
|
-
file?: {
|
|
3716
|
+
nonCroppedFile?: {
|
|
3708
3717
|
path: string;
|
|
3709
3718
|
id: string;
|
|
3710
|
-
createdAt: Date;
|
|
3711
3719
|
userId: number;
|
|
3720
|
+
createdAt: Date;
|
|
3712
3721
|
signedUrl: string;
|
|
3713
3722
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3714
3723
|
} | null | undefined;
|
|
3715
|
-
|
|
3724
|
+
originalFile?: {
|
|
3716
3725
|
path: string;
|
|
3717
3726
|
id: string;
|
|
3718
|
-
createdAt: Date;
|
|
3719
3727
|
userId: number;
|
|
3728
|
+
createdAt: Date;
|
|
3720
3729
|
signedUrl: string;
|
|
3721
3730
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3722
3731
|
} | null | undefined;
|
|
3732
|
+
carrier?: unknown;
|
|
3723
3733
|
}[] | null | undefined;
|
|
3724
3734
|
invoices?: {
|
|
3725
3735
|
type: "SALE" | "PURCHASE";
|
|
3726
3736
|
status: string;
|
|
3727
3737
|
id: string;
|
|
3728
|
-
createdAt: Date;
|
|
3729
3738
|
userId: number;
|
|
3739
|
+
createdAt: Date;
|
|
3730
3740
|
currency: string;
|
|
3731
3741
|
orderId: string;
|
|
3732
3742
|
updatedAt: Date;
|
|
@@ -3735,21 +3745,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3735
3745
|
businessProfileId: string;
|
|
3736
3746
|
issueDate: Date;
|
|
3737
3747
|
subtotal: number;
|
|
3738
|
-
fileId?: string | null | undefined;
|
|
3739
3748
|
vatAmount?: number | null | undefined;
|
|
3749
|
+
fileId?: string | null | undefined;
|
|
3740
3750
|
file?: {
|
|
3741
3751
|
path: string;
|
|
3742
3752
|
id: string;
|
|
3743
|
-
createdAt: Date;
|
|
3744
3753
|
userId: number;
|
|
3754
|
+
createdAt: Date;
|
|
3745
3755
|
signedUrl: string;
|
|
3746
3756
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3747
3757
|
} | null | undefined;
|
|
3748
3758
|
vatRate?: number | null | undefined;
|
|
3749
3759
|
businessProfile?: {
|
|
3750
3760
|
id: string;
|
|
3751
|
-
createdAt: Date;
|
|
3752
3761
|
userId: number;
|
|
3762
|
+
createdAt: Date;
|
|
3753
3763
|
updatedAt: Date;
|
|
3754
3764
|
businessName: string;
|
|
3755
3765
|
address: string;
|
|
@@ -3762,8 +3772,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3762
3772
|
logo?: {
|
|
3763
3773
|
path: string;
|
|
3764
3774
|
id: string;
|
|
3765
|
-
createdAt: Date;
|
|
3766
3775
|
userId: number;
|
|
3776
|
+
createdAt: Date;
|
|
3767
3777
|
signedUrl: string;
|
|
3768
3778
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3769
3779
|
} | null | undefined;
|
|
@@ -3775,26 +3785,26 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3775
3785
|
firstName: string;
|
|
3776
3786
|
lastName: string;
|
|
3777
3787
|
phoneVerified: boolean;
|
|
3778
|
-
|
|
3788
|
+
postalCode?: string | null | undefined;
|
|
3789
|
+
city?: string | null | undefined;
|
|
3790
|
+
country?: string | null | undefined;
|
|
3779
3791
|
email?: string | null | undefined;
|
|
3792
|
+
addressLine1?: string | null | undefined;
|
|
3793
|
+
addressLine2?: string | null | undefined;
|
|
3794
|
+
birthDate?: Date | null | undefined;
|
|
3780
3795
|
idNumber?: string | null | undefined;
|
|
3781
3796
|
phone?: string | null | undefined;
|
|
3782
3797
|
iban?: string | null | undefined;
|
|
3783
3798
|
bic?: string | null | undefined;
|
|
3784
|
-
addressLine1?: string | null | undefined;
|
|
3785
|
-
addressLine2?: string | null | undefined;
|
|
3786
|
-
city?: string | null | undefined;
|
|
3787
|
-
postalCode?: string | null | undefined;
|
|
3788
|
-
country?: string | null | undefined;
|
|
3789
3799
|
} | null | undefined;
|
|
3790
3800
|
dueDate?: Date | null | undefined;
|
|
3791
3801
|
notes?: string | null | undefined;
|
|
3792
3802
|
lineItems?: {
|
|
3793
|
-
|
|
3803
|
+
quantity: number;
|
|
3794
3804
|
id: number;
|
|
3805
|
+
description: string;
|
|
3795
3806
|
createdAt: Date;
|
|
3796
3807
|
invoiceId: string;
|
|
3797
|
-
quantity: number;
|
|
3798
3808
|
unitPrice: number;
|
|
3799
3809
|
total: number;
|
|
3800
3810
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3804,45 +3814,29 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3804
3814
|
}>>>;
|
|
3805
3815
|
analysisStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "COMPLETED", "FAILED"]>>>;
|
|
3806
3816
|
}, "strip", z.ZodTypeAny, {
|
|
3807
|
-
actions: {
|
|
3808
|
-
perAccount: Record<string, ("REPUBLISH" | "UNKNOWN" | "PUBLISH" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE" | "UPDATE_CANCEL" | "BOOST")[]>;
|
|
3809
|
-
};
|
|
3810
|
-
name: string;
|
|
3811
3817
|
id: number;
|
|
3812
|
-
createdAt: Date;
|
|
3813
3818
|
userId: number;
|
|
3819
|
+
name: string;
|
|
3820
|
+
createdAt: Date;
|
|
3814
3821
|
updatedAt: Date;
|
|
3815
3822
|
sold: boolean;
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
name: string;
|
|
3820
|
-
id: number;
|
|
3821
|
-
createdAt: Date;
|
|
3822
|
-
userId: number;
|
|
3823
|
-
updatedAt: Date;
|
|
3824
|
-
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
3825
|
-
startDate: Date;
|
|
3826
|
-
active: boolean;
|
|
3827
|
-
description?: string | null | undefined;
|
|
3828
|
-
itemId?: number | null | undefined;
|
|
3829
|
-
endDate?: Date | null | undefined;
|
|
3830
|
-
parentFeeId?: number | null | undefined;
|
|
3831
|
-
}[] | null | undefined;
|
|
3823
|
+
actions: {
|
|
3824
|
+
perAccount: Record<string, ("PUBLISH" | "REPUBLISH" | "UPDATE" | "UNKNOWN" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE_CANCEL" | "BOOST")[]>;
|
|
3825
|
+
};
|
|
3832
3826
|
description?: string | null | undefined;
|
|
3833
3827
|
categoryId?: number | null | undefined;
|
|
3834
|
-
sizeId?: number | null | undefined;
|
|
3835
|
-
colorIds?: number[] | null | undefined;
|
|
3836
|
-
packageSizeId?: number | null | undefined;
|
|
3837
3828
|
state?: number | null | undefined;
|
|
3829
|
+
colorIds?: number[] | null | undefined;
|
|
3838
3830
|
measurementLength?: number | null | undefined;
|
|
3839
3831
|
measurementWidth?: number | null | undefined;
|
|
3832
|
+
packageSizeId?: number | null | undefined;
|
|
3833
|
+
sizeId?: number | null | undefined;
|
|
3840
3834
|
labels?: {
|
|
3841
3835
|
itemId: number;
|
|
3842
3836
|
labelId: number;
|
|
3843
3837
|
label?: {
|
|
3844
|
-
name: string;
|
|
3845
3838
|
id: number;
|
|
3839
|
+
name: string;
|
|
3846
3840
|
createdAt: Date;
|
|
3847
3841
|
isUserLabel: boolean;
|
|
3848
3842
|
itemCount?: number | null | undefined;
|
|
@@ -3855,85 +3849,50 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3855
3849
|
fieldKey: string;
|
|
3856
3850
|
}[] | null | undefined;
|
|
3857
3851
|
sku?: string | null | undefined;
|
|
3858
|
-
sex?: string | null | undefined;
|
|
3859
|
-
platforms?: {
|
|
3860
|
-
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
3861
|
-
id: string;
|
|
3862
|
-
createdAt: Date;
|
|
3863
|
-
accountId: string;
|
|
3864
|
-
itemId: number;
|
|
3865
|
-
platformId: string;
|
|
3866
|
-
platformUrl: string;
|
|
3867
|
-
platformPrice: number;
|
|
3868
|
-
updatedAt: Date;
|
|
3869
|
-
publishedAt: Date;
|
|
3870
|
-
conversationId?: string | null | undefined;
|
|
3871
|
-
boostedAt?: Date | null | undefined;
|
|
3872
|
-
boostedUntil?: Date | null | undefined;
|
|
3873
|
-
viewsCount?: number | null | undefined;
|
|
3874
|
-
favoritesCount?: number | null | undefined;
|
|
3875
|
-
account?: {
|
|
3876
|
-
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
3877
|
-
name: string;
|
|
3878
|
-
userId: number;
|
|
3879
|
-
accountId: string;
|
|
3880
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3881
|
-
locale?: string | null | undefined;
|
|
3882
|
-
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
3883
|
-
restrictedUntil?: Date | null | undefined;
|
|
3884
|
-
night?: {
|
|
3885
|
-
startsAt: Date;
|
|
3886
|
-
endsAt: Date;
|
|
3887
|
-
} | null | undefined;
|
|
3888
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
3889
|
-
ordersMaxDelay?: number | null | undefined;
|
|
3890
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
3891
|
-
walletMaxDelay?: number | null | undefined;
|
|
3892
|
-
availableBalance?: number | null | undefined;
|
|
3893
|
-
pendingBalance?: number | null | undefined;
|
|
3894
|
-
profilePictureFileId?: string | null | undefined;
|
|
3895
|
-
profilePicture?: {
|
|
3896
|
-
path: string;
|
|
3897
|
-
id: string;
|
|
3898
|
-
createdAt: Date;
|
|
3899
|
-
userId: number;
|
|
3900
|
-
signedUrl: string;
|
|
3901
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3902
|
-
} | null | undefined;
|
|
3903
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
3904
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
3905
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
3906
|
-
} | null | undefined;
|
|
3907
|
-
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;
|
|
3908
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
3909
|
-
}[] | null | undefined;
|
|
3910
|
-
brandId?: number | null | undefined;
|
|
3911
|
-
estimatedPrice?: number | null | undefined;
|
|
3912
|
-
purchaseDate?: Date | null | undefined;
|
|
3913
|
-
sellingDate?: Date | null | undefined;
|
|
3914
3852
|
fields?: {
|
|
3915
3853
|
value: string;
|
|
3916
3854
|
itemId: number;
|
|
3917
3855
|
fieldId: number;
|
|
3918
3856
|
}[] | null | undefined;
|
|
3919
3857
|
files?: {
|
|
3920
|
-
fileId: string;
|
|
3921
3858
|
itemId: number;
|
|
3859
|
+
fileId: string;
|
|
3922
3860
|
file?: {
|
|
3923
3861
|
path: string;
|
|
3924
3862
|
id: string;
|
|
3925
|
-
createdAt: Date;
|
|
3926
3863
|
userId: number;
|
|
3864
|
+
createdAt: Date;
|
|
3927
3865
|
signedUrl: string;
|
|
3928
3866
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3929
3867
|
} | null | undefined;
|
|
3930
3868
|
index?: number | null | undefined;
|
|
3931
3869
|
}[] | null | undefined;
|
|
3870
|
+
brandId?: number | null | undefined;
|
|
3871
|
+
sex?: string | null | undefined;
|
|
3932
3872
|
purchasePrice?: number | null | undefined;
|
|
3873
|
+
purchaseDate?: Date | null | undefined;
|
|
3933
3874
|
purchasePlaceId?: number | null | undefined;
|
|
3934
3875
|
purchased?: boolean | null | undefined;
|
|
3935
3876
|
sellingPrice?: number | null | undefined;
|
|
3877
|
+
sellingDate?: Date | null | undefined;
|
|
3936
3878
|
sellingPlaceId?: number | null | undefined;
|
|
3879
|
+
estimatedPrice?: number | null | undefined;
|
|
3880
|
+
fees?: {
|
|
3881
|
+
value: number;
|
|
3882
|
+
type: string;
|
|
3883
|
+
id: number;
|
|
3884
|
+
userId: number;
|
|
3885
|
+
name: string;
|
|
3886
|
+
createdAt: Date;
|
|
3887
|
+
updatedAt: Date;
|
|
3888
|
+
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
3889
|
+
startDate: Date;
|
|
3890
|
+
active: boolean;
|
|
3891
|
+
description?: string | null | undefined;
|
|
3892
|
+
itemId?: number | null | undefined;
|
|
3893
|
+
endDate?: Date | null | undefined;
|
|
3894
|
+
parentFeeId?: number | null | undefined;
|
|
3895
|
+
}[] | null | undefined;
|
|
3937
3896
|
feesSum?: number | null | undefined;
|
|
3938
3897
|
materialIds?: number[] | null | undefined;
|
|
3939
3898
|
enumValues?: {
|
|
@@ -3949,11 +3908,12 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3949
3908
|
id: string;
|
|
3950
3909
|
createdAt: Date;
|
|
3951
3910
|
itemId: number;
|
|
3911
|
+
accountId?: string | null | undefined;
|
|
3952
3912
|
data?: {
|
|
3953
3913
|
type: "ACTION_CANCELED";
|
|
3954
3914
|
data: {
|
|
3955
3915
|
targetItemHistoryId: string;
|
|
3956
|
-
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | null | undefined;
|
|
3916
|
+
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | "LISTING_BOOSTED" | "LISTING_SOLD_ON_PLATFORM" | null | undefined;
|
|
3957
3917
|
details?: string | null | undefined;
|
|
3958
3918
|
};
|
|
3959
3919
|
} | {
|
|
@@ -3984,7 +3944,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3984
3944
|
accountId?: string | null | undefined;
|
|
3985
3945
|
reason?: string | null | undefined;
|
|
3986
3946
|
fields?: {
|
|
3987
|
-
field: "
|
|
3947
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
3988
3948
|
autoFixable: boolean;
|
|
3989
3949
|
error?: string | null | undefined;
|
|
3990
3950
|
}[] | null | undefined;
|
|
@@ -4014,23 +3974,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4014
3974
|
post: {
|
|
4015
3975
|
platformId: string;
|
|
4016
3976
|
post: {
|
|
3977
|
+
size?: string | null | undefined;
|
|
4017
3978
|
status?: string | null | undefined;
|
|
4018
3979
|
title?: string | null | undefined;
|
|
4019
3980
|
description?: string | null | undefined;
|
|
4020
|
-
brand?: string | null | undefined;
|
|
4021
|
-
statusId?: number | null | undefined;
|
|
4022
|
-
sizeId?: number | null | undefined;
|
|
4023
|
-
colorIds?: number[] | null | undefined;
|
|
4024
|
-
packageSizeId?: number | null | undefined;
|
|
4025
3981
|
price?: number | null | undefined;
|
|
4026
3982
|
currency?: string | null | undefined;
|
|
3983
|
+
brand?: string | null | undefined;
|
|
4027
3984
|
catalog?: string | null | undefined;
|
|
4028
3985
|
catalogId?: number | null | undefined;
|
|
4029
3986
|
colors?: string[] | null | undefined;
|
|
3987
|
+
colorIds?: number[] | null | undefined;
|
|
4030
3988
|
measurementLength?: number | null | undefined;
|
|
4031
3989
|
measurementWidth?: number | null | undefined;
|
|
3990
|
+
packageSizeId?: number | null | undefined;
|
|
4032
3991
|
photoUrls?: string[] | null | undefined;
|
|
4033
|
-
|
|
3992
|
+
sizeId?: number | null | undefined;
|
|
3993
|
+
statusId?: number | null | undefined;
|
|
4034
3994
|
isDraft?: boolean | null | undefined;
|
|
4035
3995
|
isArchived?: boolean | null | undefined;
|
|
4036
3996
|
isUnisex?: boolean | null | undefined;
|
|
@@ -4073,8 +4033,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4073
4033
|
} | {
|
|
4074
4034
|
type: "LIFECYCLE_STARTED";
|
|
4075
4035
|
data: {
|
|
4076
|
-
caseId: string;
|
|
4077
4036
|
accountId: string;
|
|
4037
|
+
caseId: string;
|
|
4078
4038
|
isRepeat?: boolean | null | undefined;
|
|
4079
4039
|
};
|
|
4080
4040
|
} | {
|
|
@@ -4113,17 +4073,17 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4113
4073
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
4114
4074
|
} | null | undefined;
|
|
4115
4075
|
} | null | undefined;
|
|
4116
|
-
publishingDate?: Date | null | undefined;
|
|
4117
|
-
isTransfer?: boolean | null | undefined;
|
|
4118
4076
|
targetAccountId?: string | null | undefined;
|
|
4119
4077
|
allowIfDeleted?: boolean | null | undefined;
|
|
4078
|
+
publishingDate?: Date | null | undefined;
|
|
4079
|
+
isTransfer?: boolean | null | undefined;
|
|
4120
4080
|
};
|
|
4121
4081
|
} | {
|
|
4122
4082
|
type: "REPUBLISHING_RETRY";
|
|
4123
4083
|
data: {
|
|
4124
|
-
maxAttempts: number;
|
|
4125
4084
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4126
4085
|
attemptNumber: number;
|
|
4086
|
+
maxAttempts: number;
|
|
4127
4087
|
previousHistoryId: string;
|
|
4128
4088
|
originalFailureDate: Date;
|
|
4129
4089
|
payload?: {
|
|
@@ -4151,7 +4111,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4151
4111
|
} | null | undefined;
|
|
4152
4112
|
} | null | undefined;
|
|
4153
4113
|
fields?: {
|
|
4154
|
-
field: "
|
|
4114
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
4155
4115
|
autoFixable: boolean;
|
|
4156
4116
|
error?: string | null | undefined;
|
|
4157
4117
|
}[] | null | undefined;
|
|
@@ -4165,13 +4125,13 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4165
4125
|
} | {
|
|
4166
4126
|
type: "SCHEDULED_RETRY";
|
|
4167
4127
|
data: {
|
|
4168
|
-
maxAttempts: number;
|
|
4169
4128
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4170
4129
|
attemptNumber: number;
|
|
4130
|
+
maxAttempts: number;
|
|
4171
4131
|
previousHistoryId: string;
|
|
4172
4132
|
originalFailureDate: Date;
|
|
4173
4133
|
fields?: {
|
|
4174
|
-
field: "
|
|
4134
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
4175
4135
|
autoFixable: boolean;
|
|
4176
4136
|
error?: string | null | undefined;
|
|
4177
4137
|
}[] | null | undefined;
|
|
@@ -4200,52 +4160,103 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4200
4160
|
targetDate?: Date | null | undefined;
|
|
4201
4161
|
};
|
|
4202
4162
|
} | null | undefined;
|
|
4203
|
-
accountId?: string | null | undefined;
|
|
4204
4163
|
targetDate?: Date | null | undefined;
|
|
4205
4164
|
requestId?: string | null | undefined;
|
|
4206
4165
|
targetHistoryId?: string | null | undefined;
|
|
4207
4166
|
} | null | undefined;
|
|
4167
|
+
platforms?: {
|
|
4168
|
+
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
4169
|
+
id: string;
|
|
4170
|
+
accountId: string;
|
|
4171
|
+
createdAt: Date;
|
|
4172
|
+
itemId: number;
|
|
4173
|
+
platformId: string;
|
|
4174
|
+
platformUrl: string;
|
|
4175
|
+
platformPrice: number;
|
|
4176
|
+
updatedAt: Date;
|
|
4177
|
+
publishedAt: Date;
|
|
4178
|
+
conversationId?: string | null | undefined;
|
|
4179
|
+
boostedAt?: Date | null | undefined;
|
|
4180
|
+
boostedUntil?: Date | null | undefined;
|
|
4181
|
+
viewsCount?: number | null | undefined;
|
|
4182
|
+
favoritesCount?: number | null | undefined;
|
|
4183
|
+
account?: {
|
|
4184
|
+
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
4185
|
+
accountId: string;
|
|
4186
|
+
userId: number;
|
|
4187
|
+
name: string;
|
|
4188
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4189
|
+
locale?: string | null | undefined;
|
|
4190
|
+
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
4191
|
+
restrictedUntil?: Date | null | undefined;
|
|
4192
|
+
night?: {
|
|
4193
|
+
startsAt: Date;
|
|
4194
|
+
endsAt: Date;
|
|
4195
|
+
} | null | undefined;
|
|
4196
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
4197
|
+
ordersMaxDelay?: number | null | undefined;
|
|
4198
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
4199
|
+
walletMaxDelay?: number | null | undefined;
|
|
4200
|
+
availableBalance?: number | null | undefined;
|
|
4201
|
+
pendingBalance?: number | null | undefined;
|
|
4202
|
+
profilePictureFileId?: string | null | undefined;
|
|
4203
|
+
profilePicture?: {
|
|
4204
|
+
path: string;
|
|
4205
|
+
id: string;
|
|
4206
|
+
userId: number;
|
|
4207
|
+
createdAt: Date;
|
|
4208
|
+
signedUrl: string;
|
|
4209
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4210
|
+
} | null | undefined;
|
|
4211
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
4212
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
4213
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
4214
|
+
} | null | undefined;
|
|
4215
|
+
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;
|
|
4216
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
4217
|
+
isBoosted?: boolean | null | undefined;
|
|
4218
|
+
}[] | null | undefined;
|
|
4208
4219
|
sourceInConversation?: "UNKNOWN" | "DELETED" | "ORDER" | "TRANSACTION" | null | undefined;
|
|
4209
4220
|
order?: {
|
|
4210
4221
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
4211
4222
|
labels?: {
|
|
4212
4223
|
id: string;
|
|
4213
|
-
fileId: string;
|
|
4214
4224
|
orderId: string;
|
|
4225
|
+
fileId: string;
|
|
4215
4226
|
nonCroppedFileId: string;
|
|
4216
4227
|
originalFileId: string;
|
|
4217
|
-
|
|
4228
|
+
file?: {
|
|
4218
4229
|
path: string;
|
|
4219
4230
|
id: string;
|
|
4220
|
-
createdAt: Date;
|
|
4221
4231
|
userId: number;
|
|
4232
|
+
createdAt: Date;
|
|
4222
4233
|
signedUrl: string;
|
|
4223
4234
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4224
4235
|
} | null | undefined;
|
|
4225
|
-
|
|
4226
|
-
file?: {
|
|
4236
|
+
nonCroppedFile?: {
|
|
4227
4237
|
path: string;
|
|
4228
4238
|
id: string;
|
|
4229
|
-
createdAt: Date;
|
|
4230
4239
|
userId: number;
|
|
4240
|
+
createdAt: Date;
|
|
4231
4241
|
signedUrl: string;
|
|
4232
4242
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4233
4243
|
} | null | undefined;
|
|
4234
|
-
|
|
4244
|
+
originalFile?: {
|
|
4235
4245
|
path: string;
|
|
4236
4246
|
id: string;
|
|
4237
|
-
createdAt: Date;
|
|
4238
4247
|
userId: number;
|
|
4248
|
+
createdAt: Date;
|
|
4239
4249
|
signedUrl: string;
|
|
4240
4250
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4241
4251
|
} | null | undefined;
|
|
4252
|
+
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;
|
|
4242
4253
|
}[] | null | undefined;
|
|
4243
4254
|
invoices?: {
|
|
4244
4255
|
type: "SALE" | "PURCHASE";
|
|
4245
4256
|
status: string;
|
|
4246
4257
|
id: string;
|
|
4247
|
-
createdAt: Date;
|
|
4248
4258
|
userId: number;
|
|
4259
|
+
createdAt: Date;
|
|
4249
4260
|
currency: string;
|
|
4250
4261
|
orderId: string;
|
|
4251
4262
|
updatedAt: Date;
|
|
@@ -4254,21 +4265,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4254
4265
|
businessProfileId: string;
|
|
4255
4266
|
issueDate: Date;
|
|
4256
4267
|
subtotal: number;
|
|
4257
|
-
fileId?: string | null | undefined;
|
|
4258
4268
|
vatAmount?: number | null | undefined;
|
|
4269
|
+
fileId?: string | null | undefined;
|
|
4259
4270
|
file?: {
|
|
4260
4271
|
path: string;
|
|
4261
4272
|
id: string;
|
|
4262
|
-
createdAt: Date;
|
|
4263
4273
|
userId: number;
|
|
4274
|
+
createdAt: Date;
|
|
4264
4275
|
signedUrl: string;
|
|
4265
4276
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4266
4277
|
} | null | undefined;
|
|
4267
4278
|
vatRate?: number | null | undefined;
|
|
4268
4279
|
businessProfile?: {
|
|
4269
4280
|
id: string;
|
|
4270
|
-
createdAt: Date;
|
|
4271
4281
|
userId: number;
|
|
4282
|
+
createdAt: Date;
|
|
4272
4283
|
updatedAt: Date;
|
|
4273
4284
|
businessName: string;
|
|
4274
4285
|
address: string;
|
|
@@ -4281,8 +4292,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4281
4292
|
logo?: {
|
|
4282
4293
|
path: string;
|
|
4283
4294
|
id: string;
|
|
4284
|
-
createdAt: Date;
|
|
4285
4295
|
userId: number;
|
|
4296
|
+
createdAt: Date;
|
|
4286
4297
|
signedUrl: string;
|
|
4287
4298
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4288
4299
|
} | null | undefined;
|
|
@@ -4294,26 +4305,26 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4294
4305
|
firstName: string;
|
|
4295
4306
|
lastName: string;
|
|
4296
4307
|
phoneVerified: boolean;
|
|
4297
|
-
|
|
4308
|
+
postalCode?: string | null | undefined;
|
|
4309
|
+
city?: string | null | undefined;
|
|
4310
|
+
country?: string | null | undefined;
|
|
4298
4311
|
email?: string | null | undefined;
|
|
4312
|
+
addressLine1?: string | null | undefined;
|
|
4313
|
+
addressLine2?: string | null | undefined;
|
|
4314
|
+
birthDate?: Date | null | undefined;
|
|
4299
4315
|
idNumber?: string | null | undefined;
|
|
4300
4316
|
phone?: string | null | undefined;
|
|
4301
4317
|
iban?: string | null | undefined;
|
|
4302
4318
|
bic?: string | null | undefined;
|
|
4303
|
-
addressLine1?: string | null | undefined;
|
|
4304
|
-
addressLine2?: string | null | undefined;
|
|
4305
|
-
city?: string | null | undefined;
|
|
4306
|
-
postalCode?: string | null | undefined;
|
|
4307
|
-
country?: string | null | undefined;
|
|
4308
4319
|
} | null | undefined;
|
|
4309
4320
|
dueDate?: Date | null | undefined;
|
|
4310
4321
|
notes?: string | null | undefined;
|
|
4311
4322
|
lineItems?: {
|
|
4312
|
-
|
|
4323
|
+
quantity: number;
|
|
4313
4324
|
id: number;
|
|
4325
|
+
description: string;
|
|
4314
4326
|
createdAt: Date;
|
|
4315
4327
|
invoiceId: string;
|
|
4316
|
-
quantity: number;
|
|
4317
4328
|
unitPrice: number;
|
|
4318
4329
|
total: number;
|
|
4319
4330
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -4323,45 +4334,29 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4323
4334
|
} | null | undefined;
|
|
4324
4335
|
analysisStatus?: "PENDING" | "COMPLETED" | "FAILED" | null | undefined;
|
|
4325
4336
|
}, {
|
|
4326
|
-
actions: {
|
|
4327
|
-
perAccount: Record<string, unknown[]>;
|
|
4328
|
-
};
|
|
4329
|
-
name: string;
|
|
4330
4337
|
id: number;
|
|
4331
|
-
createdAt: Date;
|
|
4332
4338
|
userId: number;
|
|
4339
|
+
name: string;
|
|
4340
|
+
createdAt: Date;
|
|
4333
4341
|
updatedAt: Date;
|
|
4334
4342
|
sold: boolean;
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
name: string;
|
|
4339
|
-
id: number;
|
|
4340
|
-
createdAt: Date;
|
|
4341
|
-
userId: number;
|
|
4342
|
-
updatedAt: Date;
|
|
4343
|
-
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
4344
|
-
startDate: Date;
|
|
4345
|
-
active: boolean;
|
|
4346
|
-
description?: string | null | undefined;
|
|
4347
|
-
itemId?: number | null | undefined;
|
|
4348
|
-
endDate?: Date | null | undefined;
|
|
4349
|
-
parentFeeId?: number | null | undefined;
|
|
4350
|
-
}[] | null | undefined;
|
|
4343
|
+
actions: {
|
|
4344
|
+
perAccount: Record<string, unknown[]>;
|
|
4345
|
+
};
|
|
4351
4346
|
description?: string | null | undefined;
|
|
4352
4347
|
categoryId?: number | null | undefined;
|
|
4353
|
-
sizeId?: number | null | undefined;
|
|
4354
|
-
colorIds?: number[] | null | undefined;
|
|
4355
|
-
packageSizeId?: number | null | undefined;
|
|
4356
4348
|
state?: number | null | undefined;
|
|
4349
|
+
colorIds?: number[] | null | undefined;
|
|
4357
4350
|
measurementLength?: number | null | undefined;
|
|
4358
4351
|
measurementWidth?: number | null | undefined;
|
|
4352
|
+
packageSizeId?: number | null | undefined;
|
|
4353
|
+
sizeId?: number | null | undefined;
|
|
4359
4354
|
labels?: {
|
|
4360
4355
|
itemId: number;
|
|
4361
4356
|
labelId: number;
|
|
4362
4357
|
label?: {
|
|
4363
|
-
name: string;
|
|
4364
4358
|
id: number;
|
|
4359
|
+
name: string;
|
|
4365
4360
|
createdAt: Date;
|
|
4366
4361
|
isUserLabel: boolean;
|
|
4367
4362
|
itemCount?: number | null | undefined;
|
|
@@ -4374,85 +4369,50 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4374
4369
|
fieldKey: string;
|
|
4375
4370
|
}[] | null | undefined;
|
|
4376
4371
|
sku?: string | null | undefined;
|
|
4377
|
-
sex?: string | null | undefined;
|
|
4378
|
-
platforms?: {
|
|
4379
|
-
id: string;
|
|
4380
|
-
createdAt: Date;
|
|
4381
|
-
accountId: string;
|
|
4382
|
-
itemId: number;
|
|
4383
|
-
platformId: string;
|
|
4384
|
-
platformUrl: string;
|
|
4385
|
-
platformPrice: number;
|
|
4386
|
-
updatedAt: Date;
|
|
4387
|
-
publishedAt: Date;
|
|
4388
|
-
status?: unknown;
|
|
4389
|
-
conversationId?: string | null | undefined;
|
|
4390
|
-
boostedAt?: Date | null | undefined;
|
|
4391
|
-
boostedUntil?: Date | null | undefined;
|
|
4392
|
-
viewsCount?: number | null | undefined;
|
|
4393
|
-
favoritesCount?: number | null | undefined;
|
|
4394
|
-
account?: {
|
|
4395
|
-
name: string;
|
|
4396
|
-
userId: number;
|
|
4397
|
-
accountId: string;
|
|
4398
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4399
|
-
status?: unknown;
|
|
4400
|
-
locale?: string | null | undefined;
|
|
4401
|
-
lockReason?: unknown;
|
|
4402
|
-
restrictedUntil?: Date | null | undefined;
|
|
4403
|
-
night?: {
|
|
4404
|
-
startsAt: Date;
|
|
4405
|
-
endsAt: Date;
|
|
4406
|
-
} | null | undefined;
|
|
4407
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
4408
|
-
ordersMaxDelay?: number | null | undefined;
|
|
4409
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
4410
|
-
walletMaxDelay?: number | null | undefined;
|
|
4411
|
-
availableBalance?: number | null | undefined;
|
|
4412
|
-
pendingBalance?: number | null | undefined;
|
|
4413
|
-
profilePictureFileId?: string | null | undefined;
|
|
4414
|
-
profilePicture?: {
|
|
4415
|
-
path: string;
|
|
4416
|
-
id: string;
|
|
4417
|
-
createdAt: Date;
|
|
4418
|
-
userId: number;
|
|
4419
|
-
signedUrl: string;
|
|
4420
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4421
|
-
} | null | undefined;
|
|
4422
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
4423
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
4424
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
4425
|
-
} | null | undefined;
|
|
4426
|
-
orderStatus?: unknown;
|
|
4427
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
4428
|
-
}[] | null | undefined;
|
|
4429
|
-
brandId?: number | null | undefined;
|
|
4430
|
-
estimatedPrice?: number | null | undefined;
|
|
4431
|
-
purchaseDate?: Date | null | undefined;
|
|
4432
|
-
sellingDate?: Date | null | undefined;
|
|
4433
4372
|
fields?: {
|
|
4434
4373
|
value: string;
|
|
4435
4374
|
itemId: number;
|
|
4436
4375
|
fieldId: number;
|
|
4437
4376
|
}[] | null | undefined;
|
|
4438
4377
|
files?: {
|
|
4439
|
-
fileId: string;
|
|
4440
4378
|
itemId: number;
|
|
4379
|
+
fileId: string;
|
|
4441
4380
|
file?: {
|
|
4442
4381
|
path: string;
|
|
4443
4382
|
id: string;
|
|
4444
|
-
createdAt: Date;
|
|
4445
4383
|
userId: number;
|
|
4384
|
+
createdAt: Date;
|
|
4446
4385
|
signedUrl: string;
|
|
4447
4386
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4448
4387
|
} | null | undefined;
|
|
4449
4388
|
index?: number | null | undefined;
|
|
4450
4389
|
}[] | null | undefined;
|
|
4390
|
+
brandId?: number | null | undefined;
|
|
4391
|
+
sex?: string | null | undefined;
|
|
4451
4392
|
purchasePrice?: number | null | undefined;
|
|
4393
|
+
purchaseDate?: Date | null | undefined;
|
|
4452
4394
|
purchasePlaceId?: number | null | undefined;
|
|
4453
4395
|
purchased?: boolean | null | undefined;
|
|
4454
4396
|
sellingPrice?: number | null | undefined;
|
|
4397
|
+
sellingDate?: Date | null | undefined;
|
|
4455
4398
|
sellingPlaceId?: number | null | undefined;
|
|
4399
|
+
estimatedPrice?: number | null | undefined;
|
|
4400
|
+
fees?: {
|
|
4401
|
+
value: number;
|
|
4402
|
+
type: string;
|
|
4403
|
+
id: number;
|
|
4404
|
+
userId: number;
|
|
4405
|
+
name: string;
|
|
4406
|
+
createdAt: Date;
|
|
4407
|
+
updatedAt: Date;
|
|
4408
|
+
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
4409
|
+
startDate: Date;
|
|
4410
|
+
active: boolean;
|
|
4411
|
+
description?: string | null | undefined;
|
|
4412
|
+
itemId?: number | null | undefined;
|
|
4413
|
+
endDate?: Date | null | undefined;
|
|
4414
|
+
parentFeeId?: number | null | undefined;
|
|
4415
|
+
}[] | null | undefined;
|
|
4456
4416
|
feesSum?: number | null | undefined;
|
|
4457
4417
|
materialIds?: number[] | null | undefined;
|
|
4458
4418
|
enumValues?: {
|
|
@@ -4468,6 +4428,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4468
4428
|
createdAt: Date;
|
|
4469
4429
|
itemId: number;
|
|
4470
4430
|
type?: unknown;
|
|
4431
|
+
accountId?: string | null | undefined;
|
|
4471
4432
|
data?: {
|
|
4472
4433
|
type: "ACTION_CANCELED";
|
|
4473
4434
|
data: {
|
|
@@ -4533,23 +4494,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4533
4494
|
post: {
|
|
4534
4495
|
platformId: string;
|
|
4535
4496
|
post: {
|
|
4497
|
+
size?: string | null | undefined;
|
|
4536
4498
|
status?: string | null | undefined;
|
|
4537
4499
|
title?: string | null | undefined;
|
|
4538
4500
|
description?: string | null | undefined;
|
|
4539
|
-
brand?: string | null | undefined;
|
|
4540
|
-
statusId?: number | null | undefined;
|
|
4541
|
-
sizeId?: number | null | undefined;
|
|
4542
|
-
colorIds?: number[] | null | undefined;
|
|
4543
|
-
packageSizeId?: number | null | undefined;
|
|
4544
4501
|
price?: number | null | undefined;
|
|
4545
4502
|
currency?: string | null | undefined;
|
|
4503
|
+
brand?: string | null | undefined;
|
|
4546
4504
|
catalog?: string | null | undefined;
|
|
4547
4505
|
catalogId?: number | null | undefined;
|
|
4548
4506
|
colors?: string[] | null | undefined;
|
|
4507
|
+
colorIds?: number[] | null | undefined;
|
|
4549
4508
|
measurementLength?: number | null | undefined;
|
|
4550
4509
|
measurementWidth?: number | null | undefined;
|
|
4510
|
+
packageSizeId?: number | null | undefined;
|
|
4551
4511
|
photoUrls?: string[] | null | undefined;
|
|
4552
|
-
|
|
4512
|
+
sizeId?: number | null | undefined;
|
|
4513
|
+
statusId?: number | null | undefined;
|
|
4553
4514
|
isDraft?: boolean | null | undefined;
|
|
4554
4515
|
isArchived?: boolean | null | undefined;
|
|
4555
4516
|
isUnisex?: boolean | null | undefined;
|
|
@@ -4592,8 +4553,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4592
4553
|
} | {
|
|
4593
4554
|
type: "LIFECYCLE_STARTED";
|
|
4594
4555
|
data: {
|
|
4595
|
-
caseId: string;
|
|
4596
4556
|
accountId: string;
|
|
4557
|
+
caseId: string;
|
|
4597
4558
|
isRepeat?: boolean | null | undefined;
|
|
4598
4559
|
};
|
|
4599
4560
|
} | {
|
|
@@ -4632,17 +4593,17 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4632
4593
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
4633
4594
|
} | null | undefined;
|
|
4634
4595
|
} | null | undefined;
|
|
4635
|
-
publishingDate?: Date | null | undefined;
|
|
4636
|
-
isTransfer?: boolean | null | undefined;
|
|
4637
4596
|
targetAccountId?: string | null | undefined;
|
|
4638
4597
|
allowIfDeleted?: boolean | null | undefined;
|
|
4598
|
+
publishingDate?: Date | null | undefined;
|
|
4599
|
+
isTransfer?: boolean | null | undefined;
|
|
4639
4600
|
};
|
|
4640
4601
|
} | {
|
|
4641
4602
|
type: "REPUBLISHING_RETRY";
|
|
4642
4603
|
data: {
|
|
4643
|
-
maxAttempts: number;
|
|
4644
4604
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4645
4605
|
attemptNumber: number;
|
|
4606
|
+
maxAttempts: number;
|
|
4646
4607
|
previousHistoryId: string;
|
|
4647
4608
|
originalFailureDate: Date;
|
|
4648
4609
|
payload?: {
|
|
@@ -4684,9 +4645,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4684
4645
|
} | {
|
|
4685
4646
|
type: "SCHEDULED_RETRY";
|
|
4686
4647
|
data: {
|
|
4687
|
-
maxAttempts: number;
|
|
4688
4648
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4689
4649
|
attemptNumber: number;
|
|
4650
|
+
maxAttempts: number;
|
|
4690
4651
|
previousHistoryId: string;
|
|
4691
4652
|
originalFailureDate: Date;
|
|
4692
4653
|
fields?: {
|
|
@@ -4719,52 +4680,103 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4719
4680
|
targetDate?: Date | null | undefined;
|
|
4720
4681
|
};
|
|
4721
4682
|
} | null | undefined;
|
|
4722
|
-
accountId?: string | null | undefined;
|
|
4723
4683
|
targetDate?: Date | null | undefined;
|
|
4724
4684
|
requestId?: string | null | undefined;
|
|
4725
4685
|
targetHistoryId?: string | null | undefined;
|
|
4726
4686
|
} | null | undefined;
|
|
4687
|
+
platforms?: {
|
|
4688
|
+
id: string;
|
|
4689
|
+
accountId: string;
|
|
4690
|
+
createdAt: Date;
|
|
4691
|
+
itemId: number;
|
|
4692
|
+
platformId: string;
|
|
4693
|
+
platformUrl: string;
|
|
4694
|
+
platformPrice: number;
|
|
4695
|
+
updatedAt: Date;
|
|
4696
|
+
publishedAt: Date;
|
|
4697
|
+
status?: unknown;
|
|
4698
|
+
conversationId?: string | null | undefined;
|
|
4699
|
+
boostedAt?: Date | null | undefined;
|
|
4700
|
+
boostedUntil?: Date | null | undefined;
|
|
4701
|
+
viewsCount?: number | null | undefined;
|
|
4702
|
+
favoritesCount?: number | null | undefined;
|
|
4703
|
+
account?: {
|
|
4704
|
+
accountId: string;
|
|
4705
|
+
userId: number;
|
|
4706
|
+
name: string;
|
|
4707
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4708
|
+
status?: unknown;
|
|
4709
|
+
locale?: string | null | undefined;
|
|
4710
|
+
lockReason?: unknown;
|
|
4711
|
+
restrictedUntil?: Date | null | undefined;
|
|
4712
|
+
night?: {
|
|
4713
|
+
startsAt: Date;
|
|
4714
|
+
endsAt: Date;
|
|
4715
|
+
} | null | undefined;
|
|
4716
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
4717
|
+
ordersMaxDelay?: number | null | undefined;
|
|
4718
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
4719
|
+
walletMaxDelay?: number | null | undefined;
|
|
4720
|
+
availableBalance?: number | null | undefined;
|
|
4721
|
+
pendingBalance?: number | null | undefined;
|
|
4722
|
+
profilePictureFileId?: string | null | undefined;
|
|
4723
|
+
profilePicture?: {
|
|
4724
|
+
path: string;
|
|
4725
|
+
id: string;
|
|
4726
|
+
userId: number;
|
|
4727
|
+
createdAt: Date;
|
|
4728
|
+
signedUrl: string;
|
|
4729
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4730
|
+
} | null | undefined;
|
|
4731
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
4732
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
4733
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
4734
|
+
} | null | undefined;
|
|
4735
|
+
orderStatus?: unknown;
|
|
4736
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
4737
|
+
isBoosted?: boolean | null | undefined;
|
|
4738
|
+
}[] | null | undefined;
|
|
4727
4739
|
sourceInConversation?: unknown;
|
|
4728
4740
|
order?: {
|
|
4729
4741
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
4730
4742
|
labels?: {
|
|
4731
4743
|
id: string;
|
|
4732
|
-
fileId: string;
|
|
4733
4744
|
orderId: string;
|
|
4745
|
+
fileId: string;
|
|
4734
4746
|
nonCroppedFileId: string;
|
|
4735
4747
|
originalFileId: string;
|
|
4736
|
-
|
|
4748
|
+
file?: {
|
|
4737
4749
|
path: string;
|
|
4738
4750
|
id: string;
|
|
4739
|
-
createdAt: Date;
|
|
4740
4751
|
userId: number;
|
|
4752
|
+
createdAt: Date;
|
|
4741
4753
|
signedUrl: string;
|
|
4742
4754
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4743
4755
|
} | null | undefined;
|
|
4744
|
-
|
|
4745
|
-
file?: {
|
|
4756
|
+
nonCroppedFile?: {
|
|
4746
4757
|
path: string;
|
|
4747
4758
|
id: string;
|
|
4748
|
-
createdAt: Date;
|
|
4749
4759
|
userId: number;
|
|
4760
|
+
createdAt: Date;
|
|
4750
4761
|
signedUrl: string;
|
|
4751
4762
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4752
4763
|
} | null | undefined;
|
|
4753
|
-
|
|
4764
|
+
originalFile?: {
|
|
4754
4765
|
path: string;
|
|
4755
4766
|
id: string;
|
|
4756
|
-
createdAt: Date;
|
|
4757
4767
|
userId: number;
|
|
4768
|
+
createdAt: Date;
|
|
4758
4769
|
signedUrl: string;
|
|
4759
4770
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4760
4771
|
} | null | undefined;
|
|
4772
|
+
carrier?: unknown;
|
|
4761
4773
|
}[] | null | undefined;
|
|
4762
4774
|
invoices?: {
|
|
4763
4775
|
type: "SALE" | "PURCHASE";
|
|
4764
4776
|
status: string;
|
|
4765
4777
|
id: string;
|
|
4766
|
-
createdAt: Date;
|
|
4767
4778
|
userId: number;
|
|
4779
|
+
createdAt: Date;
|
|
4768
4780
|
currency: string;
|
|
4769
4781
|
orderId: string;
|
|
4770
4782
|
updatedAt: Date;
|
|
@@ -4773,21 +4785,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4773
4785
|
businessProfileId: string;
|
|
4774
4786
|
issueDate: Date;
|
|
4775
4787
|
subtotal: number;
|
|
4776
|
-
fileId?: string | null | undefined;
|
|
4777
4788
|
vatAmount?: number | null | undefined;
|
|
4789
|
+
fileId?: string | null | undefined;
|
|
4778
4790
|
file?: {
|
|
4779
4791
|
path: string;
|
|
4780
4792
|
id: string;
|
|
4781
|
-
createdAt: Date;
|
|
4782
4793
|
userId: number;
|
|
4794
|
+
createdAt: Date;
|
|
4783
4795
|
signedUrl: string;
|
|
4784
4796
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4785
4797
|
} | null | undefined;
|
|
4786
4798
|
vatRate?: number | null | undefined;
|
|
4787
4799
|
businessProfile?: {
|
|
4788
4800
|
id: string;
|
|
4789
|
-
createdAt: Date;
|
|
4790
4801
|
userId: number;
|
|
4802
|
+
createdAt: Date;
|
|
4791
4803
|
updatedAt: Date;
|
|
4792
4804
|
businessName: string;
|
|
4793
4805
|
address: string;
|
|
@@ -4800,8 +4812,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4800
4812
|
logo?: {
|
|
4801
4813
|
path: string;
|
|
4802
4814
|
id: string;
|
|
4803
|
-
createdAt: Date;
|
|
4804
4815
|
userId: number;
|
|
4816
|
+
createdAt: Date;
|
|
4805
4817
|
signedUrl: string;
|
|
4806
4818
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4807
4819
|
} | null | undefined;
|
|
@@ -4813,26 +4825,26 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4813
4825
|
firstName: string;
|
|
4814
4826
|
lastName: string;
|
|
4815
4827
|
phoneVerified: boolean;
|
|
4816
|
-
|
|
4828
|
+
postalCode?: string | null | undefined;
|
|
4829
|
+
city?: string | null | undefined;
|
|
4830
|
+
country?: string | null | undefined;
|
|
4817
4831
|
email?: string | null | undefined;
|
|
4832
|
+
addressLine1?: string | null | undefined;
|
|
4833
|
+
addressLine2?: string | null | undefined;
|
|
4834
|
+
birthDate?: Date | null | undefined;
|
|
4818
4835
|
idNumber?: string | null | undefined;
|
|
4819
4836
|
phone?: string | null | undefined;
|
|
4820
4837
|
iban?: string | null | undefined;
|
|
4821
4838
|
bic?: string | null | undefined;
|
|
4822
|
-
addressLine1?: string | null | undefined;
|
|
4823
|
-
addressLine2?: string | null | undefined;
|
|
4824
|
-
city?: string | null | undefined;
|
|
4825
|
-
postalCode?: string | null | undefined;
|
|
4826
|
-
country?: string | null | undefined;
|
|
4827
4839
|
} | null | undefined;
|
|
4828
4840
|
dueDate?: Date | null | undefined;
|
|
4829
4841
|
notes?: string | null | undefined;
|
|
4830
4842
|
lineItems?: {
|
|
4831
|
-
|
|
4843
|
+
quantity: number;
|
|
4832
4844
|
id: number;
|
|
4845
|
+
description: string;
|
|
4833
4846
|
createdAt: Date;
|
|
4834
4847
|
invoiceId: string;
|
|
4835
|
-
quantity: number;
|
|
4836
4848
|
unitPrice: number;
|
|
4837
4849
|
total: number;
|
|
4838
4850
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -4844,45 +4856,29 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4844
4856
|
}>, "many">;
|
|
4845
4857
|
}, "strip", z.ZodTypeAny, {
|
|
4846
4858
|
items: {
|
|
4847
|
-
actions: {
|
|
4848
|
-
perAccount: Record<string, ("REPUBLISH" | "UNKNOWN" | "PUBLISH" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE" | "UPDATE_CANCEL" | "BOOST")[]>;
|
|
4849
|
-
};
|
|
4850
|
-
name: string;
|
|
4851
4859
|
id: number;
|
|
4852
|
-
createdAt: Date;
|
|
4853
4860
|
userId: number;
|
|
4861
|
+
name: string;
|
|
4862
|
+
createdAt: Date;
|
|
4854
4863
|
updatedAt: Date;
|
|
4855
4864
|
sold: boolean;
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
|
|
4859
|
-
name: string;
|
|
4860
|
-
id: number;
|
|
4861
|
-
createdAt: Date;
|
|
4862
|
-
userId: number;
|
|
4863
|
-
updatedAt: Date;
|
|
4864
|
-
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
4865
|
-
startDate: Date;
|
|
4866
|
-
active: boolean;
|
|
4867
|
-
description?: string | null | undefined;
|
|
4868
|
-
itemId?: number | null | undefined;
|
|
4869
|
-
endDate?: Date | null | undefined;
|
|
4870
|
-
parentFeeId?: number | null | undefined;
|
|
4871
|
-
}[] | null | undefined;
|
|
4865
|
+
actions: {
|
|
4866
|
+
perAccount: Record<string, ("PUBLISH" | "REPUBLISH" | "UPDATE" | "UNKNOWN" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE_CANCEL" | "BOOST")[]>;
|
|
4867
|
+
};
|
|
4872
4868
|
description?: string | null | undefined;
|
|
4873
4869
|
categoryId?: number | null | undefined;
|
|
4874
|
-
sizeId?: number | null | undefined;
|
|
4875
|
-
colorIds?: number[] | null | undefined;
|
|
4876
|
-
packageSizeId?: number | null | undefined;
|
|
4877
4870
|
state?: number | null | undefined;
|
|
4871
|
+
colorIds?: number[] | null | undefined;
|
|
4878
4872
|
measurementLength?: number | null | undefined;
|
|
4879
4873
|
measurementWidth?: number | null | undefined;
|
|
4874
|
+
packageSizeId?: number | null | undefined;
|
|
4875
|
+
sizeId?: number | null | undefined;
|
|
4880
4876
|
labels?: {
|
|
4881
4877
|
itemId: number;
|
|
4882
4878
|
labelId: number;
|
|
4883
4879
|
label?: {
|
|
4884
|
-
name: string;
|
|
4885
4880
|
id: number;
|
|
4881
|
+
name: string;
|
|
4886
4882
|
createdAt: Date;
|
|
4887
4883
|
isUserLabel: boolean;
|
|
4888
4884
|
itemCount?: number | null | undefined;
|
|
@@ -4895,85 +4891,50 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4895
4891
|
fieldKey: string;
|
|
4896
4892
|
}[] | null | undefined;
|
|
4897
4893
|
sku?: string | null | undefined;
|
|
4898
|
-
sex?: string | null | undefined;
|
|
4899
|
-
platforms?: {
|
|
4900
|
-
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
4901
|
-
id: string;
|
|
4902
|
-
createdAt: Date;
|
|
4903
|
-
accountId: string;
|
|
4904
|
-
itemId: number;
|
|
4905
|
-
platformId: string;
|
|
4906
|
-
platformUrl: string;
|
|
4907
|
-
platformPrice: number;
|
|
4908
|
-
updatedAt: Date;
|
|
4909
|
-
publishedAt: Date;
|
|
4910
|
-
conversationId?: string | null | undefined;
|
|
4911
|
-
boostedAt?: Date | null | undefined;
|
|
4912
|
-
boostedUntil?: Date | null | undefined;
|
|
4913
|
-
viewsCount?: number | null | undefined;
|
|
4914
|
-
favoritesCount?: number | null | undefined;
|
|
4915
|
-
account?: {
|
|
4916
|
-
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
4917
|
-
name: string;
|
|
4918
|
-
userId: number;
|
|
4919
|
-
accountId: string;
|
|
4920
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4921
|
-
locale?: string | null | undefined;
|
|
4922
|
-
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
4923
|
-
restrictedUntil?: Date | null | undefined;
|
|
4924
|
-
night?: {
|
|
4925
|
-
startsAt: Date;
|
|
4926
|
-
endsAt: Date;
|
|
4927
|
-
} | null | undefined;
|
|
4928
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
4929
|
-
ordersMaxDelay?: number | null | undefined;
|
|
4930
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
4931
|
-
walletMaxDelay?: number | null | undefined;
|
|
4932
|
-
availableBalance?: number | null | undefined;
|
|
4933
|
-
pendingBalance?: number | null | undefined;
|
|
4934
|
-
profilePictureFileId?: string | null | undefined;
|
|
4935
|
-
profilePicture?: {
|
|
4936
|
-
path: string;
|
|
4937
|
-
id: string;
|
|
4938
|
-
createdAt: Date;
|
|
4939
|
-
userId: number;
|
|
4940
|
-
signedUrl: string;
|
|
4941
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4942
|
-
} | null | undefined;
|
|
4943
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
4944
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
4945
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
4946
|
-
} | null | undefined;
|
|
4947
|
-
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;
|
|
4948
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
4949
|
-
}[] | null | undefined;
|
|
4950
|
-
brandId?: number | null | undefined;
|
|
4951
|
-
estimatedPrice?: number | null | undefined;
|
|
4952
|
-
purchaseDate?: Date | null | undefined;
|
|
4953
|
-
sellingDate?: Date | null | undefined;
|
|
4954
4894
|
fields?: {
|
|
4955
4895
|
value: string;
|
|
4956
4896
|
itemId: number;
|
|
4957
4897
|
fieldId: number;
|
|
4958
4898
|
}[] | null | undefined;
|
|
4959
4899
|
files?: {
|
|
4960
|
-
fileId: string;
|
|
4961
4900
|
itemId: number;
|
|
4901
|
+
fileId: string;
|
|
4962
4902
|
file?: {
|
|
4963
4903
|
path: string;
|
|
4964
4904
|
id: string;
|
|
4965
|
-
createdAt: Date;
|
|
4966
4905
|
userId: number;
|
|
4906
|
+
createdAt: Date;
|
|
4967
4907
|
signedUrl: string;
|
|
4968
4908
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4969
4909
|
} | null | undefined;
|
|
4970
4910
|
index?: number | null | undefined;
|
|
4971
4911
|
}[] | null | undefined;
|
|
4912
|
+
brandId?: number | null | undefined;
|
|
4913
|
+
sex?: string | null | undefined;
|
|
4972
4914
|
purchasePrice?: number | null | undefined;
|
|
4915
|
+
purchaseDate?: Date | null | undefined;
|
|
4973
4916
|
purchasePlaceId?: number | null | undefined;
|
|
4974
4917
|
purchased?: boolean | null | undefined;
|
|
4975
4918
|
sellingPrice?: number | null | undefined;
|
|
4919
|
+
sellingDate?: Date | null | undefined;
|
|
4976
4920
|
sellingPlaceId?: number | null | undefined;
|
|
4921
|
+
estimatedPrice?: number | null | undefined;
|
|
4922
|
+
fees?: {
|
|
4923
|
+
value: number;
|
|
4924
|
+
type: string;
|
|
4925
|
+
id: number;
|
|
4926
|
+
userId: number;
|
|
4927
|
+
name: string;
|
|
4928
|
+
createdAt: Date;
|
|
4929
|
+
updatedAt: Date;
|
|
4930
|
+
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
4931
|
+
startDate: Date;
|
|
4932
|
+
active: boolean;
|
|
4933
|
+
description?: string | null | undefined;
|
|
4934
|
+
itemId?: number | null | undefined;
|
|
4935
|
+
endDate?: Date | null | undefined;
|
|
4936
|
+
parentFeeId?: number | null | undefined;
|
|
4937
|
+
}[] | null | undefined;
|
|
4977
4938
|
feesSum?: number | null | undefined;
|
|
4978
4939
|
materialIds?: number[] | null | undefined;
|
|
4979
4940
|
enumValues?: {
|
|
@@ -4989,11 +4950,12 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4989
4950
|
id: string;
|
|
4990
4951
|
createdAt: Date;
|
|
4991
4952
|
itemId: number;
|
|
4953
|
+
accountId?: string | null | undefined;
|
|
4992
4954
|
data?: {
|
|
4993
4955
|
type: "ACTION_CANCELED";
|
|
4994
4956
|
data: {
|
|
4995
4957
|
targetItemHistoryId: string;
|
|
4996
|
-
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | null | undefined;
|
|
4958
|
+
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | "LISTING_BOOSTED" | "LISTING_SOLD_ON_PLATFORM" | null | undefined;
|
|
4997
4959
|
details?: string | null | undefined;
|
|
4998
4960
|
};
|
|
4999
4961
|
} | {
|
|
@@ -5024,7 +4986,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5024
4986
|
accountId?: string | null | undefined;
|
|
5025
4987
|
reason?: string | null | undefined;
|
|
5026
4988
|
fields?: {
|
|
5027
|
-
field: "
|
|
4989
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
5028
4990
|
autoFixable: boolean;
|
|
5029
4991
|
error?: string | null | undefined;
|
|
5030
4992
|
}[] | null | undefined;
|
|
@@ -5054,23 +5016,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5054
5016
|
post: {
|
|
5055
5017
|
platformId: string;
|
|
5056
5018
|
post: {
|
|
5019
|
+
size?: string | null | undefined;
|
|
5057
5020
|
status?: string | null | undefined;
|
|
5058
5021
|
title?: string | null | undefined;
|
|
5059
5022
|
description?: string | null | undefined;
|
|
5060
|
-
brand?: string | null | undefined;
|
|
5061
|
-
statusId?: number | null | undefined;
|
|
5062
|
-
sizeId?: number | null | undefined;
|
|
5063
|
-
colorIds?: number[] | null | undefined;
|
|
5064
|
-
packageSizeId?: number | null | undefined;
|
|
5065
5023
|
price?: number | null | undefined;
|
|
5066
5024
|
currency?: string | null | undefined;
|
|
5025
|
+
brand?: string | null | undefined;
|
|
5067
5026
|
catalog?: string | null | undefined;
|
|
5068
5027
|
catalogId?: number | null | undefined;
|
|
5069
5028
|
colors?: string[] | null | undefined;
|
|
5029
|
+
colorIds?: number[] | null | undefined;
|
|
5070
5030
|
measurementLength?: number | null | undefined;
|
|
5071
5031
|
measurementWidth?: number | null | undefined;
|
|
5032
|
+
packageSizeId?: number | null | undefined;
|
|
5072
5033
|
photoUrls?: string[] | null | undefined;
|
|
5073
|
-
|
|
5034
|
+
sizeId?: number | null | undefined;
|
|
5035
|
+
statusId?: number | null | undefined;
|
|
5074
5036
|
isDraft?: boolean | null | undefined;
|
|
5075
5037
|
isArchived?: boolean | null | undefined;
|
|
5076
5038
|
isUnisex?: boolean | null | undefined;
|
|
@@ -5113,8 +5075,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5113
5075
|
} | {
|
|
5114
5076
|
type: "LIFECYCLE_STARTED";
|
|
5115
5077
|
data: {
|
|
5116
|
-
caseId: string;
|
|
5117
5078
|
accountId: string;
|
|
5079
|
+
caseId: string;
|
|
5118
5080
|
isRepeat?: boolean | null | undefined;
|
|
5119
5081
|
};
|
|
5120
5082
|
} | {
|
|
@@ -5153,17 +5115,17 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5153
5115
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
5154
5116
|
} | null | undefined;
|
|
5155
5117
|
} | null | undefined;
|
|
5156
|
-
publishingDate?: Date | null | undefined;
|
|
5157
|
-
isTransfer?: boolean | null | undefined;
|
|
5158
5118
|
targetAccountId?: string | null | undefined;
|
|
5159
5119
|
allowIfDeleted?: boolean | null | undefined;
|
|
5120
|
+
publishingDate?: Date | null | undefined;
|
|
5121
|
+
isTransfer?: boolean | null | undefined;
|
|
5160
5122
|
};
|
|
5161
5123
|
} | {
|
|
5162
5124
|
type: "REPUBLISHING_RETRY";
|
|
5163
5125
|
data: {
|
|
5164
|
-
maxAttempts: number;
|
|
5165
5126
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5166
5127
|
attemptNumber: number;
|
|
5128
|
+
maxAttempts: number;
|
|
5167
5129
|
previousHistoryId: string;
|
|
5168
5130
|
originalFailureDate: Date;
|
|
5169
5131
|
payload?: {
|
|
@@ -5191,7 +5153,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5191
5153
|
} | null | undefined;
|
|
5192
5154
|
} | null | undefined;
|
|
5193
5155
|
fields?: {
|
|
5194
|
-
field: "
|
|
5156
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
5195
5157
|
autoFixable: boolean;
|
|
5196
5158
|
error?: string | null | undefined;
|
|
5197
5159
|
}[] | null | undefined;
|
|
@@ -5205,13 +5167,13 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5205
5167
|
} | {
|
|
5206
5168
|
type: "SCHEDULED_RETRY";
|
|
5207
5169
|
data: {
|
|
5208
|
-
maxAttempts: number;
|
|
5209
5170
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5210
5171
|
attemptNumber: number;
|
|
5172
|
+
maxAttempts: number;
|
|
5211
5173
|
previousHistoryId: string;
|
|
5212
5174
|
originalFailureDate: Date;
|
|
5213
5175
|
fields?: {
|
|
5214
|
-
field: "
|
|
5176
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
5215
5177
|
autoFixable: boolean;
|
|
5216
5178
|
error?: string | null | undefined;
|
|
5217
5179
|
}[] | null | undefined;
|
|
@@ -5240,52 +5202,103 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5240
5202
|
targetDate?: Date | null | undefined;
|
|
5241
5203
|
};
|
|
5242
5204
|
} | null | undefined;
|
|
5243
|
-
accountId?: string | null | undefined;
|
|
5244
5205
|
targetDate?: Date | null | undefined;
|
|
5245
5206
|
requestId?: string | null | undefined;
|
|
5246
5207
|
targetHistoryId?: string | null | undefined;
|
|
5247
5208
|
} | null | undefined;
|
|
5209
|
+
platforms?: {
|
|
5210
|
+
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
5211
|
+
id: string;
|
|
5212
|
+
accountId: string;
|
|
5213
|
+
createdAt: Date;
|
|
5214
|
+
itemId: number;
|
|
5215
|
+
platformId: string;
|
|
5216
|
+
platformUrl: string;
|
|
5217
|
+
platformPrice: number;
|
|
5218
|
+
updatedAt: Date;
|
|
5219
|
+
publishedAt: Date;
|
|
5220
|
+
conversationId?: string | null | undefined;
|
|
5221
|
+
boostedAt?: Date | null | undefined;
|
|
5222
|
+
boostedUntil?: Date | null | undefined;
|
|
5223
|
+
viewsCount?: number | null | undefined;
|
|
5224
|
+
favoritesCount?: number | null | undefined;
|
|
5225
|
+
account?: {
|
|
5226
|
+
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
5227
|
+
accountId: string;
|
|
5228
|
+
userId: number;
|
|
5229
|
+
name: string;
|
|
5230
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5231
|
+
locale?: string | null | undefined;
|
|
5232
|
+
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
5233
|
+
restrictedUntil?: Date | null | undefined;
|
|
5234
|
+
night?: {
|
|
5235
|
+
startsAt: Date;
|
|
5236
|
+
endsAt: Date;
|
|
5237
|
+
} | null | undefined;
|
|
5238
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
5239
|
+
ordersMaxDelay?: number | null | undefined;
|
|
5240
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
5241
|
+
walletMaxDelay?: number | null | undefined;
|
|
5242
|
+
availableBalance?: number | null | undefined;
|
|
5243
|
+
pendingBalance?: number | null | undefined;
|
|
5244
|
+
profilePictureFileId?: string | null | undefined;
|
|
5245
|
+
profilePicture?: {
|
|
5246
|
+
path: string;
|
|
5247
|
+
id: string;
|
|
5248
|
+
userId: number;
|
|
5249
|
+
createdAt: Date;
|
|
5250
|
+
signedUrl: string;
|
|
5251
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5252
|
+
} | null | undefined;
|
|
5253
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
5254
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
5255
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
5256
|
+
} | null | undefined;
|
|
5257
|
+
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;
|
|
5258
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
5259
|
+
isBoosted?: boolean | null | undefined;
|
|
5260
|
+
}[] | null | undefined;
|
|
5248
5261
|
sourceInConversation?: "UNKNOWN" | "DELETED" | "ORDER" | "TRANSACTION" | null | undefined;
|
|
5249
5262
|
order?: {
|
|
5250
5263
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
5251
5264
|
labels?: {
|
|
5252
5265
|
id: string;
|
|
5253
|
-
fileId: string;
|
|
5254
5266
|
orderId: string;
|
|
5267
|
+
fileId: string;
|
|
5255
5268
|
nonCroppedFileId: string;
|
|
5256
5269
|
originalFileId: string;
|
|
5257
|
-
|
|
5270
|
+
file?: {
|
|
5258
5271
|
path: string;
|
|
5259
5272
|
id: string;
|
|
5260
|
-
createdAt: Date;
|
|
5261
5273
|
userId: number;
|
|
5274
|
+
createdAt: Date;
|
|
5262
5275
|
signedUrl: string;
|
|
5263
5276
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5264
5277
|
} | null | undefined;
|
|
5265
|
-
|
|
5266
|
-
file?: {
|
|
5278
|
+
nonCroppedFile?: {
|
|
5267
5279
|
path: string;
|
|
5268
5280
|
id: string;
|
|
5269
|
-
createdAt: Date;
|
|
5270
5281
|
userId: number;
|
|
5282
|
+
createdAt: Date;
|
|
5271
5283
|
signedUrl: string;
|
|
5272
5284
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5273
5285
|
} | null | undefined;
|
|
5274
|
-
|
|
5286
|
+
originalFile?: {
|
|
5275
5287
|
path: string;
|
|
5276
5288
|
id: string;
|
|
5277
|
-
createdAt: Date;
|
|
5278
5289
|
userId: number;
|
|
5290
|
+
createdAt: Date;
|
|
5279
5291
|
signedUrl: string;
|
|
5280
5292
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5281
5293
|
} | null | undefined;
|
|
5294
|
+
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;
|
|
5282
5295
|
}[] | null | undefined;
|
|
5283
5296
|
invoices?: {
|
|
5284
5297
|
type: "SALE" | "PURCHASE";
|
|
5285
5298
|
status: string;
|
|
5286
5299
|
id: string;
|
|
5287
|
-
createdAt: Date;
|
|
5288
5300
|
userId: number;
|
|
5301
|
+
createdAt: Date;
|
|
5289
5302
|
currency: string;
|
|
5290
5303
|
orderId: string;
|
|
5291
5304
|
updatedAt: Date;
|
|
@@ -5294,21 +5307,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5294
5307
|
businessProfileId: string;
|
|
5295
5308
|
issueDate: Date;
|
|
5296
5309
|
subtotal: number;
|
|
5297
|
-
fileId?: string | null | undefined;
|
|
5298
5310
|
vatAmount?: number | null | undefined;
|
|
5311
|
+
fileId?: string | null | undefined;
|
|
5299
5312
|
file?: {
|
|
5300
5313
|
path: string;
|
|
5301
5314
|
id: string;
|
|
5302
|
-
createdAt: Date;
|
|
5303
5315
|
userId: number;
|
|
5316
|
+
createdAt: Date;
|
|
5304
5317
|
signedUrl: string;
|
|
5305
5318
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5306
5319
|
} | null | undefined;
|
|
5307
5320
|
vatRate?: number | null | undefined;
|
|
5308
5321
|
businessProfile?: {
|
|
5309
5322
|
id: string;
|
|
5310
|
-
createdAt: Date;
|
|
5311
5323
|
userId: number;
|
|
5324
|
+
createdAt: Date;
|
|
5312
5325
|
updatedAt: Date;
|
|
5313
5326
|
businessName: string;
|
|
5314
5327
|
address: string;
|
|
@@ -5321,8 +5334,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5321
5334
|
logo?: {
|
|
5322
5335
|
path: string;
|
|
5323
5336
|
id: string;
|
|
5324
|
-
createdAt: Date;
|
|
5325
5337
|
userId: number;
|
|
5338
|
+
createdAt: Date;
|
|
5326
5339
|
signedUrl: string;
|
|
5327
5340
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5328
5341
|
} | null | undefined;
|
|
@@ -5334,26 +5347,26 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5334
5347
|
firstName: string;
|
|
5335
5348
|
lastName: string;
|
|
5336
5349
|
phoneVerified: boolean;
|
|
5337
|
-
|
|
5350
|
+
postalCode?: string | null | undefined;
|
|
5351
|
+
city?: string | null | undefined;
|
|
5352
|
+
country?: string | null | undefined;
|
|
5338
5353
|
email?: string | null | undefined;
|
|
5354
|
+
addressLine1?: string | null | undefined;
|
|
5355
|
+
addressLine2?: string | null | undefined;
|
|
5356
|
+
birthDate?: Date | null | undefined;
|
|
5339
5357
|
idNumber?: string | null | undefined;
|
|
5340
5358
|
phone?: string | null | undefined;
|
|
5341
5359
|
iban?: string | null | undefined;
|
|
5342
5360
|
bic?: string | null | undefined;
|
|
5343
|
-
addressLine1?: string | null | undefined;
|
|
5344
|
-
addressLine2?: string | null | undefined;
|
|
5345
|
-
city?: string | null | undefined;
|
|
5346
|
-
postalCode?: string | null | undefined;
|
|
5347
|
-
country?: string | null | undefined;
|
|
5348
5361
|
} | null | undefined;
|
|
5349
5362
|
dueDate?: Date | null | undefined;
|
|
5350
5363
|
notes?: string | null | undefined;
|
|
5351
5364
|
lineItems?: {
|
|
5352
|
-
|
|
5365
|
+
quantity: number;
|
|
5353
5366
|
id: number;
|
|
5367
|
+
description: string;
|
|
5354
5368
|
createdAt: Date;
|
|
5355
5369
|
invoiceId: string;
|
|
5356
|
-
quantity: number;
|
|
5357
5370
|
unitPrice: number;
|
|
5358
5371
|
total: number;
|
|
5359
5372
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -5367,16 +5380,14 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5367
5380
|
id: string;
|
|
5368
5381
|
accountId: string;
|
|
5369
5382
|
platformTransactionId: string;
|
|
5370
|
-
conversationId?: string | null | undefined;
|
|
5371
|
-
shipmentId?: string | null | undefined;
|
|
5372
5383
|
items?: {
|
|
5373
5384
|
transactionId: string;
|
|
5374
5385
|
itemOnPlatformId: string;
|
|
5375
5386
|
itemOnPlatform?: {
|
|
5376
5387
|
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
5377
5388
|
id: string;
|
|
5378
|
-
createdAt: Date;
|
|
5379
5389
|
accountId: string;
|
|
5390
|
+
createdAt: Date;
|
|
5380
5391
|
itemId: number;
|
|
5381
5392
|
platformId: string;
|
|
5382
5393
|
platformUrl: string;
|
|
@@ -5390,9 +5401,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5390
5401
|
favoritesCount?: number | null | undefined;
|
|
5391
5402
|
account?: {
|
|
5392
5403
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
5393
|
-
name: string;
|
|
5394
|
-
userId: number;
|
|
5395
5404
|
accountId: string;
|
|
5405
|
+
userId: number;
|
|
5406
|
+
name: string;
|
|
5396
5407
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5397
5408
|
locale?: string | null | undefined;
|
|
5398
5409
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -5411,8 +5422,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5411
5422
|
profilePicture?: {
|
|
5412
5423
|
path: string;
|
|
5413
5424
|
id: string;
|
|
5414
|
-
createdAt: Date;
|
|
5415
5425
|
userId: number;
|
|
5426
|
+
createdAt: Date;
|
|
5416
5427
|
signedUrl: string;
|
|
5417
5428
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5418
5429
|
} | null | undefined;
|
|
@@ -5422,52 +5433,39 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5422
5433
|
} | null | undefined;
|
|
5423
5434
|
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;
|
|
5424
5435
|
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
5436
|
+
isBoosted?: boolean | null | undefined;
|
|
5425
5437
|
} | null | undefined;
|
|
5426
5438
|
}[] | null | undefined;
|
|
5439
|
+
conversationId?: string | null | undefined;
|
|
5440
|
+
shipmentId?: string | null | undefined;
|
|
5427
5441
|
buyerPlatformId?: string | null | undefined;
|
|
5428
5442
|
sellerPlatformId?: string | null | undefined;
|
|
5429
5443
|
};
|
|
5430
5444
|
}, {
|
|
5431
5445
|
items: {
|
|
5432
|
-
actions: {
|
|
5433
|
-
perAccount: Record<string, unknown[]>;
|
|
5434
|
-
};
|
|
5435
|
-
name: string;
|
|
5436
5446
|
id: number;
|
|
5437
|
-
createdAt: Date;
|
|
5438
5447
|
userId: number;
|
|
5448
|
+
name: string;
|
|
5449
|
+
createdAt: Date;
|
|
5439
5450
|
updatedAt: Date;
|
|
5440
5451
|
sold: boolean;
|
|
5441
|
-
|
|
5442
|
-
|
|
5443
|
-
|
|
5444
|
-
name: string;
|
|
5445
|
-
id: number;
|
|
5446
|
-
createdAt: Date;
|
|
5447
|
-
userId: number;
|
|
5448
|
-
updatedAt: Date;
|
|
5449
|
-
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
5450
|
-
startDate: Date;
|
|
5451
|
-
active: boolean;
|
|
5452
|
-
description?: string | null | undefined;
|
|
5453
|
-
itemId?: number | null | undefined;
|
|
5454
|
-
endDate?: Date | null | undefined;
|
|
5455
|
-
parentFeeId?: number | null | undefined;
|
|
5456
|
-
}[] | null | undefined;
|
|
5452
|
+
actions: {
|
|
5453
|
+
perAccount: Record<string, unknown[]>;
|
|
5454
|
+
};
|
|
5457
5455
|
description?: string | null | undefined;
|
|
5458
5456
|
categoryId?: number | null | undefined;
|
|
5459
|
-
sizeId?: number | null | undefined;
|
|
5460
|
-
colorIds?: number[] | null | undefined;
|
|
5461
|
-
packageSizeId?: number | null | undefined;
|
|
5462
5457
|
state?: number | null | undefined;
|
|
5458
|
+
colorIds?: number[] | null | undefined;
|
|
5463
5459
|
measurementLength?: number | null | undefined;
|
|
5464
5460
|
measurementWidth?: number | null | undefined;
|
|
5461
|
+
packageSizeId?: number | null | undefined;
|
|
5462
|
+
sizeId?: number | null | undefined;
|
|
5465
5463
|
labels?: {
|
|
5466
5464
|
itemId: number;
|
|
5467
5465
|
labelId: number;
|
|
5468
5466
|
label?: {
|
|
5469
|
-
name: string;
|
|
5470
5467
|
id: number;
|
|
5468
|
+
name: string;
|
|
5471
5469
|
createdAt: Date;
|
|
5472
5470
|
isUserLabel: boolean;
|
|
5473
5471
|
itemCount?: number | null | undefined;
|
|
@@ -5480,85 +5478,50 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5480
5478
|
fieldKey: string;
|
|
5481
5479
|
}[] | null | undefined;
|
|
5482
5480
|
sku?: string | null | undefined;
|
|
5483
|
-
sex?: string | null | undefined;
|
|
5484
|
-
platforms?: {
|
|
5485
|
-
id: string;
|
|
5486
|
-
createdAt: Date;
|
|
5487
|
-
accountId: string;
|
|
5488
|
-
itemId: number;
|
|
5489
|
-
platformId: string;
|
|
5490
|
-
platformUrl: string;
|
|
5491
|
-
platformPrice: number;
|
|
5492
|
-
updatedAt: Date;
|
|
5493
|
-
publishedAt: Date;
|
|
5494
|
-
status?: unknown;
|
|
5495
|
-
conversationId?: string | null | undefined;
|
|
5496
|
-
boostedAt?: Date | null | undefined;
|
|
5497
|
-
boostedUntil?: Date | null | undefined;
|
|
5498
|
-
viewsCount?: number | null | undefined;
|
|
5499
|
-
favoritesCount?: number | null | undefined;
|
|
5500
|
-
account?: {
|
|
5501
|
-
name: string;
|
|
5502
|
-
userId: number;
|
|
5503
|
-
accountId: string;
|
|
5504
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5505
|
-
status?: unknown;
|
|
5506
|
-
locale?: string | null | undefined;
|
|
5507
|
-
lockReason?: unknown;
|
|
5508
|
-
restrictedUntil?: Date | null | undefined;
|
|
5509
|
-
night?: {
|
|
5510
|
-
startsAt: Date;
|
|
5511
|
-
endsAt: Date;
|
|
5512
|
-
} | null | undefined;
|
|
5513
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
5514
|
-
ordersMaxDelay?: number | null | undefined;
|
|
5515
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
5516
|
-
walletMaxDelay?: number | null | undefined;
|
|
5517
|
-
availableBalance?: number | null | undefined;
|
|
5518
|
-
pendingBalance?: number | null | undefined;
|
|
5519
|
-
profilePictureFileId?: string | null | undefined;
|
|
5520
|
-
profilePicture?: {
|
|
5521
|
-
path: string;
|
|
5522
|
-
id: string;
|
|
5523
|
-
createdAt: Date;
|
|
5524
|
-
userId: number;
|
|
5525
|
-
signedUrl: string;
|
|
5526
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5527
|
-
} | null | undefined;
|
|
5528
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
5529
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
5530
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
5531
|
-
} | null | undefined;
|
|
5532
|
-
orderStatus?: unknown;
|
|
5533
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
5534
|
-
}[] | null | undefined;
|
|
5535
|
-
brandId?: number | null | undefined;
|
|
5536
|
-
estimatedPrice?: number | null | undefined;
|
|
5537
|
-
purchaseDate?: Date | null | undefined;
|
|
5538
|
-
sellingDate?: Date | null | undefined;
|
|
5539
5481
|
fields?: {
|
|
5540
5482
|
value: string;
|
|
5541
5483
|
itemId: number;
|
|
5542
5484
|
fieldId: number;
|
|
5543
5485
|
}[] | null | undefined;
|
|
5544
5486
|
files?: {
|
|
5545
|
-
fileId: string;
|
|
5546
5487
|
itemId: number;
|
|
5488
|
+
fileId: string;
|
|
5547
5489
|
file?: {
|
|
5548
5490
|
path: string;
|
|
5549
5491
|
id: string;
|
|
5550
|
-
createdAt: Date;
|
|
5551
5492
|
userId: number;
|
|
5493
|
+
createdAt: Date;
|
|
5552
5494
|
signedUrl: string;
|
|
5553
5495
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5554
5496
|
} | null | undefined;
|
|
5555
5497
|
index?: number | null | undefined;
|
|
5556
5498
|
}[] | null | undefined;
|
|
5499
|
+
brandId?: number | null | undefined;
|
|
5500
|
+
sex?: string | null | undefined;
|
|
5557
5501
|
purchasePrice?: number | null | undefined;
|
|
5502
|
+
purchaseDate?: Date | null | undefined;
|
|
5558
5503
|
purchasePlaceId?: number | null | undefined;
|
|
5559
5504
|
purchased?: boolean | null | undefined;
|
|
5560
5505
|
sellingPrice?: number | null | undefined;
|
|
5506
|
+
sellingDate?: Date | null | undefined;
|
|
5561
5507
|
sellingPlaceId?: number | null | undefined;
|
|
5508
|
+
estimatedPrice?: number | null | undefined;
|
|
5509
|
+
fees?: {
|
|
5510
|
+
value: number;
|
|
5511
|
+
type: string;
|
|
5512
|
+
id: number;
|
|
5513
|
+
userId: number;
|
|
5514
|
+
name: string;
|
|
5515
|
+
createdAt: Date;
|
|
5516
|
+
updatedAt: Date;
|
|
5517
|
+
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
5518
|
+
startDate: Date;
|
|
5519
|
+
active: boolean;
|
|
5520
|
+
description?: string | null | undefined;
|
|
5521
|
+
itemId?: number | null | undefined;
|
|
5522
|
+
endDate?: Date | null | undefined;
|
|
5523
|
+
parentFeeId?: number | null | undefined;
|
|
5524
|
+
}[] | null | undefined;
|
|
5562
5525
|
feesSum?: number | null | undefined;
|
|
5563
5526
|
materialIds?: number[] | null | undefined;
|
|
5564
5527
|
enumValues?: {
|
|
@@ -5574,6 +5537,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5574
5537
|
createdAt: Date;
|
|
5575
5538
|
itemId: number;
|
|
5576
5539
|
type?: unknown;
|
|
5540
|
+
accountId?: string | null | undefined;
|
|
5577
5541
|
data?: {
|
|
5578
5542
|
type: "ACTION_CANCELED";
|
|
5579
5543
|
data: {
|
|
@@ -5639,23 +5603,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5639
5603
|
post: {
|
|
5640
5604
|
platformId: string;
|
|
5641
5605
|
post: {
|
|
5606
|
+
size?: string | null | undefined;
|
|
5642
5607
|
status?: string | null | undefined;
|
|
5643
5608
|
title?: string | null | undefined;
|
|
5644
5609
|
description?: string | null | undefined;
|
|
5645
|
-
brand?: string | null | undefined;
|
|
5646
|
-
statusId?: number | null | undefined;
|
|
5647
|
-
sizeId?: number | null | undefined;
|
|
5648
|
-
colorIds?: number[] | null | undefined;
|
|
5649
|
-
packageSizeId?: number | null | undefined;
|
|
5650
5610
|
price?: number | null | undefined;
|
|
5651
5611
|
currency?: string | null | undefined;
|
|
5612
|
+
brand?: string | null | undefined;
|
|
5652
5613
|
catalog?: string | null | undefined;
|
|
5653
5614
|
catalogId?: number | null | undefined;
|
|
5654
5615
|
colors?: string[] | null | undefined;
|
|
5616
|
+
colorIds?: number[] | null | undefined;
|
|
5655
5617
|
measurementLength?: number | null | undefined;
|
|
5656
5618
|
measurementWidth?: number | null | undefined;
|
|
5619
|
+
packageSizeId?: number | null | undefined;
|
|
5657
5620
|
photoUrls?: string[] | null | undefined;
|
|
5658
|
-
|
|
5621
|
+
sizeId?: number | null | undefined;
|
|
5622
|
+
statusId?: number | null | undefined;
|
|
5659
5623
|
isDraft?: boolean | null | undefined;
|
|
5660
5624
|
isArchived?: boolean | null | undefined;
|
|
5661
5625
|
isUnisex?: boolean | null | undefined;
|
|
@@ -5698,8 +5662,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5698
5662
|
} | {
|
|
5699
5663
|
type: "LIFECYCLE_STARTED";
|
|
5700
5664
|
data: {
|
|
5701
|
-
caseId: string;
|
|
5702
5665
|
accountId: string;
|
|
5666
|
+
caseId: string;
|
|
5703
5667
|
isRepeat?: boolean | null | undefined;
|
|
5704
5668
|
};
|
|
5705
5669
|
} | {
|
|
@@ -5738,17 +5702,17 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5738
5702
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
5739
5703
|
} | null | undefined;
|
|
5740
5704
|
} | null | undefined;
|
|
5741
|
-
publishingDate?: Date | null | undefined;
|
|
5742
|
-
isTransfer?: boolean | null | undefined;
|
|
5743
5705
|
targetAccountId?: string | null | undefined;
|
|
5744
5706
|
allowIfDeleted?: boolean | null | undefined;
|
|
5707
|
+
publishingDate?: Date | null | undefined;
|
|
5708
|
+
isTransfer?: boolean | null | undefined;
|
|
5745
5709
|
};
|
|
5746
5710
|
} | {
|
|
5747
5711
|
type: "REPUBLISHING_RETRY";
|
|
5748
5712
|
data: {
|
|
5749
|
-
maxAttempts: number;
|
|
5750
5713
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5751
5714
|
attemptNumber: number;
|
|
5715
|
+
maxAttempts: number;
|
|
5752
5716
|
previousHistoryId: string;
|
|
5753
5717
|
originalFailureDate: Date;
|
|
5754
5718
|
payload?: {
|
|
@@ -5790,9 +5754,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5790
5754
|
} | {
|
|
5791
5755
|
type: "SCHEDULED_RETRY";
|
|
5792
5756
|
data: {
|
|
5793
|
-
maxAttempts: number;
|
|
5794
5757
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5795
5758
|
attemptNumber: number;
|
|
5759
|
+
maxAttempts: number;
|
|
5796
5760
|
previousHistoryId: string;
|
|
5797
5761
|
originalFailureDate: Date;
|
|
5798
5762
|
fields?: {
|
|
@@ -5825,52 +5789,103 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5825
5789
|
targetDate?: Date | null | undefined;
|
|
5826
5790
|
};
|
|
5827
5791
|
} | null | undefined;
|
|
5828
|
-
accountId?: string | null | undefined;
|
|
5829
5792
|
targetDate?: Date | null | undefined;
|
|
5830
5793
|
requestId?: string | null | undefined;
|
|
5831
5794
|
targetHistoryId?: string | null | undefined;
|
|
5832
5795
|
} | null | undefined;
|
|
5796
|
+
platforms?: {
|
|
5797
|
+
id: string;
|
|
5798
|
+
accountId: string;
|
|
5799
|
+
createdAt: Date;
|
|
5800
|
+
itemId: number;
|
|
5801
|
+
platformId: string;
|
|
5802
|
+
platformUrl: string;
|
|
5803
|
+
platformPrice: number;
|
|
5804
|
+
updatedAt: Date;
|
|
5805
|
+
publishedAt: Date;
|
|
5806
|
+
status?: unknown;
|
|
5807
|
+
conversationId?: string | null | undefined;
|
|
5808
|
+
boostedAt?: Date | null | undefined;
|
|
5809
|
+
boostedUntil?: Date | null | undefined;
|
|
5810
|
+
viewsCount?: number | null | undefined;
|
|
5811
|
+
favoritesCount?: number | null | undefined;
|
|
5812
|
+
account?: {
|
|
5813
|
+
accountId: string;
|
|
5814
|
+
userId: number;
|
|
5815
|
+
name: string;
|
|
5816
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5817
|
+
status?: unknown;
|
|
5818
|
+
locale?: string | null | undefined;
|
|
5819
|
+
lockReason?: unknown;
|
|
5820
|
+
restrictedUntil?: Date | null | undefined;
|
|
5821
|
+
night?: {
|
|
5822
|
+
startsAt: Date;
|
|
5823
|
+
endsAt: Date;
|
|
5824
|
+
} | null | undefined;
|
|
5825
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
5826
|
+
ordersMaxDelay?: number | null | undefined;
|
|
5827
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
5828
|
+
walletMaxDelay?: number | null | undefined;
|
|
5829
|
+
availableBalance?: number | null | undefined;
|
|
5830
|
+
pendingBalance?: number | null | undefined;
|
|
5831
|
+
profilePictureFileId?: string | null | undefined;
|
|
5832
|
+
profilePicture?: {
|
|
5833
|
+
path: string;
|
|
5834
|
+
id: string;
|
|
5835
|
+
userId: number;
|
|
5836
|
+
createdAt: Date;
|
|
5837
|
+
signedUrl: string;
|
|
5838
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5839
|
+
} | null | undefined;
|
|
5840
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
5841
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
5842
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
5843
|
+
} | null | undefined;
|
|
5844
|
+
orderStatus?: unknown;
|
|
5845
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
5846
|
+
isBoosted?: boolean | null | undefined;
|
|
5847
|
+
}[] | null | undefined;
|
|
5833
5848
|
sourceInConversation?: unknown;
|
|
5834
5849
|
order?: {
|
|
5835
5850
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
5836
5851
|
labels?: {
|
|
5837
5852
|
id: string;
|
|
5838
|
-
fileId: string;
|
|
5839
5853
|
orderId: string;
|
|
5854
|
+
fileId: string;
|
|
5840
5855
|
nonCroppedFileId: string;
|
|
5841
5856
|
originalFileId: string;
|
|
5842
|
-
|
|
5857
|
+
file?: {
|
|
5843
5858
|
path: string;
|
|
5844
5859
|
id: string;
|
|
5845
|
-
createdAt: Date;
|
|
5846
5860
|
userId: number;
|
|
5861
|
+
createdAt: Date;
|
|
5847
5862
|
signedUrl: string;
|
|
5848
5863
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5849
5864
|
} | null | undefined;
|
|
5850
|
-
|
|
5851
|
-
file?: {
|
|
5865
|
+
nonCroppedFile?: {
|
|
5852
5866
|
path: string;
|
|
5853
5867
|
id: string;
|
|
5854
|
-
createdAt: Date;
|
|
5855
5868
|
userId: number;
|
|
5869
|
+
createdAt: Date;
|
|
5856
5870
|
signedUrl: string;
|
|
5857
5871
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5858
5872
|
} | null | undefined;
|
|
5859
|
-
|
|
5873
|
+
originalFile?: {
|
|
5860
5874
|
path: string;
|
|
5861
5875
|
id: string;
|
|
5862
|
-
createdAt: Date;
|
|
5863
5876
|
userId: number;
|
|
5877
|
+
createdAt: Date;
|
|
5864
5878
|
signedUrl: string;
|
|
5865
5879
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5866
5880
|
} | null | undefined;
|
|
5881
|
+
carrier?: unknown;
|
|
5867
5882
|
}[] | null | undefined;
|
|
5868
5883
|
invoices?: {
|
|
5869
5884
|
type: "SALE" | "PURCHASE";
|
|
5870
5885
|
status: string;
|
|
5871
5886
|
id: string;
|
|
5872
|
-
createdAt: Date;
|
|
5873
5887
|
userId: number;
|
|
5888
|
+
createdAt: Date;
|
|
5874
5889
|
currency: string;
|
|
5875
5890
|
orderId: string;
|
|
5876
5891
|
updatedAt: Date;
|
|
@@ -5879,21 +5894,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5879
5894
|
businessProfileId: string;
|
|
5880
5895
|
issueDate: Date;
|
|
5881
5896
|
subtotal: number;
|
|
5882
|
-
fileId?: string | null | undefined;
|
|
5883
5897
|
vatAmount?: number | null | undefined;
|
|
5898
|
+
fileId?: string | null | undefined;
|
|
5884
5899
|
file?: {
|
|
5885
5900
|
path: string;
|
|
5886
5901
|
id: string;
|
|
5887
|
-
createdAt: Date;
|
|
5888
5902
|
userId: number;
|
|
5903
|
+
createdAt: Date;
|
|
5889
5904
|
signedUrl: string;
|
|
5890
5905
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5891
5906
|
} | null | undefined;
|
|
5892
5907
|
vatRate?: number | null | undefined;
|
|
5893
5908
|
businessProfile?: {
|
|
5894
5909
|
id: string;
|
|
5895
|
-
createdAt: Date;
|
|
5896
5910
|
userId: number;
|
|
5911
|
+
createdAt: Date;
|
|
5897
5912
|
updatedAt: Date;
|
|
5898
5913
|
businessName: string;
|
|
5899
5914
|
address: string;
|
|
@@ -5906,8 +5921,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5906
5921
|
logo?: {
|
|
5907
5922
|
path: string;
|
|
5908
5923
|
id: string;
|
|
5909
|
-
createdAt: Date;
|
|
5910
5924
|
userId: number;
|
|
5925
|
+
createdAt: Date;
|
|
5911
5926
|
signedUrl: string;
|
|
5912
5927
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5913
5928
|
} | null | undefined;
|
|
@@ -5919,26 +5934,26 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5919
5934
|
firstName: string;
|
|
5920
5935
|
lastName: string;
|
|
5921
5936
|
phoneVerified: boolean;
|
|
5922
|
-
|
|
5937
|
+
postalCode?: string | null | undefined;
|
|
5938
|
+
city?: string | null | undefined;
|
|
5939
|
+
country?: string | null | undefined;
|
|
5923
5940
|
email?: string | null | undefined;
|
|
5941
|
+
addressLine1?: string | null | undefined;
|
|
5942
|
+
addressLine2?: string | null | undefined;
|
|
5943
|
+
birthDate?: Date | null | undefined;
|
|
5924
5944
|
idNumber?: string | null | undefined;
|
|
5925
5945
|
phone?: string | null | undefined;
|
|
5926
5946
|
iban?: string | null | undefined;
|
|
5927
5947
|
bic?: string | null | undefined;
|
|
5928
|
-
addressLine1?: string | null | undefined;
|
|
5929
|
-
addressLine2?: string | null | undefined;
|
|
5930
|
-
city?: string | null | undefined;
|
|
5931
|
-
postalCode?: string | null | undefined;
|
|
5932
|
-
country?: string | null | undefined;
|
|
5933
5948
|
} | null | undefined;
|
|
5934
5949
|
dueDate?: Date | null | undefined;
|
|
5935
5950
|
notes?: string | null | undefined;
|
|
5936
5951
|
lineItems?: {
|
|
5937
|
-
|
|
5952
|
+
quantity: number;
|
|
5938
5953
|
id: number;
|
|
5954
|
+
description: string;
|
|
5939
5955
|
createdAt: Date;
|
|
5940
5956
|
invoiceId: string;
|
|
5941
|
-
quantity: number;
|
|
5942
5957
|
unitPrice: number;
|
|
5943
5958
|
total: number;
|
|
5944
5959
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -5952,15 +5967,13 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5952
5967
|
id: string;
|
|
5953
5968
|
accountId: string;
|
|
5954
5969
|
platformTransactionId: string;
|
|
5955
|
-
conversationId?: string | null | undefined;
|
|
5956
|
-
shipmentId?: string | null | undefined;
|
|
5957
5970
|
items?: {
|
|
5958
5971
|
transactionId: string;
|
|
5959
5972
|
itemOnPlatformId: string;
|
|
5960
5973
|
itemOnPlatform?: {
|
|
5961
5974
|
id: string;
|
|
5962
|
-
createdAt: Date;
|
|
5963
5975
|
accountId: string;
|
|
5976
|
+
createdAt: Date;
|
|
5964
5977
|
itemId: number;
|
|
5965
5978
|
platformId: string;
|
|
5966
5979
|
platformUrl: string;
|
|
@@ -5974,9 +5987,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5974
5987
|
viewsCount?: number | null | undefined;
|
|
5975
5988
|
favoritesCount?: number | null | undefined;
|
|
5976
5989
|
account?: {
|
|
5977
|
-
name: string;
|
|
5978
|
-
userId: number;
|
|
5979
5990
|
accountId: string;
|
|
5991
|
+
userId: number;
|
|
5992
|
+
name: string;
|
|
5980
5993
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5981
5994
|
status?: unknown;
|
|
5982
5995
|
locale?: string | null | undefined;
|
|
@@ -5996,8 +6009,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5996
6009
|
profilePicture?: {
|
|
5997
6010
|
path: string;
|
|
5998
6011
|
id: string;
|
|
5999
|
-
createdAt: Date;
|
|
6000
6012
|
userId: number;
|
|
6013
|
+
createdAt: Date;
|
|
6001
6014
|
signedUrl: string;
|
|
6002
6015
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
6003
6016
|
} | null | undefined;
|
|
@@ -6007,8 +6020,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
6007
6020
|
} | null | undefined;
|
|
6008
6021
|
orderStatus?: unknown;
|
|
6009
6022
|
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
6023
|
+
isBoosted?: boolean | null | undefined;
|
|
6010
6024
|
} | null | undefined;
|
|
6011
6025
|
}[] | null | undefined;
|
|
6026
|
+
conversationId?: string | null | undefined;
|
|
6027
|
+
shipmentId?: string | null | undefined;
|
|
6012
6028
|
buyerPlatformId?: string | null | undefined;
|
|
6013
6029
|
sellerPlatformId?: string | null | undefined;
|
|
6014
6030
|
};
|