controlresell 2.26.2 → 2.26.4
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 +14 -14
- package/src/com/controlresell/api/responses/activity/ActivityEventsResponse.d.ts +24 -24
- 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 +28 -28
- 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 +742 -735
- package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/items/ListedItem.d.ts +498 -493
- package/src/com/controlresell/api/responses/items/ListedItem.d.ts.map +1 -1
- 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 +1431 -1417
- package/src/com/controlresell/models/items/CreatedItems.d.ts.map +1 -1
- package/src/com/controlresell/models/items/Item.d.ts +469 -464
- package/src/com/controlresell/models/items/Item.d.ts.map +1 -1
- 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 +740 -733
- package/src/com/controlresell/models/items/ItemUpdate.d.ts.map +1 -1
- package/src/com/controlresell/models/items/UpdatedItem.d.ts +1431 -1417
- package/src/com/controlresell/models/items/UpdatedItem.d.ts.map +1 -1
- package/src/com/controlresell/models/items/analysis/ItemAnalysisCompletion.d.ts +4 -4
- package/src/com/controlresell/models/items/analysis/ItemAnalysisRequest.d.ts +16 -16
- package/src/com/controlresell/models/items/analysis/ItemAnalysisUpdate.d.ts +740 -733
- package/src/com/controlresell/models/items/analysis/ItemAnalysisUpdate.d.ts.map +1 -1
- package/src/com/controlresell/models/items/analysis/ItemFieldResolution.d.ts +2 -2
- package/src/com/controlresell/models/items/analysis/ItemFieldResolutionsRequest.d.ts +4 -4
- package/src/com/controlresell/models/items/estimation/ItemPriceEstimation.d.ts +4 -4
- package/src/com/controlresell/models/items/estimation/ItemPriceEstimationDraft.d.ts +8 -8
- package/src/com/controlresell/models/items/estimation/ItemPriceEstimationRequest.d.ts +16 -16
- package/src/com/controlresell/models/items/estimation/MarketPriceDistribution.d.ts +2 -2
- package/src/com/controlresell/models/items/files/ItemFile.d.ts +6 -6
- package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.d.ts +106 -106
- package/src/com/controlresell/models/items/history/ItemHistory.d.ts +108 -108
- package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.d.ts +160 -160
- package/src/com/controlresell/models/items/history/data/ItemHistoryActionCanceledPayload.d.ts +2 -2
- package/src/com/controlresell/models/items/history/data/ItemHistoryCancelReason.d.ts +1 -1
- package/src/com/controlresell/models/items/history/data/ItemHistoryCancelReason.d.ts.map +1 -1
- package/src/com/controlresell/models/items/history/data/ItemHistoryCancelReason.js +1 -1
- package/src/com/controlresell/models/items/history/data/ItemHistoryCancelReason.js.map +1 -1
- package/src/com/controlresell/models/items/history/data/ItemHistoryCancelReason.ts +1 -1
- 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 +19 -16
- package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts.map +1 -1
- package/src/com/controlresell/models/items/platforms/ItemOnPlatform.js +2 -1
- package/src/com/controlresell/models/items/platforms/ItemOnPlatform.js.map +1 -1
- package/src/com/controlresell/models/items/platforms/ItemOnPlatform.ts +2 -1
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts +50 -50
- package/src/com/controlresell/models/items/platforms/UpdateItemOnPlatformPayload.d.ts +3 -0
- package/src/com/controlresell/models/items/platforms/UpdateItemOnPlatformPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/items/platforms/UpdateItemOnPlatformPayload.js +2 -1
- package/src/com/controlresell/models/items/platforms/UpdateItemOnPlatformPayload.js.map +1 -1
- package/src/com/controlresell/models/items/platforms/UpdateItemOnPlatformPayload.ts +2 -1
- package/src/com/controlresell/models/items/templates/PreferenceTemplatePayload.d.ts +8 -8
- package/src/com/controlresell/models/items/templates/Template.d.ts +16 -16
- package/src/com/controlresell/models/metadata/brands/Brand.d.ts +2 -2
- package/src/com/controlresell/models/metadata/categories/CatalogRoot.d.ts +8 -8
- package/src/com/controlresell/models/metadata/categories/Category.d.ts +4 -4
- package/src/com/controlresell/models/metadata/categories/CategoryFormSchema.d.ts +10 -10
- package/src/com/controlresell/models/metadata/categories/EnumFieldSpec.d.ts +4 -4
- package/src/com/controlresell/models/metadata/categoryfields/CategoryField.d.ts +2 -2
- package/src/com/controlresell/models/metadata/categoryfields/CreateCategoryFieldPayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/colors/Color.d.ts +2 -2
- package/src/com/controlresell/models/metadata/colors/ColorRoot.d.ts +4 -4
- package/src/com/controlresell/models/metadata/enums/Enum.d.ts +2 -2
- package/src/com/controlresell/models/metadata/favorites/CreateFavoriteMetadataPayload.d.ts +1 -1
- package/src/com/controlresell/models/metadata/favorites/FavoriteMetadata.d.ts +1 -1
- package/src/com/controlresell/models/metadata/labels/Label.d.ts +2 -2
- package/src/com/controlresell/models/metadata/packagesizes/PackageSize.d.ts +2 -2
- package/src/com/controlresell/models/metadata/places/Place.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformCategoriesPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformCategoryFieldsPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformEnumsPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformSizesPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/BrandMapping.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/CategoryMapping.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/CreateBrandMappingPayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/CreateCategoryMappingPayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/CreateEnumMappingPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/CreateSizeMappingPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/EnumMapping.d.ts +6 -6
- package/src/com/controlresell/models/metadata/platforms/ItemListingPreview.d.ts +774 -767
- package/src/com/controlresell/models/metadata/platforms/ItemListingPreview.d.ts.map +1 -1
- 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/PlatformCatalogInternalIds.d.ts +16 -0
- package/src/com/controlresell/models/metadata/platforms/PlatformCatalogInternalIds.d.ts.map +1 -0
- package/src/com/controlresell/models/metadata/platforms/PlatformCatalogInternalIds.js +7 -0
- package/src/com/controlresell/models/metadata/platforms/PlatformCatalogInternalIds.js.map +1 -0
- package/src/com/controlresell/models/metadata/platforms/PlatformCatalogInternalIds.ts +8 -0
- 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 +277 -270
- package/src/com/controlresell/models/platforms/orders/Order.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/OrderFiltersContext.d.ts +2 -2
- package/src/com/controlresell/models/platforms/orders/OrderLabelUpdate.d.ts +38 -38
- package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts +14 -14
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +1661 -1641
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +29 -24
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +1244 -1228
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/pickups/CreatePickupPointPayload.d.ts +4 -4
- package/src/com/controlresell/models/platforms/pickups/PickupPoint.d.ts +6 -6
- package/src/com/controlresell/models/platforms/pickups/PickupPointInOrder.d.ts +12 -12
- package/src/com/controlresell/models/platforms/pickups/UpdatePickupPointPayload.d.ts +4 -4
- package/src/com/controlresell/models/subscriptions/ActiveLevel.d.ts +2 -2
- package/src/com/controlresell/models/subscriptions/SubscriptionChangedEvent.d.ts +4 -4
- package/src/com/controlresell/models/subscriptions/SubscriptionHistory.d.ts +4 -4
- package/src/com/controlresell/models/subscriptions/UserLimitCounter.d.ts +2 -2
- package/src/com/controlresell/models/subscriptions/UserLimits.d.ts +46 -46
- package/src/com/controlresell/models/transactions/Transaction.d.ts +43 -36
- package/src/com/controlresell/models/transactions/Transaction.d.ts.map +1 -1
- package/src/com/controlresell/models/transactions/items/ItemInTransaction.d.ts +29 -24
- package/src/com/controlresell/models/transactions/items/ItemInTransaction.d.ts.map +1 -1
- package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts +791 -775
- package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts.map +1 -1
- package/src/com/controlresell/models/users/UpdateUserPayload.d.ts +6 -6
- package/src/com/controlresell/models/users/User.d.ts +30 -30
- package/src/com/controlresell/models/users/fields/Field.d.ts +2 -2
- package/src/com/controlresell/models/users/fields/FieldsWithData.d.ts +4 -4
- package/src/com/controlresell/models/users/platforms/CreateUserOnPlatformPayload.d.ts +2 -2
- package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts +14 -14
- package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts +16 -16
- package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.d.ts +2 -2
- package/src/com/controlresell/models/users/platforms/UserOnPlatform.d.ts +8 -8
- package/src/com/controlresell/models/users/ws/ResourceUpdate.d.ts +61 -61
- package/src/com/controlresell/models/users/ws/UserLimitsUpdate.d.ts +74 -74
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +3759 -3731
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/users/ws/UserWsResourcePayload.d.ts +80 -80
- package/src/index.d.ts +384 -383
- package/src/index.d.ts.map +1 -1
- package/src/index.js +384 -383
- package/src/index.js.map +1 -1
- package/src/index.ts +384 -383
|
@@ -41,15 +41,15 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
41
41
|
}, "strip", z.ZodTypeAny, {
|
|
42
42
|
path: string;
|
|
43
43
|
id: string;
|
|
44
|
-
createdAt: Date;
|
|
45
44
|
userId: number;
|
|
45
|
+
createdAt: Date;
|
|
46
46
|
signedUrl: string;
|
|
47
47
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
48
48
|
}, {
|
|
49
49
|
path: string;
|
|
50
50
|
id: string;
|
|
51
|
-
createdAt: Date;
|
|
52
51
|
userId: number;
|
|
52
|
+
createdAt: Date;
|
|
53
53
|
signedUrl: string;
|
|
54
54
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
55
55
|
}>>>;
|
|
@@ -60,9 +60,9 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
60
60
|
phoneNumberRequiredAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
61
61
|
}, "strip", z.ZodTypeAny, {
|
|
62
62
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
63
|
-
name: string;
|
|
64
|
-
userId: number;
|
|
65
63
|
accountId: string;
|
|
64
|
+
userId: number;
|
|
65
|
+
name: string;
|
|
66
66
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
67
67
|
locale?: string | null | undefined;
|
|
68
68
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -81,8 +81,8 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
81
81
|
profilePicture?: {
|
|
82
82
|
path: string;
|
|
83
83
|
id: string;
|
|
84
|
-
createdAt: Date;
|
|
85
84
|
userId: number;
|
|
85
|
+
createdAt: Date;
|
|
86
86
|
signedUrl: string;
|
|
87
87
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
88
88
|
} | null | undefined;
|
|
@@ -90,9 +90,9 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
90
90
|
walletActivationRequiredAt?: Date | null | undefined;
|
|
91
91
|
phoneNumberRequiredAt?: Date | null | undefined;
|
|
92
92
|
}, {
|
|
93
|
-
name: string;
|
|
94
|
-
userId: number;
|
|
95
93
|
accountId: string;
|
|
94
|
+
userId: number;
|
|
95
|
+
name: string;
|
|
96
96
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
97
97
|
status?: unknown;
|
|
98
98
|
locale?: string | null | undefined;
|
|
@@ -112,8 +112,8 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
112
112
|
profilePicture?: {
|
|
113
113
|
path: string;
|
|
114
114
|
id: string;
|
|
115
|
-
createdAt: Date;
|
|
116
115
|
userId: number;
|
|
116
|
+
createdAt: Date;
|
|
117
117
|
signedUrl: string;
|
|
118
118
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
119
119
|
} | null | undefined;
|
|
@@ -202,38 +202,38 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
202
202
|
}, "strip", z.ZodTypeAny, {
|
|
203
203
|
path: string;
|
|
204
204
|
id: string;
|
|
205
|
-
createdAt: Date;
|
|
206
205
|
userId: number;
|
|
206
|
+
createdAt: Date;
|
|
207
207
|
signedUrl: string;
|
|
208
208
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
209
209
|
}, {
|
|
210
210
|
path: string;
|
|
211
211
|
id: string;
|
|
212
|
-
createdAt: Date;
|
|
213
212
|
userId: number;
|
|
213
|
+
createdAt: Date;
|
|
214
214
|
signedUrl: string;
|
|
215
215
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
216
216
|
}>>>;
|
|
217
217
|
}, "strip", z.ZodTypeAny, {
|
|
218
|
-
fileId: string;
|
|
219
218
|
messageId: string;
|
|
219
|
+
fileId: string;
|
|
220
220
|
file?: {
|
|
221
221
|
path: string;
|
|
222
222
|
id: string;
|
|
223
|
-
createdAt: Date;
|
|
224
223
|
userId: number;
|
|
224
|
+
createdAt: Date;
|
|
225
225
|
signedUrl: string;
|
|
226
226
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
227
227
|
} | null | undefined;
|
|
228
228
|
index?: number | null | undefined;
|
|
229
229
|
}, {
|
|
230
|
-
fileId: string;
|
|
231
230
|
messageId: string;
|
|
231
|
+
fileId: string;
|
|
232
232
|
file?: {
|
|
233
233
|
path: string;
|
|
234
234
|
id: string;
|
|
235
|
-
createdAt: Date;
|
|
236
235
|
userId: number;
|
|
236
|
+
createdAt: Date;
|
|
237
237
|
signedUrl: string;
|
|
238
238
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
239
239
|
} | null | undefined;
|
|
@@ -261,24 +261,20 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
261
261
|
platformOfferId?: string | null | undefined;
|
|
262
262
|
} | null | undefined;
|
|
263
263
|
files?: {
|
|
264
|
-
fileId: string;
|
|
265
264
|
messageId: string;
|
|
265
|
+
fileId: string;
|
|
266
266
|
file?: {
|
|
267
267
|
path: string;
|
|
268
268
|
id: string;
|
|
269
|
-
createdAt: Date;
|
|
270
269
|
userId: number;
|
|
270
|
+
createdAt: Date;
|
|
271
271
|
signedUrl: string;
|
|
272
272
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
273
273
|
} | null | undefined;
|
|
274
274
|
index?: number | null | undefined;
|
|
275
275
|
}[] | null | undefined;
|
|
276
276
|
metadata?: string | null | undefined;
|
|
277
|
-
preferenceType?: "QUESTIONS" | "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
|
|
278
|
-
preferenceCaseId?: string | null | undefined;
|
|
279
|
-
preferenceVariantId?: string | null | undefined;
|
|
280
277
|
conversationUserId?: string | null | undefined;
|
|
281
|
-
scheduledAt?: Date | null | undefined;
|
|
282
278
|
statusHistory?: {
|
|
283
279
|
status: "UNKNOWN" | "DELETING" | "CANCELED" | "SCHEDULED" | "DELETED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
|
|
284
280
|
id: string;
|
|
@@ -286,11 +282,15 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
286
282
|
messageId: string;
|
|
287
283
|
requestId?: string | null | undefined;
|
|
288
284
|
}[] | null | undefined;
|
|
285
|
+
scheduledAt?: Date | null | undefined;
|
|
289
286
|
translation?: {
|
|
290
287
|
messageId: string;
|
|
291
288
|
body: string;
|
|
292
289
|
lang: string;
|
|
293
290
|
} | null | undefined;
|
|
291
|
+
preferenceType?: "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "QUESTIONS" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
|
|
292
|
+
preferenceCaseId?: string | null | undefined;
|
|
293
|
+
preferenceVariantId?: string | null | undefined;
|
|
294
294
|
}, {
|
|
295
295
|
id: string;
|
|
296
296
|
createdAt: Date;
|
|
@@ -309,24 +309,20 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
309
309
|
platformOfferId?: string | null | undefined;
|
|
310
310
|
} | null | undefined;
|
|
311
311
|
files?: {
|
|
312
|
-
fileId: string;
|
|
313
312
|
messageId: string;
|
|
313
|
+
fileId: string;
|
|
314
314
|
file?: {
|
|
315
315
|
path: string;
|
|
316
316
|
id: string;
|
|
317
|
-
createdAt: Date;
|
|
318
317
|
userId: number;
|
|
318
|
+
createdAt: Date;
|
|
319
319
|
signedUrl: string;
|
|
320
320
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
321
321
|
} | null | undefined;
|
|
322
322
|
index?: number | null | undefined;
|
|
323
323
|
}[] | null | undefined;
|
|
324
324
|
metadata?: string | null | undefined;
|
|
325
|
-
preferenceType?: "QUESTIONS" | "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
|
|
326
|
-
preferenceCaseId?: string | null | undefined;
|
|
327
|
-
preferenceVariantId?: string | null | undefined;
|
|
328
325
|
conversationUserId?: string | null | undefined;
|
|
329
|
-
scheduledAt?: Date | null | undefined;
|
|
330
326
|
statusHistory?: {
|
|
331
327
|
id: string;
|
|
332
328
|
createdAt: Date;
|
|
@@ -334,11 +330,15 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
334
330
|
status?: unknown;
|
|
335
331
|
requestId?: string | null | undefined;
|
|
336
332
|
}[] | null | undefined;
|
|
333
|
+
scheduledAt?: Date | null | undefined;
|
|
337
334
|
translation?: {
|
|
338
335
|
messageId: string;
|
|
339
336
|
body: string;
|
|
340
337
|
lang: string;
|
|
341
338
|
} | null | undefined;
|
|
339
|
+
preferenceType?: "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "QUESTIONS" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
|
|
340
|
+
preferenceCaseId?: string | null | undefined;
|
|
341
|
+
preferenceVariantId?: string | null | undefined;
|
|
342
342
|
}>>>;
|
|
343
343
|
users: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
344
344
|
id: z.ZodString;
|
|
@@ -359,15 +359,15 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
359
359
|
}, "strip", z.ZodTypeAny, {
|
|
360
360
|
path: string;
|
|
361
361
|
id: string;
|
|
362
|
-
createdAt: Date;
|
|
363
362
|
userId: number;
|
|
363
|
+
createdAt: Date;
|
|
364
364
|
signedUrl: string;
|
|
365
365
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
366
366
|
}, {
|
|
367
367
|
path: string;
|
|
368
368
|
id: string;
|
|
369
|
-
createdAt: Date;
|
|
370
369
|
userId: number;
|
|
370
|
+
createdAt: Date;
|
|
371
371
|
signedUrl: string;
|
|
372
372
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
373
373
|
}>>>;
|
|
@@ -380,13 +380,13 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
380
380
|
billingCountryCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
381
381
|
}, "strip", z.ZodTypeAny, {
|
|
382
382
|
id: string;
|
|
383
|
-
conversationId: string;
|
|
384
383
|
login: string;
|
|
384
|
+
conversationId: string;
|
|
385
385
|
platformUserId: string;
|
|
386
|
-
email?: string | null | undefined;
|
|
387
386
|
location?: string | null | undefined;
|
|
388
387
|
reviewCount?: number | null | undefined;
|
|
389
388
|
reviewValue?: number | null | undefined;
|
|
389
|
+
email?: string | null | undefined;
|
|
390
390
|
billingName?: string | null | undefined;
|
|
391
391
|
billingAddressLine1?: string | null | undefined;
|
|
392
392
|
billingAddressLine2?: string | null | undefined;
|
|
@@ -397,20 +397,20 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
397
397
|
photoFile?: {
|
|
398
398
|
path: string;
|
|
399
399
|
id: string;
|
|
400
|
-
createdAt: Date;
|
|
401
400
|
userId: number;
|
|
401
|
+
createdAt: Date;
|
|
402
402
|
signedUrl: string;
|
|
403
403
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
404
404
|
} | null | undefined;
|
|
405
405
|
}, {
|
|
406
406
|
id: string;
|
|
407
|
-
conversationId: string;
|
|
408
407
|
login: string;
|
|
408
|
+
conversationId: string;
|
|
409
409
|
platformUserId: string;
|
|
410
|
-
email?: string | null | undefined;
|
|
411
410
|
location?: string | null | undefined;
|
|
412
411
|
reviewCount?: number | null | undefined;
|
|
413
412
|
reviewValue?: number | null | undefined;
|
|
413
|
+
email?: string | null | undefined;
|
|
414
414
|
billingName?: string | null | undefined;
|
|
415
415
|
billingAddressLine1?: string | null | undefined;
|
|
416
416
|
billingAddressLine2?: string | null | undefined;
|
|
@@ -421,8 +421,8 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
421
421
|
photoFile?: {
|
|
422
422
|
path: string;
|
|
423
423
|
id: string;
|
|
424
|
-
createdAt: Date;
|
|
425
424
|
userId: number;
|
|
425
|
+
createdAt: Date;
|
|
426
426
|
signedUrl: string;
|
|
427
427
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
428
428
|
} | null | undefined;
|
|
@@ -433,22 +433,22 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
433
433
|
aiEnabled: z.ZodBoolean;
|
|
434
434
|
}, "strip", z.ZodTypeAny, {
|
|
435
435
|
id: string;
|
|
436
|
-
userId: number;
|
|
437
436
|
accountId: string;
|
|
437
|
+
userId: number;
|
|
438
438
|
updatedAt: Date;
|
|
439
439
|
platformConversationId: string;
|
|
440
|
+
isUnread: boolean;
|
|
440
441
|
isPinned: boolean;
|
|
441
442
|
aiEnabled: boolean;
|
|
442
|
-
isUnread: boolean;
|
|
443
443
|
users?: {
|
|
444
444
|
id: string;
|
|
445
|
-
conversationId: string;
|
|
446
445
|
login: string;
|
|
446
|
+
conversationId: string;
|
|
447
447
|
platformUserId: string;
|
|
448
|
-
email?: string | null | undefined;
|
|
449
448
|
location?: string | null | undefined;
|
|
450
449
|
reviewCount?: number | null | undefined;
|
|
451
450
|
reviewValue?: number | null | undefined;
|
|
451
|
+
email?: string | null | undefined;
|
|
452
452
|
billingName?: string | null | undefined;
|
|
453
453
|
billingAddressLine1?: string | null | undefined;
|
|
454
454
|
billingAddressLine2?: string | null | undefined;
|
|
@@ -459,17 +459,17 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
459
459
|
photoFile?: {
|
|
460
460
|
path: string;
|
|
461
461
|
id: string;
|
|
462
|
-
createdAt: Date;
|
|
463
462
|
userId: number;
|
|
463
|
+
createdAt: Date;
|
|
464
464
|
signedUrl: string;
|
|
465
465
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
466
466
|
} | null | undefined;
|
|
467
467
|
}[] | null | undefined;
|
|
468
468
|
account?: {
|
|
469
469
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
470
|
-
name: string;
|
|
471
|
-
userId: number;
|
|
472
470
|
accountId: string;
|
|
471
|
+
userId: number;
|
|
472
|
+
name: string;
|
|
473
473
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
474
474
|
locale?: string | null | undefined;
|
|
475
475
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -488,8 +488,8 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
488
488
|
profilePicture?: {
|
|
489
489
|
path: string;
|
|
490
490
|
id: string;
|
|
491
|
-
createdAt: Date;
|
|
492
491
|
userId: number;
|
|
492
|
+
createdAt: Date;
|
|
493
493
|
signedUrl: string;
|
|
494
494
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
495
495
|
} | null | undefined;
|
|
@@ -497,7 +497,6 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
497
497
|
walletActivationRequiredAt?: Date | null | undefined;
|
|
498
498
|
phoneNumberRequiredAt?: Date | null | undefined;
|
|
499
499
|
} | null | undefined;
|
|
500
|
-
lastRead?: Date | null | undefined;
|
|
501
500
|
lastMessage?: {
|
|
502
501
|
type: "UNKNOWN" | "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
|
|
503
502
|
status: "UNKNOWN" | "DELETING" | "CANCELED" | "SCHEDULED" | "DELETED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
|
|
@@ -516,24 +515,20 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
516
515
|
platformOfferId?: string | null | undefined;
|
|
517
516
|
} | null | undefined;
|
|
518
517
|
files?: {
|
|
519
|
-
fileId: string;
|
|
520
518
|
messageId: string;
|
|
519
|
+
fileId: string;
|
|
521
520
|
file?: {
|
|
522
521
|
path: string;
|
|
523
522
|
id: string;
|
|
524
|
-
createdAt: Date;
|
|
525
523
|
userId: number;
|
|
524
|
+
createdAt: Date;
|
|
526
525
|
signedUrl: string;
|
|
527
526
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
528
527
|
} | null | undefined;
|
|
529
528
|
index?: number | null | undefined;
|
|
530
529
|
}[] | null | undefined;
|
|
531
530
|
metadata?: string | null | undefined;
|
|
532
|
-
preferenceType?: "QUESTIONS" | "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
|
|
533
|
-
preferenceCaseId?: string | null | undefined;
|
|
534
|
-
preferenceVariantId?: string | null | undefined;
|
|
535
531
|
conversationUserId?: string | null | undefined;
|
|
536
|
-
scheduledAt?: Date | null | undefined;
|
|
537
532
|
statusHistory?: {
|
|
538
533
|
status: "UNKNOWN" | "DELETING" | "CANCELED" | "SCHEDULED" | "DELETED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
|
|
539
534
|
id: string;
|
|
@@ -541,30 +536,35 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
541
536
|
messageId: string;
|
|
542
537
|
requestId?: string | null | undefined;
|
|
543
538
|
}[] | null | undefined;
|
|
539
|
+
scheduledAt?: Date | null | undefined;
|
|
544
540
|
translation?: {
|
|
545
541
|
messageId: string;
|
|
546
542
|
body: string;
|
|
547
543
|
lang: string;
|
|
548
544
|
} | null | undefined;
|
|
545
|
+
preferenceType?: "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "QUESTIONS" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
|
|
546
|
+
preferenceCaseId?: string | null | undefined;
|
|
547
|
+
preferenceVariantId?: string | null | undefined;
|
|
549
548
|
} | null | undefined;
|
|
549
|
+
lastRead?: Date | null | undefined;
|
|
550
550
|
}, {
|
|
551
551
|
id: string;
|
|
552
|
-
userId: number;
|
|
553
552
|
accountId: string;
|
|
553
|
+
userId: number;
|
|
554
554
|
updatedAt: Date;
|
|
555
555
|
platformConversationId: string;
|
|
556
|
+
isUnread: boolean;
|
|
556
557
|
isPinned: boolean;
|
|
557
558
|
aiEnabled: boolean;
|
|
558
|
-
isUnread: boolean;
|
|
559
559
|
users?: {
|
|
560
560
|
id: string;
|
|
561
|
-
conversationId: string;
|
|
562
561
|
login: string;
|
|
562
|
+
conversationId: string;
|
|
563
563
|
platformUserId: string;
|
|
564
|
-
email?: string | null | undefined;
|
|
565
564
|
location?: string | null | undefined;
|
|
566
565
|
reviewCount?: number | null | undefined;
|
|
567
566
|
reviewValue?: number | null | undefined;
|
|
567
|
+
email?: string | null | undefined;
|
|
568
568
|
billingName?: string | null | undefined;
|
|
569
569
|
billingAddressLine1?: string | null | undefined;
|
|
570
570
|
billingAddressLine2?: string | null | undefined;
|
|
@@ -575,16 +575,16 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
575
575
|
photoFile?: {
|
|
576
576
|
path: string;
|
|
577
577
|
id: string;
|
|
578
|
-
createdAt: Date;
|
|
579
578
|
userId: number;
|
|
579
|
+
createdAt: Date;
|
|
580
580
|
signedUrl: string;
|
|
581
581
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
582
582
|
} | null | undefined;
|
|
583
583
|
}[] | null | undefined;
|
|
584
584
|
account?: {
|
|
585
|
-
name: string;
|
|
586
|
-
userId: number;
|
|
587
585
|
accountId: string;
|
|
586
|
+
userId: number;
|
|
587
|
+
name: string;
|
|
588
588
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
589
589
|
status?: unknown;
|
|
590
590
|
locale?: string | null | undefined;
|
|
@@ -604,8 +604,8 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
604
604
|
profilePicture?: {
|
|
605
605
|
path: string;
|
|
606
606
|
id: string;
|
|
607
|
-
createdAt: Date;
|
|
608
607
|
userId: number;
|
|
608
|
+
createdAt: Date;
|
|
609
609
|
signedUrl: string;
|
|
610
610
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
611
611
|
} | null | undefined;
|
|
@@ -613,7 +613,6 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
613
613
|
walletActivationRequiredAt?: Date | null | undefined;
|
|
614
614
|
phoneNumberRequiredAt?: Date | null | undefined;
|
|
615
615
|
} | null | undefined;
|
|
616
|
-
lastRead?: Date | null | undefined;
|
|
617
616
|
lastMessage?: {
|
|
618
617
|
id: string;
|
|
619
618
|
createdAt: Date;
|
|
@@ -632,24 +631,20 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
632
631
|
platformOfferId?: string | null | undefined;
|
|
633
632
|
} | null | undefined;
|
|
634
633
|
files?: {
|
|
635
|
-
fileId: string;
|
|
636
634
|
messageId: string;
|
|
635
|
+
fileId: string;
|
|
637
636
|
file?: {
|
|
638
637
|
path: string;
|
|
639
638
|
id: string;
|
|
640
|
-
createdAt: Date;
|
|
641
639
|
userId: number;
|
|
640
|
+
createdAt: Date;
|
|
642
641
|
signedUrl: string;
|
|
643
642
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
644
643
|
} | null | undefined;
|
|
645
644
|
index?: number | null | undefined;
|
|
646
645
|
}[] | null | undefined;
|
|
647
646
|
metadata?: string | null | undefined;
|
|
648
|
-
preferenceType?: "QUESTIONS" | "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
|
|
649
|
-
preferenceCaseId?: string | null | undefined;
|
|
650
|
-
preferenceVariantId?: string | null | undefined;
|
|
651
647
|
conversationUserId?: string | null | undefined;
|
|
652
|
-
scheduledAt?: Date | null | undefined;
|
|
653
648
|
statusHistory?: {
|
|
654
649
|
id: string;
|
|
655
650
|
createdAt: Date;
|
|
@@ -657,12 +652,17 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
657
652
|
status?: unknown;
|
|
658
653
|
requestId?: string | null | undefined;
|
|
659
654
|
}[] | null | undefined;
|
|
655
|
+
scheduledAt?: Date | null | undefined;
|
|
660
656
|
translation?: {
|
|
661
657
|
messageId: string;
|
|
662
658
|
body: string;
|
|
663
659
|
lang: string;
|
|
664
660
|
} | null | undefined;
|
|
661
|
+
preferenceType?: "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "QUESTIONS" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
|
|
662
|
+
preferenceCaseId?: string | null | undefined;
|
|
663
|
+
preferenceVariantId?: string | null | undefined;
|
|
665
664
|
} | null | undefined;
|
|
665
|
+
lastRead?: Date | null | undefined;
|
|
666
666
|
}>;
|
|
667
667
|
newMessages: z.ZodArray<z.ZodObject<{
|
|
668
668
|
id: z.ZodString;
|
|
@@ -745,38 +745,38 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
745
745
|
}, "strip", z.ZodTypeAny, {
|
|
746
746
|
path: string;
|
|
747
747
|
id: string;
|
|
748
|
-
createdAt: Date;
|
|
749
748
|
userId: number;
|
|
749
|
+
createdAt: Date;
|
|
750
750
|
signedUrl: string;
|
|
751
751
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
752
752
|
}, {
|
|
753
753
|
path: string;
|
|
754
754
|
id: string;
|
|
755
|
-
createdAt: Date;
|
|
756
755
|
userId: number;
|
|
756
|
+
createdAt: Date;
|
|
757
757
|
signedUrl: string;
|
|
758
758
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
759
759
|
}>>>;
|
|
760
760
|
}, "strip", z.ZodTypeAny, {
|
|
761
|
-
fileId: string;
|
|
762
761
|
messageId: string;
|
|
762
|
+
fileId: string;
|
|
763
763
|
file?: {
|
|
764
764
|
path: string;
|
|
765
765
|
id: string;
|
|
766
|
-
createdAt: Date;
|
|
767
766
|
userId: number;
|
|
767
|
+
createdAt: Date;
|
|
768
768
|
signedUrl: string;
|
|
769
769
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
770
770
|
} | null | undefined;
|
|
771
771
|
index?: number | null | undefined;
|
|
772
772
|
}, {
|
|
773
|
-
fileId: string;
|
|
774
773
|
messageId: string;
|
|
774
|
+
fileId: string;
|
|
775
775
|
file?: {
|
|
776
776
|
path: string;
|
|
777
777
|
id: string;
|
|
778
|
-
createdAt: Date;
|
|
779
778
|
userId: number;
|
|
779
|
+
createdAt: Date;
|
|
780
780
|
signedUrl: string;
|
|
781
781
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
782
782
|
} | null | undefined;
|
|
@@ -804,24 +804,20 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
804
804
|
platformOfferId?: string | null | undefined;
|
|
805
805
|
} | null | undefined;
|
|
806
806
|
files?: {
|
|
807
|
-
fileId: string;
|
|
808
807
|
messageId: string;
|
|
808
|
+
fileId: string;
|
|
809
809
|
file?: {
|
|
810
810
|
path: string;
|
|
811
811
|
id: string;
|
|
812
|
-
createdAt: Date;
|
|
813
812
|
userId: number;
|
|
813
|
+
createdAt: Date;
|
|
814
814
|
signedUrl: string;
|
|
815
815
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
816
816
|
} | null | undefined;
|
|
817
817
|
index?: number | null | undefined;
|
|
818
818
|
}[] | null | undefined;
|
|
819
819
|
metadata?: string | null | undefined;
|
|
820
|
-
preferenceType?: "QUESTIONS" | "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
|
|
821
|
-
preferenceCaseId?: string | null | undefined;
|
|
822
|
-
preferenceVariantId?: string | null | undefined;
|
|
823
820
|
conversationUserId?: string | null | undefined;
|
|
824
|
-
scheduledAt?: Date | null | undefined;
|
|
825
821
|
statusHistory?: {
|
|
826
822
|
status: "UNKNOWN" | "DELETING" | "CANCELED" | "SCHEDULED" | "DELETED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
|
|
827
823
|
id: string;
|
|
@@ -829,11 +825,15 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
829
825
|
messageId: string;
|
|
830
826
|
requestId?: string | null | undefined;
|
|
831
827
|
}[] | null | undefined;
|
|
828
|
+
scheduledAt?: Date | null | undefined;
|
|
832
829
|
translation?: {
|
|
833
830
|
messageId: string;
|
|
834
831
|
body: string;
|
|
835
832
|
lang: string;
|
|
836
833
|
} | null | undefined;
|
|
834
|
+
preferenceType?: "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "QUESTIONS" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
|
|
835
|
+
preferenceCaseId?: string | null | undefined;
|
|
836
|
+
preferenceVariantId?: string | null | undefined;
|
|
837
837
|
}, {
|
|
838
838
|
id: string;
|
|
839
839
|
createdAt: Date;
|
|
@@ -852,24 +852,20 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
852
852
|
platformOfferId?: string | null | undefined;
|
|
853
853
|
} | null | undefined;
|
|
854
854
|
files?: {
|
|
855
|
-
fileId: string;
|
|
856
855
|
messageId: string;
|
|
856
|
+
fileId: string;
|
|
857
857
|
file?: {
|
|
858
858
|
path: string;
|
|
859
859
|
id: string;
|
|
860
|
-
createdAt: Date;
|
|
861
860
|
userId: number;
|
|
861
|
+
createdAt: Date;
|
|
862
862
|
signedUrl: string;
|
|
863
863
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
864
864
|
} | null | undefined;
|
|
865
865
|
index?: number | null | undefined;
|
|
866
866
|
}[] | null | undefined;
|
|
867
867
|
metadata?: string | null | undefined;
|
|
868
|
-
preferenceType?: "QUESTIONS" | "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
|
|
869
|
-
preferenceCaseId?: string | null | undefined;
|
|
870
|
-
preferenceVariantId?: string | null | undefined;
|
|
871
868
|
conversationUserId?: string | null | undefined;
|
|
872
|
-
scheduledAt?: Date | null | undefined;
|
|
873
869
|
statusHistory?: {
|
|
874
870
|
id: string;
|
|
875
871
|
createdAt: Date;
|
|
@@ -877,32 +873,36 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
877
873
|
status?: unknown;
|
|
878
874
|
requestId?: string | null | undefined;
|
|
879
875
|
}[] | null | undefined;
|
|
876
|
+
scheduledAt?: Date | null | undefined;
|
|
880
877
|
translation?: {
|
|
881
878
|
messageId: string;
|
|
882
879
|
body: string;
|
|
883
880
|
lang: string;
|
|
884
881
|
} | null | undefined;
|
|
882
|
+
preferenceType?: "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "QUESTIONS" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
|
|
883
|
+
preferenceCaseId?: string | null | undefined;
|
|
884
|
+
preferenceVariantId?: string | null | undefined;
|
|
885
885
|
}>, "many">;
|
|
886
886
|
}, "strip", z.ZodTypeAny, {
|
|
887
887
|
userId: number;
|
|
888
888
|
conversation: {
|
|
889
889
|
id: string;
|
|
890
|
-
userId: number;
|
|
891
890
|
accountId: string;
|
|
891
|
+
userId: number;
|
|
892
892
|
updatedAt: Date;
|
|
893
893
|
platformConversationId: string;
|
|
894
|
+
isUnread: boolean;
|
|
894
895
|
isPinned: boolean;
|
|
895
896
|
aiEnabled: boolean;
|
|
896
|
-
isUnread: boolean;
|
|
897
897
|
users?: {
|
|
898
898
|
id: string;
|
|
899
|
-
conversationId: string;
|
|
900
899
|
login: string;
|
|
900
|
+
conversationId: string;
|
|
901
901
|
platformUserId: string;
|
|
902
|
-
email?: string | null | undefined;
|
|
903
902
|
location?: string | null | undefined;
|
|
904
903
|
reviewCount?: number | null | undefined;
|
|
905
904
|
reviewValue?: number | null | undefined;
|
|
905
|
+
email?: string | null | undefined;
|
|
906
906
|
billingName?: string | null | undefined;
|
|
907
907
|
billingAddressLine1?: string | null | undefined;
|
|
908
908
|
billingAddressLine2?: string | null | undefined;
|
|
@@ -913,17 +913,17 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
913
913
|
photoFile?: {
|
|
914
914
|
path: string;
|
|
915
915
|
id: string;
|
|
916
|
-
createdAt: Date;
|
|
917
916
|
userId: number;
|
|
917
|
+
createdAt: Date;
|
|
918
918
|
signedUrl: string;
|
|
919
919
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
920
920
|
} | null | undefined;
|
|
921
921
|
}[] | null | undefined;
|
|
922
922
|
account?: {
|
|
923
923
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
924
|
-
name: string;
|
|
925
|
-
userId: number;
|
|
926
924
|
accountId: string;
|
|
925
|
+
userId: number;
|
|
926
|
+
name: string;
|
|
927
927
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
928
928
|
locale?: string | null | undefined;
|
|
929
929
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
@@ -942,8 +942,8 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
942
942
|
profilePicture?: {
|
|
943
943
|
path: string;
|
|
944
944
|
id: string;
|
|
945
|
-
createdAt: Date;
|
|
946
945
|
userId: number;
|
|
946
|
+
createdAt: Date;
|
|
947
947
|
signedUrl: string;
|
|
948
948
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
949
949
|
} | null | undefined;
|
|
@@ -951,7 +951,6 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
951
951
|
walletActivationRequiredAt?: Date | null | undefined;
|
|
952
952
|
phoneNumberRequiredAt?: Date | null | undefined;
|
|
953
953
|
} | null | undefined;
|
|
954
|
-
lastRead?: Date | null | undefined;
|
|
955
954
|
lastMessage?: {
|
|
956
955
|
type: "UNKNOWN" | "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
|
|
957
956
|
status: "UNKNOWN" | "DELETING" | "CANCELED" | "SCHEDULED" | "DELETED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
|
|
@@ -970,24 +969,20 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
970
969
|
platformOfferId?: string | null | undefined;
|
|
971
970
|
} | null | undefined;
|
|
972
971
|
files?: {
|
|
973
|
-
fileId: string;
|
|
974
972
|
messageId: string;
|
|
973
|
+
fileId: string;
|
|
975
974
|
file?: {
|
|
976
975
|
path: string;
|
|
977
976
|
id: string;
|
|
978
|
-
createdAt: Date;
|
|
979
977
|
userId: number;
|
|
978
|
+
createdAt: Date;
|
|
980
979
|
signedUrl: string;
|
|
981
980
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
982
981
|
} | null | undefined;
|
|
983
982
|
index?: number | null | undefined;
|
|
984
983
|
}[] | null | undefined;
|
|
985
984
|
metadata?: string | null | undefined;
|
|
986
|
-
preferenceType?: "QUESTIONS" | "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
|
|
987
|
-
preferenceCaseId?: string | null | undefined;
|
|
988
|
-
preferenceVariantId?: string | null | undefined;
|
|
989
985
|
conversationUserId?: string | null | undefined;
|
|
990
|
-
scheduledAt?: Date | null | undefined;
|
|
991
986
|
statusHistory?: {
|
|
992
987
|
status: "UNKNOWN" | "DELETING" | "CANCELED" | "SCHEDULED" | "DELETED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
|
|
993
988
|
id: string;
|
|
@@ -995,12 +990,17 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
995
990
|
messageId: string;
|
|
996
991
|
requestId?: string | null | undefined;
|
|
997
992
|
}[] | null | undefined;
|
|
993
|
+
scheduledAt?: Date | null | undefined;
|
|
998
994
|
translation?: {
|
|
999
995
|
messageId: string;
|
|
1000
996
|
body: string;
|
|
1001
997
|
lang: string;
|
|
1002
998
|
} | null | undefined;
|
|
999
|
+
preferenceType?: "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "QUESTIONS" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
|
|
1000
|
+
preferenceCaseId?: string | null | undefined;
|
|
1001
|
+
preferenceVariantId?: string | null | undefined;
|
|
1003
1002
|
} | null | undefined;
|
|
1003
|
+
lastRead?: Date | null | undefined;
|
|
1004
1004
|
};
|
|
1005
1005
|
newMessages: {
|
|
1006
1006
|
type: "UNKNOWN" | "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
|
|
@@ -1020,24 +1020,20 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
1020
1020
|
platformOfferId?: string | null | undefined;
|
|
1021
1021
|
} | null | undefined;
|
|
1022
1022
|
files?: {
|
|
1023
|
-
fileId: string;
|
|
1024
1023
|
messageId: string;
|
|
1024
|
+
fileId: string;
|
|
1025
1025
|
file?: {
|
|
1026
1026
|
path: string;
|
|
1027
1027
|
id: string;
|
|
1028
|
-
createdAt: Date;
|
|
1029
1028
|
userId: number;
|
|
1029
|
+
createdAt: Date;
|
|
1030
1030
|
signedUrl: string;
|
|
1031
1031
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1032
1032
|
} | null | undefined;
|
|
1033
1033
|
index?: number | null | undefined;
|
|
1034
1034
|
}[] | null | undefined;
|
|
1035
1035
|
metadata?: string | null | undefined;
|
|
1036
|
-
preferenceType?: "QUESTIONS" | "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
|
|
1037
|
-
preferenceCaseId?: string | null | undefined;
|
|
1038
|
-
preferenceVariantId?: string | null | undefined;
|
|
1039
1036
|
conversationUserId?: string | null | undefined;
|
|
1040
|
-
scheduledAt?: Date | null | undefined;
|
|
1041
1037
|
statusHistory?: {
|
|
1042
1038
|
status: "UNKNOWN" | "DELETING" | "CANCELED" | "SCHEDULED" | "DELETED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
|
|
1043
1039
|
id: string;
|
|
@@ -1045,32 +1041,36 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
1045
1041
|
messageId: string;
|
|
1046
1042
|
requestId?: string | null | undefined;
|
|
1047
1043
|
}[] | null | undefined;
|
|
1044
|
+
scheduledAt?: Date | null | undefined;
|
|
1048
1045
|
translation?: {
|
|
1049
1046
|
messageId: string;
|
|
1050
1047
|
body: string;
|
|
1051
1048
|
lang: string;
|
|
1052
1049
|
} | null | undefined;
|
|
1050
|
+
preferenceType?: "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "QUESTIONS" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
|
|
1051
|
+
preferenceCaseId?: string | null | undefined;
|
|
1052
|
+
preferenceVariantId?: string | null | undefined;
|
|
1053
1053
|
}[];
|
|
1054
1054
|
}, {
|
|
1055
1055
|
userId: number;
|
|
1056
1056
|
conversation: {
|
|
1057
1057
|
id: string;
|
|
1058
|
-
userId: number;
|
|
1059
1058
|
accountId: string;
|
|
1059
|
+
userId: number;
|
|
1060
1060
|
updatedAt: Date;
|
|
1061
1061
|
platformConversationId: string;
|
|
1062
|
+
isUnread: boolean;
|
|
1062
1063
|
isPinned: boolean;
|
|
1063
1064
|
aiEnabled: boolean;
|
|
1064
|
-
isUnread: boolean;
|
|
1065
1065
|
users?: {
|
|
1066
1066
|
id: string;
|
|
1067
|
-
conversationId: string;
|
|
1068
1067
|
login: string;
|
|
1068
|
+
conversationId: string;
|
|
1069
1069
|
platformUserId: string;
|
|
1070
|
-
email?: string | null | undefined;
|
|
1071
1070
|
location?: string | null | undefined;
|
|
1072
1071
|
reviewCount?: number | null | undefined;
|
|
1073
1072
|
reviewValue?: number | null | undefined;
|
|
1073
|
+
email?: string | null | undefined;
|
|
1074
1074
|
billingName?: string | null | undefined;
|
|
1075
1075
|
billingAddressLine1?: string | null | undefined;
|
|
1076
1076
|
billingAddressLine2?: string | null | undefined;
|
|
@@ -1081,16 +1081,16 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
1081
1081
|
photoFile?: {
|
|
1082
1082
|
path: string;
|
|
1083
1083
|
id: string;
|
|
1084
|
-
createdAt: Date;
|
|
1085
1084
|
userId: number;
|
|
1085
|
+
createdAt: Date;
|
|
1086
1086
|
signedUrl: string;
|
|
1087
1087
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1088
1088
|
} | null | undefined;
|
|
1089
1089
|
}[] | null | undefined;
|
|
1090
1090
|
account?: {
|
|
1091
|
-
name: string;
|
|
1092
|
-
userId: number;
|
|
1093
1091
|
accountId: string;
|
|
1092
|
+
userId: number;
|
|
1093
|
+
name: string;
|
|
1094
1094
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1095
1095
|
status?: unknown;
|
|
1096
1096
|
locale?: string | null | undefined;
|
|
@@ -1110,8 +1110,8 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
1110
1110
|
profilePicture?: {
|
|
1111
1111
|
path: string;
|
|
1112
1112
|
id: string;
|
|
1113
|
-
createdAt: Date;
|
|
1114
1113
|
userId: number;
|
|
1114
|
+
createdAt: Date;
|
|
1115
1115
|
signedUrl: string;
|
|
1116
1116
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1117
1117
|
} | null | undefined;
|
|
@@ -1119,7 +1119,6 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
1119
1119
|
walletActivationRequiredAt?: Date | null | undefined;
|
|
1120
1120
|
phoneNumberRequiredAt?: Date | null | undefined;
|
|
1121
1121
|
} | null | undefined;
|
|
1122
|
-
lastRead?: Date | null | undefined;
|
|
1123
1122
|
lastMessage?: {
|
|
1124
1123
|
id: string;
|
|
1125
1124
|
createdAt: Date;
|
|
@@ -1138,24 +1137,20 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
1138
1137
|
platformOfferId?: string | null | undefined;
|
|
1139
1138
|
} | null | undefined;
|
|
1140
1139
|
files?: {
|
|
1141
|
-
fileId: string;
|
|
1142
1140
|
messageId: string;
|
|
1141
|
+
fileId: string;
|
|
1143
1142
|
file?: {
|
|
1144
1143
|
path: string;
|
|
1145
1144
|
id: string;
|
|
1146
|
-
createdAt: Date;
|
|
1147
1145
|
userId: number;
|
|
1146
|
+
createdAt: Date;
|
|
1148
1147
|
signedUrl: string;
|
|
1149
1148
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1150
1149
|
} | null | undefined;
|
|
1151
1150
|
index?: number | null | undefined;
|
|
1152
1151
|
}[] | null | undefined;
|
|
1153
1152
|
metadata?: string | null | undefined;
|
|
1154
|
-
preferenceType?: "QUESTIONS" | "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
|
|
1155
|
-
preferenceCaseId?: string | null | undefined;
|
|
1156
|
-
preferenceVariantId?: string | null | undefined;
|
|
1157
1153
|
conversationUserId?: string | null | undefined;
|
|
1158
|
-
scheduledAt?: Date | null | undefined;
|
|
1159
1154
|
statusHistory?: {
|
|
1160
1155
|
id: string;
|
|
1161
1156
|
createdAt: Date;
|
|
@@ -1163,12 +1158,17 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
1163
1158
|
status?: unknown;
|
|
1164
1159
|
requestId?: string | null | undefined;
|
|
1165
1160
|
}[] | null | undefined;
|
|
1161
|
+
scheduledAt?: Date | null | undefined;
|
|
1166
1162
|
translation?: {
|
|
1167
1163
|
messageId: string;
|
|
1168
1164
|
body: string;
|
|
1169
1165
|
lang: string;
|
|
1170
1166
|
} | null | undefined;
|
|
1167
|
+
preferenceType?: "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "QUESTIONS" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
|
|
1168
|
+
preferenceCaseId?: string | null | undefined;
|
|
1169
|
+
preferenceVariantId?: string | null | undefined;
|
|
1171
1170
|
} | null | undefined;
|
|
1171
|
+
lastRead?: Date | null | undefined;
|
|
1172
1172
|
};
|
|
1173
1173
|
newMessages: {
|
|
1174
1174
|
id: string;
|
|
@@ -1188,24 +1188,20 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
1188
1188
|
platformOfferId?: string | null | undefined;
|
|
1189
1189
|
} | null | undefined;
|
|
1190
1190
|
files?: {
|
|
1191
|
-
fileId: string;
|
|
1192
1191
|
messageId: string;
|
|
1192
|
+
fileId: string;
|
|
1193
1193
|
file?: {
|
|
1194
1194
|
path: string;
|
|
1195
1195
|
id: string;
|
|
1196
|
-
createdAt: Date;
|
|
1197
1196
|
userId: number;
|
|
1197
|
+
createdAt: Date;
|
|
1198
1198
|
signedUrl: string;
|
|
1199
1199
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1200
1200
|
} | null | undefined;
|
|
1201
1201
|
index?: number | null | undefined;
|
|
1202
1202
|
}[] | null | undefined;
|
|
1203
1203
|
metadata?: string | null | undefined;
|
|
1204
|
-
preferenceType?: "QUESTIONS" | "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
|
|
1205
|
-
preferenceCaseId?: string | null | undefined;
|
|
1206
|
-
preferenceVariantId?: string | null | undefined;
|
|
1207
1204
|
conversationUserId?: string | null | undefined;
|
|
1208
|
-
scheduledAt?: Date | null | undefined;
|
|
1209
1205
|
statusHistory?: {
|
|
1210
1206
|
id: string;
|
|
1211
1207
|
createdAt: Date;
|
|
@@ -1213,11 +1209,15 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
1213
1209
|
status?: unknown;
|
|
1214
1210
|
requestId?: string | null | undefined;
|
|
1215
1211
|
}[] | null | undefined;
|
|
1212
|
+
scheduledAt?: Date | null | undefined;
|
|
1216
1213
|
translation?: {
|
|
1217
1214
|
messageId: string;
|
|
1218
1215
|
body: string;
|
|
1219
1216
|
lang: string;
|
|
1220
1217
|
} | null | undefined;
|
|
1218
|
+
preferenceType?: "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "QUESTIONS" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
|
|
1219
|
+
preferenceCaseId?: string | null | undefined;
|
|
1220
|
+
preferenceVariantId?: string | null | undefined;
|
|
1221
1221
|
}[];
|
|
1222
1222
|
}>;
|
|
1223
1223
|
export type ConversationUpdate = z.infer<typeof ConversationUpdateSchema>;
|