/** * 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 { EngineCommunicationType } from '../api'; import { EngineCommunicationTypeRequest } from '../api'; import { EngineCommunicationTypeServicePatchCommunicationTypeBody } from '../api'; import { EngineCommunicationTypeServiceUpdateCommunicationTypeBody } from '../api'; import { EngineListCommunicationType } from '../api'; /** * CommunicationTypeServiceApi - axios parameter creator * @export */ export declare const CommunicationTypeServiceApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @summary Create CommunicationType * @param {EngineCommunicationTypeRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createCommunicationType: (body: EngineCommunicationTypeRequest, options?: any) => Promise; /** * * @summary Remove CommunicationType * @param {string} id * @param {string} [domainId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteCommunicationType: (id: string, domainId?: string, options?: any) => Promise; /** * * @param {string} id * @param {EngineCommunicationTypeServicePatchCommunicationTypeBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchCommunicationType: (id: string, body: EngineCommunicationTypeServicePatchCommunicationTypeBody, options?: any) => Promise; /** * * @summary CommunicationType item * @param {string} id * @param {string} [domainId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ readCommunicationType: (id: string, domainId?: string, options?: any) => Promise; /** * * @summary List of CommunicationType * @param {number} [page] * @param {number} [size] * @param {string} [q] * @param {string} [sort] * @param {Array} [fields] * @param {Array} [id] * @param {Array<'Undefined' | 'Phone' | 'Email' | 'Messaging'>} [channel] * @param {boolean} [_default] * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchCommunicationType: (page?: number, size?: number, q?: string, sort?: string, fields?: Array, id?: Array, channel?: Array<"Undefined" | "Phone" | "Email" | "Messaging">, _default?: boolean, options?: any) => Promise; /** * * @summary Update CommunicationType * @param {string} id * @param {EngineCommunicationTypeServiceUpdateCommunicationTypeBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateCommunicationType: (id: string, body: EngineCommunicationTypeServiceUpdateCommunicationTypeBody, options?: any) => Promise; }; /** * CommunicationTypeServiceApi - functional programming interface * @export */ export declare const CommunicationTypeServiceApiFp: (configuration?: Configuration) => { /** * * @summary Create CommunicationType * @param {EngineCommunicationTypeRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createCommunicationType(body: EngineCommunicationTypeRequest, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary Remove CommunicationType * @param {string} id * @param {string} [domainId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteCommunicationType(id: string, domainId?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} id * @param {EngineCommunicationTypeServicePatchCommunicationTypeBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchCommunicationType(id: string, body: EngineCommunicationTypeServicePatchCommunicationTypeBody, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary CommunicationType item * @param {string} id * @param {string} [domainId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ readCommunicationType(id: string, domainId?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary List of CommunicationType * @param {number} [page] * @param {number} [size] * @param {string} [q] * @param {string} [sort] * @param {Array} [fields] * @param {Array} [id] * @param {Array<'Undefined' | 'Phone' | 'Email' | 'Messaging'>} [channel] * @param {boolean} [_default] * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchCommunicationType(page?: number, size?: number, q?: string, sort?: string, fields?: Array, id?: Array, channel?: Array<"Undefined" | "Phone" | "Email" | "Messaging">, _default?: boolean, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary Update CommunicationType * @param {string} id * @param {EngineCommunicationTypeServiceUpdateCommunicationTypeBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateCommunicationType(id: string, body: EngineCommunicationTypeServiceUpdateCommunicationTypeBody, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * CommunicationTypeServiceApi - factory interface * @export */ export declare const CommunicationTypeServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @summary Create CommunicationType * @param {EngineCommunicationTypeRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createCommunicationType(body: EngineCommunicationTypeRequest, options?: any): AxiosPromise; /** * * @summary Remove CommunicationType * @param {string} id * @param {string} [domainId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteCommunicationType(id: string, domainId?: string, options?: any): AxiosPromise; /** * * @param {string} id * @param {EngineCommunicationTypeServicePatchCommunicationTypeBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchCommunicationType(id: string, body: EngineCommunicationTypeServicePatchCommunicationTypeBody, options?: any): AxiosPromise; /** * * @summary CommunicationType item * @param {string} id * @param {string} [domainId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ readCommunicationType(id: string, domainId?: string, options?: any): AxiosPromise; /** * * @summary List of CommunicationType * @param {number} [page] * @param {number} [size] * @param {string} [q] * @param {string} [sort] * @param {Array} [fields] * @param {Array} [id] * @param {Array<'Undefined' | 'Phone' | 'Email' | 'Messaging'>} [channel] * @param {boolean} [_default] * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchCommunicationType(page?: number, size?: number, q?: string, sort?: string, fields?: Array, id?: Array, channel?: Array<"Undefined" | "Phone" | "Email" | "Messaging">, _default?: boolean, options?: any): AxiosPromise; /** * * @summary Update CommunicationType * @param {string} id * @param {EngineCommunicationTypeServiceUpdateCommunicationTypeBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateCommunicationType(id: string, body: EngineCommunicationTypeServiceUpdateCommunicationTypeBody, options?: any): AxiosPromise; }; /** * CommunicationTypeServiceApi - object-oriented interface * @export * @class CommunicationTypeServiceApi * @extends {BaseAPI} */ export declare class CommunicationTypeServiceApi extends BaseAPI { /** * * @summary Create CommunicationType * @param {EngineCommunicationTypeRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CommunicationTypeServiceApi */ createCommunicationType(body: EngineCommunicationTypeRequest, options?: any): Promise>; /** * * @summary Remove CommunicationType * @param {string} id * @param {string} [domainId] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CommunicationTypeServiceApi */ deleteCommunicationType(id: string, domainId?: string, options?: any): Promise>; /** * * @param {string} id * @param {EngineCommunicationTypeServicePatchCommunicationTypeBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CommunicationTypeServiceApi */ patchCommunicationType(id: string, body: EngineCommunicationTypeServicePatchCommunicationTypeBody, options?: any): Promise>; /** * * @summary CommunicationType item * @param {string} id * @param {string} [domainId] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CommunicationTypeServiceApi */ readCommunicationType(id: string, domainId?: string, options?: any): Promise>; /** * * @summary List of CommunicationType * @param {number} [page] * @param {number} [size] * @param {string} [q] * @param {string} [sort] * @param {Array} [fields] * @param {Array} [id] * @param {Array<'Undefined' | 'Phone' | 'Email' | 'Messaging'>} [channel] * @param {boolean} [_default] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CommunicationTypeServiceApi */ searchCommunicationType(page?: number, size?: number, q?: string, sort?: string, fields?: Array, id?: Array, channel?: Array<'Undefined' | 'Phone' | 'Email' | 'Messaging'>, _default?: boolean, options?: any): Promise>; /** * * @summary Update CommunicationType * @param {string} id * @param {EngineCommunicationTypeServiceUpdateCommunicationTypeBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CommunicationTypeServiceApi */ updateCommunicationType(id: string, body: EngineCommunicationTypeServiceUpdateCommunicationTypeBody, options?: any): Promise>; } //# sourceMappingURL=communication-type-service-api.d.ts.map