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