controlresell 2.26.6 → 2.26.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/com/controlresell/api/requests/coach/AskCoachRequest.d.ts +4 -4
- package/src/com/controlresell/api/requests/customers/CreateCustomerRequest.d.ts +2 -2
- package/src/com/controlresell/api/requests/files/CreatePresignedFileRequest.d.ts +2 -2
- package/src/com/controlresell/api/requests/items/boost/BoostRequest.d.ts +3 -3
- package/src/com/controlresell/api/requests/items/cancel/CancelRequest.d.ts +2 -2
- package/src/com/controlresell/api/requests/items/forms/FormOption.d.ts +2 -2
- package/src/com/controlresell/api/requests/items/forms/FormOptionGroup.d.ts +6 -6
- package/src/com/controlresell/api/requests/items/forms/FormOptionPickRequest.d.ts +14 -14
- package/src/com/controlresell/api/requests/items/publish/AutomaticPublishRequestItem.d.ts +2 -2
- package/src/com/controlresell/api/requests/items/publish/ManualPublishRequestItem.d.ts +6 -6
- package/src/com/controlresell/api/requests/items/publish/PublishRequest.d.ts +16 -16
- package/src/com/controlresell/api/requests/items/publish/PublishRequestItems.d.ts +16 -16
- package/src/com/controlresell/api/requests/items/publish/PublishTimeSlot.d.ts +2 -2
- package/src/com/controlresell/api/requests/items/republish/RepublishRequest.d.ts +22 -22
- package/src/com/controlresell/api/requests/items/update/UpdateRequest.d.ts +29 -29
- package/src/com/controlresell/api/requests/subscriptions/ChangeSubscriptionPlanRequest.d.ts +4 -4
- package/src/com/controlresell/api/requests/subscriptions/CreateSubscriptionPaymentLinkRequest.d.ts +4 -4
- package/src/com/controlresell/api/requests/subscriptions/SubscriptionLevelQuantity.d.ts +2 -2
- package/src/com/controlresell/api/responses/activation/ActivationResponse.d.ts +10 -10
- package/src/com/controlresell/api/responses/activity/ActivityDayLevel.d.ts +4 -0
- package/src/com/controlresell/api/responses/activity/ActivityDayLevel.d.ts.map +1 -0
- package/src/com/controlresell/api/responses/activity/ActivityDayLevel.js +5 -0
- package/src/com/controlresell/api/responses/activity/ActivityDayLevel.js.map +1 -0
- package/src/com/controlresell/api/responses/activity/ActivityDayLevel.ts +6 -0
- package/src/com/controlresell/api/responses/activity/ActivityDaySummary.d.ts +41 -2
- package/src/com/controlresell/api/responses/activity/ActivityDaySummary.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/activity/ActivityDaySummary.js +6 -1
- package/src/com/controlresell/api/responses/activity/ActivityDaySummary.js.map +1 -1
- package/src/com/controlresell/api/responses/activity/ActivityDaySummary.ts +6 -1
- package/src/com/controlresell/api/responses/activity/ActivityEvent.d.ts +12 -12
- package/src/com/controlresell/api/responses/activity/ActivityEventsResponse.d.ts +21 -21
- package/src/com/controlresell/api/responses/activity/ActivityFamily.d.ts +4 -0
- package/src/com/controlresell/api/responses/activity/ActivityFamily.d.ts.map +1 -0
- package/src/com/controlresell/api/responses/activity/ActivityFamily.js +5 -0
- package/src/com/controlresell/api/responses/activity/ActivityFamily.js.map +1 -0
- package/src/com/controlresell/api/responses/activity/ActivityFamily.ts +6 -0
- package/src/com/controlresell/api/responses/activity/ActivityFamilyCounts.d.ts +22 -0
- package/src/com/controlresell/api/responses/activity/ActivityFamilyCounts.d.ts.map +1 -0
- package/src/com/controlresell/api/responses/activity/ActivityFamilyCounts.js +10 -0
- package/src/com/controlresell/api/responses/activity/ActivityFamilyCounts.js.map +1 -0
- package/src/com/controlresell/api/responses/activity/ActivityFamilyCounts.ts +11 -0
- package/src/com/controlresell/api/responses/activity/ActivityItem.d.ts +2 -2
- package/src/com/controlresell/api/responses/activity/ActivityMessage.d.ts +1 -1
- package/src/com/controlresell/api/responses/activity/ActivitySummaryResponse.d.ts +121 -25
- package/src/com/controlresell/api/responses/activity/ActivitySummaryResponse.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/activity/ActivitySummaryResponse.js +6 -1
- package/src/com/controlresell/api/responses/activity/ActivitySummaryResponse.js.map +1 -1
- package/src/com/controlresell/api/responses/activity/ActivitySummaryResponse.ts +6 -1
- package/src/com/controlresell/api/responses/coach/CoachAnswerResponse.d.ts +4 -4
- package/src/com/controlresell/api/responses/coach/CoachMessageResponse.d.ts +2 -2
- package/src/com/controlresell/api/responses/coach/CoachThreadResponse.d.ts +6 -6
- package/src/com/controlresell/api/responses/coach/CoachThreadsResponse.d.ts +10 -10
- package/src/com/controlresell/api/responses/conversations/MessageStreamResponse.d.ts +204 -204
- package/src/com/controlresell/api/responses/customers/CustomersResponse.d.ts +24 -24
- package/src/com/controlresell/api/responses/fees/GetAllFeesData.d.ts +12 -12
- package/src/com/controlresell/api/responses/invoices/ListInvoicesResponse.d.ts +76 -76
- package/src/com/controlresell/api/responses/items/FormOptionPickResponse.d.ts +2 -2
- package/src/com/controlresell/api/responses/items/ItemActions.d.ts +1 -1
- package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts +734 -734
- package/src/com/controlresell/api/responses/items/ListedItem.d.ts +491 -491
- package/src/com/controlresell/api/responses/items/ListedItemOrder.d.ts +114 -114
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseBaseResponse.d.ts +2 -2
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseResponse.d.ts +6 -6
- package/src/com/controlresell/api/responses/subscriptions/PromoCodeResponse.d.ts +2 -2
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionLevelResponse.d.ts +2 -2
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionLevelsResponse.d.ts +4 -4
- package/src/com/controlresell/auth/models/preferences/CreatePreferencePayload.d.ts +2 -2
- package/src/com/controlresell/auth/models/preferences/Preference.d.ts +104 -104
- package/src/com/controlresell/auth/models/preferences/PreferenceWithCase.d.ts +298 -298
- package/src/com/controlresell/auth/models/preferences/PreferenceWithChildren.d.ts +238 -238
- package/src/com/controlresell/auth/models/preferences/cases/CreatePreferenceCasePayload.d.ts +70 -70
- package/src/com/controlresell/auth/models/preferences/cases/PartialPreferenceCasePayload.d.ts +68 -68
- package/src/com/controlresell/auth/models/preferences/cases/PreferenceCase.d.ts +74 -74
- package/src/com/controlresell/auth/models/preferences/payloads/actions/LifecycleDistributionMode.d.ts +8 -8
- package/src/com/controlresell/auth/models/preferences/payloads/actions/LifecycleTimeSlot.d.ts +2 -2
- package/src/com/controlresell/auth/models/preferences/payloads/actions/ManualLifecycleDistributionMode.d.ts +4 -4
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionPayload.d.ts +4 -4
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionsPayload.d.ts +14 -14
- package/src/com/controlresell/auth/models/preferences/queue/PreferenceNextActionPayload.d.ts +378 -378
- package/src/com/controlresell/auth/models/preferences/variants/PartialPreferenceCaseVariantPayload.d.ts +50 -50
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariant.d.ts +52 -52
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantDecodedPayload.d.ts +72 -72
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantPayload.d.ts +50 -50
- package/src/com/controlresell/models/auth/LoginPayload.d.ts +2 -2
- package/src/com/controlresell/models/auth/RegisterPayload.d.ts +2 -2
- package/src/com/controlresell/models/business/BusinessProfile.d.ts +6 -6
- package/src/com/controlresell/models/conversations/Conversation.d.ts +64 -64
- package/src/com/controlresell/models/conversations/ConversationOnPlatformUpdateRequest.d.ts +92 -92
- package/src/com/controlresell/models/conversations/ConversationUpdate.d.ts +124 -124
- package/src/com/controlresell/models/conversations/UserConversations.d.ts +94 -94
- package/src/com/controlresell/models/conversations/favorites/ConversationFavorite.d.ts +18 -18
- package/src/com/controlresell/models/conversations/favorites/CreateConversationFavoritePayload.d.ts +2 -2
- package/src/com/controlresell/models/conversations/favorites/ReportRateLimitOnFavorites.d.ts +28 -28
- package/src/com/controlresell/models/conversations/favorites/SubmitFavoritesResponse.d.ts +28 -28
- package/src/com/controlresell/models/conversations/messages/ConversationMessage.d.ts +18 -18
- package/src/com/controlresell/models/conversations/messages/ConversationMessageRequest.d.ts +6 -6
- package/src/com/controlresell/models/conversations/messages/CreateConversationMessagePayload.d.ts +6 -6
- package/src/com/controlresell/models/conversations/messages/PaginatedConversationMessages.d.ts +30 -30
- package/src/com/controlresell/models/conversations/messages/files/ConversationMessageFile.d.ts +6 -6
- package/src/com/controlresell/models/conversations/messages/variables/PreferenceVariable.d.ts +2 -2
- package/src/com/controlresell/models/conversations/offers/ConversationOfferRequest.d.ts +2 -2
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.d.ts +66 -66
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerProfileCase.d.ts +4 -4
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerQuestionCase.d.ts +2 -2
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerTriggerCase.d.ts +4 -4
- package/src/com/controlresell/models/conversations/preferences/ExcludedBuyer.d.ts +2 -2
- package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreference.d.ts +92 -92
- package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreferenceCase.d.ts +28 -28
- package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreferenceVariant.d.ts +12 -12
- package/src/com/controlresell/models/conversations/preferences/NegotiationPreference.d.ts +10 -10
- package/src/com/controlresell/models/conversations/preferences/NegotiationPreferenceCase.d.ts +4 -4
- package/src/com/controlresell/models/conversations/reminders/SendConversationReminderRequest.d.ts +2 -2
- package/src/com/controlresell/models/conversations/users/ConversationUser.d.ts +8 -8
- package/src/com/controlresell/models/conversations/users/CreateConversationUserPayload.d.ts +2 -2
- package/src/com/controlresell/models/conversations/users/UpdateConversationUserPayload.d.ts +4 -4
- package/src/com/controlresell/models/customers/Customer.d.ts +12 -12
- package/src/com/controlresell/models/discord/DiscordLinkCreatedEvent.d.ts +9 -9
- package/src/com/controlresell/models/discord/DiscordLinkDeletedEvent.d.ts +2 -2
- package/src/com/controlresell/models/fees/Fee.d.ts +6 -6
- package/src/com/controlresell/models/files/File.d.ts +2 -2
- package/src/com/controlresell/models/filters/MatchingItem.d.ts +2 -2
- package/src/com/controlresell/models/filters/PreferenceFilter.d.ts +20 -20
- package/src/com/controlresell/models/filters/SavedFilters.d.ts +16 -16
- package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts +16 -16
- package/src/com/controlresell/models/invoices/Invoice.d.ts +50 -50
- package/src/com/controlresell/models/invoices/InvoiceLineItem.d.ts +4 -4
- package/src/com/controlresell/models/items/CreatedItems.d.ts +1443 -1443
- package/src/com/controlresell/models/items/Item.d.ts +456 -456
- package/src/com/controlresell/models/items/ItemFiltersContext.d.ts +8 -8
- package/src/com/controlresell/models/items/ItemPayload.d.ts +18 -18
- package/src/com/controlresell/models/items/ItemSoldPayload.d.ts +2 -2
- package/src/com/controlresell/models/items/ItemUpdate.d.ts +735 -735
- package/src/com/controlresell/models/items/UpdatedItem.d.ts +1443 -1443
- package/src/com/controlresell/models/items/analysis/ItemAnalysisCompletion.d.ts +4 -4
- package/src/com/controlresell/models/items/analysis/ItemAnalysisRequest.d.ts +16 -16
- package/src/com/controlresell/models/items/analysis/ItemAnalysisUpdate.d.ts +735 -735
- package/src/com/controlresell/models/items/analysis/ItemFieldResolution.d.ts +2 -2
- package/src/com/controlresell/models/items/analysis/ItemFieldResolutionsRequest.d.ts +4 -4
- package/src/com/controlresell/models/items/estimation/ItemPriceEstimation.d.ts +4 -4
- package/src/com/controlresell/models/items/estimation/ItemPriceEstimationDraft.d.ts +8 -8
- package/src/com/controlresell/models/items/estimation/ItemPriceEstimationRequest.d.ts +16 -16
- package/src/com/controlresell/models/items/estimation/MarketPriceDistribution.d.ts +2 -2
- package/src/com/controlresell/models/items/files/ItemFile.d.ts +6 -6
- package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.d.ts +102 -102
- package/src/com/controlresell/models/items/history/ItemHistory.d.ts +104 -104
- package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.d.ts +154 -154
- package/src/com/controlresell/models/items/history/data/ItemHistoryFailedToPublishPayload.d.ts +2 -2
- package/src/com/controlresell/models/items/history/data/ItemHistoryImportedPayload.d.ts +36 -36
- package/src/com/controlresell/models/items/history/data/ItemHistoryLifecycleStartedPayload.d.ts +2 -2
- package/src/com/controlresell/models/items/history/data/ItemHistoryRepublishingPayload.d.ts +4 -4
- package/src/com/controlresell/models/items/history/data/ItemHistoryRepublishingRetryPayload.d.ts +4 -4
- package/src/com/controlresell/models/items/history/data/ItemHistoryScheduledRetryPayload.d.ts +4 -4
- package/src/com/controlresell/models/items/labels/ItemLabel.d.ts +4 -4
- package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts +16 -16
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts +50 -50
- package/src/com/controlresell/models/items/templates/PreferenceTemplatePayload.d.ts +8 -8
- package/src/com/controlresell/models/items/templates/Template.d.ts +16 -16
- package/src/com/controlresell/models/metadata/brands/Brand.d.ts +2 -2
- package/src/com/controlresell/models/metadata/categories/CatalogRoot.d.ts +8 -8
- package/src/com/controlresell/models/metadata/categories/Category.d.ts +4 -4
- package/src/com/controlresell/models/metadata/categories/CategoryFormSchema.d.ts +10 -10
- package/src/com/controlresell/models/metadata/categories/EnumFieldSpec.d.ts +4 -4
- package/src/com/controlresell/models/metadata/categoryfields/CategoryField.d.ts +2 -2
- package/src/com/controlresell/models/metadata/categoryfields/CreateCategoryFieldPayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/colors/Color.d.ts +2 -2
- package/src/com/controlresell/models/metadata/colors/ColorRoot.d.ts +4 -4
- package/src/com/controlresell/models/metadata/enums/Enum.d.ts +2 -2
- package/src/com/controlresell/models/metadata/favorites/CreateFavoriteMetadataPayload.d.ts +1 -1
- package/src/com/controlresell/models/metadata/favorites/FavoriteMetadata.d.ts +1 -1
- package/src/com/controlresell/models/metadata/labels/Label.d.ts +2 -2
- package/src/com/controlresell/models/metadata/packagesizes/PackageSize.d.ts +2 -2
- package/src/com/controlresell/models/metadata/places/Place.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformCategoriesPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformCategoryFieldsPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformEnumsPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformSizesPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/BrandMapping.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/CategoryMapping.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/CreateBrandMappingPayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/CreateCategoryMappingPayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/CreateEnumMappingPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/CreateSizeMappingPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/EnumMapping.d.ts +6 -6
- package/src/com/controlresell/models/metadata/platforms/ItemListingPreview.d.ts +756 -756
- package/src/com/controlresell/models/metadata/platforms/MappedPlatformCategories.d.ts +13 -0
- package/src/com/controlresell/models/metadata/platforms/MappedPlatformCategories.d.ts.map +1 -0
- package/src/com/controlresell/models/metadata/platforms/MappedPlatformCategories.js +6 -0
- package/src/com/controlresell/models/metadata/platforms/MappedPlatformCategories.js.map +1 -0
- package/src/com/controlresell/models/metadata/platforms/MappedPlatformCategories.ts +7 -0
- package/src/com/controlresell/models/metadata/platforms/MappingInfo.d.ts +36 -36
- package/src/com/controlresell/models/metadata/platforms/PlatformBrand.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/PlatformCategory.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/PlatformCategoryFieldPayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/PlatformCategoryPayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/PlatformEnum.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/PlatformEnumPayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/PlatformSize.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/PlatformSizePayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/SizeMapping.d.ts +6 -6
- package/src/com/controlresell/models/metadata/platforms/UpdateEnumMappingPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/sizes/Size.d.ts +2 -2
- package/src/com/controlresell/models/metadata/sizes/SizeGroup.d.ts +6 -6
- package/src/com/controlresell/models/metadata/sizes/SizeRoot.d.ts +10 -10
- package/src/com/controlresell/models/metadata/statuses/Status.d.ts +2 -2
- package/src/com/controlresell/models/onboardingquiz/OnboardingQuizResponse.d.ts +4 -4
- package/src/com/controlresell/models/platforms/labels/OrderLabel.d.ts +22 -22
- package/src/com/controlresell/models/platforms/orders/CreateOrderPayload.d.ts +2 -2
- package/src/com/controlresell/models/platforms/orders/Order.d.ts +274 -274
- package/src/com/controlresell/models/platforms/orders/OrderFiltersContext.d.ts +2 -2
- package/src/com/controlresell/models/platforms/orders/OrderLabelUpdate.d.ts +38 -38
- package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts +14 -14
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +1629 -1629
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +24 -24
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +1161 -1161
- package/src/com/controlresell/models/platforms/pickups/CreatePickupPointPayload.d.ts +4 -4
- package/src/com/controlresell/models/platforms/pickups/PickupPoint.d.ts +6 -6
- package/src/com/controlresell/models/platforms/pickups/PickupPointInOrder.d.ts +12 -12
- package/src/com/controlresell/models/platforms/pickups/UpdatePickupPointPayload.d.ts +4 -4
- package/src/com/controlresell/models/subscriptions/ActiveLevel.d.ts +2 -2
- package/src/com/controlresell/models/subscriptions/SubscriptionChangedEvent.d.ts +4 -4
- package/src/com/controlresell/models/subscriptions/SubscriptionHistory.d.ts +4 -4
- package/src/com/controlresell/models/subscriptions/UserLimitCounter.d.ts +2 -2
- package/src/com/controlresell/models/subscriptions/UserLimits.d.ts +46 -46
- package/src/com/controlresell/models/transactions/Transaction.d.ts +36 -36
- package/src/com/controlresell/models/transactions/items/ItemInTransaction.d.ts +24 -24
- package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts +773 -773
- package/src/com/controlresell/models/users/UpdateUserPayload.d.ts +6 -6
- package/src/com/controlresell/models/users/User.d.ts +30 -30
- package/src/com/controlresell/models/users/fields/Field.d.ts +2 -2
- package/src/com/controlresell/models/users/fields/FieldsWithData.d.ts +4 -4
- package/src/com/controlresell/models/users/platforms/CreateUserOnPlatformPayload.d.ts +2 -2
- package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts +14 -14
- package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts +16 -16
- package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.d.ts +2 -2
- package/src/com/controlresell/models/users/platforms/UserOnPlatform.d.ts +8 -8
- package/src/com/controlresell/models/users/ws/ResourceUpdate.d.ts +61 -61
- package/src/com/controlresell/models/users/ws/UserLimitsUpdate.d.ts +74 -74
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +3614 -3614
- package/src/com/controlresell/models/users/ws/UserWsResourcePayload.d.ts +80 -80
- package/src/index.d.ts +404 -400
- package/src/index.d.ts.map +1 -1
- package/src/index.js +404 -400
- package/src/index.js.map +1 -1
- package/src/index.ts +404 -400
|
@@ -56,15 +56,15 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
56
56
|
}, "strip", z.ZodTypeAny, {
|
|
57
57
|
path: string;
|
|
58
58
|
id: string;
|
|
59
|
-
userId: number;
|
|
60
59
|
createdAt: Date;
|
|
60
|
+
userId: number;
|
|
61
61
|
signedUrl: string;
|
|
62
62
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
63
63
|
}, {
|
|
64
64
|
path: string;
|
|
65
65
|
id: string;
|
|
66
|
-
userId: number;
|
|
67
66
|
createdAt: Date;
|
|
67
|
+
userId: number;
|
|
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
|
-
accountId: string;
|
|
79
|
-
userId: number;
|
|
80
78
|
name: string;
|
|
79
|
+
userId: number;
|
|
80
|
+
accountId: 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
|
-
userId: number;
|
|
100
99
|
createdAt: Date;
|
|
100
|
+
userId: number;
|
|
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
|
-
accountId: string;
|
|
109
|
-
userId: number;
|
|
110
108
|
name: string;
|
|
109
|
+
userId: number;
|
|
110
|
+
accountId: 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
|
-
userId: number;
|
|
131
130
|
createdAt: Date;
|
|
131
|
+
userId: number;
|
|
132
132
|
signedUrl: string;
|
|
133
133
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
134
134
|
} | null | undefined;
|
|
@@ -147,8 +147,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
147
147
|
}, "strip", z.ZodTypeAny, {
|
|
148
148
|
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
149
149
|
id: string;
|
|
150
|
-
accountId: string;
|
|
151
150
|
createdAt: Date;
|
|
151
|
+
accountId: string;
|
|
152
152
|
itemId: number;
|
|
153
153
|
platformId: string;
|
|
154
154
|
platformUrl: string;
|
|
@@ -162,9 +162,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
162
162
|
favoritesCount?: number | null | undefined;
|
|
163
163
|
account?: {
|
|
164
164
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
165
|
-
accountId: string;
|
|
166
|
-
userId: number;
|
|
167
165
|
name: string;
|
|
166
|
+
userId: number;
|
|
167
|
+
accountId: string;
|
|
168
168
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
169
169
|
locale?: string | null | undefined;
|
|
170
170
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -183,8 +183,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
183
183
|
profilePicture?: {
|
|
184
184
|
path: string;
|
|
185
185
|
id: string;
|
|
186
|
-
userId: number;
|
|
187
186
|
createdAt: Date;
|
|
187
|
+
userId: number;
|
|
188
188
|
signedUrl: string;
|
|
189
189
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
190
190
|
} | null | undefined;
|
|
@@ -197,8 +197,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
197
197
|
isBoosted?: boolean | null | undefined;
|
|
198
198
|
}, {
|
|
199
199
|
id: string;
|
|
200
|
-
accountId: string;
|
|
201
200
|
createdAt: Date;
|
|
201
|
+
accountId: string;
|
|
202
202
|
itemId: number;
|
|
203
203
|
platformId: string;
|
|
204
204
|
platformUrl: string;
|
|
@@ -212,9 +212,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
212
212
|
viewsCount?: number | null | undefined;
|
|
213
213
|
favoritesCount?: number | null | undefined;
|
|
214
214
|
account?: {
|
|
215
|
-
accountId: string;
|
|
216
|
-
userId: number;
|
|
217
215
|
name: string;
|
|
216
|
+
userId: number;
|
|
217
|
+
accountId: string;
|
|
218
218
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
219
219
|
status?: unknown;
|
|
220
220
|
locale?: string | null | undefined;
|
|
@@ -234,8 +234,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
234
234
|
profilePicture?: {
|
|
235
235
|
path: string;
|
|
236
236
|
id: string;
|
|
237
|
-
userId: number;
|
|
238
237
|
createdAt: Date;
|
|
238
|
+
userId: number;
|
|
239
239
|
signedUrl: string;
|
|
240
240
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
241
241
|
} | null | undefined;
|
|
@@ -253,8 +253,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
253
253
|
itemOnPlatform?: {
|
|
254
254
|
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
255
255
|
id: string;
|
|
256
|
-
accountId: string;
|
|
257
256
|
createdAt: Date;
|
|
257
|
+
accountId: string;
|
|
258
258
|
itemId: number;
|
|
259
259
|
platformId: string;
|
|
260
260
|
platformUrl: string;
|
|
@@ -268,9 +268,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
268
268
|
favoritesCount?: number | null | undefined;
|
|
269
269
|
account?: {
|
|
270
270
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
271
|
-
accountId: string;
|
|
272
|
-
userId: number;
|
|
273
271
|
name: string;
|
|
272
|
+
userId: number;
|
|
273
|
+
accountId: string;
|
|
274
274
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
275
275
|
locale?: string | null | undefined;
|
|
276
276
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -289,8 +289,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
289
289
|
profilePicture?: {
|
|
290
290
|
path: string;
|
|
291
291
|
id: string;
|
|
292
|
-
userId: number;
|
|
293
292
|
createdAt: Date;
|
|
293
|
+
userId: number;
|
|
294
294
|
signedUrl: string;
|
|
295
295
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
296
296
|
} | null | undefined;
|
|
@@ -307,8 +307,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
307
307
|
itemOnPlatformId: string;
|
|
308
308
|
itemOnPlatform?: {
|
|
309
309
|
id: string;
|
|
310
|
-
accountId: string;
|
|
311
310
|
createdAt: Date;
|
|
311
|
+
accountId: string;
|
|
312
312
|
itemId: number;
|
|
313
313
|
platformId: string;
|
|
314
314
|
platformUrl: string;
|
|
@@ -322,9 +322,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
322
322
|
viewsCount?: number | null | undefined;
|
|
323
323
|
favoritesCount?: number | null | undefined;
|
|
324
324
|
account?: {
|
|
325
|
-
accountId: string;
|
|
326
|
-
userId: number;
|
|
327
325
|
name: string;
|
|
326
|
+
userId: number;
|
|
327
|
+
accountId: string;
|
|
328
328
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
329
329
|
status?: unknown;
|
|
330
330
|
locale?: string | null | undefined;
|
|
@@ -344,8 +344,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
344
344
|
profilePicture?: {
|
|
345
345
|
path: string;
|
|
346
346
|
id: string;
|
|
347
|
-
userId: number;
|
|
348
347
|
createdAt: Date;
|
|
348
|
+
userId: number;
|
|
349
349
|
signedUrl: string;
|
|
350
350
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
351
351
|
} | null | undefined;
|
|
@@ -362,14 +362,16 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
362
362
|
id: string;
|
|
363
363
|
accountId: string;
|
|
364
364
|
platformTransactionId: string;
|
|
365
|
+
conversationId?: string | null | undefined;
|
|
366
|
+
shipmentId?: string | null | undefined;
|
|
365
367
|
items?: {
|
|
366
368
|
transactionId: string;
|
|
367
369
|
itemOnPlatformId: string;
|
|
368
370
|
itemOnPlatform?: {
|
|
369
371
|
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
370
372
|
id: string;
|
|
371
|
-
accountId: string;
|
|
372
373
|
createdAt: Date;
|
|
374
|
+
accountId: string;
|
|
373
375
|
itemId: number;
|
|
374
376
|
platformId: string;
|
|
375
377
|
platformUrl: string;
|
|
@@ -383,9 +385,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
383
385
|
favoritesCount?: number | null | undefined;
|
|
384
386
|
account?: {
|
|
385
387
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
386
|
-
accountId: string;
|
|
387
|
-
userId: number;
|
|
388
388
|
name: string;
|
|
389
|
+
userId: number;
|
|
390
|
+
accountId: string;
|
|
389
391
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
390
392
|
locale?: string | null | undefined;
|
|
391
393
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -404,8 +406,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
404
406
|
profilePicture?: {
|
|
405
407
|
path: string;
|
|
406
408
|
id: string;
|
|
407
|
-
userId: number;
|
|
408
409
|
createdAt: Date;
|
|
410
|
+
userId: number;
|
|
409
411
|
signedUrl: string;
|
|
410
412
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
411
413
|
} | null | undefined;
|
|
@@ -418,21 +420,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
418
420
|
isBoosted?: boolean | null | undefined;
|
|
419
421
|
} | null | undefined;
|
|
420
422
|
}[] | null | undefined;
|
|
421
|
-
conversationId?: string | null | undefined;
|
|
422
|
-
shipmentId?: string | null | undefined;
|
|
423
423
|
buyerPlatformId?: string | null | undefined;
|
|
424
424
|
sellerPlatformId?: string | null | undefined;
|
|
425
425
|
}, {
|
|
426
426
|
id: string;
|
|
427
427
|
accountId: string;
|
|
428
428
|
platformTransactionId: string;
|
|
429
|
+
conversationId?: string | null | undefined;
|
|
430
|
+
shipmentId?: string | null | undefined;
|
|
429
431
|
items?: {
|
|
430
432
|
transactionId: string;
|
|
431
433
|
itemOnPlatformId: string;
|
|
432
434
|
itemOnPlatform?: {
|
|
433
435
|
id: string;
|
|
434
|
-
accountId: string;
|
|
435
436
|
createdAt: Date;
|
|
437
|
+
accountId: string;
|
|
436
438
|
itemId: number;
|
|
437
439
|
platformId: string;
|
|
438
440
|
platformUrl: string;
|
|
@@ -446,9 +448,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
446
448
|
viewsCount?: number | null | undefined;
|
|
447
449
|
favoritesCount?: number | null | undefined;
|
|
448
450
|
account?: {
|
|
449
|
-
accountId: string;
|
|
450
|
-
userId: number;
|
|
451
451
|
name: string;
|
|
452
|
+
userId: number;
|
|
453
|
+
accountId: string;
|
|
452
454
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
453
455
|
status?: unknown;
|
|
454
456
|
locale?: string | null | undefined;
|
|
@@ -468,8 +470,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
468
470
|
profilePicture?: {
|
|
469
471
|
path: string;
|
|
470
472
|
id: string;
|
|
471
|
-
userId: number;
|
|
472
473
|
createdAt: Date;
|
|
474
|
+
userId: number;
|
|
473
475
|
signedUrl: string;
|
|
474
476
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
475
477
|
} | null | undefined;
|
|
@@ -482,8 +484,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
482
484
|
isBoosted?: boolean | null | undefined;
|
|
483
485
|
} | null | undefined;
|
|
484
486
|
}[] | null | undefined;
|
|
485
|
-
conversationId?: string | null | undefined;
|
|
486
|
-
shipmentId?: string | null | undefined;
|
|
487
487
|
buyerPlatformId?: string | null | undefined;
|
|
488
488
|
sellerPlatformId?: string | null | undefined;
|
|
489
489
|
}>;
|
|
@@ -507,38 +507,38 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
507
507
|
}, "strip", z.ZodTypeAny, {
|
|
508
508
|
path: string;
|
|
509
509
|
id: string;
|
|
510
|
-
userId: number;
|
|
511
510
|
createdAt: Date;
|
|
511
|
+
userId: number;
|
|
512
512
|
signedUrl: string;
|
|
513
513
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
514
514
|
}, {
|
|
515
515
|
path: string;
|
|
516
516
|
id: string;
|
|
517
|
-
userId: number;
|
|
518
517
|
createdAt: Date;
|
|
518
|
+
userId: number;
|
|
519
519
|
signedUrl: string;
|
|
520
520
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
521
521
|
}>>>;
|
|
522
522
|
}, "strip", z.ZodTypeAny, {
|
|
523
|
-
itemId: number;
|
|
524
523
|
fileId: string;
|
|
524
|
+
itemId: number;
|
|
525
525
|
file?: {
|
|
526
526
|
path: string;
|
|
527
527
|
id: string;
|
|
528
|
-
userId: number;
|
|
529
528
|
createdAt: Date;
|
|
529
|
+
userId: number;
|
|
530
530
|
signedUrl: string;
|
|
531
531
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
532
532
|
} | null | undefined;
|
|
533
533
|
index?: number | null | undefined;
|
|
534
534
|
}, {
|
|
535
|
-
itemId: number;
|
|
536
535
|
fileId: string;
|
|
536
|
+
itemId: number;
|
|
537
537
|
file?: {
|
|
538
538
|
path: string;
|
|
539
539
|
id: string;
|
|
540
|
-
userId: number;
|
|
541
540
|
createdAt: Date;
|
|
541
|
+
userId: number;
|
|
542
542
|
signedUrl: string;
|
|
543
543
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
544
544
|
} | null | undefined;
|
|
@@ -576,12 +576,12 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
576
576
|
}, "strip", z.ZodTypeAny, {
|
|
577
577
|
value: number;
|
|
578
578
|
type: string;
|
|
579
|
-
id: number;
|
|
580
|
-
userId: number;
|
|
581
579
|
name: string;
|
|
580
|
+
id: number;
|
|
582
581
|
createdAt: Date;
|
|
582
|
+
userId: number;
|
|
583
583
|
updatedAt: Date;
|
|
584
|
-
recurrence: "
|
|
584
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
585
585
|
startDate: Date;
|
|
586
586
|
active: boolean;
|
|
587
587
|
description?: string | null | undefined;
|
|
@@ -591,12 +591,12 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
591
591
|
}, {
|
|
592
592
|
value: number;
|
|
593
593
|
type: string;
|
|
594
|
-
id: number;
|
|
595
|
-
userId: number;
|
|
596
594
|
name: string;
|
|
595
|
+
id: number;
|
|
597
596
|
createdAt: Date;
|
|
597
|
+
userId: number;
|
|
598
598
|
updatedAt: Date;
|
|
599
|
-
recurrence: "
|
|
599
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
600
600
|
startDate: Date;
|
|
601
601
|
active: boolean;
|
|
602
602
|
description?: string | null | undefined;
|
|
@@ -617,16 +617,16 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
617
617
|
itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
618
618
|
parentId: z.ZodUnknown;
|
|
619
619
|
}, "strip", z.ZodTypeAny, {
|
|
620
|
-
id: number;
|
|
621
620
|
name: string;
|
|
621
|
+
id: number;
|
|
622
622
|
createdAt: Date;
|
|
623
623
|
isUserLabel: boolean;
|
|
624
624
|
itemCount?: number | null | undefined;
|
|
625
625
|
userId?: number | null | undefined;
|
|
626
626
|
parentId?: unknown;
|
|
627
627
|
}, {
|
|
628
|
-
id: number;
|
|
629
628
|
name: string;
|
|
629
|
+
id: number;
|
|
630
630
|
createdAt: Date;
|
|
631
631
|
isUserLabel: boolean;
|
|
632
632
|
itemCount?: number | null | undefined;
|
|
@@ -637,8 +637,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
637
637
|
itemId: number;
|
|
638
638
|
labelId: number;
|
|
639
639
|
label?: {
|
|
640
|
-
id: number;
|
|
641
640
|
name: string;
|
|
641
|
+
id: number;
|
|
642
642
|
createdAt: Date;
|
|
643
643
|
isUserLabel: boolean;
|
|
644
644
|
itemCount?: number | null | undefined;
|
|
@@ -649,8 +649,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
649
649
|
itemId: number;
|
|
650
650
|
labelId: number;
|
|
651
651
|
label?: {
|
|
652
|
-
id: number;
|
|
653
652
|
name: string;
|
|
653
|
+
id: number;
|
|
654
654
|
createdAt: Date;
|
|
655
655
|
isUserLabel: boolean;
|
|
656
656
|
itemCount?: number | null | undefined;
|
|
@@ -834,7 +834,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
834
834
|
autoFixable: z.ZodBoolean;
|
|
835
835
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
836
836
|
}, "strip", z.ZodTypeAny, {
|
|
837
|
-
field: "
|
|
837
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
838
838
|
autoFixable: boolean;
|
|
839
839
|
error?: string | null | undefined;
|
|
840
840
|
}, {
|
|
@@ -849,7 +849,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
849
849
|
accountId?: string | null | undefined;
|
|
850
850
|
reason?: string | null | undefined;
|
|
851
851
|
fields?: {
|
|
852
|
-
field: "
|
|
852
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
853
853
|
autoFixable: boolean;
|
|
854
854
|
error?: string | null | undefined;
|
|
855
855
|
}[] | null | undefined;
|
|
@@ -875,7 +875,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
875
875
|
accountId?: string | null | undefined;
|
|
876
876
|
reason?: string | null | undefined;
|
|
877
877
|
fields?: {
|
|
878
|
-
field: "
|
|
878
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
879
879
|
autoFixable: boolean;
|
|
880
880
|
error?: string | null | undefined;
|
|
881
881
|
}[] | null | undefined;
|
|
@@ -1059,23 +1059,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1059
1059
|
boostedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1060
1060
|
boostedUntil: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1061
1061
|
}, "strip", z.ZodTypeAny, {
|
|
1062
|
-
size?: string | null | undefined;
|
|
1063
1062
|
status?: string | null | undefined;
|
|
1064
1063
|
title?: string | null | undefined;
|
|
1065
1064
|
description?: string | null | undefined;
|
|
1065
|
+
brand?: string | null | undefined;
|
|
1066
|
+
statusId?: number | null | undefined;
|
|
1067
|
+
sizeId?: number | null | undefined;
|
|
1068
|
+
colorIds?: number[] | null | undefined;
|
|
1069
|
+
packageSizeId?: number | null | undefined;
|
|
1066
1070
|
price?: number | null | undefined;
|
|
1067
1071
|
currency?: string | null | undefined;
|
|
1068
|
-
brand?: string | null | undefined;
|
|
1069
1072
|
catalog?: string | null | undefined;
|
|
1070
1073
|
catalogId?: number | null | undefined;
|
|
1071
1074
|
colors?: string[] | null | undefined;
|
|
1072
|
-
colorIds?: number[] | null | undefined;
|
|
1073
1075
|
measurementLength?: number | null | undefined;
|
|
1074
1076
|
measurementWidth?: number | null | undefined;
|
|
1075
|
-
packageSizeId?: number | null | undefined;
|
|
1076
1077
|
photoUrls?: string[] | null | undefined;
|
|
1077
|
-
|
|
1078
|
-
statusId?: number | null | undefined;
|
|
1078
|
+
size?: string | null | undefined;
|
|
1079
1079
|
isDraft?: boolean | null | undefined;
|
|
1080
1080
|
isArchived?: boolean | null | undefined;
|
|
1081
1081
|
isUnisex?: boolean | null | undefined;
|
|
@@ -1104,23 +1104,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1104
1104
|
isHidden?: boolean | null | undefined;
|
|
1105
1105
|
isDeleted?: boolean | null | undefined;
|
|
1106
1106
|
}, {
|
|
1107
|
-
size?: string | null | undefined;
|
|
1108
1107
|
status?: string | null | undefined;
|
|
1109
1108
|
title?: string | null | undefined;
|
|
1110
1109
|
description?: string | null | undefined;
|
|
1110
|
+
brand?: string | null | undefined;
|
|
1111
|
+
statusId?: number | null | undefined;
|
|
1112
|
+
sizeId?: number | null | undefined;
|
|
1113
|
+
colorIds?: number[] | null | undefined;
|
|
1114
|
+
packageSizeId?: number | null | undefined;
|
|
1111
1115
|
price?: number | null | undefined;
|
|
1112
1116
|
currency?: string | null | undefined;
|
|
1113
|
-
brand?: string | null | undefined;
|
|
1114
1117
|
catalog?: string | null | undefined;
|
|
1115
1118
|
catalogId?: number | null | undefined;
|
|
1116
1119
|
colors?: string[] | null | undefined;
|
|
1117
|
-
colorIds?: number[] | null | undefined;
|
|
1118
1120
|
measurementLength?: number | null | undefined;
|
|
1119
1121
|
measurementWidth?: number | null | undefined;
|
|
1120
|
-
packageSizeId?: number | null | undefined;
|
|
1121
1122
|
photoUrls?: string[] | null | undefined;
|
|
1122
|
-
|
|
1123
|
-
statusId?: number | null | undefined;
|
|
1123
|
+
size?: string | null | undefined;
|
|
1124
1124
|
isDraft?: boolean | null | undefined;
|
|
1125
1125
|
isArchived?: boolean | null | undefined;
|
|
1126
1126
|
isUnisex?: boolean | null | undefined;
|
|
@@ -1154,23 +1154,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1154
1154
|
}, "strip", z.ZodTypeAny, {
|
|
1155
1155
|
platformId: string;
|
|
1156
1156
|
post: {
|
|
1157
|
-
size?: string | null | undefined;
|
|
1158
1157
|
status?: string | null | undefined;
|
|
1159
1158
|
title?: string | null | undefined;
|
|
1160
1159
|
description?: string | null | undefined;
|
|
1160
|
+
brand?: string | null | undefined;
|
|
1161
|
+
statusId?: number | null | undefined;
|
|
1162
|
+
sizeId?: number | null | undefined;
|
|
1163
|
+
colorIds?: number[] | null | undefined;
|
|
1164
|
+
packageSizeId?: number | null | undefined;
|
|
1161
1165
|
price?: number | null | undefined;
|
|
1162
1166
|
currency?: string | null | undefined;
|
|
1163
|
-
brand?: string | null | undefined;
|
|
1164
1167
|
catalog?: string | null | undefined;
|
|
1165
1168
|
catalogId?: number | null | undefined;
|
|
1166
1169
|
colors?: string[] | null | undefined;
|
|
1167
|
-
colorIds?: number[] | null | undefined;
|
|
1168
1170
|
measurementLength?: number | null | undefined;
|
|
1169
1171
|
measurementWidth?: number | null | undefined;
|
|
1170
|
-
packageSizeId?: number | null | undefined;
|
|
1171
1172
|
photoUrls?: string[] | null | undefined;
|
|
1172
|
-
|
|
1173
|
-
statusId?: number | null | undefined;
|
|
1173
|
+
size?: string | null | undefined;
|
|
1174
1174
|
isDraft?: boolean | null | undefined;
|
|
1175
1175
|
isArchived?: boolean | null | undefined;
|
|
1176
1176
|
isUnisex?: boolean | null | undefined;
|
|
@@ -1206,23 +1206,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1206
1206
|
}, {
|
|
1207
1207
|
platformId: string;
|
|
1208
1208
|
post: {
|
|
1209
|
-
size?: string | null | undefined;
|
|
1210
1209
|
status?: string | null | undefined;
|
|
1211
1210
|
title?: string | null | undefined;
|
|
1212
1211
|
description?: string | null | undefined;
|
|
1212
|
+
brand?: string | null | undefined;
|
|
1213
|
+
statusId?: number | null | undefined;
|
|
1214
|
+
sizeId?: number | null | undefined;
|
|
1215
|
+
colorIds?: number[] | null | undefined;
|
|
1216
|
+
packageSizeId?: number | null | undefined;
|
|
1213
1217
|
price?: number | null | undefined;
|
|
1214
1218
|
currency?: string | null | undefined;
|
|
1215
|
-
brand?: string | null | undefined;
|
|
1216
1219
|
catalog?: string | null | undefined;
|
|
1217
1220
|
catalogId?: number | null | undefined;
|
|
1218
1221
|
colors?: string[] | null | undefined;
|
|
1219
|
-
colorIds?: number[] | null | undefined;
|
|
1220
1222
|
measurementLength?: number | null | undefined;
|
|
1221
1223
|
measurementWidth?: number | null | undefined;
|
|
1222
|
-
packageSizeId?: number | null | undefined;
|
|
1223
1224
|
photoUrls?: string[] | null | undefined;
|
|
1224
|
-
|
|
1225
|
-
statusId?: number | null | undefined;
|
|
1225
|
+
size?: string | null | undefined;
|
|
1226
1226
|
isDraft?: boolean | null | undefined;
|
|
1227
1227
|
isArchived?: boolean | null | undefined;
|
|
1228
1228
|
isUnisex?: boolean | null | undefined;
|
|
@@ -1260,23 +1260,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1260
1260
|
post: {
|
|
1261
1261
|
platformId: string;
|
|
1262
1262
|
post: {
|
|
1263
|
-
size?: string | null | undefined;
|
|
1264
1263
|
status?: string | null | undefined;
|
|
1265
1264
|
title?: string | null | undefined;
|
|
1266
1265
|
description?: string | null | undefined;
|
|
1266
|
+
brand?: string | null | undefined;
|
|
1267
|
+
statusId?: number | null | undefined;
|
|
1268
|
+
sizeId?: number | null | undefined;
|
|
1269
|
+
colorIds?: number[] | null | undefined;
|
|
1270
|
+
packageSizeId?: number | null | undefined;
|
|
1267
1271
|
price?: number | null | undefined;
|
|
1268
1272
|
currency?: string | null | undefined;
|
|
1269
|
-
brand?: string | null | undefined;
|
|
1270
1273
|
catalog?: string | null | undefined;
|
|
1271
1274
|
catalogId?: number | null | undefined;
|
|
1272
1275
|
colors?: string[] | null | undefined;
|
|
1273
|
-
colorIds?: number[] | null | undefined;
|
|
1274
1276
|
measurementLength?: number | null | undefined;
|
|
1275
1277
|
measurementWidth?: number | null | undefined;
|
|
1276
|
-
packageSizeId?: number | null | undefined;
|
|
1277
1278
|
photoUrls?: string[] | null | undefined;
|
|
1278
|
-
|
|
1279
|
-
statusId?: number | null | undefined;
|
|
1279
|
+
size?: string | null | undefined;
|
|
1280
1280
|
isDraft?: boolean | null | undefined;
|
|
1281
1281
|
isArchived?: boolean | null | undefined;
|
|
1282
1282
|
isUnisex?: boolean | null | undefined;
|
|
@@ -1314,23 +1314,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1314
1314
|
post: {
|
|
1315
1315
|
platformId: string;
|
|
1316
1316
|
post: {
|
|
1317
|
-
size?: string | null | undefined;
|
|
1318
1317
|
status?: string | null | undefined;
|
|
1319
1318
|
title?: string | null | undefined;
|
|
1320
1319
|
description?: string | null | undefined;
|
|
1320
|
+
brand?: string | null | undefined;
|
|
1321
|
+
statusId?: number | null | undefined;
|
|
1322
|
+
sizeId?: number | null | undefined;
|
|
1323
|
+
colorIds?: number[] | null | undefined;
|
|
1324
|
+
packageSizeId?: number | null | undefined;
|
|
1321
1325
|
price?: number | null | undefined;
|
|
1322
1326
|
currency?: string | null | undefined;
|
|
1323
|
-
brand?: string | null | undefined;
|
|
1324
1327
|
catalog?: string | null | undefined;
|
|
1325
1328
|
catalogId?: number | null | undefined;
|
|
1326
1329
|
colors?: string[] | null | undefined;
|
|
1327
|
-
colorIds?: number[] | null | undefined;
|
|
1328
1330
|
measurementLength?: number | null | undefined;
|
|
1329
1331
|
measurementWidth?: number | null | undefined;
|
|
1330
|
-
packageSizeId?: number | null | undefined;
|
|
1331
1332
|
photoUrls?: string[] | null | undefined;
|
|
1332
|
-
|
|
1333
|
-
statusId?: number | null | undefined;
|
|
1333
|
+
size?: string | null | undefined;
|
|
1334
1334
|
isDraft?: boolean | null | undefined;
|
|
1335
1335
|
isArchived?: boolean | null | undefined;
|
|
1336
1336
|
isUnisex?: boolean | null | undefined;
|
|
@@ -1372,23 +1372,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1372
1372
|
post: {
|
|
1373
1373
|
platformId: string;
|
|
1374
1374
|
post: {
|
|
1375
|
-
size?: string | null | undefined;
|
|
1376
1375
|
status?: string | null | undefined;
|
|
1377
1376
|
title?: string | null | undefined;
|
|
1378
1377
|
description?: string | null | undefined;
|
|
1378
|
+
brand?: string | null | undefined;
|
|
1379
|
+
statusId?: number | null | undefined;
|
|
1380
|
+
sizeId?: number | null | undefined;
|
|
1381
|
+
colorIds?: number[] | null | undefined;
|
|
1382
|
+
packageSizeId?: number | null | undefined;
|
|
1379
1383
|
price?: number | null | undefined;
|
|
1380
1384
|
currency?: string | null | undefined;
|
|
1381
|
-
brand?: string | null | undefined;
|
|
1382
1385
|
catalog?: string | null | undefined;
|
|
1383
1386
|
catalogId?: number | null | undefined;
|
|
1384
1387
|
colors?: string[] | null | undefined;
|
|
1385
|
-
colorIds?: number[] | null | undefined;
|
|
1386
1388
|
measurementLength?: number | null | undefined;
|
|
1387
1389
|
measurementWidth?: number | null | undefined;
|
|
1388
|
-
packageSizeId?: number | null | undefined;
|
|
1389
1390
|
photoUrls?: string[] | null | undefined;
|
|
1390
|
-
|
|
1391
|
-
statusId?: number | null | undefined;
|
|
1391
|
+
size?: string | null | undefined;
|
|
1392
1392
|
isDraft?: boolean | null | undefined;
|
|
1393
1393
|
isArchived?: boolean | null | undefined;
|
|
1394
1394
|
isUnisex?: boolean | null | undefined;
|
|
@@ -1429,23 +1429,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1429
1429
|
post: {
|
|
1430
1430
|
platformId: string;
|
|
1431
1431
|
post: {
|
|
1432
|
-
size?: string | null | undefined;
|
|
1433
1432
|
status?: string | null | undefined;
|
|
1434
1433
|
title?: string | null | undefined;
|
|
1435
1434
|
description?: string | null | undefined;
|
|
1435
|
+
brand?: string | null | undefined;
|
|
1436
|
+
statusId?: number | null | undefined;
|
|
1437
|
+
sizeId?: number | null | undefined;
|
|
1438
|
+
colorIds?: number[] | null | undefined;
|
|
1439
|
+
packageSizeId?: number | null | undefined;
|
|
1436
1440
|
price?: number | null | undefined;
|
|
1437
1441
|
currency?: string | null | undefined;
|
|
1438
|
-
brand?: string | null | undefined;
|
|
1439
1442
|
catalog?: string | null | undefined;
|
|
1440
1443
|
catalogId?: number | null | undefined;
|
|
1441
1444
|
colors?: string[] | null | undefined;
|
|
1442
|
-
colorIds?: number[] | null | undefined;
|
|
1443
1445
|
measurementLength?: number | null | undefined;
|
|
1444
1446
|
measurementWidth?: number | null | undefined;
|
|
1445
|
-
packageSizeId?: number | null | undefined;
|
|
1446
1447
|
photoUrls?: string[] | null | undefined;
|
|
1447
|
-
|
|
1448
|
-
statusId?: number | null | undefined;
|
|
1448
|
+
size?: string | null | undefined;
|
|
1449
1449
|
isDraft?: boolean | null | undefined;
|
|
1450
1450
|
isArchived?: boolean | null | undefined;
|
|
1451
1451
|
isUnisex?: boolean | null | undefined;
|
|
@@ -1505,27 +1505,27 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1505
1505
|
caseId: z.ZodString;
|
|
1506
1506
|
isRepeat: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1507
1507
|
}, "strip", z.ZodTypeAny, {
|
|
1508
|
-
accountId: string;
|
|
1509
1508
|
caseId: string;
|
|
1509
|
+
accountId: string;
|
|
1510
1510
|
isRepeat?: boolean | null | undefined;
|
|
1511
1511
|
}, {
|
|
1512
|
-
accountId: string;
|
|
1513
1512
|
caseId: string;
|
|
1513
|
+
accountId: string;
|
|
1514
1514
|
isRepeat?: boolean | null | undefined;
|
|
1515
1515
|
}>;
|
|
1516
1516
|
type: z.ZodLiteral<"LIFECYCLE_STARTED">;
|
|
1517
1517
|
}, "strip", z.ZodTypeAny, {
|
|
1518
1518
|
type: "LIFECYCLE_STARTED";
|
|
1519
1519
|
data: {
|
|
1520
|
-
accountId: string;
|
|
1521
1520
|
caseId: string;
|
|
1521
|
+
accountId: string;
|
|
1522
1522
|
isRepeat?: boolean | null | undefined;
|
|
1523
1523
|
};
|
|
1524
1524
|
}, {
|
|
1525
1525
|
type: "LIFECYCLE_STARTED";
|
|
1526
1526
|
data: {
|
|
1527
|
-
accountId: string;
|
|
1528
1527
|
caseId: string;
|
|
1528
|
+
accountId: string;
|
|
1529
1529
|
isRepeat?: boolean | null | undefined;
|
|
1530
1530
|
};
|
|
1531
1531
|
}>, z.ZodObject<{
|
|
@@ -1701,10 +1701,10 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1701
1701
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1702
1702
|
} | null | undefined;
|
|
1703
1703
|
} | null | undefined;
|
|
1704
|
-
targetAccountId?: string | null | undefined;
|
|
1705
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
1706
1704
|
publishingDate?: Date | null | undefined;
|
|
1707
1705
|
isTransfer?: boolean | null | undefined;
|
|
1706
|
+
targetAccountId?: string | null | undefined;
|
|
1707
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
1708
1708
|
}, {
|
|
1709
1709
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1710
1710
|
payload?: {
|
|
@@ -1731,10 +1731,10 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1731
1731
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1732
1732
|
} | null | undefined;
|
|
1733
1733
|
} | null | undefined;
|
|
1734
|
-
targetAccountId?: string | null | undefined;
|
|
1735
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
1736
1734
|
publishingDate?: Date | null | undefined;
|
|
1737
1735
|
isTransfer?: boolean | null | undefined;
|
|
1736
|
+
targetAccountId?: string | null | undefined;
|
|
1737
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
1738
1738
|
}>;
|
|
1739
1739
|
type: z.ZodLiteral<"REPUBLISHING">;
|
|
1740
1740
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1765,10 +1765,10 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1765
1765
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1766
1766
|
} | null | undefined;
|
|
1767
1767
|
} | null | undefined;
|
|
1768
|
-
targetAccountId?: string | null | undefined;
|
|
1769
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
1770
1768
|
publishingDate?: Date | null | undefined;
|
|
1771
1769
|
isTransfer?: boolean | null | undefined;
|
|
1770
|
+
targetAccountId?: string | null | undefined;
|
|
1771
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
1772
1772
|
};
|
|
1773
1773
|
}, {
|
|
1774
1774
|
type: "REPUBLISHING";
|
|
@@ -1798,10 +1798,10 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1798
1798
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1799
1799
|
} | null | undefined;
|
|
1800
1800
|
} | null | undefined;
|
|
1801
|
-
targetAccountId?: string | null | undefined;
|
|
1802
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
1803
1801
|
publishingDate?: Date | null | undefined;
|
|
1804
1802
|
isTransfer?: boolean | null | undefined;
|
|
1803
|
+
targetAccountId?: string | null | undefined;
|
|
1804
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
1805
1805
|
};
|
|
1806
1806
|
}>, z.ZodObject<{
|
|
1807
1807
|
data: z.ZodObject<{
|
|
@@ -1815,7 +1815,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1815
1815
|
autoFixable: z.ZodBoolean;
|
|
1816
1816
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1817
1817
|
}, "strip", z.ZodTypeAny, {
|
|
1818
|
-
field: "
|
|
1818
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1819
1819
|
autoFixable: boolean;
|
|
1820
1820
|
error?: string | null | undefined;
|
|
1821
1821
|
}, {
|
|
@@ -1930,9 +1930,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1930
1930
|
} | null | undefined;
|
|
1931
1931
|
}>>>;
|
|
1932
1932
|
}, "strip", z.ZodTypeAny, {
|
|
1933
|
+
maxAttempts: number;
|
|
1933
1934
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1934
1935
|
attemptNumber: number;
|
|
1935
|
-
maxAttempts: number;
|
|
1936
1936
|
previousHistoryId: string;
|
|
1937
1937
|
originalFailureDate: Date;
|
|
1938
1938
|
payload?: {
|
|
@@ -1960,14 +1960,14 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1960
1960
|
} | null | undefined;
|
|
1961
1961
|
} | null | undefined;
|
|
1962
1962
|
fields?: {
|
|
1963
|
-
field: "
|
|
1963
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1964
1964
|
autoFixable: boolean;
|
|
1965
1965
|
error?: string | null | undefined;
|
|
1966
1966
|
}[] | null | undefined;
|
|
1967
1967
|
}, {
|
|
1968
|
+
maxAttempts: number;
|
|
1968
1969
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1969
1970
|
attemptNumber: number;
|
|
1970
|
-
maxAttempts: number;
|
|
1971
1971
|
previousHistoryId: string;
|
|
1972
1972
|
originalFailureDate: Date;
|
|
1973
1973
|
payload?: {
|
|
@@ -2004,9 +2004,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2004
2004
|
}, "strip", z.ZodTypeAny, {
|
|
2005
2005
|
type: "REPUBLISHING_RETRY";
|
|
2006
2006
|
data: {
|
|
2007
|
+
maxAttempts: number;
|
|
2007
2008
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2008
2009
|
attemptNumber: number;
|
|
2009
|
-
maxAttempts: number;
|
|
2010
2010
|
previousHistoryId: string;
|
|
2011
2011
|
originalFailureDate: Date;
|
|
2012
2012
|
payload?: {
|
|
@@ -2034,7 +2034,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2034
2034
|
} | null | undefined;
|
|
2035
2035
|
} | null | undefined;
|
|
2036
2036
|
fields?: {
|
|
2037
|
-
field: "
|
|
2037
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2038
2038
|
autoFixable: boolean;
|
|
2039
2039
|
error?: string | null | undefined;
|
|
2040
2040
|
}[] | null | undefined;
|
|
@@ -2042,9 +2042,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2042
2042
|
}, {
|
|
2043
2043
|
type: "REPUBLISHING_RETRY";
|
|
2044
2044
|
data: {
|
|
2045
|
+
maxAttempts: number;
|
|
2045
2046
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2046
2047
|
attemptNumber: number;
|
|
2047
|
-
maxAttempts: number;
|
|
2048
2048
|
previousHistoryId: string;
|
|
2049
2049
|
originalFailureDate: Date;
|
|
2050
2050
|
payload?: {
|
|
@@ -2113,7 +2113,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2113
2113
|
autoFixable: z.ZodBoolean;
|
|
2114
2114
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2115
2115
|
}, "strip", z.ZodTypeAny, {
|
|
2116
|
-
field: "
|
|
2116
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2117
2117
|
autoFixable: boolean;
|
|
2118
2118
|
error?: string | null | undefined;
|
|
2119
2119
|
}, {
|
|
@@ -2122,20 +2122,20 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2122
2122
|
error?: string | null | undefined;
|
|
2123
2123
|
}>, "many">>>;
|
|
2124
2124
|
}, "strip", z.ZodTypeAny, {
|
|
2125
|
+
maxAttempts: number;
|
|
2125
2126
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2126
2127
|
attemptNumber: number;
|
|
2127
|
-
maxAttempts: number;
|
|
2128
2128
|
previousHistoryId: string;
|
|
2129
2129
|
originalFailureDate: Date;
|
|
2130
2130
|
fields?: {
|
|
2131
|
-
field: "
|
|
2131
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2132
2132
|
autoFixable: boolean;
|
|
2133
2133
|
error?: string | null | undefined;
|
|
2134
2134
|
}[] | null | undefined;
|
|
2135
2135
|
}, {
|
|
2136
|
+
maxAttempts: number;
|
|
2136
2137
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2137
2138
|
attemptNumber: number;
|
|
2138
|
-
maxAttempts: number;
|
|
2139
2139
|
previousHistoryId: string;
|
|
2140
2140
|
originalFailureDate: Date;
|
|
2141
2141
|
fields?: {
|
|
@@ -2148,13 +2148,13 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2148
2148
|
}, "strip", z.ZodTypeAny, {
|
|
2149
2149
|
type: "SCHEDULED_RETRY";
|
|
2150
2150
|
data: {
|
|
2151
|
+
maxAttempts: number;
|
|
2151
2152
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2152
2153
|
attemptNumber: number;
|
|
2153
|
-
maxAttempts: number;
|
|
2154
2154
|
previousHistoryId: string;
|
|
2155
2155
|
originalFailureDate: Date;
|
|
2156
2156
|
fields?: {
|
|
2157
|
-
field: "
|
|
2157
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2158
2158
|
autoFixable: boolean;
|
|
2159
2159
|
error?: string | null | undefined;
|
|
2160
2160
|
}[] | null | undefined;
|
|
@@ -2162,9 +2162,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2162
2162
|
}, {
|
|
2163
2163
|
type: "SCHEDULED_RETRY";
|
|
2164
2164
|
data: {
|
|
2165
|
+
maxAttempts: number;
|
|
2165
2166
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2166
2167
|
attemptNumber: number;
|
|
2167
|
-
maxAttempts: number;
|
|
2168
2168
|
previousHistoryId: string;
|
|
2169
2169
|
originalFailureDate: Date;
|
|
2170
2170
|
fields?: {
|
|
@@ -2321,7 +2321,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2321
2321
|
id: string;
|
|
2322
2322
|
createdAt: Date;
|
|
2323
2323
|
itemId: number;
|
|
2324
|
-
accountId?: string | null | undefined;
|
|
2325
2324
|
data?: {
|
|
2326
2325
|
type: "ACTION_CANCELED";
|
|
2327
2326
|
data: {
|
|
@@ -2357,7 +2356,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2357
2356
|
accountId?: string | null | undefined;
|
|
2358
2357
|
reason?: string | null | undefined;
|
|
2359
2358
|
fields?: {
|
|
2360
|
-
field: "
|
|
2359
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2361
2360
|
autoFixable: boolean;
|
|
2362
2361
|
error?: string | null | undefined;
|
|
2363
2362
|
}[] | null | undefined;
|
|
@@ -2387,23 +2386,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2387
2386
|
post: {
|
|
2388
2387
|
platformId: string;
|
|
2389
2388
|
post: {
|
|
2390
|
-
size?: string | null | undefined;
|
|
2391
2389
|
status?: string | null | undefined;
|
|
2392
2390
|
title?: string | null | undefined;
|
|
2393
2391
|
description?: string | null | undefined;
|
|
2392
|
+
brand?: string | null | undefined;
|
|
2393
|
+
statusId?: number | null | undefined;
|
|
2394
|
+
sizeId?: number | null | undefined;
|
|
2395
|
+
colorIds?: number[] | null | undefined;
|
|
2396
|
+
packageSizeId?: number | null | undefined;
|
|
2394
2397
|
price?: number | null | undefined;
|
|
2395
2398
|
currency?: string | null | undefined;
|
|
2396
|
-
brand?: string | null | undefined;
|
|
2397
2399
|
catalog?: string | null | undefined;
|
|
2398
2400
|
catalogId?: number | null | undefined;
|
|
2399
2401
|
colors?: string[] | null | undefined;
|
|
2400
|
-
colorIds?: number[] | null | undefined;
|
|
2401
2402
|
measurementLength?: number | null | undefined;
|
|
2402
2403
|
measurementWidth?: number | null | undefined;
|
|
2403
|
-
packageSizeId?: number | null | undefined;
|
|
2404
2404
|
photoUrls?: string[] | null | undefined;
|
|
2405
|
-
|
|
2406
|
-
statusId?: number | null | undefined;
|
|
2405
|
+
size?: string | null | undefined;
|
|
2407
2406
|
isDraft?: boolean | null | undefined;
|
|
2408
2407
|
isArchived?: boolean | null | undefined;
|
|
2409
2408
|
isUnisex?: boolean | null | undefined;
|
|
@@ -2446,8 +2445,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2446
2445
|
} | {
|
|
2447
2446
|
type: "LIFECYCLE_STARTED";
|
|
2448
2447
|
data: {
|
|
2449
|
-
accountId: string;
|
|
2450
2448
|
caseId: string;
|
|
2449
|
+
accountId: string;
|
|
2451
2450
|
isRepeat?: boolean | null | undefined;
|
|
2452
2451
|
};
|
|
2453
2452
|
} | {
|
|
@@ -2486,17 +2485,17 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2486
2485
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
2487
2486
|
} | null | undefined;
|
|
2488
2487
|
} | null | undefined;
|
|
2489
|
-
targetAccountId?: string | null | undefined;
|
|
2490
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
2491
2488
|
publishingDate?: Date | null | undefined;
|
|
2492
2489
|
isTransfer?: boolean | null | undefined;
|
|
2490
|
+
targetAccountId?: string | null | undefined;
|
|
2491
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
2493
2492
|
};
|
|
2494
2493
|
} | {
|
|
2495
2494
|
type: "REPUBLISHING_RETRY";
|
|
2496
2495
|
data: {
|
|
2496
|
+
maxAttempts: number;
|
|
2497
2497
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2498
2498
|
attemptNumber: number;
|
|
2499
|
-
maxAttempts: number;
|
|
2500
2499
|
previousHistoryId: string;
|
|
2501
2500
|
originalFailureDate: Date;
|
|
2502
2501
|
payload?: {
|
|
@@ -2524,7 +2523,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2524
2523
|
} | null | undefined;
|
|
2525
2524
|
} | null | undefined;
|
|
2526
2525
|
fields?: {
|
|
2527
|
-
field: "
|
|
2526
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2528
2527
|
autoFixable: boolean;
|
|
2529
2528
|
error?: string | null | undefined;
|
|
2530
2529
|
}[] | null | undefined;
|
|
@@ -2538,13 +2537,13 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2538
2537
|
} | {
|
|
2539
2538
|
type: "SCHEDULED_RETRY";
|
|
2540
2539
|
data: {
|
|
2540
|
+
maxAttempts: number;
|
|
2541
2541
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2542
2542
|
attemptNumber: number;
|
|
2543
|
-
maxAttempts: number;
|
|
2544
2543
|
previousHistoryId: string;
|
|
2545
2544
|
originalFailureDate: Date;
|
|
2546
2545
|
fields?: {
|
|
2547
|
-
field: "
|
|
2546
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2548
2547
|
autoFixable: boolean;
|
|
2549
2548
|
error?: string | null | undefined;
|
|
2550
2549
|
}[] | null | undefined;
|
|
@@ -2573,6 +2572,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2573
2572
|
targetDate?: Date | null | undefined;
|
|
2574
2573
|
};
|
|
2575
2574
|
} | null | undefined;
|
|
2575
|
+
accountId?: string | null | undefined;
|
|
2576
2576
|
targetDate?: Date | null | undefined;
|
|
2577
2577
|
requestId?: string | null | undefined;
|
|
2578
2578
|
targetHistoryId?: string | null | undefined;
|
|
@@ -2581,7 +2581,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2581
2581
|
createdAt: Date;
|
|
2582
2582
|
itemId: number;
|
|
2583
2583
|
type?: unknown;
|
|
2584
|
-
accountId?: string | null | undefined;
|
|
2585
2584
|
data?: {
|
|
2586
2585
|
type: "ACTION_CANCELED";
|
|
2587
2586
|
data: {
|
|
@@ -2647,23 +2646,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2647
2646
|
post: {
|
|
2648
2647
|
platformId: string;
|
|
2649
2648
|
post: {
|
|
2650
|
-
size?: string | null | undefined;
|
|
2651
2649
|
status?: string | null | undefined;
|
|
2652
2650
|
title?: string | null | undefined;
|
|
2653
2651
|
description?: string | null | undefined;
|
|
2652
|
+
brand?: string | null | undefined;
|
|
2653
|
+
statusId?: number | null | undefined;
|
|
2654
|
+
sizeId?: number | null | undefined;
|
|
2655
|
+
colorIds?: number[] | null | undefined;
|
|
2656
|
+
packageSizeId?: number | null | undefined;
|
|
2654
2657
|
price?: number | null | undefined;
|
|
2655
2658
|
currency?: string | null | undefined;
|
|
2656
|
-
brand?: string | null | undefined;
|
|
2657
2659
|
catalog?: string | null | undefined;
|
|
2658
2660
|
catalogId?: number | null | undefined;
|
|
2659
2661
|
colors?: string[] | null | undefined;
|
|
2660
|
-
colorIds?: number[] | null | undefined;
|
|
2661
2662
|
measurementLength?: number | null | undefined;
|
|
2662
2663
|
measurementWidth?: number | null | undefined;
|
|
2663
|
-
packageSizeId?: number | null | undefined;
|
|
2664
2664
|
photoUrls?: string[] | null | undefined;
|
|
2665
|
-
|
|
2666
|
-
statusId?: number | null | undefined;
|
|
2665
|
+
size?: string | null | undefined;
|
|
2667
2666
|
isDraft?: boolean | null | undefined;
|
|
2668
2667
|
isArchived?: boolean | null | undefined;
|
|
2669
2668
|
isUnisex?: boolean | null | undefined;
|
|
@@ -2706,8 +2705,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2706
2705
|
} | {
|
|
2707
2706
|
type: "LIFECYCLE_STARTED";
|
|
2708
2707
|
data: {
|
|
2709
|
-
accountId: string;
|
|
2710
2708
|
caseId: string;
|
|
2709
|
+
accountId: string;
|
|
2711
2710
|
isRepeat?: boolean | null | undefined;
|
|
2712
2711
|
};
|
|
2713
2712
|
} | {
|
|
@@ -2746,17 +2745,17 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2746
2745
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
2747
2746
|
} | null | undefined;
|
|
2748
2747
|
} | null | undefined;
|
|
2749
|
-
targetAccountId?: string | null | undefined;
|
|
2750
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
2751
2748
|
publishingDate?: Date | null | undefined;
|
|
2752
2749
|
isTransfer?: boolean | null | undefined;
|
|
2750
|
+
targetAccountId?: string | null | undefined;
|
|
2751
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
2753
2752
|
};
|
|
2754
2753
|
} | {
|
|
2755
2754
|
type: "REPUBLISHING_RETRY";
|
|
2756
2755
|
data: {
|
|
2756
|
+
maxAttempts: number;
|
|
2757
2757
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2758
2758
|
attemptNumber: number;
|
|
2759
|
-
maxAttempts: number;
|
|
2760
2759
|
previousHistoryId: string;
|
|
2761
2760
|
originalFailureDate: Date;
|
|
2762
2761
|
payload?: {
|
|
@@ -2798,9 +2797,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2798
2797
|
} | {
|
|
2799
2798
|
type: "SCHEDULED_RETRY";
|
|
2800
2799
|
data: {
|
|
2800
|
+
maxAttempts: number;
|
|
2801
2801
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2802
2802
|
attemptNumber: number;
|
|
2803
|
-
maxAttempts: number;
|
|
2804
2803
|
previousHistoryId: string;
|
|
2805
2804
|
originalFailureDate: Date;
|
|
2806
2805
|
fields?: {
|
|
@@ -2833,6 +2832,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2833
2832
|
targetDate?: Date | null | undefined;
|
|
2834
2833
|
};
|
|
2835
2834
|
} | null | undefined;
|
|
2835
|
+
accountId?: string | null | undefined;
|
|
2836
2836
|
targetDate?: Date | null | undefined;
|
|
2837
2837
|
requestId?: string | null | undefined;
|
|
2838
2838
|
targetHistoryId?: string | null | undefined;
|
|
@@ -2882,15 +2882,15 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2882
2882
|
}, "strip", z.ZodTypeAny, {
|
|
2883
2883
|
path: string;
|
|
2884
2884
|
id: string;
|
|
2885
|
-
userId: number;
|
|
2886
2885
|
createdAt: Date;
|
|
2886
|
+
userId: number;
|
|
2887
2887
|
signedUrl: string;
|
|
2888
2888
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2889
2889
|
}, {
|
|
2890
2890
|
path: string;
|
|
2891
2891
|
id: string;
|
|
2892
|
-
userId: number;
|
|
2893
2892
|
createdAt: Date;
|
|
2893
|
+
userId: number;
|
|
2894
2894
|
signedUrl: string;
|
|
2895
2895
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2896
2896
|
}>>>;
|
|
@@ -2901,9 +2901,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2901
2901
|
phoneNumberRequiredAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2902
2902
|
}, "strip", z.ZodTypeAny, {
|
|
2903
2903
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
2904
|
-
accountId: string;
|
|
2905
|
-
userId: number;
|
|
2906
2904
|
name: string;
|
|
2905
|
+
userId: number;
|
|
2906
|
+
accountId: string;
|
|
2907
2907
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2908
2908
|
locale?: string | null | undefined;
|
|
2909
2909
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -2922,8 +2922,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2922
2922
|
profilePicture?: {
|
|
2923
2923
|
path: string;
|
|
2924
2924
|
id: string;
|
|
2925
|
-
userId: number;
|
|
2926
2925
|
createdAt: Date;
|
|
2926
|
+
userId: number;
|
|
2927
2927
|
signedUrl: string;
|
|
2928
2928
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2929
2929
|
} | null | undefined;
|
|
@@ -2931,9 +2931,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2931
2931
|
walletActivationRequiredAt?: Date | null | undefined;
|
|
2932
2932
|
phoneNumberRequiredAt?: Date | null | undefined;
|
|
2933
2933
|
}, {
|
|
2934
|
-
accountId: string;
|
|
2935
|
-
userId: number;
|
|
2936
2934
|
name: string;
|
|
2935
|
+
userId: number;
|
|
2936
|
+
accountId: string;
|
|
2937
2937
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2938
2938
|
status?: unknown;
|
|
2939
2939
|
locale?: string | null | undefined;
|
|
@@ -2953,8 +2953,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2953
2953
|
profilePicture?: {
|
|
2954
2954
|
path: string;
|
|
2955
2955
|
id: string;
|
|
2956
|
-
userId: number;
|
|
2957
2956
|
createdAt: Date;
|
|
2957
|
+
userId: number;
|
|
2958
2958
|
signedUrl: string;
|
|
2959
2959
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2960
2960
|
} | null | undefined;
|
|
@@ -2973,8 +2973,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2973
2973
|
}, "strip", z.ZodTypeAny, {
|
|
2974
2974
|
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
2975
2975
|
id: string;
|
|
2976
|
-
accountId: string;
|
|
2977
2976
|
createdAt: Date;
|
|
2977
|
+
accountId: string;
|
|
2978
2978
|
itemId: number;
|
|
2979
2979
|
platformId: string;
|
|
2980
2980
|
platformUrl: string;
|
|
@@ -2988,9 +2988,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2988
2988
|
favoritesCount?: number | null | undefined;
|
|
2989
2989
|
account?: {
|
|
2990
2990
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
2991
|
-
accountId: string;
|
|
2992
|
-
userId: number;
|
|
2993
2991
|
name: string;
|
|
2992
|
+
userId: number;
|
|
2993
|
+
accountId: string;
|
|
2994
2994
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2995
2995
|
locale?: string | null | undefined;
|
|
2996
2996
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -3009,8 +3009,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3009
3009
|
profilePicture?: {
|
|
3010
3010
|
path: string;
|
|
3011
3011
|
id: string;
|
|
3012
|
-
userId: number;
|
|
3013
3012
|
createdAt: Date;
|
|
3013
|
+
userId: number;
|
|
3014
3014
|
signedUrl: string;
|
|
3015
3015
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3016
3016
|
} | null | undefined;
|
|
@@ -3023,8 +3023,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3023
3023
|
isBoosted?: boolean | null | undefined;
|
|
3024
3024
|
}, {
|
|
3025
3025
|
id: string;
|
|
3026
|
-
accountId: string;
|
|
3027
3026
|
createdAt: Date;
|
|
3027
|
+
accountId: string;
|
|
3028
3028
|
itemId: number;
|
|
3029
3029
|
platformId: string;
|
|
3030
3030
|
platformUrl: string;
|
|
@@ -3038,9 +3038,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3038
3038
|
viewsCount?: number | null | undefined;
|
|
3039
3039
|
favoritesCount?: number | null | undefined;
|
|
3040
3040
|
account?: {
|
|
3041
|
-
accountId: string;
|
|
3042
|
-
userId: number;
|
|
3043
3041
|
name: string;
|
|
3042
|
+
userId: number;
|
|
3043
|
+
accountId: string;
|
|
3044
3044
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3045
3045
|
status?: unknown;
|
|
3046
3046
|
locale?: string | null | undefined;
|
|
@@ -3060,8 +3060,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3060
3060
|
profilePicture?: {
|
|
3061
3061
|
path: string;
|
|
3062
3062
|
id: string;
|
|
3063
|
-
userId: number;
|
|
3064
3063
|
createdAt: Date;
|
|
3064
|
+
userId: number;
|
|
3065
3065
|
signedUrl: string;
|
|
3066
3066
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3067
3067
|
} | null | undefined;
|
|
@@ -3076,7 +3076,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3076
3076
|
actions: z.ZodObject<{
|
|
3077
3077
|
perAccount: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodCatch<z.ZodEnum<["PUBLISH", "PUBLISH_CANCEL", "REPUBLISH", "REPUBLISH_CANCEL", "UPDATE", "UPDATE_CANCEL", "BOOST", "UNKNOWN"]>>, "many">>;
|
|
3078
3078
|
}, "strip", z.ZodTypeAny, {
|
|
3079
|
-
perAccount: Record<string, ("
|
|
3079
|
+
perAccount: Record<string, ("REPUBLISH" | "UNKNOWN" | "PUBLISH" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE" | "UPDATE_CANCEL" | "BOOST")[]>;
|
|
3080
3080
|
}, {
|
|
3081
3081
|
perAccount: Record<string, unknown[]>;
|
|
3082
3082
|
}>;
|
|
@@ -3101,15 +3101,15 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3101
3101
|
}, "strip", z.ZodTypeAny, {
|
|
3102
3102
|
path: string;
|
|
3103
3103
|
id: string;
|
|
3104
|
-
userId: number;
|
|
3105
3104
|
createdAt: Date;
|
|
3105
|
+
userId: number;
|
|
3106
3106
|
signedUrl: string;
|
|
3107
3107
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3108
3108
|
}, {
|
|
3109
3109
|
path: string;
|
|
3110
3110
|
id: string;
|
|
3111
|
-
userId: number;
|
|
3112
3111
|
createdAt: Date;
|
|
3112
|
+
userId: number;
|
|
3113
3113
|
signedUrl: string;
|
|
3114
3114
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3115
3115
|
}>>>;
|
|
@@ -3123,15 +3123,15 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3123
3123
|
}, "strip", z.ZodTypeAny, {
|
|
3124
3124
|
path: string;
|
|
3125
3125
|
id: string;
|
|
3126
|
-
userId: number;
|
|
3127
3126
|
createdAt: Date;
|
|
3127
|
+
userId: number;
|
|
3128
3128
|
signedUrl: string;
|
|
3129
3129
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3130
3130
|
}, {
|
|
3131
3131
|
path: string;
|
|
3132
3132
|
id: string;
|
|
3133
|
-
userId: number;
|
|
3134
3133
|
createdAt: Date;
|
|
3134
|
+
userId: number;
|
|
3135
3135
|
signedUrl: string;
|
|
3136
3136
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3137
3137
|
}>>>;
|
|
@@ -3145,81 +3145,81 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3145
3145
|
}, "strip", z.ZodTypeAny, {
|
|
3146
3146
|
path: string;
|
|
3147
3147
|
id: string;
|
|
3148
|
-
userId: number;
|
|
3149
3148
|
createdAt: Date;
|
|
3149
|
+
userId: number;
|
|
3150
3150
|
signedUrl: string;
|
|
3151
3151
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3152
3152
|
}, {
|
|
3153
3153
|
path: string;
|
|
3154
3154
|
id: string;
|
|
3155
|
-
userId: number;
|
|
3156
3155
|
createdAt: Date;
|
|
3156
|
+
userId: number;
|
|
3157
3157
|
signedUrl: string;
|
|
3158
3158
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3159
3159
|
}>>>;
|
|
3160
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"]>>>>;
|
|
3161
3161
|
}, "strip", z.ZodTypeAny, {
|
|
3162
3162
|
id: string;
|
|
3163
|
-
orderId: string;
|
|
3164
3163
|
fileId: string;
|
|
3164
|
+
orderId: string;
|
|
3165
3165
|
nonCroppedFileId: string;
|
|
3166
3166
|
originalFileId: string;
|
|
3167
|
-
|
|
3167
|
+
originalFile?: {
|
|
3168
3168
|
path: string;
|
|
3169
3169
|
id: string;
|
|
3170
|
-
userId: number;
|
|
3171
3170
|
createdAt: Date;
|
|
3171
|
+
userId: number;
|
|
3172
3172
|
signedUrl: string;
|
|
3173
3173
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3174
3174
|
} | null | undefined;
|
|
3175
|
-
|
|
3175
|
+
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;
|
|
3176
|
+
file?: {
|
|
3176
3177
|
path: string;
|
|
3177
3178
|
id: string;
|
|
3178
|
-
userId: number;
|
|
3179
3179
|
createdAt: Date;
|
|
3180
|
+
userId: number;
|
|
3180
3181
|
signedUrl: string;
|
|
3181
3182
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3182
3183
|
} | null | undefined;
|
|
3183
|
-
|
|
3184
|
+
nonCroppedFile?: {
|
|
3184
3185
|
path: string;
|
|
3185
3186
|
id: string;
|
|
3186
|
-
userId: number;
|
|
3187
3187
|
createdAt: Date;
|
|
3188
|
+
userId: number;
|
|
3188
3189
|
signedUrl: string;
|
|
3189
3190
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3190
3191
|
} | 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;
|
|
3192
3192
|
}, {
|
|
3193
3193
|
id: string;
|
|
3194
|
-
orderId: string;
|
|
3195
3194
|
fileId: string;
|
|
3195
|
+
orderId: string;
|
|
3196
3196
|
nonCroppedFileId: string;
|
|
3197
3197
|
originalFileId: string;
|
|
3198
|
-
|
|
3198
|
+
originalFile?: {
|
|
3199
3199
|
path: string;
|
|
3200
3200
|
id: string;
|
|
3201
|
-
userId: number;
|
|
3202
3201
|
createdAt: Date;
|
|
3202
|
+
userId: number;
|
|
3203
3203
|
signedUrl: string;
|
|
3204
3204
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3205
3205
|
} | null | undefined;
|
|
3206
|
-
|
|
3206
|
+
carrier?: unknown;
|
|
3207
|
+
file?: {
|
|
3207
3208
|
path: string;
|
|
3208
3209
|
id: string;
|
|
3209
|
-
userId: number;
|
|
3210
3210
|
createdAt: Date;
|
|
3211
|
+
userId: number;
|
|
3211
3212
|
signedUrl: string;
|
|
3212
3213
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3213
3214
|
} | null | undefined;
|
|
3214
|
-
|
|
3215
|
+
nonCroppedFile?: {
|
|
3215
3216
|
path: string;
|
|
3216
3217
|
id: string;
|
|
3217
|
-
userId: number;
|
|
3218
3218
|
createdAt: Date;
|
|
3219
|
+
userId: number;
|
|
3219
3220
|
signedUrl: string;
|
|
3220
3221
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3221
3222
|
} | null | undefined;
|
|
3222
|
-
carrier?: unknown;
|
|
3223
3223
|
}>, "many">>>;
|
|
3224
3224
|
invoices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
3225
3225
|
id: z.ZodString;
|
|
@@ -3246,15 +3246,15 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3246
3246
|
}, "strip", z.ZodTypeAny, {
|
|
3247
3247
|
path: string;
|
|
3248
3248
|
id: string;
|
|
3249
|
-
userId: number;
|
|
3250
3249
|
createdAt: Date;
|
|
3250
|
+
userId: number;
|
|
3251
3251
|
signedUrl: string;
|
|
3252
3252
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3253
3253
|
}, {
|
|
3254
3254
|
path: string;
|
|
3255
3255
|
id: string;
|
|
3256
|
-
userId: number;
|
|
3257
3256
|
createdAt: Date;
|
|
3257
|
+
userId: number;
|
|
3258
3258
|
signedUrl: string;
|
|
3259
3259
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3260
3260
|
}>>>;
|
|
@@ -3264,8 +3264,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3264
3264
|
vatRegime: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["MARGIN", "FRANCHISE", "NORMAL", "UNKNOWN"]>>>>;
|
|
3265
3265
|
}, "strip", z.ZodTypeAny, {
|
|
3266
3266
|
id: string;
|
|
3267
|
-
userId: number;
|
|
3268
3267
|
createdAt: Date;
|
|
3268
|
+
userId: number;
|
|
3269
3269
|
updatedAt: Date;
|
|
3270
3270
|
businessName: string;
|
|
3271
3271
|
address: string;
|
|
@@ -3278,16 +3278,16 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3278
3278
|
logo?: {
|
|
3279
3279
|
path: string;
|
|
3280
3280
|
id: string;
|
|
3281
|
-
userId: number;
|
|
3282
3281
|
createdAt: Date;
|
|
3282
|
+
userId: number;
|
|
3283
3283
|
signedUrl: string;
|
|
3284
3284
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3285
3285
|
} | null | undefined;
|
|
3286
3286
|
vatRegime?: "UNKNOWN" | "MARGIN" | "FRANCHISE" | "NORMAL" | null | undefined;
|
|
3287
3287
|
}, {
|
|
3288
3288
|
id: string;
|
|
3289
|
-
userId: number;
|
|
3290
3289
|
createdAt: Date;
|
|
3290
|
+
userId: number;
|
|
3291
3291
|
updatedAt: Date;
|
|
3292
3292
|
businessName: string;
|
|
3293
3293
|
address: string;
|
|
@@ -3300,8 +3300,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3300
3300
|
logo?: {
|
|
3301
3301
|
path: string;
|
|
3302
3302
|
id: string;
|
|
3303
|
-
userId: number;
|
|
3304
3303
|
createdAt: Date;
|
|
3304
|
+
userId: number;
|
|
3305
3305
|
signedUrl: string;
|
|
3306
3306
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3307
3307
|
} | null | undefined;
|
|
@@ -3331,34 +3331,34 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3331
3331
|
firstName: string;
|
|
3332
3332
|
lastName: string;
|
|
3333
3333
|
phoneVerified: boolean;
|
|
3334
|
-
postalCode?: string | null | undefined;
|
|
3335
|
-
city?: string | null | undefined;
|
|
3336
|
-
country?: string | null | undefined;
|
|
3337
|
-
email?: string | null | undefined;
|
|
3338
|
-
addressLine1?: string | null | undefined;
|
|
3339
|
-
addressLine2?: string | null | undefined;
|
|
3340
3334
|
birthDate?: Date | null | undefined;
|
|
3335
|
+
email?: string | null | undefined;
|
|
3341
3336
|
idNumber?: string | null | undefined;
|
|
3342
3337
|
phone?: string | null | undefined;
|
|
3343
3338
|
iban?: string | null | undefined;
|
|
3344
3339
|
bic?: string | null | undefined;
|
|
3340
|
+
addressLine1?: string | null | undefined;
|
|
3341
|
+
addressLine2?: string | null | undefined;
|
|
3342
|
+
city?: string | null | undefined;
|
|
3343
|
+
postalCode?: string | null | undefined;
|
|
3344
|
+
country?: string | null | undefined;
|
|
3345
3345
|
}, {
|
|
3346
3346
|
id: string;
|
|
3347
3347
|
userId: number;
|
|
3348
3348
|
firstName: string;
|
|
3349
3349
|
lastName: string;
|
|
3350
3350
|
phoneVerified: boolean;
|
|
3351
|
-
postalCode?: string | null | undefined;
|
|
3352
|
-
city?: string | null | undefined;
|
|
3353
|
-
country?: string | null | undefined;
|
|
3354
|
-
email?: string | null | undefined;
|
|
3355
|
-
addressLine1?: string | null | undefined;
|
|
3356
|
-
addressLine2?: string | null | undefined;
|
|
3357
3351
|
birthDate?: Date | null | undefined;
|
|
3352
|
+
email?: string | null | undefined;
|
|
3358
3353
|
idNumber?: string | null | undefined;
|
|
3359
3354
|
phone?: string | null | undefined;
|
|
3360
3355
|
iban?: string | null | undefined;
|
|
3361
3356
|
bic?: string | null | undefined;
|
|
3357
|
+
addressLine1?: string | null | undefined;
|
|
3358
|
+
addressLine2?: string | null | undefined;
|
|
3359
|
+
city?: string | null | undefined;
|
|
3360
|
+
postalCode?: string | null | undefined;
|
|
3361
|
+
country?: string | null | undefined;
|
|
3362
3362
|
}>>>;
|
|
3363
3363
|
orderId: z.ZodString;
|
|
3364
3364
|
fileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3372,15 +3372,15 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3372
3372
|
}, "strip", z.ZodTypeAny, {
|
|
3373
3373
|
path: string;
|
|
3374
3374
|
id: string;
|
|
3375
|
-
userId: number;
|
|
3376
3375
|
createdAt: Date;
|
|
3376
|
+
userId: number;
|
|
3377
3377
|
signedUrl: string;
|
|
3378
3378
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3379
3379
|
}, {
|
|
3380
3380
|
path: string;
|
|
3381
3381
|
id: string;
|
|
3382
|
-
userId: number;
|
|
3383
3382
|
createdAt: Date;
|
|
3383
|
+
userId: number;
|
|
3384
3384
|
signedUrl: string;
|
|
3385
3385
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3386
3386
|
}>>>;
|
|
@@ -3405,21 +3405,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3405
3405
|
total: z.ZodNumber;
|
|
3406
3406
|
createdAt: z.ZodDate;
|
|
3407
3407
|
}, "strip", z.ZodTypeAny, {
|
|
3408
|
-
quantity: number;
|
|
3409
|
-
id: number;
|
|
3410
3408
|
description: string;
|
|
3409
|
+
id: number;
|
|
3411
3410
|
createdAt: Date;
|
|
3412
3411
|
invoiceId: string;
|
|
3412
|
+
quantity: number;
|
|
3413
3413
|
unitPrice: number;
|
|
3414
3414
|
total: number;
|
|
3415
3415
|
itemOnPlatformId?: string | null | undefined;
|
|
3416
3416
|
vatRate?: number | null | undefined;
|
|
3417
3417
|
}, {
|
|
3418
|
-
quantity: number;
|
|
3419
|
-
id: number;
|
|
3420
3418
|
description: string;
|
|
3419
|
+
id: number;
|
|
3421
3420
|
createdAt: Date;
|
|
3422
3421
|
invoiceId: string;
|
|
3422
|
+
quantity: number;
|
|
3423
3423
|
unitPrice: number;
|
|
3424
3424
|
total: number;
|
|
3425
3425
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3431,8 +3431,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3431
3431
|
type: "SALE" | "PURCHASE";
|
|
3432
3432
|
status: string;
|
|
3433
3433
|
id: string;
|
|
3434
|
-
userId: number;
|
|
3435
3434
|
createdAt: Date;
|
|
3435
|
+
userId: number;
|
|
3436
3436
|
currency: string;
|
|
3437
3437
|
orderId: string;
|
|
3438
3438
|
updatedAt: Date;
|
|
@@ -3441,21 +3441,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3441
3441
|
businessProfileId: string;
|
|
3442
3442
|
issueDate: Date;
|
|
3443
3443
|
subtotal: number;
|
|
3444
|
-
vatAmount?: number | null | undefined;
|
|
3445
3444
|
fileId?: string | null | undefined;
|
|
3445
|
+
vatAmount?: number | null | undefined;
|
|
3446
3446
|
file?: {
|
|
3447
3447
|
path: string;
|
|
3448
3448
|
id: string;
|
|
3449
|
-
userId: number;
|
|
3450
3449
|
createdAt: Date;
|
|
3450
|
+
userId: number;
|
|
3451
3451
|
signedUrl: string;
|
|
3452
3452
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3453
3453
|
} | null | undefined;
|
|
3454
3454
|
vatRate?: number | null | undefined;
|
|
3455
3455
|
businessProfile?: {
|
|
3456
3456
|
id: string;
|
|
3457
|
-
userId: number;
|
|
3458
3457
|
createdAt: Date;
|
|
3458
|
+
userId: number;
|
|
3459
3459
|
updatedAt: Date;
|
|
3460
3460
|
businessName: string;
|
|
3461
3461
|
address: string;
|
|
@@ -3468,8 +3468,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3468
3468
|
logo?: {
|
|
3469
3469
|
path: string;
|
|
3470
3470
|
id: string;
|
|
3471
|
-
userId: number;
|
|
3472
3471
|
createdAt: Date;
|
|
3472
|
+
userId: number;
|
|
3473
3473
|
signedUrl: string;
|
|
3474
3474
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3475
3475
|
} | null | undefined;
|
|
@@ -3482,26 +3482,26 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3482
3482
|
firstName: string;
|
|
3483
3483
|
lastName: string;
|
|
3484
3484
|
phoneVerified: boolean;
|
|
3485
|
-
postalCode?: string | null | undefined;
|
|
3486
|
-
city?: string | null | undefined;
|
|
3487
|
-
country?: string | null | undefined;
|
|
3488
|
-
email?: string | null | undefined;
|
|
3489
|
-
addressLine1?: string | null | undefined;
|
|
3490
|
-
addressLine2?: string | null | undefined;
|
|
3491
3485
|
birthDate?: Date | null | undefined;
|
|
3486
|
+
email?: string | null | undefined;
|
|
3492
3487
|
idNumber?: string | null | undefined;
|
|
3493
3488
|
phone?: string | null | undefined;
|
|
3494
3489
|
iban?: string | null | undefined;
|
|
3495
3490
|
bic?: string | null | undefined;
|
|
3491
|
+
addressLine1?: string | null | undefined;
|
|
3492
|
+
addressLine2?: string | null | undefined;
|
|
3493
|
+
city?: string | null | undefined;
|
|
3494
|
+
postalCode?: string | null | undefined;
|
|
3495
|
+
country?: string | null | undefined;
|
|
3496
3496
|
} | null | undefined;
|
|
3497
3497
|
dueDate?: Date | null | undefined;
|
|
3498
3498
|
notes?: string | null | undefined;
|
|
3499
3499
|
lineItems?: {
|
|
3500
|
-
quantity: number;
|
|
3501
|
-
id: number;
|
|
3502
3500
|
description: string;
|
|
3501
|
+
id: number;
|
|
3503
3502
|
createdAt: Date;
|
|
3504
3503
|
invoiceId: string;
|
|
3504
|
+
quantity: number;
|
|
3505
3505
|
unitPrice: number;
|
|
3506
3506
|
total: number;
|
|
3507
3507
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3511,8 +3511,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3511
3511
|
type: "SALE" | "PURCHASE";
|
|
3512
3512
|
status: string;
|
|
3513
3513
|
id: string;
|
|
3514
|
-
userId: number;
|
|
3515
3514
|
createdAt: Date;
|
|
3515
|
+
userId: number;
|
|
3516
3516
|
currency: string;
|
|
3517
3517
|
orderId: string;
|
|
3518
3518
|
updatedAt: Date;
|
|
@@ -3521,21 +3521,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3521
3521
|
businessProfileId: string;
|
|
3522
3522
|
issueDate: Date;
|
|
3523
3523
|
subtotal: number;
|
|
3524
|
-
vatAmount?: number | null | undefined;
|
|
3525
3524
|
fileId?: string | null | undefined;
|
|
3525
|
+
vatAmount?: number | null | undefined;
|
|
3526
3526
|
file?: {
|
|
3527
3527
|
path: string;
|
|
3528
3528
|
id: string;
|
|
3529
|
-
userId: number;
|
|
3530
3529
|
createdAt: Date;
|
|
3530
|
+
userId: number;
|
|
3531
3531
|
signedUrl: string;
|
|
3532
3532
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3533
3533
|
} | null | undefined;
|
|
3534
3534
|
vatRate?: number | null | undefined;
|
|
3535
3535
|
businessProfile?: {
|
|
3536
3536
|
id: string;
|
|
3537
|
-
userId: number;
|
|
3538
3537
|
createdAt: Date;
|
|
3538
|
+
userId: number;
|
|
3539
3539
|
updatedAt: Date;
|
|
3540
3540
|
businessName: string;
|
|
3541
3541
|
address: string;
|
|
@@ -3548,8 +3548,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3548
3548
|
logo?: {
|
|
3549
3549
|
path: string;
|
|
3550
3550
|
id: string;
|
|
3551
|
-
userId: number;
|
|
3552
3551
|
createdAt: Date;
|
|
3552
|
+
userId: number;
|
|
3553
3553
|
signedUrl: string;
|
|
3554
3554
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3555
3555
|
} | null | undefined;
|
|
@@ -3562,26 +3562,26 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3562
3562
|
firstName: string;
|
|
3563
3563
|
lastName: string;
|
|
3564
3564
|
phoneVerified: boolean;
|
|
3565
|
-
postalCode?: string | null | undefined;
|
|
3566
|
-
city?: string | null | undefined;
|
|
3567
|
-
country?: string | null | undefined;
|
|
3568
|
-
email?: string | null | undefined;
|
|
3569
|
-
addressLine1?: string | null | undefined;
|
|
3570
|
-
addressLine2?: string | null | undefined;
|
|
3571
3565
|
birthDate?: Date | null | undefined;
|
|
3566
|
+
email?: string | null | undefined;
|
|
3572
3567
|
idNumber?: string | null | undefined;
|
|
3573
3568
|
phone?: string | null | undefined;
|
|
3574
3569
|
iban?: string | null | undefined;
|
|
3575
3570
|
bic?: string | null | undefined;
|
|
3571
|
+
addressLine1?: string | null | undefined;
|
|
3572
|
+
addressLine2?: string | null | undefined;
|
|
3573
|
+
city?: string | null | undefined;
|
|
3574
|
+
postalCode?: string | null | undefined;
|
|
3575
|
+
country?: string | null | undefined;
|
|
3576
3576
|
} | null | undefined;
|
|
3577
3577
|
dueDate?: Date | null | undefined;
|
|
3578
3578
|
notes?: string | null | undefined;
|
|
3579
3579
|
lineItems?: {
|
|
3580
|
-
quantity: number;
|
|
3581
|
-
id: number;
|
|
3582
3580
|
description: string;
|
|
3581
|
+
id: number;
|
|
3583
3582
|
createdAt: Date;
|
|
3584
3583
|
invoiceId: string;
|
|
3584
|
+
quantity: number;
|
|
3585
3585
|
unitPrice: number;
|
|
3586
3586
|
total: number;
|
|
3587
3587
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3592,42 +3592,42 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3592
3592
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
3593
3593
|
labels?: {
|
|
3594
3594
|
id: string;
|
|
3595
|
-
orderId: string;
|
|
3596
3595
|
fileId: string;
|
|
3596
|
+
orderId: string;
|
|
3597
3597
|
nonCroppedFileId: string;
|
|
3598
3598
|
originalFileId: string;
|
|
3599
|
-
|
|
3599
|
+
originalFile?: {
|
|
3600
3600
|
path: string;
|
|
3601
3601
|
id: string;
|
|
3602
|
-
userId: number;
|
|
3603
3602
|
createdAt: Date;
|
|
3603
|
+
userId: number;
|
|
3604
3604
|
signedUrl: string;
|
|
3605
3605
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3606
3606
|
} | null | undefined;
|
|
3607
|
-
|
|
3607
|
+
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;
|
|
3608
|
+
file?: {
|
|
3608
3609
|
path: string;
|
|
3609
3610
|
id: string;
|
|
3610
|
-
userId: number;
|
|
3611
3611
|
createdAt: Date;
|
|
3612
|
+
userId: number;
|
|
3612
3613
|
signedUrl: string;
|
|
3613
3614
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3614
3615
|
} | null | undefined;
|
|
3615
|
-
|
|
3616
|
+
nonCroppedFile?: {
|
|
3616
3617
|
path: string;
|
|
3617
3618
|
id: string;
|
|
3618
|
-
userId: number;
|
|
3619
3619
|
createdAt: Date;
|
|
3620
|
+
userId: number;
|
|
3620
3621
|
signedUrl: string;
|
|
3621
3622
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3622
3623
|
} | null | undefined;
|
|
3623
|
-
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;
|
|
3624
3624
|
}[] | null | undefined;
|
|
3625
3625
|
invoices?: {
|
|
3626
3626
|
type: "SALE" | "PURCHASE";
|
|
3627
3627
|
status: string;
|
|
3628
3628
|
id: string;
|
|
3629
|
-
userId: number;
|
|
3630
3629
|
createdAt: Date;
|
|
3630
|
+
userId: number;
|
|
3631
3631
|
currency: string;
|
|
3632
3632
|
orderId: string;
|
|
3633
3633
|
updatedAt: Date;
|
|
@@ -3636,21 +3636,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3636
3636
|
businessProfileId: string;
|
|
3637
3637
|
issueDate: Date;
|
|
3638
3638
|
subtotal: number;
|
|
3639
|
-
vatAmount?: number | null | undefined;
|
|
3640
3639
|
fileId?: string | null | undefined;
|
|
3640
|
+
vatAmount?: number | null | undefined;
|
|
3641
3641
|
file?: {
|
|
3642
3642
|
path: string;
|
|
3643
3643
|
id: string;
|
|
3644
|
-
userId: number;
|
|
3645
3644
|
createdAt: Date;
|
|
3645
|
+
userId: number;
|
|
3646
3646
|
signedUrl: string;
|
|
3647
3647
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3648
3648
|
} | null | undefined;
|
|
3649
3649
|
vatRate?: number | null | undefined;
|
|
3650
3650
|
businessProfile?: {
|
|
3651
3651
|
id: string;
|
|
3652
|
-
userId: number;
|
|
3653
3652
|
createdAt: Date;
|
|
3653
|
+
userId: number;
|
|
3654
3654
|
updatedAt: Date;
|
|
3655
3655
|
businessName: string;
|
|
3656
3656
|
address: string;
|
|
@@ -3663,8 +3663,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3663
3663
|
logo?: {
|
|
3664
3664
|
path: string;
|
|
3665
3665
|
id: string;
|
|
3666
|
-
userId: number;
|
|
3667
3666
|
createdAt: Date;
|
|
3667
|
+
userId: number;
|
|
3668
3668
|
signedUrl: string;
|
|
3669
3669
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3670
3670
|
} | null | undefined;
|
|
@@ -3677,26 +3677,26 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3677
3677
|
firstName: string;
|
|
3678
3678
|
lastName: string;
|
|
3679
3679
|
phoneVerified: boolean;
|
|
3680
|
-
postalCode?: string | null | undefined;
|
|
3681
|
-
city?: string | null | undefined;
|
|
3682
|
-
country?: string | null | undefined;
|
|
3683
|
-
email?: string | null | undefined;
|
|
3684
|
-
addressLine1?: string | null | undefined;
|
|
3685
|
-
addressLine2?: string | null | undefined;
|
|
3686
3680
|
birthDate?: Date | null | undefined;
|
|
3681
|
+
email?: string | null | undefined;
|
|
3687
3682
|
idNumber?: string | null | undefined;
|
|
3688
3683
|
phone?: string | null | undefined;
|
|
3689
3684
|
iban?: string | null | undefined;
|
|
3690
3685
|
bic?: string | null | undefined;
|
|
3686
|
+
addressLine1?: string | null | undefined;
|
|
3687
|
+
addressLine2?: string | null | undefined;
|
|
3688
|
+
city?: string | null | undefined;
|
|
3689
|
+
postalCode?: string | null | undefined;
|
|
3690
|
+
country?: string | null | undefined;
|
|
3691
3691
|
} | null | undefined;
|
|
3692
3692
|
dueDate?: Date | null | undefined;
|
|
3693
3693
|
notes?: string | null | undefined;
|
|
3694
3694
|
lineItems?: {
|
|
3695
|
-
quantity: number;
|
|
3696
|
-
id: number;
|
|
3697
3695
|
description: string;
|
|
3696
|
+
id: number;
|
|
3698
3697
|
createdAt: Date;
|
|
3699
3698
|
invoiceId: string;
|
|
3699
|
+
quantity: number;
|
|
3700
3700
|
unitPrice: number;
|
|
3701
3701
|
total: number;
|
|
3702
3702
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3707,42 +3707,42 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3707
3707
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
3708
3708
|
labels?: {
|
|
3709
3709
|
id: string;
|
|
3710
|
-
orderId: string;
|
|
3711
3710
|
fileId: string;
|
|
3711
|
+
orderId: string;
|
|
3712
3712
|
nonCroppedFileId: string;
|
|
3713
3713
|
originalFileId: string;
|
|
3714
|
-
|
|
3714
|
+
originalFile?: {
|
|
3715
3715
|
path: string;
|
|
3716
3716
|
id: string;
|
|
3717
|
-
userId: number;
|
|
3718
3717
|
createdAt: Date;
|
|
3718
|
+
userId: number;
|
|
3719
3719
|
signedUrl: string;
|
|
3720
3720
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3721
3721
|
} | null | undefined;
|
|
3722
|
-
|
|
3722
|
+
carrier?: unknown;
|
|
3723
|
+
file?: {
|
|
3723
3724
|
path: string;
|
|
3724
3725
|
id: string;
|
|
3725
|
-
userId: number;
|
|
3726
3726
|
createdAt: Date;
|
|
3727
|
+
userId: number;
|
|
3727
3728
|
signedUrl: string;
|
|
3728
3729
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3729
3730
|
} | null | undefined;
|
|
3730
|
-
|
|
3731
|
+
nonCroppedFile?: {
|
|
3731
3732
|
path: string;
|
|
3732
3733
|
id: string;
|
|
3733
|
-
userId: number;
|
|
3734
3734
|
createdAt: Date;
|
|
3735
|
+
userId: number;
|
|
3735
3736
|
signedUrl: string;
|
|
3736
3737
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3737
3738
|
} | null | undefined;
|
|
3738
|
-
carrier?: unknown;
|
|
3739
3739
|
}[] | null | undefined;
|
|
3740
3740
|
invoices?: {
|
|
3741
3741
|
type: "SALE" | "PURCHASE";
|
|
3742
3742
|
status: string;
|
|
3743
3743
|
id: string;
|
|
3744
|
-
userId: number;
|
|
3745
3744
|
createdAt: Date;
|
|
3745
|
+
userId: number;
|
|
3746
3746
|
currency: string;
|
|
3747
3747
|
orderId: string;
|
|
3748
3748
|
updatedAt: Date;
|
|
@@ -3751,21 +3751,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3751
3751
|
businessProfileId: string;
|
|
3752
3752
|
issueDate: Date;
|
|
3753
3753
|
subtotal: number;
|
|
3754
|
-
vatAmount?: number | null | undefined;
|
|
3755
3754
|
fileId?: string | null | undefined;
|
|
3755
|
+
vatAmount?: number | null | undefined;
|
|
3756
3756
|
file?: {
|
|
3757
3757
|
path: string;
|
|
3758
3758
|
id: string;
|
|
3759
|
-
userId: number;
|
|
3760
3759
|
createdAt: Date;
|
|
3760
|
+
userId: number;
|
|
3761
3761
|
signedUrl: string;
|
|
3762
3762
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3763
3763
|
} | null | undefined;
|
|
3764
3764
|
vatRate?: number | null | undefined;
|
|
3765
3765
|
businessProfile?: {
|
|
3766
3766
|
id: string;
|
|
3767
|
-
userId: number;
|
|
3768
3767
|
createdAt: Date;
|
|
3768
|
+
userId: number;
|
|
3769
3769
|
updatedAt: Date;
|
|
3770
3770
|
businessName: string;
|
|
3771
3771
|
address: string;
|
|
@@ -3778,8 +3778,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3778
3778
|
logo?: {
|
|
3779
3779
|
path: string;
|
|
3780
3780
|
id: string;
|
|
3781
|
-
userId: number;
|
|
3782
3781
|
createdAt: Date;
|
|
3782
|
+
userId: number;
|
|
3783
3783
|
signedUrl: string;
|
|
3784
3784
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3785
3785
|
} | null | undefined;
|
|
@@ -3792,26 +3792,26 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3792
3792
|
firstName: string;
|
|
3793
3793
|
lastName: string;
|
|
3794
3794
|
phoneVerified: boolean;
|
|
3795
|
-
postalCode?: string | null | undefined;
|
|
3796
|
-
city?: string | null | undefined;
|
|
3797
|
-
country?: string | null | undefined;
|
|
3798
|
-
email?: string | null | undefined;
|
|
3799
|
-
addressLine1?: string | null | undefined;
|
|
3800
|
-
addressLine2?: string | null | undefined;
|
|
3801
3795
|
birthDate?: Date | null | undefined;
|
|
3796
|
+
email?: string | null | undefined;
|
|
3802
3797
|
idNumber?: string | null | undefined;
|
|
3803
3798
|
phone?: string | null | undefined;
|
|
3804
3799
|
iban?: string | null | undefined;
|
|
3805
3800
|
bic?: string | null | undefined;
|
|
3801
|
+
addressLine1?: string | null | undefined;
|
|
3802
|
+
addressLine2?: string | null | undefined;
|
|
3803
|
+
city?: string | null | undefined;
|
|
3804
|
+
postalCode?: string | null | undefined;
|
|
3805
|
+
country?: string | null | undefined;
|
|
3806
3806
|
} | null | undefined;
|
|
3807
3807
|
dueDate?: Date | null | undefined;
|
|
3808
3808
|
notes?: string | null | undefined;
|
|
3809
3809
|
lineItems?: {
|
|
3810
|
-
quantity: number;
|
|
3811
|
-
id: number;
|
|
3812
3810
|
description: string;
|
|
3811
|
+
id: number;
|
|
3813
3812
|
createdAt: Date;
|
|
3814
3813
|
invoiceId: string;
|
|
3814
|
+
quantity: number;
|
|
3815
3815
|
unitPrice: number;
|
|
3816
3816
|
total: number;
|
|
3817
3817
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3821,29 +3821,45 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3821
3821
|
}>>>;
|
|
3822
3822
|
analysisStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "COMPLETED", "FAILED"]>>>;
|
|
3823
3823
|
}, "strip", z.ZodTypeAny, {
|
|
3824
|
-
|
|
3825
|
-
|
|
3824
|
+
actions: {
|
|
3825
|
+
perAccount: Record<string, ("REPUBLISH" | "UNKNOWN" | "PUBLISH" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE" | "UPDATE_CANCEL" | "BOOST")[]>;
|
|
3826
|
+
};
|
|
3826
3827
|
name: string;
|
|
3828
|
+
id: number;
|
|
3827
3829
|
createdAt: Date;
|
|
3830
|
+
userId: number;
|
|
3828
3831
|
updatedAt: Date;
|
|
3829
3832
|
sold: boolean;
|
|
3830
|
-
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
+
fees?: {
|
|
3834
|
+
value: number;
|
|
3835
|
+
type: string;
|
|
3836
|
+
name: string;
|
|
3837
|
+
id: number;
|
|
3838
|
+
createdAt: Date;
|
|
3839
|
+
userId: number;
|
|
3840
|
+
updatedAt: Date;
|
|
3841
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
3842
|
+
startDate: Date;
|
|
3843
|
+
active: boolean;
|
|
3844
|
+
description?: string | null | undefined;
|
|
3845
|
+
itemId?: number | null | undefined;
|
|
3846
|
+
endDate?: Date | null | undefined;
|
|
3847
|
+
parentFeeId?: number | null | undefined;
|
|
3848
|
+
}[] | null | undefined;
|
|
3833
3849
|
description?: string | null | undefined;
|
|
3834
3850
|
categoryId?: number | null | undefined;
|
|
3835
|
-
|
|
3851
|
+
sizeId?: number | null | undefined;
|
|
3836
3852
|
colorIds?: number[] | null | undefined;
|
|
3853
|
+
packageSizeId?: number | null | undefined;
|
|
3854
|
+
state?: number | null | undefined;
|
|
3837
3855
|
measurementLength?: number | null | undefined;
|
|
3838
3856
|
measurementWidth?: number | null | undefined;
|
|
3839
|
-
packageSizeId?: number | null | undefined;
|
|
3840
|
-
sizeId?: number | null | undefined;
|
|
3841
3857
|
labels?: {
|
|
3842
3858
|
itemId: number;
|
|
3843
3859
|
labelId: number;
|
|
3844
3860
|
label?: {
|
|
3845
|
-
id: number;
|
|
3846
3861
|
name: string;
|
|
3862
|
+
id: number;
|
|
3847
3863
|
createdAt: Date;
|
|
3848
3864
|
isUserLabel: boolean;
|
|
3849
3865
|
itemCount?: number | null | undefined;
|
|
@@ -3856,50 +3872,86 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3856
3872
|
fieldKey: string;
|
|
3857
3873
|
}[] | null | undefined;
|
|
3858
3874
|
sku?: string | null | undefined;
|
|
3875
|
+
sex?: string | null | undefined;
|
|
3876
|
+
platforms?: {
|
|
3877
|
+
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
3878
|
+
id: string;
|
|
3879
|
+
createdAt: Date;
|
|
3880
|
+
accountId: string;
|
|
3881
|
+
itemId: number;
|
|
3882
|
+
platformId: string;
|
|
3883
|
+
platformUrl: string;
|
|
3884
|
+
platformPrice: number;
|
|
3885
|
+
updatedAt: Date;
|
|
3886
|
+
publishedAt: Date;
|
|
3887
|
+
conversationId?: string | null | undefined;
|
|
3888
|
+
boostedAt?: Date | null | undefined;
|
|
3889
|
+
boostedUntil?: Date | null | undefined;
|
|
3890
|
+
viewsCount?: number | null | undefined;
|
|
3891
|
+
favoritesCount?: number | null | undefined;
|
|
3892
|
+
account?: {
|
|
3893
|
+
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
3894
|
+
name: string;
|
|
3895
|
+
userId: number;
|
|
3896
|
+
accountId: string;
|
|
3897
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3898
|
+
locale?: string | null | undefined;
|
|
3899
|
+
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
3900
|
+
restrictedUntil?: Date | null | undefined;
|
|
3901
|
+
night?: {
|
|
3902
|
+
startsAt: Date;
|
|
3903
|
+
endsAt: Date;
|
|
3904
|
+
} | null | undefined;
|
|
3905
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
3906
|
+
ordersMaxDelay?: number | null | undefined;
|
|
3907
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
3908
|
+
walletMaxDelay?: number | null | undefined;
|
|
3909
|
+
availableBalance?: number | null | undefined;
|
|
3910
|
+
pendingBalance?: number | null | undefined;
|
|
3911
|
+
profilePictureFileId?: string | null | undefined;
|
|
3912
|
+
profilePicture?: {
|
|
3913
|
+
path: string;
|
|
3914
|
+
id: string;
|
|
3915
|
+
createdAt: Date;
|
|
3916
|
+
userId: number;
|
|
3917
|
+
signedUrl: string;
|
|
3918
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3919
|
+
} | null | undefined;
|
|
3920
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
3921
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
3922
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
3923
|
+
} | null | undefined;
|
|
3924
|
+
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;
|
|
3925
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
3926
|
+
isBoosted?: boolean | null | undefined;
|
|
3927
|
+
}[] | null | undefined;
|
|
3928
|
+
brandId?: number | null | undefined;
|
|
3929
|
+
estimatedPrice?: number | null | undefined;
|
|
3930
|
+
purchaseDate?: Date | null | undefined;
|
|
3931
|
+
sellingDate?: Date | null | undefined;
|
|
3859
3932
|
fields?: {
|
|
3860
3933
|
value: string;
|
|
3861
3934
|
itemId: number;
|
|
3862
3935
|
fieldId: number;
|
|
3863
3936
|
}[] | null | undefined;
|
|
3864
3937
|
files?: {
|
|
3865
|
-
itemId: number;
|
|
3866
3938
|
fileId: string;
|
|
3939
|
+
itemId: number;
|
|
3867
3940
|
file?: {
|
|
3868
3941
|
path: string;
|
|
3869
3942
|
id: string;
|
|
3870
|
-
userId: number;
|
|
3871
3943
|
createdAt: Date;
|
|
3944
|
+
userId: number;
|
|
3872
3945
|
signedUrl: string;
|
|
3873
3946
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3874
3947
|
} | null | undefined;
|
|
3875
3948
|
index?: number | null | undefined;
|
|
3876
3949
|
}[] | null | undefined;
|
|
3877
|
-
brandId?: number | null | undefined;
|
|
3878
|
-
sex?: string | null | undefined;
|
|
3879
3950
|
purchasePrice?: number | null | undefined;
|
|
3880
|
-
purchaseDate?: Date | null | undefined;
|
|
3881
3951
|
purchasePlaceId?: number | null | undefined;
|
|
3882
3952
|
purchased?: boolean | null | undefined;
|
|
3883
3953
|
sellingPrice?: number | null | undefined;
|
|
3884
|
-
sellingDate?: Date | null | undefined;
|
|
3885
3954
|
sellingPlaceId?: number | null | undefined;
|
|
3886
|
-
estimatedPrice?: number | null | undefined;
|
|
3887
|
-
fees?: {
|
|
3888
|
-
value: number;
|
|
3889
|
-
type: string;
|
|
3890
|
-
id: number;
|
|
3891
|
-
userId: number;
|
|
3892
|
-
name: string;
|
|
3893
|
-
createdAt: Date;
|
|
3894
|
-
updatedAt: Date;
|
|
3895
|
-
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
3896
|
-
startDate: Date;
|
|
3897
|
-
active: boolean;
|
|
3898
|
-
description?: string | null | undefined;
|
|
3899
|
-
itemId?: number | null | undefined;
|
|
3900
|
-
endDate?: Date | null | undefined;
|
|
3901
|
-
parentFeeId?: number | null | undefined;
|
|
3902
|
-
}[] | null | undefined;
|
|
3903
3955
|
feesSum?: number | null | undefined;
|
|
3904
3956
|
materialIds?: number[] | null | undefined;
|
|
3905
3957
|
enumValues?: {
|
|
@@ -3915,7 +3967,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3915
3967
|
id: string;
|
|
3916
3968
|
createdAt: Date;
|
|
3917
3969
|
itemId: number;
|
|
3918
|
-
accountId?: string | null | undefined;
|
|
3919
3970
|
data?: {
|
|
3920
3971
|
type: "ACTION_CANCELED";
|
|
3921
3972
|
data: {
|
|
@@ -3951,7 +4002,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3951
4002
|
accountId?: string | null | undefined;
|
|
3952
4003
|
reason?: string | null | undefined;
|
|
3953
4004
|
fields?: {
|
|
3954
|
-
field: "
|
|
4005
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
3955
4006
|
autoFixable: boolean;
|
|
3956
4007
|
error?: string | null | undefined;
|
|
3957
4008
|
}[] | null | undefined;
|
|
@@ -3981,23 +4032,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3981
4032
|
post: {
|
|
3982
4033
|
platformId: string;
|
|
3983
4034
|
post: {
|
|
3984
|
-
size?: string | null | undefined;
|
|
3985
4035
|
status?: string | null | undefined;
|
|
3986
4036
|
title?: string | null | undefined;
|
|
3987
4037
|
description?: string | null | undefined;
|
|
4038
|
+
brand?: string | null | undefined;
|
|
4039
|
+
statusId?: number | null | undefined;
|
|
4040
|
+
sizeId?: number | null | undefined;
|
|
4041
|
+
colorIds?: number[] | null | undefined;
|
|
4042
|
+
packageSizeId?: number | null | undefined;
|
|
3988
4043
|
price?: number | null | undefined;
|
|
3989
4044
|
currency?: string | null | undefined;
|
|
3990
|
-
brand?: string | null | undefined;
|
|
3991
4045
|
catalog?: string | null | undefined;
|
|
3992
4046
|
catalogId?: number | null | undefined;
|
|
3993
4047
|
colors?: string[] | null | undefined;
|
|
3994
|
-
colorIds?: number[] | null | undefined;
|
|
3995
4048
|
measurementLength?: number | null | undefined;
|
|
3996
4049
|
measurementWidth?: number | null | undefined;
|
|
3997
|
-
packageSizeId?: number | null | undefined;
|
|
3998
4050
|
photoUrls?: string[] | null | undefined;
|
|
3999
|
-
|
|
4000
|
-
statusId?: number | null | undefined;
|
|
4051
|
+
size?: string | null | undefined;
|
|
4001
4052
|
isDraft?: boolean | null | undefined;
|
|
4002
4053
|
isArchived?: boolean | null | undefined;
|
|
4003
4054
|
isUnisex?: boolean | null | undefined;
|
|
@@ -4040,8 +4091,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4040
4091
|
} | {
|
|
4041
4092
|
type: "LIFECYCLE_STARTED";
|
|
4042
4093
|
data: {
|
|
4043
|
-
accountId: string;
|
|
4044
4094
|
caseId: string;
|
|
4095
|
+
accountId: string;
|
|
4045
4096
|
isRepeat?: boolean | null | undefined;
|
|
4046
4097
|
};
|
|
4047
4098
|
} | {
|
|
@@ -4080,17 +4131,17 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4080
4131
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
4081
4132
|
} | null | undefined;
|
|
4082
4133
|
} | null | undefined;
|
|
4083
|
-
targetAccountId?: string | null | undefined;
|
|
4084
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
4085
4134
|
publishingDate?: Date | null | undefined;
|
|
4086
4135
|
isTransfer?: boolean | null | undefined;
|
|
4136
|
+
targetAccountId?: string | null | undefined;
|
|
4137
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
4087
4138
|
};
|
|
4088
4139
|
} | {
|
|
4089
4140
|
type: "REPUBLISHING_RETRY";
|
|
4090
4141
|
data: {
|
|
4142
|
+
maxAttempts: number;
|
|
4091
4143
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4092
4144
|
attemptNumber: number;
|
|
4093
|
-
maxAttempts: number;
|
|
4094
4145
|
previousHistoryId: string;
|
|
4095
4146
|
originalFailureDate: Date;
|
|
4096
4147
|
payload?: {
|
|
@@ -4118,7 +4169,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4118
4169
|
} | null | undefined;
|
|
4119
4170
|
} | null | undefined;
|
|
4120
4171
|
fields?: {
|
|
4121
|
-
field: "
|
|
4172
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
4122
4173
|
autoFixable: boolean;
|
|
4123
4174
|
error?: string | null | undefined;
|
|
4124
4175
|
}[] | null | undefined;
|
|
@@ -4132,13 +4183,13 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4132
4183
|
} | {
|
|
4133
4184
|
type: "SCHEDULED_RETRY";
|
|
4134
4185
|
data: {
|
|
4186
|
+
maxAttempts: number;
|
|
4135
4187
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4136
4188
|
attemptNumber: number;
|
|
4137
|
-
maxAttempts: number;
|
|
4138
4189
|
previousHistoryId: string;
|
|
4139
4190
|
originalFailureDate: Date;
|
|
4140
4191
|
fields?: {
|
|
4141
|
-
field: "
|
|
4192
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
4142
4193
|
autoFixable: boolean;
|
|
4143
4194
|
error?: string | null | undefined;
|
|
4144
4195
|
}[] | null | undefined;
|
|
@@ -4167,103 +4218,52 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4167
4218
|
targetDate?: Date | null | undefined;
|
|
4168
4219
|
};
|
|
4169
4220
|
} | null | undefined;
|
|
4221
|
+
accountId?: string | null | undefined;
|
|
4170
4222
|
targetDate?: Date | null | undefined;
|
|
4171
4223
|
requestId?: string | null | undefined;
|
|
4172
4224
|
targetHistoryId?: string | null | undefined;
|
|
4173
4225
|
} | null | undefined;
|
|
4174
|
-
platforms?: {
|
|
4175
|
-
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
4176
|
-
id: string;
|
|
4177
|
-
accountId: string;
|
|
4178
|
-
createdAt: Date;
|
|
4179
|
-
itemId: number;
|
|
4180
|
-
platformId: string;
|
|
4181
|
-
platformUrl: string;
|
|
4182
|
-
platformPrice: number;
|
|
4183
|
-
updatedAt: Date;
|
|
4184
|
-
publishedAt: Date;
|
|
4185
|
-
conversationId?: string | null | undefined;
|
|
4186
|
-
boostedAt?: Date | null | undefined;
|
|
4187
|
-
boostedUntil?: Date | null | undefined;
|
|
4188
|
-
viewsCount?: number | null | undefined;
|
|
4189
|
-
favoritesCount?: number | null | undefined;
|
|
4190
|
-
account?: {
|
|
4191
|
-
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
4192
|
-
accountId: string;
|
|
4193
|
-
userId: number;
|
|
4194
|
-
name: string;
|
|
4195
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4196
|
-
locale?: string | null | undefined;
|
|
4197
|
-
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
4198
|
-
restrictedUntil?: Date | null | undefined;
|
|
4199
|
-
night?: {
|
|
4200
|
-
startsAt: Date;
|
|
4201
|
-
endsAt: Date;
|
|
4202
|
-
} | null | undefined;
|
|
4203
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
4204
|
-
ordersMaxDelay?: number | null | undefined;
|
|
4205
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
4206
|
-
walletMaxDelay?: number | null | undefined;
|
|
4207
|
-
availableBalance?: number | null | undefined;
|
|
4208
|
-
pendingBalance?: number | null | undefined;
|
|
4209
|
-
profilePictureFileId?: string | null | undefined;
|
|
4210
|
-
profilePicture?: {
|
|
4211
|
-
path: string;
|
|
4212
|
-
id: string;
|
|
4213
|
-
userId: number;
|
|
4214
|
-
createdAt: Date;
|
|
4215
|
-
signedUrl: string;
|
|
4216
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4217
|
-
} | null | undefined;
|
|
4218
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
4219
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
4220
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
4221
|
-
} | null | undefined;
|
|
4222
|
-
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;
|
|
4223
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
4224
|
-
isBoosted?: boolean | null | undefined;
|
|
4225
|
-
}[] | null | undefined;
|
|
4226
4226
|
sourceInConversation?: "UNKNOWN" | "DELETED" | "ORDER" | "TRANSACTION" | null | undefined;
|
|
4227
4227
|
order?: {
|
|
4228
4228
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
4229
4229
|
labels?: {
|
|
4230
4230
|
id: string;
|
|
4231
|
-
orderId: string;
|
|
4232
4231
|
fileId: string;
|
|
4232
|
+
orderId: string;
|
|
4233
4233
|
nonCroppedFileId: string;
|
|
4234
4234
|
originalFileId: string;
|
|
4235
|
-
|
|
4235
|
+
originalFile?: {
|
|
4236
4236
|
path: string;
|
|
4237
4237
|
id: string;
|
|
4238
|
-
userId: number;
|
|
4239
4238
|
createdAt: Date;
|
|
4239
|
+
userId: number;
|
|
4240
4240
|
signedUrl: string;
|
|
4241
4241
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4242
4242
|
} | null | undefined;
|
|
4243
|
-
|
|
4243
|
+
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;
|
|
4244
|
+
file?: {
|
|
4244
4245
|
path: string;
|
|
4245
4246
|
id: string;
|
|
4246
|
-
userId: number;
|
|
4247
4247
|
createdAt: Date;
|
|
4248
|
+
userId: number;
|
|
4248
4249
|
signedUrl: string;
|
|
4249
4250
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4250
4251
|
} | null | undefined;
|
|
4251
|
-
|
|
4252
|
+
nonCroppedFile?: {
|
|
4252
4253
|
path: string;
|
|
4253
4254
|
id: string;
|
|
4254
|
-
userId: number;
|
|
4255
4255
|
createdAt: Date;
|
|
4256
|
+
userId: number;
|
|
4256
4257
|
signedUrl: string;
|
|
4257
4258
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4258
4259
|
} | null | undefined;
|
|
4259
|
-
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;
|
|
4260
4260
|
}[] | null | undefined;
|
|
4261
4261
|
invoices?: {
|
|
4262
4262
|
type: "SALE" | "PURCHASE";
|
|
4263
4263
|
status: string;
|
|
4264
4264
|
id: string;
|
|
4265
|
-
userId: number;
|
|
4266
4265
|
createdAt: Date;
|
|
4266
|
+
userId: number;
|
|
4267
4267
|
currency: string;
|
|
4268
4268
|
orderId: string;
|
|
4269
4269
|
updatedAt: Date;
|
|
@@ -4272,21 +4272,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4272
4272
|
businessProfileId: string;
|
|
4273
4273
|
issueDate: Date;
|
|
4274
4274
|
subtotal: number;
|
|
4275
|
-
vatAmount?: number | null | undefined;
|
|
4276
4275
|
fileId?: string | null | undefined;
|
|
4276
|
+
vatAmount?: number | null | undefined;
|
|
4277
4277
|
file?: {
|
|
4278
4278
|
path: string;
|
|
4279
4279
|
id: string;
|
|
4280
|
-
userId: number;
|
|
4281
4280
|
createdAt: Date;
|
|
4281
|
+
userId: number;
|
|
4282
4282
|
signedUrl: string;
|
|
4283
4283
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4284
4284
|
} | null | undefined;
|
|
4285
4285
|
vatRate?: number | null | undefined;
|
|
4286
4286
|
businessProfile?: {
|
|
4287
4287
|
id: string;
|
|
4288
|
-
userId: number;
|
|
4289
4288
|
createdAt: Date;
|
|
4289
|
+
userId: number;
|
|
4290
4290
|
updatedAt: Date;
|
|
4291
4291
|
businessName: string;
|
|
4292
4292
|
address: string;
|
|
@@ -4299,8 +4299,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4299
4299
|
logo?: {
|
|
4300
4300
|
path: string;
|
|
4301
4301
|
id: string;
|
|
4302
|
-
userId: number;
|
|
4303
4302
|
createdAt: Date;
|
|
4303
|
+
userId: number;
|
|
4304
4304
|
signedUrl: string;
|
|
4305
4305
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4306
4306
|
} | null | undefined;
|
|
@@ -4313,26 +4313,26 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4313
4313
|
firstName: string;
|
|
4314
4314
|
lastName: string;
|
|
4315
4315
|
phoneVerified: boolean;
|
|
4316
|
-
postalCode?: string | null | undefined;
|
|
4317
|
-
city?: string | null | undefined;
|
|
4318
|
-
country?: string | null | undefined;
|
|
4319
|
-
email?: string | null | undefined;
|
|
4320
|
-
addressLine1?: string | null | undefined;
|
|
4321
|
-
addressLine2?: string | null | undefined;
|
|
4322
4316
|
birthDate?: Date | null | undefined;
|
|
4317
|
+
email?: string | null | undefined;
|
|
4323
4318
|
idNumber?: string | null | undefined;
|
|
4324
4319
|
phone?: string | null | undefined;
|
|
4325
4320
|
iban?: string | null | undefined;
|
|
4326
4321
|
bic?: string | null | undefined;
|
|
4322
|
+
addressLine1?: string | null | undefined;
|
|
4323
|
+
addressLine2?: string | null | undefined;
|
|
4324
|
+
city?: string | null | undefined;
|
|
4325
|
+
postalCode?: string | null | undefined;
|
|
4326
|
+
country?: string | null | undefined;
|
|
4327
4327
|
} | null | undefined;
|
|
4328
4328
|
dueDate?: Date | null | undefined;
|
|
4329
4329
|
notes?: string | null | undefined;
|
|
4330
4330
|
lineItems?: {
|
|
4331
|
-
quantity: number;
|
|
4332
|
-
id: number;
|
|
4333
4331
|
description: string;
|
|
4332
|
+
id: number;
|
|
4334
4333
|
createdAt: Date;
|
|
4335
4334
|
invoiceId: string;
|
|
4335
|
+
quantity: number;
|
|
4336
4336
|
unitPrice: number;
|
|
4337
4337
|
total: number;
|
|
4338
4338
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -4342,29 +4342,45 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4342
4342
|
} | null | undefined;
|
|
4343
4343
|
analysisStatus?: "PENDING" | "COMPLETED" | "FAILED" | null | undefined;
|
|
4344
4344
|
}, {
|
|
4345
|
-
|
|
4346
|
-
|
|
4345
|
+
actions: {
|
|
4346
|
+
perAccount: Record<string, unknown[]>;
|
|
4347
|
+
};
|
|
4347
4348
|
name: string;
|
|
4349
|
+
id: number;
|
|
4348
4350
|
createdAt: Date;
|
|
4351
|
+
userId: number;
|
|
4349
4352
|
updatedAt: Date;
|
|
4350
4353
|
sold: boolean;
|
|
4351
|
-
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
+
fees?: {
|
|
4355
|
+
value: number;
|
|
4356
|
+
type: string;
|
|
4357
|
+
name: string;
|
|
4358
|
+
id: number;
|
|
4359
|
+
createdAt: Date;
|
|
4360
|
+
userId: number;
|
|
4361
|
+
updatedAt: Date;
|
|
4362
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
4363
|
+
startDate: Date;
|
|
4364
|
+
active: boolean;
|
|
4365
|
+
description?: string | null | undefined;
|
|
4366
|
+
itemId?: number | null | undefined;
|
|
4367
|
+
endDate?: Date | null | undefined;
|
|
4368
|
+
parentFeeId?: number | null | undefined;
|
|
4369
|
+
}[] | null | undefined;
|
|
4354
4370
|
description?: string | null | undefined;
|
|
4355
4371
|
categoryId?: number | null | undefined;
|
|
4356
|
-
|
|
4372
|
+
sizeId?: number | null | undefined;
|
|
4357
4373
|
colorIds?: number[] | null | undefined;
|
|
4374
|
+
packageSizeId?: number | null | undefined;
|
|
4375
|
+
state?: number | null | undefined;
|
|
4358
4376
|
measurementLength?: number | null | undefined;
|
|
4359
4377
|
measurementWidth?: number | null | undefined;
|
|
4360
|
-
packageSizeId?: number | null | undefined;
|
|
4361
|
-
sizeId?: number | null | undefined;
|
|
4362
4378
|
labels?: {
|
|
4363
4379
|
itemId: number;
|
|
4364
4380
|
labelId: number;
|
|
4365
4381
|
label?: {
|
|
4366
|
-
id: number;
|
|
4367
4382
|
name: string;
|
|
4383
|
+
id: number;
|
|
4368
4384
|
createdAt: Date;
|
|
4369
4385
|
isUserLabel: boolean;
|
|
4370
4386
|
itemCount?: number | null | undefined;
|
|
@@ -4377,50 +4393,86 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4377
4393
|
fieldKey: string;
|
|
4378
4394
|
}[] | null | undefined;
|
|
4379
4395
|
sku?: string | null | undefined;
|
|
4396
|
+
sex?: string | null | undefined;
|
|
4397
|
+
platforms?: {
|
|
4398
|
+
id: string;
|
|
4399
|
+
createdAt: Date;
|
|
4400
|
+
accountId: string;
|
|
4401
|
+
itemId: number;
|
|
4402
|
+
platformId: string;
|
|
4403
|
+
platformUrl: string;
|
|
4404
|
+
platformPrice: number;
|
|
4405
|
+
updatedAt: Date;
|
|
4406
|
+
publishedAt: Date;
|
|
4407
|
+
status?: unknown;
|
|
4408
|
+
conversationId?: string | null | undefined;
|
|
4409
|
+
boostedAt?: Date | null | undefined;
|
|
4410
|
+
boostedUntil?: Date | null | undefined;
|
|
4411
|
+
viewsCount?: number | null | undefined;
|
|
4412
|
+
favoritesCount?: number | null | undefined;
|
|
4413
|
+
account?: {
|
|
4414
|
+
name: string;
|
|
4415
|
+
userId: number;
|
|
4416
|
+
accountId: string;
|
|
4417
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4418
|
+
status?: unknown;
|
|
4419
|
+
locale?: string | null | undefined;
|
|
4420
|
+
lockReason?: unknown;
|
|
4421
|
+
restrictedUntil?: Date | null | undefined;
|
|
4422
|
+
night?: {
|
|
4423
|
+
startsAt: Date;
|
|
4424
|
+
endsAt: Date;
|
|
4425
|
+
} | null | undefined;
|
|
4426
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
4427
|
+
ordersMaxDelay?: number | null | undefined;
|
|
4428
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
4429
|
+
walletMaxDelay?: number | null | undefined;
|
|
4430
|
+
availableBalance?: number | null | undefined;
|
|
4431
|
+
pendingBalance?: number | null | undefined;
|
|
4432
|
+
profilePictureFileId?: string | null | undefined;
|
|
4433
|
+
profilePicture?: {
|
|
4434
|
+
path: string;
|
|
4435
|
+
id: string;
|
|
4436
|
+
createdAt: Date;
|
|
4437
|
+
userId: number;
|
|
4438
|
+
signedUrl: string;
|
|
4439
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4440
|
+
} | null | undefined;
|
|
4441
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
4442
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
4443
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
4444
|
+
} | null | undefined;
|
|
4445
|
+
orderStatus?: unknown;
|
|
4446
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
4447
|
+
isBoosted?: boolean | null | undefined;
|
|
4448
|
+
}[] | null | undefined;
|
|
4449
|
+
brandId?: number | null | undefined;
|
|
4450
|
+
estimatedPrice?: number | null | undefined;
|
|
4451
|
+
purchaseDate?: Date | null | undefined;
|
|
4452
|
+
sellingDate?: Date | null | undefined;
|
|
4380
4453
|
fields?: {
|
|
4381
4454
|
value: string;
|
|
4382
4455
|
itemId: number;
|
|
4383
4456
|
fieldId: number;
|
|
4384
4457
|
}[] | null | undefined;
|
|
4385
4458
|
files?: {
|
|
4386
|
-
itemId: number;
|
|
4387
4459
|
fileId: string;
|
|
4460
|
+
itemId: number;
|
|
4388
4461
|
file?: {
|
|
4389
4462
|
path: string;
|
|
4390
4463
|
id: string;
|
|
4391
|
-
userId: number;
|
|
4392
4464
|
createdAt: Date;
|
|
4465
|
+
userId: number;
|
|
4393
4466
|
signedUrl: string;
|
|
4394
4467
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4395
4468
|
} | null | undefined;
|
|
4396
4469
|
index?: number | null | undefined;
|
|
4397
4470
|
}[] | null | undefined;
|
|
4398
|
-
brandId?: number | null | undefined;
|
|
4399
|
-
sex?: string | null | undefined;
|
|
4400
4471
|
purchasePrice?: number | null | undefined;
|
|
4401
|
-
purchaseDate?: Date | null | undefined;
|
|
4402
4472
|
purchasePlaceId?: number | null | undefined;
|
|
4403
4473
|
purchased?: boolean | null | undefined;
|
|
4404
4474
|
sellingPrice?: number | null | undefined;
|
|
4405
|
-
sellingDate?: Date | null | undefined;
|
|
4406
4475
|
sellingPlaceId?: number | null | undefined;
|
|
4407
|
-
estimatedPrice?: number | null | undefined;
|
|
4408
|
-
fees?: {
|
|
4409
|
-
value: number;
|
|
4410
|
-
type: string;
|
|
4411
|
-
id: number;
|
|
4412
|
-
userId: number;
|
|
4413
|
-
name: string;
|
|
4414
|
-
createdAt: Date;
|
|
4415
|
-
updatedAt: Date;
|
|
4416
|
-
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
4417
|
-
startDate: Date;
|
|
4418
|
-
active: boolean;
|
|
4419
|
-
description?: string | null | undefined;
|
|
4420
|
-
itemId?: number | null | undefined;
|
|
4421
|
-
endDate?: Date | null | undefined;
|
|
4422
|
-
parentFeeId?: number | null | undefined;
|
|
4423
|
-
}[] | null | undefined;
|
|
4424
4476
|
feesSum?: number | null | undefined;
|
|
4425
4477
|
materialIds?: number[] | null | undefined;
|
|
4426
4478
|
enumValues?: {
|
|
@@ -4436,7 +4488,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4436
4488
|
createdAt: Date;
|
|
4437
4489
|
itemId: number;
|
|
4438
4490
|
type?: unknown;
|
|
4439
|
-
accountId?: string | null | undefined;
|
|
4440
4491
|
data?: {
|
|
4441
4492
|
type: "ACTION_CANCELED";
|
|
4442
4493
|
data: {
|
|
@@ -4502,23 +4553,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4502
4553
|
post: {
|
|
4503
4554
|
platformId: string;
|
|
4504
4555
|
post: {
|
|
4505
|
-
size?: string | null | undefined;
|
|
4506
4556
|
status?: string | null | undefined;
|
|
4507
4557
|
title?: string | null | undefined;
|
|
4508
4558
|
description?: string | null | undefined;
|
|
4559
|
+
brand?: string | null | undefined;
|
|
4560
|
+
statusId?: number | null | undefined;
|
|
4561
|
+
sizeId?: number | null | undefined;
|
|
4562
|
+
colorIds?: number[] | null | undefined;
|
|
4563
|
+
packageSizeId?: number | null | undefined;
|
|
4509
4564
|
price?: number | null | undefined;
|
|
4510
4565
|
currency?: string | null | undefined;
|
|
4511
|
-
brand?: string | null | undefined;
|
|
4512
4566
|
catalog?: string | null | undefined;
|
|
4513
4567
|
catalogId?: number | null | undefined;
|
|
4514
4568
|
colors?: string[] | null | undefined;
|
|
4515
|
-
colorIds?: number[] | null | undefined;
|
|
4516
4569
|
measurementLength?: number | null | undefined;
|
|
4517
4570
|
measurementWidth?: number | null | undefined;
|
|
4518
|
-
packageSizeId?: number | null | undefined;
|
|
4519
4571
|
photoUrls?: string[] | null | undefined;
|
|
4520
|
-
|
|
4521
|
-
statusId?: number | null | undefined;
|
|
4572
|
+
size?: string | null | undefined;
|
|
4522
4573
|
isDraft?: boolean | null | undefined;
|
|
4523
4574
|
isArchived?: boolean | null | undefined;
|
|
4524
4575
|
isUnisex?: boolean | null | undefined;
|
|
@@ -4561,8 +4612,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4561
4612
|
} | {
|
|
4562
4613
|
type: "LIFECYCLE_STARTED";
|
|
4563
4614
|
data: {
|
|
4564
|
-
accountId: string;
|
|
4565
4615
|
caseId: string;
|
|
4616
|
+
accountId: string;
|
|
4566
4617
|
isRepeat?: boolean | null | undefined;
|
|
4567
4618
|
};
|
|
4568
4619
|
} | {
|
|
@@ -4601,17 +4652,17 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4601
4652
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
4602
4653
|
} | null | undefined;
|
|
4603
4654
|
} | null | undefined;
|
|
4604
|
-
targetAccountId?: string | null | undefined;
|
|
4605
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
4606
4655
|
publishingDate?: Date | null | undefined;
|
|
4607
4656
|
isTransfer?: boolean | null | undefined;
|
|
4657
|
+
targetAccountId?: string | null | undefined;
|
|
4658
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
4608
4659
|
};
|
|
4609
4660
|
} | {
|
|
4610
4661
|
type: "REPUBLISHING_RETRY";
|
|
4611
4662
|
data: {
|
|
4663
|
+
maxAttempts: number;
|
|
4612
4664
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4613
4665
|
attemptNumber: number;
|
|
4614
|
-
maxAttempts: number;
|
|
4615
4666
|
previousHistoryId: string;
|
|
4616
4667
|
originalFailureDate: Date;
|
|
4617
4668
|
payload?: {
|
|
@@ -4653,9 +4704,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4653
4704
|
} | {
|
|
4654
4705
|
type: "SCHEDULED_RETRY";
|
|
4655
4706
|
data: {
|
|
4707
|
+
maxAttempts: number;
|
|
4656
4708
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4657
4709
|
attemptNumber: number;
|
|
4658
|
-
maxAttempts: number;
|
|
4659
4710
|
previousHistoryId: string;
|
|
4660
4711
|
originalFailureDate: Date;
|
|
4661
4712
|
fields?: {
|
|
@@ -4688,103 +4739,52 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4688
4739
|
targetDate?: Date | null | undefined;
|
|
4689
4740
|
};
|
|
4690
4741
|
} | null | undefined;
|
|
4742
|
+
accountId?: string | null | undefined;
|
|
4691
4743
|
targetDate?: Date | null | undefined;
|
|
4692
4744
|
requestId?: string | null | undefined;
|
|
4693
4745
|
targetHistoryId?: string | null | undefined;
|
|
4694
4746
|
} | null | undefined;
|
|
4695
|
-
platforms?: {
|
|
4696
|
-
id: string;
|
|
4697
|
-
accountId: string;
|
|
4698
|
-
createdAt: Date;
|
|
4699
|
-
itemId: number;
|
|
4700
|
-
platformId: string;
|
|
4701
|
-
platformUrl: string;
|
|
4702
|
-
platformPrice: number;
|
|
4703
|
-
updatedAt: Date;
|
|
4704
|
-
publishedAt: Date;
|
|
4705
|
-
status?: unknown;
|
|
4706
|
-
conversationId?: string | null | undefined;
|
|
4707
|
-
boostedAt?: Date | null | undefined;
|
|
4708
|
-
boostedUntil?: Date | null | undefined;
|
|
4709
|
-
viewsCount?: number | null | undefined;
|
|
4710
|
-
favoritesCount?: number | null | undefined;
|
|
4711
|
-
account?: {
|
|
4712
|
-
accountId: string;
|
|
4713
|
-
userId: number;
|
|
4714
|
-
name: string;
|
|
4715
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4716
|
-
status?: unknown;
|
|
4717
|
-
locale?: string | null | undefined;
|
|
4718
|
-
lockReason?: unknown;
|
|
4719
|
-
restrictedUntil?: Date | null | undefined;
|
|
4720
|
-
night?: {
|
|
4721
|
-
startsAt: Date;
|
|
4722
|
-
endsAt: Date;
|
|
4723
|
-
} | null | undefined;
|
|
4724
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
4725
|
-
ordersMaxDelay?: number | null | undefined;
|
|
4726
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
4727
|
-
walletMaxDelay?: number | null | undefined;
|
|
4728
|
-
availableBalance?: number | null | undefined;
|
|
4729
|
-
pendingBalance?: number | null | undefined;
|
|
4730
|
-
profilePictureFileId?: string | null | undefined;
|
|
4731
|
-
profilePicture?: {
|
|
4732
|
-
path: string;
|
|
4733
|
-
id: string;
|
|
4734
|
-
userId: number;
|
|
4735
|
-
createdAt: Date;
|
|
4736
|
-
signedUrl: string;
|
|
4737
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4738
|
-
} | null | undefined;
|
|
4739
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
4740
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
4741
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
4742
|
-
} | null | undefined;
|
|
4743
|
-
orderStatus?: unknown;
|
|
4744
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
4745
|
-
isBoosted?: boolean | null | undefined;
|
|
4746
|
-
}[] | null | undefined;
|
|
4747
4747
|
sourceInConversation?: unknown;
|
|
4748
4748
|
order?: {
|
|
4749
4749
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
4750
4750
|
labels?: {
|
|
4751
4751
|
id: string;
|
|
4752
|
-
orderId: string;
|
|
4753
4752
|
fileId: string;
|
|
4753
|
+
orderId: string;
|
|
4754
4754
|
nonCroppedFileId: string;
|
|
4755
4755
|
originalFileId: string;
|
|
4756
|
-
|
|
4756
|
+
originalFile?: {
|
|
4757
4757
|
path: string;
|
|
4758
4758
|
id: string;
|
|
4759
|
-
userId: number;
|
|
4760
4759
|
createdAt: Date;
|
|
4760
|
+
userId: number;
|
|
4761
4761
|
signedUrl: string;
|
|
4762
4762
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4763
4763
|
} | null | undefined;
|
|
4764
|
-
|
|
4764
|
+
carrier?: unknown;
|
|
4765
|
+
file?: {
|
|
4765
4766
|
path: string;
|
|
4766
4767
|
id: string;
|
|
4767
|
-
userId: number;
|
|
4768
4768
|
createdAt: Date;
|
|
4769
|
+
userId: number;
|
|
4769
4770
|
signedUrl: string;
|
|
4770
4771
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4771
4772
|
} | null | undefined;
|
|
4772
|
-
|
|
4773
|
+
nonCroppedFile?: {
|
|
4773
4774
|
path: string;
|
|
4774
4775
|
id: string;
|
|
4775
|
-
userId: number;
|
|
4776
4776
|
createdAt: Date;
|
|
4777
|
+
userId: number;
|
|
4777
4778
|
signedUrl: string;
|
|
4778
4779
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4779
4780
|
} | null | undefined;
|
|
4780
|
-
carrier?: unknown;
|
|
4781
4781
|
}[] | null | undefined;
|
|
4782
4782
|
invoices?: {
|
|
4783
4783
|
type: "SALE" | "PURCHASE";
|
|
4784
4784
|
status: string;
|
|
4785
4785
|
id: string;
|
|
4786
|
-
userId: number;
|
|
4787
4786
|
createdAt: Date;
|
|
4787
|
+
userId: number;
|
|
4788
4788
|
currency: string;
|
|
4789
4789
|
orderId: string;
|
|
4790
4790
|
updatedAt: Date;
|
|
@@ -4793,21 +4793,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4793
4793
|
businessProfileId: string;
|
|
4794
4794
|
issueDate: Date;
|
|
4795
4795
|
subtotal: number;
|
|
4796
|
-
vatAmount?: number | null | undefined;
|
|
4797
4796
|
fileId?: string | null | undefined;
|
|
4797
|
+
vatAmount?: number | null | undefined;
|
|
4798
4798
|
file?: {
|
|
4799
4799
|
path: string;
|
|
4800
4800
|
id: string;
|
|
4801
|
-
userId: number;
|
|
4802
4801
|
createdAt: Date;
|
|
4802
|
+
userId: number;
|
|
4803
4803
|
signedUrl: string;
|
|
4804
4804
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4805
4805
|
} | null | undefined;
|
|
4806
4806
|
vatRate?: number | null | undefined;
|
|
4807
4807
|
businessProfile?: {
|
|
4808
4808
|
id: string;
|
|
4809
|
-
userId: number;
|
|
4810
4809
|
createdAt: Date;
|
|
4810
|
+
userId: number;
|
|
4811
4811
|
updatedAt: Date;
|
|
4812
4812
|
businessName: string;
|
|
4813
4813
|
address: string;
|
|
@@ -4820,8 +4820,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4820
4820
|
logo?: {
|
|
4821
4821
|
path: string;
|
|
4822
4822
|
id: string;
|
|
4823
|
-
userId: number;
|
|
4824
4823
|
createdAt: Date;
|
|
4824
|
+
userId: number;
|
|
4825
4825
|
signedUrl: string;
|
|
4826
4826
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4827
4827
|
} | null | undefined;
|
|
@@ -4834,26 +4834,26 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4834
4834
|
firstName: string;
|
|
4835
4835
|
lastName: string;
|
|
4836
4836
|
phoneVerified: boolean;
|
|
4837
|
-
postalCode?: string | null | undefined;
|
|
4838
|
-
city?: string | null | undefined;
|
|
4839
|
-
country?: string | null | undefined;
|
|
4840
|
-
email?: string | null | undefined;
|
|
4841
|
-
addressLine1?: string | null | undefined;
|
|
4842
|
-
addressLine2?: string | null | undefined;
|
|
4843
4837
|
birthDate?: Date | null | undefined;
|
|
4838
|
+
email?: string | null | undefined;
|
|
4844
4839
|
idNumber?: string | null | undefined;
|
|
4845
4840
|
phone?: string | null | undefined;
|
|
4846
4841
|
iban?: string | null | undefined;
|
|
4847
4842
|
bic?: string | null | undefined;
|
|
4843
|
+
addressLine1?: string | null | undefined;
|
|
4844
|
+
addressLine2?: string | null | undefined;
|
|
4845
|
+
city?: string | null | undefined;
|
|
4846
|
+
postalCode?: string | null | undefined;
|
|
4847
|
+
country?: string | null | undefined;
|
|
4848
4848
|
} | null | undefined;
|
|
4849
4849
|
dueDate?: Date | null | undefined;
|
|
4850
4850
|
notes?: string | null | undefined;
|
|
4851
4851
|
lineItems?: {
|
|
4852
|
-
quantity: number;
|
|
4853
|
-
id: number;
|
|
4854
4852
|
description: string;
|
|
4853
|
+
id: number;
|
|
4855
4854
|
createdAt: Date;
|
|
4856
4855
|
invoiceId: string;
|
|
4856
|
+
quantity: number;
|
|
4857
4857
|
unitPrice: number;
|
|
4858
4858
|
total: number;
|
|
4859
4859
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -4865,29 +4865,45 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4865
4865
|
}>, "many">;
|
|
4866
4866
|
}, "strip", z.ZodTypeAny, {
|
|
4867
4867
|
items: {
|
|
4868
|
-
|
|
4869
|
-
|
|
4868
|
+
actions: {
|
|
4869
|
+
perAccount: Record<string, ("REPUBLISH" | "UNKNOWN" | "PUBLISH" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE" | "UPDATE_CANCEL" | "BOOST")[]>;
|
|
4870
|
+
};
|
|
4870
4871
|
name: string;
|
|
4872
|
+
id: number;
|
|
4871
4873
|
createdAt: Date;
|
|
4874
|
+
userId: number;
|
|
4872
4875
|
updatedAt: Date;
|
|
4873
4876
|
sold: boolean;
|
|
4874
|
-
|
|
4875
|
-
|
|
4876
|
-
|
|
4877
|
+
fees?: {
|
|
4878
|
+
value: number;
|
|
4879
|
+
type: string;
|
|
4880
|
+
name: string;
|
|
4881
|
+
id: number;
|
|
4882
|
+
createdAt: Date;
|
|
4883
|
+
userId: number;
|
|
4884
|
+
updatedAt: Date;
|
|
4885
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
4886
|
+
startDate: Date;
|
|
4887
|
+
active: boolean;
|
|
4888
|
+
description?: string | null | undefined;
|
|
4889
|
+
itemId?: number | null | undefined;
|
|
4890
|
+
endDate?: Date | null | undefined;
|
|
4891
|
+
parentFeeId?: number | null | undefined;
|
|
4892
|
+
}[] | null | undefined;
|
|
4877
4893
|
description?: string | null | undefined;
|
|
4878
4894
|
categoryId?: number | null | undefined;
|
|
4879
|
-
|
|
4895
|
+
sizeId?: number | null | undefined;
|
|
4880
4896
|
colorIds?: number[] | null | undefined;
|
|
4897
|
+
packageSizeId?: number | null | undefined;
|
|
4898
|
+
state?: number | null | undefined;
|
|
4881
4899
|
measurementLength?: number | null | undefined;
|
|
4882
4900
|
measurementWidth?: number | null | undefined;
|
|
4883
|
-
packageSizeId?: number | null | undefined;
|
|
4884
|
-
sizeId?: number | null | undefined;
|
|
4885
4901
|
labels?: {
|
|
4886
4902
|
itemId: number;
|
|
4887
4903
|
labelId: number;
|
|
4888
4904
|
label?: {
|
|
4889
|
-
id: number;
|
|
4890
4905
|
name: string;
|
|
4906
|
+
id: number;
|
|
4891
4907
|
createdAt: Date;
|
|
4892
4908
|
isUserLabel: boolean;
|
|
4893
4909
|
itemCount?: number | null | undefined;
|
|
@@ -4900,50 +4916,86 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4900
4916
|
fieldKey: string;
|
|
4901
4917
|
}[] | null | undefined;
|
|
4902
4918
|
sku?: string | null | undefined;
|
|
4919
|
+
sex?: string | null | undefined;
|
|
4920
|
+
platforms?: {
|
|
4921
|
+
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
4922
|
+
id: string;
|
|
4923
|
+
createdAt: Date;
|
|
4924
|
+
accountId: string;
|
|
4925
|
+
itemId: number;
|
|
4926
|
+
platformId: string;
|
|
4927
|
+
platformUrl: string;
|
|
4928
|
+
platformPrice: number;
|
|
4929
|
+
updatedAt: Date;
|
|
4930
|
+
publishedAt: Date;
|
|
4931
|
+
conversationId?: string | null | undefined;
|
|
4932
|
+
boostedAt?: Date | null | undefined;
|
|
4933
|
+
boostedUntil?: Date | null | undefined;
|
|
4934
|
+
viewsCount?: number | null | undefined;
|
|
4935
|
+
favoritesCount?: number | null | undefined;
|
|
4936
|
+
account?: {
|
|
4937
|
+
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
4938
|
+
name: string;
|
|
4939
|
+
userId: number;
|
|
4940
|
+
accountId: string;
|
|
4941
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4942
|
+
locale?: string | null | undefined;
|
|
4943
|
+
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
4944
|
+
restrictedUntil?: Date | null | undefined;
|
|
4945
|
+
night?: {
|
|
4946
|
+
startsAt: Date;
|
|
4947
|
+
endsAt: Date;
|
|
4948
|
+
} | null | undefined;
|
|
4949
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
4950
|
+
ordersMaxDelay?: number | null | undefined;
|
|
4951
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
4952
|
+
walletMaxDelay?: number | null | undefined;
|
|
4953
|
+
availableBalance?: number | null | undefined;
|
|
4954
|
+
pendingBalance?: number | null | undefined;
|
|
4955
|
+
profilePictureFileId?: string | null | undefined;
|
|
4956
|
+
profilePicture?: {
|
|
4957
|
+
path: string;
|
|
4958
|
+
id: string;
|
|
4959
|
+
createdAt: Date;
|
|
4960
|
+
userId: number;
|
|
4961
|
+
signedUrl: string;
|
|
4962
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4963
|
+
} | null | undefined;
|
|
4964
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
4965
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
4966
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
4967
|
+
} | null | undefined;
|
|
4968
|
+
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;
|
|
4969
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
4970
|
+
isBoosted?: boolean | null | undefined;
|
|
4971
|
+
}[] | null | undefined;
|
|
4972
|
+
brandId?: number | null | undefined;
|
|
4973
|
+
estimatedPrice?: number | null | undefined;
|
|
4974
|
+
purchaseDate?: Date | null | undefined;
|
|
4975
|
+
sellingDate?: Date | null | undefined;
|
|
4903
4976
|
fields?: {
|
|
4904
4977
|
value: string;
|
|
4905
4978
|
itemId: number;
|
|
4906
4979
|
fieldId: number;
|
|
4907
4980
|
}[] | null | undefined;
|
|
4908
4981
|
files?: {
|
|
4909
|
-
itemId: number;
|
|
4910
4982
|
fileId: string;
|
|
4983
|
+
itemId: number;
|
|
4911
4984
|
file?: {
|
|
4912
4985
|
path: string;
|
|
4913
4986
|
id: string;
|
|
4914
|
-
userId: number;
|
|
4915
4987
|
createdAt: Date;
|
|
4988
|
+
userId: number;
|
|
4916
4989
|
signedUrl: string;
|
|
4917
4990
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4918
4991
|
} | null | undefined;
|
|
4919
4992
|
index?: number | null | undefined;
|
|
4920
4993
|
}[] | null | undefined;
|
|
4921
|
-
brandId?: number | null | undefined;
|
|
4922
|
-
sex?: string | null | undefined;
|
|
4923
4994
|
purchasePrice?: number | null | undefined;
|
|
4924
|
-
purchaseDate?: Date | null | undefined;
|
|
4925
4995
|
purchasePlaceId?: number | null | undefined;
|
|
4926
4996
|
purchased?: boolean | null | undefined;
|
|
4927
4997
|
sellingPrice?: number | null | undefined;
|
|
4928
|
-
sellingDate?: Date | null | undefined;
|
|
4929
4998
|
sellingPlaceId?: number | null | undefined;
|
|
4930
|
-
estimatedPrice?: number | null | undefined;
|
|
4931
|
-
fees?: {
|
|
4932
|
-
value: number;
|
|
4933
|
-
type: string;
|
|
4934
|
-
id: number;
|
|
4935
|
-
userId: number;
|
|
4936
|
-
name: string;
|
|
4937
|
-
createdAt: Date;
|
|
4938
|
-
updatedAt: Date;
|
|
4939
|
-
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
4940
|
-
startDate: Date;
|
|
4941
|
-
active: boolean;
|
|
4942
|
-
description?: string | null | undefined;
|
|
4943
|
-
itemId?: number | null | undefined;
|
|
4944
|
-
endDate?: Date | null | undefined;
|
|
4945
|
-
parentFeeId?: number | null | undefined;
|
|
4946
|
-
}[] | null | undefined;
|
|
4947
4999
|
feesSum?: number | null | undefined;
|
|
4948
5000
|
materialIds?: number[] | null | undefined;
|
|
4949
5001
|
enumValues?: {
|
|
@@ -4959,7 +5011,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4959
5011
|
id: string;
|
|
4960
5012
|
createdAt: Date;
|
|
4961
5013
|
itemId: number;
|
|
4962
|
-
accountId?: string | null | undefined;
|
|
4963
5014
|
data?: {
|
|
4964
5015
|
type: "ACTION_CANCELED";
|
|
4965
5016
|
data: {
|
|
@@ -4995,7 +5046,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4995
5046
|
accountId?: string | null | undefined;
|
|
4996
5047
|
reason?: string | null | undefined;
|
|
4997
5048
|
fields?: {
|
|
4998
|
-
field: "
|
|
5049
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
4999
5050
|
autoFixable: boolean;
|
|
5000
5051
|
error?: string | null | undefined;
|
|
5001
5052
|
}[] | null | undefined;
|
|
@@ -5025,23 +5076,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5025
5076
|
post: {
|
|
5026
5077
|
platformId: string;
|
|
5027
5078
|
post: {
|
|
5028
|
-
size?: string | null | undefined;
|
|
5029
5079
|
status?: string | null | undefined;
|
|
5030
5080
|
title?: string | null | undefined;
|
|
5031
5081
|
description?: string | null | undefined;
|
|
5082
|
+
brand?: string | null | undefined;
|
|
5083
|
+
statusId?: number | null | undefined;
|
|
5084
|
+
sizeId?: number | null | undefined;
|
|
5085
|
+
colorIds?: number[] | null | undefined;
|
|
5086
|
+
packageSizeId?: number | null | undefined;
|
|
5032
5087
|
price?: number | null | undefined;
|
|
5033
5088
|
currency?: string | null | undefined;
|
|
5034
|
-
brand?: string | null | undefined;
|
|
5035
5089
|
catalog?: string | null | undefined;
|
|
5036
5090
|
catalogId?: number | null | undefined;
|
|
5037
5091
|
colors?: string[] | null | undefined;
|
|
5038
|
-
colorIds?: number[] | null | undefined;
|
|
5039
5092
|
measurementLength?: number | null | undefined;
|
|
5040
5093
|
measurementWidth?: number | null | undefined;
|
|
5041
|
-
packageSizeId?: number | null | undefined;
|
|
5042
5094
|
photoUrls?: string[] | null | undefined;
|
|
5043
|
-
|
|
5044
|
-
statusId?: number | null | undefined;
|
|
5095
|
+
size?: string | null | undefined;
|
|
5045
5096
|
isDraft?: boolean | null | undefined;
|
|
5046
5097
|
isArchived?: boolean | null | undefined;
|
|
5047
5098
|
isUnisex?: boolean | null | undefined;
|
|
@@ -5084,8 +5135,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5084
5135
|
} | {
|
|
5085
5136
|
type: "LIFECYCLE_STARTED";
|
|
5086
5137
|
data: {
|
|
5087
|
-
accountId: string;
|
|
5088
5138
|
caseId: string;
|
|
5139
|
+
accountId: string;
|
|
5089
5140
|
isRepeat?: boolean | null | undefined;
|
|
5090
5141
|
};
|
|
5091
5142
|
} | {
|
|
@@ -5124,17 +5175,17 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5124
5175
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
5125
5176
|
} | null | undefined;
|
|
5126
5177
|
} | null | undefined;
|
|
5127
|
-
targetAccountId?: string | null | undefined;
|
|
5128
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
5129
5178
|
publishingDate?: Date | null | undefined;
|
|
5130
5179
|
isTransfer?: boolean | null | undefined;
|
|
5180
|
+
targetAccountId?: string | null | undefined;
|
|
5181
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
5131
5182
|
};
|
|
5132
5183
|
} | {
|
|
5133
5184
|
type: "REPUBLISHING_RETRY";
|
|
5134
5185
|
data: {
|
|
5186
|
+
maxAttempts: number;
|
|
5135
5187
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5136
5188
|
attemptNumber: number;
|
|
5137
|
-
maxAttempts: number;
|
|
5138
5189
|
previousHistoryId: string;
|
|
5139
5190
|
originalFailureDate: Date;
|
|
5140
5191
|
payload?: {
|
|
@@ -5162,7 +5213,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5162
5213
|
} | null | undefined;
|
|
5163
5214
|
} | null | undefined;
|
|
5164
5215
|
fields?: {
|
|
5165
|
-
field: "
|
|
5216
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
5166
5217
|
autoFixable: boolean;
|
|
5167
5218
|
error?: string | null | undefined;
|
|
5168
5219
|
}[] | null | undefined;
|
|
@@ -5176,13 +5227,13 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5176
5227
|
} | {
|
|
5177
5228
|
type: "SCHEDULED_RETRY";
|
|
5178
5229
|
data: {
|
|
5230
|
+
maxAttempts: number;
|
|
5179
5231
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5180
5232
|
attemptNumber: number;
|
|
5181
|
-
maxAttempts: number;
|
|
5182
5233
|
previousHistoryId: string;
|
|
5183
5234
|
originalFailureDate: Date;
|
|
5184
5235
|
fields?: {
|
|
5185
|
-
field: "
|
|
5236
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
5186
5237
|
autoFixable: boolean;
|
|
5187
5238
|
error?: string | null | undefined;
|
|
5188
5239
|
}[] | null | undefined;
|
|
@@ -5211,103 +5262,52 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5211
5262
|
targetDate?: Date | null | undefined;
|
|
5212
5263
|
};
|
|
5213
5264
|
} | null | undefined;
|
|
5265
|
+
accountId?: string | null | undefined;
|
|
5214
5266
|
targetDate?: Date | null | undefined;
|
|
5215
5267
|
requestId?: string | null | undefined;
|
|
5216
5268
|
targetHistoryId?: string | null | undefined;
|
|
5217
5269
|
} | null | undefined;
|
|
5218
|
-
platforms?: {
|
|
5219
|
-
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
5220
|
-
id: string;
|
|
5221
|
-
accountId: string;
|
|
5222
|
-
createdAt: Date;
|
|
5223
|
-
itemId: number;
|
|
5224
|
-
platformId: string;
|
|
5225
|
-
platformUrl: string;
|
|
5226
|
-
platformPrice: number;
|
|
5227
|
-
updatedAt: Date;
|
|
5228
|
-
publishedAt: Date;
|
|
5229
|
-
conversationId?: string | null | undefined;
|
|
5230
|
-
boostedAt?: Date | null | undefined;
|
|
5231
|
-
boostedUntil?: Date | null | undefined;
|
|
5232
|
-
viewsCount?: number | null | undefined;
|
|
5233
|
-
favoritesCount?: number | null | undefined;
|
|
5234
|
-
account?: {
|
|
5235
|
-
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
5236
|
-
accountId: string;
|
|
5237
|
-
userId: number;
|
|
5238
|
-
name: string;
|
|
5239
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5240
|
-
locale?: string | null | undefined;
|
|
5241
|
-
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
5242
|
-
restrictedUntil?: Date | null | undefined;
|
|
5243
|
-
night?: {
|
|
5244
|
-
startsAt: Date;
|
|
5245
|
-
endsAt: Date;
|
|
5246
|
-
} | null | undefined;
|
|
5247
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
5248
|
-
ordersMaxDelay?: number | null | undefined;
|
|
5249
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
5250
|
-
walletMaxDelay?: number | null | undefined;
|
|
5251
|
-
availableBalance?: number | null | undefined;
|
|
5252
|
-
pendingBalance?: number | null | undefined;
|
|
5253
|
-
profilePictureFileId?: string | null | undefined;
|
|
5254
|
-
profilePicture?: {
|
|
5255
|
-
path: string;
|
|
5256
|
-
id: string;
|
|
5257
|
-
userId: number;
|
|
5258
|
-
createdAt: Date;
|
|
5259
|
-
signedUrl: string;
|
|
5260
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5261
|
-
} | null | undefined;
|
|
5262
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
5263
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
5264
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
5265
|
-
} | null | undefined;
|
|
5266
|
-
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;
|
|
5267
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
5268
|
-
isBoosted?: boolean | null | undefined;
|
|
5269
|
-
}[] | null | undefined;
|
|
5270
5270
|
sourceInConversation?: "UNKNOWN" | "DELETED" | "ORDER" | "TRANSACTION" | null | undefined;
|
|
5271
5271
|
order?: {
|
|
5272
5272
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
5273
5273
|
labels?: {
|
|
5274
5274
|
id: string;
|
|
5275
|
-
orderId: string;
|
|
5276
5275
|
fileId: string;
|
|
5276
|
+
orderId: string;
|
|
5277
5277
|
nonCroppedFileId: string;
|
|
5278
5278
|
originalFileId: string;
|
|
5279
|
-
|
|
5279
|
+
originalFile?: {
|
|
5280
5280
|
path: string;
|
|
5281
5281
|
id: string;
|
|
5282
|
-
userId: number;
|
|
5283
5282
|
createdAt: Date;
|
|
5283
|
+
userId: number;
|
|
5284
5284
|
signedUrl: string;
|
|
5285
5285
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5286
5286
|
} | null | undefined;
|
|
5287
|
-
|
|
5287
|
+
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;
|
|
5288
|
+
file?: {
|
|
5288
5289
|
path: string;
|
|
5289
5290
|
id: string;
|
|
5290
|
-
userId: number;
|
|
5291
5291
|
createdAt: Date;
|
|
5292
|
+
userId: number;
|
|
5292
5293
|
signedUrl: string;
|
|
5293
5294
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5294
5295
|
} | null | undefined;
|
|
5295
|
-
|
|
5296
|
+
nonCroppedFile?: {
|
|
5296
5297
|
path: string;
|
|
5297
5298
|
id: string;
|
|
5298
|
-
userId: number;
|
|
5299
5299
|
createdAt: Date;
|
|
5300
|
+
userId: number;
|
|
5300
5301
|
signedUrl: string;
|
|
5301
5302
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5302
5303
|
} | null | undefined;
|
|
5303
|
-
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;
|
|
5304
5304
|
}[] | null | undefined;
|
|
5305
5305
|
invoices?: {
|
|
5306
5306
|
type: "SALE" | "PURCHASE";
|
|
5307
5307
|
status: string;
|
|
5308
5308
|
id: string;
|
|
5309
|
-
userId: number;
|
|
5310
5309
|
createdAt: Date;
|
|
5310
|
+
userId: number;
|
|
5311
5311
|
currency: string;
|
|
5312
5312
|
orderId: string;
|
|
5313
5313
|
updatedAt: Date;
|
|
@@ -5316,21 +5316,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5316
5316
|
businessProfileId: string;
|
|
5317
5317
|
issueDate: Date;
|
|
5318
5318
|
subtotal: number;
|
|
5319
|
-
vatAmount?: number | null | undefined;
|
|
5320
5319
|
fileId?: string | null | undefined;
|
|
5320
|
+
vatAmount?: number | null | undefined;
|
|
5321
5321
|
file?: {
|
|
5322
5322
|
path: string;
|
|
5323
5323
|
id: string;
|
|
5324
|
-
userId: number;
|
|
5325
5324
|
createdAt: Date;
|
|
5325
|
+
userId: number;
|
|
5326
5326
|
signedUrl: string;
|
|
5327
5327
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5328
5328
|
} | null | undefined;
|
|
5329
5329
|
vatRate?: number | null | undefined;
|
|
5330
5330
|
businessProfile?: {
|
|
5331
5331
|
id: string;
|
|
5332
|
-
userId: number;
|
|
5333
5332
|
createdAt: Date;
|
|
5333
|
+
userId: number;
|
|
5334
5334
|
updatedAt: Date;
|
|
5335
5335
|
businessName: string;
|
|
5336
5336
|
address: string;
|
|
@@ -5343,8 +5343,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5343
5343
|
logo?: {
|
|
5344
5344
|
path: string;
|
|
5345
5345
|
id: string;
|
|
5346
|
-
userId: number;
|
|
5347
5346
|
createdAt: Date;
|
|
5347
|
+
userId: number;
|
|
5348
5348
|
signedUrl: string;
|
|
5349
5349
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5350
5350
|
} | null | undefined;
|
|
@@ -5357,26 +5357,26 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5357
5357
|
firstName: string;
|
|
5358
5358
|
lastName: string;
|
|
5359
5359
|
phoneVerified: boolean;
|
|
5360
|
-
postalCode?: string | null | undefined;
|
|
5361
|
-
city?: string | null | undefined;
|
|
5362
|
-
country?: string | null | undefined;
|
|
5363
|
-
email?: string | null | undefined;
|
|
5364
|
-
addressLine1?: string | null | undefined;
|
|
5365
|
-
addressLine2?: string | null | undefined;
|
|
5366
5360
|
birthDate?: Date | null | undefined;
|
|
5361
|
+
email?: string | null | undefined;
|
|
5367
5362
|
idNumber?: string | null | undefined;
|
|
5368
5363
|
phone?: string | null | undefined;
|
|
5369
5364
|
iban?: string | null | undefined;
|
|
5370
5365
|
bic?: string | null | undefined;
|
|
5366
|
+
addressLine1?: string | null | undefined;
|
|
5367
|
+
addressLine2?: string | null | undefined;
|
|
5368
|
+
city?: string | null | undefined;
|
|
5369
|
+
postalCode?: string | null | undefined;
|
|
5370
|
+
country?: string | null | undefined;
|
|
5371
5371
|
} | null | undefined;
|
|
5372
5372
|
dueDate?: Date | null | undefined;
|
|
5373
5373
|
notes?: string | null | undefined;
|
|
5374
5374
|
lineItems?: {
|
|
5375
|
-
quantity: number;
|
|
5376
|
-
id: number;
|
|
5377
5375
|
description: string;
|
|
5376
|
+
id: number;
|
|
5378
5377
|
createdAt: Date;
|
|
5379
5378
|
invoiceId: string;
|
|
5379
|
+
quantity: number;
|
|
5380
5380
|
unitPrice: number;
|
|
5381
5381
|
total: number;
|
|
5382
5382
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -5390,14 +5390,16 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5390
5390
|
id: string;
|
|
5391
5391
|
accountId: string;
|
|
5392
5392
|
platformTransactionId: string;
|
|
5393
|
+
conversationId?: string | null | undefined;
|
|
5394
|
+
shipmentId?: string | null | undefined;
|
|
5393
5395
|
items?: {
|
|
5394
5396
|
transactionId: string;
|
|
5395
5397
|
itemOnPlatformId: string;
|
|
5396
5398
|
itemOnPlatform?: {
|
|
5397
5399
|
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
5398
5400
|
id: string;
|
|
5399
|
-
accountId: string;
|
|
5400
5401
|
createdAt: Date;
|
|
5402
|
+
accountId: string;
|
|
5401
5403
|
itemId: number;
|
|
5402
5404
|
platformId: string;
|
|
5403
5405
|
platformUrl: string;
|
|
@@ -5411,9 +5413,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5411
5413
|
favoritesCount?: number | null | undefined;
|
|
5412
5414
|
account?: {
|
|
5413
5415
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
5414
|
-
accountId: string;
|
|
5415
|
-
userId: number;
|
|
5416
5416
|
name: string;
|
|
5417
|
+
userId: number;
|
|
5418
|
+
accountId: string;
|
|
5417
5419
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5418
5420
|
locale?: string | null | undefined;
|
|
5419
5421
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -5432,8 +5434,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5432
5434
|
profilePicture?: {
|
|
5433
5435
|
path: string;
|
|
5434
5436
|
id: string;
|
|
5435
|
-
userId: number;
|
|
5436
5437
|
createdAt: Date;
|
|
5438
|
+
userId: number;
|
|
5437
5439
|
signedUrl: string;
|
|
5438
5440
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5439
5441
|
} | null | undefined;
|
|
@@ -5446,36 +5448,50 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5446
5448
|
isBoosted?: boolean | null | undefined;
|
|
5447
5449
|
} | null | undefined;
|
|
5448
5450
|
}[] | null | undefined;
|
|
5449
|
-
conversationId?: string | null | undefined;
|
|
5450
|
-
shipmentId?: string | null | undefined;
|
|
5451
5451
|
buyerPlatformId?: string | null | undefined;
|
|
5452
5452
|
sellerPlatformId?: string | null | undefined;
|
|
5453
5453
|
};
|
|
5454
5454
|
}, {
|
|
5455
5455
|
items: {
|
|
5456
|
-
|
|
5457
|
-
|
|
5456
|
+
actions: {
|
|
5457
|
+
perAccount: Record<string, unknown[]>;
|
|
5458
|
+
};
|
|
5458
5459
|
name: string;
|
|
5460
|
+
id: number;
|
|
5459
5461
|
createdAt: Date;
|
|
5462
|
+
userId: number;
|
|
5460
5463
|
updatedAt: Date;
|
|
5461
5464
|
sold: boolean;
|
|
5462
|
-
|
|
5463
|
-
|
|
5464
|
-
|
|
5465
|
+
fees?: {
|
|
5466
|
+
value: number;
|
|
5467
|
+
type: string;
|
|
5468
|
+
name: string;
|
|
5469
|
+
id: number;
|
|
5470
|
+
createdAt: Date;
|
|
5471
|
+
userId: number;
|
|
5472
|
+
updatedAt: Date;
|
|
5473
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
5474
|
+
startDate: Date;
|
|
5475
|
+
active: boolean;
|
|
5476
|
+
description?: string | null | undefined;
|
|
5477
|
+
itemId?: number | null | undefined;
|
|
5478
|
+
endDate?: Date | null | undefined;
|
|
5479
|
+
parentFeeId?: number | null | undefined;
|
|
5480
|
+
}[] | null | undefined;
|
|
5465
5481
|
description?: string | null | undefined;
|
|
5466
5482
|
categoryId?: number | null | undefined;
|
|
5467
|
-
|
|
5483
|
+
sizeId?: number | null | undefined;
|
|
5468
5484
|
colorIds?: number[] | null | undefined;
|
|
5485
|
+
packageSizeId?: number | null | undefined;
|
|
5486
|
+
state?: number | null | undefined;
|
|
5469
5487
|
measurementLength?: number | null | undefined;
|
|
5470
5488
|
measurementWidth?: number | null | undefined;
|
|
5471
|
-
packageSizeId?: number | null | undefined;
|
|
5472
|
-
sizeId?: number | null | undefined;
|
|
5473
5489
|
labels?: {
|
|
5474
5490
|
itemId: number;
|
|
5475
5491
|
labelId: number;
|
|
5476
5492
|
label?: {
|
|
5477
|
-
id: number;
|
|
5478
5493
|
name: string;
|
|
5494
|
+
id: number;
|
|
5479
5495
|
createdAt: Date;
|
|
5480
5496
|
isUserLabel: boolean;
|
|
5481
5497
|
itemCount?: number | null | undefined;
|
|
@@ -5488,50 +5504,86 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5488
5504
|
fieldKey: string;
|
|
5489
5505
|
}[] | null | undefined;
|
|
5490
5506
|
sku?: string | null | undefined;
|
|
5507
|
+
sex?: string | null | undefined;
|
|
5508
|
+
platforms?: {
|
|
5509
|
+
id: string;
|
|
5510
|
+
createdAt: Date;
|
|
5511
|
+
accountId: string;
|
|
5512
|
+
itemId: number;
|
|
5513
|
+
platformId: string;
|
|
5514
|
+
platformUrl: string;
|
|
5515
|
+
platformPrice: number;
|
|
5516
|
+
updatedAt: Date;
|
|
5517
|
+
publishedAt: Date;
|
|
5518
|
+
status?: unknown;
|
|
5519
|
+
conversationId?: string | null | undefined;
|
|
5520
|
+
boostedAt?: Date | null | undefined;
|
|
5521
|
+
boostedUntil?: Date | null | undefined;
|
|
5522
|
+
viewsCount?: number | null | undefined;
|
|
5523
|
+
favoritesCount?: number | null | undefined;
|
|
5524
|
+
account?: {
|
|
5525
|
+
name: string;
|
|
5526
|
+
userId: number;
|
|
5527
|
+
accountId: string;
|
|
5528
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5529
|
+
status?: unknown;
|
|
5530
|
+
locale?: string | null | undefined;
|
|
5531
|
+
lockReason?: unknown;
|
|
5532
|
+
restrictedUntil?: Date | null | undefined;
|
|
5533
|
+
night?: {
|
|
5534
|
+
startsAt: Date;
|
|
5535
|
+
endsAt: Date;
|
|
5536
|
+
} | null | undefined;
|
|
5537
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
5538
|
+
ordersMaxDelay?: number | null | undefined;
|
|
5539
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
5540
|
+
walletMaxDelay?: number | null | undefined;
|
|
5541
|
+
availableBalance?: number | null | undefined;
|
|
5542
|
+
pendingBalance?: number | null | undefined;
|
|
5543
|
+
profilePictureFileId?: string | null | undefined;
|
|
5544
|
+
profilePicture?: {
|
|
5545
|
+
path: string;
|
|
5546
|
+
id: string;
|
|
5547
|
+
createdAt: Date;
|
|
5548
|
+
userId: number;
|
|
5549
|
+
signedUrl: string;
|
|
5550
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5551
|
+
} | null | undefined;
|
|
5552
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
5553
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
5554
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
5555
|
+
} | null | undefined;
|
|
5556
|
+
orderStatus?: unknown;
|
|
5557
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
5558
|
+
isBoosted?: boolean | null | undefined;
|
|
5559
|
+
}[] | null | undefined;
|
|
5560
|
+
brandId?: number | null | undefined;
|
|
5561
|
+
estimatedPrice?: number | null | undefined;
|
|
5562
|
+
purchaseDate?: Date | null | undefined;
|
|
5563
|
+
sellingDate?: Date | null | undefined;
|
|
5491
5564
|
fields?: {
|
|
5492
5565
|
value: string;
|
|
5493
5566
|
itemId: number;
|
|
5494
5567
|
fieldId: number;
|
|
5495
5568
|
}[] | null | undefined;
|
|
5496
5569
|
files?: {
|
|
5497
|
-
itemId: number;
|
|
5498
5570
|
fileId: string;
|
|
5571
|
+
itemId: number;
|
|
5499
5572
|
file?: {
|
|
5500
5573
|
path: string;
|
|
5501
5574
|
id: string;
|
|
5502
|
-
userId: number;
|
|
5503
5575
|
createdAt: Date;
|
|
5576
|
+
userId: number;
|
|
5504
5577
|
signedUrl: string;
|
|
5505
5578
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5506
5579
|
} | null | undefined;
|
|
5507
5580
|
index?: number | null | undefined;
|
|
5508
5581
|
}[] | null | undefined;
|
|
5509
|
-
brandId?: number | null | undefined;
|
|
5510
|
-
sex?: string | null | undefined;
|
|
5511
5582
|
purchasePrice?: number | null | undefined;
|
|
5512
|
-
purchaseDate?: Date | null | undefined;
|
|
5513
5583
|
purchasePlaceId?: number | null | undefined;
|
|
5514
5584
|
purchased?: boolean | null | undefined;
|
|
5515
5585
|
sellingPrice?: number | null | undefined;
|
|
5516
|
-
sellingDate?: Date | null | undefined;
|
|
5517
5586
|
sellingPlaceId?: number | null | undefined;
|
|
5518
|
-
estimatedPrice?: number | null | undefined;
|
|
5519
|
-
fees?: {
|
|
5520
|
-
value: number;
|
|
5521
|
-
type: string;
|
|
5522
|
-
id: number;
|
|
5523
|
-
userId: number;
|
|
5524
|
-
name: string;
|
|
5525
|
-
createdAt: Date;
|
|
5526
|
-
updatedAt: Date;
|
|
5527
|
-
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
5528
|
-
startDate: Date;
|
|
5529
|
-
active: boolean;
|
|
5530
|
-
description?: string | null | undefined;
|
|
5531
|
-
itemId?: number | null | undefined;
|
|
5532
|
-
endDate?: Date | null | undefined;
|
|
5533
|
-
parentFeeId?: number | null | undefined;
|
|
5534
|
-
}[] | null | undefined;
|
|
5535
5587
|
feesSum?: number | null | undefined;
|
|
5536
5588
|
materialIds?: number[] | null | undefined;
|
|
5537
5589
|
enumValues?: {
|
|
@@ -5547,7 +5599,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5547
5599
|
createdAt: Date;
|
|
5548
5600
|
itemId: number;
|
|
5549
5601
|
type?: unknown;
|
|
5550
|
-
accountId?: string | null | undefined;
|
|
5551
5602
|
data?: {
|
|
5552
5603
|
type: "ACTION_CANCELED";
|
|
5553
5604
|
data: {
|
|
@@ -5613,23 +5664,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5613
5664
|
post: {
|
|
5614
5665
|
platformId: string;
|
|
5615
5666
|
post: {
|
|
5616
|
-
size?: string | null | undefined;
|
|
5617
5667
|
status?: string | null | undefined;
|
|
5618
5668
|
title?: string | null | undefined;
|
|
5619
5669
|
description?: string | null | undefined;
|
|
5670
|
+
brand?: string | null | undefined;
|
|
5671
|
+
statusId?: number | null | undefined;
|
|
5672
|
+
sizeId?: number | null | undefined;
|
|
5673
|
+
colorIds?: number[] | null | undefined;
|
|
5674
|
+
packageSizeId?: number | null | undefined;
|
|
5620
5675
|
price?: number | null | undefined;
|
|
5621
5676
|
currency?: string | null | undefined;
|
|
5622
|
-
brand?: string | null | undefined;
|
|
5623
5677
|
catalog?: string | null | undefined;
|
|
5624
5678
|
catalogId?: number | null | undefined;
|
|
5625
5679
|
colors?: string[] | null | undefined;
|
|
5626
|
-
colorIds?: number[] | null | undefined;
|
|
5627
5680
|
measurementLength?: number | null | undefined;
|
|
5628
5681
|
measurementWidth?: number | null | undefined;
|
|
5629
|
-
packageSizeId?: number | null | undefined;
|
|
5630
5682
|
photoUrls?: string[] | null | undefined;
|
|
5631
|
-
|
|
5632
|
-
statusId?: number | null | undefined;
|
|
5683
|
+
size?: string | null | undefined;
|
|
5633
5684
|
isDraft?: boolean | null | undefined;
|
|
5634
5685
|
isArchived?: boolean | null | undefined;
|
|
5635
5686
|
isUnisex?: boolean | null | undefined;
|
|
@@ -5672,8 +5723,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5672
5723
|
} | {
|
|
5673
5724
|
type: "LIFECYCLE_STARTED";
|
|
5674
5725
|
data: {
|
|
5675
|
-
accountId: string;
|
|
5676
5726
|
caseId: string;
|
|
5727
|
+
accountId: string;
|
|
5677
5728
|
isRepeat?: boolean | null | undefined;
|
|
5678
5729
|
};
|
|
5679
5730
|
} | {
|
|
@@ -5712,17 +5763,17 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5712
5763
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
5713
5764
|
} | null | undefined;
|
|
5714
5765
|
} | null | undefined;
|
|
5715
|
-
targetAccountId?: string | null | undefined;
|
|
5716
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
5717
5766
|
publishingDate?: Date | null | undefined;
|
|
5718
5767
|
isTransfer?: boolean | null | undefined;
|
|
5768
|
+
targetAccountId?: string | null | undefined;
|
|
5769
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
5719
5770
|
};
|
|
5720
5771
|
} | {
|
|
5721
5772
|
type: "REPUBLISHING_RETRY";
|
|
5722
5773
|
data: {
|
|
5774
|
+
maxAttempts: number;
|
|
5723
5775
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5724
5776
|
attemptNumber: number;
|
|
5725
|
-
maxAttempts: number;
|
|
5726
5777
|
previousHistoryId: string;
|
|
5727
5778
|
originalFailureDate: Date;
|
|
5728
5779
|
payload?: {
|
|
@@ -5764,9 +5815,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5764
5815
|
} | {
|
|
5765
5816
|
type: "SCHEDULED_RETRY";
|
|
5766
5817
|
data: {
|
|
5818
|
+
maxAttempts: number;
|
|
5767
5819
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5768
5820
|
attemptNumber: number;
|
|
5769
|
-
maxAttempts: number;
|
|
5770
5821
|
previousHistoryId: string;
|
|
5771
5822
|
originalFailureDate: Date;
|
|
5772
5823
|
fields?: {
|
|
@@ -5799,103 +5850,52 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5799
5850
|
targetDate?: Date | null | undefined;
|
|
5800
5851
|
};
|
|
5801
5852
|
} | null | undefined;
|
|
5853
|
+
accountId?: string | null | undefined;
|
|
5802
5854
|
targetDate?: Date | null | undefined;
|
|
5803
5855
|
requestId?: string | null | undefined;
|
|
5804
5856
|
targetHistoryId?: string | null | undefined;
|
|
5805
5857
|
} | null | undefined;
|
|
5806
|
-
platforms?: {
|
|
5807
|
-
id: string;
|
|
5808
|
-
accountId: string;
|
|
5809
|
-
createdAt: Date;
|
|
5810
|
-
itemId: number;
|
|
5811
|
-
platformId: string;
|
|
5812
|
-
platformUrl: string;
|
|
5813
|
-
platformPrice: number;
|
|
5814
|
-
updatedAt: Date;
|
|
5815
|
-
publishedAt: Date;
|
|
5816
|
-
status?: unknown;
|
|
5817
|
-
conversationId?: string | null | undefined;
|
|
5818
|
-
boostedAt?: Date | null | undefined;
|
|
5819
|
-
boostedUntil?: Date | null | undefined;
|
|
5820
|
-
viewsCount?: number | null | undefined;
|
|
5821
|
-
favoritesCount?: number | null | undefined;
|
|
5822
|
-
account?: {
|
|
5823
|
-
accountId: string;
|
|
5824
|
-
userId: number;
|
|
5825
|
-
name: string;
|
|
5826
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5827
|
-
status?: unknown;
|
|
5828
|
-
locale?: string | null | undefined;
|
|
5829
|
-
lockReason?: unknown;
|
|
5830
|
-
restrictedUntil?: Date | null | undefined;
|
|
5831
|
-
night?: {
|
|
5832
|
-
startsAt: Date;
|
|
5833
|
-
endsAt: Date;
|
|
5834
|
-
} | null | undefined;
|
|
5835
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
5836
|
-
ordersMaxDelay?: number | null | undefined;
|
|
5837
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
5838
|
-
walletMaxDelay?: number | null | undefined;
|
|
5839
|
-
availableBalance?: number | null | undefined;
|
|
5840
|
-
pendingBalance?: number | null | undefined;
|
|
5841
|
-
profilePictureFileId?: string | null | undefined;
|
|
5842
|
-
profilePicture?: {
|
|
5843
|
-
path: string;
|
|
5844
|
-
id: string;
|
|
5845
|
-
userId: number;
|
|
5846
|
-
createdAt: Date;
|
|
5847
|
-
signedUrl: string;
|
|
5848
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5849
|
-
} | null | undefined;
|
|
5850
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
5851
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
5852
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
5853
|
-
} | null | undefined;
|
|
5854
|
-
orderStatus?: unknown;
|
|
5855
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
5856
|
-
isBoosted?: boolean | null | undefined;
|
|
5857
|
-
}[] | null | undefined;
|
|
5858
5858
|
sourceInConversation?: unknown;
|
|
5859
5859
|
order?: {
|
|
5860
5860
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
5861
5861
|
labels?: {
|
|
5862
5862
|
id: string;
|
|
5863
|
-
orderId: string;
|
|
5864
5863
|
fileId: string;
|
|
5864
|
+
orderId: string;
|
|
5865
5865
|
nonCroppedFileId: string;
|
|
5866
5866
|
originalFileId: string;
|
|
5867
|
-
|
|
5867
|
+
originalFile?: {
|
|
5868
5868
|
path: string;
|
|
5869
5869
|
id: string;
|
|
5870
|
-
userId: number;
|
|
5871
5870
|
createdAt: Date;
|
|
5871
|
+
userId: number;
|
|
5872
5872
|
signedUrl: string;
|
|
5873
5873
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5874
5874
|
} | null | undefined;
|
|
5875
|
-
|
|
5875
|
+
carrier?: unknown;
|
|
5876
|
+
file?: {
|
|
5876
5877
|
path: string;
|
|
5877
5878
|
id: string;
|
|
5878
|
-
userId: number;
|
|
5879
5879
|
createdAt: Date;
|
|
5880
|
+
userId: number;
|
|
5880
5881
|
signedUrl: string;
|
|
5881
5882
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5882
5883
|
} | null | undefined;
|
|
5883
|
-
|
|
5884
|
+
nonCroppedFile?: {
|
|
5884
5885
|
path: string;
|
|
5885
5886
|
id: string;
|
|
5886
|
-
userId: number;
|
|
5887
5887
|
createdAt: Date;
|
|
5888
|
+
userId: number;
|
|
5888
5889
|
signedUrl: string;
|
|
5889
5890
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5890
5891
|
} | null | undefined;
|
|
5891
|
-
carrier?: unknown;
|
|
5892
5892
|
}[] | null | undefined;
|
|
5893
5893
|
invoices?: {
|
|
5894
5894
|
type: "SALE" | "PURCHASE";
|
|
5895
5895
|
status: string;
|
|
5896
5896
|
id: string;
|
|
5897
|
-
userId: number;
|
|
5898
5897
|
createdAt: Date;
|
|
5898
|
+
userId: number;
|
|
5899
5899
|
currency: string;
|
|
5900
5900
|
orderId: string;
|
|
5901
5901
|
updatedAt: Date;
|
|
@@ -5904,21 +5904,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5904
5904
|
businessProfileId: string;
|
|
5905
5905
|
issueDate: Date;
|
|
5906
5906
|
subtotal: number;
|
|
5907
|
-
vatAmount?: number | null | undefined;
|
|
5908
5907
|
fileId?: string | null | undefined;
|
|
5908
|
+
vatAmount?: number | null | undefined;
|
|
5909
5909
|
file?: {
|
|
5910
5910
|
path: string;
|
|
5911
5911
|
id: string;
|
|
5912
|
-
userId: number;
|
|
5913
5912
|
createdAt: Date;
|
|
5913
|
+
userId: number;
|
|
5914
5914
|
signedUrl: string;
|
|
5915
5915
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5916
5916
|
} | null | undefined;
|
|
5917
5917
|
vatRate?: number | null | undefined;
|
|
5918
5918
|
businessProfile?: {
|
|
5919
5919
|
id: string;
|
|
5920
|
-
userId: number;
|
|
5921
5920
|
createdAt: Date;
|
|
5921
|
+
userId: number;
|
|
5922
5922
|
updatedAt: Date;
|
|
5923
5923
|
businessName: string;
|
|
5924
5924
|
address: string;
|
|
@@ -5931,8 +5931,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5931
5931
|
logo?: {
|
|
5932
5932
|
path: string;
|
|
5933
5933
|
id: string;
|
|
5934
|
-
userId: number;
|
|
5935
5934
|
createdAt: Date;
|
|
5935
|
+
userId: number;
|
|
5936
5936
|
signedUrl: string;
|
|
5937
5937
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5938
5938
|
} | null | undefined;
|
|
@@ -5945,26 +5945,26 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5945
5945
|
firstName: string;
|
|
5946
5946
|
lastName: string;
|
|
5947
5947
|
phoneVerified: boolean;
|
|
5948
|
-
postalCode?: string | null | undefined;
|
|
5949
|
-
city?: string | null | undefined;
|
|
5950
|
-
country?: string | null | undefined;
|
|
5951
|
-
email?: string | null | undefined;
|
|
5952
|
-
addressLine1?: string | null | undefined;
|
|
5953
|
-
addressLine2?: string | null | undefined;
|
|
5954
5948
|
birthDate?: Date | null | undefined;
|
|
5949
|
+
email?: string | null | undefined;
|
|
5955
5950
|
idNumber?: string | null | undefined;
|
|
5956
5951
|
phone?: string | null | undefined;
|
|
5957
5952
|
iban?: string | null | undefined;
|
|
5958
5953
|
bic?: string | null | undefined;
|
|
5954
|
+
addressLine1?: string | null | undefined;
|
|
5955
|
+
addressLine2?: string | null | undefined;
|
|
5956
|
+
city?: string | null | undefined;
|
|
5957
|
+
postalCode?: string | null | undefined;
|
|
5958
|
+
country?: string | null | undefined;
|
|
5959
5959
|
} | null | undefined;
|
|
5960
5960
|
dueDate?: Date | null | undefined;
|
|
5961
5961
|
notes?: string | null | undefined;
|
|
5962
5962
|
lineItems?: {
|
|
5963
|
-
quantity: number;
|
|
5964
|
-
id: number;
|
|
5965
5963
|
description: string;
|
|
5964
|
+
id: number;
|
|
5966
5965
|
createdAt: Date;
|
|
5967
5966
|
invoiceId: string;
|
|
5967
|
+
quantity: number;
|
|
5968
5968
|
unitPrice: number;
|
|
5969
5969
|
total: number;
|
|
5970
5970
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -5978,13 +5978,15 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5978
5978
|
id: string;
|
|
5979
5979
|
accountId: string;
|
|
5980
5980
|
platformTransactionId: string;
|
|
5981
|
+
conversationId?: string | null | undefined;
|
|
5982
|
+
shipmentId?: string | null | undefined;
|
|
5981
5983
|
items?: {
|
|
5982
5984
|
transactionId: string;
|
|
5983
5985
|
itemOnPlatformId: string;
|
|
5984
5986
|
itemOnPlatform?: {
|
|
5985
5987
|
id: string;
|
|
5986
|
-
accountId: string;
|
|
5987
5988
|
createdAt: Date;
|
|
5989
|
+
accountId: string;
|
|
5988
5990
|
itemId: number;
|
|
5989
5991
|
platformId: string;
|
|
5990
5992
|
platformUrl: string;
|
|
@@ -5998,9 +6000,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5998
6000
|
viewsCount?: number | null | undefined;
|
|
5999
6001
|
favoritesCount?: number | null | undefined;
|
|
6000
6002
|
account?: {
|
|
6001
|
-
accountId: string;
|
|
6002
|
-
userId: number;
|
|
6003
6003
|
name: string;
|
|
6004
|
+
userId: number;
|
|
6005
|
+
accountId: string;
|
|
6004
6006
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
6005
6007
|
status?: unknown;
|
|
6006
6008
|
locale?: string | null | undefined;
|
|
@@ -6020,8 +6022,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
6020
6022
|
profilePicture?: {
|
|
6021
6023
|
path: string;
|
|
6022
6024
|
id: string;
|
|
6023
|
-
userId: number;
|
|
6024
6025
|
createdAt: Date;
|
|
6026
|
+
userId: number;
|
|
6025
6027
|
signedUrl: string;
|
|
6026
6028
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
6027
6029
|
} | null | undefined;
|
|
@@ -6034,8 +6036,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
6034
6036
|
isBoosted?: boolean | null | undefined;
|
|
6035
6037
|
} | null | undefined;
|
|
6036
6038
|
}[] | null | undefined;
|
|
6037
|
-
conversationId?: string | null | undefined;
|
|
6038
|
-
shipmentId?: string | null | undefined;
|
|
6039
6039
|
buyerPlatformId?: string | null | undefined;
|
|
6040
6040
|
sellerPlatformId?: string | null | undefined;
|
|
6041
6041
|
};
|