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
|
@@ -21,38 +21,38 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
21
21
|
}, "strip", z.ZodTypeAny, {
|
|
22
22
|
path: string;
|
|
23
23
|
id: string;
|
|
24
|
-
createdAt: Date;
|
|
25
24
|
userId: number;
|
|
25
|
+
createdAt: Date;
|
|
26
26
|
signedUrl: string;
|
|
27
27
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
28
28
|
}, {
|
|
29
29
|
path: string;
|
|
30
30
|
id: string;
|
|
31
|
-
createdAt: Date;
|
|
32
31
|
userId: number;
|
|
32
|
+
createdAt: Date;
|
|
33
33
|
signedUrl: string;
|
|
34
34
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
35
35
|
}>>>;
|
|
36
36
|
}, "strip", z.ZodTypeAny, {
|
|
37
|
-
fileId: string;
|
|
38
37
|
itemId: number;
|
|
38
|
+
fileId: string;
|
|
39
39
|
file?: {
|
|
40
40
|
path: string;
|
|
41
41
|
id: string;
|
|
42
|
-
createdAt: Date;
|
|
43
42
|
userId: number;
|
|
43
|
+
createdAt: Date;
|
|
44
44
|
signedUrl: string;
|
|
45
45
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
46
46
|
} | null | undefined;
|
|
47
47
|
index?: number | null | undefined;
|
|
48
48
|
}, {
|
|
49
|
-
fileId: string;
|
|
50
49
|
itemId: number;
|
|
50
|
+
fileId: string;
|
|
51
51
|
file?: {
|
|
52
52
|
path: string;
|
|
53
53
|
id: string;
|
|
54
|
-
createdAt: Date;
|
|
55
54
|
userId: number;
|
|
55
|
+
createdAt: Date;
|
|
56
56
|
signedUrl: string;
|
|
57
57
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
58
58
|
} | null | undefined;
|
|
@@ -90,12 +90,12 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
90
90
|
}, "strip", z.ZodTypeAny, {
|
|
91
91
|
value: number;
|
|
92
92
|
type: string;
|
|
93
|
-
name: string;
|
|
94
93
|
id: number;
|
|
95
|
-
createdAt: Date;
|
|
96
94
|
userId: number;
|
|
95
|
+
name: string;
|
|
96
|
+
createdAt: Date;
|
|
97
97
|
updatedAt: Date;
|
|
98
|
-
recurrence: "
|
|
98
|
+
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
99
99
|
startDate: Date;
|
|
100
100
|
active: boolean;
|
|
101
101
|
description?: string | null | undefined;
|
|
@@ -105,12 +105,12 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
105
105
|
}, {
|
|
106
106
|
value: number;
|
|
107
107
|
type: string;
|
|
108
|
-
name: string;
|
|
109
108
|
id: number;
|
|
110
|
-
createdAt: Date;
|
|
111
109
|
userId: number;
|
|
110
|
+
name: string;
|
|
111
|
+
createdAt: Date;
|
|
112
112
|
updatedAt: Date;
|
|
113
|
-
recurrence: "
|
|
113
|
+
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
114
114
|
startDate: Date;
|
|
115
115
|
active: boolean;
|
|
116
116
|
description?: string | null | undefined;
|
|
@@ -131,16 +131,16 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
131
131
|
itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
132
132
|
parentId: z.ZodUnknown;
|
|
133
133
|
}, "strip", z.ZodTypeAny, {
|
|
134
|
-
name: string;
|
|
135
134
|
id: number;
|
|
135
|
+
name: string;
|
|
136
136
|
createdAt: Date;
|
|
137
137
|
isUserLabel: boolean;
|
|
138
138
|
itemCount?: number | null | undefined;
|
|
139
139
|
userId?: number | null | undefined;
|
|
140
140
|
parentId?: unknown;
|
|
141
141
|
}, {
|
|
142
|
-
name: string;
|
|
143
142
|
id: number;
|
|
143
|
+
name: string;
|
|
144
144
|
createdAt: Date;
|
|
145
145
|
isUserLabel: boolean;
|
|
146
146
|
itemCount?: number | null | undefined;
|
|
@@ -151,8 +151,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
151
151
|
itemId: number;
|
|
152
152
|
labelId: number;
|
|
153
153
|
label?: {
|
|
154
|
-
name: string;
|
|
155
154
|
id: number;
|
|
155
|
+
name: string;
|
|
156
156
|
createdAt: Date;
|
|
157
157
|
isUserLabel: boolean;
|
|
158
158
|
itemCount?: number | null | undefined;
|
|
@@ -163,8 +163,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
163
163
|
itemId: number;
|
|
164
164
|
labelId: number;
|
|
165
165
|
label?: {
|
|
166
|
-
name: string;
|
|
167
166
|
id: number;
|
|
167
|
+
name: string;
|
|
168
168
|
createdAt: Date;
|
|
169
169
|
isUserLabel: boolean;
|
|
170
170
|
itemCount?: number | null | undefined;
|
|
@@ -348,7 +348,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
348
348
|
autoFixable: z.ZodBoolean;
|
|
349
349
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
350
350
|
}, "strip", z.ZodTypeAny, {
|
|
351
|
-
field: "
|
|
351
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
352
352
|
autoFixable: boolean;
|
|
353
353
|
error?: string | null | undefined;
|
|
354
354
|
}, {
|
|
@@ -363,7 +363,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
363
363
|
accountId?: string | null | undefined;
|
|
364
364
|
reason?: string | null | undefined;
|
|
365
365
|
fields?: {
|
|
366
|
-
field: "
|
|
366
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
367
367
|
autoFixable: boolean;
|
|
368
368
|
error?: string | null | undefined;
|
|
369
369
|
}[] | null | undefined;
|
|
@@ -389,7 +389,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
389
389
|
accountId?: string | null | undefined;
|
|
390
390
|
reason?: string | null | undefined;
|
|
391
391
|
fields?: {
|
|
392
|
-
field: "
|
|
392
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
393
393
|
autoFixable: boolean;
|
|
394
394
|
error?: string | null | undefined;
|
|
395
395
|
}[] | null | undefined;
|
|
@@ -573,23 +573,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
573
573
|
boostedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
574
574
|
boostedUntil: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
575
575
|
}, "strip", z.ZodTypeAny, {
|
|
576
|
+
size?: string | null | undefined;
|
|
576
577
|
status?: string | null | undefined;
|
|
577
578
|
title?: string | null | undefined;
|
|
578
579
|
description?: string | null | undefined;
|
|
579
|
-
brand?: string | null | undefined;
|
|
580
|
-
statusId?: number | null | undefined;
|
|
581
|
-
sizeId?: number | null | undefined;
|
|
582
|
-
colorIds?: number[] | null | undefined;
|
|
583
|
-
packageSizeId?: number | null | undefined;
|
|
584
580
|
price?: number | null | undefined;
|
|
585
581
|
currency?: string | null | undefined;
|
|
582
|
+
brand?: string | null | undefined;
|
|
586
583
|
catalog?: string | null | undefined;
|
|
587
584
|
catalogId?: number | null | undefined;
|
|
588
585
|
colors?: string[] | null | undefined;
|
|
586
|
+
colorIds?: number[] | null | undefined;
|
|
589
587
|
measurementLength?: number | null | undefined;
|
|
590
588
|
measurementWidth?: number | null | undefined;
|
|
589
|
+
packageSizeId?: number | null | undefined;
|
|
591
590
|
photoUrls?: string[] | null | undefined;
|
|
592
|
-
|
|
591
|
+
sizeId?: number | null | undefined;
|
|
592
|
+
statusId?: number | null | undefined;
|
|
593
593
|
isDraft?: boolean | null | undefined;
|
|
594
594
|
isArchived?: boolean | null | undefined;
|
|
595
595
|
isUnisex?: boolean | null | undefined;
|
|
@@ -618,23 +618,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
618
618
|
isHidden?: boolean | null | undefined;
|
|
619
619
|
isDeleted?: boolean | null | undefined;
|
|
620
620
|
}, {
|
|
621
|
+
size?: string | null | undefined;
|
|
621
622
|
status?: string | null | undefined;
|
|
622
623
|
title?: string | null | undefined;
|
|
623
624
|
description?: string | null | undefined;
|
|
624
|
-
brand?: string | null | undefined;
|
|
625
|
-
statusId?: number | null | undefined;
|
|
626
|
-
sizeId?: number | null | undefined;
|
|
627
|
-
colorIds?: number[] | null | undefined;
|
|
628
|
-
packageSizeId?: number | null | undefined;
|
|
629
625
|
price?: number | null | undefined;
|
|
630
626
|
currency?: string | null | undefined;
|
|
627
|
+
brand?: string | null | undefined;
|
|
631
628
|
catalog?: string | null | undefined;
|
|
632
629
|
catalogId?: number | null | undefined;
|
|
633
630
|
colors?: string[] | null | undefined;
|
|
631
|
+
colorIds?: number[] | null | undefined;
|
|
634
632
|
measurementLength?: number | null | undefined;
|
|
635
633
|
measurementWidth?: number | null | undefined;
|
|
634
|
+
packageSizeId?: number | null | undefined;
|
|
636
635
|
photoUrls?: string[] | null | undefined;
|
|
637
|
-
|
|
636
|
+
sizeId?: number | null | undefined;
|
|
637
|
+
statusId?: number | null | undefined;
|
|
638
638
|
isDraft?: boolean | null | undefined;
|
|
639
639
|
isArchived?: boolean | null | undefined;
|
|
640
640
|
isUnisex?: boolean | null | undefined;
|
|
@@ -668,23 +668,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
668
668
|
}, "strip", z.ZodTypeAny, {
|
|
669
669
|
platformId: string;
|
|
670
670
|
post: {
|
|
671
|
+
size?: string | null | undefined;
|
|
671
672
|
status?: string | null | undefined;
|
|
672
673
|
title?: string | null | undefined;
|
|
673
674
|
description?: string | null | undefined;
|
|
674
|
-
brand?: string | null | undefined;
|
|
675
|
-
statusId?: number | null | undefined;
|
|
676
|
-
sizeId?: number | null | undefined;
|
|
677
|
-
colorIds?: number[] | null | undefined;
|
|
678
|
-
packageSizeId?: number | null | undefined;
|
|
679
675
|
price?: number | null | undefined;
|
|
680
676
|
currency?: string | null | undefined;
|
|
677
|
+
brand?: string | null | undefined;
|
|
681
678
|
catalog?: string | null | undefined;
|
|
682
679
|
catalogId?: number | null | undefined;
|
|
683
680
|
colors?: string[] | null | undefined;
|
|
681
|
+
colorIds?: number[] | null | undefined;
|
|
684
682
|
measurementLength?: number | null | undefined;
|
|
685
683
|
measurementWidth?: number | null | undefined;
|
|
684
|
+
packageSizeId?: number | null | undefined;
|
|
686
685
|
photoUrls?: string[] | null | undefined;
|
|
687
|
-
|
|
686
|
+
sizeId?: number | null | undefined;
|
|
687
|
+
statusId?: number | null | undefined;
|
|
688
688
|
isDraft?: boolean | null | undefined;
|
|
689
689
|
isArchived?: boolean | null | undefined;
|
|
690
690
|
isUnisex?: boolean | null | undefined;
|
|
@@ -720,23 +720,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
720
720
|
}, {
|
|
721
721
|
platformId: string;
|
|
722
722
|
post: {
|
|
723
|
+
size?: string | null | undefined;
|
|
723
724
|
status?: string | null | undefined;
|
|
724
725
|
title?: string | null | undefined;
|
|
725
726
|
description?: string | null | undefined;
|
|
726
|
-
brand?: string | null | undefined;
|
|
727
|
-
statusId?: number | null | undefined;
|
|
728
|
-
sizeId?: number | null | undefined;
|
|
729
|
-
colorIds?: number[] | null | undefined;
|
|
730
|
-
packageSizeId?: number | null | undefined;
|
|
731
727
|
price?: number | null | undefined;
|
|
732
728
|
currency?: string | null | undefined;
|
|
729
|
+
brand?: string | null | undefined;
|
|
733
730
|
catalog?: string | null | undefined;
|
|
734
731
|
catalogId?: number | null | undefined;
|
|
735
732
|
colors?: string[] | null | undefined;
|
|
733
|
+
colorIds?: number[] | null | undefined;
|
|
736
734
|
measurementLength?: number | null | undefined;
|
|
737
735
|
measurementWidth?: number | null | undefined;
|
|
736
|
+
packageSizeId?: number | null | undefined;
|
|
738
737
|
photoUrls?: string[] | null | undefined;
|
|
739
|
-
|
|
738
|
+
sizeId?: number | null | undefined;
|
|
739
|
+
statusId?: number | null | undefined;
|
|
740
740
|
isDraft?: boolean | null | undefined;
|
|
741
741
|
isArchived?: boolean | null | undefined;
|
|
742
742
|
isUnisex?: boolean | null | undefined;
|
|
@@ -774,23 +774,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
774
774
|
post: {
|
|
775
775
|
platformId: string;
|
|
776
776
|
post: {
|
|
777
|
+
size?: string | null | undefined;
|
|
777
778
|
status?: string | null | undefined;
|
|
778
779
|
title?: string | null | undefined;
|
|
779
780
|
description?: string | null | undefined;
|
|
780
|
-
brand?: string | null | undefined;
|
|
781
|
-
statusId?: number | null | undefined;
|
|
782
|
-
sizeId?: number | null | undefined;
|
|
783
|
-
colorIds?: number[] | null | undefined;
|
|
784
|
-
packageSizeId?: number | null | undefined;
|
|
785
781
|
price?: number | null | undefined;
|
|
786
782
|
currency?: string | null | undefined;
|
|
783
|
+
brand?: string | null | undefined;
|
|
787
784
|
catalog?: string | null | undefined;
|
|
788
785
|
catalogId?: number | null | undefined;
|
|
789
786
|
colors?: string[] | null | undefined;
|
|
787
|
+
colorIds?: number[] | null | undefined;
|
|
790
788
|
measurementLength?: number | null | undefined;
|
|
791
789
|
measurementWidth?: number | null | undefined;
|
|
790
|
+
packageSizeId?: number | null | undefined;
|
|
792
791
|
photoUrls?: string[] | null | undefined;
|
|
793
|
-
|
|
792
|
+
sizeId?: number | null | undefined;
|
|
793
|
+
statusId?: number | null | undefined;
|
|
794
794
|
isDraft?: boolean | null | undefined;
|
|
795
795
|
isArchived?: boolean | null | undefined;
|
|
796
796
|
isUnisex?: boolean | null | undefined;
|
|
@@ -828,23 +828,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
828
828
|
post: {
|
|
829
829
|
platformId: string;
|
|
830
830
|
post: {
|
|
831
|
+
size?: string | null | undefined;
|
|
831
832
|
status?: string | null | undefined;
|
|
832
833
|
title?: string | null | undefined;
|
|
833
834
|
description?: string | null | undefined;
|
|
834
|
-
brand?: string | null | undefined;
|
|
835
|
-
statusId?: number | null | undefined;
|
|
836
|
-
sizeId?: number | null | undefined;
|
|
837
|
-
colorIds?: number[] | null | undefined;
|
|
838
|
-
packageSizeId?: number | null | undefined;
|
|
839
835
|
price?: number | null | undefined;
|
|
840
836
|
currency?: string | null | undefined;
|
|
837
|
+
brand?: string | null | undefined;
|
|
841
838
|
catalog?: string | null | undefined;
|
|
842
839
|
catalogId?: number | null | undefined;
|
|
843
840
|
colors?: string[] | null | undefined;
|
|
841
|
+
colorIds?: number[] | null | undefined;
|
|
844
842
|
measurementLength?: number | null | undefined;
|
|
845
843
|
measurementWidth?: number | null | undefined;
|
|
844
|
+
packageSizeId?: number | null | undefined;
|
|
846
845
|
photoUrls?: string[] | null | undefined;
|
|
847
|
-
|
|
846
|
+
sizeId?: number | null | undefined;
|
|
847
|
+
statusId?: number | null | undefined;
|
|
848
848
|
isDraft?: boolean | null | undefined;
|
|
849
849
|
isArchived?: boolean | null | undefined;
|
|
850
850
|
isUnisex?: boolean | null | undefined;
|
|
@@ -886,23 +886,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
886
886
|
post: {
|
|
887
887
|
platformId: string;
|
|
888
888
|
post: {
|
|
889
|
+
size?: string | null | undefined;
|
|
889
890
|
status?: string | null | undefined;
|
|
890
891
|
title?: string | null | undefined;
|
|
891
892
|
description?: string | null | undefined;
|
|
892
|
-
brand?: string | null | undefined;
|
|
893
|
-
statusId?: number | null | undefined;
|
|
894
|
-
sizeId?: number | null | undefined;
|
|
895
|
-
colorIds?: number[] | null | undefined;
|
|
896
|
-
packageSizeId?: number | null | undefined;
|
|
897
893
|
price?: number | null | undefined;
|
|
898
894
|
currency?: string | null | undefined;
|
|
895
|
+
brand?: string | null | undefined;
|
|
899
896
|
catalog?: string | null | undefined;
|
|
900
897
|
catalogId?: number | null | undefined;
|
|
901
898
|
colors?: string[] | null | undefined;
|
|
899
|
+
colorIds?: number[] | null | undefined;
|
|
902
900
|
measurementLength?: number | null | undefined;
|
|
903
901
|
measurementWidth?: number | null | undefined;
|
|
902
|
+
packageSizeId?: number | null | undefined;
|
|
904
903
|
photoUrls?: string[] | null | undefined;
|
|
905
|
-
|
|
904
|
+
sizeId?: number | null | undefined;
|
|
905
|
+
statusId?: number | null | undefined;
|
|
906
906
|
isDraft?: boolean | null | undefined;
|
|
907
907
|
isArchived?: boolean | null | undefined;
|
|
908
908
|
isUnisex?: boolean | null | undefined;
|
|
@@ -943,23 +943,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
943
943
|
post: {
|
|
944
944
|
platformId: string;
|
|
945
945
|
post: {
|
|
946
|
+
size?: string | null | undefined;
|
|
946
947
|
status?: string | null | undefined;
|
|
947
948
|
title?: string | null | undefined;
|
|
948
949
|
description?: string | null | undefined;
|
|
949
|
-
brand?: string | null | undefined;
|
|
950
|
-
statusId?: number | null | undefined;
|
|
951
|
-
sizeId?: number | null | undefined;
|
|
952
|
-
colorIds?: number[] | null | undefined;
|
|
953
|
-
packageSizeId?: number | null | undefined;
|
|
954
950
|
price?: number | null | undefined;
|
|
955
951
|
currency?: string | null | undefined;
|
|
952
|
+
brand?: string | null | undefined;
|
|
956
953
|
catalog?: string | null | undefined;
|
|
957
954
|
catalogId?: number | null | undefined;
|
|
958
955
|
colors?: string[] | null | undefined;
|
|
956
|
+
colorIds?: number[] | null | undefined;
|
|
959
957
|
measurementLength?: number | null | undefined;
|
|
960
958
|
measurementWidth?: number | null | undefined;
|
|
959
|
+
packageSizeId?: number | null | undefined;
|
|
961
960
|
photoUrls?: string[] | null | undefined;
|
|
962
|
-
|
|
961
|
+
sizeId?: number | null | undefined;
|
|
962
|
+
statusId?: number | null | undefined;
|
|
963
963
|
isDraft?: boolean | null | undefined;
|
|
964
964
|
isArchived?: boolean | null | undefined;
|
|
965
965
|
isUnisex?: boolean | null | undefined;
|
|
@@ -1019,27 +1019,27 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1019
1019
|
caseId: z.ZodString;
|
|
1020
1020
|
isRepeat: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1021
1021
|
}, "strip", z.ZodTypeAny, {
|
|
1022
|
-
caseId: string;
|
|
1023
1022
|
accountId: string;
|
|
1023
|
+
caseId: string;
|
|
1024
1024
|
isRepeat?: boolean | null | undefined;
|
|
1025
1025
|
}, {
|
|
1026
|
-
caseId: string;
|
|
1027
1026
|
accountId: string;
|
|
1027
|
+
caseId: string;
|
|
1028
1028
|
isRepeat?: boolean | null | undefined;
|
|
1029
1029
|
}>;
|
|
1030
1030
|
type: z.ZodLiteral<"LIFECYCLE_STARTED">;
|
|
1031
1031
|
}, "strip", z.ZodTypeAny, {
|
|
1032
1032
|
type: "LIFECYCLE_STARTED";
|
|
1033
1033
|
data: {
|
|
1034
|
-
caseId: string;
|
|
1035
1034
|
accountId: string;
|
|
1035
|
+
caseId: string;
|
|
1036
1036
|
isRepeat?: boolean | null | undefined;
|
|
1037
1037
|
};
|
|
1038
1038
|
}, {
|
|
1039
1039
|
type: "LIFECYCLE_STARTED";
|
|
1040
1040
|
data: {
|
|
1041
|
-
caseId: string;
|
|
1042
1041
|
accountId: string;
|
|
1042
|
+
caseId: string;
|
|
1043
1043
|
isRepeat?: boolean | null | undefined;
|
|
1044
1044
|
};
|
|
1045
1045
|
}>, z.ZodObject<{
|
|
@@ -1215,10 +1215,10 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1215
1215
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1216
1216
|
} | null | undefined;
|
|
1217
1217
|
} | null | undefined;
|
|
1218
|
-
publishingDate?: Date | null | undefined;
|
|
1219
|
-
isTransfer?: boolean | null | undefined;
|
|
1220
1218
|
targetAccountId?: string | null | undefined;
|
|
1221
1219
|
allowIfDeleted?: boolean | null | undefined;
|
|
1220
|
+
publishingDate?: Date | null | undefined;
|
|
1221
|
+
isTransfer?: boolean | null | undefined;
|
|
1222
1222
|
}, {
|
|
1223
1223
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1224
1224
|
payload?: {
|
|
@@ -1245,10 +1245,10 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1245
1245
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1246
1246
|
} | null | undefined;
|
|
1247
1247
|
} | null | undefined;
|
|
1248
|
-
publishingDate?: Date | null | undefined;
|
|
1249
|
-
isTransfer?: boolean | null | undefined;
|
|
1250
1248
|
targetAccountId?: string | null | undefined;
|
|
1251
1249
|
allowIfDeleted?: boolean | null | undefined;
|
|
1250
|
+
publishingDate?: Date | null | undefined;
|
|
1251
|
+
isTransfer?: boolean | null | undefined;
|
|
1252
1252
|
}>;
|
|
1253
1253
|
type: z.ZodLiteral<"REPUBLISHING">;
|
|
1254
1254
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1279,10 +1279,10 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1279
1279
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1280
1280
|
} | null | undefined;
|
|
1281
1281
|
} | null | undefined;
|
|
1282
|
-
publishingDate?: Date | null | undefined;
|
|
1283
|
-
isTransfer?: boolean | null | undefined;
|
|
1284
1282
|
targetAccountId?: string | null | undefined;
|
|
1285
1283
|
allowIfDeleted?: boolean | null | undefined;
|
|
1284
|
+
publishingDate?: Date | null | undefined;
|
|
1285
|
+
isTransfer?: boolean | null | undefined;
|
|
1286
1286
|
};
|
|
1287
1287
|
}, {
|
|
1288
1288
|
type: "REPUBLISHING";
|
|
@@ -1312,10 +1312,10 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1312
1312
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
1313
1313
|
} | null | undefined;
|
|
1314
1314
|
} | null | undefined;
|
|
1315
|
-
publishingDate?: Date | null | undefined;
|
|
1316
|
-
isTransfer?: boolean | null | undefined;
|
|
1317
1315
|
targetAccountId?: string | null | undefined;
|
|
1318
1316
|
allowIfDeleted?: boolean | null | undefined;
|
|
1317
|
+
publishingDate?: Date | null | undefined;
|
|
1318
|
+
isTransfer?: boolean | null | undefined;
|
|
1319
1319
|
};
|
|
1320
1320
|
}>, z.ZodObject<{
|
|
1321
1321
|
data: z.ZodObject<{
|
|
@@ -1329,7 +1329,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1329
1329
|
autoFixable: z.ZodBoolean;
|
|
1330
1330
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1331
1331
|
}, "strip", z.ZodTypeAny, {
|
|
1332
|
-
field: "
|
|
1332
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1333
1333
|
autoFixable: boolean;
|
|
1334
1334
|
error?: string | null | undefined;
|
|
1335
1335
|
}, {
|
|
@@ -1444,9 +1444,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1444
1444
|
} | null | undefined;
|
|
1445
1445
|
}>>>;
|
|
1446
1446
|
}, "strip", z.ZodTypeAny, {
|
|
1447
|
-
maxAttempts: number;
|
|
1448
1447
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1449
1448
|
attemptNumber: number;
|
|
1449
|
+
maxAttempts: number;
|
|
1450
1450
|
previousHistoryId: string;
|
|
1451
1451
|
originalFailureDate: Date;
|
|
1452
1452
|
payload?: {
|
|
@@ -1474,14 +1474,14 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1474
1474
|
} | null | undefined;
|
|
1475
1475
|
} | null | undefined;
|
|
1476
1476
|
fields?: {
|
|
1477
|
-
field: "
|
|
1477
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1478
1478
|
autoFixable: boolean;
|
|
1479
1479
|
error?: string | null | undefined;
|
|
1480
1480
|
}[] | null | undefined;
|
|
1481
1481
|
}, {
|
|
1482
|
-
maxAttempts: number;
|
|
1483
1482
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1484
1483
|
attemptNumber: number;
|
|
1484
|
+
maxAttempts: number;
|
|
1485
1485
|
previousHistoryId: string;
|
|
1486
1486
|
originalFailureDate: Date;
|
|
1487
1487
|
payload?: {
|
|
@@ -1518,9 +1518,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1518
1518
|
}, "strip", z.ZodTypeAny, {
|
|
1519
1519
|
type: "REPUBLISHING_RETRY";
|
|
1520
1520
|
data: {
|
|
1521
|
-
maxAttempts: number;
|
|
1522
1521
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1523
1522
|
attemptNumber: number;
|
|
1523
|
+
maxAttempts: number;
|
|
1524
1524
|
previousHistoryId: string;
|
|
1525
1525
|
originalFailureDate: Date;
|
|
1526
1526
|
payload?: {
|
|
@@ -1548,7 +1548,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1548
1548
|
} | null | undefined;
|
|
1549
1549
|
} | null | undefined;
|
|
1550
1550
|
fields?: {
|
|
1551
|
-
field: "
|
|
1551
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1552
1552
|
autoFixable: boolean;
|
|
1553
1553
|
error?: string | null | undefined;
|
|
1554
1554
|
}[] | null | undefined;
|
|
@@ -1556,9 +1556,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1556
1556
|
}, {
|
|
1557
1557
|
type: "REPUBLISHING_RETRY";
|
|
1558
1558
|
data: {
|
|
1559
|
-
maxAttempts: number;
|
|
1560
1559
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1561
1560
|
attemptNumber: number;
|
|
1561
|
+
maxAttempts: number;
|
|
1562
1562
|
previousHistoryId: string;
|
|
1563
1563
|
originalFailureDate: Date;
|
|
1564
1564
|
payload?: {
|
|
@@ -1627,7 +1627,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1627
1627
|
autoFixable: z.ZodBoolean;
|
|
1628
1628
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1629
1629
|
}, "strip", z.ZodTypeAny, {
|
|
1630
|
-
field: "
|
|
1630
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1631
1631
|
autoFixable: boolean;
|
|
1632
1632
|
error?: string | null | undefined;
|
|
1633
1633
|
}, {
|
|
@@ -1636,20 +1636,20 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1636
1636
|
error?: string | null | undefined;
|
|
1637
1637
|
}>, "many">>>;
|
|
1638
1638
|
}, "strip", z.ZodTypeAny, {
|
|
1639
|
-
maxAttempts: number;
|
|
1640
1639
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1641
1640
|
attemptNumber: number;
|
|
1641
|
+
maxAttempts: number;
|
|
1642
1642
|
previousHistoryId: string;
|
|
1643
1643
|
originalFailureDate: Date;
|
|
1644
1644
|
fields?: {
|
|
1645
|
-
field: "
|
|
1645
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1646
1646
|
autoFixable: boolean;
|
|
1647
1647
|
error?: string | null | undefined;
|
|
1648
1648
|
}[] | null | undefined;
|
|
1649
1649
|
}, {
|
|
1650
|
-
maxAttempts: number;
|
|
1651
1650
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1652
1651
|
attemptNumber: number;
|
|
1652
|
+
maxAttempts: number;
|
|
1653
1653
|
previousHistoryId: string;
|
|
1654
1654
|
originalFailureDate: Date;
|
|
1655
1655
|
fields?: {
|
|
@@ -1662,13 +1662,13 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1662
1662
|
}, "strip", z.ZodTypeAny, {
|
|
1663
1663
|
type: "SCHEDULED_RETRY";
|
|
1664
1664
|
data: {
|
|
1665
|
-
maxAttempts: number;
|
|
1666
1665
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1667
1666
|
attemptNumber: number;
|
|
1667
|
+
maxAttempts: number;
|
|
1668
1668
|
previousHistoryId: string;
|
|
1669
1669
|
originalFailureDate: Date;
|
|
1670
1670
|
fields?: {
|
|
1671
|
-
field: "
|
|
1671
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1672
1672
|
autoFixable: boolean;
|
|
1673
1673
|
error?: string | null | undefined;
|
|
1674
1674
|
}[] | null | undefined;
|
|
@@ -1676,9 +1676,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1676
1676
|
}, {
|
|
1677
1677
|
type: "SCHEDULED_RETRY";
|
|
1678
1678
|
data: {
|
|
1679
|
-
maxAttempts: number;
|
|
1680
1679
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1681
1680
|
attemptNumber: number;
|
|
1681
|
+
maxAttempts: number;
|
|
1682
1682
|
previousHistoryId: string;
|
|
1683
1683
|
originalFailureDate: Date;
|
|
1684
1684
|
fields?: {
|
|
@@ -1835,6 +1835,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1835
1835
|
id: string;
|
|
1836
1836
|
createdAt: Date;
|
|
1837
1837
|
itemId: number;
|
|
1838
|
+
accountId?: string | null | undefined;
|
|
1838
1839
|
data?: {
|
|
1839
1840
|
type: "ACTION_CANCELED";
|
|
1840
1841
|
data: {
|
|
@@ -1870,7 +1871,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1870
1871
|
accountId?: string | null | undefined;
|
|
1871
1872
|
reason?: string | null | undefined;
|
|
1872
1873
|
fields?: {
|
|
1873
|
-
field: "
|
|
1874
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
1874
1875
|
autoFixable: boolean;
|
|
1875
1876
|
error?: string | null | undefined;
|
|
1876
1877
|
}[] | null | undefined;
|
|
@@ -1900,23 +1901,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1900
1901
|
post: {
|
|
1901
1902
|
platformId: string;
|
|
1902
1903
|
post: {
|
|
1904
|
+
size?: string | null | undefined;
|
|
1903
1905
|
status?: string | null | undefined;
|
|
1904
1906
|
title?: string | null | undefined;
|
|
1905
1907
|
description?: string | null | undefined;
|
|
1906
|
-
brand?: string | null | undefined;
|
|
1907
|
-
statusId?: number | null | undefined;
|
|
1908
|
-
sizeId?: number | null | undefined;
|
|
1909
|
-
colorIds?: number[] | null | undefined;
|
|
1910
|
-
packageSizeId?: number | null | undefined;
|
|
1911
1908
|
price?: number | null | undefined;
|
|
1912
1909
|
currency?: string | null | undefined;
|
|
1910
|
+
brand?: string | null | undefined;
|
|
1913
1911
|
catalog?: string | null | undefined;
|
|
1914
1912
|
catalogId?: number | null | undefined;
|
|
1915
1913
|
colors?: string[] | null | undefined;
|
|
1914
|
+
colorIds?: number[] | null | undefined;
|
|
1916
1915
|
measurementLength?: number | null | undefined;
|
|
1917
1916
|
measurementWidth?: number | null | undefined;
|
|
1917
|
+
packageSizeId?: number | null | undefined;
|
|
1918
1918
|
photoUrls?: string[] | null | undefined;
|
|
1919
|
-
|
|
1919
|
+
sizeId?: number | null | undefined;
|
|
1920
|
+
statusId?: number | null | undefined;
|
|
1920
1921
|
isDraft?: boolean | null | undefined;
|
|
1921
1922
|
isArchived?: boolean | null | undefined;
|
|
1922
1923
|
isUnisex?: boolean | null | undefined;
|
|
@@ -1959,8 +1960,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1959
1960
|
} | {
|
|
1960
1961
|
type: "LIFECYCLE_STARTED";
|
|
1961
1962
|
data: {
|
|
1962
|
-
caseId: string;
|
|
1963
1963
|
accountId: string;
|
|
1964
|
+
caseId: string;
|
|
1964
1965
|
isRepeat?: boolean | null | undefined;
|
|
1965
1966
|
};
|
|
1966
1967
|
} | {
|
|
@@ -1999,17 +2000,17 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1999
2000
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
2000
2001
|
} | null | undefined;
|
|
2001
2002
|
} | null | undefined;
|
|
2002
|
-
publishingDate?: Date | null | undefined;
|
|
2003
|
-
isTransfer?: boolean | null | undefined;
|
|
2004
2003
|
targetAccountId?: string | null | undefined;
|
|
2005
2004
|
allowIfDeleted?: boolean | null | undefined;
|
|
2005
|
+
publishingDate?: Date | null | undefined;
|
|
2006
|
+
isTransfer?: boolean | null | undefined;
|
|
2006
2007
|
};
|
|
2007
2008
|
} | {
|
|
2008
2009
|
type: "REPUBLISHING_RETRY";
|
|
2009
2010
|
data: {
|
|
2010
|
-
maxAttempts: number;
|
|
2011
2011
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2012
2012
|
attemptNumber: number;
|
|
2013
|
+
maxAttempts: number;
|
|
2013
2014
|
previousHistoryId: string;
|
|
2014
2015
|
originalFailureDate: Date;
|
|
2015
2016
|
payload?: {
|
|
@@ -2037,7 +2038,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2037
2038
|
} | null | undefined;
|
|
2038
2039
|
} | null | undefined;
|
|
2039
2040
|
fields?: {
|
|
2040
|
-
field: "
|
|
2041
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2041
2042
|
autoFixable: boolean;
|
|
2042
2043
|
error?: string | null | undefined;
|
|
2043
2044
|
}[] | null | undefined;
|
|
@@ -2051,13 +2052,13 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2051
2052
|
} | {
|
|
2052
2053
|
type: "SCHEDULED_RETRY";
|
|
2053
2054
|
data: {
|
|
2054
|
-
maxAttempts: number;
|
|
2055
2055
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2056
2056
|
attemptNumber: number;
|
|
2057
|
+
maxAttempts: number;
|
|
2057
2058
|
previousHistoryId: string;
|
|
2058
2059
|
originalFailureDate: Date;
|
|
2059
2060
|
fields?: {
|
|
2060
|
-
field: "
|
|
2061
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
2061
2062
|
autoFixable: boolean;
|
|
2062
2063
|
error?: string | null | undefined;
|
|
2063
2064
|
}[] | null | undefined;
|
|
@@ -2086,7 +2087,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2086
2087
|
targetDate?: Date | null | undefined;
|
|
2087
2088
|
};
|
|
2088
2089
|
} | null | undefined;
|
|
2089
|
-
accountId?: string | null | undefined;
|
|
2090
2090
|
targetDate?: Date | null | undefined;
|
|
2091
2091
|
requestId?: string | null | undefined;
|
|
2092
2092
|
targetHistoryId?: string | null | undefined;
|
|
@@ -2095,6 +2095,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2095
2095
|
createdAt: Date;
|
|
2096
2096
|
itemId: number;
|
|
2097
2097
|
type?: unknown;
|
|
2098
|
+
accountId?: string | null | undefined;
|
|
2098
2099
|
data?: {
|
|
2099
2100
|
type: "ACTION_CANCELED";
|
|
2100
2101
|
data: {
|
|
@@ -2160,23 +2161,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2160
2161
|
post: {
|
|
2161
2162
|
platformId: string;
|
|
2162
2163
|
post: {
|
|
2164
|
+
size?: string | null | undefined;
|
|
2163
2165
|
status?: string | null | undefined;
|
|
2164
2166
|
title?: string | null | undefined;
|
|
2165
2167
|
description?: string | null | undefined;
|
|
2166
|
-
brand?: string | null | undefined;
|
|
2167
|
-
statusId?: number | null | undefined;
|
|
2168
|
-
sizeId?: number | null | undefined;
|
|
2169
|
-
colorIds?: number[] | null | undefined;
|
|
2170
|
-
packageSizeId?: number | null | undefined;
|
|
2171
2168
|
price?: number | null | undefined;
|
|
2172
2169
|
currency?: string | null | undefined;
|
|
2170
|
+
brand?: string | null | undefined;
|
|
2173
2171
|
catalog?: string | null | undefined;
|
|
2174
2172
|
catalogId?: number | null | undefined;
|
|
2175
2173
|
colors?: string[] | null | undefined;
|
|
2174
|
+
colorIds?: number[] | null | undefined;
|
|
2176
2175
|
measurementLength?: number | null | undefined;
|
|
2177
2176
|
measurementWidth?: number | null | undefined;
|
|
2177
|
+
packageSizeId?: number | null | undefined;
|
|
2178
2178
|
photoUrls?: string[] | null | undefined;
|
|
2179
|
-
|
|
2179
|
+
sizeId?: number | null | undefined;
|
|
2180
|
+
statusId?: number | null | undefined;
|
|
2180
2181
|
isDraft?: boolean | null | undefined;
|
|
2181
2182
|
isArchived?: boolean | null | undefined;
|
|
2182
2183
|
isUnisex?: boolean | null | undefined;
|
|
@@ -2219,8 +2220,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2219
2220
|
} | {
|
|
2220
2221
|
type: "LIFECYCLE_STARTED";
|
|
2221
2222
|
data: {
|
|
2222
|
-
caseId: string;
|
|
2223
2223
|
accountId: string;
|
|
2224
|
+
caseId: string;
|
|
2224
2225
|
isRepeat?: boolean | null | undefined;
|
|
2225
2226
|
};
|
|
2226
2227
|
} | {
|
|
@@ -2259,17 +2260,17 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2259
2260
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
2260
2261
|
} | null | undefined;
|
|
2261
2262
|
} | null | undefined;
|
|
2262
|
-
publishingDate?: Date | null | undefined;
|
|
2263
|
-
isTransfer?: boolean | null | undefined;
|
|
2264
2263
|
targetAccountId?: string | null | undefined;
|
|
2265
2264
|
allowIfDeleted?: boolean | null | undefined;
|
|
2265
|
+
publishingDate?: Date | null | undefined;
|
|
2266
|
+
isTransfer?: boolean | null | undefined;
|
|
2266
2267
|
};
|
|
2267
2268
|
} | {
|
|
2268
2269
|
type: "REPUBLISHING_RETRY";
|
|
2269
2270
|
data: {
|
|
2270
|
-
maxAttempts: number;
|
|
2271
2271
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2272
2272
|
attemptNumber: number;
|
|
2273
|
+
maxAttempts: number;
|
|
2273
2274
|
previousHistoryId: string;
|
|
2274
2275
|
originalFailureDate: Date;
|
|
2275
2276
|
payload?: {
|
|
@@ -2311,9 +2312,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2311
2312
|
} | {
|
|
2312
2313
|
type: "SCHEDULED_RETRY";
|
|
2313
2314
|
data: {
|
|
2314
|
-
maxAttempts: number;
|
|
2315
2315
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2316
2316
|
attemptNumber: number;
|
|
2317
|
+
maxAttempts: number;
|
|
2317
2318
|
previousHistoryId: string;
|
|
2318
2319
|
originalFailureDate: Date;
|
|
2319
2320
|
fields?: {
|
|
@@ -2346,7 +2347,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2346
2347
|
targetDate?: Date | null | undefined;
|
|
2347
2348
|
};
|
|
2348
2349
|
} | null | undefined;
|
|
2349
|
-
accountId?: string | null | undefined;
|
|
2350
2350
|
targetDate?: Date | null | undefined;
|
|
2351
2351
|
requestId?: string | null | undefined;
|
|
2352
2352
|
targetHistoryId?: string | null | undefined;
|
|
@@ -2396,15 +2396,15 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2396
2396
|
}, "strip", z.ZodTypeAny, {
|
|
2397
2397
|
path: string;
|
|
2398
2398
|
id: string;
|
|
2399
|
-
createdAt: Date;
|
|
2400
2399
|
userId: number;
|
|
2400
|
+
createdAt: Date;
|
|
2401
2401
|
signedUrl: string;
|
|
2402
2402
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2403
2403
|
}, {
|
|
2404
2404
|
path: string;
|
|
2405
2405
|
id: string;
|
|
2406
|
-
createdAt: Date;
|
|
2407
2406
|
userId: number;
|
|
2407
|
+
createdAt: Date;
|
|
2408
2408
|
signedUrl: string;
|
|
2409
2409
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2410
2410
|
}>>>;
|
|
@@ -2415,9 +2415,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2415
2415
|
phoneNumberRequiredAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2416
2416
|
}, "strip", z.ZodTypeAny, {
|
|
2417
2417
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
2418
|
-
name: string;
|
|
2419
|
-
userId: number;
|
|
2420
2418
|
accountId: string;
|
|
2419
|
+
userId: number;
|
|
2420
|
+
name: string;
|
|
2421
2421
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2422
2422
|
locale?: string | null | undefined;
|
|
2423
2423
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -2436,8 +2436,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2436
2436
|
profilePicture?: {
|
|
2437
2437
|
path: string;
|
|
2438
2438
|
id: string;
|
|
2439
|
-
createdAt: Date;
|
|
2440
2439
|
userId: number;
|
|
2440
|
+
createdAt: Date;
|
|
2441
2441
|
signedUrl: string;
|
|
2442
2442
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2443
2443
|
} | null | undefined;
|
|
@@ -2445,9 +2445,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2445
2445
|
walletActivationRequiredAt?: Date | null | undefined;
|
|
2446
2446
|
phoneNumberRequiredAt?: Date | null | undefined;
|
|
2447
2447
|
}, {
|
|
2448
|
-
name: string;
|
|
2449
|
-
userId: number;
|
|
2450
2448
|
accountId: string;
|
|
2449
|
+
userId: number;
|
|
2450
|
+
name: string;
|
|
2451
2451
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2452
2452
|
status?: unknown;
|
|
2453
2453
|
locale?: string | null | undefined;
|
|
@@ -2467,8 +2467,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2467
2467
|
profilePicture?: {
|
|
2468
2468
|
path: string;
|
|
2469
2469
|
id: string;
|
|
2470
|
-
createdAt: Date;
|
|
2471
2470
|
userId: number;
|
|
2471
|
+
createdAt: Date;
|
|
2472
2472
|
signedUrl: string;
|
|
2473
2473
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2474
2474
|
} | null | undefined;
|
|
@@ -2487,8 +2487,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2487
2487
|
}, "strip", z.ZodTypeAny, {
|
|
2488
2488
|
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
2489
2489
|
id: string;
|
|
2490
|
-
createdAt: Date;
|
|
2491
2490
|
accountId: string;
|
|
2491
|
+
createdAt: Date;
|
|
2492
2492
|
itemId: number;
|
|
2493
2493
|
platformId: string;
|
|
2494
2494
|
platformUrl: string;
|
|
@@ -2502,9 +2502,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2502
2502
|
favoritesCount?: number | null | undefined;
|
|
2503
2503
|
account?: {
|
|
2504
2504
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
2505
|
-
name: string;
|
|
2506
|
-
userId: number;
|
|
2507
2505
|
accountId: string;
|
|
2506
|
+
userId: number;
|
|
2507
|
+
name: string;
|
|
2508
2508
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2509
2509
|
locale?: string | null | undefined;
|
|
2510
2510
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -2523,8 +2523,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2523
2523
|
profilePicture?: {
|
|
2524
2524
|
path: string;
|
|
2525
2525
|
id: string;
|
|
2526
|
-
createdAt: Date;
|
|
2527
2526
|
userId: number;
|
|
2527
|
+
createdAt: Date;
|
|
2528
2528
|
signedUrl: string;
|
|
2529
2529
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2530
2530
|
} | null | undefined;
|
|
@@ -2537,8 +2537,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2537
2537
|
isBoosted?: boolean | null | undefined;
|
|
2538
2538
|
}, {
|
|
2539
2539
|
id: string;
|
|
2540
|
-
createdAt: Date;
|
|
2541
2540
|
accountId: string;
|
|
2541
|
+
createdAt: Date;
|
|
2542
2542
|
itemId: number;
|
|
2543
2543
|
platformId: string;
|
|
2544
2544
|
platformUrl: string;
|
|
@@ -2552,9 +2552,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2552
2552
|
viewsCount?: number | null | undefined;
|
|
2553
2553
|
favoritesCount?: number | null | undefined;
|
|
2554
2554
|
account?: {
|
|
2555
|
-
name: string;
|
|
2556
|
-
userId: number;
|
|
2557
2555
|
accountId: string;
|
|
2556
|
+
userId: number;
|
|
2557
|
+
name: string;
|
|
2558
2558
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2559
2559
|
status?: unknown;
|
|
2560
2560
|
locale?: string | null | undefined;
|
|
@@ -2574,8 +2574,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2574
2574
|
profilePicture?: {
|
|
2575
2575
|
path: string;
|
|
2576
2576
|
id: string;
|
|
2577
|
-
createdAt: Date;
|
|
2578
2577
|
userId: number;
|
|
2578
|
+
createdAt: Date;
|
|
2579
2579
|
signedUrl: string;
|
|
2580
2580
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2581
2581
|
} | null | undefined;
|
|
@@ -2590,7 +2590,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2590
2590
|
actions: z.ZodObject<{
|
|
2591
2591
|
perAccount: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodCatch<z.ZodEnum<["PUBLISH", "PUBLISH_CANCEL", "REPUBLISH", "REPUBLISH_CANCEL", "UPDATE", "UPDATE_CANCEL", "BOOST", "UNKNOWN"]>>, "many">>;
|
|
2592
2592
|
}, "strip", z.ZodTypeAny, {
|
|
2593
|
-
perAccount: Record<string, ("
|
|
2593
|
+
perAccount: Record<string, ("PUBLISH" | "REPUBLISH" | "UPDATE" | "UNKNOWN" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE_CANCEL" | "BOOST")[]>;
|
|
2594
2594
|
}, {
|
|
2595
2595
|
perAccount: Record<string, unknown[]>;
|
|
2596
2596
|
}>;
|
|
@@ -2615,15 +2615,15 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2615
2615
|
}, "strip", z.ZodTypeAny, {
|
|
2616
2616
|
path: string;
|
|
2617
2617
|
id: string;
|
|
2618
|
-
createdAt: Date;
|
|
2619
2618
|
userId: number;
|
|
2619
|
+
createdAt: Date;
|
|
2620
2620
|
signedUrl: string;
|
|
2621
2621
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2622
2622
|
}, {
|
|
2623
2623
|
path: string;
|
|
2624
2624
|
id: string;
|
|
2625
|
-
createdAt: Date;
|
|
2626
2625
|
userId: number;
|
|
2626
|
+
createdAt: Date;
|
|
2627
2627
|
signedUrl: string;
|
|
2628
2628
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2629
2629
|
}>>>;
|
|
@@ -2637,15 +2637,15 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2637
2637
|
}, "strip", z.ZodTypeAny, {
|
|
2638
2638
|
path: string;
|
|
2639
2639
|
id: string;
|
|
2640
|
-
createdAt: Date;
|
|
2641
2640
|
userId: number;
|
|
2641
|
+
createdAt: Date;
|
|
2642
2642
|
signedUrl: string;
|
|
2643
2643
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2644
2644
|
}, {
|
|
2645
2645
|
path: string;
|
|
2646
2646
|
id: string;
|
|
2647
|
-
createdAt: Date;
|
|
2648
2647
|
userId: number;
|
|
2648
|
+
createdAt: Date;
|
|
2649
2649
|
signedUrl: string;
|
|
2650
2650
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2651
2651
|
}>>>;
|
|
@@ -2659,81 +2659,81 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2659
2659
|
}, "strip", z.ZodTypeAny, {
|
|
2660
2660
|
path: string;
|
|
2661
2661
|
id: string;
|
|
2662
|
-
createdAt: Date;
|
|
2663
2662
|
userId: number;
|
|
2663
|
+
createdAt: Date;
|
|
2664
2664
|
signedUrl: string;
|
|
2665
2665
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2666
2666
|
}, {
|
|
2667
2667
|
path: string;
|
|
2668
2668
|
id: string;
|
|
2669
|
-
createdAt: Date;
|
|
2670
2669
|
userId: number;
|
|
2670
|
+
createdAt: Date;
|
|
2671
2671
|
signedUrl: string;
|
|
2672
2672
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2673
2673
|
}>>>;
|
|
2674
2674
|
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"]>>>>;
|
|
2675
2675
|
}, "strip", z.ZodTypeAny, {
|
|
2676
2676
|
id: string;
|
|
2677
|
-
fileId: string;
|
|
2678
2677
|
orderId: string;
|
|
2678
|
+
fileId: string;
|
|
2679
2679
|
nonCroppedFileId: string;
|
|
2680
2680
|
originalFileId: string;
|
|
2681
|
-
|
|
2681
|
+
file?: {
|
|
2682
2682
|
path: string;
|
|
2683
2683
|
id: string;
|
|
2684
|
-
createdAt: Date;
|
|
2685
2684
|
userId: number;
|
|
2685
|
+
createdAt: Date;
|
|
2686
2686
|
signedUrl: string;
|
|
2687
2687
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2688
2688
|
} | null | undefined;
|
|
2689
|
-
|
|
2690
|
-
file?: {
|
|
2689
|
+
nonCroppedFile?: {
|
|
2691
2690
|
path: string;
|
|
2692
2691
|
id: string;
|
|
2693
|
-
createdAt: Date;
|
|
2694
2692
|
userId: number;
|
|
2693
|
+
createdAt: Date;
|
|
2695
2694
|
signedUrl: string;
|
|
2696
2695
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2697
2696
|
} | null | undefined;
|
|
2698
|
-
|
|
2697
|
+
originalFile?: {
|
|
2699
2698
|
path: string;
|
|
2700
2699
|
id: string;
|
|
2701
|
-
createdAt: Date;
|
|
2702
2700
|
userId: number;
|
|
2701
|
+
createdAt: Date;
|
|
2703
2702
|
signedUrl: string;
|
|
2704
2703
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2705
2704
|
} | null | undefined;
|
|
2705
|
+
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;
|
|
2706
2706
|
}, {
|
|
2707
2707
|
id: string;
|
|
2708
|
-
fileId: string;
|
|
2709
2708
|
orderId: string;
|
|
2709
|
+
fileId: string;
|
|
2710
2710
|
nonCroppedFileId: string;
|
|
2711
2711
|
originalFileId: string;
|
|
2712
|
-
|
|
2712
|
+
file?: {
|
|
2713
2713
|
path: string;
|
|
2714
2714
|
id: string;
|
|
2715
|
-
createdAt: Date;
|
|
2716
2715
|
userId: number;
|
|
2716
|
+
createdAt: Date;
|
|
2717
2717
|
signedUrl: string;
|
|
2718
2718
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2719
2719
|
} | null | undefined;
|
|
2720
|
-
|
|
2721
|
-
file?: {
|
|
2720
|
+
nonCroppedFile?: {
|
|
2722
2721
|
path: string;
|
|
2723
2722
|
id: string;
|
|
2724
|
-
createdAt: Date;
|
|
2725
2723
|
userId: number;
|
|
2724
|
+
createdAt: Date;
|
|
2726
2725
|
signedUrl: string;
|
|
2727
2726
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2728
2727
|
} | null | undefined;
|
|
2729
|
-
|
|
2728
|
+
originalFile?: {
|
|
2730
2729
|
path: string;
|
|
2731
2730
|
id: string;
|
|
2732
|
-
createdAt: Date;
|
|
2733
2731
|
userId: number;
|
|
2732
|
+
createdAt: Date;
|
|
2734
2733
|
signedUrl: string;
|
|
2735
2734
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2736
2735
|
} | null | undefined;
|
|
2736
|
+
carrier?: unknown;
|
|
2737
2737
|
}>, "many">>>;
|
|
2738
2738
|
invoices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2739
2739
|
id: z.ZodString;
|
|
@@ -2760,15 +2760,15 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2760
2760
|
}, "strip", z.ZodTypeAny, {
|
|
2761
2761
|
path: string;
|
|
2762
2762
|
id: string;
|
|
2763
|
-
createdAt: Date;
|
|
2764
2763
|
userId: number;
|
|
2764
|
+
createdAt: Date;
|
|
2765
2765
|
signedUrl: string;
|
|
2766
2766
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2767
2767
|
}, {
|
|
2768
2768
|
path: string;
|
|
2769
2769
|
id: string;
|
|
2770
|
-
createdAt: Date;
|
|
2771
2770
|
userId: number;
|
|
2771
|
+
createdAt: Date;
|
|
2772
2772
|
signedUrl: string;
|
|
2773
2773
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2774
2774
|
}>>>;
|
|
@@ -2778,8 +2778,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2778
2778
|
vatRegime: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["MARGIN", "FRANCHISE", "NORMAL", "UNKNOWN"]>>>>;
|
|
2779
2779
|
}, "strip", z.ZodTypeAny, {
|
|
2780
2780
|
id: string;
|
|
2781
|
-
createdAt: Date;
|
|
2782
2781
|
userId: number;
|
|
2782
|
+
createdAt: Date;
|
|
2783
2783
|
updatedAt: Date;
|
|
2784
2784
|
businessName: string;
|
|
2785
2785
|
address: string;
|
|
@@ -2792,16 +2792,16 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2792
2792
|
logo?: {
|
|
2793
2793
|
path: string;
|
|
2794
2794
|
id: string;
|
|
2795
|
-
createdAt: Date;
|
|
2796
2795
|
userId: number;
|
|
2796
|
+
createdAt: Date;
|
|
2797
2797
|
signedUrl: string;
|
|
2798
2798
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2799
2799
|
} | null | undefined;
|
|
2800
2800
|
vatRegime?: "UNKNOWN" | "MARGIN" | "FRANCHISE" | "NORMAL" | null | undefined;
|
|
2801
2801
|
}, {
|
|
2802
2802
|
id: string;
|
|
2803
|
-
createdAt: Date;
|
|
2804
2803
|
userId: number;
|
|
2804
|
+
createdAt: Date;
|
|
2805
2805
|
updatedAt: Date;
|
|
2806
2806
|
businessName: string;
|
|
2807
2807
|
address: string;
|
|
@@ -2814,8 +2814,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2814
2814
|
logo?: {
|
|
2815
2815
|
path: string;
|
|
2816
2816
|
id: string;
|
|
2817
|
-
createdAt: Date;
|
|
2818
2817
|
userId: number;
|
|
2818
|
+
createdAt: Date;
|
|
2819
2819
|
signedUrl: string;
|
|
2820
2820
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2821
2821
|
} | null | undefined;
|
|
@@ -2845,34 +2845,34 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2845
2845
|
firstName: string;
|
|
2846
2846
|
lastName: string;
|
|
2847
2847
|
phoneVerified: boolean;
|
|
2848
|
-
|
|
2848
|
+
postalCode?: string | null | undefined;
|
|
2849
|
+
city?: string | null | undefined;
|
|
2850
|
+
country?: string | null | undefined;
|
|
2849
2851
|
email?: string | null | undefined;
|
|
2852
|
+
addressLine1?: string | null | undefined;
|
|
2853
|
+
addressLine2?: string | null | undefined;
|
|
2854
|
+
birthDate?: Date | null | undefined;
|
|
2850
2855
|
idNumber?: string | null | undefined;
|
|
2851
2856
|
phone?: string | null | undefined;
|
|
2852
2857
|
iban?: string | null | undefined;
|
|
2853
2858
|
bic?: string | null | undefined;
|
|
2854
|
-
addressLine1?: string | null | undefined;
|
|
2855
|
-
addressLine2?: string | null | undefined;
|
|
2856
|
-
city?: string | null | undefined;
|
|
2857
|
-
postalCode?: string | null | undefined;
|
|
2858
|
-
country?: string | null | undefined;
|
|
2859
2859
|
}, {
|
|
2860
2860
|
id: string;
|
|
2861
2861
|
userId: number;
|
|
2862
2862
|
firstName: string;
|
|
2863
2863
|
lastName: string;
|
|
2864
2864
|
phoneVerified: boolean;
|
|
2865
|
-
|
|
2865
|
+
postalCode?: string | null | undefined;
|
|
2866
|
+
city?: string | null | undefined;
|
|
2867
|
+
country?: string | null | undefined;
|
|
2866
2868
|
email?: string | null | undefined;
|
|
2869
|
+
addressLine1?: string | null | undefined;
|
|
2870
|
+
addressLine2?: string | null | undefined;
|
|
2871
|
+
birthDate?: Date | null | undefined;
|
|
2867
2872
|
idNumber?: string | null | undefined;
|
|
2868
2873
|
phone?: string | null | undefined;
|
|
2869
2874
|
iban?: string | null | undefined;
|
|
2870
2875
|
bic?: string | null | undefined;
|
|
2871
|
-
addressLine1?: string | null | undefined;
|
|
2872
|
-
addressLine2?: string | null | undefined;
|
|
2873
|
-
city?: string | null | undefined;
|
|
2874
|
-
postalCode?: string | null | undefined;
|
|
2875
|
-
country?: string | null | undefined;
|
|
2876
2876
|
}>>>;
|
|
2877
2877
|
orderId: z.ZodString;
|
|
2878
2878
|
fileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2886,15 +2886,15 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2886
2886
|
}, "strip", z.ZodTypeAny, {
|
|
2887
2887
|
path: string;
|
|
2888
2888
|
id: string;
|
|
2889
|
-
createdAt: Date;
|
|
2890
2889
|
userId: number;
|
|
2890
|
+
createdAt: Date;
|
|
2891
2891
|
signedUrl: string;
|
|
2892
2892
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2893
2893
|
}, {
|
|
2894
2894
|
path: string;
|
|
2895
2895
|
id: string;
|
|
2896
|
-
createdAt: Date;
|
|
2897
2896
|
userId: number;
|
|
2897
|
+
createdAt: Date;
|
|
2898
2898
|
signedUrl: string;
|
|
2899
2899
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2900
2900
|
}>>>;
|
|
@@ -2919,21 +2919,21 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2919
2919
|
total: z.ZodNumber;
|
|
2920
2920
|
createdAt: z.ZodDate;
|
|
2921
2921
|
}, "strip", z.ZodTypeAny, {
|
|
2922
|
-
|
|
2922
|
+
quantity: number;
|
|
2923
2923
|
id: number;
|
|
2924
|
+
description: string;
|
|
2924
2925
|
createdAt: Date;
|
|
2925
2926
|
invoiceId: string;
|
|
2926
|
-
quantity: number;
|
|
2927
2927
|
unitPrice: number;
|
|
2928
2928
|
total: number;
|
|
2929
2929
|
itemOnPlatformId?: string | null | undefined;
|
|
2930
2930
|
vatRate?: number | null | undefined;
|
|
2931
2931
|
}, {
|
|
2932
|
-
|
|
2932
|
+
quantity: number;
|
|
2933
2933
|
id: number;
|
|
2934
|
+
description: string;
|
|
2934
2935
|
createdAt: Date;
|
|
2935
2936
|
invoiceId: string;
|
|
2936
|
-
quantity: number;
|
|
2937
2937
|
unitPrice: number;
|
|
2938
2938
|
total: number;
|
|
2939
2939
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -2945,8 +2945,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2945
2945
|
type: "SALE" | "PURCHASE";
|
|
2946
2946
|
status: string;
|
|
2947
2947
|
id: string;
|
|
2948
|
-
createdAt: Date;
|
|
2949
2948
|
userId: number;
|
|
2949
|
+
createdAt: Date;
|
|
2950
2950
|
currency: string;
|
|
2951
2951
|
orderId: string;
|
|
2952
2952
|
updatedAt: Date;
|
|
@@ -2955,21 +2955,21 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2955
2955
|
businessProfileId: string;
|
|
2956
2956
|
issueDate: Date;
|
|
2957
2957
|
subtotal: number;
|
|
2958
|
-
fileId?: string | null | undefined;
|
|
2959
2958
|
vatAmount?: number | null | undefined;
|
|
2959
|
+
fileId?: string | null | undefined;
|
|
2960
2960
|
file?: {
|
|
2961
2961
|
path: string;
|
|
2962
2962
|
id: string;
|
|
2963
|
-
createdAt: Date;
|
|
2964
2963
|
userId: number;
|
|
2964
|
+
createdAt: Date;
|
|
2965
2965
|
signedUrl: string;
|
|
2966
2966
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2967
2967
|
} | null | undefined;
|
|
2968
2968
|
vatRate?: number | null | undefined;
|
|
2969
2969
|
businessProfile?: {
|
|
2970
2970
|
id: string;
|
|
2971
|
-
createdAt: Date;
|
|
2972
2971
|
userId: number;
|
|
2972
|
+
createdAt: Date;
|
|
2973
2973
|
updatedAt: Date;
|
|
2974
2974
|
businessName: string;
|
|
2975
2975
|
address: string;
|
|
@@ -2982,8 +2982,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2982
2982
|
logo?: {
|
|
2983
2983
|
path: string;
|
|
2984
2984
|
id: string;
|
|
2985
|
-
createdAt: Date;
|
|
2986
2985
|
userId: number;
|
|
2986
|
+
createdAt: Date;
|
|
2987
2987
|
signedUrl: string;
|
|
2988
2988
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2989
2989
|
} | null | undefined;
|
|
@@ -2996,26 +2996,26 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2996
2996
|
firstName: string;
|
|
2997
2997
|
lastName: string;
|
|
2998
2998
|
phoneVerified: boolean;
|
|
2999
|
-
|
|
2999
|
+
postalCode?: string | null | undefined;
|
|
3000
|
+
city?: string | null | undefined;
|
|
3001
|
+
country?: string | null | undefined;
|
|
3000
3002
|
email?: string | null | undefined;
|
|
3003
|
+
addressLine1?: string | null | undefined;
|
|
3004
|
+
addressLine2?: string | null | undefined;
|
|
3005
|
+
birthDate?: Date | null | undefined;
|
|
3001
3006
|
idNumber?: string | null | undefined;
|
|
3002
3007
|
phone?: string | null | undefined;
|
|
3003
3008
|
iban?: string | null | undefined;
|
|
3004
3009
|
bic?: string | null | undefined;
|
|
3005
|
-
addressLine1?: string | null | undefined;
|
|
3006
|
-
addressLine2?: string | null | undefined;
|
|
3007
|
-
city?: string | null | undefined;
|
|
3008
|
-
postalCode?: string | null | undefined;
|
|
3009
|
-
country?: string | null | undefined;
|
|
3010
3010
|
} | null | undefined;
|
|
3011
3011
|
dueDate?: Date | null | undefined;
|
|
3012
3012
|
notes?: string | null | undefined;
|
|
3013
3013
|
lineItems?: {
|
|
3014
|
-
|
|
3014
|
+
quantity: number;
|
|
3015
3015
|
id: number;
|
|
3016
|
+
description: string;
|
|
3016
3017
|
createdAt: Date;
|
|
3017
3018
|
invoiceId: string;
|
|
3018
|
-
quantity: number;
|
|
3019
3019
|
unitPrice: number;
|
|
3020
3020
|
total: number;
|
|
3021
3021
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3025,8 +3025,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3025
3025
|
type: "SALE" | "PURCHASE";
|
|
3026
3026
|
status: string;
|
|
3027
3027
|
id: string;
|
|
3028
|
-
createdAt: Date;
|
|
3029
3028
|
userId: number;
|
|
3029
|
+
createdAt: Date;
|
|
3030
3030
|
currency: string;
|
|
3031
3031
|
orderId: string;
|
|
3032
3032
|
updatedAt: Date;
|
|
@@ -3035,21 +3035,21 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3035
3035
|
businessProfileId: string;
|
|
3036
3036
|
issueDate: Date;
|
|
3037
3037
|
subtotal: number;
|
|
3038
|
-
fileId?: string | null | undefined;
|
|
3039
3038
|
vatAmount?: number | null | undefined;
|
|
3039
|
+
fileId?: string | null | undefined;
|
|
3040
3040
|
file?: {
|
|
3041
3041
|
path: string;
|
|
3042
3042
|
id: string;
|
|
3043
|
-
createdAt: Date;
|
|
3044
3043
|
userId: number;
|
|
3044
|
+
createdAt: Date;
|
|
3045
3045
|
signedUrl: string;
|
|
3046
3046
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3047
3047
|
} | null | undefined;
|
|
3048
3048
|
vatRate?: number | null | undefined;
|
|
3049
3049
|
businessProfile?: {
|
|
3050
3050
|
id: string;
|
|
3051
|
-
createdAt: Date;
|
|
3052
3051
|
userId: number;
|
|
3052
|
+
createdAt: Date;
|
|
3053
3053
|
updatedAt: Date;
|
|
3054
3054
|
businessName: string;
|
|
3055
3055
|
address: string;
|
|
@@ -3062,8 +3062,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3062
3062
|
logo?: {
|
|
3063
3063
|
path: string;
|
|
3064
3064
|
id: string;
|
|
3065
|
-
createdAt: Date;
|
|
3066
3065
|
userId: number;
|
|
3066
|
+
createdAt: Date;
|
|
3067
3067
|
signedUrl: string;
|
|
3068
3068
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3069
3069
|
} | null | undefined;
|
|
@@ -3076,26 +3076,26 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3076
3076
|
firstName: string;
|
|
3077
3077
|
lastName: string;
|
|
3078
3078
|
phoneVerified: boolean;
|
|
3079
|
-
|
|
3079
|
+
postalCode?: string | null | undefined;
|
|
3080
|
+
city?: string | null | undefined;
|
|
3081
|
+
country?: string | null | undefined;
|
|
3080
3082
|
email?: string | null | undefined;
|
|
3083
|
+
addressLine1?: string | null | undefined;
|
|
3084
|
+
addressLine2?: string | null | undefined;
|
|
3085
|
+
birthDate?: Date | null | undefined;
|
|
3081
3086
|
idNumber?: string | null | undefined;
|
|
3082
3087
|
phone?: string | null | undefined;
|
|
3083
3088
|
iban?: string | null | undefined;
|
|
3084
3089
|
bic?: string | null | undefined;
|
|
3085
|
-
addressLine1?: string | null | undefined;
|
|
3086
|
-
addressLine2?: string | null | undefined;
|
|
3087
|
-
city?: string | null | undefined;
|
|
3088
|
-
postalCode?: string | null | undefined;
|
|
3089
|
-
country?: string | null | undefined;
|
|
3090
3090
|
} | null | undefined;
|
|
3091
3091
|
dueDate?: Date | null | undefined;
|
|
3092
3092
|
notes?: string | null | undefined;
|
|
3093
3093
|
lineItems?: {
|
|
3094
|
-
|
|
3094
|
+
quantity: number;
|
|
3095
3095
|
id: number;
|
|
3096
|
+
description: string;
|
|
3096
3097
|
createdAt: Date;
|
|
3097
3098
|
invoiceId: string;
|
|
3098
|
-
quantity: number;
|
|
3099
3099
|
unitPrice: number;
|
|
3100
3100
|
total: number;
|
|
3101
3101
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3106,42 +3106,42 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3106
3106
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
3107
3107
|
labels?: {
|
|
3108
3108
|
id: string;
|
|
3109
|
-
fileId: string;
|
|
3110
3109
|
orderId: string;
|
|
3110
|
+
fileId: string;
|
|
3111
3111
|
nonCroppedFileId: string;
|
|
3112
3112
|
originalFileId: string;
|
|
3113
|
-
|
|
3113
|
+
file?: {
|
|
3114
3114
|
path: string;
|
|
3115
3115
|
id: string;
|
|
3116
|
-
createdAt: Date;
|
|
3117
3116
|
userId: number;
|
|
3117
|
+
createdAt: Date;
|
|
3118
3118
|
signedUrl: string;
|
|
3119
3119
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3120
3120
|
} | null | undefined;
|
|
3121
|
-
|
|
3122
|
-
file?: {
|
|
3121
|
+
nonCroppedFile?: {
|
|
3123
3122
|
path: string;
|
|
3124
3123
|
id: string;
|
|
3125
|
-
createdAt: Date;
|
|
3126
3124
|
userId: number;
|
|
3125
|
+
createdAt: Date;
|
|
3127
3126
|
signedUrl: string;
|
|
3128
3127
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3129
3128
|
} | null | undefined;
|
|
3130
|
-
|
|
3129
|
+
originalFile?: {
|
|
3131
3130
|
path: string;
|
|
3132
3131
|
id: string;
|
|
3133
|
-
createdAt: Date;
|
|
3134
3132
|
userId: number;
|
|
3133
|
+
createdAt: Date;
|
|
3135
3134
|
signedUrl: string;
|
|
3136
3135
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3137
3136
|
} | null | undefined;
|
|
3137
|
+
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;
|
|
3138
3138
|
}[] | null | undefined;
|
|
3139
3139
|
invoices?: {
|
|
3140
3140
|
type: "SALE" | "PURCHASE";
|
|
3141
3141
|
status: string;
|
|
3142
3142
|
id: string;
|
|
3143
|
-
createdAt: Date;
|
|
3144
3143
|
userId: number;
|
|
3144
|
+
createdAt: Date;
|
|
3145
3145
|
currency: string;
|
|
3146
3146
|
orderId: string;
|
|
3147
3147
|
updatedAt: Date;
|
|
@@ -3150,21 +3150,21 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3150
3150
|
businessProfileId: string;
|
|
3151
3151
|
issueDate: Date;
|
|
3152
3152
|
subtotal: number;
|
|
3153
|
-
fileId?: string | null | undefined;
|
|
3154
3153
|
vatAmount?: number | null | undefined;
|
|
3154
|
+
fileId?: string | null | undefined;
|
|
3155
3155
|
file?: {
|
|
3156
3156
|
path: string;
|
|
3157
3157
|
id: string;
|
|
3158
|
-
createdAt: Date;
|
|
3159
3158
|
userId: number;
|
|
3159
|
+
createdAt: Date;
|
|
3160
3160
|
signedUrl: string;
|
|
3161
3161
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3162
3162
|
} | null | undefined;
|
|
3163
3163
|
vatRate?: number | null | undefined;
|
|
3164
3164
|
businessProfile?: {
|
|
3165
3165
|
id: string;
|
|
3166
|
-
createdAt: Date;
|
|
3167
3166
|
userId: number;
|
|
3167
|
+
createdAt: Date;
|
|
3168
3168
|
updatedAt: Date;
|
|
3169
3169
|
businessName: string;
|
|
3170
3170
|
address: string;
|
|
@@ -3177,8 +3177,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3177
3177
|
logo?: {
|
|
3178
3178
|
path: string;
|
|
3179
3179
|
id: string;
|
|
3180
|
-
createdAt: Date;
|
|
3181
3180
|
userId: number;
|
|
3181
|
+
createdAt: Date;
|
|
3182
3182
|
signedUrl: string;
|
|
3183
3183
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3184
3184
|
} | null | undefined;
|
|
@@ -3191,26 +3191,26 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3191
3191
|
firstName: string;
|
|
3192
3192
|
lastName: string;
|
|
3193
3193
|
phoneVerified: boolean;
|
|
3194
|
-
|
|
3194
|
+
postalCode?: string | null | undefined;
|
|
3195
|
+
city?: string | null | undefined;
|
|
3196
|
+
country?: string | null | undefined;
|
|
3195
3197
|
email?: string | null | undefined;
|
|
3198
|
+
addressLine1?: string | null | undefined;
|
|
3199
|
+
addressLine2?: string | null | undefined;
|
|
3200
|
+
birthDate?: Date | null | undefined;
|
|
3196
3201
|
idNumber?: string | null | undefined;
|
|
3197
3202
|
phone?: string | null | undefined;
|
|
3198
3203
|
iban?: string | null | undefined;
|
|
3199
3204
|
bic?: string | null | undefined;
|
|
3200
|
-
addressLine1?: string | null | undefined;
|
|
3201
|
-
addressLine2?: string | null | undefined;
|
|
3202
|
-
city?: string | null | undefined;
|
|
3203
|
-
postalCode?: string | null | undefined;
|
|
3204
|
-
country?: string | null | undefined;
|
|
3205
3205
|
} | null | undefined;
|
|
3206
3206
|
dueDate?: Date | null | undefined;
|
|
3207
3207
|
notes?: string | null | undefined;
|
|
3208
3208
|
lineItems?: {
|
|
3209
|
-
|
|
3209
|
+
quantity: number;
|
|
3210
3210
|
id: number;
|
|
3211
|
+
description: string;
|
|
3211
3212
|
createdAt: Date;
|
|
3212
3213
|
invoiceId: string;
|
|
3213
|
-
quantity: number;
|
|
3214
3214
|
unitPrice: number;
|
|
3215
3215
|
total: number;
|
|
3216
3216
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3221,42 +3221,42 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3221
3221
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
3222
3222
|
labels?: {
|
|
3223
3223
|
id: string;
|
|
3224
|
-
fileId: string;
|
|
3225
3224
|
orderId: string;
|
|
3225
|
+
fileId: string;
|
|
3226
3226
|
nonCroppedFileId: string;
|
|
3227
3227
|
originalFileId: string;
|
|
3228
|
-
|
|
3228
|
+
file?: {
|
|
3229
3229
|
path: string;
|
|
3230
3230
|
id: string;
|
|
3231
|
-
createdAt: Date;
|
|
3232
3231
|
userId: number;
|
|
3232
|
+
createdAt: Date;
|
|
3233
3233
|
signedUrl: string;
|
|
3234
3234
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3235
3235
|
} | null | undefined;
|
|
3236
|
-
|
|
3237
|
-
file?: {
|
|
3236
|
+
nonCroppedFile?: {
|
|
3238
3237
|
path: string;
|
|
3239
3238
|
id: string;
|
|
3240
|
-
createdAt: Date;
|
|
3241
3239
|
userId: number;
|
|
3240
|
+
createdAt: Date;
|
|
3242
3241
|
signedUrl: string;
|
|
3243
3242
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3244
3243
|
} | null | undefined;
|
|
3245
|
-
|
|
3244
|
+
originalFile?: {
|
|
3246
3245
|
path: string;
|
|
3247
3246
|
id: string;
|
|
3248
|
-
createdAt: Date;
|
|
3249
3247
|
userId: number;
|
|
3248
|
+
createdAt: Date;
|
|
3250
3249
|
signedUrl: string;
|
|
3251
3250
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3252
3251
|
} | null | undefined;
|
|
3252
|
+
carrier?: unknown;
|
|
3253
3253
|
}[] | null | undefined;
|
|
3254
3254
|
invoices?: {
|
|
3255
3255
|
type: "SALE" | "PURCHASE";
|
|
3256
3256
|
status: string;
|
|
3257
3257
|
id: string;
|
|
3258
|
-
createdAt: Date;
|
|
3259
3258
|
userId: number;
|
|
3259
|
+
createdAt: Date;
|
|
3260
3260
|
currency: string;
|
|
3261
3261
|
orderId: string;
|
|
3262
3262
|
updatedAt: Date;
|
|
@@ -3265,21 +3265,21 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3265
3265
|
businessProfileId: string;
|
|
3266
3266
|
issueDate: Date;
|
|
3267
3267
|
subtotal: number;
|
|
3268
|
-
fileId?: string | null | undefined;
|
|
3269
3268
|
vatAmount?: number | null | undefined;
|
|
3269
|
+
fileId?: string | null | undefined;
|
|
3270
3270
|
file?: {
|
|
3271
3271
|
path: string;
|
|
3272
3272
|
id: string;
|
|
3273
|
-
createdAt: Date;
|
|
3274
3273
|
userId: number;
|
|
3274
|
+
createdAt: Date;
|
|
3275
3275
|
signedUrl: string;
|
|
3276
3276
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3277
3277
|
} | null | undefined;
|
|
3278
3278
|
vatRate?: number | null | undefined;
|
|
3279
3279
|
businessProfile?: {
|
|
3280
3280
|
id: string;
|
|
3281
|
-
createdAt: Date;
|
|
3282
3281
|
userId: number;
|
|
3282
|
+
createdAt: Date;
|
|
3283
3283
|
updatedAt: Date;
|
|
3284
3284
|
businessName: string;
|
|
3285
3285
|
address: string;
|
|
@@ -3292,8 +3292,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3292
3292
|
logo?: {
|
|
3293
3293
|
path: string;
|
|
3294
3294
|
id: string;
|
|
3295
|
-
createdAt: Date;
|
|
3296
3295
|
userId: number;
|
|
3296
|
+
createdAt: Date;
|
|
3297
3297
|
signedUrl: string;
|
|
3298
3298
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3299
3299
|
} | null | undefined;
|
|
@@ -3306,26 +3306,26 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3306
3306
|
firstName: string;
|
|
3307
3307
|
lastName: string;
|
|
3308
3308
|
phoneVerified: boolean;
|
|
3309
|
-
|
|
3309
|
+
postalCode?: string | null | undefined;
|
|
3310
|
+
city?: string | null | undefined;
|
|
3311
|
+
country?: string | null | undefined;
|
|
3310
3312
|
email?: string | null | undefined;
|
|
3313
|
+
addressLine1?: string | null | undefined;
|
|
3314
|
+
addressLine2?: string | null | undefined;
|
|
3315
|
+
birthDate?: Date | null | undefined;
|
|
3311
3316
|
idNumber?: string | null | undefined;
|
|
3312
3317
|
phone?: string | null | undefined;
|
|
3313
3318
|
iban?: string | null | undefined;
|
|
3314
3319
|
bic?: string | null | undefined;
|
|
3315
|
-
addressLine1?: string | null | undefined;
|
|
3316
|
-
addressLine2?: string | null | undefined;
|
|
3317
|
-
city?: string | null | undefined;
|
|
3318
|
-
postalCode?: string | null | undefined;
|
|
3319
|
-
country?: string | null | undefined;
|
|
3320
3320
|
} | null | undefined;
|
|
3321
3321
|
dueDate?: Date | null | undefined;
|
|
3322
3322
|
notes?: string | null | undefined;
|
|
3323
3323
|
lineItems?: {
|
|
3324
|
-
|
|
3324
|
+
quantity: number;
|
|
3325
3325
|
id: number;
|
|
3326
|
+
description: string;
|
|
3326
3327
|
createdAt: Date;
|
|
3327
3328
|
invoiceId: string;
|
|
3328
|
-
quantity: number;
|
|
3329
3329
|
unitPrice: number;
|
|
3330
3330
|
total: number;
|
|
3331
3331
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3335,45 +3335,29 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3335
3335
|
}>>>;
|
|
3336
3336
|
analysisStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "COMPLETED", "FAILED"]>>>;
|
|
3337
3337
|
}, "strip", z.ZodTypeAny, {
|
|
3338
|
-
actions: {
|
|
3339
|
-
perAccount: Record<string, ("REPUBLISH" | "UNKNOWN" | "PUBLISH" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE" | "UPDATE_CANCEL" | "BOOST")[]>;
|
|
3340
|
-
};
|
|
3341
|
-
name: string;
|
|
3342
3338
|
id: number;
|
|
3343
|
-
createdAt: Date;
|
|
3344
3339
|
userId: number;
|
|
3340
|
+
name: string;
|
|
3341
|
+
createdAt: Date;
|
|
3345
3342
|
updatedAt: Date;
|
|
3346
3343
|
sold: boolean;
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
name: string;
|
|
3351
|
-
id: number;
|
|
3352
|
-
createdAt: Date;
|
|
3353
|
-
userId: number;
|
|
3354
|
-
updatedAt: Date;
|
|
3355
|
-
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
3356
|
-
startDate: Date;
|
|
3357
|
-
active: boolean;
|
|
3358
|
-
description?: string | null | undefined;
|
|
3359
|
-
itemId?: number | null | undefined;
|
|
3360
|
-
endDate?: Date | null | undefined;
|
|
3361
|
-
parentFeeId?: number | null | undefined;
|
|
3362
|
-
}[] | null | undefined;
|
|
3344
|
+
actions: {
|
|
3345
|
+
perAccount: Record<string, ("PUBLISH" | "REPUBLISH" | "UPDATE" | "UNKNOWN" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE_CANCEL" | "BOOST")[]>;
|
|
3346
|
+
};
|
|
3363
3347
|
description?: string | null | undefined;
|
|
3364
3348
|
categoryId?: number | null | undefined;
|
|
3365
|
-
sizeId?: number | null | undefined;
|
|
3366
|
-
colorIds?: number[] | null | undefined;
|
|
3367
|
-
packageSizeId?: number | null | undefined;
|
|
3368
3349
|
state?: number | null | undefined;
|
|
3350
|
+
colorIds?: number[] | null | undefined;
|
|
3369
3351
|
measurementLength?: number | null | undefined;
|
|
3370
3352
|
measurementWidth?: number | null | undefined;
|
|
3353
|
+
packageSizeId?: number | null | undefined;
|
|
3354
|
+
sizeId?: number | null | undefined;
|
|
3371
3355
|
labels?: {
|
|
3372
3356
|
itemId: number;
|
|
3373
3357
|
labelId: number;
|
|
3374
3358
|
label?: {
|
|
3375
|
-
name: string;
|
|
3376
3359
|
id: number;
|
|
3360
|
+
name: string;
|
|
3377
3361
|
createdAt: Date;
|
|
3378
3362
|
isUserLabel: boolean;
|
|
3379
3363
|
itemCount?: number | null | undefined;
|
|
@@ -3386,86 +3370,50 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3386
3370
|
fieldKey: string;
|
|
3387
3371
|
}[] | null | undefined;
|
|
3388
3372
|
sku?: string | null | undefined;
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
-
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
3392
|
-
id: string;
|
|
3393
|
-
createdAt: Date;
|
|
3394
|
-
accountId: string;
|
|
3395
|
-
itemId: number;
|
|
3396
|
-
platformId: string;
|
|
3397
|
-
platformUrl: string;
|
|
3398
|
-
platformPrice: number;
|
|
3399
|
-
updatedAt: Date;
|
|
3400
|
-
publishedAt: Date;
|
|
3401
|
-
conversationId?: string | null | undefined;
|
|
3402
|
-
boostedAt?: Date | null | undefined;
|
|
3403
|
-
boostedUntil?: Date | null | undefined;
|
|
3404
|
-
viewsCount?: number | null | undefined;
|
|
3405
|
-
favoritesCount?: number | null | undefined;
|
|
3406
|
-
account?: {
|
|
3407
|
-
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
3408
|
-
name: string;
|
|
3409
|
-
userId: number;
|
|
3410
|
-
accountId: string;
|
|
3411
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3412
|
-
locale?: string | null | undefined;
|
|
3413
|
-
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
3414
|
-
restrictedUntil?: Date | null | undefined;
|
|
3415
|
-
night?: {
|
|
3416
|
-
startsAt: Date;
|
|
3417
|
-
endsAt: Date;
|
|
3418
|
-
} | null | undefined;
|
|
3419
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
3420
|
-
ordersMaxDelay?: number | null | undefined;
|
|
3421
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
3422
|
-
walletMaxDelay?: number | null | undefined;
|
|
3423
|
-
availableBalance?: number | null | undefined;
|
|
3424
|
-
pendingBalance?: number | null | undefined;
|
|
3425
|
-
profilePictureFileId?: string | null | undefined;
|
|
3426
|
-
profilePicture?: {
|
|
3427
|
-
path: string;
|
|
3428
|
-
id: string;
|
|
3429
|
-
createdAt: Date;
|
|
3430
|
-
userId: number;
|
|
3431
|
-
signedUrl: string;
|
|
3432
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3433
|
-
} | null | undefined;
|
|
3434
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
3435
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
3436
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
3437
|
-
} | null | undefined;
|
|
3438
|
-
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;
|
|
3439
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
3440
|
-
isBoosted?: boolean | null | undefined;
|
|
3441
|
-
}[] | null | undefined;
|
|
3442
|
-
brandId?: number | null | undefined;
|
|
3443
|
-
estimatedPrice?: number | null | undefined;
|
|
3444
|
-
purchaseDate?: Date | null | undefined;
|
|
3445
|
-
sellingDate?: Date | null | undefined;
|
|
3446
|
-
fields?: {
|
|
3447
|
-
value: string;
|
|
3373
|
+
fields?: {
|
|
3374
|
+
value: string;
|
|
3448
3375
|
itemId: number;
|
|
3449
3376
|
fieldId: number;
|
|
3450
3377
|
}[] | null | undefined;
|
|
3451
3378
|
files?: {
|
|
3452
|
-
fileId: string;
|
|
3453
3379
|
itemId: number;
|
|
3380
|
+
fileId: string;
|
|
3454
3381
|
file?: {
|
|
3455
3382
|
path: string;
|
|
3456
3383
|
id: string;
|
|
3457
|
-
createdAt: Date;
|
|
3458
3384
|
userId: number;
|
|
3385
|
+
createdAt: Date;
|
|
3459
3386
|
signedUrl: string;
|
|
3460
3387
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3461
3388
|
} | null | undefined;
|
|
3462
3389
|
index?: number | null | undefined;
|
|
3463
3390
|
}[] | null | undefined;
|
|
3391
|
+
brandId?: number | null | undefined;
|
|
3392
|
+
sex?: string | null | undefined;
|
|
3464
3393
|
purchasePrice?: number | null | undefined;
|
|
3394
|
+
purchaseDate?: Date | null | undefined;
|
|
3465
3395
|
purchasePlaceId?: number | null | undefined;
|
|
3466
3396
|
purchased?: boolean | null | undefined;
|
|
3467
3397
|
sellingPrice?: number | null | undefined;
|
|
3398
|
+
sellingDate?: Date | null | undefined;
|
|
3468
3399
|
sellingPlaceId?: number | null | undefined;
|
|
3400
|
+
estimatedPrice?: number | null | undefined;
|
|
3401
|
+
fees?: {
|
|
3402
|
+
value: number;
|
|
3403
|
+
type: string;
|
|
3404
|
+
id: number;
|
|
3405
|
+
userId: number;
|
|
3406
|
+
name: string;
|
|
3407
|
+
createdAt: Date;
|
|
3408
|
+
updatedAt: Date;
|
|
3409
|
+
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
3410
|
+
startDate: Date;
|
|
3411
|
+
active: boolean;
|
|
3412
|
+
description?: string | null | undefined;
|
|
3413
|
+
itemId?: number | null | undefined;
|
|
3414
|
+
endDate?: Date | null | undefined;
|
|
3415
|
+
parentFeeId?: number | null | undefined;
|
|
3416
|
+
}[] | null | undefined;
|
|
3469
3417
|
feesSum?: number | null | undefined;
|
|
3470
3418
|
materialIds?: number[] | null | undefined;
|
|
3471
3419
|
enumValues?: {
|
|
@@ -3481,6 +3429,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3481
3429
|
id: string;
|
|
3482
3430
|
createdAt: Date;
|
|
3483
3431
|
itemId: number;
|
|
3432
|
+
accountId?: string | null | undefined;
|
|
3484
3433
|
data?: {
|
|
3485
3434
|
type: "ACTION_CANCELED";
|
|
3486
3435
|
data: {
|
|
@@ -3516,7 +3465,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3516
3465
|
accountId?: string | null | undefined;
|
|
3517
3466
|
reason?: string | null | undefined;
|
|
3518
3467
|
fields?: {
|
|
3519
|
-
field: "
|
|
3468
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
3520
3469
|
autoFixable: boolean;
|
|
3521
3470
|
error?: string | null | undefined;
|
|
3522
3471
|
}[] | null | undefined;
|
|
@@ -3546,23 +3495,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3546
3495
|
post: {
|
|
3547
3496
|
platformId: string;
|
|
3548
3497
|
post: {
|
|
3498
|
+
size?: string | null | undefined;
|
|
3549
3499
|
status?: string | null | undefined;
|
|
3550
3500
|
title?: string | null | undefined;
|
|
3551
3501
|
description?: string | null | undefined;
|
|
3552
|
-
brand?: string | null | undefined;
|
|
3553
|
-
statusId?: number | null | undefined;
|
|
3554
|
-
sizeId?: number | null | undefined;
|
|
3555
|
-
colorIds?: number[] | null | undefined;
|
|
3556
|
-
packageSizeId?: number | null | undefined;
|
|
3557
3502
|
price?: number | null | undefined;
|
|
3558
3503
|
currency?: string | null | undefined;
|
|
3504
|
+
brand?: string | null | undefined;
|
|
3559
3505
|
catalog?: string | null | undefined;
|
|
3560
3506
|
catalogId?: number | null | undefined;
|
|
3561
3507
|
colors?: string[] | null | undefined;
|
|
3508
|
+
colorIds?: number[] | null | undefined;
|
|
3562
3509
|
measurementLength?: number | null | undefined;
|
|
3563
3510
|
measurementWidth?: number | null | undefined;
|
|
3511
|
+
packageSizeId?: number | null | undefined;
|
|
3564
3512
|
photoUrls?: string[] | null | undefined;
|
|
3565
|
-
|
|
3513
|
+
sizeId?: number | null | undefined;
|
|
3514
|
+
statusId?: number | null | undefined;
|
|
3566
3515
|
isDraft?: boolean | null | undefined;
|
|
3567
3516
|
isArchived?: boolean | null | undefined;
|
|
3568
3517
|
isUnisex?: boolean | null | undefined;
|
|
@@ -3605,8 +3554,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3605
3554
|
} | {
|
|
3606
3555
|
type: "LIFECYCLE_STARTED";
|
|
3607
3556
|
data: {
|
|
3608
|
-
caseId: string;
|
|
3609
3557
|
accountId: string;
|
|
3558
|
+
caseId: string;
|
|
3610
3559
|
isRepeat?: boolean | null | undefined;
|
|
3611
3560
|
};
|
|
3612
3561
|
} | {
|
|
@@ -3645,17 +3594,17 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3645
3594
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
3646
3595
|
} | null | undefined;
|
|
3647
3596
|
} | null | undefined;
|
|
3648
|
-
publishingDate?: Date | null | undefined;
|
|
3649
|
-
isTransfer?: boolean | null | undefined;
|
|
3650
3597
|
targetAccountId?: string | null | undefined;
|
|
3651
3598
|
allowIfDeleted?: boolean | null | undefined;
|
|
3599
|
+
publishingDate?: Date | null | undefined;
|
|
3600
|
+
isTransfer?: boolean | null | undefined;
|
|
3652
3601
|
};
|
|
3653
3602
|
} | {
|
|
3654
3603
|
type: "REPUBLISHING_RETRY";
|
|
3655
3604
|
data: {
|
|
3656
|
-
maxAttempts: number;
|
|
3657
3605
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3658
3606
|
attemptNumber: number;
|
|
3607
|
+
maxAttempts: number;
|
|
3659
3608
|
previousHistoryId: string;
|
|
3660
3609
|
originalFailureDate: Date;
|
|
3661
3610
|
payload?: {
|
|
@@ -3683,7 +3632,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3683
3632
|
} | null | undefined;
|
|
3684
3633
|
} | null | undefined;
|
|
3685
3634
|
fields?: {
|
|
3686
|
-
field: "
|
|
3635
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
3687
3636
|
autoFixable: boolean;
|
|
3688
3637
|
error?: string | null | undefined;
|
|
3689
3638
|
}[] | null | undefined;
|
|
@@ -3697,13 +3646,13 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3697
3646
|
} | {
|
|
3698
3647
|
type: "SCHEDULED_RETRY";
|
|
3699
3648
|
data: {
|
|
3700
|
-
maxAttempts: number;
|
|
3701
3649
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3702
3650
|
attemptNumber: number;
|
|
3651
|
+
maxAttempts: number;
|
|
3703
3652
|
previousHistoryId: string;
|
|
3704
3653
|
originalFailureDate: Date;
|
|
3705
3654
|
fields?: {
|
|
3706
|
-
field: "
|
|
3655
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
3707
3656
|
autoFixable: boolean;
|
|
3708
3657
|
error?: string | null | undefined;
|
|
3709
3658
|
}[] | null | undefined;
|
|
@@ -3732,52 +3681,103 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3732
3681
|
targetDate?: Date | null | undefined;
|
|
3733
3682
|
};
|
|
3734
3683
|
} | null | undefined;
|
|
3735
|
-
accountId?: string | null | undefined;
|
|
3736
3684
|
targetDate?: Date | null | undefined;
|
|
3737
3685
|
requestId?: string | null | undefined;
|
|
3738
3686
|
targetHistoryId?: string | null | undefined;
|
|
3739
3687
|
} | null | undefined;
|
|
3688
|
+
platforms?: {
|
|
3689
|
+
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
3690
|
+
id: string;
|
|
3691
|
+
accountId: string;
|
|
3692
|
+
createdAt: Date;
|
|
3693
|
+
itemId: number;
|
|
3694
|
+
platformId: string;
|
|
3695
|
+
platformUrl: string;
|
|
3696
|
+
platformPrice: number;
|
|
3697
|
+
updatedAt: Date;
|
|
3698
|
+
publishedAt: Date;
|
|
3699
|
+
conversationId?: string | null | undefined;
|
|
3700
|
+
boostedAt?: Date | null | undefined;
|
|
3701
|
+
boostedUntil?: Date | null | undefined;
|
|
3702
|
+
viewsCount?: number | null | undefined;
|
|
3703
|
+
favoritesCount?: number | null | undefined;
|
|
3704
|
+
account?: {
|
|
3705
|
+
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
3706
|
+
accountId: string;
|
|
3707
|
+
userId: number;
|
|
3708
|
+
name: string;
|
|
3709
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3710
|
+
locale?: string | null | undefined;
|
|
3711
|
+
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
3712
|
+
restrictedUntil?: Date | null | undefined;
|
|
3713
|
+
night?: {
|
|
3714
|
+
startsAt: Date;
|
|
3715
|
+
endsAt: Date;
|
|
3716
|
+
} | null | undefined;
|
|
3717
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
3718
|
+
ordersMaxDelay?: number | null | undefined;
|
|
3719
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
3720
|
+
walletMaxDelay?: number | null | undefined;
|
|
3721
|
+
availableBalance?: number | null | undefined;
|
|
3722
|
+
pendingBalance?: number | null | undefined;
|
|
3723
|
+
profilePictureFileId?: string | null | undefined;
|
|
3724
|
+
profilePicture?: {
|
|
3725
|
+
path: string;
|
|
3726
|
+
id: string;
|
|
3727
|
+
userId: number;
|
|
3728
|
+
createdAt: Date;
|
|
3729
|
+
signedUrl: string;
|
|
3730
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3731
|
+
} | null | undefined;
|
|
3732
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
3733
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
3734
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
3735
|
+
} | null | undefined;
|
|
3736
|
+
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;
|
|
3737
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
3738
|
+
isBoosted?: boolean | null | undefined;
|
|
3739
|
+
}[] | null | undefined;
|
|
3740
3740
|
sourceInConversation?: "UNKNOWN" | "DELETED" | "ORDER" | "TRANSACTION" | null | undefined;
|
|
3741
3741
|
order?: {
|
|
3742
3742
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
3743
3743
|
labels?: {
|
|
3744
3744
|
id: string;
|
|
3745
|
-
fileId: string;
|
|
3746
3745
|
orderId: string;
|
|
3746
|
+
fileId: string;
|
|
3747
3747
|
nonCroppedFileId: string;
|
|
3748
3748
|
originalFileId: string;
|
|
3749
|
-
|
|
3749
|
+
file?: {
|
|
3750
3750
|
path: string;
|
|
3751
3751
|
id: string;
|
|
3752
|
-
createdAt: Date;
|
|
3753
3752
|
userId: number;
|
|
3753
|
+
createdAt: Date;
|
|
3754
3754
|
signedUrl: string;
|
|
3755
3755
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3756
3756
|
} | null | undefined;
|
|
3757
|
-
|
|
3758
|
-
file?: {
|
|
3757
|
+
nonCroppedFile?: {
|
|
3759
3758
|
path: string;
|
|
3760
3759
|
id: string;
|
|
3761
|
-
createdAt: Date;
|
|
3762
3760
|
userId: number;
|
|
3761
|
+
createdAt: Date;
|
|
3763
3762
|
signedUrl: string;
|
|
3764
3763
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3765
3764
|
} | null | undefined;
|
|
3766
|
-
|
|
3765
|
+
originalFile?: {
|
|
3767
3766
|
path: string;
|
|
3768
3767
|
id: string;
|
|
3769
|
-
createdAt: Date;
|
|
3770
3768
|
userId: number;
|
|
3769
|
+
createdAt: Date;
|
|
3771
3770
|
signedUrl: string;
|
|
3772
3771
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3773
3772
|
} | null | undefined;
|
|
3773
|
+
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;
|
|
3774
3774
|
}[] | null | undefined;
|
|
3775
3775
|
invoices?: {
|
|
3776
3776
|
type: "SALE" | "PURCHASE";
|
|
3777
3777
|
status: string;
|
|
3778
3778
|
id: string;
|
|
3779
|
-
createdAt: Date;
|
|
3780
3779
|
userId: number;
|
|
3780
|
+
createdAt: Date;
|
|
3781
3781
|
currency: string;
|
|
3782
3782
|
orderId: string;
|
|
3783
3783
|
updatedAt: Date;
|
|
@@ -3786,21 +3786,21 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3786
3786
|
businessProfileId: string;
|
|
3787
3787
|
issueDate: Date;
|
|
3788
3788
|
subtotal: number;
|
|
3789
|
-
fileId?: string | null | undefined;
|
|
3790
3789
|
vatAmount?: number | null | undefined;
|
|
3790
|
+
fileId?: string | null | undefined;
|
|
3791
3791
|
file?: {
|
|
3792
3792
|
path: string;
|
|
3793
3793
|
id: string;
|
|
3794
|
-
createdAt: Date;
|
|
3795
3794
|
userId: number;
|
|
3795
|
+
createdAt: Date;
|
|
3796
3796
|
signedUrl: string;
|
|
3797
3797
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3798
3798
|
} | null | undefined;
|
|
3799
3799
|
vatRate?: number | null | undefined;
|
|
3800
3800
|
businessProfile?: {
|
|
3801
3801
|
id: string;
|
|
3802
|
-
createdAt: Date;
|
|
3803
3802
|
userId: number;
|
|
3803
|
+
createdAt: Date;
|
|
3804
3804
|
updatedAt: Date;
|
|
3805
3805
|
businessName: string;
|
|
3806
3806
|
address: string;
|
|
@@ -3813,8 +3813,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3813
3813
|
logo?: {
|
|
3814
3814
|
path: string;
|
|
3815
3815
|
id: string;
|
|
3816
|
-
createdAt: Date;
|
|
3817
3816
|
userId: number;
|
|
3817
|
+
createdAt: Date;
|
|
3818
3818
|
signedUrl: string;
|
|
3819
3819
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3820
3820
|
} | null | undefined;
|
|
@@ -3827,26 +3827,26 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3827
3827
|
firstName: string;
|
|
3828
3828
|
lastName: string;
|
|
3829
3829
|
phoneVerified: boolean;
|
|
3830
|
-
|
|
3830
|
+
postalCode?: string | null | undefined;
|
|
3831
|
+
city?: string | null | undefined;
|
|
3832
|
+
country?: string | null | undefined;
|
|
3831
3833
|
email?: string | null | undefined;
|
|
3834
|
+
addressLine1?: string | null | undefined;
|
|
3835
|
+
addressLine2?: string | null | undefined;
|
|
3836
|
+
birthDate?: Date | null | undefined;
|
|
3832
3837
|
idNumber?: string | null | undefined;
|
|
3833
3838
|
phone?: string | null | undefined;
|
|
3834
3839
|
iban?: string | null | undefined;
|
|
3835
3840
|
bic?: string | null | undefined;
|
|
3836
|
-
addressLine1?: string | null | undefined;
|
|
3837
|
-
addressLine2?: string | null | undefined;
|
|
3838
|
-
city?: string | null | undefined;
|
|
3839
|
-
postalCode?: string | null | undefined;
|
|
3840
|
-
country?: string | null | undefined;
|
|
3841
3841
|
} | null | undefined;
|
|
3842
3842
|
dueDate?: Date | null | undefined;
|
|
3843
3843
|
notes?: string | null | undefined;
|
|
3844
3844
|
lineItems?: {
|
|
3845
|
-
|
|
3845
|
+
quantity: number;
|
|
3846
3846
|
id: number;
|
|
3847
|
+
description: string;
|
|
3847
3848
|
createdAt: Date;
|
|
3848
3849
|
invoiceId: string;
|
|
3849
|
-
quantity: number;
|
|
3850
3850
|
unitPrice: number;
|
|
3851
3851
|
total: number;
|
|
3852
3852
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -3856,45 +3856,29 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3856
3856
|
} | null | undefined;
|
|
3857
3857
|
analysisStatus?: "PENDING" | "COMPLETED" | "FAILED" | null | undefined;
|
|
3858
3858
|
}, {
|
|
3859
|
-
actions: {
|
|
3860
|
-
perAccount: Record<string, unknown[]>;
|
|
3861
|
-
};
|
|
3862
|
-
name: string;
|
|
3863
3859
|
id: number;
|
|
3864
|
-
createdAt: Date;
|
|
3865
3860
|
userId: number;
|
|
3861
|
+
name: string;
|
|
3862
|
+
createdAt: Date;
|
|
3866
3863
|
updatedAt: Date;
|
|
3867
3864
|
sold: boolean;
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
name: string;
|
|
3872
|
-
id: number;
|
|
3873
|
-
createdAt: Date;
|
|
3874
|
-
userId: number;
|
|
3875
|
-
updatedAt: Date;
|
|
3876
|
-
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
3877
|
-
startDate: Date;
|
|
3878
|
-
active: boolean;
|
|
3879
|
-
description?: string | null | undefined;
|
|
3880
|
-
itemId?: number | null | undefined;
|
|
3881
|
-
endDate?: Date | null | undefined;
|
|
3882
|
-
parentFeeId?: number | null | undefined;
|
|
3883
|
-
}[] | null | undefined;
|
|
3865
|
+
actions: {
|
|
3866
|
+
perAccount: Record<string, unknown[]>;
|
|
3867
|
+
};
|
|
3884
3868
|
description?: string | null | undefined;
|
|
3885
3869
|
categoryId?: number | null | undefined;
|
|
3886
|
-
sizeId?: number | null | undefined;
|
|
3887
|
-
colorIds?: number[] | null | undefined;
|
|
3888
|
-
packageSizeId?: number | null | undefined;
|
|
3889
3870
|
state?: number | null | undefined;
|
|
3871
|
+
colorIds?: number[] | null | undefined;
|
|
3890
3872
|
measurementLength?: number | null | undefined;
|
|
3891
3873
|
measurementWidth?: number | null | undefined;
|
|
3874
|
+
packageSizeId?: number | null | undefined;
|
|
3875
|
+
sizeId?: number | null | undefined;
|
|
3892
3876
|
labels?: {
|
|
3893
3877
|
itemId: number;
|
|
3894
3878
|
labelId: number;
|
|
3895
3879
|
label?: {
|
|
3896
|
-
name: string;
|
|
3897
3880
|
id: number;
|
|
3881
|
+
name: string;
|
|
3898
3882
|
createdAt: Date;
|
|
3899
3883
|
isUserLabel: boolean;
|
|
3900
3884
|
itemCount?: number | null | undefined;
|
|
@@ -3907,86 +3891,50 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
3907
3891
|
fieldKey: string;
|
|
3908
3892
|
}[] | null | undefined;
|
|
3909
3893
|
sku?: string | null | undefined;
|
|
3910
|
-
sex?: string | null | undefined;
|
|
3911
|
-
platforms?: {
|
|
3912
|
-
id: string;
|
|
3913
|
-
createdAt: Date;
|
|
3914
|
-
accountId: string;
|
|
3915
|
-
itemId: number;
|
|
3916
|
-
platformId: string;
|
|
3917
|
-
platformUrl: string;
|
|
3918
|
-
platformPrice: number;
|
|
3919
|
-
updatedAt: Date;
|
|
3920
|
-
publishedAt: Date;
|
|
3921
|
-
status?: unknown;
|
|
3922
|
-
conversationId?: string | null | undefined;
|
|
3923
|
-
boostedAt?: Date | null | undefined;
|
|
3924
|
-
boostedUntil?: Date | null | undefined;
|
|
3925
|
-
viewsCount?: number | null | undefined;
|
|
3926
|
-
favoritesCount?: number | null | undefined;
|
|
3927
|
-
account?: {
|
|
3928
|
-
name: string;
|
|
3929
|
-
userId: number;
|
|
3930
|
-
accountId: string;
|
|
3931
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3932
|
-
status?: unknown;
|
|
3933
|
-
locale?: string | null | undefined;
|
|
3934
|
-
lockReason?: unknown;
|
|
3935
|
-
restrictedUntil?: Date | null | undefined;
|
|
3936
|
-
night?: {
|
|
3937
|
-
startsAt: Date;
|
|
3938
|
-
endsAt: Date;
|
|
3939
|
-
} | null | undefined;
|
|
3940
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
3941
|
-
ordersMaxDelay?: number | null | undefined;
|
|
3942
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
3943
|
-
walletMaxDelay?: number | null | undefined;
|
|
3944
|
-
availableBalance?: number | null | undefined;
|
|
3945
|
-
pendingBalance?: number | null | undefined;
|
|
3946
|
-
profilePictureFileId?: string | null | undefined;
|
|
3947
|
-
profilePicture?: {
|
|
3948
|
-
path: string;
|
|
3949
|
-
id: string;
|
|
3950
|
-
createdAt: Date;
|
|
3951
|
-
userId: number;
|
|
3952
|
-
signedUrl: string;
|
|
3953
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3954
|
-
} | null | undefined;
|
|
3955
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
3956
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
3957
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
3958
|
-
} | null | undefined;
|
|
3959
|
-
orderStatus?: unknown;
|
|
3960
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
3961
|
-
isBoosted?: boolean | null | undefined;
|
|
3962
|
-
}[] | null | undefined;
|
|
3963
|
-
brandId?: number | null | undefined;
|
|
3964
|
-
estimatedPrice?: number | null | undefined;
|
|
3965
|
-
purchaseDate?: Date | null | undefined;
|
|
3966
|
-
sellingDate?: Date | null | undefined;
|
|
3967
3894
|
fields?: {
|
|
3968
3895
|
value: string;
|
|
3969
3896
|
itemId: number;
|
|
3970
3897
|
fieldId: number;
|
|
3971
3898
|
}[] | null | undefined;
|
|
3972
3899
|
files?: {
|
|
3973
|
-
fileId: string;
|
|
3974
3900
|
itemId: number;
|
|
3901
|
+
fileId: string;
|
|
3975
3902
|
file?: {
|
|
3976
3903
|
path: string;
|
|
3977
3904
|
id: string;
|
|
3978
|
-
createdAt: Date;
|
|
3979
3905
|
userId: number;
|
|
3906
|
+
createdAt: Date;
|
|
3980
3907
|
signedUrl: string;
|
|
3981
3908
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3982
3909
|
} | null | undefined;
|
|
3983
3910
|
index?: number | null | undefined;
|
|
3984
3911
|
}[] | null | undefined;
|
|
3912
|
+
brandId?: number | null | undefined;
|
|
3913
|
+
sex?: string | null | undefined;
|
|
3985
3914
|
purchasePrice?: number | null | undefined;
|
|
3915
|
+
purchaseDate?: Date | null | undefined;
|
|
3986
3916
|
purchasePlaceId?: number | null | undefined;
|
|
3987
3917
|
purchased?: boolean | null | undefined;
|
|
3988
3918
|
sellingPrice?: number | null | undefined;
|
|
3919
|
+
sellingDate?: Date | null | undefined;
|
|
3989
3920
|
sellingPlaceId?: number | null | undefined;
|
|
3921
|
+
estimatedPrice?: number | null | undefined;
|
|
3922
|
+
fees?: {
|
|
3923
|
+
value: number;
|
|
3924
|
+
type: string;
|
|
3925
|
+
id: number;
|
|
3926
|
+
userId: number;
|
|
3927
|
+
name: string;
|
|
3928
|
+
createdAt: Date;
|
|
3929
|
+
updatedAt: Date;
|
|
3930
|
+
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
3931
|
+
startDate: Date;
|
|
3932
|
+
active: boolean;
|
|
3933
|
+
description?: string | null | undefined;
|
|
3934
|
+
itemId?: number | null | undefined;
|
|
3935
|
+
endDate?: Date | null | undefined;
|
|
3936
|
+
parentFeeId?: number | null | undefined;
|
|
3937
|
+
}[] | null | undefined;
|
|
3990
3938
|
feesSum?: number | null | undefined;
|
|
3991
3939
|
materialIds?: number[] | null | undefined;
|
|
3992
3940
|
enumValues?: {
|
|
@@ -4002,6 +3950,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4002
3950
|
createdAt: Date;
|
|
4003
3951
|
itemId: number;
|
|
4004
3952
|
type?: unknown;
|
|
3953
|
+
accountId?: string | null | undefined;
|
|
4005
3954
|
data?: {
|
|
4006
3955
|
type: "ACTION_CANCELED";
|
|
4007
3956
|
data: {
|
|
@@ -4067,23 +4016,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4067
4016
|
post: {
|
|
4068
4017
|
platformId: string;
|
|
4069
4018
|
post: {
|
|
4019
|
+
size?: string | null | undefined;
|
|
4070
4020
|
status?: string | null | undefined;
|
|
4071
4021
|
title?: string | null | undefined;
|
|
4072
4022
|
description?: string | null | undefined;
|
|
4073
|
-
brand?: string | null | undefined;
|
|
4074
|
-
statusId?: number | null | undefined;
|
|
4075
|
-
sizeId?: number | null | undefined;
|
|
4076
|
-
colorIds?: number[] | null | undefined;
|
|
4077
|
-
packageSizeId?: number | null | undefined;
|
|
4078
4023
|
price?: number | null | undefined;
|
|
4079
4024
|
currency?: string | null | undefined;
|
|
4025
|
+
brand?: string | null | undefined;
|
|
4080
4026
|
catalog?: string | null | undefined;
|
|
4081
4027
|
catalogId?: number | null | undefined;
|
|
4082
4028
|
colors?: string[] | null | undefined;
|
|
4029
|
+
colorIds?: number[] | null | undefined;
|
|
4083
4030
|
measurementLength?: number | null | undefined;
|
|
4084
4031
|
measurementWidth?: number | null | undefined;
|
|
4032
|
+
packageSizeId?: number | null | undefined;
|
|
4085
4033
|
photoUrls?: string[] | null | undefined;
|
|
4086
|
-
|
|
4034
|
+
sizeId?: number | null | undefined;
|
|
4035
|
+
statusId?: number | null | undefined;
|
|
4087
4036
|
isDraft?: boolean | null | undefined;
|
|
4088
4037
|
isArchived?: boolean | null | undefined;
|
|
4089
4038
|
isUnisex?: boolean | null | undefined;
|
|
@@ -4126,8 +4075,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4126
4075
|
} | {
|
|
4127
4076
|
type: "LIFECYCLE_STARTED";
|
|
4128
4077
|
data: {
|
|
4129
|
-
caseId: string;
|
|
4130
4078
|
accountId: string;
|
|
4079
|
+
caseId: string;
|
|
4131
4080
|
isRepeat?: boolean | null | undefined;
|
|
4132
4081
|
};
|
|
4133
4082
|
} | {
|
|
@@ -4166,17 +4115,17 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4166
4115
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
4167
4116
|
} | null | undefined;
|
|
4168
4117
|
} | null | undefined;
|
|
4169
|
-
publishingDate?: Date | null | undefined;
|
|
4170
|
-
isTransfer?: boolean | null | undefined;
|
|
4171
4118
|
targetAccountId?: string | null | undefined;
|
|
4172
4119
|
allowIfDeleted?: boolean | null | undefined;
|
|
4120
|
+
publishingDate?: Date | null | undefined;
|
|
4121
|
+
isTransfer?: boolean | null | undefined;
|
|
4173
4122
|
};
|
|
4174
4123
|
} | {
|
|
4175
4124
|
type: "REPUBLISHING_RETRY";
|
|
4176
4125
|
data: {
|
|
4177
|
-
maxAttempts: number;
|
|
4178
4126
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4179
4127
|
attemptNumber: number;
|
|
4128
|
+
maxAttempts: number;
|
|
4180
4129
|
previousHistoryId: string;
|
|
4181
4130
|
originalFailureDate: Date;
|
|
4182
4131
|
payload?: {
|
|
@@ -4218,9 +4167,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4218
4167
|
} | {
|
|
4219
4168
|
type: "SCHEDULED_RETRY";
|
|
4220
4169
|
data: {
|
|
4221
|
-
maxAttempts: number;
|
|
4222
4170
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4223
4171
|
attemptNumber: number;
|
|
4172
|
+
maxAttempts: number;
|
|
4224
4173
|
previousHistoryId: string;
|
|
4225
4174
|
originalFailureDate: Date;
|
|
4226
4175
|
fields?: {
|
|
@@ -4253,52 +4202,103 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4253
4202
|
targetDate?: Date | null | undefined;
|
|
4254
4203
|
};
|
|
4255
4204
|
} | null | undefined;
|
|
4256
|
-
accountId?: string | null | undefined;
|
|
4257
4205
|
targetDate?: Date | null | undefined;
|
|
4258
4206
|
requestId?: string | null | undefined;
|
|
4259
4207
|
targetHistoryId?: string | null | undefined;
|
|
4260
4208
|
} | null | undefined;
|
|
4209
|
+
platforms?: {
|
|
4210
|
+
id: string;
|
|
4211
|
+
accountId: string;
|
|
4212
|
+
createdAt: Date;
|
|
4213
|
+
itemId: number;
|
|
4214
|
+
platformId: string;
|
|
4215
|
+
platformUrl: string;
|
|
4216
|
+
platformPrice: number;
|
|
4217
|
+
updatedAt: Date;
|
|
4218
|
+
publishedAt: Date;
|
|
4219
|
+
status?: unknown;
|
|
4220
|
+
conversationId?: string | null | undefined;
|
|
4221
|
+
boostedAt?: Date | null | undefined;
|
|
4222
|
+
boostedUntil?: Date | null | undefined;
|
|
4223
|
+
viewsCount?: number | null | undefined;
|
|
4224
|
+
favoritesCount?: number | null | undefined;
|
|
4225
|
+
account?: {
|
|
4226
|
+
accountId: string;
|
|
4227
|
+
userId: number;
|
|
4228
|
+
name: string;
|
|
4229
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4230
|
+
status?: unknown;
|
|
4231
|
+
locale?: string | null | undefined;
|
|
4232
|
+
lockReason?: unknown;
|
|
4233
|
+
restrictedUntil?: Date | null | undefined;
|
|
4234
|
+
night?: {
|
|
4235
|
+
startsAt: Date;
|
|
4236
|
+
endsAt: Date;
|
|
4237
|
+
} | null | undefined;
|
|
4238
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
4239
|
+
ordersMaxDelay?: number | null | undefined;
|
|
4240
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
4241
|
+
walletMaxDelay?: number | null | undefined;
|
|
4242
|
+
availableBalance?: number | null | undefined;
|
|
4243
|
+
pendingBalance?: number | null | undefined;
|
|
4244
|
+
profilePictureFileId?: string | null | undefined;
|
|
4245
|
+
profilePicture?: {
|
|
4246
|
+
path: string;
|
|
4247
|
+
id: string;
|
|
4248
|
+
userId: number;
|
|
4249
|
+
createdAt: Date;
|
|
4250
|
+
signedUrl: string;
|
|
4251
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4252
|
+
} | null | undefined;
|
|
4253
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
4254
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
4255
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
4256
|
+
} | null | undefined;
|
|
4257
|
+
orderStatus?: unknown;
|
|
4258
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
4259
|
+
isBoosted?: boolean | null | undefined;
|
|
4260
|
+
}[] | null | undefined;
|
|
4261
4261
|
sourceInConversation?: unknown;
|
|
4262
4262
|
order?: {
|
|
4263
4263
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
4264
4264
|
labels?: {
|
|
4265
4265
|
id: string;
|
|
4266
|
-
fileId: string;
|
|
4267
4266
|
orderId: string;
|
|
4267
|
+
fileId: string;
|
|
4268
4268
|
nonCroppedFileId: string;
|
|
4269
4269
|
originalFileId: string;
|
|
4270
|
-
|
|
4270
|
+
file?: {
|
|
4271
4271
|
path: string;
|
|
4272
4272
|
id: string;
|
|
4273
|
-
createdAt: Date;
|
|
4274
4273
|
userId: number;
|
|
4274
|
+
createdAt: Date;
|
|
4275
4275
|
signedUrl: string;
|
|
4276
4276
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4277
4277
|
} | null | undefined;
|
|
4278
|
-
|
|
4279
|
-
file?: {
|
|
4278
|
+
nonCroppedFile?: {
|
|
4280
4279
|
path: string;
|
|
4281
4280
|
id: string;
|
|
4282
|
-
createdAt: Date;
|
|
4283
4281
|
userId: number;
|
|
4282
|
+
createdAt: Date;
|
|
4284
4283
|
signedUrl: string;
|
|
4285
4284
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4286
4285
|
} | null | undefined;
|
|
4287
|
-
|
|
4286
|
+
originalFile?: {
|
|
4288
4287
|
path: string;
|
|
4289
4288
|
id: string;
|
|
4290
|
-
createdAt: Date;
|
|
4291
4289
|
userId: number;
|
|
4290
|
+
createdAt: Date;
|
|
4292
4291
|
signedUrl: string;
|
|
4293
4292
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4294
4293
|
} | null | undefined;
|
|
4294
|
+
carrier?: unknown;
|
|
4295
4295
|
}[] | null | undefined;
|
|
4296
4296
|
invoices?: {
|
|
4297
4297
|
type: "SALE" | "PURCHASE";
|
|
4298
4298
|
status: string;
|
|
4299
4299
|
id: string;
|
|
4300
|
-
createdAt: Date;
|
|
4301
4300
|
userId: number;
|
|
4301
|
+
createdAt: Date;
|
|
4302
4302
|
currency: string;
|
|
4303
4303
|
orderId: string;
|
|
4304
4304
|
updatedAt: Date;
|
|
@@ -4307,21 +4307,21 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4307
4307
|
businessProfileId: string;
|
|
4308
4308
|
issueDate: Date;
|
|
4309
4309
|
subtotal: number;
|
|
4310
|
-
fileId?: string | null | undefined;
|
|
4311
4310
|
vatAmount?: number | null | undefined;
|
|
4311
|
+
fileId?: string | null | undefined;
|
|
4312
4312
|
file?: {
|
|
4313
4313
|
path: string;
|
|
4314
4314
|
id: string;
|
|
4315
|
-
createdAt: Date;
|
|
4316
4315
|
userId: number;
|
|
4316
|
+
createdAt: Date;
|
|
4317
4317
|
signedUrl: string;
|
|
4318
4318
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4319
4319
|
} | null | undefined;
|
|
4320
4320
|
vatRate?: number | null | undefined;
|
|
4321
4321
|
businessProfile?: {
|
|
4322
4322
|
id: string;
|
|
4323
|
-
createdAt: Date;
|
|
4324
4323
|
userId: number;
|
|
4324
|
+
createdAt: Date;
|
|
4325
4325
|
updatedAt: Date;
|
|
4326
4326
|
businessName: string;
|
|
4327
4327
|
address: string;
|
|
@@ -4334,8 +4334,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4334
4334
|
logo?: {
|
|
4335
4335
|
path: string;
|
|
4336
4336
|
id: string;
|
|
4337
|
-
createdAt: Date;
|
|
4338
4337
|
userId: number;
|
|
4338
|
+
createdAt: Date;
|
|
4339
4339
|
signedUrl: string;
|
|
4340
4340
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4341
4341
|
} | null | undefined;
|
|
@@ -4348,26 +4348,26 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4348
4348
|
firstName: string;
|
|
4349
4349
|
lastName: string;
|
|
4350
4350
|
phoneVerified: boolean;
|
|
4351
|
-
|
|
4351
|
+
postalCode?: string | null | undefined;
|
|
4352
|
+
city?: string | null | undefined;
|
|
4353
|
+
country?: string | null | undefined;
|
|
4352
4354
|
email?: string | null | undefined;
|
|
4355
|
+
addressLine1?: string | null | undefined;
|
|
4356
|
+
addressLine2?: string | null | undefined;
|
|
4357
|
+
birthDate?: Date | null | undefined;
|
|
4353
4358
|
idNumber?: string | null | undefined;
|
|
4354
4359
|
phone?: string | null | undefined;
|
|
4355
4360
|
iban?: string | null | undefined;
|
|
4356
4361
|
bic?: string | null | undefined;
|
|
4357
|
-
addressLine1?: string | null | undefined;
|
|
4358
|
-
addressLine2?: string | null | undefined;
|
|
4359
|
-
city?: string | null | undefined;
|
|
4360
|
-
postalCode?: string | null | undefined;
|
|
4361
|
-
country?: string | null | undefined;
|
|
4362
4362
|
} | null | undefined;
|
|
4363
4363
|
dueDate?: Date | null | undefined;
|
|
4364
4364
|
notes?: string | null | undefined;
|
|
4365
4365
|
lineItems?: {
|
|
4366
|
-
|
|
4366
|
+
quantity: number;
|
|
4367
4367
|
id: number;
|
|
4368
|
+
description: string;
|
|
4368
4369
|
createdAt: Date;
|
|
4369
4370
|
invoiceId: string;
|
|
4370
|
-
quantity: number;
|
|
4371
4371
|
unitPrice: number;
|
|
4372
4372
|
total: number;
|
|
4373
4373
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -4381,45 +4381,29 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4381
4381
|
}, "strip", z.ZodTypeAny, {
|
|
4382
4382
|
userId: number;
|
|
4383
4383
|
item: {
|
|
4384
|
-
actions: {
|
|
4385
|
-
perAccount: Record<string, ("REPUBLISH" | "UNKNOWN" | "PUBLISH" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE" | "UPDATE_CANCEL" | "BOOST")[]>;
|
|
4386
|
-
};
|
|
4387
|
-
name: string;
|
|
4388
4384
|
id: number;
|
|
4389
|
-
createdAt: Date;
|
|
4390
4385
|
userId: number;
|
|
4386
|
+
name: string;
|
|
4387
|
+
createdAt: Date;
|
|
4391
4388
|
updatedAt: Date;
|
|
4392
4389
|
sold: boolean;
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
name: string;
|
|
4397
|
-
id: number;
|
|
4398
|
-
createdAt: Date;
|
|
4399
|
-
userId: number;
|
|
4400
|
-
updatedAt: Date;
|
|
4401
|
-
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
4402
|
-
startDate: Date;
|
|
4403
|
-
active: boolean;
|
|
4404
|
-
description?: string | null | undefined;
|
|
4405
|
-
itemId?: number | null | undefined;
|
|
4406
|
-
endDate?: Date | null | undefined;
|
|
4407
|
-
parentFeeId?: number | null | undefined;
|
|
4408
|
-
}[] | null | undefined;
|
|
4390
|
+
actions: {
|
|
4391
|
+
perAccount: Record<string, ("PUBLISH" | "REPUBLISH" | "UPDATE" | "UNKNOWN" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE_CANCEL" | "BOOST")[]>;
|
|
4392
|
+
};
|
|
4409
4393
|
description?: string | null | undefined;
|
|
4410
4394
|
categoryId?: number | null | undefined;
|
|
4411
|
-
sizeId?: number | null | undefined;
|
|
4412
|
-
colorIds?: number[] | null | undefined;
|
|
4413
|
-
packageSizeId?: number | null | undefined;
|
|
4414
4395
|
state?: number | null | undefined;
|
|
4396
|
+
colorIds?: number[] | null | undefined;
|
|
4415
4397
|
measurementLength?: number | null | undefined;
|
|
4416
4398
|
measurementWidth?: number | null | undefined;
|
|
4399
|
+
packageSizeId?: number | null | undefined;
|
|
4400
|
+
sizeId?: number | null | undefined;
|
|
4417
4401
|
labels?: {
|
|
4418
4402
|
itemId: number;
|
|
4419
4403
|
labelId: number;
|
|
4420
4404
|
label?: {
|
|
4421
|
-
name: string;
|
|
4422
4405
|
id: number;
|
|
4406
|
+
name: string;
|
|
4423
4407
|
createdAt: Date;
|
|
4424
4408
|
isUserLabel: boolean;
|
|
4425
4409
|
itemCount?: number | null | undefined;
|
|
@@ -4432,86 +4416,50 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4432
4416
|
fieldKey: string;
|
|
4433
4417
|
}[] | null | undefined;
|
|
4434
4418
|
sku?: string | null | undefined;
|
|
4435
|
-
sex?: string | null | undefined;
|
|
4436
|
-
platforms?: {
|
|
4437
|
-
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
4438
|
-
id: string;
|
|
4439
|
-
createdAt: Date;
|
|
4440
|
-
accountId: string;
|
|
4441
|
-
itemId: number;
|
|
4442
|
-
platformId: string;
|
|
4443
|
-
platformUrl: string;
|
|
4444
|
-
platformPrice: number;
|
|
4445
|
-
updatedAt: Date;
|
|
4446
|
-
publishedAt: Date;
|
|
4447
|
-
conversationId?: string | null | undefined;
|
|
4448
|
-
boostedAt?: Date | null | undefined;
|
|
4449
|
-
boostedUntil?: Date | null | undefined;
|
|
4450
|
-
viewsCount?: number | null | undefined;
|
|
4451
|
-
favoritesCount?: number | null | undefined;
|
|
4452
|
-
account?: {
|
|
4453
|
-
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
4454
|
-
name: string;
|
|
4455
|
-
userId: number;
|
|
4456
|
-
accountId: string;
|
|
4457
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4458
|
-
locale?: string | null | undefined;
|
|
4459
|
-
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
4460
|
-
restrictedUntil?: Date | null | undefined;
|
|
4461
|
-
night?: {
|
|
4462
|
-
startsAt: Date;
|
|
4463
|
-
endsAt: Date;
|
|
4464
|
-
} | null | undefined;
|
|
4465
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
4466
|
-
ordersMaxDelay?: number | null | undefined;
|
|
4467
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
4468
|
-
walletMaxDelay?: number | null | undefined;
|
|
4469
|
-
availableBalance?: number | null | undefined;
|
|
4470
|
-
pendingBalance?: number | null | undefined;
|
|
4471
|
-
profilePictureFileId?: string | null | undefined;
|
|
4472
|
-
profilePicture?: {
|
|
4473
|
-
path: string;
|
|
4474
|
-
id: string;
|
|
4475
|
-
createdAt: Date;
|
|
4476
|
-
userId: number;
|
|
4477
|
-
signedUrl: string;
|
|
4478
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4479
|
-
} | null | undefined;
|
|
4480
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
4481
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
4482
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
4483
|
-
} | null | undefined;
|
|
4484
|
-
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;
|
|
4485
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
4486
|
-
isBoosted?: boolean | null | undefined;
|
|
4487
|
-
}[] | null | undefined;
|
|
4488
|
-
brandId?: number | null | undefined;
|
|
4489
|
-
estimatedPrice?: number | null | undefined;
|
|
4490
|
-
purchaseDate?: Date | null | undefined;
|
|
4491
|
-
sellingDate?: Date | null | undefined;
|
|
4492
4419
|
fields?: {
|
|
4493
4420
|
value: string;
|
|
4494
4421
|
itemId: number;
|
|
4495
4422
|
fieldId: number;
|
|
4496
4423
|
}[] | null | undefined;
|
|
4497
4424
|
files?: {
|
|
4498
|
-
fileId: string;
|
|
4499
4425
|
itemId: number;
|
|
4426
|
+
fileId: string;
|
|
4500
4427
|
file?: {
|
|
4501
4428
|
path: string;
|
|
4502
4429
|
id: string;
|
|
4503
|
-
createdAt: Date;
|
|
4504
4430
|
userId: number;
|
|
4431
|
+
createdAt: Date;
|
|
4505
4432
|
signedUrl: string;
|
|
4506
4433
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4507
4434
|
} | null | undefined;
|
|
4508
4435
|
index?: number | null | undefined;
|
|
4509
4436
|
}[] | null | undefined;
|
|
4437
|
+
brandId?: number | null | undefined;
|
|
4438
|
+
sex?: string | null | undefined;
|
|
4510
4439
|
purchasePrice?: number | null | undefined;
|
|
4440
|
+
purchaseDate?: Date | null | undefined;
|
|
4511
4441
|
purchasePlaceId?: number | null | undefined;
|
|
4512
4442
|
purchased?: boolean | null | undefined;
|
|
4513
4443
|
sellingPrice?: number | null | undefined;
|
|
4444
|
+
sellingDate?: Date | null | undefined;
|
|
4514
4445
|
sellingPlaceId?: number | null | undefined;
|
|
4446
|
+
estimatedPrice?: number | null | undefined;
|
|
4447
|
+
fees?: {
|
|
4448
|
+
value: number;
|
|
4449
|
+
type: string;
|
|
4450
|
+
id: number;
|
|
4451
|
+
userId: number;
|
|
4452
|
+
name: string;
|
|
4453
|
+
createdAt: Date;
|
|
4454
|
+
updatedAt: Date;
|
|
4455
|
+
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
4456
|
+
startDate: Date;
|
|
4457
|
+
active: boolean;
|
|
4458
|
+
description?: string | null | undefined;
|
|
4459
|
+
itemId?: number | null | undefined;
|
|
4460
|
+
endDate?: Date | null | undefined;
|
|
4461
|
+
parentFeeId?: number | null | undefined;
|
|
4462
|
+
}[] | null | undefined;
|
|
4515
4463
|
feesSum?: number | null | undefined;
|
|
4516
4464
|
materialIds?: number[] | null | undefined;
|
|
4517
4465
|
enumValues?: {
|
|
@@ -4527,6 +4475,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4527
4475
|
id: string;
|
|
4528
4476
|
createdAt: Date;
|
|
4529
4477
|
itemId: number;
|
|
4478
|
+
accountId?: string | null | undefined;
|
|
4530
4479
|
data?: {
|
|
4531
4480
|
type: "ACTION_CANCELED";
|
|
4532
4481
|
data: {
|
|
@@ -4562,7 +4511,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4562
4511
|
accountId?: string | null | undefined;
|
|
4563
4512
|
reason?: string | null | undefined;
|
|
4564
4513
|
fields?: {
|
|
4565
|
-
field: "
|
|
4514
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
4566
4515
|
autoFixable: boolean;
|
|
4567
4516
|
error?: string | null | undefined;
|
|
4568
4517
|
}[] | null | undefined;
|
|
@@ -4592,23 +4541,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4592
4541
|
post: {
|
|
4593
4542
|
platformId: string;
|
|
4594
4543
|
post: {
|
|
4544
|
+
size?: string | null | undefined;
|
|
4595
4545
|
status?: string | null | undefined;
|
|
4596
4546
|
title?: string | null | undefined;
|
|
4597
4547
|
description?: string | null | undefined;
|
|
4598
|
-
brand?: string | null | undefined;
|
|
4599
|
-
statusId?: number | null | undefined;
|
|
4600
|
-
sizeId?: number | null | undefined;
|
|
4601
|
-
colorIds?: number[] | null | undefined;
|
|
4602
|
-
packageSizeId?: number | null | undefined;
|
|
4603
4548
|
price?: number | null | undefined;
|
|
4604
4549
|
currency?: string | null | undefined;
|
|
4550
|
+
brand?: string | null | undefined;
|
|
4605
4551
|
catalog?: string | null | undefined;
|
|
4606
4552
|
catalogId?: number | null | undefined;
|
|
4607
4553
|
colors?: string[] | null | undefined;
|
|
4554
|
+
colorIds?: number[] | null | undefined;
|
|
4608
4555
|
measurementLength?: number | null | undefined;
|
|
4609
4556
|
measurementWidth?: number | null | undefined;
|
|
4557
|
+
packageSizeId?: number | null | undefined;
|
|
4610
4558
|
photoUrls?: string[] | null | undefined;
|
|
4611
|
-
|
|
4559
|
+
sizeId?: number | null | undefined;
|
|
4560
|
+
statusId?: number | null | undefined;
|
|
4612
4561
|
isDraft?: boolean | null | undefined;
|
|
4613
4562
|
isArchived?: boolean | null | undefined;
|
|
4614
4563
|
isUnisex?: boolean | null | undefined;
|
|
@@ -4651,8 +4600,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4651
4600
|
} | {
|
|
4652
4601
|
type: "LIFECYCLE_STARTED";
|
|
4653
4602
|
data: {
|
|
4654
|
-
caseId: string;
|
|
4655
4603
|
accountId: string;
|
|
4604
|
+
caseId: string;
|
|
4656
4605
|
isRepeat?: boolean | null | undefined;
|
|
4657
4606
|
};
|
|
4658
4607
|
} | {
|
|
@@ -4691,17 +4640,17 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4691
4640
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
4692
4641
|
} | null | undefined;
|
|
4693
4642
|
} | null | undefined;
|
|
4694
|
-
publishingDate?: Date | null | undefined;
|
|
4695
|
-
isTransfer?: boolean | null | undefined;
|
|
4696
4643
|
targetAccountId?: string | null | undefined;
|
|
4697
4644
|
allowIfDeleted?: boolean | null | undefined;
|
|
4645
|
+
publishingDate?: Date | null | undefined;
|
|
4646
|
+
isTransfer?: boolean | null | undefined;
|
|
4698
4647
|
};
|
|
4699
4648
|
} | {
|
|
4700
4649
|
type: "REPUBLISHING_RETRY";
|
|
4701
4650
|
data: {
|
|
4702
|
-
maxAttempts: number;
|
|
4703
4651
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4704
4652
|
attemptNumber: number;
|
|
4653
|
+
maxAttempts: number;
|
|
4705
4654
|
previousHistoryId: string;
|
|
4706
4655
|
originalFailureDate: Date;
|
|
4707
4656
|
payload?: {
|
|
@@ -4729,7 +4678,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4729
4678
|
} | null | undefined;
|
|
4730
4679
|
} | null | undefined;
|
|
4731
4680
|
fields?: {
|
|
4732
|
-
field: "
|
|
4681
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
4733
4682
|
autoFixable: boolean;
|
|
4734
4683
|
error?: string | null | undefined;
|
|
4735
4684
|
}[] | null | undefined;
|
|
@@ -4743,13 +4692,13 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4743
4692
|
} | {
|
|
4744
4693
|
type: "SCHEDULED_RETRY";
|
|
4745
4694
|
data: {
|
|
4746
|
-
maxAttempts: number;
|
|
4747
4695
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4748
4696
|
attemptNumber: number;
|
|
4697
|
+
maxAttempts: number;
|
|
4749
4698
|
previousHistoryId: string;
|
|
4750
4699
|
originalFailureDate: Date;
|
|
4751
4700
|
fields?: {
|
|
4752
|
-
field: "
|
|
4701
|
+
field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
|
|
4753
4702
|
autoFixable: boolean;
|
|
4754
4703
|
error?: string | null | undefined;
|
|
4755
4704
|
}[] | null | undefined;
|
|
@@ -4778,52 +4727,103 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4778
4727
|
targetDate?: Date | null | undefined;
|
|
4779
4728
|
};
|
|
4780
4729
|
} | null | undefined;
|
|
4781
|
-
accountId?: string | null | undefined;
|
|
4782
4730
|
targetDate?: Date | null | undefined;
|
|
4783
4731
|
requestId?: string | null | undefined;
|
|
4784
4732
|
targetHistoryId?: string | null | undefined;
|
|
4785
4733
|
} | null | undefined;
|
|
4734
|
+
platforms?: {
|
|
4735
|
+
status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
4736
|
+
id: string;
|
|
4737
|
+
accountId: string;
|
|
4738
|
+
createdAt: Date;
|
|
4739
|
+
itemId: number;
|
|
4740
|
+
platformId: string;
|
|
4741
|
+
platformUrl: string;
|
|
4742
|
+
platformPrice: number;
|
|
4743
|
+
updatedAt: Date;
|
|
4744
|
+
publishedAt: Date;
|
|
4745
|
+
conversationId?: string | null | undefined;
|
|
4746
|
+
boostedAt?: Date | null | undefined;
|
|
4747
|
+
boostedUntil?: Date | null | undefined;
|
|
4748
|
+
viewsCount?: number | null | undefined;
|
|
4749
|
+
favoritesCount?: number | null | undefined;
|
|
4750
|
+
account?: {
|
|
4751
|
+
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
4752
|
+
accountId: string;
|
|
4753
|
+
userId: number;
|
|
4754
|
+
name: string;
|
|
4755
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4756
|
+
locale?: string | null | undefined;
|
|
4757
|
+
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
4758
|
+
restrictedUntil?: Date | null | undefined;
|
|
4759
|
+
night?: {
|
|
4760
|
+
startsAt: Date;
|
|
4761
|
+
endsAt: Date;
|
|
4762
|
+
} | null | undefined;
|
|
4763
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
4764
|
+
ordersMaxDelay?: number | null | undefined;
|
|
4765
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
4766
|
+
walletMaxDelay?: number | null | undefined;
|
|
4767
|
+
availableBalance?: number | null | undefined;
|
|
4768
|
+
pendingBalance?: number | null | undefined;
|
|
4769
|
+
profilePictureFileId?: string | null | undefined;
|
|
4770
|
+
profilePicture?: {
|
|
4771
|
+
path: string;
|
|
4772
|
+
id: string;
|
|
4773
|
+
userId: number;
|
|
4774
|
+
createdAt: Date;
|
|
4775
|
+
signedUrl: string;
|
|
4776
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4777
|
+
} | null | undefined;
|
|
4778
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
4779
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
4780
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
4781
|
+
} | null | undefined;
|
|
4782
|
+
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;
|
|
4783
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
4784
|
+
isBoosted?: boolean | null | undefined;
|
|
4785
|
+
}[] | null | undefined;
|
|
4786
4786
|
sourceInConversation?: "UNKNOWN" | "DELETED" | "ORDER" | "TRANSACTION" | null | undefined;
|
|
4787
4787
|
order?: {
|
|
4788
4788
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
4789
4789
|
labels?: {
|
|
4790
4790
|
id: string;
|
|
4791
|
-
fileId: string;
|
|
4792
4791
|
orderId: string;
|
|
4792
|
+
fileId: string;
|
|
4793
4793
|
nonCroppedFileId: string;
|
|
4794
4794
|
originalFileId: string;
|
|
4795
|
-
|
|
4795
|
+
file?: {
|
|
4796
4796
|
path: string;
|
|
4797
4797
|
id: string;
|
|
4798
|
-
createdAt: Date;
|
|
4799
4798
|
userId: number;
|
|
4799
|
+
createdAt: Date;
|
|
4800
4800
|
signedUrl: string;
|
|
4801
4801
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4802
4802
|
} | null | undefined;
|
|
4803
|
-
|
|
4804
|
-
file?: {
|
|
4803
|
+
nonCroppedFile?: {
|
|
4805
4804
|
path: string;
|
|
4806
4805
|
id: string;
|
|
4807
|
-
createdAt: Date;
|
|
4808
4806
|
userId: number;
|
|
4807
|
+
createdAt: Date;
|
|
4809
4808
|
signedUrl: string;
|
|
4810
4809
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4811
4810
|
} | null | undefined;
|
|
4812
|
-
|
|
4811
|
+
originalFile?: {
|
|
4813
4812
|
path: string;
|
|
4814
4813
|
id: string;
|
|
4815
|
-
createdAt: Date;
|
|
4816
4814
|
userId: number;
|
|
4815
|
+
createdAt: Date;
|
|
4817
4816
|
signedUrl: string;
|
|
4818
4817
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4819
4818
|
} | null | undefined;
|
|
4819
|
+
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;
|
|
4820
4820
|
}[] | null | undefined;
|
|
4821
4821
|
invoices?: {
|
|
4822
4822
|
type: "SALE" | "PURCHASE";
|
|
4823
4823
|
status: string;
|
|
4824
4824
|
id: string;
|
|
4825
|
-
createdAt: Date;
|
|
4826
4825
|
userId: number;
|
|
4826
|
+
createdAt: Date;
|
|
4827
4827
|
currency: string;
|
|
4828
4828
|
orderId: string;
|
|
4829
4829
|
updatedAt: Date;
|
|
@@ -4832,21 +4832,21 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4832
4832
|
businessProfileId: string;
|
|
4833
4833
|
issueDate: Date;
|
|
4834
4834
|
subtotal: number;
|
|
4835
|
-
fileId?: string | null | undefined;
|
|
4836
4835
|
vatAmount?: number | null | undefined;
|
|
4836
|
+
fileId?: string | null | undefined;
|
|
4837
4837
|
file?: {
|
|
4838
4838
|
path: string;
|
|
4839
4839
|
id: string;
|
|
4840
|
-
createdAt: Date;
|
|
4841
4840
|
userId: number;
|
|
4841
|
+
createdAt: Date;
|
|
4842
4842
|
signedUrl: string;
|
|
4843
4843
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4844
4844
|
} | null | undefined;
|
|
4845
4845
|
vatRate?: number | null | undefined;
|
|
4846
4846
|
businessProfile?: {
|
|
4847
4847
|
id: string;
|
|
4848
|
-
createdAt: Date;
|
|
4849
4848
|
userId: number;
|
|
4849
|
+
createdAt: Date;
|
|
4850
4850
|
updatedAt: Date;
|
|
4851
4851
|
businessName: string;
|
|
4852
4852
|
address: string;
|
|
@@ -4859,8 +4859,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4859
4859
|
logo?: {
|
|
4860
4860
|
path: string;
|
|
4861
4861
|
id: string;
|
|
4862
|
-
createdAt: Date;
|
|
4863
4862
|
userId: number;
|
|
4863
|
+
createdAt: Date;
|
|
4864
4864
|
signedUrl: string;
|
|
4865
4865
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4866
4866
|
} | null | undefined;
|
|
@@ -4873,26 +4873,26 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4873
4873
|
firstName: string;
|
|
4874
4874
|
lastName: string;
|
|
4875
4875
|
phoneVerified: boolean;
|
|
4876
|
-
|
|
4876
|
+
postalCode?: string | null | undefined;
|
|
4877
|
+
city?: string | null | undefined;
|
|
4878
|
+
country?: string | null | undefined;
|
|
4877
4879
|
email?: string | null | undefined;
|
|
4880
|
+
addressLine1?: string | null | undefined;
|
|
4881
|
+
addressLine2?: string | null | undefined;
|
|
4882
|
+
birthDate?: Date | null | undefined;
|
|
4878
4883
|
idNumber?: string | null | undefined;
|
|
4879
4884
|
phone?: string | null | undefined;
|
|
4880
4885
|
iban?: string | null | undefined;
|
|
4881
4886
|
bic?: string | null | undefined;
|
|
4882
|
-
addressLine1?: string | null | undefined;
|
|
4883
|
-
addressLine2?: string | null | undefined;
|
|
4884
|
-
city?: string | null | undefined;
|
|
4885
|
-
postalCode?: string | null | undefined;
|
|
4886
|
-
country?: string | null | undefined;
|
|
4887
4887
|
} | null | undefined;
|
|
4888
4888
|
dueDate?: Date | null | undefined;
|
|
4889
4889
|
notes?: string | null | undefined;
|
|
4890
4890
|
lineItems?: {
|
|
4891
|
-
|
|
4891
|
+
quantity: number;
|
|
4892
4892
|
id: number;
|
|
4893
|
+
description: string;
|
|
4893
4894
|
createdAt: Date;
|
|
4894
4895
|
invoiceId: string;
|
|
4895
|
-
quantity: number;
|
|
4896
4896
|
unitPrice: number;
|
|
4897
4897
|
total: number;
|
|
4898
4898
|
itemOnPlatformId?: string | null | undefined;
|
|
@@ -4906,45 +4906,29 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4906
4906
|
}, {
|
|
4907
4907
|
userId: number;
|
|
4908
4908
|
item: {
|
|
4909
|
-
actions: {
|
|
4910
|
-
perAccount: Record<string, unknown[]>;
|
|
4911
|
-
};
|
|
4912
|
-
name: string;
|
|
4913
4909
|
id: number;
|
|
4914
|
-
createdAt: Date;
|
|
4915
4910
|
userId: number;
|
|
4911
|
+
name: string;
|
|
4912
|
+
createdAt: Date;
|
|
4916
4913
|
updatedAt: Date;
|
|
4917
4914
|
sold: boolean;
|
|
4918
|
-
|
|
4919
|
-
|
|
4920
|
-
|
|
4921
|
-
name: string;
|
|
4922
|
-
id: number;
|
|
4923
|
-
createdAt: Date;
|
|
4924
|
-
userId: number;
|
|
4925
|
-
updatedAt: Date;
|
|
4926
|
-
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
4927
|
-
startDate: Date;
|
|
4928
|
-
active: boolean;
|
|
4929
|
-
description?: string | null | undefined;
|
|
4930
|
-
itemId?: number | null | undefined;
|
|
4931
|
-
endDate?: Date | null | undefined;
|
|
4932
|
-
parentFeeId?: number | null | undefined;
|
|
4933
|
-
}[] | null | undefined;
|
|
4915
|
+
actions: {
|
|
4916
|
+
perAccount: Record<string, unknown[]>;
|
|
4917
|
+
};
|
|
4934
4918
|
description?: string | null | undefined;
|
|
4935
4919
|
categoryId?: number | null | undefined;
|
|
4936
|
-
sizeId?: number | null | undefined;
|
|
4937
|
-
colorIds?: number[] | null | undefined;
|
|
4938
|
-
packageSizeId?: number | null | undefined;
|
|
4939
4920
|
state?: number | null | undefined;
|
|
4921
|
+
colorIds?: number[] | null | undefined;
|
|
4940
4922
|
measurementLength?: number | null | undefined;
|
|
4941
4923
|
measurementWidth?: number | null | undefined;
|
|
4924
|
+
packageSizeId?: number | null | undefined;
|
|
4925
|
+
sizeId?: number | null | undefined;
|
|
4942
4926
|
labels?: {
|
|
4943
4927
|
itemId: number;
|
|
4944
4928
|
labelId: number;
|
|
4945
4929
|
label?: {
|
|
4946
|
-
name: string;
|
|
4947
4930
|
id: number;
|
|
4931
|
+
name: string;
|
|
4948
4932
|
createdAt: Date;
|
|
4949
4933
|
isUserLabel: boolean;
|
|
4950
4934
|
itemCount?: number | null | undefined;
|
|
@@ -4957,86 +4941,50 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
4957
4941
|
fieldKey: string;
|
|
4958
4942
|
}[] | null | undefined;
|
|
4959
4943
|
sku?: string | null | undefined;
|
|
4960
|
-
sex?: string | null | undefined;
|
|
4961
|
-
platforms?: {
|
|
4962
|
-
id: string;
|
|
4963
|
-
createdAt: Date;
|
|
4964
|
-
accountId: string;
|
|
4965
|
-
itemId: number;
|
|
4966
|
-
platformId: string;
|
|
4967
|
-
platformUrl: string;
|
|
4968
|
-
platformPrice: number;
|
|
4969
|
-
updatedAt: Date;
|
|
4970
|
-
publishedAt: Date;
|
|
4971
|
-
status?: unknown;
|
|
4972
|
-
conversationId?: string | null | undefined;
|
|
4973
|
-
boostedAt?: Date | null | undefined;
|
|
4974
|
-
boostedUntil?: Date | null | undefined;
|
|
4975
|
-
viewsCount?: number | null | undefined;
|
|
4976
|
-
favoritesCount?: number | null | undefined;
|
|
4977
|
-
account?: {
|
|
4978
|
-
name: string;
|
|
4979
|
-
userId: number;
|
|
4980
|
-
accountId: string;
|
|
4981
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4982
|
-
status?: unknown;
|
|
4983
|
-
locale?: string | null | undefined;
|
|
4984
|
-
lockReason?: unknown;
|
|
4985
|
-
restrictedUntil?: Date | null | undefined;
|
|
4986
|
-
night?: {
|
|
4987
|
-
startsAt: Date;
|
|
4988
|
-
endsAt: Date;
|
|
4989
|
-
} | null | undefined;
|
|
4990
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
4991
|
-
ordersMaxDelay?: number | null | undefined;
|
|
4992
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
4993
|
-
walletMaxDelay?: number | null | undefined;
|
|
4994
|
-
availableBalance?: number | null | undefined;
|
|
4995
|
-
pendingBalance?: number | null | undefined;
|
|
4996
|
-
profilePictureFileId?: string | null | undefined;
|
|
4997
|
-
profilePicture?: {
|
|
4998
|
-
path: string;
|
|
4999
|
-
id: string;
|
|
5000
|
-
createdAt: Date;
|
|
5001
|
-
userId: number;
|
|
5002
|
-
signedUrl: string;
|
|
5003
|
-
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5004
|
-
} | null | undefined;
|
|
5005
|
-
cooldownEndsAt?: Date | null | undefined;
|
|
5006
|
-
walletActivationRequiredAt?: Date | null | undefined;
|
|
5007
|
-
phoneNumberRequiredAt?: Date | null | undefined;
|
|
5008
|
-
} | null | undefined;
|
|
5009
|
-
orderStatus?: unknown;
|
|
5010
|
-
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
5011
|
-
isBoosted?: boolean | null | undefined;
|
|
5012
|
-
}[] | null | undefined;
|
|
5013
|
-
brandId?: number | null | undefined;
|
|
5014
|
-
estimatedPrice?: number | null | undefined;
|
|
5015
|
-
purchaseDate?: Date | null | undefined;
|
|
5016
|
-
sellingDate?: Date | null | undefined;
|
|
5017
4944
|
fields?: {
|
|
5018
4945
|
value: string;
|
|
5019
4946
|
itemId: number;
|
|
5020
4947
|
fieldId: number;
|
|
5021
4948
|
}[] | null | undefined;
|
|
5022
4949
|
files?: {
|
|
5023
|
-
fileId: string;
|
|
5024
4950
|
itemId: number;
|
|
4951
|
+
fileId: string;
|
|
5025
4952
|
file?: {
|
|
5026
4953
|
path: string;
|
|
5027
4954
|
id: string;
|
|
5028
|
-
createdAt: Date;
|
|
5029
4955
|
userId: number;
|
|
4956
|
+
createdAt: Date;
|
|
5030
4957
|
signedUrl: string;
|
|
5031
4958
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5032
4959
|
} | null | undefined;
|
|
5033
4960
|
index?: number | null | undefined;
|
|
5034
4961
|
}[] | null | undefined;
|
|
4962
|
+
brandId?: number | null | undefined;
|
|
4963
|
+
sex?: string | null | undefined;
|
|
5035
4964
|
purchasePrice?: number | null | undefined;
|
|
4965
|
+
purchaseDate?: Date | null | undefined;
|
|
5036
4966
|
purchasePlaceId?: number | null | undefined;
|
|
5037
4967
|
purchased?: boolean | null | undefined;
|
|
5038
4968
|
sellingPrice?: number | null | undefined;
|
|
4969
|
+
sellingDate?: Date | null | undefined;
|
|
5039
4970
|
sellingPlaceId?: number | null | undefined;
|
|
4971
|
+
estimatedPrice?: number | null | undefined;
|
|
4972
|
+
fees?: {
|
|
4973
|
+
value: number;
|
|
4974
|
+
type: string;
|
|
4975
|
+
id: number;
|
|
4976
|
+
userId: number;
|
|
4977
|
+
name: string;
|
|
4978
|
+
createdAt: Date;
|
|
4979
|
+
updatedAt: Date;
|
|
4980
|
+
recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
|
|
4981
|
+
startDate: Date;
|
|
4982
|
+
active: boolean;
|
|
4983
|
+
description?: string | null | undefined;
|
|
4984
|
+
itemId?: number | null | undefined;
|
|
4985
|
+
endDate?: Date | null | undefined;
|
|
4986
|
+
parentFeeId?: number | null | undefined;
|
|
4987
|
+
}[] | null | undefined;
|
|
5040
4988
|
feesSum?: number | null | undefined;
|
|
5041
4989
|
materialIds?: number[] | null | undefined;
|
|
5042
4990
|
enumValues?: {
|
|
@@ -5052,6 +5000,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
5052
5000
|
createdAt: Date;
|
|
5053
5001
|
itemId: number;
|
|
5054
5002
|
type?: unknown;
|
|
5003
|
+
accountId?: string | null | undefined;
|
|
5055
5004
|
data?: {
|
|
5056
5005
|
type: "ACTION_CANCELED";
|
|
5057
5006
|
data: {
|
|
@@ -5117,23 +5066,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
5117
5066
|
post: {
|
|
5118
5067
|
platformId: string;
|
|
5119
5068
|
post: {
|
|
5069
|
+
size?: string | null | undefined;
|
|
5120
5070
|
status?: string | null | undefined;
|
|
5121
5071
|
title?: string | null | undefined;
|
|
5122
5072
|
description?: string | null | undefined;
|
|
5123
|
-
brand?: string | null | undefined;
|
|
5124
|
-
statusId?: number | null | undefined;
|
|
5125
|
-
sizeId?: number | null | undefined;
|
|
5126
|
-
colorIds?: number[] | null | undefined;
|
|
5127
|
-
packageSizeId?: number | null | undefined;
|
|
5128
5073
|
price?: number | null | undefined;
|
|
5129
5074
|
currency?: string | null | undefined;
|
|
5075
|
+
brand?: string | null | undefined;
|
|
5130
5076
|
catalog?: string | null | undefined;
|
|
5131
5077
|
catalogId?: number | null | undefined;
|
|
5132
5078
|
colors?: string[] | null | undefined;
|
|
5079
|
+
colorIds?: number[] | null | undefined;
|
|
5133
5080
|
measurementLength?: number | null | undefined;
|
|
5134
5081
|
measurementWidth?: number | null | undefined;
|
|
5082
|
+
packageSizeId?: number | null | undefined;
|
|
5135
5083
|
photoUrls?: string[] | null | undefined;
|
|
5136
|
-
|
|
5084
|
+
sizeId?: number | null | undefined;
|
|
5085
|
+
statusId?: number | null | undefined;
|
|
5137
5086
|
isDraft?: boolean | null | undefined;
|
|
5138
5087
|
isArchived?: boolean | null | undefined;
|
|
5139
5088
|
isUnisex?: boolean | null | undefined;
|
|
@@ -5176,8 +5125,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
5176
5125
|
} | {
|
|
5177
5126
|
type: "LIFECYCLE_STARTED";
|
|
5178
5127
|
data: {
|
|
5179
|
-
caseId: string;
|
|
5180
5128
|
accountId: string;
|
|
5129
|
+
caseId: string;
|
|
5181
5130
|
isRepeat?: boolean | null | undefined;
|
|
5182
5131
|
};
|
|
5183
5132
|
} | {
|
|
@@ -5216,17 +5165,17 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
5216
5165
|
elasticWarpEnabled?: boolean | null | undefined;
|
|
5217
5166
|
} | null | undefined;
|
|
5218
5167
|
} | null | undefined;
|
|
5219
|
-
publishingDate?: Date | null | undefined;
|
|
5220
|
-
isTransfer?: boolean | null | undefined;
|
|
5221
5168
|
targetAccountId?: string | null | undefined;
|
|
5222
5169
|
allowIfDeleted?: boolean | null | undefined;
|
|
5170
|
+
publishingDate?: Date | null | undefined;
|
|
5171
|
+
isTransfer?: boolean | null | undefined;
|
|
5223
5172
|
};
|
|
5224
5173
|
} | {
|
|
5225
5174
|
type: "REPUBLISHING_RETRY";
|
|
5226
5175
|
data: {
|
|
5227
|
-
maxAttempts: number;
|
|
5228
5176
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5229
5177
|
attemptNumber: number;
|
|
5178
|
+
maxAttempts: number;
|
|
5230
5179
|
previousHistoryId: string;
|
|
5231
5180
|
originalFailureDate: Date;
|
|
5232
5181
|
payload?: {
|
|
@@ -5268,9 +5217,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
5268
5217
|
} | {
|
|
5269
5218
|
type: "SCHEDULED_RETRY";
|
|
5270
5219
|
data: {
|
|
5271
|
-
maxAttempts: number;
|
|
5272
5220
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5273
5221
|
attemptNumber: number;
|
|
5222
|
+
maxAttempts: number;
|
|
5274
5223
|
previousHistoryId: string;
|
|
5275
5224
|
originalFailureDate: Date;
|
|
5276
5225
|
fields?: {
|
|
@@ -5303,52 +5252,103 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
5303
5252
|
targetDate?: Date | null | undefined;
|
|
5304
5253
|
};
|
|
5305
5254
|
} | null | undefined;
|
|
5306
|
-
accountId?: string | null | undefined;
|
|
5307
5255
|
targetDate?: Date | null | undefined;
|
|
5308
5256
|
requestId?: string | null | undefined;
|
|
5309
5257
|
targetHistoryId?: string | null | undefined;
|
|
5310
5258
|
} | null | undefined;
|
|
5259
|
+
platforms?: {
|
|
5260
|
+
id: string;
|
|
5261
|
+
accountId: string;
|
|
5262
|
+
createdAt: Date;
|
|
5263
|
+
itemId: number;
|
|
5264
|
+
platformId: string;
|
|
5265
|
+
platformUrl: string;
|
|
5266
|
+
platformPrice: number;
|
|
5267
|
+
updatedAt: Date;
|
|
5268
|
+
publishedAt: Date;
|
|
5269
|
+
status?: unknown;
|
|
5270
|
+
conversationId?: string | null | undefined;
|
|
5271
|
+
boostedAt?: Date | null | undefined;
|
|
5272
|
+
boostedUntil?: Date | null | undefined;
|
|
5273
|
+
viewsCount?: number | null | undefined;
|
|
5274
|
+
favoritesCount?: number | null | undefined;
|
|
5275
|
+
account?: {
|
|
5276
|
+
accountId: string;
|
|
5277
|
+
userId: number;
|
|
5278
|
+
name: string;
|
|
5279
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
5280
|
+
status?: unknown;
|
|
5281
|
+
locale?: string | null | undefined;
|
|
5282
|
+
lockReason?: unknown;
|
|
5283
|
+
restrictedUntil?: Date | null | undefined;
|
|
5284
|
+
night?: {
|
|
5285
|
+
startsAt: Date;
|
|
5286
|
+
endsAt: Date;
|
|
5287
|
+
} | null | undefined;
|
|
5288
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
5289
|
+
ordersMaxDelay?: number | null | undefined;
|
|
5290
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
5291
|
+
walletMaxDelay?: number | null | undefined;
|
|
5292
|
+
availableBalance?: number | null | undefined;
|
|
5293
|
+
pendingBalance?: number | null | undefined;
|
|
5294
|
+
profilePictureFileId?: string | null | undefined;
|
|
5295
|
+
profilePicture?: {
|
|
5296
|
+
path: string;
|
|
5297
|
+
id: string;
|
|
5298
|
+
userId: number;
|
|
5299
|
+
createdAt: Date;
|
|
5300
|
+
signedUrl: string;
|
|
5301
|
+
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5302
|
+
} | null | undefined;
|
|
5303
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
5304
|
+
walletActivationRequiredAt?: Date | null | undefined;
|
|
5305
|
+
phoneNumberRequiredAt?: Date | null | undefined;
|
|
5306
|
+
} | null | undefined;
|
|
5307
|
+
orderStatus?: unknown;
|
|
5308
|
+
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
5309
|
+
isBoosted?: boolean | null | undefined;
|
|
5310
|
+
}[] | null | undefined;
|
|
5311
5311
|
sourceInConversation?: unknown;
|
|
5312
5312
|
order?: {
|
|
5313
5313
|
transactionType: "SINGLE_ITEM" | "BUNDLE";
|
|
5314
5314
|
labels?: {
|
|
5315
5315
|
id: string;
|
|
5316
|
-
fileId: string;
|
|
5317
5316
|
orderId: string;
|
|
5317
|
+
fileId: string;
|
|
5318
5318
|
nonCroppedFileId: string;
|
|
5319
5319
|
originalFileId: string;
|
|
5320
|
-
|
|
5320
|
+
file?: {
|
|
5321
5321
|
path: string;
|
|
5322
5322
|
id: string;
|
|
5323
|
-
createdAt: Date;
|
|
5324
5323
|
userId: number;
|
|
5324
|
+
createdAt: Date;
|
|
5325
5325
|
signedUrl: string;
|
|
5326
5326
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5327
5327
|
} | null | undefined;
|
|
5328
|
-
|
|
5329
|
-
file?: {
|
|
5328
|
+
nonCroppedFile?: {
|
|
5330
5329
|
path: string;
|
|
5331
5330
|
id: string;
|
|
5332
|
-
createdAt: Date;
|
|
5333
5331
|
userId: number;
|
|
5332
|
+
createdAt: Date;
|
|
5334
5333
|
signedUrl: string;
|
|
5335
5334
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5336
5335
|
} | null | undefined;
|
|
5337
|
-
|
|
5336
|
+
originalFile?: {
|
|
5338
5337
|
path: string;
|
|
5339
5338
|
id: string;
|
|
5340
|
-
createdAt: Date;
|
|
5341
5339
|
userId: number;
|
|
5340
|
+
createdAt: Date;
|
|
5342
5341
|
signedUrl: string;
|
|
5343
5342
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5344
5343
|
} | null | undefined;
|
|
5344
|
+
carrier?: unknown;
|
|
5345
5345
|
}[] | null | undefined;
|
|
5346
5346
|
invoices?: {
|
|
5347
5347
|
type: "SALE" | "PURCHASE";
|
|
5348
5348
|
status: string;
|
|
5349
5349
|
id: string;
|
|
5350
|
-
createdAt: Date;
|
|
5351
5350
|
userId: number;
|
|
5351
|
+
createdAt: Date;
|
|
5352
5352
|
currency: string;
|
|
5353
5353
|
orderId: string;
|
|
5354
5354
|
updatedAt: Date;
|
|
@@ -5357,21 +5357,21 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
5357
5357
|
businessProfileId: string;
|
|
5358
5358
|
issueDate: Date;
|
|
5359
5359
|
subtotal: number;
|
|
5360
|
-
fileId?: string | null | undefined;
|
|
5361
5360
|
vatAmount?: number | null | undefined;
|
|
5361
|
+
fileId?: string | null | undefined;
|
|
5362
5362
|
file?: {
|
|
5363
5363
|
path: string;
|
|
5364
5364
|
id: string;
|
|
5365
|
-
createdAt: Date;
|
|
5366
5365
|
userId: number;
|
|
5366
|
+
createdAt: Date;
|
|
5367
5367
|
signedUrl: string;
|
|
5368
5368
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5369
5369
|
} | null | undefined;
|
|
5370
5370
|
vatRate?: number | null | undefined;
|
|
5371
5371
|
businessProfile?: {
|
|
5372
5372
|
id: string;
|
|
5373
|
-
createdAt: Date;
|
|
5374
5373
|
userId: number;
|
|
5374
|
+
createdAt: Date;
|
|
5375
5375
|
updatedAt: Date;
|
|
5376
5376
|
businessName: string;
|
|
5377
5377
|
address: string;
|
|
@@ -5384,8 +5384,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
5384
5384
|
logo?: {
|
|
5385
5385
|
path: string;
|
|
5386
5386
|
id: string;
|
|
5387
|
-
createdAt: Date;
|
|
5388
5387
|
userId: number;
|
|
5388
|
+
createdAt: Date;
|
|
5389
5389
|
signedUrl: string;
|
|
5390
5390
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5391
5391
|
} | null | undefined;
|
|
@@ -5398,26 +5398,26 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
5398
5398
|
firstName: string;
|
|
5399
5399
|
lastName: string;
|
|
5400
5400
|
phoneVerified: boolean;
|
|
5401
|
-
|
|
5401
|
+
postalCode?: string | null | undefined;
|
|
5402
|
+
city?: string | null | undefined;
|
|
5403
|
+
country?: string | null | undefined;
|
|
5402
5404
|
email?: string | null | undefined;
|
|
5405
|
+
addressLine1?: string | null | undefined;
|
|
5406
|
+
addressLine2?: string | null | undefined;
|
|
5407
|
+
birthDate?: Date | null | undefined;
|
|
5403
5408
|
idNumber?: string | null | undefined;
|
|
5404
5409
|
phone?: string | null | undefined;
|
|
5405
5410
|
iban?: string | null | undefined;
|
|
5406
5411
|
bic?: string | null | undefined;
|
|
5407
|
-
addressLine1?: string | null | undefined;
|
|
5408
|
-
addressLine2?: string | null | undefined;
|
|
5409
|
-
city?: string | null | undefined;
|
|
5410
|
-
postalCode?: string | null | undefined;
|
|
5411
|
-
country?: string | null | undefined;
|
|
5412
5412
|
} | null | undefined;
|
|
5413
5413
|
dueDate?: Date | null | undefined;
|
|
5414
5414
|
notes?: string | null | undefined;
|
|
5415
5415
|
lineItems?: {
|
|
5416
|
-
|
|
5416
|
+
quantity: number;
|
|
5417
5417
|
id: number;
|
|
5418
|
+
description: string;
|
|
5418
5419
|
createdAt: Date;
|
|
5419
5420
|
invoiceId: string;
|
|
5420
|
-
quantity: number;
|
|
5421
5421
|
unitPrice: number;
|
|
5422
5422
|
total: number;
|
|
5423
5423
|
itemOnPlatformId?: string | null | undefined;
|