@emilgroup/tenant-sdk 1.22.0 → 1.22.1-beta.0

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 (65) hide show
  1. package/.openapi-generator/FILES +5 -11
  2. package/README.md +2 -2
  3. package/api/dashboard-api.ts +99 -0
  4. package/api/data-report-api.ts +0 -97
  5. package/api/invite-organizations-api.ts +15 -15
  6. package/api/invite-users-api.ts +34 -137
  7. package/api/roles-api.ts +4 -0
  8. package/api/users-api.ts +18 -447
  9. package/dist/api/dashboard-api.d.ts +52 -0
  10. package/dist/api/dashboard-api.js +88 -0
  11. package/dist/api/data-report-api.d.ts +0 -51
  12. package/dist/api/data-report-api.js +0 -88
  13. package/dist/api/invite-organizations-api.d.ts +9 -9
  14. package/dist/api/invite-organizations-api.js +12 -12
  15. package/dist/api/invite-users-api.d.ts +22 -78
  16. package/dist/api/invite-users-api.js +27 -119
  17. package/dist/api/roles-api.d.ts +4 -0
  18. package/dist/api/roles-api.js +4 -0
  19. package/dist/api/users-api.d.ts +15 -242
  20. package/dist/api/users-api.js +15 -382
  21. package/dist/models/{assign-user-roles-request-dto.d.ts → create-tenant-db-config-request-dto.d.ts} +10 -10
  22. package/dist/models/{enable-user-response-class.d.ts → get-embedded-url-response-class.d.ts} +6 -7
  23. package/dist/models/index.d.ts +5 -11
  24. package/dist/models/index.js +5 -11
  25. package/dist/models/invite-class.d.ts +12 -12
  26. package/dist/models/{invite-org-request-dto.d.ts → invite-org-request-dto-rest.d.ts} +27 -14
  27. package/dist/models/invite-user-request-dto-rest.d.ts +49 -0
  28. package/dist/models/invite-users-request-dto-rest.d.ts +49 -0
  29. package/dist/models/user-class.d.ts +8 -8
  30. package/models/{assign-user-roles-request-dto.ts → create-tenant-db-config-request-dto.ts} +10 -10
  31. package/models/{enable-user-response-class.ts → get-embedded-url-response-class.ts} +6 -7
  32. package/models/index.ts +5 -11
  33. package/models/invite-class.ts +12 -12
  34. package/models/{invite-org-request-dto.ts → invite-org-request-dto-rest.ts} +27 -14
  35. package/models/invite-user-request-dto-rest.ts +55 -0
  36. package/models/invite-users-request-dto-rest.ts +55 -0
  37. package/models/user-class.ts +8 -8
  38. package/package.json +1 -1
  39. package/dist/models/assign-user-roles-response-class.d.ts +0 -25
  40. package/dist/models/create-permission-request-dto.d.ts +0 -42
  41. package/dist/models/create-role-request-dto.d.ts +0 -36
  42. package/dist/models/disable-user-response-class.d.ts +0 -25
  43. package/dist/models/enable-user-response-class.js +0 -15
  44. package/dist/models/invite-org-request-dto.js +0 -15
  45. package/dist/models/invite-user-request-dto.d.ts +0 -43
  46. package/dist/models/invite-user-request-dto.js +0 -15
  47. package/dist/models/invite-users-request-dto.d.ts +0 -36
  48. package/dist/models/invite-users-request-dto.js +0 -15
  49. package/dist/models/partner-invitation-data-dto.d.ts +0 -36
  50. package/dist/models/partner-invitation-data-dto.js +0 -15
  51. package/dist/models/update-role-request-dto.d.ts +0 -42
  52. package/dist/models/update-role-request-dto.js +0 -15
  53. package/models/assign-user-roles-response-class.ts +0 -31
  54. package/models/create-permission-request-dto.ts +0 -48
  55. package/models/create-role-request-dto.ts +0 -42
  56. package/models/disable-user-response-class.ts +0 -31
  57. package/models/invite-user-request-dto.ts +0 -49
  58. package/models/invite-users-request-dto.ts +0 -42
  59. package/models/partner-invitation-data-dto.ts +0 -42
  60. package/models/update-role-request-dto.ts +0 -48
  61. /package/dist/models/{assign-user-roles-request-dto.js → create-tenant-db-config-request-dto.js} +0 -0
  62. /package/dist/models/{assign-user-roles-response-class.js → get-embedded-url-response-class.js} +0 -0
  63. /package/dist/models/{create-permission-request-dto.js → invite-org-request-dto-rest.js} +0 -0
  64. /package/dist/models/{create-role-request-dto.js → invite-user-request-dto-rest.js} +0 -0
  65. /package/dist/models/{disable-user-response-class.js → invite-users-request-dto-rest.js} +0 -0
@@ -14,10 +14,9 @@ import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { BatchDeleteRequestDto } from '../models';
16
16
  import { BatchDeleteResponseClass } from '../models';
17
- import { DeleteResponseClass } from '../models';
18
- import { InviteUserRequestDto } from '../models';
17
+ import { InviteUserRequestDtoRest } from '../models';
19
18
  import { InviteUserResponseClass } from '../models';
20
- import { InviteUsersRequestDto } from '../models';
19
+ import { InviteUsersRequestDtoRest } from '../models';
21
20
  import { InviteUsersResponseClass } from '../models';
22
21
  import { ListInvitesResponseClass } from '../models';
23
22
  /**
@@ -25,15 +24,6 @@ import { ListInvitesResponseClass } from '../models';
25
24
  * @export
26
25
  */
27
26
  export declare const InviteUsersApiAxiosParamCreator: (configuration?: Configuration) => {
28
- /**
29
- * Permanently deletes the invited user. Supply the unique id that was returned when you created the invited user and this will delete it.
30
- * @summary Delete the invited user
31
- * @param {number} id
32
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
33
- * @param {*} [options] Override http request option.
34
- * @throws {RequiredError}
35
- */
36
- deleteInvite: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
37
27
  /**
38
28
  * 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.
39
29
  * @summary Delete invited users.
@@ -46,21 +36,21 @@ export declare const InviteUsersApiAxiosParamCreator: (configuration?: Configura
46
36
  /**
47
37
  * This send an email to invite a user with the specific role/roles.
48
38
  * @summary Invite a user
49
- * @param {InviteUserRequestDto} inviteUserRequestDto
39
+ * @param {InviteUserRequestDtoRest} inviteUserRequestDtoRest
50
40
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
51
41
  * @param {*} [options] Override http request option.
52
42
  * @throws {RequiredError}
53
43
  */
54
- inviteUser: (inviteUserRequestDto: InviteUserRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
44
+ inviteUser: (inviteUserRequestDtoRest: InviteUserRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
55
45
  /**
56
46
  * This send bulk emails to invite users with the specific role/roles.
57
47
  * @summary Invite batch of users
58
- * @param {InviteUsersRequestDto} inviteUsersRequestDto
48
+ * @param {InviteUsersRequestDtoRest} inviteUsersRequestDtoRest
59
49
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
60
50
  * @param {*} [options] Override http request option.
61
51
  * @throws {RequiredError}
62
52
  */
63
- inviteUsers: (inviteUsersRequestDto: InviteUsersRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
53
+ inviteUsers: (inviteUsersRequestDtoRest: InviteUsersRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
64
54
  /**
65
55
  * 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.
66
56
  * @summary List invited users
@@ -70,7 +60,7 @@ export declare const InviteUsersApiAxiosParamCreator: (configuration?: Configura
70
60
  * @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&lt;/i&gt;
71
61
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
72
62
  * @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: email, expiresOn&lt;/i&gt;
73
- * @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: roles, organizations&lt;i&gt;
63
+ * @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;
74
64
  * @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&lt;/i&gt;
75
65
  * @param {*} [options] Override http request option.
76
66
  * @throws {RequiredError}
@@ -82,15 +72,6 @@ export declare const InviteUsersApiAxiosParamCreator: (configuration?: Configura
82
72
  * @export
83
73
  */
84
74
  export declare const InviteUsersApiFp: (configuration?: Configuration) => {
85
- /**
86
- * Permanently deletes the invited user. Supply the unique id that was returned when you created the invited user and this will delete it.
87
- * @summary Delete the invited user
88
- * @param {number} id
89
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
90
- * @param {*} [options] Override http request option.
91
- * @throws {RequiredError}
92
- */
93
- deleteInvite(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
94
75
  /**
95
76
  * 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.
96
77
  * @summary Delete invited users.
@@ -103,21 +84,21 @@ export declare const InviteUsersApiFp: (configuration?: Configuration) => {
103
84
  /**
104
85
  * This send an email to invite a user with the specific role/roles.
105
86
  * @summary Invite a user
106
- * @param {InviteUserRequestDto} inviteUserRequestDto
87
+ * @param {InviteUserRequestDtoRest} inviteUserRequestDtoRest
107
88
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
108
89
  * @param {*} [options] Override http request option.
109
90
  * @throws {RequiredError}
110
91
  */
111
- inviteUser(inviteUserRequestDto: InviteUserRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteUserResponseClass>>;
92
+ inviteUser(inviteUserRequestDtoRest: InviteUserRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteUserResponseClass>>;
112
93
  /**
113
94
  * This send bulk emails to invite users with the specific role/roles.
114
95
  * @summary Invite batch of users
115
- * @param {InviteUsersRequestDto} inviteUsersRequestDto
96
+ * @param {InviteUsersRequestDtoRest} inviteUsersRequestDtoRest
116
97
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
117
98
  * @param {*} [options] Override http request option.
118
99
  * @throws {RequiredError}
119
100
  */
120
- inviteUsers(inviteUsersRequestDto: InviteUsersRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteUsersResponseClass>>;
101
+ inviteUsers(inviteUsersRequestDtoRest: InviteUsersRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteUsersResponseClass>>;
121
102
  /**
122
103
  * 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.
123
104
  * @summary List invited users
@@ -127,7 +108,7 @@ export declare const InviteUsersApiFp: (configuration?: Configuration) => {
127
108
  * @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&lt;/i&gt;
128
109
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
129
110
  * @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: email, expiresOn&lt;/i&gt;
130
- * @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: roles, organizations&lt;i&gt;
111
+ * @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;
131
112
  * @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&lt;/i&gt;
132
113
  * @param {*} [options] Override http request option.
133
114
  * @throws {RequiredError}
@@ -139,15 +120,6 @@ export declare const InviteUsersApiFp: (configuration?: Configuration) => {
139
120
  * @export
140
121
  */
141
122
  export declare const InviteUsersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
142
- /**
143
- * Permanently deletes the invited user. Supply the unique id that was returned when you created the invited user and this will delete it.
144
- * @summary Delete the invited user
145
- * @param {number} id
146
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
147
- * @param {*} [options] Override http request option.
148
- * @throws {RequiredError}
149
- */
150
- deleteInvite(id: number, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
151
123
  /**
152
124
  * 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.
153
125
  * @summary Delete invited users.
@@ -160,21 +132,21 @@ export declare const InviteUsersApiFactory: (configuration?: Configuration, base
160
132
  /**
161
133
  * This send an email to invite a user with the specific role/roles.
162
134
  * @summary Invite a user
163
- * @param {InviteUserRequestDto} inviteUserRequestDto
135
+ * @param {InviteUserRequestDtoRest} inviteUserRequestDtoRest
164
136
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
165
137
  * @param {*} [options] Override http request option.
166
138
  * @throws {RequiredError}
167
139
  */
168
- inviteUser(inviteUserRequestDto: InviteUserRequestDto, authorization?: string, options?: any): AxiosPromise<InviteUserResponseClass>;
140
+ inviteUser(inviteUserRequestDtoRest: InviteUserRequestDtoRest, authorization?: string, options?: any): AxiosPromise<InviteUserResponseClass>;
169
141
  /**
170
142
  * This send bulk emails to invite users with the specific role/roles.
171
143
  * @summary Invite batch of users
172
- * @param {InviteUsersRequestDto} inviteUsersRequestDto
144
+ * @param {InviteUsersRequestDtoRest} inviteUsersRequestDtoRest
173
145
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
174
146
  * @param {*} [options] Override http request option.
175
147
  * @throws {RequiredError}
176
148
  */
177
- inviteUsers(inviteUsersRequestDto: InviteUsersRequestDto, authorization?: string, options?: any): AxiosPromise<InviteUsersResponseClass>;
149
+ inviteUsers(inviteUsersRequestDtoRest: InviteUsersRequestDtoRest, authorization?: string, options?: any): AxiosPromise<InviteUsersResponseClass>;
178
150
  /**
179
151
  * 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.
180
152
  * @summary List invited users
@@ -184,32 +156,13 @@ export declare const InviteUsersApiFactory: (configuration?: Configuration, base
184
156
  * @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&lt;/i&gt;
185
157
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
186
158
  * @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: email, expiresOn&lt;/i&gt;
187
- * @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: roles, organizations&lt;i&gt;
159
+ * @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;
188
160
  * @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&lt;/i&gt;
189
161
  * @param {*} [options] Override http request option.
190
162
  * @throws {RequiredError}
191
163
  */
192
164
  listInvites(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListInvitesResponseClass>;
193
165
  };
194
- /**
195
- * Request parameters for deleteInvite operation in InviteUsersApi.
196
- * @export
197
- * @interface InviteUsersApiDeleteInviteRequest
198
- */
199
- export interface InviteUsersApiDeleteInviteRequest {
200
- /**
201
- *
202
- * @type {number}
203
- * @memberof InviteUsersApiDeleteInvite
204
- */
205
- readonly id: number;
206
- /**
207
- * Bearer Token: provided by the login endpoint under the name accessToken.
208
- * @type {string}
209
- * @memberof InviteUsersApiDeleteInvite
210
- */
211
- readonly authorization?: string;
212
- }
213
166
  /**
214
167
  * Request parameters for deleteInvites operation in InviteUsersApi.
215
168
  * @export
@@ -237,10 +190,10 @@ export interface InviteUsersApiDeleteInvitesRequest {
237
190
  export interface InviteUsersApiInviteUserRequest {
238
191
  /**
239
192
  *
240
- * @type {InviteUserRequestDto}
193
+ * @type {InviteUserRequestDtoRest}
241
194
  * @memberof InviteUsersApiInviteUser
242
195
  */
243
- readonly inviteUserRequestDto: InviteUserRequestDto;
196
+ readonly inviteUserRequestDtoRest: InviteUserRequestDtoRest;
244
197
  /**
245
198
  * Bearer Token: provided by the login endpoint under the name accessToken.
246
199
  * @type {string}
@@ -256,10 +209,10 @@ export interface InviteUsersApiInviteUserRequest {
256
209
  export interface InviteUsersApiInviteUsersRequest {
257
210
  /**
258
211
  *
259
- * @type {InviteUsersRequestDto}
212
+ * @type {InviteUsersRequestDtoRest}
260
213
  * @memberof InviteUsersApiInviteUsers
261
214
  */
262
- readonly inviteUsersRequestDto: InviteUsersRequestDto;
215
+ readonly inviteUsersRequestDtoRest: InviteUsersRequestDtoRest;
263
216
  /**
264
217
  * Bearer Token: provided by the login endpoint under the name accessToken.
265
218
  * @type {string}
@@ -310,7 +263,7 @@ export interface InviteUsersApiListInvitesRequest {
310
263
  */
311
264
  readonly order?: string;
312
265
  /**
313
- * 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: roles, organizations&lt;i&gt;
266
+ * 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;
314
267
  * @type {string}
315
268
  * @memberof InviteUsersApiListInvites
316
269
  */
@@ -329,15 +282,6 @@ export interface InviteUsersApiListInvitesRequest {
329
282
  * @extends {BaseAPI}
330
283
  */
331
284
  export declare class InviteUsersApi extends BaseAPI {
332
- /**
333
- * Permanently deletes the invited user. Supply the unique id that was returned when you created the invited user and this will delete it.
334
- * @summary Delete the invited user
335
- * @param {InviteUsersApiDeleteInviteRequest} requestParameters Request parameters.
336
- * @param {*} [options] Override http request option.
337
- * @throws {RequiredError}
338
- * @memberof InviteUsersApi
339
- */
340
- deleteInvite(requestParameters: InviteUsersApiDeleteInviteRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
341
285
  /**
342
286
  * 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.
343
287
  * @summary Delete invited users.
@@ -92,54 +92,6 @@ var base_1 = require("../base");
92
92
  var InviteUsersApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
- /**
96
- * Permanently deletes the invited user. Supply the unique id that was returned when you created the invited user and this will delete it.
97
- * @summary Delete the invited user
98
- * @param {number} id
99
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
100
- * @param {*} [options] Override http request option.
101
- * @throws {RequiredError}
102
- */
103
- deleteInvite: function (id, authorization, options) {
104
- if (options === void 0) { options = {}; }
105
- return __awaiter(_this, void 0, void 0, function () {
106
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
107
- return __generator(this, function (_a) {
108
- switch (_a.label) {
109
- case 0:
110
- // verify required parameter 'id' is not null or undefined
111
- (0, common_1.assertParamExists)('deleteInvite', 'id', id);
112
- localVarPath = "/tenantservice/v1/users/invites/{id}"
113
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
114
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
115
- if (configuration) {
116
- baseOptions = configuration.baseOptions;
117
- baseAccessToken = configuration.accessToken;
118
- }
119
- localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
120
- localVarHeaderParameter = {};
121
- localVarQueryParameter = {};
122
- // authentication bearer required
123
- // http bearer authentication required
124
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
125
- case 1:
126
- // authentication bearer required
127
- // http bearer authentication required
128
- _a.sent();
129
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
130
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
131
- }
132
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
133
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
134
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
135
- return [2 /*return*/, {
136
- url: (0, common_1.toPathString)(localVarUrlObj),
137
- options: localVarRequestOptions,
138
- }];
139
- }
140
- });
141
- });
142
- },
143
95
  /**
144
96
  * 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.
145
97
  * @summary Delete invited users.
@@ -192,20 +144,20 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
192
144
  /**
193
145
  * This send an email to invite a user with the specific role/roles.
194
146
  * @summary Invite a user
195
- * @param {InviteUserRequestDto} inviteUserRequestDto
147
+ * @param {InviteUserRequestDtoRest} inviteUserRequestDtoRest
196
148
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
197
149
  * @param {*} [options] Override http request option.
198
150
  * @throws {RequiredError}
199
151
  */
200
- inviteUser: function (inviteUserRequestDto, authorization, options) {
152
+ inviteUser: function (inviteUserRequestDtoRest, authorization, options) {
201
153
  if (options === void 0) { options = {}; }
202
154
  return __awaiter(_this, void 0, void 0, function () {
203
155
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
204
156
  return __generator(this, function (_a) {
205
157
  switch (_a.label) {
206
158
  case 0:
207
- // verify required parameter 'inviteUserRequestDto' is not null or undefined
208
- (0, common_1.assertParamExists)('inviteUser', 'inviteUserRequestDto', inviteUserRequestDto);
159
+ // verify required parameter 'inviteUserRequestDtoRest' is not null or undefined
160
+ (0, common_1.assertParamExists)('inviteUser', 'inviteUserRequestDtoRest', inviteUserRequestDtoRest);
209
161
  localVarPath = "/tenantservice/v1/users/invites";
210
162
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
211
163
  if (configuration) {
@@ -229,7 +181,7 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
229
181
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
230
182
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
231
183
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
232
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inviteUserRequestDto, localVarRequestOptions, configuration);
184
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inviteUserRequestDtoRest, localVarRequestOptions, configuration);
233
185
  return [2 /*return*/, {
234
186
  url: (0, common_1.toPathString)(localVarUrlObj),
235
187
  options: localVarRequestOptions,
@@ -241,20 +193,20 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
241
193
  /**
242
194
  * This send bulk emails to invite users with the specific role/roles.
243
195
  * @summary Invite batch of users
244
- * @param {InviteUsersRequestDto} inviteUsersRequestDto
196
+ * @param {InviteUsersRequestDtoRest} inviteUsersRequestDtoRest
245
197
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
246
198
  * @param {*} [options] Override http request option.
247
199
  * @throws {RequiredError}
248
200
  */
249
- inviteUsers: function (inviteUsersRequestDto, authorization, options) {
201
+ inviteUsers: function (inviteUsersRequestDtoRest, authorization, options) {
250
202
  if (options === void 0) { options = {}; }
251
203
  return __awaiter(_this, void 0, void 0, function () {
252
204
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
253
205
  return __generator(this, function (_a) {
254
206
  switch (_a.label) {
255
207
  case 0:
256
- // verify required parameter 'inviteUsersRequestDto' is not null or undefined
257
- (0, common_1.assertParamExists)('inviteUsers', 'inviteUsersRequestDto', inviteUsersRequestDto);
208
+ // verify required parameter 'inviteUsersRequestDtoRest' is not null or undefined
209
+ (0, common_1.assertParamExists)('inviteUsers', 'inviteUsersRequestDtoRest', inviteUsersRequestDtoRest);
258
210
  localVarPath = "/tenantservice/v1/users/invites/batch";
259
211
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
260
212
  if (configuration) {
@@ -278,7 +230,7 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
278
230
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
279
231
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
280
232
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
281
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inviteUsersRequestDto, localVarRequestOptions, configuration);
233
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inviteUsersRequestDtoRest, localVarRequestOptions, configuration);
282
234
  return [2 /*return*/, {
283
235
  url: (0, common_1.toPathString)(localVarUrlObj),
284
236
  options: localVarRequestOptions,
@@ -296,7 +248,7 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
296
248
  * @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&lt;/i&gt;
297
249
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
298
250
  * @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: email, expiresOn&lt;/i&gt;
299
- * @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: roles, organizations&lt;i&gt;
251
+ * @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;
300
252
  * @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&lt;/i&gt;
301
253
  * @param {*} [options] Override http request option.
302
254
  * @throws {RequiredError}
@@ -369,27 +321,6 @@ exports.InviteUsersApiAxiosParamCreator = InviteUsersApiAxiosParamCreator;
369
321
  var InviteUsersApiFp = function (configuration) {
370
322
  var localVarAxiosParamCreator = (0, exports.InviteUsersApiAxiosParamCreator)(configuration);
371
323
  return {
372
- /**
373
- * Permanently deletes the invited user. Supply the unique id that was returned when you created the invited user and this will delete it.
374
- * @summary Delete the invited user
375
- * @param {number} id
376
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
377
- * @param {*} [options] Override http request option.
378
- * @throws {RequiredError}
379
- */
380
- deleteInvite: function (id, authorization, options) {
381
- return __awaiter(this, void 0, void 0, function () {
382
- var localVarAxiosArgs;
383
- return __generator(this, function (_a) {
384
- switch (_a.label) {
385
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteInvite(id, authorization, options)];
386
- case 1:
387
- localVarAxiosArgs = _a.sent();
388
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
389
- }
390
- });
391
- });
392
- },
393
324
  /**
394
325
  * 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.
395
326
  * @summary Delete invited users.
@@ -414,17 +345,17 @@ var InviteUsersApiFp = function (configuration) {
414
345
  /**
415
346
  * This send an email to invite a user with the specific role/roles.
416
347
  * @summary Invite a user
417
- * @param {InviteUserRequestDto} inviteUserRequestDto
348
+ * @param {InviteUserRequestDtoRest} inviteUserRequestDtoRest
418
349
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
419
350
  * @param {*} [options] Override http request option.
420
351
  * @throws {RequiredError}
421
352
  */
422
- inviteUser: function (inviteUserRequestDto, authorization, options) {
353
+ inviteUser: function (inviteUserRequestDtoRest, authorization, options) {
423
354
  return __awaiter(this, void 0, void 0, function () {
424
355
  var localVarAxiosArgs;
425
356
  return __generator(this, function (_a) {
426
357
  switch (_a.label) {
427
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteUser(inviteUserRequestDto, authorization, options)];
358
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteUser(inviteUserRequestDtoRest, authorization, options)];
428
359
  case 1:
429
360
  localVarAxiosArgs = _a.sent();
430
361
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -435,17 +366,17 @@ var InviteUsersApiFp = function (configuration) {
435
366
  /**
436
367
  * This send bulk emails to invite users with the specific role/roles.
437
368
  * @summary Invite batch of users
438
- * @param {InviteUsersRequestDto} inviteUsersRequestDto
369
+ * @param {InviteUsersRequestDtoRest} inviteUsersRequestDtoRest
439
370
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
440
371
  * @param {*} [options] Override http request option.
441
372
  * @throws {RequiredError}
442
373
  */
443
- inviteUsers: function (inviteUsersRequestDto, authorization, options) {
374
+ inviteUsers: function (inviteUsersRequestDtoRest, authorization, options) {
444
375
  return __awaiter(this, void 0, void 0, function () {
445
376
  var localVarAxiosArgs;
446
377
  return __generator(this, function (_a) {
447
378
  switch (_a.label) {
448
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteUsers(inviteUsersRequestDto, authorization, options)];
379
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteUsers(inviteUsersRequestDtoRest, authorization, options)];
449
380
  case 1:
450
381
  localVarAxiosArgs = _a.sent();
451
382
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -462,7 +393,7 @@ var InviteUsersApiFp = function (configuration) {
462
393
  * @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&lt;/i&gt;
463
394
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
464
395
  * @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: email, expiresOn&lt;/i&gt;
465
- * @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: roles, organizations&lt;i&gt;
396
+ * @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;
466
397
  * @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&lt;/i&gt;
467
398
  * @param {*} [options] Override http request option.
468
399
  * @throws {RequiredError}
@@ -490,17 +421,6 @@ exports.InviteUsersApiFp = InviteUsersApiFp;
490
421
  var InviteUsersApiFactory = function (configuration, basePath, axios) {
491
422
  var localVarFp = (0, exports.InviteUsersApiFp)(configuration);
492
423
  return {
493
- /**
494
- * Permanently deletes the invited user. Supply the unique id that was returned when you created the invited user and this will delete it.
495
- * @summary Delete the invited user
496
- * @param {number} id
497
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
498
- * @param {*} [options] Override http request option.
499
- * @throws {RequiredError}
500
- */
501
- deleteInvite: function (id, authorization, options) {
502
- return localVarFp.deleteInvite(id, authorization, options).then(function (request) { return request(axios, basePath); });
503
- },
504
424
  /**
505
425
  * 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.
506
426
  * @summary Delete invited users.
@@ -515,24 +435,24 @@ var InviteUsersApiFactory = function (configuration, basePath, axios) {
515
435
  /**
516
436
  * This send an email to invite a user with the specific role/roles.
517
437
  * @summary Invite a user
518
- * @param {InviteUserRequestDto} inviteUserRequestDto
438
+ * @param {InviteUserRequestDtoRest} inviteUserRequestDtoRest
519
439
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
520
440
  * @param {*} [options] Override http request option.
521
441
  * @throws {RequiredError}
522
442
  */
523
- inviteUser: function (inviteUserRequestDto, authorization, options) {
524
- return localVarFp.inviteUser(inviteUserRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
443
+ inviteUser: function (inviteUserRequestDtoRest, authorization, options) {
444
+ return localVarFp.inviteUser(inviteUserRequestDtoRest, authorization, options).then(function (request) { return request(axios, basePath); });
525
445
  },
526
446
  /**
527
447
  * This send bulk emails to invite users with the specific role/roles.
528
448
  * @summary Invite batch of users
529
- * @param {InviteUsersRequestDto} inviteUsersRequestDto
449
+ * @param {InviteUsersRequestDtoRest} inviteUsersRequestDtoRest
530
450
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
531
451
  * @param {*} [options] Override http request option.
532
452
  * @throws {RequiredError}
533
453
  */
534
- inviteUsers: function (inviteUsersRequestDto, authorization, options) {
535
- return localVarFp.inviteUsers(inviteUsersRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
454
+ inviteUsers: function (inviteUsersRequestDtoRest, authorization, options) {
455
+ return localVarFp.inviteUsers(inviteUsersRequestDtoRest, authorization, options).then(function (request) { return request(axios, basePath); });
536
456
  },
537
457
  /**
538
458
  * 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.
@@ -543,7 +463,7 @@ var InviteUsersApiFactory = function (configuration, basePath, axios) {
543
463
  * @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&lt;/i&gt;
544
464
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
545
465
  * @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: email, expiresOn&lt;/i&gt;
546
- * @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: roles, organizations&lt;i&gt;
466
+ * @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;
547
467
  * @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&lt;/i&gt;
548
468
  * @param {*} [options] Override http request option.
549
469
  * @throws {RequiredError}
@@ -565,18 +485,6 @@ var InviteUsersApi = /** @class */ (function (_super) {
565
485
  function InviteUsersApi() {
566
486
  return _super !== null && _super.apply(this, arguments) || this;
567
487
  }
568
- /**
569
- * Permanently deletes the invited user. Supply the unique id that was returned when you created the invited user and this will delete it.
570
- * @summary Delete the invited user
571
- * @param {InviteUsersApiDeleteInviteRequest} requestParameters Request parameters.
572
- * @param {*} [options] Override http request option.
573
- * @throws {RequiredError}
574
- * @memberof InviteUsersApi
575
- */
576
- InviteUsersApi.prototype.deleteInvite = function (requestParameters, options) {
577
- var _this = this;
578
- return (0, exports.InviteUsersApiFp)(this.configuration).deleteInvite(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
579
- };
580
488
  /**
581
489
  * 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.
582
490
  * @summary Delete invited users.
@@ -599,7 +507,7 @@ var InviteUsersApi = /** @class */ (function (_super) {
599
507
  */
600
508
  InviteUsersApi.prototype.inviteUser = function (requestParameters, options) {
601
509
  var _this = this;
602
- return (0, exports.InviteUsersApiFp)(this.configuration).inviteUser(requestParameters.inviteUserRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
510
+ return (0, exports.InviteUsersApiFp)(this.configuration).inviteUser(requestParameters.inviteUserRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
603
511
  };
604
512
  /**
605
513
  * This send bulk emails to invite users with the specific role/roles.
@@ -611,7 +519,7 @@ var InviteUsersApi = /** @class */ (function (_super) {
611
519
  */
612
520
  InviteUsersApi.prototype.inviteUsers = function (requestParameters, options) {
613
521
  var _this = this;
614
- return (0, exports.InviteUsersApiFp)(this.configuration).inviteUsers(requestParameters.inviteUsersRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
522
+ return (0, exports.InviteUsersApiFp)(this.configuration).inviteUsers(requestParameters.inviteUsersRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
615
523
  };
616
524
  /**
617
525
  * 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.
@@ -29,6 +29,7 @@ export declare const RolesApiAxiosParamCreator: (configuration?: Configuration)
29
29
  * @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.
30
30
  * @param {string} [expand] You can expand roles in this endpoint. By default, permissions will be an empty array.
31
31
  * @param {*} [options] Override http request option.
32
+ * @deprecated
32
33
  * @throws {RequiredError}
33
34
  */
34
35
  listRoles: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
@@ -49,6 +50,7 @@ export declare const RolesApiFp: (configuration?: Configuration) => {
49
50
  * @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.
50
51
  * @param {string} [expand] You can expand roles in this endpoint. By default, permissions will be an empty array.
51
52
  * @param {*} [options] Override http request option.
53
+ * @deprecated
52
54
  * @throws {RequiredError}
53
55
  */
54
56
  listRoles(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRolesResponseClass>>;
@@ -69,6 +71,7 @@ export declare const RolesApiFactory: (configuration?: Configuration, basePath?:
69
71
  * @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.
70
72
  * @param {string} [expand] You can expand roles in this endpoint. By default, permissions will be an empty array.
71
73
  * @param {*} [options] Override http request option.
74
+ * @deprecated
72
75
  * @throws {RequiredError}
73
76
  */
74
77
  listRoles(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListRolesResponseClass>;
@@ -134,6 +137,7 @@ export declare class RolesApi extends BaseAPI {
134
137
  * @summary List roles
135
138
  * @param {RolesApiListRolesRequest} requestParameters Request parameters.
136
139
  * @param {*} [options] Override http request option.
140
+ * @deprecated
137
141
  * @throws {RequiredError}
138
142
  * @memberof RolesApi
139
143
  */
@@ -103,6 +103,7 @@ var RolesApiAxiosParamCreator = function (configuration) {
103
103
  * @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.
104
104
  * @param {string} [expand] You can expand roles in this endpoint. By default, permissions will be an empty array.
105
105
  * @param {*} [options] Override http request option.
106
+ * @deprecated
106
107
  * @throws {RequiredError}
107
108
  */
108
109
  listRoles: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
@@ -181,6 +182,7 @@ var RolesApiFp = function (configuration) {
181
182
  * @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.
182
183
  * @param {string} [expand] You can expand roles in this endpoint. By default, permissions will be an empty array.
183
184
  * @param {*} [options] Override http request option.
185
+ * @deprecated
184
186
  * @throws {RequiredError}
185
187
  */
186
188
  listRoles: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
@@ -217,6 +219,7 @@ var RolesApiFactory = function (configuration, basePath, axios) {
217
219
  * @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.
218
220
  * @param {string} [expand] You can expand roles in this endpoint. By default, permissions will be an empty array.
219
221
  * @param {*} [options] Override http request option.
222
+ * @deprecated
220
223
  * @throws {RequiredError}
221
224
  */
222
225
  listRoles: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
@@ -241,6 +244,7 @@ var RolesApi = /** @class */ (function (_super) {
241
244
  * @summary List roles
242
245
  * @param {RolesApiListRolesRequest} requestParameters Request parameters.
243
246
  * @param {*} [options] Override http request option.
247
+ * @deprecated
244
248
  * @throws {RequiredError}
245
249
  * @memberof RolesApi
246
250
  */