/** * 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 { WebitelCasesInputCaseCommunication } from '../api'; import { WebitelCasesLinkCommunicationResponse } from '../api'; import { WebitelCasesListCommunicationsResponse } from '../api'; import { WebitelCasesUnlinkCommunicationResponse } from '../api'; /** * CaseCommunicationsApi - axios parameter creator * @export */ export declare const CaseCommunicationsApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @summary Links a communication to a specific case. * @param {string} caseEtag Case identifier. * @param {WebitelCasesInputCaseCommunication} input Input data for the communications to link. * @param {Array} [fields] List of fields to include in the response. * @param {*} [options] Override http request option. * @throws {RequiredError} */ linkCommunication: (caseEtag: string, input: WebitelCasesInputCaseCommunication, fields?: Array, options?: any) => Promise; /** * * @summary Lists all communications linked to a specific case. Currently a feature for future development. * @param {string} caseEtag Case identifier. * @param {Array} [fields] List of fields to include in the response. * @param {string} [q] Query string for filtering results. * @param {number} [size] Number of records per page. * @param {number} [page] Page number for pagination. * @param {string} [sort] Sorting order. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listCommunications: (caseEtag: string, fields?: Array, q?: string, size?: number, page?: number, sort?: string, options?: any) => Promise; /** * * @summary Unlinks a communication from a specific case. * @param {string} caseEtag * @param {string} id Communication identifier. * @param {Array} [fields] List of fields to include in the response. * @param {*} [options] Override http request option. * @throws {RequiredError} */ unlinkCommunication: (caseEtag: string, id: string, fields?: Array, options?: any) => Promise; }; /** * CaseCommunicationsApi - functional programming interface * @export */ export declare const CaseCommunicationsApiFp: (configuration?: Configuration) => { /** * * @summary Links a communication to a specific case. * @param {string} caseEtag Case identifier. * @param {WebitelCasesInputCaseCommunication} input Input data for the communications to link. * @param {Array} [fields] List of fields to include in the response. * @param {*} [options] Override http request option. * @throws {RequiredError} */ linkCommunication(caseEtag: string, input: WebitelCasesInputCaseCommunication, fields?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary Lists all communications linked to a specific case. Currently a feature for future development. * @param {string} caseEtag Case identifier. * @param {Array} [fields] List of fields to include in the response. * @param {string} [q] Query string for filtering results. * @param {number} [size] Number of records per page. * @param {number} [page] Page number for pagination. * @param {string} [sort] Sorting order. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listCommunications(caseEtag: string, fields?: Array, q?: string, size?: number, page?: number, sort?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary Unlinks a communication from a specific case. * @param {string} caseEtag * @param {string} id Communication identifier. * @param {Array} [fields] List of fields to include in the response. * @param {*} [options] Override http request option. * @throws {RequiredError} */ unlinkCommunication(caseEtag: string, id: string, fields?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * CaseCommunicationsApi - factory interface * @export */ export declare const CaseCommunicationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @summary Links a communication to a specific case. * @param {string} caseEtag Case identifier. * @param {WebitelCasesInputCaseCommunication} input Input data for the communications to link. * @param {Array} [fields] List of fields to include in the response. * @param {*} [options] Override http request option. * @throws {RequiredError} */ linkCommunication(caseEtag: string, input: WebitelCasesInputCaseCommunication, fields?: Array, options?: any): AxiosPromise; /** * * @summary Lists all communications linked to a specific case. Currently a feature for future development. * @param {string} caseEtag Case identifier. * @param {Array} [fields] List of fields to include in the response. * @param {string} [q] Query string for filtering results. * @param {number} [size] Number of records per page. * @param {number} [page] Page number for pagination. * @param {string} [sort] Sorting order. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listCommunications(caseEtag: string, fields?: Array, q?: string, size?: number, page?: number, sort?: string, options?: any): AxiosPromise; /** * * @summary Unlinks a communication from a specific case. * @param {string} caseEtag * @param {string} id Communication identifier. * @param {Array} [fields] List of fields to include in the response. * @param {*} [options] Override http request option. * @throws {RequiredError} */ unlinkCommunication(caseEtag: string, id: string, fields?: Array, options?: any): AxiosPromise; }; /** * CaseCommunicationsApi - object-oriented interface * @export * @class CaseCommunicationsApi * @extends {BaseAPI} */ export declare class CaseCommunicationsApi extends BaseAPI { /** * * @summary Links a communication to a specific case. * @param {string} caseEtag Case identifier. * @param {WebitelCasesInputCaseCommunication} input Input data for the communications to link. * @param {Array} [fields] List of fields to include in the response. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CaseCommunicationsApi */ linkCommunication(caseEtag: string, input: WebitelCasesInputCaseCommunication, fields?: Array, options?: any): Promise>; /** * * @summary Lists all communications linked to a specific case. Currently a feature for future development. * @param {string} caseEtag Case identifier. * @param {Array} [fields] List of fields to include in the response. * @param {string} [q] Query string for filtering results. * @param {number} [size] Number of records per page. * @param {number} [page] Page number for pagination. * @param {string} [sort] Sorting order. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CaseCommunicationsApi */ listCommunications(caseEtag: string, fields?: Array, q?: string, size?: number, page?: number, sort?: string, options?: any): Promise>; /** * * @summary Unlinks a communication from a specific case. * @param {string} caseEtag * @param {string} id Communication identifier. * @param {Array} [fields] List of fields to include in the response. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CaseCommunicationsApi */ unlinkCommunication(caseEtag: string, id: string, fields?: Array, options?: any): Promise>; } //# sourceMappingURL=case-communications-api.d.ts.map