/** * Webitel API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 24.04.0 * Contact: support@webitel.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { AxiosPromise, AxiosInstance } from 'axios'; import { Configuration } from '../configuration'; import { RequestArgs, BaseAPI } from '../base'; import { WebitelChatLookup } from '../api'; /** * ContactLinkingServiceApi - axios parameter creator * @export */ export declare const ContactLinkingServiceApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @summary CreateContactFromConversation creates new contact from the data existing in the conversation and after that links this contact to the external user. * @param {string} conversationId * @param {string} [timezoneId] * @param {string} [timezoneName] * @param {string} [ownerId] * @param {string} [ownerName] * @param {Array} [label] * @param {string} [name] * @param {string} [description] * @param {*} [options] Override http request option. * @throws {RequiredError} */ createContactFromConversation: (conversationId: string, timezoneId?: string, timezoneName?: string, ownerId?: string, ownerName?: string, label?: Array, name?: string, description?: string, options?: any) => Promise; /** * * @summary LinkContactToClient creates connection between existing internal contact and external client. * @param {string} conversationId * @param {string} [contactId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ linkContactToClient: (conversationId: string, contactId?: string, options?: any) => Promise; }; /** * ContactLinkingServiceApi - functional programming interface * @export */ export declare const ContactLinkingServiceApiFp: (configuration?: Configuration) => { /** * * @summary CreateContactFromConversation creates new contact from the data existing in the conversation and after that links this contact to the external user. * @param {string} conversationId * @param {string} [timezoneId] * @param {string} [timezoneName] * @param {string} [ownerId] * @param {string} [ownerName] * @param {Array} [label] * @param {string} [name] * @param {string} [description] * @param {*} [options] Override http request option. * @throws {RequiredError} */ createContactFromConversation(conversationId: string, timezoneId?: string, timezoneName?: string, ownerId?: string, ownerName?: string, label?: Array, name?: string, description?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary LinkContactToClient creates connection between existing internal contact and external client. * @param {string} conversationId * @param {string} [contactId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ linkContactToClient(conversationId: string, contactId?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * ContactLinkingServiceApi - factory interface * @export */ export declare const ContactLinkingServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @summary CreateContactFromConversation creates new contact from the data existing in the conversation and after that links this contact to the external user. * @param {string} conversationId * @param {string} [timezoneId] * @param {string} [timezoneName] * @param {string} [ownerId] * @param {string} [ownerName] * @param {Array} [label] * @param {string} [name] * @param {string} [description] * @param {*} [options] Override http request option. * @throws {RequiredError} */ createContactFromConversation(conversationId: string, timezoneId?: string, timezoneName?: string, ownerId?: string, ownerName?: string, label?: Array, name?: string, description?: string, options?: any): AxiosPromise; /** * * @summary LinkContactToClient creates connection between existing internal contact and external client. * @param {string} conversationId * @param {string} [contactId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ linkContactToClient(conversationId: string, contactId?: string, options?: any): AxiosPromise; }; /** * ContactLinkingServiceApi - object-oriented interface * @export * @class ContactLinkingServiceApi * @extends {BaseAPI} */ export declare class ContactLinkingServiceApi extends BaseAPI { /** * * @summary CreateContactFromConversation creates new contact from the data existing in the conversation and after that links this contact to the external user. * @param {string} conversationId * @param {string} [timezoneId] * @param {string} [timezoneName] * @param {string} [ownerId] * @param {string} [ownerName] * @param {Array} [label] * @param {string} [name] * @param {string} [description] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ContactLinkingServiceApi */ createContactFromConversation(conversationId: string, timezoneId?: string, timezoneName?: string, ownerId?: string, ownerName?: string, label?: Array, name?: string, description?: string, options?: any): Promise>; /** * * @summary LinkContactToClient creates connection between existing internal contact and external client. * @param {string} conversationId * @param {string} [contactId] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ContactLinkingServiceApi */ linkContactToClient(conversationId: string, contactId?: string, options?: any): Promise>; } //# sourceMappingURL=contact-linking-service-api.d.ts.map