/** * 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 { InputDataForTheRelatedCaseUpdate } from '../api'; import { InputDataForTheRelatedCaseUpdate1 } from '../api'; import { WebitelCasesCreateInputRelatedCase } from '../api'; import { WebitelCasesRelatedCase } from '../api'; import { WebitelCasesRelatedCaseList } from '../api'; /** * RelatedCasesApi - axios parameter creator * @export */ export declare const RelatedCasesApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @summary Create a new related case * @param {string} primaryCaseEtag Primary case details. * @param {WebitelCasesCreateInputRelatedCase} input Input data for the related case. * @param {Array} [fields] Fields to include in the response. * @param {*} [options] Override http request option. * @throws {RequiredError} */ createRelatedCase: (primaryCaseEtag: string, input: WebitelCasesCreateInputRelatedCase, fields?: Array, options?: any) => Promise; /** * * @summary Delete a specific related case * @param {string} primaryCaseEtag Etag or ID of the primary case * @param {string} etag Identifier of the related case to delete. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteRelatedCase: (primaryCaseEtag: string, etag: string, options?: any) => Promise; /** * * @summary List all related cases for a specific case * @param {string} primaryCaseEtag Primary Case ID for which related cases are requested. * @param {number} [page] Page number for pagination. * @param {number} [size] Number of related cases per page. * @param {string} [q] Query string for search. * @param {string} [sort] Sorting order. * @param {Array} [fields] Fields to return for each related case. * @param {Array} [ids] Filter by ids * @param {*} [options] Override http request option. * @throws {RequiredError} */ listRelatedCases: (primaryCaseEtag: string, page?: number, size?: number, q?: string, sort?: string, fields?: Array, ids?: Array, options?: any) => Promise; /** * * @summary Retrieve a specific related case by ID * @param {string} primaryCaseEtag Primary case identifier. * @param {string} etag Identifier of the related case. * @param {Array} [fields] Fields to return in the response. * @param {*} [options] Override http request option. * @throws {RequiredError} */ locateRelatedCase: (primaryCaseEtag: string, etag: string, fields?: Array, options?: any) => Promise; /** * * @summary Update an existing related case * @param {string} inputPrimaryCaseId * @param {string} etag Identifier of the related case to update. * @param {InputDataForTheRelatedCaseUpdate} input * @param {Array} [fields] Fields to include in the response. * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateRelatedCase: (inputPrimaryCaseId: string, etag: string, input: InputDataForTheRelatedCaseUpdate, fields?: Array, options?: any) => Promise; /** * * @summary Update an existing related case * @param {string} inputPrimaryCaseId * @param {string} etag Identifier of the related case to update. * @param {InputDataForTheRelatedCaseUpdate1} input * @param {Array} [fields] Fields to include in the response. * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateRelatedCase2: (inputPrimaryCaseId: string, etag: string, input: InputDataForTheRelatedCaseUpdate1, fields?: Array, options?: any) => Promise; }; /** * RelatedCasesApi - functional programming interface * @export */ export declare const RelatedCasesApiFp: (configuration?: Configuration) => { /** * * @summary Create a new related case * @param {string} primaryCaseEtag Primary case details. * @param {WebitelCasesCreateInputRelatedCase} input Input data for the related case. * @param {Array} [fields] Fields to include in the response. * @param {*} [options] Override http request option. * @throws {RequiredError} */ createRelatedCase(primaryCaseEtag: string, input: WebitelCasesCreateInputRelatedCase, fields?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary Delete a specific related case * @param {string} primaryCaseEtag Etag or ID of the primary case * @param {string} etag Identifier of the related case to delete. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteRelatedCase(primaryCaseEtag: string, etag: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary List all related cases for a specific case * @param {string} primaryCaseEtag Primary Case ID for which related cases are requested. * @param {number} [page] Page number for pagination. * @param {number} [size] Number of related cases per page. * @param {string} [q] Query string for search. * @param {string} [sort] Sorting order. * @param {Array} [fields] Fields to return for each related case. * @param {Array} [ids] Filter by ids * @param {*} [options] Override http request option. * @throws {RequiredError} */ listRelatedCases(primaryCaseEtag: string, page?: number, size?: number, q?: string, sort?: string, fields?: Array, ids?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary Retrieve a specific related case by ID * @param {string} primaryCaseEtag Primary case identifier. * @param {string} etag Identifier of the related case. * @param {Array} [fields] Fields to return in the response. * @param {*} [options] Override http request option. * @throws {RequiredError} */ locateRelatedCase(primaryCaseEtag: string, etag: string, fields?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary Update an existing related case * @param {string} inputPrimaryCaseId * @param {string} etag Identifier of the related case to update. * @param {InputDataForTheRelatedCaseUpdate} input * @param {Array} [fields] Fields to include in the response. * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateRelatedCase(inputPrimaryCaseId: string, etag: string, input: InputDataForTheRelatedCaseUpdate, fields?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary Update an existing related case * @param {string} inputPrimaryCaseId * @param {string} etag Identifier of the related case to update. * @param {InputDataForTheRelatedCaseUpdate1} input * @param {Array} [fields] Fields to include in the response. * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateRelatedCase2(inputPrimaryCaseId: string, etag: string, input: InputDataForTheRelatedCaseUpdate1, fields?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * RelatedCasesApi - factory interface * @export */ export declare const RelatedCasesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @summary Create a new related case * @param {string} primaryCaseEtag Primary case details. * @param {WebitelCasesCreateInputRelatedCase} input Input data for the related case. * @param {Array} [fields] Fields to include in the response. * @param {*} [options] Override http request option. * @throws {RequiredError} */ createRelatedCase(primaryCaseEtag: string, input: WebitelCasesCreateInputRelatedCase, fields?: Array, options?: any): AxiosPromise; /** * * @summary Delete a specific related case * @param {string} primaryCaseEtag Etag or ID of the primary case * @param {string} etag Identifier of the related case to delete. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteRelatedCase(primaryCaseEtag: string, etag: string, options?: any): AxiosPromise; /** * * @summary List all related cases for a specific case * @param {string} primaryCaseEtag Primary Case ID for which related cases are requested. * @param {number} [page] Page number for pagination. * @param {number} [size] Number of related cases per page. * @param {string} [q] Query string for search. * @param {string} [sort] Sorting order. * @param {Array} [fields] Fields to return for each related case. * @param {Array} [ids] Filter by ids * @param {*} [options] Override http request option. * @throws {RequiredError} */ listRelatedCases(primaryCaseEtag: string, page?: number, size?: number, q?: string, sort?: string, fields?: Array, ids?: Array, options?: any): AxiosPromise; /** * * @summary Retrieve a specific related case by ID * @param {string} primaryCaseEtag Primary case identifier. * @param {string} etag Identifier of the related case. * @param {Array} [fields] Fields to return in the response. * @param {*} [options] Override http request option. * @throws {RequiredError} */ locateRelatedCase(primaryCaseEtag: string, etag: string, fields?: Array, options?: any): AxiosPromise; /** * * @summary Update an existing related case * @param {string} inputPrimaryCaseId * @param {string} etag Identifier of the related case to update. * @param {InputDataForTheRelatedCaseUpdate} input * @param {Array} [fields] Fields to include in the response. * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateRelatedCase(inputPrimaryCaseId: string, etag: string, input: InputDataForTheRelatedCaseUpdate, fields?: Array, options?: any): AxiosPromise; /** * * @summary Update an existing related case * @param {string} inputPrimaryCaseId * @param {string} etag Identifier of the related case to update. * @param {InputDataForTheRelatedCaseUpdate1} input * @param {Array} [fields] Fields to include in the response. * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateRelatedCase2(inputPrimaryCaseId: string, etag: string, input: InputDataForTheRelatedCaseUpdate1, fields?: Array, options?: any): AxiosPromise; }; /** * RelatedCasesApi - object-oriented interface * @export * @class RelatedCasesApi * @extends {BaseAPI} */ export declare class RelatedCasesApi extends BaseAPI { /** * * @summary Create a new related case * @param {string} primaryCaseEtag Primary case details. * @param {WebitelCasesCreateInputRelatedCase} input Input data for the related case. * @param {Array} [fields] Fields to include in the response. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof RelatedCasesApi */ createRelatedCase(primaryCaseEtag: string, input: WebitelCasesCreateInputRelatedCase, fields?: Array, options?: any): Promise>; /** * * @summary Delete a specific related case * @param {string} primaryCaseEtag Etag or ID of the primary case * @param {string} etag Identifier of the related case to delete. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof RelatedCasesApi */ deleteRelatedCase(primaryCaseEtag: string, etag: string, options?: any): Promise>; /** * * @summary List all related cases for a specific case * @param {string} primaryCaseEtag Primary Case ID for which related cases are requested. * @param {number} [page] Page number for pagination. * @param {number} [size] Number of related cases per page. * @param {string} [q] Query string for search. * @param {string} [sort] Sorting order. * @param {Array} [fields] Fields to return for each related case. * @param {Array} [ids] Filter by ids * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof RelatedCasesApi */ listRelatedCases(primaryCaseEtag: string, page?: number, size?: number, q?: string, sort?: string, fields?: Array, ids?: Array, options?: any): Promise>; /** * * @summary Retrieve a specific related case by ID * @param {string} primaryCaseEtag Primary case identifier. * @param {string} etag Identifier of the related case. * @param {Array} [fields] Fields to return in the response. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof RelatedCasesApi */ locateRelatedCase(primaryCaseEtag: string, etag: string, fields?: Array, options?: any): Promise>; /** * * @summary Update an existing related case * @param {string} inputPrimaryCaseId * @param {string} etag Identifier of the related case to update. * @param {InputDataForTheRelatedCaseUpdate} input * @param {Array} [fields] Fields to include in the response. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof RelatedCasesApi */ updateRelatedCase(inputPrimaryCaseId: string, etag: string, input: InputDataForTheRelatedCaseUpdate, fields?: Array, options?: any): Promise>; /** * * @summary Update an existing related case * @param {string} inputPrimaryCaseId * @param {string} etag Identifier of the related case to update. * @param {InputDataForTheRelatedCaseUpdate1} input * @param {Array} [fields] Fields to include in the response. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof RelatedCasesApi */ updateRelatedCase2(inputPrimaryCaseId: string, etag: string, input: InputDataForTheRelatedCaseUpdate1, fields?: Array, options?: any): Promise>; } //# sourceMappingURL=related-cases-api.d.ts.map