@emilgroup/tenant-sdk 1.24.0 → 1.25.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 (45) 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/dist/api/invite-organizations-api.d.ts +9 -9
  8. package/dist/api/invite-organizations-api.js +12 -12
  9. package/dist/api/invite-users-api.d.ts +22 -22
  10. package/dist/api/invite-users-api.js +27 -27
  11. package/dist/api/roles-api.d.ts +4 -0
  12. package/dist/api/roles-api.js +4 -0
  13. package/dist/api/users-api.d.ts +70 -4
  14. package/dist/api/users-api.js +102 -3
  15. package/dist/models/{invite-users-request-dto.d.ts → assign-user-roles-request-dto.d.ts} +8 -14
  16. package/dist/models/assign-user-roles-response-class.d.ts +25 -0
  17. package/dist/models/index.d.ts +5 -7
  18. package/dist/models/index.js +5 -7
  19. package/dist/models/{invite-org-request-dto.d.ts → invite-org-request-dto-rest.d.ts} +27 -14
  20. package/dist/models/invite-user-request-dto-rest.d.ts +49 -0
  21. package/dist/models/invite-users-request-dto-rest.d.ts +49 -0
  22. package/models/{invite-users-request-dto.ts → assign-user-roles-request-dto.ts} +8 -14
  23. package/models/assign-user-roles-response-class.ts +31 -0
  24. package/models/index.ts +5 -7
  25. package/models/{invite-org-request-dto.ts → invite-org-request-dto-rest.ts} +27 -14
  26. package/models/invite-user-request-dto-rest.ts +55 -0
  27. package/models/invite-users-request-dto-rest.ts +55 -0
  28. package/package.json +1 -1
  29. package/dist/models/create-permission-request-dto.d.ts +0 -42
  30. package/dist/models/create-role-request-dto.d.ts +0 -36
  31. package/dist/models/invite-user-request-dto.d.ts +0 -43
  32. package/dist/models/partner-invitation-data-dto.d.ts +0 -36
  33. package/dist/models/partner-invitation-data-dto.js +0 -15
  34. package/dist/models/update-role-request-dto.d.ts +0 -42
  35. package/dist/models/update-role-request-dto.js +0 -15
  36. package/models/create-permission-request-dto.ts +0 -48
  37. package/models/create-role-request-dto.ts +0 -42
  38. package/models/invite-user-request-dto.ts +0 -49
  39. package/models/partner-invitation-data-dto.ts +0 -42
  40. package/models/update-role-request-dto.ts +0 -48
  41. /package/dist/models/{create-permission-request-dto.js → assign-user-roles-request-dto.js} +0 -0
  42. /package/dist/models/{create-role-request-dto.js → assign-user-roles-response-class.js} +0 -0
  43. /package/dist/models/{invite-org-request-dto.js → invite-org-request-dto-rest.js} +0 -0
  44. /package/dist/models/{invite-user-request-dto.js → invite-user-request-dto-rest.js} +0 -0
  45. /package/dist/models/{invite-users-request-dto.js → invite-users-request-dto-rest.js} +0 -0
@@ -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}
@@ -95,20 +95,20 @@ var InviteOrganizationsApiAxiosParamCreator = function (configuration) {
95
95
  /**
96
96
  * This sends an email to invite an organization.
97
97
  * @summary Invite an organization
98
- * @param {InviteOrgRequestDto} inviteOrgRequestDto
98
+ * @param {InviteOrgRequestDtoRest} inviteOrgRequestDtoRest
99
99
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
100
100
  * @param {*} [options] Override http request option.
101
101
  * @throws {RequiredError}
102
102
  */
103
- inviteOrg: function (inviteOrgRequestDto, authorization, options) {
103
+ inviteOrg: function (inviteOrgRequestDtoRest, authorization, options) {
104
104
  if (options === void 0) { options = {}; }
105
105
  return __awaiter(_this, void 0, void 0, function () {
106
106
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
107
107
  return __generator(this, function (_a) {
108
108
  switch (_a.label) {
109
109
  case 0:
110
- // verify required parameter 'inviteOrgRequestDto' is not null or undefined
111
- (0, common_1.assertParamExists)('inviteOrg', 'inviteOrgRequestDto', inviteOrgRequestDto);
110
+ // verify required parameter 'inviteOrgRequestDtoRest' is not null or undefined
111
+ (0, common_1.assertParamExists)('inviteOrg', 'inviteOrgRequestDtoRest', inviteOrgRequestDtoRest);
112
112
  localVarPath = "/tenantservice/v1/invitations/organizations";
113
113
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
114
114
  if (configuration) {
@@ -132,7 +132,7 @@ var InviteOrganizationsApiAxiosParamCreator = function (configuration) {
132
132
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
133
133
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
134
134
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
135
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inviteOrgRequestDto, localVarRequestOptions, configuration);
135
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inviteOrgRequestDtoRest, localVarRequestOptions, configuration);
136
136
  return [2 /*return*/, {
137
137
  url: (0, common_1.toPathString)(localVarUrlObj),
138
138
  options: localVarRequestOptions,
@@ -154,17 +154,17 @@ var InviteOrganizationsApiFp = function (configuration) {
154
154
  /**
155
155
  * This sends an email to invite an organization.
156
156
  * @summary Invite an organization
157
- * @param {InviteOrgRequestDto} inviteOrgRequestDto
157
+ * @param {InviteOrgRequestDtoRest} inviteOrgRequestDtoRest
158
158
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
159
159
  * @param {*} [options] Override http request option.
160
160
  * @throws {RequiredError}
161
161
  */
162
- inviteOrg: function (inviteOrgRequestDto, authorization, options) {
162
+ inviteOrg: function (inviteOrgRequestDtoRest, authorization, options) {
163
163
  return __awaiter(this, void 0, void 0, function () {
164
164
  var localVarAxiosArgs;
165
165
  return __generator(this, function (_a) {
166
166
  switch (_a.label) {
167
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteOrg(inviteOrgRequestDto, authorization, options)];
167
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteOrg(inviteOrgRequestDtoRest, authorization, options)];
168
168
  case 1:
169
169
  localVarAxiosArgs = _a.sent();
170
170
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -185,13 +185,13 @@ var InviteOrganizationsApiFactory = function (configuration, basePath, axios) {
185
185
  /**
186
186
  * This sends an email to invite an organization.
187
187
  * @summary Invite an organization
188
- * @param {InviteOrgRequestDto} inviteOrgRequestDto
188
+ * @param {InviteOrgRequestDtoRest} inviteOrgRequestDtoRest
189
189
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
190
190
  * @param {*} [options] Override http request option.
191
191
  * @throws {RequiredError}
192
192
  */
193
- inviteOrg: function (inviteOrgRequestDto, authorization, options) {
194
- return localVarFp.inviteOrg(inviteOrgRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
193
+ inviteOrg: function (inviteOrgRequestDtoRest, authorization, options) {
194
+ return localVarFp.inviteOrg(inviteOrgRequestDtoRest, authorization, options).then(function (request) { return request(axios, basePath); });
195
195
  },
196
196
  };
197
197
  };
@@ -217,7 +217,7 @@ var InviteOrganizationsApi = /** @class */ (function (_super) {
217
217
  */
218
218
  InviteOrganizationsApi.prototype.inviteOrg = function (requestParameters, options) {
219
219
  var _this = this;
220
- return (0, exports.InviteOrganizationsApiFp)(this.configuration).inviteOrg(requestParameters.inviteOrgRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
220
+ return (0, exports.InviteOrganizationsApiFp)(this.configuration).inviteOrg(requestParameters.inviteOrgRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
221
221
  };
222
222
  return InviteOrganizationsApi;
223
223
  }(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
  */
@@ -144,20 +144,20 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
144
144
  /**
145
145
  * This send an email to invite a user with the specific role/roles.
146
146
  * @summary Invite a user
147
- * @param {InviteUserRequestDto} inviteUserRequestDto
147
+ * @param {InviteUserRequestDtoRest} inviteUserRequestDtoRest
148
148
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
149
149
  * @param {*} [options] Override http request option.
150
150
  * @throws {RequiredError}
151
151
  */
152
- inviteUser: function (inviteUserRequestDto, authorization, options) {
152
+ inviteUser: function (inviteUserRequestDtoRest, authorization, options) {
153
153
  if (options === void 0) { options = {}; }
154
154
  return __awaiter(_this, void 0, void 0, function () {
155
155
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
156
156
  return __generator(this, function (_a) {
157
157
  switch (_a.label) {
158
158
  case 0:
159
- // verify required parameter 'inviteUserRequestDto' is not null or undefined
160
- (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);
161
161
  localVarPath = "/tenantservice/v1/users/invites";
162
162
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
163
163
  if (configuration) {
@@ -181,7 +181,7 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
181
181
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
182
182
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
183
183
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
184
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inviteUserRequestDto, localVarRequestOptions, configuration);
184
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inviteUserRequestDtoRest, localVarRequestOptions, configuration);
185
185
  return [2 /*return*/, {
186
186
  url: (0, common_1.toPathString)(localVarUrlObj),
187
187
  options: localVarRequestOptions,
@@ -193,20 +193,20 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
193
193
  /**
194
194
  * This send bulk emails to invite users with the specific role/roles.
195
195
  * @summary Invite batch of users
196
- * @param {InviteUsersRequestDto} inviteUsersRequestDto
196
+ * @param {InviteUsersRequestDtoRest} inviteUsersRequestDtoRest
197
197
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
198
198
  * @param {*} [options] Override http request option.
199
199
  * @throws {RequiredError}
200
200
  */
201
- inviteUsers: function (inviteUsersRequestDto, authorization, options) {
201
+ inviteUsers: function (inviteUsersRequestDtoRest, authorization, options) {
202
202
  if (options === void 0) { options = {}; }
203
203
  return __awaiter(_this, void 0, void 0, function () {
204
204
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
205
205
  return __generator(this, function (_a) {
206
206
  switch (_a.label) {
207
207
  case 0:
208
- // verify required parameter 'inviteUsersRequestDto' is not null or undefined
209
- (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);
210
210
  localVarPath = "/tenantservice/v1/users/invites/batch";
211
211
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
212
212
  if (configuration) {
@@ -230,7 +230,7 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
230
230
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
231
231
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
232
232
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
233
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inviteUsersRequestDto, localVarRequestOptions, configuration);
233
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inviteUsersRequestDtoRest, localVarRequestOptions, configuration);
234
234
  return [2 /*return*/, {
235
235
  url: (0, common_1.toPathString)(localVarUrlObj),
236
236
  options: localVarRequestOptions,
@@ -248,7 +248,7 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
248
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, partnerCode&lt;/i&gt;
249
249
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
250
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;
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: 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;
252
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, partnerCode&lt;/i&gt;
253
253
  * @param {*} [options] Override http request option.
254
254
  * @throws {RequiredError}
@@ -345,17 +345,17 @@ var InviteUsersApiFp = function (configuration) {
345
345
  /**
346
346
  * This send an email to invite a user with the specific role/roles.
347
347
  * @summary Invite a user
348
- * @param {InviteUserRequestDto} inviteUserRequestDto
348
+ * @param {InviteUserRequestDtoRest} inviteUserRequestDtoRest
349
349
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
350
350
  * @param {*} [options] Override http request option.
351
351
  * @throws {RequiredError}
352
352
  */
353
- inviteUser: function (inviteUserRequestDto, authorization, options) {
353
+ inviteUser: function (inviteUserRequestDtoRest, authorization, options) {
354
354
  return __awaiter(this, void 0, void 0, function () {
355
355
  var localVarAxiosArgs;
356
356
  return __generator(this, function (_a) {
357
357
  switch (_a.label) {
358
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteUser(inviteUserRequestDto, authorization, options)];
358
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteUser(inviteUserRequestDtoRest, authorization, options)];
359
359
  case 1:
360
360
  localVarAxiosArgs = _a.sent();
361
361
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -366,17 +366,17 @@ var InviteUsersApiFp = function (configuration) {
366
366
  /**
367
367
  * This send bulk emails to invite users with the specific role/roles.
368
368
  * @summary Invite batch of users
369
- * @param {InviteUsersRequestDto} inviteUsersRequestDto
369
+ * @param {InviteUsersRequestDtoRest} inviteUsersRequestDtoRest
370
370
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
371
371
  * @param {*} [options] Override http request option.
372
372
  * @throws {RequiredError}
373
373
  */
374
- inviteUsers: function (inviteUsersRequestDto, authorization, options) {
374
+ inviteUsers: function (inviteUsersRequestDtoRest, authorization, options) {
375
375
  return __awaiter(this, void 0, void 0, function () {
376
376
  var localVarAxiosArgs;
377
377
  return __generator(this, function (_a) {
378
378
  switch (_a.label) {
379
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteUsers(inviteUsersRequestDto, authorization, options)];
379
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteUsers(inviteUsersRequestDtoRest, authorization, options)];
380
380
  case 1:
381
381
  localVarAxiosArgs = _a.sent();
382
382
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -393,7 +393,7 @@ var InviteUsersApiFp = function (configuration) {
393
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, partnerCode&lt;/i&gt;
394
394
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
395
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;
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: 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;
397
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, partnerCode&lt;/i&gt;
398
398
  * @param {*} [options] Override http request option.
399
399
  * @throws {RequiredError}
@@ -435,24 +435,24 @@ var InviteUsersApiFactory = function (configuration, basePath, axios) {
435
435
  /**
436
436
  * This send an email to invite a user with the specific role/roles.
437
437
  * @summary Invite a user
438
- * @param {InviteUserRequestDto} inviteUserRequestDto
438
+ * @param {InviteUserRequestDtoRest} inviteUserRequestDtoRest
439
439
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
440
440
  * @param {*} [options] Override http request option.
441
441
  * @throws {RequiredError}
442
442
  */
443
- inviteUser: function (inviteUserRequestDto, authorization, options) {
444
- 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); });
445
445
  },
446
446
  /**
447
447
  * This send bulk emails to invite users with the specific role/roles.
448
448
  * @summary Invite batch of users
449
- * @param {InviteUsersRequestDto} inviteUsersRequestDto
449
+ * @param {InviteUsersRequestDtoRest} inviteUsersRequestDtoRest
450
450
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
451
451
  * @param {*} [options] Override http request option.
452
452
  * @throws {RequiredError}
453
453
  */
454
- inviteUsers: function (inviteUsersRequestDto, authorization, options) {
455
- 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); });
456
456
  },
457
457
  /**
458
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.
@@ -463,7 +463,7 @@ var InviteUsersApiFactory = function (configuration, basePath, axios) {
463
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, partnerCode&lt;/i&gt;
464
464
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
465
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;
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: 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;
467
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, partnerCode&lt;/i&gt;
468
468
  * @param {*} [options] Override http request option.
469
469
  * @throws {RequiredError}
@@ -507,7 +507,7 @@ var InviteUsersApi = /** @class */ (function (_super) {
507
507
  */
508
508
  InviteUsersApi.prototype.inviteUser = function (requestParameters, options) {
509
509
  var _this = this;
510
- 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); });
511
511
  };
512
512
  /**
513
513
  * This send bulk emails to invite users with the specific role/roles.
@@ -519,7 +519,7 @@ var InviteUsersApi = /** @class */ (function (_super) {
519
519
  */
520
520
  InviteUsersApi.prototype.inviteUsers = function (requestParameters, options) {
521
521
  var _this = this;
522
- 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); });
523
523
  };
524
524
  /**
525
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
  */