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