controlresell 2.26.6 → 2.26.8
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/ActivityDayLevel.d.ts +4 -0
- package/src/com/controlresell/api/responses/activity/ActivityDayLevel.d.ts.map +1 -0
- package/src/com/controlresell/api/responses/activity/ActivityDayLevel.js +5 -0
- package/src/com/controlresell/api/responses/activity/ActivityDayLevel.js.map +1 -0
- package/src/com/controlresell/api/responses/activity/ActivityDayLevel.ts +6 -0
- package/src/com/controlresell/api/responses/activity/ActivityDaySummary.d.ts +41 -2
- package/src/com/controlresell/api/responses/activity/ActivityDaySummary.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/activity/ActivityDaySummary.js +6 -1
- package/src/com/controlresell/api/responses/activity/ActivityDaySummary.js.map +1 -1
- package/src/com/controlresell/api/responses/activity/ActivityDaySummary.ts +6 -1
- 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/ActivityFamily.d.ts +4 -0
- package/src/com/controlresell/api/responses/activity/ActivityFamily.d.ts.map +1 -0
- package/src/com/controlresell/api/responses/activity/ActivityFamily.js +5 -0
- package/src/com/controlresell/api/responses/activity/ActivityFamily.js.map +1 -0
- package/src/com/controlresell/api/responses/activity/ActivityFamily.ts +6 -0
- package/src/com/controlresell/api/responses/activity/ActivityFamilyCounts.d.ts +22 -0
- package/src/com/controlresell/api/responses/activity/ActivityFamilyCounts.d.ts.map +1 -0
- package/src/com/controlresell/api/responses/activity/ActivityFamilyCounts.js +10 -0
- package/src/com/controlresell/api/responses/activity/ActivityFamilyCounts.js.map +1 -0
- package/src/com/controlresell/api/responses/activity/ActivityFamilyCounts.ts +11 -0
- 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 +121 -25
- package/src/com/controlresell/api/responses/activity/ActivitySummaryResponse.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/activity/ActivitySummaryResponse.js +6 -1
- package/src/com/controlresell/api/responses/activity/ActivitySummaryResponse.js.map +1 -1
- package/src/com/controlresell/api/responses/activity/ActivitySummaryResponse.ts +6 -1
- 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 +734 -734
- package/src/com/controlresell/api/responses/items/ListedItem.d.ts +491 -491
- 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 +1443 -1443
- 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 +735 -735
- package/src/com/controlresell/models/items/UpdatedItem.d.ts +1443 -1443
- 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 +735 -735
- 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 +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 +756 -756
- package/src/com/controlresell/models/metadata/platforms/MappedPlatformCategories.d.ts +13 -0
- package/src/com/controlresell/models/metadata/platforms/MappedPlatformCategories.d.ts.map +1 -0
- package/src/com/controlresell/models/metadata/platforms/MappedPlatformCategories.js +6 -0
- package/src/com/controlresell/models/metadata/platforms/MappedPlatformCategories.js.map +1 -0
- package/src/com/controlresell/models/metadata/platforms/MappedPlatformCategories.ts +7 -0
- 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 +274 -274
- 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 +1629 -1629
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +24 -24
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +1161 -1161
- 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 +3614 -3614
- package/src/com/controlresell/models/users/ws/UserWsResourcePayload.d.ts +80 -80
- package/src/index.d.ts +404 -400
- package/src/index.d.ts.map +1 -1
- package/src/index.js +404 -400
- package/src/index.js.map +1 -1
- package/src/index.ts +404 -400
|
@@ -41,15 +41,15 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
41
41
|
}, "strip", z.ZodTypeAny, {
|
|
42
42
|
path: string;
|
|
43
43
|
id: string;
|
|
44
|
-
userId: number;
|
|
45
44
|
createdAt: Date;
|
|
45
|
+
userId: number;
|
|
46
46
|
signedUrl: string;
|
|
47
47
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
48
48
|
}, {
|
|
49
49
|
path: string;
|
|
50
50
|
id: string;
|
|
51
|
-
userId: number;
|
|
52
51
|
createdAt: Date;
|
|
52
|
+
userId: number;
|
|
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
|
-
accountId: string;
|
|
64
|
-
userId: number;
|
|
65
63
|
name: string;
|
|
64
|
+
userId: number;
|
|
65
|
+
accountId: 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
|
-
userId: number;
|
|
85
84
|
createdAt: Date;
|
|
85
|
+
userId: number;
|
|
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
|
-
accountId: string;
|
|
94
|
-
userId: number;
|
|
95
93
|
name: string;
|
|
94
|
+
userId: number;
|
|
95
|
+
accountId: 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
|
-
userId: number;
|
|
116
115
|
createdAt: Date;
|
|
116
|
+
userId: number;
|
|
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
|
-
userId: number;
|
|
206
205
|
createdAt: Date;
|
|
206
|
+
userId: number;
|
|
207
207
|
signedUrl: string;
|
|
208
208
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
209
209
|
}, {
|
|
210
210
|
path: string;
|
|
211
211
|
id: string;
|
|
212
|
-
userId: number;
|
|
213
212
|
createdAt: Date;
|
|
213
|
+
userId: number;
|
|
214
214
|
signedUrl: string;
|
|
215
215
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
216
216
|
}>>>;
|
|
217
217
|
}, "strip", z.ZodTypeAny, {
|
|
218
|
-
messageId: string;
|
|
219
218
|
fileId: string;
|
|
219
|
+
messageId: string;
|
|
220
220
|
file?: {
|
|
221
221
|
path: string;
|
|
222
222
|
id: string;
|
|
223
|
-
userId: number;
|
|
224
223
|
createdAt: Date;
|
|
224
|
+
userId: number;
|
|
225
225
|
signedUrl: string;
|
|
226
226
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
227
227
|
} | null | undefined;
|
|
228
228
|
index?: number | null | undefined;
|
|
229
229
|
}, {
|
|
230
|
-
messageId: string;
|
|
231
230
|
fileId: string;
|
|
231
|
+
messageId: string;
|
|
232
232
|
file?: {
|
|
233
233
|
path: string;
|
|
234
234
|
id: string;
|
|
235
|
-
userId: number;
|
|
236
235
|
createdAt: Date;
|
|
236
|
+
userId: number;
|
|
237
237
|
signedUrl: string;
|
|
238
238
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
239
239
|
} | null | undefined;
|
|
@@ -261,20 +261,24 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
261
261
|
platformOfferId?: string | null | undefined;
|
|
262
262
|
} | null | undefined;
|
|
263
263
|
files?: {
|
|
264
|
-
messageId: string;
|
|
265
264
|
fileId: string;
|
|
265
|
+
messageId: string;
|
|
266
266
|
file?: {
|
|
267
267
|
path: string;
|
|
268
268
|
id: string;
|
|
269
|
-
userId: number;
|
|
270
269
|
createdAt: Date;
|
|
270
|
+
userId: number;
|
|
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;
|
|
277
280
|
conversationUserId?: string | null | undefined;
|
|
281
|
+
scheduledAt?: Date | null | undefined;
|
|
278
282
|
statusHistory?: {
|
|
279
283
|
status: "UNKNOWN" | "DELETING" | "CANCELED" | "SCHEDULED" | "DELETED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
|
|
280
284
|
id: string;
|
|
@@ -282,15 +286,11 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
282
286
|
messageId: string;
|
|
283
287
|
requestId?: string | null | undefined;
|
|
284
288
|
}[] | null | undefined;
|
|
285
|
-
scheduledAt?: Date | null | undefined;
|
|
286
289
|
translation?: {
|
|
287
290
|
messageId: string;
|
|
288
291
|
body: string;
|
|
289
292
|
lang: string;
|
|
290
293
|
} | 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,20 +309,24 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
309
309
|
platformOfferId?: string | null | undefined;
|
|
310
310
|
} | null | undefined;
|
|
311
311
|
files?: {
|
|
312
|
-
messageId: string;
|
|
313
312
|
fileId: string;
|
|
313
|
+
messageId: string;
|
|
314
314
|
file?: {
|
|
315
315
|
path: string;
|
|
316
316
|
id: string;
|
|
317
|
-
userId: number;
|
|
318
317
|
createdAt: Date;
|
|
318
|
+
userId: number;
|
|
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;
|
|
325
328
|
conversationUserId?: string | null | undefined;
|
|
329
|
+
scheduledAt?: Date | null | undefined;
|
|
326
330
|
statusHistory?: {
|
|
327
331
|
id: string;
|
|
328
332
|
createdAt: Date;
|
|
@@ -330,15 +334,11 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
330
334
|
status?: unknown;
|
|
331
335
|
requestId?: string | null | undefined;
|
|
332
336
|
}[] | null | undefined;
|
|
333
|
-
scheduledAt?: Date | null | undefined;
|
|
334
337
|
translation?: {
|
|
335
338
|
messageId: string;
|
|
336
339
|
body: string;
|
|
337
340
|
lang: string;
|
|
338
341
|
} | 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
|
-
userId: number;
|
|
363
362
|
createdAt: Date;
|
|
363
|
+
userId: number;
|
|
364
364
|
signedUrl: string;
|
|
365
365
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
366
366
|
}, {
|
|
367
367
|
path: string;
|
|
368
368
|
id: string;
|
|
369
|
-
userId: number;
|
|
370
369
|
createdAt: Date;
|
|
370
|
+
userId: number;
|
|
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
|
-
login: string;
|
|
384
383
|
conversationId: string;
|
|
384
|
+
login: string;
|
|
385
385
|
platformUserId: string;
|
|
386
|
+
email?: string | null | undefined;
|
|
386
387
|
location?: string | null | undefined;
|
|
387
388
|
reviewCount?: number | null | undefined;
|
|
388
389
|
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
|
-
userId: number;
|
|
401
400
|
createdAt: Date;
|
|
401
|
+
userId: number;
|
|
402
402
|
signedUrl: string;
|
|
403
403
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
404
404
|
} | null | undefined;
|
|
405
405
|
}, {
|
|
406
406
|
id: string;
|
|
407
|
-
login: string;
|
|
408
407
|
conversationId: string;
|
|
408
|
+
login: string;
|
|
409
409
|
platformUserId: string;
|
|
410
|
+
email?: string | null | undefined;
|
|
410
411
|
location?: string | null | undefined;
|
|
411
412
|
reviewCount?: number | null | undefined;
|
|
412
413
|
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
|
-
userId: number;
|
|
425
424
|
createdAt: Date;
|
|
425
|
+
userId: number;
|
|
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
|
-
accountId: string;
|
|
437
436
|
userId: number;
|
|
437
|
+
accountId: string;
|
|
438
438
|
updatedAt: Date;
|
|
439
439
|
platformConversationId: string;
|
|
440
|
-
isUnread: boolean;
|
|
441
440
|
isPinned: boolean;
|
|
442
441
|
aiEnabled: boolean;
|
|
442
|
+
isUnread: boolean;
|
|
443
443
|
users?: {
|
|
444
444
|
id: string;
|
|
445
|
-
login: string;
|
|
446
445
|
conversationId: string;
|
|
446
|
+
login: string;
|
|
447
447
|
platformUserId: string;
|
|
448
|
+
email?: string | null | undefined;
|
|
448
449
|
location?: string | null | undefined;
|
|
449
450
|
reviewCount?: number | null | undefined;
|
|
450
451
|
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
|
-
userId: number;
|
|
463
462
|
createdAt: Date;
|
|
463
|
+
userId: number;
|
|
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
|
-
accountId: string;
|
|
471
|
-
userId: number;
|
|
472
470
|
name: string;
|
|
471
|
+
userId: number;
|
|
472
|
+
accountId: 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
|
-
userId: number;
|
|
492
491
|
createdAt: Date;
|
|
492
|
+
userId: number;
|
|
493
493
|
signedUrl: string;
|
|
494
494
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
495
495
|
} | null | undefined;
|
|
@@ -497,6 +497,7 @@ 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;
|
|
500
501
|
lastMessage?: {
|
|
501
502
|
type: "UNKNOWN" | "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
|
|
502
503
|
status: "UNKNOWN" | "DELETING" | "CANCELED" | "SCHEDULED" | "DELETED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
|
|
@@ -515,20 +516,24 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
515
516
|
platformOfferId?: string | null | undefined;
|
|
516
517
|
} | null | undefined;
|
|
517
518
|
files?: {
|
|
518
|
-
messageId: string;
|
|
519
519
|
fileId: string;
|
|
520
|
+
messageId: string;
|
|
520
521
|
file?: {
|
|
521
522
|
path: string;
|
|
522
523
|
id: string;
|
|
523
|
-
userId: number;
|
|
524
524
|
createdAt: Date;
|
|
525
|
+
userId: number;
|
|
525
526
|
signedUrl: string;
|
|
526
527
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
527
528
|
} | null | undefined;
|
|
528
529
|
index?: number | null | undefined;
|
|
529
530
|
}[] | null | undefined;
|
|
530
531
|
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;
|
|
531
535
|
conversationUserId?: string | null | undefined;
|
|
536
|
+
scheduledAt?: Date | null | undefined;
|
|
532
537
|
statusHistory?: {
|
|
533
538
|
status: "UNKNOWN" | "DELETING" | "CANCELED" | "SCHEDULED" | "DELETED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
|
|
534
539
|
id: string;
|
|
@@ -536,35 +541,30 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
536
541
|
messageId: string;
|
|
537
542
|
requestId?: string | null | undefined;
|
|
538
543
|
}[] | null | undefined;
|
|
539
|
-
scheduledAt?: Date | null | undefined;
|
|
540
544
|
translation?: {
|
|
541
545
|
messageId: string;
|
|
542
546
|
body: string;
|
|
543
547
|
lang: string;
|
|
544
548
|
} | 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;
|
|
548
549
|
} | null | undefined;
|
|
549
|
-
lastRead?: Date | null | undefined;
|
|
550
550
|
}, {
|
|
551
551
|
id: string;
|
|
552
|
-
accountId: string;
|
|
553
552
|
userId: number;
|
|
553
|
+
accountId: string;
|
|
554
554
|
updatedAt: Date;
|
|
555
555
|
platformConversationId: string;
|
|
556
|
-
isUnread: boolean;
|
|
557
556
|
isPinned: boolean;
|
|
558
557
|
aiEnabled: boolean;
|
|
558
|
+
isUnread: boolean;
|
|
559
559
|
users?: {
|
|
560
560
|
id: string;
|
|
561
|
-
login: string;
|
|
562
561
|
conversationId: string;
|
|
562
|
+
login: string;
|
|
563
563
|
platformUserId: string;
|
|
564
|
+
email?: string | null | undefined;
|
|
564
565
|
location?: string | null | undefined;
|
|
565
566
|
reviewCount?: number | null | undefined;
|
|
566
567
|
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
|
-
userId: number;
|
|
579
578
|
createdAt: Date;
|
|
579
|
+
userId: number;
|
|
580
580
|
signedUrl: string;
|
|
581
581
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
582
582
|
} | null | undefined;
|
|
583
583
|
}[] | null | undefined;
|
|
584
584
|
account?: {
|
|
585
|
-
accountId: string;
|
|
586
|
-
userId: number;
|
|
587
585
|
name: string;
|
|
586
|
+
userId: number;
|
|
587
|
+
accountId: 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
|
-
userId: number;
|
|
608
607
|
createdAt: Date;
|
|
608
|
+
userId: number;
|
|
609
609
|
signedUrl: string;
|
|
610
610
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
611
611
|
} | null | undefined;
|
|
@@ -613,6 +613,7 @@ 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;
|
|
616
617
|
lastMessage?: {
|
|
617
618
|
id: string;
|
|
618
619
|
createdAt: Date;
|
|
@@ -631,20 +632,24 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
631
632
|
platformOfferId?: string | null | undefined;
|
|
632
633
|
} | null | undefined;
|
|
633
634
|
files?: {
|
|
634
|
-
messageId: string;
|
|
635
635
|
fileId: string;
|
|
636
|
+
messageId: string;
|
|
636
637
|
file?: {
|
|
637
638
|
path: string;
|
|
638
639
|
id: string;
|
|
639
|
-
userId: number;
|
|
640
640
|
createdAt: Date;
|
|
641
|
+
userId: number;
|
|
641
642
|
signedUrl: string;
|
|
642
643
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
643
644
|
} | null | undefined;
|
|
644
645
|
index?: number | null | undefined;
|
|
645
646
|
}[] | null | undefined;
|
|
646
647
|
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;
|
|
647
651
|
conversationUserId?: string | null | undefined;
|
|
652
|
+
scheduledAt?: Date | null | undefined;
|
|
648
653
|
statusHistory?: {
|
|
649
654
|
id: string;
|
|
650
655
|
createdAt: Date;
|
|
@@ -652,17 +657,12 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
652
657
|
status?: unknown;
|
|
653
658
|
requestId?: string | null | undefined;
|
|
654
659
|
}[] | null | undefined;
|
|
655
|
-
scheduledAt?: Date | null | undefined;
|
|
656
660
|
translation?: {
|
|
657
661
|
messageId: string;
|
|
658
662
|
body: string;
|
|
659
663
|
lang: string;
|
|
660
664
|
} | 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;
|
|
664
665
|
} | 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
|
-
userId: number;
|
|
749
748
|
createdAt: Date;
|
|
749
|
+
userId: number;
|
|
750
750
|
signedUrl: string;
|
|
751
751
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
752
752
|
}, {
|
|
753
753
|
path: string;
|
|
754
754
|
id: string;
|
|
755
|
-
userId: number;
|
|
756
755
|
createdAt: Date;
|
|
756
|
+
userId: number;
|
|
757
757
|
signedUrl: string;
|
|
758
758
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
759
759
|
}>>>;
|
|
760
760
|
}, "strip", z.ZodTypeAny, {
|
|
761
|
-
messageId: string;
|
|
762
761
|
fileId: string;
|
|
762
|
+
messageId: string;
|
|
763
763
|
file?: {
|
|
764
764
|
path: string;
|
|
765
765
|
id: string;
|
|
766
|
-
userId: number;
|
|
767
766
|
createdAt: Date;
|
|
767
|
+
userId: number;
|
|
768
768
|
signedUrl: string;
|
|
769
769
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
770
770
|
} | null | undefined;
|
|
771
771
|
index?: number | null | undefined;
|
|
772
772
|
}, {
|
|
773
|
-
messageId: string;
|
|
774
773
|
fileId: string;
|
|
774
|
+
messageId: string;
|
|
775
775
|
file?: {
|
|
776
776
|
path: string;
|
|
777
777
|
id: string;
|
|
778
|
-
userId: number;
|
|
779
778
|
createdAt: Date;
|
|
779
|
+
userId: number;
|
|
780
780
|
signedUrl: string;
|
|
781
781
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
782
782
|
} | null | undefined;
|
|
@@ -804,20 +804,24 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
804
804
|
platformOfferId?: string | null | undefined;
|
|
805
805
|
} | null | undefined;
|
|
806
806
|
files?: {
|
|
807
|
-
messageId: string;
|
|
808
807
|
fileId: string;
|
|
808
|
+
messageId: string;
|
|
809
809
|
file?: {
|
|
810
810
|
path: string;
|
|
811
811
|
id: string;
|
|
812
|
-
userId: number;
|
|
813
812
|
createdAt: Date;
|
|
813
|
+
userId: number;
|
|
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;
|
|
820
823
|
conversationUserId?: string | null | undefined;
|
|
824
|
+
scheduledAt?: Date | null | undefined;
|
|
821
825
|
statusHistory?: {
|
|
822
826
|
status: "UNKNOWN" | "DELETING" | "CANCELED" | "SCHEDULED" | "DELETED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
|
|
823
827
|
id: string;
|
|
@@ -825,15 +829,11 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
825
829
|
messageId: string;
|
|
826
830
|
requestId?: string | null | undefined;
|
|
827
831
|
}[] | null | undefined;
|
|
828
|
-
scheduledAt?: Date | null | undefined;
|
|
829
832
|
translation?: {
|
|
830
833
|
messageId: string;
|
|
831
834
|
body: string;
|
|
832
835
|
lang: string;
|
|
833
836
|
} | 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,20 +852,24 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
852
852
|
platformOfferId?: string | null | undefined;
|
|
853
853
|
} | null | undefined;
|
|
854
854
|
files?: {
|
|
855
|
-
messageId: string;
|
|
856
855
|
fileId: string;
|
|
856
|
+
messageId: string;
|
|
857
857
|
file?: {
|
|
858
858
|
path: string;
|
|
859
859
|
id: string;
|
|
860
|
-
userId: number;
|
|
861
860
|
createdAt: Date;
|
|
861
|
+
userId: number;
|
|
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;
|
|
868
871
|
conversationUserId?: string | null | undefined;
|
|
872
|
+
scheduledAt?: Date | null | undefined;
|
|
869
873
|
statusHistory?: {
|
|
870
874
|
id: string;
|
|
871
875
|
createdAt: Date;
|
|
@@ -873,36 +877,32 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
873
877
|
status?: unknown;
|
|
874
878
|
requestId?: string | null | undefined;
|
|
875
879
|
}[] | null | undefined;
|
|
876
|
-
scheduledAt?: Date | null | undefined;
|
|
877
880
|
translation?: {
|
|
878
881
|
messageId: string;
|
|
879
882
|
body: string;
|
|
880
883
|
lang: string;
|
|
881
884
|
} | 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
|
-
accountId: string;
|
|
891
890
|
userId: number;
|
|
891
|
+
accountId: string;
|
|
892
892
|
updatedAt: Date;
|
|
893
893
|
platformConversationId: string;
|
|
894
|
-
isUnread: boolean;
|
|
895
894
|
isPinned: boolean;
|
|
896
895
|
aiEnabled: boolean;
|
|
896
|
+
isUnread: boolean;
|
|
897
897
|
users?: {
|
|
898
898
|
id: string;
|
|
899
|
-
login: string;
|
|
900
899
|
conversationId: string;
|
|
900
|
+
login: string;
|
|
901
901
|
platformUserId: string;
|
|
902
|
+
email?: string | null | undefined;
|
|
902
903
|
location?: string | null | undefined;
|
|
903
904
|
reviewCount?: number | null | undefined;
|
|
904
905
|
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
|
-
userId: number;
|
|
917
916
|
createdAt: Date;
|
|
917
|
+
userId: number;
|
|
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
|
-
accountId: string;
|
|
925
|
-
userId: number;
|
|
926
924
|
name: string;
|
|
925
|
+
userId: number;
|
|
926
|
+
accountId: 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
|
-
userId: number;
|
|
946
945
|
createdAt: Date;
|
|
946
|
+
userId: number;
|
|
947
947
|
signedUrl: string;
|
|
948
948
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
949
949
|
} | null | undefined;
|
|
@@ -951,6 +951,7 @@ 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;
|
|
954
955
|
lastMessage?: {
|
|
955
956
|
type: "UNKNOWN" | "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
|
|
956
957
|
status: "UNKNOWN" | "DELETING" | "CANCELED" | "SCHEDULED" | "DELETED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
|
|
@@ -969,20 +970,24 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
969
970
|
platformOfferId?: string | null | undefined;
|
|
970
971
|
} | null | undefined;
|
|
971
972
|
files?: {
|
|
972
|
-
messageId: string;
|
|
973
973
|
fileId: string;
|
|
974
|
+
messageId: string;
|
|
974
975
|
file?: {
|
|
975
976
|
path: string;
|
|
976
977
|
id: string;
|
|
977
|
-
userId: number;
|
|
978
978
|
createdAt: Date;
|
|
979
|
+
userId: number;
|
|
979
980
|
signedUrl: string;
|
|
980
981
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
981
982
|
} | null | undefined;
|
|
982
983
|
index?: number | null | undefined;
|
|
983
984
|
}[] | null | undefined;
|
|
984
985
|
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;
|
|
985
989
|
conversationUserId?: string | null | undefined;
|
|
990
|
+
scheduledAt?: Date | null | undefined;
|
|
986
991
|
statusHistory?: {
|
|
987
992
|
status: "UNKNOWN" | "DELETING" | "CANCELED" | "SCHEDULED" | "DELETED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
|
|
988
993
|
id: string;
|
|
@@ -990,17 +995,12 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
990
995
|
messageId: string;
|
|
991
996
|
requestId?: string | null | undefined;
|
|
992
997
|
}[] | null | undefined;
|
|
993
|
-
scheduledAt?: Date | null | undefined;
|
|
994
998
|
translation?: {
|
|
995
999
|
messageId: string;
|
|
996
1000
|
body: string;
|
|
997
1001
|
lang: string;
|
|
998
1002
|
} | 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;
|
|
1002
1003
|
} | 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,20 +1020,24 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
1020
1020
|
platformOfferId?: string | null | undefined;
|
|
1021
1021
|
} | null | undefined;
|
|
1022
1022
|
files?: {
|
|
1023
|
-
messageId: string;
|
|
1024
1023
|
fileId: string;
|
|
1024
|
+
messageId: string;
|
|
1025
1025
|
file?: {
|
|
1026
1026
|
path: string;
|
|
1027
1027
|
id: string;
|
|
1028
|
-
userId: number;
|
|
1029
1028
|
createdAt: Date;
|
|
1029
|
+
userId: number;
|
|
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;
|
|
1036
1039
|
conversationUserId?: string | null | undefined;
|
|
1040
|
+
scheduledAt?: Date | null | undefined;
|
|
1037
1041
|
statusHistory?: {
|
|
1038
1042
|
status: "UNKNOWN" | "DELETING" | "CANCELED" | "SCHEDULED" | "DELETED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
|
|
1039
1043
|
id: string;
|
|
@@ -1041,36 +1045,32 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
1041
1045
|
messageId: string;
|
|
1042
1046
|
requestId?: string | null | undefined;
|
|
1043
1047
|
}[] | null | undefined;
|
|
1044
|
-
scheduledAt?: Date | null | undefined;
|
|
1045
1048
|
translation?: {
|
|
1046
1049
|
messageId: string;
|
|
1047
1050
|
body: string;
|
|
1048
1051
|
lang: string;
|
|
1049
1052
|
} | 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
|
-
accountId: string;
|
|
1059
1058
|
userId: number;
|
|
1059
|
+
accountId: string;
|
|
1060
1060
|
updatedAt: Date;
|
|
1061
1061
|
platformConversationId: string;
|
|
1062
|
-
isUnread: boolean;
|
|
1063
1062
|
isPinned: boolean;
|
|
1064
1063
|
aiEnabled: boolean;
|
|
1064
|
+
isUnread: boolean;
|
|
1065
1065
|
users?: {
|
|
1066
1066
|
id: string;
|
|
1067
|
-
login: string;
|
|
1068
1067
|
conversationId: string;
|
|
1068
|
+
login: string;
|
|
1069
1069
|
platformUserId: string;
|
|
1070
|
+
email?: string | null | undefined;
|
|
1070
1071
|
location?: string | null | undefined;
|
|
1071
1072
|
reviewCount?: number | null | undefined;
|
|
1072
1073
|
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
|
-
userId: number;
|
|
1085
1084
|
createdAt: Date;
|
|
1085
|
+
userId: number;
|
|
1086
1086
|
signedUrl: string;
|
|
1087
1087
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1088
1088
|
} | null | undefined;
|
|
1089
1089
|
}[] | null | undefined;
|
|
1090
1090
|
account?: {
|
|
1091
|
-
accountId: string;
|
|
1092
|
-
userId: number;
|
|
1093
1091
|
name: string;
|
|
1092
|
+
userId: number;
|
|
1093
|
+
accountId: 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
|
-
userId: number;
|
|
1114
1113
|
createdAt: Date;
|
|
1114
|
+
userId: number;
|
|
1115
1115
|
signedUrl: string;
|
|
1116
1116
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1117
1117
|
} | null | undefined;
|
|
@@ -1119,6 +1119,7 @@ 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;
|
|
1122
1123
|
lastMessage?: {
|
|
1123
1124
|
id: string;
|
|
1124
1125
|
createdAt: Date;
|
|
@@ -1137,20 +1138,24 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
1137
1138
|
platformOfferId?: string | null | undefined;
|
|
1138
1139
|
} | null | undefined;
|
|
1139
1140
|
files?: {
|
|
1140
|
-
messageId: string;
|
|
1141
1141
|
fileId: string;
|
|
1142
|
+
messageId: string;
|
|
1142
1143
|
file?: {
|
|
1143
1144
|
path: string;
|
|
1144
1145
|
id: string;
|
|
1145
|
-
userId: number;
|
|
1146
1146
|
createdAt: Date;
|
|
1147
|
+
userId: number;
|
|
1147
1148
|
signedUrl: string;
|
|
1148
1149
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1149
1150
|
} | null | undefined;
|
|
1150
1151
|
index?: number | null | undefined;
|
|
1151
1152
|
}[] | null | undefined;
|
|
1152
1153
|
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;
|
|
1153
1157
|
conversationUserId?: string | null | undefined;
|
|
1158
|
+
scheduledAt?: Date | null | undefined;
|
|
1154
1159
|
statusHistory?: {
|
|
1155
1160
|
id: string;
|
|
1156
1161
|
createdAt: Date;
|
|
@@ -1158,17 +1163,12 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
1158
1163
|
status?: unknown;
|
|
1159
1164
|
requestId?: string | null | undefined;
|
|
1160
1165
|
}[] | null | undefined;
|
|
1161
|
-
scheduledAt?: Date | null | undefined;
|
|
1162
1166
|
translation?: {
|
|
1163
1167
|
messageId: string;
|
|
1164
1168
|
body: string;
|
|
1165
1169
|
lang: string;
|
|
1166
1170
|
} | 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;
|
|
1170
1171
|
} | null | undefined;
|
|
1171
|
-
lastRead?: Date | null | undefined;
|
|
1172
1172
|
};
|
|
1173
1173
|
newMessages: {
|
|
1174
1174
|
id: string;
|
|
@@ -1188,20 +1188,24 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
1188
1188
|
platformOfferId?: string | null | undefined;
|
|
1189
1189
|
} | null | undefined;
|
|
1190
1190
|
files?: {
|
|
1191
|
-
messageId: string;
|
|
1192
1191
|
fileId: string;
|
|
1192
|
+
messageId: string;
|
|
1193
1193
|
file?: {
|
|
1194
1194
|
path: string;
|
|
1195
1195
|
id: string;
|
|
1196
|
-
userId: number;
|
|
1197
1196
|
createdAt: Date;
|
|
1197
|
+
userId: number;
|
|
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;
|
|
1204
1207
|
conversationUserId?: string | null | undefined;
|
|
1208
|
+
scheduledAt?: Date | null | undefined;
|
|
1205
1209
|
statusHistory?: {
|
|
1206
1210
|
id: string;
|
|
1207
1211
|
createdAt: Date;
|
|
@@ -1209,15 +1213,11 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
1209
1213
|
status?: unknown;
|
|
1210
1214
|
requestId?: string | null | undefined;
|
|
1211
1215
|
}[] | null | undefined;
|
|
1212
|
-
scheduledAt?: Date | null | undefined;
|
|
1213
1216
|
translation?: {
|
|
1214
1217
|
messageId: string;
|
|
1215
1218
|
body: string;
|
|
1216
1219
|
lang: string;
|
|
1217
1220
|
} | 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>;
|