/** * Generated by orval v8.19.0 🍺 * Do not edit manually. * Webitel API * OpenAPI spec version: 24.04.0 */ import * as zod from 'zod'; /** * @summary CreateContactFromConversation creates new contact from the data existing in the conversation and after that links this contact to the external user. */ export const ContactLinkingServiceCreateContactFromConversationParams = zod.object({ conversation_id: zod.string(), }); export const ContactLinkingServiceCreateContactFromConversationQueryParams = zod.object({ 'timezone.id': zod.string().optional(), 'timezone.name': zod.string().optional(), 'owner.id': zod.string().optional(), 'owner.name': zod.string().optional(), label: zod.array(zod.string()).optional(), name: zod.string().optional(), description: zod.string().optional(), }); export const ContactLinkingServiceCreateContactFromConversationResponse = zod.object({ id: zod.string().optional(), name: zod.string().optional(), }); /** * @summary LinkContactToClient creates connection between existing internal contact and external client. */ export const ContactLinkingServiceLinkContactToClientParams = zod.object({ conversation_id: zod.string(), }); export const ContactLinkingServiceLinkContactToClientQueryParams = zod.object({ contactId: zod.string().optional(), }); export const ContactLinkingServiceLinkContactToClientResponse = zod.looseObject( {}, );