/**
 * 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 { ApiAccessStoreToggleDefaultAccessBody } from '../api';
import { ApiGrantAccessRequestV1 } from '../api';
import { ApiListAccessResponseV1 } from '../api';
import { ApiToggleDefaultAccessResponse } from '../api';
import { ApiUpdateAccessResponseV1 } from '../api';
/**
 * AccessStoreApi - axios parameter creator
 * @export
 */
export declare const AccessStoreApiAxiosParamCreator: (configuration?: Configuration) => {
    /**
     *
     * @summary default: TODO: indicate objclass=default as a default rights repo
     * @param {string} objectName display name
     * @param {string} objectId identifier
     * @param {Array<string>} [grantor] --- filters ---  [optional] [FROM] each rule owner is any of role(s) id; user -or- role
     * @param {Array<string>} [grantee] [optional] [TO] subject role(s) id; user -or- role
     * @param {Array<string>} [granted] [xrwdxrwd] [R]ecord-[b]ased-[A]ccess-[C]ontrol level check(!)
     * @param {string} [q] [optional] [TO] subject.name ILIKE ?q&#x3D;; user -or- role
     * @param {Array<string>} [fields] ----- Select Options -------------------------  attributes list
     * @param {Array<string>} [sort] e.g.: \&quot;updated_at\&quot; - ASC; \&quot;!updated_at\&quot; - DESC;
     * @param {number} [size] pagedResultsControl  default: 16
     * @param {number} [page] default: 1
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listDefaultAccess: (objectName: string, objectId: string, grantor?: Array<string>, grantee?: Array<string>, granted?: Array<string>, q?: string, fields?: Array<string>, sort?: Array<string>, size?: number, page?: number, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @param {string} objectName display name
     * @param {string} objectId identifier
     * @param {Array<string>} [grantor] --- filters ---  [optional] [FROM] each rule owner is any of role(s) id; user -or- role
     * @param {Array<string>} [grantee] [optional] [TO] subject role(s) id; user -or- role
     * @param {Array<string>} [granted] [xrwdxrwd] [R]ecord-[b]ased-[A]ccess-[C]ontrol level check(!)
     * @param {string} [q] [optional] [TO] subject.name ILIKE ?q&#x3D;; user -or- role
     * @param {Array<string>} [fields] ----- Select Options -------------------------  attributes list
     * @param {Array<string>} [sort] e.g.: \&quot;updated_at\&quot; - ASC; \&quot;!updated_at\&quot; - DESC;
     * @param {number} [size] pagedResultsControl  default: 16
     * @param {number} [page] default: 1
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listObjectAccess: (objectName: string, objectId: string, grantor?: Array<string>, grantee?: Array<string>, granted?: Array<string>, q?: string, fields?: Array<string>, sort?: Array<string>, size?: number, page?: number, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary Same as UpdateAccess except for DEFAULT access control system
     * @param {string} objectName display name
     * @param {string} objectId identifier
     * @param {string} grantor [FOR] creator user/role
     * @param {ApiAccessStoreToggleDefaultAccessBody} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    toggleDefaultAccess: (objectName: string, objectId: string, grantor: string, body: ApiAccessStoreToggleDefaultAccessBody, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary TODO: replace with GrantAccess API, to become command like GRANT REVOKE ... with empty access rights string
     * @param {string} objectName display name
     * @param {string} objectId identifier
     * @param {Array<ApiGrantAccessRequestV1>} list
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    toggleObjectAccess: (objectName: string, objectId: string, list: Array<ApiGrantAccessRequestV1>, options?: any) => Promise<RequestArgs>;
};
/**
 * AccessStoreApi - functional programming interface
 * @export
 */
export declare const AccessStoreApiFp: (configuration?: Configuration) => {
    /**
     *
     * @summary default: TODO: indicate objclass=default as a default rights repo
     * @param {string} objectName display name
     * @param {string} objectId identifier
     * @param {Array<string>} [grantor] --- filters ---  [optional] [FROM] each rule owner is any of role(s) id; user -or- role
     * @param {Array<string>} [grantee] [optional] [TO] subject role(s) id; user -or- role
     * @param {Array<string>} [granted] [xrwdxrwd] [R]ecord-[b]ased-[A]ccess-[C]ontrol level check(!)
     * @param {string} [q] [optional] [TO] subject.name ILIKE ?q&#x3D;; user -or- role
     * @param {Array<string>} [fields] ----- Select Options -------------------------  attributes list
     * @param {Array<string>} [sort] e.g.: \&quot;updated_at\&quot; - ASC; \&quot;!updated_at\&quot; - DESC;
     * @param {number} [size] pagedResultsControl  default: 16
     * @param {number} [page] default: 1
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listDefaultAccess(objectName: string, objectId: string, grantor?: Array<string>, grantee?: Array<string>, granted?: Array<string>, q?: string, fields?: Array<string>, sort?: Array<string>, size?: number, page?: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApiListAccessResponseV1>>;
    /**
     *
     * @param {string} objectName display name
     * @param {string} objectId identifier
     * @param {Array<string>} [grantor] --- filters ---  [optional] [FROM] each rule owner is any of role(s) id; user -or- role
     * @param {Array<string>} [grantee] [optional] [TO] subject role(s) id; user -or- role
     * @param {Array<string>} [granted] [xrwdxrwd] [R]ecord-[b]ased-[A]ccess-[C]ontrol level check(!)
     * @param {string} [q] [optional] [TO] subject.name ILIKE ?q&#x3D;; user -or- role
     * @param {Array<string>} [fields] ----- Select Options -------------------------  attributes list
     * @param {Array<string>} [sort] e.g.: \&quot;updated_at\&quot; - ASC; \&quot;!updated_at\&quot; - DESC;
     * @param {number} [size] pagedResultsControl  default: 16
     * @param {number} [page] default: 1
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listObjectAccess(objectName: string, objectId: string, grantor?: Array<string>, grantee?: Array<string>, granted?: Array<string>, q?: string, fields?: Array<string>, sort?: Array<string>, size?: number, page?: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApiListAccessResponseV1>>;
    /**
     *
     * @summary Same as UpdateAccess except for DEFAULT access control system
     * @param {string} objectName display name
     * @param {string} objectId identifier
     * @param {string} grantor [FOR] creator user/role
     * @param {ApiAccessStoreToggleDefaultAccessBody} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    toggleDefaultAccess(objectName: string, objectId: string, grantor: string, body: ApiAccessStoreToggleDefaultAccessBody, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApiToggleDefaultAccessResponse>>;
    /**
     *
     * @summary TODO: replace with GrantAccess API, to become command like GRANT REVOKE ... with empty access rights string
     * @param {string} objectName display name
     * @param {string} objectId identifier
     * @param {Array<ApiGrantAccessRequestV1>} list
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    toggleObjectAccess(objectName: string, objectId: string, list: Array<ApiGrantAccessRequestV1>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApiUpdateAccessResponseV1>>;
};
/**
 * AccessStoreApi - factory interface
 * @export
 */
export declare const AccessStoreApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
    /**
     *
     * @summary default: TODO: indicate objclass=default as a default rights repo
     * @param {string} objectName display name
     * @param {string} objectId identifier
     * @param {Array<string>} [grantor] --- filters ---  [optional] [FROM] each rule owner is any of role(s) id; user -or- role
     * @param {Array<string>} [grantee] [optional] [TO] subject role(s) id; user -or- role
     * @param {Array<string>} [granted] [xrwdxrwd] [R]ecord-[b]ased-[A]ccess-[C]ontrol level check(!)
     * @param {string} [q] [optional] [TO] subject.name ILIKE ?q&#x3D;; user -or- role
     * @param {Array<string>} [fields] ----- Select Options -------------------------  attributes list
     * @param {Array<string>} [sort] e.g.: \&quot;updated_at\&quot; - ASC; \&quot;!updated_at\&quot; - DESC;
     * @param {number} [size] pagedResultsControl  default: 16
     * @param {number} [page] default: 1
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listDefaultAccess(objectName: string, objectId: string, grantor?: Array<string>, grantee?: Array<string>, granted?: Array<string>, q?: string, fields?: Array<string>, sort?: Array<string>, size?: number, page?: number, options?: any): AxiosPromise<ApiListAccessResponseV1>;
    /**
     *
     * @param {string} objectName display name
     * @param {string} objectId identifier
     * @param {Array<string>} [grantor] --- filters ---  [optional] [FROM] each rule owner is any of role(s) id; user -or- role
     * @param {Array<string>} [grantee] [optional] [TO] subject role(s) id; user -or- role
     * @param {Array<string>} [granted] [xrwdxrwd] [R]ecord-[b]ased-[A]ccess-[C]ontrol level check(!)
     * @param {string} [q] [optional] [TO] subject.name ILIKE ?q&#x3D;; user -or- role
     * @param {Array<string>} [fields] ----- Select Options -------------------------  attributes list
     * @param {Array<string>} [sort] e.g.: \&quot;updated_at\&quot; - ASC; \&quot;!updated_at\&quot; - DESC;
     * @param {number} [size] pagedResultsControl  default: 16
     * @param {number} [page] default: 1
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listObjectAccess(objectName: string, objectId: string, grantor?: Array<string>, grantee?: Array<string>, granted?: Array<string>, q?: string, fields?: Array<string>, sort?: Array<string>, size?: number, page?: number, options?: any): AxiosPromise<ApiListAccessResponseV1>;
    /**
     *
     * @summary Same as UpdateAccess except for DEFAULT access control system
     * @param {string} objectName display name
     * @param {string} objectId identifier
     * @param {string} grantor [FOR] creator user/role
     * @param {ApiAccessStoreToggleDefaultAccessBody} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    toggleDefaultAccess(objectName: string, objectId: string, grantor: string, body: ApiAccessStoreToggleDefaultAccessBody, options?: any): AxiosPromise<ApiToggleDefaultAccessResponse>;
    /**
     *
     * @summary TODO: replace with GrantAccess API, to become command like GRANT REVOKE ... with empty access rights string
     * @param {string} objectName display name
     * @param {string} objectId identifier
     * @param {Array<ApiGrantAccessRequestV1>} list
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    toggleObjectAccess(objectName: string, objectId: string, list: Array<ApiGrantAccessRequestV1>, options?: any): AxiosPromise<ApiUpdateAccessResponseV1>;
};
/**
 * AccessStoreApi - object-oriented interface
 * @export
 * @class AccessStoreApi
 * @extends {BaseAPI}
 */
export declare class AccessStoreApi extends BaseAPI {
    /**
     *
     * @summary default: TODO: indicate objclass=default as a default rights repo
     * @param {string} objectName display name
     * @param {string} objectId identifier
     * @param {Array<string>} [grantor] --- filters ---  [optional] [FROM] each rule owner is any of role(s) id; user -or- role
     * @param {Array<string>} [grantee] [optional] [TO] subject role(s) id; user -or- role
     * @param {Array<string>} [granted] [xrwdxrwd] [R]ecord-[b]ased-[A]ccess-[C]ontrol level check(!)
     * @param {string} [q] [optional] [TO] subject.name ILIKE ?q&#x3D;; user -or- role
     * @param {Array<string>} [fields] ----- Select Options -------------------------  attributes list
     * @param {Array<string>} [sort] e.g.: \&quot;updated_at\&quot; - ASC; \&quot;!updated_at\&quot; - DESC;
     * @param {number} [size] pagedResultsControl  default: 16
     * @param {number} [page] default: 1
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof AccessStoreApi
     */
    listDefaultAccess(objectName: string, objectId: string, grantor?: Array<string>, grantee?: Array<string>, granted?: Array<string>, q?: string, fields?: Array<string>, sort?: Array<string>, size?: number, page?: number, options?: any): Promise<import("axios").AxiosResponse<ApiListAccessResponseV1, any, {}>>;
    /**
     *
     * @param {string} objectName display name
     * @param {string} objectId identifier
     * @param {Array<string>} [grantor] --- filters ---  [optional] [FROM] each rule owner is any of role(s) id; user -or- role
     * @param {Array<string>} [grantee] [optional] [TO] subject role(s) id; user -or- role
     * @param {Array<string>} [granted] [xrwdxrwd] [R]ecord-[b]ased-[A]ccess-[C]ontrol level check(!)
     * @param {string} [q] [optional] [TO] subject.name ILIKE ?q&#x3D;; user -or- role
     * @param {Array<string>} [fields] ----- Select Options -------------------------  attributes list
     * @param {Array<string>} [sort] e.g.: \&quot;updated_at\&quot; - ASC; \&quot;!updated_at\&quot; - DESC;
     * @param {number} [size] pagedResultsControl  default: 16
     * @param {number} [page] default: 1
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof AccessStoreApi
     */
    listObjectAccess(objectName: string, objectId: string, grantor?: Array<string>, grantee?: Array<string>, granted?: Array<string>, q?: string, fields?: Array<string>, sort?: Array<string>, size?: number, page?: number, options?: any): Promise<import("axios").AxiosResponse<ApiListAccessResponseV1, any, {}>>;
    /**
     *
     * @summary Same as UpdateAccess except for DEFAULT access control system
     * @param {string} objectName display name
     * @param {string} objectId identifier
     * @param {string} grantor [FOR] creator user/role
     * @param {ApiAccessStoreToggleDefaultAccessBody} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof AccessStoreApi
     */
    toggleDefaultAccess(objectName: string, objectId: string, grantor: string, body: ApiAccessStoreToggleDefaultAccessBody, options?: any): Promise<import("axios").AxiosResponse<ApiToggleDefaultAccessResponse, any, {}>>;
    /**
     *
     * @summary TODO: replace with GrantAccess API, to become command like GRANT REVOKE ... with empty access rights string
     * @param {string} objectName display name
     * @param {string} objectId identifier
     * @param {Array<ApiGrantAccessRequestV1>} list
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof AccessStoreApi
     */
    toggleObjectAccess(objectName: string, objectId: string, list: Array<ApiGrantAccessRequestV1>, options?: any): Promise<import("axios").AxiosResponse<ApiUpdateAccessResponseV1, any, {}>>;
}
//# sourceMappingURL=access-store-api.d.ts.map