/**
 * 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 { NEWContactSourceChanges } from '../api';
import { WebitelContactsContact } from '../api';
import { WebitelContactsContactList } from '../api';
import { WebitelContactsInputContact } from '../api';
/**
 * ContactsApi - axios parameter creator
 * @export
 */
export declare const ContactsApiAxiosParamCreator: (configuration?: Configuration) => {
    /**
     *
     * @summary Create NEW Contact
     * @param {WebitelContactsInputContact} input NEW Contact source changes
     * @param {Array<string>} [fields] Source Fields to return into result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createContact: (input: WebitelContactsInputContact, fields?: Array<string>, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary Remove Contact source
     * @param {string} etag Unique ID of the latest version of a resource.
     * @param {Array<string>} [fields] Fields to be retrieved into result of changes.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    deleteContact: (etag: string, fields?: Array<string>, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary Locate Contact source
     * @param {string} etag The Contact source IDentifier. Accept: &#x60;etag&#x60; (obsolete+) or &#x60;id&#x60;.
     * @param {Array<string>} [fields] Source Fields to return into result.
     * @param {'READ' | 'WRITE' | 'DELETE'} [mode] The requirement of a special access mode to the Source.   - READ: Can &#x60;fetch&#x60; record. [GET]  - WRITE: Can &#x60;update&#x60; record. [PUT|PATCH]  - DELETE: Can &#x60;delete&#x60; record. [DELETE]
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    locateContact: (etag: string, fields?: Array<string>, mode?: "READ" | "WRITE" | "DELETE", options?: any) => Promise<RequestArgs>;
    /**
     * | Field       | Type  | ----------- | ----  | **----------- READ-ONLY -----------** |  | `id`        | int64  | `ver`       | int32  | `etag`      | string  | **---------- OPERATIONAL ----------** |  | `created_at` | int64(epoch:milli)  | `created_by` | lookup(user)  | `updated_at` | int64(epoch:milli)  | `updated_by` | lookup(user)  | **---------- ATTRIBUTES -----------** |  | `name`      | name!  | `about`     | string  | `labels`    | list[label!]  | `emails`    | list[email!]  | `photos`    | list[photo!]  | `phones`    | list[phone!]  | `managers`  | list[manager!]  | `comments`  | list[comment!]  | `addresses` | list[address!]  | `languages` | list[language!]  | `timezones` | list[timezone!]  | `variables` | list[variable!]  | `imclients` | list[imClient!]
     * @summary Search for Contact(s)
     * @param {number} [page] Page number of result records.   _default(1); offset&#x3D;(size*(page-1));_  &#x60;&#x60;&#x60;javascript let     offset &#x3D; 0   , page &#x3D; req.page ; if (page &lt;&#x3D; 0)     page &#x3D; 1; if (page &gt; 1)     offset &#x3D; ((page-1)*size); // . . . &#x60;&#x60;&#x60;
     * @param {number} [size] Limit of result page records count.   _default(16); limit&#x3D;(size&lt;&#x3D;0?-1:size+1);_  &#x60;&#x60;&#x60;javascript const     default &#x3D; 16   , maximum &#x3D; 32 ; let limit &#x3D; req.size; if (limit &lt;&#x3D; 0)     limit &#x3D; default; if (maximum &lt; limit)     limit &#x3D; maximum; // . . . &#x60;&#x60;&#x60;
     * @param {string} [q] Search term: &#x60;?&#x60; - matches any character &#x60;*&#x60; - matches 0 or more characters Used to query records within a set of &#x60;qin&#x60; fields, eg: name,emails{type},labels etc...
     * @param {Array<string>} [sort] Sort result dataset of records by fields. &#x60;&#x60;&#x60; sort ::&#x3D; *( ORDER name )  ORDER  &#x3D; ASC / DESC DESC   &#x3D; \&quot;-\&quot; / \&quot;!\&quot; ASC    &#x3D; [ \&quot;+\&quot; ]   ; Default &#x60;&#x60;&#x60;  Fields available  - &#x60;id&#x60;(seq) - &#x60;domain&#x60;{name} - &#x60;created_at&#x60; - &#x60;created_by&#x60;{name} - &#x60;updated_at&#x60; - &#x60;updated_by&#x60;{name}  Use ?fields&#x3D;&#x60;field.sort()&#x60; option to sort Edge fields.
     * @param {Array<string>} [fields] Fields [Q]uery to build result dataset record. &#x60;&#x60;&#x60; fields ::&#x3D; field [ *( \&quot;,\&quot; field ) ] field  ::&#x3D; name [ *( func ) ] [ inner ] inner  ::&#x3D; \&quot;{\&quot; fields \&quot;}\&quot; funcs  ::&#x3D; *( func ) func   ::&#x3D; \&quot;.\&quot; name \&quot;(\&quot; [ args ] \&quot;)\&quot; name   ::&#x3D; ALPHA / DIGIT / USCORE  ALPHA    &#x3D; %x41-5A / %x61-7A  ; \&quot;A\&quot;-\&quot;Z\&quot; / \&quot;a\&quot;-\&quot;z\&quot; DIGIT    &#x3D; %x30-39            ; \&quot;0\&quot;-\&quot;9\&quot; USCORE   &#x3D; %x5F ; underscore  ; \&quot;_\&quot; &#x60;&#x60;&#x60;
     * @param {Array<string>} [id] Records with unique IDentifier(s). Accept: &#x60;id&#x60; -or- &#x60;etag&#x60;.
     * @param {Array<string>} [qin] [Q]uery[IN] is a set of search fields for term &#x60;q&#x60;. Default: &#x60;name{common_name}&#x60;.
     * @param {'READ' | 'WRITE' | 'DELETE'} [mode] Source access mode requirement.   - READ: Can &#x60;fetch&#x60; record. [GET]  - WRITE: Can &#x60;update&#x60; record. [PUT|PATCH]  - DELETE: Can &#x60;delete&#x60; record. [DELETE]
     * @param {string} [notIdGroup] Excludes contacts that belong to the specified group ID. - Filters out contacts associated with the given &#x60;group_id&#x60;.
     * @param {Array<string>} [group] Filters contacts by the specified group(s). - Includes only contacts that belong to one or more of the given group Group(s).
     * @param {Array<string>} [owner] Filters contacts by the specified owner(s). - Includes only contacts whose owner matches one or more of the given Owner(s). - The owner ID corresponds to &#x60;contact_id&#x60; in the &#x60;directory.wbt_user&#x60; table.
     * @param {Array<string>} [label] Filters contacts by the specified label(s). - Includes only contacts that have one or more of the given Label(s).
     * @param {boolean} [user] Filters contacts based on whether they are user-associated. - &#x60;true&#x60;  → Includes only user-associated contacts. - &#x60;false&#x60; → Includes only contacts that are NOT user-associated. - A contact is considered user-associated if it exists in &#x60;directory.wbt_user&#x60;.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    searchContacts: (page?: number, size?: number, q?: string, sort?: Array<string>, fields?: Array<string>, id?: Array<string>, qin?: Array<string>, mode?: "READ" | "WRITE" | "DELETE", notIdGroup?: string, group?: Array<string>, owner?: Array<string>, label?: Array<string>, user?: boolean, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary NEW Update of the Contact source
     * @param {string} etag Unique ID of the latest version of an existing resorce.
     * @param {NEWContactSourceChanges} input
     * @param {Array<string>} [fields] Source Fields to return into result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    updateContact: (etag: string, input: NEWContactSourceChanges, fields?: Array<string>, options?: any) => Promise<RequestArgs>;
};
/**
 * ContactsApi - functional programming interface
 * @export
 */
export declare const ContactsApiFp: (configuration?: Configuration) => {
    /**
     *
     * @summary Create NEW Contact
     * @param {WebitelContactsInputContact} input NEW Contact source changes
     * @param {Array<string>} [fields] Source Fields to return into result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createContact(input: WebitelContactsInputContact, fields?: Array<string>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebitelContactsContact>>;
    /**
     *
     * @summary Remove Contact source
     * @param {string} etag Unique ID of the latest version of a resource.
     * @param {Array<string>} [fields] Fields to be retrieved into result of changes.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    deleteContact(etag: string, fields?: Array<string>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebitelContactsContact>>;
    /**
     *
     * @summary Locate Contact source
     * @param {string} etag The Contact source IDentifier. Accept: &#x60;etag&#x60; (obsolete+) or &#x60;id&#x60;.
     * @param {Array<string>} [fields] Source Fields to return into result.
     * @param {'READ' | 'WRITE' | 'DELETE'} [mode] The requirement of a special access mode to the Source.   - READ: Can &#x60;fetch&#x60; record. [GET]  - WRITE: Can &#x60;update&#x60; record. [PUT|PATCH]  - DELETE: Can &#x60;delete&#x60; record. [DELETE]
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    locateContact(etag: string, fields?: Array<string>, mode?: "READ" | "WRITE" | "DELETE", options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebitelContactsContact>>;
    /**
     * | Field       | Type  | ----------- | ----  | **----------- READ-ONLY -----------** |  | `id`        | int64  | `ver`       | int32  | `etag`      | string  | **---------- OPERATIONAL ----------** |  | `created_at` | int64(epoch:milli)  | `created_by` | lookup(user)  | `updated_at` | int64(epoch:milli)  | `updated_by` | lookup(user)  | **---------- ATTRIBUTES -----------** |  | `name`      | name!  | `about`     | string  | `labels`    | list[label!]  | `emails`    | list[email!]  | `photos`    | list[photo!]  | `phones`    | list[phone!]  | `managers`  | list[manager!]  | `comments`  | list[comment!]  | `addresses` | list[address!]  | `languages` | list[language!]  | `timezones` | list[timezone!]  | `variables` | list[variable!]  | `imclients` | list[imClient!]
     * @summary Search for Contact(s)
     * @param {number} [page] Page number of result records.   _default(1); offset&#x3D;(size*(page-1));_  &#x60;&#x60;&#x60;javascript let     offset &#x3D; 0   , page &#x3D; req.page ; if (page &lt;&#x3D; 0)     page &#x3D; 1; if (page &gt; 1)     offset &#x3D; ((page-1)*size); // . . . &#x60;&#x60;&#x60;
     * @param {number} [size] Limit of result page records count.   _default(16); limit&#x3D;(size&lt;&#x3D;0?-1:size+1);_  &#x60;&#x60;&#x60;javascript const     default &#x3D; 16   , maximum &#x3D; 32 ; let limit &#x3D; req.size; if (limit &lt;&#x3D; 0)     limit &#x3D; default; if (maximum &lt; limit)     limit &#x3D; maximum; // . . . &#x60;&#x60;&#x60;
     * @param {string} [q] Search term: &#x60;?&#x60; - matches any character &#x60;*&#x60; - matches 0 or more characters Used to query records within a set of &#x60;qin&#x60; fields, eg: name,emails{type},labels etc...
     * @param {Array<string>} [sort] Sort result dataset of records by fields. &#x60;&#x60;&#x60; sort ::&#x3D; *( ORDER name )  ORDER  &#x3D; ASC / DESC DESC   &#x3D; \&quot;-\&quot; / \&quot;!\&quot; ASC    &#x3D; [ \&quot;+\&quot; ]   ; Default &#x60;&#x60;&#x60;  Fields available  - &#x60;id&#x60;(seq) - &#x60;domain&#x60;{name} - &#x60;created_at&#x60; - &#x60;created_by&#x60;{name} - &#x60;updated_at&#x60; - &#x60;updated_by&#x60;{name}  Use ?fields&#x3D;&#x60;field.sort()&#x60; option to sort Edge fields.
     * @param {Array<string>} [fields] Fields [Q]uery to build result dataset record. &#x60;&#x60;&#x60; fields ::&#x3D; field [ *( \&quot;,\&quot; field ) ] field  ::&#x3D; name [ *( func ) ] [ inner ] inner  ::&#x3D; \&quot;{\&quot; fields \&quot;}\&quot; funcs  ::&#x3D; *( func ) func   ::&#x3D; \&quot;.\&quot; name \&quot;(\&quot; [ args ] \&quot;)\&quot; name   ::&#x3D; ALPHA / DIGIT / USCORE  ALPHA    &#x3D; %x41-5A / %x61-7A  ; \&quot;A\&quot;-\&quot;Z\&quot; / \&quot;a\&quot;-\&quot;z\&quot; DIGIT    &#x3D; %x30-39            ; \&quot;0\&quot;-\&quot;9\&quot; USCORE   &#x3D; %x5F ; underscore  ; \&quot;_\&quot; &#x60;&#x60;&#x60;
     * @param {Array<string>} [id] Records with unique IDentifier(s). Accept: &#x60;id&#x60; -or- &#x60;etag&#x60;.
     * @param {Array<string>} [qin] [Q]uery[IN] is a set of search fields for term &#x60;q&#x60;. Default: &#x60;name{common_name}&#x60;.
     * @param {'READ' | 'WRITE' | 'DELETE'} [mode] Source access mode requirement.   - READ: Can &#x60;fetch&#x60; record. [GET]  - WRITE: Can &#x60;update&#x60; record. [PUT|PATCH]  - DELETE: Can &#x60;delete&#x60; record. [DELETE]
     * @param {string} [notIdGroup] Excludes contacts that belong to the specified group ID. - Filters out contacts associated with the given &#x60;group_id&#x60;.
     * @param {Array<string>} [group] Filters contacts by the specified group(s). - Includes only contacts that belong to one or more of the given group Group(s).
     * @param {Array<string>} [owner] Filters contacts by the specified owner(s). - Includes only contacts whose owner matches one or more of the given Owner(s). - The owner ID corresponds to &#x60;contact_id&#x60; in the &#x60;directory.wbt_user&#x60; table.
     * @param {Array<string>} [label] Filters contacts by the specified label(s). - Includes only contacts that have one or more of the given Label(s).
     * @param {boolean} [user] Filters contacts based on whether they are user-associated. - &#x60;true&#x60;  → Includes only user-associated contacts. - &#x60;false&#x60; → Includes only contacts that are NOT user-associated. - A contact is considered user-associated if it exists in &#x60;directory.wbt_user&#x60;.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    searchContacts(page?: number, size?: number, q?: string, sort?: Array<string>, fields?: Array<string>, id?: Array<string>, qin?: Array<string>, mode?: "READ" | "WRITE" | "DELETE", notIdGroup?: string, group?: Array<string>, owner?: Array<string>, label?: Array<string>, user?: boolean, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebitelContactsContactList>>;
    /**
     *
     * @summary NEW Update of the Contact source
     * @param {string} etag Unique ID of the latest version of an existing resorce.
     * @param {NEWContactSourceChanges} input
     * @param {Array<string>} [fields] Source Fields to return into result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    updateContact(etag: string, input: NEWContactSourceChanges, fields?: Array<string>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebitelContactsContact>>;
};
/**
 * ContactsApi - factory interface
 * @export
 */
export declare const ContactsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
    /**
     *
     * @summary Create NEW Contact
     * @param {WebitelContactsInputContact} input NEW Contact source changes
     * @param {Array<string>} [fields] Source Fields to return into result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createContact(input: WebitelContactsInputContact, fields?: Array<string>, options?: any): AxiosPromise<WebitelContactsContact>;
    /**
     *
     * @summary Remove Contact source
     * @param {string} etag Unique ID of the latest version of a resource.
     * @param {Array<string>} [fields] Fields to be retrieved into result of changes.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    deleteContact(etag: string, fields?: Array<string>, options?: any): AxiosPromise<WebitelContactsContact>;
    /**
     *
     * @summary Locate Contact source
     * @param {string} etag The Contact source IDentifier. Accept: &#x60;etag&#x60; (obsolete+) or &#x60;id&#x60;.
     * @param {Array<string>} [fields] Source Fields to return into result.
     * @param {'READ' | 'WRITE' | 'DELETE'} [mode] The requirement of a special access mode to the Source.   - READ: Can &#x60;fetch&#x60; record. [GET]  - WRITE: Can &#x60;update&#x60; record. [PUT|PATCH]  - DELETE: Can &#x60;delete&#x60; record. [DELETE]
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    locateContact(etag: string, fields?: Array<string>, mode?: "READ" | "WRITE" | "DELETE", options?: any): AxiosPromise<WebitelContactsContact>;
    /**
     * | Field       | Type  | ----------- | ----  | **----------- READ-ONLY -----------** |  | `id`        | int64  | `ver`       | int32  | `etag`      | string  | **---------- OPERATIONAL ----------** |  | `created_at` | int64(epoch:milli)  | `created_by` | lookup(user)  | `updated_at` | int64(epoch:milli)  | `updated_by` | lookup(user)  | **---------- ATTRIBUTES -----------** |  | `name`      | name!  | `about`     | string  | `labels`    | list[label!]  | `emails`    | list[email!]  | `photos`    | list[photo!]  | `phones`    | list[phone!]  | `managers`  | list[manager!]  | `comments`  | list[comment!]  | `addresses` | list[address!]  | `languages` | list[language!]  | `timezones` | list[timezone!]  | `variables` | list[variable!]  | `imclients` | list[imClient!]
     * @summary Search for Contact(s)
     * @param {number} [page] Page number of result records.   _default(1); offset&#x3D;(size*(page-1));_  &#x60;&#x60;&#x60;javascript let     offset &#x3D; 0   , page &#x3D; req.page ; if (page &lt;&#x3D; 0)     page &#x3D; 1; if (page &gt; 1)     offset &#x3D; ((page-1)*size); // . . . &#x60;&#x60;&#x60;
     * @param {number} [size] Limit of result page records count.   _default(16); limit&#x3D;(size&lt;&#x3D;0?-1:size+1);_  &#x60;&#x60;&#x60;javascript const     default &#x3D; 16   , maximum &#x3D; 32 ; let limit &#x3D; req.size; if (limit &lt;&#x3D; 0)     limit &#x3D; default; if (maximum &lt; limit)     limit &#x3D; maximum; // . . . &#x60;&#x60;&#x60;
     * @param {string} [q] Search term: &#x60;?&#x60; - matches any character &#x60;*&#x60; - matches 0 or more characters Used to query records within a set of &#x60;qin&#x60; fields, eg: name,emails{type},labels etc...
     * @param {Array<string>} [sort] Sort result dataset of records by fields. &#x60;&#x60;&#x60; sort ::&#x3D; *( ORDER name )  ORDER  &#x3D; ASC / DESC DESC   &#x3D; \&quot;-\&quot; / \&quot;!\&quot; ASC    &#x3D; [ \&quot;+\&quot; ]   ; Default &#x60;&#x60;&#x60;  Fields available  - &#x60;id&#x60;(seq) - &#x60;domain&#x60;{name} - &#x60;created_at&#x60; - &#x60;created_by&#x60;{name} - &#x60;updated_at&#x60; - &#x60;updated_by&#x60;{name}  Use ?fields&#x3D;&#x60;field.sort()&#x60; option to sort Edge fields.
     * @param {Array<string>} [fields] Fields [Q]uery to build result dataset record. &#x60;&#x60;&#x60; fields ::&#x3D; field [ *( \&quot;,\&quot; field ) ] field  ::&#x3D; name [ *( func ) ] [ inner ] inner  ::&#x3D; \&quot;{\&quot; fields \&quot;}\&quot; funcs  ::&#x3D; *( func ) func   ::&#x3D; \&quot;.\&quot; name \&quot;(\&quot; [ args ] \&quot;)\&quot; name   ::&#x3D; ALPHA / DIGIT / USCORE  ALPHA    &#x3D; %x41-5A / %x61-7A  ; \&quot;A\&quot;-\&quot;Z\&quot; / \&quot;a\&quot;-\&quot;z\&quot; DIGIT    &#x3D; %x30-39            ; \&quot;0\&quot;-\&quot;9\&quot; USCORE   &#x3D; %x5F ; underscore  ; \&quot;_\&quot; &#x60;&#x60;&#x60;
     * @param {Array<string>} [id] Records with unique IDentifier(s). Accept: &#x60;id&#x60; -or- &#x60;etag&#x60;.
     * @param {Array<string>} [qin] [Q]uery[IN] is a set of search fields for term &#x60;q&#x60;. Default: &#x60;name{common_name}&#x60;.
     * @param {'READ' | 'WRITE' | 'DELETE'} [mode] Source access mode requirement.   - READ: Can &#x60;fetch&#x60; record. [GET]  - WRITE: Can &#x60;update&#x60; record. [PUT|PATCH]  - DELETE: Can &#x60;delete&#x60; record. [DELETE]
     * @param {string} [notIdGroup] Excludes contacts that belong to the specified group ID. - Filters out contacts associated with the given &#x60;group_id&#x60;.
     * @param {Array<string>} [group] Filters contacts by the specified group(s). - Includes only contacts that belong to one or more of the given group Group(s).
     * @param {Array<string>} [owner] Filters contacts by the specified owner(s). - Includes only contacts whose owner matches one or more of the given Owner(s). - The owner ID corresponds to &#x60;contact_id&#x60; in the &#x60;directory.wbt_user&#x60; table.
     * @param {Array<string>} [label] Filters contacts by the specified label(s). - Includes only contacts that have one or more of the given Label(s).
     * @param {boolean} [user] Filters contacts based on whether they are user-associated. - &#x60;true&#x60;  → Includes only user-associated contacts. - &#x60;false&#x60; → Includes only contacts that are NOT user-associated. - A contact is considered user-associated if it exists in &#x60;directory.wbt_user&#x60;.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    searchContacts(page?: number, size?: number, q?: string, sort?: Array<string>, fields?: Array<string>, id?: Array<string>, qin?: Array<string>, mode?: "READ" | "WRITE" | "DELETE", notIdGroup?: string, group?: Array<string>, owner?: Array<string>, label?: Array<string>, user?: boolean, options?: any): AxiosPromise<WebitelContactsContactList>;
    /**
     *
     * @summary NEW Update of the Contact source
     * @param {string} etag Unique ID of the latest version of an existing resorce.
     * @param {NEWContactSourceChanges} input
     * @param {Array<string>} [fields] Source Fields to return into result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    updateContact(etag: string, input: NEWContactSourceChanges, fields?: Array<string>, options?: any): AxiosPromise<WebitelContactsContact>;
};
/**
 * ContactsApi - object-oriented interface
 * @export
 * @class ContactsApi
 * @extends {BaseAPI}
 */
export declare class ContactsApi extends BaseAPI {
    /**
     *
     * @summary Create NEW Contact
     * @param {WebitelContactsInputContact} input NEW Contact source changes
     * @param {Array<string>} [fields] Source Fields to return into result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof ContactsApi
     */
    createContact(input: WebitelContactsInputContact, fields?: Array<string>, options?: any): Promise<import("axios").AxiosResponse<WebitelContactsContact, any, {}>>;
    /**
     *
     * @summary Remove Contact source
     * @param {string} etag Unique ID of the latest version of a resource.
     * @param {Array<string>} [fields] Fields to be retrieved into result of changes.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof ContactsApi
     */
    deleteContact(etag: string, fields?: Array<string>, options?: any): Promise<import("axios").AxiosResponse<WebitelContactsContact, any, {}>>;
    /**
     *
     * @summary Locate Contact source
     * @param {string} etag The Contact source IDentifier. Accept: &#x60;etag&#x60; (obsolete+) or &#x60;id&#x60;.
     * @param {Array<string>} [fields] Source Fields to return into result.
     * @param {'READ' | 'WRITE' | 'DELETE'} [mode] The requirement of a special access mode to the Source.   - READ: Can &#x60;fetch&#x60; record. [GET]  - WRITE: Can &#x60;update&#x60; record. [PUT|PATCH]  - DELETE: Can &#x60;delete&#x60; record. [DELETE]
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof ContactsApi
     */
    locateContact(etag: string, fields?: Array<string>, mode?: 'READ' | 'WRITE' | 'DELETE', options?: any): Promise<import("axios").AxiosResponse<WebitelContactsContact, any, {}>>;
    /**
     * | Field       | Type  | ----------- | ----  | **----------- READ-ONLY -----------** |  | `id`        | int64  | `ver`       | int32  | `etag`      | string  | **---------- OPERATIONAL ----------** |  | `created_at` | int64(epoch:milli)  | `created_by` | lookup(user)  | `updated_at` | int64(epoch:milli)  | `updated_by` | lookup(user)  | **---------- ATTRIBUTES -----------** |  | `name`      | name!  | `about`     | string  | `labels`    | list[label!]  | `emails`    | list[email!]  | `photos`    | list[photo!]  | `phones`    | list[phone!]  | `managers`  | list[manager!]  | `comments`  | list[comment!]  | `addresses` | list[address!]  | `languages` | list[language!]  | `timezones` | list[timezone!]  | `variables` | list[variable!]  | `imclients` | list[imClient!]
     * @summary Search for Contact(s)
     * @param {number} [page] Page number of result records.   _default(1); offset&#x3D;(size*(page-1));_  &#x60;&#x60;&#x60;javascript let     offset &#x3D; 0   , page &#x3D; req.page ; if (page &lt;&#x3D; 0)     page &#x3D; 1; if (page &gt; 1)     offset &#x3D; ((page-1)*size); // . . . &#x60;&#x60;&#x60;
     * @param {number} [size] Limit of result page records count.   _default(16); limit&#x3D;(size&lt;&#x3D;0?-1:size+1);_  &#x60;&#x60;&#x60;javascript const     default &#x3D; 16   , maximum &#x3D; 32 ; let limit &#x3D; req.size; if (limit &lt;&#x3D; 0)     limit &#x3D; default; if (maximum &lt; limit)     limit &#x3D; maximum; // . . . &#x60;&#x60;&#x60;
     * @param {string} [q] Search term: &#x60;?&#x60; - matches any character &#x60;*&#x60; - matches 0 or more characters Used to query records within a set of &#x60;qin&#x60; fields, eg: name,emails{type},labels etc...
     * @param {Array<string>} [sort] Sort result dataset of records by fields. &#x60;&#x60;&#x60; sort ::&#x3D; *( ORDER name )  ORDER  &#x3D; ASC / DESC DESC   &#x3D; \&quot;-\&quot; / \&quot;!\&quot; ASC    &#x3D; [ \&quot;+\&quot; ]   ; Default &#x60;&#x60;&#x60;  Fields available  - &#x60;id&#x60;(seq) - &#x60;domain&#x60;{name} - &#x60;created_at&#x60; - &#x60;created_by&#x60;{name} - &#x60;updated_at&#x60; - &#x60;updated_by&#x60;{name}  Use ?fields&#x3D;&#x60;field.sort()&#x60; option to sort Edge fields.
     * @param {Array<string>} [fields] Fields [Q]uery to build result dataset record. &#x60;&#x60;&#x60; fields ::&#x3D; field [ *( \&quot;,\&quot; field ) ] field  ::&#x3D; name [ *( func ) ] [ inner ] inner  ::&#x3D; \&quot;{\&quot; fields \&quot;}\&quot; funcs  ::&#x3D; *( func ) func   ::&#x3D; \&quot;.\&quot; name \&quot;(\&quot; [ args ] \&quot;)\&quot; name   ::&#x3D; ALPHA / DIGIT / USCORE  ALPHA    &#x3D; %x41-5A / %x61-7A  ; \&quot;A\&quot;-\&quot;Z\&quot; / \&quot;a\&quot;-\&quot;z\&quot; DIGIT    &#x3D; %x30-39            ; \&quot;0\&quot;-\&quot;9\&quot; USCORE   &#x3D; %x5F ; underscore  ; \&quot;_\&quot; &#x60;&#x60;&#x60;
     * @param {Array<string>} [id] Records with unique IDentifier(s). Accept: &#x60;id&#x60; -or- &#x60;etag&#x60;.
     * @param {Array<string>} [qin] [Q]uery[IN] is a set of search fields for term &#x60;q&#x60;. Default: &#x60;name{common_name}&#x60;.
     * @param {'READ' | 'WRITE' | 'DELETE'} [mode] Source access mode requirement.   - READ: Can &#x60;fetch&#x60; record. [GET]  - WRITE: Can &#x60;update&#x60; record. [PUT|PATCH]  - DELETE: Can &#x60;delete&#x60; record. [DELETE]
     * @param {string} [notIdGroup] Excludes contacts that belong to the specified group ID. - Filters out contacts associated with the given &#x60;group_id&#x60;.
     * @param {Array<string>} [group] Filters contacts by the specified group(s). - Includes only contacts that belong to one or more of the given group Group(s).
     * @param {Array<string>} [owner] Filters contacts by the specified owner(s). - Includes only contacts whose owner matches one or more of the given Owner(s). - The owner ID corresponds to &#x60;contact_id&#x60; in the &#x60;directory.wbt_user&#x60; table.
     * @param {Array<string>} [label] Filters contacts by the specified label(s). - Includes only contacts that have one or more of the given Label(s).
     * @param {boolean} [user] Filters contacts based on whether they are user-associated. - &#x60;true&#x60;  → Includes only user-associated contacts. - &#x60;false&#x60; → Includes only contacts that are NOT user-associated. - A contact is considered user-associated if it exists in &#x60;directory.wbt_user&#x60;.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof ContactsApi
     */
    searchContacts(page?: number, size?: number, q?: string, sort?: Array<string>, fields?: Array<string>, id?: Array<string>, qin?: Array<string>, mode?: 'READ' | 'WRITE' | 'DELETE', notIdGroup?: string, group?: Array<string>, owner?: Array<string>, label?: Array<string>, user?: boolean, options?: any): Promise<import("axios").AxiosResponse<WebitelContactsContactList, any, {}>>;
    /**
     *
     * @summary NEW Update of the Contact source
     * @param {string} etag Unique ID of the latest version of an existing resorce.
     * @param {NEWContactSourceChanges} input
     * @param {Array<string>} [fields] Source Fields to return into result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof ContactsApi
     */
    updateContact(etag: string, input: NEWContactSourceChanges, fields?: Array<string>, options?: any): Promise<import("axios").AxiosResponse<WebitelContactsContact, any, {}>>;
}
//# sourceMappingURL=contacts-api.d.ts.map