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
|
@@ -19,38 +19,38 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
20
20
|
path: string;
|
|
21
21
|
id: string;
|
|
22
|
-
userId: number;
|
|
23
22
|
createdAt: Date;
|
|
23
|
+
userId: number;
|
|
24
24
|
signedUrl: string;
|
|
25
25
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
26
26
|
}, {
|
|
27
27
|
path: string;
|
|
28
28
|
id: string;
|
|
29
|
-
userId: number;
|
|
30
29
|
createdAt: Date;
|
|
30
|
+
userId: number;
|
|
31
31
|
signedUrl: string;
|
|
32
32
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
33
33
|
}>>>;
|
|
34
34
|
}, "strip", z.ZodTypeAny, {
|
|
35
|
-
itemId: number;
|
|
36
35
|
fileId: string;
|
|
36
|
+
itemId: number;
|
|
37
37
|
file?: {
|
|
38
38
|
path: string;
|
|
39
39
|
id: string;
|
|
40
|
-
userId: number;
|
|
41
40
|
createdAt: Date;
|
|
41
|
+
userId: number;
|
|
42
42
|
signedUrl: string;
|
|
43
43
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
44
44
|
} | null | undefined;
|
|
45
45
|
index?: number | null | undefined;
|
|
46
46
|
}, {
|
|
47
|
-
itemId: number;
|
|
48
47
|
fileId: string;
|
|
48
|
+
itemId: number;
|
|
49
49
|
file?: {
|
|
50
50
|
path: string;
|
|
51
51
|
id: string;
|
|
52
|
-
userId: number;
|
|
53
52
|
createdAt: Date;
|
|
53
|
+
userId: number;
|
|
54
54
|
signedUrl: string;
|
|
55
55
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
56
56
|
} | null | undefined;
|
|
@@ -88,12 +88,12 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
88
88
|
}, "strip", z.ZodTypeAny, {
|
|
89
89
|
value: number;
|
|
90
90
|
type: string;
|
|
91
|
-
id: number;
|
|
92
|
-
userId: number;
|
|
93
91
|
name: string;
|
|
92
|
+
id: number;
|
|
94
93
|
createdAt: Date;
|
|
94
|
+
userId: number;
|
|
95
95
|
updatedAt: Date;
|
|
96
|
-
recurrence: "
|
|
96
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
97
97
|
startDate: Date;
|
|
98
98
|
active: boolean;
|
|
99
99
|
description?: string | null | undefined;
|
|
@@ -103,12 +103,12 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
103
103
|
}, {
|
|
104
104
|
value: number;
|
|
105
105
|
type: string;
|
|
106
|
-
id: number;
|
|
107
|
-
userId: number;
|
|
108
106
|
name: string;
|
|
107
|
+
id: number;
|
|
109
108
|
createdAt: Date;
|
|
109
|
+
userId: number;
|
|
110
110
|
updatedAt: Date;
|
|
111
|
-
recurrence: "
|
|
111
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
112
112
|
startDate: Date;
|
|
113
113
|
active: boolean;
|
|
114
114
|
description?: string | null | undefined;
|
|
@@ -129,16 +129,16 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
129
129
|
itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
130
130
|
parentId: z.ZodUnknown;
|
|
131
131
|
}, "strip", z.ZodTypeAny, {
|
|
132
|
-
id: number;
|
|
133
132
|
name: string;
|
|
133
|
+
id: number;
|
|
134
134
|
createdAt: Date;
|
|
135
135
|
isUserLabel: boolean;
|
|
136
136
|
itemCount?: number | null | undefined;
|
|
137
137
|
userId?: number | null | undefined;
|
|
138
138
|
parentId?: unknown;
|
|
139
139
|
}, {
|
|
140
|
-
id: number;
|
|
141
140
|
name: string;
|
|
141
|
+
id: number;
|
|
142
142
|
createdAt: Date;
|
|
143
143
|
isUserLabel: boolean;
|
|
144
144
|
itemCount?: number | null | undefined;
|
|
@@ -149,8 +149,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
149
149
|
itemId: number;
|
|
150
150
|
labelId: number;
|
|
151
151
|
label?: {
|
|
152
|
-
id: number;
|
|
153
152
|
name: string;
|
|
153
|
+
id: number;
|
|
154
154
|
createdAt: Date;
|
|
155
155
|
isUserLabel: boolean;
|
|
156
156
|
itemCount?: number | null | undefined;
|
|
@@ -161,8 +161,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
161
161
|
itemId: number;
|
|
162
162
|
labelId: number;
|
|
163
163
|
label?: {
|
|
164
|
-
id: number;
|
|
165
164
|
name: string;
|
|
165
|
+
id: number;
|
|
166
166
|
createdAt: Date;
|
|
167
167
|
isUserLabel: boolean;
|
|
168
168
|
itemCount?: number | null | undefined;
|
|
@@ -346,7 +346,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
346
346
|
autoFixable: z.ZodBoolean;
|
|
347
347
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
348
348
|
}, "strip", z.ZodTypeAny, {
|
|
349
|
-
field: "
|
|
349
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
350
350
|
autoFixable: boolean;
|
|
351
351
|
error?: string | null | undefined;
|
|
352
352
|
}, {
|
|
@@ -361,7 +361,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
361
361
|
accountId?: string | null | undefined;
|
|
362
362
|
reason?: string | null | undefined;
|
|
363
363
|
fields?: {
|
|
364
|
-
field: "
|
|
364
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
365
365
|
autoFixable: boolean;
|
|
366
366
|
error?: string | null | undefined;
|
|
367
367
|
}[] | null | undefined;
|
|
@@ -387,7 +387,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
387
387
|
accountId?: string | null | undefined;
|
|
388
388
|
reason?: string | null | undefined;
|
|
389
389
|
fields?: {
|
|
390
|
-
field: "
|
|
390
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
391
391
|
autoFixable: boolean;
|
|
392
392
|
error?: string | null | undefined;
|
|
393
393
|
}[] | null | undefined;
|
|
@@ -571,23 +571,23 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
571
571
|
boostedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
572
572
|
boostedUntil: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
573
573
|
}, "strip", z.ZodTypeAny, {
|
|
574
|
-
size?: string | null | undefined;
|
|
575
574
|
status?: string | null | undefined;
|
|
576
575
|
title?: string | null | undefined;
|
|
577
576
|
description?: string | null | undefined;
|
|
577
|
+
brand?: string | null | undefined;
|
|
578
|
+
statusId?: number | null | undefined;
|
|
579
|
+
sizeId?: number | null | undefined;
|
|
580
|
+
colorIds?: number[] | null | undefined;
|
|
581
|
+
packageSizeId?: number | null | undefined;
|
|
578
582
|
price?: number | null | undefined;
|
|
579
583
|
currency?: string | null | undefined;
|
|
580
|
-
brand?: string | null | undefined;
|
|
581
584
|
catalog?: string | null | undefined;
|
|
582
585
|
catalogId?: number | null | undefined;
|
|
583
586
|
colors?: string[] | null | undefined;
|
|
584
|
-
colorIds?: number[] | null | undefined;
|
|
585
587
|
measurementLength?: number | null | undefined;
|
|
586
588
|
measurementWidth?: number | null | undefined;
|
|
587
|
-
packageSizeId?: number | null | undefined;
|
|
588
589
|
photoUrls?: string[] | null | undefined;
|
|
589
|
-
|
|
590
|
-
statusId?: number | null | undefined;
|
|
590
|
+
size?: string | null | undefined;
|
|
591
591
|
isDraft?: boolean | null | undefined;
|
|
592
592
|
isArchived?: boolean | null | undefined;
|
|
593
593
|
isUnisex?: boolean | null | undefined;
|
|
@@ -616,23 +616,23 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
616
616
|
isHidden?: boolean | null | undefined;
|
|
617
617
|
isDeleted?: boolean | null | undefined;
|
|
618
618
|
}, {
|
|
619
|
-
size?: string | null | undefined;
|
|
620
619
|
status?: string | null | undefined;
|
|
621
620
|
title?: string | null | undefined;
|
|
622
621
|
description?: string | null | undefined;
|
|
622
|
+
brand?: string | null | undefined;
|
|
623
|
+
statusId?: number | null | undefined;
|
|
624
|
+
sizeId?: number | null | undefined;
|
|
625
|
+
colorIds?: number[] | null | undefined;
|
|
626
|
+
packageSizeId?: number | null | undefined;
|
|
623
627
|
price?: number | null | undefined;
|
|
624
628
|
currency?: string | null | undefined;
|
|
625
|
-
brand?: string | null | undefined;
|
|
626
629
|
catalog?: string | null | undefined;
|
|
627
630
|
catalogId?: number | null | undefined;
|
|
628
631
|
colors?: string[] | null | undefined;
|
|
629
|
-
colorIds?: number[] | null | undefined;
|
|
630
632
|
measurementLength?: number | null | undefined;
|
|
631
633
|
measurementWidth?: number | null | undefined;
|
|
632
|
-
packageSizeId?: number | null | undefined;
|
|
633
634
|
photoUrls?: string[] | null | undefined;
|
|
634
|
-
|
|
635
|
-
statusId?: number | null | undefined;
|
|
635
|
+
size?: string | null | undefined;
|
|
636
636
|
isDraft?: boolean | null | undefined;
|
|
637
637
|
isArchived?: boolean | null | undefined;
|
|
638
638
|
isUnisex?: boolean | null | undefined;
|
|
@@ -666,23 +666,23 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
666
666
|
}, "strip", z.ZodTypeAny, {
|
|
667
667
|
platformId: string;
|
|
668
668
|
post: {
|
|
669
|
-
size?: string | null | undefined;
|
|
670
669
|
status?: string | null | undefined;
|
|
671
670
|
title?: string | null | undefined;
|
|
672
671
|
description?: string | null | undefined;
|
|
672
|
+
brand?: string | null | undefined;
|
|
673
|
+
statusId?: number | null | undefined;
|
|
674
|
+
sizeId?: number | null | undefined;
|
|
675
|
+
colorIds?: number[] | null | undefined;
|
|
676
|
+
packageSizeId?: number | null | undefined;
|
|
673
677
|
price?: number | null | undefined;
|
|
674
678
|
currency?: string | null | undefined;
|
|
675
|
-
brand?: string | null | undefined;
|
|
676
679
|
catalog?: string | null | undefined;
|
|
677
680
|
catalogId?: number | null | undefined;
|
|
678
681
|
colors?: string[] | null | undefined;
|
|
679
|
-
colorIds?: number[] | null | undefined;
|
|
680
682
|
measurementLength?: number | null | undefined;
|
|
681
683
|
measurementWidth?: number | null | undefined;
|
|
682
|
-
packageSizeId?: number | null | undefined;
|
|
683
684
|
photoUrls?: string[] | null | undefined;
|
|
684
|
-
|
|
685
|
-
statusId?: number | null | undefined;
|
|
685
|
+
size?: string | null | undefined;
|
|
686
686
|
isDraft?: boolean | null | undefined;
|
|
687
687
|
isArchived?: boolean | null | undefined;
|
|
688
688
|
isUnisex?: boolean | null | undefined;
|
|
@@ -718,23 +718,23 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
718
718
|
}, {
|
|
719
719
|
platformId: string;
|
|
720
720
|
post: {
|
|
721
|
-
size?: string | null | undefined;
|
|
722
721
|
status?: string | null | undefined;
|
|
723
722
|
title?: string | null | undefined;
|
|
724
723
|
description?: string | null | undefined;
|
|
724
|
+
brand?: string | null | undefined;
|
|
725
|
+
statusId?: number | null | undefined;
|
|
726
|
+
sizeId?: number | null | undefined;
|
|
727
|
+
colorIds?: number[] | null | undefined;
|
|
728
|
+
packageSizeId?: number | null | undefined;
|
|
725
729
|
price?: number | null | undefined;
|
|
726
730
|
currency?: string | null | undefined;
|
|
727
|
-
brand?: string | null | undefined;
|
|
728
731
|
catalog?: string | null | undefined;
|
|
729
732
|
catalogId?: number | null | undefined;
|
|
730
733
|
colors?: string[] | null | undefined;
|
|
731
|
-
colorIds?: number[] | null | undefined;
|
|
732
734
|
measurementLength?: number | null | undefined;
|
|
733
735
|
measurementWidth?: number | null | undefined;
|
|
734
|
-
packageSizeId?: number | null | undefined;
|
|
735
736
|
photoUrls?: string[] | null | undefined;
|
|
736
|
-
|
|
737
|
-
statusId?: number | null | undefined;
|
|
737
|
+
size?: string | null | undefined;
|
|
738
738
|
isDraft?: boolean | null | undefined;
|
|
739
739
|
isArchived?: boolean | null | undefined;
|
|
740
740
|
isUnisex?: boolean | null | undefined;
|
|
@@ -772,23 +772,23 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
772
772
|
post: {
|
|
773
773
|
platformId: string;
|
|
774
774
|
post: {
|
|
775
|
-
size?: string | null | undefined;
|
|
776
775
|
status?: string | null | undefined;
|
|
777
776
|
title?: string | null | undefined;
|
|
778
777
|
description?: string | null | undefined;
|
|
778
|
+
brand?: string | null | undefined;
|
|
779
|
+
statusId?: number | null | undefined;
|
|
780
|
+
sizeId?: number | null | undefined;
|
|
781
|
+
colorIds?: number[] | null | undefined;
|
|
782
|
+
packageSizeId?: number | null | undefined;
|
|
779
783
|
price?: number | null | undefined;
|
|
780
784
|
currency?: string | null | undefined;
|
|
781
|
-
brand?: string | null | undefined;
|
|
782
785
|
catalog?: string | null | undefined;
|
|
783
786
|
catalogId?: number | null | undefined;
|
|
784
787
|
colors?: string[] | null | undefined;
|
|
785
|
-
colorIds?: number[] | null | undefined;
|
|
786
788
|
measurementLength?: number | null | undefined;
|
|
787
789
|
measurementWidth?: number | null | undefined;
|
|
788
|
-
packageSizeId?: number | null | undefined;
|
|
789
790
|
photoUrls?: string[] | null | undefined;
|
|
790
|
-
|
|
791
|
-
statusId?: number | null | undefined;
|
|
791
|
+
size?: string | null | undefined;
|
|
792
792
|
isDraft?: boolean | null | undefined;
|
|
793
793
|
isArchived?: boolean | null | undefined;
|
|
794
794
|
isUnisex?: boolean | null | undefined;
|
|
@@ -826,23 +826,23 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
826
826
|
post: {
|
|
827
827
|
platformId: string;
|
|
828
828
|
post: {
|
|
829
|
-
size?: string | null | undefined;
|
|
830
829
|
status?: string | null | undefined;
|
|
831
830
|
title?: string | null | undefined;
|
|
832
831
|
description?: string | null | undefined;
|
|
832
|
+
brand?: string | null | undefined;
|
|
833
|
+
statusId?: number | null | undefined;
|
|
834
|
+
sizeId?: number | null | undefined;
|
|
835
|
+
colorIds?: number[] | null | undefined;
|
|
836
|
+
packageSizeId?: number | null | undefined;
|
|
833
837
|
price?: number | null | undefined;
|
|
834
838
|
currency?: string | null | undefined;
|
|
835
|
-
brand?: string | null | undefined;
|
|
836
839
|
catalog?: string | null | undefined;
|
|
837
840
|
catalogId?: number | null | undefined;
|
|
838
841
|
colors?: string[] | null | undefined;
|
|
839
|
-
colorIds?: number[] | null | undefined;
|
|
840
842
|
measurementLength?: number | null | undefined;
|
|
841
843
|
measurementWidth?: number | null | undefined;
|
|
842
|
-
packageSizeId?: number | null | undefined;
|
|
843
844
|
photoUrls?: string[] | null | undefined;
|
|
844
|
-
|
|
845
|
-
statusId?: number | null | undefined;
|
|
845
|
+
size?: string | null | undefined;
|
|
846
846
|
isDraft?: boolean | null | undefined;
|
|
847
847
|
isArchived?: boolean | null | undefined;
|
|
848
848
|
isUnisex?: boolean | null | undefined;
|
|
@@ -884,23 +884,23 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
884
884
|
post: {
|
|
885
885
|
platformId: string;
|
|
886
886
|
post: {
|
|
887
|
-
size?: string | null | undefined;
|
|
888
887
|
status?: string | null | undefined;
|
|
889
888
|
title?: string | null | undefined;
|
|
890
889
|
description?: string | null | undefined;
|
|
890
|
+
brand?: string | null | undefined;
|
|
891
|
+
statusId?: number | null | undefined;
|
|
892
|
+
sizeId?: number | null | undefined;
|
|
893
|
+
colorIds?: number[] | null | undefined;
|
|
894
|
+
packageSizeId?: number | null | undefined;
|
|
891
895
|
price?: number | null | undefined;
|
|
892
896
|
currency?: string | null | undefined;
|
|
893
|
-
brand?: string | null | undefined;
|
|
894
897
|
catalog?: string | null | undefined;
|
|
895
898
|
catalogId?: number | null | undefined;
|
|
896
899
|
colors?: string[] | null | undefined;
|
|
897
|
-
colorIds?: number[] | null | undefined;
|
|
898
900
|
measurementLength?: number | null | undefined;
|
|
899
901
|
measurementWidth?: number | null | undefined;
|
|
900
|
-
packageSizeId?: number | null | undefined;
|
|
901
902
|
photoUrls?: string[] | null | undefined;
|
|
902
|
-
|
|
903
|
-
statusId?: number | null | undefined;
|
|
903
|
+
size?: string | null | undefined;
|
|
904
904
|
isDraft?: boolean | null | undefined;
|
|
905
905
|
isArchived?: boolean | null | undefined;
|
|
906
906
|
isUnisex?: boolean | null | undefined;
|
|
@@ -941,23 +941,23 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
941
941
|
post: {
|
|
942
942
|
platformId: string;
|
|
943
943
|
post: {
|
|
944
|
-
size?: string | null | undefined;
|
|
945
944
|
status?: string | null | undefined;
|
|
946
945
|
title?: string | null | undefined;
|
|
947
946
|
description?: string | null | undefined;
|
|
947
|
+
brand?: string | null | undefined;
|
|
948
|
+
statusId?: number | null | undefined;
|
|
949
|
+
sizeId?: number | null | undefined;
|
|
950
|
+
colorIds?: number[] | null | undefined;
|
|
951
|
+
packageSizeId?: number | null | undefined;
|
|
948
952
|
price?: number | null | undefined;
|
|
949
953
|
currency?: string | null | undefined;
|
|
950
|
-
brand?: string | null | undefined;
|
|
951
954
|
catalog?: string | null | undefined;
|
|
952
955
|
catalogId?: number | null | undefined;
|
|
953
956
|
colors?: string[] | null | undefined;
|
|
954
|
-
colorIds?: number[] | null | undefined;
|
|
955
957
|
measurementLength?: number | null | undefined;
|
|
956
958
|
measurementWidth?: number | null | undefined;
|
|
957
|
-
packageSizeId?: number | null | undefined;
|
|
958
959
|
photoUrls?: string[] | null | undefined;
|
|
959
|
-
|
|
960
|
-
statusId?: number | null | undefined;
|
|
960
|
+
size?: string | null | undefined;
|
|
961
961
|
isDraft?: boolean | null | undefined;
|
|
962
962
|
isArchived?: boolean | null | undefined;
|
|
963
963
|
isUnisex?: boolean | null | undefined;
|
|
@@ -1017,27 +1017,27 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1017
1017
|
caseId: z.ZodString;
|
|
1018
1018
|
isRepeat: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1019
1019
|
}, "strip", z.ZodTypeAny, {
|
|
1020
|
-
accountId: string;
|
|
1021
1020
|
caseId: string;
|
|
1021
|
+
accountId: string;
|
|
1022
1022
|
isRepeat?: boolean | null | undefined;
|
|
1023
1023
|
}, {
|
|
1024
|
-
accountId: string;
|
|
1025
1024
|
caseId: string;
|
|
1025
|
+
accountId: string;
|
|
1026
1026
|
isRepeat?: boolean | null | undefined;
|
|
1027
1027
|
}>;
|
|
1028
1028
|
type: z.ZodLiteral<"LIFECYCLE_STARTED">;
|
|
1029
1029
|
}, "strip", z.ZodTypeAny, {
|
|
1030
1030
|
type: "LIFECYCLE_STARTED";
|
|
1031
1031
|
data: {
|
|
1032
|
-
accountId: string;
|
|
1033
1032
|
caseId: string;
|
|
1033
|
+
accountId: string;
|
|
1034
1034
|
isRepeat?: boolean | null | undefined;
|
|
1035
1035
|
};
|
|
1036
1036
|
}, {
|
|
1037
1037
|
type: "LIFECYCLE_STARTED";
|
|
1038
1038
|
data: {
|
|
1039
|
-
accountId: string;
|
|
1040
1039
|
caseId: string;
|
|
1040
|
+
accountId: string;
|
|
1041
1041
|
isRepeat?: boolean | null | undefined;
|
|
1042
1042
|
};
|
|
1043
1043
|
}>, z.ZodObject<{
|
|
@@ -1213,10 +1213,10 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1213
1213
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1214
1214
|
} | null | undefined;
|
|
1215
1215
|
} | null | undefined;
|
|
1216
|
-
targetAccountId?: string | null | undefined;
|
|
1217
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
1218
1216
|
publishingDate?: Date | null | undefined;
|
|
1219
1217
|
isTransfer?: boolean | null | undefined;
|
|
1218
|
+
targetAccountId?: string | null | undefined;
|
|
1219
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
1220
1220
|
}, {
|
|
1221
1221
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1222
1222
|
payload?: {
|
|
@@ -1243,10 +1243,10 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1243
1243
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1244
1244
|
} | null | undefined;
|
|
1245
1245
|
} | null | undefined;
|
|
1246
|
-
targetAccountId?: string | null | undefined;
|
|
1247
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
1248
1246
|
publishingDate?: Date | null | undefined;
|
|
1249
1247
|
isTransfer?: boolean | null | undefined;
|
|
1248
|
+
targetAccountId?: string | null | undefined;
|
|
1249
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
1250
1250
|
}>;
|
|
1251
1251
|
type: z.ZodLiteral<"REPUBLISHING">;
|
|
1252
1252
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1277,10 +1277,10 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1277
1277
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1278
1278
|
} | null | undefined;
|
|
1279
1279
|
} | null | undefined;
|
|
1280
|
-
targetAccountId?: string | null | undefined;
|
|
1281
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
1282
1280
|
publishingDate?: Date | null | undefined;
|
|
1283
1281
|
isTransfer?: boolean | null | undefined;
|
|
1282
|
+
targetAccountId?: string | null | undefined;
|
|
1283
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
1284
1284
|
};
|
|
1285
1285
|
}, {
|
|
1286
1286
|
type: "REPUBLISHING";
|
|
@@ -1310,10 +1310,10 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1310
1310
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1311
1311
|
} | null | undefined;
|
|
1312
1312
|
} | null | undefined;
|
|
1313
|
-
targetAccountId?: string | null | undefined;
|
|
1314
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
1315
1313
|
publishingDate?: Date | null | undefined;
|
|
1316
1314
|
isTransfer?: boolean | null | undefined;
|
|
1315
|
+
targetAccountId?: string | null | undefined;
|
|
1316
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
1317
1317
|
};
|
|
1318
1318
|
}>, z.ZodObject<{
|
|
1319
1319
|
data: z.ZodObject<{
|
|
@@ -1327,7 +1327,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1327
1327
|
autoFixable: z.ZodBoolean;
|
|
1328
1328
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1329
1329
|
}, "strip", z.ZodTypeAny, {
|
|
1330
|
-
field: "
|
|
1330
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1331
1331
|
autoFixable: boolean;
|
|
1332
1332
|
error?: string | null | undefined;
|
|
1333
1333
|
}, {
|
|
@@ -1442,9 +1442,9 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1442
1442
|
} | null | undefined;
|
|
1443
1443
|
}>>>;
|
|
1444
1444
|
}, "strip", z.ZodTypeAny, {
|
|
1445
|
+
maxAttempts: number;
|
|
1445
1446
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1446
1447
|
attemptNumber: number;
|
|
1447
|
-
maxAttempts: number;
|
|
1448
1448
|
previousHistoryId: string;
|
|
1449
1449
|
originalFailureDate: Date;
|
|
1450
1450
|
payload?: {
|
|
@@ -1472,14 +1472,14 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1472
1472
|
} | null | undefined;
|
|
1473
1473
|
} | null | undefined;
|
|
1474
1474
|
fields?: {
|
|
1475
|
-
field: "
|
|
1475
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1476
1476
|
autoFixable: boolean;
|
|
1477
1477
|
error?: string | null | undefined;
|
|
1478
1478
|
}[] | null | undefined;
|
|
1479
1479
|
}, {
|
|
1480
|
+
maxAttempts: number;
|
|
1480
1481
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1481
1482
|
attemptNumber: number;
|
|
1482
|
-
maxAttempts: number;
|
|
1483
1483
|
previousHistoryId: string;
|
|
1484
1484
|
originalFailureDate: Date;
|
|
1485
1485
|
payload?: {
|
|
@@ -1516,9 +1516,9 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1516
1516
|
}, "strip", z.ZodTypeAny, {
|
|
1517
1517
|
type: "REPUBLISHING_RETRY";
|
|
1518
1518
|
data: {
|
|
1519
|
+
maxAttempts: number;
|
|
1519
1520
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1520
1521
|
attemptNumber: number;
|
|
1521
|
-
maxAttempts: number;
|
|
1522
1522
|
previousHistoryId: string;
|
|
1523
1523
|
originalFailureDate: Date;
|
|
1524
1524
|
payload?: {
|
|
@@ -1546,7 +1546,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1546
1546
|
} | null | undefined;
|
|
1547
1547
|
} | null | undefined;
|
|
1548
1548
|
fields?: {
|
|
1549
|
-
field: "
|
|
1549
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1550
1550
|
autoFixable: boolean;
|
|
1551
1551
|
error?: string | null | undefined;
|
|
1552
1552
|
}[] | null | undefined;
|
|
@@ -1554,9 +1554,9 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1554
1554
|
}, {
|
|
1555
1555
|
type: "REPUBLISHING_RETRY";
|
|
1556
1556
|
data: {
|
|
1557
|
+
maxAttempts: number;
|
|
1557
1558
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1558
1559
|
attemptNumber: number;
|
|
1559
|
-
maxAttempts: number;
|
|
1560
1560
|
previousHistoryId: string;
|
|
1561
1561
|
originalFailureDate: Date;
|
|
1562
1562
|
payload?: {
|
|
@@ -1625,7 +1625,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1625
1625
|
autoFixable: z.ZodBoolean;
|
|
1626
1626
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1627
1627
|
}, "strip", z.ZodTypeAny, {
|
|
1628
|
-
field: "
|
|
1628
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1629
1629
|
autoFixable: boolean;
|
|
1630
1630
|
error?: string | null | undefined;
|
|
1631
1631
|
}, {
|
|
@@ -1634,20 +1634,20 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1634
1634
|
error?: string | null | undefined;
|
|
1635
1635
|
}>, "many">>>;
|
|
1636
1636
|
}, "strip", z.ZodTypeAny, {
|
|
1637
|
+
maxAttempts: number;
|
|
1637
1638
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1638
1639
|
attemptNumber: number;
|
|
1639
|
-
maxAttempts: number;
|
|
1640
1640
|
previousHistoryId: string;
|
|
1641
1641
|
originalFailureDate: Date;
|
|
1642
1642
|
fields?: {
|
|
1643
|
-
field: "
|
|
1643
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1644
1644
|
autoFixable: boolean;
|
|
1645
1645
|
error?: string | null | undefined;
|
|
1646
1646
|
}[] | null | undefined;
|
|
1647
1647
|
}, {
|
|
1648
|
+
maxAttempts: number;
|
|
1648
1649
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1649
1650
|
attemptNumber: number;
|
|
1650
|
-
maxAttempts: number;
|
|
1651
1651
|
previousHistoryId: string;
|
|
1652
1652
|
originalFailureDate: Date;
|
|
1653
1653
|
fields?: {
|
|
@@ -1660,13 +1660,13 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1660
1660
|
}, "strip", z.ZodTypeAny, {
|
|
1661
1661
|
type: "SCHEDULED_RETRY";
|
|
1662
1662
|
data: {
|
|
1663
|
+
maxAttempts: number;
|
|
1663
1664
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1664
1665
|
attemptNumber: number;
|
|
1665
|
-
maxAttempts: number;
|
|
1666
1666
|
previousHistoryId: string;
|
|
1667
1667
|
originalFailureDate: Date;
|
|
1668
1668
|
fields?: {
|
|
1669
|
-
field: "
|
|
1669
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1670
1670
|
autoFixable: boolean;
|
|
1671
1671
|
error?: string | null | undefined;
|
|
1672
1672
|
}[] | null | undefined;
|
|
@@ -1674,9 +1674,9 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1674
1674
|
}, {
|
|
1675
1675
|
type: "SCHEDULED_RETRY";
|
|
1676
1676
|
data: {
|
|
1677
|
+
maxAttempts: number;
|
|
1677
1678
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1678
1679
|
attemptNumber: number;
|
|
1679
|
-
maxAttempts: number;
|
|
1680
1680
|
previousHistoryId: string;
|
|
1681
1681
|
originalFailureDate: Date;
|
|
1682
1682
|
fields?: {
|
|
@@ -1833,7 +1833,6 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1833
1833
|
id: string;
|
|
1834
1834
|
createdAt: Date;
|
|
1835
1835
|
itemId: number;
|
|
1836
|
-
accountId?: string | null | undefined;
|
|
1837
1836
|
data?: {
|
|
1838
1837
|
type: "ACTION_CANCELED";
|
|
1839
1838
|
data: {
|
|
@@ -1869,7 +1868,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1869
1868
|
accountId?: string | null | undefined;
|
|
1870
1869
|
reason?: string | null | undefined;
|
|
1871
1870
|
fields?: {
|
|
1872
|
-
field: "
|
|
1871
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1873
1872
|
autoFixable: boolean;
|
|
1874
1873
|
error?: string | null | undefined;
|
|
1875
1874
|
}[] | null | undefined;
|
|
@@ -1899,23 +1898,23 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1899
1898
|
post: {
|
|
1900
1899
|
platformId: string;
|
|
1901
1900
|
post: {
|
|
1902
|
-
size?: string | null | undefined;
|
|
1903
1901
|
status?: string | null | undefined;
|
|
1904
1902
|
title?: string | null | undefined;
|
|
1905
1903
|
description?: string | null | undefined;
|
|
1904
|
+
brand?: string | null | undefined;
|
|
1905
|
+
statusId?: number | null | undefined;
|
|
1906
|
+
sizeId?: number | null | undefined;
|
|
1907
|
+
colorIds?: number[] | null | undefined;
|
|
1908
|
+
packageSizeId?: number | null | undefined;
|
|
1906
1909
|
price?: number | null | undefined;
|
|
1907
1910
|
currency?: string | null | undefined;
|
|
1908
|
-
brand?: string | null | undefined;
|
|
1909
1911
|
catalog?: string | null | undefined;
|
|
1910
1912
|
catalogId?: number | null | undefined;
|
|
1911
1913
|
colors?: string[] | null | undefined;
|
|
1912
|
-
colorIds?: number[] | null | undefined;
|
|
1913
1914
|
measurementLength?: number | null | undefined;
|
|
1914
1915
|
measurementWidth?: number | null | undefined;
|
|
1915
|
-
packageSizeId?: number | null | undefined;
|
|
1916
1916
|
photoUrls?: string[] | null | undefined;
|
|
1917
|
-
|
|
1918
|
-
statusId?: number | null | undefined;
|
|
1917
|
+
size?: string | null | undefined;
|
|
1919
1918
|
isDraft?: boolean | null | undefined;
|
|
1920
1919
|
isArchived?: boolean | null | undefined;
|
|
1921
1920
|
isUnisex?: boolean | null | undefined;
|
|
@@ -1958,8 +1957,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1958
1957
|
} | {
|
|
1959
1958
|
type: "LIFECYCLE_STARTED";
|
|
1960
1959
|
data: {
|
|
1961
|
-
accountId: string;
|
|
1962
1960
|
caseId: string;
|
|
1961
|
+
accountId: string;
|
|
1963
1962
|
isRepeat?: boolean | null | undefined;
|
|
1964
1963
|
};
|
|
1965
1964
|
} | {
|
|
@@ -1998,17 +1997,17 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1998
1997
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1999
1998
|
} | null | undefined;
|
|
2000
1999
|
} | null | undefined;
|
|
2001
|
-
targetAccountId?: string | null | undefined;
|
|
2002
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
2003
2000
|
publishingDate?: Date | null | undefined;
|
|
2004
2001
|
isTransfer?: boolean | null | undefined;
|
|
2002
|
+
targetAccountId?: string | null | undefined;
|
|
2003
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
2005
2004
|
};
|
|
2006
2005
|
} | {
|
|
2007
2006
|
type: "REPUBLISHING_RETRY";
|
|
2008
2007
|
data: {
|
|
2008
|
+
maxAttempts: number;
|
|
2009
2009
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2010
2010
|
attemptNumber: number;
|
|
2011
|
-
maxAttempts: number;
|
|
2012
2011
|
previousHistoryId: string;
|
|
2013
2012
|
originalFailureDate: Date;
|
|
2014
2013
|
payload?: {
|
|
@@ -2036,7 +2035,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2036
2035
|
} | null | undefined;
|
|
2037
2036
|
} | null | undefined;
|
|
2038
2037
|
fields?: {
|
|
2039
|
-
field: "
|
|
2038
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2040
2039
|
autoFixable: boolean;
|
|
2041
2040
|
error?: string | null | undefined;
|
|
2042
2041
|
}[] | null | undefined;
|
|
@@ -2050,13 +2049,13 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2050
2049
|
} | {
|
|
2051
2050
|
type: "SCHEDULED_RETRY";
|
|
2052
2051
|
data: {
|
|
2052
|
+
maxAttempts: number;
|
|
2053
2053
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2054
2054
|
attemptNumber: number;
|
|
2055
|
-
maxAttempts: number;
|
|
2056
2055
|
previousHistoryId: string;
|
|
2057
2056
|
originalFailureDate: Date;
|
|
2058
2057
|
fields?: {
|
|
2059
|
-
field: "
|
|
2058
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2060
2059
|
autoFixable: boolean;
|
|
2061
2060
|
error?: string | null | undefined;
|
|
2062
2061
|
}[] | null | undefined;
|
|
@@ -2085,6 +2084,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2085
2084
|
targetDate?: Date | null | undefined;
|
|
2086
2085
|
};
|
|
2087
2086
|
} | null | undefined;
|
|
2087
|
+
accountId?: string | null | undefined;
|
|
2088
2088
|
targetDate?: Date | null | undefined;
|
|
2089
2089
|
requestId?: string | null | undefined;
|
|
2090
2090
|
targetHistoryId?: string | null | undefined;
|
|
@@ -2093,7 +2093,6 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2093
2093
|
createdAt: Date;
|
|
2094
2094
|
itemId: number;
|
|
2095
2095
|
type?: unknown;
|
|
2096
|
-
accountId?: string | null | undefined;
|
|
2097
2096
|
data?: {
|
|
2098
2097
|
type: "ACTION_CANCELED";
|
|
2099
2098
|
data: {
|
|
@@ -2159,23 +2158,23 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2159
2158
|
post: {
|
|
2160
2159
|
platformId: string;
|
|
2161
2160
|
post: {
|
|
2162
|
-
size?: string | null | undefined;
|
|
2163
2161
|
status?: string | null | undefined;
|
|
2164
2162
|
title?: string | null | undefined;
|
|
2165
2163
|
description?: string | null | undefined;
|
|
2164
|
+
brand?: string | null | undefined;
|
|
2165
|
+
statusId?: number | null | undefined;
|
|
2166
|
+
sizeId?: number | null | undefined;
|
|
2167
|
+
colorIds?: number[] | null | undefined;
|
|
2168
|
+
packageSizeId?: number | null | undefined;
|
|
2166
2169
|
price?: number | null | undefined;
|
|
2167
2170
|
currency?: string | null | undefined;
|
|
2168
|
-
brand?: string | null | undefined;
|
|
2169
2171
|
catalog?: string | null | undefined;
|
|
2170
2172
|
catalogId?: number | null | undefined;
|
|
2171
2173
|
colors?: string[] | null | undefined;
|
|
2172
|
-
colorIds?: number[] | null | undefined;
|
|
2173
2174
|
measurementLength?: number | null | undefined;
|
|
2174
2175
|
measurementWidth?: number | null | undefined;
|
|
2175
|
-
packageSizeId?: number | null | undefined;
|
|
2176
2176
|
photoUrls?: string[] | null | undefined;
|
|
2177
|
-
|
|
2178
|
-
statusId?: number | null | undefined;
|
|
2177
|
+
size?: string | null | undefined;
|
|
2179
2178
|
isDraft?: boolean | null | undefined;
|
|
2180
2179
|
isArchived?: boolean | null | undefined;
|
|
2181
2180
|
isUnisex?: boolean | null | undefined;
|
|
@@ -2218,8 +2217,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2218
2217
|
} | {
|
|
2219
2218
|
type: "LIFECYCLE_STARTED";
|
|
2220
2219
|
data: {
|
|
2221
|
-
accountId: string;
|
|
2222
2220
|
caseId: string;
|
|
2221
|
+
accountId: string;
|
|
2223
2222
|
isRepeat?: boolean | null | undefined;
|
|
2224
2223
|
};
|
|
2225
2224
|
} | {
|
|
@@ -2258,17 +2257,17 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2258
2257
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
2259
2258
|
} | null | undefined;
|
|
2260
2259
|
} | null | undefined;
|
|
2261
|
-
targetAccountId?: string | null | undefined;
|
|
2262
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
2263
2260
|
publishingDate?: Date | null | undefined;
|
|
2264
2261
|
isTransfer?: boolean | null | undefined;
|
|
2262
|
+
targetAccountId?: string | null | undefined;
|
|
2263
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
2265
2264
|
};
|
|
2266
2265
|
} | {
|
|
2267
2266
|
type: "REPUBLISHING_RETRY";
|
|
2268
2267
|
data: {
|
|
2268
|
+
maxAttempts: number;
|
|
2269
2269
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2270
2270
|
attemptNumber: number;
|
|
2271
|
-
maxAttempts: number;
|
|
2272
2271
|
previousHistoryId: string;
|
|
2273
2272
|
originalFailureDate: Date;
|
|
2274
2273
|
payload?: {
|
|
@@ -2310,9 +2309,9 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2310
2309
|
} | {
|
|
2311
2310
|
type: "SCHEDULED_RETRY";
|
|
2312
2311
|
data: {
|
|
2312
|
+
maxAttempts: number;
|
|
2313
2313
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2314
2314
|
attemptNumber: number;
|
|
2315
|
-
maxAttempts: number;
|
|
2316
2315
|
previousHistoryId: string;
|
|
2317
2316
|
originalFailureDate: Date;
|
|
2318
2317
|
fields?: {
|
|
@@ -2345,6 +2344,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2345
2344
|
targetDate?: Date | null | undefined;
|
|
2346
2345
|
};
|
|
2347
2346
|
} | null | undefined;
|
|
2347
|
+
accountId?: string | null | undefined;
|
|
2348
2348
|
targetDate?: Date | null | undefined;
|
|
2349
2349
|
requestId?: string | null | undefined;
|
|
2350
2350
|
targetHistoryId?: string | null | undefined;
|
|
@@ -2394,15 +2394,15 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2394
2394
|
}, "strip", z.ZodTypeAny, {
|
|
2395
2395
|
path: string;
|
|
2396
2396
|
id: string;
|
|
2397
|
-
userId: number;
|
|
2398
2397
|
createdAt: Date;
|
|
2398
|
+
userId: number;
|
|
2399
2399
|
signedUrl: string;
|
|
2400
2400
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2401
2401
|
}, {
|
|
2402
2402
|
path: string;
|
|
2403
2403
|
id: string;
|
|
2404
|
-
userId: number;
|
|
2405
2404
|
createdAt: Date;
|
|
2405
|
+
userId: number;
|
|
2406
2406
|
signedUrl: string;
|
|
2407
2407
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2408
2408
|
}>>>;
|
|
@@ -2413,9 +2413,9 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2413
2413
|
phoneNumberRequiredAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2414
2414
|
}, "strip", z.ZodTypeAny, {
|
|
2415
2415
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
2416
|
-
accountId: string;
|
|
2417
|
-
userId: number;
|
|
2418
2416
|
name: string;
|
|
2417
|
+
userId: number;
|
|
2418
|
+
accountId: string;
|
|
2419
2419
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2420
2420
|
locale?: string | null | undefined;
|
|
2421
2421
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -2434,8 +2434,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2434
2434
|
profilePicture?: {
|
|
2435
2435
|
path: string;
|
|
2436
2436
|
id: string;
|
|
2437
|
-
userId: number;
|
|
2438
2437
|
createdAt: Date;
|
|
2438
|
+
userId: number;
|
|
2439
2439
|
signedUrl: string;
|
|
2440
2440
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2441
2441
|
} | null | undefined;
|
|
@@ -2443,9 +2443,9 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2443
2443
|
walletActivationRequiredAt?: Date | null | undefined;
|
|
2444
2444
|
phoneNumberRequiredAt?: Date | null | undefined;
|
|
2445
2445
|
}, {
|
|
2446
|
-
accountId: string;
|
|
2447
|
-
userId: number;
|
|
2448
2446
|
name: string;
|
|
2447
|
+
userId: number;
|
|
2448
|
+
accountId: string;
|
|
2449
2449
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2450
2450
|
status?: unknown;
|
|
2451
2451
|
locale?: string | null | undefined;
|
|
@@ -2465,8 +2465,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2465
2465
|
profilePicture?: {
|
|
2466
2466
|
path: string;
|
|
2467
2467
|
id: string;
|
|
2468
|
-
userId: number;
|
|
2469
2468
|
createdAt: Date;
|
|
2469
|
+
userId: number;
|
|
2470
2470
|
signedUrl: string;
|
|
2471
2471
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2472
2472
|
} | null | undefined;
|
|
@@ -2485,8 +2485,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2485
2485
|
}, "strip", z.ZodTypeAny, {
|
|
2486
2486
|
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
2487
2487
|
id: string;
|
|
2488
|
-
accountId: string;
|
|
2489
2488
|
createdAt: Date;
|
|
2489
|
+
accountId: string;
|
|
2490
2490
|
itemId: number;
|
|
2491
2491
|
platformId: string;
|
|
2492
2492
|
platformUrl: string;
|
|
@@ -2500,9 +2500,9 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2500
2500
|
favoritesCount?: number | null | undefined;
|
|
2501
2501
|
account?: {
|
|
2502
2502
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
2503
|
-
accountId: string;
|
|
2504
|
-
userId: number;
|
|
2505
2503
|
name: string;
|
|
2504
|
+
userId: number;
|
|
2505
|
+
accountId: string;
|
|
2506
2506
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2507
2507
|
locale?: string | null | undefined;
|
|
2508
2508
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -2521,8 +2521,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2521
2521
|
profilePicture?: {
|
|
2522
2522
|
path: string;
|
|
2523
2523
|
id: string;
|
|
2524
|
-
userId: number;
|
|
2525
2524
|
createdAt: Date;
|
|
2525
|
+
userId: number;
|
|
2526
2526
|
signedUrl: string;
|
|
2527
2527
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2528
2528
|
} | null | undefined;
|
|
@@ -2535,8 +2535,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2535
2535
|
isBoosted?: boolean | null | undefined;
|
|
2536
2536
|
}, {
|
|
2537
2537
|
id: string;
|
|
2538
|
-
accountId: string;
|
|
2539
2538
|
createdAt: Date;
|
|
2539
|
+
accountId: string;
|
|
2540
2540
|
itemId: number;
|
|
2541
2541
|
platformId: string;
|
|
2542
2542
|
platformUrl: string;
|
|
@@ -2550,9 +2550,9 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2550
2550
|
viewsCount?: number | null | undefined;
|
|
2551
2551
|
favoritesCount?: number | null | undefined;
|
|
2552
2552
|
account?: {
|
|
2553
|
-
accountId: string;
|
|
2554
|
-
userId: number;
|
|
2555
2553
|
name: string;
|
|
2554
|
+
userId: number;
|
|
2555
|
+
accountId: string;
|
|
2556
2556
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2557
2557
|
status?: unknown;
|
|
2558
2558
|
locale?: string | null | undefined;
|
|
@@ -2572,8 +2572,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2572
2572
|
profilePicture?: {
|
|
2573
2573
|
path: string;
|
|
2574
2574
|
id: string;
|
|
2575
|
-
userId: number;
|
|
2576
2575
|
createdAt: Date;
|
|
2576
|
+
userId: number;
|
|
2577
2577
|
signedUrl: string;
|
|
2578
2578
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2579
2579
|
} | null | undefined;
|
|
@@ -2588,7 +2588,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2588
2588
|
actions: z.ZodObject<{
|
|
2589
2589
|
perAccount: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodCatch<z.ZodEnum<["PUBLISH", "PUBLISH_CANCEL", "REPUBLISH", "REPUBLISH_CANCEL", "UPDATE", "UPDATE_CANCEL", "BOOST", "UNKNOWN"]>>, "many">>;
|
|
2590
2590
|
}, "strip", z.ZodTypeAny, {
|
|
2591
|
-
perAccount: Record<string, ("
|
|
2591
|
+
perAccount: Record<string, ("REPUBLISH" | "UNKNOWN" | "PUBLISH" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE" | "UPDATE_CANCEL" | "BOOST")[]>;
|
|
2592
2592
|
}, {
|
|
2593
2593
|
perAccount: Record<string, unknown[]>;
|
|
2594
2594
|
}>;
|
|
@@ -2613,15 +2613,15 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2613
2613
|
}, "strip", z.ZodTypeAny, {
|
|
2614
2614
|
path: string;
|
|
2615
2615
|
id: string;
|
|
2616
|
-
userId: number;
|
|
2617
2616
|
createdAt: Date;
|
|
2617
|
+
userId: number;
|
|
2618
2618
|
signedUrl: string;
|
|
2619
2619
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2620
2620
|
}, {
|
|
2621
2621
|
path: string;
|
|
2622
2622
|
id: string;
|
|
2623
|
-
userId: number;
|
|
2624
2623
|
createdAt: Date;
|
|
2624
|
+
userId: number;
|
|
2625
2625
|
signedUrl: string;
|
|
2626
2626
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2627
2627
|
}>>>;
|
|
@@ -2635,15 +2635,15 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2635
2635
|
}, "strip", z.ZodTypeAny, {
|
|
2636
2636
|
path: string;
|
|
2637
2637
|
id: string;
|
|
2638
|
-
userId: number;
|
|
2639
2638
|
createdAt: Date;
|
|
2639
|
+
userId: number;
|
|
2640
2640
|
signedUrl: string;
|
|
2641
2641
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2642
2642
|
}, {
|
|
2643
2643
|
path: string;
|
|
2644
2644
|
id: string;
|
|
2645
|
-
userId: number;
|
|
2646
2645
|
createdAt: Date;
|
|
2646
|
+
userId: number;
|
|
2647
2647
|
signedUrl: string;
|
|
2648
2648
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2649
2649
|
}>>>;
|
|
@@ -2657,81 +2657,81 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2657
2657
|
}, "strip", z.ZodTypeAny, {
|
|
2658
2658
|
path: string;
|
|
2659
2659
|
id: string;
|
|
2660
|
-
userId: number;
|
|
2661
2660
|
createdAt: Date;
|
|
2661
|
+
userId: number;
|
|
2662
2662
|
signedUrl: string;
|
|
2663
2663
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2664
2664
|
}, {
|
|
2665
2665
|
path: string;
|
|
2666
2666
|
id: string;
|
|
2667
|
-
userId: number;
|
|
2668
2667
|
createdAt: Date;
|
|
2668
|
+
userId: number;
|
|
2669
2669
|
signedUrl: string;
|
|
2670
2670
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2671
2671
|
}>>>;
|
|
2672
2672
|
carrier: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["MONDIAL_RELAY", "MONDIAL_RELAY_2", "MONDIAL_RELAY_3", "MONDIAL_RELAY_4", "MONDIAL_RELAY_5", "UPS", "CHRONOPOST", "COLISSIMO", "RELAIS_COLIS", "VINTED_GO", "VINTED_GO_BE", "VINTED_VERIF", "B_POST", "VINTED_GO_IT", "DPD", "VINTED_GO_DIGITAL", "DHL", "DHL_ECONOMY", "UNKNOWN"]>>>>;
|
|
2673
2673
|
}, "strip", z.ZodTypeAny, {
|
|
2674
2674
|
id: string;
|
|
2675
|
-
orderId: string;
|
|
2676
2675
|
fileId: string;
|
|
2676
|
+
orderId: string;
|
|
2677
2677
|
nonCroppedFileId: string;
|
|
2678
2678
|
originalFileId: string;
|
|
2679
|
-
|
|
2679
|
+
originalFile?: {
|
|
2680
2680
|
path: string;
|
|
2681
2681
|
id: string;
|
|
2682
|
-
userId: number;
|
|
2683
2682
|
createdAt: Date;
|
|
2683
|
+
userId: number;
|
|
2684
2684
|
signedUrl: string;
|
|
2685
2685
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2686
2686
|
} | null | undefined;
|
|
2687
|
-
|
|
2687
|
+
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;
|
|
2688
|
+
file?: {
|
|
2688
2689
|
path: string;
|
|
2689
2690
|
id: string;
|
|
2690
|
-
userId: number;
|
|
2691
2691
|
createdAt: Date;
|
|
2692
|
+
userId: number;
|
|
2692
2693
|
signedUrl: string;
|
|
2693
2694
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2694
2695
|
} | null | undefined;
|
|
2695
|
-
|
|
2696
|
+
nonCroppedFile?: {
|
|
2696
2697
|
path: string;
|
|
2697
2698
|
id: string;
|
|
2698
|
-
userId: number;
|
|
2699
2699
|
createdAt: Date;
|
|
2700
|
+
userId: number;
|
|
2700
2701
|
signedUrl: string;
|
|
2701
2702
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2702
2703
|
} | null | undefined;
|
|
2703
|
-
carrier?: "UNKNOWN" | "MONDIAL_RELAY" | "MONDIAL_RELAY_2" | "MONDIAL_RELAY_3" | "MONDIAL_RELAY_4" | "MONDIAL_RELAY_5" | "UPS" | "CHRONOPOST" | "COLISSIMO" | "RELAIS_COLIS" | "VINTED_GO" | "VINTED_GO_BE" | "VINTED_VERIF" | "B_POST" | "VINTED_GO_IT" | "DPD" | "VINTED_GO_DIGITAL" | "DHL" | "DHL_ECONOMY" | null | undefined;
|
|
2704
2704
|
}, {
|
|
2705
2705
|
id: string;
|
|
2706
|
-
orderId: string;
|
|
2707
2706
|
fileId: string;
|
|
2707
|
+
orderId: string;
|
|
2708
2708
|
nonCroppedFileId: string;
|
|
2709
2709
|
originalFileId: string;
|
|
2710
|
-
|
|
2710
|
+
originalFile?: {
|
|
2711
2711
|
path: string;
|
|
2712
2712
|
id: string;
|
|
2713
|
-
userId: number;
|
|
2714
2713
|
createdAt: Date;
|
|
2714
|
+
userId: number;
|
|
2715
2715
|
signedUrl: string;
|
|
2716
2716
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2717
2717
|
} | null | undefined;
|
|
2718
|
-
|
|
2718
|
+
carrier?: unknown;
|
|
2719
|
+
file?: {
|
|
2719
2720
|
path: string;
|
|
2720
2721
|
id: string;
|
|
2721
|
-
userId: number;
|
|
2722
2722
|
createdAt: Date;
|
|
2723
|
+
userId: number;
|
|
2723
2724
|
signedUrl: string;
|
|
2724
2725
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2725
2726
|
} | null | undefined;
|
|
2726
|
-
|
|
2727
|
+
nonCroppedFile?: {
|
|
2727
2728
|
path: string;
|
|
2728
2729
|
id: string;
|
|
2729
|
-
userId: number;
|
|
2730
2730
|
createdAt: Date;
|
|
2731
|
+
userId: number;
|
|
2731
2732
|
signedUrl: string;
|
|
2732
2733
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2733
2734
|
} | null | undefined;
|
|
2734
|
-
carrier?: unknown;
|
|
2735
2735
|
}>, "many">>>;
|
|
2736
2736
|
invoices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2737
2737
|
id: z.ZodString;
|
|
@@ -2758,15 +2758,15 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2758
2758
|
}, "strip", z.ZodTypeAny, {
|
|
2759
2759
|
path: string;
|
|
2760
2760
|
id: string;
|
|
2761
|
-
userId: number;
|
|
2762
2761
|
createdAt: Date;
|
|
2762
|
+
userId: number;
|
|
2763
2763
|
signedUrl: string;
|
|
2764
2764
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2765
2765
|
}, {
|
|
2766
2766
|
path: string;
|
|
2767
2767
|
id: string;
|
|
2768
|
-
userId: number;
|
|
2769
2768
|
createdAt: Date;
|
|
2769
|
+
userId: number;
|
|
2770
2770
|
signedUrl: string;
|
|
2771
2771
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2772
2772
|
}>>>;
|
|
@@ -2776,8 +2776,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2776
2776
|
vatRegime: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["MARGIN", "FRANCHISE", "NORMAL", "UNKNOWN"]>>>>;
|
|
2777
2777
|
}, "strip", z.ZodTypeAny, {
|
|
2778
2778
|
id: string;
|
|
2779
|
-
userId: number;
|
|
2780
2779
|
createdAt: Date;
|
|
2780
|
+
userId: number;
|
|
2781
2781
|
updatedAt: Date;
|
|
2782
2782
|
businessName: string;
|
|
2783
2783
|
address: string;
|
|
@@ -2790,16 +2790,16 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2790
2790
|
logo?: {
|
|
2791
2791
|
path: string;
|
|
2792
2792
|
id: string;
|
|
2793
|
-
userId: number;
|
|
2794
2793
|
createdAt: Date;
|
|
2794
|
+
userId: number;
|
|
2795
2795
|
signedUrl: string;
|
|
2796
2796
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2797
2797
|
} | null | undefined;
|
|
2798
2798
|
vatRegime?: "UNKNOWN" | "MARGIN" | "FRANCHISE" | "NORMAL" | null | undefined;
|
|
2799
2799
|
}, {
|
|
2800
2800
|
id: string;
|
|
2801
|
-
userId: number;
|
|
2802
2801
|
createdAt: Date;
|
|
2802
|
+
userId: number;
|
|
2803
2803
|
updatedAt: Date;
|
|
2804
2804
|
businessName: string;
|
|
2805
2805
|
address: string;
|
|
@@ -2812,8 +2812,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2812
2812
|
logo?: {
|
|
2813
2813
|
path: string;
|
|
2814
2814
|
id: string;
|
|
2815
|
-
userId: number;
|
|
2816
2815
|
createdAt: Date;
|
|
2816
|
+
userId: number;
|
|
2817
2817
|
signedUrl: string;
|
|
2818
2818
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2819
2819
|
} | null | undefined;
|
|
@@ -2843,34 +2843,34 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2843
2843
|
firstName: string;
|
|
2844
2844
|
lastName: string;
|
|
2845
2845
|
phoneVerified: boolean;
|
|
2846
|
-
postalCode?: string | null | undefined;
|
|
2847
|
-
city?: string | null | undefined;
|
|
2848
|
-
country?: string | null | undefined;
|
|
2849
|
-
email?: string | null | undefined;
|
|
2850
|
-
addressLine1?: string | null | undefined;
|
|
2851
|
-
addressLine2?: string | null | undefined;
|
|
2852
2846
|
birthDate?: Date | null | undefined;
|
|
2847
|
+
email?: string | null | undefined;
|
|
2853
2848
|
idNumber?: string | null | undefined;
|
|
2854
2849
|
phone?: string | null | undefined;
|
|
2855
2850
|
iban?: string | null | undefined;
|
|
2856
2851
|
bic?: string | null | undefined;
|
|
2852
|
+
addressLine1?: string | null | undefined;
|
|
2853
|
+
addressLine2?: string | null | undefined;
|
|
2854
|
+
city?: string | null | undefined;
|
|
2855
|
+
postalCode?: string | null | undefined;
|
|
2856
|
+
country?: string | null | undefined;
|
|
2857
2857
|
}, {
|
|
2858
2858
|
id: string;
|
|
2859
2859
|
userId: number;
|
|
2860
2860
|
firstName: string;
|
|
2861
2861
|
lastName: string;
|
|
2862
2862
|
phoneVerified: boolean;
|
|
2863
|
-
postalCode?: string | null | undefined;
|
|
2864
|
-
city?: string | null | undefined;
|
|
2865
|
-
country?: string | null | undefined;
|
|
2866
|
-
email?: string | null | undefined;
|
|
2867
|
-
addressLine1?: string | null | undefined;
|
|
2868
|
-
addressLine2?: string | null | undefined;
|
|
2869
2863
|
birthDate?: Date | null | undefined;
|
|
2864
|
+
email?: string | null | undefined;
|
|
2870
2865
|
idNumber?: string | null | undefined;
|
|
2871
2866
|
phone?: string | null | undefined;
|
|
2872
2867
|
iban?: string | null | undefined;
|
|
2873
2868
|
bic?: string | null | undefined;
|
|
2869
|
+
addressLine1?: string | null | undefined;
|
|
2870
|
+
addressLine2?: string | null | undefined;
|
|
2871
|
+
city?: string | null | undefined;
|
|
2872
|
+
postalCode?: string | null | undefined;
|
|
2873
|
+
country?: string | null | undefined;
|
|
2874
2874
|
}>>>;
|
|
2875
2875
|
orderId: z.ZodString;
|
|
2876
2876
|
fileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2884,15 +2884,15 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2884
2884
|
}, "strip", z.ZodTypeAny, {
|
|
2885
2885
|
path: string;
|
|
2886
2886
|
id: string;
|
|
2887
|
-
userId: number;
|
|
2888
2887
|
createdAt: Date;
|
|
2888
|
+
userId: number;
|
|
2889
2889
|
signedUrl: string;
|
|
2890
2890
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2891
2891
|
}, {
|
|
2892
2892
|
path: string;
|
|
2893
2893
|
id: string;
|
|
2894
|
-
userId: number;
|
|
2895
2894
|
createdAt: Date;
|
|
2895
|
+
userId: number;
|
|
2896
2896
|
signedUrl: string;
|
|
2897
2897
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2898
2898
|
}>>>;
|
|
@@ -2917,21 +2917,21 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2917
2917
|
total: z.ZodNumber;
|
|
2918
2918
|
createdAt: z.ZodDate;
|
|
2919
2919
|
}, "strip", z.ZodTypeAny, {
|
|
2920
|
-
quantity: number;
|
|
2921
|
-
id: number;
|
|
2922
2920
|
description: string;
|
|
2921
|
+
id: number;
|
|
2923
2922
|
createdAt: Date;
|
|
2924
2923
|
invoiceId: string;
|
|
2924
|
+
quantity: number;
|
|
2925
2925
|
unitPrice: number;
|
|
2926
2926
|
total: number;
|
|
2927
2927
|
itemOnPlatformId?: string | null | undefined;
|
|
2928
2928
|
vatRate?: number | null | undefined;
|
|
2929
2929
|
}, {
|
|
2930
|
-
quantity: number;
|
|
2931
|
-
id: number;
|
|
2932
2930
|
description: string;
|
|
2931
|
+
id: number;
|
|
2933
2932
|
createdAt: Date;
|
|
2934
2933
|
invoiceId: string;
|
|
2934
|
+
quantity: number;
|
|
2935
2935
|
unitPrice: number;
|
|
2936
2936
|
total: number;
|
|
2937
2937
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -2943,8 +2943,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2943
2943
|
type: "SALE" | "PURCHASE";
|
|
2944
2944
|
status: string;
|
|
2945
2945
|
id: string;
|
|
2946
|
-
userId: number;
|
|
2947
2946
|
createdAt: Date;
|
|
2947
|
+
userId: number;
|
|
2948
2948
|
currency: string;
|
|
2949
2949
|
orderId: string;
|
|
2950
2950
|
updatedAt: Date;
|
|
@@ -2953,21 +2953,21 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2953
2953
|
businessProfileId: string;
|
|
2954
2954
|
issueDate: Date;
|
|
2955
2955
|
subtotal: number;
|
|
2956
|
-
vatAmount?: number | null | undefined;
|
|
2957
2956
|
fileId?: string | null | undefined;
|
|
2957
|
+
vatAmount?: number | null | undefined;
|
|
2958
2958
|
file?: {
|
|
2959
2959
|
path: string;
|
|
2960
2960
|
id: string;
|
|
2961
|
-
userId: number;
|
|
2962
2961
|
createdAt: Date;
|
|
2962
|
+
userId: number;
|
|
2963
2963
|
signedUrl: string;
|
|
2964
2964
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2965
2965
|
} | null | undefined;
|
|
2966
2966
|
vatRate?: number | null | undefined;
|
|
2967
2967
|
businessProfile?: {
|
|
2968
2968
|
id: string;
|
|
2969
|
-
userId: number;
|
|
2970
2969
|
createdAt: Date;
|
|
2970
|
+
userId: number;
|
|
2971
2971
|
updatedAt: Date;
|
|
2972
2972
|
businessName: string;
|
|
2973
2973
|
address: string;
|
|
@@ -2980,8 +2980,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2980
2980
|
logo?: {
|
|
2981
2981
|
path: string;
|
|
2982
2982
|
id: string;
|
|
2983
|
-
userId: number;
|
|
2984
2983
|
createdAt: Date;
|
|
2984
|
+
userId: number;
|
|
2985
2985
|
signedUrl: string;
|
|
2986
2986
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2987
2987
|
} | null | undefined;
|
|
@@ -2994,26 +2994,26 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2994
2994
|
firstName: string;
|
|
2995
2995
|
lastName: string;
|
|
2996
2996
|
phoneVerified: boolean;
|
|
2997
|
-
postalCode?: string | null | undefined;
|
|
2998
|
-
city?: string | null | undefined;
|
|
2999
|
-
country?: string | null | undefined;
|
|
3000
|
-
email?: string | null | undefined;
|
|
3001
|
-
addressLine1?: string | null | undefined;
|
|
3002
|
-
addressLine2?: string | null | undefined;
|
|
3003
2997
|
birthDate?: Date | null | undefined;
|
|
2998
|
+
email?: string | null | undefined;
|
|
3004
2999
|
idNumber?: string | null | undefined;
|
|
3005
3000
|
phone?: string | null | undefined;
|
|
3006
3001
|
iban?: string | null | undefined;
|
|
3007
3002
|
bic?: string | null | undefined;
|
|
3003
|
+
addressLine1?: string | null | undefined;
|
|
3004
|
+
addressLine2?: string | null | undefined;
|
|
3005
|
+
city?: string | null | undefined;
|
|
3006
|
+
postalCode?: string | null | undefined;
|
|
3007
|
+
country?: string | null | undefined;
|
|
3008
3008
|
} | null | undefined;
|
|
3009
3009
|
dueDate?: Date | null | undefined;
|
|
3010
3010
|
notes?: string | null | undefined;
|
|
3011
3011
|
lineItems?: {
|
|
3012
|
-
quantity: number;
|
|
3013
|
-
id: number;
|
|
3014
3012
|
description: string;
|
|
3013
|
+
id: number;
|
|
3015
3014
|
createdAt: Date;
|
|
3016
3015
|
invoiceId: string;
|
|
3016
|
+
quantity: number;
|
|
3017
3017
|
unitPrice: number;
|
|
3018
3018
|
total: number;
|
|
3019
3019
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3023,8 +3023,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3023
3023
|
type: "SALE" | "PURCHASE";
|
|
3024
3024
|
status: string;
|
|
3025
3025
|
id: string;
|
|
3026
|
-
userId: number;
|
|
3027
3026
|
createdAt: Date;
|
|
3027
|
+
userId: number;
|
|
3028
3028
|
currency: string;
|
|
3029
3029
|
orderId: string;
|
|
3030
3030
|
updatedAt: Date;
|
|
@@ -3033,21 +3033,21 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3033
3033
|
businessProfileId: string;
|
|
3034
3034
|
issueDate: Date;
|
|
3035
3035
|
subtotal: number;
|
|
3036
|
-
vatAmount?: number | null | undefined;
|
|
3037
3036
|
fileId?: string | null | undefined;
|
|
3037
|
+
vatAmount?: number | null | undefined;
|
|
3038
3038
|
file?: {
|
|
3039
3039
|
path: string;
|
|
3040
3040
|
id: string;
|
|
3041
|
-
userId: number;
|
|
3042
3041
|
createdAt: Date;
|
|
3042
|
+
userId: number;
|
|
3043
3043
|
signedUrl: string;
|
|
3044
3044
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3045
3045
|
} | null | undefined;
|
|
3046
3046
|
vatRate?: number | null | undefined;
|
|
3047
3047
|
businessProfile?: {
|
|
3048
3048
|
id: string;
|
|
3049
|
-
userId: number;
|
|
3050
3049
|
createdAt: Date;
|
|
3050
|
+
userId: number;
|
|
3051
3051
|
updatedAt: Date;
|
|
3052
3052
|
businessName: string;
|
|
3053
3053
|
address: string;
|
|
@@ -3060,8 +3060,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3060
3060
|
logo?: {
|
|
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;
|
|
@@ -3074,26 +3074,26 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3074
3074
|
firstName: string;
|
|
3075
3075
|
lastName: string;
|
|
3076
3076
|
phoneVerified: boolean;
|
|
3077
|
-
postalCode?: string | null | undefined;
|
|
3078
|
-
city?: string | null | undefined;
|
|
3079
|
-
country?: string | null | undefined;
|
|
3080
|
-
email?: string | null | undefined;
|
|
3081
|
-
addressLine1?: string | null | undefined;
|
|
3082
|
-
addressLine2?: string | null | undefined;
|
|
3083
3077
|
birthDate?: Date | null | undefined;
|
|
3078
|
+
email?: string | null | undefined;
|
|
3084
3079
|
idNumber?: string | null | undefined;
|
|
3085
3080
|
phone?: string | null | undefined;
|
|
3086
3081
|
iban?: string | null | undefined;
|
|
3087
3082
|
bic?: string | null | undefined;
|
|
3083
|
+
addressLine1?: string | null | undefined;
|
|
3084
|
+
addressLine2?: string | null | undefined;
|
|
3085
|
+
city?: string | null | undefined;
|
|
3086
|
+
postalCode?: string | null | undefined;
|
|
3087
|
+
country?: string | null | undefined;
|
|
3088
3088
|
} | null | undefined;
|
|
3089
3089
|
dueDate?: Date | null | undefined;
|
|
3090
3090
|
notes?: string | null | undefined;
|
|
3091
3091
|
lineItems?: {
|
|
3092
|
-
quantity: number;
|
|
3093
|
-
id: number;
|
|
3094
3092
|
description: string;
|
|
3093
|
+
id: number;
|
|
3095
3094
|
createdAt: Date;
|
|
3096
3095
|
invoiceId: string;
|
|
3096
|
+
quantity: number;
|
|
3097
3097
|
unitPrice: number;
|
|
3098
3098
|
total: number;
|
|
3099
3099
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3104,42 +3104,42 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3104
3104
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
3105
3105
|
labels?: {
|
|
3106
3106
|
id: string;
|
|
3107
|
-
orderId: string;
|
|
3108
3107
|
fileId: string;
|
|
3108
|
+
orderId: string;
|
|
3109
3109
|
nonCroppedFileId: string;
|
|
3110
3110
|
originalFileId: string;
|
|
3111
|
-
|
|
3111
|
+
originalFile?: {
|
|
3112
3112
|
path: string;
|
|
3113
3113
|
id: string;
|
|
3114
|
-
userId: number;
|
|
3115
3114
|
createdAt: Date;
|
|
3115
|
+
userId: number;
|
|
3116
3116
|
signedUrl: string;
|
|
3117
3117
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3118
3118
|
} | null | undefined;
|
|
3119
|
-
|
|
3119
|
+
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;
|
|
3120
|
+
file?: {
|
|
3120
3121
|
path: string;
|
|
3121
3122
|
id: string;
|
|
3122
|
-
userId: number;
|
|
3123
3123
|
createdAt: Date;
|
|
3124
|
+
userId: number;
|
|
3124
3125
|
signedUrl: string;
|
|
3125
3126
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3126
3127
|
} | null | undefined;
|
|
3127
|
-
|
|
3128
|
+
nonCroppedFile?: {
|
|
3128
3129
|
path: string;
|
|
3129
3130
|
id: string;
|
|
3130
|
-
userId: number;
|
|
3131
3131
|
createdAt: Date;
|
|
3132
|
+
userId: number;
|
|
3132
3133
|
signedUrl: string;
|
|
3133
3134
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3134
3135
|
} | null | undefined;
|
|
3135
|
-
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;
|
|
3136
3136
|
}[] | null | undefined;
|
|
3137
3137
|
invoices?: {
|
|
3138
3138
|
type: "SALE" | "PURCHASE";
|
|
3139
3139
|
status: string;
|
|
3140
3140
|
id: string;
|
|
3141
|
-
userId: number;
|
|
3142
3141
|
createdAt: Date;
|
|
3142
|
+
userId: number;
|
|
3143
3143
|
currency: string;
|
|
3144
3144
|
orderId: string;
|
|
3145
3145
|
updatedAt: Date;
|
|
@@ -3148,21 +3148,21 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3148
3148
|
businessProfileId: string;
|
|
3149
3149
|
issueDate: Date;
|
|
3150
3150
|
subtotal: number;
|
|
3151
|
-
vatAmount?: number | null | undefined;
|
|
3152
3151
|
fileId?: string | null | undefined;
|
|
3152
|
+
vatAmount?: number | null | undefined;
|
|
3153
3153
|
file?: {
|
|
3154
3154
|
path: string;
|
|
3155
3155
|
id: string;
|
|
3156
|
-
userId: number;
|
|
3157
3156
|
createdAt: Date;
|
|
3157
|
+
userId: number;
|
|
3158
3158
|
signedUrl: string;
|
|
3159
3159
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3160
3160
|
} | null | undefined;
|
|
3161
3161
|
vatRate?: number | null | undefined;
|
|
3162
3162
|
businessProfile?: {
|
|
3163
3163
|
id: string;
|
|
3164
|
-
userId: number;
|
|
3165
3164
|
createdAt: Date;
|
|
3165
|
+
userId: number;
|
|
3166
3166
|
updatedAt: Date;
|
|
3167
3167
|
businessName: string;
|
|
3168
3168
|
address: string;
|
|
@@ -3175,8 +3175,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3175
3175
|
logo?: {
|
|
3176
3176
|
path: string;
|
|
3177
3177
|
id: string;
|
|
3178
|
-
userId: number;
|
|
3179
3178
|
createdAt: Date;
|
|
3179
|
+
userId: number;
|
|
3180
3180
|
signedUrl: string;
|
|
3181
3181
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3182
3182
|
} | null | undefined;
|
|
@@ -3189,26 +3189,26 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3189
3189
|
firstName: string;
|
|
3190
3190
|
lastName: string;
|
|
3191
3191
|
phoneVerified: boolean;
|
|
3192
|
-
postalCode?: string | null | undefined;
|
|
3193
|
-
city?: string | null | undefined;
|
|
3194
|
-
country?: string | null | undefined;
|
|
3195
|
-
email?: string | null | undefined;
|
|
3196
|
-
addressLine1?: string | null | undefined;
|
|
3197
|
-
addressLine2?: string | null | undefined;
|
|
3198
3192
|
birthDate?: Date | null | undefined;
|
|
3193
|
+
email?: string | null | undefined;
|
|
3199
3194
|
idNumber?: string | null | undefined;
|
|
3200
3195
|
phone?: string | null | undefined;
|
|
3201
3196
|
iban?: string | null | undefined;
|
|
3202
3197
|
bic?: string | null | undefined;
|
|
3198
|
+
addressLine1?: string | null | undefined;
|
|
3199
|
+
addressLine2?: string | null | undefined;
|
|
3200
|
+
city?: string | null | undefined;
|
|
3201
|
+
postalCode?: string | null | undefined;
|
|
3202
|
+
country?: string | null | undefined;
|
|
3203
3203
|
} | null | undefined;
|
|
3204
3204
|
dueDate?: Date | null | undefined;
|
|
3205
3205
|
notes?: string | null | undefined;
|
|
3206
3206
|
lineItems?: {
|
|
3207
|
-
quantity: number;
|
|
3208
|
-
id: number;
|
|
3209
3207
|
description: string;
|
|
3208
|
+
id: number;
|
|
3210
3209
|
createdAt: Date;
|
|
3211
3210
|
invoiceId: string;
|
|
3211
|
+
quantity: number;
|
|
3212
3212
|
unitPrice: number;
|
|
3213
3213
|
total: number;
|
|
3214
3214
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3219,42 +3219,42 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3219
3219
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
3220
3220
|
labels?: {
|
|
3221
3221
|
id: string;
|
|
3222
|
-
orderId: string;
|
|
3223
3222
|
fileId: string;
|
|
3223
|
+
orderId: string;
|
|
3224
3224
|
nonCroppedFileId: string;
|
|
3225
3225
|
originalFileId: string;
|
|
3226
|
-
|
|
3226
|
+
originalFile?: {
|
|
3227
3227
|
path: string;
|
|
3228
3228
|
id: string;
|
|
3229
|
-
userId: number;
|
|
3230
3229
|
createdAt: Date;
|
|
3230
|
+
userId: number;
|
|
3231
3231
|
signedUrl: string;
|
|
3232
3232
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3233
3233
|
} | null | undefined;
|
|
3234
|
-
|
|
3234
|
+
carrier?: unknown;
|
|
3235
|
+
file?: {
|
|
3235
3236
|
path: string;
|
|
3236
3237
|
id: string;
|
|
3237
|
-
userId: number;
|
|
3238
3238
|
createdAt: Date;
|
|
3239
|
+
userId: number;
|
|
3239
3240
|
signedUrl: string;
|
|
3240
3241
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3241
3242
|
} | null | undefined;
|
|
3242
|
-
|
|
3243
|
+
nonCroppedFile?: {
|
|
3243
3244
|
path: string;
|
|
3244
3245
|
id: string;
|
|
3245
|
-
userId: number;
|
|
3246
3246
|
createdAt: Date;
|
|
3247
|
+
userId: number;
|
|
3247
3248
|
signedUrl: string;
|
|
3248
3249
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3249
3250
|
} | null | undefined;
|
|
3250
|
-
carrier?: unknown;
|
|
3251
3251
|
}[] | null | undefined;
|
|
3252
3252
|
invoices?: {
|
|
3253
3253
|
type: "SALE" | "PURCHASE";
|
|
3254
3254
|
status: string;
|
|
3255
3255
|
id: string;
|
|
3256
|
-
userId: number;
|
|
3257
3256
|
createdAt: Date;
|
|
3257
|
+
userId: number;
|
|
3258
3258
|
currency: string;
|
|
3259
3259
|
orderId: string;
|
|
3260
3260
|
updatedAt: Date;
|
|
@@ -3263,21 +3263,21 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3263
3263
|
businessProfileId: string;
|
|
3264
3264
|
issueDate: Date;
|
|
3265
3265
|
subtotal: number;
|
|
3266
|
-
vatAmount?: number | null | undefined;
|
|
3267
3266
|
fileId?: string | null | undefined;
|
|
3267
|
+
vatAmount?: number | null | undefined;
|
|
3268
3268
|
file?: {
|
|
3269
3269
|
path: string;
|
|
3270
3270
|
id: string;
|
|
3271
|
-
userId: number;
|
|
3272
3271
|
createdAt: Date;
|
|
3272
|
+
userId: number;
|
|
3273
3273
|
signedUrl: string;
|
|
3274
3274
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3275
3275
|
} | null | undefined;
|
|
3276
3276
|
vatRate?: number | null | undefined;
|
|
3277
3277
|
businessProfile?: {
|
|
3278
3278
|
id: string;
|
|
3279
|
-
userId: number;
|
|
3280
3279
|
createdAt: Date;
|
|
3280
|
+
userId: number;
|
|
3281
3281
|
updatedAt: Date;
|
|
3282
3282
|
businessName: string;
|
|
3283
3283
|
address: string;
|
|
@@ -3290,8 +3290,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3290
3290
|
logo?: {
|
|
3291
3291
|
path: string;
|
|
3292
3292
|
id: string;
|
|
3293
|
-
userId: number;
|
|
3294
3293
|
createdAt: Date;
|
|
3294
|
+
userId: number;
|
|
3295
3295
|
signedUrl: string;
|
|
3296
3296
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3297
3297
|
} | null | undefined;
|
|
@@ -3304,26 +3304,26 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3304
3304
|
firstName: string;
|
|
3305
3305
|
lastName: string;
|
|
3306
3306
|
phoneVerified: boolean;
|
|
3307
|
-
postalCode?: string | null | undefined;
|
|
3308
|
-
city?: string | null | undefined;
|
|
3309
|
-
country?: string | null | undefined;
|
|
3310
|
-
email?: string | null | undefined;
|
|
3311
|
-
addressLine1?: string | null | undefined;
|
|
3312
|
-
addressLine2?: string | null | undefined;
|
|
3313
3307
|
birthDate?: Date | null | undefined;
|
|
3308
|
+
email?: string | null | undefined;
|
|
3314
3309
|
idNumber?: string | null | undefined;
|
|
3315
3310
|
phone?: string | null | undefined;
|
|
3316
3311
|
iban?: string | null | undefined;
|
|
3317
3312
|
bic?: string | null | undefined;
|
|
3313
|
+
addressLine1?: string | null | undefined;
|
|
3314
|
+
addressLine2?: string | null | undefined;
|
|
3315
|
+
city?: string | null | undefined;
|
|
3316
|
+
postalCode?: string | null | undefined;
|
|
3317
|
+
country?: string | null | undefined;
|
|
3318
3318
|
} | null | undefined;
|
|
3319
3319
|
dueDate?: Date | null | undefined;
|
|
3320
3320
|
notes?: string | null | undefined;
|
|
3321
3321
|
lineItems?: {
|
|
3322
|
-
quantity: number;
|
|
3323
|
-
id: number;
|
|
3324
3322
|
description: string;
|
|
3323
|
+
id: number;
|
|
3325
3324
|
createdAt: Date;
|
|
3326
3325
|
invoiceId: string;
|
|
3326
|
+
quantity: number;
|
|
3327
3327
|
unitPrice: number;
|
|
3328
3328
|
total: number;
|
|
3329
3329
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3333,29 +3333,45 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3333
3333
|
}>>>;
|
|
3334
3334
|
analysisStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "COMPLETED", "FAILED"]>>>;
|
|
3335
3335
|
}, "strip", z.ZodTypeAny, {
|
|
3336
|
-
|
|
3337
|
-
|
|
3336
|
+
actions: {
|
|
3337
|
+
perAccount: Record<string, ("REPUBLISH" | "UNKNOWN" | "PUBLISH" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE" | "UPDATE_CANCEL" | "BOOST")[]>;
|
|
3338
|
+
};
|
|
3338
3339
|
name: string;
|
|
3340
|
+
id: number;
|
|
3339
3341
|
createdAt: Date;
|
|
3342
|
+
userId: number;
|
|
3340
3343
|
updatedAt: Date;
|
|
3341
3344
|
sold: boolean;
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
+
fees?: {
|
|
3346
|
+
value: number;
|
|
3347
|
+
type: string;
|
|
3348
|
+
name: string;
|
|
3349
|
+
id: number;
|
|
3350
|
+
createdAt: Date;
|
|
3351
|
+
userId: number;
|
|
3352
|
+
updatedAt: Date;
|
|
3353
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
3354
|
+
startDate: Date;
|
|
3355
|
+
active: boolean;
|
|
3356
|
+
description?: string | null | undefined;
|
|
3357
|
+
itemId?: number | null | undefined;
|
|
3358
|
+
endDate?: Date | null | undefined;
|
|
3359
|
+
parentFeeId?: number | null | undefined;
|
|
3360
|
+
}[] | null | undefined;
|
|
3345
3361
|
description?: string | null | undefined;
|
|
3346
3362
|
categoryId?: number | null | undefined;
|
|
3347
|
-
|
|
3363
|
+
sizeId?: number | null | undefined;
|
|
3348
3364
|
colorIds?: number[] | null | undefined;
|
|
3365
|
+
packageSizeId?: number | null | undefined;
|
|
3366
|
+
state?: number | null | undefined;
|
|
3349
3367
|
measurementLength?: number | null | undefined;
|
|
3350
3368
|
measurementWidth?: number | null | undefined;
|
|
3351
|
-
packageSizeId?: number | null | undefined;
|
|
3352
|
-
sizeId?: number | null | undefined;
|
|
3353
3369
|
labels?: {
|
|
3354
3370
|
itemId: number;
|
|
3355
3371
|
labelId: number;
|
|
3356
3372
|
label?: {
|
|
3357
|
-
id: number;
|
|
3358
3373
|
name: string;
|
|
3374
|
+
id: number;
|
|
3359
3375
|
createdAt: Date;
|
|
3360
3376
|
isUserLabel: boolean;
|
|
3361
3377
|
itemCount?: number | null | undefined;
|
|
@@ -3368,50 +3384,86 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3368
3384
|
fieldKey: string;
|
|
3369
3385
|
}[] | null | undefined;
|
|
3370
3386
|
sku?: string | null | undefined;
|
|
3371
|
-
|
|
3372
|
-
|
|
3387
|
+
sex?: string | null | undefined;
|
|
3388
|
+
platforms?: {
|
|
3389
|
+
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
3390
|
+
id: string;
|
|
3391
|
+
createdAt: Date;
|
|
3392
|
+
accountId: string;
|
|
3373
3393
|
itemId: number;
|
|
3374
|
-
|
|
3394
|
+
platformId: string;
|
|
3395
|
+
platformUrl: string;
|
|
3396
|
+
platformPrice: number;
|
|
3397
|
+
updatedAt: Date;
|
|
3398
|
+
publishedAt: Date;
|
|
3399
|
+
conversationId?: string | null | undefined;
|
|
3400
|
+
boostedAt?: Date | null | undefined;
|
|
3401
|
+
boostedUntil?: Date | null | undefined;
|
|
3402
|
+
viewsCount?: number | null | undefined;
|
|
3403
|
+
favoritesCount?: number | null | undefined;
|
|
3404
|
+
account?: {
|
|
3405
|
+
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
3406
|
+
name: string;
|
|
3407
|
+
userId: number;
|
|
3408
|
+
accountId: string;
|
|
3409
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3410
|
+
locale?: string | null | undefined;
|
|
3411
|
+
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
3412
|
+
restrictedUntil?: Date | null | undefined;
|
|
3413
|
+
night?: {
|
|
3414
|
+
startsAt: Date;
|
|
3415
|
+
endsAt: Date;
|
|
3416
|
+
} | null | undefined;
|
|
3417
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
3418
|
+
ordersMaxDelay?: number | null | undefined;
|
|
3419
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
3420
|
+
walletMaxDelay?: number | null | undefined;
|
|
3421
|
+
availableBalance?: number | null | undefined;
|
|
3422
|
+
pendingBalance?: number | null | undefined;
|
|
3423
|
+
profilePictureFileId?: string | null | undefined;
|
|
3424
|
+
profilePicture?: {
|
|
3425
|
+
path: string;
|
|
3426
|
+
id: string;
|
|
3427
|
+
createdAt: Date;
|
|
3428
|
+
userId: number;
|
|
3429
|
+
signedUrl: string;
|
|
3430
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3431
|
+
} | null | undefined;
|
|
3432
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
3433
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
3434
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
3435
|
+
} | null | undefined;
|
|
3436
|
+
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;
|
|
3437
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
3438
|
+
isBoosted?: boolean | null | undefined;
|
|
3375
3439
|
}[] | null | undefined;
|
|
3376
|
-
|
|
3440
|
+
brandId?: number | null | undefined;
|
|
3441
|
+
estimatedPrice?: number | null | undefined;
|
|
3442
|
+
purchaseDate?: Date | null | undefined;
|
|
3443
|
+
sellingDate?: Date | null | undefined;
|
|
3444
|
+
fields?: {
|
|
3445
|
+
value: string;
|
|
3377
3446
|
itemId: number;
|
|
3447
|
+
fieldId: number;
|
|
3448
|
+
}[] | null | undefined;
|
|
3449
|
+
files?: {
|
|
3378
3450
|
fileId: string;
|
|
3451
|
+
itemId: number;
|
|
3379
3452
|
file?: {
|
|
3380
3453
|
path: string;
|
|
3381
3454
|
id: string;
|
|
3382
|
-
userId: number;
|
|
3383
3455
|
createdAt: Date;
|
|
3456
|
+
userId: number;
|
|
3384
3457
|
signedUrl: string;
|
|
3385
3458
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3386
3459
|
} | null | undefined;
|
|
3387
3460
|
index?: number | null | undefined;
|
|
3388
3461
|
}[] | null | undefined;
|
|
3389
|
-
brandId?: number | null | undefined;
|
|
3390
|
-
sex?: string | null | undefined;
|
|
3391
3462
|
purchasePrice?: number | null | undefined;
|
|
3392
|
-
purchaseDate?: Date | null | undefined;
|
|
3393
3463
|
purchasePlaceId?: number | null | undefined;
|
|
3394
3464
|
purchased?: boolean | null | undefined;
|
|
3395
3465
|
sellingPrice?: number | null | undefined;
|
|
3396
|
-
sellingDate?: Date | null | undefined;
|
|
3397
3466
|
sellingPlaceId?: number | null | undefined;
|
|
3398
|
-
estimatedPrice?: number | null | undefined;
|
|
3399
|
-
fees?: {
|
|
3400
|
-
value: number;
|
|
3401
|
-
type: string;
|
|
3402
|
-
id: number;
|
|
3403
|
-
userId: number;
|
|
3404
|
-
name: string;
|
|
3405
|
-
createdAt: Date;
|
|
3406
|
-
updatedAt: Date;
|
|
3407
|
-
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
3408
|
-
startDate: Date;
|
|
3409
|
-
active: boolean;
|
|
3410
|
-
description?: string | null | undefined;
|
|
3411
|
-
itemId?: number | null | undefined;
|
|
3412
|
-
endDate?: Date | null | undefined;
|
|
3413
|
-
parentFeeId?: number | null | undefined;
|
|
3414
|
-
}[] | null | undefined;
|
|
3415
3467
|
feesSum?: number | null | undefined;
|
|
3416
3468
|
materialIds?: number[] | null | undefined;
|
|
3417
3469
|
enumValues?: {
|
|
@@ -3427,7 +3479,6 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3427
3479
|
id: string;
|
|
3428
3480
|
createdAt: Date;
|
|
3429
3481
|
itemId: number;
|
|
3430
|
-
accountId?: string | null | undefined;
|
|
3431
3482
|
data?: {
|
|
3432
3483
|
type: "ACTION_CANCELED";
|
|
3433
3484
|
data: {
|
|
@@ -3463,7 +3514,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3463
3514
|
accountId?: string | null | undefined;
|
|
3464
3515
|
reason?: string | null | undefined;
|
|
3465
3516
|
fields?: {
|
|
3466
|
-
field: "
|
|
3517
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
3467
3518
|
autoFixable: boolean;
|
|
3468
3519
|
error?: string | null | undefined;
|
|
3469
3520
|
}[] | null | undefined;
|
|
@@ -3493,23 +3544,23 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3493
3544
|
post: {
|
|
3494
3545
|
platformId: string;
|
|
3495
3546
|
post: {
|
|
3496
|
-
size?: string | null | undefined;
|
|
3497
3547
|
status?: string | null | undefined;
|
|
3498
3548
|
title?: string | null | undefined;
|
|
3499
3549
|
description?: string | null | undefined;
|
|
3550
|
+
brand?: string | null | undefined;
|
|
3551
|
+
statusId?: number | null | undefined;
|
|
3552
|
+
sizeId?: number | null | undefined;
|
|
3553
|
+
colorIds?: number[] | null | undefined;
|
|
3554
|
+
packageSizeId?: number | null | undefined;
|
|
3500
3555
|
price?: number | null | undefined;
|
|
3501
3556
|
currency?: string | null | undefined;
|
|
3502
|
-
brand?: string | null | undefined;
|
|
3503
3557
|
catalog?: string | null | undefined;
|
|
3504
3558
|
catalogId?: number | null | undefined;
|
|
3505
3559
|
colors?: string[] | null | undefined;
|
|
3506
|
-
colorIds?: number[] | null | undefined;
|
|
3507
3560
|
measurementLength?: number | null | undefined;
|
|
3508
3561
|
measurementWidth?: number | null | undefined;
|
|
3509
|
-
packageSizeId?: number | null | undefined;
|
|
3510
3562
|
photoUrls?: string[] | null | undefined;
|
|
3511
|
-
|
|
3512
|
-
statusId?: number | null | undefined;
|
|
3563
|
+
size?: string | null | undefined;
|
|
3513
3564
|
isDraft?: boolean | null | undefined;
|
|
3514
3565
|
isArchived?: boolean | null | undefined;
|
|
3515
3566
|
isUnisex?: boolean | null | undefined;
|
|
@@ -3552,8 +3603,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3552
3603
|
} | {
|
|
3553
3604
|
type: "LIFECYCLE_STARTED";
|
|
3554
3605
|
data: {
|
|
3555
|
-
accountId: string;
|
|
3556
3606
|
caseId: string;
|
|
3607
|
+
accountId: string;
|
|
3557
3608
|
isRepeat?: boolean | null | undefined;
|
|
3558
3609
|
};
|
|
3559
3610
|
} | {
|
|
@@ -3592,17 +3643,17 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3592
3643
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
3593
3644
|
} | null | undefined;
|
|
3594
3645
|
} | null | undefined;
|
|
3595
|
-
targetAccountId?: string | null | undefined;
|
|
3596
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
3597
3646
|
publishingDate?: Date | null | undefined;
|
|
3598
3647
|
isTransfer?: boolean | null | undefined;
|
|
3648
|
+
targetAccountId?: string | null | undefined;
|
|
3649
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
3599
3650
|
};
|
|
3600
3651
|
} | {
|
|
3601
3652
|
type: "REPUBLISHING_RETRY";
|
|
3602
3653
|
data: {
|
|
3654
|
+
maxAttempts: number;
|
|
3603
3655
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3604
3656
|
attemptNumber: number;
|
|
3605
|
-
maxAttempts: number;
|
|
3606
3657
|
previousHistoryId: string;
|
|
3607
3658
|
originalFailureDate: Date;
|
|
3608
3659
|
payload?: {
|
|
@@ -3630,7 +3681,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3630
3681
|
} | null | undefined;
|
|
3631
3682
|
} | null | undefined;
|
|
3632
3683
|
fields?: {
|
|
3633
|
-
field: "
|
|
3684
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
3634
3685
|
autoFixable: boolean;
|
|
3635
3686
|
error?: string | null | undefined;
|
|
3636
3687
|
}[] | null | undefined;
|
|
@@ -3644,13 +3695,13 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3644
3695
|
} | {
|
|
3645
3696
|
type: "SCHEDULED_RETRY";
|
|
3646
3697
|
data: {
|
|
3698
|
+
maxAttempts: number;
|
|
3647
3699
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3648
3700
|
attemptNumber: number;
|
|
3649
|
-
maxAttempts: number;
|
|
3650
3701
|
previousHistoryId: string;
|
|
3651
3702
|
originalFailureDate: Date;
|
|
3652
3703
|
fields?: {
|
|
3653
|
-
field: "
|
|
3704
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
3654
3705
|
autoFixable: boolean;
|
|
3655
3706
|
error?: string | null | undefined;
|
|
3656
3707
|
}[] | null | undefined;
|
|
@@ -3679,103 +3730,52 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3679
3730
|
targetDate?: Date | null | undefined;
|
|
3680
3731
|
};
|
|
3681
3732
|
} | null | undefined;
|
|
3733
|
+
accountId?: string | null | undefined;
|
|
3682
3734
|
targetDate?: Date | null | undefined;
|
|
3683
3735
|
requestId?: string | null | undefined;
|
|
3684
3736
|
targetHistoryId?: string | null | undefined;
|
|
3685
3737
|
} | null | undefined;
|
|
3686
|
-
platforms?: {
|
|
3687
|
-
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
3688
|
-
id: string;
|
|
3689
|
-
accountId: string;
|
|
3690
|
-
createdAt: Date;
|
|
3691
|
-
itemId: number;
|
|
3692
|
-
platformId: string;
|
|
3693
|
-
platformUrl: string;
|
|
3694
|
-
platformPrice: number;
|
|
3695
|
-
updatedAt: Date;
|
|
3696
|
-
publishedAt: Date;
|
|
3697
|
-
conversationId?: string | null | undefined;
|
|
3698
|
-
boostedAt?: Date | null | undefined;
|
|
3699
|
-
boostedUntil?: Date | null | undefined;
|
|
3700
|
-
viewsCount?: number | null | undefined;
|
|
3701
|
-
favoritesCount?: number | null | undefined;
|
|
3702
|
-
account?: {
|
|
3703
|
-
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
3704
|
-
accountId: string;
|
|
3705
|
-
userId: number;
|
|
3706
|
-
name: string;
|
|
3707
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3708
|
-
locale?: string | null | undefined;
|
|
3709
|
-
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
3710
|
-
restrictedUntil?: Date | null | undefined;
|
|
3711
|
-
night?: {
|
|
3712
|
-
startsAt: Date;
|
|
3713
|
-
endsAt: Date;
|
|
3714
|
-
} | null | undefined;
|
|
3715
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
3716
|
-
ordersMaxDelay?: number | null | undefined;
|
|
3717
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
3718
|
-
walletMaxDelay?: number | null | undefined;
|
|
3719
|
-
availableBalance?: number | null | undefined;
|
|
3720
|
-
pendingBalance?: number | null | undefined;
|
|
3721
|
-
profilePictureFileId?: string | null | undefined;
|
|
3722
|
-
profilePicture?: {
|
|
3723
|
-
path: string;
|
|
3724
|
-
id: string;
|
|
3725
|
-
userId: number;
|
|
3726
|
-
createdAt: Date;
|
|
3727
|
-
signedUrl: string;
|
|
3728
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3729
|
-
} | null | undefined;
|
|
3730
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
3731
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
3732
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
3733
|
-
} | null | undefined;
|
|
3734
|
-
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;
|
|
3735
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
3736
|
-
isBoosted?: boolean | null | undefined;
|
|
3737
|
-
}[] | null | undefined;
|
|
3738
3738
|
sourceInConversation?: "UNKNOWN" | "DELETED" | "ORDER" | "TRANSACTION" | null | undefined;
|
|
3739
3739
|
order?: {
|
|
3740
3740
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
3741
3741
|
labels?: {
|
|
3742
3742
|
id: string;
|
|
3743
|
-
orderId: string;
|
|
3744
3743
|
fileId: string;
|
|
3744
|
+
orderId: string;
|
|
3745
3745
|
nonCroppedFileId: string;
|
|
3746
3746
|
originalFileId: string;
|
|
3747
|
-
|
|
3747
|
+
originalFile?: {
|
|
3748
3748
|
path: string;
|
|
3749
3749
|
id: string;
|
|
3750
|
-
userId: number;
|
|
3751
3750
|
createdAt: Date;
|
|
3751
|
+
userId: number;
|
|
3752
3752
|
signedUrl: string;
|
|
3753
3753
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3754
3754
|
} | null | undefined;
|
|
3755
|
-
|
|
3755
|
+
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;
|
|
3756
|
+
file?: {
|
|
3756
3757
|
path: string;
|
|
3757
3758
|
id: string;
|
|
3758
|
-
userId: number;
|
|
3759
3759
|
createdAt: Date;
|
|
3760
|
+
userId: number;
|
|
3760
3761
|
signedUrl: string;
|
|
3761
3762
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3762
3763
|
} | null | undefined;
|
|
3763
|
-
|
|
3764
|
+
nonCroppedFile?: {
|
|
3764
3765
|
path: string;
|
|
3765
3766
|
id: string;
|
|
3766
|
-
userId: number;
|
|
3767
3767
|
createdAt: Date;
|
|
3768
|
+
userId: number;
|
|
3768
3769
|
signedUrl: string;
|
|
3769
3770
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3770
3771
|
} | null | undefined;
|
|
3771
|
-
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;
|
|
3772
3772
|
}[] | null | undefined;
|
|
3773
3773
|
invoices?: {
|
|
3774
3774
|
type: "SALE" | "PURCHASE";
|
|
3775
3775
|
status: string;
|
|
3776
3776
|
id: string;
|
|
3777
|
-
userId: number;
|
|
3778
3777
|
createdAt: Date;
|
|
3778
|
+
userId: number;
|
|
3779
3779
|
currency: string;
|
|
3780
3780
|
orderId: string;
|
|
3781
3781
|
updatedAt: Date;
|
|
@@ -3784,21 +3784,21 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3784
3784
|
businessProfileId: string;
|
|
3785
3785
|
issueDate: Date;
|
|
3786
3786
|
subtotal: number;
|
|
3787
|
-
vatAmount?: number | null | undefined;
|
|
3788
3787
|
fileId?: string | null | undefined;
|
|
3788
|
+
vatAmount?: number | null | undefined;
|
|
3789
3789
|
file?: {
|
|
3790
3790
|
path: string;
|
|
3791
3791
|
id: string;
|
|
3792
|
-
userId: number;
|
|
3793
3792
|
createdAt: Date;
|
|
3793
|
+
userId: number;
|
|
3794
3794
|
signedUrl: string;
|
|
3795
3795
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3796
3796
|
} | null | undefined;
|
|
3797
3797
|
vatRate?: number | null | undefined;
|
|
3798
3798
|
businessProfile?: {
|
|
3799
3799
|
id: string;
|
|
3800
|
-
userId: number;
|
|
3801
3800
|
createdAt: Date;
|
|
3801
|
+
userId: number;
|
|
3802
3802
|
updatedAt: Date;
|
|
3803
3803
|
businessName: string;
|
|
3804
3804
|
address: string;
|
|
@@ -3811,8 +3811,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3811
3811
|
logo?: {
|
|
3812
3812
|
path: string;
|
|
3813
3813
|
id: string;
|
|
3814
|
-
userId: number;
|
|
3815
3814
|
createdAt: Date;
|
|
3815
|
+
userId: number;
|
|
3816
3816
|
signedUrl: string;
|
|
3817
3817
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3818
3818
|
} | null | undefined;
|
|
@@ -3825,26 +3825,26 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3825
3825
|
firstName: string;
|
|
3826
3826
|
lastName: string;
|
|
3827
3827
|
phoneVerified: boolean;
|
|
3828
|
-
postalCode?: string | null | undefined;
|
|
3829
|
-
city?: string | null | undefined;
|
|
3830
|
-
country?: string | null | undefined;
|
|
3831
|
-
email?: string | null | undefined;
|
|
3832
|
-
addressLine1?: string | null | undefined;
|
|
3833
|
-
addressLine2?: string | null | undefined;
|
|
3834
3828
|
birthDate?: Date | null | undefined;
|
|
3829
|
+
email?: string | null | undefined;
|
|
3835
3830
|
idNumber?: string | null | undefined;
|
|
3836
3831
|
phone?: string | null | undefined;
|
|
3837
3832
|
iban?: string | null | undefined;
|
|
3838
3833
|
bic?: string | null | undefined;
|
|
3834
|
+
addressLine1?: string | null | undefined;
|
|
3835
|
+
addressLine2?: string | null | undefined;
|
|
3836
|
+
city?: string | null | undefined;
|
|
3837
|
+
postalCode?: string | null | undefined;
|
|
3838
|
+
country?: string | null | undefined;
|
|
3839
3839
|
} | null | undefined;
|
|
3840
3840
|
dueDate?: Date | null | undefined;
|
|
3841
3841
|
notes?: string | null | undefined;
|
|
3842
3842
|
lineItems?: {
|
|
3843
|
-
quantity: number;
|
|
3844
|
-
id: number;
|
|
3845
3843
|
description: string;
|
|
3844
|
+
id: number;
|
|
3846
3845
|
createdAt: Date;
|
|
3847
3846
|
invoiceId: string;
|
|
3847
|
+
quantity: number;
|
|
3848
3848
|
unitPrice: number;
|
|
3849
3849
|
total: number;
|
|
3850
3850
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3854,29 +3854,45 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3854
3854
|
} | null | undefined;
|
|
3855
3855
|
analysisStatus?: "PENDING" | "COMPLETED" | "FAILED" | null | undefined;
|
|
3856
3856
|
}, {
|
|
3857
|
-
|
|
3858
|
-
|
|
3857
|
+
actions: {
|
|
3858
|
+
perAccount: Record<string, unknown[]>;
|
|
3859
|
+
};
|
|
3859
3860
|
name: string;
|
|
3861
|
+
id: number;
|
|
3860
3862
|
createdAt: Date;
|
|
3863
|
+
userId: number;
|
|
3861
3864
|
updatedAt: Date;
|
|
3862
3865
|
sold: boolean;
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
+
fees?: {
|
|
3867
|
+
value: number;
|
|
3868
|
+
type: string;
|
|
3869
|
+
name: string;
|
|
3870
|
+
id: number;
|
|
3871
|
+
createdAt: Date;
|
|
3872
|
+
userId: number;
|
|
3873
|
+
updatedAt: Date;
|
|
3874
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
3875
|
+
startDate: Date;
|
|
3876
|
+
active: boolean;
|
|
3877
|
+
description?: string | null | undefined;
|
|
3878
|
+
itemId?: number | null | undefined;
|
|
3879
|
+
endDate?: Date | null | undefined;
|
|
3880
|
+
parentFeeId?: number | null | undefined;
|
|
3881
|
+
}[] | null | undefined;
|
|
3866
3882
|
description?: string | null | undefined;
|
|
3867
3883
|
categoryId?: number | null | undefined;
|
|
3868
|
-
|
|
3884
|
+
sizeId?: number | null | undefined;
|
|
3869
3885
|
colorIds?: number[] | null | undefined;
|
|
3886
|
+
packageSizeId?: number | null | undefined;
|
|
3887
|
+
state?: number | null | undefined;
|
|
3870
3888
|
measurementLength?: number | null | undefined;
|
|
3871
3889
|
measurementWidth?: number | null | undefined;
|
|
3872
|
-
packageSizeId?: number | null | undefined;
|
|
3873
|
-
sizeId?: number | null | undefined;
|
|
3874
3890
|
labels?: {
|
|
3875
3891
|
itemId: number;
|
|
3876
3892
|
labelId: number;
|
|
3877
3893
|
label?: {
|
|
3878
|
-
id: number;
|
|
3879
3894
|
name: string;
|
|
3895
|
+
id: number;
|
|
3880
3896
|
createdAt: Date;
|
|
3881
3897
|
isUserLabel: boolean;
|
|
3882
3898
|
itemCount?: number | null | undefined;
|
|
@@ -3889,50 +3905,86 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3889
3905
|
fieldKey: string;
|
|
3890
3906
|
}[] | null | undefined;
|
|
3891
3907
|
sku?: string | null | undefined;
|
|
3908
|
+
sex?: string | null | undefined;
|
|
3909
|
+
platforms?: {
|
|
3910
|
+
id: string;
|
|
3911
|
+
createdAt: Date;
|
|
3912
|
+
accountId: string;
|
|
3913
|
+
itemId: number;
|
|
3914
|
+
platformId: string;
|
|
3915
|
+
platformUrl: string;
|
|
3916
|
+
platformPrice: number;
|
|
3917
|
+
updatedAt: Date;
|
|
3918
|
+
publishedAt: Date;
|
|
3919
|
+
status?: unknown;
|
|
3920
|
+
conversationId?: string | null | undefined;
|
|
3921
|
+
boostedAt?: Date | null | undefined;
|
|
3922
|
+
boostedUntil?: Date | null | undefined;
|
|
3923
|
+
viewsCount?: number | null | undefined;
|
|
3924
|
+
favoritesCount?: number | null | undefined;
|
|
3925
|
+
account?: {
|
|
3926
|
+
name: string;
|
|
3927
|
+
userId: number;
|
|
3928
|
+
accountId: string;
|
|
3929
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3930
|
+
status?: unknown;
|
|
3931
|
+
locale?: string | null | undefined;
|
|
3932
|
+
lockReason?: unknown;
|
|
3933
|
+
restrictedUntil?: Date | null | undefined;
|
|
3934
|
+
night?: {
|
|
3935
|
+
startsAt: Date;
|
|
3936
|
+
endsAt: Date;
|
|
3937
|
+
} | null | undefined;
|
|
3938
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
3939
|
+
ordersMaxDelay?: number | null | undefined;
|
|
3940
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
3941
|
+
walletMaxDelay?: number | null | undefined;
|
|
3942
|
+
availableBalance?: number | null | undefined;
|
|
3943
|
+
pendingBalance?: number | null | undefined;
|
|
3944
|
+
profilePictureFileId?: string | null | undefined;
|
|
3945
|
+
profilePicture?: {
|
|
3946
|
+
path: string;
|
|
3947
|
+
id: string;
|
|
3948
|
+
createdAt: Date;
|
|
3949
|
+
userId: number;
|
|
3950
|
+
signedUrl: string;
|
|
3951
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3952
|
+
} | null | undefined;
|
|
3953
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
3954
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
3955
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
3956
|
+
} | null | undefined;
|
|
3957
|
+
orderStatus?: unknown;
|
|
3958
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
3959
|
+
isBoosted?: boolean | null | undefined;
|
|
3960
|
+
}[] | null | undefined;
|
|
3961
|
+
brandId?: number | null | undefined;
|
|
3962
|
+
estimatedPrice?: number | null | undefined;
|
|
3963
|
+
purchaseDate?: Date | null | undefined;
|
|
3964
|
+
sellingDate?: Date | null | undefined;
|
|
3892
3965
|
fields?: {
|
|
3893
3966
|
value: string;
|
|
3894
3967
|
itemId: number;
|
|
3895
3968
|
fieldId: number;
|
|
3896
3969
|
}[] | null | undefined;
|
|
3897
3970
|
files?: {
|
|
3898
|
-
itemId: number;
|
|
3899
3971
|
fileId: string;
|
|
3972
|
+
itemId: number;
|
|
3900
3973
|
file?: {
|
|
3901
3974
|
path: string;
|
|
3902
3975
|
id: string;
|
|
3903
|
-
userId: number;
|
|
3904
3976
|
createdAt: Date;
|
|
3977
|
+
userId: number;
|
|
3905
3978
|
signedUrl: string;
|
|
3906
3979
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3907
3980
|
} | null | undefined;
|
|
3908
3981
|
index?: number | null | undefined;
|
|
3909
3982
|
}[] | null | undefined;
|
|
3910
|
-
brandId?: number | null | undefined;
|
|
3911
|
-
sex?: string | null | undefined;
|
|
3912
3983
|
purchasePrice?: number | null | undefined;
|
|
3913
|
-
purchaseDate?: Date | null | undefined;
|
|
3914
3984
|
purchasePlaceId?: number | null | undefined;
|
|
3915
3985
|
purchased?: boolean | null | undefined;
|
|
3916
3986
|
sellingPrice?: number | null | undefined;
|
|
3917
|
-
sellingDate?: Date | null | undefined;
|
|
3918
3987
|
sellingPlaceId?: number | null | undefined;
|
|
3919
|
-
estimatedPrice?: number | null | undefined;
|
|
3920
|
-
fees?: {
|
|
3921
|
-
value: number;
|
|
3922
|
-
type: string;
|
|
3923
|
-
id: number;
|
|
3924
|
-
userId: number;
|
|
3925
|
-
name: string;
|
|
3926
|
-
createdAt: Date;
|
|
3927
|
-
updatedAt: Date;
|
|
3928
|
-
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
3929
|
-
startDate: Date;
|
|
3930
|
-
active: boolean;
|
|
3931
|
-
description?: string | null | undefined;
|
|
3932
|
-
itemId?: number | null | undefined;
|
|
3933
|
-
endDate?: Date | null | undefined;
|
|
3934
|
-
parentFeeId?: number | null | undefined;
|
|
3935
|
-
}[] | null | undefined;
|
|
3936
3988
|
feesSum?: number | null | undefined;
|
|
3937
3989
|
materialIds?: number[] | null | undefined;
|
|
3938
3990
|
enumValues?: {
|
|
@@ -3948,7 +4000,6 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3948
4000
|
createdAt: Date;
|
|
3949
4001
|
itemId: number;
|
|
3950
4002
|
type?: unknown;
|
|
3951
|
-
accountId?: string | null | undefined;
|
|
3952
4003
|
data?: {
|
|
3953
4004
|
type: "ACTION_CANCELED";
|
|
3954
4005
|
data: {
|
|
@@ -4014,23 +4065,23 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
4014
4065
|
post: {
|
|
4015
4066
|
platformId: string;
|
|
4016
4067
|
post: {
|
|
4017
|
-
size?: string | null | undefined;
|
|
4018
4068
|
status?: string | null | undefined;
|
|
4019
4069
|
title?: string | null | undefined;
|
|
4020
4070
|
description?: string | null | undefined;
|
|
4071
|
+
brand?: string | null | undefined;
|
|
4072
|
+
statusId?: number | null | undefined;
|
|
4073
|
+
sizeId?: number | null | undefined;
|
|
4074
|
+
colorIds?: number[] | null | undefined;
|
|
4075
|
+
packageSizeId?: number | null | undefined;
|
|
4021
4076
|
price?: number | null | undefined;
|
|
4022
4077
|
currency?: string | null | undefined;
|
|
4023
|
-
brand?: string | null | undefined;
|
|
4024
4078
|
catalog?: string | null | undefined;
|
|
4025
4079
|
catalogId?: number | null | undefined;
|
|
4026
4080
|
colors?: string[] | null | undefined;
|
|
4027
|
-
colorIds?: number[] | null | undefined;
|
|
4028
4081
|
measurementLength?: number | null | undefined;
|
|
4029
4082
|
measurementWidth?: number | null | undefined;
|
|
4030
|
-
packageSizeId?: number | null | undefined;
|
|
4031
4083
|
photoUrls?: string[] | null | undefined;
|
|
4032
|
-
|
|
4033
|
-
statusId?: number | null | undefined;
|
|
4084
|
+
size?: string | null | undefined;
|
|
4034
4085
|
isDraft?: boolean | null | undefined;
|
|
4035
4086
|
isArchived?: boolean | null | undefined;
|
|
4036
4087
|
isUnisex?: boolean | null | undefined;
|
|
@@ -4073,8 +4124,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
4073
4124
|
} | {
|
|
4074
4125
|
type: "LIFECYCLE_STARTED";
|
|
4075
4126
|
data: {
|
|
4076
|
-
accountId: string;
|
|
4077
4127
|
caseId: string;
|
|
4128
|
+
accountId: string;
|
|
4078
4129
|
isRepeat?: boolean | null | undefined;
|
|
4079
4130
|
};
|
|
4080
4131
|
} | {
|
|
@@ -4113,17 +4164,17 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
4113
4164
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
4114
4165
|
} | null | undefined;
|
|
4115
4166
|
} | null | undefined;
|
|
4116
|
-
targetAccountId?: string | null | undefined;
|
|
4117
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
4118
4167
|
publishingDate?: Date | null | undefined;
|
|
4119
4168
|
isTransfer?: boolean | null | undefined;
|
|
4169
|
+
targetAccountId?: string | null | undefined;
|
|
4170
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
4120
4171
|
};
|
|
4121
4172
|
} | {
|
|
4122
4173
|
type: "REPUBLISHING_RETRY";
|
|
4123
4174
|
data: {
|
|
4175
|
+
maxAttempts: number;
|
|
4124
4176
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4125
4177
|
attemptNumber: number;
|
|
4126
|
-
maxAttempts: number;
|
|
4127
4178
|
previousHistoryId: string;
|
|
4128
4179
|
originalFailureDate: Date;
|
|
4129
4180
|
payload?: {
|
|
@@ -4165,9 +4216,9 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
4165
4216
|
} | {
|
|
4166
4217
|
type: "SCHEDULED_RETRY";
|
|
4167
4218
|
data: {
|
|
4219
|
+
maxAttempts: number;
|
|
4168
4220
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4169
4221
|
attemptNumber: number;
|
|
4170
|
-
maxAttempts: number;
|
|
4171
4222
|
previousHistoryId: string;
|
|
4172
4223
|
originalFailureDate: Date;
|
|
4173
4224
|
fields?: {
|
|
@@ -4200,103 +4251,52 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
4200
4251
|
targetDate?: Date | null | undefined;
|
|
4201
4252
|
};
|
|
4202
4253
|
} | null | undefined;
|
|
4254
|
+
accountId?: string | null | undefined;
|
|
4203
4255
|
targetDate?: Date | null | undefined;
|
|
4204
4256
|
requestId?: string | null | undefined;
|
|
4205
4257
|
targetHistoryId?: string | null | undefined;
|
|
4206
4258
|
} | null | undefined;
|
|
4207
|
-
platforms?: {
|
|
4208
|
-
id: string;
|
|
4209
|
-
accountId: string;
|
|
4210
|
-
createdAt: Date;
|
|
4211
|
-
itemId: number;
|
|
4212
|
-
platformId: string;
|
|
4213
|
-
platformUrl: string;
|
|
4214
|
-
platformPrice: number;
|
|
4215
|
-
updatedAt: Date;
|
|
4216
|
-
publishedAt: Date;
|
|
4217
|
-
status?: unknown;
|
|
4218
|
-
conversationId?: string | null | undefined;
|
|
4219
|
-
boostedAt?: Date | null | undefined;
|
|
4220
|
-
boostedUntil?: Date | null | undefined;
|
|
4221
|
-
viewsCount?: number | null | undefined;
|
|
4222
|
-
favoritesCount?: number | null | undefined;
|
|
4223
|
-
account?: {
|
|
4224
|
-
accountId: string;
|
|
4225
|
-
userId: number;
|
|
4226
|
-
name: string;
|
|
4227
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4228
|
-
status?: unknown;
|
|
4229
|
-
locale?: string | null | undefined;
|
|
4230
|
-
lockReason?: unknown;
|
|
4231
|
-
restrictedUntil?: Date | null | undefined;
|
|
4232
|
-
night?: {
|
|
4233
|
-
startsAt: Date;
|
|
4234
|
-
endsAt: Date;
|
|
4235
|
-
} | null | undefined;
|
|
4236
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
4237
|
-
ordersMaxDelay?: number | null | undefined;
|
|
4238
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
4239
|
-
walletMaxDelay?: number | null | undefined;
|
|
4240
|
-
availableBalance?: number | null | undefined;
|
|
4241
|
-
pendingBalance?: number | null | undefined;
|
|
4242
|
-
profilePictureFileId?: string | null | undefined;
|
|
4243
|
-
profilePicture?: {
|
|
4244
|
-
path: string;
|
|
4245
|
-
id: string;
|
|
4246
|
-
userId: number;
|
|
4247
|
-
createdAt: Date;
|
|
4248
|
-
signedUrl: string;
|
|
4249
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4250
|
-
} | null | undefined;
|
|
4251
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
4252
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
4253
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
4254
|
-
} | null | undefined;
|
|
4255
|
-
orderStatus?: unknown;
|
|
4256
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
4257
|
-
isBoosted?: boolean | null | undefined;
|
|
4258
|
-
}[] | null | undefined;
|
|
4259
4259
|
sourceInConversation?: unknown;
|
|
4260
4260
|
order?: {
|
|
4261
4261
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
4262
4262
|
labels?: {
|
|
4263
4263
|
id: string;
|
|
4264
|
-
orderId: string;
|
|
4265
4264
|
fileId: string;
|
|
4265
|
+
orderId: string;
|
|
4266
4266
|
nonCroppedFileId: string;
|
|
4267
4267
|
originalFileId: string;
|
|
4268
|
-
|
|
4268
|
+
originalFile?: {
|
|
4269
4269
|
path: string;
|
|
4270
4270
|
id: string;
|
|
4271
|
-
userId: number;
|
|
4272
4271
|
createdAt: Date;
|
|
4272
|
+
userId: number;
|
|
4273
4273
|
signedUrl: string;
|
|
4274
4274
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4275
4275
|
} | null | undefined;
|
|
4276
|
-
|
|
4276
|
+
carrier?: unknown;
|
|
4277
|
+
file?: {
|
|
4277
4278
|
path: string;
|
|
4278
4279
|
id: string;
|
|
4279
|
-
userId: number;
|
|
4280
4280
|
createdAt: Date;
|
|
4281
|
+
userId: number;
|
|
4281
4282
|
signedUrl: string;
|
|
4282
4283
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4283
4284
|
} | null | undefined;
|
|
4284
|
-
|
|
4285
|
+
nonCroppedFile?: {
|
|
4285
4286
|
path: string;
|
|
4286
4287
|
id: string;
|
|
4287
|
-
userId: number;
|
|
4288
4288
|
createdAt: Date;
|
|
4289
|
+
userId: number;
|
|
4289
4290
|
signedUrl: string;
|
|
4290
4291
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4291
4292
|
} | null | undefined;
|
|
4292
|
-
carrier?: unknown;
|
|
4293
4293
|
}[] | null | undefined;
|
|
4294
4294
|
invoices?: {
|
|
4295
4295
|
type: "SALE" | "PURCHASE";
|
|
4296
4296
|
status: string;
|
|
4297
4297
|
id: string;
|
|
4298
|
-
userId: number;
|
|
4299
4298
|
createdAt: Date;
|
|
4299
|
+
userId: number;
|
|
4300
4300
|
currency: string;
|
|
4301
4301
|
orderId: string;
|
|
4302
4302
|
updatedAt: Date;
|
|
@@ -4305,21 +4305,21 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
4305
4305
|
businessProfileId: string;
|
|
4306
4306
|
issueDate: Date;
|
|
4307
4307
|
subtotal: number;
|
|
4308
|
-
vatAmount?: number | null | undefined;
|
|
4309
4308
|
fileId?: string | null | undefined;
|
|
4309
|
+
vatAmount?: number | null | undefined;
|
|
4310
4310
|
file?: {
|
|
4311
4311
|
path: string;
|
|
4312
4312
|
id: string;
|
|
4313
|
-
userId: number;
|
|
4314
4313
|
createdAt: Date;
|
|
4314
|
+
userId: number;
|
|
4315
4315
|
signedUrl: string;
|
|
4316
4316
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4317
4317
|
} | null | undefined;
|
|
4318
4318
|
vatRate?: number | null | undefined;
|
|
4319
4319
|
businessProfile?: {
|
|
4320
4320
|
id: string;
|
|
4321
|
-
userId: number;
|
|
4322
4321
|
createdAt: Date;
|
|
4322
|
+
userId: number;
|
|
4323
4323
|
updatedAt: Date;
|
|
4324
4324
|
businessName: string;
|
|
4325
4325
|
address: string;
|
|
@@ -4332,8 +4332,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
4332
4332
|
logo?: {
|
|
4333
4333
|
path: string;
|
|
4334
4334
|
id: string;
|
|
4335
|
-
userId: number;
|
|
4336
4335
|
createdAt: Date;
|
|
4336
|
+
userId: number;
|
|
4337
4337
|
signedUrl: string;
|
|
4338
4338
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4339
4339
|
} | null | undefined;
|
|
@@ -4346,26 +4346,26 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
4346
4346
|
firstName: string;
|
|
4347
4347
|
lastName: string;
|
|
4348
4348
|
phoneVerified: boolean;
|
|
4349
|
-
postalCode?: string | null | undefined;
|
|
4350
|
-
city?: string | null | undefined;
|
|
4351
|
-
country?: string | null | undefined;
|
|
4352
|
-
email?: string | null | undefined;
|
|
4353
|
-
addressLine1?: string | null | undefined;
|
|
4354
|
-
addressLine2?: string | null | undefined;
|
|
4355
4349
|
birthDate?: Date | null | undefined;
|
|
4350
|
+
email?: string | null | undefined;
|
|
4356
4351
|
idNumber?: string | null | undefined;
|
|
4357
4352
|
phone?: string | null | undefined;
|
|
4358
4353
|
iban?: string | null | undefined;
|
|
4359
4354
|
bic?: string | null | undefined;
|
|
4355
|
+
addressLine1?: string | null | undefined;
|
|
4356
|
+
addressLine2?: string | null | undefined;
|
|
4357
|
+
city?: string | null | undefined;
|
|
4358
|
+
postalCode?: string | null | undefined;
|
|
4359
|
+
country?: string | null | undefined;
|
|
4360
4360
|
} | null | undefined;
|
|
4361
4361
|
dueDate?: Date | null | undefined;
|
|
4362
4362
|
notes?: string | null | undefined;
|
|
4363
4363
|
lineItems?: {
|
|
4364
|
-
quantity: number;
|
|
4365
|
-
id: number;
|
|
4366
4364
|
description: string;
|
|
4365
|
+
id: number;
|
|
4367
4366
|
createdAt: Date;
|
|
4368
4367
|
invoiceId: string;
|
|
4368
|
+
quantity: number;
|
|
4369
4369
|
unitPrice: number;
|
|
4370
4370
|
total: number;
|
|
4371
4371
|
itemOnPlatformId?: string | null | undefined;
|