@emilgroup/tenant-sdk-node 1.23.0 → 1.24.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 (48) hide show
  1. package/.openapi-generator/FILES +5 -7
  2. package/README.md +2 -2
  3. package/api/invite-organizations-api.ts +15 -15
  4. package/api/invite-users-api.ts +34 -34
  5. package/api/roles-api.ts +4 -0
  6. package/api/users-api.ts +124 -4
  7. package/base.ts +7 -15
  8. package/dist/api/invite-organizations-api.d.ts +9 -9
  9. package/dist/api/invite-organizations-api.js +12 -12
  10. package/dist/api/invite-users-api.d.ts +22 -22
  11. package/dist/api/invite-users-api.js +27 -27
  12. package/dist/api/roles-api.d.ts +4 -0
  13. package/dist/api/roles-api.js +4 -0
  14. package/dist/api/users-api.d.ts +70 -4
  15. package/dist/api/users-api.js +102 -3
  16. package/dist/base.d.ts +1 -3
  17. package/dist/base.js +20 -26
  18. package/dist/models/{invite-users-request-dto.d.ts → assign-user-roles-request-dto.d.ts} +8 -14
  19. package/dist/models/assign-user-roles-response-class.d.ts +25 -0
  20. package/dist/models/index.d.ts +5 -7
  21. package/dist/models/index.js +5 -7
  22. package/dist/models/{invite-org-request-dto.d.ts → invite-org-request-dto-rest.d.ts} +27 -14
  23. package/dist/models/invite-user-request-dto-rest.d.ts +49 -0
  24. package/dist/models/invite-users-request-dto-rest.d.ts +49 -0
  25. package/models/{invite-users-request-dto.ts → assign-user-roles-request-dto.ts} +8 -14
  26. package/models/assign-user-roles-response-class.ts +31 -0
  27. package/models/index.ts +5 -7
  28. package/models/{invite-org-request-dto.ts → invite-org-request-dto-rest.ts} +27 -14
  29. package/models/invite-user-request-dto-rest.ts +55 -0
  30. package/models/invite-users-request-dto-rest.ts +55 -0
  31. package/package.json +1 -1
  32. package/dist/models/create-permission-request-dto.d.ts +0 -42
  33. package/dist/models/create-role-request-dto.d.ts +0 -36
  34. package/dist/models/invite-user-request-dto.d.ts +0 -43
  35. package/dist/models/partner-invitation-data-dto.d.ts +0 -36
  36. package/dist/models/partner-invitation-data-dto.js +0 -15
  37. package/dist/models/update-role-request-dto.d.ts +0 -42
  38. package/dist/models/update-role-request-dto.js +0 -15
  39. package/models/create-permission-request-dto.ts +0 -48
  40. package/models/create-role-request-dto.ts +0 -42
  41. package/models/invite-user-request-dto.ts +0 -49
  42. package/models/partner-invitation-data-dto.ts +0 -42
  43. package/models/update-role-request-dto.ts +0 -48
  44. /package/dist/models/{create-permission-request-dto.js → assign-user-roles-request-dto.js} +0 -0
  45. /package/dist/models/{create-role-request-dto.js → assign-user-roles-response-class.js} +0 -0
  46. /package/dist/models/{invite-org-request-dto.js → invite-org-request-dto-rest.js} +0 -0
  47. /package/dist/models/{invite-user-request-dto.js → invite-user-request-dto-rest.js} +0 -0
  48. /package/dist/models/{invite-users-request-dto.js → invite-users-request-dto-rest.js} +0 -0
package/base.ts CHANGED
@@ -79,7 +79,6 @@ export class BaseAPI {
79
79
  protected configuration: Configuration;
80
80
  private username?: string;
81
81
  private password?: string;
82
- private permissions?: string;
83
82
 
84
83
  constructor(configuration?: Configuration, protected basePath: string = BASE_PATH, protected axios: AxiosInstance = globalAxios) {
85
84
  if (configuration) {
@@ -150,10 +149,6 @@ export class BaseAPI {
150
149
  this.configuration.basePath = env;
151
150
  }
152
151
 
153
- getPermissions(): Array<string> {
154
- return this.permissions.split(',');
155
- }
156
-
157
152
  async authorize(username: string, password: string): Promise<void> {
158
153
  const options: AxiosRequestConfig = {
159
154
  method: 'POST',
@@ -168,21 +163,20 @@ export class BaseAPI {
168
163
 
169
164
  const response = await globalAxios.request<LoginClass>(options);
170
165
 
171
- const { data: { accessToken, permissions } } = response;
166
+ const { data: { accessToken } } = response;
172
167
  this.configuration.username = username;
173
168
  this.configuration.accessToken = `Bearer ${accessToken}`;
174
- this.permissions = permissions;
175
169
 
176
170
  const refreshToken = this.extractRefreshToken(response)
177
171
  this.configuration.refreshToken = refreshToken;
178
172
  }
179
173
 
180
- async refreshTokenInternal(): Promise<LoginClass> {
174
+ async refreshTokenInternal(): Promise<string> {
181
175
  const { username, refreshToken } = this.configuration;
182
176
 
183
177
 
184
178
  if (!username || !refreshToken) {
185
- throw new Error('Failed to refresh token.');
179
+ return '';
186
180
  }
187
181
 
188
182
  const options: AxiosRequestConfig = {
@@ -196,9 +190,9 @@ export class BaseAPI {
196
190
  withCredentials: true,
197
191
  };
198
192
 
199
- const response = await globalAxios.request<LoginClass>(options);
193
+ const { data: { accessToken } } = await globalAxios.request<LoginClass>(options);
200
194
 
201
- return response.data;
195
+ return accessToken;
202
196
  }
203
197
 
204
198
  private extractRefreshToken(response: AxiosResponse): string {
@@ -227,9 +221,8 @@ export class BaseAPI {
227
221
  if (err.response.status === 401 && !originalConfig._retry) {
228
222
  originalConfig._retry = true;
229
223
  try {
230
- const { accessToken: tokenString, permissions } = await this.refreshTokenInternal();
224
+ const tokenString = await this.refreshTokenInternal();
231
225
  const accessToken = `Bearer ${tokenString}`;
232
- this.permissions = permissions;
233
226
 
234
227
  originalConfig.headers['Authorization'] = `Bearer ${accessToken}`
235
228
 
@@ -253,9 +246,8 @@ export class BaseAPI {
253
246
  ){
254
247
  _retry_count++;
255
248
  try {
256
- const { accessToken: tokenString, permissions } = await this.refreshTokenInternal();
249
+ const tokenString = await this.refreshTokenInternal();
257
250
  const accessToken = `Bearer ${tokenString}`;
258
- this.permissions = permissions;
259
251
 
260
252
  _retry = true;
261
253
  originalConfig.headers['Authorization'] = accessToken;
@@ -12,7 +12,7 @@
12
12
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
- import { InviteOrgRequestDto } from '../models';
15
+ import { InviteOrgRequestDtoRest } from '../models';
16
16
  import { OrgInvitationResponseClass } from '../models';
17
17
  /**
18
18
  * InviteOrganizationsApi - axios parameter creator
@@ -22,12 +22,12 @@ export declare const InviteOrganizationsApiAxiosParamCreator: (configuration?: C
22
22
  /**
23
23
  * This sends an email to invite an organization.
24
24
  * @summary Invite an organization
25
- * @param {InviteOrgRequestDto} inviteOrgRequestDto
25
+ * @param {InviteOrgRequestDtoRest} inviteOrgRequestDtoRest
26
26
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
27
27
  * @param {*} [options] Override http request option.
28
28
  * @throws {RequiredError}
29
29
  */
30
- inviteOrg: (inviteOrgRequestDto: InviteOrgRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
30
+ inviteOrg: (inviteOrgRequestDtoRest: InviteOrgRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
31
31
  };
32
32
  /**
33
33
  * InviteOrganizationsApi - functional programming interface
@@ -37,12 +37,12 @@ export declare const InviteOrganizationsApiFp: (configuration?: Configuration) =
37
37
  /**
38
38
  * This sends an email to invite an organization.
39
39
  * @summary Invite an organization
40
- * @param {InviteOrgRequestDto} inviteOrgRequestDto
40
+ * @param {InviteOrgRequestDtoRest} inviteOrgRequestDtoRest
41
41
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
42
42
  * @param {*} [options] Override http request option.
43
43
  * @throws {RequiredError}
44
44
  */
45
- inviteOrg(inviteOrgRequestDto: InviteOrgRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrgInvitationResponseClass>>;
45
+ inviteOrg(inviteOrgRequestDtoRest: InviteOrgRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrgInvitationResponseClass>>;
46
46
  };
47
47
  /**
48
48
  * InviteOrganizationsApi - factory interface
@@ -52,12 +52,12 @@ export declare const InviteOrganizationsApiFactory: (configuration?: Configurati
52
52
  /**
53
53
  * This sends an email to invite an organization.
54
54
  * @summary Invite an organization
55
- * @param {InviteOrgRequestDto} inviteOrgRequestDto
55
+ * @param {InviteOrgRequestDtoRest} inviteOrgRequestDtoRest
56
56
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
57
57
  * @param {*} [options] Override http request option.
58
58
  * @throws {RequiredError}
59
59
  */
60
- inviteOrg(inviteOrgRequestDto: InviteOrgRequestDto, authorization?: string, options?: any): AxiosPromise<OrgInvitationResponseClass>;
60
+ inviteOrg(inviteOrgRequestDtoRest: InviteOrgRequestDtoRest, authorization?: string, options?: any): AxiosPromise<OrgInvitationResponseClass>;
61
61
  };
62
62
  /**
63
63
  * Request parameters for inviteOrg operation in InviteOrganizationsApi.
@@ -67,10 +67,10 @@ export declare const InviteOrganizationsApiFactory: (configuration?: Configurati
67
67
  export interface InviteOrganizationsApiInviteOrgRequest {
68
68
  /**
69
69
  *
70
- * @type {InviteOrgRequestDto}
70
+ * @type {InviteOrgRequestDtoRest}
71
71
  * @memberof InviteOrganizationsApiInviteOrg
72
72
  */
73
- readonly inviteOrgRequestDto: InviteOrgRequestDto;
73
+ readonly inviteOrgRequestDtoRest: InviteOrgRequestDtoRest;
74
74
  /**
75
75
  * Bearer Token: provided by the login endpoint under the name accessToken.
76
76
  * @type {string}
@@ -99,20 +99,20 @@ var InviteOrganizationsApiAxiosParamCreator = function (configuration) {
99
99
  /**
100
100
  * This sends an email to invite an organization.
101
101
  * @summary Invite an organization
102
- * @param {InviteOrgRequestDto} inviteOrgRequestDto
102
+ * @param {InviteOrgRequestDtoRest} inviteOrgRequestDtoRest
103
103
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
104
104
  * @param {*} [options] Override http request option.
105
105
  * @throws {RequiredError}
106
106
  */
107
- inviteOrg: function (inviteOrgRequestDto, authorization, options) {
107
+ inviteOrg: function (inviteOrgRequestDtoRest, authorization, options) {
108
108
  if (options === void 0) { options = {}; }
109
109
  return __awaiter(_this, void 0, void 0, function () {
110
110
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
111
111
  return __generator(this, function (_a) {
112
112
  switch (_a.label) {
113
113
  case 0:
114
- // verify required parameter 'inviteOrgRequestDto' is not null or undefined
115
- (0, common_1.assertParamExists)('inviteOrg', 'inviteOrgRequestDto', inviteOrgRequestDto);
114
+ // verify required parameter 'inviteOrgRequestDtoRest' is not null or undefined
115
+ (0, common_1.assertParamExists)('inviteOrg', 'inviteOrgRequestDtoRest', inviteOrgRequestDtoRest);
116
116
  localVarPath = "/tenantservice/v1/invitations/organizations";
117
117
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
118
118
  if (configuration) {
@@ -136,7 +136,7 @@ var InviteOrganizationsApiAxiosParamCreator = function (configuration) {
136
136
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
137
137
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
138
138
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
139
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inviteOrgRequestDto, localVarRequestOptions, configuration);
139
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inviteOrgRequestDtoRest, localVarRequestOptions, configuration);
140
140
  return [2 /*return*/, {
141
141
  url: (0, common_1.toPathString)(localVarUrlObj),
142
142
  options: localVarRequestOptions,
@@ -158,17 +158,17 @@ var InviteOrganizationsApiFp = function (configuration) {
158
158
  /**
159
159
  * This sends an email to invite an organization.
160
160
  * @summary Invite an organization
161
- * @param {InviteOrgRequestDto} inviteOrgRequestDto
161
+ * @param {InviteOrgRequestDtoRest} inviteOrgRequestDtoRest
162
162
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
163
163
  * @param {*} [options] Override http request option.
164
164
  * @throws {RequiredError}
165
165
  */
166
- inviteOrg: function (inviteOrgRequestDto, authorization, options) {
166
+ inviteOrg: function (inviteOrgRequestDtoRest, authorization, options) {
167
167
  return __awaiter(this, void 0, void 0, function () {
168
168
  var localVarAxiosArgs;
169
169
  return __generator(this, function (_a) {
170
170
  switch (_a.label) {
171
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteOrg(inviteOrgRequestDto, authorization, options)];
171
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteOrg(inviteOrgRequestDtoRest, authorization, options)];
172
172
  case 1:
173
173
  localVarAxiosArgs = _a.sent();
174
174
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -189,13 +189,13 @@ var InviteOrganizationsApiFactory = function (configuration, basePath, axios) {
189
189
  /**
190
190
  * This sends an email to invite an organization.
191
191
  * @summary Invite an organization
192
- * @param {InviteOrgRequestDto} inviteOrgRequestDto
192
+ * @param {InviteOrgRequestDtoRest} inviteOrgRequestDtoRest
193
193
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
194
194
  * @param {*} [options] Override http request option.
195
195
  * @throws {RequiredError}
196
196
  */
197
- inviteOrg: function (inviteOrgRequestDto, authorization, options) {
198
- return localVarFp.inviteOrg(inviteOrgRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
197
+ inviteOrg: function (inviteOrgRequestDtoRest, authorization, options) {
198
+ return localVarFp.inviteOrg(inviteOrgRequestDtoRest, authorization, options).then(function (request) { return request(axios, basePath); });
199
199
  },
200
200
  };
201
201
  };
@@ -221,7 +221,7 @@ var InviteOrganizationsApi = /** @class */ (function (_super) {
221
221
  */
222
222
  InviteOrganizationsApi.prototype.inviteOrg = function (requestParameters, options) {
223
223
  var _this = this;
224
- return (0, exports.InviteOrganizationsApiFp)(this.configuration).inviteOrg(requestParameters.inviteOrgRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
224
+ return (0, exports.InviteOrganizationsApiFp)(this.configuration).inviteOrg(requestParameters.inviteOrgRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
225
225
  };
226
226
  return InviteOrganizationsApi;
227
227
  }(base_1.BaseAPI));
@@ -14,9 +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 { InviteUserRequestDto } from '../models';
17
+ import { InviteUserRequestDtoRest } from '../models';
18
18
  import { InviteUserResponseClass } from '../models';
19
- import { InviteUsersRequestDto } from '../models';
19
+ import { InviteUsersRequestDtoRest } from '../models';
20
20
  import { InviteUsersResponseClass } from '../models';
21
21
  import { ListInvitesResponseClass } from '../models';
22
22
  /**
@@ -36,21 +36,21 @@ export declare const InviteUsersApiAxiosParamCreator: (configuration?: Configura
36
36
  /**
37
37
  * This send an email to invite a user with the specific role/roles.
38
38
  * @summary Invite a user
39
- * @param {InviteUserRequestDto} inviteUserRequestDto
39
+ * @param {InviteUserRequestDtoRest} inviteUserRequestDtoRest
40
40
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
41
41
  * @param {*} [options] Override http request option.
42
42
  * @throws {RequiredError}
43
43
  */
44
- inviteUser: (inviteUserRequestDto: InviteUserRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
44
+ inviteUser: (inviteUserRequestDtoRest: InviteUserRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
45
45
  /**
46
46
  * This send bulk emails to invite users with the specific role/roles.
47
47
  * @summary Invite batch of users
48
- * @param {InviteUsersRequestDto} inviteUsersRequestDto
48
+ * @param {InviteUsersRequestDtoRest} inviteUsersRequestDtoRest
49
49
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
50
50
  * @param {*} [options] Override http request option.
51
51
  * @throws {RequiredError}
52
52
  */
53
- inviteUsers: (inviteUsersRequestDto: InviteUsersRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
53
+ inviteUsers: (inviteUsersRequestDtoRest: InviteUsersRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
54
54
  /**
55
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.
56
56
  * @summary List invited users
@@ -60,7 +60,7 @@ export declare const InviteUsersApiAxiosParamCreator: (configuration?: Configura
60
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, partnerCode&lt;/i&gt;
61
61
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
62
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;
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: 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;
64
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, partnerCode&lt;/i&gt;
65
65
  * @param {*} [options] Override http request option.
66
66
  * @throws {RequiredError}
@@ -84,21 +84,21 @@ export declare const InviteUsersApiFp: (configuration?: Configuration) => {
84
84
  /**
85
85
  * This send an email to invite a user with the specific role/roles.
86
86
  * @summary Invite a user
87
- * @param {InviteUserRequestDto} inviteUserRequestDto
87
+ * @param {InviteUserRequestDtoRest} inviteUserRequestDtoRest
88
88
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
89
89
  * @param {*} [options] Override http request option.
90
90
  * @throws {RequiredError}
91
91
  */
92
- 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>>;
93
93
  /**
94
94
  * This send bulk emails to invite users with the specific role/roles.
95
95
  * @summary Invite batch of users
96
- * @param {InviteUsersRequestDto} inviteUsersRequestDto
96
+ * @param {InviteUsersRequestDtoRest} inviteUsersRequestDtoRest
97
97
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
98
98
  * @param {*} [options] Override http request option.
99
99
  * @throws {RequiredError}
100
100
  */
101
- 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>>;
102
102
  /**
103
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.
104
104
  * @summary List invited users
@@ -108,7 +108,7 @@ export declare const InviteUsersApiFp: (configuration?: Configuration) => {
108
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, partnerCode&lt;/i&gt;
109
109
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
110
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;
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: 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;
112
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, partnerCode&lt;/i&gt;
113
113
  * @param {*} [options] Override http request option.
114
114
  * @throws {RequiredError}
@@ -132,21 +132,21 @@ export declare const InviteUsersApiFactory: (configuration?: Configuration, base
132
132
  /**
133
133
  * This send an email to invite a user with the specific role/roles.
134
134
  * @summary Invite a user
135
- * @param {InviteUserRequestDto} inviteUserRequestDto
135
+ * @param {InviteUserRequestDtoRest} inviteUserRequestDtoRest
136
136
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
137
137
  * @param {*} [options] Override http request option.
138
138
  * @throws {RequiredError}
139
139
  */
140
- inviteUser(inviteUserRequestDto: InviteUserRequestDto, authorization?: string, options?: any): AxiosPromise<InviteUserResponseClass>;
140
+ inviteUser(inviteUserRequestDtoRest: InviteUserRequestDtoRest, authorization?: string, options?: any): AxiosPromise<InviteUserResponseClass>;
141
141
  /**
142
142
  * This send bulk emails to invite users with the specific role/roles.
143
143
  * @summary Invite batch of users
144
- * @param {InviteUsersRequestDto} inviteUsersRequestDto
144
+ * @param {InviteUsersRequestDtoRest} inviteUsersRequestDtoRest
145
145
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
146
146
  * @param {*} [options] Override http request option.
147
147
  * @throws {RequiredError}
148
148
  */
149
- inviteUsers(inviteUsersRequestDto: InviteUsersRequestDto, authorization?: string, options?: any): AxiosPromise<InviteUsersResponseClass>;
149
+ inviteUsers(inviteUsersRequestDtoRest: InviteUsersRequestDtoRest, authorization?: string, options?: any): AxiosPromise<InviteUsersResponseClass>;
150
150
  /**
151
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.
152
152
  * @summary List invited users
@@ -156,7 +156,7 @@ export declare const InviteUsersApiFactory: (configuration?: Configuration, base
156
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, partnerCode&lt;/i&gt;
157
157
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
158
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;
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: 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;
160
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, partnerCode&lt;/i&gt;
161
161
  * @param {*} [options] Override http request option.
162
162
  * @throws {RequiredError}
@@ -190,10 +190,10 @@ export interface InviteUsersApiDeleteInvitesRequest {
190
190
  export interface InviteUsersApiInviteUserRequest {
191
191
  /**
192
192
  *
193
- * @type {InviteUserRequestDto}
193
+ * @type {InviteUserRequestDtoRest}
194
194
  * @memberof InviteUsersApiInviteUser
195
195
  */
196
- readonly inviteUserRequestDto: InviteUserRequestDto;
196
+ readonly inviteUserRequestDtoRest: InviteUserRequestDtoRest;
197
197
  /**
198
198
  * Bearer Token: provided by the login endpoint under the name accessToken.
199
199
  * @type {string}
@@ -209,10 +209,10 @@ export interface InviteUsersApiInviteUserRequest {
209
209
  export interface InviteUsersApiInviteUsersRequest {
210
210
  /**
211
211
  *
212
- * @type {InviteUsersRequestDto}
212
+ * @type {InviteUsersRequestDtoRest}
213
213
  * @memberof InviteUsersApiInviteUsers
214
214
  */
215
- readonly inviteUsersRequestDto: InviteUsersRequestDto;
215
+ readonly inviteUsersRequestDtoRest: InviteUsersRequestDtoRest;
216
216
  /**
217
217
  * Bearer Token: provided by the login endpoint under the name accessToken.
218
218
  * @type {string}
@@ -263,7 +263,7 @@ export interface InviteUsersApiListInvitesRequest {
263
263
  */
264
264
  readonly order?: string;
265
265
  /**
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: 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;
267
267
  * @type {string}
268
268
  * @memberof InviteUsersApiListInvites
269
269
  */
@@ -148,20 +148,20 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
148
148
  /**
149
149
  * This send an email to invite a user with the specific role/roles.
150
150
  * @summary Invite a user
151
- * @param {InviteUserRequestDto} inviteUserRequestDto
151
+ * @param {InviteUserRequestDtoRest} inviteUserRequestDtoRest
152
152
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
153
153
  * @param {*} [options] Override http request option.
154
154
  * @throws {RequiredError}
155
155
  */
156
- inviteUser: function (inviteUserRequestDto, authorization, options) {
156
+ inviteUser: function (inviteUserRequestDtoRest, authorization, options) {
157
157
  if (options === void 0) { options = {}; }
158
158
  return __awaiter(_this, void 0, void 0, function () {
159
159
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
160
160
  return __generator(this, function (_a) {
161
161
  switch (_a.label) {
162
162
  case 0:
163
- // verify required parameter 'inviteUserRequestDto' is not null or undefined
164
- (0, common_1.assertParamExists)('inviteUser', 'inviteUserRequestDto', inviteUserRequestDto);
163
+ // verify required parameter 'inviteUserRequestDtoRest' is not null or undefined
164
+ (0, common_1.assertParamExists)('inviteUser', 'inviteUserRequestDtoRest', inviteUserRequestDtoRest);
165
165
  localVarPath = "/tenantservice/v1/users/invites";
166
166
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
167
167
  if (configuration) {
@@ -185,7 +185,7 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
185
185
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
186
186
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
187
187
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
188
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inviteUserRequestDto, localVarRequestOptions, configuration);
188
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inviteUserRequestDtoRest, localVarRequestOptions, configuration);
189
189
  return [2 /*return*/, {
190
190
  url: (0, common_1.toPathString)(localVarUrlObj),
191
191
  options: localVarRequestOptions,
@@ -197,20 +197,20 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
197
197
  /**
198
198
  * This send bulk emails to invite users with the specific role/roles.
199
199
  * @summary Invite batch of users
200
- * @param {InviteUsersRequestDto} inviteUsersRequestDto
200
+ * @param {InviteUsersRequestDtoRest} inviteUsersRequestDtoRest
201
201
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
202
202
  * @param {*} [options] Override http request option.
203
203
  * @throws {RequiredError}
204
204
  */
205
- inviteUsers: function (inviteUsersRequestDto, authorization, options) {
205
+ inviteUsers: function (inviteUsersRequestDtoRest, authorization, options) {
206
206
  if (options === void 0) { options = {}; }
207
207
  return __awaiter(_this, void 0, void 0, function () {
208
208
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
209
209
  return __generator(this, function (_a) {
210
210
  switch (_a.label) {
211
211
  case 0:
212
- // verify required parameter 'inviteUsersRequestDto' is not null or undefined
213
- (0, common_1.assertParamExists)('inviteUsers', 'inviteUsersRequestDto', inviteUsersRequestDto);
212
+ // verify required parameter 'inviteUsersRequestDtoRest' is not null or undefined
213
+ (0, common_1.assertParamExists)('inviteUsers', 'inviteUsersRequestDtoRest', inviteUsersRequestDtoRest);
214
214
  localVarPath = "/tenantservice/v1/users/invites/batch";
215
215
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
216
216
  if (configuration) {
@@ -234,7 +234,7 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
234
234
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
235
235
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
236
236
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
237
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inviteUsersRequestDto, localVarRequestOptions, configuration);
237
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inviteUsersRequestDtoRest, localVarRequestOptions, configuration);
238
238
  return [2 /*return*/, {
239
239
  url: (0, common_1.toPathString)(localVarUrlObj),
240
240
  options: localVarRequestOptions,
@@ -252,7 +252,7 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
252
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, email, token, organizationId, ern, partnerCode&lt;/i&gt;
253
253
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
254
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: email, expiresOn&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: roles, organizations&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: organizations&lt;i&gt;
256
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, email, token, organizationId, ern, partnerCode&lt;/i&gt;
257
257
  * @param {*} [options] Override http request option.
258
258
  * @throws {RequiredError}
@@ -349,17 +349,17 @@ var InviteUsersApiFp = function (configuration) {
349
349
  /**
350
350
  * This send an email to invite a user with the specific role/roles.
351
351
  * @summary Invite a user
352
- * @param {InviteUserRequestDto} inviteUserRequestDto
352
+ * @param {InviteUserRequestDtoRest} inviteUserRequestDtoRest
353
353
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
354
354
  * @param {*} [options] Override http request option.
355
355
  * @throws {RequiredError}
356
356
  */
357
- inviteUser: function (inviteUserRequestDto, authorization, options) {
357
+ inviteUser: function (inviteUserRequestDtoRest, authorization, options) {
358
358
  return __awaiter(this, void 0, void 0, function () {
359
359
  var localVarAxiosArgs;
360
360
  return __generator(this, function (_a) {
361
361
  switch (_a.label) {
362
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteUser(inviteUserRequestDto, authorization, options)];
362
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteUser(inviteUserRequestDtoRest, authorization, options)];
363
363
  case 1:
364
364
  localVarAxiosArgs = _a.sent();
365
365
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -370,17 +370,17 @@ var InviteUsersApiFp = function (configuration) {
370
370
  /**
371
371
  * This send bulk emails to invite users with the specific role/roles.
372
372
  * @summary Invite batch of users
373
- * @param {InviteUsersRequestDto} inviteUsersRequestDto
373
+ * @param {InviteUsersRequestDtoRest} inviteUsersRequestDtoRest
374
374
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
375
375
  * @param {*} [options] Override http request option.
376
376
  * @throws {RequiredError}
377
377
  */
378
- inviteUsers: function (inviteUsersRequestDto, authorization, options) {
378
+ inviteUsers: function (inviteUsersRequestDtoRest, authorization, options) {
379
379
  return __awaiter(this, void 0, void 0, function () {
380
380
  var localVarAxiosArgs;
381
381
  return __generator(this, function (_a) {
382
382
  switch (_a.label) {
383
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteUsers(inviteUsersRequestDto, authorization, options)];
383
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteUsers(inviteUsersRequestDtoRest, authorization, options)];
384
384
  case 1:
385
385
  localVarAxiosArgs = _a.sent();
386
386
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -397,7 +397,7 @@ var InviteUsersApiFp = function (configuration) {
397
397
  * @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;
398
398
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
399
399
  * @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;
400
- * @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;
400
+ * @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;
401
401
  * @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;
402
402
  * @param {*} [options] Override http request option.
403
403
  * @throws {RequiredError}
@@ -439,24 +439,24 @@ var InviteUsersApiFactory = function (configuration, basePath, axios) {
439
439
  /**
440
440
  * This send an email to invite a user with the specific role/roles.
441
441
  * @summary Invite a user
442
- * @param {InviteUserRequestDto} inviteUserRequestDto
442
+ * @param {InviteUserRequestDtoRest} inviteUserRequestDtoRest
443
443
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
444
444
  * @param {*} [options] Override http request option.
445
445
  * @throws {RequiredError}
446
446
  */
447
- inviteUser: function (inviteUserRequestDto, authorization, options) {
448
- return localVarFp.inviteUser(inviteUserRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
447
+ inviteUser: function (inviteUserRequestDtoRest, authorization, options) {
448
+ return localVarFp.inviteUser(inviteUserRequestDtoRest, authorization, options).then(function (request) { return request(axios, basePath); });
449
449
  },
450
450
  /**
451
451
  * This send bulk emails to invite users with the specific role/roles.
452
452
  * @summary Invite batch of users
453
- * @param {InviteUsersRequestDto} inviteUsersRequestDto
453
+ * @param {InviteUsersRequestDtoRest} inviteUsersRequestDtoRest
454
454
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
455
455
  * @param {*} [options] Override http request option.
456
456
  * @throws {RequiredError}
457
457
  */
458
- inviteUsers: function (inviteUsersRequestDto, authorization, options) {
459
- return localVarFp.inviteUsers(inviteUsersRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
458
+ inviteUsers: function (inviteUsersRequestDtoRest, authorization, options) {
459
+ return localVarFp.inviteUsers(inviteUsersRequestDtoRest, authorization, options).then(function (request) { return request(axios, basePath); });
460
460
  },
461
461
  /**
462
462
  * 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.
@@ -467,7 +467,7 @@ var InviteUsersApiFactory = function (configuration, basePath, axios) {
467
467
  * @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;
468
468
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
469
469
  * @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;
470
- * @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;
470
+ * @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;
471
471
  * @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;
472
472
  * @param {*} [options] Override http request option.
473
473
  * @throws {RequiredError}
@@ -511,7 +511,7 @@ var InviteUsersApi = /** @class */ (function (_super) {
511
511
  */
512
512
  InviteUsersApi.prototype.inviteUser = function (requestParameters, options) {
513
513
  var _this = this;
514
- return (0, exports.InviteUsersApiFp)(this.configuration).inviteUser(requestParameters.inviteUserRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
514
+ return (0, exports.InviteUsersApiFp)(this.configuration).inviteUser(requestParameters.inviteUserRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
515
515
  };
516
516
  /**
517
517
  * This send bulk emails to invite users with the specific role/roles.
@@ -523,7 +523,7 @@ var InviteUsersApi = /** @class */ (function (_super) {
523
523
  */
524
524
  InviteUsersApi.prototype.inviteUsers = function (requestParameters, options) {
525
525
  var _this = this;
526
- return (0, exports.InviteUsersApiFp)(this.configuration).inviteUsers(requestParameters.inviteUsersRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
526
+ return (0, exports.InviteUsersApiFp)(this.configuration).inviteUsers(requestParameters.inviteUsersRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
527
527
  };
528
528
  /**
529
529
  * 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
  */