/** * EMIL Tenant Service * The EMIL TenantService API description * * The version of the OpenAPI document: 1.0 * Contact: kontakt@emil.de * * 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, AxiosRequestConfig } from 'axios'; import { Configuration } from '../configuration'; import { RequestArgs, BaseAPI } from '../base'; import { ListRolesResponseClass } from '../models'; /** * RolesApi - axios parameter creator * @export */ export declare const RolesApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns a list of roles you have previously created. The roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"identity-management.roles.view\" * @summary List roles * @param {string} [authorization] Bearer Token * @param {number} [pageSize] Page size * @param {string} [pageToken] Page token * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. * @param {string} [search] Search query * @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server. * @param {string} [expand] You can expand roles in this endpoint. By default, permissions will be an empty array. * @param {*} [options] Override http request option. * @deprecated * @throws {RequiredError} */ listRoles: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise; }; /** * RolesApi - functional programming interface * @export */ export declare const RolesApiFp: (configuration?: Configuration) => { /** * Returns a list of roles you have previously created. The roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"identity-management.roles.view\" * @summary List roles * @param {string} [authorization] Bearer Token * @param {number} [pageSize] Page size * @param {string} [pageToken] Page token * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. * @param {string} [search] Search query * @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server. * @param {string} [expand] You can expand roles in this endpoint. By default, permissions will be an empty array. * @param {*} [options] Override http request option. * @deprecated * @throws {RequiredError} */ listRoles(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * RolesApi - factory interface * @export */ export declare const RolesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns a list of roles you have previously created. The roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"identity-management.roles.view\" * @summary List roles * @param {string} [authorization] Bearer Token * @param {number} [pageSize] Page size * @param {string} [pageToken] Page token * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. * @param {string} [search] Search query * @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server. * @param {string} [expand] You can expand roles in this endpoint. By default, permissions will be an empty array. * @param {*} [options] Override http request option. * @deprecated * @throws {RequiredError} */ listRoles(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise; }; /** * Request parameters for listRoles operation in RolesApi. * @export * @interface RolesApiListRolesRequest */ export interface RolesApiListRolesRequest { /** * Bearer Token * @type {string} * @memberof RolesApiListRoles */ readonly authorization?: string; /** * Page size * @type {number} * @memberof RolesApiListRoles */ readonly pageSize?: number; /** * Page token * @type {string} * @memberof RolesApiListRoles */ readonly pageToken?: string; /** * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. * @type {string} * @memberof RolesApiListRoles */ readonly filter?: string; /** * Search query * @type {string} * @memberof RolesApiListRoles */ readonly search?: string; /** * Order allowing you to specify the desired order of entities retrieved from the server. * @type {string} * @memberof RolesApiListRoles */ readonly order?: string; /** * You can expand roles in this endpoint. By default, permissions will be an empty array. * @type {string} * @memberof RolesApiListRoles */ readonly expand?: string; } /** * RolesApi - object-oriented interface * @export * @class RolesApi * @extends {BaseAPI} */ export declare class RolesApi extends BaseAPI { /** * Returns a list of roles you have previously created. The roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"identity-management.roles.view\" * @summary List roles * @param {RolesApiListRolesRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @deprecated * @throws {RequiredError} * @memberof RolesApi */ listRoles(requestParameters?: RolesApiListRolesRequest, options?: AxiosRequestConfig): Promise>; }