controlresell 2.26.4 → 2.26.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/com/controlresell/api/requests/coach/AskCoachRequest.d.ts +4 -4
- package/src/com/controlresell/api/requests/customers/CreateCustomerRequest.d.ts +2 -2
- package/src/com/controlresell/api/requests/files/CreatePresignedFileRequest.d.ts +2 -2
- package/src/com/controlresell/api/requests/items/boost/BoostRequest.d.ts +3 -3
- package/src/com/controlresell/api/requests/items/cancel/CancelRequest.d.ts +2 -2
- package/src/com/controlresell/api/requests/items/forms/FormOption.d.ts +2 -2
- package/src/com/controlresell/api/requests/items/forms/FormOptionGroup.d.ts +6 -6
- package/src/com/controlresell/api/requests/items/forms/FormOptionPickRequest.d.ts +14 -14
- package/src/com/controlresell/api/requests/items/publish/AutomaticPublishRequestItem.d.ts +2 -2
- package/src/com/controlresell/api/requests/items/publish/ManualPublishRequestItem.d.ts +6 -6
- package/src/com/controlresell/api/requests/items/publish/PublishRequest.d.ts +16 -16
- package/src/com/controlresell/api/requests/items/publish/PublishRequestItems.d.ts +16 -16
- package/src/com/controlresell/api/requests/items/publish/PublishTimeSlot.d.ts +2 -2
- package/src/com/controlresell/api/requests/items/republish/RepublishRequest.d.ts +22 -22
- package/src/com/controlresell/api/requests/items/update/UpdateRequest.d.ts +29 -29
- package/src/com/controlresell/api/requests/subscriptions/ChangeSubscriptionPlanRequest.d.ts +4 -4
- package/src/com/controlresell/api/requests/subscriptions/CreateSubscriptionPaymentLinkRequest.d.ts +4 -4
- package/src/com/controlresell/api/requests/subscriptions/SubscriptionLevelQuantity.d.ts +2 -2
- package/src/com/controlresell/api/responses/activation/ActivationResponse.d.ts +10 -10
- package/src/com/controlresell/api/responses/activity/ActivityDaySummary.d.ts +2 -2
- package/src/com/controlresell/api/responses/activity/ActivityEvent.d.ts +12 -12
- package/src/com/controlresell/api/responses/activity/ActivityEventsResponse.d.ts +21 -21
- package/src/com/controlresell/api/responses/activity/ActivityItem.d.ts +2 -2
- package/src/com/controlresell/api/responses/activity/ActivityMessage.d.ts +1 -1
- package/src/com/controlresell/api/responses/activity/ActivitySummaryResponse.d.ts +25 -25
- package/src/com/controlresell/api/responses/coach/CoachAnswerResponse.d.ts +4 -4
- package/src/com/controlresell/api/responses/coach/CoachMessageResponse.d.ts +2 -2
- package/src/com/controlresell/api/responses/coach/CoachThreadResponse.d.ts +6 -6
- package/src/com/controlresell/api/responses/coach/CoachThreadsResponse.d.ts +10 -10
- package/src/com/controlresell/api/responses/conversations/MessageStreamResponse.d.ts +204 -204
- package/src/com/controlresell/api/responses/customers/CustomersResponse.d.ts +24 -24
- package/src/com/controlresell/api/responses/fees/GetAllFeesData.d.ts +12 -12
- package/src/com/controlresell/api/responses/invoices/ListInvoicesResponse.d.ts +83 -76
- package/src/com/controlresell/api/responses/invoices/ListInvoicesResponse.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/items/FormOptionPickResponse.d.ts +2 -2
- package/src/com/controlresell/api/responses/items/ItemActions.d.ts +1 -1
- package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts +745 -734
- package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/items/ListedItem.d.ts +500 -491
- package/src/com/controlresell/api/responses/items/ListedItem.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/items/ListedItemOrder.d.ts +121 -114
- package/src/com/controlresell/api/responses/items/ListedItemOrder.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseBaseResponse.d.ts +2 -2
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseResponse.d.ts +6 -6
- package/src/com/controlresell/api/responses/subscriptions/PromoCodeResponse.d.ts +2 -2
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionLevelResponse.d.ts +2 -2
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionLevelsResponse.d.ts +4 -4
- package/src/com/controlresell/auth/models/preferences/CreatePreferencePayload.d.ts +2 -2
- package/src/com/controlresell/auth/models/preferences/Preference.d.ts +104 -104
- package/src/com/controlresell/auth/models/preferences/PreferenceWithCase.d.ts +298 -298
- package/src/com/controlresell/auth/models/preferences/PreferenceWithChildren.d.ts +238 -238
- package/src/com/controlresell/auth/models/preferences/cases/CreatePreferenceCasePayload.d.ts +70 -70
- package/src/com/controlresell/auth/models/preferences/cases/PartialPreferenceCasePayload.d.ts +68 -68
- package/src/com/controlresell/auth/models/preferences/cases/PreferenceCase.d.ts +74 -74
- package/src/com/controlresell/auth/models/preferences/payloads/actions/LifecycleDistributionMode.d.ts +8 -8
- package/src/com/controlresell/auth/models/preferences/payloads/actions/LifecycleTimeSlot.d.ts +2 -2
- package/src/com/controlresell/auth/models/preferences/payloads/actions/ManualLifecycleDistributionMode.d.ts +4 -4
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionPayload.d.ts +4 -4
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionsPayload.d.ts +14 -14
- package/src/com/controlresell/auth/models/preferences/queue/PreferenceNextActionPayload.d.ts +378 -378
- package/src/com/controlresell/auth/models/preferences/variants/PartialPreferenceCaseVariantPayload.d.ts +50 -50
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariant.d.ts +52 -52
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantDecodedPayload.d.ts +72 -72
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantPayload.d.ts +50 -50
- package/src/com/controlresell/models/auth/LoginPayload.d.ts +2 -2
- package/src/com/controlresell/models/auth/RegisterPayload.d.ts +2 -2
- package/src/com/controlresell/models/business/BusinessProfile.d.ts +9 -6
- package/src/com/controlresell/models/business/BusinessProfile.d.ts.map +1 -1
- package/src/com/controlresell/models/business/BusinessProfile.js +3 -1
- package/src/com/controlresell/models/business/BusinessProfile.js.map +1 -1
- package/src/com/controlresell/models/business/BusinessProfile.ts +3 -1
- package/src/com/controlresell/models/business/VatRegime.d.ts +4 -0
- package/src/com/controlresell/models/business/VatRegime.d.ts.map +1 -0
- package/src/com/controlresell/models/business/VatRegime.js +5 -0
- package/src/com/controlresell/models/business/VatRegime.js.map +1 -0
- package/src/com/controlresell/models/business/VatRegime.ts +6 -0
- package/src/com/controlresell/models/conversations/Conversation.d.ts +64 -64
- package/src/com/controlresell/models/conversations/ConversationOnPlatformUpdateRequest.d.ts +92 -92
- package/src/com/controlresell/models/conversations/ConversationUpdate.d.ts +124 -124
- package/src/com/controlresell/models/conversations/UserConversations.d.ts +94 -94
- package/src/com/controlresell/models/conversations/favorites/ConversationFavorite.d.ts +18 -18
- package/src/com/controlresell/models/conversations/favorites/CreateConversationFavoritePayload.d.ts +2 -2
- package/src/com/controlresell/models/conversations/favorites/ReportRateLimitOnFavorites.d.ts +28 -28
- package/src/com/controlresell/models/conversations/favorites/SubmitFavoritesResponse.d.ts +28 -28
- package/src/com/controlresell/models/conversations/messages/ConversationMessage.d.ts +18 -18
- package/src/com/controlresell/models/conversations/messages/ConversationMessageRequest.d.ts +6 -6
- package/src/com/controlresell/models/conversations/messages/CreateConversationMessagePayload.d.ts +6 -6
- package/src/com/controlresell/models/conversations/messages/PaginatedConversationMessages.d.ts +30 -30
- package/src/com/controlresell/models/conversations/messages/files/ConversationMessageFile.d.ts +6 -6
- package/src/com/controlresell/models/conversations/messages/variables/PreferenceVariable.d.ts +2 -2
- package/src/com/controlresell/models/conversations/offers/ConversationOfferRequest.d.ts +2 -2
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.d.ts +66 -66
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerProfileCase.d.ts +4 -4
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerQuestionCase.d.ts +2 -2
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerTriggerCase.d.ts +4 -4
- package/src/com/controlresell/models/conversations/preferences/ExcludedBuyer.d.ts +2 -2
- package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreference.d.ts +92 -92
- package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreferenceCase.d.ts +28 -28
- package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreferenceVariant.d.ts +12 -12
- package/src/com/controlresell/models/conversations/preferences/NegotiationPreference.d.ts +10 -10
- package/src/com/controlresell/models/conversations/preferences/NegotiationPreferenceCase.d.ts +4 -4
- package/src/com/controlresell/models/conversations/reminders/SendConversationReminderRequest.d.ts +2 -2
- package/src/com/controlresell/models/conversations/users/ConversationUser.d.ts +8 -8
- package/src/com/controlresell/models/conversations/users/CreateConversationUserPayload.d.ts +2 -2
- package/src/com/controlresell/models/conversations/users/UpdateConversationUserPayload.d.ts +4 -4
- package/src/com/controlresell/models/customers/Customer.d.ts +12 -12
- package/src/com/controlresell/models/discord/DiscordLinkCreatedEvent.d.ts +9 -9
- package/src/com/controlresell/models/discord/DiscordLinkDeletedEvent.d.ts +2 -2
- package/src/com/controlresell/models/fees/Fee.d.ts +6 -6
- package/src/com/controlresell/models/files/File.d.ts +2 -2
- package/src/com/controlresell/models/filters/MatchingItem.d.ts +2 -2
- package/src/com/controlresell/models/filters/PreferenceFilter.d.ts +20 -20
- package/src/com/controlresell/models/filters/SavedFilters.d.ts +16 -16
- package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts +16 -16
- package/src/com/controlresell/models/invoices/Invoice.d.ts +55 -50
- package/src/com/controlresell/models/invoices/Invoice.d.ts.map +1 -1
- package/src/com/controlresell/models/invoices/InvoiceLineItem.d.ts +4 -4
- package/src/com/controlresell/models/items/CreatedItems.d.ts +1454 -1443
- package/src/com/controlresell/models/items/CreatedItems.d.ts.map +1 -1
- package/src/com/controlresell/models/items/Item.d.ts +456 -456
- package/src/com/controlresell/models/items/ItemFiltersContext.d.ts +8 -8
- package/src/com/controlresell/models/items/ItemPayload.d.ts +18 -18
- package/src/com/controlresell/models/items/ItemSoldPayload.d.ts +2 -2
- package/src/com/controlresell/models/items/ItemUpdate.d.ts +746 -735
- package/src/com/controlresell/models/items/ItemUpdate.d.ts.map +1 -1
- package/src/com/controlresell/models/items/UpdatedItem.d.ts +1454 -1443
- package/src/com/controlresell/models/items/UpdatedItem.d.ts.map +1 -1
- package/src/com/controlresell/models/items/analysis/ItemAnalysisCompletion.d.ts +4 -4
- package/src/com/controlresell/models/items/analysis/ItemAnalysisRequest.d.ts +16 -16
- package/src/com/controlresell/models/items/analysis/ItemAnalysisUpdate.d.ts +746 -735
- package/src/com/controlresell/models/items/analysis/ItemAnalysisUpdate.d.ts.map +1 -1
- package/src/com/controlresell/models/items/analysis/ItemFieldResolution.d.ts +2 -2
- package/src/com/controlresell/models/items/analysis/ItemFieldResolutionsRequest.d.ts +4 -4
- package/src/com/controlresell/models/items/estimation/ItemPriceEstimation.d.ts +4 -4
- package/src/com/controlresell/models/items/estimation/ItemPriceEstimationDraft.d.ts +8 -8
- package/src/com/controlresell/models/items/estimation/ItemPriceEstimationRequest.d.ts +16 -16
- package/src/com/controlresell/models/items/estimation/MarketPriceDistribution.d.ts +2 -2
- package/src/com/controlresell/models/items/files/ItemFile.d.ts +6 -6
- package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.d.ts +102 -102
- package/src/com/controlresell/models/items/history/ItemHistory.d.ts +104 -104
- package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.d.ts +154 -154
- package/src/com/controlresell/models/items/history/data/ItemHistoryFailedToPublishPayload.d.ts +2 -2
- package/src/com/controlresell/models/items/history/data/ItemHistoryImportedPayload.d.ts +36 -36
- package/src/com/controlresell/models/items/history/data/ItemHistoryLifecycleStartedPayload.d.ts +2 -2
- package/src/com/controlresell/models/items/history/data/ItemHistoryRepublishingPayload.d.ts +4 -4
- package/src/com/controlresell/models/items/history/data/ItemHistoryRepublishingRetryPayload.d.ts +4 -4
- package/src/com/controlresell/models/items/history/data/ItemHistoryScheduledRetryPayload.d.ts +4 -4
- package/src/com/controlresell/models/items/labels/ItemLabel.d.ts +4 -4
- package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts +16 -16
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts +50 -50
- package/src/com/controlresell/models/items/templates/PreferenceTemplatePayload.d.ts +8 -8
- package/src/com/controlresell/models/items/templates/Template.d.ts +16 -16
- package/src/com/controlresell/models/metadata/brands/Brand.d.ts +2 -2
- package/src/com/controlresell/models/metadata/categories/CatalogRoot.d.ts +8 -8
- package/src/com/controlresell/models/metadata/categories/Category.d.ts +4 -4
- package/src/com/controlresell/models/metadata/categories/CategoryFormSchema.d.ts +10 -10
- package/src/com/controlresell/models/metadata/categories/EnumFieldSpec.d.ts +4 -4
- package/src/com/controlresell/models/metadata/categoryfields/CategoryField.d.ts +2 -2
- package/src/com/controlresell/models/metadata/categoryfields/CreateCategoryFieldPayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/colors/Color.d.ts +2 -2
- package/src/com/controlresell/models/metadata/colors/ColorRoot.d.ts +4 -4
- package/src/com/controlresell/models/metadata/enums/Enum.d.ts +2 -2
- package/src/com/controlresell/models/metadata/favorites/CreateFavoriteMetadataPayload.d.ts +1 -1
- package/src/com/controlresell/models/metadata/favorites/FavoriteMetadata.d.ts +1 -1
- package/src/com/controlresell/models/metadata/labels/Label.d.ts +2 -2
- package/src/com/controlresell/models/metadata/packagesizes/PackageSize.d.ts +2 -2
- package/src/com/controlresell/models/metadata/places/Place.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformCategoriesPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformCategoryFieldsPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformEnumsPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformSizesPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/BrandMapping.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/CategoryMapping.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/CreateBrandMappingPayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/CreateCategoryMappingPayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/CreateEnumMappingPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/CreateSizeMappingPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/EnumMapping.d.ts +6 -6
- package/src/com/controlresell/models/metadata/platforms/ItemListingPreview.d.ts +756 -756
- package/src/com/controlresell/models/metadata/platforms/MappingInfo.d.ts +36 -36
- package/src/com/controlresell/models/metadata/platforms/PlatformBrand.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/PlatformCategory.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/PlatformCategoryFieldPayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/PlatformCategoryPayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/PlatformEnum.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/PlatformEnumPayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/PlatformSize.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/PlatformSizePayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/SizeMapping.d.ts +6 -6
- package/src/com/controlresell/models/metadata/platforms/UpdateEnumMappingPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/sizes/Size.d.ts +2 -2
- package/src/com/controlresell/models/metadata/sizes/SizeGroup.d.ts +6 -6
- package/src/com/controlresell/models/metadata/sizes/SizeRoot.d.ts +10 -10
- package/src/com/controlresell/models/metadata/statuses/Status.d.ts +2 -2
- package/src/com/controlresell/models/onboardingquiz/OnboardingQuizResponse.d.ts +4 -4
- package/src/com/controlresell/models/platforms/labels/OrderLabel.d.ts +22 -22
- package/src/com/controlresell/models/platforms/orders/CreateOrderPayload.d.ts +2 -2
- package/src/com/controlresell/models/platforms/orders/Order.d.ts +281 -274
- package/src/com/controlresell/models/platforms/orders/Order.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/OrderFiltersContext.d.ts +2 -2
- package/src/com/controlresell/models/platforms/orders/OrderLabelUpdate.d.ts +38 -38
- package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts +14 -14
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +1653 -1629
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +24 -24
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +1181 -1161
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/pickups/CreatePickupPointPayload.d.ts +4 -4
- package/src/com/controlresell/models/platforms/pickups/PickupPoint.d.ts +6 -6
- package/src/com/controlresell/models/platforms/pickups/PickupPointInOrder.d.ts +12 -12
- package/src/com/controlresell/models/platforms/pickups/UpdatePickupPointPayload.d.ts +4 -4
- package/src/com/controlresell/models/subscriptions/ActiveLevel.d.ts +2 -2
- package/src/com/controlresell/models/subscriptions/SubscriptionChangedEvent.d.ts +4 -4
- package/src/com/controlresell/models/subscriptions/SubscriptionHistory.d.ts +4 -4
- package/src/com/controlresell/models/subscriptions/UserLimitCounter.d.ts +2 -2
- package/src/com/controlresell/models/subscriptions/UserLimits.d.ts +46 -46
- package/src/com/controlresell/models/transactions/Transaction.d.ts +36 -36
- package/src/com/controlresell/models/transactions/items/ItemInTransaction.d.ts +24 -24
- package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts +784 -773
- package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts.map +1 -1
- package/src/com/controlresell/models/users/UpdateUserPayload.d.ts +6 -6
- package/src/com/controlresell/models/users/User.d.ts +30 -30
- package/src/com/controlresell/models/users/fields/Field.d.ts +2 -2
- package/src/com/controlresell/models/users/fields/FieldsWithData.d.ts +4 -4
- package/src/com/controlresell/models/users/platforms/CreateUserOnPlatformPayload.d.ts +2 -2
- package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts +14 -14
- package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts +16 -16
- package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.d.ts +2 -2
- package/src/com/controlresell/models/users/platforms/UserOnPlatform.d.ts +8 -8
- package/src/com/controlresell/models/users/ws/ResourceUpdate.d.ts +61 -61
- package/src/com/controlresell/models/users/ws/UserLimitsUpdate.d.ts +74 -74
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +3658 -3614
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/users/ws/UserWsResourcePayload.d.ts +80 -80
- package/src/index.d.ts +402 -401
- package/src/index.d.ts.map +1 -1
- package/src/index.js +402 -401
- package/src/index.js.map +1 -1
- package/src/index.ts +402 -401
|
@@ -57,15 +57,15 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
57
57
|
}, "strip", z.ZodTypeAny, {
|
|
58
58
|
path: string;
|
|
59
59
|
id: string;
|
|
60
|
-
userId: number;
|
|
61
60
|
createdAt: Date;
|
|
61
|
+
userId: number;
|
|
62
62
|
signedUrl: string;
|
|
63
63
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
64
64
|
}, {
|
|
65
65
|
path: string;
|
|
66
66
|
id: string;
|
|
67
|
-
userId: number;
|
|
68
67
|
createdAt: Date;
|
|
68
|
+
userId: number;
|
|
69
69
|
signedUrl: string;
|
|
70
70
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
71
71
|
}>>>;
|
|
@@ -76,9 +76,9 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
76
76
|
phoneNumberRequiredAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
77
77
|
}, "strip", z.ZodTypeAny, {
|
|
78
78
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
79
|
-
accountId: string;
|
|
80
|
-
userId: number;
|
|
81
79
|
name: string;
|
|
80
|
+
userId: number;
|
|
81
|
+
accountId: string;
|
|
82
82
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
83
83
|
locale?: string | null | undefined;
|
|
84
84
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -97,8 +97,8 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
97
97
|
profilePicture?: {
|
|
98
98
|
path: string;
|
|
99
99
|
id: string;
|
|
100
|
-
userId: number;
|
|
101
100
|
createdAt: Date;
|
|
101
|
+
userId: number;
|
|
102
102
|
signedUrl: string;
|
|
103
103
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
104
104
|
} | null | undefined;
|
|
@@ -106,9 +106,9 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
106
106
|
walletActivationRequiredAt?: Date | null | undefined;
|
|
107
107
|
phoneNumberRequiredAt?: Date | null | undefined;
|
|
108
108
|
}, {
|
|
109
|
-
accountId: string;
|
|
110
|
-
userId: number;
|
|
111
109
|
name: string;
|
|
110
|
+
userId: number;
|
|
111
|
+
accountId: string;
|
|
112
112
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
113
113
|
status?: unknown;
|
|
114
114
|
locale?: string | null | undefined;
|
|
@@ -128,8 +128,8 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
128
128
|
profilePicture?: {
|
|
129
129
|
path: string;
|
|
130
130
|
id: string;
|
|
131
|
-
userId: number;
|
|
132
131
|
createdAt: Date;
|
|
132
|
+
userId: number;
|
|
133
133
|
signedUrl: string;
|
|
134
134
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
135
135
|
} | null | undefined;
|
|
@@ -148,8 +148,8 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
148
148
|
}, "strip", z.ZodTypeAny, {
|
|
149
149
|
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
150
150
|
id: string;
|
|
151
|
-
accountId: string;
|
|
152
151
|
createdAt: Date;
|
|
152
|
+
accountId: string;
|
|
153
153
|
itemId: number;
|
|
154
154
|
platformId: string;
|
|
155
155
|
platformUrl: string;
|
|
@@ -163,9 +163,9 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
163
163
|
favoritesCount?: number | null | undefined;
|
|
164
164
|
account?: {
|
|
165
165
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
166
|
-
accountId: string;
|
|
167
|
-
userId: number;
|
|
168
166
|
name: string;
|
|
167
|
+
userId: number;
|
|
168
|
+
accountId: string;
|
|
169
169
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
170
170
|
locale?: string | null | undefined;
|
|
171
171
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -184,8 +184,8 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
184
184
|
profilePicture?: {
|
|
185
185
|
path: string;
|
|
186
186
|
id: string;
|
|
187
|
-
userId: number;
|
|
188
187
|
createdAt: Date;
|
|
188
|
+
userId: number;
|
|
189
189
|
signedUrl: string;
|
|
190
190
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
191
191
|
} | null | undefined;
|
|
@@ -198,8 +198,8 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
198
198
|
isBoosted?: boolean | null | undefined;
|
|
199
199
|
}, {
|
|
200
200
|
id: string;
|
|
201
|
-
accountId: string;
|
|
202
201
|
createdAt: Date;
|
|
202
|
+
accountId: string;
|
|
203
203
|
itemId: number;
|
|
204
204
|
platformId: string;
|
|
205
205
|
platformUrl: string;
|
|
@@ -213,9 +213,9 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
213
213
|
viewsCount?: number | null | undefined;
|
|
214
214
|
favoritesCount?: number | null | undefined;
|
|
215
215
|
account?: {
|
|
216
|
-
accountId: string;
|
|
217
|
-
userId: number;
|
|
218
216
|
name: string;
|
|
217
|
+
userId: number;
|
|
218
|
+
accountId: string;
|
|
219
219
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
220
220
|
status?: unknown;
|
|
221
221
|
locale?: string | null | undefined;
|
|
@@ -235,8 +235,8 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
235
235
|
profilePicture?: {
|
|
236
236
|
path: string;
|
|
237
237
|
id: string;
|
|
238
|
-
userId: number;
|
|
239
238
|
createdAt: Date;
|
|
239
|
+
userId: number;
|
|
240
240
|
signedUrl: string;
|
|
241
241
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
242
242
|
} | null | undefined;
|
|
@@ -254,8 +254,8 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
254
254
|
itemOnPlatform?: {
|
|
255
255
|
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
256
256
|
id: string;
|
|
257
|
-
accountId: string;
|
|
258
257
|
createdAt: Date;
|
|
258
|
+
accountId: string;
|
|
259
259
|
itemId: number;
|
|
260
260
|
platformId: string;
|
|
261
261
|
platformUrl: string;
|
|
@@ -269,9 +269,9 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
269
269
|
favoritesCount?: number | null | undefined;
|
|
270
270
|
account?: {
|
|
271
271
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
272
|
-
accountId: string;
|
|
273
|
-
userId: number;
|
|
274
272
|
name: string;
|
|
273
|
+
userId: number;
|
|
274
|
+
accountId: string;
|
|
275
275
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
276
276
|
locale?: string | null | undefined;
|
|
277
277
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -290,8 +290,8 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
290
290
|
profilePicture?: {
|
|
291
291
|
path: string;
|
|
292
292
|
id: string;
|
|
293
|
-
userId: number;
|
|
294
293
|
createdAt: Date;
|
|
294
|
+
userId: number;
|
|
295
295
|
signedUrl: string;
|
|
296
296
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
297
297
|
} | null | undefined;
|
|
@@ -308,8 +308,8 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
308
308
|
itemOnPlatformId: string;
|
|
309
309
|
itemOnPlatform?: {
|
|
310
310
|
id: string;
|
|
311
|
-
accountId: string;
|
|
312
311
|
createdAt: Date;
|
|
312
|
+
accountId: string;
|
|
313
313
|
itemId: number;
|
|
314
314
|
platformId: string;
|
|
315
315
|
platformUrl: string;
|
|
@@ -323,9 +323,9 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
323
323
|
viewsCount?: number | null | undefined;
|
|
324
324
|
favoritesCount?: number | null | undefined;
|
|
325
325
|
account?: {
|
|
326
|
-
accountId: string;
|
|
327
|
-
userId: number;
|
|
328
326
|
name: string;
|
|
327
|
+
userId: number;
|
|
328
|
+
accountId: string;
|
|
329
329
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
330
330
|
status?: unknown;
|
|
331
331
|
locale?: string | null | undefined;
|
|
@@ -345,8 +345,8 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
345
345
|
profilePicture?: {
|
|
346
346
|
path: string;
|
|
347
347
|
id: string;
|
|
348
|
-
userId: number;
|
|
349
348
|
createdAt: Date;
|
|
349
|
+
userId: number;
|
|
350
350
|
signedUrl: string;
|
|
351
351
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
352
352
|
} | null | undefined;
|
|
@@ -375,15 +375,15 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
375
375
|
}, "strip", z.ZodTypeAny, {
|
|
376
376
|
path: string;
|
|
377
377
|
id: string;
|
|
378
|
-
userId: number;
|
|
379
378
|
createdAt: Date;
|
|
379
|
+
userId: number;
|
|
380
380
|
signedUrl: string;
|
|
381
381
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
382
382
|
}, {
|
|
383
383
|
path: string;
|
|
384
384
|
id: string;
|
|
385
|
-
userId: number;
|
|
386
385
|
createdAt: Date;
|
|
386
|
+
userId: number;
|
|
387
387
|
signedUrl: string;
|
|
388
388
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
389
389
|
}>>>;
|
|
@@ -397,15 +397,15 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
397
397
|
}, "strip", z.ZodTypeAny, {
|
|
398
398
|
path: string;
|
|
399
399
|
id: string;
|
|
400
|
-
userId: number;
|
|
401
400
|
createdAt: Date;
|
|
401
|
+
userId: number;
|
|
402
402
|
signedUrl: string;
|
|
403
403
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
404
404
|
}, {
|
|
405
405
|
path: string;
|
|
406
406
|
id: string;
|
|
407
|
-
userId: number;
|
|
408
407
|
createdAt: Date;
|
|
408
|
+
userId: number;
|
|
409
409
|
signedUrl: string;
|
|
410
410
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
411
411
|
}>>>;
|
|
@@ -419,81 +419,81 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
419
419
|
}, "strip", z.ZodTypeAny, {
|
|
420
420
|
path: string;
|
|
421
421
|
id: string;
|
|
422
|
-
userId: number;
|
|
423
422
|
createdAt: Date;
|
|
423
|
+
userId: number;
|
|
424
424
|
signedUrl: string;
|
|
425
425
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
426
426
|
}, {
|
|
427
427
|
path: string;
|
|
428
428
|
id: string;
|
|
429
|
-
userId: number;
|
|
430
429
|
createdAt: Date;
|
|
430
|
+
userId: number;
|
|
431
431
|
signedUrl: string;
|
|
432
432
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
433
433
|
}>>>;
|
|
434
434
|
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"]>>>>;
|
|
435
435
|
}, "strip", z.ZodTypeAny, {
|
|
436
436
|
id: string;
|
|
437
|
-
orderId: string;
|
|
438
437
|
fileId: string;
|
|
438
|
+
orderId: string;
|
|
439
439
|
nonCroppedFileId: string;
|
|
440
440
|
originalFileId: string;
|
|
441
|
-
|
|
441
|
+
originalFile?: {
|
|
442
442
|
path: string;
|
|
443
443
|
id: string;
|
|
444
|
-
userId: number;
|
|
445
444
|
createdAt: Date;
|
|
445
|
+
userId: number;
|
|
446
446
|
signedUrl: string;
|
|
447
447
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
448
448
|
} | null | undefined;
|
|
449
|
-
|
|
449
|
+
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;
|
|
450
|
+
file?: {
|
|
450
451
|
path: string;
|
|
451
452
|
id: string;
|
|
452
|
-
userId: number;
|
|
453
453
|
createdAt: Date;
|
|
454
|
+
userId: number;
|
|
454
455
|
signedUrl: string;
|
|
455
456
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
456
457
|
} | null | undefined;
|
|
457
|
-
|
|
458
|
+
nonCroppedFile?: {
|
|
458
459
|
path: string;
|
|
459
460
|
id: string;
|
|
460
|
-
userId: number;
|
|
461
461
|
createdAt: Date;
|
|
462
|
+
userId: number;
|
|
462
463
|
signedUrl: string;
|
|
463
464
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
464
465
|
} | null | undefined;
|
|
465
|
-
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;
|
|
466
466
|
}, {
|
|
467
467
|
id: string;
|
|
468
|
-
orderId: string;
|
|
469
468
|
fileId: string;
|
|
469
|
+
orderId: string;
|
|
470
470
|
nonCroppedFileId: string;
|
|
471
471
|
originalFileId: string;
|
|
472
|
-
|
|
472
|
+
originalFile?: {
|
|
473
473
|
path: string;
|
|
474
474
|
id: string;
|
|
475
|
-
userId: number;
|
|
476
475
|
createdAt: Date;
|
|
476
|
+
userId: number;
|
|
477
477
|
signedUrl: string;
|
|
478
478
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
479
479
|
} | null | undefined;
|
|
480
|
-
|
|
480
|
+
carrier?: unknown;
|
|
481
|
+
file?: {
|
|
481
482
|
path: string;
|
|
482
483
|
id: string;
|
|
483
|
-
userId: number;
|
|
484
484
|
createdAt: Date;
|
|
485
|
+
userId: number;
|
|
485
486
|
signedUrl: string;
|
|
486
487
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
487
488
|
} | null | undefined;
|
|
488
|
-
|
|
489
|
+
nonCroppedFile?: {
|
|
489
490
|
path: string;
|
|
490
491
|
id: string;
|
|
491
|
-
userId: number;
|
|
492
492
|
createdAt: Date;
|
|
493
|
+
userId: number;
|
|
493
494
|
signedUrl: string;
|
|
494
495
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
495
496
|
} | null | undefined;
|
|
496
|
-
carrier?: unknown;
|
|
497
497
|
}>, "many">>>;
|
|
498
498
|
pickupPoints: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
499
499
|
pickupPointId: z.ZodString;
|
|
@@ -515,25 +515,25 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
515
515
|
latitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
516
516
|
longitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
517
517
|
}, "strip", z.ZodTypeAny, {
|
|
518
|
+
name: string;
|
|
518
519
|
id: string;
|
|
519
520
|
accountId: string;
|
|
520
|
-
|
|
521
|
-
postalCode: string;
|
|
521
|
+
addressLine1: string;
|
|
522
522
|
city: string;
|
|
523
|
+
postalCode: string;
|
|
523
524
|
countryCode: string;
|
|
524
|
-
addressLine1: string;
|
|
525
525
|
platformPickupPointId: string;
|
|
526
526
|
addressLine2?: string | null | undefined;
|
|
527
527
|
latitude?: number | null | undefined;
|
|
528
528
|
longitude?: number | null | undefined;
|
|
529
529
|
}, {
|
|
530
|
+
name: string;
|
|
530
531
|
id: string;
|
|
531
532
|
accountId: string;
|
|
532
|
-
|
|
533
|
-
postalCode: string;
|
|
533
|
+
addressLine1: string;
|
|
534
534
|
city: string;
|
|
535
|
+
postalCode: string;
|
|
535
536
|
countryCode: string;
|
|
536
|
-
addressLine1: string;
|
|
537
537
|
platformPickupPointId: string;
|
|
538
538
|
addressLine2?: string | null | undefined;
|
|
539
539
|
latitude?: number | null | undefined;
|
|
@@ -547,13 +547,13 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
547
547
|
trackingLink?: string | null | undefined;
|
|
548
548
|
availableUntil?: Date | null | undefined;
|
|
549
549
|
pickupPoint?: {
|
|
550
|
+
name: string;
|
|
550
551
|
id: string;
|
|
551
552
|
accountId: string;
|
|
552
|
-
|
|
553
|
-
postalCode: string;
|
|
553
|
+
addressLine1: string;
|
|
554
554
|
city: string;
|
|
555
|
+
postalCode: string;
|
|
555
556
|
countryCode: string;
|
|
556
|
-
addressLine1: string;
|
|
557
557
|
platformPickupPointId: string;
|
|
558
558
|
addressLine2?: string | null | undefined;
|
|
559
559
|
latitude?: number | null | undefined;
|
|
@@ -567,13 +567,13 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
567
567
|
trackingLink?: string | null | undefined;
|
|
568
568
|
availableUntil?: Date | null | undefined;
|
|
569
569
|
pickupPoint?: {
|
|
570
|
+
name: string;
|
|
570
571
|
id: string;
|
|
571
572
|
accountId: string;
|
|
572
|
-
|
|
573
|
-
postalCode: string;
|
|
573
|
+
addressLine1: string;
|
|
574
574
|
city: string;
|
|
575
|
+
postalCode: string;
|
|
575
576
|
countryCode: string;
|
|
576
|
-
addressLine1: string;
|
|
577
577
|
platformPickupPointId: string;
|
|
578
578
|
addressLine2?: string | null | undefined;
|
|
579
579
|
latitude?: number | null | undefined;
|
|
@@ -605,25 +605,26 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
605
605
|
}, "strip", z.ZodTypeAny, {
|
|
606
606
|
path: string;
|
|
607
607
|
id: string;
|
|
608
|
-
userId: number;
|
|
609
608
|
createdAt: Date;
|
|
609
|
+
userId: number;
|
|
610
610
|
signedUrl: string;
|
|
611
611
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
612
612
|
}, {
|
|
613
613
|
path: string;
|
|
614
614
|
id: string;
|
|
615
|
-
userId: number;
|
|
616
615
|
createdAt: Date;
|
|
616
|
+
userId: number;
|
|
617
617
|
signedUrl: string;
|
|
618
618
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
619
619
|
}>>>;
|
|
620
620
|
isActive: z.ZodBoolean;
|
|
621
621
|
createdAt: z.ZodDate;
|
|
622
622
|
updatedAt: z.ZodDate;
|
|
623
|
+
vatRegime: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["MARGIN", "FRANCHISE", "NORMAL", "UNKNOWN"]>>>>;
|
|
623
624
|
}, "strip", z.ZodTypeAny, {
|
|
624
625
|
id: string;
|
|
625
|
-
userId: number;
|
|
626
626
|
createdAt: Date;
|
|
627
|
+
userId: number;
|
|
627
628
|
updatedAt: Date;
|
|
628
629
|
businessName: string;
|
|
629
630
|
address: string;
|
|
@@ -636,15 +637,16 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
636
637
|
logo?: {
|
|
637
638
|
path: string;
|
|
638
639
|
id: string;
|
|
639
|
-
userId: number;
|
|
640
640
|
createdAt: Date;
|
|
641
|
+
userId: number;
|
|
641
642
|
signedUrl: string;
|
|
642
643
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
643
644
|
} | null | undefined;
|
|
645
|
+
vatRegime?: "UNKNOWN" | "MARGIN" | "FRANCHISE" | "NORMAL" | null | undefined;
|
|
644
646
|
}, {
|
|
645
647
|
id: string;
|
|
646
|
-
userId: number;
|
|
647
648
|
createdAt: Date;
|
|
649
|
+
userId: number;
|
|
648
650
|
updatedAt: Date;
|
|
649
651
|
businessName: string;
|
|
650
652
|
address: string;
|
|
@@ -657,11 +659,12 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
657
659
|
logo?: {
|
|
658
660
|
path: string;
|
|
659
661
|
id: string;
|
|
660
|
-
userId: number;
|
|
661
662
|
createdAt: Date;
|
|
663
|
+
userId: number;
|
|
662
664
|
signedUrl: string;
|
|
663
665
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
664
666
|
} | null | undefined;
|
|
667
|
+
vatRegime?: unknown;
|
|
665
668
|
}>>>;
|
|
666
669
|
customerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
667
670
|
customer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -687,34 +690,34 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
687
690
|
firstName: string;
|
|
688
691
|
lastName: string;
|
|
689
692
|
phoneVerified: boolean;
|
|
690
|
-
postalCode?: string | null | undefined;
|
|
691
|
-
city?: string | null | undefined;
|
|
692
|
-
country?: string | null | undefined;
|
|
693
|
-
email?: string | null | undefined;
|
|
694
|
-
addressLine1?: string | null | undefined;
|
|
695
|
-
addressLine2?: string | null | undefined;
|
|
696
693
|
birthDate?: Date | null | undefined;
|
|
694
|
+
email?: string | null | undefined;
|
|
697
695
|
idNumber?: string | null | undefined;
|
|
698
696
|
phone?: string | null | undefined;
|
|
699
697
|
iban?: string | null | undefined;
|
|
700
698
|
bic?: string | null | undefined;
|
|
699
|
+
addressLine1?: string | null | undefined;
|
|
700
|
+
addressLine2?: string | null | undefined;
|
|
701
|
+
city?: string | null | undefined;
|
|
702
|
+
postalCode?: string | null | undefined;
|
|
703
|
+
country?: string | null | undefined;
|
|
701
704
|
}, {
|
|
702
705
|
id: string;
|
|
703
706
|
userId: number;
|
|
704
707
|
firstName: string;
|
|
705
708
|
lastName: string;
|
|
706
709
|
phoneVerified: boolean;
|
|
707
|
-
postalCode?: string | null | undefined;
|
|
708
|
-
city?: string | null | undefined;
|
|
709
|
-
country?: string | null | undefined;
|
|
710
|
-
email?: string | null | undefined;
|
|
711
|
-
addressLine1?: string | null | undefined;
|
|
712
|
-
addressLine2?: string | null | undefined;
|
|
713
710
|
birthDate?: Date | null | undefined;
|
|
711
|
+
email?: string | null | undefined;
|
|
714
712
|
idNumber?: string | null | undefined;
|
|
715
713
|
phone?: string | null | undefined;
|
|
716
714
|
iban?: string | null | undefined;
|
|
717
715
|
bic?: string | null | undefined;
|
|
716
|
+
addressLine1?: string | null | undefined;
|
|
717
|
+
addressLine2?: string | null | undefined;
|
|
718
|
+
city?: string | null | undefined;
|
|
719
|
+
postalCode?: string | null | undefined;
|
|
720
|
+
country?: string | null | undefined;
|
|
718
721
|
}>>>;
|
|
719
722
|
orderId: z.ZodString;
|
|
720
723
|
fileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -728,15 +731,15 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
728
731
|
}, "strip", z.ZodTypeAny, {
|
|
729
732
|
path: string;
|
|
730
733
|
id: string;
|
|
731
|
-
userId: number;
|
|
732
734
|
createdAt: Date;
|
|
735
|
+
userId: number;
|
|
733
736
|
signedUrl: string;
|
|
734
737
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
735
738
|
}, {
|
|
736
739
|
path: string;
|
|
737
740
|
id: string;
|
|
738
|
-
userId: number;
|
|
739
741
|
createdAt: Date;
|
|
742
|
+
userId: number;
|
|
740
743
|
signedUrl: string;
|
|
741
744
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
742
745
|
}>>>;
|
|
@@ -761,21 +764,21 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
761
764
|
total: z.ZodNumber;
|
|
762
765
|
createdAt: z.ZodDate;
|
|
763
766
|
}, "strip", z.ZodTypeAny, {
|
|
764
|
-
quantity: number;
|
|
765
|
-
id: number;
|
|
766
767
|
description: string;
|
|
768
|
+
id: number;
|
|
767
769
|
createdAt: Date;
|
|
768
770
|
invoiceId: string;
|
|
771
|
+
quantity: number;
|
|
769
772
|
unitPrice: number;
|
|
770
773
|
total: number;
|
|
771
774
|
itemOnPlatformId?: string | null | undefined;
|
|
772
775
|
vatRate?: number | null | undefined;
|
|
773
776
|
}, {
|
|
774
|
-
quantity: number;
|
|
775
|
-
id: number;
|
|
776
777
|
description: string;
|
|
778
|
+
id: number;
|
|
777
779
|
createdAt: Date;
|
|
778
780
|
invoiceId: string;
|
|
781
|
+
quantity: number;
|
|
779
782
|
unitPrice: number;
|
|
780
783
|
total: number;
|
|
781
784
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -787,8 +790,8 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
787
790
|
type: "SALE" | "PURCHASE";
|
|
788
791
|
status: string;
|
|
789
792
|
id: string;
|
|
790
|
-
userId: number;
|
|
791
793
|
createdAt: Date;
|
|
794
|
+
userId: number;
|
|
792
795
|
currency: string;
|
|
793
796
|
orderId: string;
|
|
794
797
|
updatedAt: Date;
|
|
@@ -797,21 +800,21 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
797
800
|
businessProfileId: string;
|
|
798
801
|
issueDate: Date;
|
|
799
802
|
subtotal: number;
|
|
800
|
-
vatAmount?: number | null | undefined;
|
|
801
803
|
fileId?: string | null | undefined;
|
|
804
|
+
vatAmount?: number | null | undefined;
|
|
802
805
|
file?: {
|
|
803
806
|
path: string;
|
|
804
807
|
id: string;
|
|
805
|
-
userId: number;
|
|
806
808
|
createdAt: Date;
|
|
809
|
+
userId: number;
|
|
807
810
|
signedUrl: string;
|
|
808
811
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
809
812
|
} | null | undefined;
|
|
810
813
|
vatRate?: number | null | undefined;
|
|
811
814
|
businessProfile?: {
|
|
812
815
|
id: string;
|
|
813
|
-
userId: number;
|
|
814
816
|
createdAt: Date;
|
|
817
|
+
userId: number;
|
|
815
818
|
updatedAt: Date;
|
|
816
819
|
businessName: string;
|
|
817
820
|
address: string;
|
|
@@ -824,11 +827,12 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
824
827
|
logo?: {
|
|
825
828
|
path: string;
|
|
826
829
|
id: string;
|
|
827
|
-
userId: number;
|
|
828
830
|
createdAt: Date;
|
|
831
|
+
userId: number;
|
|
829
832
|
signedUrl: string;
|
|
830
833
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
831
834
|
} | null | undefined;
|
|
835
|
+
vatRegime?: "UNKNOWN" | "MARGIN" | "FRANCHISE" | "NORMAL" | null | undefined;
|
|
832
836
|
} | null | undefined;
|
|
833
837
|
customerId?: string | null | undefined;
|
|
834
838
|
customer?: {
|
|
@@ -837,26 +841,26 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
837
841
|
firstName: string;
|
|
838
842
|
lastName: string;
|
|
839
843
|
phoneVerified: boolean;
|
|
840
|
-
postalCode?: string | null | undefined;
|
|
841
|
-
city?: string | null | undefined;
|
|
842
|
-
country?: string | null | undefined;
|
|
843
|
-
email?: string | null | undefined;
|
|
844
|
-
addressLine1?: string | null | undefined;
|
|
845
|
-
addressLine2?: string | null | undefined;
|
|
846
844
|
birthDate?: Date | null | undefined;
|
|
845
|
+
email?: string | null | undefined;
|
|
847
846
|
idNumber?: string | null | undefined;
|
|
848
847
|
phone?: string | null | undefined;
|
|
849
848
|
iban?: string | null | undefined;
|
|
850
849
|
bic?: string | null | undefined;
|
|
850
|
+
addressLine1?: string | null | undefined;
|
|
851
|
+
addressLine2?: string | null | undefined;
|
|
852
|
+
city?: string | null | undefined;
|
|
853
|
+
postalCode?: string | null | undefined;
|
|
854
|
+
country?: string | null | undefined;
|
|
851
855
|
} | null | undefined;
|
|
852
856
|
dueDate?: Date | null | undefined;
|
|
853
857
|
notes?: string | null | undefined;
|
|
854
858
|
lineItems?: {
|
|
855
|
-
quantity: number;
|
|
856
|
-
id: number;
|
|
857
859
|
description: string;
|
|
860
|
+
id: number;
|
|
858
861
|
createdAt: Date;
|
|
859
862
|
invoiceId: string;
|
|
863
|
+
quantity: number;
|
|
860
864
|
unitPrice: number;
|
|
861
865
|
total: number;
|
|
862
866
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -866,8 +870,8 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
866
870
|
type: "SALE" | "PURCHASE";
|
|
867
871
|
status: string;
|
|
868
872
|
id: string;
|
|
869
|
-
userId: number;
|
|
870
873
|
createdAt: Date;
|
|
874
|
+
userId: number;
|
|
871
875
|
currency: string;
|
|
872
876
|
orderId: string;
|
|
873
877
|
updatedAt: Date;
|
|
@@ -876,21 +880,21 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
876
880
|
businessProfileId: string;
|
|
877
881
|
issueDate: Date;
|
|
878
882
|
subtotal: number;
|
|
879
|
-
vatAmount?: number | null | undefined;
|
|
880
883
|
fileId?: string | null | undefined;
|
|
884
|
+
vatAmount?: number | null | undefined;
|
|
881
885
|
file?: {
|
|
882
886
|
path: string;
|
|
883
887
|
id: string;
|
|
884
|
-
userId: number;
|
|
885
888
|
createdAt: Date;
|
|
889
|
+
userId: number;
|
|
886
890
|
signedUrl: string;
|
|
887
891
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
888
892
|
} | null | undefined;
|
|
889
893
|
vatRate?: number | null | undefined;
|
|
890
894
|
businessProfile?: {
|
|
891
895
|
id: string;
|
|
892
|
-
userId: number;
|
|
893
896
|
createdAt: Date;
|
|
897
|
+
userId: number;
|
|
894
898
|
updatedAt: Date;
|
|
895
899
|
businessName: string;
|
|
896
900
|
address: string;
|
|
@@ -903,11 +907,12 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
903
907
|
logo?: {
|
|
904
908
|
path: string;
|
|
905
909
|
id: string;
|
|
906
|
-
userId: number;
|
|
907
910
|
createdAt: Date;
|
|
911
|
+
userId: number;
|
|
908
912
|
signedUrl: string;
|
|
909
913
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
910
914
|
} | null | undefined;
|
|
915
|
+
vatRegime?: unknown;
|
|
911
916
|
} | null | undefined;
|
|
912
917
|
customerId?: string | null | undefined;
|
|
913
918
|
customer?: {
|
|
@@ -916,26 +921,26 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
916
921
|
firstName: string;
|
|
917
922
|
lastName: string;
|
|
918
923
|
phoneVerified: boolean;
|
|
919
|
-
postalCode?: string | null | undefined;
|
|
920
|
-
city?: string | null | undefined;
|
|
921
|
-
country?: string | null | undefined;
|
|
922
|
-
email?: string | null | undefined;
|
|
923
|
-
addressLine1?: string | null | undefined;
|
|
924
|
-
addressLine2?: string | null | undefined;
|
|
925
924
|
birthDate?: Date | null | undefined;
|
|
925
|
+
email?: string | null | undefined;
|
|
926
926
|
idNumber?: string | null | undefined;
|
|
927
927
|
phone?: string | null | undefined;
|
|
928
928
|
iban?: string | null | undefined;
|
|
929
929
|
bic?: string | null | undefined;
|
|
930
|
+
addressLine1?: string | null | undefined;
|
|
931
|
+
addressLine2?: string | null | undefined;
|
|
932
|
+
city?: string | null | undefined;
|
|
933
|
+
postalCode?: string | null | undefined;
|
|
934
|
+
country?: string | null | undefined;
|
|
930
935
|
} | null | undefined;
|
|
931
936
|
dueDate?: Date | null | undefined;
|
|
932
937
|
notes?: string | null | undefined;
|
|
933
938
|
lineItems?: {
|
|
934
|
-
quantity: number;
|
|
935
|
-
id: number;
|
|
936
939
|
description: string;
|
|
940
|
+
id: number;
|
|
937
941
|
createdAt: Date;
|
|
938
942
|
invoiceId: string;
|
|
943
|
+
quantity: number;
|
|
939
944
|
unitPrice: number;
|
|
940
945
|
total: number;
|
|
941
946
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -956,97 +961,41 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
956
961
|
id: string;
|
|
957
962
|
accountId: string;
|
|
958
963
|
price: number;
|
|
959
|
-
platformOrderId: string;
|
|
960
964
|
isPrepared: boolean;
|
|
961
|
-
|
|
965
|
+
platformOrderId: string;
|
|
966
|
+
conversationId?: string | null | undefined;
|
|
967
|
+
transactionId?: string | null | undefined;
|
|
968
|
+
labels?: {
|
|
969
|
+
id: string;
|
|
970
|
+
fileId: string;
|
|
962
971
|
orderId: string;
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
972
|
+
nonCroppedFileId: string;
|
|
973
|
+
originalFileId: string;
|
|
974
|
+
originalFile?: {
|
|
975
|
+
path: string;
|
|
966
976
|
id: string;
|
|
967
|
-
accountId: string;
|
|
968
977
|
createdAt: Date;
|
|
969
|
-
itemId: number;
|
|
970
|
-
platformId: string;
|
|
971
|
-
platformUrl: string;
|
|
972
|
-
platformPrice: number;
|
|
973
|
-
updatedAt: Date;
|
|
974
|
-
publishedAt: Date;
|
|
975
|
-
conversationId?: string | null | undefined;
|
|
976
|
-
boostedAt?: Date | null | undefined;
|
|
977
|
-
boostedUntil?: Date | null | undefined;
|
|
978
|
-
viewsCount?: number | null | undefined;
|
|
979
|
-
favoritesCount?: number | null | undefined;
|
|
980
|
-
account?: {
|
|
981
|
-
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
982
|
-
accountId: string;
|
|
983
|
-
userId: number;
|
|
984
|
-
name: string;
|
|
985
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
986
|
-
locale?: string | null | undefined;
|
|
987
|
-
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
988
|
-
restrictedUntil?: Date | null | undefined;
|
|
989
|
-
night?: {
|
|
990
|
-
startsAt: Date;
|
|
991
|
-
endsAt: Date;
|
|
992
|
-
} | null | undefined;
|
|
993
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
994
|
-
ordersMaxDelay?: number | null | undefined;
|
|
995
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
996
|
-
walletMaxDelay?: number | null | undefined;
|
|
997
|
-
availableBalance?: number | null | undefined;
|
|
998
|
-
pendingBalance?: number | null | undefined;
|
|
999
|
-
profilePictureFileId?: string | null | undefined;
|
|
1000
|
-
profilePicture?: {
|
|
1001
|
-
path: string;
|
|
1002
|
-
id: string;
|
|
1003
|
-
userId: number;
|
|
1004
|
-
createdAt: Date;
|
|
1005
|
-
signedUrl: string;
|
|
1006
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1007
|
-
} | null | undefined;
|
|
1008
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
1009
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
1010
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
1011
|
-
} | null | undefined;
|
|
1012
|
-
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;
|
|
1013
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
1014
|
-
isBoosted?: boolean | null | undefined;
|
|
1015
|
-
} | null | undefined;
|
|
1016
|
-
}[] | null | undefined;
|
|
1017
|
-
conversationId?: string | null | undefined;
|
|
1018
|
-
transactionId?: string | null | undefined;
|
|
1019
|
-
labels?: {
|
|
1020
|
-
id: string;
|
|
1021
|
-
orderId: string;
|
|
1022
|
-
fileId: string;
|
|
1023
|
-
nonCroppedFileId: string;
|
|
1024
|
-
originalFileId: string;
|
|
1025
|
-
file?: {
|
|
1026
|
-
path: string;
|
|
1027
|
-
id: string;
|
|
1028
978
|
userId: number;
|
|
1029
|
-
createdAt: Date;
|
|
1030
979
|
signedUrl: string;
|
|
1031
980
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1032
981
|
} | null | undefined;
|
|
1033
|
-
|
|
982
|
+
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;
|
|
983
|
+
file?: {
|
|
1034
984
|
path: string;
|
|
1035
985
|
id: string;
|
|
1036
|
-
userId: number;
|
|
1037
986
|
createdAt: Date;
|
|
987
|
+
userId: number;
|
|
1038
988
|
signedUrl: string;
|
|
1039
989
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1040
990
|
} | null | undefined;
|
|
1041
|
-
|
|
991
|
+
nonCroppedFile?: {
|
|
1042
992
|
path: string;
|
|
1043
993
|
id: string;
|
|
1044
|
-
userId: number;
|
|
1045
994
|
createdAt: Date;
|
|
995
|
+
userId: number;
|
|
1046
996
|
signedUrl: string;
|
|
1047
997
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1048
998
|
} | null | undefined;
|
|
1049
|
-
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;
|
|
1050
999
|
}[] | null | undefined;
|
|
1051
1000
|
platformFee?: number | null | undefined;
|
|
1052
1001
|
shippingFee?: number | null | undefined;
|
|
@@ -1062,25 +1011,81 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
1062
1011
|
trackingLink?: string | null | undefined;
|
|
1063
1012
|
availableUntil?: Date | null | undefined;
|
|
1064
1013
|
pickupPoint?: {
|
|
1014
|
+
name: string;
|
|
1065
1015
|
id: string;
|
|
1066
1016
|
accountId: string;
|
|
1067
|
-
|
|
1068
|
-
postalCode: string;
|
|
1017
|
+
addressLine1: string;
|
|
1069
1018
|
city: string;
|
|
1019
|
+
postalCode: string;
|
|
1070
1020
|
countryCode: string;
|
|
1071
|
-
addressLine1: string;
|
|
1072
1021
|
platformPickupPointId: string;
|
|
1073
1022
|
addressLine2?: string | null | undefined;
|
|
1074
1023
|
latitude?: number | null | undefined;
|
|
1075
1024
|
longitude?: number | null | undefined;
|
|
1076
1025
|
} | null | undefined;
|
|
1077
1026
|
}[] | null | undefined;
|
|
1027
|
+
items?: {
|
|
1028
|
+
orderId: string;
|
|
1029
|
+
itemOnPlatformId: string;
|
|
1030
|
+
itemOnPlatform?: {
|
|
1031
|
+
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
1032
|
+
id: string;
|
|
1033
|
+
createdAt: Date;
|
|
1034
|
+
accountId: string;
|
|
1035
|
+
itemId: number;
|
|
1036
|
+
platformId: string;
|
|
1037
|
+
platformUrl: string;
|
|
1038
|
+
platformPrice: number;
|
|
1039
|
+
updatedAt: Date;
|
|
1040
|
+
publishedAt: Date;
|
|
1041
|
+
conversationId?: string | null | undefined;
|
|
1042
|
+
boostedAt?: Date | null | undefined;
|
|
1043
|
+
boostedUntil?: Date | null | undefined;
|
|
1044
|
+
viewsCount?: number | null | undefined;
|
|
1045
|
+
favoritesCount?: number | null | undefined;
|
|
1046
|
+
account?: {
|
|
1047
|
+
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
1048
|
+
name: string;
|
|
1049
|
+
userId: number;
|
|
1050
|
+
accountId: string;
|
|
1051
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1052
|
+
locale?: string | null | undefined;
|
|
1053
|
+
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
1054
|
+
restrictedUntil?: Date | null | undefined;
|
|
1055
|
+
night?: {
|
|
1056
|
+
startsAt: Date;
|
|
1057
|
+
endsAt: Date;
|
|
1058
|
+
} | null | undefined;
|
|
1059
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
1060
|
+
ordersMaxDelay?: number | null | undefined;
|
|
1061
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
1062
|
+
walletMaxDelay?: number | null | undefined;
|
|
1063
|
+
availableBalance?: number | null | undefined;
|
|
1064
|
+
pendingBalance?: number | null | undefined;
|
|
1065
|
+
profilePictureFileId?: string | null | undefined;
|
|
1066
|
+
profilePicture?: {
|
|
1067
|
+
path: string;
|
|
1068
|
+
id: string;
|
|
1069
|
+
createdAt: Date;
|
|
1070
|
+
userId: number;
|
|
1071
|
+
signedUrl: string;
|
|
1072
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1073
|
+
} | null | undefined;
|
|
1074
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
1075
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
1076
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
1077
|
+
} | null | undefined;
|
|
1078
|
+
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;
|
|
1079
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
1080
|
+
isBoosted?: boolean | null | undefined;
|
|
1081
|
+
} | null | undefined;
|
|
1082
|
+
}[] | null | undefined;
|
|
1078
1083
|
invoices?: {
|
|
1079
1084
|
type: "SALE" | "PURCHASE";
|
|
1080
1085
|
status: string;
|
|
1081
1086
|
id: string;
|
|
1082
|
-
userId: number;
|
|
1083
1087
|
createdAt: Date;
|
|
1088
|
+
userId: number;
|
|
1084
1089
|
currency: string;
|
|
1085
1090
|
orderId: string;
|
|
1086
1091
|
updatedAt: Date;
|
|
@@ -1089,21 +1094,21 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
1089
1094
|
businessProfileId: string;
|
|
1090
1095
|
issueDate: Date;
|
|
1091
1096
|
subtotal: number;
|
|
1092
|
-
vatAmount?: number | null | undefined;
|
|
1093
1097
|
fileId?: string | null | undefined;
|
|
1098
|
+
vatAmount?: number | null | undefined;
|
|
1094
1099
|
file?: {
|
|
1095
1100
|
path: string;
|
|
1096
1101
|
id: string;
|
|
1097
|
-
userId: number;
|
|
1098
1102
|
createdAt: Date;
|
|
1103
|
+
userId: number;
|
|
1099
1104
|
signedUrl: string;
|
|
1100
1105
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1101
1106
|
} | null | undefined;
|
|
1102
1107
|
vatRate?: number | null | undefined;
|
|
1103
1108
|
businessProfile?: {
|
|
1104
1109
|
id: string;
|
|
1105
|
-
userId: number;
|
|
1106
1110
|
createdAt: Date;
|
|
1111
|
+
userId: number;
|
|
1107
1112
|
updatedAt: Date;
|
|
1108
1113
|
businessName: string;
|
|
1109
1114
|
address: string;
|
|
@@ -1116,11 +1121,12 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
1116
1121
|
logo?: {
|
|
1117
1122
|
path: string;
|
|
1118
1123
|
id: string;
|
|
1119
|
-
userId: number;
|
|
1120
1124
|
createdAt: Date;
|
|
1125
|
+
userId: number;
|
|
1121
1126
|
signedUrl: string;
|
|
1122
1127
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1123
1128
|
} | null | undefined;
|
|
1129
|
+
vatRegime?: "UNKNOWN" | "MARGIN" | "FRANCHISE" | "NORMAL" | null | undefined;
|
|
1124
1130
|
} | null | undefined;
|
|
1125
1131
|
customerId?: string | null | undefined;
|
|
1126
1132
|
customer?: {
|
|
@@ -1129,26 +1135,26 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
1129
1135
|
firstName: string;
|
|
1130
1136
|
lastName: string;
|
|
1131
1137
|
phoneVerified: boolean;
|
|
1132
|
-
postalCode?: string | null | undefined;
|
|
1133
|
-
city?: string | null | undefined;
|
|
1134
|
-
country?: string | null | undefined;
|
|
1135
|
-
email?: string | null | undefined;
|
|
1136
|
-
addressLine1?: string | null | undefined;
|
|
1137
|
-
addressLine2?: string | null | undefined;
|
|
1138
1138
|
birthDate?: Date | null | undefined;
|
|
1139
|
+
email?: string | null | undefined;
|
|
1139
1140
|
idNumber?: string | null | undefined;
|
|
1140
1141
|
phone?: string | null | undefined;
|
|
1141
1142
|
iban?: string | null | undefined;
|
|
1142
1143
|
bic?: string | null | undefined;
|
|
1144
|
+
addressLine1?: string | null | undefined;
|
|
1145
|
+
addressLine2?: string | null | undefined;
|
|
1146
|
+
city?: string | null | undefined;
|
|
1147
|
+
postalCode?: string | null | undefined;
|
|
1148
|
+
country?: string | null | undefined;
|
|
1143
1149
|
} | null | undefined;
|
|
1144
1150
|
dueDate?: Date | null | undefined;
|
|
1145
1151
|
notes?: string | null | undefined;
|
|
1146
1152
|
lineItems?: {
|
|
1147
|
-
quantity: number;
|
|
1148
|
-
id: number;
|
|
1149
1153
|
description: string;
|
|
1154
|
+
id: number;
|
|
1150
1155
|
createdAt: Date;
|
|
1151
1156
|
invoiceId: string;
|
|
1157
|
+
quantity: number;
|
|
1152
1158
|
unitPrice: number;
|
|
1153
1159
|
total: number;
|
|
1154
1160
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -1161,16 +1167,77 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
1161
1167
|
id: string;
|
|
1162
1168
|
accountId: string;
|
|
1163
1169
|
price: number;
|
|
1164
|
-
platformOrderId: string;
|
|
1165
1170
|
isPrepared: boolean;
|
|
1171
|
+
platformOrderId: string;
|
|
1166
1172
|
status?: unknown;
|
|
1173
|
+
conversationId?: string | null | undefined;
|
|
1174
|
+
transactionId?: string | null | undefined;
|
|
1175
|
+
labels?: {
|
|
1176
|
+
id: string;
|
|
1177
|
+
fileId: string;
|
|
1178
|
+
orderId: string;
|
|
1179
|
+
nonCroppedFileId: string;
|
|
1180
|
+
originalFileId: string;
|
|
1181
|
+
originalFile?: {
|
|
1182
|
+
path: string;
|
|
1183
|
+
id: string;
|
|
1184
|
+
createdAt: Date;
|
|
1185
|
+
userId: number;
|
|
1186
|
+
signedUrl: string;
|
|
1187
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1188
|
+
} | null | undefined;
|
|
1189
|
+
carrier?: unknown;
|
|
1190
|
+
file?: {
|
|
1191
|
+
path: string;
|
|
1192
|
+
id: string;
|
|
1193
|
+
createdAt: Date;
|
|
1194
|
+
userId: number;
|
|
1195
|
+
signedUrl: string;
|
|
1196
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1197
|
+
} | null | undefined;
|
|
1198
|
+
nonCroppedFile?: {
|
|
1199
|
+
path: string;
|
|
1200
|
+
id: string;
|
|
1201
|
+
createdAt: Date;
|
|
1202
|
+
userId: number;
|
|
1203
|
+
signedUrl: string;
|
|
1204
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1205
|
+
} | null | undefined;
|
|
1206
|
+
}[] | null | undefined;
|
|
1207
|
+
platformFee?: number | null | undefined;
|
|
1208
|
+
shippingFee?: number | null | undefined;
|
|
1209
|
+
shippingVat?: number | null | undefined;
|
|
1210
|
+
vatAmount?: number | null | undefined;
|
|
1211
|
+
totalAmount?: number | null | undefined;
|
|
1212
|
+
refundAmount?: number | null | undefined;
|
|
1213
|
+
pickupPoints?: {
|
|
1214
|
+
orderId: string;
|
|
1215
|
+
pickupPointId: string;
|
|
1216
|
+
isQrcode: boolean;
|
|
1217
|
+
code?: string | null | undefined;
|
|
1218
|
+
trackingLink?: string | null | undefined;
|
|
1219
|
+
availableUntil?: Date | null | undefined;
|
|
1220
|
+
pickupPoint?: {
|
|
1221
|
+
name: string;
|
|
1222
|
+
id: string;
|
|
1223
|
+
accountId: string;
|
|
1224
|
+
addressLine1: string;
|
|
1225
|
+
city: string;
|
|
1226
|
+
postalCode: string;
|
|
1227
|
+
countryCode: string;
|
|
1228
|
+
platformPickupPointId: string;
|
|
1229
|
+
addressLine2?: string | null | undefined;
|
|
1230
|
+
latitude?: number | null | undefined;
|
|
1231
|
+
longitude?: number | null | undefined;
|
|
1232
|
+
} | null | undefined;
|
|
1233
|
+
}[] | null | undefined;
|
|
1167
1234
|
items?: {
|
|
1168
1235
|
orderId: string;
|
|
1169
1236
|
itemOnPlatformId: string;
|
|
1170
1237
|
itemOnPlatform?: {
|
|
1171
1238
|
id: string;
|
|
1172
|
-
accountId: string;
|
|
1173
1239
|
createdAt: Date;
|
|
1240
|
+
accountId: string;
|
|
1174
1241
|
itemId: number;
|
|
1175
1242
|
platformId: string;
|
|
1176
1243
|
platformUrl: string;
|
|
@@ -1184,9 +1251,9 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
1184
1251
|
viewsCount?: number | null | undefined;
|
|
1185
1252
|
favoritesCount?: number | null | undefined;
|
|
1186
1253
|
account?: {
|
|
1187
|
-
accountId: string;
|
|
1188
|
-
userId: number;
|
|
1189
1254
|
name: string;
|
|
1255
|
+
userId: number;
|
|
1256
|
+
accountId: string;
|
|
1190
1257
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1191
1258
|
status?: unknown;
|
|
1192
1259
|
locale?: string | null | undefined;
|
|
@@ -1206,8 +1273,8 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
1206
1273
|
profilePicture?: {
|
|
1207
1274
|
path: string;
|
|
1208
1275
|
id: string;
|
|
1209
|
-
userId: number;
|
|
1210
1276
|
createdAt: Date;
|
|
1277
|
+
userId: number;
|
|
1211
1278
|
signedUrl: string;
|
|
1212
1279
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1213
1280
|
} | null | undefined;
|
|
@@ -1220,73 +1287,12 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
1220
1287
|
isBoosted?: boolean | null | undefined;
|
|
1221
1288
|
} | null | undefined;
|
|
1222
1289
|
}[] | null | undefined;
|
|
1223
|
-
conversationId?: string | null | undefined;
|
|
1224
|
-
transactionId?: string | null | undefined;
|
|
1225
|
-
labels?: {
|
|
1226
|
-
id: string;
|
|
1227
|
-
orderId: string;
|
|
1228
|
-
fileId: string;
|
|
1229
|
-
nonCroppedFileId: string;
|
|
1230
|
-
originalFileId: string;
|
|
1231
|
-
file?: {
|
|
1232
|
-
path: string;
|
|
1233
|
-
id: string;
|
|
1234
|
-
userId: number;
|
|
1235
|
-
createdAt: Date;
|
|
1236
|
-
signedUrl: string;
|
|
1237
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1238
|
-
} | null | undefined;
|
|
1239
|
-
nonCroppedFile?: {
|
|
1240
|
-
path: string;
|
|
1241
|
-
id: string;
|
|
1242
|
-
userId: number;
|
|
1243
|
-
createdAt: Date;
|
|
1244
|
-
signedUrl: string;
|
|
1245
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1246
|
-
} | null | undefined;
|
|
1247
|
-
originalFile?: {
|
|
1248
|
-
path: string;
|
|
1249
|
-
id: string;
|
|
1250
|
-
userId: number;
|
|
1251
|
-
createdAt: Date;
|
|
1252
|
-
signedUrl: string;
|
|
1253
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1254
|
-
} | null | undefined;
|
|
1255
|
-
carrier?: unknown;
|
|
1256
|
-
}[] | null | undefined;
|
|
1257
|
-
platformFee?: number | null | undefined;
|
|
1258
|
-
shippingFee?: number | null | undefined;
|
|
1259
|
-
shippingVat?: number | null | undefined;
|
|
1260
|
-
vatAmount?: number | null | undefined;
|
|
1261
|
-
totalAmount?: number | null | undefined;
|
|
1262
|
-
refundAmount?: number | null | undefined;
|
|
1263
|
-
pickupPoints?: {
|
|
1264
|
-
orderId: string;
|
|
1265
|
-
pickupPointId: string;
|
|
1266
|
-
isQrcode: boolean;
|
|
1267
|
-
code?: string | null | undefined;
|
|
1268
|
-
trackingLink?: string | null | undefined;
|
|
1269
|
-
availableUntil?: Date | null | undefined;
|
|
1270
|
-
pickupPoint?: {
|
|
1271
|
-
id: string;
|
|
1272
|
-
accountId: string;
|
|
1273
|
-
name: string;
|
|
1274
|
-
postalCode: string;
|
|
1275
|
-
city: string;
|
|
1276
|
-
countryCode: string;
|
|
1277
|
-
addressLine1: string;
|
|
1278
|
-
platformPickupPointId: string;
|
|
1279
|
-
addressLine2?: string | null | undefined;
|
|
1280
|
-
latitude?: number | null | undefined;
|
|
1281
|
-
longitude?: number | null | undefined;
|
|
1282
|
-
} | null | undefined;
|
|
1283
|
-
}[] | null | undefined;
|
|
1284
1290
|
invoices?: {
|
|
1285
1291
|
type: "SALE" | "PURCHASE";
|
|
1286
1292
|
status: string;
|
|
1287
1293
|
id: string;
|
|
1288
|
-
userId: number;
|
|
1289
1294
|
createdAt: Date;
|
|
1295
|
+
userId: number;
|
|
1290
1296
|
currency: string;
|
|
1291
1297
|
orderId: string;
|
|
1292
1298
|
updatedAt: Date;
|
|
@@ -1295,21 +1301,21 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
1295
1301
|
businessProfileId: string;
|
|
1296
1302
|
issueDate: Date;
|
|
1297
1303
|
subtotal: number;
|
|
1298
|
-
vatAmount?: number | null | undefined;
|
|
1299
1304
|
fileId?: string | null | undefined;
|
|
1305
|
+
vatAmount?: number | null | undefined;
|
|
1300
1306
|
file?: {
|
|
1301
1307
|
path: string;
|
|
1302
1308
|
id: string;
|
|
1303
|
-
userId: number;
|
|
1304
1309
|
createdAt: Date;
|
|
1310
|
+
userId: number;
|
|
1305
1311
|
signedUrl: string;
|
|
1306
1312
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1307
1313
|
} | null | undefined;
|
|
1308
1314
|
vatRate?: number | null | undefined;
|
|
1309
1315
|
businessProfile?: {
|
|
1310
1316
|
id: string;
|
|
1311
|
-
userId: number;
|
|
1312
1317
|
createdAt: Date;
|
|
1318
|
+
userId: number;
|
|
1313
1319
|
updatedAt: Date;
|
|
1314
1320
|
businessName: string;
|
|
1315
1321
|
address: string;
|
|
@@ -1322,11 +1328,12 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
1322
1328
|
logo?: {
|
|
1323
1329
|
path: string;
|
|
1324
1330
|
id: string;
|
|
1325
|
-
userId: number;
|
|
1326
1331
|
createdAt: Date;
|
|
1332
|
+
userId: number;
|
|
1327
1333
|
signedUrl: string;
|
|
1328
1334
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1329
1335
|
} | null | undefined;
|
|
1336
|
+
vatRegime?: unknown;
|
|
1330
1337
|
} | null | undefined;
|
|
1331
1338
|
customerId?: string | null | undefined;
|
|
1332
1339
|
customer?: {
|
|
@@ -1335,26 +1342,26 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
1335
1342
|
firstName: string;
|
|
1336
1343
|
lastName: string;
|
|
1337
1344
|
phoneVerified: boolean;
|
|
1338
|
-
postalCode?: string | null | undefined;
|
|
1339
|
-
city?: string | null | undefined;
|
|
1340
|
-
country?: string | null | undefined;
|
|
1341
|
-
email?: string | null | undefined;
|
|
1342
|
-
addressLine1?: string | null | undefined;
|
|
1343
|
-
addressLine2?: string | null | undefined;
|
|
1344
1345
|
birthDate?: Date | null | undefined;
|
|
1346
|
+
email?: string | null | undefined;
|
|
1345
1347
|
idNumber?: string | null | undefined;
|
|
1346
1348
|
phone?: string | null | undefined;
|
|
1347
1349
|
iban?: string | null | undefined;
|
|
1348
1350
|
bic?: string | null | undefined;
|
|
1351
|
+
addressLine1?: string | null | undefined;
|
|
1352
|
+
addressLine2?: string | null | undefined;
|
|
1353
|
+
city?: string | null | undefined;
|
|
1354
|
+
postalCode?: string | null | undefined;
|
|
1355
|
+
country?: string | null | undefined;
|
|
1349
1356
|
} | null | undefined;
|
|
1350
1357
|
dueDate?: Date | null | undefined;
|
|
1351
1358
|
notes?: string | null | undefined;
|
|
1352
1359
|
lineItems?: {
|
|
1353
|
-
quantity: number;
|
|
1354
|
-
id: number;
|
|
1355
1360
|
description: string;
|
|
1361
|
+
id: number;
|
|
1356
1362
|
createdAt: Date;
|
|
1357
1363
|
invoiceId: string;
|
|
1364
|
+
quantity: number;
|
|
1358
1365
|
unitPrice: number;
|
|
1359
1366
|
total: number;
|
|
1360
1367
|
itemOnPlatformId?: string | null | undefined;
|