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