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
|
@@ -57,15 +57,15 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
57
57
|
}, "strip", z.ZodTypeAny, {
|
|
58
58
|
path: string;
|
|
59
59
|
id: string;
|
|
60
|
-
createdAt: Date;
|
|
61
60
|
userId: number;
|
|
61
|
+
createdAt: Date;
|
|
62
62
|
signedUrl: string;
|
|
63
63
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
64
64
|
}, {
|
|
65
65
|
path: string;
|
|
66
66
|
id: string;
|
|
67
|
-
createdAt: Date;
|
|
68
67
|
userId: number;
|
|
68
|
+
createdAt: Date;
|
|
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
|
-
name: string;
|
|
80
|
-
userId: number;
|
|
81
79
|
accountId: string;
|
|
80
|
+
userId: number;
|
|
81
|
+
name: 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
|
-
createdAt: Date;
|
|
101
100
|
userId: number;
|
|
101
|
+
createdAt: Date;
|
|
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
|
-
name: string;
|
|
110
|
-
userId: number;
|
|
111
109
|
accountId: string;
|
|
110
|
+
userId: number;
|
|
111
|
+
name: 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
|
-
createdAt: Date;
|
|
132
131
|
userId: number;
|
|
132
|
+
createdAt: Date;
|
|
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
|
-
createdAt: Date;
|
|
152
151
|
accountId: string;
|
|
152
|
+
createdAt: Date;
|
|
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
|
-
name: string;
|
|
167
|
-
userId: number;
|
|
168
166
|
accountId: string;
|
|
167
|
+
userId: number;
|
|
168
|
+
name: 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
|
-
createdAt: Date;
|
|
188
187
|
userId: number;
|
|
188
|
+
createdAt: Date;
|
|
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
|
-
createdAt: Date;
|
|
202
201
|
accountId: string;
|
|
202
|
+
createdAt: Date;
|
|
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
|
-
name: string;
|
|
217
|
-
userId: number;
|
|
218
216
|
accountId: string;
|
|
217
|
+
userId: number;
|
|
218
|
+
name: 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
|
-
createdAt: Date;
|
|
239
238
|
userId: number;
|
|
239
|
+
createdAt: Date;
|
|
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
|
-
createdAt: Date;
|
|
258
257
|
accountId: string;
|
|
258
|
+
createdAt: Date;
|
|
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
|
-
name: string;
|
|
273
|
-
userId: number;
|
|
274
272
|
accountId: string;
|
|
273
|
+
userId: number;
|
|
274
|
+
name: 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
|
-
createdAt: Date;
|
|
294
293
|
userId: number;
|
|
294
|
+
createdAt: Date;
|
|
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
|
-
createdAt: Date;
|
|
312
311
|
accountId: string;
|
|
312
|
+
createdAt: Date;
|
|
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
|
-
name: string;
|
|
327
|
-
userId: number;
|
|
328
326
|
accountId: string;
|
|
327
|
+
userId: number;
|
|
328
|
+
name: 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
|
-
createdAt: Date;
|
|
349
348
|
userId: number;
|
|
349
|
+
createdAt: Date;
|
|
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
|
-
createdAt: Date;
|
|
379
378
|
userId: number;
|
|
379
|
+
createdAt: Date;
|
|
380
380
|
signedUrl: string;
|
|
381
381
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
382
382
|
}, {
|
|
383
383
|
path: string;
|
|
384
384
|
id: string;
|
|
385
|
-
createdAt: Date;
|
|
386
385
|
userId: number;
|
|
386
|
+
createdAt: Date;
|
|
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
|
-
createdAt: Date;
|
|
401
400
|
userId: number;
|
|
401
|
+
createdAt: Date;
|
|
402
402
|
signedUrl: string;
|
|
403
403
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
404
404
|
}, {
|
|
405
405
|
path: string;
|
|
406
406
|
id: string;
|
|
407
|
-
createdAt: Date;
|
|
408
407
|
userId: number;
|
|
408
|
+
createdAt: Date;
|
|
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
|
-
createdAt: Date;
|
|
423
422
|
userId: number;
|
|
423
|
+
createdAt: Date;
|
|
424
424
|
signedUrl: string;
|
|
425
425
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
426
426
|
}, {
|
|
427
427
|
path: string;
|
|
428
428
|
id: string;
|
|
429
|
-
createdAt: Date;
|
|
430
429
|
userId: number;
|
|
430
|
+
createdAt: Date;
|
|
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
|
-
fileId: string;
|
|
438
437
|
orderId: string;
|
|
438
|
+
fileId: string;
|
|
439
439
|
nonCroppedFileId: string;
|
|
440
440
|
originalFileId: string;
|
|
441
|
-
|
|
441
|
+
file?: {
|
|
442
442
|
path: string;
|
|
443
443
|
id: string;
|
|
444
|
-
createdAt: Date;
|
|
445
444
|
userId: number;
|
|
445
|
+
createdAt: Date;
|
|
446
446
|
signedUrl: string;
|
|
447
447
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
448
448
|
} | null | undefined;
|
|
449
|
-
|
|
450
|
-
file?: {
|
|
449
|
+
nonCroppedFile?: {
|
|
451
450
|
path: string;
|
|
452
451
|
id: string;
|
|
453
|
-
createdAt: Date;
|
|
454
452
|
userId: number;
|
|
453
|
+
createdAt: Date;
|
|
455
454
|
signedUrl: string;
|
|
456
455
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
457
456
|
} | null | undefined;
|
|
458
|
-
|
|
457
|
+
originalFile?: {
|
|
459
458
|
path: string;
|
|
460
459
|
id: string;
|
|
461
|
-
createdAt: Date;
|
|
462
460
|
userId: number;
|
|
461
|
+
createdAt: Date;
|
|
463
462
|
signedUrl: string;
|
|
464
463
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
465
464
|
} | 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
|
-
fileId: string;
|
|
469
468
|
orderId: string;
|
|
469
|
+
fileId: string;
|
|
470
470
|
nonCroppedFileId: string;
|
|
471
471
|
originalFileId: string;
|
|
472
|
-
|
|
472
|
+
file?: {
|
|
473
473
|
path: string;
|
|
474
474
|
id: string;
|
|
475
|
-
createdAt: Date;
|
|
476
475
|
userId: number;
|
|
476
|
+
createdAt: Date;
|
|
477
477
|
signedUrl: string;
|
|
478
478
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
479
479
|
} | null | undefined;
|
|
480
|
-
|
|
481
|
-
file?: {
|
|
480
|
+
nonCroppedFile?: {
|
|
482
481
|
path: string;
|
|
483
482
|
id: string;
|
|
484
|
-
createdAt: Date;
|
|
485
483
|
userId: number;
|
|
484
|
+
createdAt: Date;
|
|
486
485
|
signedUrl: string;
|
|
487
486
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
488
487
|
} | null | undefined;
|
|
489
|
-
|
|
488
|
+
originalFile?: {
|
|
490
489
|
path: string;
|
|
491
490
|
id: string;
|
|
492
|
-
createdAt: Date;
|
|
493
491
|
userId: number;
|
|
492
|
+
createdAt: Date;
|
|
494
493
|
signedUrl: string;
|
|
495
494
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
496
495
|
} | 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;
|
|
519
518
|
id: string;
|
|
520
519
|
accountId: string;
|
|
521
|
-
|
|
522
|
-
city: string;
|
|
520
|
+
name: string;
|
|
523
521
|
postalCode: string;
|
|
522
|
+
city: string;
|
|
524
523
|
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;
|
|
531
530
|
id: string;
|
|
532
531
|
accountId: string;
|
|
533
|
-
|
|
534
|
-
city: string;
|
|
532
|
+
name: string;
|
|
535
533
|
postalCode: string;
|
|
534
|
+
city: string;
|
|
536
535
|
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;
|
|
551
550
|
id: string;
|
|
552
551
|
accountId: string;
|
|
553
|
-
|
|
554
|
-
city: string;
|
|
552
|
+
name: string;
|
|
555
553
|
postalCode: string;
|
|
554
|
+
city: string;
|
|
556
555
|
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;
|
|
571
570
|
id: string;
|
|
572
571
|
accountId: string;
|
|
573
|
-
|
|
574
|
-
city: string;
|
|
572
|
+
name: string;
|
|
575
573
|
postalCode: string;
|
|
574
|
+
city: string;
|
|
576
575
|
countryCode: string;
|
|
576
|
+
addressLine1: string;
|
|
577
577
|
platformPickupPointId: string;
|
|
578
578
|
addressLine2?: string | null | undefined;
|
|
579
579
|
latitude?: number | null | undefined;
|
|
@@ -605,15 +605,15 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
605
605
|
}, "strip", z.ZodTypeAny, {
|
|
606
606
|
path: string;
|
|
607
607
|
id: string;
|
|
608
|
-
createdAt: Date;
|
|
609
608
|
userId: number;
|
|
609
|
+
createdAt: Date;
|
|
610
610
|
signedUrl: string;
|
|
611
611
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
612
612
|
}, {
|
|
613
613
|
path: string;
|
|
614
614
|
id: string;
|
|
615
|
-
createdAt: Date;
|
|
616
615
|
userId: number;
|
|
616
|
+
createdAt: Date;
|
|
617
617
|
signedUrl: string;
|
|
618
618
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
619
619
|
}>>>;
|
|
@@ -623,8 +623,8 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
623
623
|
vatRegime: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["MARGIN", "FRANCHISE", "NORMAL", "UNKNOWN"]>>>>;
|
|
624
624
|
}, "strip", z.ZodTypeAny, {
|
|
625
625
|
id: string;
|
|
626
|
-
createdAt: Date;
|
|
627
626
|
userId: number;
|
|
627
|
+
createdAt: Date;
|
|
628
628
|
updatedAt: Date;
|
|
629
629
|
businessName: string;
|
|
630
630
|
address: string;
|
|
@@ -637,16 +637,16 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
637
637
|
logo?: {
|
|
638
638
|
path: string;
|
|
639
639
|
id: string;
|
|
640
|
-
createdAt: Date;
|
|
641
640
|
userId: number;
|
|
641
|
+
createdAt: Date;
|
|
642
642
|
signedUrl: string;
|
|
643
643
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
644
644
|
} | null | undefined;
|
|
645
645
|
vatRegime?: "UNKNOWN" | "MARGIN" | "FRANCHISE" | "NORMAL" | null | undefined;
|
|
646
646
|
}, {
|
|
647
647
|
id: string;
|
|
648
|
-
createdAt: Date;
|
|
649
648
|
userId: number;
|
|
649
|
+
createdAt: Date;
|
|
650
650
|
updatedAt: Date;
|
|
651
651
|
businessName: string;
|
|
652
652
|
address: string;
|
|
@@ -659,8 +659,8 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
659
659
|
logo?: {
|
|
660
660
|
path: string;
|
|
661
661
|
id: string;
|
|
662
|
-
createdAt: Date;
|
|
663
662
|
userId: number;
|
|
663
|
+
createdAt: Date;
|
|
664
664
|
signedUrl: string;
|
|
665
665
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
666
666
|
} | null | undefined;
|
|
@@ -690,34 +690,34 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
690
690
|
firstName: string;
|
|
691
691
|
lastName: string;
|
|
692
692
|
phoneVerified: boolean;
|
|
693
|
-
|
|
693
|
+
postalCode?: string | null | undefined;
|
|
694
|
+
city?: string | null | undefined;
|
|
695
|
+
country?: string | null | undefined;
|
|
694
696
|
email?: string | null | undefined;
|
|
697
|
+
addressLine1?: string | null | undefined;
|
|
698
|
+
addressLine2?: string | null | undefined;
|
|
699
|
+
birthDate?: Date | null | undefined;
|
|
695
700
|
idNumber?: string | null | undefined;
|
|
696
701
|
phone?: string | null | undefined;
|
|
697
702
|
iban?: string | null | undefined;
|
|
698
703
|
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;
|
|
704
704
|
}, {
|
|
705
705
|
id: string;
|
|
706
706
|
userId: number;
|
|
707
707
|
firstName: string;
|
|
708
708
|
lastName: string;
|
|
709
709
|
phoneVerified: boolean;
|
|
710
|
-
|
|
710
|
+
postalCode?: string | null | undefined;
|
|
711
|
+
city?: string | null | undefined;
|
|
712
|
+
country?: string | null | undefined;
|
|
711
713
|
email?: string | null | undefined;
|
|
714
|
+
addressLine1?: string | null | undefined;
|
|
715
|
+
addressLine2?: string | null | undefined;
|
|
716
|
+
birthDate?: Date | null | undefined;
|
|
712
717
|
idNumber?: string | null | undefined;
|
|
713
718
|
phone?: string | null | undefined;
|
|
714
719
|
iban?: string | null | undefined;
|
|
715
720
|
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;
|
|
721
721
|
}>>>;
|
|
722
722
|
orderId: z.ZodString;
|
|
723
723
|
fileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -731,15 +731,15 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
731
731
|
}, "strip", z.ZodTypeAny, {
|
|
732
732
|
path: string;
|
|
733
733
|
id: string;
|
|
734
|
-
createdAt: Date;
|
|
735
734
|
userId: number;
|
|
735
|
+
createdAt: Date;
|
|
736
736
|
signedUrl: string;
|
|
737
737
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
738
738
|
}, {
|
|
739
739
|
path: string;
|
|
740
740
|
id: string;
|
|
741
|
-
createdAt: Date;
|
|
742
741
|
userId: number;
|
|
742
|
+
createdAt: Date;
|
|
743
743
|
signedUrl: string;
|
|
744
744
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
745
745
|
}>>>;
|
|
@@ -764,21 +764,21 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
764
764
|
total: z.ZodNumber;
|
|
765
765
|
createdAt: z.ZodDate;
|
|
766
766
|
}, "strip", z.ZodTypeAny, {
|
|
767
|
-
|
|
767
|
+
quantity: number;
|
|
768
768
|
id: number;
|
|
769
|
+
description: string;
|
|
769
770
|
createdAt: Date;
|
|
770
771
|
invoiceId: string;
|
|
771
|
-
quantity: number;
|
|
772
772
|
unitPrice: number;
|
|
773
773
|
total: number;
|
|
774
774
|
itemOnPlatformId?: string | null | undefined;
|
|
775
775
|
vatRate?: number | null | undefined;
|
|
776
776
|
}, {
|
|
777
|
-
|
|
777
|
+
quantity: number;
|
|
778
778
|
id: number;
|
|
779
|
+
description: string;
|
|
779
780
|
createdAt: Date;
|
|
780
781
|
invoiceId: string;
|
|
781
|
-
quantity: number;
|
|
782
782
|
unitPrice: number;
|
|
783
783
|
total: number;
|
|
784
784
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -790,8 +790,8 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
790
790
|
type: "SALE" | "PURCHASE";
|
|
791
791
|
status: string;
|
|
792
792
|
id: string;
|
|
793
|
-
createdAt: Date;
|
|
794
793
|
userId: number;
|
|
794
|
+
createdAt: Date;
|
|
795
795
|
currency: string;
|
|
796
796
|
orderId: string;
|
|
797
797
|
updatedAt: Date;
|
|
@@ -800,21 +800,21 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
800
800
|
businessProfileId: string;
|
|
801
801
|
issueDate: Date;
|
|
802
802
|
subtotal: number;
|
|
803
|
-
fileId?: string | null | undefined;
|
|
804
803
|
vatAmount?: number | null | undefined;
|
|
804
|
+
fileId?: string | null | undefined;
|
|
805
805
|
file?: {
|
|
806
806
|
path: string;
|
|
807
807
|
id: string;
|
|
808
|
-
createdAt: Date;
|
|
809
808
|
userId: number;
|
|
809
|
+
createdAt: Date;
|
|
810
810
|
signedUrl: string;
|
|
811
811
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
812
812
|
} | null | undefined;
|
|
813
813
|
vatRate?: number | null | undefined;
|
|
814
814
|
businessProfile?: {
|
|
815
815
|
id: string;
|
|
816
|
-
createdAt: Date;
|
|
817
816
|
userId: number;
|
|
817
|
+
createdAt: Date;
|
|
818
818
|
updatedAt: Date;
|
|
819
819
|
businessName: string;
|
|
820
820
|
address: string;
|
|
@@ -827,8 +827,8 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
827
827
|
logo?: {
|
|
828
828
|
path: string;
|
|
829
829
|
id: string;
|
|
830
|
-
createdAt: Date;
|
|
831
830
|
userId: number;
|
|
831
|
+
createdAt: Date;
|
|
832
832
|
signedUrl: string;
|
|
833
833
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
834
834
|
} | null | undefined;
|
|
@@ -841,26 +841,26 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
841
841
|
firstName: string;
|
|
842
842
|
lastName: string;
|
|
843
843
|
phoneVerified: boolean;
|
|
844
|
-
|
|
844
|
+
postalCode?: string | null | undefined;
|
|
845
|
+
city?: string | null | undefined;
|
|
846
|
+
country?: string | null | undefined;
|
|
845
847
|
email?: string | null | undefined;
|
|
848
|
+
addressLine1?: string | null | undefined;
|
|
849
|
+
addressLine2?: string | null | undefined;
|
|
850
|
+
birthDate?: Date | null | undefined;
|
|
846
851
|
idNumber?: string | null | undefined;
|
|
847
852
|
phone?: string | null | undefined;
|
|
848
853
|
iban?: string | null | undefined;
|
|
849
854
|
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;
|
|
855
855
|
} | null | undefined;
|
|
856
856
|
dueDate?: Date | null | undefined;
|
|
857
857
|
notes?: string | null | undefined;
|
|
858
858
|
lineItems?: {
|
|
859
|
-
|
|
859
|
+
quantity: number;
|
|
860
860
|
id: number;
|
|
861
|
+
description: string;
|
|
861
862
|
createdAt: Date;
|
|
862
863
|
invoiceId: string;
|
|
863
|
-
quantity: number;
|
|
864
864
|
unitPrice: number;
|
|
865
865
|
total: number;
|
|
866
866
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -870,8 +870,8 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
870
870
|
type: "SALE" | "PURCHASE";
|
|
871
871
|
status: string;
|
|
872
872
|
id: string;
|
|
873
|
-
createdAt: Date;
|
|
874
873
|
userId: number;
|
|
874
|
+
createdAt: Date;
|
|
875
875
|
currency: string;
|
|
876
876
|
orderId: string;
|
|
877
877
|
updatedAt: Date;
|
|
@@ -880,21 +880,21 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
880
880
|
businessProfileId: string;
|
|
881
881
|
issueDate: Date;
|
|
882
882
|
subtotal: number;
|
|
883
|
-
fileId?: string | null | undefined;
|
|
884
883
|
vatAmount?: number | null | undefined;
|
|
884
|
+
fileId?: string | null | undefined;
|
|
885
885
|
file?: {
|
|
886
886
|
path: string;
|
|
887
887
|
id: string;
|
|
888
|
-
createdAt: Date;
|
|
889
888
|
userId: number;
|
|
889
|
+
createdAt: Date;
|
|
890
890
|
signedUrl: string;
|
|
891
891
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
892
892
|
} | null | undefined;
|
|
893
893
|
vatRate?: number | null | undefined;
|
|
894
894
|
businessProfile?: {
|
|
895
895
|
id: string;
|
|
896
|
-
createdAt: Date;
|
|
897
896
|
userId: number;
|
|
897
|
+
createdAt: Date;
|
|
898
898
|
updatedAt: Date;
|
|
899
899
|
businessName: string;
|
|
900
900
|
address: string;
|
|
@@ -907,8 +907,8 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
907
907
|
logo?: {
|
|
908
908
|
path: string;
|
|
909
909
|
id: string;
|
|
910
|
-
createdAt: Date;
|
|
911
910
|
userId: number;
|
|
911
|
+
createdAt: Date;
|
|
912
912
|
signedUrl: string;
|
|
913
913
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
914
914
|
} | null | undefined;
|
|
@@ -921,26 +921,26 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
921
921
|
firstName: string;
|
|
922
922
|
lastName: string;
|
|
923
923
|
phoneVerified: boolean;
|
|
924
|
-
|
|
924
|
+
postalCode?: string | null | undefined;
|
|
925
|
+
city?: string | null | undefined;
|
|
926
|
+
country?: string | null | undefined;
|
|
925
927
|
email?: string | null | undefined;
|
|
928
|
+
addressLine1?: string | null | undefined;
|
|
929
|
+
addressLine2?: string | null | undefined;
|
|
930
|
+
birthDate?: Date | null | undefined;
|
|
926
931
|
idNumber?: string | null | undefined;
|
|
927
932
|
phone?: string | null | undefined;
|
|
928
933
|
iban?: string | null | undefined;
|
|
929
934
|
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;
|
|
935
935
|
} | null | undefined;
|
|
936
936
|
dueDate?: Date | null | undefined;
|
|
937
937
|
notes?: string | null | undefined;
|
|
938
938
|
lineItems?: {
|
|
939
|
-
|
|
939
|
+
quantity: number;
|
|
940
940
|
id: number;
|
|
941
|
+
description: string;
|
|
941
942
|
createdAt: Date;
|
|
942
943
|
invoiceId: string;
|
|
943
|
-
quantity: number;
|
|
944
944
|
unitPrice: number;
|
|
945
945
|
total: number;
|
|
946
946
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -961,77 +961,16 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
961
961
|
id: string;
|
|
962
962
|
accountId: string;
|
|
963
963
|
price: number;
|
|
964
|
-
isPrepared: boolean;
|
|
965
964
|
platformOrderId: string;
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
labels?: {
|
|
969
|
-
id: string;
|
|
970
|
-
fileId: string;
|
|
965
|
+
isPrepared: boolean;
|
|
966
|
+
items?: {
|
|
971
967
|
orderId: string;
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
path: string;
|
|
976
|
-
id: string;
|
|
977
|
-
createdAt: Date;
|
|
978
|
-
userId: number;
|
|
979
|
-
signedUrl: string;
|
|
980
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
981
|
-
} | null | undefined;
|
|
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?: {
|
|
984
|
-
path: string;
|
|
985
|
-
id: string;
|
|
986
|
-
createdAt: Date;
|
|
987
|
-
userId: number;
|
|
988
|
-
signedUrl: string;
|
|
989
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
990
|
-
} | null | undefined;
|
|
991
|
-
nonCroppedFile?: {
|
|
992
|
-
path: string;
|
|
968
|
+
itemOnPlatformId: string;
|
|
969
|
+
itemOnPlatform?: {
|
|
970
|
+
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
993
971
|
id: string;
|
|
972
|
+
accountId: string;
|
|
994
973
|
createdAt: Date;
|
|
995
|
-
userId: number;
|
|
996
|
-
signedUrl: string;
|
|
997
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
998
|
-
} | null | undefined;
|
|
999
|
-
}[] | null | undefined;
|
|
1000
|
-
platformFee?: number | null | undefined;
|
|
1001
|
-
shippingFee?: number | null | undefined;
|
|
1002
|
-
shippingVat?: number | null | undefined;
|
|
1003
|
-
vatAmount?: number | null | undefined;
|
|
1004
|
-
totalAmount?: number | null | undefined;
|
|
1005
|
-
refundAmount?: number | null | undefined;
|
|
1006
|
-
pickupPoints?: {
|
|
1007
|
-
orderId: string;
|
|
1008
|
-
pickupPointId: string;
|
|
1009
|
-
isQrcode: boolean;
|
|
1010
|
-
code?: string | null | undefined;
|
|
1011
|
-
trackingLink?: string | null | undefined;
|
|
1012
|
-
availableUntil?: Date | null | undefined;
|
|
1013
|
-
pickupPoint?: {
|
|
1014
|
-
name: string;
|
|
1015
|
-
id: string;
|
|
1016
|
-
accountId: string;
|
|
1017
|
-
addressLine1: string;
|
|
1018
|
-
city: string;
|
|
1019
|
-
postalCode: string;
|
|
1020
|
-
countryCode: string;
|
|
1021
|
-
platformPickupPointId: string;
|
|
1022
|
-
addressLine2?: string | null | undefined;
|
|
1023
|
-
latitude?: number | null | undefined;
|
|
1024
|
-
longitude?: number | null | undefined;
|
|
1025
|
-
} | null | undefined;
|
|
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
974
|
itemId: number;
|
|
1036
975
|
platformId: string;
|
|
1037
976
|
platformUrl: string;
|
|
@@ -1045,9 +984,9 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
1045
984
|
favoritesCount?: number | null | undefined;
|
|
1046
985
|
account?: {
|
|
1047
986
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
1048
|
-
name: string;
|
|
1049
|
-
userId: number;
|
|
1050
987
|
accountId: string;
|
|
988
|
+
userId: number;
|
|
989
|
+
name: string;
|
|
1051
990
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1052
991
|
locale?: string | null | undefined;
|
|
1053
992
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -1066,8 +1005,8 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
1066
1005
|
profilePicture?: {
|
|
1067
1006
|
path: string;
|
|
1068
1007
|
id: string;
|
|
1069
|
-
createdAt: Date;
|
|
1070
1008
|
userId: number;
|
|
1009
|
+
createdAt: Date;
|
|
1071
1010
|
signedUrl: string;
|
|
1072
1011
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1073
1012
|
} | null | undefined;
|
|
@@ -1080,12 +1019,73 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
1080
1019
|
isBoosted?: boolean | null | undefined;
|
|
1081
1020
|
} | null | undefined;
|
|
1082
1021
|
}[] | null | undefined;
|
|
1022
|
+
conversationId?: string | null | undefined;
|
|
1023
|
+
transactionId?: string | null | undefined;
|
|
1024
|
+
labels?: {
|
|
1025
|
+
id: string;
|
|
1026
|
+
orderId: string;
|
|
1027
|
+
fileId: string;
|
|
1028
|
+
nonCroppedFileId: string;
|
|
1029
|
+
originalFileId: string;
|
|
1030
|
+
file?: {
|
|
1031
|
+
path: string;
|
|
1032
|
+
id: string;
|
|
1033
|
+
userId: number;
|
|
1034
|
+
createdAt: Date;
|
|
1035
|
+
signedUrl: string;
|
|
1036
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1037
|
+
} | null | undefined;
|
|
1038
|
+
nonCroppedFile?: {
|
|
1039
|
+
path: string;
|
|
1040
|
+
id: string;
|
|
1041
|
+
userId: number;
|
|
1042
|
+
createdAt: Date;
|
|
1043
|
+
signedUrl: string;
|
|
1044
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1045
|
+
} | null | undefined;
|
|
1046
|
+
originalFile?: {
|
|
1047
|
+
path: string;
|
|
1048
|
+
id: string;
|
|
1049
|
+
userId: number;
|
|
1050
|
+
createdAt: Date;
|
|
1051
|
+
signedUrl: string;
|
|
1052
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1053
|
+
} | null | undefined;
|
|
1054
|
+
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;
|
|
1055
|
+
}[] | null | undefined;
|
|
1056
|
+
platformFee?: number | null | undefined;
|
|
1057
|
+
shippingFee?: number | null | undefined;
|
|
1058
|
+
shippingVat?: number | null | undefined;
|
|
1059
|
+
vatAmount?: number | null | undefined;
|
|
1060
|
+
totalAmount?: number | null | undefined;
|
|
1061
|
+
refundAmount?: number | null | undefined;
|
|
1062
|
+
pickupPoints?: {
|
|
1063
|
+
orderId: string;
|
|
1064
|
+
pickupPointId: string;
|
|
1065
|
+
isQrcode: boolean;
|
|
1066
|
+
code?: string | null | undefined;
|
|
1067
|
+
trackingLink?: string | null | undefined;
|
|
1068
|
+
availableUntil?: Date | null | undefined;
|
|
1069
|
+
pickupPoint?: {
|
|
1070
|
+
id: string;
|
|
1071
|
+
accountId: string;
|
|
1072
|
+
name: string;
|
|
1073
|
+
postalCode: string;
|
|
1074
|
+
city: string;
|
|
1075
|
+
countryCode: string;
|
|
1076
|
+
addressLine1: string;
|
|
1077
|
+
platformPickupPointId: string;
|
|
1078
|
+
addressLine2?: string | null | undefined;
|
|
1079
|
+
latitude?: number | null | undefined;
|
|
1080
|
+
longitude?: number | null | undefined;
|
|
1081
|
+
} | null | undefined;
|
|
1082
|
+
}[] | null | undefined;
|
|
1083
1083
|
invoices?: {
|
|
1084
1084
|
type: "SALE" | "PURCHASE";
|
|
1085
1085
|
status: string;
|
|
1086
1086
|
id: string;
|
|
1087
|
-
createdAt: Date;
|
|
1088
1087
|
userId: number;
|
|
1088
|
+
createdAt: Date;
|
|
1089
1089
|
currency: string;
|
|
1090
1090
|
orderId: string;
|
|
1091
1091
|
updatedAt: Date;
|
|
@@ -1094,21 +1094,21 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
1094
1094
|
businessProfileId: string;
|
|
1095
1095
|
issueDate: Date;
|
|
1096
1096
|
subtotal: number;
|
|
1097
|
-
fileId?: string | null | undefined;
|
|
1098
1097
|
vatAmount?: number | null | undefined;
|
|
1098
|
+
fileId?: string | null | undefined;
|
|
1099
1099
|
file?: {
|
|
1100
1100
|
path: string;
|
|
1101
1101
|
id: string;
|
|
1102
|
-
createdAt: Date;
|
|
1103
1102
|
userId: number;
|
|
1103
|
+
createdAt: Date;
|
|
1104
1104
|
signedUrl: string;
|
|
1105
1105
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1106
1106
|
} | null | undefined;
|
|
1107
1107
|
vatRate?: number | null | undefined;
|
|
1108
1108
|
businessProfile?: {
|
|
1109
1109
|
id: string;
|
|
1110
|
-
createdAt: Date;
|
|
1111
1110
|
userId: number;
|
|
1111
|
+
createdAt: Date;
|
|
1112
1112
|
updatedAt: Date;
|
|
1113
1113
|
businessName: string;
|
|
1114
1114
|
address: string;
|
|
@@ -1121,8 +1121,8 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
1121
1121
|
logo?: {
|
|
1122
1122
|
path: string;
|
|
1123
1123
|
id: string;
|
|
1124
|
-
createdAt: Date;
|
|
1125
1124
|
userId: number;
|
|
1125
|
+
createdAt: Date;
|
|
1126
1126
|
signedUrl: string;
|
|
1127
1127
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1128
1128
|
} | null | undefined;
|
|
@@ -1135,26 +1135,26 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
1135
1135
|
firstName: string;
|
|
1136
1136
|
lastName: string;
|
|
1137
1137
|
phoneVerified: boolean;
|
|
1138
|
-
|
|
1138
|
+
postalCode?: string | null | undefined;
|
|
1139
|
+
city?: string | null | undefined;
|
|
1140
|
+
country?: string | null | undefined;
|
|
1139
1141
|
email?: string | null | undefined;
|
|
1142
|
+
addressLine1?: string | null | undefined;
|
|
1143
|
+
addressLine2?: string | null | undefined;
|
|
1144
|
+
birthDate?: Date | null | undefined;
|
|
1140
1145
|
idNumber?: string | null | undefined;
|
|
1141
1146
|
phone?: string | null | undefined;
|
|
1142
1147
|
iban?: string | null | undefined;
|
|
1143
1148
|
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;
|
|
1149
1149
|
} | null | undefined;
|
|
1150
1150
|
dueDate?: Date | null | undefined;
|
|
1151
1151
|
notes?: string | null | undefined;
|
|
1152
1152
|
lineItems?: {
|
|
1153
|
-
|
|
1153
|
+
quantity: number;
|
|
1154
1154
|
id: number;
|
|
1155
|
+
description: string;
|
|
1155
1156
|
createdAt: Date;
|
|
1156
1157
|
invoiceId: string;
|
|
1157
|
-
quantity: number;
|
|
1158
1158
|
unitPrice: number;
|
|
1159
1159
|
total: number;
|
|
1160
1160
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -1167,77 +1167,16 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
1167
1167
|
id: string;
|
|
1168
1168
|
accountId: string;
|
|
1169
1169
|
price: number;
|
|
1170
|
-
isPrepared: boolean;
|
|
1171
1170
|
platformOrderId: string;
|
|
1171
|
+
isPrepared: boolean;
|
|
1172
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;
|
|
1234
1173
|
items?: {
|
|
1235
1174
|
orderId: string;
|
|
1236
1175
|
itemOnPlatformId: string;
|
|
1237
1176
|
itemOnPlatform?: {
|
|
1238
1177
|
id: string;
|
|
1239
|
-
createdAt: Date;
|
|
1240
1178
|
accountId: string;
|
|
1179
|
+
createdAt: Date;
|
|
1241
1180
|
itemId: number;
|
|
1242
1181
|
platformId: string;
|
|
1243
1182
|
platformUrl: string;
|
|
@@ -1251,9 +1190,9 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
1251
1190
|
viewsCount?: number | null | undefined;
|
|
1252
1191
|
favoritesCount?: number | null | undefined;
|
|
1253
1192
|
account?: {
|
|
1254
|
-
name: string;
|
|
1255
|
-
userId: number;
|
|
1256
1193
|
accountId: string;
|
|
1194
|
+
userId: number;
|
|
1195
|
+
name: string;
|
|
1257
1196
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1258
1197
|
status?: unknown;
|
|
1259
1198
|
locale?: string | null | undefined;
|
|
@@ -1273,8 +1212,8 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
1273
1212
|
profilePicture?: {
|
|
1274
1213
|
path: string;
|
|
1275
1214
|
id: string;
|
|
1276
|
-
createdAt: Date;
|
|
1277
1215
|
userId: number;
|
|
1216
|
+
createdAt: Date;
|
|
1278
1217
|
signedUrl: string;
|
|
1279
1218
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1280
1219
|
} | null | undefined;
|
|
@@ -1287,12 +1226,73 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
1287
1226
|
isBoosted?: boolean | null | undefined;
|
|
1288
1227
|
} | null | undefined;
|
|
1289
1228
|
}[] | null | undefined;
|
|
1229
|
+
conversationId?: string | null | undefined;
|
|
1230
|
+
transactionId?: string | null | undefined;
|
|
1231
|
+
labels?: {
|
|
1232
|
+
id: string;
|
|
1233
|
+
orderId: string;
|
|
1234
|
+
fileId: string;
|
|
1235
|
+
nonCroppedFileId: string;
|
|
1236
|
+
originalFileId: string;
|
|
1237
|
+
file?: {
|
|
1238
|
+
path: string;
|
|
1239
|
+
id: string;
|
|
1240
|
+
userId: number;
|
|
1241
|
+
createdAt: Date;
|
|
1242
|
+
signedUrl: string;
|
|
1243
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1244
|
+
} | null | undefined;
|
|
1245
|
+
nonCroppedFile?: {
|
|
1246
|
+
path: string;
|
|
1247
|
+
id: string;
|
|
1248
|
+
userId: number;
|
|
1249
|
+
createdAt: Date;
|
|
1250
|
+
signedUrl: string;
|
|
1251
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1252
|
+
} | null | undefined;
|
|
1253
|
+
originalFile?: {
|
|
1254
|
+
path: string;
|
|
1255
|
+
id: string;
|
|
1256
|
+
userId: number;
|
|
1257
|
+
createdAt: Date;
|
|
1258
|
+
signedUrl: string;
|
|
1259
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1260
|
+
} | null | undefined;
|
|
1261
|
+
carrier?: unknown;
|
|
1262
|
+
}[] | null | undefined;
|
|
1263
|
+
platformFee?: number | null | undefined;
|
|
1264
|
+
shippingFee?: number | null | undefined;
|
|
1265
|
+
shippingVat?: number | null | undefined;
|
|
1266
|
+
vatAmount?: number | null | undefined;
|
|
1267
|
+
totalAmount?: number | null | undefined;
|
|
1268
|
+
refundAmount?: number | null | undefined;
|
|
1269
|
+
pickupPoints?: {
|
|
1270
|
+
orderId: string;
|
|
1271
|
+
pickupPointId: string;
|
|
1272
|
+
isQrcode: boolean;
|
|
1273
|
+
code?: string | null | undefined;
|
|
1274
|
+
trackingLink?: string | null | undefined;
|
|
1275
|
+
availableUntil?: Date | null | undefined;
|
|
1276
|
+
pickupPoint?: {
|
|
1277
|
+
id: string;
|
|
1278
|
+
accountId: string;
|
|
1279
|
+
name: string;
|
|
1280
|
+
postalCode: string;
|
|
1281
|
+
city: string;
|
|
1282
|
+
countryCode: string;
|
|
1283
|
+
addressLine1: string;
|
|
1284
|
+
platformPickupPointId: string;
|
|
1285
|
+
addressLine2?: string | null | undefined;
|
|
1286
|
+
latitude?: number | null | undefined;
|
|
1287
|
+
longitude?: number | null | undefined;
|
|
1288
|
+
} | null | undefined;
|
|
1289
|
+
}[] | null | undefined;
|
|
1290
1290
|
invoices?: {
|
|
1291
1291
|
type: "SALE" | "PURCHASE";
|
|
1292
1292
|
status: string;
|
|
1293
1293
|
id: string;
|
|
1294
|
-
createdAt: Date;
|
|
1295
1294
|
userId: number;
|
|
1295
|
+
createdAt: Date;
|
|
1296
1296
|
currency: string;
|
|
1297
1297
|
orderId: string;
|
|
1298
1298
|
updatedAt: Date;
|
|
@@ -1301,21 +1301,21 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
1301
1301
|
businessProfileId: string;
|
|
1302
1302
|
issueDate: Date;
|
|
1303
1303
|
subtotal: number;
|
|
1304
|
-
fileId?: string | null | undefined;
|
|
1305
1304
|
vatAmount?: number | null | undefined;
|
|
1305
|
+
fileId?: string | null | undefined;
|
|
1306
1306
|
file?: {
|
|
1307
1307
|
path: string;
|
|
1308
1308
|
id: string;
|
|
1309
|
-
createdAt: Date;
|
|
1310
1309
|
userId: number;
|
|
1310
|
+
createdAt: Date;
|
|
1311
1311
|
signedUrl: string;
|
|
1312
1312
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1313
1313
|
} | null | undefined;
|
|
1314
1314
|
vatRate?: number | null | undefined;
|
|
1315
1315
|
businessProfile?: {
|
|
1316
1316
|
id: string;
|
|
1317
|
-
createdAt: Date;
|
|
1318
1317
|
userId: number;
|
|
1318
|
+
createdAt: Date;
|
|
1319
1319
|
updatedAt: Date;
|
|
1320
1320
|
businessName: string;
|
|
1321
1321
|
address: string;
|
|
@@ -1328,8 +1328,8 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
1328
1328
|
logo?: {
|
|
1329
1329
|
path: string;
|
|
1330
1330
|
id: string;
|
|
1331
|
-
createdAt: Date;
|
|
1332
1331
|
userId: number;
|
|
1332
|
+
createdAt: Date;
|
|
1333
1333
|
signedUrl: string;
|
|
1334
1334
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1335
1335
|
} | null | undefined;
|
|
@@ -1342,26 +1342,26 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
1342
1342
|
firstName: string;
|
|
1343
1343
|
lastName: string;
|
|
1344
1344
|
phoneVerified: boolean;
|
|
1345
|
-
|
|
1345
|
+
postalCode?: string | null | undefined;
|
|
1346
|
+
city?: string | null | undefined;
|
|
1347
|
+
country?: string | null | undefined;
|
|
1346
1348
|
email?: string | null | undefined;
|
|
1349
|
+
addressLine1?: string | null | undefined;
|
|
1350
|
+
addressLine2?: string | null | undefined;
|
|
1351
|
+
birthDate?: Date | null | undefined;
|
|
1347
1352
|
idNumber?: string | null | undefined;
|
|
1348
1353
|
phone?: string | null | undefined;
|
|
1349
1354
|
iban?: string | null | undefined;
|
|
1350
1355
|
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;
|
|
1356
1356
|
} | null | undefined;
|
|
1357
1357
|
dueDate?: Date | null | undefined;
|
|
1358
1358
|
notes?: string | null | undefined;
|
|
1359
1359
|
lineItems?: {
|
|
1360
|
-
|
|
1360
|
+
quantity: number;
|
|
1361
1361
|
id: number;
|
|
1362
|
+
description: string;
|
|
1362
1363
|
createdAt: Date;
|
|
1363
1364
|
invoiceId: string;
|
|
1364
|
-
quantity: number;
|
|
1365
1365
|
unitPrice: number;
|
|
1366
1366
|
total: number;
|
|
1367
1367
|
itemOnPlatformId?: string | null | undefined;
|