/**
 * 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 { WebitelContactsAddContactsToGroupRequest } from '../api';
import { WebitelContactsContactList } from '../api';
import { WebitelContactsCreateGroupRequest } from '../api';
import { WebitelContactsGroup } from '../api';
import { WebitelContactsGroupList } from '../api';
import { WebitelContactsInputGroup } from '../api';
import { WebitelContactsLocateGroupResponse } from '../api';
/**
 * GroupsApi - axios parameter creator
 * @export
 */
export declare const GroupsApiAxiosParamCreator: (configuration?: Configuration) => {
    /**
     *
     * @summary Attach contacts to multiple groups
     * @param {WebitelContactsAddContactsToGroupRequest} body Request message for adding contacts to a group.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    addContactsToGroups: (body: WebitelContactsAddContactsToGroupRequest, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary Create a new group
     * @param {WebitelContactsCreateGroupRequest} body Request message for creating a new group.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createGroup: (body: WebitelContactsCreateGroupRequest, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary Delete a group
     * @param {string} id The unique ID of the group to delete.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    deleteGroup: (id: string, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary Retrieve a list of groups or search groups
     * @param {number} [page] Page number of result dataset records. offset &#x3D; (page*size)
     * @param {number} [size] Size count of records on result page. limit &#x3D; (size++)
     * @param {Array<string>} [fields] Fields to be retrieved as a result.
     * @param {Array<string>} [sort] Sort the result according to fields.
     * @param {Array<string>} [id] Filter by unique IDs.
     * @param {string} [q] Search term: group name; &#x60;?&#x60; - matches any one character &#x60;*&#x60; - matches 0 or more characters
     * @param {string} [name] Filter by group name.
     * @param {'GROUP_TYPE_UNSPECIFIED' | 'STATIC' | 'DYNAMIC'} [type] Filter by group type.   - GROUP_TYPE_UNSPECIFIED: Default value  - STATIC: Static group  - DYNAMIC: Dynamic group
     * @param {boolean} [enabled] Filter by only enabled group
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listGroups: (page?: number, size?: number, fields?: Array<string>, sort?: Array<string>, id?: Array<string>, q?: string, name?: string, type?: "GROUP_TYPE_UNSPECIFIED" | "STATIC" | "DYNAMIC", enabled?: boolean, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary Locate a group by ID
     * @param {string} id The unique ID of the group to locate.
     * @param {Array<string>} [fields] Fields to be retrieved into result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    locateGroup: (id: string, fields?: Array<string>, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary Remove contacts from a group
     * @param {string} groupId The unique ID of the group.
     * @param {Array<string>} [contactIds] List of contact IDs to remove from the group.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    removeContactsFromGroup: (groupId: string, contactIds?: Array<string>, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary Update an existing group
     * @param {string} id The unique ID of the group to update.
     * @param {WebitelContactsInputGroup} input
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    updateGroup: (id: string, input: WebitelContactsInputGroup, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary Update an existing group
     * @param {string} id The unique ID of the group to update.
     * @param {WebitelContactsInputGroup} input
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    updateGroup2: (id: string, input: WebitelContactsInputGroup, options?: any) => Promise<RequestArgs>;
};
/**
 * GroupsApi - functional programming interface
 * @export
 */
export declare const GroupsApiFp: (configuration?: Configuration) => {
    /**
     *
     * @summary Attach contacts to multiple groups
     * @param {WebitelContactsAddContactsToGroupRequest} body Request message for adding contacts to a group.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    addContactsToGroups(body: WebitelContactsAddContactsToGroupRequest, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebitelContactsContactList>>;
    /**
     *
     * @summary Create a new group
     * @param {WebitelContactsCreateGroupRequest} body Request message for creating a new group.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createGroup(body: WebitelContactsCreateGroupRequest, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebitelContactsGroup>>;
    /**
     *
     * @summary Delete a group
     * @param {string} id The unique ID of the group to delete.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    deleteGroup(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebitelContactsGroup>>;
    /**
     *
     * @summary Retrieve a list of groups or search groups
     * @param {number} [page] Page number of result dataset records. offset &#x3D; (page*size)
     * @param {number} [size] Size count of records on result page. limit &#x3D; (size++)
     * @param {Array<string>} [fields] Fields to be retrieved as a result.
     * @param {Array<string>} [sort] Sort the result according to fields.
     * @param {Array<string>} [id] Filter by unique IDs.
     * @param {string} [q] Search term: group name; &#x60;?&#x60; - matches any one character &#x60;*&#x60; - matches 0 or more characters
     * @param {string} [name] Filter by group name.
     * @param {'GROUP_TYPE_UNSPECIFIED' | 'STATIC' | 'DYNAMIC'} [type] Filter by group type.   - GROUP_TYPE_UNSPECIFIED: Default value  - STATIC: Static group  - DYNAMIC: Dynamic group
     * @param {boolean} [enabled] Filter by only enabled group
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listGroups(page?: number, size?: number, fields?: Array<string>, sort?: Array<string>, id?: Array<string>, q?: string, name?: string, type?: "GROUP_TYPE_UNSPECIFIED" | "STATIC" | "DYNAMIC", enabled?: boolean, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebitelContactsGroupList>>;
    /**
     *
     * @summary Locate a group by ID
     * @param {string} id The unique ID of the group to locate.
     * @param {Array<string>} [fields] Fields to be retrieved into result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    locateGroup(id: string, fields?: Array<string>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebitelContactsLocateGroupResponse>>;
    /**
     *
     * @summary Remove contacts from a group
     * @param {string} groupId The unique ID of the group.
     * @param {Array<string>} [contactIds] List of contact IDs to remove from the group.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    removeContactsFromGroup(groupId: string, contactIds?: Array<string>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebitelContactsContactList>>;
    /**
     *
     * @summary Update an existing group
     * @param {string} id The unique ID of the group to update.
     * @param {WebitelContactsInputGroup} input
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    updateGroup(id: string, input: WebitelContactsInputGroup, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebitelContactsGroup>>;
    /**
     *
     * @summary Update an existing group
     * @param {string} id The unique ID of the group to update.
     * @param {WebitelContactsInputGroup} input
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    updateGroup2(id: string, input: WebitelContactsInputGroup, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebitelContactsGroup>>;
};
/**
 * GroupsApi - factory interface
 * @export
 */
export declare const GroupsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
    /**
     *
     * @summary Attach contacts to multiple groups
     * @param {WebitelContactsAddContactsToGroupRequest} body Request message for adding contacts to a group.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    addContactsToGroups(body: WebitelContactsAddContactsToGroupRequest, options?: any): AxiosPromise<WebitelContactsContactList>;
    /**
     *
     * @summary Create a new group
     * @param {WebitelContactsCreateGroupRequest} body Request message for creating a new group.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createGroup(body: WebitelContactsCreateGroupRequest, options?: any): AxiosPromise<WebitelContactsGroup>;
    /**
     *
     * @summary Delete a group
     * @param {string} id The unique ID of the group to delete.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    deleteGroup(id: string, options?: any): AxiosPromise<WebitelContactsGroup>;
    /**
     *
     * @summary Retrieve a list of groups or search groups
     * @param {number} [page] Page number of result dataset records. offset &#x3D; (page*size)
     * @param {number} [size] Size count of records on result page. limit &#x3D; (size++)
     * @param {Array<string>} [fields] Fields to be retrieved as a result.
     * @param {Array<string>} [sort] Sort the result according to fields.
     * @param {Array<string>} [id] Filter by unique IDs.
     * @param {string} [q] Search term: group name; &#x60;?&#x60; - matches any one character &#x60;*&#x60; - matches 0 or more characters
     * @param {string} [name] Filter by group name.
     * @param {'GROUP_TYPE_UNSPECIFIED' | 'STATIC' | 'DYNAMIC'} [type] Filter by group type.   - GROUP_TYPE_UNSPECIFIED: Default value  - STATIC: Static group  - DYNAMIC: Dynamic group
     * @param {boolean} [enabled] Filter by only enabled group
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listGroups(page?: number, size?: number, fields?: Array<string>, sort?: Array<string>, id?: Array<string>, q?: string, name?: string, type?: "GROUP_TYPE_UNSPECIFIED" | "STATIC" | "DYNAMIC", enabled?: boolean, options?: any): AxiosPromise<WebitelContactsGroupList>;
    /**
     *
     * @summary Locate a group by ID
     * @param {string} id The unique ID of the group to locate.
     * @param {Array<string>} [fields] Fields to be retrieved into result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    locateGroup(id: string, fields?: Array<string>, options?: any): AxiosPromise<WebitelContactsLocateGroupResponse>;
    /**
     *
     * @summary Remove contacts from a group
     * @param {string} groupId The unique ID of the group.
     * @param {Array<string>} [contactIds] List of contact IDs to remove from the group.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    removeContactsFromGroup(groupId: string, contactIds?: Array<string>, options?: any): AxiosPromise<WebitelContactsContactList>;
    /**
     *
     * @summary Update an existing group
     * @param {string} id The unique ID of the group to update.
     * @param {WebitelContactsInputGroup} input
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    updateGroup(id: string, input: WebitelContactsInputGroup, options?: any): AxiosPromise<WebitelContactsGroup>;
    /**
     *
     * @summary Update an existing group
     * @param {string} id The unique ID of the group to update.
     * @param {WebitelContactsInputGroup} input
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    updateGroup2(id: string, input: WebitelContactsInputGroup, options?: any): AxiosPromise<WebitelContactsGroup>;
};
/**
 * GroupsApi - object-oriented interface
 * @export
 * @class GroupsApi
 * @extends {BaseAPI}
 */
export declare class GroupsApi extends BaseAPI {
    /**
     *
     * @summary Attach contacts to multiple groups
     * @param {WebitelContactsAddContactsToGroupRequest} body Request message for adding contacts to a group.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof GroupsApi
     */
    addContactsToGroups(body: WebitelContactsAddContactsToGroupRequest, options?: any): Promise<import("axios").AxiosResponse<WebitelContactsContactList, any, {}>>;
    /**
     *
     * @summary Create a new group
     * @param {WebitelContactsCreateGroupRequest} body Request message for creating a new group.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof GroupsApi
     */
    createGroup(body: WebitelContactsCreateGroupRequest, options?: any): Promise<import("axios").AxiosResponse<WebitelContactsGroup, any, {}>>;
    /**
     *
     * @summary Delete a group
     * @param {string} id The unique ID of the group to delete.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof GroupsApi
     */
    deleteGroup(id: string, options?: any): Promise<import("axios").AxiosResponse<WebitelContactsGroup, any, {}>>;
    /**
     *
     * @summary Retrieve a list of groups or search groups
     * @param {number} [page] Page number of result dataset records. offset &#x3D; (page*size)
     * @param {number} [size] Size count of records on result page. limit &#x3D; (size++)
     * @param {Array<string>} [fields] Fields to be retrieved as a result.
     * @param {Array<string>} [sort] Sort the result according to fields.
     * @param {Array<string>} [id] Filter by unique IDs.
     * @param {string} [q] Search term: group name; &#x60;?&#x60; - matches any one character &#x60;*&#x60; - matches 0 or more characters
     * @param {string} [name] Filter by group name.
     * @param {'GROUP_TYPE_UNSPECIFIED' | 'STATIC' | 'DYNAMIC'} [type] Filter by group type.   - GROUP_TYPE_UNSPECIFIED: Default value  - STATIC: Static group  - DYNAMIC: Dynamic group
     * @param {boolean} [enabled] Filter by only enabled group
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof GroupsApi
     */
    listGroups(page?: number, size?: number, fields?: Array<string>, sort?: Array<string>, id?: Array<string>, q?: string, name?: string, type?: 'GROUP_TYPE_UNSPECIFIED' | 'STATIC' | 'DYNAMIC', enabled?: boolean, options?: any): Promise<import("axios").AxiosResponse<WebitelContactsGroupList, any, {}>>;
    /**
     *
     * @summary Locate a group by ID
     * @param {string} id The unique ID of the group to locate.
     * @param {Array<string>} [fields] Fields to be retrieved into result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof GroupsApi
     */
    locateGroup(id: string, fields?: Array<string>, options?: any): Promise<import("axios").AxiosResponse<WebitelContactsLocateGroupResponse, any, {}>>;
    /**
     *
     * @summary Remove contacts from a group
     * @param {string} groupId The unique ID of the group.
     * @param {Array<string>} [contactIds] List of contact IDs to remove from the group.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof GroupsApi
     */
    removeContactsFromGroup(groupId: string, contactIds?: Array<string>, options?: any): Promise<import("axios").AxiosResponse<WebitelContactsContactList, any, {}>>;
    /**
     *
     * @summary Update an existing group
     * @param {string} id The unique ID of the group to update.
     * @param {WebitelContactsInputGroup} input
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof GroupsApi
     */
    updateGroup(id: string, input: WebitelContactsInputGroup, options?: any): Promise<import("axios").AxiosResponse<WebitelContactsGroup, any, {}>>;
    /**
     *
     * @summary Update an existing group
     * @param {string} id The unique ID of the group to update.
     * @param {WebitelContactsInputGroup} input
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof GroupsApi
     */
    updateGroup2(id: string, input: WebitelContactsInputGroup, options?: any): Promise<import("axios").AxiosResponse<WebitelContactsGroup, any, {}>>;
}
//# sourceMappingURL=groups-api.d.ts.map