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
|
@@ -20,38 +20,38 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
20
20
|
}, "strip", z.ZodTypeAny, {
|
|
21
21
|
path: string;
|
|
22
22
|
id: string;
|
|
23
|
-
userId: number;
|
|
24
23
|
createdAt: Date;
|
|
24
|
+
userId: number;
|
|
25
25
|
signedUrl: string;
|
|
26
26
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
27
27
|
}, {
|
|
28
28
|
path: string;
|
|
29
29
|
id: string;
|
|
30
|
-
userId: number;
|
|
31
30
|
createdAt: Date;
|
|
31
|
+
userId: number;
|
|
32
32
|
signedUrl: string;
|
|
33
33
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
34
34
|
}>>>;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
|
-
itemId: number;
|
|
37
36
|
fileId: string;
|
|
37
|
+
itemId: number;
|
|
38
38
|
file?: {
|
|
39
39
|
path: string;
|
|
40
40
|
id: string;
|
|
41
|
-
userId: number;
|
|
42
41
|
createdAt: Date;
|
|
42
|
+
userId: number;
|
|
43
43
|
signedUrl: string;
|
|
44
44
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
45
45
|
} | null | undefined;
|
|
46
46
|
index?: number | null | undefined;
|
|
47
47
|
}, {
|
|
48
|
-
itemId: number;
|
|
49
48
|
fileId: string;
|
|
49
|
+
itemId: number;
|
|
50
50
|
file?: {
|
|
51
51
|
path: string;
|
|
52
52
|
id: string;
|
|
53
|
-
userId: number;
|
|
54
53
|
createdAt: Date;
|
|
54
|
+
userId: number;
|
|
55
55
|
signedUrl: string;
|
|
56
56
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
57
57
|
} | null | undefined;
|
|
@@ -89,12 +89,12 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
89
89
|
}, "strip", z.ZodTypeAny, {
|
|
90
90
|
value: number;
|
|
91
91
|
type: string;
|
|
92
|
-
id: number;
|
|
93
|
-
userId: number;
|
|
94
92
|
name: string;
|
|
93
|
+
id: number;
|
|
95
94
|
createdAt: Date;
|
|
95
|
+
userId: number;
|
|
96
96
|
updatedAt: Date;
|
|
97
|
-
recurrence: "
|
|
97
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
98
98
|
startDate: Date;
|
|
99
99
|
active: boolean;
|
|
100
100
|
description?: string | null | undefined;
|
|
@@ -104,12 +104,12 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
104
104
|
}, {
|
|
105
105
|
value: number;
|
|
106
106
|
type: string;
|
|
107
|
-
id: number;
|
|
108
|
-
userId: number;
|
|
109
107
|
name: string;
|
|
108
|
+
id: number;
|
|
110
109
|
createdAt: Date;
|
|
110
|
+
userId: number;
|
|
111
111
|
updatedAt: Date;
|
|
112
|
-
recurrence: "
|
|
112
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
113
113
|
startDate: Date;
|
|
114
114
|
active: boolean;
|
|
115
115
|
description?: string | null | undefined;
|
|
@@ -130,16 +130,16 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
130
130
|
itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
131
131
|
parentId: z.ZodUnknown;
|
|
132
132
|
}, "strip", z.ZodTypeAny, {
|
|
133
|
-
id: number;
|
|
134
133
|
name: string;
|
|
134
|
+
id: number;
|
|
135
135
|
createdAt: Date;
|
|
136
136
|
isUserLabel: boolean;
|
|
137
137
|
itemCount?: number | null | undefined;
|
|
138
138
|
userId?: number | null | undefined;
|
|
139
139
|
parentId?: unknown;
|
|
140
140
|
}, {
|
|
141
|
-
id: number;
|
|
142
141
|
name: string;
|
|
142
|
+
id: number;
|
|
143
143
|
createdAt: Date;
|
|
144
144
|
isUserLabel: boolean;
|
|
145
145
|
itemCount?: number | null | undefined;
|
|
@@ -150,8 +150,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
150
150
|
itemId: number;
|
|
151
151
|
labelId: number;
|
|
152
152
|
label?: {
|
|
153
|
-
id: number;
|
|
154
153
|
name: string;
|
|
154
|
+
id: number;
|
|
155
155
|
createdAt: Date;
|
|
156
156
|
isUserLabel: boolean;
|
|
157
157
|
itemCount?: number | null | undefined;
|
|
@@ -162,8 +162,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
162
162
|
itemId: number;
|
|
163
163
|
labelId: number;
|
|
164
164
|
label?: {
|
|
165
|
-
id: number;
|
|
166
165
|
name: string;
|
|
166
|
+
id: number;
|
|
167
167
|
createdAt: Date;
|
|
168
168
|
isUserLabel: boolean;
|
|
169
169
|
itemCount?: number | null | undefined;
|
|
@@ -347,7 +347,7 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
347
347
|
autoFixable: z.ZodBoolean;
|
|
348
348
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
349
349
|
}, "strip", z.ZodTypeAny, {
|
|
350
|
-
field: "
|
|
350
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
351
351
|
autoFixable: boolean;
|
|
352
352
|
error?: string | null | undefined;
|
|
353
353
|
}, {
|
|
@@ -362,7 +362,7 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
362
362
|
accountId?: string | null | undefined;
|
|
363
363
|
reason?: string | null | undefined;
|
|
364
364
|
fields?: {
|
|
365
|
-
field: "
|
|
365
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
366
366
|
autoFixable: boolean;
|
|
367
367
|
error?: string | null | undefined;
|
|
368
368
|
}[] | null | undefined;
|
|
@@ -388,7 +388,7 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
388
388
|
accountId?: string | null | undefined;
|
|
389
389
|
reason?: string | null | undefined;
|
|
390
390
|
fields?: {
|
|
391
|
-
field: "
|
|
391
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
392
392
|
autoFixable: boolean;
|
|
393
393
|
error?: string | null | undefined;
|
|
394
394
|
}[] | null | undefined;
|
|
@@ -572,23 +572,23 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
572
572
|
boostedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
573
573
|
boostedUntil: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
574
574
|
}, "strip", z.ZodTypeAny, {
|
|
575
|
-
size?: string | null | undefined;
|
|
576
575
|
status?: string | null | undefined;
|
|
577
576
|
title?: string | null | undefined;
|
|
578
577
|
description?: string | null | undefined;
|
|
578
|
+
brand?: string | null | undefined;
|
|
579
|
+
statusId?: number | null | undefined;
|
|
580
|
+
sizeId?: number | null | undefined;
|
|
581
|
+
colorIds?: number[] | null | undefined;
|
|
582
|
+
packageSizeId?: number | null | undefined;
|
|
579
583
|
price?: number | null | undefined;
|
|
580
584
|
currency?: string | null | undefined;
|
|
581
|
-
brand?: string | null | undefined;
|
|
582
585
|
catalog?: string | null | undefined;
|
|
583
586
|
catalogId?: number | null | undefined;
|
|
584
587
|
colors?: string[] | null | undefined;
|
|
585
|
-
colorIds?: number[] | null | undefined;
|
|
586
588
|
measurementLength?: number | null | undefined;
|
|
587
589
|
measurementWidth?: number | null | undefined;
|
|
588
|
-
packageSizeId?: number | null | undefined;
|
|
589
590
|
photoUrls?: string[] | null | undefined;
|
|
590
|
-
|
|
591
|
-
statusId?: number | null | undefined;
|
|
591
|
+
size?: string | null | undefined;
|
|
592
592
|
isDraft?: boolean | null | undefined;
|
|
593
593
|
isArchived?: boolean | null | undefined;
|
|
594
594
|
isUnisex?: boolean | null | undefined;
|
|
@@ -617,23 +617,23 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
617
617
|
isHidden?: boolean | null | undefined;
|
|
618
618
|
isDeleted?: boolean | null | undefined;
|
|
619
619
|
}, {
|
|
620
|
-
size?: string | null | undefined;
|
|
621
620
|
status?: string | null | undefined;
|
|
622
621
|
title?: string | null | undefined;
|
|
623
622
|
description?: string | null | undefined;
|
|
623
|
+
brand?: string | null | undefined;
|
|
624
|
+
statusId?: number | null | undefined;
|
|
625
|
+
sizeId?: number | null | undefined;
|
|
626
|
+
colorIds?: number[] | null | undefined;
|
|
627
|
+
packageSizeId?: number | null | undefined;
|
|
624
628
|
price?: number | null | undefined;
|
|
625
629
|
currency?: string | null | undefined;
|
|
626
|
-
brand?: string | null | undefined;
|
|
627
630
|
catalog?: string | null | undefined;
|
|
628
631
|
catalogId?: number | null | undefined;
|
|
629
632
|
colors?: string[] | null | undefined;
|
|
630
|
-
colorIds?: number[] | null | undefined;
|
|
631
633
|
measurementLength?: number | null | undefined;
|
|
632
634
|
measurementWidth?: number | null | undefined;
|
|
633
|
-
packageSizeId?: number | null | undefined;
|
|
634
635
|
photoUrls?: string[] | null | undefined;
|
|
635
|
-
|
|
636
|
-
statusId?: number | null | undefined;
|
|
636
|
+
size?: string | null | undefined;
|
|
637
637
|
isDraft?: boolean | null | undefined;
|
|
638
638
|
isArchived?: boolean | null | undefined;
|
|
639
639
|
isUnisex?: boolean | null | undefined;
|
|
@@ -667,23 +667,23 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
667
667
|
}, "strip", z.ZodTypeAny, {
|
|
668
668
|
platformId: string;
|
|
669
669
|
post: {
|
|
670
|
-
size?: string | null | undefined;
|
|
671
670
|
status?: string | null | undefined;
|
|
672
671
|
title?: string | null | undefined;
|
|
673
672
|
description?: string | null | undefined;
|
|
673
|
+
brand?: string | null | undefined;
|
|
674
|
+
statusId?: number | null | undefined;
|
|
675
|
+
sizeId?: number | null | undefined;
|
|
676
|
+
colorIds?: number[] | null | undefined;
|
|
677
|
+
packageSizeId?: number | null | undefined;
|
|
674
678
|
price?: number | null | undefined;
|
|
675
679
|
currency?: string | null | undefined;
|
|
676
|
-
brand?: string | null | undefined;
|
|
677
680
|
catalog?: string | null | undefined;
|
|
678
681
|
catalogId?: number | null | undefined;
|
|
679
682
|
colors?: string[] | null | undefined;
|
|
680
|
-
colorIds?: number[] | null | undefined;
|
|
681
683
|
measurementLength?: number | null | undefined;
|
|
682
684
|
measurementWidth?: number | null | undefined;
|
|
683
|
-
packageSizeId?: number | null | undefined;
|
|
684
685
|
photoUrls?: string[] | null | undefined;
|
|
685
|
-
|
|
686
|
-
statusId?: number | null | undefined;
|
|
686
|
+
size?: string | null | undefined;
|
|
687
687
|
isDraft?: boolean | null | undefined;
|
|
688
688
|
isArchived?: boolean | null | undefined;
|
|
689
689
|
isUnisex?: boolean | null | undefined;
|
|
@@ -719,23 +719,23 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
719
719
|
}, {
|
|
720
720
|
platformId: string;
|
|
721
721
|
post: {
|
|
722
|
-
size?: string | null | undefined;
|
|
723
722
|
status?: string | null | undefined;
|
|
724
723
|
title?: string | null | undefined;
|
|
725
724
|
description?: string | null | undefined;
|
|
725
|
+
brand?: string | null | undefined;
|
|
726
|
+
statusId?: number | null | undefined;
|
|
727
|
+
sizeId?: number | null | undefined;
|
|
728
|
+
colorIds?: number[] | null | undefined;
|
|
729
|
+
packageSizeId?: number | null | undefined;
|
|
726
730
|
price?: number | null | undefined;
|
|
727
731
|
currency?: string | null | undefined;
|
|
728
|
-
brand?: string | null | undefined;
|
|
729
732
|
catalog?: string | null | undefined;
|
|
730
733
|
catalogId?: number | null | undefined;
|
|
731
734
|
colors?: string[] | null | undefined;
|
|
732
|
-
colorIds?: number[] | null | undefined;
|
|
733
735
|
measurementLength?: number | null | undefined;
|
|
734
736
|
measurementWidth?: number | null | undefined;
|
|
735
|
-
packageSizeId?: number | null | undefined;
|
|
736
737
|
photoUrls?: string[] | null | undefined;
|
|
737
|
-
|
|
738
|
-
statusId?: number | null | undefined;
|
|
738
|
+
size?: string | null | undefined;
|
|
739
739
|
isDraft?: boolean | null | undefined;
|
|
740
740
|
isArchived?: boolean | null | undefined;
|
|
741
741
|
isUnisex?: boolean | null | undefined;
|
|
@@ -773,23 +773,23 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
773
773
|
post: {
|
|
774
774
|
platformId: string;
|
|
775
775
|
post: {
|
|
776
|
-
size?: string | null | undefined;
|
|
777
776
|
status?: string | null | undefined;
|
|
778
777
|
title?: string | null | undefined;
|
|
779
778
|
description?: string | null | undefined;
|
|
779
|
+
brand?: string | null | undefined;
|
|
780
|
+
statusId?: number | null | undefined;
|
|
781
|
+
sizeId?: number | null | undefined;
|
|
782
|
+
colorIds?: number[] | null | undefined;
|
|
783
|
+
packageSizeId?: number | null | undefined;
|
|
780
784
|
price?: number | null | undefined;
|
|
781
785
|
currency?: string | null | undefined;
|
|
782
|
-
brand?: string | null | undefined;
|
|
783
786
|
catalog?: string | null | undefined;
|
|
784
787
|
catalogId?: number | null | undefined;
|
|
785
788
|
colors?: string[] | null | undefined;
|
|
786
|
-
colorIds?: number[] | null | undefined;
|
|
787
789
|
measurementLength?: number | null | undefined;
|
|
788
790
|
measurementWidth?: number | null | undefined;
|
|
789
|
-
packageSizeId?: number | null | undefined;
|
|
790
791
|
photoUrls?: string[] | null | undefined;
|
|
791
|
-
|
|
792
|
-
statusId?: number | null | undefined;
|
|
792
|
+
size?: string | null | undefined;
|
|
793
793
|
isDraft?: boolean | null | undefined;
|
|
794
794
|
isArchived?: boolean | null | undefined;
|
|
795
795
|
isUnisex?: boolean | null | undefined;
|
|
@@ -827,23 +827,23 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
827
827
|
post: {
|
|
828
828
|
platformId: string;
|
|
829
829
|
post: {
|
|
830
|
-
size?: string | null | undefined;
|
|
831
830
|
status?: string | null | undefined;
|
|
832
831
|
title?: string | null | undefined;
|
|
833
832
|
description?: string | null | undefined;
|
|
833
|
+
brand?: string | null | undefined;
|
|
834
|
+
statusId?: number | null | undefined;
|
|
835
|
+
sizeId?: number | null | undefined;
|
|
836
|
+
colorIds?: number[] | null | undefined;
|
|
837
|
+
packageSizeId?: number | null | undefined;
|
|
834
838
|
price?: number | null | undefined;
|
|
835
839
|
currency?: string | null | undefined;
|
|
836
|
-
brand?: string | null | undefined;
|
|
837
840
|
catalog?: string | null | undefined;
|
|
838
841
|
catalogId?: number | null | undefined;
|
|
839
842
|
colors?: string[] | null | undefined;
|
|
840
|
-
colorIds?: number[] | null | undefined;
|
|
841
843
|
measurementLength?: number | null | undefined;
|
|
842
844
|
measurementWidth?: number | null | undefined;
|
|
843
|
-
packageSizeId?: number | null | undefined;
|
|
844
845
|
photoUrls?: string[] | null | undefined;
|
|
845
|
-
|
|
846
|
-
statusId?: number | null | undefined;
|
|
846
|
+
size?: string | null | undefined;
|
|
847
847
|
isDraft?: boolean | null | undefined;
|
|
848
848
|
isArchived?: boolean | null | undefined;
|
|
849
849
|
isUnisex?: boolean | null | undefined;
|
|
@@ -885,23 +885,23 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
885
885
|
post: {
|
|
886
886
|
platformId: string;
|
|
887
887
|
post: {
|
|
888
|
-
size?: string | null | undefined;
|
|
889
888
|
status?: string | null | undefined;
|
|
890
889
|
title?: string | null | undefined;
|
|
891
890
|
description?: string | null | undefined;
|
|
891
|
+
brand?: string | null | undefined;
|
|
892
|
+
statusId?: number | null | undefined;
|
|
893
|
+
sizeId?: number | null | undefined;
|
|
894
|
+
colorIds?: number[] | null | undefined;
|
|
895
|
+
packageSizeId?: number | null | undefined;
|
|
892
896
|
price?: number | null | undefined;
|
|
893
897
|
currency?: string | null | undefined;
|
|
894
|
-
brand?: string | null | undefined;
|
|
895
898
|
catalog?: string | null | undefined;
|
|
896
899
|
catalogId?: number | null | undefined;
|
|
897
900
|
colors?: string[] | null | undefined;
|
|
898
|
-
colorIds?: number[] | null | undefined;
|
|
899
901
|
measurementLength?: number | null | undefined;
|
|
900
902
|
measurementWidth?: number | null | undefined;
|
|
901
|
-
packageSizeId?: number | null | undefined;
|
|
902
903
|
photoUrls?: string[] | null | undefined;
|
|
903
|
-
|
|
904
|
-
statusId?: number | null | undefined;
|
|
904
|
+
size?: string | null | undefined;
|
|
905
905
|
isDraft?: boolean | null | undefined;
|
|
906
906
|
isArchived?: boolean | null | undefined;
|
|
907
907
|
isUnisex?: boolean | null | undefined;
|
|
@@ -942,23 +942,23 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
942
942
|
post: {
|
|
943
943
|
platformId: string;
|
|
944
944
|
post: {
|
|
945
|
-
size?: string | null | undefined;
|
|
946
945
|
status?: string | null | undefined;
|
|
947
946
|
title?: string | null | undefined;
|
|
948
947
|
description?: string | null | undefined;
|
|
948
|
+
brand?: string | null | undefined;
|
|
949
|
+
statusId?: number | null | undefined;
|
|
950
|
+
sizeId?: number | null | undefined;
|
|
951
|
+
colorIds?: number[] | null | undefined;
|
|
952
|
+
packageSizeId?: number | null | undefined;
|
|
949
953
|
price?: number | null | undefined;
|
|
950
954
|
currency?: string | null | undefined;
|
|
951
|
-
brand?: string | null | undefined;
|
|
952
955
|
catalog?: string | null | undefined;
|
|
953
956
|
catalogId?: number | null | undefined;
|
|
954
957
|
colors?: string[] | null | undefined;
|
|
955
|
-
colorIds?: number[] | null | undefined;
|
|
956
958
|
measurementLength?: number | null | undefined;
|
|
957
959
|
measurementWidth?: number | null | undefined;
|
|
958
|
-
packageSizeId?: number | null | undefined;
|
|
959
960
|
photoUrls?: string[] | null | undefined;
|
|
960
|
-
|
|
961
|
-
statusId?: number | null | undefined;
|
|
961
|
+
size?: string | null | undefined;
|
|
962
962
|
isDraft?: boolean | null | undefined;
|
|
963
963
|
isArchived?: boolean | null | undefined;
|
|
964
964
|
isUnisex?: boolean | null | undefined;
|
|
@@ -1018,27 +1018,27 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
1018
1018
|
caseId: z.ZodString;
|
|
1019
1019
|
isRepeat: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1020
1020
|
}, "strip", z.ZodTypeAny, {
|
|
1021
|
-
accountId: string;
|
|
1022
1021
|
caseId: string;
|
|
1022
|
+
accountId: string;
|
|
1023
1023
|
isRepeat?: boolean | null | undefined;
|
|
1024
1024
|
}, {
|
|
1025
|
-
accountId: string;
|
|
1026
1025
|
caseId: string;
|
|
1026
|
+
accountId: string;
|
|
1027
1027
|
isRepeat?: boolean | null | undefined;
|
|
1028
1028
|
}>;
|
|
1029
1029
|
type: z.ZodLiteral<"LIFECYCLE_STARTED">;
|
|
1030
1030
|
}, "strip", z.ZodTypeAny, {
|
|
1031
1031
|
type: "LIFECYCLE_STARTED";
|
|
1032
1032
|
data: {
|
|
1033
|
-
accountId: string;
|
|
1034
1033
|
caseId: string;
|
|
1034
|
+
accountId: string;
|
|
1035
1035
|
isRepeat?: boolean | null | undefined;
|
|
1036
1036
|
};
|
|
1037
1037
|
}, {
|
|
1038
1038
|
type: "LIFECYCLE_STARTED";
|
|
1039
1039
|
data: {
|
|
1040
|
-
accountId: string;
|
|
1041
1040
|
caseId: string;
|
|
1041
|
+
accountId: string;
|
|
1042
1042
|
isRepeat?: boolean | null | undefined;
|
|
1043
1043
|
};
|
|
1044
1044
|
}>, z.ZodObject<{
|
|
@@ -1214,10 +1214,10 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
1214
1214
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1215
1215
|
} | null | undefined;
|
|
1216
1216
|
} | null | undefined;
|
|
1217
|
-
targetAccountId?: string | null | undefined;
|
|
1218
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
1219
1217
|
publishingDate?: Date | null | undefined;
|
|
1220
1218
|
isTransfer?: boolean | null | undefined;
|
|
1219
|
+
targetAccountId?: string | null | undefined;
|
|
1220
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
1221
1221
|
}, {
|
|
1222
1222
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1223
1223
|
payload?: {
|
|
@@ -1244,10 +1244,10 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
1244
1244
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1245
1245
|
} | null | undefined;
|
|
1246
1246
|
} | null | undefined;
|
|
1247
|
-
targetAccountId?: string | null | undefined;
|
|
1248
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
1249
1247
|
publishingDate?: Date | null | undefined;
|
|
1250
1248
|
isTransfer?: boolean | null | undefined;
|
|
1249
|
+
targetAccountId?: string | null | undefined;
|
|
1250
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
1251
1251
|
}>;
|
|
1252
1252
|
type: z.ZodLiteral<"REPUBLISHING">;
|
|
1253
1253
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1278,10 +1278,10 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
1278
1278
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1279
1279
|
} | null | undefined;
|
|
1280
1280
|
} | null | undefined;
|
|
1281
|
-
targetAccountId?: string | null | undefined;
|
|
1282
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
1283
1281
|
publishingDate?: Date | null | undefined;
|
|
1284
1282
|
isTransfer?: boolean | null | undefined;
|
|
1283
|
+
targetAccountId?: string | null | undefined;
|
|
1284
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
1285
1285
|
};
|
|
1286
1286
|
}, {
|
|
1287
1287
|
type: "REPUBLISHING";
|
|
@@ -1311,10 +1311,10 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
1311
1311
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1312
1312
|
} | null | undefined;
|
|
1313
1313
|
} | null | undefined;
|
|
1314
|
-
targetAccountId?: string | null | undefined;
|
|
1315
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
1316
1314
|
publishingDate?: Date | null | undefined;
|
|
1317
1315
|
isTransfer?: boolean | null | undefined;
|
|
1316
|
+
targetAccountId?: string | null | undefined;
|
|
1317
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
1318
1318
|
};
|
|
1319
1319
|
}>, z.ZodObject<{
|
|
1320
1320
|
data: z.ZodObject<{
|
|
@@ -1328,7 +1328,7 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
1328
1328
|
autoFixable: z.ZodBoolean;
|
|
1329
1329
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1330
1330
|
}, "strip", z.ZodTypeAny, {
|
|
1331
|
-
field: "
|
|
1331
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1332
1332
|
autoFixable: boolean;
|
|
1333
1333
|
error?: string | null | undefined;
|
|
1334
1334
|
}, {
|
|
@@ -1443,9 +1443,9 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
1443
1443
|
} | null | undefined;
|
|
1444
1444
|
}>>>;
|
|
1445
1445
|
}, "strip", z.ZodTypeAny, {
|
|
1446
|
+
maxAttempts: number;
|
|
1446
1447
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1447
1448
|
attemptNumber: number;
|
|
1448
|
-
maxAttempts: number;
|
|
1449
1449
|
previousHistoryId: string;
|
|
1450
1450
|
originalFailureDate: Date;
|
|
1451
1451
|
payload?: {
|
|
@@ -1473,14 +1473,14 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
1473
1473
|
} | null | undefined;
|
|
1474
1474
|
} | null | undefined;
|
|
1475
1475
|
fields?: {
|
|
1476
|
-
field: "
|
|
1476
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1477
1477
|
autoFixable: boolean;
|
|
1478
1478
|
error?: string | null | undefined;
|
|
1479
1479
|
}[] | null | undefined;
|
|
1480
1480
|
}, {
|
|
1481
|
+
maxAttempts: number;
|
|
1481
1482
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1482
1483
|
attemptNumber: number;
|
|
1483
|
-
maxAttempts: number;
|
|
1484
1484
|
previousHistoryId: string;
|
|
1485
1485
|
originalFailureDate: Date;
|
|
1486
1486
|
payload?: {
|
|
@@ -1517,9 +1517,9 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
1517
1517
|
}, "strip", z.ZodTypeAny, {
|
|
1518
1518
|
type: "REPUBLISHING_RETRY";
|
|
1519
1519
|
data: {
|
|
1520
|
+
maxAttempts: number;
|
|
1520
1521
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1521
1522
|
attemptNumber: number;
|
|
1522
|
-
maxAttempts: number;
|
|
1523
1523
|
previousHistoryId: string;
|
|
1524
1524
|
originalFailureDate: Date;
|
|
1525
1525
|
payload?: {
|
|
@@ -1547,7 +1547,7 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
1547
1547
|
} | null | undefined;
|
|
1548
1548
|
} | null | undefined;
|
|
1549
1549
|
fields?: {
|
|
1550
|
-
field: "
|
|
1550
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1551
1551
|
autoFixable: boolean;
|
|
1552
1552
|
error?: string | null | undefined;
|
|
1553
1553
|
}[] | null | undefined;
|
|
@@ -1555,9 +1555,9 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
1555
1555
|
}, {
|
|
1556
1556
|
type: "REPUBLISHING_RETRY";
|
|
1557
1557
|
data: {
|
|
1558
|
+
maxAttempts: number;
|
|
1558
1559
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1559
1560
|
attemptNumber: number;
|
|
1560
|
-
maxAttempts: number;
|
|
1561
1561
|
previousHistoryId: string;
|
|
1562
1562
|
originalFailureDate: Date;
|
|
1563
1563
|
payload?: {
|
|
@@ -1626,7 +1626,7 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
1626
1626
|
autoFixable: z.ZodBoolean;
|
|
1627
1627
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1628
1628
|
}, "strip", z.ZodTypeAny, {
|
|
1629
|
-
field: "
|
|
1629
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1630
1630
|
autoFixable: boolean;
|
|
1631
1631
|
error?: string | null | undefined;
|
|
1632
1632
|
}, {
|
|
@@ -1635,20 +1635,20 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
1635
1635
|
error?: string | null | undefined;
|
|
1636
1636
|
}>, "many">>>;
|
|
1637
1637
|
}, "strip", z.ZodTypeAny, {
|
|
1638
|
+
maxAttempts: number;
|
|
1638
1639
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1639
1640
|
attemptNumber: number;
|
|
1640
|
-
maxAttempts: number;
|
|
1641
1641
|
previousHistoryId: string;
|
|
1642
1642
|
originalFailureDate: Date;
|
|
1643
1643
|
fields?: {
|
|
1644
|
-
field: "
|
|
1644
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1645
1645
|
autoFixable: boolean;
|
|
1646
1646
|
error?: string | null | undefined;
|
|
1647
1647
|
}[] | null | undefined;
|
|
1648
1648
|
}, {
|
|
1649
|
+
maxAttempts: number;
|
|
1649
1650
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1650
1651
|
attemptNumber: number;
|
|
1651
|
-
maxAttempts: number;
|
|
1652
1652
|
previousHistoryId: string;
|
|
1653
1653
|
originalFailureDate: Date;
|
|
1654
1654
|
fields?: {
|
|
@@ -1661,13 +1661,13 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
1661
1661
|
}, "strip", z.ZodTypeAny, {
|
|
1662
1662
|
type: "SCHEDULED_RETRY";
|
|
1663
1663
|
data: {
|
|
1664
|
+
maxAttempts: number;
|
|
1664
1665
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1665
1666
|
attemptNumber: number;
|
|
1666
|
-
maxAttempts: number;
|
|
1667
1667
|
previousHistoryId: string;
|
|
1668
1668
|
originalFailureDate: Date;
|
|
1669
1669
|
fields?: {
|
|
1670
|
-
field: "
|
|
1670
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1671
1671
|
autoFixable: boolean;
|
|
1672
1672
|
error?: string | null | undefined;
|
|
1673
1673
|
}[] | null | undefined;
|
|
@@ -1675,9 +1675,9 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
1675
1675
|
}, {
|
|
1676
1676
|
type: "SCHEDULED_RETRY";
|
|
1677
1677
|
data: {
|
|
1678
|
+
maxAttempts: number;
|
|
1678
1679
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1679
1680
|
attemptNumber: number;
|
|
1680
|
-
maxAttempts: number;
|
|
1681
1681
|
previousHistoryId: string;
|
|
1682
1682
|
originalFailureDate: Date;
|
|
1683
1683
|
fields?: {
|
|
@@ -1834,7 +1834,6 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
1834
1834
|
id: string;
|
|
1835
1835
|
createdAt: Date;
|
|
1836
1836
|
itemId: number;
|
|
1837
|
-
accountId?: string | null | undefined;
|
|
1838
1837
|
data?: {
|
|
1839
1838
|
type: "ACTION_CANCELED";
|
|
1840
1839
|
data: {
|
|
@@ -1870,7 +1869,7 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
1870
1869
|
accountId?: string | null | undefined;
|
|
1871
1870
|
reason?: string | null | undefined;
|
|
1872
1871
|
fields?: {
|
|
1873
|
-
field: "
|
|
1872
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1874
1873
|
autoFixable: boolean;
|
|
1875
1874
|
error?: string | null | undefined;
|
|
1876
1875
|
}[] | null | undefined;
|
|
@@ -1900,23 +1899,23 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
1900
1899
|
post: {
|
|
1901
1900
|
platformId: string;
|
|
1902
1901
|
post: {
|
|
1903
|
-
size?: string | null | undefined;
|
|
1904
1902
|
status?: string | null | undefined;
|
|
1905
1903
|
title?: string | null | undefined;
|
|
1906
1904
|
description?: string | null | undefined;
|
|
1905
|
+
brand?: string | null | undefined;
|
|
1906
|
+
statusId?: number | null | undefined;
|
|
1907
|
+
sizeId?: number | null | undefined;
|
|
1908
|
+
colorIds?: number[] | null | undefined;
|
|
1909
|
+
packageSizeId?: number | null | undefined;
|
|
1907
1910
|
price?: number | null | undefined;
|
|
1908
1911
|
currency?: string | null | undefined;
|
|
1909
|
-
brand?: string | null | undefined;
|
|
1910
1912
|
catalog?: string | null | undefined;
|
|
1911
1913
|
catalogId?: number | null | undefined;
|
|
1912
1914
|
colors?: string[] | null | undefined;
|
|
1913
|
-
colorIds?: number[] | null | undefined;
|
|
1914
1915
|
measurementLength?: number | null | undefined;
|
|
1915
1916
|
measurementWidth?: number | null | undefined;
|
|
1916
|
-
packageSizeId?: number | null | undefined;
|
|
1917
1917
|
photoUrls?: string[] | null | undefined;
|
|
1918
|
-
|
|
1919
|
-
statusId?: number | null | undefined;
|
|
1918
|
+
size?: string | null | undefined;
|
|
1920
1919
|
isDraft?: boolean | null | undefined;
|
|
1921
1920
|
isArchived?: boolean | null | undefined;
|
|
1922
1921
|
isUnisex?: boolean | null | undefined;
|
|
@@ -1959,8 +1958,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
1959
1958
|
} | {
|
|
1960
1959
|
type: "LIFECYCLE_STARTED";
|
|
1961
1960
|
data: {
|
|
1962
|
-
accountId: string;
|
|
1963
1961
|
caseId: string;
|
|
1962
|
+
accountId: string;
|
|
1964
1963
|
isRepeat?: boolean | null | undefined;
|
|
1965
1964
|
};
|
|
1966
1965
|
} | {
|
|
@@ -1999,17 +1998,17 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
1999
1998
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
2000
1999
|
} | null | undefined;
|
|
2001
2000
|
} | null | undefined;
|
|
2002
|
-
targetAccountId?: string | null | undefined;
|
|
2003
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
2004
2001
|
publishingDate?: Date | null | undefined;
|
|
2005
2002
|
isTransfer?: boolean | null | undefined;
|
|
2003
|
+
targetAccountId?: string | null | undefined;
|
|
2004
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
2006
2005
|
};
|
|
2007
2006
|
} | {
|
|
2008
2007
|
type: "REPUBLISHING_RETRY";
|
|
2009
2008
|
data: {
|
|
2009
|
+
maxAttempts: number;
|
|
2010
2010
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2011
2011
|
attemptNumber: number;
|
|
2012
|
-
maxAttempts: number;
|
|
2013
2012
|
previousHistoryId: string;
|
|
2014
2013
|
originalFailureDate: Date;
|
|
2015
2014
|
payload?: {
|
|
@@ -2037,7 +2036,7 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2037
2036
|
} | null | undefined;
|
|
2038
2037
|
} | null | undefined;
|
|
2039
2038
|
fields?: {
|
|
2040
|
-
field: "
|
|
2039
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2041
2040
|
autoFixable: boolean;
|
|
2042
2041
|
error?: string | null | undefined;
|
|
2043
2042
|
}[] | null | undefined;
|
|
@@ -2051,13 +2050,13 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2051
2050
|
} | {
|
|
2052
2051
|
type: "SCHEDULED_RETRY";
|
|
2053
2052
|
data: {
|
|
2053
|
+
maxAttempts: number;
|
|
2054
2054
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2055
2055
|
attemptNumber: number;
|
|
2056
|
-
maxAttempts: number;
|
|
2057
2056
|
previousHistoryId: string;
|
|
2058
2057
|
originalFailureDate: Date;
|
|
2059
2058
|
fields?: {
|
|
2060
|
-
field: "
|
|
2059
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2061
2060
|
autoFixable: boolean;
|
|
2062
2061
|
error?: string | null | undefined;
|
|
2063
2062
|
}[] | null | undefined;
|
|
@@ -2086,6 +2085,7 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2086
2085
|
targetDate?: Date | null | undefined;
|
|
2087
2086
|
};
|
|
2088
2087
|
} | null | undefined;
|
|
2088
|
+
accountId?: string | null | undefined;
|
|
2089
2089
|
targetDate?: Date | null | undefined;
|
|
2090
2090
|
requestId?: string | null | undefined;
|
|
2091
2091
|
targetHistoryId?: string | null | undefined;
|
|
@@ -2094,7 +2094,6 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2094
2094
|
createdAt: Date;
|
|
2095
2095
|
itemId: number;
|
|
2096
2096
|
type?: unknown;
|
|
2097
|
-
accountId?: string | null | undefined;
|
|
2098
2097
|
data?: {
|
|
2099
2098
|
type: "ACTION_CANCELED";
|
|
2100
2099
|
data: {
|
|
@@ -2160,23 +2159,23 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2160
2159
|
post: {
|
|
2161
2160
|
platformId: string;
|
|
2162
2161
|
post: {
|
|
2163
|
-
size?: string | null | undefined;
|
|
2164
2162
|
status?: string | null | undefined;
|
|
2165
2163
|
title?: string | null | undefined;
|
|
2166
2164
|
description?: string | null | undefined;
|
|
2165
|
+
brand?: string | null | undefined;
|
|
2166
|
+
statusId?: number | null | undefined;
|
|
2167
|
+
sizeId?: number | null | undefined;
|
|
2168
|
+
colorIds?: number[] | null | undefined;
|
|
2169
|
+
packageSizeId?: number | null | undefined;
|
|
2167
2170
|
price?: number | null | undefined;
|
|
2168
2171
|
currency?: string | null | undefined;
|
|
2169
|
-
brand?: string | null | undefined;
|
|
2170
2172
|
catalog?: string | null | undefined;
|
|
2171
2173
|
catalogId?: number | null | undefined;
|
|
2172
2174
|
colors?: string[] | null | undefined;
|
|
2173
|
-
colorIds?: number[] | null | undefined;
|
|
2174
2175
|
measurementLength?: number | null | undefined;
|
|
2175
2176
|
measurementWidth?: number | null | undefined;
|
|
2176
|
-
packageSizeId?: number | null | undefined;
|
|
2177
2177
|
photoUrls?: string[] | null | undefined;
|
|
2178
|
-
|
|
2179
|
-
statusId?: number | null | undefined;
|
|
2178
|
+
size?: string | null | undefined;
|
|
2180
2179
|
isDraft?: boolean | null | undefined;
|
|
2181
2180
|
isArchived?: boolean | null | undefined;
|
|
2182
2181
|
isUnisex?: boolean | null | undefined;
|
|
@@ -2219,8 +2218,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2219
2218
|
} | {
|
|
2220
2219
|
type: "LIFECYCLE_STARTED";
|
|
2221
2220
|
data: {
|
|
2222
|
-
accountId: string;
|
|
2223
2221
|
caseId: string;
|
|
2222
|
+
accountId: string;
|
|
2224
2223
|
isRepeat?: boolean | null | undefined;
|
|
2225
2224
|
};
|
|
2226
2225
|
} | {
|
|
@@ -2259,17 +2258,17 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2259
2258
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
2260
2259
|
} | null | undefined;
|
|
2261
2260
|
} | null | undefined;
|
|
2262
|
-
targetAccountId?: string | null | undefined;
|
|
2263
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
2264
2261
|
publishingDate?: Date | null | undefined;
|
|
2265
2262
|
isTransfer?: boolean | null | undefined;
|
|
2263
|
+
targetAccountId?: string | null | undefined;
|
|
2264
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
2266
2265
|
};
|
|
2267
2266
|
} | {
|
|
2268
2267
|
type: "REPUBLISHING_RETRY";
|
|
2269
2268
|
data: {
|
|
2269
|
+
maxAttempts: number;
|
|
2270
2270
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2271
2271
|
attemptNumber: number;
|
|
2272
|
-
maxAttempts: number;
|
|
2273
2272
|
previousHistoryId: string;
|
|
2274
2273
|
originalFailureDate: Date;
|
|
2275
2274
|
payload?: {
|
|
@@ -2311,9 +2310,9 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2311
2310
|
} | {
|
|
2312
2311
|
type: "SCHEDULED_RETRY";
|
|
2313
2312
|
data: {
|
|
2313
|
+
maxAttempts: number;
|
|
2314
2314
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2315
2315
|
attemptNumber: number;
|
|
2316
|
-
maxAttempts: number;
|
|
2317
2316
|
previousHistoryId: string;
|
|
2318
2317
|
originalFailureDate: Date;
|
|
2319
2318
|
fields?: {
|
|
@@ -2346,6 +2345,7 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2346
2345
|
targetDate?: Date | null | undefined;
|
|
2347
2346
|
};
|
|
2348
2347
|
} | null | undefined;
|
|
2348
|
+
accountId?: string | null | undefined;
|
|
2349
2349
|
targetDate?: Date | null | undefined;
|
|
2350
2350
|
requestId?: string | null | undefined;
|
|
2351
2351
|
targetHistoryId?: string | null | undefined;
|
|
@@ -2395,15 +2395,15 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2395
2395
|
}, "strip", z.ZodTypeAny, {
|
|
2396
2396
|
path: string;
|
|
2397
2397
|
id: string;
|
|
2398
|
-
userId: number;
|
|
2399
2398
|
createdAt: Date;
|
|
2399
|
+
userId: number;
|
|
2400
2400
|
signedUrl: string;
|
|
2401
2401
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2402
2402
|
}, {
|
|
2403
2403
|
path: string;
|
|
2404
2404
|
id: string;
|
|
2405
|
-
userId: number;
|
|
2406
2405
|
createdAt: Date;
|
|
2406
|
+
userId: number;
|
|
2407
2407
|
signedUrl: string;
|
|
2408
2408
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2409
2409
|
}>>>;
|
|
@@ -2414,9 +2414,9 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2414
2414
|
phoneNumberRequiredAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2415
2415
|
}, "strip", z.ZodTypeAny, {
|
|
2416
2416
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
2417
|
-
accountId: string;
|
|
2418
|
-
userId: number;
|
|
2419
2417
|
name: string;
|
|
2418
|
+
userId: number;
|
|
2419
|
+
accountId: string;
|
|
2420
2420
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2421
2421
|
locale?: string | null | undefined;
|
|
2422
2422
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -2435,8 +2435,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2435
2435
|
profilePicture?: {
|
|
2436
2436
|
path: string;
|
|
2437
2437
|
id: string;
|
|
2438
|
-
userId: number;
|
|
2439
2438
|
createdAt: Date;
|
|
2439
|
+
userId: number;
|
|
2440
2440
|
signedUrl: string;
|
|
2441
2441
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2442
2442
|
} | null | undefined;
|
|
@@ -2444,9 +2444,9 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2444
2444
|
walletActivationRequiredAt?: Date | null | undefined;
|
|
2445
2445
|
phoneNumberRequiredAt?: Date | null | undefined;
|
|
2446
2446
|
}, {
|
|
2447
|
-
accountId: string;
|
|
2448
|
-
userId: number;
|
|
2449
2447
|
name: string;
|
|
2448
|
+
userId: number;
|
|
2449
|
+
accountId: string;
|
|
2450
2450
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2451
2451
|
status?: unknown;
|
|
2452
2452
|
locale?: string | null | undefined;
|
|
@@ -2466,8 +2466,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2466
2466
|
profilePicture?: {
|
|
2467
2467
|
path: string;
|
|
2468
2468
|
id: string;
|
|
2469
|
-
userId: number;
|
|
2470
2469
|
createdAt: Date;
|
|
2470
|
+
userId: number;
|
|
2471
2471
|
signedUrl: string;
|
|
2472
2472
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2473
2473
|
} | null | undefined;
|
|
@@ -2486,8 +2486,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2486
2486
|
}, "strip", z.ZodTypeAny, {
|
|
2487
2487
|
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
2488
2488
|
id: string;
|
|
2489
|
-
accountId: string;
|
|
2490
2489
|
createdAt: Date;
|
|
2490
|
+
accountId: string;
|
|
2491
2491
|
itemId: number;
|
|
2492
2492
|
platformId: string;
|
|
2493
2493
|
platformUrl: string;
|
|
@@ -2501,9 +2501,9 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2501
2501
|
favoritesCount?: number | null | undefined;
|
|
2502
2502
|
account?: {
|
|
2503
2503
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
2504
|
-
accountId: string;
|
|
2505
|
-
userId: number;
|
|
2506
2504
|
name: string;
|
|
2505
|
+
userId: number;
|
|
2506
|
+
accountId: string;
|
|
2507
2507
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2508
2508
|
locale?: string | null | undefined;
|
|
2509
2509
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -2522,8 +2522,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2522
2522
|
profilePicture?: {
|
|
2523
2523
|
path: string;
|
|
2524
2524
|
id: string;
|
|
2525
|
-
userId: number;
|
|
2526
2525
|
createdAt: Date;
|
|
2526
|
+
userId: number;
|
|
2527
2527
|
signedUrl: string;
|
|
2528
2528
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2529
2529
|
} | null | undefined;
|
|
@@ -2536,8 +2536,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2536
2536
|
isBoosted?: boolean | null | undefined;
|
|
2537
2537
|
}, {
|
|
2538
2538
|
id: string;
|
|
2539
|
-
accountId: string;
|
|
2540
2539
|
createdAt: Date;
|
|
2540
|
+
accountId: string;
|
|
2541
2541
|
itemId: number;
|
|
2542
2542
|
platformId: string;
|
|
2543
2543
|
platformUrl: string;
|
|
@@ -2551,9 +2551,9 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2551
2551
|
viewsCount?: number | null | undefined;
|
|
2552
2552
|
favoritesCount?: number | null | undefined;
|
|
2553
2553
|
account?: {
|
|
2554
|
-
accountId: string;
|
|
2555
|
-
userId: number;
|
|
2556
2554
|
name: string;
|
|
2555
|
+
userId: number;
|
|
2556
|
+
accountId: string;
|
|
2557
2557
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2558
2558
|
status?: unknown;
|
|
2559
2559
|
locale?: string | null | undefined;
|
|
@@ -2573,8 +2573,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2573
2573
|
profilePicture?: {
|
|
2574
2574
|
path: string;
|
|
2575
2575
|
id: string;
|
|
2576
|
-
userId: number;
|
|
2577
2576
|
createdAt: Date;
|
|
2577
|
+
userId: number;
|
|
2578
2578
|
signedUrl: string;
|
|
2579
2579
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2580
2580
|
} | null | undefined;
|
|
@@ -2589,7 +2589,7 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2589
2589
|
actions: z.ZodObject<{
|
|
2590
2590
|
perAccount: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodCatch<z.ZodEnum<["PUBLISH", "PUBLISH_CANCEL", "REPUBLISH", "REPUBLISH_CANCEL", "UPDATE", "UPDATE_CANCEL", "BOOST", "UNKNOWN"]>>, "many">>;
|
|
2591
2591
|
}, "strip", z.ZodTypeAny, {
|
|
2592
|
-
perAccount: Record<string, ("
|
|
2592
|
+
perAccount: Record<string, ("REPUBLISH" | "UNKNOWN" | "PUBLISH" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE" | "UPDATE_CANCEL" | "BOOST")[]>;
|
|
2593
2593
|
}, {
|
|
2594
2594
|
perAccount: Record<string, unknown[]>;
|
|
2595
2595
|
}>;
|
|
@@ -2614,15 +2614,15 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2614
2614
|
}, "strip", z.ZodTypeAny, {
|
|
2615
2615
|
path: string;
|
|
2616
2616
|
id: string;
|
|
2617
|
-
userId: number;
|
|
2618
2617
|
createdAt: Date;
|
|
2618
|
+
userId: number;
|
|
2619
2619
|
signedUrl: string;
|
|
2620
2620
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2621
2621
|
}, {
|
|
2622
2622
|
path: string;
|
|
2623
2623
|
id: string;
|
|
2624
|
-
userId: number;
|
|
2625
2624
|
createdAt: Date;
|
|
2625
|
+
userId: number;
|
|
2626
2626
|
signedUrl: string;
|
|
2627
2627
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2628
2628
|
}>>>;
|
|
@@ -2636,15 +2636,15 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2636
2636
|
}, "strip", z.ZodTypeAny, {
|
|
2637
2637
|
path: string;
|
|
2638
2638
|
id: string;
|
|
2639
|
-
userId: number;
|
|
2640
2639
|
createdAt: Date;
|
|
2640
|
+
userId: number;
|
|
2641
2641
|
signedUrl: string;
|
|
2642
2642
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2643
2643
|
}, {
|
|
2644
2644
|
path: string;
|
|
2645
2645
|
id: string;
|
|
2646
|
-
userId: number;
|
|
2647
2646
|
createdAt: Date;
|
|
2647
|
+
userId: number;
|
|
2648
2648
|
signedUrl: string;
|
|
2649
2649
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2650
2650
|
}>>>;
|
|
@@ -2658,81 +2658,81 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2658
2658
|
}, "strip", z.ZodTypeAny, {
|
|
2659
2659
|
path: string;
|
|
2660
2660
|
id: string;
|
|
2661
|
-
userId: number;
|
|
2662
2661
|
createdAt: Date;
|
|
2662
|
+
userId: number;
|
|
2663
2663
|
signedUrl: string;
|
|
2664
2664
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2665
2665
|
}, {
|
|
2666
2666
|
path: string;
|
|
2667
2667
|
id: string;
|
|
2668
|
-
userId: number;
|
|
2669
2668
|
createdAt: Date;
|
|
2669
|
+
userId: number;
|
|
2670
2670
|
signedUrl: string;
|
|
2671
2671
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2672
2672
|
}>>>;
|
|
2673
2673
|
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"]>>>>;
|
|
2674
2674
|
}, "strip", z.ZodTypeAny, {
|
|
2675
2675
|
id: string;
|
|
2676
|
-
orderId: string;
|
|
2677
2676
|
fileId: string;
|
|
2677
|
+
orderId: string;
|
|
2678
2678
|
nonCroppedFileId: string;
|
|
2679
2679
|
originalFileId: string;
|
|
2680
|
-
|
|
2680
|
+
originalFile?: {
|
|
2681
2681
|
path: string;
|
|
2682
2682
|
id: string;
|
|
2683
|
-
userId: number;
|
|
2684
2683
|
createdAt: Date;
|
|
2684
|
+
userId: number;
|
|
2685
2685
|
signedUrl: string;
|
|
2686
2686
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2687
2687
|
} | null | undefined;
|
|
2688
|
-
|
|
2688
|
+
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;
|
|
2689
|
+
file?: {
|
|
2689
2690
|
path: string;
|
|
2690
2691
|
id: string;
|
|
2691
|
-
userId: number;
|
|
2692
2692
|
createdAt: Date;
|
|
2693
|
+
userId: number;
|
|
2693
2694
|
signedUrl: string;
|
|
2694
2695
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2695
2696
|
} | null | undefined;
|
|
2696
|
-
|
|
2697
|
+
nonCroppedFile?: {
|
|
2697
2698
|
path: string;
|
|
2698
2699
|
id: string;
|
|
2699
|
-
userId: number;
|
|
2700
2700
|
createdAt: Date;
|
|
2701
|
+
userId: number;
|
|
2701
2702
|
signedUrl: string;
|
|
2702
2703
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2703
2704
|
} | null | undefined;
|
|
2704
|
-
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;
|
|
2705
2705
|
}, {
|
|
2706
2706
|
id: string;
|
|
2707
|
-
orderId: string;
|
|
2708
2707
|
fileId: string;
|
|
2708
|
+
orderId: string;
|
|
2709
2709
|
nonCroppedFileId: string;
|
|
2710
2710
|
originalFileId: string;
|
|
2711
|
-
|
|
2711
|
+
originalFile?: {
|
|
2712
2712
|
path: string;
|
|
2713
2713
|
id: string;
|
|
2714
|
-
userId: number;
|
|
2715
2714
|
createdAt: Date;
|
|
2715
|
+
userId: number;
|
|
2716
2716
|
signedUrl: string;
|
|
2717
2717
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2718
2718
|
} | null | undefined;
|
|
2719
|
-
|
|
2719
|
+
carrier?: unknown;
|
|
2720
|
+
file?: {
|
|
2720
2721
|
path: string;
|
|
2721
2722
|
id: string;
|
|
2722
|
-
userId: number;
|
|
2723
2723
|
createdAt: Date;
|
|
2724
|
+
userId: number;
|
|
2724
2725
|
signedUrl: string;
|
|
2725
2726
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2726
2727
|
} | null | undefined;
|
|
2727
|
-
|
|
2728
|
+
nonCroppedFile?: {
|
|
2728
2729
|
path: string;
|
|
2729
2730
|
id: string;
|
|
2730
|
-
userId: number;
|
|
2731
2731
|
createdAt: Date;
|
|
2732
|
+
userId: number;
|
|
2732
2733
|
signedUrl: string;
|
|
2733
2734
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2734
2735
|
} | null | undefined;
|
|
2735
|
-
carrier?: unknown;
|
|
2736
2736
|
}>, "many">>>;
|
|
2737
2737
|
invoices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2738
2738
|
id: z.ZodString;
|
|
@@ -2759,15 +2759,15 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2759
2759
|
}, "strip", z.ZodTypeAny, {
|
|
2760
2760
|
path: string;
|
|
2761
2761
|
id: string;
|
|
2762
|
-
userId: number;
|
|
2763
2762
|
createdAt: Date;
|
|
2763
|
+
userId: number;
|
|
2764
2764
|
signedUrl: string;
|
|
2765
2765
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2766
2766
|
}, {
|
|
2767
2767
|
path: string;
|
|
2768
2768
|
id: string;
|
|
2769
|
-
userId: number;
|
|
2770
2769
|
createdAt: Date;
|
|
2770
|
+
userId: number;
|
|
2771
2771
|
signedUrl: string;
|
|
2772
2772
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2773
2773
|
}>>>;
|
|
@@ -2777,8 +2777,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2777
2777
|
vatRegime: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["MARGIN", "FRANCHISE", "NORMAL", "UNKNOWN"]>>>>;
|
|
2778
2778
|
}, "strip", z.ZodTypeAny, {
|
|
2779
2779
|
id: string;
|
|
2780
|
-
userId: number;
|
|
2781
2780
|
createdAt: Date;
|
|
2781
|
+
userId: number;
|
|
2782
2782
|
updatedAt: Date;
|
|
2783
2783
|
businessName: string;
|
|
2784
2784
|
address: string;
|
|
@@ -2791,16 +2791,16 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2791
2791
|
logo?: {
|
|
2792
2792
|
path: string;
|
|
2793
2793
|
id: string;
|
|
2794
|
-
userId: number;
|
|
2795
2794
|
createdAt: Date;
|
|
2795
|
+
userId: number;
|
|
2796
2796
|
signedUrl: string;
|
|
2797
2797
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2798
2798
|
} | null | undefined;
|
|
2799
2799
|
vatRegime?: "UNKNOWN" | "MARGIN" | "FRANCHISE" | "NORMAL" | null | undefined;
|
|
2800
2800
|
}, {
|
|
2801
2801
|
id: string;
|
|
2802
|
-
userId: number;
|
|
2803
2802
|
createdAt: Date;
|
|
2803
|
+
userId: number;
|
|
2804
2804
|
updatedAt: Date;
|
|
2805
2805
|
businessName: string;
|
|
2806
2806
|
address: string;
|
|
@@ -2813,8 +2813,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2813
2813
|
logo?: {
|
|
2814
2814
|
path: string;
|
|
2815
2815
|
id: string;
|
|
2816
|
-
userId: number;
|
|
2817
2816
|
createdAt: Date;
|
|
2817
|
+
userId: number;
|
|
2818
2818
|
signedUrl: string;
|
|
2819
2819
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2820
2820
|
} | null | undefined;
|
|
@@ -2844,34 +2844,34 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2844
2844
|
firstName: string;
|
|
2845
2845
|
lastName: string;
|
|
2846
2846
|
phoneVerified: boolean;
|
|
2847
|
-
postalCode?: string | null | undefined;
|
|
2848
|
-
city?: string | null | undefined;
|
|
2849
|
-
country?: string | null | undefined;
|
|
2850
|
-
email?: string | null | undefined;
|
|
2851
|
-
addressLine1?: string | null | undefined;
|
|
2852
|
-
addressLine2?: string | null | undefined;
|
|
2853
2847
|
birthDate?: Date | null | undefined;
|
|
2848
|
+
email?: string | null | undefined;
|
|
2854
2849
|
idNumber?: string | null | undefined;
|
|
2855
2850
|
phone?: string | null | undefined;
|
|
2856
2851
|
iban?: string | null | undefined;
|
|
2857
2852
|
bic?: string | null | undefined;
|
|
2853
|
+
addressLine1?: string | null | undefined;
|
|
2854
|
+
addressLine2?: string | null | undefined;
|
|
2855
|
+
city?: string | null | undefined;
|
|
2856
|
+
postalCode?: string | null | undefined;
|
|
2857
|
+
country?: string | null | undefined;
|
|
2858
2858
|
}, {
|
|
2859
2859
|
id: string;
|
|
2860
2860
|
userId: number;
|
|
2861
2861
|
firstName: string;
|
|
2862
2862
|
lastName: string;
|
|
2863
2863
|
phoneVerified: boolean;
|
|
2864
|
-
postalCode?: string | null | undefined;
|
|
2865
|
-
city?: string | null | undefined;
|
|
2866
|
-
country?: string | null | undefined;
|
|
2867
|
-
email?: string | null | undefined;
|
|
2868
|
-
addressLine1?: string | null | undefined;
|
|
2869
|
-
addressLine2?: string | null | undefined;
|
|
2870
2864
|
birthDate?: Date | null | undefined;
|
|
2865
|
+
email?: string | null | undefined;
|
|
2871
2866
|
idNumber?: string | null | undefined;
|
|
2872
2867
|
phone?: string | null | undefined;
|
|
2873
2868
|
iban?: string | null | undefined;
|
|
2874
2869
|
bic?: string | null | undefined;
|
|
2870
|
+
addressLine1?: string | null | undefined;
|
|
2871
|
+
addressLine2?: string | null | undefined;
|
|
2872
|
+
city?: string | null | undefined;
|
|
2873
|
+
postalCode?: string | null | undefined;
|
|
2874
|
+
country?: string | null | undefined;
|
|
2875
2875
|
}>>>;
|
|
2876
2876
|
orderId: z.ZodString;
|
|
2877
2877
|
fileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2885,15 +2885,15 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2885
2885
|
}, "strip", z.ZodTypeAny, {
|
|
2886
2886
|
path: string;
|
|
2887
2887
|
id: string;
|
|
2888
|
-
userId: number;
|
|
2889
2888
|
createdAt: Date;
|
|
2889
|
+
userId: number;
|
|
2890
2890
|
signedUrl: string;
|
|
2891
2891
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2892
2892
|
}, {
|
|
2893
2893
|
path: string;
|
|
2894
2894
|
id: string;
|
|
2895
|
-
userId: number;
|
|
2896
2895
|
createdAt: Date;
|
|
2896
|
+
userId: number;
|
|
2897
2897
|
signedUrl: string;
|
|
2898
2898
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2899
2899
|
}>>>;
|
|
@@ -2918,21 +2918,21 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2918
2918
|
total: z.ZodNumber;
|
|
2919
2919
|
createdAt: z.ZodDate;
|
|
2920
2920
|
}, "strip", z.ZodTypeAny, {
|
|
2921
|
-
quantity: number;
|
|
2922
|
-
id: number;
|
|
2923
2921
|
description: string;
|
|
2922
|
+
id: number;
|
|
2924
2923
|
createdAt: Date;
|
|
2925
2924
|
invoiceId: string;
|
|
2925
|
+
quantity: number;
|
|
2926
2926
|
unitPrice: number;
|
|
2927
2927
|
total: number;
|
|
2928
2928
|
itemOnPlatformId?: string | null | undefined;
|
|
2929
2929
|
vatRate?: number | null | undefined;
|
|
2930
2930
|
}, {
|
|
2931
|
-
quantity: number;
|
|
2932
|
-
id: number;
|
|
2933
2931
|
description: string;
|
|
2932
|
+
id: number;
|
|
2934
2933
|
createdAt: Date;
|
|
2935
2934
|
invoiceId: string;
|
|
2935
|
+
quantity: number;
|
|
2936
2936
|
unitPrice: number;
|
|
2937
2937
|
total: number;
|
|
2938
2938
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -2944,8 +2944,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2944
2944
|
type: "SALE" | "PURCHASE";
|
|
2945
2945
|
status: string;
|
|
2946
2946
|
id: string;
|
|
2947
|
-
userId: number;
|
|
2948
2947
|
createdAt: Date;
|
|
2948
|
+
userId: number;
|
|
2949
2949
|
currency: string;
|
|
2950
2950
|
orderId: string;
|
|
2951
2951
|
updatedAt: Date;
|
|
@@ -2954,21 +2954,21 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2954
2954
|
businessProfileId: string;
|
|
2955
2955
|
issueDate: Date;
|
|
2956
2956
|
subtotal: number;
|
|
2957
|
-
vatAmount?: number | null | undefined;
|
|
2958
2957
|
fileId?: string | null | undefined;
|
|
2958
|
+
vatAmount?: number | null | undefined;
|
|
2959
2959
|
file?: {
|
|
2960
2960
|
path: string;
|
|
2961
2961
|
id: string;
|
|
2962
|
-
userId: number;
|
|
2963
2962
|
createdAt: Date;
|
|
2963
|
+
userId: number;
|
|
2964
2964
|
signedUrl: string;
|
|
2965
2965
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2966
2966
|
} | null | undefined;
|
|
2967
2967
|
vatRate?: number | null | undefined;
|
|
2968
2968
|
businessProfile?: {
|
|
2969
2969
|
id: string;
|
|
2970
|
-
userId: number;
|
|
2971
2970
|
createdAt: Date;
|
|
2971
|
+
userId: number;
|
|
2972
2972
|
updatedAt: Date;
|
|
2973
2973
|
businessName: string;
|
|
2974
2974
|
address: string;
|
|
@@ -2981,8 +2981,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2981
2981
|
logo?: {
|
|
2982
2982
|
path: string;
|
|
2983
2983
|
id: string;
|
|
2984
|
-
userId: number;
|
|
2985
2984
|
createdAt: Date;
|
|
2985
|
+
userId: number;
|
|
2986
2986
|
signedUrl: string;
|
|
2987
2987
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2988
2988
|
} | null | undefined;
|
|
@@ -2995,26 +2995,26 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
2995
2995
|
firstName: string;
|
|
2996
2996
|
lastName: string;
|
|
2997
2997
|
phoneVerified: boolean;
|
|
2998
|
-
postalCode?: string | null | undefined;
|
|
2999
|
-
city?: string | null | undefined;
|
|
3000
|
-
country?: string | null | undefined;
|
|
3001
|
-
email?: string | null | undefined;
|
|
3002
|
-
addressLine1?: string | null | undefined;
|
|
3003
|
-
addressLine2?: string | null | undefined;
|
|
3004
2998
|
birthDate?: Date | null | undefined;
|
|
2999
|
+
email?: string | null | undefined;
|
|
3005
3000
|
idNumber?: string | null | undefined;
|
|
3006
3001
|
phone?: string | null | undefined;
|
|
3007
3002
|
iban?: string | null | undefined;
|
|
3008
3003
|
bic?: string | null | undefined;
|
|
3004
|
+
addressLine1?: string | null | undefined;
|
|
3005
|
+
addressLine2?: string | null | undefined;
|
|
3006
|
+
city?: string | null | undefined;
|
|
3007
|
+
postalCode?: string | null | undefined;
|
|
3008
|
+
country?: string | null | undefined;
|
|
3009
3009
|
} | null | undefined;
|
|
3010
3010
|
dueDate?: Date | null | undefined;
|
|
3011
3011
|
notes?: string | null | undefined;
|
|
3012
3012
|
lineItems?: {
|
|
3013
|
-
quantity: number;
|
|
3014
|
-
id: number;
|
|
3015
3013
|
description: string;
|
|
3014
|
+
id: number;
|
|
3016
3015
|
createdAt: Date;
|
|
3017
3016
|
invoiceId: string;
|
|
3017
|
+
quantity: number;
|
|
3018
3018
|
unitPrice: number;
|
|
3019
3019
|
total: number;
|
|
3020
3020
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3024,8 +3024,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3024
3024
|
type: "SALE" | "PURCHASE";
|
|
3025
3025
|
status: string;
|
|
3026
3026
|
id: string;
|
|
3027
|
-
userId: number;
|
|
3028
3027
|
createdAt: Date;
|
|
3028
|
+
userId: number;
|
|
3029
3029
|
currency: string;
|
|
3030
3030
|
orderId: string;
|
|
3031
3031
|
updatedAt: Date;
|
|
@@ -3034,21 +3034,21 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3034
3034
|
businessProfileId: string;
|
|
3035
3035
|
issueDate: Date;
|
|
3036
3036
|
subtotal: number;
|
|
3037
|
-
vatAmount?: number | null | undefined;
|
|
3038
3037
|
fileId?: string | null | undefined;
|
|
3038
|
+
vatAmount?: number | null | undefined;
|
|
3039
3039
|
file?: {
|
|
3040
3040
|
path: string;
|
|
3041
3041
|
id: string;
|
|
3042
|
-
userId: number;
|
|
3043
3042
|
createdAt: Date;
|
|
3043
|
+
userId: number;
|
|
3044
3044
|
signedUrl: string;
|
|
3045
3045
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3046
3046
|
} | null | undefined;
|
|
3047
3047
|
vatRate?: number | null | undefined;
|
|
3048
3048
|
businessProfile?: {
|
|
3049
3049
|
id: string;
|
|
3050
|
-
userId: number;
|
|
3051
3050
|
createdAt: Date;
|
|
3051
|
+
userId: number;
|
|
3052
3052
|
updatedAt: Date;
|
|
3053
3053
|
businessName: string;
|
|
3054
3054
|
address: string;
|
|
@@ -3061,8 +3061,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3061
3061
|
logo?: {
|
|
3062
3062
|
path: string;
|
|
3063
3063
|
id: string;
|
|
3064
|
-
userId: number;
|
|
3065
3064
|
createdAt: Date;
|
|
3065
|
+
userId: number;
|
|
3066
3066
|
signedUrl: string;
|
|
3067
3067
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3068
3068
|
} | null | undefined;
|
|
@@ -3075,26 +3075,26 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3075
3075
|
firstName: string;
|
|
3076
3076
|
lastName: string;
|
|
3077
3077
|
phoneVerified: boolean;
|
|
3078
|
-
postalCode?: string | null | undefined;
|
|
3079
|
-
city?: string | null | undefined;
|
|
3080
|
-
country?: string | null | undefined;
|
|
3081
|
-
email?: string | null | undefined;
|
|
3082
|
-
addressLine1?: string | null | undefined;
|
|
3083
|
-
addressLine2?: string | null | undefined;
|
|
3084
3078
|
birthDate?: Date | null | undefined;
|
|
3079
|
+
email?: string | null | undefined;
|
|
3085
3080
|
idNumber?: string | null | undefined;
|
|
3086
3081
|
phone?: string | null | undefined;
|
|
3087
3082
|
iban?: string | null | undefined;
|
|
3088
3083
|
bic?: string | null | undefined;
|
|
3084
|
+
addressLine1?: string | null | undefined;
|
|
3085
|
+
addressLine2?: string | null | undefined;
|
|
3086
|
+
city?: string | null | undefined;
|
|
3087
|
+
postalCode?: string | null | undefined;
|
|
3088
|
+
country?: string | null | undefined;
|
|
3089
3089
|
} | null | undefined;
|
|
3090
3090
|
dueDate?: Date | null | undefined;
|
|
3091
3091
|
notes?: string | null | undefined;
|
|
3092
3092
|
lineItems?: {
|
|
3093
|
-
quantity: number;
|
|
3094
|
-
id: number;
|
|
3095
3093
|
description: string;
|
|
3094
|
+
id: number;
|
|
3096
3095
|
createdAt: Date;
|
|
3097
3096
|
invoiceId: string;
|
|
3097
|
+
quantity: number;
|
|
3098
3098
|
unitPrice: number;
|
|
3099
3099
|
total: number;
|
|
3100
3100
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3105,42 +3105,42 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3105
3105
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
3106
3106
|
labels?: {
|
|
3107
3107
|
id: string;
|
|
3108
|
-
orderId: string;
|
|
3109
3108
|
fileId: string;
|
|
3109
|
+
orderId: string;
|
|
3110
3110
|
nonCroppedFileId: string;
|
|
3111
3111
|
originalFileId: string;
|
|
3112
|
-
|
|
3112
|
+
originalFile?: {
|
|
3113
3113
|
path: string;
|
|
3114
3114
|
id: string;
|
|
3115
|
-
userId: number;
|
|
3116
3115
|
createdAt: Date;
|
|
3116
|
+
userId: number;
|
|
3117
3117
|
signedUrl: string;
|
|
3118
3118
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3119
3119
|
} | null | undefined;
|
|
3120
|
-
|
|
3120
|
+
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;
|
|
3121
|
+
file?: {
|
|
3121
3122
|
path: string;
|
|
3122
3123
|
id: string;
|
|
3123
|
-
userId: number;
|
|
3124
3124
|
createdAt: Date;
|
|
3125
|
+
userId: number;
|
|
3125
3126
|
signedUrl: string;
|
|
3126
3127
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3127
3128
|
} | null | undefined;
|
|
3128
|
-
|
|
3129
|
+
nonCroppedFile?: {
|
|
3129
3130
|
path: string;
|
|
3130
3131
|
id: string;
|
|
3131
|
-
userId: number;
|
|
3132
3132
|
createdAt: Date;
|
|
3133
|
+
userId: number;
|
|
3133
3134
|
signedUrl: string;
|
|
3134
3135
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3135
3136
|
} | null | undefined;
|
|
3136
|
-
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;
|
|
3137
3137
|
}[] | null | undefined;
|
|
3138
3138
|
invoices?: {
|
|
3139
3139
|
type: "SALE" | "PURCHASE";
|
|
3140
3140
|
status: string;
|
|
3141
3141
|
id: string;
|
|
3142
|
-
userId: number;
|
|
3143
3142
|
createdAt: Date;
|
|
3143
|
+
userId: number;
|
|
3144
3144
|
currency: string;
|
|
3145
3145
|
orderId: string;
|
|
3146
3146
|
updatedAt: Date;
|
|
@@ -3149,21 +3149,21 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3149
3149
|
businessProfileId: string;
|
|
3150
3150
|
issueDate: Date;
|
|
3151
3151
|
subtotal: number;
|
|
3152
|
-
vatAmount?: number | null | undefined;
|
|
3153
3152
|
fileId?: string | null | undefined;
|
|
3153
|
+
vatAmount?: number | null | undefined;
|
|
3154
3154
|
file?: {
|
|
3155
3155
|
path: string;
|
|
3156
3156
|
id: string;
|
|
3157
|
-
userId: number;
|
|
3158
3157
|
createdAt: Date;
|
|
3158
|
+
userId: number;
|
|
3159
3159
|
signedUrl: string;
|
|
3160
3160
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3161
3161
|
} | null | undefined;
|
|
3162
3162
|
vatRate?: number | null | undefined;
|
|
3163
3163
|
businessProfile?: {
|
|
3164
3164
|
id: string;
|
|
3165
|
-
userId: number;
|
|
3166
3165
|
createdAt: Date;
|
|
3166
|
+
userId: number;
|
|
3167
3167
|
updatedAt: Date;
|
|
3168
3168
|
businessName: string;
|
|
3169
3169
|
address: string;
|
|
@@ -3176,8 +3176,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3176
3176
|
logo?: {
|
|
3177
3177
|
path: string;
|
|
3178
3178
|
id: string;
|
|
3179
|
-
userId: number;
|
|
3180
3179
|
createdAt: Date;
|
|
3180
|
+
userId: number;
|
|
3181
3181
|
signedUrl: string;
|
|
3182
3182
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3183
3183
|
} | null | undefined;
|
|
@@ -3190,26 +3190,26 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3190
3190
|
firstName: string;
|
|
3191
3191
|
lastName: string;
|
|
3192
3192
|
phoneVerified: boolean;
|
|
3193
|
-
postalCode?: string | null | undefined;
|
|
3194
|
-
city?: string | null | undefined;
|
|
3195
|
-
country?: string | null | undefined;
|
|
3196
|
-
email?: string | null | undefined;
|
|
3197
|
-
addressLine1?: string | null | undefined;
|
|
3198
|
-
addressLine2?: string | null | undefined;
|
|
3199
3193
|
birthDate?: Date | null | undefined;
|
|
3194
|
+
email?: string | null | undefined;
|
|
3200
3195
|
idNumber?: string | null | undefined;
|
|
3201
3196
|
phone?: string | null | undefined;
|
|
3202
3197
|
iban?: string | null | undefined;
|
|
3203
3198
|
bic?: string | null | undefined;
|
|
3199
|
+
addressLine1?: string | null | undefined;
|
|
3200
|
+
addressLine2?: string | null | undefined;
|
|
3201
|
+
city?: string | null | undefined;
|
|
3202
|
+
postalCode?: string | null | undefined;
|
|
3203
|
+
country?: string | null | undefined;
|
|
3204
3204
|
} | null | undefined;
|
|
3205
3205
|
dueDate?: Date | null | undefined;
|
|
3206
3206
|
notes?: string | null | undefined;
|
|
3207
3207
|
lineItems?: {
|
|
3208
|
-
quantity: number;
|
|
3209
|
-
id: number;
|
|
3210
3208
|
description: string;
|
|
3209
|
+
id: number;
|
|
3211
3210
|
createdAt: Date;
|
|
3212
3211
|
invoiceId: string;
|
|
3212
|
+
quantity: number;
|
|
3213
3213
|
unitPrice: number;
|
|
3214
3214
|
total: number;
|
|
3215
3215
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3220,42 +3220,42 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3220
3220
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
3221
3221
|
labels?: {
|
|
3222
3222
|
id: string;
|
|
3223
|
-
orderId: string;
|
|
3224
3223
|
fileId: string;
|
|
3224
|
+
orderId: string;
|
|
3225
3225
|
nonCroppedFileId: string;
|
|
3226
3226
|
originalFileId: string;
|
|
3227
|
-
|
|
3227
|
+
originalFile?: {
|
|
3228
3228
|
path: string;
|
|
3229
3229
|
id: string;
|
|
3230
|
-
userId: number;
|
|
3231
3230
|
createdAt: Date;
|
|
3231
|
+
userId: number;
|
|
3232
3232
|
signedUrl: string;
|
|
3233
3233
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3234
3234
|
} | null | undefined;
|
|
3235
|
-
|
|
3235
|
+
carrier?: unknown;
|
|
3236
|
+
file?: {
|
|
3236
3237
|
path: string;
|
|
3237
3238
|
id: string;
|
|
3238
|
-
userId: number;
|
|
3239
3239
|
createdAt: Date;
|
|
3240
|
+
userId: number;
|
|
3240
3241
|
signedUrl: string;
|
|
3241
3242
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3242
3243
|
} | null | undefined;
|
|
3243
|
-
|
|
3244
|
+
nonCroppedFile?: {
|
|
3244
3245
|
path: string;
|
|
3245
3246
|
id: string;
|
|
3246
|
-
userId: number;
|
|
3247
3247
|
createdAt: Date;
|
|
3248
|
+
userId: number;
|
|
3248
3249
|
signedUrl: string;
|
|
3249
3250
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3250
3251
|
} | null | undefined;
|
|
3251
|
-
carrier?: unknown;
|
|
3252
3252
|
}[] | null | undefined;
|
|
3253
3253
|
invoices?: {
|
|
3254
3254
|
type: "SALE" | "PURCHASE";
|
|
3255
3255
|
status: string;
|
|
3256
3256
|
id: string;
|
|
3257
|
-
userId: number;
|
|
3258
3257
|
createdAt: Date;
|
|
3258
|
+
userId: number;
|
|
3259
3259
|
currency: string;
|
|
3260
3260
|
orderId: string;
|
|
3261
3261
|
updatedAt: Date;
|
|
@@ -3264,21 +3264,21 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3264
3264
|
businessProfileId: string;
|
|
3265
3265
|
issueDate: Date;
|
|
3266
3266
|
subtotal: number;
|
|
3267
|
-
vatAmount?: number | null | undefined;
|
|
3268
3267
|
fileId?: string | null | undefined;
|
|
3268
|
+
vatAmount?: number | null | undefined;
|
|
3269
3269
|
file?: {
|
|
3270
3270
|
path: string;
|
|
3271
3271
|
id: string;
|
|
3272
|
-
userId: number;
|
|
3273
3272
|
createdAt: Date;
|
|
3273
|
+
userId: number;
|
|
3274
3274
|
signedUrl: string;
|
|
3275
3275
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3276
3276
|
} | null | undefined;
|
|
3277
3277
|
vatRate?: number | null | undefined;
|
|
3278
3278
|
businessProfile?: {
|
|
3279
3279
|
id: string;
|
|
3280
|
-
userId: number;
|
|
3281
3280
|
createdAt: Date;
|
|
3281
|
+
userId: number;
|
|
3282
3282
|
updatedAt: Date;
|
|
3283
3283
|
businessName: string;
|
|
3284
3284
|
address: string;
|
|
@@ -3291,8 +3291,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3291
3291
|
logo?: {
|
|
3292
3292
|
path: string;
|
|
3293
3293
|
id: string;
|
|
3294
|
-
userId: number;
|
|
3295
3294
|
createdAt: Date;
|
|
3295
|
+
userId: number;
|
|
3296
3296
|
signedUrl: string;
|
|
3297
3297
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3298
3298
|
} | null | undefined;
|
|
@@ -3305,26 +3305,26 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3305
3305
|
firstName: string;
|
|
3306
3306
|
lastName: string;
|
|
3307
3307
|
phoneVerified: boolean;
|
|
3308
|
-
postalCode?: string | null | undefined;
|
|
3309
|
-
city?: string | null | undefined;
|
|
3310
|
-
country?: string | null | undefined;
|
|
3311
|
-
email?: string | null | undefined;
|
|
3312
|
-
addressLine1?: string | null | undefined;
|
|
3313
|
-
addressLine2?: string | null | undefined;
|
|
3314
3308
|
birthDate?: Date | null | undefined;
|
|
3309
|
+
email?: string | null | undefined;
|
|
3315
3310
|
idNumber?: string | null | undefined;
|
|
3316
3311
|
phone?: string | null | undefined;
|
|
3317
3312
|
iban?: string | null | undefined;
|
|
3318
3313
|
bic?: string | null | undefined;
|
|
3314
|
+
addressLine1?: string | null | undefined;
|
|
3315
|
+
addressLine2?: string | null | undefined;
|
|
3316
|
+
city?: string | null | undefined;
|
|
3317
|
+
postalCode?: string | null | undefined;
|
|
3318
|
+
country?: string | null | undefined;
|
|
3319
3319
|
} | null | undefined;
|
|
3320
3320
|
dueDate?: Date | null | undefined;
|
|
3321
3321
|
notes?: string | null | undefined;
|
|
3322
3322
|
lineItems?: {
|
|
3323
|
-
quantity: number;
|
|
3324
|
-
id: number;
|
|
3325
3323
|
description: string;
|
|
3324
|
+
id: number;
|
|
3326
3325
|
createdAt: Date;
|
|
3327
3326
|
invoiceId: string;
|
|
3327
|
+
quantity: number;
|
|
3328
3328
|
unitPrice: number;
|
|
3329
3329
|
total: number;
|
|
3330
3330
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3334,29 +3334,45 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3334
3334
|
}>>>;
|
|
3335
3335
|
analysisStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "COMPLETED", "FAILED"]>>>;
|
|
3336
3336
|
}, "strip", z.ZodTypeAny, {
|
|
3337
|
-
|
|
3338
|
-
|
|
3337
|
+
actions: {
|
|
3338
|
+
perAccount: Record<string, ("REPUBLISH" | "UNKNOWN" | "PUBLISH" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE" | "UPDATE_CANCEL" | "BOOST")[]>;
|
|
3339
|
+
};
|
|
3339
3340
|
name: string;
|
|
3341
|
+
id: number;
|
|
3340
3342
|
createdAt: Date;
|
|
3343
|
+
userId: number;
|
|
3341
3344
|
updatedAt: Date;
|
|
3342
3345
|
sold: boolean;
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
+
fees?: {
|
|
3347
|
+
value: number;
|
|
3348
|
+
type: string;
|
|
3349
|
+
name: string;
|
|
3350
|
+
id: number;
|
|
3351
|
+
createdAt: Date;
|
|
3352
|
+
userId: number;
|
|
3353
|
+
updatedAt: Date;
|
|
3354
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
3355
|
+
startDate: Date;
|
|
3356
|
+
active: boolean;
|
|
3357
|
+
description?: string | null | undefined;
|
|
3358
|
+
itemId?: number | null | undefined;
|
|
3359
|
+
endDate?: Date | null | undefined;
|
|
3360
|
+
parentFeeId?: number | null | undefined;
|
|
3361
|
+
}[] | null | undefined;
|
|
3346
3362
|
description?: string | null | undefined;
|
|
3347
3363
|
categoryId?: number | null | undefined;
|
|
3348
|
-
|
|
3364
|
+
sizeId?: number | null | undefined;
|
|
3349
3365
|
colorIds?: number[] | null | undefined;
|
|
3366
|
+
packageSizeId?: number | null | undefined;
|
|
3367
|
+
state?: number | null | undefined;
|
|
3350
3368
|
measurementLength?: number | null | undefined;
|
|
3351
3369
|
measurementWidth?: number | null | undefined;
|
|
3352
|
-
packageSizeId?: number | null | undefined;
|
|
3353
|
-
sizeId?: number | null | undefined;
|
|
3354
3370
|
labels?: {
|
|
3355
3371
|
itemId: number;
|
|
3356
3372
|
labelId: number;
|
|
3357
3373
|
label?: {
|
|
3358
|
-
id: number;
|
|
3359
3374
|
name: string;
|
|
3375
|
+
id: number;
|
|
3360
3376
|
createdAt: Date;
|
|
3361
3377
|
isUserLabel: boolean;
|
|
3362
3378
|
itemCount?: number | null | undefined;
|
|
@@ -3369,50 +3385,86 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3369
3385
|
fieldKey: string;
|
|
3370
3386
|
}[] | null | undefined;
|
|
3371
3387
|
sku?: string | null | undefined;
|
|
3372
|
-
|
|
3373
|
-
|
|
3388
|
+
sex?: string | null | undefined;
|
|
3389
|
+
platforms?: {
|
|
3390
|
+
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
3391
|
+
id: string;
|
|
3392
|
+
createdAt: Date;
|
|
3393
|
+
accountId: string;
|
|
3374
3394
|
itemId: number;
|
|
3375
|
-
|
|
3395
|
+
platformId: string;
|
|
3396
|
+
platformUrl: string;
|
|
3397
|
+
platformPrice: number;
|
|
3398
|
+
updatedAt: Date;
|
|
3399
|
+
publishedAt: Date;
|
|
3400
|
+
conversationId?: string | null | undefined;
|
|
3401
|
+
boostedAt?: Date | null | undefined;
|
|
3402
|
+
boostedUntil?: Date | null | undefined;
|
|
3403
|
+
viewsCount?: number | null | undefined;
|
|
3404
|
+
favoritesCount?: number | null | undefined;
|
|
3405
|
+
account?: {
|
|
3406
|
+
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
3407
|
+
name: string;
|
|
3408
|
+
userId: number;
|
|
3409
|
+
accountId: string;
|
|
3410
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3411
|
+
locale?: string | null | undefined;
|
|
3412
|
+
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
3413
|
+
restrictedUntil?: Date | null | undefined;
|
|
3414
|
+
night?: {
|
|
3415
|
+
startsAt: Date;
|
|
3416
|
+
endsAt: Date;
|
|
3417
|
+
} | null | undefined;
|
|
3418
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
3419
|
+
ordersMaxDelay?: number | null | undefined;
|
|
3420
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
3421
|
+
walletMaxDelay?: number | null | undefined;
|
|
3422
|
+
availableBalance?: number | null | undefined;
|
|
3423
|
+
pendingBalance?: number | null | undefined;
|
|
3424
|
+
profilePictureFileId?: string | null | undefined;
|
|
3425
|
+
profilePicture?: {
|
|
3426
|
+
path: string;
|
|
3427
|
+
id: string;
|
|
3428
|
+
createdAt: Date;
|
|
3429
|
+
userId: number;
|
|
3430
|
+
signedUrl: string;
|
|
3431
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3432
|
+
} | null | undefined;
|
|
3433
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
3434
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
3435
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
3436
|
+
} | null | undefined;
|
|
3437
|
+
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;
|
|
3438
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
3439
|
+
isBoosted?: boolean | null | undefined;
|
|
3376
3440
|
}[] | null | undefined;
|
|
3377
|
-
|
|
3441
|
+
brandId?: number | null | undefined;
|
|
3442
|
+
estimatedPrice?: number | null | undefined;
|
|
3443
|
+
purchaseDate?: Date | null | undefined;
|
|
3444
|
+
sellingDate?: Date | null | undefined;
|
|
3445
|
+
fields?: {
|
|
3446
|
+
value: string;
|
|
3378
3447
|
itemId: number;
|
|
3448
|
+
fieldId: number;
|
|
3449
|
+
}[] | null | undefined;
|
|
3450
|
+
files?: {
|
|
3379
3451
|
fileId: string;
|
|
3452
|
+
itemId: number;
|
|
3380
3453
|
file?: {
|
|
3381
3454
|
path: string;
|
|
3382
3455
|
id: string;
|
|
3383
|
-
userId: number;
|
|
3384
3456
|
createdAt: Date;
|
|
3457
|
+
userId: number;
|
|
3385
3458
|
signedUrl: string;
|
|
3386
3459
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3387
3460
|
} | null | undefined;
|
|
3388
3461
|
index?: number | null | undefined;
|
|
3389
3462
|
}[] | null | undefined;
|
|
3390
|
-
brandId?: number | null | undefined;
|
|
3391
|
-
sex?: string | null | undefined;
|
|
3392
3463
|
purchasePrice?: number | null | undefined;
|
|
3393
|
-
purchaseDate?: Date | null | undefined;
|
|
3394
3464
|
purchasePlaceId?: number | null | undefined;
|
|
3395
3465
|
purchased?: boolean | null | undefined;
|
|
3396
3466
|
sellingPrice?: number | null | undefined;
|
|
3397
|
-
sellingDate?: Date | null | undefined;
|
|
3398
3467
|
sellingPlaceId?: number | null | undefined;
|
|
3399
|
-
estimatedPrice?: number | null | undefined;
|
|
3400
|
-
fees?: {
|
|
3401
|
-
value: number;
|
|
3402
|
-
type: string;
|
|
3403
|
-
id: number;
|
|
3404
|
-
userId: number;
|
|
3405
|
-
name: string;
|
|
3406
|
-
createdAt: Date;
|
|
3407
|
-
updatedAt: Date;
|
|
3408
|
-
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
3409
|
-
startDate: Date;
|
|
3410
|
-
active: boolean;
|
|
3411
|
-
description?: string | null | undefined;
|
|
3412
|
-
itemId?: number | null | undefined;
|
|
3413
|
-
endDate?: Date | null | undefined;
|
|
3414
|
-
parentFeeId?: number | null | undefined;
|
|
3415
|
-
}[] | null | undefined;
|
|
3416
3468
|
feesSum?: number | null | undefined;
|
|
3417
3469
|
materialIds?: number[] | null | undefined;
|
|
3418
3470
|
enumValues?: {
|
|
@@ -3428,7 +3480,6 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3428
3480
|
id: string;
|
|
3429
3481
|
createdAt: Date;
|
|
3430
3482
|
itemId: number;
|
|
3431
|
-
accountId?: string | null | undefined;
|
|
3432
3483
|
data?: {
|
|
3433
3484
|
type: "ACTION_CANCELED";
|
|
3434
3485
|
data: {
|
|
@@ -3464,7 +3515,7 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3464
3515
|
accountId?: string | null | undefined;
|
|
3465
3516
|
reason?: string | null | undefined;
|
|
3466
3517
|
fields?: {
|
|
3467
|
-
field: "
|
|
3518
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
3468
3519
|
autoFixable: boolean;
|
|
3469
3520
|
error?: string | null | undefined;
|
|
3470
3521
|
}[] | null | undefined;
|
|
@@ -3494,23 +3545,23 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3494
3545
|
post: {
|
|
3495
3546
|
platformId: string;
|
|
3496
3547
|
post: {
|
|
3497
|
-
size?: string | null | undefined;
|
|
3498
3548
|
status?: string | null | undefined;
|
|
3499
3549
|
title?: string | null | undefined;
|
|
3500
3550
|
description?: string | null | undefined;
|
|
3551
|
+
brand?: string | null | undefined;
|
|
3552
|
+
statusId?: number | null | undefined;
|
|
3553
|
+
sizeId?: number | null | undefined;
|
|
3554
|
+
colorIds?: number[] | null | undefined;
|
|
3555
|
+
packageSizeId?: number | null | undefined;
|
|
3501
3556
|
price?: number | null | undefined;
|
|
3502
3557
|
currency?: string | null | undefined;
|
|
3503
|
-
brand?: string | null | undefined;
|
|
3504
3558
|
catalog?: string | null | undefined;
|
|
3505
3559
|
catalogId?: number | null | undefined;
|
|
3506
3560
|
colors?: string[] | null | undefined;
|
|
3507
|
-
colorIds?: number[] | null | undefined;
|
|
3508
3561
|
measurementLength?: number | null | undefined;
|
|
3509
3562
|
measurementWidth?: number | null | undefined;
|
|
3510
|
-
packageSizeId?: number | null | undefined;
|
|
3511
3563
|
photoUrls?: string[] | null | undefined;
|
|
3512
|
-
|
|
3513
|
-
statusId?: number | null | undefined;
|
|
3564
|
+
size?: string | null | undefined;
|
|
3514
3565
|
isDraft?: boolean | null | undefined;
|
|
3515
3566
|
isArchived?: boolean | null | undefined;
|
|
3516
3567
|
isUnisex?: boolean | null | undefined;
|
|
@@ -3553,8 +3604,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3553
3604
|
} | {
|
|
3554
3605
|
type: "LIFECYCLE_STARTED";
|
|
3555
3606
|
data: {
|
|
3556
|
-
accountId: string;
|
|
3557
3607
|
caseId: string;
|
|
3608
|
+
accountId: string;
|
|
3558
3609
|
isRepeat?: boolean | null | undefined;
|
|
3559
3610
|
};
|
|
3560
3611
|
} | {
|
|
@@ -3593,17 +3644,17 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3593
3644
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
3594
3645
|
} | null | undefined;
|
|
3595
3646
|
} | null | undefined;
|
|
3596
|
-
targetAccountId?: string | null | undefined;
|
|
3597
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
3598
3647
|
publishingDate?: Date | null | undefined;
|
|
3599
3648
|
isTransfer?: boolean | null | undefined;
|
|
3649
|
+
targetAccountId?: string | null | undefined;
|
|
3650
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
3600
3651
|
};
|
|
3601
3652
|
} | {
|
|
3602
3653
|
type: "REPUBLISHING_RETRY";
|
|
3603
3654
|
data: {
|
|
3655
|
+
maxAttempts: number;
|
|
3604
3656
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3605
3657
|
attemptNumber: number;
|
|
3606
|
-
maxAttempts: number;
|
|
3607
3658
|
previousHistoryId: string;
|
|
3608
3659
|
originalFailureDate: Date;
|
|
3609
3660
|
payload?: {
|
|
@@ -3631,7 +3682,7 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3631
3682
|
} | null | undefined;
|
|
3632
3683
|
} | null | undefined;
|
|
3633
3684
|
fields?: {
|
|
3634
|
-
field: "
|
|
3685
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
3635
3686
|
autoFixable: boolean;
|
|
3636
3687
|
error?: string | null | undefined;
|
|
3637
3688
|
}[] | null | undefined;
|
|
@@ -3645,13 +3696,13 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3645
3696
|
} | {
|
|
3646
3697
|
type: "SCHEDULED_RETRY";
|
|
3647
3698
|
data: {
|
|
3699
|
+
maxAttempts: number;
|
|
3648
3700
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3649
3701
|
attemptNumber: number;
|
|
3650
|
-
maxAttempts: number;
|
|
3651
3702
|
previousHistoryId: string;
|
|
3652
3703
|
originalFailureDate: Date;
|
|
3653
3704
|
fields?: {
|
|
3654
|
-
field: "
|
|
3705
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
3655
3706
|
autoFixable: boolean;
|
|
3656
3707
|
error?: string | null | undefined;
|
|
3657
3708
|
}[] | null | undefined;
|
|
@@ -3680,103 +3731,52 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3680
3731
|
targetDate?: Date | null | undefined;
|
|
3681
3732
|
};
|
|
3682
3733
|
} | null | undefined;
|
|
3734
|
+
accountId?: string | null | undefined;
|
|
3683
3735
|
targetDate?: Date | null | undefined;
|
|
3684
3736
|
requestId?: string | null | undefined;
|
|
3685
3737
|
targetHistoryId?: string | null | undefined;
|
|
3686
3738
|
} | null | undefined;
|
|
3687
|
-
platforms?: {
|
|
3688
|
-
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
3689
|
-
id: string;
|
|
3690
|
-
accountId: string;
|
|
3691
|
-
createdAt: Date;
|
|
3692
|
-
itemId: number;
|
|
3693
|
-
platformId: string;
|
|
3694
|
-
platformUrl: string;
|
|
3695
|
-
platformPrice: number;
|
|
3696
|
-
updatedAt: Date;
|
|
3697
|
-
publishedAt: Date;
|
|
3698
|
-
conversationId?: string | null | undefined;
|
|
3699
|
-
boostedAt?: Date | null | undefined;
|
|
3700
|
-
boostedUntil?: Date | null | undefined;
|
|
3701
|
-
viewsCount?: number | null | undefined;
|
|
3702
|
-
favoritesCount?: number | null | undefined;
|
|
3703
|
-
account?: {
|
|
3704
|
-
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
3705
|
-
accountId: string;
|
|
3706
|
-
userId: number;
|
|
3707
|
-
name: string;
|
|
3708
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3709
|
-
locale?: string | null | undefined;
|
|
3710
|
-
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
3711
|
-
restrictedUntil?: Date | null | undefined;
|
|
3712
|
-
night?: {
|
|
3713
|
-
startsAt: Date;
|
|
3714
|
-
endsAt: Date;
|
|
3715
|
-
} | null | undefined;
|
|
3716
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
3717
|
-
ordersMaxDelay?: number | null | undefined;
|
|
3718
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
3719
|
-
walletMaxDelay?: number | null | undefined;
|
|
3720
|
-
availableBalance?: number | null | undefined;
|
|
3721
|
-
pendingBalance?: number | null | undefined;
|
|
3722
|
-
profilePictureFileId?: string | null | undefined;
|
|
3723
|
-
profilePicture?: {
|
|
3724
|
-
path: string;
|
|
3725
|
-
id: string;
|
|
3726
|
-
userId: number;
|
|
3727
|
-
createdAt: Date;
|
|
3728
|
-
signedUrl: string;
|
|
3729
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3730
|
-
} | null | undefined;
|
|
3731
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
3732
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
3733
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
3734
|
-
} | null | undefined;
|
|
3735
|
-
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;
|
|
3736
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
3737
|
-
isBoosted?: boolean | null | undefined;
|
|
3738
|
-
}[] | null | undefined;
|
|
3739
3739
|
sourceInConversation?: "UNKNOWN" | "DELETED" | "ORDER" | "TRANSACTION" | null | undefined;
|
|
3740
3740
|
order?: {
|
|
3741
3741
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
3742
3742
|
labels?: {
|
|
3743
3743
|
id: string;
|
|
3744
|
-
orderId: string;
|
|
3745
3744
|
fileId: string;
|
|
3745
|
+
orderId: string;
|
|
3746
3746
|
nonCroppedFileId: string;
|
|
3747
3747
|
originalFileId: string;
|
|
3748
|
-
|
|
3748
|
+
originalFile?: {
|
|
3749
3749
|
path: string;
|
|
3750
3750
|
id: string;
|
|
3751
|
-
userId: number;
|
|
3752
3751
|
createdAt: Date;
|
|
3752
|
+
userId: number;
|
|
3753
3753
|
signedUrl: string;
|
|
3754
3754
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3755
3755
|
} | null | undefined;
|
|
3756
|
-
|
|
3756
|
+
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;
|
|
3757
|
+
file?: {
|
|
3757
3758
|
path: string;
|
|
3758
3759
|
id: string;
|
|
3759
|
-
userId: number;
|
|
3760
3760
|
createdAt: Date;
|
|
3761
|
+
userId: number;
|
|
3761
3762
|
signedUrl: string;
|
|
3762
3763
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3763
3764
|
} | null | undefined;
|
|
3764
|
-
|
|
3765
|
+
nonCroppedFile?: {
|
|
3765
3766
|
path: string;
|
|
3766
3767
|
id: string;
|
|
3767
|
-
userId: number;
|
|
3768
3768
|
createdAt: Date;
|
|
3769
|
+
userId: number;
|
|
3769
3770
|
signedUrl: string;
|
|
3770
3771
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3771
3772
|
} | null | undefined;
|
|
3772
|
-
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;
|
|
3773
3773
|
}[] | null | undefined;
|
|
3774
3774
|
invoices?: {
|
|
3775
3775
|
type: "SALE" | "PURCHASE";
|
|
3776
3776
|
status: string;
|
|
3777
3777
|
id: string;
|
|
3778
|
-
userId: number;
|
|
3779
3778
|
createdAt: Date;
|
|
3779
|
+
userId: number;
|
|
3780
3780
|
currency: string;
|
|
3781
3781
|
orderId: string;
|
|
3782
3782
|
updatedAt: Date;
|
|
@@ -3785,21 +3785,21 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3785
3785
|
businessProfileId: string;
|
|
3786
3786
|
issueDate: Date;
|
|
3787
3787
|
subtotal: number;
|
|
3788
|
-
vatAmount?: number | null | undefined;
|
|
3789
3788
|
fileId?: string | null | undefined;
|
|
3789
|
+
vatAmount?: number | null | undefined;
|
|
3790
3790
|
file?: {
|
|
3791
3791
|
path: string;
|
|
3792
3792
|
id: string;
|
|
3793
|
-
userId: number;
|
|
3794
3793
|
createdAt: Date;
|
|
3794
|
+
userId: number;
|
|
3795
3795
|
signedUrl: string;
|
|
3796
3796
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3797
3797
|
} | null | undefined;
|
|
3798
3798
|
vatRate?: number | null | undefined;
|
|
3799
3799
|
businessProfile?: {
|
|
3800
3800
|
id: string;
|
|
3801
|
-
userId: number;
|
|
3802
3801
|
createdAt: Date;
|
|
3802
|
+
userId: number;
|
|
3803
3803
|
updatedAt: Date;
|
|
3804
3804
|
businessName: string;
|
|
3805
3805
|
address: string;
|
|
@@ -3812,8 +3812,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3812
3812
|
logo?: {
|
|
3813
3813
|
path: string;
|
|
3814
3814
|
id: string;
|
|
3815
|
-
userId: number;
|
|
3816
3815
|
createdAt: Date;
|
|
3816
|
+
userId: number;
|
|
3817
3817
|
signedUrl: string;
|
|
3818
3818
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3819
3819
|
} | null | undefined;
|
|
@@ -3826,26 +3826,26 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3826
3826
|
firstName: string;
|
|
3827
3827
|
lastName: string;
|
|
3828
3828
|
phoneVerified: boolean;
|
|
3829
|
-
postalCode?: string | null | undefined;
|
|
3830
|
-
city?: string | null | undefined;
|
|
3831
|
-
country?: string | null | undefined;
|
|
3832
|
-
email?: string | null | undefined;
|
|
3833
|
-
addressLine1?: string | null | undefined;
|
|
3834
|
-
addressLine2?: string | null | undefined;
|
|
3835
3829
|
birthDate?: Date | null | undefined;
|
|
3830
|
+
email?: string | null | undefined;
|
|
3836
3831
|
idNumber?: string | null | undefined;
|
|
3837
3832
|
phone?: string | null | undefined;
|
|
3838
3833
|
iban?: string | null | undefined;
|
|
3839
3834
|
bic?: string | null | undefined;
|
|
3835
|
+
addressLine1?: string | null | undefined;
|
|
3836
|
+
addressLine2?: string | null | undefined;
|
|
3837
|
+
city?: string | null | undefined;
|
|
3838
|
+
postalCode?: string | null | undefined;
|
|
3839
|
+
country?: string | null | undefined;
|
|
3840
3840
|
} | null | undefined;
|
|
3841
3841
|
dueDate?: Date | null | undefined;
|
|
3842
3842
|
notes?: string | null | undefined;
|
|
3843
3843
|
lineItems?: {
|
|
3844
|
-
quantity: number;
|
|
3845
|
-
id: number;
|
|
3846
3844
|
description: string;
|
|
3845
|
+
id: number;
|
|
3847
3846
|
createdAt: Date;
|
|
3848
3847
|
invoiceId: string;
|
|
3848
|
+
quantity: number;
|
|
3849
3849
|
unitPrice: number;
|
|
3850
3850
|
total: number;
|
|
3851
3851
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3855,29 +3855,45 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3855
3855
|
} | null | undefined;
|
|
3856
3856
|
analysisStatus?: "PENDING" | "COMPLETED" | "FAILED" | null | undefined;
|
|
3857
3857
|
}, {
|
|
3858
|
-
|
|
3859
|
-
|
|
3858
|
+
actions: {
|
|
3859
|
+
perAccount: Record<string, unknown[]>;
|
|
3860
|
+
};
|
|
3860
3861
|
name: string;
|
|
3862
|
+
id: number;
|
|
3861
3863
|
createdAt: Date;
|
|
3864
|
+
userId: number;
|
|
3862
3865
|
updatedAt: Date;
|
|
3863
3866
|
sold: boolean;
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
+
fees?: {
|
|
3868
|
+
value: number;
|
|
3869
|
+
type: string;
|
|
3870
|
+
name: string;
|
|
3871
|
+
id: number;
|
|
3872
|
+
createdAt: Date;
|
|
3873
|
+
userId: number;
|
|
3874
|
+
updatedAt: Date;
|
|
3875
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
3876
|
+
startDate: Date;
|
|
3877
|
+
active: boolean;
|
|
3878
|
+
description?: string | null | undefined;
|
|
3879
|
+
itemId?: number | null | undefined;
|
|
3880
|
+
endDate?: Date | null | undefined;
|
|
3881
|
+
parentFeeId?: number | null | undefined;
|
|
3882
|
+
}[] | null | undefined;
|
|
3867
3883
|
description?: string | null | undefined;
|
|
3868
3884
|
categoryId?: number | null | undefined;
|
|
3869
|
-
|
|
3885
|
+
sizeId?: number | null | undefined;
|
|
3870
3886
|
colorIds?: number[] | null | undefined;
|
|
3887
|
+
packageSizeId?: number | null | undefined;
|
|
3888
|
+
state?: number | null | undefined;
|
|
3871
3889
|
measurementLength?: number | null | undefined;
|
|
3872
3890
|
measurementWidth?: number | null | undefined;
|
|
3873
|
-
packageSizeId?: number | null | undefined;
|
|
3874
|
-
sizeId?: number | null | undefined;
|
|
3875
3891
|
labels?: {
|
|
3876
3892
|
itemId: number;
|
|
3877
3893
|
labelId: number;
|
|
3878
3894
|
label?: {
|
|
3879
|
-
id: number;
|
|
3880
3895
|
name: string;
|
|
3896
|
+
id: number;
|
|
3881
3897
|
createdAt: Date;
|
|
3882
3898
|
isUserLabel: boolean;
|
|
3883
3899
|
itemCount?: number | null | undefined;
|
|
@@ -3890,50 +3906,86 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3890
3906
|
fieldKey: string;
|
|
3891
3907
|
}[] | null | undefined;
|
|
3892
3908
|
sku?: string | null | undefined;
|
|
3909
|
+
sex?: string | null | undefined;
|
|
3910
|
+
platforms?: {
|
|
3911
|
+
id: string;
|
|
3912
|
+
createdAt: Date;
|
|
3913
|
+
accountId: string;
|
|
3914
|
+
itemId: number;
|
|
3915
|
+
platformId: string;
|
|
3916
|
+
platformUrl: string;
|
|
3917
|
+
platformPrice: number;
|
|
3918
|
+
updatedAt: Date;
|
|
3919
|
+
publishedAt: Date;
|
|
3920
|
+
status?: unknown;
|
|
3921
|
+
conversationId?: string | null | undefined;
|
|
3922
|
+
boostedAt?: Date | null | undefined;
|
|
3923
|
+
boostedUntil?: Date | null | undefined;
|
|
3924
|
+
viewsCount?: number | null | undefined;
|
|
3925
|
+
favoritesCount?: number | null | undefined;
|
|
3926
|
+
account?: {
|
|
3927
|
+
name: string;
|
|
3928
|
+
userId: number;
|
|
3929
|
+
accountId: string;
|
|
3930
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3931
|
+
status?: unknown;
|
|
3932
|
+
locale?: string | null | undefined;
|
|
3933
|
+
lockReason?: unknown;
|
|
3934
|
+
restrictedUntil?: Date | null | undefined;
|
|
3935
|
+
night?: {
|
|
3936
|
+
startsAt: Date;
|
|
3937
|
+
endsAt: Date;
|
|
3938
|
+
} | null | undefined;
|
|
3939
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
3940
|
+
ordersMaxDelay?: number | null | undefined;
|
|
3941
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
3942
|
+
walletMaxDelay?: number | null | undefined;
|
|
3943
|
+
availableBalance?: number | null | undefined;
|
|
3944
|
+
pendingBalance?: number | null | undefined;
|
|
3945
|
+
profilePictureFileId?: string | null | undefined;
|
|
3946
|
+
profilePicture?: {
|
|
3947
|
+
path: string;
|
|
3948
|
+
id: string;
|
|
3949
|
+
createdAt: Date;
|
|
3950
|
+
userId: number;
|
|
3951
|
+
signedUrl: string;
|
|
3952
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3953
|
+
} | null | undefined;
|
|
3954
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
3955
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
3956
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
3957
|
+
} | null | undefined;
|
|
3958
|
+
orderStatus?: unknown;
|
|
3959
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
3960
|
+
isBoosted?: boolean | null | undefined;
|
|
3961
|
+
}[] | null | undefined;
|
|
3962
|
+
brandId?: number | null | undefined;
|
|
3963
|
+
estimatedPrice?: number | null | undefined;
|
|
3964
|
+
purchaseDate?: Date | null | undefined;
|
|
3965
|
+
sellingDate?: Date | null | undefined;
|
|
3893
3966
|
fields?: {
|
|
3894
3967
|
value: string;
|
|
3895
3968
|
itemId: number;
|
|
3896
3969
|
fieldId: number;
|
|
3897
3970
|
}[] | null | undefined;
|
|
3898
3971
|
files?: {
|
|
3899
|
-
itemId: number;
|
|
3900
3972
|
fileId: string;
|
|
3973
|
+
itemId: number;
|
|
3901
3974
|
file?: {
|
|
3902
3975
|
path: string;
|
|
3903
3976
|
id: string;
|
|
3904
|
-
userId: number;
|
|
3905
3977
|
createdAt: Date;
|
|
3978
|
+
userId: number;
|
|
3906
3979
|
signedUrl: string;
|
|
3907
3980
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3908
3981
|
} | null | undefined;
|
|
3909
3982
|
index?: number | null | undefined;
|
|
3910
3983
|
}[] | null | undefined;
|
|
3911
|
-
brandId?: number | null | undefined;
|
|
3912
|
-
sex?: string | null | undefined;
|
|
3913
3984
|
purchasePrice?: number | null | undefined;
|
|
3914
|
-
purchaseDate?: Date | null | undefined;
|
|
3915
3985
|
purchasePlaceId?: number | null | undefined;
|
|
3916
3986
|
purchased?: boolean | null | undefined;
|
|
3917
3987
|
sellingPrice?: number | null | undefined;
|
|
3918
|
-
sellingDate?: Date | null | undefined;
|
|
3919
3988
|
sellingPlaceId?: number | null | undefined;
|
|
3920
|
-
estimatedPrice?: number | null | undefined;
|
|
3921
|
-
fees?: {
|
|
3922
|
-
value: number;
|
|
3923
|
-
type: string;
|
|
3924
|
-
id: number;
|
|
3925
|
-
userId: number;
|
|
3926
|
-
name: string;
|
|
3927
|
-
createdAt: Date;
|
|
3928
|
-
updatedAt: Date;
|
|
3929
|
-
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
3930
|
-
startDate: Date;
|
|
3931
|
-
active: boolean;
|
|
3932
|
-
description?: string | null | undefined;
|
|
3933
|
-
itemId?: number | null | undefined;
|
|
3934
|
-
endDate?: Date | null | undefined;
|
|
3935
|
-
parentFeeId?: number | null | undefined;
|
|
3936
|
-
}[] | null | undefined;
|
|
3937
3989
|
feesSum?: number | null | undefined;
|
|
3938
3990
|
materialIds?: number[] | null | undefined;
|
|
3939
3991
|
enumValues?: {
|
|
@@ -3949,7 +4001,6 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
3949
4001
|
createdAt: Date;
|
|
3950
4002
|
itemId: number;
|
|
3951
4003
|
type?: unknown;
|
|
3952
|
-
accountId?: string | null | undefined;
|
|
3953
4004
|
data?: {
|
|
3954
4005
|
type: "ACTION_CANCELED";
|
|
3955
4006
|
data: {
|
|
@@ -4015,23 +4066,23 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4015
4066
|
post: {
|
|
4016
4067
|
platformId: string;
|
|
4017
4068
|
post: {
|
|
4018
|
-
size?: string | null | undefined;
|
|
4019
4069
|
status?: string | null | undefined;
|
|
4020
4070
|
title?: string | null | undefined;
|
|
4021
4071
|
description?: string | null | undefined;
|
|
4072
|
+
brand?: string | null | undefined;
|
|
4073
|
+
statusId?: number | null | undefined;
|
|
4074
|
+
sizeId?: number | null | undefined;
|
|
4075
|
+
colorIds?: number[] | null | undefined;
|
|
4076
|
+
packageSizeId?: number | null | undefined;
|
|
4022
4077
|
price?: number | null | undefined;
|
|
4023
4078
|
currency?: string | null | undefined;
|
|
4024
|
-
brand?: string | null | undefined;
|
|
4025
4079
|
catalog?: string | null | undefined;
|
|
4026
4080
|
catalogId?: number | null | undefined;
|
|
4027
4081
|
colors?: string[] | null | undefined;
|
|
4028
|
-
colorIds?: number[] | null | undefined;
|
|
4029
4082
|
measurementLength?: number | null | undefined;
|
|
4030
4083
|
measurementWidth?: number | null | undefined;
|
|
4031
|
-
packageSizeId?: number | null | undefined;
|
|
4032
4084
|
photoUrls?: string[] | null | undefined;
|
|
4033
|
-
|
|
4034
|
-
statusId?: number | null | undefined;
|
|
4085
|
+
size?: string | null | undefined;
|
|
4035
4086
|
isDraft?: boolean | null | undefined;
|
|
4036
4087
|
isArchived?: boolean | null | undefined;
|
|
4037
4088
|
isUnisex?: boolean | null | undefined;
|
|
@@ -4074,8 +4125,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4074
4125
|
} | {
|
|
4075
4126
|
type: "LIFECYCLE_STARTED";
|
|
4076
4127
|
data: {
|
|
4077
|
-
accountId: string;
|
|
4078
4128
|
caseId: string;
|
|
4129
|
+
accountId: string;
|
|
4079
4130
|
isRepeat?: boolean | null | undefined;
|
|
4080
4131
|
};
|
|
4081
4132
|
} | {
|
|
@@ -4114,17 +4165,17 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4114
4165
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
4115
4166
|
} | null | undefined;
|
|
4116
4167
|
} | null | undefined;
|
|
4117
|
-
targetAccountId?: string | null | undefined;
|
|
4118
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
4119
4168
|
publishingDate?: Date | null | undefined;
|
|
4120
4169
|
isTransfer?: boolean | null | undefined;
|
|
4170
|
+
targetAccountId?: string | null | undefined;
|
|
4171
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
4121
4172
|
};
|
|
4122
4173
|
} | {
|
|
4123
4174
|
type: "REPUBLISHING_RETRY";
|
|
4124
4175
|
data: {
|
|
4176
|
+
maxAttempts: number;
|
|
4125
4177
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4126
4178
|
attemptNumber: number;
|
|
4127
|
-
maxAttempts: number;
|
|
4128
4179
|
previousHistoryId: string;
|
|
4129
4180
|
originalFailureDate: Date;
|
|
4130
4181
|
payload?: {
|
|
@@ -4166,9 +4217,9 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4166
4217
|
} | {
|
|
4167
4218
|
type: "SCHEDULED_RETRY";
|
|
4168
4219
|
data: {
|
|
4220
|
+
maxAttempts: number;
|
|
4169
4221
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4170
4222
|
attemptNumber: number;
|
|
4171
|
-
maxAttempts: number;
|
|
4172
4223
|
previousHistoryId: string;
|
|
4173
4224
|
originalFailureDate: Date;
|
|
4174
4225
|
fields?: {
|
|
@@ -4198,106 +4249,55 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4198
4249
|
} | null | undefined;
|
|
4199
4250
|
targetPrice?: number | null | undefined;
|
|
4200
4251
|
} | null | undefined;
|
|
4201
|
-
targetDate?: Date | null | undefined;
|
|
4202
|
-
};
|
|
4203
|
-
} | null | undefined;
|
|
4204
|
-
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
|
|
4209
|
-
id: string;
|
|
4210
|
-
accountId: string;
|
|
4211
|
-
createdAt: Date;
|
|
4212
|
-
itemId: number;
|
|
4213
|
-
platformId: string;
|
|
4214
|
-
platformUrl: string;
|
|
4215
|
-
platformPrice: number;
|
|
4216
|
-
updatedAt: Date;
|
|
4217
|
-
publishedAt: Date;
|
|
4218
|
-
status?: unknown;
|
|
4219
|
-
conversationId?: string | null | undefined;
|
|
4220
|
-
boostedAt?: Date | null | undefined;
|
|
4221
|
-
boostedUntil?: Date | null | undefined;
|
|
4222
|
-
viewsCount?: number | null | undefined;
|
|
4223
|
-
favoritesCount?: number | null | undefined;
|
|
4224
|
-
account?: {
|
|
4225
|
-
accountId: string;
|
|
4226
|
-
userId: number;
|
|
4227
|
-
name: string;
|
|
4228
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4229
|
-
status?: unknown;
|
|
4230
|
-
locale?: string | null | undefined;
|
|
4231
|
-
lockReason?: unknown;
|
|
4232
|
-
restrictedUntil?: Date | null | undefined;
|
|
4233
|
-
night?: {
|
|
4234
|
-
startsAt: Date;
|
|
4235
|
-
endsAt: Date;
|
|
4236
|
-
} | null | undefined;
|
|
4237
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
4238
|
-
ordersMaxDelay?: number | null | undefined;
|
|
4239
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
4240
|
-
walletMaxDelay?: number | null | undefined;
|
|
4241
|
-
availableBalance?: number | null | undefined;
|
|
4242
|
-
pendingBalance?: number | null | undefined;
|
|
4243
|
-
profilePictureFileId?: string | null | undefined;
|
|
4244
|
-
profilePicture?: {
|
|
4245
|
-
path: string;
|
|
4246
|
-
id: string;
|
|
4247
|
-
userId: number;
|
|
4248
|
-
createdAt: Date;
|
|
4249
|
-
signedUrl: string;
|
|
4250
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4251
|
-
} | null | undefined;
|
|
4252
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
4253
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
4254
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
4255
|
-
} | null | undefined;
|
|
4256
|
-
orderStatus?: unknown;
|
|
4257
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
4258
|
-
isBoosted?: boolean | null | undefined;
|
|
4259
|
-
}[] | null | undefined;
|
|
4252
|
+
targetDate?: Date | null | undefined;
|
|
4253
|
+
};
|
|
4254
|
+
} | null | undefined;
|
|
4255
|
+
accountId?: string | null | undefined;
|
|
4256
|
+
targetDate?: Date | null | undefined;
|
|
4257
|
+
requestId?: string | null | undefined;
|
|
4258
|
+
targetHistoryId?: string | null | undefined;
|
|
4259
|
+
} | null | undefined;
|
|
4260
4260
|
sourceInConversation?: unknown;
|
|
4261
4261
|
order?: {
|
|
4262
4262
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
4263
4263
|
labels?: {
|
|
4264
4264
|
id: string;
|
|
4265
|
-
orderId: string;
|
|
4266
4265
|
fileId: string;
|
|
4266
|
+
orderId: string;
|
|
4267
4267
|
nonCroppedFileId: string;
|
|
4268
4268
|
originalFileId: string;
|
|
4269
|
-
|
|
4269
|
+
originalFile?: {
|
|
4270
4270
|
path: string;
|
|
4271
4271
|
id: string;
|
|
4272
|
-
userId: number;
|
|
4273
4272
|
createdAt: Date;
|
|
4273
|
+
userId: number;
|
|
4274
4274
|
signedUrl: string;
|
|
4275
4275
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4276
4276
|
} | null | undefined;
|
|
4277
|
-
|
|
4277
|
+
carrier?: unknown;
|
|
4278
|
+
file?: {
|
|
4278
4279
|
path: string;
|
|
4279
4280
|
id: string;
|
|
4280
|
-
userId: number;
|
|
4281
4281
|
createdAt: Date;
|
|
4282
|
+
userId: number;
|
|
4282
4283
|
signedUrl: string;
|
|
4283
4284
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4284
4285
|
} | null | undefined;
|
|
4285
|
-
|
|
4286
|
+
nonCroppedFile?: {
|
|
4286
4287
|
path: string;
|
|
4287
4288
|
id: string;
|
|
4288
|
-
userId: number;
|
|
4289
4289
|
createdAt: Date;
|
|
4290
|
+
userId: number;
|
|
4290
4291
|
signedUrl: string;
|
|
4291
4292
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4292
4293
|
} | null | undefined;
|
|
4293
|
-
carrier?: unknown;
|
|
4294
4294
|
}[] | null | undefined;
|
|
4295
4295
|
invoices?: {
|
|
4296
4296
|
type: "SALE" | "PURCHASE";
|
|
4297
4297
|
status: string;
|
|
4298
4298
|
id: string;
|
|
4299
|
-
userId: number;
|
|
4300
4299
|
createdAt: Date;
|
|
4300
|
+
userId: number;
|
|
4301
4301
|
currency: string;
|
|
4302
4302
|
orderId: string;
|
|
4303
4303
|
updatedAt: Date;
|
|
@@ -4306,21 +4306,21 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4306
4306
|
businessProfileId: string;
|
|
4307
4307
|
issueDate: Date;
|
|
4308
4308
|
subtotal: number;
|
|
4309
|
-
vatAmount?: number | null | undefined;
|
|
4310
4309
|
fileId?: string | null | undefined;
|
|
4310
|
+
vatAmount?: number | null | undefined;
|
|
4311
4311
|
file?: {
|
|
4312
4312
|
path: string;
|
|
4313
4313
|
id: string;
|
|
4314
|
-
userId: number;
|
|
4315
4314
|
createdAt: Date;
|
|
4315
|
+
userId: number;
|
|
4316
4316
|
signedUrl: string;
|
|
4317
4317
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4318
4318
|
} | null | undefined;
|
|
4319
4319
|
vatRate?: number | null | undefined;
|
|
4320
4320
|
businessProfile?: {
|
|
4321
4321
|
id: string;
|
|
4322
|
-
userId: number;
|
|
4323
4322
|
createdAt: Date;
|
|
4323
|
+
userId: number;
|
|
4324
4324
|
updatedAt: Date;
|
|
4325
4325
|
businessName: string;
|
|
4326
4326
|
address: string;
|
|
@@ -4333,8 +4333,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4333
4333
|
logo?: {
|
|
4334
4334
|
path: string;
|
|
4335
4335
|
id: string;
|
|
4336
|
-
userId: number;
|
|
4337
4336
|
createdAt: Date;
|
|
4337
|
+
userId: number;
|
|
4338
4338
|
signedUrl: string;
|
|
4339
4339
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4340
4340
|
} | null | undefined;
|
|
@@ -4347,26 +4347,26 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4347
4347
|
firstName: string;
|
|
4348
4348
|
lastName: string;
|
|
4349
4349
|
phoneVerified: boolean;
|
|
4350
|
-
postalCode?: string | null | undefined;
|
|
4351
|
-
city?: string | null | undefined;
|
|
4352
|
-
country?: string | null | undefined;
|
|
4353
|
-
email?: string | null | undefined;
|
|
4354
|
-
addressLine1?: string | null | undefined;
|
|
4355
|
-
addressLine2?: string | null | undefined;
|
|
4356
4350
|
birthDate?: Date | null | undefined;
|
|
4351
|
+
email?: string | null | undefined;
|
|
4357
4352
|
idNumber?: string | null | undefined;
|
|
4358
4353
|
phone?: string | null | undefined;
|
|
4359
4354
|
iban?: string | null | undefined;
|
|
4360
4355
|
bic?: string | null | undefined;
|
|
4356
|
+
addressLine1?: string | null | undefined;
|
|
4357
|
+
addressLine2?: string | null | undefined;
|
|
4358
|
+
city?: string | null | undefined;
|
|
4359
|
+
postalCode?: string | null | undefined;
|
|
4360
|
+
country?: string | null | undefined;
|
|
4361
4361
|
} | null | undefined;
|
|
4362
4362
|
dueDate?: Date | null | undefined;
|
|
4363
4363
|
notes?: string | null | undefined;
|
|
4364
4364
|
lineItems?: {
|
|
4365
|
-
quantity: number;
|
|
4366
|
-
id: number;
|
|
4367
4365
|
description: string;
|
|
4366
|
+
id: number;
|
|
4368
4367
|
createdAt: Date;
|
|
4369
4368
|
invoiceId: string;
|
|
4369
|
+
quantity: number;
|
|
4370
4370
|
unitPrice: number;
|
|
4371
4371
|
total: number;
|
|
4372
4372
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -4379,29 +4379,45 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4379
4379
|
analysisId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4380
4380
|
}, "strip", z.ZodTypeAny, {
|
|
4381
4381
|
item: {
|
|
4382
|
-
|
|
4383
|
-
|
|
4382
|
+
actions: {
|
|
4383
|
+
perAccount: Record<string, ("REPUBLISH" | "UNKNOWN" | "PUBLISH" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE" | "UPDATE_CANCEL" | "BOOST")[]>;
|
|
4384
|
+
};
|
|
4384
4385
|
name: string;
|
|
4386
|
+
id: number;
|
|
4385
4387
|
createdAt: Date;
|
|
4388
|
+
userId: number;
|
|
4386
4389
|
updatedAt: Date;
|
|
4387
4390
|
sold: boolean;
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
+
fees?: {
|
|
4392
|
+
value: number;
|
|
4393
|
+
type: string;
|
|
4394
|
+
name: string;
|
|
4395
|
+
id: number;
|
|
4396
|
+
createdAt: Date;
|
|
4397
|
+
userId: number;
|
|
4398
|
+
updatedAt: Date;
|
|
4399
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
4400
|
+
startDate: Date;
|
|
4401
|
+
active: boolean;
|
|
4402
|
+
description?: string | null | undefined;
|
|
4403
|
+
itemId?: number | null | undefined;
|
|
4404
|
+
endDate?: Date | null | undefined;
|
|
4405
|
+
parentFeeId?: number | null | undefined;
|
|
4406
|
+
}[] | null | undefined;
|
|
4391
4407
|
description?: string | null | undefined;
|
|
4392
4408
|
categoryId?: number | null | undefined;
|
|
4393
|
-
|
|
4409
|
+
sizeId?: number | null | undefined;
|
|
4394
4410
|
colorIds?: number[] | null | undefined;
|
|
4411
|
+
packageSizeId?: number | null | undefined;
|
|
4412
|
+
state?: number | null | undefined;
|
|
4395
4413
|
measurementLength?: number | null | undefined;
|
|
4396
4414
|
measurementWidth?: number | null | undefined;
|
|
4397
|
-
packageSizeId?: number | null | undefined;
|
|
4398
|
-
sizeId?: number | null | undefined;
|
|
4399
4415
|
labels?: {
|
|
4400
4416
|
itemId: number;
|
|
4401
4417
|
labelId: number;
|
|
4402
4418
|
label?: {
|
|
4403
|
-
id: number;
|
|
4404
4419
|
name: string;
|
|
4420
|
+
id: number;
|
|
4405
4421
|
createdAt: Date;
|
|
4406
4422
|
isUserLabel: boolean;
|
|
4407
4423
|
itemCount?: number | null | undefined;
|
|
@@ -4414,50 +4430,86 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4414
4430
|
fieldKey: string;
|
|
4415
4431
|
}[] | null | undefined;
|
|
4416
4432
|
sku?: string | null | undefined;
|
|
4433
|
+
sex?: string | null | undefined;
|
|
4434
|
+
platforms?: {
|
|
4435
|
+
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
4436
|
+
id: string;
|
|
4437
|
+
createdAt: Date;
|
|
4438
|
+
accountId: string;
|
|
4439
|
+
itemId: number;
|
|
4440
|
+
platformId: string;
|
|
4441
|
+
platformUrl: string;
|
|
4442
|
+
platformPrice: number;
|
|
4443
|
+
updatedAt: Date;
|
|
4444
|
+
publishedAt: Date;
|
|
4445
|
+
conversationId?: string | null | undefined;
|
|
4446
|
+
boostedAt?: Date | null | undefined;
|
|
4447
|
+
boostedUntil?: Date | null | undefined;
|
|
4448
|
+
viewsCount?: number | null | undefined;
|
|
4449
|
+
favoritesCount?: number | null | undefined;
|
|
4450
|
+
account?: {
|
|
4451
|
+
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
4452
|
+
name: string;
|
|
4453
|
+
userId: number;
|
|
4454
|
+
accountId: string;
|
|
4455
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4456
|
+
locale?: string | null | undefined;
|
|
4457
|
+
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
4458
|
+
restrictedUntil?: Date | null | undefined;
|
|
4459
|
+
night?: {
|
|
4460
|
+
startsAt: Date;
|
|
4461
|
+
endsAt: Date;
|
|
4462
|
+
} | null | undefined;
|
|
4463
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
4464
|
+
ordersMaxDelay?: number | null | undefined;
|
|
4465
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
4466
|
+
walletMaxDelay?: number | null | undefined;
|
|
4467
|
+
availableBalance?: number | null | undefined;
|
|
4468
|
+
pendingBalance?: number | null | undefined;
|
|
4469
|
+
profilePictureFileId?: string | null | undefined;
|
|
4470
|
+
profilePicture?: {
|
|
4471
|
+
path: string;
|
|
4472
|
+
id: string;
|
|
4473
|
+
createdAt: Date;
|
|
4474
|
+
userId: number;
|
|
4475
|
+
signedUrl: string;
|
|
4476
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4477
|
+
} | null | undefined;
|
|
4478
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
4479
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
4480
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
4481
|
+
} | null | undefined;
|
|
4482
|
+
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;
|
|
4483
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
4484
|
+
isBoosted?: boolean | null | undefined;
|
|
4485
|
+
}[] | null | undefined;
|
|
4486
|
+
brandId?: number | null | undefined;
|
|
4487
|
+
estimatedPrice?: number | null | undefined;
|
|
4488
|
+
purchaseDate?: Date | null | undefined;
|
|
4489
|
+
sellingDate?: Date | null | undefined;
|
|
4417
4490
|
fields?: {
|
|
4418
4491
|
value: string;
|
|
4419
4492
|
itemId: number;
|
|
4420
4493
|
fieldId: number;
|
|
4421
4494
|
}[] | null | undefined;
|
|
4422
4495
|
files?: {
|
|
4423
|
-
itemId: number;
|
|
4424
4496
|
fileId: string;
|
|
4497
|
+
itemId: number;
|
|
4425
4498
|
file?: {
|
|
4426
4499
|
path: string;
|
|
4427
4500
|
id: string;
|
|
4428
|
-
userId: number;
|
|
4429
4501
|
createdAt: Date;
|
|
4502
|
+
userId: number;
|
|
4430
4503
|
signedUrl: string;
|
|
4431
4504
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4432
4505
|
} | null | undefined;
|
|
4433
4506
|
index?: number | null | undefined;
|
|
4434
4507
|
}[] | null | undefined;
|
|
4435
|
-
brandId?: number | null | undefined;
|
|
4436
|
-
sex?: string | null | undefined;
|
|
4437
4508
|
purchasePrice?: number | null | undefined;
|
|
4438
|
-
purchaseDate?: Date | null | undefined;
|
|
4439
4509
|
purchasePlaceId?: number | null | undefined;
|
|
4440
4510
|
purchased?: boolean | null | undefined;
|
|
4441
4511
|
sellingPrice?: number | null | undefined;
|
|
4442
|
-
sellingDate?: Date | null | undefined;
|
|
4443
4512
|
sellingPlaceId?: number | null | undefined;
|
|
4444
|
-
estimatedPrice?: number | null | undefined;
|
|
4445
|
-
fees?: {
|
|
4446
|
-
value: number;
|
|
4447
|
-
type: string;
|
|
4448
|
-
id: number;
|
|
4449
|
-
userId: number;
|
|
4450
|
-
name: string;
|
|
4451
|
-
createdAt: Date;
|
|
4452
|
-
updatedAt: Date;
|
|
4453
|
-
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
4454
|
-
startDate: Date;
|
|
4455
|
-
active: boolean;
|
|
4456
|
-
description?: string | null | undefined;
|
|
4457
|
-
itemId?: number | null | undefined;
|
|
4458
|
-
endDate?: Date | null | undefined;
|
|
4459
|
-
parentFeeId?: number | null | undefined;
|
|
4460
|
-
}[] | null | undefined;
|
|
4461
4513
|
feesSum?: number | null | undefined;
|
|
4462
4514
|
materialIds?: number[] | null | undefined;
|
|
4463
4515
|
enumValues?: {
|
|
@@ -4473,7 +4525,6 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4473
4525
|
id: string;
|
|
4474
4526
|
createdAt: Date;
|
|
4475
4527
|
itemId: number;
|
|
4476
|
-
accountId?: string | null | undefined;
|
|
4477
4528
|
data?: {
|
|
4478
4529
|
type: "ACTION_CANCELED";
|
|
4479
4530
|
data: {
|
|
@@ -4509,7 +4560,7 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4509
4560
|
accountId?: string | null | undefined;
|
|
4510
4561
|
reason?: string | null | undefined;
|
|
4511
4562
|
fields?: {
|
|
4512
|
-
field: "
|
|
4563
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
4513
4564
|
autoFixable: boolean;
|
|
4514
4565
|
error?: string | null | undefined;
|
|
4515
4566
|
}[] | null | undefined;
|
|
@@ -4539,23 +4590,23 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4539
4590
|
post: {
|
|
4540
4591
|
platformId: string;
|
|
4541
4592
|
post: {
|
|
4542
|
-
size?: string | null | undefined;
|
|
4543
4593
|
status?: string | null | undefined;
|
|
4544
4594
|
title?: string | null | undefined;
|
|
4545
4595
|
description?: string | null | undefined;
|
|
4596
|
+
brand?: string | null | undefined;
|
|
4597
|
+
statusId?: number | null | undefined;
|
|
4598
|
+
sizeId?: number | null | undefined;
|
|
4599
|
+
colorIds?: number[] | null | undefined;
|
|
4600
|
+
packageSizeId?: number | null | undefined;
|
|
4546
4601
|
price?: number | null | undefined;
|
|
4547
4602
|
currency?: string | null | undefined;
|
|
4548
|
-
brand?: string | null | undefined;
|
|
4549
4603
|
catalog?: string | null | undefined;
|
|
4550
4604
|
catalogId?: number | null | undefined;
|
|
4551
4605
|
colors?: string[] | null | undefined;
|
|
4552
|
-
colorIds?: number[] | null | undefined;
|
|
4553
4606
|
measurementLength?: number | null | undefined;
|
|
4554
4607
|
measurementWidth?: number | null | undefined;
|
|
4555
|
-
packageSizeId?: number | null | undefined;
|
|
4556
4608
|
photoUrls?: string[] | null | undefined;
|
|
4557
|
-
|
|
4558
|
-
statusId?: number | null | undefined;
|
|
4609
|
+
size?: string | null | undefined;
|
|
4559
4610
|
isDraft?: boolean | null | undefined;
|
|
4560
4611
|
isArchived?: boolean | null | undefined;
|
|
4561
4612
|
isUnisex?: boolean | null | undefined;
|
|
@@ -4598,8 +4649,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4598
4649
|
} | {
|
|
4599
4650
|
type: "LIFECYCLE_STARTED";
|
|
4600
4651
|
data: {
|
|
4601
|
-
accountId: string;
|
|
4602
4652
|
caseId: string;
|
|
4653
|
+
accountId: string;
|
|
4603
4654
|
isRepeat?: boolean | null | undefined;
|
|
4604
4655
|
};
|
|
4605
4656
|
} | {
|
|
@@ -4638,17 +4689,17 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4638
4689
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
4639
4690
|
} | null | undefined;
|
|
4640
4691
|
} | null | undefined;
|
|
4641
|
-
targetAccountId?: string | null | undefined;
|
|
4642
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
4643
4692
|
publishingDate?: Date | null | undefined;
|
|
4644
4693
|
isTransfer?: boolean | null | undefined;
|
|
4694
|
+
targetAccountId?: string | null | undefined;
|
|
4695
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
4645
4696
|
};
|
|
4646
4697
|
} | {
|
|
4647
4698
|
type: "REPUBLISHING_RETRY";
|
|
4648
4699
|
data: {
|
|
4700
|
+
maxAttempts: number;
|
|
4649
4701
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4650
4702
|
attemptNumber: number;
|
|
4651
|
-
maxAttempts: number;
|
|
4652
4703
|
previousHistoryId: string;
|
|
4653
4704
|
originalFailureDate: Date;
|
|
4654
4705
|
payload?: {
|
|
@@ -4676,7 +4727,7 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4676
4727
|
} | null | undefined;
|
|
4677
4728
|
} | null | undefined;
|
|
4678
4729
|
fields?: {
|
|
4679
|
-
field: "
|
|
4730
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
4680
4731
|
autoFixable: boolean;
|
|
4681
4732
|
error?: string | null | undefined;
|
|
4682
4733
|
}[] | null | undefined;
|
|
@@ -4690,13 +4741,13 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4690
4741
|
} | {
|
|
4691
4742
|
type: "SCHEDULED_RETRY";
|
|
4692
4743
|
data: {
|
|
4744
|
+
maxAttempts: number;
|
|
4693
4745
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4694
4746
|
attemptNumber: number;
|
|
4695
|
-
maxAttempts: number;
|
|
4696
4747
|
previousHistoryId: string;
|
|
4697
4748
|
originalFailureDate: Date;
|
|
4698
4749
|
fields?: {
|
|
4699
|
-
field: "
|
|
4750
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
4700
4751
|
autoFixable: boolean;
|
|
4701
4752
|
error?: string | null | undefined;
|
|
4702
4753
|
}[] | null | undefined;
|
|
@@ -4725,103 +4776,52 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4725
4776
|
targetDate?: Date | null | undefined;
|
|
4726
4777
|
};
|
|
4727
4778
|
} | null | undefined;
|
|
4779
|
+
accountId?: string | null | undefined;
|
|
4728
4780
|
targetDate?: Date | null | undefined;
|
|
4729
4781
|
requestId?: string | null | undefined;
|
|
4730
4782
|
targetHistoryId?: string | null | undefined;
|
|
4731
4783
|
} | null | undefined;
|
|
4732
|
-
platforms?: {
|
|
4733
|
-
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
4734
|
-
id: string;
|
|
4735
|
-
accountId: string;
|
|
4736
|
-
createdAt: Date;
|
|
4737
|
-
itemId: number;
|
|
4738
|
-
platformId: string;
|
|
4739
|
-
platformUrl: string;
|
|
4740
|
-
platformPrice: number;
|
|
4741
|
-
updatedAt: Date;
|
|
4742
|
-
publishedAt: Date;
|
|
4743
|
-
conversationId?: string | null | undefined;
|
|
4744
|
-
boostedAt?: Date | null | undefined;
|
|
4745
|
-
boostedUntil?: Date | null | undefined;
|
|
4746
|
-
viewsCount?: number | null | undefined;
|
|
4747
|
-
favoritesCount?: number | null | undefined;
|
|
4748
|
-
account?: {
|
|
4749
|
-
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
4750
|
-
accountId: string;
|
|
4751
|
-
userId: number;
|
|
4752
|
-
name: string;
|
|
4753
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4754
|
-
locale?: string | null | undefined;
|
|
4755
|
-
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
4756
|
-
restrictedUntil?: Date | null | undefined;
|
|
4757
|
-
night?: {
|
|
4758
|
-
startsAt: Date;
|
|
4759
|
-
endsAt: Date;
|
|
4760
|
-
} | null | undefined;
|
|
4761
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
4762
|
-
ordersMaxDelay?: number | null | undefined;
|
|
4763
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
4764
|
-
walletMaxDelay?: number | null | undefined;
|
|
4765
|
-
availableBalance?: number | null | undefined;
|
|
4766
|
-
pendingBalance?: number | null | undefined;
|
|
4767
|
-
profilePictureFileId?: string | null | undefined;
|
|
4768
|
-
profilePicture?: {
|
|
4769
|
-
path: string;
|
|
4770
|
-
id: string;
|
|
4771
|
-
userId: number;
|
|
4772
|
-
createdAt: Date;
|
|
4773
|
-
signedUrl: string;
|
|
4774
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4775
|
-
} | null | undefined;
|
|
4776
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
4777
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
4778
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
4779
|
-
} | null | undefined;
|
|
4780
|
-
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;
|
|
4781
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
4782
|
-
isBoosted?: boolean | null | undefined;
|
|
4783
|
-
}[] | null | undefined;
|
|
4784
4784
|
sourceInConversation?: "UNKNOWN" | "DELETED" | "ORDER" | "TRANSACTION" | null | undefined;
|
|
4785
4785
|
order?: {
|
|
4786
4786
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
4787
4787
|
labels?: {
|
|
4788
4788
|
id: string;
|
|
4789
|
-
orderId: string;
|
|
4790
4789
|
fileId: string;
|
|
4790
|
+
orderId: string;
|
|
4791
4791
|
nonCroppedFileId: string;
|
|
4792
4792
|
originalFileId: string;
|
|
4793
|
-
|
|
4793
|
+
originalFile?: {
|
|
4794
4794
|
path: string;
|
|
4795
4795
|
id: string;
|
|
4796
|
-
userId: number;
|
|
4797
4796
|
createdAt: Date;
|
|
4797
|
+
userId: number;
|
|
4798
4798
|
signedUrl: string;
|
|
4799
4799
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4800
4800
|
} | null | undefined;
|
|
4801
|
-
|
|
4801
|
+
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;
|
|
4802
|
+
file?: {
|
|
4802
4803
|
path: string;
|
|
4803
4804
|
id: string;
|
|
4804
|
-
userId: number;
|
|
4805
4805
|
createdAt: Date;
|
|
4806
|
+
userId: number;
|
|
4806
4807
|
signedUrl: string;
|
|
4807
4808
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4808
4809
|
} | null | undefined;
|
|
4809
|
-
|
|
4810
|
+
nonCroppedFile?: {
|
|
4810
4811
|
path: string;
|
|
4811
4812
|
id: string;
|
|
4812
|
-
userId: number;
|
|
4813
4813
|
createdAt: Date;
|
|
4814
|
+
userId: number;
|
|
4814
4815
|
signedUrl: string;
|
|
4815
4816
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4816
4817
|
} | null | undefined;
|
|
4817
|
-
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;
|
|
4818
4818
|
}[] | null | undefined;
|
|
4819
4819
|
invoices?: {
|
|
4820
4820
|
type: "SALE" | "PURCHASE";
|
|
4821
4821
|
status: string;
|
|
4822
4822
|
id: string;
|
|
4823
|
-
userId: number;
|
|
4824
4823
|
createdAt: Date;
|
|
4824
|
+
userId: number;
|
|
4825
4825
|
currency: string;
|
|
4826
4826
|
orderId: string;
|
|
4827
4827
|
updatedAt: Date;
|
|
@@ -4830,21 +4830,21 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4830
4830
|
businessProfileId: string;
|
|
4831
4831
|
issueDate: Date;
|
|
4832
4832
|
subtotal: number;
|
|
4833
|
-
vatAmount?: number | null | undefined;
|
|
4834
4833
|
fileId?: string | null | undefined;
|
|
4834
|
+
vatAmount?: number | null | undefined;
|
|
4835
4835
|
file?: {
|
|
4836
4836
|
path: string;
|
|
4837
4837
|
id: string;
|
|
4838
|
-
userId: number;
|
|
4839
4838
|
createdAt: Date;
|
|
4839
|
+
userId: number;
|
|
4840
4840
|
signedUrl: string;
|
|
4841
4841
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4842
4842
|
} | null | undefined;
|
|
4843
4843
|
vatRate?: number | null | undefined;
|
|
4844
4844
|
businessProfile?: {
|
|
4845
4845
|
id: string;
|
|
4846
|
-
userId: number;
|
|
4847
4846
|
createdAt: Date;
|
|
4847
|
+
userId: number;
|
|
4848
4848
|
updatedAt: Date;
|
|
4849
4849
|
businessName: string;
|
|
4850
4850
|
address: string;
|
|
@@ -4857,8 +4857,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4857
4857
|
logo?: {
|
|
4858
4858
|
path: string;
|
|
4859
4859
|
id: string;
|
|
4860
|
-
userId: number;
|
|
4861
4860
|
createdAt: Date;
|
|
4861
|
+
userId: number;
|
|
4862
4862
|
signedUrl: string;
|
|
4863
4863
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4864
4864
|
} | null | undefined;
|
|
@@ -4871,26 +4871,26 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4871
4871
|
firstName: string;
|
|
4872
4872
|
lastName: string;
|
|
4873
4873
|
phoneVerified: boolean;
|
|
4874
|
-
postalCode?: string | null | undefined;
|
|
4875
|
-
city?: string | null | undefined;
|
|
4876
|
-
country?: string | null | undefined;
|
|
4877
|
-
email?: string | null | undefined;
|
|
4878
|
-
addressLine1?: string | null | undefined;
|
|
4879
|
-
addressLine2?: string | null | undefined;
|
|
4880
4874
|
birthDate?: Date | null | undefined;
|
|
4875
|
+
email?: string | null | undefined;
|
|
4881
4876
|
idNumber?: string | null | undefined;
|
|
4882
4877
|
phone?: string | null | undefined;
|
|
4883
4878
|
iban?: string | null | undefined;
|
|
4884
4879
|
bic?: string | null | undefined;
|
|
4880
|
+
addressLine1?: string | null | undefined;
|
|
4881
|
+
addressLine2?: string | null | undefined;
|
|
4882
|
+
city?: string | null | undefined;
|
|
4883
|
+
postalCode?: string | null | undefined;
|
|
4884
|
+
country?: string | null | undefined;
|
|
4885
4885
|
} | null | undefined;
|
|
4886
4886
|
dueDate?: Date | null | undefined;
|
|
4887
4887
|
notes?: string | null | undefined;
|
|
4888
4888
|
lineItems?: {
|
|
4889
|
-
quantity: number;
|
|
4890
|
-
id: number;
|
|
4891
4889
|
description: string;
|
|
4890
|
+
id: number;
|
|
4892
4891
|
createdAt: Date;
|
|
4893
4892
|
invoiceId: string;
|
|
4893
|
+
quantity: number;
|
|
4894
4894
|
unitPrice: number;
|
|
4895
4895
|
total: number;
|
|
4896
4896
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -4903,29 +4903,45 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4903
4903
|
analysisId?: string | null | undefined;
|
|
4904
4904
|
}, {
|
|
4905
4905
|
item: {
|
|
4906
|
-
|
|
4907
|
-
|
|
4906
|
+
actions: {
|
|
4907
|
+
perAccount: Record<string, unknown[]>;
|
|
4908
|
+
};
|
|
4908
4909
|
name: string;
|
|
4910
|
+
id: number;
|
|
4909
4911
|
createdAt: Date;
|
|
4912
|
+
userId: number;
|
|
4910
4913
|
updatedAt: Date;
|
|
4911
4914
|
sold: boolean;
|
|
4912
|
-
|
|
4913
|
-
|
|
4914
|
-
|
|
4915
|
+
fees?: {
|
|
4916
|
+
value: number;
|
|
4917
|
+
type: string;
|
|
4918
|
+
name: string;
|
|
4919
|
+
id: number;
|
|
4920
|
+
createdAt: Date;
|
|
4921
|
+
userId: number;
|
|
4922
|
+
updatedAt: Date;
|
|
4923
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
4924
|
+
startDate: Date;
|
|
4925
|
+
active: boolean;
|
|
4926
|
+
description?: string | null | undefined;
|
|
4927
|
+
itemId?: number | null | undefined;
|
|
4928
|
+
endDate?: Date | null | undefined;
|
|
4929
|
+
parentFeeId?: number | null | undefined;
|
|
4930
|
+
}[] | null | undefined;
|
|
4915
4931
|
description?: string | null | undefined;
|
|
4916
4932
|
categoryId?: number | null | undefined;
|
|
4917
|
-
|
|
4933
|
+
sizeId?: number | null | undefined;
|
|
4918
4934
|
colorIds?: number[] | null | undefined;
|
|
4935
|
+
packageSizeId?: number | null | undefined;
|
|
4936
|
+
state?: number | null | undefined;
|
|
4919
4937
|
measurementLength?: number | null | undefined;
|
|
4920
4938
|
measurementWidth?: number | null | undefined;
|
|
4921
|
-
packageSizeId?: number | null | undefined;
|
|
4922
|
-
sizeId?: number | null | undefined;
|
|
4923
4939
|
labels?: {
|
|
4924
4940
|
itemId: number;
|
|
4925
4941
|
labelId: number;
|
|
4926
4942
|
label?: {
|
|
4927
|
-
id: number;
|
|
4928
4943
|
name: string;
|
|
4944
|
+
id: number;
|
|
4929
4945
|
createdAt: Date;
|
|
4930
4946
|
isUserLabel: boolean;
|
|
4931
4947
|
itemCount?: number | null | undefined;
|
|
@@ -4938,50 +4954,86 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4938
4954
|
fieldKey: string;
|
|
4939
4955
|
}[] | null | undefined;
|
|
4940
4956
|
sku?: string | null | undefined;
|
|
4957
|
+
sex?: string | null | undefined;
|
|
4958
|
+
platforms?: {
|
|
4959
|
+
id: string;
|
|
4960
|
+
createdAt: Date;
|
|
4961
|
+
accountId: string;
|
|
4962
|
+
itemId: number;
|
|
4963
|
+
platformId: string;
|
|
4964
|
+
platformUrl: string;
|
|
4965
|
+
platformPrice: number;
|
|
4966
|
+
updatedAt: Date;
|
|
4967
|
+
publishedAt: Date;
|
|
4968
|
+
status?: unknown;
|
|
4969
|
+
conversationId?: string | null | undefined;
|
|
4970
|
+
boostedAt?: Date | null | undefined;
|
|
4971
|
+
boostedUntil?: Date | null | undefined;
|
|
4972
|
+
viewsCount?: number | null | undefined;
|
|
4973
|
+
favoritesCount?: number | null | undefined;
|
|
4974
|
+
account?: {
|
|
4975
|
+
name: string;
|
|
4976
|
+
userId: number;
|
|
4977
|
+
accountId: string;
|
|
4978
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4979
|
+
status?: unknown;
|
|
4980
|
+
locale?: string | null | undefined;
|
|
4981
|
+
lockReason?: unknown;
|
|
4982
|
+
restrictedUntil?: Date | null | undefined;
|
|
4983
|
+
night?: {
|
|
4984
|
+
startsAt: Date;
|
|
4985
|
+
endsAt: Date;
|
|
4986
|
+
} | null | undefined;
|
|
4987
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
4988
|
+
ordersMaxDelay?: number | null | undefined;
|
|
4989
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
4990
|
+
walletMaxDelay?: number | null | undefined;
|
|
4991
|
+
availableBalance?: number | null | undefined;
|
|
4992
|
+
pendingBalance?: number | null | undefined;
|
|
4993
|
+
profilePictureFileId?: string | null | undefined;
|
|
4994
|
+
profilePicture?: {
|
|
4995
|
+
path: string;
|
|
4996
|
+
id: string;
|
|
4997
|
+
createdAt: Date;
|
|
4998
|
+
userId: number;
|
|
4999
|
+
signedUrl: string;
|
|
5000
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5001
|
+
} | null | undefined;
|
|
5002
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
5003
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
5004
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
5005
|
+
} | null | undefined;
|
|
5006
|
+
orderStatus?: unknown;
|
|
5007
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
5008
|
+
isBoosted?: boolean | null | undefined;
|
|
5009
|
+
}[] | null | undefined;
|
|
5010
|
+
brandId?: number | null | undefined;
|
|
5011
|
+
estimatedPrice?: number | null | undefined;
|
|
5012
|
+
purchaseDate?: Date | null | undefined;
|
|
5013
|
+
sellingDate?: Date | null | undefined;
|
|
4941
5014
|
fields?: {
|
|
4942
5015
|
value: string;
|
|
4943
5016
|
itemId: number;
|
|
4944
5017
|
fieldId: number;
|
|
4945
5018
|
}[] | null | undefined;
|
|
4946
5019
|
files?: {
|
|
4947
|
-
itemId: number;
|
|
4948
5020
|
fileId: string;
|
|
5021
|
+
itemId: number;
|
|
4949
5022
|
file?: {
|
|
4950
5023
|
path: string;
|
|
4951
5024
|
id: string;
|
|
4952
|
-
userId: number;
|
|
4953
5025
|
createdAt: Date;
|
|
5026
|
+
userId: number;
|
|
4954
5027
|
signedUrl: string;
|
|
4955
5028
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4956
5029
|
} | null | undefined;
|
|
4957
5030
|
index?: number | null | undefined;
|
|
4958
5031
|
}[] | null | undefined;
|
|
4959
|
-
brandId?: number | null | undefined;
|
|
4960
|
-
sex?: string | null | undefined;
|
|
4961
5032
|
purchasePrice?: number | null | undefined;
|
|
4962
|
-
purchaseDate?: Date | null | undefined;
|
|
4963
5033
|
purchasePlaceId?: number | null | undefined;
|
|
4964
5034
|
purchased?: boolean | null | undefined;
|
|
4965
5035
|
sellingPrice?: number | null | undefined;
|
|
4966
|
-
sellingDate?: Date | null | undefined;
|
|
4967
5036
|
sellingPlaceId?: number | null | undefined;
|
|
4968
|
-
estimatedPrice?: number | null | undefined;
|
|
4969
|
-
fees?: {
|
|
4970
|
-
value: number;
|
|
4971
|
-
type: string;
|
|
4972
|
-
id: number;
|
|
4973
|
-
userId: number;
|
|
4974
|
-
name: string;
|
|
4975
|
-
createdAt: Date;
|
|
4976
|
-
updatedAt: Date;
|
|
4977
|
-
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
4978
|
-
startDate: Date;
|
|
4979
|
-
active: boolean;
|
|
4980
|
-
description?: string | null | undefined;
|
|
4981
|
-
itemId?: number | null | undefined;
|
|
4982
|
-
endDate?: Date | null | undefined;
|
|
4983
|
-
parentFeeId?: number | null | undefined;
|
|
4984
|
-
}[] | null | undefined;
|
|
4985
5037
|
feesSum?: number | null | undefined;
|
|
4986
5038
|
materialIds?: number[] | null | undefined;
|
|
4987
5039
|
enumValues?: {
|
|
@@ -4997,7 +5049,6 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
4997
5049
|
createdAt: Date;
|
|
4998
5050
|
itemId: number;
|
|
4999
5051
|
type?: unknown;
|
|
5000
|
-
accountId?: string | null | undefined;
|
|
5001
5052
|
data?: {
|
|
5002
5053
|
type: "ACTION_CANCELED";
|
|
5003
5054
|
data: {
|
|
@@ -5063,23 +5114,23 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
5063
5114
|
post: {
|
|
5064
5115
|
platformId: string;
|
|
5065
5116
|
post: {
|
|
5066
|
-
size?: string | null | undefined;
|
|
5067
5117
|
status?: string | null | undefined;
|
|
5068
5118
|
title?: string | null | undefined;
|
|
5069
5119
|
description?: string | null | undefined;
|
|
5120
|
+
brand?: string | null | undefined;
|
|
5121
|
+
statusId?: number | null | undefined;
|
|
5122
|
+
sizeId?: number | null | undefined;
|
|
5123
|
+
colorIds?: number[] | null | undefined;
|
|
5124
|
+
packageSizeId?: number | null | undefined;
|
|
5070
5125
|
price?: number | null | undefined;
|
|
5071
5126
|
currency?: string | null | undefined;
|
|
5072
|
-
brand?: string | null | undefined;
|
|
5073
5127
|
catalog?: string | null | undefined;
|
|
5074
5128
|
catalogId?: number | null | undefined;
|
|
5075
5129
|
colors?: string[] | null | undefined;
|
|
5076
|
-
colorIds?: number[] | null | undefined;
|
|
5077
5130
|
measurementLength?: number | null | undefined;
|
|
5078
5131
|
measurementWidth?: number | null | undefined;
|
|
5079
|
-
packageSizeId?: number | null | undefined;
|
|
5080
5132
|
photoUrls?: string[] | null | undefined;
|
|
5081
|
-
|
|
5082
|
-
statusId?: number | null | undefined;
|
|
5133
|
+
size?: string | null | undefined;
|
|
5083
5134
|
isDraft?: boolean | null | undefined;
|
|
5084
5135
|
isArchived?: boolean | null | undefined;
|
|
5085
5136
|
isUnisex?: boolean | null | undefined;
|
|
@@ -5122,8 +5173,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
5122
5173
|
} | {
|
|
5123
5174
|
type: "LIFECYCLE_STARTED";
|
|
5124
5175
|
data: {
|
|
5125
|
-
accountId: string;
|
|
5126
5176
|
caseId: string;
|
|
5177
|
+
accountId: string;
|
|
5127
5178
|
isRepeat?: boolean | null | undefined;
|
|
5128
5179
|
};
|
|
5129
5180
|
} | {
|
|
@@ -5162,17 +5213,17 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
5162
5213
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
5163
5214
|
} | null | undefined;
|
|
5164
5215
|
} | null | undefined;
|
|
5165
|
-
targetAccountId?: string | null | undefined;
|
|
5166
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
5167
5216
|
publishingDate?: Date | null | undefined;
|
|
5168
5217
|
isTransfer?: boolean | null | undefined;
|
|
5218
|
+
targetAccountId?: string | null | undefined;
|
|
5219
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
5169
5220
|
};
|
|
5170
5221
|
} | {
|
|
5171
5222
|
type: "REPUBLISHING_RETRY";
|
|
5172
5223
|
data: {
|
|
5224
|
+
maxAttempts: number;
|
|
5173
5225
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5174
5226
|
attemptNumber: number;
|
|
5175
|
-
maxAttempts: number;
|
|
5176
5227
|
previousHistoryId: string;
|
|
5177
5228
|
originalFailureDate: Date;
|
|
5178
5229
|
payload?: {
|
|
@@ -5214,9 +5265,9 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
5214
5265
|
} | {
|
|
5215
5266
|
type: "SCHEDULED_RETRY";
|
|
5216
5267
|
data: {
|
|
5268
|
+
maxAttempts: number;
|
|
5217
5269
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5218
5270
|
attemptNumber: number;
|
|
5219
|
-
maxAttempts: number;
|
|
5220
5271
|
previousHistoryId: string;
|
|
5221
5272
|
originalFailureDate: Date;
|
|
5222
5273
|
fields?: {
|
|
@@ -5249,103 +5300,52 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
5249
5300
|
targetDate?: Date | null | undefined;
|
|
5250
5301
|
};
|
|
5251
5302
|
} | null | undefined;
|
|
5303
|
+
accountId?: string | null | undefined;
|
|
5252
5304
|
targetDate?: Date | null | undefined;
|
|
5253
5305
|
requestId?: string | null | undefined;
|
|
5254
5306
|
targetHistoryId?: string | null | undefined;
|
|
5255
5307
|
} | null | undefined;
|
|
5256
|
-
platforms?: {
|
|
5257
|
-
id: string;
|
|
5258
|
-
accountId: string;
|
|
5259
|
-
createdAt: Date;
|
|
5260
|
-
itemId: number;
|
|
5261
|
-
platformId: string;
|
|
5262
|
-
platformUrl: string;
|
|
5263
|
-
platformPrice: number;
|
|
5264
|
-
updatedAt: Date;
|
|
5265
|
-
publishedAt: Date;
|
|
5266
|
-
status?: unknown;
|
|
5267
|
-
conversationId?: string | null | undefined;
|
|
5268
|
-
boostedAt?: Date | null | undefined;
|
|
5269
|
-
boostedUntil?: Date | null | undefined;
|
|
5270
|
-
viewsCount?: number | null | undefined;
|
|
5271
|
-
favoritesCount?: number | null | undefined;
|
|
5272
|
-
account?: {
|
|
5273
|
-
accountId: string;
|
|
5274
|
-
userId: number;
|
|
5275
|
-
name: string;
|
|
5276
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5277
|
-
status?: unknown;
|
|
5278
|
-
locale?: string | null | undefined;
|
|
5279
|
-
lockReason?: unknown;
|
|
5280
|
-
restrictedUntil?: Date | null | undefined;
|
|
5281
|
-
night?: {
|
|
5282
|
-
startsAt: Date;
|
|
5283
|
-
endsAt: Date;
|
|
5284
|
-
} | null | undefined;
|
|
5285
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
5286
|
-
ordersMaxDelay?: number | null | undefined;
|
|
5287
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
5288
|
-
walletMaxDelay?: number | null | undefined;
|
|
5289
|
-
availableBalance?: number | null | undefined;
|
|
5290
|
-
pendingBalance?: number | null | undefined;
|
|
5291
|
-
profilePictureFileId?: string | null | undefined;
|
|
5292
|
-
profilePicture?: {
|
|
5293
|
-
path: string;
|
|
5294
|
-
id: string;
|
|
5295
|
-
userId: number;
|
|
5296
|
-
createdAt: Date;
|
|
5297
|
-
signedUrl: string;
|
|
5298
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5299
|
-
} | null | undefined;
|
|
5300
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
5301
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
5302
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
5303
|
-
} | null | undefined;
|
|
5304
|
-
orderStatus?: unknown;
|
|
5305
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
5306
|
-
isBoosted?: boolean | null | undefined;
|
|
5307
|
-
}[] | null | undefined;
|
|
5308
5308
|
sourceInConversation?: unknown;
|
|
5309
5309
|
order?: {
|
|
5310
5310
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
5311
5311
|
labels?: {
|
|
5312
5312
|
id: string;
|
|
5313
|
-
orderId: string;
|
|
5314
5313
|
fileId: string;
|
|
5314
|
+
orderId: string;
|
|
5315
5315
|
nonCroppedFileId: string;
|
|
5316
5316
|
originalFileId: string;
|
|
5317
|
-
|
|
5317
|
+
originalFile?: {
|
|
5318
5318
|
path: string;
|
|
5319
5319
|
id: string;
|
|
5320
|
-
userId: number;
|
|
5321
5320
|
createdAt: Date;
|
|
5321
|
+
userId: number;
|
|
5322
5322
|
signedUrl: string;
|
|
5323
5323
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5324
5324
|
} | null | undefined;
|
|
5325
|
-
|
|
5325
|
+
carrier?: unknown;
|
|
5326
|
+
file?: {
|
|
5326
5327
|
path: string;
|
|
5327
5328
|
id: string;
|
|
5328
|
-
userId: number;
|
|
5329
5329
|
createdAt: Date;
|
|
5330
|
+
userId: number;
|
|
5330
5331
|
signedUrl: string;
|
|
5331
5332
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5332
5333
|
} | null | undefined;
|
|
5333
|
-
|
|
5334
|
+
nonCroppedFile?: {
|
|
5334
5335
|
path: string;
|
|
5335
5336
|
id: string;
|
|
5336
|
-
userId: number;
|
|
5337
5337
|
createdAt: Date;
|
|
5338
|
+
userId: number;
|
|
5338
5339
|
signedUrl: string;
|
|
5339
5340
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5340
5341
|
} | null | undefined;
|
|
5341
|
-
carrier?: unknown;
|
|
5342
5342
|
}[] | null | undefined;
|
|
5343
5343
|
invoices?: {
|
|
5344
5344
|
type: "SALE" | "PURCHASE";
|
|
5345
5345
|
status: string;
|
|
5346
5346
|
id: string;
|
|
5347
|
-
userId: number;
|
|
5348
5347
|
createdAt: Date;
|
|
5348
|
+
userId: number;
|
|
5349
5349
|
currency: string;
|
|
5350
5350
|
orderId: string;
|
|
5351
5351
|
updatedAt: Date;
|
|
@@ -5354,21 +5354,21 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
5354
5354
|
businessProfileId: string;
|
|
5355
5355
|
issueDate: Date;
|
|
5356
5356
|
subtotal: number;
|
|
5357
|
-
vatAmount?: number | null | undefined;
|
|
5358
5357
|
fileId?: string | null | undefined;
|
|
5358
|
+
vatAmount?: number | null | undefined;
|
|
5359
5359
|
file?: {
|
|
5360
5360
|
path: string;
|
|
5361
5361
|
id: string;
|
|
5362
|
-
userId: number;
|
|
5363
5362
|
createdAt: Date;
|
|
5363
|
+
userId: number;
|
|
5364
5364
|
signedUrl: string;
|
|
5365
5365
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5366
5366
|
} | null | undefined;
|
|
5367
5367
|
vatRate?: number | null | undefined;
|
|
5368
5368
|
businessProfile?: {
|
|
5369
5369
|
id: string;
|
|
5370
|
-
userId: number;
|
|
5371
5370
|
createdAt: Date;
|
|
5371
|
+
userId: number;
|
|
5372
5372
|
updatedAt: Date;
|
|
5373
5373
|
businessName: string;
|
|
5374
5374
|
address: string;
|
|
@@ -5381,8 +5381,8 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
5381
5381
|
logo?: {
|
|
5382
5382
|
path: string;
|
|
5383
5383
|
id: string;
|
|
5384
|
-
userId: number;
|
|
5385
5384
|
createdAt: Date;
|
|
5385
|
+
userId: number;
|
|
5386
5386
|
signedUrl: string;
|
|
5387
5387
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5388
5388
|
} | null | undefined;
|
|
@@ -5395,26 +5395,26 @@ export declare const ItemAnalysisUpdateSchema: z.ZodObject<{
|
|
|
5395
5395
|
firstName: string;
|
|
5396
5396
|
lastName: string;
|
|
5397
5397
|
phoneVerified: boolean;
|
|
5398
|
-
postalCode?: string | null | undefined;
|
|
5399
|
-
city?: string | null | undefined;
|
|
5400
|
-
country?: string | null | undefined;
|
|
5401
|
-
email?: string | null | undefined;
|
|
5402
|
-
addressLine1?: string | null | undefined;
|
|
5403
|
-
addressLine2?: string | null | undefined;
|
|
5404
5398
|
birthDate?: Date | null | undefined;
|
|
5399
|
+
email?: string | null | undefined;
|
|
5405
5400
|
idNumber?: string | null | undefined;
|
|
5406
5401
|
phone?: string | null | undefined;
|
|
5407
5402
|
iban?: string | null | undefined;
|
|
5408
5403
|
bic?: string | null | undefined;
|
|
5404
|
+
addressLine1?: string | null | undefined;
|
|
5405
|
+
addressLine2?: string | null | undefined;
|
|
5406
|
+
city?: string | null | undefined;
|
|
5407
|
+
postalCode?: string | null | undefined;
|
|
5408
|
+
country?: string | null | undefined;
|
|
5409
5409
|
} | null | undefined;
|
|
5410
5410
|
dueDate?: Date | null | undefined;
|
|
5411
5411
|
notes?: string | null | undefined;
|
|
5412
5412
|
lineItems?: {
|
|
5413
|
-
quantity: number;
|
|
5414
|
-
id: number;
|
|
5415
5413
|
description: string;
|
|
5414
|
+
id: number;
|
|
5416
5415
|
createdAt: Date;
|
|
5417
5416
|
invoiceId: string;
|
|
5417
|
+
quantity: number;
|
|
5418
5418
|
unitPrice: number;
|
|
5419
5419
|
total: number;
|
|
5420
5420
|
itemOnPlatformId?: string | null | undefined;
|