/** * 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 { AssignUserRolesRequestDto } from '../models'; import { AssignUserRolesResponseClass } from '../models'; import { BatchDeleteRequestDto } from '../models'; import { BatchDeleteResponseClass } from '../models'; import { DisableUsersRequestDto } from '../models'; import { DisableUsersResponseClass } from '../models'; import { EnableUsersRequestDto } from '../models'; import { EnableUsersResponseClass } from '../models'; import { GetUserResponseClass } from '../models'; import { InviteUserRequestDtoRest } from '../models'; import { InviteUserResponseClass } from '../models'; import { InviteUsersRequestDtoRest } from '../models'; import { InviteUsersResponseClass } from '../models'; import { LinkUserWithPartnerRequestDtoRest } from '../models'; import { LinkUserWithPartnerResponseClass } from '../models'; import { ListInvitesResponseClass } from '../models'; import { ListUsersResponseClass } from '../models'; /** * UserControllerRestApi - axios parameter creator * @export */ export declare const UserControllerRestApiAxiosParamCreator: (configuration?: Configuration) => { /** * This endpoint is deprecated, please refer to the policy administration service at /policy-administration-service/api. **Required Permissions** \"identity-management.roles.update\" * @param {number} id * @param {AssignUserRolesRequestDto} assignUserRolesRequestDto * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. * @param {*} [options] Override http request option. * @deprecated * @throws {RequiredError} */ assignUserRoles: (id: number, assignUserRolesRequestDto: AssignUserRolesRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise; /** * This will deletes the users who has been invited. Supply array of ids that were returned when users has been created and this will delete it. **Required Permissions** \"tenant-management.users.delete\" * @summary Delete invited users. * @param {BatchDeleteRequestDto} batchDeleteRequestDto * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteInvites: (batchDeleteRequestDto: BatchDeleteRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise; /** * undefined **Required Permissions** \"tenant-management.users.delete\" * @param {BatchDeleteRequestDto} batchDeleteRequestDto * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteUsers: (batchDeleteRequestDto: BatchDeleteRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise; /** * undefined **Required Permissions** \"tenant-management.users.update\" * @param {DisableUsersRequestDto} disableUsersRequestDto * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. * @param {*} [options] Override http request option. * @throws {RequiredError} */ disableUsers: (disableUsersRequestDto: DisableUsersRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise; /** * undefined **Required Permissions** \"tenant-management.users.update\" * @param {EnableUsersRequestDto} enableUsersRequestDto * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. * @param {*} [options] Override http request option. * @throws {RequiredError} */ enableUsers: (enableUsersRequestDto: EnableUsersRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise; /** * undefined **Required Permissions** \"tenant-management.users.view\" * @param {string} code * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. * @param {string} [expand] Fields to expand response by * @param {*} [options] Override http request option. * @throws {RequiredError} */ getUser: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise; /** * This send an email to invite a user with the specific role/roles. **Required Permissions** \"tenant-management.users.create\" * @summary Invite a user * @param {InviteUserRequestDtoRest} inviteUserRequestDtoRest * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. * @param {*} [options] Override http request option. * @throws {RequiredError} */ inviteUser: (inviteUserRequestDtoRest: InviteUserRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise; /** * This send bulk emails to invite users with the specific role/roles. **Required Permissions** \"tenant-management.users.create\" * @summary Invite batch of users * @param {InviteUsersRequestDtoRest} inviteUsersRequestDtoRest * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. * @param {*} [options] Override http request option. * @throws {RequiredError} */ inviteUsers: (inviteUsersRequestDtoRest: InviteUsersRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise; /** * undefined **Required Permissions** \"partner-management.partners.update\" * @param {string} code Unique identifier for the object. * @param {LinkUserWithPartnerRequestDtoRest} linkUserWithPartnerRequestDtoRest * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. * @param {*} [options] Override http request option. * @throws {RequiredError} */ linkUserWithPartner: (code: string, linkUserWithPartnerRequestDtoRest: LinkUserWithPartnerRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise; /** * Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"tenant-management.users.view\" * @summary List invited users * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10. * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list. * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, email, token, organizationId, ern, partnerCode</i> * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result. * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, email, expiresOn</i> * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: organizations<i> * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, email, token, organizationId, ern, partnerCode</i> * @param {*} [options] Override http request option. * @throws {RequiredError} */ listInvites: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise; /** * Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"tenant-management.users.view\" * @summary List users * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10. * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list. * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode</i> * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result. * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, email, firstName, lastName</i> * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: subscriptions, organizations<i> * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode</i> * @param {*} [options] Override http request option. * @throws {RequiredError} */ listUsers: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise; }; /** * UserControllerRestApi - functional programming interface * @export */ export declare const UserControllerRestApiFp: (configuration?: Configuration) => { /** * This endpoint is deprecated, please refer to the policy administration service at /policy-administration-service/api. **Required Permissions** \"identity-management.roles.update\" * @param {number} id * @param {AssignUserRolesRequestDto} assignUserRolesRequestDto * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. * @param {*} [options] Override http request option. * @deprecated * @throws {RequiredError} */ assignUserRoles(id: number, assignUserRolesRequestDto: AssignUserRolesRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * This will deletes the users who has been invited. Supply array of ids that were returned when users has been created and this will delete it. **Required Permissions** \"tenant-management.users.delete\" * @summary Delete invited users. * @param {BatchDeleteRequestDto} batchDeleteRequestDto * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteInvites(batchDeleteRequestDto: BatchDeleteRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * undefined **Required Permissions** \"tenant-management.users.delete\" * @param {BatchDeleteRequestDto} batchDeleteRequestDto * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteUsers(batchDeleteRequestDto: BatchDeleteRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * undefined **Required Permissions** \"tenant-management.users.update\" * @param {DisableUsersRequestDto} disableUsersRequestDto * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. * @param {*} [options] Override http request option. * @throws {RequiredError} */ disableUsers(disableUsersRequestDto: DisableUsersRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * undefined **Required Permissions** \"tenant-management.users.update\" * @param {EnableUsersRequestDto} enableUsersRequestDto * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. * @param {*} [options] Override http request option. * @throws {RequiredError} */ enableUsers(enableUsersRequestDto: EnableUsersRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * undefined **Required Permissions** \"tenant-management.users.view\" * @param {string} code * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. * @param {string} [expand] Fields to expand response by * @param {*} [options] Override http request option. * @throws {RequiredError} */ getUser(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * This send an email to invite a user with the specific role/roles. **Required Permissions** \"tenant-management.users.create\" * @summary Invite a user * @param {InviteUserRequestDtoRest} inviteUserRequestDtoRest * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. * @param {*} [options] Override http request option. * @throws {RequiredError} */ inviteUser(inviteUserRequestDtoRest: InviteUserRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * This send bulk emails to invite users with the specific role/roles. **Required Permissions** \"tenant-management.users.create\" * @summary Invite batch of users * @param {InviteUsersRequestDtoRest} inviteUsersRequestDtoRest * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. * @param {*} [options] Override http request option. * @throws {RequiredError} */ inviteUsers(inviteUsersRequestDtoRest: InviteUsersRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * undefined **Required Permissions** \"partner-management.partners.update\" * @param {string} code Unique identifier for the object. * @param {LinkUserWithPartnerRequestDtoRest} linkUserWithPartnerRequestDtoRest * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. * @param {*} [options] Override http request option. * @throws {RequiredError} */ linkUserWithPartner(code: string, linkUserWithPartnerRequestDtoRest: LinkUserWithPartnerRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"tenant-management.users.view\" * @summary List invited users * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10. * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list. * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, email, token, organizationId, ern, partnerCode</i> * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result. * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, email, expiresOn</i> * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: organizations<i> * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, email, token, organizationId, ern, partnerCode</i> * @param {*} [options] Override http request option. * @throws {RequiredError} */ listInvites(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"tenant-management.users.view\" * @summary List users * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10. * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list. * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode</i> * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result. * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, email, firstName, lastName</i> * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: subscriptions, organizations<i> * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode</i> * @param {*} [options] Override http request option. * @throws {RequiredError} */ listUsers(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * UserControllerRestApi - factory interface * @export */ export declare const UserControllerRestApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * This endpoint is deprecated, please refer to the policy administration service at /policy-administration-service/api. **Required Permissions** \"identity-management.roles.update\" * @param {number} id * @param {AssignUserRolesRequestDto} assignUserRolesRequestDto * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. * @param {*} [options] Override http request option. * @deprecated * @throws {RequiredError} */ assignUserRoles(id: number, assignUserRolesRequestDto: AssignUserRolesRequestDto, authorization?: string, options?: any): AxiosPromise; /** * This will deletes the users who has been invited. Supply array of ids that were returned when users has been created and this will delete it. **Required Permissions** \"tenant-management.users.delete\" * @summary Delete invited users. * @param {BatchDeleteRequestDto} batchDeleteRequestDto * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteInvites(batchDeleteRequestDto: BatchDeleteRequestDto, authorization?: string, options?: any): AxiosPromise; /** * undefined **Required Permissions** \"tenant-management.users.delete\" * @param {BatchDeleteRequestDto} batchDeleteRequestDto * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteUsers(batchDeleteRequestDto: BatchDeleteRequestDto, authorization?: string, options?: any): AxiosPromise; /** * undefined **Required Permissions** \"tenant-management.users.update\" * @param {DisableUsersRequestDto} disableUsersRequestDto * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. * @param {*} [options] Override http request option. * @throws {RequiredError} */ disableUsers(disableUsersRequestDto: DisableUsersRequestDto, authorization?: string, options?: any): AxiosPromise; /** * undefined **Required Permissions** \"tenant-management.users.update\" * @param {EnableUsersRequestDto} enableUsersRequestDto * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. * @param {*} [options] Override http request option. * @throws {RequiredError} */ enableUsers(enableUsersRequestDto: EnableUsersRequestDto, authorization?: string, options?: any): AxiosPromise; /** * undefined **Required Permissions** \"tenant-management.users.view\" * @param {string} code * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. * @param {string} [expand] Fields to expand response by * @param {*} [options] Override http request option. * @throws {RequiredError} */ getUser(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise; /** * This send an email to invite a user with the specific role/roles. **Required Permissions** \"tenant-management.users.create\" * @summary Invite a user * @param {InviteUserRequestDtoRest} inviteUserRequestDtoRest * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. * @param {*} [options] Override http request option. * @throws {RequiredError} */ inviteUser(inviteUserRequestDtoRest: InviteUserRequestDtoRest, authorization?: string, options?: any): AxiosPromise; /** * This send bulk emails to invite users with the specific role/roles. **Required Permissions** \"tenant-management.users.create\" * @summary Invite batch of users * @param {InviteUsersRequestDtoRest} inviteUsersRequestDtoRest * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. * @param {*} [options] Override http request option. * @throws {RequiredError} */ inviteUsers(inviteUsersRequestDtoRest: InviteUsersRequestDtoRest, authorization?: string, options?: any): AxiosPromise; /** * undefined **Required Permissions** \"partner-management.partners.update\" * @param {string} code Unique identifier for the object. * @param {LinkUserWithPartnerRequestDtoRest} linkUserWithPartnerRequestDtoRest * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. * @param {*} [options] Override http request option. * @throws {RequiredError} */ linkUserWithPartner(code: string, linkUserWithPartnerRequestDtoRest: LinkUserWithPartnerRequestDtoRest, authorization?: string, options?: any): AxiosPromise; /** * Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"tenant-management.users.view\" * @summary List invited users * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10. * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list. * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, email, token, organizationId, ern, partnerCode</i> * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result. * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, email, expiresOn</i> * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: organizations<i> * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, email, token, organizationId, ern, partnerCode</i> * @param {*} [options] Override http request option. * @throws {RequiredError} */ listInvites(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise; /** * Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"tenant-management.users.view\" * @summary List users * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10. * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list. * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode</i> * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result. * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, email, firstName, lastName</i> * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: subscriptions, organizations<i> * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode</i> * @param {*} [options] Override http request option. * @throws {RequiredError} */ listUsers(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise; }; /** * Request parameters for assignUserRoles operation in UserControllerRestApi. * @export * @interface UserControllerRestApiAssignUserRolesRequest */ export interface UserControllerRestApiAssignUserRolesRequest { /** * * @type {number} * @memberof UserControllerRestApiAssignUserRoles */ readonly id: number; /** * * @type {AssignUserRolesRequestDto} * @memberof UserControllerRestApiAssignUserRoles */ readonly assignUserRolesRequestDto: AssignUserRolesRequestDto; /** * Bearer Token: provided by the login endpoint under the name accessToken. * @type {string} * @memberof UserControllerRestApiAssignUserRoles */ readonly authorization?: string; } /** * Request parameters for deleteInvites operation in UserControllerRestApi. * @export * @interface UserControllerRestApiDeleteInvitesRequest */ export interface UserControllerRestApiDeleteInvitesRequest { /** * * @type {BatchDeleteRequestDto} * @memberof UserControllerRestApiDeleteInvites */ readonly batchDeleteRequestDto: BatchDeleteRequestDto; /** * Bearer Token: provided by the login endpoint under the name accessToken. * @type {string} * @memberof UserControllerRestApiDeleteInvites */ readonly authorization?: string; } /** * Request parameters for deleteUsers operation in UserControllerRestApi. * @export * @interface UserControllerRestApiDeleteUsersRequest */ export interface UserControllerRestApiDeleteUsersRequest { /** * * @type {BatchDeleteRequestDto} * @memberof UserControllerRestApiDeleteUsers */ readonly batchDeleteRequestDto: BatchDeleteRequestDto; /** * Bearer Token: provided by the login endpoint under the name accessToken. * @type {string} * @memberof UserControllerRestApiDeleteUsers */ readonly authorization?: string; } /** * Request parameters for disableUsers operation in UserControllerRestApi. * @export * @interface UserControllerRestApiDisableUsersRequest */ export interface UserControllerRestApiDisableUsersRequest { /** * * @type {DisableUsersRequestDto} * @memberof UserControllerRestApiDisableUsers */ readonly disableUsersRequestDto: DisableUsersRequestDto; /** * Bearer Token: provided by the login endpoint under the name accessToken. * @type {string} * @memberof UserControllerRestApiDisableUsers */ readonly authorization?: string; } /** * Request parameters for enableUsers operation in UserControllerRestApi. * @export * @interface UserControllerRestApiEnableUsersRequest */ export interface UserControllerRestApiEnableUsersRequest { /** * * @type {EnableUsersRequestDto} * @memberof UserControllerRestApiEnableUsers */ readonly enableUsersRequestDto: EnableUsersRequestDto; /** * Bearer Token: provided by the login endpoint under the name accessToken. * @type {string} * @memberof UserControllerRestApiEnableUsers */ readonly authorization?: string; } /** * Request parameters for getUser operation in UserControllerRestApi. * @export * @interface UserControllerRestApiGetUserRequest */ export interface UserControllerRestApiGetUserRequest { /** * * @type {string} * @memberof UserControllerRestApiGetUser */ readonly code: string; /** * Bearer Token: provided by the login endpoint under the name accessToken. * @type {string} * @memberof UserControllerRestApiGetUser */ readonly authorization?: string; /** * Fields to expand response by * @type {string} * @memberof UserControllerRestApiGetUser */ readonly expand?: string; } /** * Request parameters for inviteUser operation in UserControllerRestApi. * @export * @interface UserControllerRestApiInviteUserRequest */ export interface UserControllerRestApiInviteUserRequest { /** * * @type {InviteUserRequestDtoRest} * @memberof UserControllerRestApiInviteUser */ readonly inviteUserRequestDtoRest: InviteUserRequestDtoRest; /** * Bearer Token: provided by the login endpoint under the name accessToken. * @type {string} * @memberof UserControllerRestApiInviteUser */ readonly authorization?: string; } /** * Request parameters for inviteUsers operation in UserControllerRestApi. * @export * @interface UserControllerRestApiInviteUsersRequest */ export interface UserControllerRestApiInviteUsersRequest { /** * * @type {InviteUsersRequestDtoRest} * @memberof UserControllerRestApiInviteUsers */ readonly inviteUsersRequestDtoRest: InviteUsersRequestDtoRest; /** * Bearer Token: provided by the login endpoint under the name accessToken. * @type {string} * @memberof UserControllerRestApiInviteUsers */ readonly authorization?: string; } /** * Request parameters for linkUserWithPartner operation in UserControllerRestApi. * @export * @interface UserControllerRestApiLinkUserWithPartnerRequest */ export interface UserControllerRestApiLinkUserWithPartnerRequest { /** * Unique identifier for the object. * @type {string} * @memberof UserControllerRestApiLinkUserWithPartner */ readonly code: string; /** * * @type {LinkUserWithPartnerRequestDtoRest} * @memberof UserControllerRestApiLinkUserWithPartner */ readonly linkUserWithPartnerRequestDtoRest: LinkUserWithPartnerRequestDtoRest; /** * Bearer Token: provided by the login endpoint under the name accessToken. * @type {string} * @memberof UserControllerRestApiLinkUserWithPartner */ readonly authorization?: string; } /** * Request parameters for listInvites operation in UserControllerRestApi. * @export * @interface UserControllerRestApiListInvitesRequest */ export interface UserControllerRestApiListInvitesRequest { /** * Bearer Token: provided by the login endpoint under the name accessToken. * @type {string} * @memberof UserControllerRestApiListInvites */ readonly authorization?: string; /** * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10. * @type {number} * @memberof UserControllerRestApiListInvites */ readonly pageSize?: number; /** * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list. * @type {string} * @memberof UserControllerRestApiListInvites */ readonly pageToken?: string; /** * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, email, token, organizationId, ern, partnerCode</i> * @type {string} * @memberof UserControllerRestApiListInvites */ readonly filter?: string; /** * To search the list by any field, pass search=xxx to fetch the result. * @type {string} * @memberof UserControllerRestApiListInvites */ readonly search?: string; /** * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, email, expiresOn</i> * @type {string} * @memberof UserControllerRestApiListInvites */ readonly order?: string; /** * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: organizations<i> * @type {string} * @memberof UserControllerRestApiListInvites */ readonly expand?: string; /** * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, email, token, organizationId, ern, partnerCode</i> * @type {string} * @memberof UserControllerRestApiListInvites */ readonly filters?: string; } /** * Request parameters for listUsers operation in UserControllerRestApi. * @export * @interface UserControllerRestApiListUsersRequest */ export interface UserControllerRestApiListUsersRequest { /** * Bearer Token: provided by the login endpoint under the name accessToken. * @type {string} * @memberof UserControllerRestApiListUsers */ readonly authorization?: string; /** * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10. * @type {number} * @memberof UserControllerRestApiListUsers */ readonly pageSize?: number; /** * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list. * @type {string} * @memberof UserControllerRestApiListUsers */ readonly pageToken?: string; /** * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode</i> * @type {string} * @memberof UserControllerRestApiListUsers */ readonly filter?: string; /** * To search the list by any field, pass search=xxx to fetch the result. * @type {string} * @memberof UserControllerRestApiListUsers */ readonly search?: string; /** * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, email, firstName, lastName</i> * @type {string} * @memberof UserControllerRestApiListUsers */ readonly order?: string; /** * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: subscriptions, organizations<i> * @type {string} * @memberof UserControllerRestApiListUsers */ readonly expand?: string; /** * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode</i> * @type {string} * @memberof UserControllerRestApiListUsers */ readonly filters?: string; } /** * UserControllerRestApi - object-oriented interface * @export * @class UserControllerRestApi * @extends {BaseAPI} */ export declare class UserControllerRestApi extends BaseAPI { /** * This endpoint is deprecated, please refer to the policy administration service at /policy-administration-service/api. **Required Permissions** \"identity-management.roles.update\" * @param {UserControllerRestApiAssignUserRolesRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @deprecated * @throws {RequiredError} * @memberof UserControllerRestApi */ assignUserRoles(requestParameters: UserControllerRestApiAssignUserRolesRequest, options?: AxiosRequestConfig): Promise>; /** * This will deletes the users who has been invited. Supply array of ids that were returned when users has been created and this will delete it. **Required Permissions** \"tenant-management.users.delete\" * @summary Delete invited users. * @param {UserControllerRestApiDeleteInvitesRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof UserControllerRestApi */ deleteInvites(requestParameters: UserControllerRestApiDeleteInvitesRequest, options?: AxiosRequestConfig): Promise>; /** * undefined **Required Permissions** \"tenant-management.users.delete\" * @param {UserControllerRestApiDeleteUsersRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof UserControllerRestApi */ deleteUsers(requestParameters: UserControllerRestApiDeleteUsersRequest, options?: AxiosRequestConfig): Promise>; /** * undefined **Required Permissions** \"tenant-management.users.update\" * @param {UserControllerRestApiDisableUsersRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof UserControllerRestApi */ disableUsers(requestParameters: UserControllerRestApiDisableUsersRequest, options?: AxiosRequestConfig): Promise>; /** * undefined **Required Permissions** \"tenant-management.users.update\" * @param {UserControllerRestApiEnableUsersRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof UserControllerRestApi */ enableUsers(requestParameters: UserControllerRestApiEnableUsersRequest, options?: AxiosRequestConfig): Promise>; /** * undefined **Required Permissions** \"tenant-management.users.view\" * @param {UserControllerRestApiGetUserRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof UserControllerRestApi */ getUser(requestParameters: UserControllerRestApiGetUserRequest, options?: AxiosRequestConfig): Promise>; /** * This send an email to invite a user with the specific role/roles. **Required Permissions** \"tenant-management.users.create\" * @summary Invite a user * @param {UserControllerRestApiInviteUserRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof UserControllerRestApi */ inviteUser(requestParameters: UserControllerRestApiInviteUserRequest, options?: AxiosRequestConfig): Promise>; /** * This send bulk emails to invite users with the specific role/roles. **Required Permissions** \"tenant-management.users.create\" * @summary Invite batch of users * @param {UserControllerRestApiInviteUsersRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof UserControllerRestApi */ inviteUsers(requestParameters: UserControllerRestApiInviteUsersRequest, options?: AxiosRequestConfig): Promise>; /** * undefined **Required Permissions** \"partner-management.partners.update\" * @param {UserControllerRestApiLinkUserWithPartnerRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof UserControllerRestApi */ linkUserWithPartner(requestParameters: UserControllerRestApiLinkUserWithPartnerRequest, options?: AxiosRequestConfig): Promise>; /** * Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"tenant-management.users.view\" * @summary List invited users * @param {UserControllerRestApiListInvitesRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof UserControllerRestApi */ listInvites(requestParameters?: UserControllerRestApiListInvitesRequest, options?: AxiosRequestConfig): Promise>; /** * Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"tenant-management.users.view\" * @summary List users * @param {UserControllerRestApiListUsersRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof UserControllerRestApi */ listUsers(requestParameters?: UserControllerRestApiListUsersRequest, options?: AxiosRequestConfig): Promise>; }