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
|
@@ -56,15 +56,15 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
56
56
|
}, "strip", z.ZodTypeAny, {
|
|
57
57
|
path: string;
|
|
58
58
|
id: string;
|
|
59
|
-
userId: number;
|
|
60
59
|
createdAt: Date;
|
|
60
|
+
userId: number;
|
|
61
61
|
signedUrl: string;
|
|
62
62
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
63
63
|
}, {
|
|
64
64
|
path: string;
|
|
65
65
|
id: string;
|
|
66
|
-
userId: number;
|
|
67
66
|
createdAt: Date;
|
|
67
|
+
userId: number;
|
|
68
68
|
signedUrl: string;
|
|
69
69
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
70
70
|
}>>>;
|
|
@@ -75,9 +75,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
75
75
|
phoneNumberRequiredAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
76
76
|
}, "strip", z.ZodTypeAny, {
|
|
77
77
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
78
|
-
accountId: string;
|
|
79
|
-
userId: number;
|
|
80
78
|
name: string;
|
|
79
|
+
userId: number;
|
|
80
|
+
accountId: string;
|
|
81
81
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
82
82
|
locale?: string | null | undefined;
|
|
83
83
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -96,8 +96,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
96
96
|
profilePicture?: {
|
|
97
97
|
path: string;
|
|
98
98
|
id: string;
|
|
99
|
-
userId: number;
|
|
100
99
|
createdAt: Date;
|
|
100
|
+
userId: number;
|
|
101
101
|
signedUrl: string;
|
|
102
102
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
103
103
|
} | null | undefined;
|
|
@@ -105,9 +105,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
105
105
|
walletActivationRequiredAt?: Date | null | undefined;
|
|
106
106
|
phoneNumberRequiredAt?: Date | null | undefined;
|
|
107
107
|
}, {
|
|
108
|
-
accountId: string;
|
|
109
|
-
userId: number;
|
|
110
108
|
name: string;
|
|
109
|
+
userId: number;
|
|
110
|
+
accountId: string;
|
|
111
111
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
112
112
|
status?: unknown;
|
|
113
113
|
locale?: string | null | undefined;
|
|
@@ -127,8 +127,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
127
127
|
profilePicture?: {
|
|
128
128
|
path: string;
|
|
129
129
|
id: string;
|
|
130
|
-
userId: number;
|
|
131
130
|
createdAt: Date;
|
|
131
|
+
userId: number;
|
|
132
132
|
signedUrl: string;
|
|
133
133
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
134
134
|
} | null | undefined;
|
|
@@ -147,8 +147,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
147
147
|
}, "strip", z.ZodTypeAny, {
|
|
148
148
|
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
149
149
|
id: string;
|
|
150
|
-
accountId: string;
|
|
151
150
|
createdAt: Date;
|
|
151
|
+
accountId: string;
|
|
152
152
|
itemId: number;
|
|
153
153
|
platformId: string;
|
|
154
154
|
platformUrl: string;
|
|
@@ -162,9 +162,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
162
162
|
favoritesCount?: number | null | undefined;
|
|
163
163
|
account?: {
|
|
164
164
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
165
|
-
accountId: string;
|
|
166
|
-
userId: number;
|
|
167
165
|
name: string;
|
|
166
|
+
userId: number;
|
|
167
|
+
accountId: string;
|
|
168
168
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
169
169
|
locale?: string | null | undefined;
|
|
170
170
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -183,8 +183,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
183
183
|
profilePicture?: {
|
|
184
184
|
path: string;
|
|
185
185
|
id: string;
|
|
186
|
-
userId: number;
|
|
187
186
|
createdAt: Date;
|
|
187
|
+
userId: number;
|
|
188
188
|
signedUrl: string;
|
|
189
189
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
190
190
|
} | null | undefined;
|
|
@@ -197,8 +197,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
197
197
|
isBoosted?: boolean | null | undefined;
|
|
198
198
|
}, {
|
|
199
199
|
id: string;
|
|
200
|
-
accountId: string;
|
|
201
200
|
createdAt: Date;
|
|
201
|
+
accountId: string;
|
|
202
202
|
itemId: number;
|
|
203
203
|
platformId: string;
|
|
204
204
|
platformUrl: string;
|
|
@@ -212,9 +212,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
212
212
|
viewsCount?: number | null | undefined;
|
|
213
213
|
favoritesCount?: number | null | undefined;
|
|
214
214
|
account?: {
|
|
215
|
-
accountId: string;
|
|
216
|
-
userId: number;
|
|
217
215
|
name: string;
|
|
216
|
+
userId: number;
|
|
217
|
+
accountId: string;
|
|
218
218
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
219
219
|
status?: unknown;
|
|
220
220
|
locale?: string | null | undefined;
|
|
@@ -234,8 +234,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
234
234
|
profilePicture?: {
|
|
235
235
|
path: string;
|
|
236
236
|
id: string;
|
|
237
|
-
userId: number;
|
|
238
237
|
createdAt: Date;
|
|
238
|
+
userId: number;
|
|
239
239
|
signedUrl: string;
|
|
240
240
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
241
241
|
} | null | undefined;
|
|
@@ -253,8 +253,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
253
253
|
itemOnPlatform?: {
|
|
254
254
|
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
255
255
|
id: string;
|
|
256
|
-
accountId: string;
|
|
257
256
|
createdAt: Date;
|
|
257
|
+
accountId: string;
|
|
258
258
|
itemId: number;
|
|
259
259
|
platformId: string;
|
|
260
260
|
platformUrl: string;
|
|
@@ -268,9 +268,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
268
268
|
favoritesCount?: number | null | undefined;
|
|
269
269
|
account?: {
|
|
270
270
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
271
|
-
accountId: string;
|
|
272
|
-
userId: number;
|
|
273
271
|
name: string;
|
|
272
|
+
userId: number;
|
|
273
|
+
accountId: string;
|
|
274
274
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
275
275
|
locale?: string | null | undefined;
|
|
276
276
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -289,8 +289,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
289
289
|
profilePicture?: {
|
|
290
290
|
path: string;
|
|
291
291
|
id: string;
|
|
292
|
-
userId: number;
|
|
293
292
|
createdAt: Date;
|
|
293
|
+
userId: number;
|
|
294
294
|
signedUrl: string;
|
|
295
295
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
296
296
|
} | null | undefined;
|
|
@@ -307,8 +307,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
307
307
|
itemOnPlatformId: string;
|
|
308
308
|
itemOnPlatform?: {
|
|
309
309
|
id: string;
|
|
310
|
-
accountId: string;
|
|
311
310
|
createdAt: Date;
|
|
311
|
+
accountId: string;
|
|
312
312
|
itemId: number;
|
|
313
313
|
platformId: string;
|
|
314
314
|
platformUrl: string;
|
|
@@ -322,9 +322,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
322
322
|
viewsCount?: number | null | undefined;
|
|
323
323
|
favoritesCount?: number | null | undefined;
|
|
324
324
|
account?: {
|
|
325
|
-
accountId: string;
|
|
326
|
-
userId: number;
|
|
327
325
|
name: string;
|
|
326
|
+
userId: number;
|
|
327
|
+
accountId: string;
|
|
328
328
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
329
329
|
status?: unknown;
|
|
330
330
|
locale?: string | null | undefined;
|
|
@@ -344,8 +344,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
344
344
|
profilePicture?: {
|
|
345
345
|
path: string;
|
|
346
346
|
id: string;
|
|
347
|
-
userId: number;
|
|
348
347
|
createdAt: Date;
|
|
348
|
+
userId: number;
|
|
349
349
|
signedUrl: string;
|
|
350
350
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
351
351
|
} | null | undefined;
|
|
@@ -362,14 +362,16 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
362
362
|
id: string;
|
|
363
363
|
accountId: string;
|
|
364
364
|
platformTransactionId: string;
|
|
365
|
+
conversationId?: string | null | undefined;
|
|
366
|
+
shipmentId?: string | null | undefined;
|
|
365
367
|
items?: {
|
|
366
368
|
transactionId: string;
|
|
367
369
|
itemOnPlatformId: string;
|
|
368
370
|
itemOnPlatform?: {
|
|
369
371
|
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
370
372
|
id: string;
|
|
371
|
-
accountId: string;
|
|
372
373
|
createdAt: Date;
|
|
374
|
+
accountId: string;
|
|
373
375
|
itemId: number;
|
|
374
376
|
platformId: string;
|
|
375
377
|
platformUrl: string;
|
|
@@ -383,9 +385,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
383
385
|
favoritesCount?: number | null | undefined;
|
|
384
386
|
account?: {
|
|
385
387
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
386
|
-
accountId: string;
|
|
387
|
-
userId: number;
|
|
388
388
|
name: string;
|
|
389
|
+
userId: number;
|
|
390
|
+
accountId: string;
|
|
389
391
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
390
392
|
locale?: string | null | undefined;
|
|
391
393
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -404,8 +406,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
404
406
|
profilePicture?: {
|
|
405
407
|
path: string;
|
|
406
408
|
id: string;
|
|
407
|
-
userId: number;
|
|
408
409
|
createdAt: Date;
|
|
410
|
+
userId: number;
|
|
409
411
|
signedUrl: string;
|
|
410
412
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
411
413
|
} | null | undefined;
|
|
@@ -418,21 +420,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
418
420
|
isBoosted?: boolean | null | undefined;
|
|
419
421
|
} | null | undefined;
|
|
420
422
|
}[] | null | undefined;
|
|
421
|
-
conversationId?: string | null | undefined;
|
|
422
|
-
shipmentId?: string | null | undefined;
|
|
423
423
|
buyerPlatformId?: string | null | undefined;
|
|
424
424
|
sellerPlatformId?: string | null | undefined;
|
|
425
425
|
}, {
|
|
426
426
|
id: string;
|
|
427
427
|
accountId: string;
|
|
428
428
|
platformTransactionId: string;
|
|
429
|
+
conversationId?: string | null | undefined;
|
|
430
|
+
shipmentId?: string | null | undefined;
|
|
429
431
|
items?: {
|
|
430
432
|
transactionId: string;
|
|
431
433
|
itemOnPlatformId: string;
|
|
432
434
|
itemOnPlatform?: {
|
|
433
435
|
id: string;
|
|
434
|
-
accountId: string;
|
|
435
436
|
createdAt: Date;
|
|
437
|
+
accountId: string;
|
|
436
438
|
itemId: number;
|
|
437
439
|
platformId: string;
|
|
438
440
|
platformUrl: string;
|
|
@@ -446,9 +448,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
446
448
|
viewsCount?: number | null | undefined;
|
|
447
449
|
favoritesCount?: number | null | undefined;
|
|
448
450
|
account?: {
|
|
449
|
-
accountId: string;
|
|
450
|
-
userId: number;
|
|
451
451
|
name: string;
|
|
452
|
+
userId: number;
|
|
453
|
+
accountId: string;
|
|
452
454
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
453
455
|
status?: unknown;
|
|
454
456
|
locale?: string | null | undefined;
|
|
@@ -468,8 +470,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
468
470
|
profilePicture?: {
|
|
469
471
|
path: string;
|
|
470
472
|
id: string;
|
|
471
|
-
userId: number;
|
|
472
473
|
createdAt: Date;
|
|
474
|
+
userId: number;
|
|
473
475
|
signedUrl: string;
|
|
474
476
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
475
477
|
} | null | undefined;
|
|
@@ -482,8 +484,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
482
484
|
isBoosted?: boolean | null | undefined;
|
|
483
485
|
} | null | undefined;
|
|
484
486
|
}[] | null | undefined;
|
|
485
|
-
conversationId?: string | null | undefined;
|
|
486
|
-
shipmentId?: string | null | undefined;
|
|
487
487
|
buyerPlatformId?: string | null | undefined;
|
|
488
488
|
sellerPlatformId?: string | null | undefined;
|
|
489
489
|
}>;
|
|
@@ -507,38 +507,38 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
507
507
|
}, "strip", z.ZodTypeAny, {
|
|
508
508
|
path: string;
|
|
509
509
|
id: string;
|
|
510
|
-
userId: number;
|
|
511
510
|
createdAt: Date;
|
|
511
|
+
userId: number;
|
|
512
512
|
signedUrl: string;
|
|
513
513
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
514
514
|
}, {
|
|
515
515
|
path: string;
|
|
516
516
|
id: string;
|
|
517
|
-
userId: number;
|
|
518
517
|
createdAt: Date;
|
|
518
|
+
userId: number;
|
|
519
519
|
signedUrl: string;
|
|
520
520
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
521
521
|
}>>>;
|
|
522
522
|
}, "strip", z.ZodTypeAny, {
|
|
523
|
-
itemId: number;
|
|
524
523
|
fileId: string;
|
|
524
|
+
itemId: number;
|
|
525
525
|
file?: {
|
|
526
526
|
path: string;
|
|
527
527
|
id: string;
|
|
528
|
-
userId: number;
|
|
529
528
|
createdAt: Date;
|
|
529
|
+
userId: number;
|
|
530
530
|
signedUrl: string;
|
|
531
531
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
532
532
|
} | null | undefined;
|
|
533
533
|
index?: number | null | undefined;
|
|
534
534
|
}, {
|
|
535
|
-
itemId: number;
|
|
536
535
|
fileId: string;
|
|
536
|
+
itemId: number;
|
|
537
537
|
file?: {
|
|
538
538
|
path: string;
|
|
539
539
|
id: string;
|
|
540
|
-
userId: number;
|
|
541
540
|
createdAt: Date;
|
|
541
|
+
userId: number;
|
|
542
542
|
signedUrl: string;
|
|
543
543
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
544
544
|
} | null | undefined;
|
|
@@ -576,12 +576,12 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
576
576
|
}, "strip", z.ZodTypeAny, {
|
|
577
577
|
value: number;
|
|
578
578
|
type: string;
|
|
579
|
-
id: number;
|
|
580
|
-
userId: number;
|
|
581
579
|
name: string;
|
|
580
|
+
id: number;
|
|
582
581
|
createdAt: Date;
|
|
582
|
+
userId: number;
|
|
583
583
|
updatedAt: Date;
|
|
584
|
-
recurrence: "
|
|
584
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
585
585
|
startDate: Date;
|
|
586
586
|
active: boolean;
|
|
587
587
|
description?: string | null | undefined;
|
|
@@ -591,12 +591,12 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
591
591
|
}, {
|
|
592
592
|
value: number;
|
|
593
593
|
type: string;
|
|
594
|
-
id: number;
|
|
595
|
-
userId: number;
|
|
596
594
|
name: string;
|
|
595
|
+
id: number;
|
|
597
596
|
createdAt: Date;
|
|
597
|
+
userId: number;
|
|
598
598
|
updatedAt: Date;
|
|
599
|
-
recurrence: "
|
|
599
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
600
600
|
startDate: Date;
|
|
601
601
|
active: boolean;
|
|
602
602
|
description?: string | null | undefined;
|
|
@@ -617,16 +617,16 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
617
617
|
itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
618
618
|
parentId: z.ZodUnknown;
|
|
619
619
|
}, "strip", z.ZodTypeAny, {
|
|
620
|
-
id: number;
|
|
621
620
|
name: string;
|
|
621
|
+
id: number;
|
|
622
622
|
createdAt: Date;
|
|
623
623
|
isUserLabel: boolean;
|
|
624
624
|
itemCount?: number | null | undefined;
|
|
625
625
|
userId?: number | null | undefined;
|
|
626
626
|
parentId?: unknown;
|
|
627
627
|
}, {
|
|
628
|
-
id: number;
|
|
629
628
|
name: string;
|
|
629
|
+
id: number;
|
|
630
630
|
createdAt: Date;
|
|
631
631
|
isUserLabel: boolean;
|
|
632
632
|
itemCount?: number | null | undefined;
|
|
@@ -637,8 +637,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
637
637
|
itemId: number;
|
|
638
638
|
labelId: number;
|
|
639
639
|
label?: {
|
|
640
|
-
id: number;
|
|
641
640
|
name: string;
|
|
641
|
+
id: number;
|
|
642
642
|
createdAt: Date;
|
|
643
643
|
isUserLabel: boolean;
|
|
644
644
|
itemCount?: number | null | undefined;
|
|
@@ -649,8 +649,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
649
649
|
itemId: number;
|
|
650
650
|
labelId: number;
|
|
651
651
|
label?: {
|
|
652
|
-
id: number;
|
|
653
652
|
name: string;
|
|
653
|
+
id: number;
|
|
654
654
|
createdAt: Date;
|
|
655
655
|
isUserLabel: boolean;
|
|
656
656
|
itemCount?: number | null | undefined;
|
|
@@ -834,7 +834,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
834
834
|
autoFixable: z.ZodBoolean;
|
|
835
835
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
836
836
|
}, "strip", z.ZodTypeAny, {
|
|
837
|
-
field: "
|
|
837
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
838
838
|
autoFixable: boolean;
|
|
839
839
|
error?: string | null | undefined;
|
|
840
840
|
}, {
|
|
@@ -849,7 +849,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
849
849
|
accountId?: string | null | undefined;
|
|
850
850
|
reason?: string | null | undefined;
|
|
851
851
|
fields?: {
|
|
852
|
-
field: "
|
|
852
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
853
853
|
autoFixable: boolean;
|
|
854
854
|
error?: string | null | undefined;
|
|
855
855
|
}[] | null | undefined;
|
|
@@ -875,7 +875,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
875
875
|
accountId?: string | null | undefined;
|
|
876
876
|
reason?: string | null | undefined;
|
|
877
877
|
fields?: {
|
|
878
|
-
field: "
|
|
878
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
879
879
|
autoFixable: boolean;
|
|
880
880
|
error?: string | null | undefined;
|
|
881
881
|
}[] | null | undefined;
|
|
@@ -1059,23 +1059,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1059
1059
|
boostedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1060
1060
|
boostedUntil: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1061
1061
|
}, "strip", z.ZodTypeAny, {
|
|
1062
|
-
size?: string | null | undefined;
|
|
1063
1062
|
status?: string | null | undefined;
|
|
1064
1063
|
title?: string | null | undefined;
|
|
1065
1064
|
description?: string | null | undefined;
|
|
1065
|
+
brand?: string | null | undefined;
|
|
1066
|
+
statusId?: number | null | undefined;
|
|
1067
|
+
sizeId?: number | null | undefined;
|
|
1068
|
+
colorIds?: number[] | null | undefined;
|
|
1069
|
+
packageSizeId?: number | null | undefined;
|
|
1066
1070
|
price?: number | null | undefined;
|
|
1067
1071
|
currency?: string | null | undefined;
|
|
1068
|
-
brand?: string | null | undefined;
|
|
1069
1072
|
catalog?: string | null | undefined;
|
|
1070
1073
|
catalogId?: number | null | undefined;
|
|
1071
1074
|
colors?: string[] | null | undefined;
|
|
1072
|
-
colorIds?: number[] | null | undefined;
|
|
1073
1075
|
measurementLength?: number | null | undefined;
|
|
1074
1076
|
measurementWidth?: number | null | undefined;
|
|
1075
|
-
packageSizeId?: number | null | undefined;
|
|
1076
1077
|
photoUrls?: string[] | null | undefined;
|
|
1077
|
-
|
|
1078
|
-
statusId?: number | null | undefined;
|
|
1078
|
+
size?: string | null | undefined;
|
|
1079
1079
|
isDraft?: boolean | null | undefined;
|
|
1080
1080
|
isArchived?: boolean | null | undefined;
|
|
1081
1081
|
isUnisex?: boolean | null | undefined;
|
|
@@ -1104,23 +1104,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1104
1104
|
isHidden?: boolean | null | undefined;
|
|
1105
1105
|
isDeleted?: boolean | null | undefined;
|
|
1106
1106
|
}, {
|
|
1107
|
-
size?: string | null | undefined;
|
|
1108
1107
|
status?: string | null | undefined;
|
|
1109
1108
|
title?: string | null | undefined;
|
|
1110
1109
|
description?: string | null | undefined;
|
|
1110
|
+
brand?: string | null | undefined;
|
|
1111
|
+
statusId?: number | null | undefined;
|
|
1112
|
+
sizeId?: number | null | undefined;
|
|
1113
|
+
colorIds?: number[] | null | undefined;
|
|
1114
|
+
packageSizeId?: number | null | undefined;
|
|
1111
1115
|
price?: number | null | undefined;
|
|
1112
1116
|
currency?: string | null | undefined;
|
|
1113
|
-
brand?: string | null | undefined;
|
|
1114
1117
|
catalog?: string | null | undefined;
|
|
1115
1118
|
catalogId?: number | null | undefined;
|
|
1116
1119
|
colors?: string[] | null | undefined;
|
|
1117
|
-
colorIds?: number[] | null | undefined;
|
|
1118
1120
|
measurementLength?: number | null | undefined;
|
|
1119
1121
|
measurementWidth?: number | null | undefined;
|
|
1120
|
-
packageSizeId?: number | null | undefined;
|
|
1121
1122
|
photoUrls?: string[] | null | undefined;
|
|
1122
|
-
|
|
1123
|
-
statusId?: number | null | undefined;
|
|
1123
|
+
size?: string | null | undefined;
|
|
1124
1124
|
isDraft?: boolean | null | undefined;
|
|
1125
1125
|
isArchived?: boolean | null | undefined;
|
|
1126
1126
|
isUnisex?: boolean | null | undefined;
|
|
@@ -1154,23 +1154,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1154
1154
|
}, "strip", z.ZodTypeAny, {
|
|
1155
1155
|
platformId: string;
|
|
1156
1156
|
post: {
|
|
1157
|
-
size?: string | null | undefined;
|
|
1158
1157
|
status?: string | null | undefined;
|
|
1159
1158
|
title?: string | null | undefined;
|
|
1160
1159
|
description?: string | null | undefined;
|
|
1160
|
+
brand?: string | null | undefined;
|
|
1161
|
+
statusId?: number | null | undefined;
|
|
1162
|
+
sizeId?: number | null | undefined;
|
|
1163
|
+
colorIds?: number[] | null | undefined;
|
|
1164
|
+
packageSizeId?: number | null | undefined;
|
|
1161
1165
|
price?: number | null | undefined;
|
|
1162
1166
|
currency?: string | null | undefined;
|
|
1163
|
-
brand?: string | null | undefined;
|
|
1164
1167
|
catalog?: string | null | undefined;
|
|
1165
1168
|
catalogId?: number | null | undefined;
|
|
1166
1169
|
colors?: string[] | null | undefined;
|
|
1167
|
-
colorIds?: number[] | null | undefined;
|
|
1168
1170
|
measurementLength?: number | null | undefined;
|
|
1169
1171
|
measurementWidth?: number | null | undefined;
|
|
1170
|
-
packageSizeId?: number | null | undefined;
|
|
1171
1172
|
photoUrls?: string[] | null | undefined;
|
|
1172
|
-
|
|
1173
|
-
statusId?: number | null | undefined;
|
|
1173
|
+
size?: string | null | undefined;
|
|
1174
1174
|
isDraft?: boolean | null | undefined;
|
|
1175
1175
|
isArchived?: boolean | null | undefined;
|
|
1176
1176
|
isUnisex?: boolean | null | undefined;
|
|
@@ -1206,23 +1206,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1206
1206
|
}, {
|
|
1207
1207
|
platformId: string;
|
|
1208
1208
|
post: {
|
|
1209
|
-
size?: string | null | undefined;
|
|
1210
1209
|
status?: string | null | undefined;
|
|
1211
1210
|
title?: string | null | undefined;
|
|
1212
1211
|
description?: string | null | undefined;
|
|
1212
|
+
brand?: string | null | undefined;
|
|
1213
|
+
statusId?: number | null | undefined;
|
|
1214
|
+
sizeId?: number | null | undefined;
|
|
1215
|
+
colorIds?: number[] | null | undefined;
|
|
1216
|
+
packageSizeId?: number | null | undefined;
|
|
1213
1217
|
price?: number | null | undefined;
|
|
1214
1218
|
currency?: string | null | undefined;
|
|
1215
|
-
brand?: string | null | undefined;
|
|
1216
1219
|
catalog?: string | null | undefined;
|
|
1217
1220
|
catalogId?: number | null | undefined;
|
|
1218
1221
|
colors?: string[] | null | undefined;
|
|
1219
|
-
colorIds?: number[] | null | undefined;
|
|
1220
1222
|
measurementLength?: number | null | undefined;
|
|
1221
1223
|
measurementWidth?: number | null | undefined;
|
|
1222
|
-
packageSizeId?: number | null | undefined;
|
|
1223
1224
|
photoUrls?: string[] | null | undefined;
|
|
1224
|
-
|
|
1225
|
-
statusId?: number | null | undefined;
|
|
1225
|
+
size?: string | null | undefined;
|
|
1226
1226
|
isDraft?: boolean | null | undefined;
|
|
1227
1227
|
isArchived?: boolean | null | undefined;
|
|
1228
1228
|
isUnisex?: boolean | null | undefined;
|
|
@@ -1260,23 +1260,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1260
1260
|
post: {
|
|
1261
1261
|
platformId: string;
|
|
1262
1262
|
post: {
|
|
1263
|
-
size?: string | null | undefined;
|
|
1264
1263
|
status?: string | null | undefined;
|
|
1265
1264
|
title?: string | null | undefined;
|
|
1266
1265
|
description?: string | null | undefined;
|
|
1266
|
+
brand?: string | null | undefined;
|
|
1267
|
+
statusId?: number | null | undefined;
|
|
1268
|
+
sizeId?: number | null | undefined;
|
|
1269
|
+
colorIds?: number[] | null | undefined;
|
|
1270
|
+
packageSizeId?: number | null | undefined;
|
|
1267
1271
|
price?: number | null | undefined;
|
|
1268
1272
|
currency?: string | null | undefined;
|
|
1269
|
-
brand?: string | null | undefined;
|
|
1270
1273
|
catalog?: string | null | undefined;
|
|
1271
1274
|
catalogId?: number | null | undefined;
|
|
1272
1275
|
colors?: string[] | null | undefined;
|
|
1273
|
-
colorIds?: number[] | null | undefined;
|
|
1274
1276
|
measurementLength?: number | null | undefined;
|
|
1275
1277
|
measurementWidth?: number | null | undefined;
|
|
1276
|
-
packageSizeId?: number | null | undefined;
|
|
1277
1278
|
photoUrls?: string[] | null | undefined;
|
|
1278
|
-
|
|
1279
|
-
statusId?: number | null | undefined;
|
|
1279
|
+
size?: string | null | undefined;
|
|
1280
1280
|
isDraft?: boolean | null | undefined;
|
|
1281
1281
|
isArchived?: boolean | null | undefined;
|
|
1282
1282
|
isUnisex?: boolean | null | undefined;
|
|
@@ -1314,23 +1314,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1314
1314
|
post: {
|
|
1315
1315
|
platformId: string;
|
|
1316
1316
|
post: {
|
|
1317
|
-
size?: string | null | undefined;
|
|
1318
1317
|
status?: string | null | undefined;
|
|
1319
1318
|
title?: string | null | undefined;
|
|
1320
1319
|
description?: string | null | undefined;
|
|
1320
|
+
brand?: string | null | undefined;
|
|
1321
|
+
statusId?: number | null | undefined;
|
|
1322
|
+
sizeId?: number | null | undefined;
|
|
1323
|
+
colorIds?: number[] | null | undefined;
|
|
1324
|
+
packageSizeId?: number | null | undefined;
|
|
1321
1325
|
price?: number | null | undefined;
|
|
1322
1326
|
currency?: string | null | undefined;
|
|
1323
|
-
brand?: string | null | undefined;
|
|
1324
1327
|
catalog?: string | null | undefined;
|
|
1325
1328
|
catalogId?: number | null | undefined;
|
|
1326
1329
|
colors?: string[] | null | undefined;
|
|
1327
|
-
colorIds?: number[] | null | undefined;
|
|
1328
1330
|
measurementLength?: number | null | undefined;
|
|
1329
1331
|
measurementWidth?: number | null | undefined;
|
|
1330
|
-
packageSizeId?: number | null | undefined;
|
|
1331
1332
|
photoUrls?: string[] | null | undefined;
|
|
1332
|
-
|
|
1333
|
-
statusId?: number | null | undefined;
|
|
1333
|
+
size?: string | null | undefined;
|
|
1334
1334
|
isDraft?: boolean | null | undefined;
|
|
1335
1335
|
isArchived?: boolean | null | undefined;
|
|
1336
1336
|
isUnisex?: boolean | null | undefined;
|
|
@@ -1372,23 +1372,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1372
1372
|
post: {
|
|
1373
1373
|
platformId: string;
|
|
1374
1374
|
post: {
|
|
1375
|
-
size?: string | null | undefined;
|
|
1376
1375
|
status?: string | null | undefined;
|
|
1377
1376
|
title?: string | null | undefined;
|
|
1378
1377
|
description?: string | null | undefined;
|
|
1378
|
+
brand?: string | null | undefined;
|
|
1379
|
+
statusId?: number | null | undefined;
|
|
1380
|
+
sizeId?: number | null | undefined;
|
|
1381
|
+
colorIds?: number[] | null | undefined;
|
|
1382
|
+
packageSizeId?: number | null | undefined;
|
|
1379
1383
|
price?: number | null | undefined;
|
|
1380
1384
|
currency?: string | null | undefined;
|
|
1381
|
-
brand?: string | null | undefined;
|
|
1382
1385
|
catalog?: string | null | undefined;
|
|
1383
1386
|
catalogId?: number | null | undefined;
|
|
1384
1387
|
colors?: string[] | null | undefined;
|
|
1385
|
-
colorIds?: number[] | null | undefined;
|
|
1386
1388
|
measurementLength?: number | null | undefined;
|
|
1387
1389
|
measurementWidth?: number | null | undefined;
|
|
1388
|
-
packageSizeId?: number | null | undefined;
|
|
1389
1390
|
photoUrls?: string[] | null | undefined;
|
|
1390
|
-
|
|
1391
|
-
statusId?: number | null | undefined;
|
|
1391
|
+
size?: string | null | undefined;
|
|
1392
1392
|
isDraft?: boolean | null | undefined;
|
|
1393
1393
|
isArchived?: boolean | null | undefined;
|
|
1394
1394
|
isUnisex?: boolean | null | undefined;
|
|
@@ -1429,23 +1429,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1429
1429
|
post: {
|
|
1430
1430
|
platformId: string;
|
|
1431
1431
|
post: {
|
|
1432
|
-
size?: string | null | undefined;
|
|
1433
1432
|
status?: string | null | undefined;
|
|
1434
1433
|
title?: string | null | undefined;
|
|
1435
1434
|
description?: string | null | undefined;
|
|
1435
|
+
brand?: string | null | undefined;
|
|
1436
|
+
statusId?: number | null | undefined;
|
|
1437
|
+
sizeId?: number | null | undefined;
|
|
1438
|
+
colorIds?: number[] | null | undefined;
|
|
1439
|
+
packageSizeId?: number | null | undefined;
|
|
1436
1440
|
price?: number | null | undefined;
|
|
1437
1441
|
currency?: string | null | undefined;
|
|
1438
|
-
brand?: string | null | undefined;
|
|
1439
1442
|
catalog?: string | null | undefined;
|
|
1440
1443
|
catalogId?: number | null | undefined;
|
|
1441
1444
|
colors?: string[] | null | undefined;
|
|
1442
|
-
colorIds?: number[] | null | undefined;
|
|
1443
1445
|
measurementLength?: number | null | undefined;
|
|
1444
1446
|
measurementWidth?: number | null | undefined;
|
|
1445
|
-
packageSizeId?: number | null | undefined;
|
|
1446
1447
|
photoUrls?: string[] | null | undefined;
|
|
1447
|
-
|
|
1448
|
-
statusId?: number | null | undefined;
|
|
1448
|
+
size?: string | null | undefined;
|
|
1449
1449
|
isDraft?: boolean | null | undefined;
|
|
1450
1450
|
isArchived?: boolean | null | undefined;
|
|
1451
1451
|
isUnisex?: boolean | null | undefined;
|
|
@@ -1505,27 +1505,27 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1505
1505
|
caseId: z.ZodString;
|
|
1506
1506
|
isRepeat: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1507
1507
|
}, "strip", z.ZodTypeAny, {
|
|
1508
|
-
accountId: string;
|
|
1509
1508
|
caseId: string;
|
|
1509
|
+
accountId: string;
|
|
1510
1510
|
isRepeat?: boolean | null | undefined;
|
|
1511
1511
|
}, {
|
|
1512
|
-
accountId: string;
|
|
1513
1512
|
caseId: string;
|
|
1513
|
+
accountId: string;
|
|
1514
1514
|
isRepeat?: boolean | null | undefined;
|
|
1515
1515
|
}>;
|
|
1516
1516
|
type: z.ZodLiteral<"LIFECYCLE_STARTED">;
|
|
1517
1517
|
}, "strip", z.ZodTypeAny, {
|
|
1518
1518
|
type: "LIFECYCLE_STARTED";
|
|
1519
1519
|
data: {
|
|
1520
|
-
accountId: string;
|
|
1521
1520
|
caseId: string;
|
|
1521
|
+
accountId: string;
|
|
1522
1522
|
isRepeat?: boolean | null | undefined;
|
|
1523
1523
|
};
|
|
1524
1524
|
}, {
|
|
1525
1525
|
type: "LIFECYCLE_STARTED";
|
|
1526
1526
|
data: {
|
|
1527
|
-
accountId: string;
|
|
1528
1527
|
caseId: string;
|
|
1528
|
+
accountId: string;
|
|
1529
1529
|
isRepeat?: boolean | null | undefined;
|
|
1530
1530
|
};
|
|
1531
1531
|
}>, z.ZodObject<{
|
|
@@ -1701,10 +1701,10 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1701
1701
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1702
1702
|
} | null | undefined;
|
|
1703
1703
|
} | null | undefined;
|
|
1704
|
-
targetAccountId?: string | null | undefined;
|
|
1705
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
1706
1704
|
publishingDate?: Date | null | undefined;
|
|
1707
1705
|
isTransfer?: boolean | null | undefined;
|
|
1706
|
+
targetAccountId?: string | null | undefined;
|
|
1707
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
1708
1708
|
}, {
|
|
1709
1709
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1710
1710
|
payload?: {
|
|
@@ -1731,10 +1731,10 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1731
1731
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1732
1732
|
} | null | undefined;
|
|
1733
1733
|
} | null | undefined;
|
|
1734
|
-
targetAccountId?: string | null | undefined;
|
|
1735
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
1736
1734
|
publishingDate?: Date | null | undefined;
|
|
1737
1735
|
isTransfer?: boolean | null | undefined;
|
|
1736
|
+
targetAccountId?: string | null | undefined;
|
|
1737
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
1738
1738
|
}>;
|
|
1739
1739
|
type: z.ZodLiteral<"REPUBLISHING">;
|
|
1740
1740
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1765,10 +1765,10 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1765
1765
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1766
1766
|
} | null | undefined;
|
|
1767
1767
|
} | null | undefined;
|
|
1768
|
-
targetAccountId?: string | null | undefined;
|
|
1769
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
1770
1768
|
publishingDate?: Date | null | undefined;
|
|
1771
1769
|
isTransfer?: boolean | null | undefined;
|
|
1770
|
+
targetAccountId?: string | null | undefined;
|
|
1771
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
1772
1772
|
};
|
|
1773
1773
|
}, {
|
|
1774
1774
|
type: "REPUBLISHING";
|
|
@@ -1798,10 +1798,10 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1798
1798
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1799
1799
|
} | null | undefined;
|
|
1800
1800
|
} | null | undefined;
|
|
1801
|
-
targetAccountId?: string | null | undefined;
|
|
1802
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
1803
1801
|
publishingDate?: Date | null | undefined;
|
|
1804
1802
|
isTransfer?: boolean | null | undefined;
|
|
1803
|
+
targetAccountId?: string | null | undefined;
|
|
1804
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
1805
1805
|
};
|
|
1806
1806
|
}>, z.ZodObject<{
|
|
1807
1807
|
data: z.ZodObject<{
|
|
@@ -1815,7 +1815,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1815
1815
|
autoFixable: z.ZodBoolean;
|
|
1816
1816
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1817
1817
|
}, "strip", z.ZodTypeAny, {
|
|
1818
|
-
field: "
|
|
1818
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1819
1819
|
autoFixable: boolean;
|
|
1820
1820
|
error?: string | null | undefined;
|
|
1821
1821
|
}, {
|
|
@@ -1930,9 +1930,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1930
1930
|
} | null | undefined;
|
|
1931
1931
|
}>>>;
|
|
1932
1932
|
}, "strip", z.ZodTypeAny, {
|
|
1933
|
+
maxAttempts: number;
|
|
1933
1934
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1934
1935
|
attemptNumber: number;
|
|
1935
|
-
maxAttempts: number;
|
|
1936
1936
|
previousHistoryId: string;
|
|
1937
1937
|
originalFailureDate: Date;
|
|
1938
1938
|
payload?: {
|
|
@@ -1960,14 +1960,14 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1960
1960
|
} | null | undefined;
|
|
1961
1961
|
} | null | undefined;
|
|
1962
1962
|
fields?: {
|
|
1963
|
-
field: "
|
|
1963
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1964
1964
|
autoFixable: boolean;
|
|
1965
1965
|
error?: string | null | undefined;
|
|
1966
1966
|
}[] | null | undefined;
|
|
1967
1967
|
}, {
|
|
1968
|
+
maxAttempts: number;
|
|
1968
1969
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1969
1970
|
attemptNumber: number;
|
|
1970
|
-
maxAttempts: number;
|
|
1971
1971
|
previousHistoryId: string;
|
|
1972
1972
|
originalFailureDate: Date;
|
|
1973
1973
|
payload?: {
|
|
@@ -2004,9 +2004,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2004
2004
|
}, "strip", z.ZodTypeAny, {
|
|
2005
2005
|
type: "REPUBLISHING_RETRY";
|
|
2006
2006
|
data: {
|
|
2007
|
+
maxAttempts: number;
|
|
2007
2008
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2008
2009
|
attemptNumber: number;
|
|
2009
|
-
maxAttempts: number;
|
|
2010
2010
|
previousHistoryId: string;
|
|
2011
2011
|
originalFailureDate: Date;
|
|
2012
2012
|
payload?: {
|
|
@@ -2034,7 +2034,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2034
2034
|
} | null | undefined;
|
|
2035
2035
|
} | null | undefined;
|
|
2036
2036
|
fields?: {
|
|
2037
|
-
field: "
|
|
2037
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2038
2038
|
autoFixable: boolean;
|
|
2039
2039
|
error?: string | null | undefined;
|
|
2040
2040
|
}[] | null | undefined;
|
|
@@ -2042,9 +2042,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2042
2042
|
}, {
|
|
2043
2043
|
type: "REPUBLISHING_RETRY";
|
|
2044
2044
|
data: {
|
|
2045
|
+
maxAttempts: number;
|
|
2045
2046
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2046
2047
|
attemptNumber: number;
|
|
2047
|
-
maxAttempts: number;
|
|
2048
2048
|
previousHistoryId: string;
|
|
2049
2049
|
originalFailureDate: Date;
|
|
2050
2050
|
payload?: {
|
|
@@ -2113,7 +2113,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2113
2113
|
autoFixable: z.ZodBoolean;
|
|
2114
2114
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2115
2115
|
}, "strip", z.ZodTypeAny, {
|
|
2116
|
-
field: "
|
|
2116
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2117
2117
|
autoFixable: boolean;
|
|
2118
2118
|
error?: string | null | undefined;
|
|
2119
2119
|
}, {
|
|
@@ -2122,20 +2122,20 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2122
2122
|
error?: string | null | undefined;
|
|
2123
2123
|
}>, "many">>>;
|
|
2124
2124
|
}, "strip", z.ZodTypeAny, {
|
|
2125
|
+
maxAttempts: number;
|
|
2125
2126
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2126
2127
|
attemptNumber: number;
|
|
2127
|
-
maxAttempts: number;
|
|
2128
2128
|
previousHistoryId: string;
|
|
2129
2129
|
originalFailureDate: Date;
|
|
2130
2130
|
fields?: {
|
|
2131
|
-
field: "
|
|
2131
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2132
2132
|
autoFixable: boolean;
|
|
2133
2133
|
error?: string | null | undefined;
|
|
2134
2134
|
}[] | null | undefined;
|
|
2135
2135
|
}, {
|
|
2136
|
+
maxAttempts: number;
|
|
2136
2137
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2137
2138
|
attemptNumber: number;
|
|
2138
|
-
maxAttempts: number;
|
|
2139
2139
|
previousHistoryId: string;
|
|
2140
2140
|
originalFailureDate: Date;
|
|
2141
2141
|
fields?: {
|
|
@@ -2148,13 +2148,13 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2148
2148
|
}, "strip", z.ZodTypeAny, {
|
|
2149
2149
|
type: "SCHEDULED_RETRY";
|
|
2150
2150
|
data: {
|
|
2151
|
+
maxAttempts: number;
|
|
2151
2152
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2152
2153
|
attemptNumber: number;
|
|
2153
|
-
maxAttempts: number;
|
|
2154
2154
|
previousHistoryId: string;
|
|
2155
2155
|
originalFailureDate: Date;
|
|
2156
2156
|
fields?: {
|
|
2157
|
-
field: "
|
|
2157
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2158
2158
|
autoFixable: boolean;
|
|
2159
2159
|
error?: string | null | undefined;
|
|
2160
2160
|
}[] | null | undefined;
|
|
@@ -2162,9 +2162,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2162
2162
|
}, {
|
|
2163
2163
|
type: "SCHEDULED_RETRY";
|
|
2164
2164
|
data: {
|
|
2165
|
+
maxAttempts: number;
|
|
2165
2166
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2166
2167
|
attemptNumber: number;
|
|
2167
|
-
maxAttempts: number;
|
|
2168
2168
|
previousHistoryId: string;
|
|
2169
2169
|
originalFailureDate: Date;
|
|
2170
2170
|
fields?: {
|
|
@@ -2321,7 +2321,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2321
2321
|
id: string;
|
|
2322
2322
|
createdAt: Date;
|
|
2323
2323
|
itemId: number;
|
|
2324
|
-
accountId?: string | null | undefined;
|
|
2325
2324
|
data?: {
|
|
2326
2325
|
type: "ACTION_CANCELED";
|
|
2327
2326
|
data: {
|
|
@@ -2357,7 +2356,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2357
2356
|
accountId?: string | null | undefined;
|
|
2358
2357
|
reason?: string | null | undefined;
|
|
2359
2358
|
fields?: {
|
|
2360
|
-
field: "
|
|
2359
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2361
2360
|
autoFixable: boolean;
|
|
2362
2361
|
error?: string | null | undefined;
|
|
2363
2362
|
}[] | null | undefined;
|
|
@@ -2387,23 +2386,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2387
2386
|
post: {
|
|
2388
2387
|
platformId: string;
|
|
2389
2388
|
post: {
|
|
2390
|
-
size?: string | null | undefined;
|
|
2391
2389
|
status?: string | null | undefined;
|
|
2392
2390
|
title?: string | null | undefined;
|
|
2393
2391
|
description?: string | null | undefined;
|
|
2392
|
+
brand?: string | null | undefined;
|
|
2393
|
+
statusId?: number | null | undefined;
|
|
2394
|
+
sizeId?: number | null | undefined;
|
|
2395
|
+
colorIds?: number[] | null | undefined;
|
|
2396
|
+
packageSizeId?: number | null | undefined;
|
|
2394
2397
|
price?: number | null | undefined;
|
|
2395
2398
|
currency?: string | null | undefined;
|
|
2396
|
-
brand?: string | null | undefined;
|
|
2397
2399
|
catalog?: string | null | undefined;
|
|
2398
2400
|
catalogId?: number | null | undefined;
|
|
2399
2401
|
colors?: string[] | null | undefined;
|
|
2400
|
-
colorIds?: number[] | null | undefined;
|
|
2401
2402
|
measurementLength?: number | null | undefined;
|
|
2402
2403
|
measurementWidth?: number | null | undefined;
|
|
2403
|
-
packageSizeId?: number | null | undefined;
|
|
2404
2404
|
photoUrls?: string[] | null | undefined;
|
|
2405
|
-
|
|
2406
|
-
statusId?: number | null | undefined;
|
|
2405
|
+
size?: string | null | undefined;
|
|
2407
2406
|
isDraft?: boolean | null | undefined;
|
|
2408
2407
|
isArchived?: boolean | null | undefined;
|
|
2409
2408
|
isUnisex?: boolean | null | undefined;
|
|
@@ -2446,8 +2445,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2446
2445
|
} | {
|
|
2447
2446
|
type: "LIFECYCLE_STARTED";
|
|
2448
2447
|
data: {
|
|
2449
|
-
accountId: string;
|
|
2450
2448
|
caseId: string;
|
|
2449
|
+
accountId: string;
|
|
2451
2450
|
isRepeat?: boolean | null | undefined;
|
|
2452
2451
|
};
|
|
2453
2452
|
} | {
|
|
@@ -2486,17 +2485,17 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2486
2485
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
2487
2486
|
} | null | undefined;
|
|
2488
2487
|
} | null | undefined;
|
|
2489
|
-
targetAccountId?: string | null | undefined;
|
|
2490
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
2491
2488
|
publishingDate?: Date | null | undefined;
|
|
2492
2489
|
isTransfer?: boolean | null | undefined;
|
|
2490
|
+
targetAccountId?: string | null | undefined;
|
|
2491
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
2493
2492
|
};
|
|
2494
2493
|
} | {
|
|
2495
2494
|
type: "REPUBLISHING_RETRY";
|
|
2496
2495
|
data: {
|
|
2496
|
+
maxAttempts: number;
|
|
2497
2497
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2498
2498
|
attemptNumber: number;
|
|
2499
|
-
maxAttempts: number;
|
|
2500
2499
|
previousHistoryId: string;
|
|
2501
2500
|
originalFailureDate: Date;
|
|
2502
2501
|
payload?: {
|
|
@@ -2524,7 +2523,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2524
2523
|
} | null | undefined;
|
|
2525
2524
|
} | null | undefined;
|
|
2526
2525
|
fields?: {
|
|
2527
|
-
field: "
|
|
2526
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2528
2527
|
autoFixable: boolean;
|
|
2529
2528
|
error?: string | null | undefined;
|
|
2530
2529
|
}[] | null | undefined;
|
|
@@ -2538,13 +2537,13 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2538
2537
|
} | {
|
|
2539
2538
|
type: "SCHEDULED_RETRY";
|
|
2540
2539
|
data: {
|
|
2540
|
+
maxAttempts: number;
|
|
2541
2541
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2542
2542
|
attemptNumber: number;
|
|
2543
|
-
maxAttempts: number;
|
|
2544
2543
|
previousHistoryId: string;
|
|
2545
2544
|
originalFailureDate: Date;
|
|
2546
2545
|
fields?: {
|
|
2547
|
-
field: "
|
|
2546
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2548
2547
|
autoFixable: boolean;
|
|
2549
2548
|
error?: string | null | undefined;
|
|
2550
2549
|
}[] | null | undefined;
|
|
@@ -2573,6 +2572,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2573
2572
|
targetDate?: Date | null | undefined;
|
|
2574
2573
|
};
|
|
2575
2574
|
} | null | undefined;
|
|
2575
|
+
accountId?: string | null | undefined;
|
|
2576
2576
|
targetDate?: Date | null | undefined;
|
|
2577
2577
|
requestId?: string | null | undefined;
|
|
2578
2578
|
targetHistoryId?: string | null | undefined;
|
|
@@ -2581,7 +2581,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2581
2581
|
createdAt: Date;
|
|
2582
2582
|
itemId: number;
|
|
2583
2583
|
type?: unknown;
|
|
2584
|
-
accountId?: string | null | undefined;
|
|
2585
2584
|
data?: {
|
|
2586
2585
|
type: "ACTION_CANCELED";
|
|
2587
2586
|
data: {
|
|
@@ -2647,23 +2646,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2647
2646
|
post: {
|
|
2648
2647
|
platformId: string;
|
|
2649
2648
|
post: {
|
|
2650
|
-
size?: string | null | undefined;
|
|
2651
2649
|
status?: string | null | undefined;
|
|
2652
2650
|
title?: string | null | undefined;
|
|
2653
2651
|
description?: string | null | undefined;
|
|
2652
|
+
brand?: string | null | undefined;
|
|
2653
|
+
statusId?: number | null | undefined;
|
|
2654
|
+
sizeId?: number | null | undefined;
|
|
2655
|
+
colorIds?: number[] | null | undefined;
|
|
2656
|
+
packageSizeId?: number | null | undefined;
|
|
2654
2657
|
price?: number | null | undefined;
|
|
2655
2658
|
currency?: string | null | undefined;
|
|
2656
|
-
brand?: string | null | undefined;
|
|
2657
2659
|
catalog?: string | null | undefined;
|
|
2658
2660
|
catalogId?: number | null | undefined;
|
|
2659
2661
|
colors?: string[] | null | undefined;
|
|
2660
|
-
colorIds?: number[] | null | undefined;
|
|
2661
2662
|
measurementLength?: number | null | undefined;
|
|
2662
2663
|
measurementWidth?: number | null | undefined;
|
|
2663
|
-
packageSizeId?: number | null | undefined;
|
|
2664
2664
|
photoUrls?: string[] | null | undefined;
|
|
2665
|
-
|
|
2666
|
-
statusId?: number | null | undefined;
|
|
2665
|
+
size?: string | null | undefined;
|
|
2667
2666
|
isDraft?: boolean | null | undefined;
|
|
2668
2667
|
isArchived?: boolean | null | undefined;
|
|
2669
2668
|
isUnisex?: boolean | null | undefined;
|
|
@@ -2706,8 +2705,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2706
2705
|
} | {
|
|
2707
2706
|
type: "LIFECYCLE_STARTED";
|
|
2708
2707
|
data: {
|
|
2709
|
-
accountId: string;
|
|
2710
2708
|
caseId: string;
|
|
2709
|
+
accountId: string;
|
|
2711
2710
|
isRepeat?: boolean | null | undefined;
|
|
2712
2711
|
};
|
|
2713
2712
|
} | {
|
|
@@ -2746,17 +2745,17 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2746
2745
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
2747
2746
|
} | null | undefined;
|
|
2748
2747
|
} | null | undefined;
|
|
2749
|
-
targetAccountId?: string | null | undefined;
|
|
2750
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
2751
2748
|
publishingDate?: Date | null | undefined;
|
|
2752
2749
|
isTransfer?: boolean | null | undefined;
|
|
2750
|
+
targetAccountId?: string | null | undefined;
|
|
2751
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
2753
2752
|
};
|
|
2754
2753
|
} | {
|
|
2755
2754
|
type: "REPUBLISHING_RETRY";
|
|
2756
2755
|
data: {
|
|
2756
|
+
maxAttempts: number;
|
|
2757
2757
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2758
2758
|
attemptNumber: number;
|
|
2759
|
-
maxAttempts: number;
|
|
2760
2759
|
previousHistoryId: string;
|
|
2761
2760
|
originalFailureDate: Date;
|
|
2762
2761
|
payload?: {
|
|
@@ -2798,9 +2797,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2798
2797
|
} | {
|
|
2799
2798
|
type: "SCHEDULED_RETRY";
|
|
2800
2799
|
data: {
|
|
2800
|
+
maxAttempts: number;
|
|
2801
2801
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2802
2802
|
attemptNumber: number;
|
|
2803
|
-
maxAttempts: number;
|
|
2804
2803
|
previousHistoryId: string;
|
|
2805
2804
|
originalFailureDate: Date;
|
|
2806
2805
|
fields?: {
|
|
@@ -2833,6 +2832,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2833
2832
|
targetDate?: Date | null | undefined;
|
|
2834
2833
|
};
|
|
2835
2834
|
} | null | undefined;
|
|
2835
|
+
accountId?: string | null | undefined;
|
|
2836
2836
|
targetDate?: Date | null | undefined;
|
|
2837
2837
|
requestId?: string | null | undefined;
|
|
2838
2838
|
targetHistoryId?: string | null | undefined;
|
|
@@ -2882,15 +2882,15 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2882
2882
|
}, "strip", z.ZodTypeAny, {
|
|
2883
2883
|
path: string;
|
|
2884
2884
|
id: string;
|
|
2885
|
-
userId: number;
|
|
2886
2885
|
createdAt: Date;
|
|
2886
|
+
userId: number;
|
|
2887
2887
|
signedUrl: string;
|
|
2888
2888
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2889
2889
|
}, {
|
|
2890
2890
|
path: string;
|
|
2891
2891
|
id: string;
|
|
2892
|
-
userId: number;
|
|
2893
2892
|
createdAt: Date;
|
|
2893
|
+
userId: number;
|
|
2894
2894
|
signedUrl: string;
|
|
2895
2895
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2896
2896
|
}>>>;
|
|
@@ -2901,9 +2901,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2901
2901
|
phoneNumberRequiredAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2902
2902
|
}, "strip", z.ZodTypeAny, {
|
|
2903
2903
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
2904
|
-
accountId: string;
|
|
2905
|
-
userId: number;
|
|
2906
2904
|
name: string;
|
|
2905
|
+
userId: number;
|
|
2906
|
+
accountId: string;
|
|
2907
2907
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2908
2908
|
locale?: string | null | undefined;
|
|
2909
2909
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -2922,8 +2922,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2922
2922
|
profilePicture?: {
|
|
2923
2923
|
path: string;
|
|
2924
2924
|
id: string;
|
|
2925
|
-
userId: number;
|
|
2926
2925
|
createdAt: Date;
|
|
2926
|
+
userId: number;
|
|
2927
2927
|
signedUrl: string;
|
|
2928
2928
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2929
2929
|
} | null | undefined;
|
|
@@ -2931,9 +2931,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2931
2931
|
walletActivationRequiredAt?: Date | null | undefined;
|
|
2932
2932
|
phoneNumberRequiredAt?: Date | null | undefined;
|
|
2933
2933
|
}, {
|
|
2934
|
-
accountId: string;
|
|
2935
|
-
userId: number;
|
|
2936
2934
|
name: string;
|
|
2935
|
+
userId: number;
|
|
2936
|
+
accountId: string;
|
|
2937
2937
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2938
2938
|
status?: unknown;
|
|
2939
2939
|
locale?: string | null | undefined;
|
|
@@ -2953,8 +2953,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2953
2953
|
profilePicture?: {
|
|
2954
2954
|
path: string;
|
|
2955
2955
|
id: string;
|
|
2956
|
-
userId: number;
|
|
2957
2956
|
createdAt: Date;
|
|
2957
|
+
userId: number;
|
|
2958
2958
|
signedUrl: string;
|
|
2959
2959
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2960
2960
|
} | null | undefined;
|
|
@@ -2973,8 +2973,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2973
2973
|
}, "strip", z.ZodTypeAny, {
|
|
2974
2974
|
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
2975
2975
|
id: string;
|
|
2976
|
-
accountId: string;
|
|
2977
2976
|
createdAt: Date;
|
|
2977
|
+
accountId: string;
|
|
2978
2978
|
itemId: number;
|
|
2979
2979
|
platformId: string;
|
|
2980
2980
|
platformUrl: string;
|
|
@@ -2988,9 +2988,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2988
2988
|
favoritesCount?: number | null | undefined;
|
|
2989
2989
|
account?: {
|
|
2990
2990
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
2991
|
-
accountId: string;
|
|
2992
|
-
userId: number;
|
|
2993
2991
|
name: string;
|
|
2992
|
+
userId: number;
|
|
2993
|
+
accountId: string;
|
|
2994
2994
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2995
2995
|
locale?: string | null | undefined;
|
|
2996
2996
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -3009,8 +3009,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3009
3009
|
profilePicture?: {
|
|
3010
3010
|
path: string;
|
|
3011
3011
|
id: string;
|
|
3012
|
-
userId: number;
|
|
3013
3012
|
createdAt: Date;
|
|
3013
|
+
userId: number;
|
|
3014
3014
|
signedUrl: string;
|
|
3015
3015
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3016
3016
|
} | null | undefined;
|
|
@@ -3023,8 +3023,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3023
3023
|
isBoosted?: boolean | null | undefined;
|
|
3024
3024
|
}, {
|
|
3025
3025
|
id: string;
|
|
3026
|
-
accountId: string;
|
|
3027
3026
|
createdAt: Date;
|
|
3027
|
+
accountId: string;
|
|
3028
3028
|
itemId: number;
|
|
3029
3029
|
platformId: string;
|
|
3030
3030
|
platformUrl: string;
|
|
@@ -3038,9 +3038,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3038
3038
|
viewsCount?: number | null | undefined;
|
|
3039
3039
|
favoritesCount?: number | null | undefined;
|
|
3040
3040
|
account?: {
|
|
3041
|
-
accountId: string;
|
|
3042
|
-
userId: number;
|
|
3043
3041
|
name: string;
|
|
3042
|
+
userId: number;
|
|
3043
|
+
accountId: string;
|
|
3044
3044
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3045
3045
|
status?: unknown;
|
|
3046
3046
|
locale?: string | null | undefined;
|
|
@@ -3060,8 +3060,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3060
3060
|
profilePicture?: {
|
|
3061
3061
|
path: string;
|
|
3062
3062
|
id: string;
|
|
3063
|
-
userId: number;
|
|
3064
3063
|
createdAt: Date;
|
|
3064
|
+
userId: number;
|
|
3065
3065
|
signedUrl: string;
|
|
3066
3066
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3067
3067
|
} | null | undefined;
|
|
@@ -3076,7 +3076,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3076
3076
|
actions: z.ZodObject<{
|
|
3077
3077
|
perAccount: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodCatch<z.ZodEnum<["PUBLISH", "PUBLISH_CANCEL", "REPUBLISH", "REPUBLISH_CANCEL", "UPDATE", "UPDATE_CANCEL", "BOOST", "UNKNOWN"]>>, "many">>;
|
|
3078
3078
|
}, "strip", z.ZodTypeAny, {
|
|
3079
|
-
perAccount: Record<string, ("
|
|
3079
|
+
perAccount: Record<string, ("REPUBLISH" | "UNKNOWN" | "PUBLISH" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE" | "UPDATE_CANCEL" | "BOOST")[]>;
|
|
3080
3080
|
}, {
|
|
3081
3081
|
perAccount: Record<string, unknown[]>;
|
|
3082
3082
|
}>;
|
|
@@ -3101,15 +3101,15 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3101
3101
|
}, "strip", z.ZodTypeAny, {
|
|
3102
3102
|
path: string;
|
|
3103
3103
|
id: string;
|
|
3104
|
-
userId: number;
|
|
3105
3104
|
createdAt: Date;
|
|
3105
|
+
userId: number;
|
|
3106
3106
|
signedUrl: string;
|
|
3107
3107
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3108
3108
|
}, {
|
|
3109
3109
|
path: string;
|
|
3110
3110
|
id: string;
|
|
3111
|
-
userId: number;
|
|
3112
3111
|
createdAt: Date;
|
|
3112
|
+
userId: number;
|
|
3113
3113
|
signedUrl: string;
|
|
3114
3114
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3115
3115
|
}>>>;
|
|
@@ -3123,15 +3123,15 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3123
3123
|
}, "strip", z.ZodTypeAny, {
|
|
3124
3124
|
path: string;
|
|
3125
3125
|
id: string;
|
|
3126
|
-
userId: number;
|
|
3127
3126
|
createdAt: Date;
|
|
3127
|
+
userId: number;
|
|
3128
3128
|
signedUrl: string;
|
|
3129
3129
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3130
3130
|
}, {
|
|
3131
3131
|
path: string;
|
|
3132
3132
|
id: string;
|
|
3133
|
-
userId: number;
|
|
3134
3133
|
createdAt: Date;
|
|
3134
|
+
userId: number;
|
|
3135
3135
|
signedUrl: string;
|
|
3136
3136
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3137
3137
|
}>>>;
|
|
@@ -3145,81 +3145,81 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3145
3145
|
}, "strip", z.ZodTypeAny, {
|
|
3146
3146
|
path: string;
|
|
3147
3147
|
id: string;
|
|
3148
|
-
userId: number;
|
|
3149
3148
|
createdAt: Date;
|
|
3149
|
+
userId: number;
|
|
3150
3150
|
signedUrl: string;
|
|
3151
3151
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3152
3152
|
}, {
|
|
3153
3153
|
path: string;
|
|
3154
3154
|
id: string;
|
|
3155
|
-
userId: number;
|
|
3156
3155
|
createdAt: Date;
|
|
3156
|
+
userId: number;
|
|
3157
3157
|
signedUrl: string;
|
|
3158
3158
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3159
3159
|
}>>>;
|
|
3160
3160
|
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"]>>>>;
|
|
3161
3161
|
}, "strip", z.ZodTypeAny, {
|
|
3162
3162
|
id: string;
|
|
3163
|
-
orderId: string;
|
|
3164
3163
|
fileId: string;
|
|
3164
|
+
orderId: string;
|
|
3165
3165
|
nonCroppedFileId: string;
|
|
3166
3166
|
originalFileId: string;
|
|
3167
|
-
|
|
3167
|
+
originalFile?: {
|
|
3168
3168
|
path: string;
|
|
3169
3169
|
id: string;
|
|
3170
|
-
userId: number;
|
|
3171
3170
|
createdAt: Date;
|
|
3171
|
+
userId: number;
|
|
3172
3172
|
signedUrl: string;
|
|
3173
3173
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3174
3174
|
} | null | undefined;
|
|
3175
|
-
|
|
3175
|
+
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;
|
|
3176
|
+
file?: {
|
|
3176
3177
|
path: string;
|
|
3177
3178
|
id: string;
|
|
3178
|
-
userId: number;
|
|
3179
3179
|
createdAt: Date;
|
|
3180
|
+
userId: number;
|
|
3180
3181
|
signedUrl: string;
|
|
3181
3182
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3182
3183
|
} | null | undefined;
|
|
3183
|
-
|
|
3184
|
+
nonCroppedFile?: {
|
|
3184
3185
|
path: string;
|
|
3185
3186
|
id: string;
|
|
3186
|
-
userId: number;
|
|
3187
3187
|
createdAt: Date;
|
|
3188
|
+
userId: number;
|
|
3188
3189
|
signedUrl: string;
|
|
3189
3190
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3190
3191
|
} | null | undefined;
|
|
3191
|
-
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;
|
|
3192
3192
|
}, {
|
|
3193
3193
|
id: string;
|
|
3194
|
-
orderId: string;
|
|
3195
3194
|
fileId: string;
|
|
3195
|
+
orderId: string;
|
|
3196
3196
|
nonCroppedFileId: string;
|
|
3197
3197
|
originalFileId: string;
|
|
3198
|
-
|
|
3198
|
+
originalFile?: {
|
|
3199
3199
|
path: string;
|
|
3200
3200
|
id: string;
|
|
3201
|
-
userId: number;
|
|
3202
3201
|
createdAt: Date;
|
|
3202
|
+
userId: number;
|
|
3203
3203
|
signedUrl: string;
|
|
3204
3204
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3205
3205
|
} | null | undefined;
|
|
3206
|
-
|
|
3206
|
+
carrier?: unknown;
|
|
3207
|
+
file?: {
|
|
3207
3208
|
path: string;
|
|
3208
3209
|
id: string;
|
|
3209
|
-
userId: number;
|
|
3210
3210
|
createdAt: Date;
|
|
3211
|
+
userId: number;
|
|
3211
3212
|
signedUrl: string;
|
|
3212
3213
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3213
3214
|
} | null | undefined;
|
|
3214
|
-
|
|
3215
|
+
nonCroppedFile?: {
|
|
3215
3216
|
path: string;
|
|
3216
3217
|
id: string;
|
|
3217
|
-
userId: number;
|
|
3218
3218
|
createdAt: Date;
|
|
3219
|
+
userId: number;
|
|
3219
3220
|
signedUrl: string;
|
|
3220
3221
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3221
3222
|
} | null | undefined;
|
|
3222
|
-
carrier?: unknown;
|
|
3223
3223
|
}>, "many">>>;
|
|
3224
3224
|
invoices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
3225
3225
|
id: z.ZodString;
|
|
@@ -3246,25 +3246,26 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3246
3246
|
}, "strip", z.ZodTypeAny, {
|
|
3247
3247
|
path: string;
|
|
3248
3248
|
id: string;
|
|
3249
|
-
userId: number;
|
|
3250
3249
|
createdAt: Date;
|
|
3250
|
+
userId: number;
|
|
3251
3251
|
signedUrl: string;
|
|
3252
3252
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3253
3253
|
}, {
|
|
3254
3254
|
path: string;
|
|
3255
3255
|
id: string;
|
|
3256
|
-
userId: number;
|
|
3257
3256
|
createdAt: Date;
|
|
3257
|
+
userId: number;
|
|
3258
3258
|
signedUrl: string;
|
|
3259
3259
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3260
3260
|
}>>>;
|
|
3261
3261
|
isActive: z.ZodBoolean;
|
|
3262
3262
|
createdAt: z.ZodDate;
|
|
3263
3263
|
updatedAt: z.ZodDate;
|
|
3264
|
+
vatRegime: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["MARGIN", "FRANCHISE", "NORMAL", "UNKNOWN"]>>>>;
|
|
3264
3265
|
}, "strip", z.ZodTypeAny, {
|
|
3265
3266
|
id: string;
|
|
3266
|
-
userId: number;
|
|
3267
3267
|
createdAt: Date;
|
|
3268
|
+
userId: number;
|
|
3268
3269
|
updatedAt: Date;
|
|
3269
3270
|
businessName: string;
|
|
3270
3271
|
address: string;
|
|
@@ -3277,15 +3278,16 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3277
3278
|
logo?: {
|
|
3278
3279
|
path: string;
|
|
3279
3280
|
id: string;
|
|
3280
|
-
userId: number;
|
|
3281
3281
|
createdAt: Date;
|
|
3282
|
+
userId: number;
|
|
3282
3283
|
signedUrl: string;
|
|
3283
3284
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3284
3285
|
} | null | undefined;
|
|
3286
|
+
vatRegime?: "UNKNOWN" | "MARGIN" | "FRANCHISE" | "NORMAL" | null | undefined;
|
|
3285
3287
|
}, {
|
|
3286
3288
|
id: string;
|
|
3287
|
-
userId: number;
|
|
3288
3289
|
createdAt: Date;
|
|
3290
|
+
userId: number;
|
|
3289
3291
|
updatedAt: Date;
|
|
3290
3292
|
businessName: string;
|
|
3291
3293
|
address: string;
|
|
@@ -3298,11 +3300,12 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3298
3300
|
logo?: {
|
|
3299
3301
|
path: string;
|
|
3300
3302
|
id: string;
|
|
3301
|
-
userId: number;
|
|
3302
3303
|
createdAt: Date;
|
|
3304
|
+
userId: number;
|
|
3303
3305
|
signedUrl: string;
|
|
3304
3306
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3305
3307
|
} | null | undefined;
|
|
3308
|
+
vatRegime?: unknown;
|
|
3306
3309
|
}>>>;
|
|
3307
3310
|
customerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3308
3311
|
customer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -3328,34 +3331,34 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3328
3331
|
firstName: string;
|
|
3329
3332
|
lastName: string;
|
|
3330
3333
|
phoneVerified: boolean;
|
|
3331
|
-
postalCode?: string | null | undefined;
|
|
3332
|
-
city?: string | null | undefined;
|
|
3333
|
-
country?: string | null | undefined;
|
|
3334
|
-
email?: string | null | undefined;
|
|
3335
|
-
addressLine1?: string | null | undefined;
|
|
3336
|
-
addressLine2?: string | null | undefined;
|
|
3337
3334
|
birthDate?: Date | null | undefined;
|
|
3335
|
+
email?: string | null | undefined;
|
|
3338
3336
|
idNumber?: string | null | undefined;
|
|
3339
3337
|
phone?: string | null | undefined;
|
|
3340
3338
|
iban?: string | null | undefined;
|
|
3341
3339
|
bic?: string | null | undefined;
|
|
3340
|
+
addressLine1?: string | null | undefined;
|
|
3341
|
+
addressLine2?: string | null | undefined;
|
|
3342
|
+
city?: string | null | undefined;
|
|
3343
|
+
postalCode?: string | null | undefined;
|
|
3344
|
+
country?: string | null | undefined;
|
|
3342
3345
|
}, {
|
|
3343
3346
|
id: string;
|
|
3344
3347
|
userId: number;
|
|
3345
3348
|
firstName: string;
|
|
3346
3349
|
lastName: string;
|
|
3347
3350
|
phoneVerified: boolean;
|
|
3348
|
-
postalCode?: string | null | undefined;
|
|
3349
|
-
city?: string | null | undefined;
|
|
3350
|
-
country?: string | null | undefined;
|
|
3351
|
-
email?: string | null | undefined;
|
|
3352
|
-
addressLine1?: string | null | undefined;
|
|
3353
|
-
addressLine2?: string | null | undefined;
|
|
3354
3351
|
birthDate?: Date | null | undefined;
|
|
3352
|
+
email?: string | null | undefined;
|
|
3355
3353
|
idNumber?: string | null | undefined;
|
|
3356
3354
|
phone?: string | null | undefined;
|
|
3357
3355
|
iban?: string | null | undefined;
|
|
3358
3356
|
bic?: string | null | undefined;
|
|
3357
|
+
addressLine1?: string | null | undefined;
|
|
3358
|
+
addressLine2?: string | null | undefined;
|
|
3359
|
+
city?: string | null | undefined;
|
|
3360
|
+
postalCode?: string | null | undefined;
|
|
3361
|
+
country?: string | null | undefined;
|
|
3359
3362
|
}>>>;
|
|
3360
3363
|
orderId: z.ZodString;
|
|
3361
3364
|
fileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3369,15 +3372,15 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3369
3372
|
}, "strip", z.ZodTypeAny, {
|
|
3370
3373
|
path: string;
|
|
3371
3374
|
id: string;
|
|
3372
|
-
userId: number;
|
|
3373
3375
|
createdAt: Date;
|
|
3376
|
+
userId: number;
|
|
3374
3377
|
signedUrl: string;
|
|
3375
3378
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3376
3379
|
}, {
|
|
3377
3380
|
path: string;
|
|
3378
3381
|
id: string;
|
|
3379
|
-
userId: number;
|
|
3380
3382
|
createdAt: Date;
|
|
3383
|
+
userId: number;
|
|
3381
3384
|
signedUrl: string;
|
|
3382
3385
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3383
3386
|
}>>>;
|
|
@@ -3402,21 +3405,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3402
3405
|
total: z.ZodNumber;
|
|
3403
3406
|
createdAt: z.ZodDate;
|
|
3404
3407
|
}, "strip", z.ZodTypeAny, {
|
|
3405
|
-
quantity: number;
|
|
3406
|
-
id: number;
|
|
3407
3408
|
description: string;
|
|
3409
|
+
id: number;
|
|
3408
3410
|
createdAt: Date;
|
|
3409
3411
|
invoiceId: string;
|
|
3412
|
+
quantity: number;
|
|
3410
3413
|
unitPrice: number;
|
|
3411
3414
|
total: number;
|
|
3412
3415
|
itemOnPlatformId?: string | null | undefined;
|
|
3413
3416
|
vatRate?: number | null | undefined;
|
|
3414
3417
|
}, {
|
|
3415
|
-
quantity: number;
|
|
3416
|
-
id: number;
|
|
3417
3418
|
description: string;
|
|
3419
|
+
id: number;
|
|
3418
3420
|
createdAt: Date;
|
|
3419
3421
|
invoiceId: string;
|
|
3422
|
+
quantity: number;
|
|
3420
3423
|
unitPrice: number;
|
|
3421
3424
|
total: number;
|
|
3422
3425
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3428,8 +3431,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3428
3431
|
type: "SALE" | "PURCHASE";
|
|
3429
3432
|
status: string;
|
|
3430
3433
|
id: string;
|
|
3431
|
-
userId: number;
|
|
3432
3434
|
createdAt: Date;
|
|
3435
|
+
userId: number;
|
|
3433
3436
|
currency: string;
|
|
3434
3437
|
orderId: string;
|
|
3435
3438
|
updatedAt: Date;
|
|
@@ -3438,21 +3441,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3438
3441
|
businessProfileId: string;
|
|
3439
3442
|
issueDate: Date;
|
|
3440
3443
|
subtotal: number;
|
|
3441
|
-
vatAmount?: number | null | undefined;
|
|
3442
3444
|
fileId?: string | null | undefined;
|
|
3445
|
+
vatAmount?: number | null | undefined;
|
|
3443
3446
|
file?: {
|
|
3444
3447
|
path: string;
|
|
3445
3448
|
id: string;
|
|
3446
|
-
userId: number;
|
|
3447
3449
|
createdAt: Date;
|
|
3450
|
+
userId: number;
|
|
3448
3451
|
signedUrl: string;
|
|
3449
3452
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3450
3453
|
} | null | undefined;
|
|
3451
3454
|
vatRate?: number | null | undefined;
|
|
3452
3455
|
businessProfile?: {
|
|
3453
3456
|
id: string;
|
|
3454
|
-
userId: number;
|
|
3455
3457
|
createdAt: Date;
|
|
3458
|
+
userId: number;
|
|
3456
3459
|
updatedAt: Date;
|
|
3457
3460
|
businessName: string;
|
|
3458
3461
|
address: string;
|
|
@@ -3465,11 +3468,12 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3465
3468
|
logo?: {
|
|
3466
3469
|
path: string;
|
|
3467
3470
|
id: string;
|
|
3468
|
-
userId: number;
|
|
3469
3471
|
createdAt: Date;
|
|
3472
|
+
userId: number;
|
|
3470
3473
|
signedUrl: string;
|
|
3471
3474
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3472
3475
|
} | null | undefined;
|
|
3476
|
+
vatRegime?: "UNKNOWN" | "MARGIN" | "FRANCHISE" | "NORMAL" | null | undefined;
|
|
3473
3477
|
} | null | undefined;
|
|
3474
3478
|
customerId?: string | null | undefined;
|
|
3475
3479
|
customer?: {
|
|
@@ -3478,26 +3482,26 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3478
3482
|
firstName: string;
|
|
3479
3483
|
lastName: string;
|
|
3480
3484
|
phoneVerified: boolean;
|
|
3481
|
-
postalCode?: string | null | undefined;
|
|
3482
|
-
city?: string | null | undefined;
|
|
3483
|
-
country?: string | null | undefined;
|
|
3484
|
-
email?: string | null | undefined;
|
|
3485
|
-
addressLine1?: string | null | undefined;
|
|
3486
|
-
addressLine2?: string | null | undefined;
|
|
3487
3485
|
birthDate?: Date | null | undefined;
|
|
3486
|
+
email?: string | null | undefined;
|
|
3488
3487
|
idNumber?: string | null | undefined;
|
|
3489
3488
|
phone?: string | null | undefined;
|
|
3490
3489
|
iban?: string | null | undefined;
|
|
3491
3490
|
bic?: string | null | undefined;
|
|
3491
|
+
addressLine1?: string | null | undefined;
|
|
3492
|
+
addressLine2?: string | null | undefined;
|
|
3493
|
+
city?: string | null | undefined;
|
|
3494
|
+
postalCode?: string | null | undefined;
|
|
3495
|
+
country?: string | null | undefined;
|
|
3492
3496
|
} | null | undefined;
|
|
3493
3497
|
dueDate?: Date | null | undefined;
|
|
3494
3498
|
notes?: string | null | undefined;
|
|
3495
3499
|
lineItems?: {
|
|
3496
|
-
quantity: number;
|
|
3497
|
-
id: number;
|
|
3498
3500
|
description: string;
|
|
3501
|
+
id: number;
|
|
3499
3502
|
createdAt: Date;
|
|
3500
3503
|
invoiceId: string;
|
|
3504
|
+
quantity: number;
|
|
3501
3505
|
unitPrice: number;
|
|
3502
3506
|
total: number;
|
|
3503
3507
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3507,8 +3511,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3507
3511
|
type: "SALE" | "PURCHASE";
|
|
3508
3512
|
status: string;
|
|
3509
3513
|
id: string;
|
|
3510
|
-
userId: number;
|
|
3511
3514
|
createdAt: Date;
|
|
3515
|
+
userId: number;
|
|
3512
3516
|
currency: string;
|
|
3513
3517
|
orderId: string;
|
|
3514
3518
|
updatedAt: Date;
|
|
@@ -3517,21 +3521,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3517
3521
|
businessProfileId: string;
|
|
3518
3522
|
issueDate: Date;
|
|
3519
3523
|
subtotal: number;
|
|
3520
|
-
vatAmount?: number | null | undefined;
|
|
3521
3524
|
fileId?: string | null | undefined;
|
|
3525
|
+
vatAmount?: number | null | undefined;
|
|
3522
3526
|
file?: {
|
|
3523
3527
|
path: string;
|
|
3524
3528
|
id: string;
|
|
3525
|
-
userId: number;
|
|
3526
3529
|
createdAt: Date;
|
|
3530
|
+
userId: number;
|
|
3527
3531
|
signedUrl: string;
|
|
3528
3532
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3529
3533
|
} | null | undefined;
|
|
3530
3534
|
vatRate?: number | null | undefined;
|
|
3531
3535
|
businessProfile?: {
|
|
3532
3536
|
id: string;
|
|
3533
|
-
userId: number;
|
|
3534
3537
|
createdAt: Date;
|
|
3538
|
+
userId: number;
|
|
3535
3539
|
updatedAt: Date;
|
|
3536
3540
|
businessName: string;
|
|
3537
3541
|
address: string;
|
|
@@ -3544,11 +3548,12 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3544
3548
|
logo?: {
|
|
3545
3549
|
path: string;
|
|
3546
3550
|
id: string;
|
|
3547
|
-
userId: number;
|
|
3548
3551
|
createdAt: Date;
|
|
3552
|
+
userId: number;
|
|
3549
3553
|
signedUrl: string;
|
|
3550
3554
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3551
3555
|
} | null | undefined;
|
|
3556
|
+
vatRegime?: unknown;
|
|
3552
3557
|
} | null | undefined;
|
|
3553
3558
|
customerId?: string | null | undefined;
|
|
3554
3559
|
customer?: {
|
|
@@ -3557,26 +3562,26 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3557
3562
|
firstName: string;
|
|
3558
3563
|
lastName: string;
|
|
3559
3564
|
phoneVerified: boolean;
|
|
3560
|
-
postalCode?: string | null | undefined;
|
|
3561
|
-
city?: string | null | undefined;
|
|
3562
|
-
country?: string | null | undefined;
|
|
3563
|
-
email?: string | null | undefined;
|
|
3564
|
-
addressLine1?: string | null | undefined;
|
|
3565
|
-
addressLine2?: string | null | undefined;
|
|
3566
3565
|
birthDate?: Date | null | undefined;
|
|
3566
|
+
email?: string | null | undefined;
|
|
3567
3567
|
idNumber?: string | null | undefined;
|
|
3568
3568
|
phone?: string | null | undefined;
|
|
3569
3569
|
iban?: string | null | undefined;
|
|
3570
3570
|
bic?: string | null | undefined;
|
|
3571
|
+
addressLine1?: string | null | undefined;
|
|
3572
|
+
addressLine2?: string | null | undefined;
|
|
3573
|
+
city?: string | null | undefined;
|
|
3574
|
+
postalCode?: string | null | undefined;
|
|
3575
|
+
country?: string | null | undefined;
|
|
3571
3576
|
} | null | undefined;
|
|
3572
3577
|
dueDate?: Date | null | undefined;
|
|
3573
3578
|
notes?: string | null | undefined;
|
|
3574
3579
|
lineItems?: {
|
|
3575
|
-
quantity: number;
|
|
3576
|
-
id: number;
|
|
3577
3580
|
description: string;
|
|
3581
|
+
id: number;
|
|
3578
3582
|
createdAt: Date;
|
|
3579
3583
|
invoiceId: string;
|
|
3584
|
+
quantity: number;
|
|
3580
3585
|
unitPrice: number;
|
|
3581
3586
|
total: number;
|
|
3582
3587
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3587,42 +3592,42 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3587
3592
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
3588
3593
|
labels?: {
|
|
3589
3594
|
id: string;
|
|
3590
|
-
orderId: string;
|
|
3591
3595
|
fileId: string;
|
|
3596
|
+
orderId: string;
|
|
3592
3597
|
nonCroppedFileId: string;
|
|
3593
3598
|
originalFileId: string;
|
|
3594
|
-
|
|
3599
|
+
originalFile?: {
|
|
3595
3600
|
path: string;
|
|
3596
3601
|
id: string;
|
|
3597
|
-
userId: number;
|
|
3598
3602
|
createdAt: Date;
|
|
3603
|
+
userId: number;
|
|
3599
3604
|
signedUrl: string;
|
|
3600
3605
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3601
3606
|
} | null | undefined;
|
|
3602
|
-
|
|
3607
|
+
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;
|
|
3608
|
+
file?: {
|
|
3603
3609
|
path: string;
|
|
3604
3610
|
id: string;
|
|
3605
|
-
userId: number;
|
|
3606
3611
|
createdAt: Date;
|
|
3612
|
+
userId: number;
|
|
3607
3613
|
signedUrl: string;
|
|
3608
3614
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3609
3615
|
} | null | undefined;
|
|
3610
|
-
|
|
3616
|
+
nonCroppedFile?: {
|
|
3611
3617
|
path: string;
|
|
3612
3618
|
id: string;
|
|
3613
|
-
userId: number;
|
|
3614
3619
|
createdAt: Date;
|
|
3620
|
+
userId: number;
|
|
3615
3621
|
signedUrl: string;
|
|
3616
3622
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3617
3623
|
} | null | undefined;
|
|
3618
|
-
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;
|
|
3619
3624
|
}[] | null | undefined;
|
|
3620
3625
|
invoices?: {
|
|
3621
3626
|
type: "SALE" | "PURCHASE";
|
|
3622
3627
|
status: string;
|
|
3623
3628
|
id: string;
|
|
3624
|
-
userId: number;
|
|
3625
3629
|
createdAt: Date;
|
|
3630
|
+
userId: number;
|
|
3626
3631
|
currency: string;
|
|
3627
3632
|
orderId: string;
|
|
3628
3633
|
updatedAt: Date;
|
|
@@ -3631,21 +3636,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3631
3636
|
businessProfileId: string;
|
|
3632
3637
|
issueDate: Date;
|
|
3633
3638
|
subtotal: number;
|
|
3634
|
-
vatAmount?: number | null | undefined;
|
|
3635
3639
|
fileId?: string | null | undefined;
|
|
3640
|
+
vatAmount?: number | null | undefined;
|
|
3636
3641
|
file?: {
|
|
3637
3642
|
path: string;
|
|
3638
3643
|
id: string;
|
|
3639
|
-
userId: number;
|
|
3640
3644
|
createdAt: Date;
|
|
3645
|
+
userId: number;
|
|
3641
3646
|
signedUrl: string;
|
|
3642
3647
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3643
3648
|
} | null | undefined;
|
|
3644
3649
|
vatRate?: number | null | undefined;
|
|
3645
3650
|
businessProfile?: {
|
|
3646
3651
|
id: string;
|
|
3647
|
-
userId: number;
|
|
3648
3652
|
createdAt: Date;
|
|
3653
|
+
userId: number;
|
|
3649
3654
|
updatedAt: Date;
|
|
3650
3655
|
businessName: string;
|
|
3651
3656
|
address: string;
|
|
@@ -3658,11 +3663,12 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3658
3663
|
logo?: {
|
|
3659
3664
|
path: string;
|
|
3660
3665
|
id: string;
|
|
3661
|
-
userId: number;
|
|
3662
3666
|
createdAt: Date;
|
|
3667
|
+
userId: number;
|
|
3663
3668
|
signedUrl: string;
|
|
3664
3669
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3665
3670
|
} | null | undefined;
|
|
3671
|
+
vatRegime?: "UNKNOWN" | "MARGIN" | "FRANCHISE" | "NORMAL" | null | undefined;
|
|
3666
3672
|
} | null | undefined;
|
|
3667
3673
|
customerId?: string | null | undefined;
|
|
3668
3674
|
customer?: {
|
|
@@ -3671,26 +3677,26 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3671
3677
|
firstName: string;
|
|
3672
3678
|
lastName: string;
|
|
3673
3679
|
phoneVerified: boolean;
|
|
3674
|
-
postalCode?: string | null | undefined;
|
|
3675
|
-
city?: string | null | undefined;
|
|
3676
|
-
country?: string | null | undefined;
|
|
3677
|
-
email?: string | null | undefined;
|
|
3678
|
-
addressLine1?: string | null | undefined;
|
|
3679
|
-
addressLine2?: string | null | undefined;
|
|
3680
3680
|
birthDate?: Date | null | undefined;
|
|
3681
|
+
email?: string | null | undefined;
|
|
3681
3682
|
idNumber?: string | null | undefined;
|
|
3682
3683
|
phone?: string | null | undefined;
|
|
3683
3684
|
iban?: string | null | undefined;
|
|
3684
3685
|
bic?: string | null | undefined;
|
|
3686
|
+
addressLine1?: string | null | undefined;
|
|
3687
|
+
addressLine2?: string | null | undefined;
|
|
3688
|
+
city?: string | null | undefined;
|
|
3689
|
+
postalCode?: string | null | undefined;
|
|
3690
|
+
country?: string | null | undefined;
|
|
3685
3691
|
} | null | undefined;
|
|
3686
3692
|
dueDate?: Date | null | undefined;
|
|
3687
3693
|
notes?: string | null | undefined;
|
|
3688
3694
|
lineItems?: {
|
|
3689
|
-
quantity: number;
|
|
3690
|
-
id: number;
|
|
3691
3695
|
description: string;
|
|
3696
|
+
id: number;
|
|
3692
3697
|
createdAt: Date;
|
|
3693
3698
|
invoiceId: string;
|
|
3699
|
+
quantity: number;
|
|
3694
3700
|
unitPrice: number;
|
|
3695
3701
|
total: number;
|
|
3696
3702
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3701,42 +3707,42 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3701
3707
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
3702
3708
|
labels?: {
|
|
3703
3709
|
id: string;
|
|
3704
|
-
orderId: string;
|
|
3705
3710
|
fileId: string;
|
|
3711
|
+
orderId: string;
|
|
3706
3712
|
nonCroppedFileId: string;
|
|
3707
3713
|
originalFileId: string;
|
|
3708
|
-
|
|
3714
|
+
originalFile?: {
|
|
3709
3715
|
path: string;
|
|
3710
3716
|
id: string;
|
|
3711
|
-
userId: number;
|
|
3712
3717
|
createdAt: Date;
|
|
3718
|
+
userId: number;
|
|
3713
3719
|
signedUrl: string;
|
|
3714
3720
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3715
3721
|
} | null | undefined;
|
|
3716
|
-
|
|
3722
|
+
carrier?: unknown;
|
|
3723
|
+
file?: {
|
|
3717
3724
|
path: string;
|
|
3718
3725
|
id: string;
|
|
3719
|
-
userId: number;
|
|
3720
3726
|
createdAt: Date;
|
|
3727
|
+
userId: number;
|
|
3721
3728
|
signedUrl: string;
|
|
3722
3729
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3723
3730
|
} | null | undefined;
|
|
3724
|
-
|
|
3731
|
+
nonCroppedFile?: {
|
|
3725
3732
|
path: string;
|
|
3726
3733
|
id: string;
|
|
3727
|
-
userId: number;
|
|
3728
3734
|
createdAt: Date;
|
|
3735
|
+
userId: number;
|
|
3729
3736
|
signedUrl: string;
|
|
3730
3737
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3731
3738
|
} | null | undefined;
|
|
3732
|
-
carrier?: unknown;
|
|
3733
3739
|
}[] | null | undefined;
|
|
3734
3740
|
invoices?: {
|
|
3735
3741
|
type: "SALE" | "PURCHASE";
|
|
3736
3742
|
status: string;
|
|
3737
3743
|
id: string;
|
|
3738
|
-
userId: number;
|
|
3739
3744
|
createdAt: Date;
|
|
3745
|
+
userId: number;
|
|
3740
3746
|
currency: string;
|
|
3741
3747
|
orderId: string;
|
|
3742
3748
|
updatedAt: Date;
|
|
@@ -3745,21 +3751,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3745
3751
|
businessProfileId: string;
|
|
3746
3752
|
issueDate: Date;
|
|
3747
3753
|
subtotal: number;
|
|
3748
|
-
vatAmount?: number | null | undefined;
|
|
3749
3754
|
fileId?: string | null | undefined;
|
|
3755
|
+
vatAmount?: number | null | undefined;
|
|
3750
3756
|
file?: {
|
|
3751
3757
|
path: string;
|
|
3752
3758
|
id: string;
|
|
3753
|
-
userId: number;
|
|
3754
3759
|
createdAt: Date;
|
|
3760
|
+
userId: number;
|
|
3755
3761
|
signedUrl: string;
|
|
3756
3762
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3757
3763
|
} | null | undefined;
|
|
3758
3764
|
vatRate?: number | null | undefined;
|
|
3759
3765
|
businessProfile?: {
|
|
3760
3766
|
id: string;
|
|
3761
|
-
userId: number;
|
|
3762
3767
|
createdAt: Date;
|
|
3768
|
+
userId: number;
|
|
3763
3769
|
updatedAt: Date;
|
|
3764
3770
|
businessName: string;
|
|
3765
3771
|
address: string;
|
|
@@ -3772,11 +3778,12 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3772
3778
|
logo?: {
|
|
3773
3779
|
path: string;
|
|
3774
3780
|
id: string;
|
|
3775
|
-
userId: number;
|
|
3776
3781
|
createdAt: Date;
|
|
3782
|
+
userId: number;
|
|
3777
3783
|
signedUrl: string;
|
|
3778
3784
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3779
3785
|
} | null | undefined;
|
|
3786
|
+
vatRegime?: unknown;
|
|
3780
3787
|
} | null | undefined;
|
|
3781
3788
|
customerId?: string | null | undefined;
|
|
3782
3789
|
customer?: {
|
|
@@ -3785,26 +3792,26 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3785
3792
|
firstName: string;
|
|
3786
3793
|
lastName: string;
|
|
3787
3794
|
phoneVerified: boolean;
|
|
3788
|
-
postalCode?: string | null | undefined;
|
|
3789
|
-
city?: string | null | undefined;
|
|
3790
|
-
country?: string | null | undefined;
|
|
3791
|
-
email?: string | null | undefined;
|
|
3792
|
-
addressLine1?: string | null | undefined;
|
|
3793
|
-
addressLine2?: string | null | undefined;
|
|
3794
3795
|
birthDate?: Date | null | undefined;
|
|
3796
|
+
email?: string | null | undefined;
|
|
3795
3797
|
idNumber?: string | null | undefined;
|
|
3796
3798
|
phone?: string | null | undefined;
|
|
3797
3799
|
iban?: string | null | undefined;
|
|
3798
3800
|
bic?: string | null | undefined;
|
|
3801
|
+
addressLine1?: string | null | undefined;
|
|
3802
|
+
addressLine2?: string | null | undefined;
|
|
3803
|
+
city?: string | null | undefined;
|
|
3804
|
+
postalCode?: string | null | undefined;
|
|
3805
|
+
country?: string | null | undefined;
|
|
3799
3806
|
} | null | undefined;
|
|
3800
3807
|
dueDate?: Date | null | undefined;
|
|
3801
3808
|
notes?: string | null | undefined;
|
|
3802
3809
|
lineItems?: {
|
|
3803
|
-
quantity: number;
|
|
3804
|
-
id: number;
|
|
3805
3810
|
description: string;
|
|
3811
|
+
id: number;
|
|
3806
3812
|
createdAt: Date;
|
|
3807
3813
|
invoiceId: string;
|
|
3814
|
+
quantity: number;
|
|
3808
3815
|
unitPrice: number;
|
|
3809
3816
|
total: number;
|
|
3810
3817
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3814,29 +3821,45 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3814
3821
|
}>>>;
|
|
3815
3822
|
analysisStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "COMPLETED", "FAILED"]>>>;
|
|
3816
3823
|
}, "strip", z.ZodTypeAny, {
|
|
3817
|
-
|
|
3818
|
-
|
|
3824
|
+
actions: {
|
|
3825
|
+
perAccount: Record<string, ("REPUBLISH" | "UNKNOWN" | "PUBLISH" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE" | "UPDATE_CANCEL" | "BOOST")[]>;
|
|
3826
|
+
};
|
|
3819
3827
|
name: string;
|
|
3828
|
+
id: number;
|
|
3820
3829
|
createdAt: Date;
|
|
3830
|
+
userId: number;
|
|
3821
3831
|
updatedAt: Date;
|
|
3822
3832
|
sold: boolean;
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3833
|
+
fees?: {
|
|
3834
|
+
value: number;
|
|
3835
|
+
type: string;
|
|
3836
|
+
name: string;
|
|
3837
|
+
id: number;
|
|
3838
|
+
createdAt: Date;
|
|
3839
|
+
userId: number;
|
|
3840
|
+
updatedAt: Date;
|
|
3841
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
3842
|
+
startDate: Date;
|
|
3843
|
+
active: boolean;
|
|
3844
|
+
description?: string | null | undefined;
|
|
3845
|
+
itemId?: number | null | undefined;
|
|
3846
|
+
endDate?: Date | null | undefined;
|
|
3847
|
+
parentFeeId?: number | null | undefined;
|
|
3848
|
+
}[] | null | undefined;
|
|
3826
3849
|
description?: string | null | undefined;
|
|
3827
3850
|
categoryId?: number | null | undefined;
|
|
3828
|
-
|
|
3851
|
+
sizeId?: number | null | undefined;
|
|
3829
3852
|
colorIds?: number[] | null | undefined;
|
|
3853
|
+
packageSizeId?: number | null | undefined;
|
|
3854
|
+
state?: number | null | undefined;
|
|
3830
3855
|
measurementLength?: number | null | undefined;
|
|
3831
3856
|
measurementWidth?: number | null | undefined;
|
|
3832
|
-
packageSizeId?: number | null | undefined;
|
|
3833
|
-
sizeId?: number | null | undefined;
|
|
3834
3857
|
labels?: {
|
|
3835
3858
|
itemId: number;
|
|
3836
3859
|
labelId: number;
|
|
3837
3860
|
label?: {
|
|
3838
|
-
id: number;
|
|
3839
3861
|
name: string;
|
|
3862
|
+
id: number;
|
|
3840
3863
|
createdAt: Date;
|
|
3841
3864
|
isUserLabel: boolean;
|
|
3842
3865
|
itemCount?: number | null | undefined;
|
|
@@ -3849,50 +3872,86 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3849
3872
|
fieldKey: string;
|
|
3850
3873
|
}[] | null | undefined;
|
|
3851
3874
|
sku?: string | null | undefined;
|
|
3875
|
+
sex?: string | null | undefined;
|
|
3876
|
+
platforms?: {
|
|
3877
|
+
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
3878
|
+
id: string;
|
|
3879
|
+
createdAt: Date;
|
|
3880
|
+
accountId: string;
|
|
3881
|
+
itemId: number;
|
|
3882
|
+
platformId: string;
|
|
3883
|
+
platformUrl: string;
|
|
3884
|
+
platformPrice: number;
|
|
3885
|
+
updatedAt: Date;
|
|
3886
|
+
publishedAt: Date;
|
|
3887
|
+
conversationId?: string | null | undefined;
|
|
3888
|
+
boostedAt?: Date | null | undefined;
|
|
3889
|
+
boostedUntil?: Date | null | undefined;
|
|
3890
|
+
viewsCount?: number | null | undefined;
|
|
3891
|
+
favoritesCount?: number | null | undefined;
|
|
3892
|
+
account?: {
|
|
3893
|
+
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
3894
|
+
name: string;
|
|
3895
|
+
userId: number;
|
|
3896
|
+
accountId: string;
|
|
3897
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3898
|
+
locale?: string | null | undefined;
|
|
3899
|
+
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
3900
|
+
restrictedUntil?: Date | null | undefined;
|
|
3901
|
+
night?: {
|
|
3902
|
+
startsAt: Date;
|
|
3903
|
+
endsAt: Date;
|
|
3904
|
+
} | null | undefined;
|
|
3905
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
3906
|
+
ordersMaxDelay?: number | null | undefined;
|
|
3907
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
3908
|
+
walletMaxDelay?: number | null | undefined;
|
|
3909
|
+
availableBalance?: number | null | undefined;
|
|
3910
|
+
pendingBalance?: number | null | undefined;
|
|
3911
|
+
profilePictureFileId?: string | null | undefined;
|
|
3912
|
+
profilePicture?: {
|
|
3913
|
+
path: string;
|
|
3914
|
+
id: string;
|
|
3915
|
+
createdAt: Date;
|
|
3916
|
+
userId: number;
|
|
3917
|
+
signedUrl: string;
|
|
3918
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3919
|
+
} | null | undefined;
|
|
3920
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
3921
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
3922
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
3923
|
+
} | null | undefined;
|
|
3924
|
+
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;
|
|
3925
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
3926
|
+
isBoosted?: boolean | null | undefined;
|
|
3927
|
+
}[] | null | undefined;
|
|
3928
|
+
brandId?: number | null | undefined;
|
|
3929
|
+
estimatedPrice?: number | null | undefined;
|
|
3930
|
+
purchaseDate?: Date | null | undefined;
|
|
3931
|
+
sellingDate?: Date | null | undefined;
|
|
3852
3932
|
fields?: {
|
|
3853
3933
|
value: string;
|
|
3854
3934
|
itemId: number;
|
|
3855
3935
|
fieldId: number;
|
|
3856
3936
|
}[] | null | undefined;
|
|
3857
3937
|
files?: {
|
|
3858
|
-
itemId: number;
|
|
3859
3938
|
fileId: string;
|
|
3939
|
+
itemId: number;
|
|
3860
3940
|
file?: {
|
|
3861
3941
|
path: string;
|
|
3862
3942
|
id: string;
|
|
3863
|
-
userId: number;
|
|
3864
3943
|
createdAt: Date;
|
|
3944
|
+
userId: number;
|
|
3865
3945
|
signedUrl: string;
|
|
3866
3946
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3867
3947
|
} | null | undefined;
|
|
3868
3948
|
index?: number | null | undefined;
|
|
3869
3949
|
}[] | null | undefined;
|
|
3870
|
-
brandId?: number | null | undefined;
|
|
3871
|
-
sex?: string | null | undefined;
|
|
3872
3950
|
purchasePrice?: number | null | undefined;
|
|
3873
|
-
purchaseDate?: Date | null | undefined;
|
|
3874
3951
|
purchasePlaceId?: number | null | undefined;
|
|
3875
3952
|
purchased?: boolean | null | undefined;
|
|
3876
3953
|
sellingPrice?: number | null | undefined;
|
|
3877
|
-
sellingDate?: Date | null | undefined;
|
|
3878
3954
|
sellingPlaceId?: number | null | undefined;
|
|
3879
|
-
estimatedPrice?: number | null | undefined;
|
|
3880
|
-
fees?: {
|
|
3881
|
-
value: number;
|
|
3882
|
-
type: string;
|
|
3883
|
-
id: number;
|
|
3884
|
-
userId: number;
|
|
3885
|
-
name: string;
|
|
3886
|
-
createdAt: Date;
|
|
3887
|
-
updatedAt: Date;
|
|
3888
|
-
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
3889
|
-
startDate: Date;
|
|
3890
|
-
active: boolean;
|
|
3891
|
-
description?: string | null | undefined;
|
|
3892
|
-
itemId?: number | null | undefined;
|
|
3893
|
-
endDate?: Date | null | undefined;
|
|
3894
|
-
parentFeeId?: number | null | undefined;
|
|
3895
|
-
}[] | null | undefined;
|
|
3896
3955
|
feesSum?: number | null | undefined;
|
|
3897
3956
|
materialIds?: number[] | null | undefined;
|
|
3898
3957
|
enumValues?: {
|
|
@@ -3908,7 +3967,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3908
3967
|
id: string;
|
|
3909
3968
|
createdAt: Date;
|
|
3910
3969
|
itemId: number;
|
|
3911
|
-
accountId?: string | null | undefined;
|
|
3912
3970
|
data?: {
|
|
3913
3971
|
type: "ACTION_CANCELED";
|
|
3914
3972
|
data: {
|
|
@@ -3944,7 +4002,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3944
4002
|
accountId?: string | null | undefined;
|
|
3945
4003
|
reason?: string | null | undefined;
|
|
3946
4004
|
fields?: {
|
|
3947
|
-
field: "
|
|
4005
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
3948
4006
|
autoFixable: boolean;
|
|
3949
4007
|
error?: string | null | undefined;
|
|
3950
4008
|
}[] | null | undefined;
|
|
@@ -3974,23 +4032,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3974
4032
|
post: {
|
|
3975
4033
|
platformId: string;
|
|
3976
4034
|
post: {
|
|
3977
|
-
size?: string | null | undefined;
|
|
3978
4035
|
status?: string | null | undefined;
|
|
3979
4036
|
title?: string | null | undefined;
|
|
3980
4037
|
description?: string | null | undefined;
|
|
4038
|
+
brand?: string | null | undefined;
|
|
4039
|
+
statusId?: number | null | undefined;
|
|
4040
|
+
sizeId?: number | null | undefined;
|
|
4041
|
+
colorIds?: number[] | null | undefined;
|
|
4042
|
+
packageSizeId?: number | null | undefined;
|
|
3981
4043
|
price?: number | null | undefined;
|
|
3982
4044
|
currency?: string | null | undefined;
|
|
3983
|
-
brand?: string | null | undefined;
|
|
3984
4045
|
catalog?: string | null | undefined;
|
|
3985
4046
|
catalogId?: number | null | undefined;
|
|
3986
4047
|
colors?: string[] | null | undefined;
|
|
3987
|
-
colorIds?: number[] | null | undefined;
|
|
3988
4048
|
measurementLength?: number | null | undefined;
|
|
3989
4049
|
measurementWidth?: number | null | undefined;
|
|
3990
|
-
packageSizeId?: number | null | undefined;
|
|
3991
4050
|
photoUrls?: string[] | null | undefined;
|
|
3992
|
-
|
|
3993
|
-
statusId?: number | null | undefined;
|
|
4051
|
+
size?: string | null | undefined;
|
|
3994
4052
|
isDraft?: boolean | null | undefined;
|
|
3995
4053
|
isArchived?: boolean | null | undefined;
|
|
3996
4054
|
isUnisex?: boolean | null | undefined;
|
|
@@ -4033,8 +4091,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4033
4091
|
} | {
|
|
4034
4092
|
type: "LIFECYCLE_STARTED";
|
|
4035
4093
|
data: {
|
|
4036
|
-
accountId: string;
|
|
4037
4094
|
caseId: string;
|
|
4095
|
+
accountId: string;
|
|
4038
4096
|
isRepeat?: boolean | null | undefined;
|
|
4039
4097
|
};
|
|
4040
4098
|
} | {
|
|
@@ -4073,17 +4131,17 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4073
4131
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
4074
4132
|
} | null | undefined;
|
|
4075
4133
|
} | null | undefined;
|
|
4076
|
-
targetAccountId?: string | null | undefined;
|
|
4077
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
4078
4134
|
publishingDate?: Date | null | undefined;
|
|
4079
4135
|
isTransfer?: boolean | null | undefined;
|
|
4136
|
+
targetAccountId?: string | null | undefined;
|
|
4137
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
4080
4138
|
};
|
|
4081
4139
|
} | {
|
|
4082
4140
|
type: "REPUBLISHING_RETRY";
|
|
4083
4141
|
data: {
|
|
4142
|
+
maxAttempts: number;
|
|
4084
4143
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4085
4144
|
attemptNumber: number;
|
|
4086
|
-
maxAttempts: number;
|
|
4087
4145
|
previousHistoryId: string;
|
|
4088
4146
|
originalFailureDate: Date;
|
|
4089
4147
|
payload?: {
|
|
@@ -4111,7 +4169,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4111
4169
|
} | null | undefined;
|
|
4112
4170
|
} | null | undefined;
|
|
4113
4171
|
fields?: {
|
|
4114
|
-
field: "
|
|
4172
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
4115
4173
|
autoFixable: boolean;
|
|
4116
4174
|
error?: string | null | undefined;
|
|
4117
4175
|
}[] | null | undefined;
|
|
@@ -4125,13 +4183,13 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4125
4183
|
} | {
|
|
4126
4184
|
type: "SCHEDULED_RETRY";
|
|
4127
4185
|
data: {
|
|
4186
|
+
maxAttempts: number;
|
|
4128
4187
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4129
4188
|
attemptNumber: number;
|
|
4130
|
-
maxAttempts: number;
|
|
4131
4189
|
previousHistoryId: string;
|
|
4132
4190
|
originalFailureDate: Date;
|
|
4133
4191
|
fields?: {
|
|
4134
|
-
field: "
|
|
4192
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
4135
4193
|
autoFixable: boolean;
|
|
4136
4194
|
error?: string | null | undefined;
|
|
4137
4195
|
}[] | null | undefined;
|
|
@@ -4160,103 +4218,52 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4160
4218
|
targetDate?: Date | null | undefined;
|
|
4161
4219
|
};
|
|
4162
4220
|
} | null | undefined;
|
|
4221
|
+
accountId?: string | null | undefined;
|
|
4163
4222
|
targetDate?: Date | null | undefined;
|
|
4164
4223
|
requestId?: string | null | undefined;
|
|
4165
4224
|
targetHistoryId?: string | null | undefined;
|
|
4166
4225
|
} | null | undefined;
|
|
4167
|
-
platforms?: {
|
|
4168
|
-
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
4169
|
-
id: string;
|
|
4170
|
-
accountId: string;
|
|
4171
|
-
createdAt: Date;
|
|
4172
|
-
itemId: number;
|
|
4173
|
-
platformId: string;
|
|
4174
|
-
platformUrl: string;
|
|
4175
|
-
platformPrice: number;
|
|
4176
|
-
updatedAt: Date;
|
|
4177
|
-
publishedAt: Date;
|
|
4178
|
-
conversationId?: string | null | undefined;
|
|
4179
|
-
boostedAt?: Date | null | undefined;
|
|
4180
|
-
boostedUntil?: Date | null | undefined;
|
|
4181
|
-
viewsCount?: number | null | undefined;
|
|
4182
|
-
favoritesCount?: number | null | undefined;
|
|
4183
|
-
account?: {
|
|
4184
|
-
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
4185
|
-
accountId: string;
|
|
4186
|
-
userId: number;
|
|
4187
|
-
name: string;
|
|
4188
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4189
|
-
locale?: string | null | undefined;
|
|
4190
|
-
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
4191
|
-
restrictedUntil?: Date | null | undefined;
|
|
4192
|
-
night?: {
|
|
4193
|
-
startsAt: Date;
|
|
4194
|
-
endsAt: Date;
|
|
4195
|
-
} | null | undefined;
|
|
4196
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
4197
|
-
ordersMaxDelay?: number | null | undefined;
|
|
4198
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
4199
|
-
walletMaxDelay?: number | null | undefined;
|
|
4200
|
-
availableBalance?: number | null | undefined;
|
|
4201
|
-
pendingBalance?: number | null | undefined;
|
|
4202
|
-
profilePictureFileId?: string | null | undefined;
|
|
4203
|
-
profilePicture?: {
|
|
4204
|
-
path: string;
|
|
4205
|
-
id: string;
|
|
4206
|
-
userId: number;
|
|
4207
|
-
createdAt: Date;
|
|
4208
|
-
signedUrl: string;
|
|
4209
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4210
|
-
} | null | undefined;
|
|
4211
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
4212
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
4213
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
4214
|
-
} | null | undefined;
|
|
4215
|
-
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;
|
|
4216
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
4217
|
-
isBoosted?: boolean | null | undefined;
|
|
4218
|
-
}[] | null | undefined;
|
|
4219
4226
|
sourceInConversation?: "UNKNOWN" | "DELETED" | "ORDER" | "TRANSACTION" | null | undefined;
|
|
4220
4227
|
order?: {
|
|
4221
4228
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
4222
4229
|
labels?: {
|
|
4223
4230
|
id: string;
|
|
4224
|
-
orderId: string;
|
|
4225
4231
|
fileId: string;
|
|
4232
|
+
orderId: string;
|
|
4226
4233
|
nonCroppedFileId: string;
|
|
4227
4234
|
originalFileId: string;
|
|
4228
|
-
|
|
4235
|
+
originalFile?: {
|
|
4229
4236
|
path: string;
|
|
4230
4237
|
id: string;
|
|
4231
|
-
userId: number;
|
|
4232
4238
|
createdAt: Date;
|
|
4239
|
+
userId: number;
|
|
4233
4240
|
signedUrl: string;
|
|
4234
4241
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4235
4242
|
} | null | undefined;
|
|
4236
|
-
|
|
4243
|
+
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;
|
|
4244
|
+
file?: {
|
|
4237
4245
|
path: string;
|
|
4238
4246
|
id: string;
|
|
4239
|
-
userId: number;
|
|
4240
4247
|
createdAt: Date;
|
|
4248
|
+
userId: number;
|
|
4241
4249
|
signedUrl: string;
|
|
4242
4250
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4243
4251
|
} | null | undefined;
|
|
4244
|
-
|
|
4252
|
+
nonCroppedFile?: {
|
|
4245
4253
|
path: string;
|
|
4246
4254
|
id: string;
|
|
4247
|
-
userId: number;
|
|
4248
4255
|
createdAt: Date;
|
|
4256
|
+
userId: number;
|
|
4249
4257
|
signedUrl: string;
|
|
4250
4258
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4251
4259
|
} | null | undefined;
|
|
4252
|
-
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;
|
|
4253
4260
|
}[] | null | undefined;
|
|
4254
4261
|
invoices?: {
|
|
4255
4262
|
type: "SALE" | "PURCHASE";
|
|
4256
4263
|
status: string;
|
|
4257
4264
|
id: string;
|
|
4258
|
-
userId: number;
|
|
4259
4265
|
createdAt: Date;
|
|
4266
|
+
userId: number;
|
|
4260
4267
|
currency: string;
|
|
4261
4268
|
orderId: string;
|
|
4262
4269
|
updatedAt: Date;
|
|
@@ -4265,21 +4272,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4265
4272
|
businessProfileId: string;
|
|
4266
4273
|
issueDate: Date;
|
|
4267
4274
|
subtotal: number;
|
|
4268
|
-
vatAmount?: number | null | undefined;
|
|
4269
4275
|
fileId?: string | null | undefined;
|
|
4276
|
+
vatAmount?: number | null | undefined;
|
|
4270
4277
|
file?: {
|
|
4271
4278
|
path: string;
|
|
4272
4279
|
id: string;
|
|
4273
|
-
userId: number;
|
|
4274
4280
|
createdAt: Date;
|
|
4281
|
+
userId: number;
|
|
4275
4282
|
signedUrl: string;
|
|
4276
4283
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4277
4284
|
} | null | undefined;
|
|
4278
4285
|
vatRate?: number | null | undefined;
|
|
4279
4286
|
businessProfile?: {
|
|
4280
4287
|
id: string;
|
|
4281
|
-
userId: number;
|
|
4282
4288
|
createdAt: Date;
|
|
4289
|
+
userId: number;
|
|
4283
4290
|
updatedAt: Date;
|
|
4284
4291
|
businessName: string;
|
|
4285
4292
|
address: string;
|
|
@@ -4292,11 +4299,12 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4292
4299
|
logo?: {
|
|
4293
4300
|
path: string;
|
|
4294
4301
|
id: string;
|
|
4295
|
-
userId: number;
|
|
4296
4302
|
createdAt: Date;
|
|
4303
|
+
userId: number;
|
|
4297
4304
|
signedUrl: string;
|
|
4298
4305
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4299
4306
|
} | null | undefined;
|
|
4307
|
+
vatRegime?: "UNKNOWN" | "MARGIN" | "FRANCHISE" | "NORMAL" | null | undefined;
|
|
4300
4308
|
} | null | undefined;
|
|
4301
4309
|
customerId?: string | null | undefined;
|
|
4302
4310
|
customer?: {
|
|
@@ -4305,26 +4313,26 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4305
4313
|
firstName: string;
|
|
4306
4314
|
lastName: string;
|
|
4307
4315
|
phoneVerified: boolean;
|
|
4308
|
-
postalCode?: string | null | undefined;
|
|
4309
|
-
city?: string | null | undefined;
|
|
4310
|
-
country?: string | null | undefined;
|
|
4311
|
-
email?: string | null | undefined;
|
|
4312
|
-
addressLine1?: string | null | undefined;
|
|
4313
|
-
addressLine2?: string | null | undefined;
|
|
4314
4316
|
birthDate?: Date | null | undefined;
|
|
4317
|
+
email?: string | null | undefined;
|
|
4315
4318
|
idNumber?: string | null | undefined;
|
|
4316
4319
|
phone?: string | null | undefined;
|
|
4317
4320
|
iban?: string | null | undefined;
|
|
4318
4321
|
bic?: string | null | undefined;
|
|
4322
|
+
addressLine1?: string | null | undefined;
|
|
4323
|
+
addressLine2?: string | null | undefined;
|
|
4324
|
+
city?: string | null | undefined;
|
|
4325
|
+
postalCode?: string | null | undefined;
|
|
4326
|
+
country?: string | null | undefined;
|
|
4319
4327
|
} | null | undefined;
|
|
4320
4328
|
dueDate?: Date | null | undefined;
|
|
4321
4329
|
notes?: string | null | undefined;
|
|
4322
4330
|
lineItems?: {
|
|
4323
|
-
quantity: number;
|
|
4324
|
-
id: number;
|
|
4325
4331
|
description: string;
|
|
4332
|
+
id: number;
|
|
4326
4333
|
createdAt: Date;
|
|
4327
4334
|
invoiceId: string;
|
|
4335
|
+
quantity: number;
|
|
4328
4336
|
unitPrice: number;
|
|
4329
4337
|
total: number;
|
|
4330
4338
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -4334,29 +4342,45 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4334
4342
|
} | null | undefined;
|
|
4335
4343
|
analysisStatus?: "PENDING" | "COMPLETED" | "FAILED" | null | undefined;
|
|
4336
4344
|
}, {
|
|
4337
|
-
|
|
4338
|
-
|
|
4345
|
+
actions: {
|
|
4346
|
+
perAccount: Record<string, unknown[]>;
|
|
4347
|
+
};
|
|
4339
4348
|
name: string;
|
|
4349
|
+
id: number;
|
|
4340
4350
|
createdAt: Date;
|
|
4351
|
+
userId: number;
|
|
4341
4352
|
updatedAt: Date;
|
|
4342
4353
|
sold: boolean;
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
|
|
4354
|
+
fees?: {
|
|
4355
|
+
value: number;
|
|
4356
|
+
type: string;
|
|
4357
|
+
name: string;
|
|
4358
|
+
id: number;
|
|
4359
|
+
createdAt: Date;
|
|
4360
|
+
userId: number;
|
|
4361
|
+
updatedAt: Date;
|
|
4362
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
4363
|
+
startDate: Date;
|
|
4364
|
+
active: boolean;
|
|
4365
|
+
description?: string | null | undefined;
|
|
4366
|
+
itemId?: number | null | undefined;
|
|
4367
|
+
endDate?: Date | null | undefined;
|
|
4368
|
+
parentFeeId?: number | null | undefined;
|
|
4369
|
+
}[] | null | undefined;
|
|
4346
4370
|
description?: string | null | undefined;
|
|
4347
4371
|
categoryId?: number | null | undefined;
|
|
4348
|
-
|
|
4372
|
+
sizeId?: number | null | undefined;
|
|
4349
4373
|
colorIds?: number[] | null | undefined;
|
|
4374
|
+
packageSizeId?: number | null | undefined;
|
|
4375
|
+
state?: number | null | undefined;
|
|
4350
4376
|
measurementLength?: number | null | undefined;
|
|
4351
4377
|
measurementWidth?: number | null | undefined;
|
|
4352
|
-
packageSizeId?: number | null | undefined;
|
|
4353
|
-
sizeId?: number | null | undefined;
|
|
4354
4378
|
labels?: {
|
|
4355
4379
|
itemId: number;
|
|
4356
4380
|
labelId: number;
|
|
4357
4381
|
label?: {
|
|
4358
|
-
id: number;
|
|
4359
4382
|
name: string;
|
|
4383
|
+
id: number;
|
|
4360
4384
|
createdAt: Date;
|
|
4361
4385
|
isUserLabel: boolean;
|
|
4362
4386
|
itemCount?: number | null | undefined;
|
|
@@ -4369,50 +4393,86 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4369
4393
|
fieldKey: string;
|
|
4370
4394
|
}[] | null | undefined;
|
|
4371
4395
|
sku?: string | null | undefined;
|
|
4396
|
+
sex?: string | null | undefined;
|
|
4397
|
+
platforms?: {
|
|
4398
|
+
id: string;
|
|
4399
|
+
createdAt: Date;
|
|
4400
|
+
accountId: string;
|
|
4401
|
+
itemId: number;
|
|
4402
|
+
platformId: string;
|
|
4403
|
+
platformUrl: string;
|
|
4404
|
+
platformPrice: number;
|
|
4405
|
+
updatedAt: Date;
|
|
4406
|
+
publishedAt: Date;
|
|
4407
|
+
status?: unknown;
|
|
4408
|
+
conversationId?: string | null | undefined;
|
|
4409
|
+
boostedAt?: Date | null | undefined;
|
|
4410
|
+
boostedUntil?: Date | null | undefined;
|
|
4411
|
+
viewsCount?: number | null | undefined;
|
|
4412
|
+
favoritesCount?: number | null | undefined;
|
|
4413
|
+
account?: {
|
|
4414
|
+
name: string;
|
|
4415
|
+
userId: number;
|
|
4416
|
+
accountId: string;
|
|
4417
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4418
|
+
status?: unknown;
|
|
4419
|
+
locale?: string | null | undefined;
|
|
4420
|
+
lockReason?: unknown;
|
|
4421
|
+
restrictedUntil?: Date | null | undefined;
|
|
4422
|
+
night?: {
|
|
4423
|
+
startsAt: Date;
|
|
4424
|
+
endsAt: Date;
|
|
4425
|
+
} | null | undefined;
|
|
4426
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
4427
|
+
ordersMaxDelay?: number | null | undefined;
|
|
4428
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
4429
|
+
walletMaxDelay?: number | null | undefined;
|
|
4430
|
+
availableBalance?: number | null | undefined;
|
|
4431
|
+
pendingBalance?: number | null | undefined;
|
|
4432
|
+
profilePictureFileId?: string | null | undefined;
|
|
4433
|
+
profilePicture?: {
|
|
4434
|
+
path: string;
|
|
4435
|
+
id: string;
|
|
4436
|
+
createdAt: Date;
|
|
4437
|
+
userId: number;
|
|
4438
|
+
signedUrl: string;
|
|
4439
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4440
|
+
} | null | undefined;
|
|
4441
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
4442
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
4443
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
4444
|
+
} | null | undefined;
|
|
4445
|
+
orderStatus?: unknown;
|
|
4446
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
4447
|
+
isBoosted?: boolean | null | undefined;
|
|
4448
|
+
}[] | null | undefined;
|
|
4449
|
+
brandId?: number | null | undefined;
|
|
4450
|
+
estimatedPrice?: number | null | undefined;
|
|
4451
|
+
purchaseDate?: Date | null | undefined;
|
|
4452
|
+
sellingDate?: Date | null | undefined;
|
|
4372
4453
|
fields?: {
|
|
4373
4454
|
value: string;
|
|
4374
4455
|
itemId: number;
|
|
4375
4456
|
fieldId: number;
|
|
4376
4457
|
}[] | null | undefined;
|
|
4377
4458
|
files?: {
|
|
4378
|
-
itemId: number;
|
|
4379
4459
|
fileId: string;
|
|
4460
|
+
itemId: number;
|
|
4380
4461
|
file?: {
|
|
4381
4462
|
path: string;
|
|
4382
4463
|
id: string;
|
|
4383
|
-
userId: number;
|
|
4384
4464
|
createdAt: Date;
|
|
4465
|
+
userId: number;
|
|
4385
4466
|
signedUrl: string;
|
|
4386
4467
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4387
4468
|
} | null | undefined;
|
|
4388
4469
|
index?: number | null | undefined;
|
|
4389
4470
|
}[] | null | undefined;
|
|
4390
|
-
brandId?: number | null | undefined;
|
|
4391
|
-
sex?: string | null | undefined;
|
|
4392
4471
|
purchasePrice?: number | null | undefined;
|
|
4393
|
-
purchaseDate?: Date | null | undefined;
|
|
4394
4472
|
purchasePlaceId?: number | null | undefined;
|
|
4395
4473
|
purchased?: boolean | null | undefined;
|
|
4396
4474
|
sellingPrice?: number | null | undefined;
|
|
4397
|
-
sellingDate?: Date | null | undefined;
|
|
4398
4475
|
sellingPlaceId?: number | null | undefined;
|
|
4399
|
-
estimatedPrice?: number | null | undefined;
|
|
4400
|
-
fees?: {
|
|
4401
|
-
value: number;
|
|
4402
|
-
type: string;
|
|
4403
|
-
id: number;
|
|
4404
|
-
userId: number;
|
|
4405
|
-
name: string;
|
|
4406
|
-
createdAt: Date;
|
|
4407
|
-
updatedAt: Date;
|
|
4408
|
-
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
4409
|
-
startDate: Date;
|
|
4410
|
-
active: boolean;
|
|
4411
|
-
description?: string | null | undefined;
|
|
4412
|
-
itemId?: number | null | undefined;
|
|
4413
|
-
endDate?: Date | null | undefined;
|
|
4414
|
-
parentFeeId?: number | null | undefined;
|
|
4415
|
-
}[] | null | undefined;
|
|
4416
4476
|
feesSum?: number | null | undefined;
|
|
4417
4477
|
materialIds?: number[] | null | undefined;
|
|
4418
4478
|
enumValues?: {
|
|
@@ -4428,7 +4488,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4428
4488
|
createdAt: Date;
|
|
4429
4489
|
itemId: number;
|
|
4430
4490
|
type?: unknown;
|
|
4431
|
-
accountId?: string | null | undefined;
|
|
4432
4491
|
data?: {
|
|
4433
4492
|
type: "ACTION_CANCELED";
|
|
4434
4493
|
data: {
|
|
@@ -4494,23 +4553,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4494
4553
|
post: {
|
|
4495
4554
|
platformId: string;
|
|
4496
4555
|
post: {
|
|
4497
|
-
size?: string | null | undefined;
|
|
4498
4556
|
status?: string | null | undefined;
|
|
4499
4557
|
title?: string | null | undefined;
|
|
4500
4558
|
description?: string | null | undefined;
|
|
4559
|
+
brand?: string | null | undefined;
|
|
4560
|
+
statusId?: number | null | undefined;
|
|
4561
|
+
sizeId?: number | null | undefined;
|
|
4562
|
+
colorIds?: number[] | null | undefined;
|
|
4563
|
+
packageSizeId?: number | null | undefined;
|
|
4501
4564
|
price?: number | null | undefined;
|
|
4502
4565
|
currency?: string | null | undefined;
|
|
4503
|
-
brand?: string | null | undefined;
|
|
4504
4566
|
catalog?: string | null | undefined;
|
|
4505
4567
|
catalogId?: number | null | undefined;
|
|
4506
4568
|
colors?: string[] | null | undefined;
|
|
4507
|
-
colorIds?: number[] | null | undefined;
|
|
4508
4569
|
measurementLength?: number | null | undefined;
|
|
4509
4570
|
measurementWidth?: number | null | undefined;
|
|
4510
|
-
packageSizeId?: number | null | undefined;
|
|
4511
4571
|
photoUrls?: string[] | null | undefined;
|
|
4512
|
-
|
|
4513
|
-
statusId?: number | null | undefined;
|
|
4572
|
+
size?: string | null | undefined;
|
|
4514
4573
|
isDraft?: boolean | null | undefined;
|
|
4515
4574
|
isArchived?: boolean | null | undefined;
|
|
4516
4575
|
isUnisex?: boolean | null | undefined;
|
|
@@ -4553,8 +4612,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4553
4612
|
} | {
|
|
4554
4613
|
type: "LIFECYCLE_STARTED";
|
|
4555
4614
|
data: {
|
|
4556
|
-
accountId: string;
|
|
4557
4615
|
caseId: string;
|
|
4616
|
+
accountId: string;
|
|
4558
4617
|
isRepeat?: boolean | null | undefined;
|
|
4559
4618
|
};
|
|
4560
4619
|
} | {
|
|
@@ -4593,17 +4652,17 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4593
4652
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
4594
4653
|
} | null | undefined;
|
|
4595
4654
|
} | null | undefined;
|
|
4596
|
-
targetAccountId?: string | null | undefined;
|
|
4597
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
4598
4655
|
publishingDate?: Date | null | undefined;
|
|
4599
4656
|
isTransfer?: boolean | null | undefined;
|
|
4657
|
+
targetAccountId?: string | null | undefined;
|
|
4658
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
4600
4659
|
};
|
|
4601
4660
|
} | {
|
|
4602
4661
|
type: "REPUBLISHING_RETRY";
|
|
4603
4662
|
data: {
|
|
4663
|
+
maxAttempts: number;
|
|
4604
4664
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4605
4665
|
attemptNumber: number;
|
|
4606
|
-
maxAttempts: number;
|
|
4607
4666
|
previousHistoryId: string;
|
|
4608
4667
|
originalFailureDate: Date;
|
|
4609
4668
|
payload?: {
|
|
@@ -4645,9 +4704,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4645
4704
|
} | {
|
|
4646
4705
|
type: "SCHEDULED_RETRY";
|
|
4647
4706
|
data: {
|
|
4707
|
+
maxAttempts: number;
|
|
4648
4708
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4649
4709
|
attemptNumber: number;
|
|
4650
|
-
maxAttempts: number;
|
|
4651
4710
|
previousHistoryId: string;
|
|
4652
4711
|
originalFailureDate: Date;
|
|
4653
4712
|
fields?: {
|
|
@@ -4680,103 +4739,52 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4680
4739
|
targetDate?: Date | null | undefined;
|
|
4681
4740
|
};
|
|
4682
4741
|
} | null | undefined;
|
|
4742
|
+
accountId?: string | null | undefined;
|
|
4683
4743
|
targetDate?: Date | null | undefined;
|
|
4684
4744
|
requestId?: string | null | undefined;
|
|
4685
4745
|
targetHistoryId?: string | null | undefined;
|
|
4686
4746
|
} | null | undefined;
|
|
4687
|
-
platforms?: {
|
|
4688
|
-
id: string;
|
|
4689
|
-
accountId: string;
|
|
4690
|
-
createdAt: Date;
|
|
4691
|
-
itemId: number;
|
|
4692
|
-
platformId: string;
|
|
4693
|
-
platformUrl: string;
|
|
4694
|
-
platformPrice: number;
|
|
4695
|
-
updatedAt: Date;
|
|
4696
|
-
publishedAt: Date;
|
|
4697
|
-
status?: unknown;
|
|
4698
|
-
conversationId?: string | null | undefined;
|
|
4699
|
-
boostedAt?: Date | null | undefined;
|
|
4700
|
-
boostedUntil?: Date | null | undefined;
|
|
4701
|
-
viewsCount?: number | null | undefined;
|
|
4702
|
-
favoritesCount?: number | null | undefined;
|
|
4703
|
-
account?: {
|
|
4704
|
-
accountId: string;
|
|
4705
|
-
userId: number;
|
|
4706
|
-
name: string;
|
|
4707
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4708
|
-
status?: unknown;
|
|
4709
|
-
locale?: string | null | undefined;
|
|
4710
|
-
lockReason?: unknown;
|
|
4711
|
-
restrictedUntil?: Date | null | undefined;
|
|
4712
|
-
night?: {
|
|
4713
|
-
startsAt: Date;
|
|
4714
|
-
endsAt: Date;
|
|
4715
|
-
} | null | undefined;
|
|
4716
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
4717
|
-
ordersMaxDelay?: number | null | undefined;
|
|
4718
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
4719
|
-
walletMaxDelay?: number | null | undefined;
|
|
4720
|
-
availableBalance?: number | null | undefined;
|
|
4721
|
-
pendingBalance?: number | null | undefined;
|
|
4722
|
-
profilePictureFileId?: string | null | undefined;
|
|
4723
|
-
profilePicture?: {
|
|
4724
|
-
path: string;
|
|
4725
|
-
id: string;
|
|
4726
|
-
userId: number;
|
|
4727
|
-
createdAt: Date;
|
|
4728
|
-
signedUrl: string;
|
|
4729
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4730
|
-
} | null | undefined;
|
|
4731
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
4732
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
4733
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
4734
|
-
} | null | undefined;
|
|
4735
|
-
orderStatus?: unknown;
|
|
4736
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
4737
|
-
isBoosted?: boolean | null | undefined;
|
|
4738
|
-
}[] | null | undefined;
|
|
4739
4747
|
sourceInConversation?: unknown;
|
|
4740
4748
|
order?: {
|
|
4741
4749
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
4742
4750
|
labels?: {
|
|
4743
4751
|
id: string;
|
|
4744
|
-
orderId: string;
|
|
4745
4752
|
fileId: string;
|
|
4753
|
+
orderId: string;
|
|
4746
4754
|
nonCroppedFileId: string;
|
|
4747
4755
|
originalFileId: string;
|
|
4748
|
-
|
|
4756
|
+
originalFile?: {
|
|
4749
4757
|
path: string;
|
|
4750
4758
|
id: string;
|
|
4751
|
-
userId: number;
|
|
4752
4759
|
createdAt: Date;
|
|
4760
|
+
userId: number;
|
|
4753
4761
|
signedUrl: string;
|
|
4754
4762
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4755
4763
|
} | null | undefined;
|
|
4756
|
-
|
|
4764
|
+
carrier?: unknown;
|
|
4765
|
+
file?: {
|
|
4757
4766
|
path: string;
|
|
4758
4767
|
id: string;
|
|
4759
|
-
userId: number;
|
|
4760
4768
|
createdAt: Date;
|
|
4769
|
+
userId: number;
|
|
4761
4770
|
signedUrl: string;
|
|
4762
4771
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4763
4772
|
} | null | undefined;
|
|
4764
|
-
|
|
4773
|
+
nonCroppedFile?: {
|
|
4765
4774
|
path: string;
|
|
4766
4775
|
id: string;
|
|
4767
|
-
userId: number;
|
|
4768
4776
|
createdAt: Date;
|
|
4777
|
+
userId: number;
|
|
4769
4778
|
signedUrl: string;
|
|
4770
4779
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4771
4780
|
} | null | undefined;
|
|
4772
|
-
carrier?: unknown;
|
|
4773
4781
|
}[] | null | undefined;
|
|
4774
4782
|
invoices?: {
|
|
4775
4783
|
type: "SALE" | "PURCHASE";
|
|
4776
4784
|
status: string;
|
|
4777
4785
|
id: string;
|
|
4778
|
-
userId: number;
|
|
4779
4786
|
createdAt: Date;
|
|
4787
|
+
userId: number;
|
|
4780
4788
|
currency: string;
|
|
4781
4789
|
orderId: string;
|
|
4782
4790
|
updatedAt: Date;
|
|
@@ -4785,21 +4793,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4785
4793
|
businessProfileId: string;
|
|
4786
4794
|
issueDate: Date;
|
|
4787
4795
|
subtotal: number;
|
|
4788
|
-
vatAmount?: number | null | undefined;
|
|
4789
4796
|
fileId?: string | null | undefined;
|
|
4797
|
+
vatAmount?: number | null | undefined;
|
|
4790
4798
|
file?: {
|
|
4791
4799
|
path: string;
|
|
4792
4800
|
id: string;
|
|
4793
|
-
userId: number;
|
|
4794
4801
|
createdAt: Date;
|
|
4802
|
+
userId: number;
|
|
4795
4803
|
signedUrl: string;
|
|
4796
4804
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4797
4805
|
} | null | undefined;
|
|
4798
4806
|
vatRate?: number | null | undefined;
|
|
4799
4807
|
businessProfile?: {
|
|
4800
4808
|
id: string;
|
|
4801
|
-
userId: number;
|
|
4802
4809
|
createdAt: Date;
|
|
4810
|
+
userId: number;
|
|
4803
4811
|
updatedAt: Date;
|
|
4804
4812
|
businessName: string;
|
|
4805
4813
|
address: string;
|
|
@@ -4812,11 +4820,12 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4812
4820
|
logo?: {
|
|
4813
4821
|
path: string;
|
|
4814
4822
|
id: string;
|
|
4815
|
-
userId: number;
|
|
4816
4823
|
createdAt: Date;
|
|
4824
|
+
userId: number;
|
|
4817
4825
|
signedUrl: string;
|
|
4818
4826
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4819
4827
|
} | null | undefined;
|
|
4828
|
+
vatRegime?: unknown;
|
|
4820
4829
|
} | null | undefined;
|
|
4821
4830
|
customerId?: string | null | undefined;
|
|
4822
4831
|
customer?: {
|
|
@@ -4825,26 +4834,26 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4825
4834
|
firstName: string;
|
|
4826
4835
|
lastName: string;
|
|
4827
4836
|
phoneVerified: boolean;
|
|
4828
|
-
postalCode?: string | null | undefined;
|
|
4829
|
-
city?: string | null | undefined;
|
|
4830
|
-
country?: string | null | undefined;
|
|
4831
|
-
email?: string | null | undefined;
|
|
4832
|
-
addressLine1?: string | null | undefined;
|
|
4833
|
-
addressLine2?: string | null | undefined;
|
|
4834
4837
|
birthDate?: Date | null | undefined;
|
|
4838
|
+
email?: string | null | undefined;
|
|
4835
4839
|
idNumber?: string | null | undefined;
|
|
4836
4840
|
phone?: string | null | undefined;
|
|
4837
4841
|
iban?: string | null | undefined;
|
|
4838
4842
|
bic?: string | null | undefined;
|
|
4843
|
+
addressLine1?: string | null | undefined;
|
|
4844
|
+
addressLine2?: string | null | undefined;
|
|
4845
|
+
city?: string | null | undefined;
|
|
4846
|
+
postalCode?: string | null | undefined;
|
|
4847
|
+
country?: string | null | undefined;
|
|
4839
4848
|
} | null | undefined;
|
|
4840
4849
|
dueDate?: Date | null | undefined;
|
|
4841
4850
|
notes?: string | null | undefined;
|
|
4842
4851
|
lineItems?: {
|
|
4843
|
-
quantity: number;
|
|
4844
|
-
id: number;
|
|
4845
4852
|
description: string;
|
|
4853
|
+
id: number;
|
|
4846
4854
|
createdAt: Date;
|
|
4847
4855
|
invoiceId: string;
|
|
4856
|
+
quantity: number;
|
|
4848
4857
|
unitPrice: number;
|
|
4849
4858
|
total: number;
|
|
4850
4859
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -4856,29 +4865,45 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4856
4865
|
}>, "many">;
|
|
4857
4866
|
}, "strip", z.ZodTypeAny, {
|
|
4858
4867
|
items: {
|
|
4859
|
-
|
|
4860
|
-
|
|
4868
|
+
actions: {
|
|
4869
|
+
perAccount: Record<string, ("REPUBLISH" | "UNKNOWN" | "PUBLISH" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE" | "UPDATE_CANCEL" | "BOOST")[]>;
|
|
4870
|
+
};
|
|
4861
4871
|
name: string;
|
|
4872
|
+
id: number;
|
|
4862
4873
|
createdAt: Date;
|
|
4874
|
+
userId: number;
|
|
4863
4875
|
updatedAt: Date;
|
|
4864
4876
|
sold: boolean;
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4877
|
+
fees?: {
|
|
4878
|
+
value: number;
|
|
4879
|
+
type: string;
|
|
4880
|
+
name: string;
|
|
4881
|
+
id: number;
|
|
4882
|
+
createdAt: Date;
|
|
4883
|
+
userId: number;
|
|
4884
|
+
updatedAt: Date;
|
|
4885
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
4886
|
+
startDate: Date;
|
|
4887
|
+
active: boolean;
|
|
4888
|
+
description?: string | null | undefined;
|
|
4889
|
+
itemId?: number | null | undefined;
|
|
4890
|
+
endDate?: Date | null | undefined;
|
|
4891
|
+
parentFeeId?: number | null | undefined;
|
|
4892
|
+
}[] | null | undefined;
|
|
4868
4893
|
description?: string | null | undefined;
|
|
4869
4894
|
categoryId?: number | null | undefined;
|
|
4870
|
-
|
|
4895
|
+
sizeId?: number | null | undefined;
|
|
4871
4896
|
colorIds?: number[] | null | undefined;
|
|
4897
|
+
packageSizeId?: number | null | undefined;
|
|
4898
|
+
state?: number | null | undefined;
|
|
4872
4899
|
measurementLength?: number | null | undefined;
|
|
4873
4900
|
measurementWidth?: number | null | undefined;
|
|
4874
|
-
packageSizeId?: number | null | undefined;
|
|
4875
|
-
sizeId?: number | null | undefined;
|
|
4876
4901
|
labels?: {
|
|
4877
4902
|
itemId: number;
|
|
4878
4903
|
labelId: number;
|
|
4879
4904
|
label?: {
|
|
4880
|
-
id: number;
|
|
4881
4905
|
name: string;
|
|
4906
|
+
id: number;
|
|
4882
4907
|
createdAt: Date;
|
|
4883
4908
|
isUserLabel: boolean;
|
|
4884
4909
|
itemCount?: number | null | undefined;
|
|
@@ -4891,50 +4916,86 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4891
4916
|
fieldKey: string;
|
|
4892
4917
|
}[] | null | undefined;
|
|
4893
4918
|
sku?: string | null | undefined;
|
|
4919
|
+
sex?: string | null | undefined;
|
|
4920
|
+
platforms?: {
|
|
4921
|
+
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
4922
|
+
id: string;
|
|
4923
|
+
createdAt: Date;
|
|
4924
|
+
accountId: string;
|
|
4925
|
+
itemId: number;
|
|
4926
|
+
platformId: string;
|
|
4927
|
+
platformUrl: string;
|
|
4928
|
+
platformPrice: number;
|
|
4929
|
+
updatedAt: Date;
|
|
4930
|
+
publishedAt: Date;
|
|
4931
|
+
conversationId?: string | null | undefined;
|
|
4932
|
+
boostedAt?: Date | null | undefined;
|
|
4933
|
+
boostedUntil?: Date | null | undefined;
|
|
4934
|
+
viewsCount?: number | null | undefined;
|
|
4935
|
+
favoritesCount?: number | null | undefined;
|
|
4936
|
+
account?: {
|
|
4937
|
+
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
4938
|
+
name: string;
|
|
4939
|
+
userId: number;
|
|
4940
|
+
accountId: string;
|
|
4941
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4942
|
+
locale?: string | null | undefined;
|
|
4943
|
+
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
4944
|
+
restrictedUntil?: Date | null | undefined;
|
|
4945
|
+
night?: {
|
|
4946
|
+
startsAt: Date;
|
|
4947
|
+
endsAt: Date;
|
|
4948
|
+
} | null | undefined;
|
|
4949
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
4950
|
+
ordersMaxDelay?: number | null | undefined;
|
|
4951
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
4952
|
+
walletMaxDelay?: number | null | undefined;
|
|
4953
|
+
availableBalance?: number | null | undefined;
|
|
4954
|
+
pendingBalance?: number | null | undefined;
|
|
4955
|
+
profilePictureFileId?: string | null | undefined;
|
|
4956
|
+
profilePicture?: {
|
|
4957
|
+
path: string;
|
|
4958
|
+
id: string;
|
|
4959
|
+
createdAt: Date;
|
|
4960
|
+
userId: number;
|
|
4961
|
+
signedUrl: string;
|
|
4962
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4963
|
+
} | null | undefined;
|
|
4964
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
4965
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
4966
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
4967
|
+
} | null | undefined;
|
|
4968
|
+
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;
|
|
4969
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
4970
|
+
isBoosted?: boolean | null | undefined;
|
|
4971
|
+
}[] | null | undefined;
|
|
4972
|
+
brandId?: number | null | undefined;
|
|
4973
|
+
estimatedPrice?: number | null | undefined;
|
|
4974
|
+
purchaseDate?: Date | null | undefined;
|
|
4975
|
+
sellingDate?: Date | null | undefined;
|
|
4894
4976
|
fields?: {
|
|
4895
4977
|
value: string;
|
|
4896
4978
|
itemId: number;
|
|
4897
4979
|
fieldId: number;
|
|
4898
4980
|
}[] | null | undefined;
|
|
4899
4981
|
files?: {
|
|
4900
|
-
itemId: number;
|
|
4901
4982
|
fileId: string;
|
|
4983
|
+
itemId: number;
|
|
4902
4984
|
file?: {
|
|
4903
4985
|
path: string;
|
|
4904
4986
|
id: string;
|
|
4905
|
-
userId: number;
|
|
4906
4987
|
createdAt: Date;
|
|
4988
|
+
userId: number;
|
|
4907
4989
|
signedUrl: string;
|
|
4908
4990
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4909
4991
|
} | null | undefined;
|
|
4910
4992
|
index?: number | null | undefined;
|
|
4911
4993
|
}[] | null | undefined;
|
|
4912
|
-
brandId?: number | null | undefined;
|
|
4913
|
-
sex?: string | null | undefined;
|
|
4914
4994
|
purchasePrice?: number | null | undefined;
|
|
4915
|
-
purchaseDate?: Date | null | undefined;
|
|
4916
4995
|
purchasePlaceId?: number | null | undefined;
|
|
4917
4996
|
purchased?: boolean | null | undefined;
|
|
4918
4997
|
sellingPrice?: number | null | undefined;
|
|
4919
|
-
sellingDate?: Date | null | undefined;
|
|
4920
4998
|
sellingPlaceId?: number | null | undefined;
|
|
4921
|
-
estimatedPrice?: number | null | undefined;
|
|
4922
|
-
fees?: {
|
|
4923
|
-
value: number;
|
|
4924
|
-
type: string;
|
|
4925
|
-
id: number;
|
|
4926
|
-
userId: number;
|
|
4927
|
-
name: string;
|
|
4928
|
-
createdAt: Date;
|
|
4929
|
-
updatedAt: Date;
|
|
4930
|
-
recurrence: "MONTHLY" | "UNIQUE" | "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;
|
|
4938
4999
|
feesSum?: number | null | undefined;
|
|
4939
5000
|
materialIds?: number[] | null | undefined;
|
|
4940
5001
|
enumValues?: {
|
|
@@ -4950,7 +5011,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4950
5011
|
id: string;
|
|
4951
5012
|
createdAt: Date;
|
|
4952
5013
|
itemId: number;
|
|
4953
|
-
accountId?: string | null | undefined;
|
|
4954
5014
|
data?: {
|
|
4955
5015
|
type: "ACTION_CANCELED";
|
|
4956
5016
|
data: {
|
|
@@ -4986,7 +5046,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4986
5046
|
accountId?: string | null | undefined;
|
|
4987
5047
|
reason?: string | null | undefined;
|
|
4988
5048
|
fields?: {
|
|
4989
|
-
field: "
|
|
5049
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
4990
5050
|
autoFixable: boolean;
|
|
4991
5051
|
error?: string | null | undefined;
|
|
4992
5052
|
}[] | null | undefined;
|
|
@@ -5016,23 +5076,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5016
5076
|
post: {
|
|
5017
5077
|
platformId: string;
|
|
5018
5078
|
post: {
|
|
5019
|
-
size?: string | null | undefined;
|
|
5020
5079
|
status?: string | null | undefined;
|
|
5021
5080
|
title?: string | null | undefined;
|
|
5022
5081
|
description?: string | null | undefined;
|
|
5082
|
+
brand?: string | null | undefined;
|
|
5083
|
+
statusId?: number | null | undefined;
|
|
5084
|
+
sizeId?: number | null | undefined;
|
|
5085
|
+
colorIds?: number[] | null | undefined;
|
|
5086
|
+
packageSizeId?: number | null | undefined;
|
|
5023
5087
|
price?: number | null | undefined;
|
|
5024
5088
|
currency?: string | null | undefined;
|
|
5025
|
-
brand?: string | null | undefined;
|
|
5026
5089
|
catalog?: string | null | undefined;
|
|
5027
5090
|
catalogId?: number | null | undefined;
|
|
5028
5091
|
colors?: string[] | null | undefined;
|
|
5029
|
-
colorIds?: number[] | null | undefined;
|
|
5030
5092
|
measurementLength?: number | null | undefined;
|
|
5031
5093
|
measurementWidth?: number | null | undefined;
|
|
5032
|
-
packageSizeId?: number | null | undefined;
|
|
5033
5094
|
photoUrls?: string[] | null | undefined;
|
|
5034
|
-
|
|
5035
|
-
statusId?: number | null | undefined;
|
|
5095
|
+
size?: string | null | undefined;
|
|
5036
5096
|
isDraft?: boolean | null | undefined;
|
|
5037
5097
|
isArchived?: boolean | null | undefined;
|
|
5038
5098
|
isUnisex?: boolean | null | undefined;
|
|
@@ -5075,8 +5135,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5075
5135
|
} | {
|
|
5076
5136
|
type: "LIFECYCLE_STARTED";
|
|
5077
5137
|
data: {
|
|
5078
|
-
accountId: string;
|
|
5079
5138
|
caseId: string;
|
|
5139
|
+
accountId: string;
|
|
5080
5140
|
isRepeat?: boolean | null | undefined;
|
|
5081
5141
|
};
|
|
5082
5142
|
} | {
|
|
@@ -5115,17 +5175,17 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5115
5175
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
5116
5176
|
} | null | undefined;
|
|
5117
5177
|
} | null | undefined;
|
|
5118
|
-
targetAccountId?: string | null | undefined;
|
|
5119
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
5120
5178
|
publishingDate?: Date | null | undefined;
|
|
5121
5179
|
isTransfer?: boolean | null | undefined;
|
|
5180
|
+
targetAccountId?: string | null | undefined;
|
|
5181
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
5122
5182
|
};
|
|
5123
5183
|
} | {
|
|
5124
5184
|
type: "REPUBLISHING_RETRY";
|
|
5125
5185
|
data: {
|
|
5186
|
+
maxAttempts: number;
|
|
5126
5187
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5127
5188
|
attemptNumber: number;
|
|
5128
|
-
maxAttempts: number;
|
|
5129
5189
|
previousHistoryId: string;
|
|
5130
5190
|
originalFailureDate: Date;
|
|
5131
5191
|
payload?: {
|
|
@@ -5153,7 +5213,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5153
5213
|
} | null | undefined;
|
|
5154
5214
|
} | null | undefined;
|
|
5155
5215
|
fields?: {
|
|
5156
|
-
field: "
|
|
5216
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
5157
5217
|
autoFixable: boolean;
|
|
5158
5218
|
error?: string | null | undefined;
|
|
5159
5219
|
}[] | null | undefined;
|
|
@@ -5167,13 +5227,13 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5167
5227
|
} | {
|
|
5168
5228
|
type: "SCHEDULED_RETRY";
|
|
5169
5229
|
data: {
|
|
5230
|
+
maxAttempts: number;
|
|
5170
5231
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5171
5232
|
attemptNumber: number;
|
|
5172
|
-
maxAttempts: number;
|
|
5173
5233
|
previousHistoryId: string;
|
|
5174
5234
|
originalFailureDate: Date;
|
|
5175
5235
|
fields?: {
|
|
5176
|
-
field: "
|
|
5236
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
5177
5237
|
autoFixable: boolean;
|
|
5178
5238
|
error?: string | null | undefined;
|
|
5179
5239
|
}[] | null | undefined;
|
|
@@ -5202,103 +5262,52 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5202
5262
|
targetDate?: Date | null | undefined;
|
|
5203
5263
|
};
|
|
5204
5264
|
} | null | undefined;
|
|
5265
|
+
accountId?: string | null | undefined;
|
|
5205
5266
|
targetDate?: Date | null | undefined;
|
|
5206
5267
|
requestId?: string | null | undefined;
|
|
5207
5268
|
targetHistoryId?: string | null | undefined;
|
|
5208
5269
|
} | null | undefined;
|
|
5209
|
-
platforms?: {
|
|
5210
|
-
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
5211
|
-
id: string;
|
|
5212
|
-
accountId: string;
|
|
5213
|
-
createdAt: Date;
|
|
5214
|
-
itemId: number;
|
|
5215
|
-
platformId: string;
|
|
5216
|
-
platformUrl: string;
|
|
5217
|
-
platformPrice: number;
|
|
5218
|
-
updatedAt: Date;
|
|
5219
|
-
publishedAt: Date;
|
|
5220
|
-
conversationId?: string | null | undefined;
|
|
5221
|
-
boostedAt?: Date | null | undefined;
|
|
5222
|
-
boostedUntil?: Date | null | undefined;
|
|
5223
|
-
viewsCount?: number | null | undefined;
|
|
5224
|
-
favoritesCount?: number | null | undefined;
|
|
5225
|
-
account?: {
|
|
5226
|
-
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
5227
|
-
accountId: string;
|
|
5228
|
-
userId: number;
|
|
5229
|
-
name: string;
|
|
5230
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5231
|
-
locale?: string | null | undefined;
|
|
5232
|
-
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
5233
|
-
restrictedUntil?: Date | null | undefined;
|
|
5234
|
-
night?: {
|
|
5235
|
-
startsAt: Date;
|
|
5236
|
-
endsAt: Date;
|
|
5237
|
-
} | null | undefined;
|
|
5238
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
5239
|
-
ordersMaxDelay?: number | null | undefined;
|
|
5240
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
5241
|
-
walletMaxDelay?: number | null | undefined;
|
|
5242
|
-
availableBalance?: number | null | undefined;
|
|
5243
|
-
pendingBalance?: number | null | undefined;
|
|
5244
|
-
profilePictureFileId?: string | null | undefined;
|
|
5245
|
-
profilePicture?: {
|
|
5246
|
-
path: string;
|
|
5247
|
-
id: string;
|
|
5248
|
-
userId: number;
|
|
5249
|
-
createdAt: Date;
|
|
5250
|
-
signedUrl: string;
|
|
5251
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5252
|
-
} | null | undefined;
|
|
5253
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
5254
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
5255
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
5256
|
-
} | null | undefined;
|
|
5257
|
-
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;
|
|
5258
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
5259
|
-
isBoosted?: boolean | null | undefined;
|
|
5260
|
-
}[] | null | undefined;
|
|
5261
5270
|
sourceInConversation?: "UNKNOWN" | "DELETED" | "ORDER" | "TRANSACTION" | null | undefined;
|
|
5262
5271
|
order?: {
|
|
5263
5272
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
5264
5273
|
labels?: {
|
|
5265
5274
|
id: string;
|
|
5266
|
-
orderId: string;
|
|
5267
5275
|
fileId: string;
|
|
5276
|
+
orderId: string;
|
|
5268
5277
|
nonCroppedFileId: string;
|
|
5269
5278
|
originalFileId: string;
|
|
5270
|
-
|
|
5279
|
+
originalFile?: {
|
|
5271
5280
|
path: string;
|
|
5272
5281
|
id: string;
|
|
5273
|
-
userId: number;
|
|
5274
5282
|
createdAt: Date;
|
|
5283
|
+
userId: number;
|
|
5275
5284
|
signedUrl: string;
|
|
5276
5285
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5277
5286
|
} | null | undefined;
|
|
5278
|
-
|
|
5287
|
+
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;
|
|
5288
|
+
file?: {
|
|
5279
5289
|
path: string;
|
|
5280
5290
|
id: string;
|
|
5281
|
-
userId: number;
|
|
5282
5291
|
createdAt: Date;
|
|
5292
|
+
userId: number;
|
|
5283
5293
|
signedUrl: string;
|
|
5284
5294
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5285
5295
|
} | null | undefined;
|
|
5286
|
-
|
|
5296
|
+
nonCroppedFile?: {
|
|
5287
5297
|
path: string;
|
|
5288
5298
|
id: string;
|
|
5289
|
-
userId: number;
|
|
5290
5299
|
createdAt: Date;
|
|
5300
|
+
userId: number;
|
|
5291
5301
|
signedUrl: string;
|
|
5292
5302
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5293
5303
|
} | null | undefined;
|
|
5294
|
-
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;
|
|
5295
5304
|
}[] | null | undefined;
|
|
5296
5305
|
invoices?: {
|
|
5297
5306
|
type: "SALE" | "PURCHASE";
|
|
5298
5307
|
status: string;
|
|
5299
5308
|
id: string;
|
|
5300
|
-
userId: number;
|
|
5301
5309
|
createdAt: Date;
|
|
5310
|
+
userId: number;
|
|
5302
5311
|
currency: string;
|
|
5303
5312
|
orderId: string;
|
|
5304
5313
|
updatedAt: Date;
|
|
@@ -5307,21 +5316,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5307
5316
|
businessProfileId: string;
|
|
5308
5317
|
issueDate: Date;
|
|
5309
5318
|
subtotal: number;
|
|
5310
|
-
vatAmount?: number | null | undefined;
|
|
5311
5319
|
fileId?: string | null | undefined;
|
|
5320
|
+
vatAmount?: number | null | undefined;
|
|
5312
5321
|
file?: {
|
|
5313
5322
|
path: string;
|
|
5314
5323
|
id: string;
|
|
5315
|
-
userId: number;
|
|
5316
5324
|
createdAt: Date;
|
|
5325
|
+
userId: number;
|
|
5317
5326
|
signedUrl: string;
|
|
5318
5327
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5319
5328
|
} | null | undefined;
|
|
5320
5329
|
vatRate?: number | null | undefined;
|
|
5321
5330
|
businessProfile?: {
|
|
5322
5331
|
id: string;
|
|
5323
|
-
userId: number;
|
|
5324
5332
|
createdAt: Date;
|
|
5333
|
+
userId: number;
|
|
5325
5334
|
updatedAt: Date;
|
|
5326
5335
|
businessName: string;
|
|
5327
5336
|
address: string;
|
|
@@ -5334,11 +5343,12 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5334
5343
|
logo?: {
|
|
5335
5344
|
path: string;
|
|
5336
5345
|
id: string;
|
|
5337
|
-
userId: number;
|
|
5338
5346
|
createdAt: Date;
|
|
5347
|
+
userId: number;
|
|
5339
5348
|
signedUrl: string;
|
|
5340
5349
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5341
5350
|
} | null | undefined;
|
|
5351
|
+
vatRegime?: "UNKNOWN" | "MARGIN" | "FRANCHISE" | "NORMAL" | null | undefined;
|
|
5342
5352
|
} | null | undefined;
|
|
5343
5353
|
customerId?: string | null | undefined;
|
|
5344
5354
|
customer?: {
|
|
@@ -5347,26 +5357,26 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5347
5357
|
firstName: string;
|
|
5348
5358
|
lastName: string;
|
|
5349
5359
|
phoneVerified: boolean;
|
|
5350
|
-
postalCode?: string | null | undefined;
|
|
5351
|
-
city?: string | null | undefined;
|
|
5352
|
-
country?: string | null | undefined;
|
|
5353
|
-
email?: string | null | undefined;
|
|
5354
|
-
addressLine1?: string | null | undefined;
|
|
5355
|
-
addressLine2?: string | null | undefined;
|
|
5356
5360
|
birthDate?: Date | null | undefined;
|
|
5361
|
+
email?: string | null | undefined;
|
|
5357
5362
|
idNumber?: string | null | undefined;
|
|
5358
5363
|
phone?: string | null | undefined;
|
|
5359
5364
|
iban?: string | null | undefined;
|
|
5360
5365
|
bic?: string | null | undefined;
|
|
5366
|
+
addressLine1?: string | null | undefined;
|
|
5367
|
+
addressLine2?: string | null | undefined;
|
|
5368
|
+
city?: string | null | undefined;
|
|
5369
|
+
postalCode?: string | null | undefined;
|
|
5370
|
+
country?: string | null | undefined;
|
|
5361
5371
|
} | null | undefined;
|
|
5362
5372
|
dueDate?: Date | null | undefined;
|
|
5363
5373
|
notes?: string | null | undefined;
|
|
5364
5374
|
lineItems?: {
|
|
5365
|
-
quantity: number;
|
|
5366
|
-
id: number;
|
|
5367
5375
|
description: string;
|
|
5376
|
+
id: number;
|
|
5368
5377
|
createdAt: Date;
|
|
5369
5378
|
invoiceId: string;
|
|
5379
|
+
quantity: number;
|
|
5370
5380
|
unitPrice: number;
|
|
5371
5381
|
total: number;
|
|
5372
5382
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -5380,14 +5390,16 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5380
5390
|
id: string;
|
|
5381
5391
|
accountId: string;
|
|
5382
5392
|
platformTransactionId: string;
|
|
5393
|
+
conversationId?: string | null | undefined;
|
|
5394
|
+
shipmentId?: string | null | undefined;
|
|
5383
5395
|
items?: {
|
|
5384
5396
|
transactionId: string;
|
|
5385
5397
|
itemOnPlatformId: string;
|
|
5386
5398
|
itemOnPlatform?: {
|
|
5387
5399
|
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
5388
5400
|
id: string;
|
|
5389
|
-
accountId: string;
|
|
5390
5401
|
createdAt: Date;
|
|
5402
|
+
accountId: string;
|
|
5391
5403
|
itemId: number;
|
|
5392
5404
|
platformId: string;
|
|
5393
5405
|
platformUrl: string;
|
|
@@ -5401,9 +5413,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5401
5413
|
favoritesCount?: number | null | undefined;
|
|
5402
5414
|
account?: {
|
|
5403
5415
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
5404
|
-
accountId: string;
|
|
5405
|
-
userId: number;
|
|
5406
5416
|
name: string;
|
|
5417
|
+
userId: number;
|
|
5418
|
+
accountId: string;
|
|
5407
5419
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5408
5420
|
locale?: string | null | undefined;
|
|
5409
5421
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -5422,8 +5434,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5422
5434
|
profilePicture?: {
|
|
5423
5435
|
path: string;
|
|
5424
5436
|
id: string;
|
|
5425
|
-
userId: number;
|
|
5426
5437
|
createdAt: Date;
|
|
5438
|
+
userId: number;
|
|
5427
5439
|
signedUrl: string;
|
|
5428
5440
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5429
5441
|
} | null | undefined;
|
|
@@ -5436,36 +5448,50 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5436
5448
|
isBoosted?: boolean | null | undefined;
|
|
5437
5449
|
} | null | undefined;
|
|
5438
5450
|
}[] | null | undefined;
|
|
5439
|
-
conversationId?: string | null | undefined;
|
|
5440
|
-
shipmentId?: string | null | undefined;
|
|
5441
5451
|
buyerPlatformId?: string | null | undefined;
|
|
5442
5452
|
sellerPlatformId?: string | null | undefined;
|
|
5443
5453
|
};
|
|
5444
5454
|
}, {
|
|
5445
5455
|
items: {
|
|
5446
|
-
|
|
5447
|
-
|
|
5456
|
+
actions: {
|
|
5457
|
+
perAccount: Record<string, unknown[]>;
|
|
5458
|
+
};
|
|
5448
5459
|
name: string;
|
|
5460
|
+
id: number;
|
|
5449
5461
|
createdAt: Date;
|
|
5462
|
+
userId: number;
|
|
5450
5463
|
updatedAt: Date;
|
|
5451
5464
|
sold: boolean;
|
|
5452
|
-
|
|
5453
|
-
|
|
5454
|
-
|
|
5465
|
+
fees?: {
|
|
5466
|
+
value: number;
|
|
5467
|
+
type: string;
|
|
5468
|
+
name: string;
|
|
5469
|
+
id: number;
|
|
5470
|
+
createdAt: Date;
|
|
5471
|
+
userId: number;
|
|
5472
|
+
updatedAt: Date;
|
|
5473
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
5474
|
+
startDate: Date;
|
|
5475
|
+
active: boolean;
|
|
5476
|
+
description?: string | null | undefined;
|
|
5477
|
+
itemId?: number | null | undefined;
|
|
5478
|
+
endDate?: Date | null | undefined;
|
|
5479
|
+
parentFeeId?: number | null | undefined;
|
|
5480
|
+
}[] | null | undefined;
|
|
5455
5481
|
description?: string | null | undefined;
|
|
5456
5482
|
categoryId?: number | null | undefined;
|
|
5457
|
-
|
|
5483
|
+
sizeId?: number | null | undefined;
|
|
5458
5484
|
colorIds?: number[] | null | undefined;
|
|
5485
|
+
packageSizeId?: number | null | undefined;
|
|
5486
|
+
state?: number | null | undefined;
|
|
5459
5487
|
measurementLength?: number | null | undefined;
|
|
5460
5488
|
measurementWidth?: number | null | undefined;
|
|
5461
|
-
packageSizeId?: number | null | undefined;
|
|
5462
|
-
sizeId?: number | null | undefined;
|
|
5463
5489
|
labels?: {
|
|
5464
5490
|
itemId: number;
|
|
5465
5491
|
labelId: number;
|
|
5466
5492
|
label?: {
|
|
5467
|
-
id: number;
|
|
5468
5493
|
name: string;
|
|
5494
|
+
id: number;
|
|
5469
5495
|
createdAt: Date;
|
|
5470
5496
|
isUserLabel: boolean;
|
|
5471
5497
|
itemCount?: number | null | undefined;
|
|
@@ -5478,50 +5504,86 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5478
5504
|
fieldKey: string;
|
|
5479
5505
|
}[] | null | undefined;
|
|
5480
5506
|
sku?: string | null | undefined;
|
|
5507
|
+
sex?: string | null | undefined;
|
|
5508
|
+
platforms?: {
|
|
5509
|
+
id: string;
|
|
5510
|
+
createdAt: Date;
|
|
5511
|
+
accountId: string;
|
|
5512
|
+
itemId: number;
|
|
5513
|
+
platformId: string;
|
|
5514
|
+
platformUrl: string;
|
|
5515
|
+
platformPrice: number;
|
|
5516
|
+
updatedAt: Date;
|
|
5517
|
+
publishedAt: Date;
|
|
5518
|
+
status?: unknown;
|
|
5519
|
+
conversationId?: string | null | undefined;
|
|
5520
|
+
boostedAt?: Date | null | undefined;
|
|
5521
|
+
boostedUntil?: Date | null | undefined;
|
|
5522
|
+
viewsCount?: number | null | undefined;
|
|
5523
|
+
favoritesCount?: number | null | undefined;
|
|
5524
|
+
account?: {
|
|
5525
|
+
name: string;
|
|
5526
|
+
userId: number;
|
|
5527
|
+
accountId: string;
|
|
5528
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5529
|
+
status?: unknown;
|
|
5530
|
+
locale?: string | null | undefined;
|
|
5531
|
+
lockReason?: unknown;
|
|
5532
|
+
restrictedUntil?: Date | null | undefined;
|
|
5533
|
+
night?: {
|
|
5534
|
+
startsAt: Date;
|
|
5535
|
+
endsAt: Date;
|
|
5536
|
+
} | null | undefined;
|
|
5537
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
5538
|
+
ordersMaxDelay?: number | null | undefined;
|
|
5539
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
5540
|
+
walletMaxDelay?: number | null | undefined;
|
|
5541
|
+
availableBalance?: number | null | undefined;
|
|
5542
|
+
pendingBalance?: number | null | undefined;
|
|
5543
|
+
profilePictureFileId?: string | null | undefined;
|
|
5544
|
+
profilePicture?: {
|
|
5545
|
+
path: string;
|
|
5546
|
+
id: string;
|
|
5547
|
+
createdAt: Date;
|
|
5548
|
+
userId: number;
|
|
5549
|
+
signedUrl: string;
|
|
5550
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5551
|
+
} | null | undefined;
|
|
5552
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
5553
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
5554
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
5555
|
+
} | null | undefined;
|
|
5556
|
+
orderStatus?: unknown;
|
|
5557
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
5558
|
+
isBoosted?: boolean | null | undefined;
|
|
5559
|
+
}[] | null | undefined;
|
|
5560
|
+
brandId?: number | null | undefined;
|
|
5561
|
+
estimatedPrice?: number | null | undefined;
|
|
5562
|
+
purchaseDate?: Date | null | undefined;
|
|
5563
|
+
sellingDate?: Date | null | undefined;
|
|
5481
5564
|
fields?: {
|
|
5482
5565
|
value: string;
|
|
5483
5566
|
itemId: number;
|
|
5484
5567
|
fieldId: number;
|
|
5485
5568
|
}[] | null | undefined;
|
|
5486
5569
|
files?: {
|
|
5487
|
-
itemId: number;
|
|
5488
5570
|
fileId: string;
|
|
5571
|
+
itemId: number;
|
|
5489
5572
|
file?: {
|
|
5490
5573
|
path: string;
|
|
5491
5574
|
id: string;
|
|
5492
|
-
userId: number;
|
|
5493
5575
|
createdAt: Date;
|
|
5576
|
+
userId: number;
|
|
5494
5577
|
signedUrl: string;
|
|
5495
5578
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5496
5579
|
} | null | undefined;
|
|
5497
5580
|
index?: number | null | undefined;
|
|
5498
5581
|
}[] | null | undefined;
|
|
5499
|
-
brandId?: number | null | undefined;
|
|
5500
|
-
sex?: string | null | undefined;
|
|
5501
5582
|
purchasePrice?: number | null | undefined;
|
|
5502
|
-
purchaseDate?: Date | null | undefined;
|
|
5503
5583
|
purchasePlaceId?: number | null | undefined;
|
|
5504
5584
|
purchased?: boolean | null | undefined;
|
|
5505
5585
|
sellingPrice?: number | null | undefined;
|
|
5506
|
-
sellingDate?: Date | null | undefined;
|
|
5507
5586
|
sellingPlaceId?: number | null | undefined;
|
|
5508
|
-
estimatedPrice?: number | null | undefined;
|
|
5509
|
-
fees?: {
|
|
5510
|
-
value: number;
|
|
5511
|
-
type: string;
|
|
5512
|
-
id: number;
|
|
5513
|
-
userId: number;
|
|
5514
|
-
name: string;
|
|
5515
|
-
createdAt: Date;
|
|
5516
|
-
updatedAt: Date;
|
|
5517
|
-
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
5518
|
-
startDate: Date;
|
|
5519
|
-
active: boolean;
|
|
5520
|
-
description?: string | null | undefined;
|
|
5521
|
-
itemId?: number | null | undefined;
|
|
5522
|
-
endDate?: Date | null | undefined;
|
|
5523
|
-
parentFeeId?: number | null | undefined;
|
|
5524
|
-
}[] | null | undefined;
|
|
5525
5587
|
feesSum?: number | null | undefined;
|
|
5526
5588
|
materialIds?: number[] | null | undefined;
|
|
5527
5589
|
enumValues?: {
|
|
@@ -5537,7 +5599,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5537
5599
|
createdAt: Date;
|
|
5538
5600
|
itemId: number;
|
|
5539
5601
|
type?: unknown;
|
|
5540
|
-
accountId?: string | null | undefined;
|
|
5541
5602
|
data?: {
|
|
5542
5603
|
type: "ACTION_CANCELED";
|
|
5543
5604
|
data: {
|
|
@@ -5603,23 +5664,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5603
5664
|
post: {
|
|
5604
5665
|
platformId: string;
|
|
5605
5666
|
post: {
|
|
5606
|
-
size?: string | null | undefined;
|
|
5607
5667
|
status?: string | null | undefined;
|
|
5608
5668
|
title?: string | null | undefined;
|
|
5609
5669
|
description?: string | null | undefined;
|
|
5670
|
+
brand?: string | null | undefined;
|
|
5671
|
+
statusId?: number | null | undefined;
|
|
5672
|
+
sizeId?: number | null | undefined;
|
|
5673
|
+
colorIds?: number[] | null | undefined;
|
|
5674
|
+
packageSizeId?: number | null | undefined;
|
|
5610
5675
|
price?: number | null | undefined;
|
|
5611
5676
|
currency?: string | null | undefined;
|
|
5612
|
-
brand?: string | null | undefined;
|
|
5613
5677
|
catalog?: string | null | undefined;
|
|
5614
5678
|
catalogId?: number | null | undefined;
|
|
5615
5679
|
colors?: string[] | null | undefined;
|
|
5616
|
-
colorIds?: number[] | null | undefined;
|
|
5617
5680
|
measurementLength?: number | null | undefined;
|
|
5618
5681
|
measurementWidth?: number | null | undefined;
|
|
5619
|
-
packageSizeId?: number | null | undefined;
|
|
5620
5682
|
photoUrls?: string[] | null | undefined;
|
|
5621
|
-
|
|
5622
|
-
statusId?: number | null | undefined;
|
|
5683
|
+
size?: string | null | undefined;
|
|
5623
5684
|
isDraft?: boolean | null | undefined;
|
|
5624
5685
|
isArchived?: boolean | null | undefined;
|
|
5625
5686
|
isUnisex?: boolean | null | undefined;
|
|
@@ -5662,8 +5723,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5662
5723
|
} | {
|
|
5663
5724
|
type: "LIFECYCLE_STARTED";
|
|
5664
5725
|
data: {
|
|
5665
|
-
accountId: string;
|
|
5666
5726
|
caseId: string;
|
|
5727
|
+
accountId: string;
|
|
5667
5728
|
isRepeat?: boolean | null | undefined;
|
|
5668
5729
|
};
|
|
5669
5730
|
} | {
|
|
@@ -5702,17 +5763,17 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5702
5763
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
5703
5764
|
} | null | undefined;
|
|
5704
5765
|
} | null | undefined;
|
|
5705
|
-
targetAccountId?: string | null | undefined;
|
|
5706
|
-
allowIfDeleted?: boolean | null | undefined;
|
|
5707
5766
|
publishingDate?: Date | null | undefined;
|
|
5708
5767
|
isTransfer?: boolean | null | undefined;
|
|
5768
|
+
targetAccountId?: string | null | undefined;
|
|
5769
|
+
allowIfDeleted?: boolean | null | undefined;
|
|
5709
5770
|
};
|
|
5710
5771
|
} | {
|
|
5711
5772
|
type: "REPUBLISHING_RETRY";
|
|
5712
5773
|
data: {
|
|
5774
|
+
maxAttempts: number;
|
|
5713
5775
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5714
5776
|
attemptNumber: number;
|
|
5715
|
-
maxAttempts: number;
|
|
5716
5777
|
previousHistoryId: string;
|
|
5717
5778
|
originalFailureDate: Date;
|
|
5718
5779
|
payload?: {
|
|
@@ -5754,9 +5815,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5754
5815
|
} | {
|
|
5755
5816
|
type: "SCHEDULED_RETRY";
|
|
5756
5817
|
data: {
|
|
5818
|
+
maxAttempts: number;
|
|
5757
5819
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5758
5820
|
attemptNumber: number;
|
|
5759
|
-
maxAttempts: number;
|
|
5760
5821
|
previousHistoryId: string;
|
|
5761
5822
|
originalFailureDate: Date;
|
|
5762
5823
|
fields?: {
|
|
@@ -5789,103 +5850,52 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5789
5850
|
targetDate?: Date | null | undefined;
|
|
5790
5851
|
};
|
|
5791
5852
|
} | null | undefined;
|
|
5853
|
+
accountId?: string | null | undefined;
|
|
5792
5854
|
targetDate?: Date | null | undefined;
|
|
5793
5855
|
requestId?: string | null | undefined;
|
|
5794
5856
|
targetHistoryId?: string | null | undefined;
|
|
5795
5857
|
} | null | undefined;
|
|
5796
|
-
platforms?: {
|
|
5797
|
-
id: string;
|
|
5798
|
-
accountId: string;
|
|
5799
|
-
createdAt: Date;
|
|
5800
|
-
itemId: number;
|
|
5801
|
-
platformId: string;
|
|
5802
|
-
platformUrl: string;
|
|
5803
|
-
platformPrice: number;
|
|
5804
|
-
updatedAt: Date;
|
|
5805
|
-
publishedAt: Date;
|
|
5806
|
-
status?: unknown;
|
|
5807
|
-
conversationId?: string | null | undefined;
|
|
5808
|
-
boostedAt?: Date | null | undefined;
|
|
5809
|
-
boostedUntil?: Date | null | undefined;
|
|
5810
|
-
viewsCount?: number | null | undefined;
|
|
5811
|
-
favoritesCount?: number | null | undefined;
|
|
5812
|
-
account?: {
|
|
5813
|
-
accountId: string;
|
|
5814
|
-
userId: number;
|
|
5815
|
-
name: string;
|
|
5816
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5817
|
-
status?: unknown;
|
|
5818
|
-
locale?: string | null | undefined;
|
|
5819
|
-
lockReason?: unknown;
|
|
5820
|
-
restrictedUntil?: Date | null | undefined;
|
|
5821
|
-
night?: {
|
|
5822
|
-
startsAt: Date;
|
|
5823
|
-
endsAt: Date;
|
|
5824
|
-
} | null | undefined;
|
|
5825
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
5826
|
-
ordersMaxDelay?: number | null | undefined;
|
|
5827
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
5828
|
-
walletMaxDelay?: number | null | undefined;
|
|
5829
|
-
availableBalance?: number | null | undefined;
|
|
5830
|
-
pendingBalance?: number | null | undefined;
|
|
5831
|
-
profilePictureFileId?: string | null | undefined;
|
|
5832
|
-
profilePicture?: {
|
|
5833
|
-
path: string;
|
|
5834
|
-
id: string;
|
|
5835
|
-
userId: number;
|
|
5836
|
-
createdAt: Date;
|
|
5837
|
-
signedUrl: string;
|
|
5838
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5839
|
-
} | null | undefined;
|
|
5840
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
5841
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
5842
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
5843
|
-
} | null | undefined;
|
|
5844
|
-
orderStatus?: unknown;
|
|
5845
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
5846
|
-
isBoosted?: boolean | null | undefined;
|
|
5847
|
-
}[] | null | undefined;
|
|
5848
5858
|
sourceInConversation?: unknown;
|
|
5849
5859
|
order?: {
|
|
5850
5860
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
5851
5861
|
labels?: {
|
|
5852
5862
|
id: string;
|
|
5853
|
-
orderId: string;
|
|
5854
5863
|
fileId: string;
|
|
5864
|
+
orderId: string;
|
|
5855
5865
|
nonCroppedFileId: string;
|
|
5856
5866
|
originalFileId: string;
|
|
5857
|
-
|
|
5867
|
+
originalFile?: {
|
|
5858
5868
|
path: string;
|
|
5859
5869
|
id: string;
|
|
5860
|
-
userId: number;
|
|
5861
5870
|
createdAt: Date;
|
|
5871
|
+
userId: number;
|
|
5862
5872
|
signedUrl: string;
|
|
5863
5873
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5864
5874
|
} | null | undefined;
|
|
5865
|
-
|
|
5875
|
+
carrier?: unknown;
|
|
5876
|
+
file?: {
|
|
5866
5877
|
path: string;
|
|
5867
5878
|
id: string;
|
|
5868
|
-
userId: number;
|
|
5869
5879
|
createdAt: Date;
|
|
5880
|
+
userId: number;
|
|
5870
5881
|
signedUrl: string;
|
|
5871
5882
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5872
5883
|
} | null | undefined;
|
|
5873
|
-
|
|
5884
|
+
nonCroppedFile?: {
|
|
5874
5885
|
path: string;
|
|
5875
5886
|
id: string;
|
|
5876
|
-
userId: number;
|
|
5877
5887
|
createdAt: Date;
|
|
5888
|
+
userId: number;
|
|
5878
5889
|
signedUrl: string;
|
|
5879
5890
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5880
5891
|
} | null | undefined;
|
|
5881
|
-
carrier?: unknown;
|
|
5882
5892
|
}[] | null | undefined;
|
|
5883
5893
|
invoices?: {
|
|
5884
5894
|
type: "SALE" | "PURCHASE";
|
|
5885
5895
|
status: string;
|
|
5886
5896
|
id: string;
|
|
5887
|
-
userId: number;
|
|
5888
5897
|
createdAt: Date;
|
|
5898
|
+
userId: number;
|
|
5889
5899
|
currency: string;
|
|
5890
5900
|
orderId: string;
|
|
5891
5901
|
updatedAt: Date;
|
|
@@ -5894,21 +5904,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5894
5904
|
businessProfileId: string;
|
|
5895
5905
|
issueDate: Date;
|
|
5896
5906
|
subtotal: number;
|
|
5897
|
-
vatAmount?: number | null | undefined;
|
|
5898
5907
|
fileId?: string | null | undefined;
|
|
5908
|
+
vatAmount?: number | null | undefined;
|
|
5899
5909
|
file?: {
|
|
5900
5910
|
path: string;
|
|
5901
5911
|
id: string;
|
|
5902
|
-
userId: number;
|
|
5903
5912
|
createdAt: Date;
|
|
5913
|
+
userId: number;
|
|
5904
5914
|
signedUrl: string;
|
|
5905
5915
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5906
5916
|
} | null | undefined;
|
|
5907
5917
|
vatRate?: number | null | undefined;
|
|
5908
5918
|
businessProfile?: {
|
|
5909
5919
|
id: string;
|
|
5910
|
-
userId: number;
|
|
5911
5920
|
createdAt: Date;
|
|
5921
|
+
userId: number;
|
|
5912
5922
|
updatedAt: Date;
|
|
5913
5923
|
businessName: string;
|
|
5914
5924
|
address: string;
|
|
@@ -5921,11 +5931,12 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5921
5931
|
logo?: {
|
|
5922
5932
|
path: string;
|
|
5923
5933
|
id: string;
|
|
5924
|
-
userId: number;
|
|
5925
5934
|
createdAt: Date;
|
|
5935
|
+
userId: number;
|
|
5926
5936
|
signedUrl: string;
|
|
5927
5937
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5928
5938
|
} | null | undefined;
|
|
5939
|
+
vatRegime?: unknown;
|
|
5929
5940
|
} | null | undefined;
|
|
5930
5941
|
customerId?: string | null | undefined;
|
|
5931
5942
|
customer?: {
|
|
@@ -5934,26 +5945,26 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5934
5945
|
firstName: string;
|
|
5935
5946
|
lastName: string;
|
|
5936
5947
|
phoneVerified: boolean;
|
|
5937
|
-
postalCode?: string | null | undefined;
|
|
5938
|
-
city?: string | null | undefined;
|
|
5939
|
-
country?: string | null | undefined;
|
|
5940
|
-
email?: string | null | undefined;
|
|
5941
|
-
addressLine1?: string | null | undefined;
|
|
5942
|
-
addressLine2?: string | null | undefined;
|
|
5943
5948
|
birthDate?: Date | null | undefined;
|
|
5949
|
+
email?: string | null | undefined;
|
|
5944
5950
|
idNumber?: string | null | undefined;
|
|
5945
5951
|
phone?: string | null | undefined;
|
|
5946
5952
|
iban?: string | null | undefined;
|
|
5947
5953
|
bic?: string | null | undefined;
|
|
5954
|
+
addressLine1?: string | null | undefined;
|
|
5955
|
+
addressLine2?: string | null | undefined;
|
|
5956
|
+
city?: string | null | undefined;
|
|
5957
|
+
postalCode?: string | null | undefined;
|
|
5958
|
+
country?: string | null | undefined;
|
|
5948
5959
|
} | null | undefined;
|
|
5949
5960
|
dueDate?: Date | null | undefined;
|
|
5950
5961
|
notes?: string | null | undefined;
|
|
5951
5962
|
lineItems?: {
|
|
5952
|
-
quantity: number;
|
|
5953
|
-
id: number;
|
|
5954
5963
|
description: string;
|
|
5964
|
+
id: number;
|
|
5955
5965
|
createdAt: Date;
|
|
5956
5966
|
invoiceId: string;
|
|
5967
|
+
quantity: number;
|
|
5957
5968
|
unitPrice: number;
|
|
5958
5969
|
total: number;
|
|
5959
5970
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -5967,13 +5978,15 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5967
5978
|
id: string;
|
|
5968
5979
|
accountId: string;
|
|
5969
5980
|
platformTransactionId: string;
|
|
5981
|
+
conversationId?: string | null | undefined;
|
|
5982
|
+
shipmentId?: string | null | undefined;
|
|
5970
5983
|
items?: {
|
|
5971
5984
|
transactionId: string;
|
|
5972
5985
|
itemOnPlatformId: string;
|
|
5973
5986
|
itemOnPlatform?: {
|
|
5974
5987
|
id: string;
|
|
5975
|
-
accountId: string;
|
|
5976
5988
|
createdAt: Date;
|
|
5989
|
+
accountId: string;
|
|
5977
5990
|
itemId: number;
|
|
5978
5991
|
platformId: string;
|
|
5979
5992
|
platformUrl: string;
|
|
@@ -5987,9 +6000,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5987
6000
|
viewsCount?: number | null | undefined;
|
|
5988
6001
|
favoritesCount?: number | null | undefined;
|
|
5989
6002
|
account?: {
|
|
5990
|
-
accountId: string;
|
|
5991
|
-
userId: number;
|
|
5992
6003
|
name: string;
|
|
6004
|
+
userId: number;
|
|
6005
|
+
accountId: string;
|
|
5993
6006
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5994
6007
|
status?: unknown;
|
|
5995
6008
|
locale?: string | null | undefined;
|
|
@@ -6009,8 +6022,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
6009
6022
|
profilePicture?: {
|
|
6010
6023
|
path: string;
|
|
6011
6024
|
id: string;
|
|
6012
|
-
userId: number;
|
|
6013
6025
|
createdAt: Date;
|
|
6026
|
+
userId: number;
|
|
6014
6027
|
signedUrl: string;
|
|
6015
6028
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
6016
6029
|
} | null | undefined;
|
|
@@ -6023,8 +6036,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
6023
6036
|
isBoosted?: boolean | null | undefined;
|
|
6024
6037
|
} | null | undefined;
|
|
6025
6038
|
}[] | null | undefined;
|
|
6026
|
-
conversationId?: string | null | undefined;
|
|
6027
|
-
shipmentId?: string | null | undefined;
|
|
6028
6039
|
buyerPlatformId?: string | null | undefined;
|
|
6029
6040
|
sellerPlatformId?: string | null | undefined;
|
|
6030
6041
|
};
|