controlresell 2.26.4 → 2.26.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/com/controlresell/api/requests/coach/AskCoachRequest.d.ts +4 -4
- package/src/com/controlresell/api/requests/customers/CreateCustomerRequest.d.ts +2 -2
- package/src/com/controlresell/api/requests/files/CreatePresignedFileRequest.d.ts +2 -2
- package/src/com/controlresell/api/requests/items/boost/BoostRequest.d.ts +3 -3
- package/src/com/controlresell/api/requests/items/cancel/CancelRequest.d.ts +2 -2
- package/src/com/controlresell/api/requests/items/forms/FormOption.d.ts +2 -2
- package/src/com/controlresell/api/requests/items/forms/FormOptionGroup.d.ts +6 -6
- package/src/com/controlresell/api/requests/items/forms/FormOptionPickRequest.d.ts +14 -14
- package/src/com/controlresell/api/requests/items/publish/AutomaticPublishRequestItem.d.ts +2 -2
- package/src/com/controlresell/api/requests/items/publish/ManualPublishRequestItem.d.ts +6 -6
- package/src/com/controlresell/api/requests/items/publish/PublishRequest.d.ts +16 -16
- package/src/com/controlresell/api/requests/items/publish/PublishRequestItems.d.ts +16 -16
- package/src/com/controlresell/api/requests/items/publish/PublishTimeSlot.d.ts +2 -2
- package/src/com/controlresell/api/requests/items/republish/RepublishRequest.d.ts +22 -22
- package/src/com/controlresell/api/requests/items/update/UpdateRequest.d.ts +29 -29
- package/src/com/controlresell/api/requests/subscriptions/ChangeSubscriptionPlanRequest.d.ts +4 -4
- package/src/com/controlresell/api/requests/subscriptions/CreateSubscriptionPaymentLinkRequest.d.ts +4 -4
- package/src/com/controlresell/api/requests/subscriptions/SubscriptionLevelQuantity.d.ts +2 -2
- package/src/com/controlresell/api/responses/activation/ActivationResponse.d.ts +10 -10
- package/src/com/controlresell/api/responses/activity/ActivityDaySummary.d.ts +2 -2
- package/src/com/controlresell/api/responses/activity/ActivityEvent.d.ts +12 -12
- package/src/com/controlresell/api/responses/activity/ActivityEventsResponse.d.ts +21 -21
- 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 +25 -25
- 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 +83 -76
- package/src/com/controlresell/api/responses/invoices/ListInvoicesResponse.d.ts.map +1 -1
- 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 +745 -734
- package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/items/ListedItem.d.ts +500 -491
- package/src/com/controlresell/api/responses/items/ListedItem.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/items/ListedItemOrder.d.ts +121 -114
- package/src/com/controlresell/api/responses/items/ListedItemOrder.d.ts.map +1 -1
- 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 +9 -6
- package/src/com/controlresell/models/business/BusinessProfile.d.ts.map +1 -1
- package/src/com/controlresell/models/business/BusinessProfile.js +3 -1
- package/src/com/controlresell/models/business/BusinessProfile.js.map +1 -1
- package/src/com/controlresell/models/business/BusinessProfile.ts +3 -1
- package/src/com/controlresell/models/business/VatRegime.d.ts +4 -0
- package/src/com/controlresell/models/business/VatRegime.d.ts.map +1 -0
- package/src/com/controlresell/models/business/VatRegime.js +5 -0
- package/src/com/controlresell/models/business/VatRegime.js.map +1 -0
- package/src/com/controlresell/models/business/VatRegime.ts +6 -0
- 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 +55 -50
- package/src/com/controlresell/models/invoices/Invoice.d.ts.map +1 -1
- package/src/com/controlresell/models/invoices/InvoiceLineItem.d.ts +4 -4
- package/src/com/controlresell/models/items/CreatedItems.d.ts +1454 -1443
- package/src/com/controlresell/models/items/CreatedItems.d.ts.map +1 -1
- 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 +746 -735
- package/src/com/controlresell/models/items/ItemUpdate.d.ts.map +1 -1
- package/src/com/controlresell/models/items/UpdatedItem.d.ts +1454 -1443
- package/src/com/controlresell/models/items/UpdatedItem.d.ts.map +1 -1
- package/src/com/controlresell/models/items/analysis/ItemAnalysisCompletion.d.ts +4 -4
- package/src/com/controlresell/models/items/analysis/ItemAnalysisRequest.d.ts +16 -16
- package/src/com/controlresell/models/items/analysis/ItemAnalysisUpdate.d.ts +746 -735
- package/src/com/controlresell/models/items/analysis/ItemAnalysisUpdate.d.ts.map +1 -1
- package/src/com/controlresell/models/items/analysis/ItemFieldResolution.d.ts +2 -2
- package/src/com/controlresell/models/items/analysis/ItemFieldResolutionsRequest.d.ts +4 -4
- package/src/com/controlresell/models/items/estimation/ItemPriceEstimation.d.ts +4 -4
- package/src/com/controlresell/models/items/estimation/ItemPriceEstimationDraft.d.ts +8 -8
- package/src/com/controlresell/models/items/estimation/ItemPriceEstimationRequest.d.ts +16 -16
- package/src/com/controlresell/models/items/estimation/MarketPriceDistribution.d.ts +2 -2
- package/src/com/controlresell/models/items/files/ItemFile.d.ts +6 -6
- package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.d.ts +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/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 +281 -274
- package/src/com/controlresell/models/platforms/orders/Order.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/OrderFiltersContext.d.ts +2 -2
- package/src/com/controlresell/models/platforms/orders/OrderLabelUpdate.d.ts +38 -38
- package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts +14 -14
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +1653 -1629
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +24 -24
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +1181 -1161
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/pickups/CreatePickupPointPayload.d.ts +4 -4
- package/src/com/controlresell/models/platforms/pickups/PickupPoint.d.ts +6 -6
- package/src/com/controlresell/models/platforms/pickups/PickupPointInOrder.d.ts +12 -12
- package/src/com/controlresell/models/platforms/pickups/UpdatePickupPointPayload.d.ts +4 -4
- package/src/com/controlresell/models/subscriptions/ActiveLevel.d.ts +2 -2
- package/src/com/controlresell/models/subscriptions/SubscriptionChangedEvent.d.ts +4 -4
- package/src/com/controlresell/models/subscriptions/SubscriptionHistory.d.ts +4 -4
- package/src/com/controlresell/models/subscriptions/UserLimitCounter.d.ts +2 -2
- package/src/com/controlresell/models/subscriptions/UserLimits.d.ts +46 -46
- package/src/com/controlresell/models/transactions/Transaction.d.ts +36 -36
- package/src/com/controlresell/models/transactions/items/ItemInTransaction.d.ts +24 -24
- package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts +784 -773
- package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts.map +1 -1
- package/src/com/controlresell/models/users/UpdateUserPayload.d.ts +6 -6
- package/src/com/controlresell/models/users/User.d.ts +30 -30
- package/src/com/controlresell/models/users/fields/Field.d.ts +2 -2
- package/src/com/controlresell/models/users/fields/FieldsWithData.d.ts +4 -4
- package/src/com/controlresell/models/users/platforms/CreateUserOnPlatformPayload.d.ts +2 -2
- package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts +14 -14
- package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts +16 -16
- package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.d.ts +2 -2
- package/src/com/controlresell/models/users/platforms/UserOnPlatform.d.ts +8 -8
- package/src/com/controlresell/models/users/ws/ResourceUpdate.d.ts +61 -61
- package/src/com/controlresell/models/users/ws/UserLimitsUpdate.d.ts +74 -74
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +3658 -3614
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/users/ws/UserWsResourcePayload.d.ts +80 -80
- package/src/index.d.ts +402 -401
- package/src/index.d.ts.map +1 -1
- package/src/index.js +402 -401
- package/src/index.js.map +1 -1
- package/src/index.ts +402 -401
|
@@ -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,25 +2758,26 @@ 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
|
}>>>;
|
|
2773
2773
|
isActive: z.ZodBoolean;
|
|
2774
2774
|
createdAt: z.ZodDate;
|
|
2775
2775
|
updatedAt: z.ZodDate;
|
|
2776
|
+
vatRegime: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["MARGIN", "FRANCHISE", "NORMAL", "UNKNOWN"]>>>>;
|
|
2776
2777
|
}, "strip", z.ZodTypeAny, {
|
|
2777
2778
|
id: string;
|
|
2778
|
-
userId: number;
|
|
2779
2779
|
createdAt: Date;
|
|
2780
|
+
userId: number;
|
|
2780
2781
|
updatedAt: Date;
|
|
2781
2782
|
businessName: string;
|
|
2782
2783
|
address: string;
|
|
@@ -2789,15 +2790,16 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2789
2790
|
logo?: {
|
|
2790
2791
|
path: string;
|
|
2791
2792
|
id: string;
|
|
2792
|
-
userId: number;
|
|
2793
2793
|
createdAt: Date;
|
|
2794
|
+
userId: number;
|
|
2794
2795
|
signedUrl: string;
|
|
2795
2796
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2796
2797
|
} | null | undefined;
|
|
2798
|
+
vatRegime?: "UNKNOWN" | "MARGIN" | "FRANCHISE" | "NORMAL" | null | undefined;
|
|
2797
2799
|
}, {
|
|
2798
2800
|
id: string;
|
|
2799
|
-
userId: number;
|
|
2800
2801
|
createdAt: Date;
|
|
2802
|
+
userId: number;
|
|
2801
2803
|
updatedAt: Date;
|
|
2802
2804
|
businessName: string;
|
|
2803
2805
|
address: string;
|
|
@@ -2810,11 +2812,12 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2810
2812
|
logo?: {
|
|
2811
2813
|
path: string;
|
|
2812
2814
|
id: string;
|
|
2813
|
-
userId: number;
|
|
2814
2815
|
createdAt: Date;
|
|
2816
|
+
userId: number;
|
|
2815
2817
|
signedUrl: string;
|
|
2816
2818
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2817
2819
|
} | null | undefined;
|
|
2820
|
+
vatRegime?: unknown;
|
|
2818
2821
|
}>>>;
|
|
2819
2822
|
customerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2820
2823
|
customer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -2840,34 +2843,34 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2840
2843
|
firstName: string;
|
|
2841
2844
|
lastName: string;
|
|
2842
2845
|
phoneVerified: boolean;
|
|
2843
|
-
postalCode?: string | null | undefined;
|
|
2844
|
-
city?: string | null | undefined;
|
|
2845
|
-
country?: string | null | undefined;
|
|
2846
|
-
email?: string | null | undefined;
|
|
2847
|
-
addressLine1?: string | null | undefined;
|
|
2848
|
-
addressLine2?: string | null | undefined;
|
|
2849
2846
|
birthDate?: Date | null | undefined;
|
|
2847
|
+
email?: string | null | undefined;
|
|
2850
2848
|
idNumber?: string | null | undefined;
|
|
2851
2849
|
phone?: string | null | undefined;
|
|
2852
2850
|
iban?: string | null | undefined;
|
|
2853
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;
|
|
2854
2857
|
}, {
|
|
2855
2858
|
id: string;
|
|
2856
2859
|
userId: number;
|
|
2857
2860
|
firstName: string;
|
|
2858
2861
|
lastName: string;
|
|
2859
2862
|
phoneVerified: boolean;
|
|
2860
|
-
postalCode?: string | null | undefined;
|
|
2861
|
-
city?: string | null | undefined;
|
|
2862
|
-
country?: string | null | undefined;
|
|
2863
|
-
email?: string | null | undefined;
|
|
2864
|
-
addressLine1?: string | null | undefined;
|
|
2865
|
-
addressLine2?: string | null | undefined;
|
|
2866
2863
|
birthDate?: Date | null | undefined;
|
|
2864
|
+
email?: string | null | undefined;
|
|
2867
2865
|
idNumber?: string | null | undefined;
|
|
2868
2866
|
phone?: string | null | undefined;
|
|
2869
2867
|
iban?: string | null | undefined;
|
|
2870
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;
|
|
2871
2874
|
}>>>;
|
|
2872
2875
|
orderId: z.ZodString;
|
|
2873
2876
|
fileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2881,15 +2884,15 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2881
2884
|
}, "strip", z.ZodTypeAny, {
|
|
2882
2885
|
path: string;
|
|
2883
2886
|
id: string;
|
|
2884
|
-
userId: number;
|
|
2885
2887
|
createdAt: Date;
|
|
2888
|
+
userId: number;
|
|
2886
2889
|
signedUrl: string;
|
|
2887
2890
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2888
2891
|
}, {
|
|
2889
2892
|
path: string;
|
|
2890
2893
|
id: string;
|
|
2891
|
-
userId: number;
|
|
2892
2894
|
createdAt: Date;
|
|
2895
|
+
userId: number;
|
|
2893
2896
|
signedUrl: string;
|
|
2894
2897
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2895
2898
|
}>>>;
|
|
@@ -2914,21 +2917,21 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2914
2917
|
total: z.ZodNumber;
|
|
2915
2918
|
createdAt: z.ZodDate;
|
|
2916
2919
|
}, "strip", z.ZodTypeAny, {
|
|
2917
|
-
quantity: number;
|
|
2918
|
-
id: number;
|
|
2919
2920
|
description: string;
|
|
2921
|
+
id: number;
|
|
2920
2922
|
createdAt: Date;
|
|
2921
2923
|
invoiceId: string;
|
|
2924
|
+
quantity: number;
|
|
2922
2925
|
unitPrice: number;
|
|
2923
2926
|
total: number;
|
|
2924
2927
|
itemOnPlatformId?: string | null | undefined;
|
|
2925
2928
|
vatRate?: number | null | undefined;
|
|
2926
2929
|
}, {
|
|
2927
|
-
quantity: number;
|
|
2928
|
-
id: number;
|
|
2929
2930
|
description: string;
|
|
2931
|
+
id: number;
|
|
2930
2932
|
createdAt: Date;
|
|
2931
2933
|
invoiceId: string;
|
|
2934
|
+
quantity: number;
|
|
2932
2935
|
unitPrice: number;
|
|
2933
2936
|
total: number;
|
|
2934
2937
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -2940,8 +2943,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2940
2943
|
type: "SALE" | "PURCHASE";
|
|
2941
2944
|
status: string;
|
|
2942
2945
|
id: string;
|
|
2943
|
-
userId: number;
|
|
2944
2946
|
createdAt: Date;
|
|
2947
|
+
userId: number;
|
|
2945
2948
|
currency: string;
|
|
2946
2949
|
orderId: string;
|
|
2947
2950
|
updatedAt: Date;
|
|
@@ -2950,21 +2953,21 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2950
2953
|
businessProfileId: string;
|
|
2951
2954
|
issueDate: Date;
|
|
2952
2955
|
subtotal: number;
|
|
2953
|
-
vatAmount?: number | null | undefined;
|
|
2954
2956
|
fileId?: string | null | undefined;
|
|
2957
|
+
vatAmount?: number | null | undefined;
|
|
2955
2958
|
file?: {
|
|
2956
2959
|
path: string;
|
|
2957
2960
|
id: string;
|
|
2958
|
-
userId: number;
|
|
2959
2961
|
createdAt: Date;
|
|
2962
|
+
userId: number;
|
|
2960
2963
|
signedUrl: string;
|
|
2961
2964
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2962
2965
|
} | null | undefined;
|
|
2963
2966
|
vatRate?: number | null | undefined;
|
|
2964
2967
|
businessProfile?: {
|
|
2965
2968
|
id: string;
|
|
2966
|
-
userId: number;
|
|
2967
2969
|
createdAt: Date;
|
|
2970
|
+
userId: number;
|
|
2968
2971
|
updatedAt: Date;
|
|
2969
2972
|
businessName: string;
|
|
2970
2973
|
address: string;
|
|
@@ -2977,11 +2980,12 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2977
2980
|
logo?: {
|
|
2978
2981
|
path: string;
|
|
2979
2982
|
id: string;
|
|
2980
|
-
userId: number;
|
|
2981
2983
|
createdAt: Date;
|
|
2984
|
+
userId: number;
|
|
2982
2985
|
signedUrl: string;
|
|
2983
2986
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2984
2987
|
} | null | undefined;
|
|
2988
|
+
vatRegime?: "UNKNOWN" | "MARGIN" | "FRANCHISE" | "NORMAL" | null | undefined;
|
|
2985
2989
|
} | null | undefined;
|
|
2986
2990
|
customerId?: string | null | undefined;
|
|
2987
2991
|
customer?: {
|
|
@@ -2990,26 +2994,26 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2990
2994
|
firstName: string;
|
|
2991
2995
|
lastName: string;
|
|
2992
2996
|
phoneVerified: boolean;
|
|
2993
|
-
postalCode?: string | null | undefined;
|
|
2994
|
-
city?: string | null | undefined;
|
|
2995
|
-
country?: string | null | undefined;
|
|
2996
|
-
email?: string | null | undefined;
|
|
2997
|
-
addressLine1?: string | null | undefined;
|
|
2998
|
-
addressLine2?: string | null | undefined;
|
|
2999
2997
|
birthDate?: Date | null | undefined;
|
|
2998
|
+
email?: string | null | undefined;
|
|
3000
2999
|
idNumber?: string | null | undefined;
|
|
3001
3000
|
phone?: string | null | undefined;
|
|
3002
3001
|
iban?: string | null | undefined;
|
|
3003
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;
|
|
3004
3008
|
} | null | undefined;
|
|
3005
3009
|
dueDate?: Date | null | undefined;
|
|
3006
3010
|
notes?: string | null | undefined;
|
|
3007
3011
|
lineItems?: {
|
|
3008
|
-
quantity: number;
|
|
3009
|
-
id: number;
|
|
3010
3012
|
description: string;
|
|
3013
|
+
id: number;
|
|
3011
3014
|
createdAt: Date;
|
|
3012
3015
|
invoiceId: string;
|
|
3016
|
+
quantity: number;
|
|
3013
3017
|
unitPrice: number;
|
|
3014
3018
|
total: number;
|
|
3015
3019
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3019,8 +3023,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3019
3023
|
type: "SALE" | "PURCHASE";
|
|
3020
3024
|
status: string;
|
|
3021
3025
|
id: string;
|
|
3022
|
-
userId: number;
|
|
3023
3026
|
createdAt: Date;
|
|
3027
|
+
userId: number;
|
|
3024
3028
|
currency: string;
|
|
3025
3029
|
orderId: string;
|
|
3026
3030
|
updatedAt: Date;
|
|
@@ -3029,21 +3033,21 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3029
3033
|
businessProfileId: string;
|
|
3030
3034
|
issueDate: Date;
|
|
3031
3035
|
subtotal: number;
|
|
3032
|
-
vatAmount?: number | null | undefined;
|
|
3033
3036
|
fileId?: string | null | undefined;
|
|
3037
|
+
vatAmount?: number | null | undefined;
|
|
3034
3038
|
file?: {
|
|
3035
3039
|
path: string;
|
|
3036
3040
|
id: string;
|
|
3037
|
-
userId: number;
|
|
3038
3041
|
createdAt: Date;
|
|
3042
|
+
userId: number;
|
|
3039
3043
|
signedUrl: string;
|
|
3040
3044
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3041
3045
|
} | null | undefined;
|
|
3042
3046
|
vatRate?: number | null | undefined;
|
|
3043
3047
|
businessProfile?: {
|
|
3044
3048
|
id: string;
|
|
3045
|
-
userId: number;
|
|
3046
3049
|
createdAt: Date;
|
|
3050
|
+
userId: number;
|
|
3047
3051
|
updatedAt: Date;
|
|
3048
3052
|
businessName: string;
|
|
3049
3053
|
address: string;
|
|
@@ -3056,11 +3060,12 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3056
3060
|
logo?: {
|
|
3057
3061
|
path: string;
|
|
3058
3062
|
id: string;
|
|
3059
|
-
userId: number;
|
|
3060
3063
|
createdAt: Date;
|
|
3064
|
+
userId: number;
|
|
3061
3065
|
signedUrl: string;
|
|
3062
3066
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3063
3067
|
} | null | undefined;
|
|
3068
|
+
vatRegime?: unknown;
|
|
3064
3069
|
} | null | undefined;
|
|
3065
3070
|
customerId?: string | null | undefined;
|
|
3066
3071
|
customer?: {
|
|
@@ -3069,26 +3074,26 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3069
3074
|
firstName: string;
|
|
3070
3075
|
lastName: string;
|
|
3071
3076
|
phoneVerified: boolean;
|
|
3072
|
-
postalCode?: string | null | undefined;
|
|
3073
|
-
city?: string | null | undefined;
|
|
3074
|
-
country?: string | null | undefined;
|
|
3075
|
-
email?: string | null | undefined;
|
|
3076
|
-
addressLine1?: string | null | undefined;
|
|
3077
|
-
addressLine2?: string | null | undefined;
|
|
3078
3077
|
birthDate?: Date | null | undefined;
|
|
3078
|
+
email?: string | null | undefined;
|
|
3079
3079
|
idNumber?: string | null | undefined;
|
|
3080
3080
|
phone?: string | null | undefined;
|
|
3081
3081
|
iban?: string | null | undefined;
|
|
3082
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;
|
|
3083
3088
|
} | null | undefined;
|
|
3084
3089
|
dueDate?: Date | null | undefined;
|
|
3085
3090
|
notes?: string | null | undefined;
|
|
3086
3091
|
lineItems?: {
|
|
3087
|
-
quantity: number;
|
|
3088
|
-
id: number;
|
|
3089
3092
|
description: string;
|
|
3093
|
+
id: number;
|
|
3090
3094
|
createdAt: Date;
|
|
3091
3095
|
invoiceId: string;
|
|
3096
|
+
quantity: number;
|
|
3092
3097
|
unitPrice: number;
|
|
3093
3098
|
total: number;
|
|
3094
3099
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3099,42 +3104,42 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3099
3104
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
3100
3105
|
labels?: {
|
|
3101
3106
|
id: string;
|
|
3102
|
-
orderId: string;
|
|
3103
3107
|
fileId: string;
|
|
3108
|
+
orderId: string;
|
|
3104
3109
|
nonCroppedFileId: string;
|
|
3105
3110
|
originalFileId: string;
|
|
3106
|
-
|
|
3111
|
+
originalFile?: {
|
|
3107
3112
|
path: string;
|
|
3108
3113
|
id: string;
|
|
3109
|
-
userId: number;
|
|
3110
3114
|
createdAt: Date;
|
|
3115
|
+
userId: number;
|
|
3111
3116
|
signedUrl: string;
|
|
3112
3117
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3113
3118
|
} | null | undefined;
|
|
3114
|
-
|
|
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?: {
|
|
3115
3121
|
path: string;
|
|
3116
3122
|
id: string;
|
|
3117
|
-
userId: number;
|
|
3118
3123
|
createdAt: Date;
|
|
3124
|
+
userId: number;
|
|
3119
3125
|
signedUrl: string;
|
|
3120
3126
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3121
3127
|
} | null | undefined;
|
|
3122
|
-
|
|
3128
|
+
nonCroppedFile?: {
|
|
3123
3129
|
path: string;
|
|
3124
3130
|
id: string;
|
|
3125
|
-
userId: number;
|
|
3126
3131
|
createdAt: Date;
|
|
3132
|
+
userId: number;
|
|
3127
3133
|
signedUrl: string;
|
|
3128
3134
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3129
3135
|
} | null | undefined;
|
|
3130
|
-
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;
|
|
3131
3136
|
}[] | null | undefined;
|
|
3132
3137
|
invoices?: {
|
|
3133
3138
|
type: "SALE" | "PURCHASE";
|
|
3134
3139
|
status: string;
|
|
3135
3140
|
id: string;
|
|
3136
|
-
userId: number;
|
|
3137
3141
|
createdAt: Date;
|
|
3142
|
+
userId: number;
|
|
3138
3143
|
currency: string;
|
|
3139
3144
|
orderId: string;
|
|
3140
3145
|
updatedAt: Date;
|
|
@@ -3143,21 +3148,21 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3143
3148
|
businessProfileId: string;
|
|
3144
3149
|
issueDate: Date;
|
|
3145
3150
|
subtotal: number;
|
|
3146
|
-
vatAmount?: number | null | undefined;
|
|
3147
3151
|
fileId?: string | null | undefined;
|
|
3152
|
+
vatAmount?: number | null | undefined;
|
|
3148
3153
|
file?: {
|
|
3149
3154
|
path: string;
|
|
3150
3155
|
id: string;
|
|
3151
|
-
userId: number;
|
|
3152
3156
|
createdAt: Date;
|
|
3157
|
+
userId: number;
|
|
3153
3158
|
signedUrl: string;
|
|
3154
3159
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3155
3160
|
} | null | undefined;
|
|
3156
3161
|
vatRate?: number | null | undefined;
|
|
3157
3162
|
businessProfile?: {
|
|
3158
3163
|
id: string;
|
|
3159
|
-
userId: number;
|
|
3160
3164
|
createdAt: Date;
|
|
3165
|
+
userId: number;
|
|
3161
3166
|
updatedAt: Date;
|
|
3162
3167
|
businessName: string;
|
|
3163
3168
|
address: string;
|
|
@@ -3170,11 +3175,12 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3170
3175
|
logo?: {
|
|
3171
3176
|
path: string;
|
|
3172
3177
|
id: string;
|
|
3173
|
-
userId: number;
|
|
3174
3178
|
createdAt: Date;
|
|
3179
|
+
userId: number;
|
|
3175
3180
|
signedUrl: string;
|
|
3176
3181
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3177
3182
|
} | null | undefined;
|
|
3183
|
+
vatRegime?: "UNKNOWN" | "MARGIN" | "FRANCHISE" | "NORMAL" | null | undefined;
|
|
3178
3184
|
} | null | undefined;
|
|
3179
3185
|
customerId?: string | null | undefined;
|
|
3180
3186
|
customer?: {
|
|
@@ -3183,26 +3189,26 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3183
3189
|
firstName: string;
|
|
3184
3190
|
lastName: string;
|
|
3185
3191
|
phoneVerified: boolean;
|
|
3186
|
-
postalCode?: string | null | undefined;
|
|
3187
|
-
city?: string | null | undefined;
|
|
3188
|
-
country?: string | null | undefined;
|
|
3189
|
-
email?: string | null | undefined;
|
|
3190
|
-
addressLine1?: string | null | undefined;
|
|
3191
|
-
addressLine2?: string | null | undefined;
|
|
3192
3192
|
birthDate?: Date | null | undefined;
|
|
3193
|
+
email?: string | null | undefined;
|
|
3193
3194
|
idNumber?: string | null | undefined;
|
|
3194
3195
|
phone?: string | null | undefined;
|
|
3195
3196
|
iban?: string | null | undefined;
|
|
3196
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;
|
|
3197
3203
|
} | null | undefined;
|
|
3198
3204
|
dueDate?: Date | null | undefined;
|
|
3199
3205
|
notes?: string | null | undefined;
|
|
3200
3206
|
lineItems?: {
|
|
3201
|
-
quantity: number;
|
|
3202
|
-
id: number;
|
|
3203
3207
|
description: string;
|
|
3208
|
+
id: number;
|
|
3204
3209
|
createdAt: Date;
|
|
3205
3210
|
invoiceId: string;
|
|
3211
|
+
quantity: number;
|
|
3206
3212
|
unitPrice: number;
|
|
3207
3213
|
total: number;
|
|
3208
3214
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3213,42 +3219,42 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3213
3219
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
3214
3220
|
labels?: {
|
|
3215
3221
|
id: string;
|
|
3216
|
-
orderId: string;
|
|
3217
3222
|
fileId: string;
|
|
3223
|
+
orderId: string;
|
|
3218
3224
|
nonCroppedFileId: string;
|
|
3219
3225
|
originalFileId: string;
|
|
3220
|
-
|
|
3226
|
+
originalFile?: {
|
|
3221
3227
|
path: string;
|
|
3222
3228
|
id: string;
|
|
3223
|
-
userId: number;
|
|
3224
3229
|
createdAt: Date;
|
|
3230
|
+
userId: number;
|
|
3225
3231
|
signedUrl: string;
|
|
3226
3232
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3227
3233
|
} | null | undefined;
|
|
3228
|
-
|
|
3234
|
+
carrier?: unknown;
|
|
3235
|
+
file?: {
|
|
3229
3236
|
path: string;
|
|
3230
3237
|
id: string;
|
|
3231
|
-
userId: number;
|
|
3232
3238
|
createdAt: Date;
|
|
3239
|
+
userId: number;
|
|
3233
3240
|
signedUrl: string;
|
|
3234
3241
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3235
3242
|
} | null | undefined;
|
|
3236
|
-
|
|
3243
|
+
nonCroppedFile?: {
|
|
3237
3244
|
path: string;
|
|
3238
3245
|
id: string;
|
|
3239
|
-
userId: number;
|
|
3240
3246
|
createdAt: Date;
|
|
3247
|
+
userId: number;
|
|
3241
3248
|
signedUrl: string;
|
|
3242
3249
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3243
3250
|
} | null | undefined;
|
|
3244
|
-
carrier?: unknown;
|
|
3245
3251
|
}[] | null | undefined;
|
|
3246
3252
|
invoices?: {
|
|
3247
3253
|
type: "SALE" | "PURCHASE";
|
|
3248
3254
|
status: string;
|
|
3249
3255
|
id: string;
|
|
3250
|
-
userId: number;
|
|
3251
3256
|
createdAt: Date;
|
|
3257
|
+
userId: number;
|
|
3252
3258
|
currency: string;
|
|
3253
3259
|
orderId: string;
|
|
3254
3260
|
updatedAt: Date;
|
|
@@ -3257,21 +3263,21 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3257
3263
|
businessProfileId: string;
|
|
3258
3264
|
issueDate: Date;
|
|
3259
3265
|
subtotal: number;
|
|
3260
|
-
vatAmount?: number | null | undefined;
|
|
3261
3266
|
fileId?: string | null | undefined;
|
|
3267
|
+
vatAmount?: number | null | undefined;
|
|
3262
3268
|
file?: {
|
|
3263
3269
|
path: string;
|
|
3264
3270
|
id: string;
|
|
3265
|
-
userId: number;
|
|
3266
3271
|
createdAt: Date;
|
|
3272
|
+
userId: number;
|
|
3267
3273
|
signedUrl: string;
|
|
3268
3274
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3269
3275
|
} | null | undefined;
|
|
3270
3276
|
vatRate?: number | null | undefined;
|
|
3271
3277
|
businessProfile?: {
|
|
3272
3278
|
id: string;
|
|
3273
|
-
userId: number;
|
|
3274
3279
|
createdAt: Date;
|
|
3280
|
+
userId: number;
|
|
3275
3281
|
updatedAt: Date;
|
|
3276
3282
|
businessName: string;
|
|
3277
3283
|
address: string;
|
|
@@ -3284,11 +3290,12 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3284
3290
|
logo?: {
|
|
3285
3291
|
path: string;
|
|
3286
3292
|
id: string;
|
|
3287
|
-
userId: number;
|
|
3288
3293
|
createdAt: Date;
|
|
3294
|
+
userId: number;
|
|
3289
3295
|
signedUrl: string;
|
|
3290
3296
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3291
3297
|
} | null | undefined;
|
|
3298
|
+
vatRegime?: unknown;
|
|
3292
3299
|
} | null | undefined;
|
|
3293
3300
|
customerId?: string | null | undefined;
|
|
3294
3301
|
customer?: {
|
|
@@ -3297,26 +3304,26 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3297
3304
|
firstName: string;
|
|
3298
3305
|
lastName: string;
|
|
3299
3306
|
phoneVerified: boolean;
|
|
3300
|
-
postalCode?: string | null | undefined;
|
|
3301
|
-
city?: string | null | undefined;
|
|
3302
|
-
country?: string | null | undefined;
|
|
3303
|
-
email?: string | null | undefined;
|
|
3304
|
-
addressLine1?: string | null | undefined;
|
|
3305
|
-
addressLine2?: string | null | undefined;
|
|
3306
3307
|
birthDate?: Date | null | undefined;
|
|
3308
|
+
email?: string | null | undefined;
|
|
3307
3309
|
idNumber?: string | null | undefined;
|
|
3308
3310
|
phone?: string | null | undefined;
|
|
3309
3311
|
iban?: string | null | undefined;
|
|
3310
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;
|
|
3311
3318
|
} | null | undefined;
|
|
3312
3319
|
dueDate?: Date | null | undefined;
|
|
3313
3320
|
notes?: string | null | undefined;
|
|
3314
3321
|
lineItems?: {
|
|
3315
|
-
quantity: number;
|
|
3316
|
-
id: number;
|
|
3317
3322
|
description: string;
|
|
3323
|
+
id: number;
|
|
3318
3324
|
createdAt: Date;
|
|
3319
3325
|
invoiceId: string;
|
|
3326
|
+
quantity: number;
|
|
3320
3327
|
unitPrice: number;
|
|
3321
3328
|
total: number;
|
|
3322
3329
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3326,29 +3333,45 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3326
3333
|
}>>>;
|
|
3327
3334
|
analysisStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "COMPLETED", "FAILED"]>>>;
|
|
3328
3335
|
}, "strip", z.ZodTypeAny, {
|
|
3329
|
-
|
|
3330
|
-
|
|
3336
|
+
actions: {
|
|
3337
|
+
perAccount: Record<string, ("REPUBLISH" | "UNKNOWN" | "PUBLISH" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE" | "UPDATE_CANCEL" | "BOOST")[]>;
|
|
3338
|
+
};
|
|
3331
3339
|
name: string;
|
|
3340
|
+
id: number;
|
|
3332
3341
|
createdAt: Date;
|
|
3342
|
+
userId: number;
|
|
3333
3343
|
updatedAt: Date;
|
|
3334
3344
|
sold: boolean;
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
|
|
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;
|
|
3338
3361
|
description?: string | null | undefined;
|
|
3339
3362
|
categoryId?: number | null | undefined;
|
|
3340
|
-
|
|
3363
|
+
sizeId?: number | null | undefined;
|
|
3341
3364
|
colorIds?: number[] | null | undefined;
|
|
3365
|
+
packageSizeId?: number | null | undefined;
|
|
3366
|
+
state?: number | null | undefined;
|
|
3342
3367
|
measurementLength?: number | null | undefined;
|
|
3343
3368
|
measurementWidth?: number | null | undefined;
|
|
3344
|
-
packageSizeId?: number | null | undefined;
|
|
3345
|
-
sizeId?: number | null | undefined;
|
|
3346
3369
|
labels?: {
|
|
3347
3370
|
itemId: number;
|
|
3348
3371
|
labelId: number;
|
|
3349
3372
|
label?: {
|
|
3350
|
-
id: number;
|
|
3351
3373
|
name: string;
|
|
3374
|
+
id: number;
|
|
3352
3375
|
createdAt: Date;
|
|
3353
3376
|
isUserLabel: boolean;
|
|
3354
3377
|
itemCount?: number | null | undefined;
|
|
@@ -3361,50 +3384,86 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3361
3384
|
fieldKey: string;
|
|
3362
3385
|
}[] | null | undefined;
|
|
3363
3386
|
sku?: string | null | undefined;
|
|
3364
|
-
|
|
3365
|
-
|
|
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;
|
|
3366
3393
|
itemId: number;
|
|
3367
|
-
|
|
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;
|
|
3368
3439
|
}[] | null | undefined;
|
|
3369
|
-
|
|
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;
|
|
3370
3446
|
itemId: number;
|
|
3447
|
+
fieldId: number;
|
|
3448
|
+
}[] | null | undefined;
|
|
3449
|
+
files?: {
|
|
3371
3450
|
fileId: string;
|
|
3451
|
+
itemId: number;
|
|
3372
3452
|
file?: {
|
|
3373
3453
|
path: string;
|
|
3374
3454
|
id: string;
|
|
3375
|
-
userId: number;
|
|
3376
3455
|
createdAt: Date;
|
|
3456
|
+
userId: number;
|
|
3377
3457
|
signedUrl: string;
|
|
3378
3458
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3379
3459
|
} | null | undefined;
|
|
3380
3460
|
index?: number | null | undefined;
|
|
3381
3461
|
}[] | null | undefined;
|
|
3382
|
-
brandId?: number | null | undefined;
|
|
3383
|
-
sex?: string | null | undefined;
|
|
3384
3462
|
purchasePrice?: number | null | undefined;
|
|
3385
|
-
purchaseDate?: Date | null | undefined;
|
|
3386
3463
|
purchasePlaceId?: number | null | undefined;
|
|
3387
3464
|
purchased?: boolean | null | undefined;
|
|
3388
3465
|
sellingPrice?: number | null | undefined;
|
|
3389
|
-
sellingDate?: Date | null | undefined;
|
|
3390
3466
|
sellingPlaceId?: number | null | undefined;
|
|
3391
|
-
estimatedPrice?: number | null | undefined;
|
|
3392
|
-
fees?: {
|
|
3393
|
-
value: number;
|
|
3394
|
-
type: string;
|
|
3395
|
-
id: number;
|
|
3396
|
-
userId: number;
|
|
3397
|
-
name: string;
|
|
3398
|
-
createdAt: Date;
|
|
3399
|
-
updatedAt: Date;
|
|
3400
|
-
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
3401
|
-
startDate: Date;
|
|
3402
|
-
active: boolean;
|
|
3403
|
-
description?: string | null | undefined;
|
|
3404
|
-
itemId?: number | null | undefined;
|
|
3405
|
-
endDate?: Date | null | undefined;
|
|
3406
|
-
parentFeeId?: number | null | undefined;
|
|
3407
|
-
}[] | null | undefined;
|
|
3408
3467
|
feesSum?: number | null | undefined;
|
|
3409
3468
|
materialIds?: number[] | null | undefined;
|
|
3410
3469
|
enumValues?: {
|
|
@@ -3420,7 +3479,6 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3420
3479
|
id: string;
|
|
3421
3480
|
createdAt: Date;
|
|
3422
3481
|
itemId: number;
|
|
3423
|
-
accountId?: string | null | undefined;
|
|
3424
3482
|
data?: {
|
|
3425
3483
|
type: "ACTION_CANCELED";
|
|
3426
3484
|
data: {
|
|
@@ -3456,7 +3514,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3456
3514
|
accountId?: string | null | undefined;
|
|
3457
3515
|
reason?: string | null | undefined;
|
|
3458
3516
|
fields?: {
|
|
3459
|
-
field: "
|
|
3517
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
3460
3518
|
autoFixable: boolean;
|
|
3461
3519
|
error?: string | null | undefined;
|
|
3462
3520
|
}[] | null | undefined;
|
|
@@ -3486,23 +3544,23 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3486
3544
|
post: {
|
|
3487
3545
|
platformId: string;
|
|
3488
3546
|
post: {
|
|
3489
|
-
size?: string | null | undefined;
|
|
3490
3547
|
status?: string | null | undefined;
|
|
3491
3548
|
title?: string | null | undefined;
|
|
3492
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;
|
|
3493
3555
|
price?: number | null | undefined;
|
|
3494
3556
|
currency?: string | null | undefined;
|
|
3495
|
-
brand?: string | null | undefined;
|
|
3496
3557
|
catalog?: string | null | undefined;
|
|
3497
3558
|
catalogId?: number | null | undefined;
|
|
3498
3559
|
colors?: string[] | null | undefined;
|
|
3499
|
-
colorIds?: number[] | null | undefined;
|
|
3500
3560
|
measurementLength?: number | null | undefined;
|
|
3501
3561
|
measurementWidth?: number | null | undefined;
|
|
3502
|
-
packageSizeId?: number | null | undefined;
|
|
3503
3562
|
photoUrls?: string[] | null | undefined;
|
|
3504
|
-
|
|
3505
|
-
statusId?: number | null | undefined;
|
|
3563
|
+
size?: string | null | undefined;
|
|
3506
3564
|
isDraft?: boolean | null | undefined;
|
|
3507
3565
|
isArchived?: boolean | null | undefined;
|
|
3508
3566
|
isUnisex?: boolean | null | undefined;
|
|
@@ -3545,8 +3603,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3545
3603
|
} | {
|
|
3546
3604
|
type: "LIFECYCLE_STARTED";
|
|
3547
3605
|
data: {
|
|
3548
|
-
accountId: string;
|
|
3549
3606
|
caseId: string;
|
|
3607
|
+
accountId: string;
|
|
3550
3608
|
isRepeat?: boolean | null | undefined;
|
|
3551
3609
|
};
|
|
3552
3610
|
} | {
|
|
@@ -3585,17 +3643,17 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3585
3643
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
3586
3644
|
} | null | undefined;
|
|
3587
3645
|
} | null | undefined;
|
|
3588
|
-
targetAccountId?: string | null | undefined;
|
|
3589
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
3590
3646
|
publishingDate?: Date | null | undefined;
|
|
3591
3647
|
isTransfer?: boolean | null | undefined;
|
|
3648
|
+
targetAccountId?: string | null | undefined;
|
|
3649
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
3592
3650
|
};
|
|
3593
3651
|
} | {
|
|
3594
3652
|
type: "REPUBLISHING_RETRY";
|
|
3595
3653
|
data: {
|
|
3654
|
+
maxAttempts: number;
|
|
3596
3655
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3597
3656
|
attemptNumber: number;
|
|
3598
|
-
maxAttempts: number;
|
|
3599
3657
|
previousHistoryId: string;
|
|
3600
3658
|
originalFailureDate: Date;
|
|
3601
3659
|
payload?: {
|
|
@@ -3623,7 +3681,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3623
3681
|
} | null | undefined;
|
|
3624
3682
|
} | null | undefined;
|
|
3625
3683
|
fields?: {
|
|
3626
|
-
field: "
|
|
3684
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
3627
3685
|
autoFixable: boolean;
|
|
3628
3686
|
error?: string | null | undefined;
|
|
3629
3687
|
}[] | null | undefined;
|
|
@@ -3637,13 +3695,13 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3637
3695
|
} | {
|
|
3638
3696
|
type: "SCHEDULED_RETRY";
|
|
3639
3697
|
data: {
|
|
3698
|
+
maxAttempts: number;
|
|
3640
3699
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3641
3700
|
attemptNumber: number;
|
|
3642
|
-
maxAttempts: number;
|
|
3643
3701
|
previousHistoryId: string;
|
|
3644
3702
|
originalFailureDate: Date;
|
|
3645
3703
|
fields?: {
|
|
3646
|
-
field: "
|
|
3704
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
3647
3705
|
autoFixable: boolean;
|
|
3648
3706
|
error?: string | null | undefined;
|
|
3649
3707
|
}[] | null | undefined;
|
|
@@ -3672,103 +3730,52 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3672
3730
|
targetDate?: Date | null | undefined;
|
|
3673
3731
|
};
|
|
3674
3732
|
} | null | undefined;
|
|
3733
|
+
accountId?: string | null | undefined;
|
|
3675
3734
|
targetDate?: Date | null | undefined;
|
|
3676
3735
|
requestId?: string | null | undefined;
|
|
3677
3736
|
targetHistoryId?: string | null | undefined;
|
|
3678
3737
|
} | null | undefined;
|
|
3679
|
-
platforms?: {
|
|
3680
|
-
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
3681
|
-
id: string;
|
|
3682
|
-
accountId: string;
|
|
3683
|
-
createdAt: Date;
|
|
3684
|
-
itemId: number;
|
|
3685
|
-
platformId: string;
|
|
3686
|
-
platformUrl: string;
|
|
3687
|
-
platformPrice: number;
|
|
3688
|
-
updatedAt: Date;
|
|
3689
|
-
publishedAt: Date;
|
|
3690
|
-
conversationId?: string | null | undefined;
|
|
3691
|
-
boostedAt?: Date | null | undefined;
|
|
3692
|
-
boostedUntil?: Date | null | undefined;
|
|
3693
|
-
viewsCount?: number | null | undefined;
|
|
3694
|
-
favoritesCount?: number | null | undefined;
|
|
3695
|
-
account?: {
|
|
3696
|
-
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
3697
|
-
accountId: string;
|
|
3698
|
-
userId: number;
|
|
3699
|
-
name: string;
|
|
3700
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3701
|
-
locale?: string | null | undefined;
|
|
3702
|
-
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
3703
|
-
restrictedUntil?: Date | null | undefined;
|
|
3704
|
-
night?: {
|
|
3705
|
-
startsAt: Date;
|
|
3706
|
-
endsAt: Date;
|
|
3707
|
-
} | null | undefined;
|
|
3708
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
3709
|
-
ordersMaxDelay?: number | null | undefined;
|
|
3710
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
3711
|
-
walletMaxDelay?: number | null | undefined;
|
|
3712
|
-
availableBalance?: number | null | undefined;
|
|
3713
|
-
pendingBalance?: number | null | undefined;
|
|
3714
|
-
profilePictureFileId?: string | null | undefined;
|
|
3715
|
-
profilePicture?: {
|
|
3716
|
-
path: string;
|
|
3717
|
-
id: string;
|
|
3718
|
-
userId: number;
|
|
3719
|
-
createdAt: Date;
|
|
3720
|
-
signedUrl: string;
|
|
3721
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3722
|
-
} | null | undefined;
|
|
3723
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
3724
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
3725
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
3726
|
-
} | null | undefined;
|
|
3727
|
-
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;
|
|
3728
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
3729
|
-
isBoosted?: boolean | null | undefined;
|
|
3730
|
-
}[] | null | undefined;
|
|
3731
3738
|
sourceInConversation?: "UNKNOWN" | "DELETED" | "ORDER" | "TRANSACTION" | null | undefined;
|
|
3732
3739
|
order?: {
|
|
3733
3740
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
3734
3741
|
labels?: {
|
|
3735
3742
|
id: string;
|
|
3736
|
-
orderId: string;
|
|
3737
3743
|
fileId: string;
|
|
3744
|
+
orderId: string;
|
|
3738
3745
|
nonCroppedFileId: string;
|
|
3739
3746
|
originalFileId: string;
|
|
3740
|
-
|
|
3747
|
+
originalFile?: {
|
|
3741
3748
|
path: string;
|
|
3742
3749
|
id: string;
|
|
3743
|
-
userId: number;
|
|
3744
3750
|
createdAt: Date;
|
|
3751
|
+
userId: number;
|
|
3745
3752
|
signedUrl: string;
|
|
3746
3753
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3747
3754
|
} | null | undefined;
|
|
3748
|
-
|
|
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?: {
|
|
3749
3757
|
path: string;
|
|
3750
3758
|
id: string;
|
|
3751
|
-
userId: number;
|
|
3752
3759
|
createdAt: Date;
|
|
3760
|
+
userId: number;
|
|
3753
3761
|
signedUrl: string;
|
|
3754
3762
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3755
3763
|
} | null | undefined;
|
|
3756
|
-
|
|
3764
|
+
nonCroppedFile?: {
|
|
3757
3765
|
path: string;
|
|
3758
3766
|
id: string;
|
|
3759
|
-
userId: number;
|
|
3760
3767
|
createdAt: Date;
|
|
3768
|
+
userId: number;
|
|
3761
3769
|
signedUrl: string;
|
|
3762
3770
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3763
3771
|
} | null | undefined;
|
|
3764
|
-
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;
|
|
3765
3772
|
}[] | null | undefined;
|
|
3766
3773
|
invoices?: {
|
|
3767
3774
|
type: "SALE" | "PURCHASE";
|
|
3768
3775
|
status: string;
|
|
3769
3776
|
id: string;
|
|
3770
|
-
userId: number;
|
|
3771
3777
|
createdAt: Date;
|
|
3778
|
+
userId: number;
|
|
3772
3779
|
currency: string;
|
|
3773
3780
|
orderId: string;
|
|
3774
3781
|
updatedAt: Date;
|
|
@@ -3777,21 +3784,21 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3777
3784
|
businessProfileId: string;
|
|
3778
3785
|
issueDate: Date;
|
|
3779
3786
|
subtotal: number;
|
|
3780
|
-
vatAmount?: number | null | undefined;
|
|
3781
3787
|
fileId?: string | null | undefined;
|
|
3788
|
+
vatAmount?: number | null | undefined;
|
|
3782
3789
|
file?: {
|
|
3783
3790
|
path: string;
|
|
3784
3791
|
id: string;
|
|
3785
|
-
userId: number;
|
|
3786
3792
|
createdAt: Date;
|
|
3793
|
+
userId: number;
|
|
3787
3794
|
signedUrl: string;
|
|
3788
3795
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3789
3796
|
} | null | undefined;
|
|
3790
3797
|
vatRate?: number | null | undefined;
|
|
3791
3798
|
businessProfile?: {
|
|
3792
3799
|
id: string;
|
|
3793
|
-
userId: number;
|
|
3794
3800
|
createdAt: Date;
|
|
3801
|
+
userId: number;
|
|
3795
3802
|
updatedAt: Date;
|
|
3796
3803
|
businessName: string;
|
|
3797
3804
|
address: string;
|
|
@@ -3804,11 +3811,12 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3804
3811
|
logo?: {
|
|
3805
3812
|
path: string;
|
|
3806
3813
|
id: string;
|
|
3807
|
-
userId: number;
|
|
3808
3814
|
createdAt: Date;
|
|
3815
|
+
userId: number;
|
|
3809
3816
|
signedUrl: string;
|
|
3810
3817
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3811
3818
|
} | null | undefined;
|
|
3819
|
+
vatRegime?: "UNKNOWN" | "MARGIN" | "FRANCHISE" | "NORMAL" | null | undefined;
|
|
3812
3820
|
} | null | undefined;
|
|
3813
3821
|
customerId?: string | null | undefined;
|
|
3814
3822
|
customer?: {
|
|
@@ -3817,26 +3825,26 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3817
3825
|
firstName: string;
|
|
3818
3826
|
lastName: string;
|
|
3819
3827
|
phoneVerified: boolean;
|
|
3820
|
-
postalCode?: string | null | undefined;
|
|
3821
|
-
city?: string | null | undefined;
|
|
3822
|
-
country?: string | null | undefined;
|
|
3823
|
-
email?: string | null | undefined;
|
|
3824
|
-
addressLine1?: string | null | undefined;
|
|
3825
|
-
addressLine2?: string | null | undefined;
|
|
3826
3828
|
birthDate?: Date | null | undefined;
|
|
3829
|
+
email?: string | null | undefined;
|
|
3827
3830
|
idNumber?: string | null | undefined;
|
|
3828
3831
|
phone?: string | null | undefined;
|
|
3829
3832
|
iban?: string | null | undefined;
|
|
3830
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;
|
|
3831
3839
|
} | null | undefined;
|
|
3832
3840
|
dueDate?: Date | null | undefined;
|
|
3833
3841
|
notes?: string | null | undefined;
|
|
3834
3842
|
lineItems?: {
|
|
3835
|
-
quantity: number;
|
|
3836
|
-
id: number;
|
|
3837
3843
|
description: string;
|
|
3844
|
+
id: number;
|
|
3838
3845
|
createdAt: Date;
|
|
3839
3846
|
invoiceId: string;
|
|
3847
|
+
quantity: number;
|
|
3840
3848
|
unitPrice: number;
|
|
3841
3849
|
total: number;
|
|
3842
3850
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3846,29 +3854,45 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3846
3854
|
} | null | undefined;
|
|
3847
3855
|
analysisStatus?: "PENDING" | "COMPLETED" | "FAILED" | null | undefined;
|
|
3848
3856
|
}, {
|
|
3849
|
-
|
|
3850
|
-
|
|
3857
|
+
actions: {
|
|
3858
|
+
perAccount: Record<string, unknown[]>;
|
|
3859
|
+
};
|
|
3851
3860
|
name: string;
|
|
3861
|
+
id: number;
|
|
3852
3862
|
createdAt: Date;
|
|
3863
|
+
userId: number;
|
|
3853
3864
|
updatedAt: Date;
|
|
3854
3865
|
sold: boolean;
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
|
|
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;
|
|
3858
3882
|
description?: string | null | undefined;
|
|
3859
3883
|
categoryId?: number | null | undefined;
|
|
3860
|
-
|
|
3884
|
+
sizeId?: number | null | undefined;
|
|
3861
3885
|
colorIds?: number[] | null | undefined;
|
|
3886
|
+
packageSizeId?: number | null | undefined;
|
|
3887
|
+
state?: number | null | undefined;
|
|
3862
3888
|
measurementLength?: number | null | undefined;
|
|
3863
3889
|
measurementWidth?: number | null | undefined;
|
|
3864
|
-
packageSizeId?: number | null | undefined;
|
|
3865
|
-
sizeId?: number | null | undefined;
|
|
3866
3890
|
labels?: {
|
|
3867
3891
|
itemId: number;
|
|
3868
3892
|
labelId: number;
|
|
3869
3893
|
label?: {
|
|
3870
|
-
id: number;
|
|
3871
3894
|
name: string;
|
|
3895
|
+
id: number;
|
|
3872
3896
|
createdAt: Date;
|
|
3873
3897
|
isUserLabel: boolean;
|
|
3874
3898
|
itemCount?: number | null | undefined;
|
|
@@ -3881,50 +3905,86 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3881
3905
|
fieldKey: string;
|
|
3882
3906
|
}[] | null | undefined;
|
|
3883
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;
|
|
3884
3965
|
fields?: {
|
|
3885
3966
|
value: string;
|
|
3886
3967
|
itemId: number;
|
|
3887
3968
|
fieldId: number;
|
|
3888
3969
|
}[] | null | undefined;
|
|
3889
3970
|
files?: {
|
|
3890
|
-
itemId: number;
|
|
3891
3971
|
fileId: string;
|
|
3972
|
+
itemId: number;
|
|
3892
3973
|
file?: {
|
|
3893
3974
|
path: string;
|
|
3894
3975
|
id: string;
|
|
3895
|
-
userId: number;
|
|
3896
3976
|
createdAt: Date;
|
|
3977
|
+
userId: number;
|
|
3897
3978
|
signedUrl: string;
|
|
3898
3979
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3899
3980
|
} | null | undefined;
|
|
3900
3981
|
index?: number | null | undefined;
|
|
3901
3982
|
}[] | null | undefined;
|
|
3902
|
-
brandId?: number | null | undefined;
|
|
3903
|
-
sex?: string | null | undefined;
|
|
3904
3983
|
purchasePrice?: number | null | undefined;
|
|
3905
|
-
purchaseDate?: Date | null | undefined;
|
|
3906
3984
|
purchasePlaceId?: number | null | undefined;
|
|
3907
3985
|
purchased?: boolean | null | undefined;
|
|
3908
3986
|
sellingPrice?: number | null | undefined;
|
|
3909
|
-
sellingDate?: Date | null | undefined;
|
|
3910
3987
|
sellingPlaceId?: number | null | undefined;
|
|
3911
|
-
estimatedPrice?: number | null | undefined;
|
|
3912
|
-
fees?: {
|
|
3913
|
-
value: number;
|
|
3914
|
-
type: string;
|
|
3915
|
-
id: number;
|
|
3916
|
-
userId: number;
|
|
3917
|
-
name: string;
|
|
3918
|
-
createdAt: Date;
|
|
3919
|
-
updatedAt: Date;
|
|
3920
|
-
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
3921
|
-
startDate: Date;
|
|
3922
|
-
active: boolean;
|
|
3923
|
-
description?: string | null | undefined;
|
|
3924
|
-
itemId?: number | null | undefined;
|
|
3925
|
-
endDate?: Date | null | undefined;
|
|
3926
|
-
parentFeeId?: number | null | undefined;
|
|
3927
|
-
}[] | null | undefined;
|
|
3928
3988
|
feesSum?: number | null | undefined;
|
|
3929
3989
|
materialIds?: number[] | null | undefined;
|
|
3930
3990
|
enumValues?: {
|
|
@@ -3940,7 +4000,6 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3940
4000
|
createdAt: Date;
|
|
3941
4001
|
itemId: number;
|
|
3942
4002
|
type?: unknown;
|
|
3943
|
-
accountId?: string | null | undefined;
|
|
3944
4003
|
data?: {
|
|
3945
4004
|
type: "ACTION_CANCELED";
|
|
3946
4005
|
data: {
|
|
@@ -4006,23 +4065,23 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
4006
4065
|
post: {
|
|
4007
4066
|
platformId: string;
|
|
4008
4067
|
post: {
|
|
4009
|
-
size?: string | null | undefined;
|
|
4010
4068
|
status?: string | null | undefined;
|
|
4011
4069
|
title?: string | null | undefined;
|
|
4012
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;
|
|
4013
4076
|
price?: number | null | undefined;
|
|
4014
4077
|
currency?: string | null | undefined;
|
|
4015
|
-
brand?: string | null | undefined;
|
|
4016
4078
|
catalog?: string | null | undefined;
|
|
4017
4079
|
catalogId?: number | null | undefined;
|
|
4018
4080
|
colors?: string[] | null | undefined;
|
|
4019
|
-
colorIds?: number[] | null | undefined;
|
|
4020
4081
|
measurementLength?: number | null | undefined;
|
|
4021
4082
|
measurementWidth?: number | null | undefined;
|
|
4022
|
-
packageSizeId?: number | null | undefined;
|
|
4023
4083
|
photoUrls?: string[] | null | undefined;
|
|
4024
|
-
|
|
4025
|
-
statusId?: number | null | undefined;
|
|
4084
|
+
size?: string | null | undefined;
|
|
4026
4085
|
isDraft?: boolean | null | undefined;
|
|
4027
4086
|
isArchived?: boolean | null | undefined;
|
|
4028
4087
|
isUnisex?: boolean | null | undefined;
|
|
@@ -4065,8 +4124,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
4065
4124
|
} | {
|
|
4066
4125
|
type: "LIFECYCLE_STARTED";
|
|
4067
4126
|
data: {
|
|
4068
|
-
accountId: string;
|
|
4069
4127
|
caseId: string;
|
|
4128
|
+
accountId: string;
|
|
4070
4129
|
isRepeat?: boolean | null | undefined;
|
|
4071
4130
|
};
|
|
4072
4131
|
} | {
|
|
@@ -4105,17 +4164,17 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
4105
4164
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
4106
4165
|
} | null | undefined;
|
|
4107
4166
|
} | null | undefined;
|
|
4108
|
-
targetAccountId?: string | null | undefined;
|
|
4109
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
4110
4167
|
publishingDate?: Date | null | undefined;
|
|
4111
4168
|
isTransfer?: boolean | null | undefined;
|
|
4169
|
+
targetAccountId?: string | null | undefined;
|
|
4170
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
4112
4171
|
};
|
|
4113
4172
|
} | {
|
|
4114
4173
|
type: "REPUBLISHING_RETRY";
|
|
4115
4174
|
data: {
|
|
4175
|
+
maxAttempts: number;
|
|
4116
4176
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4117
4177
|
attemptNumber: number;
|
|
4118
|
-
maxAttempts: number;
|
|
4119
4178
|
previousHistoryId: string;
|
|
4120
4179
|
originalFailureDate: Date;
|
|
4121
4180
|
payload?: {
|
|
@@ -4157,9 +4216,9 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
4157
4216
|
} | {
|
|
4158
4217
|
type: "SCHEDULED_RETRY";
|
|
4159
4218
|
data: {
|
|
4219
|
+
maxAttempts: number;
|
|
4160
4220
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4161
4221
|
attemptNumber: number;
|
|
4162
|
-
maxAttempts: number;
|
|
4163
4222
|
previousHistoryId: string;
|
|
4164
4223
|
originalFailureDate: Date;
|
|
4165
4224
|
fields?: {
|
|
@@ -4192,103 +4251,52 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
4192
4251
|
targetDate?: Date | null | undefined;
|
|
4193
4252
|
};
|
|
4194
4253
|
} | null | undefined;
|
|
4254
|
+
accountId?: string | null | undefined;
|
|
4195
4255
|
targetDate?: Date | null | undefined;
|
|
4196
4256
|
requestId?: string | null | undefined;
|
|
4197
4257
|
targetHistoryId?: string | null | undefined;
|
|
4198
4258
|
} | null | undefined;
|
|
4199
|
-
platforms?: {
|
|
4200
|
-
id: string;
|
|
4201
|
-
accountId: string;
|
|
4202
|
-
createdAt: Date;
|
|
4203
|
-
itemId: number;
|
|
4204
|
-
platformId: string;
|
|
4205
|
-
platformUrl: string;
|
|
4206
|
-
platformPrice: number;
|
|
4207
|
-
updatedAt: Date;
|
|
4208
|
-
publishedAt: Date;
|
|
4209
|
-
status?: unknown;
|
|
4210
|
-
conversationId?: string | null | undefined;
|
|
4211
|
-
boostedAt?: Date | null | undefined;
|
|
4212
|
-
boostedUntil?: Date | null | undefined;
|
|
4213
|
-
viewsCount?: number | null | undefined;
|
|
4214
|
-
favoritesCount?: number | null | undefined;
|
|
4215
|
-
account?: {
|
|
4216
|
-
accountId: string;
|
|
4217
|
-
userId: number;
|
|
4218
|
-
name: string;
|
|
4219
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4220
|
-
status?: unknown;
|
|
4221
|
-
locale?: string | null | undefined;
|
|
4222
|
-
lockReason?: unknown;
|
|
4223
|
-
restrictedUntil?: Date | null | undefined;
|
|
4224
|
-
night?: {
|
|
4225
|
-
startsAt: Date;
|
|
4226
|
-
endsAt: Date;
|
|
4227
|
-
} | null | undefined;
|
|
4228
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
4229
|
-
ordersMaxDelay?: number | null | undefined;
|
|
4230
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
4231
|
-
walletMaxDelay?: number | null | undefined;
|
|
4232
|
-
availableBalance?: number | null | undefined;
|
|
4233
|
-
pendingBalance?: number | null | undefined;
|
|
4234
|
-
profilePictureFileId?: string | null | undefined;
|
|
4235
|
-
profilePicture?: {
|
|
4236
|
-
path: string;
|
|
4237
|
-
id: string;
|
|
4238
|
-
userId: number;
|
|
4239
|
-
createdAt: Date;
|
|
4240
|
-
signedUrl: string;
|
|
4241
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4242
|
-
} | null | undefined;
|
|
4243
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
4244
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
4245
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
4246
|
-
} | null | undefined;
|
|
4247
|
-
orderStatus?: unknown;
|
|
4248
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
4249
|
-
isBoosted?: boolean | null | undefined;
|
|
4250
|
-
}[] | null | undefined;
|
|
4251
4259
|
sourceInConversation?: unknown;
|
|
4252
4260
|
order?: {
|
|
4253
4261
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
4254
4262
|
labels?: {
|
|
4255
4263
|
id: string;
|
|
4256
|
-
orderId: string;
|
|
4257
4264
|
fileId: string;
|
|
4265
|
+
orderId: string;
|
|
4258
4266
|
nonCroppedFileId: string;
|
|
4259
4267
|
originalFileId: string;
|
|
4260
|
-
|
|
4268
|
+
originalFile?: {
|
|
4261
4269
|
path: string;
|
|
4262
4270
|
id: string;
|
|
4263
|
-
userId: number;
|
|
4264
4271
|
createdAt: Date;
|
|
4272
|
+
userId: number;
|
|
4265
4273
|
signedUrl: string;
|
|
4266
4274
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4267
4275
|
} | null | undefined;
|
|
4268
|
-
|
|
4276
|
+
carrier?: unknown;
|
|
4277
|
+
file?: {
|
|
4269
4278
|
path: string;
|
|
4270
4279
|
id: string;
|
|
4271
|
-
userId: number;
|
|
4272
4280
|
createdAt: Date;
|
|
4281
|
+
userId: number;
|
|
4273
4282
|
signedUrl: string;
|
|
4274
4283
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4275
4284
|
} | null | undefined;
|
|
4276
|
-
|
|
4285
|
+
nonCroppedFile?: {
|
|
4277
4286
|
path: string;
|
|
4278
4287
|
id: string;
|
|
4279
|
-
userId: number;
|
|
4280
4288
|
createdAt: Date;
|
|
4289
|
+
userId: number;
|
|
4281
4290
|
signedUrl: string;
|
|
4282
4291
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4283
4292
|
} | null | undefined;
|
|
4284
|
-
carrier?: unknown;
|
|
4285
4293
|
}[] | null | undefined;
|
|
4286
4294
|
invoices?: {
|
|
4287
4295
|
type: "SALE" | "PURCHASE";
|
|
4288
4296
|
status: string;
|
|
4289
4297
|
id: string;
|
|
4290
|
-
userId: number;
|
|
4291
4298
|
createdAt: Date;
|
|
4299
|
+
userId: number;
|
|
4292
4300
|
currency: string;
|
|
4293
4301
|
orderId: string;
|
|
4294
4302
|
updatedAt: Date;
|
|
@@ -4297,21 +4305,21 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
4297
4305
|
businessProfileId: string;
|
|
4298
4306
|
issueDate: Date;
|
|
4299
4307
|
subtotal: number;
|
|
4300
|
-
vatAmount?: number | null | undefined;
|
|
4301
4308
|
fileId?: string | null | undefined;
|
|
4309
|
+
vatAmount?: number | null | undefined;
|
|
4302
4310
|
file?: {
|
|
4303
4311
|
path: string;
|
|
4304
4312
|
id: string;
|
|
4305
|
-
userId: number;
|
|
4306
4313
|
createdAt: Date;
|
|
4314
|
+
userId: number;
|
|
4307
4315
|
signedUrl: string;
|
|
4308
4316
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4309
4317
|
} | null | undefined;
|
|
4310
4318
|
vatRate?: number | null | undefined;
|
|
4311
4319
|
businessProfile?: {
|
|
4312
4320
|
id: string;
|
|
4313
|
-
userId: number;
|
|
4314
4321
|
createdAt: Date;
|
|
4322
|
+
userId: number;
|
|
4315
4323
|
updatedAt: Date;
|
|
4316
4324
|
businessName: string;
|
|
4317
4325
|
address: string;
|
|
@@ -4324,11 +4332,12 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
4324
4332
|
logo?: {
|
|
4325
4333
|
path: string;
|
|
4326
4334
|
id: string;
|
|
4327
|
-
userId: number;
|
|
4328
4335
|
createdAt: Date;
|
|
4336
|
+
userId: number;
|
|
4329
4337
|
signedUrl: string;
|
|
4330
4338
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4331
4339
|
} | null | undefined;
|
|
4340
|
+
vatRegime?: unknown;
|
|
4332
4341
|
} | null | undefined;
|
|
4333
4342
|
customerId?: string | null | undefined;
|
|
4334
4343
|
customer?: {
|
|
@@ -4337,26 +4346,26 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
4337
4346
|
firstName: string;
|
|
4338
4347
|
lastName: string;
|
|
4339
4348
|
phoneVerified: boolean;
|
|
4340
|
-
postalCode?: string | null | undefined;
|
|
4341
|
-
city?: string | null | undefined;
|
|
4342
|
-
country?: string | null | undefined;
|
|
4343
|
-
email?: string | null | undefined;
|
|
4344
|
-
addressLine1?: string | null | undefined;
|
|
4345
|
-
addressLine2?: string | null | undefined;
|
|
4346
4349
|
birthDate?: Date | null | undefined;
|
|
4350
|
+
email?: string | null | undefined;
|
|
4347
4351
|
idNumber?: string | null | undefined;
|
|
4348
4352
|
phone?: string | null | undefined;
|
|
4349
4353
|
iban?: string | null | undefined;
|
|
4350
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;
|
|
4351
4360
|
} | null | undefined;
|
|
4352
4361
|
dueDate?: Date | null | undefined;
|
|
4353
4362
|
notes?: string | null | undefined;
|
|
4354
4363
|
lineItems?: {
|
|
4355
|
-
quantity: number;
|
|
4356
|
-
id: number;
|
|
4357
4364
|
description: string;
|
|
4365
|
+
id: number;
|
|
4358
4366
|
createdAt: Date;
|
|
4359
4367
|
invoiceId: string;
|
|
4368
|
+
quantity: number;
|
|
4360
4369
|
unitPrice: number;
|
|
4361
4370
|
total: number;
|
|
4362
4371
|
itemOnPlatformId?: string | null | undefined;
|