@emilgroup/tenant-sdk-node 1.33.1-beta.8 → 1.34.1-beta.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/.openapi-generator/FILES +5 -0
  2. package/README.md +2 -2
  3. package/api/invitation-controller-rest-api.ts +561 -0
  4. package/api/invite-users-api.ts +12 -12
  5. package/api/settings-api.ts +304 -0
  6. package/api/user-controller-rest-api.ts +1413 -0
  7. package/api/users-api.ts +12 -12
  8. package/api.ts +4 -0
  9. package/base.ts +1 -0
  10. package/dist/api/invitation-controller-rest-api.d.ts +315 -0
  11. package/dist/api/invitation-controller-rest-api.js +538 -0
  12. package/dist/api/invite-users-api.d.ts +12 -12
  13. package/dist/api/invite-users-api.js +10 -10
  14. package/dist/api/settings-api.d.ts +156 -0
  15. package/dist/api/settings-api.js +268 -0
  16. package/dist/api/user-controller-rest-api.d.ts +777 -0
  17. package/dist/api/user-controller-rest-api.js +1227 -0
  18. package/dist/api/users-api.d.ts +12 -12
  19. package/dist/api/users-api.js +10 -10
  20. package/dist/api.d.ts +2 -0
  21. package/dist/api.js +2 -0
  22. package/dist/base.d.ts +2 -1
  23. package/dist/base.js +1 -0
  24. package/dist/models/get-settings-response-class.d.ts +5 -3
  25. package/dist/models/index.d.ts +3 -0
  26. package/dist/models/index.js +3 -0
  27. package/dist/models/set-setting-grpc-request-dto.d.ts +42 -0
  28. package/dist/models/set-setting-grpc-request-dto.js +15 -0
  29. package/dist/models/set-setting-request-dto.d.ts +6 -6
  30. package/dist/models/set-tenant-setting-response-class.d.ts +36 -0
  31. package/dist/models/set-tenant-setting-response-class.js +15 -0
  32. package/dist/models/set-user-setting-response-class.d.ts +36 -0
  33. package/dist/models/set-user-setting-response-class.js +15 -0
  34. package/dist/models/tenant-settings-class.d.ts +6 -0
  35. package/models/get-settings-response-class.ts +3 -3
  36. package/models/index.ts +3 -0
  37. package/models/set-setting-grpc-request-dto.ts +48 -0
  38. package/models/set-setting-request-dto.ts +6 -6
  39. package/models/set-tenant-setting-response-class.ts +42 -0
  40. package/models/set-user-setting-response-class.ts +42 -0
  41. package/models/tenant-settings-class.ts +6 -0
  42. package/package.json +2 -2
@@ -0,0 +1,777 @@
1
+ /**
2
+ * EMIL Tenant Service
3
+ * The EMIL TenantService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
+ import { Configuration } from '../configuration';
14
+ import { RequestArgs, BaseAPI } from '../base';
15
+ import { AssignUserRolesRequestDto } from '../models';
16
+ import { AssignUserRolesResponseClass } from '../models';
17
+ import { BatchDeleteRequestDto } from '../models';
18
+ import { BatchDeleteResponseClass } from '../models';
19
+ import { DisableUsersRequestDto } from '../models';
20
+ import { DisableUsersResponseClass } from '../models';
21
+ import { EnableUsersRequestDto } from '../models';
22
+ import { EnableUsersResponseClass } from '../models';
23
+ import { GetUserResponseClass } from '../models';
24
+ import { InviteUserRequestDtoRest } from '../models';
25
+ import { InviteUserResponseClass } from '../models';
26
+ import { InviteUsersRequestDtoRest } from '../models';
27
+ import { InviteUsersResponseClass } from '../models';
28
+ import { LinkUserWithPartnerRequestDtoRest } from '../models';
29
+ import { LinkUserWithPartnerResponseClass } from '../models';
30
+ import { ListInvitesResponseClass } from '../models';
31
+ import { ListUsersResponseClass } from '../models';
32
+ /**
33
+ * UserControllerRestApi - axios parameter creator
34
+ * @export
35
+ */
36
+ export declare const UserControllerRestApiAxiosParamCreator: (configuration?: Configuration) => {
37
+ /**
38
+ * This endpoint is deprecated, please refer to the policy administration service at /policy-administration-service/api. **Required Permissions** \"identity-management.roles.update\"
39
+ * @param {number} id
40
+ * @param {AssignUserRolesRequestDto} assignUserRolesRequestDto
41
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
42
+ * @param {*} [options] Override http request option.
43
+ * @deprecated
44
+ * @throws {RequiredError}
45
+ */
46
+ assignUserRoles: (id: number, assignUserRolesRequestDto: AssignUserRolesRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
47
+ /**
48
+ * 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\"
49
+ * @summary Delete invited users.
50
+ * @param {BatchDeleteRequestDto} batchDeleteRequestDto
51
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
52
+ * @param {*} [options] Override http request option.
53
+ * @throws {RequiredError}
54
+ */
55
+ deleteInvites: (batchDeleteRequestDto: BatchDeleteRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
56
+ /**
57
+ * undefined **Required Permissions** \"tenant-management.users.delete\"
58
+ * @param {BatchDeleteRequestDto} batchDeleteRequestDto
59
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
60
+ * @param {*} [options] Override http request option.
61
+ * @throws {RequiredError}
62
+ */
63
+ deleteUsers: (batchDeleteRequestDto: BatchDeleteRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
64
+ /**
65
+ * undefined **Required Permissions** \"tenant-management.users.update\"
66
+ * @param {DisableUsersRequestDto} disableUsersRequestDto
67
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
68
+ * @param {*} [options] Override http request option.
69
+ * @throws {RequiredError}
70
+ */
71
+ disableUsers: (disableUsersRequestDto: DisableUsersRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
72
+ /**
73
+ * undefined **Required Permissions** \"tenant-management.users.update\"
74
+ * @param {EnableUsersRequestDto} enableUsersRequestDto
75
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
76
+ * @param {*} [options] Override http request option.
77
+ * @throws {RequiredError}
78
+ */
79
+ enableUsers: (enableUsersRequestDto: EnableUsersRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
80
+ /**
81
+ * undefined **Required Permissions** \"tenant-management.users.view\"
82
+ * @param {string} code
83
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
84
+ * @param {string} [expand] Fields to expand response by
85
+ * @param {*} [options] Override http request option.
86
+ * @throws {RequiredError}
87
+ */
88
+ getUser: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
89
+ /**
90
+ * This send an email to invite a user with the specific role/roles. **Required Permissions** \"tenant-management.users.create\"
91
+ * @summary Invite a user
92
+ * @param {InviteUserRequestDtoRest} inviteUserRequestDtoRest
93
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
94
+ * @param {*} [options] Override http request option.
95
+ * @throws {RequiredError}
96
+ */
97
+ inviteUser: (inviteUserRequestDtoRest: InviteUserRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
98
+ /**
99
+ * This send bulk emails to invite users with the specific role/roles. **Required Permissions** \"tenant-management.users.create\"
100
+ * @summary Invite batch of users
101
+ * @param {InviteUsersRequestDtoRest} inviteUsersRequestDtoRest
102
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
103
+ * @param {*} [options] Override http request option.
104
+ * @throws {RequiredError}
105
+ */
106
+ inviteUsers: (inviteUsersRequestDtoRest: InviteUsersRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
107
+ /**
108
+ * undefined **Required Permissions** \"partner-management.partners.update\"
109
+ * @param {string} code Unique identifier for the object.
110
+ * @param {LinkUserWithPartnerRequestDtoRest} linkUserWithPartnerRequestDtoRest
111
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
112
+ * @param {*} [options] Override http request option.
113
+ * @throws {RequiredError}
114
+ */
115
+ linkUserWithPartner: (code: string, linkUserWithPartnerRequestDtoRest: LinkUserWithPartnerRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
116
+ /**
117
+ * 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\"
118
+ * @summary List invited users
119
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
120
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
121
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
122
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, email, token, organizationId, ern, partnerCode&lt;/i&gt;
123
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
124
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, email, expiresOn&lt;/i&gt;
125
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: organizations&lt;i&gt;
126
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, email, token, organizationId, ern, partnerCode&lt;/i&gt;
127
+ * @param {*} [options] Override http request option.
128
+ * @throws {RequiredError}
129
+ */
130
+ listInvites: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
131
+ /**
132
+ * 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\"
133
+ * @summary List users
134
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
135
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
136
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
137
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode&lt;/i&gt;
138
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
139
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, email, firstName, lastName&lt;/i&gt;
140
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: subscriptions, organizations&lt;i&gt;
141
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode&lt;/i&gt;
142
+ * @param {*} [options] Override http request option.
143
+ * @throws {RequiredError}
144
+ */
145
+ listUsers: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
146
+ };
147
+ /**
148
+ * UserControllerRestApi - functional programming interface
149
+ * @export
150
+ */
151
+ export declare const UserControllerRestApiFp: (configuration?: Configuration) => {
152
+ /**
153
+ * This endpoint is deprecated, please refer to the policy administration service at /policy-administration-service/api. **Required Permissions** \"identity-management.roles.update\"
154
+ * @param {number} id
155
+ * @param {AssignUserRolesRequestDto} assignUserRolesRequestDto
156
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
157
+ * @param {*} [options] Override http request option.
158
+ * @deprecated
159
+ * @throws {RequiredError}
160
+ */
161
+ assignUserRoles(id: number, assignUserRolesRequestDto: AssignUserRolesRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AssignUserRolesResponseClass>>;
162
+ /**
163
+ * 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\"
164
+ * @summary Delete invited users.
165
+ * @param {BatchDeleteRequestDto} batchDeleteRequestDto
166
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
167
+ * @param {*} [options] Override http request option.
168
+ * @throws {RequiredError}
169
+ */
170
+ deleteInvites(batchDeleteRequestDto: BatchDeleteRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BatchDeleteResponseClass>>;
171
+ /**
172
+ * undefined **Required Permissions** \"tenant-management.users.delete\"
173
+ * @param {BatchDeleteRequestDto} batchDeleteRequestDto
174
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
175
+ * @param {*} [options] Override http request option.
176
+ * @throws {RequiredError}
177
+ */
178
+ deleteUsers(batchDeleteRequestDto: BatchDeleteRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BatchDeleteResponseClass>>;
179
+ /**
180
+ * undefined **Required Permissions** \"tenant-management.users.update\"
181
+ * @param {DisableUsersRequestDto} disableUsersRequestDto
182
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
183
+ * @param {*} [options] Override http request option.
184
+ * @throws {RequiredError}
185
+ */
186
+ disableUsers(disableUsersRequestDto: DisableUsersRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DisableUsersResponseClass>>;
187
+ /**
188
+ * undefined **Required Permissions** \"tenant-management.users.update\"
189
+ * @param {EnableUsersRequestDto} enableUsersRequestDto
190
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
191
+ * @param {*} [options] Override http request option.
192
+ * @throws {RequiredError}
193
+ */
194
+ enableUsers(enableUsersRequestDto: EnableUsersRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnableUsersResponseClass>>;
195
+ /**
196
+ * undefined **Required Permissions** \"tenant-management.users.view\"
197
+ * @param {string} code
198
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
199
+ * @param {string} [expand] Fields to expand response by
200
+ * @param {*} [options] Override http request option.
201
+ * @throws {RequiredError}
202
+ */
203
+ getUser(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUserResponseClass>>;
204
+ /**
205
+ * This send an email to invite a user with the specific role/roles. **Required Permissions** \"tenant-management.users.create\"
206
+ * @summary Invite a user
207
+ * @param {InviteUserRequestDtoRest} inviteUserRequestDtoRest
208
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
209
+ * @param {*} [options] Override http request option.
210
+ * @throws {RequiredError}
211
+ */
212
+ inviteUser(inviteUserRequestDtoRest: InviteUserRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteUserResponseClass>>;
213
+ /**
214
+ * This send bulk emails to invite users with the specific role/roles. **Required Permissions** \"tenant-management.users.create\"
215
+ * @summary Invite batch of users
216
+ * @param {InviteUsersRequestDtoRest} inviteUsersRequestDtoRest
217
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
218
+ * @param {*} [options] Override http request option.
219
+ * @throws {RequiredError}
220
+ */
221
+ inviteUsers(inviteUsersRequestDtoRest: InviteUsersRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteUsersResponseClass>>;
222
+ /**
223
+ * undefined **Required Permissions** \"partner-management.partners.update\"
224
+ * @param {string} code Unique identifier for the object.
225
+ * @param {LinkUserWithPartnerRequestDtoRest} linkUserWithPartnerRequestDtoRest
226
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
227
+ * @param {*} [options] Override http request option.
228
+ * @throws {RequiredError}
229
+ */
230
+ linkUserWithPartner(code: string, linkUserWithPartnerRequestDtoRest: LinkUserWithPartnerRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LinkUserWithPartnerResponseClass>>;
231
+ /**
232
+ * 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\"
233
+ * @summary List invited users
234
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
235
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
236
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
237
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, email, token, organizationId, ern, partnerCode&lt;/i&gt;
238
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
239
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, email, expiresOn&lt;/i&gt;
240
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: organizations&lt;i&gt;
241
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, email, token, organizationId, ern, partnerCode&lt;/i&gt;
242
+ * @param {*} [options] Override http request option.
243
+ * @throws {RequiredError}
244
+ */
245
+ 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<ListInvitesResponseClass>>;
246
+ /**
247
+ * 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\"
248
+ * @summary List users
249
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
250
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
251
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
252
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode&lt;/i&gt;
253
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
254
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, email, firstName, lastName&lt;/i&gt;
255
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: subscriptions, organizations&lt;i&gt;
256
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode&lt;/i&gt;
257
+ * @param {*} [options] Override http request option.
258
+ * @throws {RequiredError}
259
+ */
260
+ 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<ListUsersResponseClass>>;
261
+ };
262
+ /**
263
+ * UserControllerRestApi - factory interface
264
+ * @export
265
+ */
266
+ export declare const UserControllerRestApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
267
+ /**
268
+ * This endpoint is deprecated, please refer to the policy administration service at /policy-administration-service/api. **Required Permissions** \"identity-management.roles.update\"
269
+ * @param {number} id
270
+ * @param {AssignUserRolesRequestDto} assignUserRolesRequestDto
271
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
272
+ * @param {*} [options] Override http request option.
273
+ * @deprecated
274
+ * @throws {RequiredError}
275
+ */
276
+ assignUserRoles(id: number, assignUserRolesRequestDto: AssignUserRolesRequestDto, authorization?: string, options?: any): AxiosPromise<AssignUserRolesResponseClass>;
277
+ /**
278
+ * 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\"
279
+ * @summary Delete invited users.
280
+ * @param {BatchDeleteRequestDto} batchDeleteRequestDto
281
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
282
+ * @param {*} [options] Override http request option.
283
+ * @throws {RequiredError}
284
+ */
285
+ deleteInvites(batchDeleteRequestDto: BatchDeleteRequestDto, authorization?: string, options?: any): AxiosPromise<BatchDeleteResponseClass>;
286
+ /**
287
+ * undefined **Required Permissions** \"tenant-management.users.delete\"
288
+ * @param {BatchDeleteRequestDto} batchDeleteRequestDto
289
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
290
+ * @param {*} [options] Override http request option.
291
+ * @throws {RequiredError}
292
+ */
293
+ deleteUsers(batchDeleteRequestDto: BatchDeleteRequestDto, authorization?: string, options?: any): AxiosPromise<BatchDeleteResponseClass>;
294
+ /**
295
+ * undefined **Required Permissions** \"tenant-management.users.update\"
296
+ * @param {DisableUsersRequestDto} disableUsersRequestDto
297
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
298
+ * @param {*} [options] Override http request option.
299
+ * @throws {RequiredError}
300
+ */
301
+ disableUsers(disableUsersRequestDto: DisableUsersRequestDto, authorization?: string, options?: any): AxiosPromise<DisableUsersResponseClass>;
302
+ /**
303
+ * undefined **Required Permissions** \"tenant-management.users.update\"
304
+ * @param {EnableUsersRequestDto} enableUsersRequestDto
305
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
306
+ * @param {*} [options] Override http request option.
307
+ * @throws {RequiredError}
308
+ */
309
+ enableUsers(enableUsersRequestDto: EnableUsersRequestDto, authorization?: string, options?: any): AxiosPromise<EnableUsersResponseClass>;
310
+ /**
311
+ * undefined **Required Permissions** \"tenant-management.users.view\"
312
+ * @param {string} code
313
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
314
+ * @param {string} [expand] Fields to expand response by
315
+ * @param {*} [options] Override http request option.
316
+ * @throws {RequiredError}
317
+ */
318
+ getUser(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetUserResponseClass>;
319
+ /**
320
+ * This send an email to invite a user with the specific role/roles. **Required Permissions** \"tenant-management.users.create\"
321
+ * @summary Invite a user
322
+ * @param {InviteUserRequestDtoRest} inviteUserRequestDtoRest
323
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
324
+ * @param {*} [options] Override http request option.
325
+ * @throws {RequiredError}
326
+ */
327
+ inviteUser(inviteUserRequestDtoRest: InviteUserRequestDtoRest, authorization?: string, options?: any): AxiosPromise<InviteUserResponseClass>;
328
+ /**
329
+ * This send bulk emails to invite users with the specific role/roles. **Required Permissions** \"tenant-management.users.create\"
330
+ * @summary Invite batch of users
331
+ * @param {InviteUsersRequestDtoRest} inviteUsersRequestDtoRest
332
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
333
+ * @param {*} [options] Override http request option.
334
+ * @throws {RequiredError}
335
+ */
336
+ inviteUsers(inviteUsersRequestDtoRest: InviteUsersRequestDtoRest, authorization?: string, options?: any): AxiosPromise<InviteUsersResponseClass>;
337
+ /**
338
+ * undefined **Required Permissions** \"partner-management.partners.update\"
339
+ * @param {string} code Unique identifier for the object.
340
+ * @param {LinkUserWithPartnerRequestDtoRest} linkUserWithPartnerRequestDtoRest
341
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
342
+ * @param {*} [options] Override http request option.
343
+ * @throws {RequiredError}
344
+ */
345
+ linkUserWithPartner(code: string, linkUserWithPartnerRequestDtoRest: LinkUserWithPartnerRequestDtoRest, authorization?: string, options?: any): AxiosPromise<LinkUserWithPartnerResponseClass>;
346
+ /**
347
+ * 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\"
348
+ * @summary List invited users
349
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
350
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
351
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
352
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, email, token, organizationId, ern, partnerCode&lt;/i&gt;
353
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
354
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, email, expiresOn&lt;/i&gt;
355
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: organizations&lt;i&gt;
356
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, email, token, organizationId, ern, partnerCode&lt;/i&gt;
357
+ * @param {*} [options] Override http request option.
358
+ * @throws {RequiredError}
359
+ */
360
+ listInvites(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListInvitesResponseClass>;
361
+ /**
362
+ * 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\"
363
+ * @summary List users
364
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
365
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
366
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
367
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode&lt;/i&gt;
368
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
369
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, email, firstName, lastName&lt;/i&gt;
370
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: subscriptions, organizations&lt;i&gt;
371
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode&lt;/i&gt;
372
+ * @param {*} [options] Override http request option.
373
+ * @throws {RequiredError}
374
+ */
375
+ listUsers(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListUsersResponseClass>;
376
+ };
377
+ /**
378
+ * Request parameters for assignUserRoles operation in UserControllerRestApi.
379
+ * @export
380
+ * @interface UserControllerRestApiAssignUserRolesRequest
381
+ */
382
+ export interface UserControllerRestApiAssignUserRolesRequest {
383
+ /**
384
+ *
385
+ * @type {number}
386
+ * @memberof UserControllerRestApiAssignUserRoles
387
+ */
388
+ readonly id: number;
389
+ /**
390
+ *
391
+ * @type {AssignUserRolesRequestDto}
392
+ * @memberof UserControllerRestApiAssignUserRoles
393
+ */
394
+ readonly assignUserRolesRequestDto: AssignUserRolesRequestDto;
395
+ /**
396
+ * Bearer Token: provided by the login endpoint under the name accessToken.
397
+ * @type {string}
398
+ * @memberof UserControllerRestApiAssignUserRoles
399
+ */
400
+ readonly authorization?: string;
401
+ }
402
+ /**
403
+ * Request parameters for deleteInvites operation in UserControllerRestApi.
404
+ * @export
405
+ * @interface UserControllerRestApiDeleteInvitesRequest
406
+ */
407
+ export interface UserControllerRestApiDeleteInvitesRequest {
408
+ /**
409
+ *
410
+ * @type {BatchDeleteRequestDto}
411
+ * @memberof UserControllerRestApiDeleteInvites
412
+ */
413
+ readonly batchDeleteRequestDto: BatchDeleteRequestDto;
414
+ /**
415
+ * Bearer Token: provided by the login endpoint under the name accessToken.
416
+ * @type {string}
417
+ * @memberof UserControllerRestApiDeleteInvites
418
+ */
419
+ readonly authorization?: string;
420
+ }
421
+ /**
422
+ * Request parameters for deleteUsers operation in UserControllerRestApi.
423
+ * @export
424
+ * @interface UserControllerRestApiDeleteUsersRequest
425
+ */
426
+ export interface UserControllerRestApiDeleteUsersRequest {
427
+ /**
428
+ *
429
+ * @type {BatchDeleteRequestDto}
430
+ * @memberof UserControllerRestApiDeleteUsers
431
+ */
432
+ readonly batchDeleteRequestDto: BatchDeleteRequestDto;
433
+ /**
434
+ * Bearer Token: provided by the login endpoint under the name accessToken.
435
+ * @type {string}
436
+ * @memberof UserControllerRestApiDeleteUsers
437
+ */
438
+ readonly authorization?: string;
439
+ }
440
+ /**
441
+ * Request parameters for disableUsers operation in UserControllerRestApi.
442
+ * @export
443
+ * @interface UserControllerRestApiDisableUsersRequest
444
+ */
445
+ export interface UserControllerRestApiDisableUsersRequest {
446
+ /**
447
+ *
448
+ * @type {DisableUsersRequestDto}
449
+ * @memberof UserControllerRestApiDisableUsers
450
+ */
451
+ readonly disableUsersRequestDto: DisableUsersRequestDto;
452
+ /**
453
+ * Bearer Token: provided by the login endpoint under the name accessToken.
454
+ * @type {string}
455
+ * @memberof UserControllerRestApiDisableUsers
456
+ */
457
+ readonly authorization?: string;
458
+ }
459
+ /**
460
+ * Request parameters for enableUsers operation in UserControllerRestApi.
461
+ * @export
462
+ * @interface UserControllerRestApiEnableUsersRequest
463
+ */
464
+ export interface UserControllerRestApiEnableUsersRequest {
465
+ /**
466
+ *
467
+ * @type {EnableUsersRequestDto}
468
+ * @memberof UserControllerRestApiEnableUsers
469
+ */
470
+ readonly enableUsersRequestDto: EnableUsersRequestDto;
471
+ /**
472
+ * Bearer Token: provided by the login endpoint under the name accessToken.
473
+ * @type {string}
474
+ * @memberof UserControllerRestApiEnableUsers
475
+ */
476
+ readonly authorization?: string;
477
+ }
478
+ /**
479
+ * Request parameters for getUser operation in UserControllerRestApi.
480
+ * @export
481
+ * @interface UserControllerRestApiGetUserRequest
482
+ */
483
+ export interface UserControllerRestApiGetUserRequest {
484
+ /**
485
+ *
486
+ * @type {string}
487
+ * @memberof UserControllerRestApiGetUser
488
+ */
489
+ readonly code: string;
490
+ /**
491
+ * Bearer Token: provided by the login endpoint under the name accessToken.
492
+ * @type {string}
493
+ * @memberof UserControllerRestApiGetUser
494
+ */
495
+ readonly authorization?: string;
496
+ /**
497
+ * Fields to expand response by
498
+ * @type {string}
499
+ * @memberof UserControllerRestApiGetUser
500
+ */
501
+ readonly expand?: string;
502
+ }
503
+ /**
504
+ * Request parameters for inviteUser operation in UserControllerRestApi.
505
+ * @export
506
+ * @interface UserControllerRestApiInviteUserRequest
507
+ */
508
+ export interface UserControllerRestApiInviteUserRequest {
509
+ /**
510
+ *
511
+ * @type {InviteUserRequestDtoRest}
512
+ * @memberof UserControllerRestApiInviteUser
513
+ */
514
+ readonly inviteUserRequestDtoRest: InviteUserRequestDtoRest;
515
+ /**
516
+ * Bearer Token: provided by the login endpoint under the name accessToken.
517
+ * @type {string}
518
+ * @memberof UserControllerRestApiInviteUser
519
+ */
520
+ readonly authorization?: string;
521
+ }
522
+ /**
523
+ * Request parameters for inviteUsers operation in UserControllerRestApi.
524
+ * @export
525
+ * @interface UserControllerRestApiInviteUsersRequest
526
+ */
527
+ export interface UserControllerRestApiInviteUsersRequest {
528
+ /**
529
+ *
530
+ * @type {InviteUsersRequestDtoRest}
531
+ * @memberof UserControllerRestApiInviteUsers
532
+ */
533
+ readonly inviteUsersRequestDtoRest: InviteUsersRequestDtoRest;
534
+ /**
535
+ * Bearer Token: provided by the login endpoint under the name accessToken.
536
+ * @type {string}
537
+ * @memberof UserControllerRestApiInviteUsers
538
+ */
539
+ readonly authorization?: string;
540
+ }
541
+ /**
542
+ * Request parameters for linkUserWithPartner operation in UserControllerRestApi.
543
+ * @export
544
+ * @interface UserControllerRestApiLinkUserWithPartnerRequest
545
+ */
546
+ export interface UserControllerRestApiLinkUserWithPartnerRequest {
547
+ /**
548
+ * Unique identifier for the object.
549
+ * @type {string}
550
+ * @memberof UserControllerRestApiLinkUserWithPartner
551
+ */
552
+ readonly code: string;
553
+ /**
554
+ *
555
+ * @type {LinkUserWithPartnerRequestDtoRest}
556
+ * @memberof UserControllerRestApiLinkUserWithPartner
557
+ */
558
+ readonly linkUserWithPartnerRequestDtoRest: LinkUserWithPartnerRequestDtoRest;
559
+ /**
560
+ * Bearer Token: provided by the login endpoint under the name accessToken.
561
+ * @type {string}
562
+ * @memberof UserControllerRestApiLinkUserWithPartner
563
+ */
564
+ readonly authorization?: string;
565
+ }
566
+ /**
567
+ * Request parameters for listInvites operation in UserControllerRestApi.
568
+ * @export
569
+ * @interface UserControllerRestApiListInvitesRequest
570
+ */
571
+ export interface UserControllerRestApiListInvitesRequest {
572
+ /**
573
+ * Bearer Token: provided by the login endpoint under the name accessToken.
574
+ * @type {string}
575
+ * @memberof UserControllerRestApiListInvites
576
+ */
577
+ readonly authorization?: string;
578
+ /**
579
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
580
+ * @type {number}
581
+ * @memberof UserControllerRestApiListInvites
582
+ */
583
+ readonly pageSize?: number;
584
+ /**
585
+ * 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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
586
+ * @type {string}
587
+ * @memberof UserControllerRestApiListInvites
588
+ */
589
+ readonly pageToken?: string;
590
+ /**
591
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, email, token, organizationId, ern, partnerCode&lt;/i&gt;
592
+ * @type {string}
593
+ * @memberof UserControllerRestApiListInvites
594
+ */
595
+ readonly filter?: string;
596
+ /**
597
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
598
+ * @type {string}
599
+ * @memberof UserControllerRestApiListInvites
600
+ */
601
+ readonly search?: string;
602
+ /**
603
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, email, expiresOn&lt;/i&gt;
604
+ * @type {string}
605
+ * @memberof UserControllerRestApiListInvites
606
+ */
607
+ readonly order?: string;
608
+ /**
609
+ * 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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: organizations&lt;i&gt;
610
+ * @type {string}
611
+ * @memberof UserControllerRestApiListInvites
612
+ */
613
+ readonly expand?: string;
614
+ /**
615
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, email, token, organizationId, ern, partnerCode&lt;/i&gt;
616
+ * @type {string}
617
+ * @memberof UserControllerRestApiListInvites
618
+ */
619
+ readonly filters?: string;
620
+ }
621
+ /**
622
+ * Request parameters for listUsers operation in UserControllerRestApi.
623
+ * @export
624
+ * @interface UserControllerRestApiListUsersRequest
625
+ */
626
+ export interface UserControllerRestApiListUsersRequest {
627
+ /**
628
+ * Bearer Token: provided by the login endpoint under the name accessToken.
629
+ * @type {string}
630
+ * @memberof UserControllerRestApiListUsers
631
+ */
632
+ readonly authorization?: string;
633
+ /**
634
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
635
+ * @type {number}
636
+ * @memberof UserControllerRestApiListUsers
637
+ */
638
+ readonly pageSize?: number;
639
+ /**
640
+ * 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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
641
+ * @type {string}
642
+ * @memberof UserControllerRestApiListUsers
643
+ */
644
+ readonly pageToken?: string;
645
+ /**
646
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode&lt;/i&gt;
647
+ * @type {string}
648
+ * @memberof UserControllerRestApiListUsers
649
+ */
650
+ readonly filter?: string;
651
+ /**
652
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
653
+ * @type {string}
654
+ * @memberof UserControllerRestApiListUsers
655
+ */
656
+ readonly search?: string;
657
+ /**
658
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, email, firstName, lastName&lt;/i&gt;
659
+ * @type {string}
660
+ * @memberof UserControllerRestApiListUsers
661
+ */
662
+ readonly order?: string;
663
+ /**
664
+ * 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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: subscriptions, organizations&lt;i&gt;
665
+ * @type {string}
666
+ * @memberof UserControllerRestApiListUsers
667
+ */
668
+ readonly expand?: string;
669
+ /**
670
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode&lt;/i&gt;
671
+ * @type {string}
672
+ * @memberof UserControllerRestApiListUsers
673
+ */
674
+ readonly filters?: string;
675
+ }
676
+ /**
677
+ * UserControllerRestApi - object-oriented interface
678
+ * @export
679
+ * @class UserControllerRestApi
680
+ * @extends {BaseAPI}
681
+ */
682
+ export declare class UserControllerRestApi extends BaseAPI {
683
+ /**
684
+ * This endpoint is deprecated, please refer to the policy administration service at /policy-administration-service/api. **Required Permissions** \"identity-management.roles.update\"
685
+ * @param {UserControllerRestApiAssignUserRolesRequest} requestParameters Request parameters.
686
+ * @param {*} [options] Override http request option.
687
+ * @deprecated
688
+ * @throws {RequiredError}
689
+ * @memberof UserControllerRestApi
690
+ */
691
+ assignUserRoles(requestParameters: UserControllerRestApiAssignUserRolesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AssignUserRolesResponseClass, any, {}>>;
692
+ /**
693
+ * 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\"
694
+ * @summary Delete invited users.
695
+ * @param {UserControllerRestApiDeleteInvitesRequest} requestParameters Request parameters.
696
+ * @param {*} [options] Override http request option.
697
+ * @throws {RequiredError}
698
+ * @memberof UserControllerRestApi
699
+ */
700
+ deleteInvites(requestParameters: UserControllerRestApiDeleteInvitesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BatchDeleteResponseClass, any, {}>>;
701
+ /**
702
+ * undefined **Required Permissions** \"tenant-management.users.delete\"
703
+ * @param {UserControllerRestApiDeleteUsersRequest} requestParameters Request parameters.
704
+ * @param {*} [options] Override http request option.
705
+ * @throws {RequiredError}
706
+ * @memberof UserControllerRestApi
707
+ */
708
+ deleteUsers(requestParameters: UserControllerRestApiDeleteUsersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BatchDeleteResponseClass, any, {}>>;
709
+ /**
710
+ * undefined **Required Permissions** \"tenant-management.users.update\"
711
+ * @param {UserControllerRestApiDisableUsersRequest} requestParameters Request parameters.
712
+ * @param {*} [options] Override http request option.
713
+ * @throws {RequiredError}
714
+ * @memberof UserControllerRestApi
715
+ */
716
+ disableUsers(requestParameters: UserControllerRestApiDisableUsersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DisableUsersResponseClass, any, {}>>;
717
+ /**
718
+ * undefined **Required Permissions** \"tenant-management.users.update\"
719
+ * @param {UserControllerRestApiEnableUsersRequest} requestParameters Request parameters.
720
+ * @param {*} [options] Override http request option.
721
+ * @throws {RequiredError}
722
+ * @memberof UserControllerRestApi
723
+ */
724
+ enableUsers(requestParameters: UserControllerRestApiEnableUsersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EnableUsersResponseClass, any, {}>>;
725
+ /**
726
+ * undefined **Required Permissions** \"tenant-management.users.view\"
727
+ * @param {UserControllerRestApiGetUserRequest} requestParameters Request parameters.
728
+ * @param {*} [options] Override http request option.
729
+ * @throws {RequiredError}
730
+ * @memberof UserControllerRestApi
731
+ */
732
+ getUser(requestParameters: UserControllerRestApiGetUserRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserResponseClass, any, {}>>;
733
+ /**
734
+ * This send an email to invite a user with the specific role/roles. **Required Permissions** \"tenant-management.users.create\"
735
+ * @summary Invite a user
736
+ * @param {UserControllerRestApiInviteUserRequest} requestParameters Request parameters.
737
+ * @param {*} [options] Override http request option.
738
+ * @throws {RequiredError}
739
+ * @memberof UserControllerRestApi
740
+ */
741
+ inviteUser(requestParameters: UserControllerRestApiInviteUserRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InviteUserResponseClass, any, {}>>;
742
+ /**
743
+ * This send bulk emails to invite users with the specific role/roles. **Required Permissions** \"tenant-management.users.create\"
744
+ * @summary Invite batch of users
745
+ * @param {UserControllerRestApiInviteUsersRequest} requestParameters Request parameters.
746
+ * @param {*} [options] Override http request option.
747
+ * @throws {RequiredError}
748
+ * @memberof UserControllerRestApi
749
+ */
750
+ inviteUsers(requestParameters: UserControllerRestApiInviteUsersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InviteUsersResponseClass, any, {}>>;
751
+ /**
752
+ * undefined **Required Permissions** \"partner-management.partners.update\"
753
+ * @param {UserControllerRestApiLinkUserWithPartnerRequest} requestParameters Request parameters.
754
+ * @param {*} [options] Override http request option.
755
+ * @throws {RequiredError}
756
+ * @memberof UserControllerRestApi
757
+ */
758
+ linkUserWithPartner(requestParameters: UserControllerRestApiLinkUserWithPartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LinkUserWithPartnerResponseClass, any, {}>>;
759
+ /**
760
+ * 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\"
761
+ * @summary List invited users
762
+ * @param {UserControllerRestApiListInvitesRequest} requestParameters Request parameters.
763
+ * @param {*} [options] Override http request option.
764
+ * @throws {RequiredError}
765
+ * @memberof UserControllerRestApi
766
+ */
767
+ listInvites(requestParameters?: UserControllerRestApiListInvitesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListInvitesResponseClass, any, {}>>;
768
+ /**
769
+ * 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\"
770
+ * @summary List users
771
+ * @param {UserControllerRestApiListUsersRequest} requestParameters Request parameters.
772
+ * @param {*} [options] Override http request option.
773
+ * @throws {RequiredError}
774
+ * @memberof UserControllerRestApi
775
+ */
776
+ listUsers(requestParameters?: UserControllerRestApiListUsersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListUsersResponseClass, any, {}>>;
777
+ }