controlresell 2.26.5 → 2.26.6
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 +76 -76
- package/src/com/controlresell/api/responses/items/FormOptionPickResponse.d.ts +2 -2
- package/src/com/controlresell/api/responses/items/ItemActions.d.ts +1 -1
- package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts +729 -729
- package/src/com/controlresell/api/responses/items/ListedItem.d.ts +490 -490
- package/src/com/controlresell/api/responses/items/ListedItemOrder.d.ts +114 -114
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseBaseResponse.d.ts +2 -2
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseResponse.d.ts +6 -6
- package/src/com/controlresell/api/responses/subscriptions/PromoCodeResponse.d.ts +2 -2
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionLevelResponse.d.ts +2 -2
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionLevelsResponse.d.ts +4 -4
- package/src/com/controlresell/auth/models/preferences/CreatePreferencePayload.d.ts +2 -2
- package/src/com/controlresell/auth/models/preferences/Preference.d.ts +104 -104
- package/src/com/controlresell/auth/models/preferences/PreferenceWithCase.d.ts +298 -298
- package/src/com/controlresell/auth/models/preferences/PreferenceWithChildren.d.ts +238 -238
- package/src/com/controlresell/auth/models/preferences/cases/CreatePreferenceCasePayload.d.ts +70 -70
- package/src/com/controlresell/auth/models/preferences/cases/PartialPreferenceCasePayload.d.ts +68 -68
- package/src/com/controlresell/auth/models/preferences/cases/PreferenceCase.d.ts +74 -74
- package/src/com/controlresell/auth/models/preferences/payloads/actions/LifecycleDistributionMode.d.ts +8 -8
- package/src/com/controlresell/auth/models/preferences/payloads/actions/LifecycleTimeSlot.d.ts +2 -2
- package/src/com/controlresell/auth/models/preferences/payloads/actions/ManualLifecycleDistributionMode.d.ts +4 -4
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionPayload.d.ts +4 -4
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionsPayload.d.ts +14 -14
- package/src/com/controlresell/auth/models/preferences/queue/PreferenceNextActionPayload.d.ts +378 -378
- package/src/com/controlresell/auth/models/preferences/variants/PartialPreferenceCaseVariantPayload.d.ts +50 -50
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariant.d.ts +52 -52
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantDecodedPayload.d.ts +72 -72
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantPayload.d.ts +50 -50
- package/src/com/controlresell/models/auth/LoginPayload.d.ts +2 -2
- package/src/com/controlresell/models/auth/RegisterPayload.d.ts +2 -2
- package/src/com/controlresell/models/business/BusinessProfile.d.ts +6 -6
- package/src/com/controlresell/models/conversations/Conversation.d.ts +64 -64
- package/src/com/controlresell/models/conversations/ConversationOnPlatformUpdateRequest.d.ts +92 -92
- package/src/com/controlresell/models/conversations/ConversationUpdate.d.ts +124 -124
- package/src/com/controlresell/models/conversations/UserConversations.d.ts +94 -94
- package/src/com/controlresell/models/conversations/favorites/ConversationFavorite.d.ts +18 -18
- package/src/com/controlresell/models/conversations/favorites/CreateConversationFavoritePayload.d.ts +2 -2
- package/src/com/controlresell/models/conversations/favorites/ReportRateLimitOnFavorites.d.ts +28 -28
- package/src/com/controlresell/models/conversations/favorites/SubmitFavoritesResponse.d.ts +28 -28
- package/src/com/controlresell/models/conversations/messages/ConversationMessage.d.ts +18 -18
- package/src/com/controlresell/models/conversations/messages/ConversationMessageRequest.d.ts +6 -6
- package/src/com/controlresell/models/conversations/messages/CreateConversationMessagePayload.d.ts +6 -6
- package/src/com/controlresell/models/conversations/messages/PaginatedConversationMessages.d.ts +30 -30
- package/src/com/controlresell/models/conversations/messages/files/ConversationMessageFile.d.ts +6 -6
- package/src/com/controlresell/models/conversations/messages/variables/PreferenceVariable.d.ts +2 -2
- package/src/com/controlresell/models/conversations/offers/ConversationOfferRequest.d.ts +2 -2
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.d.ts +66 -66
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerProfileCase.d.ts +4 -4
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerQuestionCase.d.ts +2 -2
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerTriggerCase.d.ts +4 -4
- package/src/com/controlresell/models/conversations/preferences/ExcludedBuyer.d.ts +2 -2
- package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreference.d.ts +92 -92
- package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreferenceCase.d.ts +28 -28
- package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreferenceVariant.d.ts +12 -12
- package/src/com/controlresell/models/conversations/preferences/NegotiationPreference.d.ts +10 -10
- package/src/com/controlresell/models/conversations/preferences/NegotiationPreferenceCase.d.ts +4 -4
- package/src/com/controlresell/models/conversations/reminders/SendConversationReminderRequest.d.ts +2 -2
- package/src/com/controlresell/models/conversations/users/ConversationUser.d.ts +8 -8
- package/src/com/controlresell/models/conversations/users/CreateConversationUserPayload.d.ts +2 -2
- package/src/com/controlresell/models/conversations/users/UpdateConversationUserPayload.d.ts +4 -4
- package/src/com/controlresell/models/customers/Customer.d.ts +12 -12
- package/src/com/controlresell/models/discord/DiscordLinkCreatedEvent.d.ts +9 -9
- package/src/com/controlresell/models/discord/DiscordLinkDeletedEvent.d.ts +2 -2
- package/src/com/controlresell/models/fees/Fee.d.ts +6 -6
- package/src/com/controlresell/models/files/File.d.ts +2 -2
- package/src/com/controlresell/models/filters/MatchingItem.d.ts +2 -2
- package/src/com/controlresell/models/filters/PreferenceFilter.d.ts +20 -20
- package/src/com/controlresell/models/filters/SavedFilters.d.ts +16 -16
- package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts +16 -16
- package/src/com/controlresell/models/invoices/Invoice.d.ts +50 -50
- package/src/com/controlresell/models/invoices/InvoiceLineItem.d.ts +4 -4
- package/src/com/controlresell/models/items/CreatedItems.d.ts +1406 -1406
- 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 +727 -727
- package/src/com/controlresell/models/items/UpdatedItem.d.ts +1406 -1406
- 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 +727 -727
- 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 +20 -10
- package/src/com/controlresell/models/metadata/categories/CategoryFormSchema.d.ts.map +1 -1
- package/src/com/controlresell/models/metadata/categories/EnumFieldSpec.d.ts +7 -4
- package/src/com/controlresell/models/metadata/categories/EnumFieldSpec.d.ts.map +1 -1
- package/src/com/controlresell/models/metadata/categories/EnumFieldSpec.js +3 -1
- package/src/com/controlresell/models/metadata/categories/EnumFieldSpec.js.map +1 -1
- package/src/com/controlresell/models/metadata/categories/EnumFieldSpec.ts +3 -1
- package/src/com/controlresell/models/metadata/categoryfields/CategoryField.d.ts +5 -2
- package/src/com/controlresell/models/metadata/categoryfields/CategoryField.d.ts.map +1 -1
- package/src/com/controlresell/models/metadata/categoryfields/CategoryField.js +3 -1
- package/src/com/controlresell/models/metadata/categoryfields/CategoryField.js.map +1 -1
- package/src/com/controlresell/models/metadata/categoryfields/CategoryField.ts +3 -1
- 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 +270 -270
- 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 +1639 -1639
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +24 -24
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +1222 -1222
- package/src/com/controlresell/models/platforms/pickups/CreatePickupPointPayload.d.ts +4 -4
- package/src/com/controlresell/models/platforms/pickups/PickupPoint.d.ts +6 -6
- package/src/com/controlresell/models/platforms/pickups/PickupPointInOrder.d.ts +12 -12
- package/src/com/controlresell/models/platforms/pickups/UpdatePickupPointPayload.d.ts +4 -4
- package/src/com/controlresell/models/subscriptions/ActiveLevel.d.ts +2 -2
- package/src/com/controlresell/models/subscriptions/SubscriptionChangedEvent.d.ts +4 -4
- package/src/com/controlresell/models/subscriptions/SubscriptionHistory.d.ts +4 -4
- package/src/com/controlresell/models/subscriptions/UserLimitCounter.d.ts +2 -2
- package/src/com/controlresell/models/subscriptions/UserLimits.d.ts +46 -46
- package/src/com/controlresell/models/transactions/Transaction.d.ts +36 -36
- package/src/com/controlresell/models/transactions/items/ItemInTransaction.d.ts +24 -24
- package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts +773 -773
- package/src/com/controlresell/models/users/UpdateUserPayload.d.ts +6 -6
- package/src/com/controlresell/models/users/User.d.ts +30 -30
- package/src/com/controlresell/models/users/fields/Field.d.ts +2 -2
- package/src/com/controlresell/models/users/fields/FieldsWithData.d.ts +4 -4
- package/src/com/controlresell/models/users/platforms/CreateUserOnPlatformPayload.d.ts +2 -2
- package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts +14 -14
- package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts +16 -16
- package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.d.ts +2 -2
- package/src/com/controlresell/models/users/platforms/UserOnPlatform.d.ts +8 -8
- package/src/com/controlresell/models/users/ws/ResourceUpdate.d.ts +61 -61
- package/src/com/controlresell/models/users/ws/UserLimitsUpdate.d.ts +74 -74
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +3629 -3629
- package/src/com/controlresell/models/users/ws/UserWsResourcePayload.d.ts +80 -80
- package/src/index.d.ts +385 -385
- package/src/index.d.ts.map +1 -1
- package/src/index.js +385 -385
- package/src/index.js.map +1 -1
- package/src/index.ts +385 -385
|
@@ -56,15 +56,15 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
56
56
|
}, "strip", z.ZodTypeAny, {
|
|
57
57
|
path: string;
|
|
58
58
|
id: string;
|
|
59
|
-
createdAt: Date;
|
|
60
59
|
userId: number;
|
|
60
|
+
createdAt: Date;
|
|
61
61
|
signedUrl: string;
|
|
62
62
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
63
63
|
}, {
|
|
64
64
|
path: string;
|
|
65
65
|
id: string;
|
|
66
|
-
createdAt: Date;
|
|
67
66
|
userId: number;
|
|
67
|
+
createdAt: Date;
|
|
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
|
-
name: string;
|
|
79
|
-
userId: number;
|
|
80
78
|
accountId: string;
|
|
79
|
+
userId: number;
|
|
80
|
+
name: 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
|
-
createdAt: Date;
|
|
100
99
|
userId: number;
|
|
100
|
+
createdAt: Date;
|
|
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
|
-
name: string;
|
|
109
|
-
userId: number;
|
|
110
108
|
accountId: string;
|
|
109
|
+
userId: number;
|
|
110
|
+
name: 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
|
-
createdAt: Date;
|
|
131
130
|
userId: number;
|
|
131
|
+
createdAt: Date;
|
|
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
|
-
createdAt: Date;
|
|
151
150
|
accountId: string;
|
|
151
|
+
createdAt: Date;
|
|
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
|
-
name: string;
|
|
166
|
-
userId: number;
|
|
167
165
|
accountId: string;
|
|
166
|
+
userId: number;
|
|
167
|
+
name: 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
|
-
createdAt: Date;
|
|
187
186
|
userId: number;
|
|
187
|
+
createdAt: Date;
|
|
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
|
-
createdAt: Date;
|
|
201
200
|
accountId: string;
|
|
201
|
+
createdAt: Date;
|
|
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
|
-
name: string;
|
|
216
|
-
userId: number;
|
|
217
215
|
accountId: string;
|
|
216
|
+
userId: number;
|
|
217
|
+
name: 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
|
-
createdAt: Date;
|
|
238
237
|
userId: number;
|
|
238
|
+
createdAt: Date;
|
|
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
|
-
createdAt: Date;
|
|
257
256
|
accountId: string;
|
|
257
|
+
createdAt: Date;
|
|
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
|
-
name: string;
|
|
272
|
-
userId: number;
|
|
273
271
|
accountId: string;
|
|
272
|
+
userId: number;
|
|
273
|
+
name: 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
|
-
createdAt: Date;
|
|
293
292
|
userId: number;
|
|
293
|
+
createdAt: Date;
|
|
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
|
-
createdAt: Date;
|
|
311
310
|
accountId: string;
|
|
311
|
+
createdAt: Date;
|
|
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
|
-
name: string;
|
|
326
|
-
userId: number;
|
|
327
325
|
accountId: string;
|
|
326
|
+
userId: number;
|
|
327
|
+
name: 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
|
-
createdAt: Date;
|
|
348
347
|
userId: number;
|
|
348
|
+
createdAt: Date;
|
|
349
349
|
signedUrl: string;
|
|
350
350
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
351
351
|
} | null | undefined;
|
|
@@ -362,16 +362,14 @@ 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;
|
|
367
365
|
items?: {
|
|
368
366
|
transactionId: string;
|
|
369
367
|
itemOnPlatformId: string;
|
|
370
368
|
itemOnPlatform?: {
|
|
371
369
|
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
372
370
|
id: string;
|
|
373
|
-
createdAt: Date;
|
|
374
371
|
accountId: string;
|
|
372
|
+
createdAt: Date;
|
|
375
373
|
itemId: number;
|
|
376
374
|
platformId: string;
|
|
377
375
|
platformUrl: string;
|
|
@@ -385,9 +383,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
385
383
|
favoritesCount?: number | null | undefined;
|
|
386
384
|
account?: {
|
|
387
385
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
388
|
-
name: string;
|
|
389
|
-
userId: number;
|
|
390
386
|
accountId: string;
|
|
387
|
+
userId: number;
|
|
388
|
+
name: string;
|
|
391
389
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
392
390
|
locale?: string | null | undefined;
|
|
393
391
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -406,8 +404,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
406
404
|
profilePicture?: {
|
|
407
405
|
path: string;
|
|
408
406
|
id: string;
|
|
409
|
-
createdAt: Date;
|
|
410
407
|
userId: number;
|
|
408
|
+
createdAt: Date;
|
|
411
409
|
signedUrl: string;
|
|
412
410
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
413
411
|
} | null | undefined;
|
|
@@ -420,21 +418,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
420
418
|
isBoosted?: boolean | null | undefined;
|
|
421
419
|
} | null | undefined;
|
|
422
420
|
}[] | 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;
|
|
431
429
|
items?: {
|
|
432
430
|
transactionId: string;
|
|
433
431
|
itemOnPlatformId: string;
|
|
434
432
|
itemOnPlatform?: {
|
|
435
433
|
id: string;
|
|
436
|
-
createdAt: Date;
|
|
437
434
|
accountId: string;
|
|
435
|
+
createdAt: Date;
|
|
438
436
|
itemId: number;
|
|
439
437
|
platformId: string;
|
|
440
438
|
platformUrl: string;
|
|
@@ -448,9 +446,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
448
446
|
viewsCount?: number | null | undefined;
|
|
449
447
|
favoritesCount?: number | null | undefined;
|
|
450
448
|
account?: {
|
|
451
|
-
name: string;
|
|
452
|
-
userId: number;
|
|
453
449
|
accountId: string;
|
|
450
|
+
userId: number;
|
|
451
|
+
name: string;
|
|
454
452
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
455
453
|
status?: unknown;
|
|
456
454
|
locale?: string | null | undefined;
|
|
@@ -470,8 +468,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
470
468
|
profilePicture?: {
|
|
471
469
|
path: string;
|
|
472
470
|
id: string;
|
|
473
|
-
createdAt: Date;
|
|
474
471
|
userId: number;
|
|
472
|
+
createdAt: Date;
|
|
475
473
|
signedUrl: string;
|
|
476
474
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
477
475
|
} | null | undefined;
|
|
@@ -484,6 +482,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
484
482
|
isBoosted?: boolean | null | undefined;
|
|
485
483
|
} | null | undefined;
|
|
486
484
|
}[] | 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
|
-
createdAt: Date;
|
|
511
510
|
userId: number;
|
|
511
|
+
createdAt: Date;
|
|
512
512
|
signedUrl: string;
|
|
513
513
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
514
514
|
}, {
|
|
515
515
|
path: string;
|
|
516
516
|
id: string;
|
|
517
|
-
createdAt: Date;
|
|
518
517
|
userId: number;
|
|
518
|
+
createdAt: Date;
|
|
519
519
|
signedUrl: string;
|
|
520
520
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
521
521
|
}>>>;
|
|
522
522
|
}, "strip", z.ZodTypeAny, {
|
|
523
|
-
fileId: string;
|
|
524
523
|
itemId: number;
|
|
524
|
+
fileId: string;
|
|
525
525
|
file?: {
|
|
526
526
|
path: string;
|
|
527
527
|
id: string;
|
|
528
|
-
createdAt: Date;
|
|
529
528
|
userId: number;
|
|
529
|
+
createdAt: Date;
|
|
530
530
|
signedUrl: string;
|
|
531
531
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
532
532
|
} | null | undefined;
|
|
533
533
|
index?: number | null | undefined;
|
|
534
534
|
}, {
|
|
535
|
-
fileId: string;
|
|
536
535
|
itemId: number;
|
|
536
|
+
fileId: string;
|
|
537
537
|
file?: {
|
|
538
538
|
path: string;
|
|
539
539
|
id: string;
|
|
540
|
-
createdAt: Date;
|
|
541
540
|
userId: number;
|
|
541
|
+
createdAt: Date;
|
|
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
|
-
name: string;
|
|
580
579
|
id: number;
|
|
581
|
-
createdAt: Date;
|
|
582
580
|
userId: number;
|
|
581
|
+
name: string;
|
|
582
|
+
createdAt: Date;
|
|
583
583
|
updatedAt: Date;
|
|
584
|
-
recurrence: "
|
|
584
|
+
recurrence: "MONTHLY" | "UNIQUE" | "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
|
-
name: string;
|
|
595
594
|
id: number;
|
|
596
|
-
createdAt: Date;
|
|
597
595
|
userId: number;
|
|
596
|
+
name: string;
|
|
597
|
+
createdAt: Date;
|
|
598
598
|
updatedAt: Date;
|
|
599
|
-
recurrence: "
|
|
599
|
+
recurrence: "MONTHLY" | "UNIQUE" | "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
|
-
name: string;
|
|
621
620
|
id: number;
|
|
621
|
+
name: string;
|
|
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
|
-
name: string;
|
|
629
628
|
id: number;
|
|
629
|
+
name: string;
|
|
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
|
-
name: string;
|
|
641
640
|
id: number;
|
|
641
|
+
name: string;
|
|
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
|
-
name: string;
|
|
653
652
|
id: number;
|
|
653
|
+
name: string;
|
|
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: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "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: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "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: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "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;
|
|
1062
1063
|
status?: string | null | undefined;
|
|
1063
1064
|
title?: string | null | undefined;
|
|
1064
1065
|
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;
|
|
1070
1066
|
price?: number | null | undefined;
|
|
1071
1067
|
currency?: string | null | undefined;
|
|
1068
|
+
brand?: string | null | undefined;
|
|
1072
1069
|
catalog?: string | null | undefined;
|
|
1073
1070
|
catalogId?: number | null | undefined;
|
|
1074
1071
|
colors?: string[] | null | undefined;
|
|
1072
|
+
colorIds?: number[] | null | undefined;
|
|
1075
1073
|
measurementLength?: number | null | undefined;
|
|
1076
1074
|
measurementWidth?: number | null | undefined;
|
|
1075
|
+
packageSizeId?: number | null | undefined;
|
|
1077
1076
|
photoUrls?: string[] | null | undefined;
|
|
1078
|
-
|
|
1077
|
+
sizeId?: number | null | undefined;
|
|
1078
|
+
statusId?: number | 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;
|
|
1107
1108
|
status?: string | null | undefined;
|
|
1108
1109
|
title?: string | null | undefined;
|
|
1109
1110
|
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;
|
|
1115
1111
|
price?: number | null | undefined;
|
|
1116
1112
|
currency?: string | null | undefined;
|
|
1113
|
+
brand?: string | null | undefined;
|
|
1117
1114
|
catalog?: string | null | undefined;
|
|
1118
1115
|
catalogId?: number | null | undefined;
|
|
1119
1116
|
colors?: string[] | null | undefined;
|
|
1117
|
+
colorIds?: number[] | null | undefined;
|
|
1120
1118
|
measurementLength?: number | null | undefined;
|
|
1121
1119
|
measurementWidth?: number | null | undefined;
|
|
1120
|
+
packageSizeId?: number | null | undefined;
|
|
1122
1121
|
photoUrls?: string[] | null | undefined;
|
|
1123
|
-
|
|
1122
|
+
sizeId?: number | null | undefined;
|
|
1123
|
+
statusId?: number | 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;
|
|
1157
1158
|
status?: string | null | undefined;
|
|
1158
1159
|
title?: string | null | undefined;
|
|
1159
1160
|
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;
|
|
1165
1161
|
price?: number | null | undefined;
|
|
1166
1162
|
currency?: string | null | undefined;
|
|
1163
|
+
brand?: string | null | undefined;
|
|
1167
1164
|
catalog?: string | null | undefined;
|
|
1168
1165
|
catalogId?: number | null | undefined;
|
|
1169
1166
|
colors?: string[] | null | undefined;
|
|
1167
|
+
colorIds?: number[] | null | undefined;
|
|
1170
1168
|
measurementLength?: number | null | undefined;
|
|
1171
1169
|
measurementWidth?: number | null | undefined;
|
|
1170
|
+
packageSizeId?: number | null | undefined;
|
|
1172
1171
|
photoUrls?: string[] | null | undefined;
|
|
1173
|
-
|
|
1172
|
+
sizeId?: number | null | undefined;
|
|
1173
|
+
statusId?: number | 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;
|
|
1209
1210
|
status?: string | null | undefined;
|
|
1210
1211
|
title?: string | null | undefined;
|
|
1211
1212
|
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;
|
|
1217
1213
|
price?: number | null | undefined;
|
|
1218
1214
|
currency?: string | null | undefined;
|
|
1215
|
+
brand?: string | null | undefined;
|
|
1219
1216
|
catalog?: string | null | undefined;
|
|
1220
1217
|
catalogId?: number | null | undefined;
|
|
1221
1218
|
colors?: string[] | null | undefined;
|
|
1219
|
+
colorIds?: number[] | null | undefined;
|
|
1222
1220
|
measurementLength?: number | null | undefined;
|
|
1223
1221
|
measurementWidth?: number | null | undefined;
|
|
1222
|
+
packageSizeId?: number | null | undefined;
|
|
1224
1223
|
photoUrls?: string[] | null | undefined;
|
|
1225
|
-
|
|
1224
|
+
sizeId?: number | null | undefined;
|
|
1225
|
+
statusId?: number | 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;
|
|
1263
1264
|
status?: string | null | undefined;
|
|
1264
1265
|
title?: string | null | undefined;
|
|
1265
1266
|
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;
|
|
1271
1267
|
price?: number | null | undefined;
|
|
1272
1268
|
currency?: string | null | undefined;
|
|
1269
|
+
brand?: string | null | undefined;
|
|
1273
1270
|
catalog?: string | null | undefined;
|
|
1274
1271
|
catalogId?: number | null | undefined;
|
|
1275
1272
|
colors?: string[] | null | undefined;
|
|
1273
|
+
colorIds?: number[] | null | undefined;
|
|
1276
1274
|
measurementLength?: number | null | undefined;
|
|
1277
1275
|
measurementWidth?: number | null | undefined;
|
|
1276
|
+
packageSizeId?: number | null | undefined;
|
|
1278
1277
|
photoUrls?: string[] | null | undefined;
|
|
1279
|
-
|
|
1278
|
+
sizeId?: number | null | undefined;
|
|
1279
|
+
statusId?: number | 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;
|
|
1317
1318
|
status?: string | null | undefined;
|
|
1318
1319
|
title?: string | null | undefined;
|
|
1319
1320
|
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;
|
|
1325
1321
|
price?: number | null | undefined;
|
|
1326
1322
|
currency?: string | null | undefined;
|
|
1323
|
+
brand?: string | null | undefined;
|
|
1327
1324
|
catalog?: string | null | undefined;
|
|
1328
1325
|
catalogId?: number | null | undefined;
|
|
1329
1326
|
colors?: string[] | null | undefined;
|
|
1327
|
+
colorIds?: number[] | null | undefined;
|
|
1330
1328
|
measurementLength?: number | null | undefined;
|
|
1331
1329
|
measurementWidth?: number | null | undefined;
|
|
1330
|
+
packageSizeId?: number | null | undefined;
|
|
1332
1331
|
photoUrls?: string[] | null | undefined;
|
|
1333
|
-
|
|
1332
|
+
sizeId?: number | null | undefined;
|
|
1333
|
+
statusId?: number | 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;
|
|
1375
1376
|
status?: string | null | undefined;
|
|
1376
1377
|
title?: string | null | undefined;
|
|
1377
1378
|
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;
|
|
1383
1379
|
price?: number | null | undefined;
|
|
1384
1380
|
currency?: string | null | undefined;
|
|
1381
|
+
brand?: string | null | undefined;
|
|
1385
1382
|
catalog?: string | null | undefined;
|
|
1386
1383
|
catalogId?: number | null | undefined;
|
|
1387
1384
|
colors?: string[] | null | undefined;
|
|
1385
|
+
colorIds?: number[] | null | undefined;
|
|
1388
1386
|
measurementLength?: number | null | undefined;
|
|
1389
1387
|
measurementWidth?: number | null | undefined;
|
|
1388
|
+
packageSizeId?: number | null | undefined;
|
|
1390
1389
|
photoUrls?: string[] | null | undefined;
|
|
1391
|
-
|
|
1390
|
+
sizeId?: number | null | undefined;
|
|
1391
|
+
statusId?: number | 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;
|
|
1432
1433
|
status?: string | null | undefined;
|
|
1433
1434
|
title?: string | null | undefined;
|
|
1434
1435
|
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;
|
|
1440
1436
|
price?: number | null | undefined;
|
|
1441
1437
|
currency?: string | null | undefined;
|
|
1438
|
+
brand?: string | null | undefined;
|
|
1442
1439
|
catalog?: string | null | undefined;
|
|
1443
1440
|
catalogId?: number | null | undefined;
|
|
1444
1441
|
colors?: string[] | null | undefined;
|
|
1442
|
+
colorIds?: number[] | null | undefined;
|
|
1445
1443
|
measurementLength?: number | null | undefined;
|
|
1446
1444
|
measurementWidth?: number | null | undefined;
|
|
1445
|
+
packageSizeId?: number | null | undefined;
|
|
1447
1446
|
photoUrls?: string[] | null | undefined;
|
|
1448
|
-
|
|
1447
|
+
sizeId?: number | null | undefined;
|
|
1448
|
+
statusId?: number | 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
|
-
caseId: string;
|
|
1509
1508
|
accountId: string;
|
|
1509
|
+
caseId: string;
|
|
1510
1510
|
isRepeat?: boolean | null | undefined;
|
|
1511
1511
|
}, {
|
|
1512
|
-
caseId: string;
|
|
1513
1512
|
accountId: string;
|
|
1513
|
+
caseId: 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
|
-
caseId: string;
|
|
1521
1520
|
accountId: string;
|
|
1521
|
+
caseId: string;
|
|
1522
1522
|
isRepeat?: boolean | null | undefined;
|
|
1523
1523
|
};
|
|
1524
1524
|
}, {
|
|
1525
1525
|
type: "LIFECYCLE_STARTED";
|
|
1526
1526
|
data: {
|
|
1527
|
-
caseId: string;
|
|
1528
1527
|
accountId: string;
|
|
1528
|
+
caseId: 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
|
-
publishingDate?: Date | null | undefined;
|
|
1705
|
-
isTransfer?: boolean | null | undefined;
|
|
1706
1704
|
targetAccountId?: string | null | undefined;
|
|
1707
1705
|
allowIfDeleted?: boolean | null | undefined;
|
|
1706
|
+
publishingDate?: Date | null | undefined;
|
|
1707
|
+
isTransfer?: 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
|
-
publishingDate?: Date | null | undefined;
|
|
1735
|
-
isTransfer?: boolean | null | undefined;
|
|
1736
1734
|
targetAccountId?: string | null | undefined;
|
|
1737
1735
|
allowIfDeleted?: boolean | null | undefined;
|
|
1736
|
+
publishingDate?: Date | null | undefined;
|
|
1737
|
+
isTransfer?: 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
|
-
publishingDate?: Date | null | undefined;
|
|
1769
|
-
isTransfer?: boolean | null | undefined;
|
|
1770
1768
|
targetAccountId?: string | null | undefined;
|
|
1771
1769
|
allowIfDeleted?: boolean | null | undefined;
|
|
1770
|
+
publishingDate?: Date | null | undefined;
|
|
1771
|
+
isTransfer?: 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
|
-
publishingDate?: Date | null | undefined;
|
|
1802
|
-
isTransfer?: boolean | null | undefined;
|
|
1803
1801
|
targetAccountId?: string | null | undefined;
|
|
1804
1802
|
allowIfDeleted?: boolean | null | undefined;
|
|
1803
|
+
publishingDate?: Date | null | undefined;
|
|
1804
|
+
isTransfer?: 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: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "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;
|
|
1934
1933
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1935
1934
|
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: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "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;
|
|
1969
1968
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1970
1969
|
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;
|
|
2008
2007
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2009
2008
|
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: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "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;
|
|
2046
2045
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2047
2046
|
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: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "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;
|
|
2126
2125
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2127
2126
|
attemptNumber: number;
|
|
2127
|
+
maxAttempts: number;
|
|
2128
2128
|
previousHistoryId: string;
|
|
2129
2129
|
originalFailureDate: Date;
|
|
2130
2130
|
fields?: {
|
|
2131
|
-
field: "
|
|
2131
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "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;
|
|
2137
2136
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2138
2137
|
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;
|
|
2152
2151
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2153
2152
|
attemptNumber: number;
|
|
2153
|
+
maxAttempts: number;
|
|
2154
2154
|
previousHistoryId: string;
|
|
2155
2155
|
originalFailureDate: Date;
|
|
2156
2156
|
fields?: {
|
|
2157
|
-
field: "
|
|
2157
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "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;
|
|
2166
2165
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2167
2166
|
attemptNumber: number;
|
|
2167
|
+
maxAttempts: number;
|
|
2168
2168
|
previousHistoryId: string;
|
|
2169
2169
|
originalFailureDate: Date;
|
|
2170
2170
|
fields?: {
|
|
@@ -2321,6 +2321,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2321
2321
|
id: string;
|
|
2322
2322
|
createdAt: Date;
|
|
2323
2323
|
itemId: number;
|
|
2324
|
+
accountId?: string | null | undefined;
|
|
2324
2325
|
data?: {
|
|
2325
2326
|
type: "ACTION_CANCELED";
|
|
2326
2327
|
data: {
|
|
@@ -2356,7 +2357,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2356
2357
|
accountId?: string | null | undefined;
|
|
2357
2358
|
reason?: string | null | undefined;
|
|
2358
2359
|
fields?: {
|
|
2359
|
-
field: "
|
|
2360
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2360
2361
|
autoFixable: boolean;
|
|
2361
2362
|
error?: string | null | undefined;
|
|
2362
2363
|
}[] | null | undefined;
|
|
@@ -2386,23 +2387,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2386
2387
|
post: {
|
|
2387
2388
|
platformId: string;
|
|
2388
2389
|
post: {
|
|
2390
|
+
size?: string | null | undefined;
|
|
2389
2391
|
status?: string | null | undefined;
|
|
2390
2392
|
title?: string | null | undefined;
|
|
2391
2393
|
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;
|
|
2397
2394
|
price?: number | null | undefined;
|
|
2398
2395
|
currency?: string | null | undefined;
|
|
2396
|
+
brand?: string | null | undefined;
|
|
2399
2397
|
catalog?: string | null | undefined;
|
|
2400
2398
|
catalogId?: number | null | undefined;
|
|
2401
2399
|
colors?: string[] | null | undefined;
|
|
2400
|
+
colorIds?: number[] | null | undefined;
|
|
2402
2401
|
measurementLength?: number | null | undefined;
|
|
2403
2402
|
measurementWidth?: number | null | undefined;
|
|
2403
|
+
packageSizeId?: number | null | undefined;
|
|
2404
2404
|
photoUrls?: string[] | null | undefined;
|
|
2405
|
-
|
|
2405
|
+
sizeId?: number | null | undefined;
|
|
2406
|
+
statusId?: number | null | undefined;
|
|
2406
2407
|
isDraft?: boolean | null | undefined;
|
|
2407
2408
|
isArchived?: boolean | null | undefined;
|
|
2408
2409
|
isUnisex?: boolean | null | undefined;
|
|
@@ -2445,8 +2446,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2445
2446
|
} | {
|
|
2446
2447
|
type: "LIFECYCLE_STARTED";
|
|
2447
2448
|
data: {
|
|
2448
|
-
caseId: string;
|
|
2449
2449
|
accountId: string;
|
|
2450
|
+
caseId: string;
|
|
2450
2451
|
isRepeat?: boolean | null | undefined;
|
|
2451
2452
|
};
|
|
2452
2453
|
} | {
|
|
@@ -2485,17 +2486,17 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2485
2486
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
2486
2487
|
} | null | undefined;
|
|
2487
2488
|
} | null | undefined;
|
|
2488
|
-
publishingDate?: Date | null | undefined;
|
|
2489
|
-
isTransfer?: boolean | null | undefined;
|
|
2490
2489
|
targetAccountId?: string | null | undefined;
|
|
2491
2490
|
allowIfDeleted?: boolean | null | undefined;
|
|
2491
|
+
publishingDate?: Date | null | undefined;
|
|
2492
|
+
isTransfer?: boolean | null | undefined;
|
|
2492
2493
|
};
|
|
2493
2494
|
} | {
|
|
2494
2495
|
type: "REPUBLISHING_RETRY";
|
|
2495
2496
|
data: {
|
|
2496
|
-
maxAttempts: number;
|
|
2497
2497
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2498
2498
|
attemptNumber: number;
|
|
2499
|
+
maxAttempts: number;
|
|
2499
2500
|
previousHistoryId: string;
|
|
2500
2501
|
originalFailureDate: Date;
|
|
2501
2502
|
payload?: {
|
|
@@ -2523,7 +2524,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2523
2524
|
} | null | undefined;
|
|
2524
2525
|
} | null | undefined;
|
|
2525
2526
|
fields?: {
|
|
2526
|
-
field: "
|
|
2527
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2527
2528
|
autoFixable: boolean;
|
|
2528
2529
|
error?: string | null | undefined;
|
|
2529
2530
|
}[] | null | undefined;
|
|
@@ -2537,13 +2538,13 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2537
2538
|
} | {
|
|
2538
2539
|
type: "SCHEDULED_RETRY";
|
|
2539
2540
|
data: {
|
|
2540
|
-
maxAttempts: number;
|
|
2541
2541
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2542
2542
|
attemptNumber: number;
|
|
2543
|
+
maxAttempts: number;
|
|
2543
2544
|
previousHistoryId: string;
|
|
2544
2545
|
originalFailureDate: Date;
|
|
2545
2546
|
fields?: {
|
|
2546
|
-
field: "
|
|
2547
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2547
2548
|
autoFixable: boolean;
|
|
2548
2549
|
error?: string | null | undefined;
|
|
2549
2550
|
}[] | null | undefined;
|
|
@@ -2572,7 +2573,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2572
2573
|
targetDate?: Date | null | undefined;
|
|
2573
2574
|
};
|
|
2574
2575
|
} | 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,6 +2581,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2581
2581
|
createdAt: Date;
|
|
2582
2582
|
itemId: number;
|
|
2583
2583
|
type?: unknown;
|
|
2584
|
+
accountId?: string | null | undefined;
|
|
2584
2585
|
data?: {
|
|
2585
2586
|
type: "ACTION_CANCELED";
|
|
2586
2587
|
data: {
|
|
@@ -2646,23 +2647,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2646
2647
|
post: {
|
|
2647
2648
|
platformId: string;
|
|
2648
2649
|
post: {
|
|
2650
|
+
size?: string | null | undefined;
|
|
2649
2651
|
status?: string | null | undefined;
|
|
2650
2652
|
title?: string | null | undefined;
|
|
2651
2653
|
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;
|
|
2657
2654
|
price?: number | null | undefined;
|
|
2658
2655
|
currency?: string | null | undefined;
|
|
2656
|
+
brand?: string | null | undefined;
|
|
2659
2657
|
catalog?: string | null | undefined;
|
|
2660
2658
|
catalogId?: number | null | undefined;
|
|
2661
2659
|
colors?: string[] | null | undefined;
|
|
2660
|
+
colorIds?: number[] | null | undefined;
|
|
2662
2661
|
measurementLength?: number | null | undefined;
|
|
2663
2662
|
measurementWidth?: number | null | undefined;
|
|
2663
|
+
packageSizeId?: number | null | undefined;
|
|
2664
2664
|
photoUrls?: string[] | null | undefined;
|
|
2665
|
-
|
|
2665
|
+
sizeId?: number | null | undefined;
|
|
2666
|
+
statusId?: number | null | undefined;
|
|
2666
2667
|
isDraft?: boolean | null | undefined;
|
|
2667
2668
|
isArchived?: boolean | null | undefined;
|
|
2668
2669
|
isUnisex?: boolean | null | undefined;
|
|
@@ -2705,8 +2706,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2705
2706
|
} | {
|
|
2706
2707
|
type: "LIFECYCLE_STARTED";
|
|
2707
2708
|
data: {
|
|
2708
|
-
caseId: string;
|
|
2709
2709
|
accountId: string;
|
|
2710
|
+
caseId: string;
|
|
2710
2711
|
isRepeat?: boolean | null | undefined;
|
|
2711
2712
|
};
|
|
2712
2713
|
} | {
|
|
@@ -2745,17 +2746,17 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2745
2746
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
2746
2747
|
} | null | undefined;
|
|
2747
2748
|
} | null | undefined;
|
|
2748
|
-
publishingDate?: Date | null | undefined;
|
|
2749
|
-
isTransfer?: boolean | null | undefined;
|
|
2750
2749
|
targetAccountId?: string | null | undefined;
|
|
2751
2750
|
allowIfDeleted?: boolean | null | undefined;
|
|
2751
|
+
publishingDate?: Date | null | undefined;
|
|
2752
|
+
isTransfer?: boolean | null | undefined;
|
|
2752
2753
|
};
|
|
2753
2754
|
} | {
|
|
2754
2755
|
type: "REPUBLISHING_RETRY";
|
|
2755
2756
|
data: {
|
|
2756
|
-
maxAttempts: number;
|
|
2757
2757
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2758
2758
|
attemptNumber: number;
|
|
2759
|
+
maxAttempts: number;
|
|
2759
2760
|
previousHistoryId: string;
|
|
2760
2761
|
originalFailureDate: Date;
|
|
2761
2762
|
payload?: {
|
|
@@ -2797,9 +2798,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2797
2798
|
} | {
|
|
2798
2799
|
type: "SCHEDULED_RETRY";
|
|
2799
2800
|
data: {
|
|
2800
|
-
maxAttempts: number;
|
|
2801
2801
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2802
2802
|
attemptNumber: number;
|
|
2803
|
+
maxAttempts: number;
|
|
2803
2804
|
previousHistoryId: string;
|
|
2804
2805
|
originalFailureDate: Date;
|
|
2805
2806
|
fields?: {
|
|
@@ -2832,7 +2833,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2832
2833
|
targetDate?: Date | null | undefined;
|
|
2833
2834
|
};
|
|
2834
2835
|
} | 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
|
-
createdAt: Date;
|
|
2886
2885
|
userId: number;
|
|
2886
|
+
createdAt: Date;
|
|
2887
2887
|
signedUrl: string;
|
|
2888
2888
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2889
2889
|
}, {
|
|
2890
2890
|
path: string;
|
|
2891
2891
|
id: string;
|
|
2892
|
-
createdAt: Date;
|
|
2893
2892
|
userId: number;
|
|
2893
|
+
createdAt: Date;
|
|
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
|
-
name: string;
|
|
2905
|
-
userId: number;
|
|
2906
2904
|
accountId: string;
|
|
2905
|
+
userId: number;
|
|
2906
|
+
name: 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
|
-
createdAt: Date;
|
|
2926
2925
|
userId: number;
|
|
2926
|
+
createdAt: Date;
|
|
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
|
-
name: string;
|
|
2935
|
-
userId: number;
|
|
2936
2934
|
accountId: string;
|
|
2935
|
+
userId: number;
|
|
2936
|
+
name: 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
|
-
createdAt: Date;
|
|
2957
2956
|
userId: number;
|
|
2957
|
+
createdAt: Date;
|
|
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
|
-
createdAt: Date;
|
|
2977
2976
|
accountId: string;
|
|
2977
|
+
createdAt: Date;
|
|
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
|
-
name: string;
|
|
2992
|
-
userId: number;
|
|
2993
2991
|
accountId: string;
|
|
2992
|
+
userId: number;
|
|
2993
|
+
name: 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
|
-
createdAt: Date;
|
|
3013
3012
|
userId: number;
|
|
3013
|
+
createdAt: Date;
|
|
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
|
-
createdAt: Date;
|
|
3027
3026
|
accountId: string;
|
|
3027
|
+
createdAt: Date;
|
|
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
|
-
name: string;
|
|
3042
|
-
userId: number;
|
|
3043
3041
|
accountId: string;
|
|
3042
|
+
userId: number;
|
|
3043
|
+
name: 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
|
-
createdAt: Date;
|
|
3064
3063
|
userId: number;
|
|
3064
|
+
createdAt: Date;
|
|
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, ("PUBLISH" | "REPUBLISH" | "UPDATE" | "UNKNOWN" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "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
|
-
createdAt: Date;
|
|
3105
3104
|
userId: number;
|
|
3105
|
+
createdAt: Date;
|
|
3106
3106
|
signedUrl: string;
|
|
3107
3107
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3108
3108
|
}, {
|
|
3109
3109
|
path: string;
|
|
3110
3110
|
id: string;
|
|
3111
|
-
createdAt: Date;
|
|
3112
3111
|
userId: number;
|
|
3112
|
+
createdAt: Date;
|
|
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
|
-
createdAt: Date;
|
|
3127
3126
|
userId: number;
|
|
3127
|
+
createdAt: Date;
|
|
3128
3128
|
signedUrl: string;
|
|
3129
3129
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3130
3130
|
}, {
|
|
3131
3131
|
path: string;
|
|
3132
3132
|
id: string;
|
|
3133
|
-
createdAt: Date;
|
|
3134
3133
|
userId: number;
|
|
3134
|
+
createdAt: Date;
|
|
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
|
-
createdAt: Date;
|
|
3149
3148
|
userId: number;
|
|
3149
|
+
createdAt: Date;
|
|
3150
3150
|
signedUrl: string;
|
|
3151
3151
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3152
3152
|
}, {
|
|
3153
3153
|
path: string;
|
|
3154
3154
|
id: string;
|
|
3155
|
-
createdAt: Date;
|
|
3156
3155
|
userId: number;
|
|
3156
|
+
createdAt: Date;
|
|
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
|
-
fileId: string;
|
|
3164
3163
|
orderId: string;
|
|
3164
|
+
fileId: string;
|
|
3165
3165
|
nonCroppedFileId: string;
|
|
3166
3166
|
originalFileId: string;
|
|
3167
|
-
|
|
3167
|
+
file?: {
|
|
3168
3168
|
path: string;
|
|
3169
3169
|
id: string;
|
|
3170
|
-
createdAt: Date;
|
|
3171
3170
|
userId: number;
|
|
3171
|
+
createdAt: Date;
|
|
3172
3172
|
signedUrl: string;
|
|
3173
3173
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3174
3174
|
} | null | undefined;
|
|
3175
|
-
|
|
3176
|
-
file?: {
|
|
3175
|
+
nonCroppedFile?: {
|
|
3177
3176
|
path: string;
|
|
3178
3177
|
id: string;
|
|
3179
|
-
createdAt: Date;
|
|
3180
3178
|
userId: number;
|
|
3179
|
+
createdAt: Date;
|
|
3181
3180
|
signedUrl: string;
|
|
3182
3181
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3183
3182
|
} | null | undefined;
|
|
3184
|
-
|
|
3183
|
+
originalFile?: {
|
|
3185
3184
|
path: string;
|
|
3186
3185
|
id: string;
|
|
3187
|
-
createdAt: Date;
|
|
3188
3186
|
userId: number;
|
|
3187
|
+
createdAt: Date;
|
|
3189
3188
|
signedUrl: string;
|
|
3190
3189
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3191
3190
|
} | 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
|
-
fileId: string;
|
|
3195
3194
|
orderId: string;
|
|
3195
|
+
fileId: string;
|
|
3196
3196
|
nonCroppedFileId: string;
|
|
3197
3197
|
originalFileId: string;
|
|
3198
|
-
|
|
3198
|
+
file?: {
|
|
3199
3199
|
path: string;
|
|
3200
3200
|
id: string;
|
|
3201
|
-
createdAt: Date;
|
|
3202
3201
|
userId: number;
|
|
3202
|
+
createdAt: Date;
|
|
3203
3203
|
signedUrl: string;
|
|
3204
3204
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3205
3205
|
} | null | undefined;
|
|
3206
|
-
|
|
3207
|
-
file?: {
|
|
3206
|
+
nonCroppedFile?: {
|
|
3208
3207
|
path: string;
|
|
3209
3208
|
id: string;
|
|
3210
|
-
createdAt: Date;
|
|
3211
3209
|
userId: number;
|
|
3210
|
+
createdAt: Date;
|
|
3212
3211
|
signedUrl: string;
|
|
3213
3212
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3214
3213
|
} | null | undefined;
|
|
3215
|
-
|
|
3214
|
+
originalFile?: {
|
|
3216
3215
|
path: string;
|
|
3217
3216
|
id: string;
|
|
3218
|
-
createdAt: Date;
|
|
3219
3217
|
userId: number;
|
|
3218
|
+
createdAt: Date;
|
|
3220
3219
|
signedUrl: string;
|
|
3221
3220
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3222
3221
|
} | 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,15 +3246,15 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3246
3246
|
}, "strip", z.ZodTypeAny, {
|
|
3247
3247
|
path: string;
|
|
3248
3248
|
id: string;
|
|
3249
|
-
createdAt: Date;
|
|
3250
3249
|
userId: number;
|
|
3250
|
+
createdAt: Date;
|
|
3251
3251
|
signedUrl: string;
|
|
3252
3252
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3253
3253
|
}, {
|
|
3254
3254
|
path: string;
|
|
3255
3255
|
id: string;
|
|
3256
|
-
createdAt: Date;
|
|
3257
3256
|
userId: number;
|
|
3257
|
+
createdAt: Date;
|
|
3258
3258
|
signedUrl: string;
|
|
3259
3259
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3260
3260
|
}>>>;
|
|
@@ -3264,8 +3264,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3264
3264
|
vatRegime: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["MARGIN", "FRANCHISE", "NORMAL", "UNKNOWN"]>>>>;
|
|
3265
3265
|
}, "strip", z.ZodTypeAny, {
|
|
3266
3266
|
id: string;
|
|
3267
|
-
createdAt: Date;
|
|
3268
3267
|
userId: number;
|
|
3268
|
+
createdAt: Date;
|
|
3269
3269
|
updatedAt: Date;
|
|
3270
3270
|
businessName: string;
|
|
3271
3271
|
address: string;
|
|
@@ -3278,16 +3278,16 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3278
3278
|
logo?: {
|
|
3279
3279
|
path: string;
|
|
3280
3280
|
id: string;
|
|
3281
|
-
createdAt: Date;
|
|
3282
3281
|
userId: number;
|
|
3282
|
+
createdAt: Date;
|
|
3283
3283
|
signedUrl: string;
|
|
3284
3284
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3285
3285
|
} | null | undefined;
|
|
3286
3286
|
vatRegime?: "UNKNOWN" | "MARGIN" | "FRANCHISE" | "NORMAL" | null | undefined;
|
|
3287
3287
|
}, {
|
|
3288
3288
|
id: string;
|
|
3289
|
-
createdAt: Date;
|
|
3290
3289
|
userId: number;
|
|
3290
|
+
createdAt: Date;
|
|
3291
3291
|
updatedAt: Date;
|
|
3292
3292
|
businessName: string;
|
|
3293
3293
|
address: string;
|
|
@@ -3300,8 +3300,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3300
3300
|
logo?: {
|
|
3301
3301
|
path: string;
|
|
3302
3302
|
id: string;
|
|
3303
|
-
createdAt: Date;
|
|
3304
3303
|
userId: number;
|
|
3304
|
+
createdAt: Date;
|
|
3305
3305
|
signedUrl: string;
|
|
3306
3306
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3307
3307
|
} | null | undefined;
|
|
@@ -3331,34 +3331,34 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3331
3331
|
firstName: string;
|
|
3332
3332
|
lastName: string;
|
|
3333
3333
|
phoneVerified: boolean;
|
|
3334
|
-
|
|
3334
|
+
postalCode?: string | null | undefined;
|
|
3335
|
+
city?: string | null | undefined;
|
|
3336
|
+
country?: string | null | undefined;
|
|
3335
3337
|
email?: string | null | undefined;
|
|
3338
|
+
addressLine1?: string | null | undefined;
|
|
3339
|
+
addressLine2?: string | null | undefined;
|
|
3340
|
+
birthDate?: Date | null | undefined;
|
|
3336
3341
|
idNumber?: string | null | undefined;
|
|
3337
3342
|
phone?: string | null | undefined;
|
|
3338
3343
|
iban?: string | null | undefined;
|
|
3339
3344
|
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;
|
|
3345
3345
|
}, {
|
|
3346
3346
|
id: string;
|
|
3347
3347
|
userId: number;
|
|
3348
3348
|
firstName: string;
|
|
3349
3349
|
lastName: string;
|
|
3350
3350
|
phoneVerified: boolean;
|
|
3351
|
-
|
|
3351
|
+
postalCode?: string | null | undefined;
|
|
3352
|
+
city?: string | null | undefined;
|
|
3353
|
+
country?: string | null | undefined;
|
|
3352
3354
|
email?: string | null | undefined;
|
|
3355
|
+
addressLine1?: string | null | undefined;
|
|
3356
|
+
addressLine2?: string | null | undefined;
|
|
3357
|
+
birthDate?: Date | null | undefined;
|
|
3353
3358
|
idNumber?: string | null | undefined;
|
|
3354
3359
|
phone?: string | null | undefined;
|
|
3355
3360
|
iban?: string | null | undefined;
|
|
3356
3361
|
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;
|
|
3362
3362
|
}>>>;
|
|
3363
3363
|
orderId: z.ZodString;
|
|
3364
3364
|
fileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3372,15 +3372,15 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3372
3372
|
}, "strip", z.ZodTypeAny, {
|
|
3373
3373
|
path: string;
|
|
3374
3374
|
id: string;
|
|
3375
|
-
createdAt: Date;
|
|
3376
3375
|
userId: number;
|
|
3376
|
+
createdAt: Date;
|
|
3377
3377
|
signedUrl: string;
|
|
3378
3378
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3379
3379
|
}, {
|
|
3380
3380
|
path: string;
|
|
3381
3381
|
id: string;
|
|
3382
|
-
createdAt: Date;
|
|
3383
3382
|
userId: number;
|
|
3383
|
+
createdAt: Date;
|
|
3384
3384
|
signedUrl: string;
|
|
3385
3385
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3386
3386
|
}>>>;
|
|
@@ -3405,21 +3405,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3405
3405
|
total: z.ZodNumber;
|
|
3406
3406
|
createdAt: z.ZodDate;
|
|
3407
3407
|
}, "strip", z.ZodTypeAny, {
|
|
3408
|
-
|
|
3408
|
+
quantity: number;
|
|
3409
3409
|
id: number;
|
|
3410
|
+
description: string;
|
|
3410
3411
|
createdAt: Date;
|
|
3411
3412
|
invoiceId: string;
|
|
3412
|
-
quantity: number;
|
|
3413
3413
|
unitPrice: number;
|
|
3414
3414
|
total: number;
|
|
3415
3415
|
itemOnPlatformId?: string | null | undefined;
|
|
3416
3416
|
vatRate?: number | null | undefined;
|
|
3417
3417
|
}, {
|
|
3418
|
-
|
|
3418
|
+
quantity: number;
|
|
3419
3419
|
id: number;
|
|
3420
|
+
description: string;
|
|
3420
3421
|
createdAt: Date;
|
|
3421
3422
|
invoiceId: string;
|
|
3422
|
-
quantity: number;
|
|
3423
3423
|
unitPrice: number;
|
|
3424
3424
|
total: number;
|
|
3425
3425
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3431,8 +3431,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3431
3431
|
type: "SALE" | "PURCHASE";
|
|
3432
3432
|
status: string;
|
|
3433
3433
|
id: string;
|
|
3434
|
-
createdAt: Date;
|
|
3435
3434
|
userId: number;
|
|
3435
|
+
createdAt: Date;
|
|
3436
3436
|
currency: string;
|
|
3437
3437
|
orderId: string;
|
|
3438
3438
|
updatedAt: Date;
|
|
@@ -3441,21 +3441,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3441
3441
|
businessProfileId: string;
|
|
3442
3442
|
issueDate: Date;
|
|
3443
3443
|
subtotal: number;
|
|
3444
|
-
fileId?: string | null | undefined;
|
|
3445
3444
|
vatAmount?: number | null | undefined;
|
|
3445
|
+
fileId?: string | null | undefined;
|
|
3446
3446
|
file?: {
|
|
3447
3447
|
path: string;
|
|
3448
3448
|
id: string;
|
|
3449
|
-
createdAt: Date;
|
|
3450
3449
|
userId: number;
|
|
3450
|
+
createdAt: Date;
|
|
3451
3451
|
signedUrl: string;
|
|
3452
3452
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3453
3453
|
} | null | undefined;
|
|
3454
3454
|
vatRate?: number | null | undefined;
|
|
3455
3455
|
businessProfile?: {
|
|
3456
3456
|
id: string;
|
|
3457
|
-
createdAt: Date;
|
|
3458
3457
|
userId: number;
|
|
3458
|
+
createdAt: Date;
|
|
3459
3459
|
updatedAt: Date;
|
|
3460
3460
|
businessName: string;
|
|
3461
3461
|
address: string;
|
|
@@ -3468,8 +3468,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3468
3468
|
logo?: {
|
|
3469
3469
|
path: string;
|
|
3470
3470
|
id: string;
|
|
3471
|
-
createdAt: Date;
|
|
3472
3471
|
userId: number;
|
|
3472
|
+
createdAt: Date;
|
|
3473
3473
|
signedUrl: string;
|
|
3474
3474
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3475
3475
|
} | null | undefined;
|
|
@@ -3482,26 +3482,26 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3482
3482
|
firstName: string;
|
|
3483
3483
|
lastName: string;
|
|
3484
3484
|
phoneVerified: boolean;
|
|
3485
|
-
|
|
3485
|
+
postalCode?: string | null | undefined;
|
|
3486
|
+
city?: string | null | undefined;
|
|
3487
|
+
country?: string | null | undefined;
|
|
3486
3488
|
email?: string | null | undefined;
|
|
3489
|
+
addressLine1?: string | null | undefined;
|
|
3490
|
+
addressLine2?: string | null | undefined;
|
|
3491
|
+
birthDate?: Date | null | undefined;
|
|
3487
3492
|
idNumber?: string | null | undefined;
|
|
3488
3493
|
phone?: string | null | undefined;
|
|
3489
3494
|
iban?: string | null | undefined;
|
|
3490
3495
|
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;
|
|
3496
3496
|
} | null | undefined;
|
|
3497
3497
|
dueDate?: Date | null | undefined;
|
|
3498
3498
|
notes?: string | null | undefined;
|
|
3499
3499
|
lineItems?: {
|
|
3500
|
-
|
|
3500
|
+
quantity: number;
|
|
3501
3501
|
id: number;
|
|
3502
|
+
description: string;
|
|
3502
3503
|
createdAt: Date;
|
|
3503
3504
|
invoiceId: string;
|
|
3504
|
-
quantity: number;
|
|
3505
3505
|
unitPrice: number;
|
|
3506
3506
|
total: number;
|
|
3507
3507
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3511,8 +3511,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3511
3511
|
type: "SALE" | "PURCHASE";
|
|
3512
3512
|
status: string;
|
|
3513
3513
|
id: string;
|
|
3514
|
-
createdAt: Date;
|
|
3515
3514
|
userId: number;
|
|
3515
|
+
createdAt: Date;
|
|
3516
3516
|
currency: string;
|
|
3517
3517
|
orderId: string;
|
|
3518
3518
|
updatedAt: Date;
|
|
@@ -3521,21 +3521,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3521
3521
|
businessProfileId: string;
|
|
3522
3522
|
issueDate: Date;
|
|
3523
3523
|
subtotal: number;
|
|
3524
|
-
fileId?: string | null | undefined;
|
|
3525
3524
|
vatAmount?: number | null | undefined;
|
|
3525
|
+
fileId?: string | null | undefined;
|
|
3526
3526
|
file?: {
|
|
3527
3527
|
path: string;
|
|
3528
3528
|
id: string;
|
|
3529
|
-
createdAt: Date;
|
|
3530
3529
|
userId: number;
|
|
3530
|
+
createdAt: Date;
|
|
3531
3531
|
signedUrl: string;
|
|
3532
3532
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3533
3533
|
} | null | undefined;
|
|
3534
3534
|
vatRate?: number | null | undefined;
|
|
3535
3535
|
businessProfile?: {
|
|
3536
3536
|
id: string;
|
|
3537
|
-
createdAt: Date;
|
|
3538
3537
|
userId: number;
|
|
3538
|
+
createdAt: Date;
|
|
3539
3539
|
updatedAt: Date;
|
|
3540
3540
|
businessName: string;
|
|
3541
3541
|
address: string;
|
|
@@ -3548,8 +3548,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3548
3548
|
logo?: {
|
|
3549
3549
|
path: string;
|
|
3550
3550
|
id: string;
|
|
3551
|
-
createdAt: Date;
|
|
3552
3551
|
userId: number;
|
|
3552
|
+
createdAt: Date;
|
|
3553
3553
|
signedUrl: string;
|
|
3554
3554
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3555
3555
|
} | null | undefined;
|
|
@@ -3562,26 +3562,26 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3562
3562
|
firstName: string;
|
|
3563
3563
|
lastName: string;
|
|
3564
3564
|
phoneVerified: boolean;
|
|
3565
|
-
|
|
3565
|
+
postalCode?: string | null | undefined;
|
|
3566
|
+
city?: string | null | undefined;
|
|
3567
|
+
country?: string | null | undefined;
|
|
3566
3568
|
email?: string | null | undefined;
|
|
3569
|
+
addressLine1?: string | null | undefined;
|
|
3570
|
+
addressLine2?: string | null | undefined;
|
|
3571
|
+
birthDate?: Date | null | undefined;
|
|
3567
3572
|
idNumber?: string | null | undefined;
|
|
3568
3573
|
phone?: string | null | undefined;
|
|
3569
3574
|
iban?: string | null | undefined;
|
|
3570
3575
|
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;
|
|
3576
3576
|
} | null | undefined;
|
|
3577
3577
|
dueDate?: Date | null | undefined;
|
|
3578
3578
|
notes?: string | null | undefined;
|
|
3579
3579
|
lineItems?: {
|
|
3580
|
-
|
|
3580
|
+
quantity: number;
|
|
3581
3581
|
id: number;
|
|
3582
|
+
description: string;
|
|
3582
3583
|
createdAt: Date;
|
|
3583
3584
|
invoiceId: string;
|
|
3584
|
-
quantity: number;
|
|
3585
3585
|
unitPrice: number;
|
|
3586
3586
|
total: number;
|
|
3587
3587
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3592,42 +3592,42 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3592
3592
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
3593
3593
|
labels?: {
|
|
3594
3594
|
id: string;
|
|
3595
|
-
fileId: string;
|
|
3596
3595
|
orderId: string;
|
|
3596
|
+
fileId: string;
|
|
3597
3597
|
nonCroppedFileId: string;
|
|
3598
3598
|
originalFileId: string;
|
|
3599
|
-
|
|
3599
|
+
file?: {
|
|
3600
3600
|
path: string;
|
|
3601
3601
|
id: string;
|
|
3602
|
-
createdAt: Date;
|
|
3603
3602
|
userId: number;
|
|
3603
|
+
createdAt: Date;
|
|
3604
3604
|
signedUrl: string;
|
|
3605
3605
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3606
3606
|
} | null | undefined;
|
|
3607
|
-
|
|
3608
|
-
file?: {
|
|
3607
|
+
nonCroppedFile?: {
|
|
3609
3608
|
path: string;
|
|
3610
3609
|
id: string;
|
|
3611
|
-
createdAt: Date;
|
|
3612
3610
|
userId: number;
|
|
3611
|
+
createdAt: Date;
|
|
3613
3612
|
signedUrl: string;
|
|
3614
3613
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3615
3614
|
} | null | undefined;
|
|
3616
|
-
|
|
3615
|
+
originalFile?: {
|
|
3617
3616
|
path: string;
|
|
3618
3617
|
id: string;
|
|
3619
|
-
createdAt: Date;
|
|
3620
3618
|
userId: number;
|
|
3619
|
+
createdAt: Date;
|
|
3621
3620
|
signedUrl: string;
|
|
3622
3621
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3623
3622
|
} | null | undefined;
|
|
3623
|
+
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;
|
|
3624
3624
|
}[] | null | undefined;
|
|
3625
3625
|
invoices?: {
|
|
3626
3626
|
type: "SALE" | "PURCHASE";
|
|
3627
3627
|
status: string;
|
|
3628
3628
|
id: string;
|
|
3629
|
-
createdAt: Date;
|
|
3630
3629
|
userId: number;
|
|
3630
|
+
createdAt: Date;
|
|
3631
3631
|
currency: string;
|
|
3632
3632
|
orderId: string;
|
|
3633
3633
|
updatedAt: Date;
|
|
@@ -3636,21 +3636,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3636
3636
|
businessProfileId: string;
|
|
3637
3637
|
issueDate: Date;
|
|
3638
3638
|
subtotal: number;
|
|
3639
|
-
fileId?: string | null | undefined;
|
|
3640
3639
|
vatAmount?: number | null | undefined;
|
|
3640
|
+
fileId?: string | null | undefined;
|
|
3641
3641
|
file?: {
|
|
3642
3642
|
path: string;
|
|
3643
3643
|
id: string;
|
|
3644
|
-
createdAt: Date;
|
|
3645
3644
|
userId: number;
|
|
3645
|
+
createdAt: Date;
|
|
3646
3646
|
signedUrl: string;
|
|
3647
3647
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3648
3648
|
} | null | undefined;
|
|
3649
3649
|
vatRate?: number | null | undefined;
|
|
3650
3650
|
businessProfile?: {
|
|
3651
3651
|
id: string;
|
|
3652
|
-
createdAt: Date;
|
|
3653
3652
|
userId: number;
|
|
3653
|
+
createdAt: Date;
|
|
3654
3654
|
updatedAt: Date;
|
|
3655
3655
|
businessName: string;
|
|
3656
3656
|
address: string;
|
|
@@ -3663,8 +3663,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3663
3663
|
logo?: {
|
|
3664
3664
|
path: string;
|
|
3665
3665
|
id: string;
|
|
3666
|
-
createdAt: Date;
|
|
3667
3666
|
userId: number;
|
|
3667
|
+
createdAt: Date;
|
|
3668
3668
|
signedUrl: string;
|
|
3669
3669
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3670
3670
|
} | null | undefined;
|
|
@@ -3677,26 +3677,26 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3677
3677
|
firstName: string;
|
|
3678
3678
|
lastName: string;
|
|
3679
3679
|
phoneVerified: boolean;
|
|
3680
|
-
|
|
3680
|
+
postalCode?: string | null | undefined;
|
|
3681
|
+
city?: string | null | undefined;
|
|
3682
|
+
country?: string | null | undefined;
|
|
3681
3683
|
email?: string | null | undefined;
|
|
3684
|
+
addressLine1?: string | null | undefined;
|
|
3685
|
+
addressLine2?: string | null | undefined;
|
|
3686
|
+
birthDate?: Date | null | undefined;
|
|
3682
3687
|
idNumber?: string | null | undefined;
|
|
3683
3688
|
phone?: string | null | undefined;
|
|
3684
3689
|
iban?: string | null | undefined;
|
|
3685
3690
|
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;
|
|
3691
3691
|
} | null | undefined;
|
|
3692
3692
|
dueDate?: Date | null | undefined;
|
|
3693
3693
|
notes?: string | null | undefined;
|
|
3694
3694
|
lineItems?: {
|
|
3695
|
-
|
|
3695
|
+
quantity: number;
|
|
3696
3696
|
id: number;
|
|
3697
|
+
description: string;
|
|
3697
3698
|
createdAt: Date;
|
|
3698
3699
|
invoiceId: string;
|
|
3699
|
-
quantity: number;
|
|
3700
3700
|
unitPrice: number;
|
|
3701
3701
|
total: number;
|
|
3702
3702
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3707,42 +3707,42 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3707
3707
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
3708
3708
|
labels?: {
|
|
3709
3709
|
id: string;
|
|
3710
|
-
fileId: string;
|
|
3711
3710
|
orderId: string;
|
|
3711
|
+
fileId: string;
|
|
3712
3712
|
nonCroppedFileId: string;
|
|
3713
3713
|
originalFileId: string;
|
|
3714
|
-
|
|
3714
|
+
file?: {
|
|
3715
3715
|
path: string;
|
|
3716
3716
|
id: string;
|
|
3717
|
-
createdAt: Date;
|
|
3718
3717
|
userId: number;
|
|
3718
|
+
createdAt: Date;
|
|
3719
3719
|
signedUrl: string;
|
|
3720
3720
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3721
3721
|
} | null | undefined;
|
|
3722
|
-
|
|
3723
|
-
file?: {
|
|
3722
|
+
nonCroppedFile?: {
|
|
3724
3723
|
path: string;
|
|
3725
3724
|
id: string;
|
|
3726
|
-
createdAt: Date;
|
|
3727
3725
|
userId: number;
|
|
3726
|
+
createdAt: Date;
|
|
3728
3727
|
signedUrl: string;
|
|
3729
3728
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3730
3729
|
} | null | undefined;
|
|
3731
|
-
|
|
3730
|
+
originalFile?: {
|
|
3732
3731
|
path: string;
|
|
3733
3732
|
id: string;
|
|
3734
|
-
createdAt: Date;
|
|
3735
3733
|
userId: number;
|
|
3734
|
+
createdAt: Date;
|
|
3736
3735
|
signedUrl: string;
|
|
3737
3736
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3738
3737
|
} | null | undefined;
|
|
3738
|
+
carrier?: unknown;
|
|
3739
3739
|
}[] | null | undefined;
|
|
3740
3740
|
invoices?: {
|
|
3741
3741
|
type: "SALE" | "PURCHASE";
|
|
3742
3742
|
status: string;
|
|
3743
3743
|
id: string;
|
|
3744
|
-
createdAt: Date;
|
|
3745
3744
|
userId: number;
|
|
3745
|
+
createdAt: Date;
|
|
3746
3746
|
currency: string;
|
|
3747
3747
|
orderId: string;
|
|
3748
3748
|
updatedAt: Date;
|
|
@@ -3751,21 +3751,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3751
3751
|
businessProfileId: string;
|
|
3752
3752
|
issueDate: Date;
|
|
3753
3753
|
subtotal: number;
|
|
3754
|
-
fileId?: string | null | undefined;
|
|
3755
3754
|
vatAmount?: number | null | undefined;
|
|
3755
|
+
fileId?: string | null | undefined;
|
|
3756
3756
|
file?: {
|
|
3757
3757
|
path: string;
|
|
3758
3758
|
id: string;
|
|
3759
|
-
createdAt: Date;
|
|
3760
3759
|
userId: number;
|
|
3760
|
+
createdAt: Date;
|
|
3761
3761
|
signedUrl: string;
|
|
3762
3762
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3763
3763
|
} | null | undefined;
|
|
3764
3764
|
vatRate?: number | null | undefined;
|
|
3765
3765
|
businessProfile?: {
|
|
3766
3766
|
id: string;
|
|
3767
|
-
createdAt: Date;
|
|
3768
3767
|
userId: number;
|
|
3768
|
+
createdAt: Date;
|
|
3769
3769
|
updatedAt: Date;
|
|
3770
3770
|
businessName: string;
|
|
3771
3771
|
address: string;
|
|
@@ -3778,8 +3778,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3778
3778
|
logo?: {
|
|
3779
3779
|
path: string;
|
|
3780
3780
|
id: string;
|
|
3781
|
-
createdAt: Date;
|
|
3782
3781
|
userId: number;
|
|
3782
|
+
createdAt: Date;
|
|
3783
3783
|
signedUrl: string;
|
|
3784
3784
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3785
3785
|
} | null | undefined;
|
|
@@ -3792,26 +3792,26 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3792
3792
|
firstName: string;
|
|
3793
3793
|
lastName: string;
|
|
3794
3794
|
phoneVerified: boolean;
|
|
3795
|
-
|
|
3795
|
+
postalCode?: string | null | undefined;
|
|
3796
|
+
city?: string | null | undefined;
|
|
3797
|
+
country?: string | null | undefined;
|
|
3796
3798
|
email?: string | null | undefined;
|
|
3799
|
+
addressLine1?: string | null | undefined;
|
|
3800
|
+
addressLine2?: string | null | undefined;
|
|
3801
|
+
birthDate?: Date | null | undefined;
|
|
3797
3802
|
idNumber?: string | null | undefined;
|
|
3798
3803
|
phone?: string | null | undefined;
|
|
3799
3804
|
iban?: string | null | undefined;
|
|
3800
3805
|
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;
|
|
3806
3806
|
} | null | undefined;
|
|
3807
3807
|
dueDate?: Date | null | undefined;
|
|
3808
3808
|
notes?: string | null | undefined;
|
|
3809
3809
|
lineItems?: {
|
|
3810
|
-
|
|
3810
|
+
quantity: number;
|
|
3811
3811
|
id: number;
|
|
3812
|
+
description: string;
|
|
3812
3813
|
createdAt: Date;
|
|
3813
3814
|
invoiceId: string;
|
|
3814
|
-
quantity: number;
|
|
3815
3815
|
unitPrice: number;
|
|
3816
3816
|
total: number;
|
|
3817
3817
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3821,45 +3821,29 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3821
3821
|
}>>>;
|
|
3822
3822
|
analysisStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "COMPLETED", "FAILED"]>>>;
|
|
3823
3823
|
}, "strip", z.ZodTypeAny, {
|
|
3824
|
-
actions: {
|
|
3825
|
-
perAccount: Record<string, ("REPUBLISH" | "UNKNOWN" | "PUBLISH" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE" | "UPDATE_CANCEL" | "BOOST")[]>;
|
|
3826
|
-
};
|
|
3827
|
-
name: string;
|
|
3828
3824
|
id: number;
|
|
3829
|
-
createdAt: Date;
|
|
3830
3825
|
userId: number;
|
|
3826
|
+
name: string;
|
|
3827
|
+
createdAt: Date;
|
|
3831
3828
|
updatedAt: Date;
|
|
3832
3829
|
sold: boolean;
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
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;
|
|
3830
|
+
actions: {
|
|
3831
|
+
perAccount: Record<string, ("PUBLISH" | "REPUBLISH" | "UPDATE" | "UNKNOWN" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE_CANCEL" | "BOOST")[]>;
|
|
3832
|
+
};
|
|
3849
3833
|
description?: string | null | undefined;
|
|
3850
3834
|
categoryId?: number | null | undefined;
|
|
3851
|
-
sizeId?: number | null | undefined;
|
|
3852
|
-
colorIds?: number[] | null | undefined;
|
|
3853
|
-
packageSizeId?: number | null | undefined;
|
|
3854
3835
|
state?: number | null | undefined;
|
|
3836
|
+
colorIds?: number[] | null | undefined;
|
|
3855
3837
|
measurementLength?: number | null | undefined;
|
|
3856
3838
|
measurementWidth?: number | null | undefined;
|
|
3839
|
+
packageSizeId?: number | null | undefined;
|
|
3840
|
+
sizeId?: number | null | undefined;
|
|
3857
3841
|
labels?: {
|
|
3858
3842
|
itemId: number;
|
|
3859
3843
|
labelId: number;
|
|
3860
3844
|
label?: {
|
|
3861
|
-
name: string;
|
|
3862
3845
|
id: number;
|
|
3846
|
+
name: string;
|
|
3863
3847
|
createdAt: Date;
|
|
3864
3848
|
isUserLabel: boolean;
|
|
3865
3849
|
itemCount?: number | null | undefined;
|
|
@@ -3872,86 +3856,50 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3872
3856
|
fieldKey: string;
|
|
3873
3857
|
}[] | null | undefined;
|
|
3874
3858
|
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;
|
|
3932
3859
|
fields?: {
|
|
3933
3860
|
value: string;
|
|
3934
3861
|
itemId: number;
|
|
3935
3862
|
fieldId: number;
|
|
3936
3863
|
}[] | null | undefined;
|
|
3937
3864
|
files?: {
|
|
3938
|
-
fileId: string;
|
|
3939
3865
|
itemId: number;
|
|
3866
|
+
fileId: string;
|
|
3940
3867
|
file?: {
|
|
3941
3868
|
path: string;
|
|
3942
3869
|
id: string;
|
|
3943
|
-
createdAt: Date;
|
|
3944
3870
|
userId: number;
|
|
3871
|
+
createdAt: Date;
|
|
3945
3872
|
signedUrl: string;
|
|
3946
3873
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3947
3874
|
} | null | undefined;
|
|
3948
3875
|
index?: number | null | undefined;
|
|
3949
3876
|
}[] | null | undefined;
|
|
3877
|
+
brandId?: number | null | undefined;
|
|
3878
|
+
sex?: string | null | undefined;
|
|
3950
3879
|
purchasePrice?: number | null | undefined;
|
|
3880
|
+
purchaseDate?: Date | null | undefined;
|
|
3951
3881
|
purchasePlaceId?: number | null | undefined;
|
|
3952
3882
|
purchased?: boolean | null | undefined;
|
|
3953
3883
|
sellingPrice?: number | null | undefined;
|
|
3884
|
+
sellingDate?: Date | null | undefined;
|
|
3954
3885
|
sellingPlaceId?: number | null | undefined;
|
|
3886
|
+
estimatedPrice?: number | null | undefined;
|
|
3887
|
+
fees?: {
|
|
3888
|
+
value: number;
|
|
3889
|
+
type: string;
|
|
3890
|
+
id: number;
|
|
3891
|
+
userId: number;
|
|
3892
|
+
name: string;
|
|
3893
|
+
createdAt: Date;
|
|
3894
|
+
updatedAt: Date;
|
|
3895
|
+
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
3896
|
+
startDate: Date;
|
|
3897
|
+
active: boolean;
|
|
3898
|
+
description?: string | null | undefined;
|
|
3899
|
+
itemId?: number | null | undefined;
|
|
3900
|
+
endDate?: Date | null | undefined;
|
|
3901
|
+
parentFeeId?: number | null | undefined;
|
|
3902
|
+
}[] | null | undefined;
|
|
3955
3903
|
feesSum?: number | null | undefined;
|
|
3956
3904
|
materialIds?: number[] | null | undefined;
|
|
3957
3905
|
enumValues?: {
|
|
@@ -3967,6 +3915,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3967
3915
|
id: string;
|
|
3968
3916
|
createdAt: Date;
|
|
3969
3917
|
itemId: number;
|
|
3918
|
+
accountId?: string | null | undefined;
|
|
3970
3919
|
data?: {
|
|
3971
3920
|
type: "ACTION_CANCELED";
|
|
3972
3921
|
data: {
|
|
@@ -4002,7 +3951,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4002
3951
|
accountId?: string | null | undefined;
|
|
4003
3952
|
reason?: string | null | undefined;
|
|
4004
3953
|
fields?: {
|
|
4005
|
-
field: "
|
|
3954
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
4006
3955
|
autoFixable: boolean;
|
|
4007
3956
|
error?: string | null | undefined;
|
|
4008
3957
|
}[] | null | undefined;
|
|
@@ -4032,23 +3981,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4032
3981
|
post: {
|
|
4033
3982
|
platformId: string;
|
|
4034
3983
|
post: {
|
|
3984
|
+
size?: string | null | undefined;
|
|
4035
3985
|
status?: string | null | undefined;
|
|
4036
3986
|
title?: string | null | undefined;
|
|
4037
3987
|
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;
|
|
4043
3988
|
price?: number | null | undefined;
|
|
4044
3989
|
currency?: string | null | undefined;
|
|
3990
|
+
brand?: string | null | undefined;
|
|
4045
3991
|
catalog?: string | null | undefined;
|
|
4046
3992
|
catalogId?: number | null | undefined;
|
|
4047
3993
|
colors?: string[] | null | undefined;
|
|
3994
|
+
colorIds?: number[] | null | undefined;
|
|
4048
3995
|
measurementLength?: number | null | undefined;
|
|
4049
3996
|
measurementWidth?: number | null | undefined;
|
|
3997
|
+
packageSizeId?: number | null | undefined;
|
|
4050
3998
|
photoUrls?: string[] | null | undefined;
|
|
4051
|
-
|
|
3999
|
+
sizeId?: number | null | undefined;
|
|
4000
|
+
statusId?: number | null | undefined;
|
|
4052
4001
|
isDraft?: boolean | null | undefined;
|
|
4053
4002
|
isArchived?: boolean | null | undefined;
|
|
4054
4003
|
isUnisex?: boolean | null | undefined;
|
|
@@ -4091,8 +4040,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4091
4040
|
} | {
|
|
4092
4041
|
type: "LIFECYCLE_STARTED";
|
|
4093
4042
|
data: {
|
|
4094
|
-
caseId: string;
|
|
4095
4043
|
accountId: string;
|
|
4044
|
+
caseId: string;
|
|
4096
4045
|
isRepeat?: boolean | null | undefined;
|
|
4097
4046
|
};
|
|
4098
4047
|
} | {
|
|
@@ -4131,17 +4080,17 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4131
4080
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
4132
4081
|
} | null | undefined;
|
|
4133
4082
|
} | null | undefined;
|
|
4134
|
-
publishingDate?: Date | null | undefined;
|
|
4135
|
-
isTransfer?: boolean | null | undefined;
|
|
4136
4083
|
targetAccountId?: string | null | undefined;
|
|
4137
4084
|
allowIfDeleted?: boolean | null | undefined;
|
|
4085
|
+
publishingDate?: Date | null | undefined;
|
|
4086
|
+
isTransfer?: boolean | null | undefined;
|
|
4138
4087
|
};
|
|
4139
4088
|
} | {
|
|
4140
4089
|
type: "REPUBLISHING_RETRY";
|
|
4141
4090
|
data: {
|
|
4142
|
-
maxAttempts: number;
|
|
4143
4091
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4144
4092
|
attemptNumber: number;
|
|
4093
|
+
maxAttempts: number;
|
|
4145
4094
|
previousHistoryId: string;
|
|
4146
4095
|
originalFailureDate: Date;
|
|
4147
4096
|
payload?: {
|
|
@@ -4169,7 +4118,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4169
4118
|
} | null | undefined;
|
|
4170
4119
|
} | null | undefined;
|
|
4171
4120
|
fields?: {
|
|
4172
|
-
field: "
|
|
4121
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
4173
4122
|
autoFixable: boolean;
|
|
4174
4123
|
error?: string | null | undefined;
|
|
4175
4124
|
}[] | null | undefined;
|
|
@@ -4183,13 +4132,13 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4183
4132
|
} | {
|
|
4184
4133
|
type: "SCHEDULED_RETRY";
|
|
4185
4134
|
data: {
|
|
4186
|
-
maxAttempts: number;
|
|
4187
4135
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4188
4136
|
attemptNumber: number;
|
|
4137
|
+
maxAttempts: number;
|
|
4189
4138
|
previousHistoryId: string;
|
|
4190
4139
|
originalFailureDate: Date;
|
|
4191
4140
|
fields?: {
|
|
4192
|
-
field: "
|
|
4141
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
4193
4142
|
autoFixable: boolean;
|
|
4194
4143
|
error?: string | null | undefined;
|
|
4195
4144
|
}[] | null | undefined;
|
|
@@ -4218,52 +4167,103 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4218
4167
|
targetDate?: Date | null | undefined;
|
|
4219
4168
|
};
|
|
4220
4169
|
} | null | undefined;
|
|
4221
|
-
accountId?: string | null | undefined;
|
|
4222
4170
|
targetDate?: Date | null | undefined;
|
|
4223
4171
|
requestId?: string | null | undefined;
|
|
4224
4172
|
targetHistoryId?: string | null | undefined;
|
|
4225
4173
|
} | null | undefined;
|
|
4174
|
+
platforms?: {
|
|
4175
|
+
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
4176
|
+
id: string;
|
|
4177
|
+
accountId: string;
|
|
4178
|
+
createdAt: Date;
|
|
4179
|
+
itemId: number;
|
|
4180
|
+
platformId: string;
|
|
4181
|
+
platformUrl: string;
|
|
4182
|
+
platformPrice: number;
|
|
4183
|
+
updatedAt: Date;
|
|
4184
|
+
publishedAt: Date;
|
|
4185
|
+
conversationId?: string | null | undefined;
|
|
4186
|
+
boostedAt?: Date | null | undefined;
|
|
4187
|
+
boostedUntil?: Date | null | undefined;
|
|
4188
|
+
viewsCount?: number | null | undefined;
|
|
4189
|
+
favoritesCount?: number | null | undefined;
|
|
4190
|
+
account?: {
|
|
4191
|
+
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
4192
|
+
accountId: string;
|
|
4193
|
+
userId: number;
|
|
4194
|
+
name: string;
|
|
4195
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4196
|
+
locale?: string | null | undefined;
|
|
4197
|
+
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
4198
|
+
restrictedUntil?: Date | null | undefined;
|
|
4199
|
+
night?: {
|
|
4200
|
+
startsAt: Date;
|
|
4201
|
+
endsAt: Date;
|
|
4202
|
+
} | null | undefined;
|
|
4203
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
4204
|
+
ordersMaxDelay?: number | null | undefined;
|
|
4205
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
4206
|
+
walletMaxDelay?: number | null | undefined;
|
|
4207
|
+
availableBalance?: number | null | undefined;
|
|
4208
|
+
pendingBalance?: number | null | undefined;
|
|
4209
|
+
profilePictureFileId?: string | null | undefined;
|
|
4210
|
+
profilePicture?: {
|
|
4211
|
+
path: string;
|
|
4212
|
+
id: string;
|
|
4213
|
+
userId: number;
|
|
4214
|
+
createdAt: Date;
|
|
4215
|
+
signedUrl: string;
|
|
4216
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4217
|
+
} | null | undefined;
|
|
4218
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
4219
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
4220
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
4221
|
+
} | null | undefined;
|
|
4222
|
+
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;
|
|
4223
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
4224
|
+
isBoosted?: boolean | null | undefined;
|
|
4225
|
+
}[] | null | undefined;
|
|
4226
4226
|
sourceInConversation?: "UNKNOWN" | "DELETED" | "ORDER" | "TRANSACTION" | null | undefined;
|
|
4227
4227
|
order?: {
|
|
4228
4228
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
4229
4229
|
labels?: {
|
|
4230
4230
|
id: string;
|
|
4231
|
-
fileId: string;
|
|
4232
4231
|
orderId: string;
|
|
4232
|
+
fileId: string;
|
|
4233
4233
|
nonCroppedFileId: string;
|
|
4234
4234
|
originalFileId: string;
|
|
4235
|
-
|
|
4235
|
+
file?: {
|
|
4236
4236
|
path: string;
|
|
4237
4237
|
id: string;
|
|
4238
|
-
createdAt: Date;
|
|
4239
4238
|
userId: number;
|
|
4239
|
+
createdAt: Date;
|
|
4240
4240
|
signedUrl: string;
|
|
4241
4241
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4242
4242
|
} | null | undefined;
|
|
4243
|
-
|
|
4244
|
-
file?: {
|
|
4243
|
+
nonCroppedFile?: {
|
|
4245
4244
|
path: string;
|
|
4246
4245
|
id: string;
|
|
4247
|
-
createdAt: Date;
|
|
4248
4246
|
userId: number;
|
|
4247
|
+
createdAt: Date;
|
|
4249
4248
|
signedUrl: string;
|
|
4250
4249
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4251
4250
|
} | null | undefined;
|
|
4252
|
-
|
|
4251
|
+
originalFile?: {
|
|
4253
4252
|
path: string;
|
|
4254
4253
|
id: string;
|
|
4255
|
-
createdAt: Date;
|
|
4256
4254
|
userId: number;
|
|
4255
|
+
createdAt: Date;
|
|
4257
4256
|
signedUrl: string;
|
|
4258
4257
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4259
4258
|
} | null | undefined;
|
|
4259
|
+
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;
|
|
4260
4260
|
}[] | null | undefined;
|
|
4261
4261
|
invoices?: {
|
|
4262
4262
|
type: "SALE" | "PURCHASE";
|
|
4263
4263
|
status: string;
|
|
4264
4264
|
id: string;
|
|
4265
|
-
createdAt: Date;
|
|
4266
4265
|
userId: number;
|
|
4266
|
+
createdAt: Date;
|
|
4267
4267
|
currency: string;
|
|
4268
4268
|
orderId: string;
|
|
4269
4269
|
updatedAt: Date;
|
|
@@ -4272,21 +4272,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4272
4272
|
businessProfileId: string;
|
|
4273
4273
|
issueDate: Date;
|
|
4274
4274
|
subtotal: number;
|
|
4275
|
-
fileId?: string | null | undefined;
|
|
4276
4275
|
vatAmount?: number | null | undefined;
|
|
4276
|
+
fileId?: string | null | undefined;
|
|
4277
4277
|
file?: {
|
|
4278
4278
|
path: string;
|
|
4279
4279
|
id: string;
|
|
4280
|
-
createdAt: Date;
|
|
4281
4280
|
userId: number;
|
|
4281
|
+
createdAt: Date;
|
|
4282
4282
|
signedUrl: string;
|
|
4283
4283
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4284
4284
|
} | null | undefined;
|
|
4285
4285
|
vatRate?: number | null | undefined;
|
|
4286
4286
|
businessProfile?: {
|
|
4287
4287
|
id: string;
|
|
4288
|
-
createdAt: Date;
|
|
4289
4288
|
userId: number;
|
|
4289
|
+
createdAt: Date;
|
|
4290
4290
|
updatedAt: Date;
|
|
4291
4291
|
businessName: string;
|
|
4292
4292
|
address: string;
|
|
@@ -4299,8 +4299,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4299
4299
|
logo?: {
|
|
4300
4300
|
path: string;
|
|
4301
4301
|
id: string;
|
|
4302
|
-
createdAt: Date;
|
|
4303
4302
|
userId: number;
|
|
4303
|
+
createdAt: Date;
|
|
4304
4304
|
signedUrl: string;
|
|
4305
4305
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4306
4306
|
} | null | undefined;
|
|
@@ -4313,26 +4313,26 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4313
4313
|
firstName: string;
|
|
4314
4314
|
lastName: string;
|
|
4315
4315
|
phoneVerified: boolean;
|
|
4316
|
-
|
|
4316
|
+
postalCode?: string | null | undefined;
|
|
4317
|
+
city?: string | null | undefined;
|
|
4318
|
+
country?: string | null | undefined;
|
|
4317
4319
|
email?: string | null | undefined;
|
|
4320
|
+
addressLine1?: string | null | undefined;
|
|
4321
|
+
addressLine2?: string | null | undefined;
|
|
4322
|
+
birthDate?: Date | null | undefined;
|
|
4318
4323
|
idNumber?: string | null | undefined;
|
|
4319
4324
|
phone?: string | null | undefined;
|
|
4320
4325
|
iban?: string | null | undefined;
|
|
4321
4326
|
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;
|
|
4327
4327
|
} | null | undefined;
|
|
4328
4328
|
dueDate?: Date | null | undefined;
|
|
4329
4329
|
notes?: string | null | undefined;
|
|
4330
4330
|
lineItems?: {
|
|
4331
|
-
|
|
4331
|
+
quantity: number;
|
|
4332
4332
|
id: number;
|
|
4333
|
+
description: string;
|
|
4333
4334
|
createdAt: Date;
|
|
4334
4335
|
invoiceId: string;
|
|
4335
|
-
quantity: number;
|
|
4336
4336
|
unitPrice: number;
|
|
4337
4337
|
total: number;
|
|
4338
4338
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -4342,45 +4342,29 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4342
4342
|
} | null | undefined;
|
|
4343
4343
|
analysisStatus?: "PENDING" | "COMPLETED" | "FAILED" | null | undefined;
|
|
4344
4344
|
}, {
|
|
4345
|
-
actions: {
|
|
4346
|
-
perAccount: Record<string, unknown[]>;
|
|
4347
|
-
};
|
|
4348
|
-
name: string;
|
|
4349
4345
|
id: number;
|
|
4350
|
-
createdAt: Date;
|
|
4351
4346
|
userId: number;
|
|
4347
|
+
name: string;
|
|
4348
|
+
createdAt: Date;
|
|
4352
4349
|
updatedAt: Date;
|
|
4353
4350
|
sold: boolean;
|
|
4354
|
-
|
|
4355
|
-
|
|
4356
|
-
|
|
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;
|
|
4351
|
+
actions: {
|
|
4352
|
+
perAccount: Record<string, unknown[]>;
|
|
4353
|
+
};
|
|
4370
4354
|
description?: string | null | undefined;
|
|
4371
4355
|
categoryId?: number | null | undefined;
|
|
4372
|
-
sizeId?: number | null | undefined;
|
|
4373
|
-
colorIds?: number[] | null | undefined;
|
|
4374
|
-
packageSizeId?: number | null | undefined;
|
|
4375
4356
|
state?: number | null | undefined;
|
|
4357
|
+
colorIds?: number[] | null | undefined;
|
|
4376
4358
|
measurementLength?: number | null | undefined;
|
|
4377
4359
|
measurementWidth?: number | null | undefined;
|
|
4360
|
+
packageSizeId?: number | null | undefined;
|
|
4361
|
+
sizeId?: number | null | undefined;
|
|
4378
4362
|
labels?: {
|
|
4379
4363
|
itemId: number;
|
|
4380
4364
|
labelId: number;
|
|
4381
4365
|
label?: {
|
|
4382
|
-
name: string;
|
|
4383
4366
|
id: number;
|
|
4367
|
+
name: string;
|
|
4384
4368
|
createdAt: Date;
|
|
4385
4369
|
isUserLabel: boolean;
|
|
4386
4370
|
itemCount?: number | null | undefined;
|
|
@@ -4393,86 +4377,50 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4393
4377
|
fieldKey: string;
|
|
4394
4378
|
}[] | null | undefined;
|
|
4395
4379
|
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;
|
|
4453
4380
|
fields?: {
|
|
4454
4381
|
value: string;
|
|
4455
4382
|
itemId: number;
|
|
4456
4383
|
fieldId: number;
|
|
4457
4384
|
}[] | null | undefined;
|
|
4458
4385
|
files?: {
|
|
4459
|
-
fileId: string;
|
|
4460
4386
|
itemId: number;
|
|
4387
|
+
fileId: string;
|
|
4461
4388
|
file?: {
|
|
4462
4389
|
path: string;
|
|
4463
4390
|
id: string;
|
|
4464
|
-
createdAt: Date;
|
|
4465
4391
|
userId: number;
|
|
4392
|
+
createdAt: Date;
|
|
4466
4393
|
signedUrl: string;
|
|
4467
4394
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4468
4395
|
} | null | undefined;
|
|
4469
4396
|
index?: number | null | undefined;
|
|
4470
4397
|
}[] | null | undefined;
|
|
4398
|
+
brandId?: number | null | undefined;
|
|
4399
|
+
sex?: string | null | undefined;
|
|
4471
4400
|
purchasePrice?: number | null | undefined;
|
|
4401
|
+
purchaseDate?: Date | null | undefined;
|
|
4472
4402
|
purchasePlaceId?: number | null | undefined;
|
|
4473
4403
|
purchased?: boolean | null | undefined;
|
|
4474
4404
|
sellingPrice?: number | null | undefined;
|
|
4405
|
+
sellingDate?: Date | null | undefined;
|
|
4475
4406
|
sellingPlaceId?: number | null | undefined;
|
|
4407
|
+
estimatedPrice?: number | null | undefined;
|
|
4408
|
+
fees?: {
|
|
4409
|
+
value: number;
|
|
4410
|
+
type: string;
|
|
4411
|
+
id: number;
|
|
4412
|
+
userId: number;
|
|
4413
|
+
name: string;
|
|
4414
|
+
createdAt: Date;
|
|
4415
|
+
updatedAt: Date;
|
|
4416
|
+
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
4417
|
+
startDate: Date;
|
|
4418
|
+
active: boolean;
|
|
4419
|
+
description?: string | null | undefined;
|
|
4420
|
+
itemId?: number | null | undefined;
|
|
4421
|
+
endDate?: Date | null | undefined;
|
|
4422
|
+
parentFeeId?: number | null | undefined;
|
|
4423
|
+
}[] | null | undefined;
|
|
4476
4424
|
feesSum?: number | null | undefined;
|
|
4477
4425
|
materialIds?: number[] | null | undefined;
|
|
4478
4426
|
enumValues?: {
|
|
@@ -4488,6 +4436,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4488
4436
|
createdAt: Date;
|
|
4489
4437
|
itemId: number;
|
|
4490
4438
|
type?: unknown;
|
|
4439
|
+
accountId?: string | null | undefined;
|
|
4491
4440
|
data?: {
|
|
4492
4441
|
type: "ACTION_CANCELED";
|
|
4493
4442
|
data: {
|
|
@@ -4553,23 +4502,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4553
4502
|
post: {
|
|
4554
4503
|
platformId: string;
|
|
4555
4504
|
post: {
|
|
4505
|
+
size?: string | null | undefined;
|
|
4556
4506
|
status?: string | null | undefined;
|
|
4557
4507
|
title?: string | null | undefined;
|
|
4558
4508
|
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;
|
|
4564
4509
|
price?: number | null | undefined;
|
|
4565
4510
|
currency?: string | null | undefined;
|
|
4511
|
+
brand?: string | null | undefined;
|
|
4566
4512
|
catalog?: string | null | undefined;
|
|
4567
4513
|
catalogId?: number | null | undefined;
|
|
4568
4514
|
colors?: string[] | null | undefined;
|
|
4515
|
+
colorIds?: number[] | null | undefined;
|
|
4569
4516
|
measurementLength?: number | null | undefined;
|
|
4570
4517
|
measurementWidth?: number | null | undefined;
|
|
4518
|
+
packageSizeId?: number | null | undefined;
|
|
4571
4519
|
photoUrls?: string[] | null | undefined;
|
|
4572
|
-
|
|
4520
|
+
sizeId?: number | null | undefined;
|
|
4521
|
+
statusId?: number | null | undefined;
|
|
4573
4522
|
isDraft?: boolean | null | undefined;
|
|
4574
4523
|
isArchived?: boolean | null | undefined;
|
|
4575
4524
|
isUnisex?: boolean | null | undefined;
|
|
@@ -4612,8 +4561,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4612
4561
|
} | {
|
|
4613
4562
|
type: "LIFECYCLE_STARTED";
|
|
4614
4563
|
data: {
|
|
4615
|
-
caseId: string;
|
|
4616
4564
|
accountId: string;
|
|
4565
|
+
caseId: string;
|
|
4617
4566
|
isRepeat?: boolean | null | undefined;
|
|
4618
4567
|
};
|
|
4619
4568
|
} | {
|
|
@@ -4652,17 +4601,17 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4652
4601
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
4653
4602
|
} | null | undefined;
|
|
4654
4603
|
} | null | undefined;
|
|
4655
|
-
publishingDate?: Date | null | undefined;
|
|
4656
|
-
isTransfer?: boolean | null | undefined;
|
|
4657
4604
|
targetAccountId?: string | null | undefined;
|
|
4658
4605
|
allowIfDeleted?: boolean | null | undefined;
|
|
4606
|
+
publishingDate?: Date | null | undefined;
|
|
4607
|
+
isTransfer?: boolean | null | undefined;
|
|
4659
4608
|
};
|
|
4660
4609
|
} | {
|
|
4661
4610
|
type: "REPUBLISHING_RETRY";
|
|
4662
4611
|
data: {
|
|
4663
|
-
maxAttempts: number;
|
|
4664
4612
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4665
4613
|
attemptNumber: number;
|
|
4614
|
+
maxAttempts: number;
|
|
4666
4615
|
previousHistoryId: string;
|
|
4667
4616
|
originalFailureDate: Date;
|
|
4668
4617
|
payload?: {
|
|
@@ -4704,9 +4653,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4704
4653
|
} | {
|
|
4705
4654
|
type: "SCHEDULED_RETRY";
|
|
4706
4655
|
data: {
|
|
4707
|
-
maxAttempts: number;
|
|
4708
4656
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4709
4657
|
attemptNumber: number;
|
|
4658
|
+
maxAttempts: number;
|
|
4710
4659
|
previousHistoryId: string;
|
|
4711
4660
|
originalFailureDate: Date;
|
|
4712
4661
|
fields?: {
|
|
@@ -4739,52 +4688,103 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4739
4688
|
targetDate?: Date | null | undefined;
|
|
4740
4689
|
};
|
|
4741
4690
|
} | null | undefined;
|
|
4742
|
-
accountId?: string | null | undefined;
|
|
4743
4691
|
targetDate?: Date | null | undefined;
|
|
4744
4692
|
requestId?: string | null | undefined;
|
|
4745
4693
|
targetHistoryId?: string | null | undefined;
|
|
4746
4694
|
} | null | undefined;
|
|
4695
|
+
platforms?: {
|
|
4696
|
+
id: string;
|
|
4697
|
+
accountId: string;
|
|
4698
|
+
createdAt: Date;
|
|
4699
|
+
itemId: number;
|
|
4700
|
+
platformId: string;
|
|
4701
|
+
platformUrl: string;
|
|
4702
|
+
platformPrice: number;
|
|
4703
|
+
updatedAt: Date;
|
|
4704
|
+
publishedAt: Date;
|
|
4705
|
+
status?: unknown;
|
|
4706
|
+
conversationId?: string | null | undefined;
|
|
4707
|
+
boostedAt?: Date | null | undefined;
|
|
4708
|
+
boostedUntil?: Date | null | undefined;
|
|
4709
|
+
viewsCount?: number | null | undefined;
|
|
4710
|
+
favoritesCount?: number | null | undefined;
|
|
4711
|
+
account?: {
|
|
4712
|
+
accountId: string;
|
|
4713
|
+
userId: number;
|
|
4714
|
+
name: string;
|
|
4715
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4716
|
+
status?: unknown;
|
|
4717
|
+
locale?: string | null | undefined;
|
|
4718
|
+
lockReason?: unknown;
|
|
4719
|
+
restrictedUntil?: Date | null | undefined;
|
|
4720
|
+
night?: {
|
|
4721
|
+
startsAt: Date;
|
|
4722
|
+
endsAt: Date;
|
|
4723
|
+
} | null | undefined;
|
|
4724
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
4725
|
+
ordersMaxDelay?: number | null | undefined;
|
|
4726
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
4727
|
+
walletMaxDelay?: number | null | undefined;
|
|
4728
|
+
availableBalance?: number | null | undefined;
|
|
4729
|
+
pendingBalance?: number | null | undefined;
|
|
4730
|
+
profilePictureFileId?: string | null | undefined;
|
|
4731
|
+
profilePicture?: {
|
|
4732
|
+
path: string;
|
|
4733
|
+
id: string;
|
|
4734
|
+
userId: number;
|
|
4735
|
+
createdAt: Date;
|
|
4736
|
+
signedUrl: string;
|
|
4737
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4738
|
+
} | null | undefined;
|
|
4739
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
4740
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
4741
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
4742
|
+
} | null | undefined;
|
|
4743
|
+
orderStatus?: unknown;
|
|
4744
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
4745
|
+
isBoosted?: boolean | null | undefined;
|
|
4746
|
+
}[] | null | undefined;
|
|
4747
4747
|
sourceInConversation?: unknown;
|
|
4748
4748
|
order?: {
|
|
4749
4749
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
4750
4750
|
labels?: {
|
|
4751
4751
|
id: string;
|
|
4752
|
-
fileId: string;
|
|
4753
4752
|
orderId: string;
|
|
4753
|
+
fileId: string;
|
|
4754
4754
|
nonCroppedFileId: string;
|
|
4755
4755
|
originalFileId: string;
|
|
4756
|
-
|
|
4756
|
+
file?: {
|
|
4757
4757
|
path: string;
|
|
4758
4758
|
id: string;
|
|
4759
|
-
createdAt: Date;
|
|
4760
4759
|
userId: number;
|
|
4760
|
+
createdAt: Date;
|
|
4761
4761
|
signedUrl: string;
|
|
4762
4762
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4763
4763
|
} | null | undefined;
|
|
4764
|
-
|
|
4765
|
-
file?: {
|
|
4764
|
+
nonCroppedFile?: {
|
|
4766
4765
|
path: string;
|
|
4767
4766
|
id: string;
|
|
4768
|
-
createdAt: Date;
|
|
4769
4767
|
userId: number;
|
|
4768
|
+
createdAt: Date;
|
|
4770
4769
|
signedUrl: string;
|
|
4771
4770
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4772
4771
|
} | null | undefined;
|
|
4773
|
-
|
|
4772
|
+
originalFile?: {
|
|
4774
4773
|
path: string;
|
|
4775
4774
|
id: string;
|
|
4776
|
-
createdAt: Date;
|
|
4777
4775
|
userId: number;
|
|
4776
|
+
createdAt: Date;
|
|
4778
4777
|
signedUrl: string;
|
|
4779
4778
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4780
4779
|
} | null | undefined;
|
|
4780
|
+
carrier?: unknown;
|
|
4781
4781
|
}[] | null | undefined;
|
|
4782
4782
|
invoices?: {
|
|
4783
4783
|
type: "SALE" | "PURCHASE";
|
|
4784
4784
|
status: string;
|
|
4785
4785
|
id: string;
|
|
4786
|
-
createdAt: Date;
|
|
4787
4786
|
userId: number;
|
|
4787
|
+
createdAt: Date;
|
|
4788
4788
|
currency: string;
|
|
4789
4789
|
orderId: string;
|
|
4790
4790
|
updatedAt: Date;
|
|
@@ -4793,21 +4793,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4793
4793
|
businessProfileId: string;
|
|
4794
4794
|
issueDate: Date;
|
|
4795
4795
|
subtotal: number;
|
|
4796
|
-
fileId?: string | null | undefined;
|
|
4797
4796
|
vatAmount?: number | null | undefined;
|
|
4797
|
+
fileId?: string | null | undefined;
|
|
4798
4798
|
file?: {
|
|
4799
4799
|
path: string;
|
|
4800
4800
|
id: string;
|
|
4801
|
-
createdAt: Date;
|
|
4802
4801
|
userId: number;
|
|
4802
|
+
createdAt: Date;
|
|
4803
4803
|
signedUrl: string;
|
|
4804
4804
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4805
4805
|
} | null | undefined;
|
|
4806
4806
|
vatRate?: number | null | undefined;
|
|
4807
4807
|
businessProfile?: {
|
|
4808
4808
|
id: string;
|
|
4809
|
-
createdAt: Date;
|
|
4810
4809
|
userId: number;
|
|
4810
|
+
createdAt: Date;
|
|
4811
4811
|
updatedAt: Date;
|
|
4812
4812
|
businessName: string;
|
|
4813
4813
|
address: string;
|
|
@@ -4820,8 +4820,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4820
4820
|
logo?: {
|
|
4821
4821
|
path: string;
|
|
4822
4822
|
id: string;
|
|
4823
|
-
createdAt: Date;
|
|
4824
4823
|
userId: number;
|
|
4824
|
+
createdAt: Date;
|
|
4825
4825
|
signedUrl: string;
|
|
4826
4826
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4827
4827
|
} | null | undefined;
|
|
@@ -4834,26 +4834,26 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4834
4834
|
firstName: string;
|
|
4835
4835
|
lastName: string;
|
|
4836
4836
|
phoneVerified: boolean;
|
|
4837
|
-
|
|
4837
|
+
postalCode?: string | null | undefined;
|
|
4838
|
+
city?: string | null | undefined;
|
|
4839
|
+
country?: string | null | undefined;
|
|
4838
4840
|
email?: string | null | undefined;
|
|
4841
|
+
addressLine1?: string | null | undefined;
|
|
4842
|
+
addressLine2?: string | null | undefined;
|
|
4843
|
+
birthDate?: Date | null | undefined;
|
|
4839
4844
|
idNumber?: string | null | undefined;
|
|
4840
4845
|
phone?: string | null | undefined;
|
|
4841
4846
|
iban?: string | null | undefined;
|
|
4842
4847
|
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;
|
|
4848
4848
|
} | null | undefined;
|
|
4849
4849
|
dueDate?: Date | null | undefined;
|
|
4850
4850
|
notes?: string | null | undefined;
|
|
4851
4851
|
lineItems?: {
|
|
4852
|
-
|
|
4852
|
+
quantity: number;
|
|
4853
4853
|
id: number;
|
|
4854
|
+
description: string;
|
|
4854
4855
|
createdAt: Date;
|
|
4855
4856
|
invoiceId: string;
|
|
4856
|
-
quantity: number;
|
|
4857
4857
|
unitPrice: number;
|
|
4858
4858
|
total: number;
|
|
4859
4859
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -4865,45 +4865,29 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4865
4865
|
}>, "many">;
|
|
4866
4866
|
}, "strip", z.ZodTypeAny, {
|
|
4867
4867
|
items: {
|
|
4868
|
-
actions: {
|
|
4869
|
-
perAccount: Record<string, ("REPUBLISH" | "UNKNOWN" | "PUBLISH" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE" | "UPDATE_CANCEL" | "BOOST")[]>;
|
|
4870
|
-
};
|
|
4871
|
-
name: string;
|
|
4872
4868
|
id: number;
|
|
4873
|
-
createdAt: Date;
|
|
4874
4869
|
userId: number;
|
|
4870
|
+
name: string;
|
|
4871
|
+
createdAt: Date;
|
|
4875
4872
|
updatedAt: Date;
|
|
4876
4873
|
sold: boolean;
|
|
4877
|
-
|
|
4878
|
-
|
|
4879
|
-
|
|
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;
|
|
4874
|
+
actions: {
|
|
4875
|
+
perAccount: Record<string, ("PUBLISH" | "REPUBLISH" | "UPDATE" | "UNKNOWN" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE_CANCEL" | "BOOST")[]>;
|
|
4876
|
+
};
|
|
4893
4877
|
description?: string | null | undefined;
|
|
4894
4878
|
categoryId?: number | null | undefined;
|
|
4895
|
-
sizeId?: number | null | undefined;
|
|
4896
|
-
colorIds?: number[] | null | undefined;
|
|
4897
|
-
packageSizeId?: number | null | undefined;
|
|
4898
4879
|
state?: number | null | undefined;
|
|
4880
|
+
colorIds?: number[] | null | undefined;
|
|
4899
4881
|
measurementLength?: number | null | undefined;
|
|
4900
4882
|
measurementWidth?: number | null | undefined;
|
|
4883
|
+
packageSizeId?: number | null | undefined;
|
|
4884
|
+
sizeId?: number | null | undefined;
|
|
4901
4885
|
labels?: {
|
|
4902
4886
|
itemId: number;
|
|
4903
4887
|
labelId: number;
|
|
4904
4888
|
label?: {
|
|
4905
|
-
name: string;
|
|
4906
4889
|
id: number;
|
|
4890
|
+
name: string;
|
|
4907
4891
|
createdAt: Date;
|
|
4908
4892
|
isUserLabel: boolean;
|
|
4909
4893
|
itemCount?: number | null | undefined;
|
|
@@ -4916,86 +4900,50 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4916
4900
|
fieldKey: string;
|
|
4917
4901
|
}[] | null | undefined;
|
|
4918
4902
|
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;
|
|
4976
4903
|
fields?: {
|
|
4977
4904
|
value: string;
|
|
4978
4905
|
itemId: number;
|
|
4979
4906
|
fieldId: number;
|
|
4980
4907
|
}[] | null | undefined;
|
|
4981
4908
|
files?: {
|
|
4982
|
-
fileId: string;
|
|
4983
4909
|
itemId: number;
|
|
4910
|
+
fileId: string;
|
|
4984
4911
|
file?: {
|
|
4985
4912
|
path: string;
|
|
4986
4913
|
id: string;
|
|
4987
|
-
createdAt: Date;
|
|
4988
4914
|
userId: number;
|
|
4915
|
+
createdAt: Date;
|
|
4989
4916
|
signedUrl: string;
|
|
4990
4917
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4991
4918
|
} | null | undefined;
|
|
4992
4919
|
index?: number | null | undefined;
|
|
4993
4920
|
}[] | null | undefined;
|
|
4921
|
+
brandId?: number | null | undefined;
|
|
4922
|
+
sex?: string | null | undefined;
|
|
4994
4923
|
purchasePrice?: number | null | undefined;
|
|
4924
|
+
purchaseDate?: Date | null | undefined;
|
|
4995
4925
|
purchasePlaceId?: number | null | undefined;
|
|
4996
4926
|
purchased?: boolean | null | undefined;
|
|
4997
4927
|
sellingPrice?: number | null | undefined;
|
|
4928
|
+
sellingDate?: Date | null | undefined;
|
|
4998
4929
|
sellingPlaceId?: number | null | undefined;
|
|
4930
|
+
estimatedPrice?: number | null | undefined;
|
|
4931
|
+
fees?: {
|
|
4932
|
+
value: number;
|
|
4933
|
+
type: string;
|
|
4934
|
+
id: number;
|
|
4935
|
+
userId: number;
|
|
4936
|
+
name: string;
|
|
4937
|
+
createdAt: Date;
|
|
4938
|
+
updatedAt: Date;
|
|
4939
|
+
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
4940
|
+
startDate: Date;
|
|
4941
|
+
active: boolean;
|
|
4942
|
+
description?: string | null | undefined;
|
|
4943
|
+
itemId?: number | null | undefined;
|
|
4944
|
+
endDate?: Date | null | undefined;
|
|
4945
|
+
parentFeeId?: number | null | undefined;
|
|
4946
|
+
}[] | null | undefined;
|
|
4999
4947
|
feesSum?: number | null | undefined;
|
|
5000
4948
|
materialIds?: number[] | null | undefined;
|
|
5001
4949
|
enumValues?: {
|
|
@@ -5011,6 +4959,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5011
4959
|
id: string;
|
|
5012
4960
|
createdAt: Date;
|
|
5013
4961
|
itemId: number;
|
|
4962
|
+
accountId?: string | null | undefined;
|
|
5014
4963
|
data?: {
|
|
5015
4964
|
type: "ACTION_CANCELED";
|
|
5016
4965
|
data: {
|
|
@@ -5046,7 +4995,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5046
4995
|
accountId?: string | null | undefined;
|
|
5047
4996
|
reason?: string | null | undefined;
|
|
5048
4997
|
fields?: {
|
|
5049
|
-
field: "
|
|
4998
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
5050
4999
|
autoFixable: boolean;
|
|
5051
5000
|
error?: string | null | undefined;
|
|
5052
5001
|
}[] | null | undefined;
|
|
@@ -5076,23 +5025,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5076
5025
|
post: {
|
|
5077
5026
|
platformId: string;
|
|
5078
5027
|
post: {
|
|
5028
|
+
size?: string | null | undefined;
|
|
5079
5029
|
status?: string | null | undefined;
|
|
5080
5030
|
title?: string | null | undefined;
|
|
5081
5031
|
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;
|
|
5087
5032
|
price?: number | null | undefined;
|
|
5088
5033
|
currency?: string | null | undefined;
|
|
5034
|
+
brand?: string | null | undefined;
|
|
5089
5035
|
catalog?: string | null | undefined;
|
|
5090
5036
|
catalogId?: number | null | undefined;
|
|
5091
5037
|
colors?: string[] | null | undefined;
|
|
5038
|
+
colorIds?: number[] | null | undefined;
|
|
5092
5039
|
measurementLength?: number | null | undefined;
|
|
5093
5040
|
measurementWidth?: number | null | undefined;
|
|
5041
|
+
packageSizeId?: number | null | undefined;
|
|
5094
5042
|
photoUrls?: string[] | null | undefined;
|
|
5095
|
-
|
|
5043
|
+
sizeId?: number | null | undefined;
|
|
5044
|
+
statusId?: number | null | undefined;
|
|
5096
5045
|
isDraft?: boolean | null | undefined;
|
|
5097
5046
|
isArchived?: boolean | null | undefined;
|
|
5098
5047
|
isUnisex?: boolean | null | undefined;
|
|
@@ -5135,8 +5084,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5135
5084
|
} | {
|
|
5136
5085
|
type: "LIFECYCLE_STARTED";
|
|
5137
5086
|
data: {
|
|
5138
|
-
caseId: string;
|
|
5139
5087
|
accountId: string;
|
|
5088
|
+
caseId: string;
|
|
5140
5089
|
isRepeat?: boolean | null | undefined;
|
|
5141
5090
|
};
|
|
5142
5091
|
} | {
|
|
@@ -5175,17 +5124,17 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5175
5124
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
5176
5125
|
} | null | undefined;
|
|
5177
5126
|
} | null | undefined;
|
|
5178
|
-
publishingDate?: Date | null | undefined;
|
|
5179
|
-
isTransfer?: boolean | null | undefined;
|
|
5180
5127
|
targetAccountId?: string | null | undefined;
|
|
5181
5128
|
allowIfDeleted?: boolean | null | undefined;
|
|
5129
|
+
publishingDate?: Date | null | undefined;
|
|
5130
|
+
isTransfer?: boolean | null | undefined;
|
|
5182
5131
|
};
|
|
5183
5132
|
} | {
|
|
5184
5133
|
type: "REPUBLISHING_RETRY";
|
|
5185
5134
|
data: {
|
|
5186
|
-
maxAttempts: number;
|
|
5187
5135
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5188
5136
|
attemptNumber: number;
|
|
5137
|
+
maxAttempts: number;
|
|
5189
5138
|
previousHistoryId: string;
|
|
5190
5139
|
originalFailureDate: Date;
|
|
5191
5140
|
payload?: {
|
|
@@ -5213,7 +5162,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5213
5162
|
} | null | undefined;
|
|
5214
5163
|
} | null | undefined;
|
|
5215
5164
|
fields?: {
|
|
5216
|
-
field: "
|
|
5165
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
5217
5166
|
autoFixable: boolean;
|
|
5218
5167
|
error?: string | null | undefined;
|
|
5219
5168
|
}[] | null | undefined;
|
|
@@ -5227,13 +5176,13 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5227
5176
|
} | {
|
|
5228
5177
|
type: "SCHEDULED_RETRY";
|
|
5229
5178
|
data: {
|
|
5230
|
-
maxAttempts: number;
|
|
5231
5179
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5232
5180
|
attemptNumber: number;
|
|
5181
|
+
maxAttempts: number;
|
|
5233
5182
|
previousHistoryId: string;
|
|
5234
5183
|
originalFailureDate: Date;
|
|
5235
5184
|
fields?: {
|
|
5236
|
-
field: "
|
|
5185
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
5237
5186
|
autoFixable: boolean;
|
|
5238
5187
|
error?: string | null | undefined;
|
|
5239
5188
|
}[] | null | undefined;
|
|
@@ -5262,52 +5211,103 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5262
5211
|
targetDate?: Date | null | undefined;
|
|
5263
5212
|
};
|
|
5264
5213
|
} | null | undefined;
|
|
5265
|
-
accountId?: string | null | undefined;
|
|
5266
5214
|
targetDate?: Date | null | undefined;
|
|
5267
5215
|
requestId?: string | null | undefined;
|
|
5268
5216
|
targetHistoryId?: string | null | undefined;
|
|
5269
5217
|
} | null | undefined;
|
|
5218
|
+
platforms?: {
|
|
5219
|
+
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
5220
|
+
id: string;
|
|
5221
|
+
accountId: string;
|
|
5222
|
+
createdAt: Date;
|
|
5223
|
+
itemId: number;
|
|
5224
|
+
platformId: string;
|
|
5225
|
+
platformUrl: string;
|
|
5226
|
+
platformPrice: number;
|
|
5227
|
+
updatedAt: Date;
|
|
5228
|
+
publishedAt: Date;
|
|
5229
|
+
conversationId?: string | null | undefined;
|
|
5230
|
+
boostedAt?: Date | null | undefined;
|
|
5231
|
+
boostedUntil?: Date | null | undefined;
|
|
5232
|
+
viewsCount?: number | null | undefined;
|
|
5233
|
+
favoritesCount?: number | null | undefined;
|
|
5234
|
+
account?: {
|
|
5235
|
+
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
5236
|
+
accountId: string;
|
|
5237
|
+
userId: number;
|
|
5238
|
+
name: string;
|
|
5239
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5240
|
+
locale?: string | null | undefined;
|
|
5241
|
+
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
5242
|
+
restrictedUntil?: Date | null | undefined;
|
|
5243
|
+
night?: {
|
|
5244
|
+
startsAt: Date;
|
|
5245
|
+
endsAt: Date;
|
|
5246
|
+
} | null | undefined;
|
|
5247
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
5248
|
+
ordersMaxDelay?: number | null | undefined;
|
|
5249
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
5250
|
+
walletMaxDelay?: number | null | undefined;
|
|
5251
|
+
availableBalance?: number | null | undefined;
|
|
5252
|
+
pendingBalance?: number | null | undefined;
|
|
5253
|
+
profilePictureFileId?: string | null | undefined;
|
|
5254
|
+
profilePicture?: {
|
|
5255
|
+
path: string;
|
|
5256
|
+
id: string;
|
|
5257
|
+
userId: number;
|
|
5258
|
+
createdAt: Date;
|
|
5259
|
+
signedUrl: string;
|
|
5260
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5261
|
+
} | null | undefined;
|
|
5262
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
5263
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
5264
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
5265
|
+
} | null | undefined;
|
|
5266
|
+
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;
|
|
5267
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
5268
|
+
isBoosted?: boolean | null | undefined;
|
|
5269
|
+
}[] | null | undefined;
|
|
5270
5270
|
sourceInConversation?: "UNKNOWN" | "DELETED" | "ORDER" | "TRANSACTION" | null | undefined;
|
|
5271
5271
|
order?: {
|
|
5272
5272
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
5273
5273
|
labels?: {
|
|
5274
5274
|
id: string;
|
|
5275
|
-
fileId: string;
|
|
5276
5275
|
orderId: string;
|
|
5276
|
+
fileId: string;
|
|
5277
5277
|
nonCroppedFileId: string;
|
|
5278
5278
|
originalFileId: string;
|
|
5279
|
-
|
|
5279
|
+
file?: {
|
|
5280
5280
|
path: string;
|
|
5281
5281
|
id: string;
|
|
5282
|
-
createdAt: Date;
|
|
5283
5282
|
userId: number;
|
|
5283
|
+
createdAt: Date;
|
|
5284
5284
|
signedUrl: string;
|
|
5285
5285
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5286
5286
|
} | null | undefined;
|
|
5287
|
-
|
|
5288
|
-
file?: {
|
|
5287
|
+
nonCroppedFile?: {
|
|
5289
5288
|
path: string;
|
|
5290
5289
|
id: string;
|
|
5291
|
-
createdAt: Date;
|
|
5292
5290
|
userId: number;
|
|
5291
|
+
createdAt: Date;
|
|
5293
5292
|
signedUrl: string;
|
|
5294
5293
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5295
5294
|
} | null | undefined;
|
|
5296
|
-
|
|
5295
|
+
originalFile?: {
|
|
5297
5296
|
path: string;
|
|
5298
5297
|
id: string;
|
|
5299
|
-
createdAt: Date;
|
|
5300
5298
|
userId: number;
|
|
5299
|
+
createdAt: Date;
|
|
5301
5300
|
signedUrl: string;
|
|
5302
5301
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5303
5302
|
} | null | undefined;
|
|
5303
|
+
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;
|
|
5304
5304
|
}[] | null | undefined;
|
|
5305
5305
|
invoices?: {
|
|
5306
5306
|
type: "SALE" | "PURCHASE";
|
|
5307
5307
|
status: string;
|
|
5308
5308
|
id: string;
|
|
5309
|
-
createdAt: Date;
|
|
5310
5309
|
userId: number;
|
|
5310
|
+
createdAt: Date;
|
|
5311
5311
|
currency: string;
|
|
5312
5312
|
orderId: string;
|
|
5313
5313
|
updatedAt: Date;
|
|
@@ -5316,21 +5316,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5316
5316
|
businessProfileId: string;
|
|
5317
5317
|
issueDate: Date;
|
|
5318
5318
|
subtotal: number;
|
|
5319
|
-
fileId?: string | null | undefined;
|
|
5320
5319
|
vatAmount?: number | null | undefined;
|
|
5320
|
+
fileId?: string | null | undefined;
|
|
5321
5321
|
file?: {
|
|
5322
5322
|
path: string;
|
|
5323
5323
|
id: string;
|
|
5324
|
-
createdAt: Date;
|
|
5325
5324
|
userId: number;
|
|
5325
|
+
createdAt: Date;
|
|
5326
5326
|
signedUrl: string;
|
|
5327
5327
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5328
5328
|
} | null | undefined;
|
|
5329
5329
|
vatRate?: number | null | undefined;
|
|
5330
5330
|
businessProfile?: {
|
|
5331
5331
|
id: string;
|
|
5332
|
-
createdAt: Date;
|
|
5333
5332
|
userId: number;
|
|
5333
|
+
createdAt: Date;
|
|
5334
5334
|
updatedAt: Date;
|
|
5335
5335
|
businessName: string;
|
|
5336
5336
|
address: string;
|
|
@@ -5343,8 +5343,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5343
5343
|
logo?: {
|
|
5344
5344
|
path: string;
|
|
5345
5345
|
id: string;
|
|
5346
|
-
createdAt: Date;
|
|
5347
5346
|
userId: number;
|
|
5347
|
+
createdAt: Date;
|
|
5348
5348
|
signedUrl: string;
|
|
5349
5349
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5350
5350
|
} | null | undefined;
|
|
@@ -5357,26 +5357,26 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5357
5357
|
firstName: string;
|
|
5358
5358
|
lastName: string;
|
|
5359
5359
|
phoneVerified: boolean;
|
|
5360
|
-
|
|
5360
|
+
postalCode?: string | null | undefined;
|
|
5361
|
+
city?: string | null | undefined;
|
|
5362
|
+
country?: string | null | undefined;
|
|
5361
5363
|
email?: string | null | undefined;
|
|
5364
|
+
addressLine1?: string | null | undefined;
|
|
5365
|
+
addressLine2?: string | null | undefined;
|
|
5366
|
+
birthDate?: Date | null | undefined;
|
|
5362
5367
|
idNumber?: string | null | undefined;
|
|
5363
5368
|
phone?: string | null | undefined;
|
|
5364
5369
|
iban?: string | null | undefined;
|
|
5365
5370
|
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;
|
|
5371
5371
|
} | null | undefined;
|
|
5372
5372
|
dueDate?: Date | null | undefined;
|
|
5373
5373
|
notes?: string | null | undefined;
|
|
5374
5374
|
lineItems?: {
|
|
5375
|
-
|
|
5375
|
+
quantity: number;
|
|
5376
5376
|
id: number;
|
|
5377
|
+
description: string;
|
|
5377
5378
|
createdAt: Date;
|
|
5378
5379
|
invoiceId: string;
|
|
5379
|
-
quantity: number;
|
|
5380
5380
|
unitPrice: number;
|
|
5381
5381
|
total: number;
|
|
5382
5382
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -5390,16 +5390,14 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5390
5390
|
id: string;
|
|
5391
5391
|
accountId: string;
|
|
5392
5392
|
platformTransactionId: string;
|
|
5393
|
-
conversationId?: string | null | undefined;
|
|
5394
|
-
shipmentId?: string | null | undefined;
|
|
5395
5393
|
items?: {
|
|
5396
5394
|
transactionId: string;
|
|
5397
5395
|
itemOnPlatformId: string;
|
|
5398
5396
|
itemOnPlatform?: {
|
|
5399
5397
|
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
5400
5398
|
id: string;
|
|
5401
|
-
createdAt: Date;
|
|
5402
5399
|
accountId: string;
|
|
5400
|
+
createdAt: Date;
|
|
5403
5401
|
itemId: number;
|
|
5404
5402
|
platformId: string;
|
|
5405
5403
|
platformUrl: string;
|
|
@@ -5413,9 +5411,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5413
5411
|
favoritesCount?: number | null | undefined;
|
|
5414
5412
|
account?: {
|
|
5415
5413
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
5416
|
-
name: string;
|
|
5417
|
-
userId: number;
|
|
5418
5414
|
accountId: string;
|
|
5415
|
+
userId: number;
|
|
5416
|
+
name: string;
|
|
5419
5417
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5420
5418
|
locale?: string | null | undefined;
|
|
5421
5419
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -5434,8 +5432,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5434
5432
|
profilePicture?: {
|
|
5435
5433
|
path: string;
|
|
5436
5434
|
id: string;
|
|
5437
|
-
createdAt: Date;
|
|
5438
5435
|
userId: number;
|
|
5436
|
+
createdAt: Date;
|
|
5439
5437
|
signedUrl: string;
|
|
5440
5438
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5441
5439
|
} | null | undefined;
|
|
@@ -5448,50 +5446,36 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5448
5446
|
isBoosted?: boolean | null | undefined;
|
|
5449
5447
|
} | null | undefined;
|
|
5450
5448
|
}[] | null | undefined;
|
|
5449
|
+
conversationId?: string | null | undefined;
|
|
5450
|
+
shipmentId?: string | null | undefined;
|
|
5451
5451
|
buyerPlatformId?: string | null | undefined;
|
|
5452
5452
|
sellerPlatformId?: string | null | undefined;
|
|
5453
5453
|
};
|
|
5454
5454
|
}, {
|
|
5455
5455
|
items: {
|
|
5456
|
-
actions: {
|
|
5457
|
-
perAccount: Record<string, unknown[]>;
|
|
5458
|
-
};
|
|
5459
|
-
name: string;
|
|
5460
5456
|
id: number;
|
|
5461
|
-
createdAt: Date;
|
|
5462
5457
|
userId: number;
|
|
5458
|
+
name: string;
|
|
5459
|
+
createdAt: Date;
|
|
5463
5460
|
updatedAt: Date;
|
|
5464
5461
|
sold: boolean;
|
|
5465
|
-
|
|
5466
|
-
|
|
5467
|
-
|
|
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;
|
|
5462
|
+
actions: {
|
|
5463
|
+
perAccount: Record<string, unknown[]>;
|
|
5464
|
+
};
|
|
5481
5465
|
description?: string | null | undefined;
|
|
5482
5466
|
categoryId?: number | null | undefined;
|
|
5483
|
-
sizeId?: number | null | undefined;
|
|
5484
|
-
colorIds?: number[] | null | undefined;
|
|
5485
|
-
packageSizeId?: number | null | undefined;
|
|
5486
5467
|
state?: number | null | undefined;
|
|
5468
|
+
colorIds?: number[] | null | undefined;
|
|
5487
5469
|
measurementLength?: number | null | undefined;
|
|
5488
5470
|
measurementWidth?: number | null | undefined;
|
|
5471
|
+
packageSizeId?: number | null | undefined;
|
|
5472
|
+
sizeId?: number | null | undefined;
|
|
5489
5473
|
labels?: {
|
|
5490
5474
|
itemId: number;
|
|
5491
5475
|
labelId: number;
|
|
5492
5476
|
label?: {
|
|
5493
|
-
name: string;
|
|
5494
5477
|
id: number;
|
|
5478
|
+
name: string;
|
|
5495
5479
|
createdAt: Date;
|
|
5496
5480
|
isUserLabel: boolean;
|
|
5497
5481
|
itemCount?: number | null | undefined;
|
|
@@ -5504,86 +5488,50 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5504
5488
|
fieldKey: string;
|
|
5505
5489
|
}[] | null | undefined;
|
|
5506
5490
|
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;
|
|
5564
5491
|
fields?: {
|
|
5565
5492
|
value: string;
|
|
5566
5493
|
itemId: number;
|
|
5567
5494
|
fieldId: number;
|
|
5568
5495
|
}[] | null | undefined;
|
|
5569
5496
|
files?: {
|
|
5570
|
-
fileId: string;
|
|
5571
5497
|
itemId: number;
|
|
5498
|
+
fileId: string;
|
|
5572
5499
|
file?: {
|
|
5573
5500
|
path: string;
|
|
5574
5501
|
id: string;
|
|
5575
|
-
createdAt: Date;
|
|
5576
5502
|
userId: number;
|
|
5503
|
+
createdAt: Date;
|
|
5577
5504
|
signedUrl: string;
|
|
5578
5505
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5579
5506
|
} | null | undefined;
|
|
5580
5507
|
index?: number | null | undefined;
|
|
5581
5508
|
}[] | null | undefined;
|
|
5509
|
+
brandId?: number | null | undefined;
|
|
5510
|
+
sex?: string | null | undefined;
|
|
5582
5511
|
purchasePrice?: number | null | undefined;
|
|
5512
|
+
purchaseDate?: Date | null | undefined;
|
|
5583
5513
|
purchasePlaceId?: number | null | undefined;
|
|
5584
5514
|
purchased?: boolean | null | undefined;
|
|
5585
5515
|
sellingPrice?: number | null | undefined;
|
|
5516
|
+
sellingDate?: Date | null | undefined;
|
|
5586
5517
|
sellingPlaceId?: number | null | undefined;
|
|
5518
|
+
estimatedPrice?: number | null | undefined;
|
|
5519
|
+
fees?: {
|
|
5520
|
+
value: number;
|
|
5521
|
+
type: string;
|
|
5522
|
+
id: number;
|
|
5523
|
+
userId: number;
|
|
5524
|
+
name: string;
|
|
5525
|
+
createdAt: Date;
|
|
5526
|
+
updatedAt: Date;
|
|
5527
|
+
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
5528
|
+
startDate: Date;
|
|
5529
|
+
active: boolean;
|
|
5530
|
+
description?: string | null | undefined;
|
|
5531
|
+
itemId?: number | null | undefined;
|
|
5532
|
+
endDate?: Date | null | undefined;
|
|
5533
|
+
parentFeeId?: number | null | undefined;
|
|
5534
|
+
}[] | null | undefined;
|
|
5587
5535
|
feesSum?: number | null | undefined;
|
|
5588
5536
|
materialIds?: number[] | null | undefined;
|
|
5589
5537
|
enumValues?: {
|
|
@@ -5599,6 +5547,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5599
5547
|
createdAt: Date;
|
|
5600
5548
|
itemId: number;
|
|
5601
5549
|
type?: unknown;
|
|
5550
|
+
accountId?: string | null | undefined;
|
|
5602
5551
|
data?: {
|
|
5603
5552
|
type: "ACTION_CANCELED";
|
|
5604
5553
|
data: {
|
|
@@ -5664,23 +5613,23 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5664
5613
|
post: {
|
|
5665
5614
|
platformId: string;
|
|
5666
5615
|
post: {
|
|
5616
|
+
size?: string | null | undefined;
|
|
5667
5617
|
status?: string | null | undefined;
|
|
5668
5618
|
title?: string | null | undefined;
|
|
5669
5619
|
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;
|
|
5675
5620
|
price?: number | null | undefined;
|
|
5676
5621
|
currency?: string | null | undefined;
|
|
5622
|
+
brand?: string | null | undefined;
|
|
5677
5623
|
catalog?: string | null | undefined;
|
|
5678
5624
|
catalogId?: number | null | undefined;
|
|
5679
5625
|
colors?: string[] | null | undefined;
|
|
5626
|
+
colorIds?: number[] | null | undefined;
|
|
5680
5627
|
measurementLength?: number | null | undefined;
|
|
5681
5628
|
measurementWidth?: number | null | undefined;
|
|
5629
|
+
packageSizeId?: number | null | undefined;
|
|
5682
5630
|
photoUrls?: string[] | null | undefined;
|
|
5683
|
-
|
|
5631
|
+
sizeId?: number | null | undefined;
|
|
5632
|
+
statusId?: number | null | undefined;
|
|
5684
5633
|
isDraft?: boolean | null | undefined;
|
|
5685
5634
|
isArchived?: boolean | null | undefined;
|
|
5686
5635
|
isUnisex?: boolean | null | undefined;
|
|
@@ -5723,8 +5672,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5723
5672
|
} | {
|
|
5724
5673
|
type: "LIFECYCLE_STARTED";
|
|
5725
5674
|
data: {
|
|
5726
|
-
caseId: string;
|
|
5727
5675
|
accountId: string;
|
|
5676
|
+
caseId: string;
|
|
5728
5677
|
isRepeat?: boolean | null | undefined;
|
|
5729
5678
|
};
|
|
5730
5679
|
} | {
|
|
@@ -5763,17 +5712,17 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5763
5712
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
5764
5713
|
} | null | undefined;
|
|
5765
5714
|
} | null | undefined;
|
|
5766
|
-
publishingDate?: Date | null | undefined;
|
|
5767
|
-
isTransfer?: boolean | null | undefined;
|
|
5768
5715
|
targetAccountId?: string | null | undefined;
|
|
5769
5716
|
allowIfDeleted?: boolean | null | undefined;
|
|
5717
|
+
publishingDate?: Date | null | undefined;
|
|
5718
|
+
isTransfer?: boolean | null | undefined;
|
|
5770
5719
|
};
|
|
5771
5720
|
} | {
|
|
5772
5721
|
type: "REPUBLISHING_RETRY";
|
|
5773
5722
|
data: {
|
|
5774
|
-
maxAttempts: number;
|
|
5775
5723
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5776
5724
|
attemptNumber: number;
|
|
5725
|
+
maxAttempts: number;
|
|
5777
5726
|
previousHistoryId: string;
|
|
5778
5727
|
originalFailureDate: Date;
|
|
5779
5728
|
payload?: {
|
|
@@ -5815,9 +5764,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5815
5764
|
} | {
|
|
5816
5765
|
type: "SCHEDULED_RETRY";
|
|
5817
5766
|
data: {
|
|
5818
|
-
maxAttempts: number;
|
|
5819
5767
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5820
5768
|
attemptNumber: number;
|
|
5769
|
+
maxAttempts: number;
|
|
5821
5770
|
previousHistoryId: string;
|
|
5822
5771
|
originalFailureDate: Date;
|
|
5823
5772
|
fields?: {
|
|
@@ -5850,52 +5799,103 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5850
5799
|
targetDate?: Date | null | undefined;
|
|
5851
5800
|
};
|
|
5852
5801
|
} | null | undefined;
|
|
5853
|
-
accountId?: string | null | undefined;
|
|
5854
5802
|
targetDate?: Date | null | undefined;
|
|
5855
5803
|
requestId?: string | null | undefined;
|
|
5856
5804
|
targetHistoryId?: string | null | undefined;
|
|
5857
5805
|
} | null | undefined;
|
|
5806
|
+
platforms?: {
|
|
5807
|
+
id: string;
|
|
5808
|
+
accountId: string;
|
|
5809
|
+
createdAt: Date;
|
|
5810
|
+
itemId: number;
|
|
5811
|
+
platformId: string;
|
|
5812
|
+
platformUrl: string;
|
|
5813
|
+
platformPrice: number;
|
|
5814
|
+
updatedAt: Date;
|
|
5815
|
+
publishedAt: Date;
|
|
5816
|
+
status?: unknown;
|
|
5817
|
+
conversationId?: string | null | undefined;
|
|
5818
|
+
boostedAt?: Date | null | undefined;
|
|
5819
|
+
boostedUntil?: Date | null | undefined;
|
|
5820
|
+
viewsCount?: number | null | undefined;
|
|
5821
|
+
favoritesCount?: number | null | undefined;
|
|
5822
|
+
account?: {
|
|
5823
|
+
accountId: string;
|
|
5824
|
+
userId: number;
|
|
5825
|
+
name: string;
|
|
5826
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5827
|
+
status?: unknown;
|
|
5828
|
+
locale?: string | null | undefined;
|
|
5829
|
+
lockReason?: unknown;
|
|
5830
|
+
restrictedUntil?: Date | null | undefined;
|
|
5831
|
+
night?: {
|
|
5832
|
+
startsAt: Date;
|
|
5833
|
+
endsAt: Date;
|
|
5834
|
+
} | null | undefined;
|
|
5835
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
5836
|
+
ordersMaxDelay?: number | null | undefined;
|
|
5837
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
5838
|
+
walletMaxDelay?: number | null | undefined;
|
|
5839
|
+
availableBalance?: number | null | undefined;
|
|
5840
|
+
pendingBalance?: number | null | undefined;
|
|
5841
|
+
profilePictureFileId?: string | null | undefined;
|
|
5842
|
+
profilePicture?: {
|
|
5843
|
+
path: string;
|
|
5844
|
+
id: string;
|
|
5845
|
+
userId: number;
|
|
5846
|
+
createdAt: Date;
|
|
5847
|
+
signedUrl: string;
|
|
5848
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5849
|
+
} | null | undefined;
|
|
5850
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
5851
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
5852
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
5853
|
+
} | null | undefined;
|
|
5854
|
+
orderStatus?: unknown;
|
|
5855
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
5856
|
+
isBoosted?: boolean | null | undefined;
|
|
5857
|
+
}[] | null | undefined;
|
|
5858
5858
|
sourceInConversation?: unknown;
|
|
5859
5859
|
order?: {
|
|
5860
5860
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
5861
5861
|
labels?: {
|
|
5862
5862
|
id: string;
|
|
5863
|
-
fileId: string;
|
|
5864
5863
|
orderId: string;
|
|
5864
|
+
fileId: string;
|
|
5865
5865
|
nonCroppedFileId: string;
|
|
5866
5866
|
originalFileId: string;
|
|
5867
|
-
|
|
5867
|
+
file?: {
|
|
5868
5868
|
path: string;
|
|
5869
5869
|
id: string;
|
|
5870
|
-
createdAt: Date;
|
|
5871
5870
|
userId: number;
|
|
5871
|
+
createdAt: Date;
|
|
5872
5872
|
signedUrl: string;
|
|
5873
5873
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5874
5874
|
} | null | undefined;
|
|
5875
|
-
|
|
5876
|
-
file?: {
|
|
5875
|
+
nonCroppedFile?: {
|
|
5877
5876
|
path: string;
|
|
5878
5877
|
id: string;
|
|
5879
|
-
createdAt: Date;
|
|
5880
5878
|
userId: number;
|
|
5879
|
+
createdAt: Date;
|
|
5881
5880
|
signedUrl: string;
|
|
5882
5881
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5883
5882
|
} | null | undefined;
|
|
5884
|
-
|
|
5883
|
+
originalFile?: {
|
|
5885
5884
|
path: string;
|
|
5886
5885
|
id: string;
|
|
5887
|
-
createdAt: Date;
|
|
5888
5886
|
userId: number;
|
|
5887
|
+
createdAt: Date;
|
|
5889
5888
|
signedUrl: string;
|
|
5890
5889
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5891
5890
|
} | null | undefined;
|
|
5891
|
+
carrier?: unknown;
|
|
5892
5892
|
}[] | null | undefined;
|
|
5893
5893
|
invoices?: {
|
|
5894
5894
|
type: "SALE" | "PURCHASE";
|
|
5895
5895
|
status: string;
|
|
5896
5896
|
id: string;
|
|
5897
|
-
createdAt: Date;
|
|
5898
5897
|
userId: number;
|
|
5898
|
+
createdAt: Date;
|
|
5899
5899
|
currency: string;
|
|
5900
5900
|
orderId: string;
|
|
5901
5901
|
updatedAt: Date;
|
|
@@ -5904,21 +5904,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5904
5904
|
businessProfileId: string;
|
|
5905
5905
|
issueDate: Date;
|
|
5906
5906
|
subtotal: number;
|
|
5907
|
-
fileId?: string | null | undefined;
|
|
5908
5907
|
vatAmount?: number | null | undefined;
|
|
5908
|
+
fileId?: string | null | undefined;
|
|
5909
5909
|
file?: {
|
|
5910
5910
|
path: string;
|
|
5911
5911
|
id: string;
|
|
5912
|
-
createdAt: Date;
|
|
5913
5912
|
userId: number;
|
|
5913
|
+
createdAt: Date;
|
|
5914
5914
|
signedUrl: string;
|
|
5915
5915
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5916
5916
|
} | null | undefined;
|
|
5917
5917
|
vatRate?: number | null | undefined;
|
|
5918
5918
|
businessProfile?: {
|
|
5919
5919
|
id: string;
|
|
5920
|
-
createdAt: Date;
|
|
5921
5920
|
userId: number;
|
|
5921
|
+
createdAt: Date;
|
|
5922
5922
|
updatedAt: Date;
|
|
5923
5923
|
businessName: string;
|
|
5924
5924
|
address: string;
|
|
@@ -5931,8 +5931,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5931
5931
|
logo?: {
|
|
5932
5932
|
path: string;
|
|
5933
5933
|
id: string;
|
|
5934
|
-
createdAt: Date;
|
|
5935
5934
|
userId: number;
|
|
5935
|
+
createdAt: Date;
|
|
5936
5936
|
signedUrl: string;
|
|
5937
5937
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5938
5938
|
} | null | undefined;
|
|
@@ -5945,26 +5945,26 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5945
5945
|
firstName: string;
|
|
5946
5946
|
lastName: string;
|
|
5947
5947
|
phoneVerified: boolean;
|
|
5948
|
-
|
|
5948
|
+
postalCode?: string | null | undefined;
|
|
5949
|
+
city?: string | null | undefined;
|
|
5950
|
+
country?: string | null | undefined;
|
|
5949
5951
|
email?: string | null | undefined;
|
|
5952
|
+
addressLine1?: string | null | undefined;
|
|
5953
|
+
addressLine2?: string | null | undefined;
|
|
5954
|
+
birthDate?: Date | null | undefined;
|
|
5950
5955
|
idNumber?: string | null | undefined;
|
|
5951
5956
|
phone?: string | null | undefined;
|
|
5952
5957
|
iban?: string | null | undefined;
|
|
5953
5958
|
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;
|
|
5959
5959
|
} | null | undefined;
|
|
5960
5960
|
dueDate?: Date | null | undefined;
|
|
5961
5961
|
notes?: string | null | undefined;
|
|
5962
5962
|
lineItems?: {
|
|
5963
|
-
|
|
5963
|
+
quantity: number;
|
|
5964
5964
|
id: number;
|
|
5965
|
+
description: string;
|
|
5965
5966
|
createdAt: Date;
|
|
5966
5967
|
invoiceId: string;
|
|
5967
|
-
quantity: number;
|
|
5968
5968
|
unitPrice: number;
|
|
5969
5969
|
total: number;
|
|
5970
5970
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -5978,15 +5978,13 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
5978
5978
|
id: string;
|
|
5979
5979
|
accountId: string;
|
|
5980
5980
|
platformTransactionId: string;
|
|
5981
|
-
conversationId?: string | null | undefined;
|
|
5982
|
-
shipmentId?: string | null | undefined;
|
|
5983
5981
|
items?: {
|
|
5984
5982
|
transactionId: string;
|
|
5985
5983
|
itemOnPlatformId: string;
|
|
5986
5984
|
itemOnPlatform?: {
|
|
5987
5985
|
id: string;
|
|
5988
|
-
createdAt: Date;
|
|
5989
5986
|
accountId: string;
|
|
5987
|
+
createdAt: Date;
|
|
5990
5988
|
itemId: number;
|
|
5991
5989
|
platformId: string;
|
|
5992
5990
|
platformUrl: string;
|
|
@@ -6000,9 +5998,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
6000
5998
|
viewsCount?: number | null | undefined;
|
|
6001
5999
|
favoritesCount?: number | null | undefined;
|
|
6002
6000
|
account?: {
|
|
6003
|
-
name: string;
|
|
6004
|
-
userId: number;
|
|
6005
6001
|
accountId: string;
|
|
6002
|
+
userId: number;
|
|
6003
|
+
name: string;
|
|
6006
6004
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
6007
6005
|
status?: unknown;
|
|
6008
6006
|
locale?: string | null | undefined;
|
|
@@ -6022,8 +6020,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
6022
6020
|
profilePicture?: {
|
|
6023
6021
|
path: string;
|
|
6024
6022
|
id: string;
|
|
6025
|
-
createdAt: Date;
|
|
6026
6023
|
userId: number;
|
|
6024
|
+
createdAt: Date;
|
|
6027
6025
|
signedUrl: string;
|
|
6028
6026
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
6029
6027
|
} | null | undefined;
|
|
@@ -6036,6 +6034,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
6036
6034
|
isBoosted?: boolean | null | undefined;
|
|
6037
6035
|
} | null | undefined;
|
|
6038
6036
|
}[] | null | undefined;
|
|
6037
|
+
conversationId?: string | null | undefined;
|
|
6038
|
+
shipmentId?: string | null | undefined;
|
|
6039
6039
|
buyerPlatformId?: string | null | undefined;
|
|
6040
6040
|
sellerPlatformId?: string | null | undefined;
|
|
6041
6041
|
};
|