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
|
@@ -19,38 +19,38 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
20
20
|
path: string;
|
|
21
21
|
id: string;
|
|
22
|
-
createdAt: Date;
|
|
23
22
|
userId: number;
|
|
23
|
+
createdAt: Date;
|
|
24
24
|
signedUrl: string;
|
|
25
25
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
26
26
|
}, {
|
|
27
27
|
path: string;
|
|
28
28
|
id: string;
|
|
29
|
-
createdAt: Date;
|
|
30
29
|
userId: number;
|
|
30
|
+
createdAt: Date;
|
|
31
31
|
signedUrl: string;
|
|
32
32
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
33
33
|
}>>>;
|
|
34
34
|
}, "strip", z.ZodTypeAny, {
|
|
35
|
-
fileId: string;
|
|
36
35
|
itemId: number;
|
|
36
|
+
fileId: string;
|
|
37
37
|
file?: {
|
|
38
38
|
path: string;
|
|
39
39
|
id: string;
|
|
40
|
-
createdAt: Date;
|
|
41
40
|
userId: number;
|
|
41
|
+
createdAt: Date;
|
|
42
42
|
signedUrl: string;
|
|
43
43
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
44
44
|
} | null | undefined;
|
|
45
45
|
index?: number | null | undefined;
|
|
46
46
|
}, {
|
|
47
|
-
fileId: string;
|
|
48
47
|
itemId: number;
|
|
48
|
+
fileId: string;
|
|
49
49
|
file?: {
|
|
50
50
|
path: string;
|
|
51
51
|
id: string;
|
|
52
|
-
createdAt: Date;
|
|
53
52
|
userId: number;
|
|
53
|
+
createdAt: Date;
|
|
54
54
|
signedUrl: string;
|
|
55
55
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
56
56
|
} | null | undefined;
|
|
@@ -88,12 +88,12 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
88
88
|
}, "strip", z.ZodTypeAny, {
|
|
89
89
|
value: number;
|
|
90
90
|
type: string;
|
|
91
|
-
name: string;
|
|
92
91
|
id: number;
|
|
93
|
-
createdAt: Date;
|
|
94
92
|
userId: number;
|
|
93
|
+
name: string;
|
|
94
|
+
createdAt: Date;
|
|
95
95
|
updatedAt: Date;
|
|
96
|
-
recurrence: "
|
|
96
|
+
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
97
97
|
startDate: Date;
|
|
98
98
|
active: boolean;
|
|
99
99
|
description?: string | null | undefined;
|
|
@@ -103,12 +103,12 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
103
103
|
}, {
|
|
104
104
|
value: number;
|
|
105
105
|
type: string;
|
|
106
|
-
name: string;
|
|
107
106
|
id: number;
|
|
108
|
-
createdAt: Date;
|
|
109
107
|
userId: number;
|
|
108
|
+
name: string;
|
|
109
|
+
createdAt: Date;
|
|
110
110
|
updatedAt: Date;
|
|
111
|
-
recurrence: "
|
|
111
|
+
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
112
112
|
startDate: Date;
|
|
113
113
|
active: boolean;
|
|
114
114
|
description?: string | null | undefined;
|
|
@@ -129,16 +129,16 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
129
129
|
itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
130
130
|
parentId: z.ZodUnknown;
|
|
131
131
|
}, "strip", z.ZodTypeAny, {
|
|
132
|
-
name: string;
|
|
133
132
|
id: number;
|
|
133
|
+
name: string;
|
|
134
134
|
createdAt: Date;
|
|
135
135
|
isUserLabel: boolean;
|
|
136
136
|
itemCount?: number | null | undefined;
|
|
137
137
|
userId?: number | null | undefined;
|
|
138
138
|
parentId?: unknown;
|
|
139
139
|
}, {
|
|
140
|
-
name: string;
|
|
141
140
|
id: number;
|
|
141
|
+
name: string;
|
|
142
142
|
createdAt: Date;
|
|
143
143
|
isUserLabel: boolean;
|
|
144
144
|
itemCount?: number | null | undefined;
|
|
@@ -149,8 +149,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
149
149
|
itemId: number;
|
|
150
150
|
labelId: number;
|
|
151
151
|
label?: {
|
|
152
|
-
name: string;
|
|
153
152
|
id: number;
|
|
153
|
+
name: string;
|
|
154
154
|
createdAt: Date;
|
|
155
155
|
isUserLabel: boolean;
|
|
156
156
|
itemCount?: number | null | undefined;
|
|
@@ -161,8 +161,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
161
161
|
itemId: number;
|
|
162
162
|
labelId: number;
|
|
163
163
|
label?: {
|
|
164
|
-
name: string;
|
|
165
164
|
id: number;
|
|
165
|
+
name: string;
|
|
166
166
|
createdAt: Date;
|
|
167
167
|
isUserLabel: boolean;
|
|
168
168
|
itemCount?: number | null | undefined;
|
|
@@ -346,7 +346,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
346
346
|
autoFixable: z.ZodBoolean;
|
|
347
347
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
348
348
|
}, "strip", z.ZodTypeAny, {
|
|
349
|
-
field: "
|
|
349
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
350
350
|
autoFixable: boolean;
|
|
351
351
|
error?: string | null | undefined;
|
|
352
352
|
}, {
|
|
@@ -361,7 +361,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
361
361
|
accountId?: string | null | undefined;
|
|
362
362
|
reason?: string | null | undefined;
|
|
363
363
|
fields?: {
|
|
364
|
-
field: "
|
|
364
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
365
365
|
autoFixable: boolean;
|
|
366
366
|
error?: string | null | undefined;
|
|
367
367
|
}[] | null | undefined;
|
|
@@ -387,7 +387,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
387
387
|
accountId?: string | null | undefined;
|
|
388
388
|
reason?: string | null | undefined;
|
|
389
389
|
fields?: {
|
|
390
|
-
field: "
|
|
390
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
391
391
|
autoFixable: boolean;
|
|
392
392
|
error?: string | null | undefined;
|
|
393
393
|
}[] | null | undefined;
|
|
@@ -571,23 +571,23 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
571
571
|
boostedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
572
572
|
boostedUntil: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
573
573
|
}, "strip", z.ZodTypeAny, {
|
|
574
|
+
size?: string | null | undefined;
|
|
574
575
|
status?: string | null | undefined;
|
|
575
576
|
title?: string | null | undefined;
|
|
576
577
|
description?: string | null | undefined;
|
|
577
|
-
brand?: string | null | undefined;
|
|
578
|
-
statusId?: number | null | undefined;
|
|
579
|
-
sizeId?: number | null | undefined;
|
|
580
|
-
colorIds?: number[] | null | undefined;
|
|
581
|
-
packageSizeId?: number | null | undefined;
|
|
582
578
|
price?: number | null | undefined;
|
|
583
579
|
currency?: string | null | undefined;
|
|
580
|
+
brand?: string | null | undefined;
|
|
584
581
|
catalog?: string | null | undefined;
|
|
585
582
|
catalogId?: number | null | undefined;
|
|
586
583
|
colors?: string[] | null | undefined;
|
|
584
|
+
colorIds?: number[] | null | undefined;
|
|
587
585
|
measurementLength?: number | null | undefined;
|
|
588
586
|
measurementWidth?: number | null | undefined;
|
|
587
|
+
packageSizeId?: number | null | undefined;
|
|
589
588
|
photoUrls?: string[] | null | undefined;
|
|
590
|
-
|
|
589
|
+
sizeId?: number | null | undefined;
|
|
590
|
+
statusId?: number | null | undefined;
|
|
591
591
|
isDraft?: boolean | null | undefined;
|
|
592
592
|
isArchived?: boolean | null | undefined;
|
|
593
593
|
isUnisex?: boolean | null | undefined;
|
|
@@ -616,23 +616,23 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
616
616
|
isHidden?: boolean | null | undefined;
|
|
617
617
|
isDeleted?: boolean | null | undefined;
|
|
618
618
|
}, {
|
|
619
|
+
size?: string | null | undefined;
|
|
619
620
|
status?: string | null | undefined;
|
|
620
621
|
title?: string | null | undefined;
|
|
621
622
|
description?: string | null | undefined;
|
|
622
|
-
brand?: string | null | undefined;
|
|
623
|
-
statusId?: number | null | undefined;
|
|
624
|
-
sizeId?: number | null | undefined;
|
|
625
|
-
colorIds?: number[] | null | undefined;
|
|
626
|
-
packageSizeId?: number | null | undefined;
|
|
627
623
|
price?: number | null | undefined;
|
|
628
624
|
currency?: string | null | undefined;
|
|
625
|
+
brand?: string | null | undefined;
|
|
629
626
|
catalog?: string | null | undefined;
|
|
630
627
|
catalogId?: number | null | undefined;
|
|
631
628
|
colors?: string[] | null | undefined;
|
|
629
|
+
colorIds?: number[] | null | undefined;
|
|
632
630
|
measurementLength?: number | null | undefined;
|
|
633
631
|
measurementWidth?: number | null | undefined;
|
|
632
|
+
packageSizeId?: number | null | undefined;
|
|
634
633
|
photoUrls?: string[] | null | undefined;
|
|
635
|
-
|
|
634
|
+
sizeId?: number | null | undefined;
|
|
635
|
+
statusId?: number | null | undefined;
|
|
636
636
|
isDraft?: boolean | null | undefined;
|
|
637
637
|
isArchived?: boolean | null | undefined;
|
|
638
638
|
isUnisex?: boolean | null | undefined;
|
|
@@ -666,23 +666,23 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
666
666
|
}, "strip", z.ZodTypeAny, {
|
|
667
667
|
platformId: string;
|
|
668
668
|
post: {
|
|
669
|
+
size?: string | null | undefined;
|
|
669
670
|
status?: string | null | undefined;
|
|
670
671
|
title?: string | null | undefined;
|
|
671
672
|
description?: string | null | undefined;
|
|
672
|
-
brand?: string | null | undefined;
|
|
673
|
-
statusId?: number | null | undefined;
|
|
674
|
-
sizeId?: number | null | undefined;
|
|
675
|
-
colorIds?: number[] | null | undefined;
|
|
676
|
-
packageSizeId?: number | null | undefined;
|
|
677
673
|
price?: number | null | undefined;
|
|
678
674
|
currency?: string | null | undefined;
|
|
675
|
+
brand?: string | null | undefined;
|
|
679
676
|
catalog?: string | null | undefined;
|
|
680
677
|
catalogId?: number | null | undefined;
|
|
681
678
|
colors?: string[] | null | undefined;
|
|
679
|
+
colorIds?: number[] | null | undefined;
|
|
682
680
|
measurementLength?: number | null | undefined;
|
|
683
681
|
measurementWidth?: number | null | undefined;
|
|
682
|
+
packageSizeId?: number | null | undefined;
|
|
684
683
|
photoUrls?: string[] | null | undefined;
|
|
685
|
-
|
|
684
|
+
sizeId?: number | null | undefined;
|
|
685
|
+
statusId?: number | null | undefined;
|
|
686
686
|
isDraft?: boolean | null | undefined;
|
|
687
687
|
isArchived?: boolean | null | undefined;
|
|
688
688
|
isUnisex?: boolean | null | undefined;
|
|
@@ -718,23 +718,23 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
718
718
|
}, {
|
|
719
719
|
platformId: string;
|
|
720
720
|
post: {
|
|
721
|
+
size?: string | null | undefined;
|
|
721
722
|
status?: string | null | undefined;
|
|
722
723
|
title?: string | null | undefined;
|
|
723
724
|
description?: string | null | undefined;
|
|
724
|
-
brand?: string | null | undefined;
|
|
725
|
-
statusId?: number | null | undefined;
|
|
726
|
-
sizeId?: number | null | undefined;
|
|
727
|
-
colorIds?: number[] | null | undefined;
|
|
728
|
-
packageSizeId?: number | null | undefined;
|
|
729
725
|
price?: number | null | undefined;
|
|
730
726
|
currency?: string | null | undefined;
|
|
727
|
+
brand?: string | null | undefined;
|
|
731
728
|
catalog?: string | null | undefined;
|
|
732
729
|
catalogId?: number | null | undefined;
|
|
733
730
|
colors?: string[] | null | undefined;
|
|
731
|
+
colorIds?: number[] | null | undefined;
|
|
734
732
|
measurementLength?: number | null | undefined;
|
|
735
733
|
measurementWidth?: number | null | undefined;
|
|
734
|
+
packageSizeId?: number | null | undefined;
|
|
736
735
|
photoUrls?: string[] | null | undefined;
|
|
737
|
-
|
|
736
|
+
sizeId?: number | null | undefined;
|
|
737
|
+
statusId?: number | null | undefined;
|
|
738
738
|
isDraft?: boolean | null | undefined;
|
|
739
739
|
isArchived?: boolean | null | undefined;
|
|
740
740
|
isUnisex?: boolean | null | undefined;
|
|
@@ -772,23 +772,23 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
772
772
|
post: {
|
|
773
773
|
platformId: string;
|
|
774
774
|
post: {
|
|
775
|
+
size?: string | null | undefined;
|
|
775
776
|
status?: string | null | undefined;
|
|
776
777
|
title?: string | null | undefined;
|
|
777
778
|
description?: string | null | undefined;
|
|
778
|
-
brand?: string | null | undefined;
|
|
779
|
-
statusId?: number | null | undefined;
|
|
780
|
-
sizeId?: number | null | undefined;
|
|
781
|
-
colorIds?: number[] | null | undefined;
|
|
782
|
-
packageSizeId?: number | null | undefined;
|
|
783
779
|
price?: number | null | undefined;
|
|
784
780
|
currency?: string | null | undefined;
|
|
781
|
+
brand?: string | null | undefined;
|
|
785
782
|
catalog?: string | null | undefined;
|
|
786
783
|
catalogId?: number | null | undefined;
|
|
787
784
|
colors?: string[] | null | undefined;
|
|
785
|
+
colorIds?: number[] | null | undefined;
|
|
788
786
|
measurementLength?: number | null | undefined;
|
|
789
787
|
measurementWidth?: number | null | undefined;
|
|
788
|
+
packageSizeId?: number | null | undefined;
|
|
790
789
|
photoUrls?: string[] | null | undefined;
|
|
791
|
-
|
|
790
|
+
sizeId?: number | null | undefined;
|
|
791
|
+
statusId?: number | null | undefined;
|
|
792
792
|
isDraft?: boolean | null | undefined;
|
|
793
793
|
isArchived?: boolean | null | undefined;
|
|
794
794
|
isUnisex?: boolean | null | undefined;
|
|
@@ -826,23 +826,23 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
826
826
|
post: {
|
|
827
827
|
platformId: string;
|
|
828
828
|
post: {
|
|
829
|
+
size?: string | null | undefined;
|
|
829
830
|
status?: string | null | undefined;
|
|
830
831
|
title?: string | null | undefined;
|
|
831
832
|
description?: string | null | undefined;
|
|
832
|
-
brand?: string | null | undefined;
|
|
833
|
-
statusId?: number | null | undefined;
|
|
834
|
-
sizeId?: number | null | undefined;
|
|
835
|
-
colorIds?: number[] | null | undefined;
|
|
836
|
-
packageSizeId?: number | null | undefined;
|
|
837
833
|
price?: number | null | undefined;
|
|
838
834
|
currency?: string | null | undefined;
|
|
835
|
+
brand?: string | null | undefined;
|
|
839
836
|
catalog?: string | null | undefined;
|
|
840
837
|
catalogId?: number | null | undefined;
|
|
841
838
|
colors?: string[] | null | undefined;
|
|
839
|
+
colorIds?: number[] | null | undefined;
|
|
842
840
|
measurementLength?: number | null | undefined;
|
|
843
841
|
measurementWidth?: number | null | undefined;
|
|
842
|
+
packageSizeId?: number | null | undefined;
|
|
844
843
|
photoUrls?: string[] | null | undefined;
|
|
845
|
-
|
|
844
|
+
sizeId?: number | null | undefined;
|
|
845
|
+
statusId?: number | null | undefined;
|
|
846
846
|
isDraft?: boolean | null | undefined;
|
|
847
847
|
isArchived?: boolean | null | undefined;
|
|
848
848
|
isUnisex?: boolean | null | undefined;
|
|
@@ -884,23 +884,23 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
884
884
|
post: {
|
|
885
885
|
platformId: string;
|
|
886
886
|
post: {
|
|
887
|
+
size?: string | null | undefined;
|
|
887
888
|
status?: string | null | undefined;
|
|
888
889
|
title?: string | null | undefined;
|
|
889
890
|
description?: string | null | undefined;
|
|
890
|
-
brand?: string | null | undefined;
|
|
891
|
-
statusId?: number | null | undefined;
|
|
892
|
-
sizeId?: number | null | undefined;
|
|
893
|
-
colorIds?: number[] | null | undefined;
|
|
894
|
-
packageSizeId?: number | null | undefined;
|
|
895
891
|
price?: number | null | undefined;
|
|
896
892
|
currency?: string | null | undefined;
|
|
893
|
+
brand?: string | null | undefined;
|
|
897
894
|
catalog?: string | null | undefined;
|
|
898
895
|
catalogId?: number | null | undefined;
|
|
899
896
|
colors?: string[] | null | undefined;
|
|
897
|
+
colorIds?: number[] | null | undefined;
|
|
900
898
|
measurementLength?: number | null | undefined;
|
|
901
899
|
measurementWidth?: number | null | undefined;
|
|
900
|
+
packageSizeId?: number | null | undefined;
|
|
902
901
|
photoUrls?: string[] | null | undefined;
|
|
903
|
-
|
|
902
|
+
sizeId?: number | null | undefined;
|
|
903
|
+
statusId?: number | null | undefined;
|
|
904
904
|
isDraft?: boolean | null | undefined;
|
|
905
905
|
isArchived?: boolean | null | undefined;
|
|
906
906
|
isUnisex?: boolean | null | undefined;
|
|
@@ -941,23 +941,23 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
941
941
|
post: {
|
|
942
942
|
platformId: string;
|
|
943
943
|
post: {
|
|
944
|
+
size?: string | null | undefined;
|
|
944
945
|
status?: string | null | undefined;
|
|
945
946
|
title?: string | null | undefined;
|
|
946
947
|
description?: string | null | undefined;
|
|
947
|
-
brand?: string | null | undefined;
|
|
948
|
-
statusId?: number | null | undefined;
|
|
949
|
-
sizeId?: number | null | undefined;
|
|
950
|
-
colorIds?: number[] | null | undefined;
|
|
951
|
-
packageSizeId?: number | null | undefined;
|
|
952
948
|
price?: number | null | undefined;
|
|
953
949
|
currency?: string | null | undefined;
|
|
950
|
+
brand?: string | null | undefined;
|
|
954
951
|
catalog?: string | null | undefined;
|
|
955
952
|
catalogId?: number | null | undefined;
|
|
956
953
|
colors?: string[] | null | undefined;
|
|
954
|
+
colorIds?: number[] | null | undefined;
|
|
957
955
|
measurementLength?: number | null | undefined;
|
|
958
956
|
measurementWidth?: number | null | undefined;
|
|
957
|
+
packageSizeId?: number | null | undefined;
|
|
959
958
|
photoUrls?: string[] | null | undefined;
|
|
960
|
-
|
|
959
|
+
sizeId?: number | null | undefined;
|
|
960
|
+
statusId?: number | null | undefined;
|
|
961
961
|
isDraft?: boolean | null | undefined;
|
|
962
962
|
isArchived?: boolean | null | undefined;
|
|
963
963
|
isUnisex?: boolean | null | undefined;
|
|
@@ -1017,27 +1017,27 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1017
1017
|
caseId: z.ZodString;
|
|
1018
1018
|
isRepeat: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1019
1019
|
}, "strip", z.ZodTypeAny, {
|
|
1020
|
-
caseId: string;
|
|
1021
1020
|
accountId: string;
|
|
1021
|
+
caseId: string;
|
|
1022
1022
|
isRepeat?: boolean | null | undefined;
|
|
1023
1023
|
}, {
|
|
1024
|
-
caseId: string;
|
|
1025
1024
|
accountId: string;
|
|
1025
|
+
caseId: string;
|
|
1026
1026
|
isRepeat?: boolean | null | undefined;
|
|
1027
1027
|
}>;
|
|
1028
1028
|
type: z.ZodLiteral<"LIFECYCLE_STARTED">;
|
|
1029
1029
|
}, "strip", z.ZodTypeAny, {
|
|
1030
1030
|
type: "LIFECYCLE_STARTED";
|
|
1031
1031
|
data: {
|
|
1032
|
-
caseId: string;
|
|
1033
1032
|
accountId: string;
|
|
1033
|
+
caseId: string;
|
|
1034
1034
|
isRepeat?: boolean | null | undefined;
|
|
1035
1035
|
};
|
|
1036
1036
|
}, {
|
|
1037
1037
|
type: "LIFECYCLE_STARTED";
|
|
1038
1038
|
data: {
|
|
1039
|
-
caseId: string;
|
|
1040
1039
|
accountId: string;
|
|
1040
|
+
caseId: string;
|
|
1041
1041
|
isRepeat?: boolean | null | undefined;
|
|
1042
1042
|
};
|
|
1043
1043
|
}>, z.ZodObject<{
|
|
@@ -1213,10 +1213,10 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1213
1213
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1214
1214
|
} | null | undefined;
|
|
1215
1215
|
} | null | undefined;
|
|
1216
|
-
publishingDate?: Date | null | undefined;
|
|
1217
|
-
isTransfer?: boolean | null | undefined;
|
|
1218
1216
|
targetAccountId?: string | null | undefined;
|
|
1219
1217
|
allowIfDeleted?: boolean | null | undefined;
|
|
1218
|
+
publishingDate?: Date | null | undefined;
|
|
1219
|
+
isTransfer?: boolean | null | undefined;
|
|
1220
1220
|
}, {
|
|
1221
1221
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1222
1222
|
payload?: {
|
|
@@ -1243,10 +1243,10 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1243
1243
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1244
1244
|
} | null | undefined;
|
|
1245
1245
|
} | null | undefined;
|
|
1246
|
-
publishingDate?: Date | null | undefined;
|
|
1247
|
-
isTransfer?: boolean | null | undefined;
|
|
1248
1246
|
targetAccountId?: string | null | undefined;
|
|
1249
1247
|
allowIfDeleted?: boolean | null | undefined;
|
|
1248
|
+
publishingDate?: Date | null | undefined;
|
|
1249
|
+
isTransfer?: boolean | null | undefined;
|
|
1250
1250
|
}>;
|
|
1251
1251
|
type: z.ZodLiteral<"REPUBLISHING">;
|
|
1252
1252
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1277,10 +1277,10 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1277
1277
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1278
1278
|
} | null | undefined;
|
|
1279
1279
|
} | null | undefined;
|
|
1280
|
-
publishingDate?: Date | null | undefined;
|
|
1281
|
-
isTransfer?: boolean | null | undefined;
|
|
1282
1280
|
targetAccountId?: string | null | undefined;
|
|
1283
1281
|
allowIfDeleted?: boolean | null | undefined;
|
|
1282
|
+
publishingDate?: Date | null | undefined;
|
|
1283
|
+
isTransfer?: boolean | null | undefined;
|
|
1284
1284
|
};
|
|
1285
1285
|
}, {
|
|
1286
1286
|
type: "REPUBLISHING";
|
|
@@ -1310,10 +1310,10 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1310
1310
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1311
1311
|
} | null | undefined;
|
|
1312
1312
|
} | null | undefined;
|
|
1313
|
-
publishingDate?: Date | null | undefined;
|
|
1314
|
-
isTransfer?: boolean | null | undefined;
|
|
1315
1313
|
targetAccountId?: string | null | undefined;
|
|
1316
1314
|
allowIfDeleted?: boolean | null | undefined;
|
|
1315
|
+
publishingDate?: Date | null | undefined;
|
|
1316
|
+
isTransfer?: boolean | null | undefined;
|
|
1317
1317
|
};
|
|
1318
1318
|
}>, z.ZodObject<{
|
|
1319
1319
|
data: z.ZodObject<{
|
|
@@ -1327,7 +1327,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1327
1327
|
autoFixable: z.ZodBoolean;
|
|
1328
1328
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1329
1329
|
}, "strip", z.ZodTypeAny, {
|
|
1330
|
-
field: "
|
|
1330
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1331
1331
|
autoFixable: boolean;
|
|
1332
1332
|
error?: string | null | undefined;
|
|
1333
1333
|
}, {
|
|
@@ -1442,9 +1442,9 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1442
1442
|
} | null | undefined;
|
|
1443
1443
|
}>>>;
|
|
1444
1444
|
}, "strip", z.ZodTypeAny, {
|
|
1445
|
-
maxAttempts: number;
|
|
1446
1445
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1447
1446
|
attemptNumber: number;
|
|
1447
|
+
maxAttempts: number;
|
|
1448
1448
|
previousHistoryId: string;
|
|
1449
1449
|
originalFailureDate: Date;
|
|
1450
1450
|
payload?: {
|
|
@@ -1472,14 +1472,14 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1472
1472
|
} | null | undefined;
|
|
1473
1473
|
} | null | undefined;
|
|
1474
1474
|
fields?: {
|
|
1475
|
-
field: "
|
|
1475
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1476
1476
|
autoFixable: boolean;
|
|
1477
1477
|
error?: string | null | undefined;
|
|
1478
1478
|
}[] | null | undefined;
|
|
1479
1479
|
}, {
|
|
1480
|
-
maxAttempts: number;
|
|
1481
1480
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1482
1481
|
attemptNumber: number;
|
|
1482
|
+
maxAttempts: number;
|
|
1483
1483
|
previousHistoryId: string;
|
|
1484
1484
|
originalFailureDate: Date;
|
|
1485
1485
|
payload?: {
|
|
@@ -1516,9 +1516,9 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1516
1516
|
}, "strip", z.ZodTypeAny, {
|
|
1517
1517
|
type: "REPUBLISHING_RETRY";
|
|
1518
1518
|
data: {
|
|
1519
|
-
maxAttempts: number;
|
|
1520
1519
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1521
1520
|
attemptNumber: number;
|
|
1521
|
+
maxAttempts: number;
|
|
1522
1522
|
previousHistoryId: string;
|
|
1523
1523
|
originalFailureDate: Date;
|
|
1524
1524
|
payload?: {
|
|
@@ -1546,7 +1546,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1546
1546
|
} | null | undefined;
|
|
1547
1547
|
} | null | undefined;
|
|
1548
1548
|
fields?: {
|
|
1549
|
-
field: "
|
|
1549
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1550
1550
|
autoFixable: boolean;
|
|
1551
1551
|
error?: string | null | undefined;
|
|
1552
1552
|
}[] | null | undefined;
|
|
@@ -1554,9 +1554,9 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1554
1554
|
}, {
|
|
1555
1555
|
type: "REPUBLISHING_RETRY";
|
|
1556
1556
|
data: {
|
|
1557
|
-
maxAttempts: number;
|
|
1558
1557
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1559
1558
|
attemptNumber: number;
|
|
1559
|
+
maxAttempts: number;
|
|
1560
1560
|
previousHistoryId: string;
|
|
1561
1561
|
originalFailureDate: Date;
|
|
1562
1562
|
payload?: {
|
|
@@ -1625,7 +1625,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1625
1625
|
autoFixable: z.ZodBoolean;
|
|
1626
1626
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1627
1627
|
}, "strip", z.ZodTypeAny, {
|
|
1628
|
-
field: "
|
|
1628
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1629
1629
|
autoFixable: boolean;
|
|
1630
1630
|
error?: string | null | undefined;
|
|
1631
1631
|
}, {
|
|
@@ -1634,20 +1634,20 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1634
1634
|
error?: string | null | undefined;
|
|
1635
1635
|
}>, "many">>>;
|
|
1636
1636
|
}, "strip", z.ZodTypeAny, {
|
|
1637
|
-
maxAttempts: number;
|
|
1638
1637
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1639
1638
|
attemptNumber: number;
|
|
1639
|
+
maxAttempts: number;
|
|
1640
1640
|
previousHistoryId: string;
|
|
1641
1641
|
originalFailureDate: Date;
|
|
1642
1642
|
fields?: {
|
|
1643
|
-
field: "
|
|
1643
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1644
1644
|
autoFixable: boolean;
|
|
1645
1645
|
error?: string | null | undefined;
|
|
1646
1646
|
}[] | null | undefined;
|
|
1647
1647
|
}, {
|
|
1648
|
-
maxAttempts: number;
|
|
1649
1648
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1650
1649
|
attemptNumber: number;
|
|
1650
|
+
maxAttempts: number;
|
|
1651
1651
|
previousHistoryId: string;
|
|
1652
1652
|
originalFailureDate: Date;
|
|
1653
1653
|
fields?: {
|
|
@@ -1660,13 +1660,13 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1660
1660
|
}, "strip", z.ZodTypeAny, {
|
|
1661
1661
|
type: "SCHEDULED_RETRY";
|
|
1662
1662
|
data: {
|
|
1663
|
-
maxAttempts: number;
|
|
1664
1663
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1665
1664
|
attemptNumber: number;
|
|
1665
|
+
maxAttempts: number;
|
|
1666
1666
|
previousHistoryId: string;
|
|
1667
1667
|
originalFailureDate: Date;
|
|
1668
1668
|
fields?: {
|
|
1669
|
-
field: "
|
|
1669
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1670
1670
|
autoFixable: boolean;
|
|
1671
1671
|
error?: string | null | undefined;
|
|
1672
1672
|
}[] | null | undefined;
|
|
@@ -1674,9 +1674,9 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1674
1674
|
}, {
|
|
1675
1675
|
type: "SCHEDULED_RETRY";
|
|
1676
1676
|
data: {
|
|
1677
|
-
maxAttempts: number;
|
|
1678
1677
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1679
1678
|
attemptNumber: number;
|
|
1679
|
+
maxAttempts: number;
|
|
1680
1680
|
previousHistoryId: string;
|
|
1681
1681
|
originalFailureDate: Date;
|
|
1682
1682
|
fields?: {
|
|
@@ -1833,6 +1833,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1833
1833
|
id: string;
|
|
1834
1834
|
createdAt: Date;
|
|
1835
1835
|
itemId: number;
|
|
1836
|
+
accountId?: string | null | undefined;
|
|
1836
1837
|
data?: {
|
|
1837
1838
|
type: "ACTION_CANCELED";
|
|
1838
1839
|
data: {
|
|
@@ -1868,7 +1869,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1868
1869
|
accountId?: string | null | undefined;
|
|
1869
1870
|
reason?: string | null | undefined;
|
|
1870
1871
|
fields?: {
|
|
1871
|
-
field: "
|
|
1872
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1872
1873
|
autoFixable: boolean;
|
|
1873
1874
|
error?: string | null | undefined;
|
|
1874
1875
|
}[] | null | undefined;
|
|
@@ -1898,23 +1899,23 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1898
1899
|
post: {
|
|
1899
1900
|
platformId: string;
|
|
1900
1901
|
post: {
|
|
1902
|
+
size?: string | null | undefined;
|
|
1901
1903
|
status?: string | null | undefined;
|
|
1902
1904
|
title?: string | null | undefined;
|
|
1903
1905
|
description?: string | null | undefined;
|
|
1904
|
-
brand?: string | null | undefined;
|
|
1905
|
-
statusId?: number | null | undefined;
|
|
1906
|
-
sizeId?: number | null | undefined;
|
|
1907
|
-
colorIds?: number[] | null | undefined;
|
|
1908
|
-
packageSizeId?: number | null | undefined;
|
|
1909
1906
|
price?: number | null | undefined;
|
|
1910
1907
|
currency?: string | null | undefined;
|
|
1908
|
+
brand?: string | null | undefined;
|
|
1911
1909
|
catalog?: string | null | undefined;
|
|
1912
1910
|
catalogId?: number | null | undefined;
|
|
1913
1911
|
colors?: string[] | null | undefined;
|
|
1912
|
+
colorIds?: number[] | null | undefined;
|
|
1914
1913
|
measurementLength?: number | null | undefined;
|
|
1915
1914
|
measurementWidth?: number | null | undefined;
|
|
1915
|
+
packageSizeId?: number | null | undefined;
|
|
1916
1916
|
photoUrls?: string[] | null | undefined;
|
|
1917
|
-
|
|
1917
|
+
sizeId?: number | null | undefined;
|
|
1918
|
+
statusId?: number | null | undefined;
|
|
1918
1919
|
isDraft?: boolean | null | undefined;
|
|
1919
1920
|
isArchived?: boolean | null | undefined;
|
|
1920
1921
|
isUnisex?: boolean | null | undefined;
|
|
@@ -1957,8 +1958,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1957
1958
|
} | {
|
|
1958
1959
|
type: "LIFECYCLE_STARTED";
|
|
1959
1960
|
data: {
|
|
1960
|
-
caseId: string;
|
|
1961
1961
|
accountId: string;
|
|
1962
|
+
caseId: string;
|
|
1962
1963
|
isRepeat?: boolean | null | undefined;
|
|
1963
1964
|
};
|
|
1964
1965
|
} | {
|
|
@@ -1997,17 +1998,17 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1997
1998
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1998
1999
|
} | null | undefined;
|
|
1999
2000
|
} | null | undefined;
|
|
2000
|
-
publishingDate?: Date | null | undefined;
|
|
2001
|
-
isTransfer?: boolean | null | undefined;
|
|
2002
2001
|
targetAccountId?: string | null | undefined;
|
|
2003
2002
|
allowIfDeleted?: boolean | null | undefined;
|
|
2003
|
+
publishingDate?: Date | null | undefined;
|
|
2004
|
+
isTransfer?: boolean | null | undefined;
|
|
2004
2005
|
};
|
|
2005
2006
|
} | {
|
|
2006
2007
|
type: "REPUBLISHING_RETRY";
|
|
2007
2008
|
data: {
|
|
2008
|
-
maxAttempts: number;
|
|
2009
2009
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2010
2010
|
attemptNumber: number;
|
|
2011
|
+
maxAttempts: number;
|
|
2011
2012
|
previousHistoryId: string;
|
|
2012
2013
|
originalFailureDate: Date;
|
|
2013
2014
|
payload?: {
|
|
@@ -2035,7 +2036,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2035
2036
|
} | null | undefined;
|
|
2036
2037
|
} | null | undefined;
|
|
2037
2038
|
fields?: {
|
|
2038
|
-
field: "
|
|
2039
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2039
2040
|
autoFixable: boolean;
|
|
2040
2041
|
error?: string | null | undefined;
|
|
2041
2042
|
}[] | null | undefined;
|
|
@@ -2049,13 +2050,13 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2049
2050
|
} | {
|
|
2050
2051
|
type: "SCHEDULED_RETRY";
|
|
2051
2052
|
data: {
|
|
2052
|
-
maxAttempts: number;
|
|
2053
2053
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2054
2054
|
attemptNumber: number;
|
|
2055
|
+
maxAttempts: number;
|
|
2055
2056
|
previousHistoryId: string;
|
|
2056
2057
|
originalFailureDate: Date;
|
|
2057
2058
|
fields?: {
|
|
2058
|
-
field: "
|
|
2059
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2059
2060
|
autoFixable: boolean;
|
|
2060
2061
|
error?: string | null | undefined;
|
|
2061
2062
|
}[] | null | undefined;
|
|
@@ -2084,7 +2085,6 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2084
2085
|
targetDate?: Date | null | undefined;
|
|
2085
2086
|
};
|
|
2086
2087
|
} | null | undefined;
|
|
2087
|
-
accountId?: string | null | undefined;
|
|
2088
2088
|
targetDate?: Date | null | undefined;
|
|
2089
2089
|
requestId?: string | null | undefined;
|
|
2090
2090
|
targetHistoryId?: string | null | undefined;
|
|
@@ -2093,6 +2093,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2093
2093
|
createdAt: Date;
|
|
2094
2094
|
itemId: number;
|
|
2095
2095
|
type?: unknown;
|
|
2096
|
+
accountId?: string | null | undefined;
|
|
2096
2097
|
data?: {
|
|
2097
2098
|
type: "ACTION_CANCELED";
|
|
2098
2099
|
data: {
|
|
@@ -2158,23 +2159,23 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2158
2159
|
post: {
|
|
2159
2160
|
platformId: string;
|
|
2160
2161
|
post: {
|
|
2162
|
+
size?: string | null | undefined;
|
|
2161
2163
|
status?: string | null | undefined;
|
|
2162
2164
|
title?: string | null | undefined;
|
|
2163
2165
|
description?: string | null | undefined;
|
|
2164
|
-
brand?: string | null | undefined;
|
|
2165
|
-
statusId?: number | null | undefined;
|
|
2166
|
-
sizeId?: number | null | undefined;
|
|
2167
|
-
colorIds?: number[] | null | undefined;
|
|
2168
|
-
packageSizeId?: number | null | undefined;
|
|
2169
2166
|
price?: number | null | undefined;
|
|
2170
2167
|
currency?: string | null | undefined;
|
|
2168
|
+
brand?: string | null | undefined;
|
|
2171
2169
|
catalog?: string | null | undefined;
|
|
2172
2170
|
catalogId?: number | null | undefined;
|
|
2173
2171
|
colors?: string[] | null | undefined;
|
|
2172
|
+
colorIds?: number[] | null | undefined;
|
|
2174
2173
|
measurementLength?: number | null | undefined;
|
|
2175
2174
|
measurementWidth?: number | null | undefined;
|
|
2175
|
+
packageSizeId?: number | null | undefined;
|
|
2176
2176
|
photoUrls?: string[] | null | undefined;
|
|
2177
|
-
|
|
2177
|
+
sizeId?: number | null | undefined;
|
|
2178
|
+
statusId?: number | null | undefined;
|
|
2178
2179
|
isDraft?: boolean | null | undefined;
|
|
2179
2180
|
isArchived?: boolean | null | undefined;
|
|
2180
2181
|
isUnisex?: boolean | null | undefined;
|
|
@@ -2217,8 +2218,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2217
2218
|
} | {
|
|
2218
2219
|
type: "LIFECYCLE_STARTED";
|
|
2219
2220
|
data: {
|
|
2220
|
-
caseId: string;
|
|
2221
2221
|
accountId: string;
|
|
2222
|
+
caseId: string;
|
|
2222
2223
|
isRepeat?: boolean | null | undefined;
|
|
2223
2224
|
};
|
|
2224
2225
|
} | {
|
|
@@ -2257,17 +2258,17 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2257
2258
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
2258
2259
|
} | null | undefined;
|
|
2259
2260
|
} | null | undefined;
|
|
2260
|
-
publishingDate?: Date | null | undefined;
|
|
2261
|
-
isTransfer?: boolean | null | undefined;
|
|
2262
2261
|
targetAccountId?: string | null | undefined;
|
|
2263
2262
|
allowIfDeleted?: boolean | null | undefined;
|
|
2263
|
+
publishingDate?: Date | null | undefined;
|
|
2264
|
+
isTransfer?: boolean | null | undefined;
|
|
2264
2265
|
};
|
|
2265
2266
|
} | {
|
|
2266
2267
|
type: "REPUBLISHING_RETRY";
|
|
2267
2268
|
data: {
|
|
2268
|
-
maxAttempts: number;
|
|
2269
2269
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2270
2270
|
attemptNumber: number;
|
|
2271
|
+
maxAttempts: number;
|
|
2271
2272
|
previousHistoryId: string;
|
|
2272
2273
|
originalFailureDate: Date;
|
|
2273
2274
|
payload?: {
|
|
@@ -2309,9 +2310,9 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2309
2310
|
} | {
|
|
2310
2311
|
type: "SCHEDULED_RETRY";
|
|
2311
2312
|
data: {
|
|
2312
|
-
maxAttempts: number;
|
|
2313
2313
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2314
2314
|
attemptNumber: number;
|
|
2315
|
+
maxAttempts: number;
|
|
2315
2316
|
previousHistoryId: string;
|
|
2316
2317
|
originalFailureDate: Date;
|
|
2317
2318
|
fields?: {
|
|
@@ -2344,7 +2345,6 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2344
2345
|
targetDate?: Date | null | undefined;
|
|
2345
2346
|
};
|
|
2346
2347
|
} | null | undefined;
|
|
2347
|
-
accountId?: string | null | undefined;
|
|
2348
2348
|
targetDate?: Date | null | undefined;
|
|
2349
2349
|
requestId?: string | null | undefined;
|
|
2350
2350
|
targetHistoryId?: string | null | undefined;
|
|
@@ -2394,15 +2394,15 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2394
2394
|
}, "strip", z.ZodTypeAny, {
|
|
2395
2395
|
path: string;
|
|
2396
2396
|
id: string;
|
|
2397
|
-
createdAt: Date;
|
|
2398
2397
|
userId: number;
|
|
2398
|
+
createdAt: Date;
|
|
2399
2399
|
signedUrl: string;
|
|
2400
2400
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2401
2401
|
}, {
|
|
2402
2402
|
path: string;
|
|
2403
2403
|
id: string;
|
|
2404
|
-
createdAt: Date;
|
|
2405
2404
|
userId: number;
|
|
2405
|
+
createdAt: Date;
|
|
2406
2406
|
signedUrl: string;
|
|
2407
2407
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2408
2408
|
}>>>;
|
|
@@ -2413,9 +2413,9 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2413
2413
|
phoneNumberRequiredAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2414
2414
|
}, "strip", z.ZodTypeAny, {
|
|
2415
2415
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
2416
|
-
name: string;
|
|
2417
|
-
userId: number;
|
|
2418
2416
|
accountId: string;
|
|
2417
|
+
userId: number;
|
|
2418
|
+
name: string;
|
|
2419
2419
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2420
2420
|
locale?: string | null | undefined;
|
|
2421
2421
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -2434,8 +2434,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2434
2434
|
profilePicture?: {
|
|
2435
2435
|
path: string;
|
|
2436
2436
|
id: string;
|
|
2437
|
-
createdAt: Date;
|
|
2438
2437
|
userId: number;
|
|
2438
|
+
createdAt: Date;
|
|
2439
2439
|
signedUrl: string;
|
|
2440
2440
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2441
2441
|
} | null | undefined;
|
|
@@ -2443,9 +2443,9 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2443
2443
|
walletActivationRequiredAt?: Date | null | undefined;
|
|
2444
2444
|
phoneNumberRequiredAt?: Date | null | undefined;
|
|
2445
2445
|
}, {
|
|
2446
|
-
name: string;
|
|
2447
|
-
userId: number;
|
|
2448
2446
|
accountId: string;
|
|
2447
|
+
userId: number;
|
|
2448
|
+
name: string;
|
|
2449
2449
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2450
2450
|
status?: unknown;
|
|
2451
2451
|
locale?: string | null | undefined;
|
|
@@ -2465,8 +2465,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2465
2465
|
profilePicture?: {
|
|
2466
2466
|
path: string;
|
|
2467
2467
|
id: string;
|
|
2468
|
-
createdAt: Date;
|
|
2469
2468
|
userId: number;
|
|
2469
|
+
createdAt: Date;
|
|
2470
2470
|
signedUrl: string;
|
|
2471
2471
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2472
2472
|
} | null | undefined;
|
|
@@ -2485,8 +2485,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2485
2485
|
}, "strip", z.ZodTypeAny, {
|
|
2486
2486
|
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
2487
2487
|
id: string;
|
|
2488
|
-
createdAt: Date;
|
|
2489
2488
|
accountId: string;
|
|
2489
|
+
createdAt: Date;
|
|
2490
2490
|
itemId: number;
|
|
2491
2491
|
platformId: string;
|
|
2492
2492
|
platformUrl: string;
|
|
@@ -2500,9 +2500,9 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2500
2500
|
favoritesCount?: number | null | undefined;
|
|
2501
2501
|
account?: {
|
|
2502
2502
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
2503
|
-
name: string;
|
|
2504
|
-
userId: number;
|
|
2505
2503
|
accountId: string;
|
|
2504
|
+
userId: number;
|
|
2505
|
+
name: string;
|
|
2506
2506
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2507
2507
|
locale?: string | null | undefined;
|
|
2508
2508
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -2521,8 +2521,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2521
2521
|
profilePicture?: {
|
|
2522
2522
|
path: string;
|
|
2523
2523
|
id: string;
|
|
2524
|
-
createdAt: Date;
|
|
2525
2524
|
userId: number;
|
|
2525
|
+
createdAt: Date;
|
|
2526
2526
|
signedUrl: string;
|
|
2527
2527
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2528
2528
|
} | null | undefined;
|
|
@@ -2535,8 +2535,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2535
2535
|
isBoosted?: boolean | null | undefined;
|
|
2536
2536
|
}, {
|
|
2537
2537
|
id: string;
|
|
2538
|
-
createdAt: Date;
|
|
2539
2538
|
accountId: string;
|
|
2539
|
+
createdAt: Date;
|
|
2540
2540
|
itemId: number;
|
|
2541
2541
|
platformId: string;
|
|
2542
2542
|
platformUrl: string;
|
|
@@ -2550,9 +2550,9 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2550
2550
|
viewsCount?: number | null | undefined;
|
|
2551
2551
|
favoritesCount?: number | null | undefined;
|
|
2552
2552
|
account?: {
|
|
2553
|
-
name: string;
|
|
2554
|
-
userId: number;
|
|
2555
2553
|
accountId: string;
|
|
2554
|
+
userId: number;
|
|
2555
|
+
name: string;
|
|
2556
2556
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2557
2557
|
status?: unknown;
|
|
2558
2558
|
locale?: string | null | undefined;
|
|
@@ -2572,8 +2572,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2572
2572
|
profilePicture?: {
|
|
2573
2573
|
path: string;
|
|
2574
2574
|
id: string;
|
|
2575
|
-
createdAt: Date;
|
|
2576
2575
|
userId: number;
|
|
2576
|
+
createdAt: Date;
|
|
2577
2577
|
signedUrl: string;
|
|
2578
2578
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2579
2579
|
} | null | undefined;
|
|
@@ -2588,7 +2588,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2588
2588
|
actions: z.ZodObject<{
|
|
2589
2589
|
perAccount: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodCatch<z.ZodEnum<["PUBLISH", "PUBLISH_CANCEL", "REPUBLISH", "REPUBLISH_CANCEL", "UPDATE", "UPDATE_CANCEL", "BOOST", "UNKNOWN"]>>, "many">>;
|
|
2590
2590
|
}, "strip", z.ZodTypeAny, {
|
|
2591
|
-
perAccount: Record<string, ("
|
|
2591
|
+
perAccount: Record<string, ("PUBLISH" | "REPUBLISH" | "UPDATE" | "UNKNOWN" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE_CANCEL" | "BOOST")[]>;
|
|
2592
2592
|
}, {
|
|
2593
2593
|
perAccount: Record<string, unknown[]>;
|
|
2594
2594
|
}>;
|
|
@@ -2613,15 +2613,15 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2613
2613
|
}, "strip", z.ZodTypeAny, {
|
|
2614
2614
|
path: string;
|
|
2615
2615
|
id: string;
|
|
2616
|
-
createdAt: Date;
|
|
2617
2616
|
userId: number;
|
|
2617
|
+
createdAt: Date;
|
|
2618
2618
|
signedUrl: string;
|
|
2619
2619
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2620
2620
|
}, {
|
|
2621
2621
|
path: string;
|
|
2622
2622
|
id: string;
|
|
2623
|
-
createdAt: Date;
|
|
2624
2623
|
userId: number;
|
|
2624
|
+
createdAt: Date;
|
|
2625
2625
|
signedUrl: string;
|
|
2626
2626
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2627
2627
|
}>>>;
|
|
@@ -2635,15 +2635,15 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2635
2635
|
}, "strip", z.ZodTypeAny, {
|
|
2636
2636
|
path: string;
|
|
2637
2637
|
id: string;
|
|
2638
|
-
createdAt: Date;
|
|
2639
2638
|
userId: number;
|
|
2639
|
+
createdAt: Date;
|
|
2640
2640
|
signedUrl: string;
|
|
2641
2641
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2642
2642
|
}, {
|
|
2643
2643
|
path: string;
|
|
2644
2644
|
id: string;
|
|
2645
|
-
createdAt: Date;
|
|
2646
2645
|
userId: number;
|
|
2646
|
+
createdAt: Date;
|
|
2647
2647
|
signedUrl: string;
|
|
2648
2648
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2649
2649
|
}>>>;
|
|
@@ -2657,81 +2657,81 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2657
2657
|
}, "strip", z.ZodTypeAny, {
|
|
2658
2658
|
path: string;
|
|
2659
2659
|
id: string;
|
|
2660
|
-
createdAt: Date;
|
|
2661
2660
|
userId: number;
|
|
2661
|
+
createdAt: Date;
|
|
2662
2662
|
signedUrl: string;
|
|
2663
2663
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2664
2664
|
}, {
|
|
2665
2665
|
path: string;
|
|
2666
2666
|
id: string;
|
|
2667
|
-
createdAt: Date;
|
|
2668
2667
|
userId: number;
|
|
2668
|
+
createdAt: Date;
|
|
2669
2669
|
signedUrl: string;
|
|
2670
2670
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2671
2671
|
}>>>;
|
|
2672
2672
|
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"]>>>>;
|
|
2673
2673
|
}, "strip", z.ZodTypeAny, {
|
|
2674
2674
|
id: string;
|
|
2675
|
-
fileId: string;
|
|
2676
2675
|
orderId: string;
|
|
2676
|
+
fileId: string;
|
|
2677
2677
|
nonCroppedFileId: string;
|
|
2678
2678
|
originalFileId: string;
|
|
2679
|
-
|
|
2679
|
+
file?: {
|
|
2680
2680
|
path: string;
|
|
2681
2681
|
id: string;
|
|
2682
|
-
createdAt: Date;
|
|
2683
2682
|
userId: number;
|
|
2683
|
+
createdAt: Date;
|
|
2684
2684
|
signedUrl: string;
|
|
2685
2685
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2686
2686
|
} | null | undefined;
|
|
2687
|
-
|
|
2688
|
-
file?: {
|
|
2687
|
+
nonCroppedFile?: {
|
|
2689
2688
|
path: string;
|
|
2690
2689
|
id: string;
|
|
2691
|
-
createdAt: Date;
|
|
2692
2690
|
userId: number;
|
|
2691
|
+
createdAt: Date;
|
|
2693
2692
|
signedUrl: string;
|
|
2694
2693
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2695
2694
|
} | null | undefined;
|
|
2696
|
-
|
|
2695
|
+
originalFile?: {
|
|
2697
2696
|
path: string;
|
|
2698
2697
|
id: string;
|
|
2699
|
-
createdAt: Date;
|
|
2700
2698
|
userId: number;
|
|
2699
|
+
createdAt: Date;
|
|
2701
2700
|
signedUrl: string;
|
|
2702
2701
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2703
2702
|
} | null | undefined;
|
|
2703
|
+
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;
|
|
2704
2704
|
}, {
|
|
2705
2705
|
id: string;
|
|
2706
|
-
fileId: string;
|
|
2707
2706
|
orderId: string;
|
|
2707
|
+
fileId: string;
|
|
2708
2708
|
nonCroppedFileId: string;
|
|
2709
2709
|
originalFileId: string;
|
|
2710
|
-
|
|
2710
|
+
file?: {
|
|
2711
2711
|
path: string;
|
|
2712
2712
|
id: string;
|
|
2713
|
-
createdAt: Date;
|
|
2714
2713
|
userId: number;
|
|
2714
|
+
createdAt: Date;
|
|
2715
2715
|
signedUrl: string;
|
|
2716
2716
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2717
2717
|
} | null | undefined;
|
|
2718
|
-
|
|
2719
|
-
file?: {
|
|
2718
|
+
nonCroppedFile?: {
|
|
2720
2719
|
path: string;
|
|
2721
2720
|
id: string;
|
|
2722
|
-
createdAt: Date;
|
|
2723
2721
|
userId: number;
|
|
2722
|
+
createdAt: Date;
|
|
2724
2723
|
signedUrl: string;
|
|
2725
2724
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2726
2725
|
} | null | undefined;
|
|
2727
|
-
|
|
2726
|
+
originalFile?: {
|
|
2728
2727
|
path: string;
|
|
2729
2728
|
id: string;
|
|
2730
|
-
createdAt: Date;
|
|
2731
2729
|
userId: number;
|
|
2730
|
+
createdAt: Date;
|
|
2732
2731
|
signedUrl: string;
|
|
2733
2732
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2734
2733
|
} | null | undefined;
|
|
2734
|
+
carrier?: unknown;
|
|
2735
2735
|
}>, "many">>>;
|
|
2736
2736
|
invoices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2737
2737
|
id: z.ZodString;
|
|
@@ -2758,15 +2758,15 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2758
2758
|
}, "strip", z.ZodTypeAny, {
|
|
2759
2759
|
path: string;
|
|
2760
2760
|
id: string;
|
|
2761
|
-
createdAt: Date;
|
|
2762
2761
|
userId: number;
|
|
2762
|
+
createdAt: Date;
|
|
2763
2763
|
signedUrl: string;
|
|
2764
2764
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2765
2765
|
}, {
|
|
2766
2766
|
path: string;
|
|
2767
2767
|
id: string;
|
|
2768
|
-
createdAt: Date;
|
|
2769
2768
|
userId: number;
|
|
2769
|
+
createdAt: Date;
|
|
2770
2770
|
signedUrl: string;
|
|
2771
2771
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2772
2772
|
}>>>;
|
|
@@ -2776,8 +2776,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2776
2776
|
vatRegime: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["MARGIN", "FRANCHISE", "NORMAL", "UNKNOWN"]>>>>;
|
|
2777
2777
|
}, "strip", z.ZodTypeAny, {
|
|
2778
2778
|
id: string;
|
|
2779
|
-
createdAt: Date;
|
|
2780
2779
|
userId: number;
|
|
2780
|
+
createdAt: Date;
|
|
2781
2781
|
updatedAt: Date;
|
|
2782
2782
|
businessName: string;
|
|
2783
2783
|
address: string;
|
|
@@ -2790,16 +2790,16 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2790
2790
|
logo?: {
|
|
2791
2791
|
path: string;
|
|
2792
2792
|
id: string;
|
|
2793
|
-
createdAt: Date;
|
|
2794
2793
|
userId: number;
|
|
2794
|
+
createdAt: Date;
|
|
2795
2795
|
signedUrl: string;
|
|
2796
2796
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2797
2797
|
} | null | undefined;
|
|
2798
2798
|
vatRegime?: "UNKNOWN" | "MARGIN" | "FRANCHISE" | "NORMAL" | null | undefined;
|
|
2799
2799
|
}, {
|
|
2800
2800
|
id: string;
|
|
2801
|
-
createdAt: Date;
|
|
2802
2801
|
userId: number;
|
|
2802
|
+
createdAt: Date;
|
|
2803
2803
|
updatedAt: Date;
|
|
2804
2804
|
businessName: string;
|
|
2805
2805
|
address: string;
|
|
@@ -2812,8 +2812,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2812
2812
|
logo?: {
|
|
2813
2813
|
path: string;
|
|
2814
2814
|
id: string;
|
|
2815
|
-
createdAt: Date;
|
|
2816
2815
|
userId: number;
|
|
2816
|
+
createdAt: Date;
|
|
2817
2817
|
signedUrl: string;
|
|
2818
2818
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2819
2819
|
} | null | undefined;
|
|
@@ -2843,34 +2843,34 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2843
2843
|
firstName: string;
|
|
2844
2844
|
lastName: string;
|
|
2845
2845
|
phoneVerified: boolean;
|
|
2846
|
-
|
|
2846
|
+
postalCode?: string | null | undefined;
|
|
2847
|
+
city?: string | null | undefined;
|
|
2848
|
+
country?: string | null | undefined;
|
|
2847
2849
|
email?: string | null | undefined;
|
|
2850
|
+
addressLine1?: string | null | undefined;
|
|
2851
|
+
addressLine2?: string | null | undefined;
|
|
2852
|
+
birthDate?: Date | null | undefined;
|
|
2848
2853
|
idNumber?: string | null | undefined;
|
|
2849
2854
|
phone?: string | null | undefined;
|
|
2850
2855
|
iban?: string | null | undefined;
|
|
2851
2856
|
bic?: string | null | undefined;
|
|
2852
|
-
addressLine1?: string | null | undefined;
|
|
2853
|
-
addressLine2?: string | null | undefined;
|
|
2854
|
-
city?: string | null | undefined;
|
|
2855
|
-
postalCode?: string | null | undefined;
|
|
2856
|
-
country?: string | null | undefined;
|
|
2857
2857
|
}, {
|
|
2858
2858
|
id: string;
|
|
2859
2859
|
userId: number;
|
|
2860
2860
|
firstName: string;
|
|
2861
2861
|
lastName: string;
|
|
2862
2862
|
phoneVerified: boolean;
|
|
2863
|
-
|
|
2863
|
+
postalCode?: string | null | undefined;
|
|
2864
|
+
city?: string | null | undefined;
|
|
2865
|
+
country?: string | null | undefined;
|
|
2864
2866
|
email?: string | null | undefined;
|
|
2867
|
+
addressLine1?: string | null | undefined;
|
|
2868
|
+
addressLine2?: string | null | undefined;
|
|
2869
|
+
birthDate?: Date | null | undefined;
|
|
2865
2870
|
idNumber?: string | null | undefined;
|
|
2866
2871
|
phone?: string | null | undefined;
|
|
2867
2872
|
iban?: string | null | undefined;
|
|
2868
2873
|
bic?: string | null | undefined;
|
|
2869
|
-
addressLine1?: string | null | undefined;
|
|
2870
|
-
addressLine2?: string | null | undefined;
|
|
2871
|
-
city?: string | null | undefined;
|
|
2872
|
-
postalCode?: string | null | undefined;
|
|
2873
|
-
country?: string | null | undefined;
|
|
2874
2874
|
}>>>;
|
|
2875
2875
|
orderId: z.ZodString;
|
|
2876
2876
|
fileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2884,15 +2884,15 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2884
2884
|
}, "strip", z.ZodTypeAny, {
|
|
2885
2885
|
path: string;
|
|
2886
2886
|
id: string;
|
|
2887
|
-
createdAt: Date;
|
|
2888
2887
|
userId: number;
|
|
2888
|
+
createdAt: Date;
|
|
2889
2889
|
signedUrl: string;
|
|
2890
2890
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2891
2891
|
}, {
|
|
2892
2892
|
path: string;
|
|
2893
2893
|
id: string;
|
|
2894
|
-
createdAt: Date;
|
|
2895
2894
|
userId: number;
|
|
2895
|
+
createdAt: Date;
|
|
2896
2896
|
signedUrl: string;
|
|
2897
2897
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2898
2898
|
}>>>;
|
|
@@ -2917,21 +2917,21 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2917
2917
|
total: z.ZodNumber;
|
|
2918
2918
|
createdAt: z.ZodDate;
|
|
2919
2919
|
}, "strip", z.ZodTypeAny, {
|
|
2920
|
-
|
|
2920
|
+
quantity: number;
|
|
2921
2921
|
id: number;
|
|
2922
|
+
description: string;
|
|
2922
2923
|
createdAt: Date;
|
|
2923
2924
|
invoiceId: string;
|
|
2924
|
-
quantity: number;
|
|
2925
2925
|
unitPrice: number;
|
|
2926
2926
|
total: number;
|
|
2927
2927
|
itemOnPlatformId?: string | null | undefined;
|
|
2928
2928
|
vatRate?: number | null | undefined;
|
|
2929
2929
|
}, {
|
|
2930
|
-
|
|
2930
|
+
quantity: number;
|
|
2931
2931
|
id: number;
|
|
2932
|
+
description: string;
|
|
2932
2933
|
createdAt: Date;
|
|
2933
2934
|
invoiceId: string;
|
|
2934
|
-
quantity: number;
|
|
2935
2935
|
unitPrice: number;
|
|
2936
2936
|
total: number;
|
|
2937
2937
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -2943,8 +2943,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2943
2943
|
type: "SALE" | "PURCHASE";
|
|
2944
2944
|
status: string;
|
|
2945
2945
|
id: string;
|
|
2946
|
-
createdAt: Date;
|
|
2947
2946
|
userId: number;
|
|
2947
|
+
createdAt: Date;
|
|
2948
2948
|
currency: string;
|
|
2949
2949
|
orderId: string;
|
|
2950
2950
|
updatedAt: Date;
|
|
@@ -2953,21 +2953,21 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2953
2953
|
businessProfileId: string;
|
|
2954
2954
|
issueDate: Date;
|
|
2955
2955
|
subtotal: number;
|
|
2956
|
-
fileId?: string | null | undefined;
|
|
2957
2956
|
vatAmount?: number | null | undefined;
|
|
2957
|
+
fileId?: string | null | undefined;
|
|
2958
2958
|
file?: {
|
|
2959
2959
|
path: string;
|
|
2960
2960
|
id: string;
|
|
2961
|
-
createdAt: Date;
|
|
2962
2961
|
userId: number;
|
|
2962
|
+
createdAt: Date;
|
|
2963
2963
|
signedUrl: string;
|
|
2964
2964
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2965
2965
|
} | null | undefined;
|
|
2966
2966
|
vatRate?: number | null | undefined;
|
|
2967
2967
|
businessProfile?: {
|
|
2968
2968
|
id: string;
|
|
2969
|
-
createdAt: Date;
|
|
2970
2969
|
userId: number;
|
|
2970
|
+
createdAt: Date;
|
|
2971
2971
|
updatedAt: Date;
|
|
2972
2972
|
businessName: string;
|
|
2973
2973
|
address: string;
|
|
@@ -2980,8 +2980,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2980
2980
|
logo?: {
|
|
2981
2981
|
path: string;
|
|
2982
2982
|
id: string;
|
|
2983
|
-
createdAt: Date;
|
|
2984
2983
|
userId: number;
|
|
2984
|
+
createdAt: Date;
|
|
2985
2985
|
signedUrl: string;
|
|
2986
2986
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2987
2987
|
} | null | undefined;
|
|
@@ -2994,26 +2994,26 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2994
2994
|
firstName: string;
|
|
2995
2995
|
lastName: string;
|
|
2996
2996
|
phoneVerified: boolean;
|
|
2997
|
-
|
|
2997
|
+
postalCode?: string | null | undefined;
|
|
2998
|
+
city?: string | null | undefined;
|
|
2999
|
+
country?: string | null | undefined;
|
|
2998
3000
|
email?: string | null | undefined;
|
|
3001
|
+
addressLine1?: string | null | undefined;
|
|
3002
|
+
addressLine2?: string | null | undefined;
|
|
3003
|
+
birthDate?: Date | null | undefined;
|
|
2999
3004
|
idNumber?: string | null | undefined;
|
|
3000
3005
|
phone?: string | null | undefined;
|
|
3001
3006
|
iban?: string | null | undefined;
|
|
3002
3007
|
bic?: string | null | undefined;
|
|
3003
|
-
addressLine1?: string | null | undefined;
|
|
3004
|
-
addressLine2?: string | null | undefined;
|
|
3005
|
-
city?: string | null | undefined;
|
|
3006
|
-
postalCode?: string | null | undefined;
|
|
3007
|
-
country?: string | null | undefined;
|
|
3008
3008
|
} | null | undefined;
|
|
3009
3009
|
dueDate?: Date | null | undefined;
|
|
3010
3010
|
notes?: string | null | undefined;
|
|
3011
3011
|
lineItems?: {
|
|
3012
|
-
|
|
3012
|
+
quantity: number;
|
|
3013
3013
|
id: number;
|
|
3014
|
+
description: string;
|
|
3014
3015
|
createdAt: Date;
|
|
3015
3016
|
invoiceId: string;
|
|
3016
|
-
quantity: number;
|
|
3017
3017
|
unitPrice: number;
|
|
3018
3018
|
total: number;
|
|
3019
3019
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3023,8 +3023,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3023
3023
|
type: "SALE" | "PURCHASE";
|
|
3024
3024
|
status: string;
|
|
3025
3025
|
id: string;
|
|
3026
|
-
createdAt: Date;
|
|
3027
3026
|
userId: number;
|
|
3027
|
+
createdAt: Date;
|
|
3028
3028
|
currency: string;
|
|
3029
3029
|
orderId: string;
|
|
3030
3030
|
updatedAt: Date;
|
|
@@ -3033,21 +3033,21 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3033
3033
|
businessProfileId: string;
|
|
3034
3034
|
issueDate: Date;
|
|
3035
3035
|
subtotal: number;
|
|
3036
|
-
fileId?: string | null | undefined;
|
|
3037
3036
|
vatAmount?: number | null | undefined;
|
|
3037
|
+
fileId?: string | null | undefined;
|
|
3038
3038
|
file?: {
|
|
3039
3039
|
path: string;
|
|
3040
3040
|
id: string;
|
|
3041
|
-
createdAt: Date;
|
|
3042
3041
|
userId: number;
|
|
3042
|
+
createdAt: Date;
|
|
3043
3043
|
signedUrl: string;
|
|
3044
3044
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3045
3045
|
} | null | undefined;
|
|
3046
3046
|
vatRate?: number | null | undefined;
|
|
3047
3047
|
businessProfile?: {
|
|
3048
3048
|
id: string;
|
|
3049
|
-
createdAt: Date;
|
|
3050
3049
|
userId: number;
|
|
3050
|
+
createdAt: Date;
|
|
3051
3051
|
updatedAt: Date;
|
|
3052
3052
|
businessName: string;
|
|
3053
3053
|
address: string;
|
|
@@ -3060,8 +3060,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3060
3060
|
logo?: {
|
|
3061
3061
|
path: string;
|
|
3062
3062
|
id: string;
|
|
3063
|
-
createdAt: Date;
|
|
3064
3063
|
userId: number;
|
|
3064
|
+
createdAt: Date;
|
|
3065
3065
|
signedUrl: string;
|
|
3066
3066
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3067
3067
|
} | null | undefined;
|
|
@@ -3074,26 +3074,26 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3074
3074
|
firstName: string;
|
|
3075
3075
|
lastName: string;
|
|
3076
3076
|
phoneVerified: boolean;
|
|
3077
|
-
|
|
3077
|
+
postalCode?: string | null | undefined;
|
|
3078
|
+
city?: string | null | undefined;
|
|
3079
|
+
country?: string | null | undefined;
|
|
3078
3080
|
email?: string | null | undefined;
|
|
3081
|
+
addressLine1?: string | null | undefined;
|
|
3082
|
+
addressLine2?: string | null | undefined;
|
|
3083
|
+
birthDate?: Date | null | undefined;
|
|
3079
3084
|
idNumber?: string | null | undefined;
|
|
3080
3085
|
phone?: string | null | undefined;
|
|
3081
3086
|
iban?: string | null | undefined;
|
|
3082
3087
|
bic?: string | null | undefined;
|
|
3083
|
-
addressLine1?: string | null | undefined;
|
|
3084
|
-
addressLine2?: string | null | undefined;
|
|
3085
|
-
city?: string | null | undefined;
|
|
3086
|
-
postalCode?: string | null | undefined;
|
|
3087
|
-
country?: string | null | undefined;
|
|
3088
3088
|
} | null | undefined;
|
|
3089
3089
|
dueDate?: Date | null | undefined;
|
|
3090
3090
|
notes?: string | null | undefined;
|
|
3091
3091
|
lineItems?: {
|
|
3092
|
-
|
|
3092
|
+
quantity: number;
|
|
3093
3093
|
id: number;
|
|
3094
|
+
description: string;
|
|
3094
3095
|
createdAt: Date;
|
|
3095
3096
|
invoiceId: string;
|
|
3096
|
-
quantity: number;
|
|
3097
3097
|
unitPrice: number;
|
|
3098
3098
|
total: number;
|
|
3099
3099
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3104,42 +3104,42 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3104
3104
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
3105
3105
|
labels?: {
|
|
3106
3106
|
id: string;
|
|
3107
|
-
fileId: string;
|
|
3108
3107
|
orderId: string;
|
|
3108
|
+
fileId: string;
|
|
3109
3109
|
nonCroppedFileId: string;
|
|
3110
3110
|
originalFileId: string;
|
|
3111
|
-
|
|
3111
|
+
file?: {
|
|
3112
3112
|
path: string;
|
|
3113
3113
|
id: string;
|
|
3114
|
-
createdAt: Date;
|
|
3115
3114
|
userId: number;
|
|
3115
|
+
createdAt: Date;
|
|
3116
3116
|
signedUrl: string;
|
|
3117
3117
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3118
3118
|
} | null | undefined;
|
|
3119
|
-
|
|
3120
|
-
file?: {
|
|
3119
|
+
nonCroppedFile?: {
|
|
3121
3120
|
path: string;
|
|
3122
3121
|
id: string;
|
|
3123
|
-
createdAt: Date;
|
|
3124
3122
|
userId: number;
|
|
3123
|
+
createdAt: Date;
|
|
3125
3124
|
signedUrl: string;
|
|
3126
3125
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3127
3126
|
} | null | undefined;
|
|
3128
|
-
|
|
3127
|
+
originalFile?: {
|
|
3129
3128
|
path: string;
|
|
3130
3129
|
id: string;
|
|
3131
|
-
createdAt: Date;
|
|
3132
3130
|
userId: number;
|
|
3131
|
+
createdAt: Date;
|
|
3133
3132
|
signedUrl: string;
|
|
3134
3133
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3135
3134
|
} | null | undefined;
|
|
3135
|
+
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;
|
|
3136
3136
|
}[] | null | undefined;
|
|
3137
3137
|
invoices?: {
|
|
3138
3138
|
type: "SALE" | "PURCHASE";
|
|
3139
3139
|
status: string;
|
|
3140
3140
|
id: string;
|
|
3141
|
-
createdAt: Date;
|
|
3142
3141
|
userId: number;
|
|
3142
|
+
createdAt: Date;
|
|
3143
3143
|
currency: string;
|
|
3144
3144
|
orderId: string;
|
|
3145
3145
|
updatedAt: Date;
|
|
@@ -3148,21 +3148,21 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3148
3148
|
businessProfileId: string;
|
|
3149
3149
|
issueDate: Date;
|
|
3150
3150
|
subtotal: number;
|
|
3151
|
-
fileId?: string | null | undefined;
|
|
3152
3151
|
vatAmount?: number | null | undefined;
|
|
3152
|
+
fileId?: string | null | undefined;
|
|
3153
3153
|
file?: {
|
|
3154
3154
|
path: string;
|
|
3155
3155
|
id: string;
|
|
3156
|
-
createdAt: Date;
|
|
3157
3156
|
userId: number;
|
|
3157
|
+
createdAt: Date;
|
|
3158
3158
|
signedUrl: string;
|
|
3159
3159
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3160
3160
|
} | null | undefined;
|
|
3161
3161
|
vatRate?: number | null | undefined;
|
|
3162
3162
|
businessProfile?: {
|
|
3163
3163
|
id: string;
|
|
3164
|
-
createdAt: Date;
|
|
3165
3164
|
userId: number;
|
|
3165
|
+
createdAt: Date;
|
|
3166
3166
|
updatedAt: Date;
|
|
3167
3167
|
businessName: string;
|
|
3168
3168
|
address: string;
|
|
@@ -3175,8 +3175,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3175
3175
|
logo?: {
|
|
3176
3176
|
path: string;
|
|
3177
3177
|
id: string;
|
|
3178
|
-
createdAt: Date;
|
|
3179
3178
|
userId: number;
|
|
3179
|
+
createdAt: Date;
|
|
3180
3180
|
signedUrl: string;
|
|
3181
3181
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3182
3182
|
} | null | undefined;
|
|
@@ -3189,26 +3189,26 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3189
3189
|
firstName: string;
|
|
3190
3190
|
lastName: string;
|
|
3191
3191
|
phoneVerified: boolean;
|
|
3192
|
-
|
|
3192
|
+
postalCode?: string | null | undefined;
|
|
3193
|
+
city?: string | null | undefined;
|
|
3194
|
+
country?: string | null | undefined;
|
|
3193
3195
|
email?: string | null | undefined;
|
|
3196
|
+
addressLine1?: string | null | undefined;
|
|
3197
|
+
addressLine2?: string | null | undefined;
|
|
3198
|
+
birthDate?: Date | null | undefined;
|
|
3194
3199
|
idNumber?: string | null | undefined;
|
|
3195
3200
|
phone?: string | null | undefined;
|
|
3196
3201
|
iban?: string | null | undefined;
|
|
3197
3202
|
bic?: string | null | undefined;
|
|
3198
|
-
addressLine1?: string | null | undefined;
|
|
3199
|
-
addressLine2?: string | null | undefined;
|
|
3200
|
-
city?: string | null | undefined;
|
|
3201
|
-
postalCode?: string | null | undefined;
|
|
3202
|
-
country?: string | null | undefined;
|
|
3203
3203
|
} | null | undefined;
|
|
3204
3204
|
dueDate?: Date | null | undefined;
|
|
3205
3205
|
notes?: string | null | undefined;
|
|
3206
3206
|
lineItems?: {
|
|
3207
|
-
|
|
3207
|
+
quantity: number;
|
|
3208
3208
|
id: number;
|
|
3209
|
+
description: string;
|
|
3209
3210
|
createdAt: Date;
|
|
3210
3211
|
invoiceId: string;
|
|
3211
|
-
quantity: number;
|
|
3212
3212
|
unitPrice: number;
|
|
3213
3213
|
total: number;
|
|
3214
3214
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3219,42 +3219,42 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3219
3219
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
3220
3220
|
labels?: {
|
|
3221
3221
|
id: string;
|
|
3222
|
-
fileId: string;
|
|
3223
3222
|
orderId: string;
|
|
3223
|
+
fileId: string;
|
|
3224
3224
|
nonCroppedFileId: string;
|
|
3225
3225
|
originalFileId: string;
|
|
3226
|
-
|
|
3226
|
+
file?: {
|
|
3227
3227
|
path: string;
|
|
3228
3228
|
id: string;
|
|
3229
|
-
createdAt: Date;
|
|
3230
3229
|
userId: number;
|
|
3230
|
+
createdAt: Date;
|
|
3231
3231
|
signedUrl: string;
|
|
3232
3232
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3233
3233
|
} | null | undefined;
|
|
3234
|
-
|
|
3235
|
-
file?: {
|
|
3234
|
+
nonCroppedFile?: {
|
|
3236
3235
|
path: string;
|
|
3237
3236
|
id: string;
|
|
3238
|
-
createdAt: Date;
|
|
3239
3237
|
userId: number;
|
|
3238
|
+
createdAt: Date;
|
|
3240
3239
|
signedUrl: string;
|
|
3241
3240
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3242
3241
|
} | null | undefined;
|
|
3243
|
-
|
|
3242
|
+
originalFile?: {
|
|
3244
3243
|
path: string;
|
|
3245
3244
|
id: string;
|
|
3246
|
-
createdAt: Date;
|
|
3247
3245
|
userId: number;
|
|
3246
|
+
createdAt: Date;
|
|
3248
3247
|
signedUrl: string;
|
|
3249
3248
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3250
3249
|
} | null | undefined;
|
|
3250
|
+
carrier?: unknown;
|
|
3251
3251
|
}[] | null | undefined;
|
|
3252
3252
|
invoices?: {
|
|
3253
3253
|
type: "SALE" | "PURCHASE";
|
|
3254
3254
|
status: string;
|
|
3255
3255
|
id: string;
|
|
3256
|
-
createdAt: Date;
|
|
3257
3256
|
userId: number;
|
|
3257
|
+
createdAt: Date;
|
|
3258
3258
|
currency: string;
|
|
3259
3259
|
orderId: string;
|
|
3260
3260
|
updatedAt: Date;
|
|
@@ -3263,21 +3263,21 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3263
3263
|
businessProfileId: string;
|
|
3264
3264
|
issueDate: Date;
|
|
3265
3265
|
subtotal: number;
|
|
3266
|
-
fileId?: string | null | undefined;
|
|
3267
3266
|
vatAmount?: number | null | undefined;
|
|
3267
|
+
fileId?: string | null | undefined;
|
|
3268
3268
|
file?: {
|
|
3269
3269
|
path: string;
|
|
3270
3270
|
id: string;
|
|
3271
|
-
createdAt: Date;
|
|
3272
3271
|
userId: number;
|
|
3272
|
+
createdAt: Date;
|
|
3273
3273
|
signedUrl: string;
|
|
3274
3274
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3275
3275
|
} | null | undefined;
|
|
3276
3276
|
vatRate?: number | null | undefined;
|
|
3277
3277
|
businessProfile?: {
|
|
3278
3278
|
id: string;
|
|
3279
|
-
createdAt: Date;
|
|
3280
3279
|
userId: number;
|
|
3280
|
+
createdAt: Date;
|
|
3281
3281
|
updatedAt: Date;
|
|
3282
3282
|
businessName: string;
|
|
3283
3283
|
address: string;
|
|
@@ -3290,8 +3290,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3290
3290
|
logo?: {
|
|
3291
3291
|
path: string;
|
|
3292
3292
|
id: string;
|
|
3293
|
-
createdAt: Date;
|
|
3294
3293
|
userId: number;
|
|
3294
|
+
createdAt: Date;
|
|
3295
3295
|
signedUrl: string;
|
|
3296
3296
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3297
3297
|
} | null | undefined;
|
|
@@ -3304,26 +3304,26 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3304
3304
|
firstName: string;
|
|
3305
3305
|
lastName: string;
|
|
3306
3306
|
phoneVerified: boolean;
|
|
3307
|
-
|
|
3307
|
+
postalCode?: string | null | undefined;
|
|
3308
|
+
city?: string | null | undefined;
|
|
3309
|
+
country?: string | null | undefined;
|
|
3308
3310
|
email?: string | null | undefined;
|
|
3311
|
+
addressLine1?: string | null | undefined;
|
|
3312
|
+
addressLine2?: string | null | undefined;
|
|
3313
|
+
birthDate?: Date | null | undefined;
|
|
3309
3314
|
idNumber?: string | null | undefined;
|
|
3310
3315
|
phone?: string | null | undefined;
|
|
3311
3316
|
iban?: string | null | undefined;
|
|
3312
3317
|
bic?: string | null | undefined;
|
|
3313
|
-
addressLine1?: string | null | undefined;
|
|
3314
|
-
addressLine2?: string | null | undefined;
|
|
3315
|
-
city?: string | null | undefined;
|
|
3316
|
-
postalCode?: string | null | undefined;
|
|
3317
|
-
country?: string | null | undefined;
|
|
3318
3318
|
} | null | undefined;
|
|
3319
3319
|
dueDate?: Date | null | undefined;
|
|
3320
3320
|
notes?: string | null | undefined;
|
|
3321
3321
|
lineItems?: {
|
|
3322
|
-
|
|
3322
|
+
quantity: number;
|
|
3323
3323
|
id: number;
|
|
3324
|
+
description: string;
|
|
3324
3325
|
createdAt: Date;
|
|
3325
3326
|
invoiceId: string;
|
|
3326
|
-
quantity: number;
|
|
3327
3327
|
unitPrice: number;
|
|
3328
3328
|
total: number;
|
|
3329
3329
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3333,45 +3333,29 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3333
3333
|
}>>>;
|
|
3334
3334
|
analysisStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "COMPLETED", "FAILED"]>>>;
|
|
3335
3335
|
}, "strip", z.ZodTypeAny, {
|
|
3336
|
-
actions: {
|
|
3337
|
-
perAccount: Record<string, ("REPUBLISH" | "UNKNOWN" | "PUBLISH" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE" | "UPDATE_CANCEL" | "BOOST")[]>;
|
|
3338
|
-
};
|
|
3339
|
-
name: string;
|
|
3340
3336
|
id: number;
|
|
3341
|
-
createdAt: Date;
|
|
3342
3337
|
userId: number;
|
|
3338
|
+
name: string;
|
|
3339
|
+
createdAt: Date;
|
|
3343
3340
|
updatedAt: Date;
|
|
3344
3341
|
sold: boolean;
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
name: string;
|
|
3349
|
-
id: number;
|
|
3350
|
-
createdAt: Date;
|
|
3351
|
-
userId: number;
|
|
3352
|
-
updatedAt: Date;
|
|
3353
|
-
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
3354
|
-
startDate: Date;
|
|
3355
|
-
active: boolean;
|
|
3356
|
-
description?: string | null | undefined;
|
|
3357
|
-
itemId?: number | null | undefined;
|
|
3358
|
-
endDate?: Date | null | undefined;
|
|
3359
|
-
parentFeeId?: number | null | undefined;
|
|
3360
|
-
}[] | null | undefined;
|
|
3342
|
+
actions: {
|
|
3343
|
+
perAccount: Record<string, ("PUBLISH" | "REPUBLISH" | "UPDATE" | "UNKNOWN" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE_CANCEL" | "BOOST")[]>;
|
|
3344
|
+
};
|
|
3361
3345
|
description?: string | null | undefined;
|
|
3362
3346
|
categoryId?: number | null | undefined;
|
|
3363
|
-
sizeId?: number | null | undefined;
|
|
3364
|
-
colorIds?: number[] | null | undefined;
|
|
3365
|
-
packageSizeId?: number | null | undefined;
|
|
3366
3347
|
state?: number | null | undefined;
|
|
3348
|
+
colorIds?: number[] | null | undefined;
|
|
3367
3349
|
measurementLength?: number | null | undefined;
|
|
3368
3350
|
measurementWidth?: number | null | undefined;
|
|
3351
|
+
packageSizeId?: number | null | undefined;
|
|
3352
|
+
sizeId?: number | null | undefined;
|
|
3369
3353
|
labels?: {
|
|
3370
3354
|
itemId: number;
|
|
3371
3355
|
labelId: number;
|
|
3372
3356
|
label?: {
|
|
3373
|
-
name: string;
|
|
3374
3357
|
id: number;
|
|
3358
|
+
name: string;
|
|
3375
3359
|
createdAt: Date;
|
|
3376
3360
|
isUserLabel: boolean;
|
|
3377
3361
|
itemCount?: number | null | undefined;
|
|
@@ -3384,86 +3368,50 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3384
3368
|
fieldKey: string;
|
|
3385
3369
|
}[] | null | undefined;
|
|
3386
3370
|
sku?: string | null | undefined;
|
|
3387
|
-
|
|
3388
|
-
|
|
3389
|
-
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
3390
|
-
id: string;
|
|
3391
|
-
createdAt: Date;
|
|
3392
|
-
accountId: string;
|
|
3393
|
-
itemId: number;
|
|
3394
|
-
platformId: string;
|
|
3395
|
-
platformUrl: string;
|
|
3396
|
-
platformPrice: number;
|
|
3397
|
-
updatedAt: Date;
|
|
3398
|
-
publishedAt: Date;
|
|
3399
|
-
conversationId?: string | null | undefined;
|
|
3400
|
-
boostedAt?: Date | null | undefined;
|
|
3401
|
-
boostedUntil?: Date | null | undefined;
|
|
3402
|
-
viewsCount?: number | null | undefined;
|
|
3403
|
-
favoritesCount?: number | null | undefined;
|
|
3404
|
-
account?: {
|
|
3405
|
-
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
3406
|
-
name: string;
|
|
3407
|
-
userId: number;
|
|
3408
|
-
accountId: string;
|
|
3409
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3410
|
-
locale?: string | null | undefined;
|
|
3411
|
-
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
3412
|
-
restrictedUntil?: Date | null | undefined;
|
|
3413
|
-
night?: {
|
|
3414
|
-
startsAt: Date;
|
|
3415
|
-
endsAt: Date;
|
|
3416
|
-
} | null | undefined;
|
|
3417
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
3418
|
-
ordersMaxDelay?: number | null | undefined;
|
|
3419
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
3420
|
-
walletMaxDelay?: number | null | undefined;
|
|
3421
|
-
availableBalance?: number | null | undefined;
|
|
3422
|
-
pendingBalance?: number | null | undefined;
|
|
3423
|
-
profilePictureFileId?: string | null | undefined;
|
|
3424
|
-
profilePicture?: {
|
|
3425
|
-
path: string;
|
|
3426
|
-
id: string;
|
|
3427
|
-
createdAt: Date;
|
|
3428
|
-
userId: number;
|
|
3429
|
-
signedUrl: string;
|
|
3430
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3431
|
-
} | null | undefined;
|
|
3432
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
3433
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
3434
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
3435
|
-
} | null | undefined;
|
|
3436
|
-
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;
|
|
3437
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
3438
|
-
isBoosted?: boolean | null | undefined;
|
|
3439
|
-
}[] | null | undefined;
|
|
3440
|
-
brandId?: number | null | undefined;
|
|
3441
|
-
estimatedPrice?: number | null | undefined;
|
|
3442
|
-
purchaseDate?: Date | null | undefined;
|
|
3443
|
-
sellingDate?: Date | null | undefined;
|
|
3444
|
-
fields?: {
|
|
3445
|
-
value: string;
|
|
3371
|
+
fields?: {
|
|
3372
|
+
value: string;
|
|
3446
3373
|
itemId: number;
|
|
3447
3374
|
fieldId: number;
|
|
3448
3375
|
}[] | null | undefined;
|
|
3449
3376
|
files?: {
|
|
3450
|
-
fileId: string;
|
|
3451
3377
|
itemId: number;
|
|
3378
|
+
fileId: string;
|
|
3452
3379
|
file?: {
|
|
3453
3380
|
path: string;
|
|
3454
3381
|
id: string;
|
|
3455
|
-
createdAt: Date;
|
|
3456
3382
|
userId: number;
|
|
3383
|
+
createdAt: Date;
|
|
3457
3384
|
signedUrl: string;
|
|
3458
3385
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3459
3386
|
} | null | undefined;
|
|
3460
3387
|
index?: number | null | undefined;
|
|
3461
3388
|
}[] | null | undefined;
|
|
3389
|
+
brandId?: number | null | undefined;
|
|
3390
|
+
sex?: string | null | undefined;
|
|
3462
3391
|
purchasePrice?: number | null | undefined;
|
|
3392
|
+
purchaseDate?: Date | null | undefined;
|
|
3463
3393
|
purchasePlaceId?: number | null | undefined;
|
|
3464
3394
|
purchased?: boolean | null | undefined;
|
|
3465
3395
|
sellingPrice?: number | null | undefined;
|
|
3396
|
+
sellingDate?: Date | null | undefined;
|
|
3466
3397
|
sellingPlaceId?: number | null | undefined;
|
|
3398
|
+
estimatedPrice?: number | null | undefined;
|
|
3399
|
+
fees?: {
|
|
3400
|
+
value: number;
|
|
3401
|
+
type: string;
|
|
3402
|
+
id: number;
|
|
3403
|
+
userId: number;
|
|
3404
|
+
name: string;
|
|
3405
|
+
createdAt: Date;
|
|
3406
|
+
updatedAt: Date;
|
|
3407
|
+
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
3408
|
+
startDate: Date;
|
|
3409
|
+
active: boolean;
|
|
3410
|
+
description?: string | null | undefined;
|
|
3411
|
+
itemId?: number | null | undefined;
|
|
3412
|
+
endDate?: Date | null | undefined;
|
|
3413
|
+
parentFeeId?: number | null | undefined;
|
|
3414
|
+
}[] | null | undefined;
|
|
3467
3415
|
feesSum?: number | null | undefined;
|
|
3468
3416
|
materialIds?: number[] | null | undefined;
|
|
3469
3417
|
enumValues?: {
|
|
@@ -3479,6 +3427,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3479
3427
|
id: string;
|
|
3480
3428
|
createdAt: Date;
|
|
3481
3429
|
itemId: number;
|
|
3430
|
+
accountId?: string | null | undefined;
|
|
3482
3431
|
data?: {
|
|
3483
3432
|
type: "ACTION_CANCELED";
|
|
3484
3433
|
data: {
|
|
@@ -3514,7 +3463,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3514
3463
|
accountId?: string | null | undefined;
|
|
3515
3464
|
reason?: string | null | undefined;
|
|
3516
3465
|
fields?: {
|
|
3517
|
-
field: "
|
|
3466
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
3518
3467
|
autoFixable: boolean;
|
|
3519
3468
|
error?: string | null | undefined;
|
|
3520
3469
|
}[] | null | undefined;
|
|
@@ -3544,23 +3493,23 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3544
3493
|
post: {
|
|
3545
3494
|
platformId: string;
|
|
3546
3495
|
post: {
|
|
3496
|
+
size?: string | null | undefined;
|
|
3547
3497
|
status?: string | null | undefined;
|
|
3548
3498
|
title?: string | null | undefined;
|
|
3549
3499
|
description?: string | null | undefined;
|
|
3550
|
-
brand?: string | null | undefined;
|
|
3551
|
-
statusId?: number | null | undefined;
|
|
3552
|
-
sizeId?: number | null | undefined;
|
|
3553
|
-
colorIds?: number[] | null | undefined;
|
|
3554
|
-
packageSizeId?: number | null | undefined;
|
|
3555
3500
|
price?: number | null | undefined;
|
|
3556
3501
|
currency?: string | null | undefined;
|
|
3502
|
+
brand?: string | null | undefined;
|
|
3557
3503
|
catalog?: string | null | undefined;
|
|
3558
3504
|
catalogId?: number | null | undefined;
|
|
3559
3505
|
colors?: string[] | null | undefined;
|
|
3506
|
+
colorIds?: number[] | null | undefined;
|
|
3560
3507
|
measurementLength?: number | null | undefined;
|
|
3561
3508
|
measurementWidth?: number | null | undefined;
|
|
3509
|
+
packageSizeId?: number | null | undefined;
|
|
3562
3510
|
photoUrls?: string[] | null | undefined;
|
|
3563
|
-
|
|
3511
|
+
sizeId?: number | null | undefined;
|
|
3512
|
+
statusId?: number | null | undefined;
|
|
3564
3513
|
isDraft?: boolean | null | undefined;
|
|
3565
3514
|
isArchived?: boolean | null | undefined;
|
|
3566
3515
|
isUnisex?: boolean | null | undefined;
|
|
@@ -3603,8 +3552,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3603
3552
|
} | {
|
|
3604
3553
|
type: "LIFECYCLE_STARTED";
|
|
3605
3554
|
data: {
|
|
3606
|
-
caseId: string;
|
|
3607
3555
|
accountId: string;
|
|
3556
|
+
caseId: string;
|
|
3608
3557
|
isRepeat?: boolean | null | undefined;
|
|
3609
3558
|
};
|
|
3610
3559
|
} | {
|
|
@@ -3643,17 +3592,17 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3643
3592
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
3644
3593
|
} | null | undefined;
|
|
3645
3594
|
} | null | undefined;
|
|
3646
|
-
publishingDate?: Date | null | undefined;
|
|
3647
|
-
isTransfer?: boolean | null | undefined;
|
|
3648
3595
|
targetAccountId?: string | null | undefined;
|
|
3649
3596
|
allowIfDeleted?: boolean | null | undefined;
|
|
3597
|
+
publishingDate?: Date | null | undefined;
|
|
3598
|
+
isTransfer?: boolean | null | undefined;
|
|
3650
3599
|
};
|
|
3651
3600
|
} | {
|
|
3652
3601
|
type: "REPUBLISHING_RETRY";
|
|
3653
3602
|
data: {
|
|
3654
|
-
maxAttempts: number;
|
|
3655
3603
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3656
3604
|
attemptNumber: number;
|
|
3605
|
+
maxAttempts: number;
|
|
3657
3606
|
previousHistoryId: string;
|
|
3658
3607
|
originalFailureDate: Date;
|
|
3659
3608
|
payload?: {
|
|
@@ -3681,7 +3630,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3681
3630
|
} | null | undefined;
|
|
3682
3631
|
} | null | undefined;
|
|
3683
3632
|
fields?: {
|
|
3684
|
-
field: "
|
|
3633
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
3685
3634
|
autoFixable: boolean;
|
|
3686
3635
|
error?: string | null | undefined;
|
|
3687
3636
|
}[] | null | undefined;
|
|
@@ -3695,13 +3644,13 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3695
3644
|
} | {
|
|
3696
3645
|
type: "SCHEDULED_RETRY";
|
|
3697
3646
|
data: {
|
|
3698
|
-
maxAttempts: number;
|
|
3699
3647
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3700
3648
|
attemptNumber: number;
|
|
3649
|
+
maxAttempts: number;
|
|
3701
3650
|
previousHistoryId: string;
|
|
3702
3651
|
originalFailureDate: Date;
|
|
3703
3652
|
fields?: {
|
|
3704
|
-
field: "
|
|
3653
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
3705
3654
|
autoFixable: boolean;
|
|
3706
3655
|
error?: string | null | undefined;
|
|
3707
3656
|
}[] | null | undefined;
|
|
@@ -3730,52 +3679,103 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3730
3679
|
targetDate?: Date | null | undefined;
|
|
3731
3680
|
};
|
|
3732
3681
|
} | null | undefined;
|
|
3733
|
-
accountId?: string | null | undefined;
|
|
3734
3682
|
targetDate?: Date | null | undefined;
|
|
3735
3683
|
requestId?: string | null | undefined;
|
|
3736
3684
|
targetHistoryId?: string | null | undefined;
|
|
3737
3685
|
} | null | undefined;
|
|
3686
|
+
platforms?: {
|
|
3687
|
+
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
3688
|
+
id: string;
|
|
3689
|
+
accountId: string;
|
|
3690
|
+
createdAt: Date;
|
|
3691
|
+
itemId: number;
|
|
3692
|
+
platformId: string;
|
|
3693
|
+
platformUrl: string;
|
|
3694
|
+
platformPrice: number;
|
|
3695
|
+
updatedAt: Date;
|
|
3696
|
+
publishedAt: Date;
|
|
3697
|
+
conversationId?: string | null | undefined;
|
|
3698
|
+
boostedAt?: Date | null | undefined;
|
|
3699
|
+
boostedUntil?: Date | null | undefined;
|
|
3700
|
+
viewsCount?: number | null | undefined;
|
|
3701
|
+
favoritesCount?: number | null | undefined;
|
|
3702
|
+
account?: {
|
|
3703
|
+
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
3704
|
+
accountId: string;
|
|
3705
|
+
userId: number;
|
|
3706
|
+
name: string;
|
|
3707
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3708
|
+
locale?: string | null | undefined;
|
|
3709
|
+
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
3710
|
+
restrictedUntil?: Date | null | undefined;
|
|
3711
|
+
night?: {
|
|
3712
|
+
startsAt: Date;
|
|
3713
|
+
endsAt: Date;
|
|
3714
|
+
} | null | undefined;
|
|
3715
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
3716
|
+
ordersMaxDelay?: number | null | undefined;
|
|
3717
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
3718
|
+
walletMaxDelay?: number | null | undefined;
|
|
3719
|
+
availableBalance?: number | null | undefined;
|
|
3720
|
+
pendingBalance?: number | null | undefined;
|
|
3721
|
+
profilePictureFileId?: string | null | undefined;
|
|
3722
|
+
profilePicture?: {
|
|
3723
|
+
path: string;
|
|
3724
|
+
id: string;
|
|
3725
|
+
userId: number;
|
|
3726
|
+
createdAt: Date;
|
|
3727
|
+
signedUrl: string;
|
|
3728
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3729
|
+
} | null | undefined;
|
|
3730
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
3731
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
3732
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
3733
|
+
} | null | undefined;
|
|
3734
|
+
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;
|
|
3735
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
3736
|
+
isBoosted?: boolean | null | undefined;
|
|
3737
|
+
}[] | null | undefined;
|
|
3738
3738
|
sourceInConversation?: "UNKNOWN" | "DELETED" | "ORDER" | "TRANSACTION" | null | undefined;
|
|
3739
3739
|
order?: {
|
|
3740
3740
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
3741
3741
|
labels?: {
|
|
3742
3742
|
id: string;
|
|
3743
|
-
fileId: string;
|
|
3744
3743
|
orderId: string;
|
|
3744
|
+
fileId: string;
|
|
3745
3745
|
nonCroppedFileId: string;
|
|
3746
3746
|
originalFileId: string;
|
|
3747
|
-
|
|
3747
|
+
file?: {
|
|
3748
3748
|
path: string;
|
|
3749
3749
|
id: string;
|
|
3750
|
-
createdAt: Date;
|
|
3751
3750
|
userId: number;
|
|
3751
|
+
createdAt: Date;
|
|
3752
3752
|
signedUrl: string;
|
|
3753
3753
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3754
3754
|
} | null | undefined;
|
|
3755
|
-
|
|
3756
|
-
file?: {
|
|
3755
|
+
nonCroppedFile?: {
|
|
3757
3756
|
path: string;
|
|
3758
3757
|
id: string;
|
|
3759
|
-
createdAt: Date;
|
|
3760
3758
|
userId: number;
|
|
3759
|
+
createdAt: Date;
|
|
3761
3760
|
signedUrl: string;
|
|
3762
3761
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3763
3762
|
} | null | undefined;
|
|
3764
|
-
|
|
3763
|
+
originalFile?: {
|
|
3765
3764
|
path: string;
|
|
3766
3765
|
id: string;
|
|
3767
|
-
createdAt: Date;
|
|
3768
3766
|
userId: number;
|
|
3767
|
+
createdAt: Date;
|
|
3769
3768
|
signedUrl: string;
|
|
3770
3769
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3771
3770
|
} | null | undefined;
|
|
3771
|
+
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;
|
|
3772
3772
|
}[] | null | undefined;
|
|
3773
3773
|
invoices?: {
|
|
3774
3774
|
type: "SALE" | "PURCHASE";
|
|
3775
3775
|
status: string;
|
|
3776
3776
|
id: string;
|
|
3777
|
-
createdAt: Date;
|
|
3778
3777
|
userId: number;
|
|
3778
|
+
createdAt: Date;
|
|
3779
3779
|
currency: string;
|
|
3780
3780
|
orderId: string;
|
|
3781
3781
|
updatedAt: Date;
|
|
@@ -3784,21 +3784,21 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3784
3784
|
businessProfileId: string;
|
|
3785
3785
|
issueDate: Date;
|
|
3786
3786
|
subtotal: number;
|
|
3787
|
-
fileId?: string | null | undefined;
|
|
3788
3787
|
vatAmount?: number | null | undefined;
|
|
3788
|
+
fileId?: string | null | undefined;
|
|
3789
3789
|
file?: {
|
|
3790
3790
|
path: string;
|
|
3791
3791
|
id: string;
|
|
3792
|
-
createdAt: Date;
|
|
3793
3792
|
userId: number;
|
|
3793
|
+
createdAt: Date;
|
|
3794
3794
|
signedUrl: string;
|
|
3795
3795
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3796
3796
|
} | null | undefined;
|
|
3797
3797
|
vatRate?: number | null | undefined;
|
|
3798
3798
|
businessProfile?: {
|
|
3799
3799
|
id: string;
|
|
3800
|
-
createdAt: Date;
|
|
3801
3800
|
userId: number;
|
|
3801
|
+
createdAt: Date;
|
|
3802
3802
|
updatedAt: Date;
|
|
3803
3803
|
businessName: string;
|
|
3804
3804
|
address: string;
|
|
@@ -3811,8 +3811,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3811
3811
|
logo?: {
|
|
3812
3812
|
path: string;
|
|
3813
3813
|
id: string;
|
|
3814
|
-
createdAt: Date;
|
|
3815
3814
|
userId: number;
|
|
3815
|
+
createdAt: Date;
|
|
3816
3816
|
signedUrl: string;
|
|
3817
3817
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3818
3818
|
} | null | undefined;
|
|
@@ -3825,26 +3825,26 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3825
3825
|
firstName: string;
|
|
3826
3826
|
lastName: string;
|
|
3827
3827
|
phoneVerified: boolean;
|
|
3828
|
-
|
|
3828
|
+
postalCode?: string | null | undefined;
|
|
3829
|
+
city?: string | null | undefined;
|
|
3830
|
+
country?: string | null | undefined;
|
|
3829
3831
|
email?: string | null | undefined;
|
|
3832
|
+
addressLine1?: string | null | undefined;
|
|
3833
|
+
addressLine2?: string | null | undefined;
|
|
3834
|
+
birthDate?: Date | null | undefined;
|
|
3830
3835
|
idNumber?: string | null | undefined;
|
|
3831
3836
|
phone?: string | null | undefined;
|
|
3832
3837
|
iban?: string | null | undefined;
|
|
3833
3838
|
bic?: string | null | undefined;
|
|
3834
|
-
addressLine1?: string | null | undefined;
|
|
3835
|
-
addressLine2?: string | null | undefined;
|
|
3836
|
-
city?: string | null | undefined;
|
|
3837
|
-
postalCode?: string | null | undefined;
|
|
3838
|
-
country?: string | null | undefined;
|
|
3839
3839
|
} | null | undefined;
|
|
3840
3840
|
dueDate?: Date | null | undefined;
|
|
3841
3841
|
notes?: string | null | undefined;
|
|
3842
3842
|
lineItems?: {
|
|
3843
|
-
|
|
3843
|
+
quantity: number;
|
|
3844
3844
|
id: number;
|
|
3845
|
+
description: string;
|
|
3845
3846
|
createdAt: Date;
|
|
3846
3847
|
invoiceId: string;
|
|
3847
|
-
quantity: number;
|
|
3848
3848
|
unitPrice: number;
|
|
3849
3849
|
total: number;
|
|
3850
3850
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3854,45 +3854,29 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3854
3854
|
} | null | undefined;
|
|
3855
3855
|
analysisStatus?: "PENDING" | "COMPLETED" | "FAILED" | null | undefined;
|
|
3856
3856
|
}, {
|
|
3857
|
-
actions: {
|
|
3858
|
-
perAccount: Record<string, unknown[]>;
|
|
3859
|
-
};
|
|
3860
|
-
name: string;
|
|
3861
3857
|
id: number;
|
|
3862
|
-
createdAt: Date;
|
|
3863
3858
|
userId: number;
|
|
3859
|
+
name: string;
|
|
3860
|
+
createdAt: Date;
|
|
3864
3861
|
updatedAt: Date;
|
|
3865
3862
|
sold: boolean;
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
name: string;
|
|
3870
|
-
id: number;
|
|
3871
|
-
createdAt: Date;
|
|
3872
|
-
userId: number;
|
|
3873
|
-
updatedAt: Date;
|
|
3874
|
-
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
3875
|
-
startDate: Date;
|
|
3876
|
-
active: boolean;
|
|
3877
|
-
description?: string | null | undefined;
|
|
3878
|
-
itemId?: number | null | undefined;
|
|
3879
|
-
endDate?: Date | null | undefined;
|
|
3880
|
-
parentFeeId?: number | null | undefined;
|
|
3881
|
-
}[] | null | undefined;
|
|
3863
|
+
actions: {
|
|
3864
|
+
perAccount: Record<string, unknown[]>;
|
|
3865
|
+
};
|
|
3882
3866
|
description?: string | null | undefined;
|
|
3883
3867
|
categoryId?: number | null | undefined;
|
|
3884
|
-
sizeId?: number | null | undefined;
|
|
3885
|
-
colorIds?: number[] | null | undefined;
|
|
3886
|
-
packageSizeId?: number | null | undefined;
|
|
3887
3868
|
state?: number | null | undefined;
|
|
3869
|
+
colorIds?: number[] | null | undefined;
|
|
3888
3870
|
measurementLength?: number | null | undefined;
|
|
3889
3871
|
measurementWidth?: number | null | undefined;
|
|
3872
|
+
packageSizeId?: number | null | undefined;
|
|
3873
|
+
sizeId?: number | null | undefined;
|
|
3890
3874
|
labels?: {
|
|
3891
3875
|
itemId: number;
|
|
3892
3876
|
labelId: number;
|
|
3893
3877
|
label?: {
|
|
3894
|
-
name: string;
|
|
3895
3878
|
id: number;
|
|
3879
|
+
name: string;
|
|
3896
3880
|
createdAt: Date;
|
|
3897
3881
|
isUserLabel: boolean;
|
|
3898
3882
|
itemCount?: number | null | undefined;
|
|
@@ -3905,86 +3889,50 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3905
3889
|
fieldKey: string;
|
|
3906
3890
|
}[] | null | undefined;
|
|
3907
3891
|
sku?: string | null | undefined;
|
|
3908
|
-
sex?: string | null | undefined;
|
|
3909
|
-
platforms?: {
|
|
3910
|
-
id: string;
|
|
3911
|
-
createdAt: Date;
|
|
3912
|
-
accountId: string;
|
|
3913
|
-
itemId: number;
|
|
3914
|
-
platformId: string;
|
|
3915
|
-
platformUrl: string;
|
|
3916
|
-
platformPrice: number;
|
|
3917
|
-
updatedAt: Date;
|
|
3918
|
-
publishedAt: Date;
|
|
3919
|
-
status?: unknown;
|
|
3920
|
-
conversationId?: string | null | undefined;
|
|
3921
|
-
boostedAt?: Date | null | undefined;
|
|
3922
|
-
boostedUntil?: Date | null | undefined;
|
|
3923
|
-
viewsCount?: number | null | undefined;
|
|
3924
|
-
favoritesCount?: number | null | undefined;
|
|
3925
|
-
account?: {
|
|
3926
|
-
name: string;
|
|
3927
|
-
userId: number;
|
|
3928
|
-
accountId: string;
|
|
3929
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3930
|
-
status?: unknown;
|
|
3931
|
-
locale?: string | null | undefined;
|
|
3932
|
-
lockReason?: unknown;
|
|
3933
|
-
restrictedUntil?: Date | null | undefined;
|
|
3934
|
-
night?: {
|
|
3935
|
-
startsAt: Date;
|
|
3936
|
-
endsAt: Date;
|
|
3937
|
-
} | null | undefined;
|
|
3938
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
3939
|
-
ordersMaxDelay?: number | null | undefined;
|
|
3940
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
3941
|
-
walletMaxDelay?: number | null | undefined;
|
|
3942
|
-
availableBalance?: number | null | undefined;
|
|
3943
|
-
pendingBalance?: number | null | undefined;
|
|
3944
|
-
profilePictureFileId?: string | null | undefined;
|
|
3945
|
-
profilePicture?: {
|
|
3946
|
-
path: string;
|
|
3947
|
-
id: string;
|
|
3948
|
-
createdAt: Date;
|
|
3949
|
-
userId: number;
|
|
3950
|
-
signedUrl: string;
|
|
3951
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3952
|
-
} | null | undefined;
|
|
3953
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
3954
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
3955
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
3956
|
-
} | null | undefined;
|
|
3957
|
-
orderStatus?: unknown;
|
|
3958
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
3959
|
-
isBoosted?: boolean | null | undefined;
|
|
3960
|
-
}[] | null | undefined;
|
|
3961
|
-
brandId?: number | null | undefined;
|
|
3962
|
-
estimatedPrice?: number | null | undefined;
|
|
3963
|
-
purchaseDate?: Date | null | undefined;
|
|
3964
|
-
sellingDate?: Date | null | undefined;
|
|
3965
3892
|
fields?: {
|
|
3966
3893
|
value: string;
|
|
3967
3894
|
itemId: number;
|
|
3968
3895
|
fieldId: number;
|
|
3969
3896
|
}[] | null | undefined;
|
|
3970
3897
|
files?: {
|
|
3971
|
-
fileId: string;
|
|
3972
3898
|
itemId: number;
|
|
3899
|
+
fileId: string;
|
|
3973
3900
|
file?: {
|
|
3974
3901
|
path: string;
|
|
3975
3902
|
id: string;
|
|
3976
|
-
createdAt: Date;
|
|
3977
3903
|
userId: number;
|
|
3904
|
+
createdAt: Date;
|
|
3978
3905
|
signedUrl: string;
|
|
3979
3906
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3980
3907
|
} | null | undefined;
|
|
3981
3908
|
index?: number | null | undefined;
|
|
3982
3909
|
}[] | null | undefined;
|
|
3910
|
+
brandId?: number | null | undefined;
|
|
3911
|
+
sex?: string | null | undefined;
|
|
3983
3912
|
purchasePrice?: number | null | undefined;
|
|
3913
|
+
purchaseDate?: Date | null | undefined;
|
|
3984
3914
|
purchasePlaceId?: number | null | undefined;
|
|
3985
3915
|
purchased?: boolean | null | undefined;
|
|
3986
3916
|
sellingPrice?: number | null | undefined;
|
|
3917
|
+
sellingDate?: Date | null | undefined;
|
|
3987
3918
|
sellingPlaceId?: number | null | undefined;
|
|
3919
|
+
estimatedPrice?: number | null | undefined;
|
|
3920
|
+
fees?: {
|
|
3921
|
+
value: number;
|
|
3922
|
+
type: string;
|
|
3923
|
+
id: number;
|
|
3924
|
+
userId: number;
|
|
3925
|
+
name: string;
|
|
3926
|
+
createdAt: Date;
|
|
3927
|
+
updatedAt: Date;
|
|
3928
|
+
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
3929
|
+
startDate: Date;
|
|
3930
|
+
active: boolean;
|
|
3931
|
+
description?: string | null | undefined;
|
|
3932
|
+
itemId?: number | null | undefined;
|
|
3933
|
+
endDate?: Date | null | undefined;
|
|
3934
|
+
parentFeeId?: number | null | undefined;
|
|
3935
|
+
}[] | null | undefined;
|
|
3988
3936
|
feesSum?: number | null | undefined;
|
|
3989
3937
|
materialIds?: number[] | null | undefined;
|
|
3990
3938
|
enumValues?: {
|
|
@@ -4000,6 +3948,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
4000
3948
|
createdAt: Date;
|
|
4001
3949
|
itemId: number;
|
|
4002
3950
|
type?: unknown;
|
|
3951
|
+
accountId?: string | null | undefined;
|
|
4003
3952
|
data?: {
|
|
4004
3953
|
type: "ACTION_CANCELED";
|
|
4005
3954
|
data: {
|
|
@@ -4065,23 +4014,23 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
4065
4014
|
post: {
|
|
4066
4015
|
platformId: string;
|
|
4067
4016
|
post: {
|
|
4017
|
+
size?: string | null | undefined;
|
|
4068
4018
|
status?: string | null | undefined;
|
|
4069
4019
|
title?: string | null | undefined;
|
|
4070
4020
|
description?: string | null | undefined;
|
|
4071
|
-
brand?: string | null | undefined;
|
|
4072
|
-
statusId?: number | null | undefined;
|
|
4073
|
-
sizeId?: number | null | undefined;
|
|
4074
|
-
colorIds?: number[] | null | undefined;
|
|
4075
|
-
packageSizeId?: number | null | undefined;
|
|
4076
4021
|
price?: number | null | undefined;
|
|
4077
4022
|
currency?: string | null | undefined;
|
|
4023
|
+
brand?: string | null | undefined;
|
|
4078
4024
|
catalog?: string | null | undefined;
|
|
4079
4025
|
catalogId?: number | null | undefined;
|
|
4080
4026
|
colors?: string[] | null | undefined;
|
|
4027
|
+
colorIds?: number[] | null | undefined;
|
|
4081
4028
|
measurementLength?: number | null | undefined;
|
|
4082
4029
|
measurementWidth?: number | null | undefined;
|
|
4030
|
+
packageSizeId?: number | null | undefined;
|
|
4083
4031
|
photoUrls?: string[] | null | undefined;
|
|
4084
|
-
|
|
4032
|
+
sizeId?: number | null | undefined;
|
|
4033
|
+
statusId?: number | null | undefined;
|
|
4085
4034
|
isDraft?: boolean | null | undefined;
|
|
4086
4035
|
isArchived?: boolean | null | undefined;
|
|
4087
4036
|
isUnisex?: boolean | null | undefined;
|
|
@@ -4124,8 +4073,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
4124
4073
|
} | {
|
|
4125
4074
|
type: "LIFECYCLE_STARTED";
|
|
4126
4075
|
data: {
|
|
4127
|
-
caseId: string;
|
|
4128
4076
|
accountId: string;
|
|
4077
|
+
caseId: string;
|
|
4129
4078
|
isRepeat?: boolean | null | undefined;
|
|
4130
4079
|
};
|
|
4131
4080
|
} | {
|
|
@@ -4164,17 +4113,17 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
4164
4113
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
4165
4114
|
} | null | undefined;
|
|
4166
4115
|
} | null | undefined;
|
|
4167
|
-
publishingDate?: Date | null | undefined;
|
|
4168
|
-
isTransfer?: boolean | null | undefined;
|
|
4169
4116
|
targetAccountId?: string | null | undefined;
|
|
4170
4117
|
allowIfDeleted?: boolean | null | undefined;
|
|
4118
|
+
publishingDate?: Date | null | undefined;
|
|
4119
|
+
isTransfer?: boolean | null | undefined;
|
|
4171
4120
|
};
|
|
4172
4121
|
} | {
|
|
4173
4122
|
type: "REPUBLISHING_RETRY";
|
|
4174
4123
|
data: {
|
|
4175
|
-
maxAttempts: number;
|
|
4176
4124
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4177
4125
|
attemptNumber: number;
|
|
4126
|
+
maxAttempts: number;
|
|
4178
4127
|
previousHistoryId: string;
|
|
4179
4128
|
originalFailureDate: Date;
|
|
4180
4129
|
payload?: {
|
|
@@ -4216,9 +4165,9 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
4216
4165
|
} | {
|
|
4217
4166
|
type: "SCHEDULED_RETRY";
|
|
4218
4167
|
data: {
|
|
4219
|
-
maxAttempts: number;
|
|
4220
4168
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4221
4169
|
attemptNumber: number;
|
|
4170
|
+
maxAttempts: number;
|
|
4222
4171
|
previousHistoryId: string;
|
|
4223
4172
|
originalFailureDate: Date;
|
|
4224
4173
|
fields?: {
|
|
@@ -4251,52 +4200,103 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
4251
4200
|
targetDate?: Date | null | undefined;
|
|
4252
4201
|
};
|
|
4253
4202
|
} | null | undefined;
|
|
4254
|
-
accountId?: string | null | undefined;
|
|
4255
4203
|
targetDate?: Date | null | undefined;
|
|
4256
4204
|
requestId?: string | null | undefined;
|
|
4257
4205
|
targetHistoryId?: string | null | undefined;
|
|
4258
4206
|
} | null | undefined;
|
|
4207
|
+
platforms?: {
|
|
4208
|
+
id: string;
|
|
4209
|
+
accountId: string;
|
|
4210
|
+
createdAt: Date;
|
|
4211
|
+
itemId: number;
|
|
4212
|
+
platformId: string;
|
|
4213
|
+
platformUrl: string;
|
|
4214
|
+
platformPrice: number;
|
|
4215
|
+
updatedAt: Date;
|
|
4216
|
+
publishedAt: Date;
|
|
4217
|
+
status?: unknown;
|
|
4218
|
+
conversationId?: string | null | undefined;
|
|
4219
|
+
boostedAt?: Date | null | undefined;
|
|
4220
|
+
boostedUntil?: Date | null | undefined;
|
|
4221
|
+
viewsCount?: number | null | undefined;
|
|
4222
|
+
favoritesCount?: number | null | undefined;
|
|
4223
|
+
account?: {
|
|
4224
|
+
accountId: string;
|
|
4225
|
+
userId: number;
|
|
4226
|
+
name: string;
|
|
4227
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4228
|
+
status?: unknown;
|
|
4229
|
+
locale?: string | null | undefined;
|
|
4230
|
+
lockReason?: unknown;
|
|
4231
|
+
restrictedUntil?: Date | null | undefined;
|
|
4232
|
+
night?: {
|
|
4233
|
+
startsAt: Date;
|
|
4234
|
+
endsAt: Date;
|
|
4235
|
+
} | null | undefined;
|
|
4236
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
4237
|
+
ordersMaxDelay?: number | null | undefined;
|
|
4238
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
4239
|
+
walletMaxDelay?: number | null | undefined;
|
|
4240
|
+
availableBalance?: number | null | undefined;
|
|
4241
|
+
pendingBalance?: number | null | undefined;
|
|
4242
|
+
profilePictureFileId?: string | null | undefined;
|
|
4243
|
+
profilePicture?: {
|
|
4244
|
+
path: string;
|
|
4245
|
+
id: string;
|
|
4246
|
+
userId: number;
|
|
4247
|
+
createdAt: Date;
|
|
4248
|
+
signedUrl: string;
|
|
4249
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4250
|
+
} | null | undefined;
|
|
4251
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
4252
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
4253
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
4254
|
+
} | null | undefined;
|
|
4255
|
+
orderStatus?: unknown;
|
|
4256
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
4257
|
+
isBoosted?: boolean | null | undefined;
|
|
4258
|
+
}[] | null | undefined;
|
|
4259
4259
|
sourceInConversation?: unknown;
|
|
4260
4260
|
order?: {
|
|
4261
4261
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
4262
4262
|
labels?: {
|
|
4263
4263
|
id: string;
|
|
4264
|
-
fileId: string;
|
|
4265
4264
|
orderId: string;
|
|
4265
|
+
fileId: string;
|
|
4266
4266
|
nonCroppedFileId: string;
|
|
4267
4267
|
originalFileId: string;
|
|
4268
|
-
|
|
4268
|
+
file?: {
|
|
4269
4269
|
path: string;
|
|
4270
4270
|
id: string;
|
|
4271
|
-
createdAt: Date;
|
|
4272
4271
|
userId: number;
|
|
4272
|
+
createdAt: Date;
|
|
4273
4273
|
signedUrl: string;
|
|
4274
4274
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4275
4275
|
} | null | undefined;
|
|
4276
|
-
|
|
4277
|
-
file?: {
|
|
4276
|
+
nonCroppedFile?: {
|
|
4278
4277
|
path: string;
|
|
4279
4278
|
id: string;
|
|
4280
|
-
createdAt: Date;
|
|
4281
4279
|
userId: number;
|
|
4280
|
+
createdAt: Date;
|
|
4282
4281
|
signedUrl: string;
|
|
4283
4282
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4284
4283
|
} | null | undefined;
|
|
4285
|
-
|
|
4284
|
+
originalFile?: {
|
|
4286
4285
|
path: string;
|
|
4287
4286
|
id: string;
|
|
4288
|
-
createdAt: Date;
|
|
4289
4287
|
userId: number;
|
|
4288
|
+
createdAt: Date;
|
|
4290
4289
|
signedUrl: string;
|
|
4291
4290
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4292
4291
|
} | null | undefined;
|
|
4292
|
+
carrier?: unknown;
|
|
4293
4293
|
}[] | null | undefined;
|
|
4294
4294
|
invoices?: {
|
|
4295
4295
|
type: "SALE" | "PURCHASE";
|
|
4296
4296
|
status: string;
|
|
4297
4297
|
id: string;
|
|
4298
|
-
createdAt: Date;
|
|
4299
4298
|
userId: number;
|
|
4299
|
+
createdAt: Date;
|
|
4300
4300
|
currency: string;
|
|
4301
4301
|
orderId: string;
|
|
4302
4302
|
updatedAt: Date;
|
|
@@ -4305,21 +4305,21 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
4305
4305
|
businessProfileId: string;
|
|
4306
4306
|
issueDate: Date;
|
|
4307
4307
|
subtotal: number;
|
|
4308
|
-
fileId?: string | null | undefined;
|
|
4309
4308
|
vatAmount?: number | null | undefined;
|
|
4309
|
+
fileId?: string | null | undefined;
|
|
4310
4310
|
file?: {
|
|
4311
4311
|
path: string;
|
|
4312
4312
|
id: string;
|
|
4313
|
-
createdAt: Date;
|
|
4314
4313
|
userId: number;
|
|
4314
|
+
createdAt: Date;
|
|
4315
4315
|
signedUrl: string;
|
|
4316
4316
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4317
4317
|
} | null | undefined;
|
|
4318
4318
|
vatRate?: number | null | undefined;
|
|
4319
4319
|
businessProfile?: {
|
|
4320
4320
|
id: string;
|
|
4321
|
-
createdAt: Date;
|
|
4322
4321
|
userId: number;
|
|
4322
|
+
createdAt: Date;
|
|
4323
4323
|
updatedAt: Date;
|
|
4324
4324
|
businessName: string;
|
|
4325
4325
|
address: string;
|
|
@@ -4332,8 +4332,8 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
4332
4332
|
logo?: {
|
|
4333
4333
|
path: string;
|
|
4334
4334
|
id: string;
|
|
4335
|
-
createdAt: Date;
|
|
4336
4335
|
userId: number;
|
|
4336
|
+
createdAt: Date;
|
|
4337
4337
|
signedUrl: string;
|
|
4338
4338
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4339
4339
|
} | null | undefined;
|
|
@@ -4346,26 +4346,26 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
4346
4346
|
firstName: string;
|
|
4347
4347
|
lastName: string;
|
|
4348
4348
|
phoneVerified: boolean;
|
|
4349
|
-
|
|
4349
|
+
postalCode?: string | null | undefined;
|
|
4350
|
+
city?: string | null | undefined;
|
|
4351
|
+
country?: string | null | undefined;
|
|
4350
4352
|
email?: string | null | undefined;
|
|
4353
|
+
addressLine1?: string | null | undefined;
|
|
4354
|
+
addressLine2?: string | null | undefined;
|
|
4355
|
+
birthDate?: Date | null | undefined;
|
|
4351
4356
|
idNumber?: string | null | undefined;
|
|
4352
4357
|
phone?: string | null | undefined;
|
|
4353
4358
|
iban?: string | null | undefined;
|
|
4354
4359
|
bic?: string | null | undefined;
|
|
4355
|
-
addressLine1?: string | null | undefined;
|
|
4356
|
-
addressLine2?: string | null | undefined;
|
|
4357
|
-
city?: string | null | undefined;
|
|
4358
|
-
postalCode?: string | null | undefined;
|
|
4359
|
-
country?: string | null | undefined;
|
|
4360
4360
|
} | null | undefined;
|
|
4361
4361
|
dueDate?: Date | null | undefined;
|
|
4362
4362
|
notes?: string | null | undefined;
|
|
4363
4363
|
lineItems?: {
|
|
4364
|
-
|
|
4364
|
+
quantity: number;
|
|
4365
4365
|
id: number;
|
|
4366
|
+
description: string;
|
|
4366
4367
|
createdAt: Date;
|
|
4367
4368
|
invoiceId: string;
|
|
4368
|
-
quantity: number;
|
|
4369
4369
|
unitPrice: number;
|
|
4370
4370
|
total: number;
|
|
4371
4371
|
itemOnPlatformId?: string | null | undefined;
|