/**
 * 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 { ContactsComment } from '../api';
import { ContactsCommentList } from '../api';
import { ContactsInputComment } from '../api';
import { NEWEditionOfTheComment } from '../api';
/**
 * CommentsApi - axios parameter creator
 * @export
 */
export declare const CommentsApiAxiosParamCreator: (configuration?: Configuration) => {
    /**
     *
     * @summary Publish comment for a Contact.
     * @param {string} contactId Link contact ID.
     * @param {ContactsInputComment} input NEW Comment for a Contact publication.
     * @param {Array<string>} [fields] Fields to be retrieved as a result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    comments: (contactId: string, input: ContactsInputComment, fields?: Array<string>, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary Update (edit) specific Comment text owned
     * @param {string} contactId Contact ID associated with.
     * @param {string} etag Unique ID of the latest version of an existing resorce.
     * @param {NEWEditionOfTheComment} input
     * @param {Array<string>} [fields] Fields to be retrieved into result of changes.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    comments_1: (contactId: string, etag: string, input: NEWEditionOfTheComment, fields?: Array<string>, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary Delete Comment(s) for Contact ...
     * @param {string} contactId Contact ID associated with.
     * @param {Array<string>} etag Set of unique ID(s) to remove.
     * @param {Array<string>} [fields] Fields to be retrieved as a result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    comments_2: (contactId: string, etag: Array<string>, fields?: Array<string>, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary Search for Contact Comment(s) ...
     * @param {string} contactId Contact ID associated with.
     * @param {number} [page] Page number of result. offset &#x3D; ((page-1)*size)
     * @param {number} [size] Size of result page. limit &#x3D; (size++)
     * @param {string} [q] Search term: comment text; &#x60;?&#x60; - matches any character &#x60;*&#x60; - matches 0 or more characters  term-of-search: lookup[name|...]
     * @param {Array<string>} [sort] Sort the result according to fields.
     * @param {Array<string>} [fields] Fields to be retrieved as a result.
     * @param {Array<string>} [id] Comment(s) with unique ID only.
     * @param {'READ' | 'WRITE' | 'DELETE'} [mode] The requirement of [M]andatory [A]ccess [C]ontrol.   - READ: Can &#x60;fetch&#x60; record. [GET]  - WRITE: Can &#x60;update&#x60; record. [PUT|PATCH]  - DELETE: Can &#x60;delete&#x60; record. [DELETE]
     * @param {string} [dateSince] Since timestamp(milli). Not before.
     * @param {string} [dateUntil] Until timestamp(milli). Not after.
     * @param {string} [authorId] Reference Object unique ID.
     * @param {string} [authorType] Reference Object well-known type.
     * @param {string} [authorName] Reference Object display name.
     * @param {string} [editorId] Reference Object unique ID.
     * @param {string} [editorType] Reference Object well-known type.
     * @param {string} [editorName] Reference Object display name.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    searchComments: (contactId: string, page?: number, size?: number, q?: string, sort?: Array<string>, fields?: Array<string>, id?: Array<string>, mode?: 'READ' | 'WRITE' | 'DELETE', dateSince?: string, dateUntil?: string, authorId?: string, authorType?: string, authorName?: string, editorId?: string, editorType?: string, editorName?: string, options?: any) => Promise<RequestArgs>;
};
/**
 * CommentsApi - functional programming interface
 * @export
 */
export declare const CommentsApiFp: (configuration?: Configuration) => {
    /**
     *
     * @summary Publish comment for a Contact.
     * @param {string} contactId Link contact ID.
     * @param {ContactsInputComment} input NEW Comment for a Contact publication.
     * @param {Array<string>} [fields] Fields to be retrieved as a result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    comments(contactId: string, input: ContactsInputComment, fields?: Array<string>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsComment>>;
    /**
     *
     * @summary Update (edit) specific Comment text owned
     * @param {string} contactId Contact ID associated with.
     * @param {string} etag Unique ID of the latest version of an existing resorce.
     * @param {NEWEditionOfTheComment} input
     * @param {Array<string>} [fields] Fields to be retrieved into result of changes.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    comments_1(contactId: string, etag: string, input: NEWEditionOfTheComment, fields?: Array<string>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsComment>>;
    /**
     *
     * @summary Delete Comment(s) for Contact ...
     * @param {string} contactId Contact ID associated with.
     * @param {Array<string>} etag Set of unique ID(s) to remove.
     * @param {Array<string>} [fields] Fields to be retrieved as a result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    comments_2(contactId: string, etag: Array<string>, fields?: Array<string>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ContactsComment>>>;
    /**
     *
     * @summary Search for Contact Comment(s) ...
     * @param {string} contactId Contact ID associated with.
     * @param {number} [page] Page number of result. offset &#x3D; ((page-1)*size)
     * @param {number} [size] Size of result page. limit &#x3D; (size++)
     * @param {string} [q] Search term: comment text; &#x60;?&#x60; - matches any character &#x60;*&#x60; - matches 0 or more characters  term-of-search: lookup[name|...]
     * @param {Array<string>} [sort] Sort the result according to fields.
     * @param {Array<string>} [fields] Fields to be retrieved as a result.
     * @param {Array<string>} [id] Comment(s) with unique ID only.
     * @param {'READ' | 'WRITE' | 'DELETE'} [mode] The requirement of [M]andatory [A]ccess [C]ontrol.   - READ: Can &#x60;fetch&#x60; record. [GET]  - WRITE: Can &#x60;update&#x60; record. [PUT|PATCH]  - DELETE: Can &#x60;delete&#x60; record. [DELETE]
     * @param {string} [dateSince] Since timestamp(milli). Not before.
     * @param {string} [dateUntil] Until timestamp(milli). Not after.
     * @param {string} [authorId] Reference Object unique ID.
     * @param {string} [authorType] Reference Object well-known type.
     * @param {string} [authorName] Reference Object display name.
     * @param {string} [editorId] Reference Object unique ID.
     * @param {string} [editorType] Reference Object well-known type.
     * @param {string} [editorName] Reference Object display name.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    searchComments(contactId: string, page?: number, size?: number, q?: string, sort?: Array<string>, fields?: Array<string>, id?: Array<string>, mode?: 'READ' | 'WRITE' | 'DELETE', dateSince?: string, dateUntil?: string, authorId?: string, authorType?: string, authorName?: string, editorId?: string, editorType?: string, editorName?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsCommentList>>;
};
/**
 * CommentsApi - factory interface
 * @export
 */
export declare const CommentsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
    /**
     *
     * @summary Publish comment for a Contact.
     * @param {string} contactId Link contact ID.
     * @param {ContactsInputComment} input NEW Comment for a Contact publication.
     * @param {Array<string>} [fields] Fields to be retrieved as a result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    comments(contactId: string, input: ContactsInputComment, fields?: Array<string>, options?: any): AxiosPromise<ContactsComment>;
    /**
     *
     * @summary Update (edit) specific Comment text owned
     * @param {string} contactId Contact ID associated with.
     * @param {string} etag Unique ID of the latest version of an existing resorce.
     * @param {NEWEditionOfTheComment} input
     * @param {Array<string>} [fields] Fields to be retrieved into result of changes.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    comments_1(contactId: string, etag: string, input: NEWEditionOfTheComment, fields?: Array<string>, options?: any): AxiosPromise<ContactsComment>;
    /**
     *
     * @summary Delete Comment(s) for Contact ...
     * @param {string} contactId Contact ID associated with.
     * @param {Array<string>} etag Set of unique ID(s) to remove.
     * @param {Array<string>} [fields] Fields to be retrieved as a result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    comments_2(contactId: string, etag: Array<string>, fields?: Array<string>, options?: any): AxiosPromise<Array<ContactsComment>>;
    /**
     *
     * @summary Search for Contact Comment(s) ...
     * @param {string} contactId Contact ID associated with.
     * @param {number} [page] Page number of result. offset &#x3D; ((page-1)*size)
     * @param {number} [size] Size of result page. limit &#x3D; (size++)
     * @param {string} [q] Search term: comment text; &#x60;?&#x60; - matches any character &#x60;*&#x60; - matches 0 or more characters  term-of-search: lookup[name|...]
     * @param {Array<string>} [sort] Sort the result according to fields.
     * @param {Array<string>} [fields] Fields to be retrieved as a result.
     * @param {Array<string>} [id] Comment(s) with unique ID only.
     * @param {'READ' | 'WRITE' | 'DELETE'} [mode] The requirement of [M]andatory [A]ccess [C]ontrol.   - READ: Can &#x60;fetch&#x60; record. [GET]  - WRITE: Can &#x60;update&#x60; record. [PUT|PATCH]  - DELETE: Can &#x60;delete&#x60; record. [DELETE]
     * @param {string} [dateSince] Since timestamp(milli). Not before.
     * @param {string} [dateUntil] Until timestamp(milli). Not after.
     * @param {string} [authorId] Reference Object unique ID.
     * @param {string} [authorType] Reference Object well-known type.
     * @param {string} [authorName] Reference Object display name.
     * @param {string} [editorId] Reference Object unique ID.
     * @param {string} [editorType] Reference Object well-known type.
     * @param {string} [editorName] Reference Object display name.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    searchComments(contactId: string, page?: number, size?: number, q?: string, sort?: Array<string>, fields?: Array<string>, id?: Array<string>, mode?: 'READ' | 'WRITE' | 'DELETE', dateSince?: string, dateUntil?: string, authorId?: string, authorType?: string, authorName?: string, editorId?: string, editorType?: string, editorName?: string, options?: any): AxiosPromise<ContactsCommentList>;
};
/**
 * CommentsApi - object-oriented interface
 * @export
 * @class CommentsApi
 * @extends {BaseAPI}
 */
export declare class CommentsApi extends BaseAPI {
    /**
     *
     * @summary Publish comment for a Contact.
     * @param {string} contactId Link contact ID.
     * @param {ContactsInputComment} input NEW Comment for a Contact publication.
     * @param {Array<string>} [fields] Fields to be retrieved as a result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof CommentsApi
     */
    comments(contactId: string, input: ContactsInputComment, fields?: Array<string>, options?: any): Promise<import("axios").AxiosResponse<ContactsComment, any, {}>>;
    /**
     *
     * @summary Update (edit) specific Comment text owned
     * @param {string} contactId Contact ID associated with.
     * @param {string} etag Unique ID of the latest version of an existing resorce.
     * @param {NEWEditionOfTheComment} input
     * @param {Array<string>} [fields] Fields to be retrieved into result of changes.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof CommentsApi
     */
    comments_1(contactId: string, etag: string, input: NEWEditionOfTheComment, fields?: Array<string>, options?: any): Promise<import("axios").AxiosResponse<ContactsComment, any, {}>>;
    /**
     *
     * @summary Delete Comment(s) for Contact ...
     * @param {string} contactId Contact ID associated with.
     * @param {Array<string>} etag Set of unique ID(s) to remove.
     * @param {Array<string>} [fields] Fields to be retrieved as a result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof CommentsApi
     */
    comments_2(contactId: string, etag: Array<string>, fields?: Array<string>, options?: any): Promise<import("axios").AxiosResponse<ContactsComment[], any, {}>>;
    /**
     *
     * @summary Search for Contact Comment(s) ...
     * @param {string} contactId Contact ID associated with.
     * @param {number} [page] Page number of result. offset &#x3D; ((page-1)*size)
     * @param {number} [size] Size of result page. limit &#x3D; (size++)
     * @param {string} [q] Search term: comment text; &#x60;?&#x60; - matches any character &#x60;*&#x60; - matches 0 or more characters  term-of-search: lookup[name|...]
     * @param {Array<string>} [sort] Sort the result according to fields.
     * @param {Array<string>} [fields] Fields to be retrieved as a result.
     * @param {Array<string>} [id] Comment(s) with unique ID only.
     * @param {'READ' | 'WRITE' | 'DELETE'} [mode] The requirement of [M]andatory [A]ccess [C]ontrol.   - READ: Can &#x60;fetch&#x60; record. [GET]  - WRITE: Can &#x60;update&#x60; record. [PUT|PATCH]  - DELETE: Can &#x60;delete&#x60; record. [DELETE]
     * @param {string} [dateSince] Since timestamp(milli). Not before.
     * @param {string} [dateUntil] Until timestamp(milli). Not after.
     * @param {string} [authorId] Reference Object unique ID.
     * @param {string} [authorType] Reference Object well-known type.
     * @param {string} [authorName] Reference Object display name.
     * @param {string} [editorId] Reference Object unique ID.
     * @param {string} [editorType] Reference Object well-known type.
     * @param {string} [editorName] Reference Object display name.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof CommentsApi
     */
    searchComments(contactId: string, page?: number, size?: number, q?: string, sort?: Array<string>, fields?: Array<string>, id?: Array<string>, mode?: 'READ' | 'WRITE' | 'DELETE', dateSince?: string, dateUntil?: string, authorId?: string, authorType?: string, authorName?: string, editorId?: string, editorType?: string, editorName?: string, options?: any): Promise<import("axios").AxiosResponse<ContactsCommentList, any, {}>>;
}
//# sourceMappingURL=comments-api.d.ts.map