/**
 * 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 { NEWSpaceSourceChanges } from '../api';
import { WebitelKnowledgebaseInputSpace } from '../api';
import { WebitelKnowledgebaseSpace } from '../api';
import { WebitelKnowledgebaseSpaceList } from '../api';
/**
 * SpacesApi - axios parameter creator
 * @export
 */
export declare const SpacesApiAxiosParamCreator: (configuration?: Configuration) => {
    /**
     *
     * @summary Create NEW Space
     * @param {Array<WebitelKnowledgebaseInputSpace>} input NEW Spaces source changes
     * @param {Array<string>} [fields] Source Fields to return into result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createSpace: (input: Array<WebitelKnowledgebaseInputSpace>, fields?: Array<string>, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary Remove Space 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}
     */
    deleteSpace: (etag: string, fields?: Array<string>, 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!  | `home_page`   | string (home_page)  | `state`       | bool  | `has_children`| bool
     * @param {number} [page]
     * @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 ;  &#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, 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;state&#x60;
     * @param {Array<string>} [fields]
     * @param {Array<string>} [id] Records with unique IDentifier(s). Accept: &#x60;id&#x60; -or- &#x60;etag&#x60;.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listSpaces: (page?: number, size?: number, q?: string, sort?: Array<string>, fields?: Array<string>, id?: Array<string>, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary Locate spaces source
     * @param {string} etag The Space source IDentifier. Accept: &#x60;etag&#x60; (obsolete+) or &#x60;id&#x60;.
     * @param {Array<string>} [fields] Source Fields to return into result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    locateSpace: (etag: string, fields?: Array<string>, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary NEW Update of the Space source
     * @param {string} etag Unique ID of the latest version of an existing resorce.
     * @param {NEWSpaceSourceChanges} input
     * @param {Array<string>} [fields] Source Fields to return into result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    updateSpace: (etag: string, input: NEWSpaceSourceChanges, fields?: Array<string>, options?: any) => Promise<RequestArgs>;
};
/**
 * SpacesApi - functional programming interface
 * @export
 */
export declare const SpacesApiFp: (configuration?: Configuration) => {
    /**
     *
     * @summary Create NEW Space
     * @param {Array<WebitelKnowledgebaseInputSpace>} input NEW Spaces source changes
     * @param {Array<string>} [fields] Source Fields to return into result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createSpace(input: Array<WebitelKnowledgebaseInputSpace>, fields?: Array<string>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebitelKnowledgebaseSpace>>;
    /**
     *
     * @summary Remove Space 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}
     */
    deleteSpace(etag: string, fields?: Array<string>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebitelKnowledgebaseSpace>>;
    /**
     * | 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!  | `home_page`   | string (home_page)  | `state`       | bool  | `has_children`| bool
     * @param {number} [page]
     * @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 ;  &#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, 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;state&#x60;
     * @param {Array<string>} [fields]
     * @param {Array<string>} [id] Records with unique IDentifier(s). Accept: &#x60;id&#x60; -or- &#x60;etag&#x60;.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listSpaces(page?: number, size?: number, q?: string, sort?: Array<string>, fields?: Array<string>, id?: Array<string>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebitelKnowledgebaseSpaceList>>;
    /**
     *
     * @summary Locate spaces source
     * @param {string} etag The Space source IDentifier. Accept: &#x60;etag&#x60; (obsolete+) or &#x60;id&#x60;.
     * @param {Array<string>} [fields] Source Fields to return into result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    locateSpace(etag: string, fields?: Array<string>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebitelKnowledgebaseSpace>>;
    /**
     *
     * @summary NEW Update of the Space source
     * @param {string} etag Unique ID of the latest version of an existing resorce.
     * @param {NEWSpaceSourceChanges} input
     * @param {Array<string>} [fields] Source Fields to return into result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    updateSpace(etag: string, input: NEWSpaceSourceChanges, fields?: Array<string>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebitelKnowledgebaseSpace>>;
};
/**
 * SpacesApi - factory interface
 * @export
 */
export declare const SpacesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
    /**
     *
     * @summary Create NEW Space
     * @param {Array<WebitelKnowledgebaseInputSpace>} input NEW Spaces source changes
     * @param {Array<string>} [fields] Source Fields to return into result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createSpace(input: Array<WebitelKnowledgebaseInputSpace>, fields?: Array<string>, options?: any): AxiosPromise<WebitelKnowledgebaseSpace>;
    /**
     *
     * @summary Remove Space 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}
     */
    deleteSpace(etag: string, fields?: Array<string>, options?: any): AxiosPromise<WebitelKnowledgebaseSpace>;
    /**
     * | 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!  | `home_page`   | string (home_page)  | `state`       | bool  | `has_children`| bool
     * @param {number} [page]
     * @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 ;  &#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, 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;state&#x60;
     * @param {Array<string>} [fields]
     * @param {Array<string>} [id] Records with unique IDentifier(s). Accept: &#x60;id&#x60; -or- &#x60;etag&#x60;.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listSpaces(page?: number, size?: number, q?: string, sort?: Array<string>, fields?: Array<string>, id?: Array<string>, options?: any): AxiosPromise<WebitelKnowledgebaseSpaceList>;
    /**
     *
     * @summary Locate spaces source
     * @param {string} etag The Space source IDentifier. Accept: &#x60;etag&#x60; (obsolete+) or &#x60;id&#x60;.
     * @param {Array<string>} [fields] Source Fields to return into result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    locateSpace(etag: string, fields?: Array<string>, options?: any): AxiosPromise<WebitelKnowledgebaseSpace>;
    /**
     *
     * @summary NEW Update of the Space source
     * @param {string} etag Unique ID of the latest version of an existing resorce.
     * @param {NEWSpaceSourceChanges} input
     * @param {Array<string>} [fields] Source Fields to return into result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    updateSpace(etag: string, input: NEWSpaceSourceChanges, fields?: Array<string>, options?: any): AxiosPromise<WebitelKnowledgebaseSpace>;
};
/**
 * SpacesApi - object-oriented interface
 * @export
 * @class SpacesApi
 * @extends {BaseAPI}
 */
export declare class SpacesApi extends BaseAPI {
    /**
     *
     * @summary Create NEW Space
     * @param {Array<WebitelKnowledgebaseInputSpace>} input NEW Spaces source changes
     * @param {Array<string>} [fields] Source Fields to return into result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof SpacesApi
     */
    createSpace(input: Array<WebitelKnowledgebaseInputSpace>, fields?: Array<string>, options?: any): Promise<import("axios").AxiosResponse<WebitelKnowledgebaseSpace, any, {}>>;
    /**
     *
     * @summary Remove Space 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 SpacesApi
     */
    deleteSpace(etag: string, fields?: Array<string>, options?: any): Promise<import("axios").AxiosResponse<WebitelKnowledgebaseSpace, 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!  | `home_page`   | string (home_page)  | `state`       | bool  | `has_children`| bool
     * @param {number} [page]
     * @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 ;  &#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, 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;state&#x60;
     * @param {Array<string>} [fields]
     * @param {Array<string>} [id] Records with unique IDentifier(s). Accept: &#x60;id&#x60; -or- &#x60;etag&#x60;.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof SpacesApi
     */
    listSpaces(page?: number, size?: number, q?: string, sort?: Array<string>, fields?: Array<string>, id?: Array<string>, options?: any): Promise<import("axios").AxiosResponse<WebitelKnowledgebaseSpaceList, any, {}>>;
    /**
     *
     * @summary Locate spaces source
     * @param {string} etag The Space source IDentifier. Accept: &#x60;etag&#x60; (obsolete+) or &#x60;id&#x60;.
     * @param {Array<string>} [fields] Source Fields to return into result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof SpacesApi
     */
    locateSpace(etag: string, fields?: Array<string>, options?: any): Promise<import("axios").AxiosResponse<WebitelKnowledgebaseSpace, any, {}>>;
    /**
     *
     * @summary NEW Update of the Space source
     * @param {string} etag Unique ID of the latest version of an existing resorce.
     * @param {NEWSpaceSourceChanges} input
     * @param {Array<string>} [fields] Source Fields to return into result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof SpacesApi
     */
    updateSpace(etag: string, input: NEWSpaceSourceChanges, fields?: Array<string>, options?: any): Promise<import("axios").AxiosResponse<WebitelKnowledgebaseSpace, any, {}>>;
}
//# sourceMappingURL=spaces-api.d.ts.map