@emilgroup/tenant-sdk 1.42.1-beta.13 → 1.42.1-beta.131

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 (198) hide show
  1. package/.openapi-generator/FILES +33 -0
  2. package/README.md +2 -2
  3. package/api/custom-schema-api.ts +32 -12
  4. package/api/dashboard-api.ts +96 -36
  5. package/api/dashboard-group-api.ts +40 -15
  6. package/api/data-report-api.ts +32 -12
  7. package/api/data-report-executor-api.ts +8 -3
  8. package/api/delete-organization-invitations-api.ts +8 -3
  9. package/api/health-check-api.ts +1 -1
  10. package/api/invitation-controller-rest-api.ts +32 -12
  11. package/api/invite-organizations-api.ts +8 -3
  12. package/api/invite-users-api.ts +40 -20
  13. package/api/list-organization-invitations-api.ts +8 -3
  14. package/api/organization-migration-api.ts +40 -15
  15. package/api/organizations-api.ts +24 -9
  16. package/api/re-invite-an-organization-api.ts +8 -3
  17. package/api/report-schedule-api.ts +40 -15
  18. package/api/report-schedule-logs-api.ts +8 -3
  19. package/api/roles-api.ts +8 -3
  20. package/api/settings-api.ts +32 -12
  21. package/api/ssoconnection-api.ts +824 -0
  22. package/api/ssoid-pgroups-api.ts +829 -0
  23. package/api/user-controller-rest-api.ts +116 -57
  24. package/api/user-group-api.ts +64 -24
  25. package/api/users-api.ts +76 -37
  26. package/api.ts +4 -0
  27. package/base.ts +239 -43
  28. package/common.ts +3 -2
  29. package/configuration.ts +20 -0
  30. package/dist/api/custom-schema-api.d.ts +4 -4
  31. package/dist/api/custom-schema-api.js +52 -30
  32. package/dist/api/dashboard-api.d.ts +12 -12
  33. package/dist/api/dashboard-api.js +176 -95
  34. package/dist/api/dashboard-group-api.d.ts +5 -5
  35. package/dist/api/dashboard-group-api.js +71 -39
  36. package/dist/api/data-report-api.d.ts +4 -4
  37. package/dist/api/data-report-api.js +52 -30
  38. package/dist/api/data-report-executor-api.d.ts +1 -1
  39. package/dist/api/data-report-executor-api.js +15 -8
  40. package/dist/api/delete-organization-invitations-api.d.ts +1 -1
  41. package/dist/api/delete-organization-invitations-api.js +15 -8
  42. package/dist/api/health-check-api.d.ts +1 -1
  43. package/dist/api/health-check-api.js +1 -1
  44. package/dist/api/invitation-controller-rest-api.d.ts +4 -4
  45. package/dist/api/invitation-controller-rest-api.js +56 -31
  46. package/dist/api/invite-organizations-api.d.ts +1 -1
  47. package/dist/api/invite-organizations-api.js +15 -8
  48. package/dist/api/invite-users-api.d.ts +12 -12
  49. package/dist/api/invite-users-api.js +62 -37
  50. package/dist/api/list-organization-invitations-api.d.ts +1 -1
  51. package/dist/api/list-organization-invitations-api.js +11 -7
  52. package/dist/api/organization-migration-api.d.ts +5 -5
  53. package/dist/api/organization-migration-api.js +67 -38
  54. package/dist/api/organizations-api.d.ts +3 -3
  55. package/dist/api/organizations-api.js +41 -23
  56. package/dist/api/re-invite-an-organization-api.d.ts +1 -1
  57. package/dist/api/re-invite-an-organization-api.js +15 -8
  58. package/dist/api/report-schedule-api.d.ts +5 -5
  59. package/dist/api/report-schedule-api.js +67 -38
  60. package/dist/api/report-schedule-logs-api.d.ts +1 -1
  61. package/dist/api/report-schedule-logs-api.js +11 -7
  62. package/dist/api/roles-api.d.ts +1 -1
  63. package/dist/api/roles-api.js +11 -7
  64. package/dist/api/settings-api.d.ts +4 -4
  65. package/dist/api/settings-api.js +52 -30
  66. package/dist/api/ssoconnection-api.d.ts +434 -0
  67. package/dist/api/ssoconnection-api.js +829 -0
  68. package/dist/api/ssoid-pgroups-api.d.ts +451 -0
  69. package/dist/api/ssoid-pgroups-api.js +774 -0
  70. package/dist/api/user-controller-rest-api.d.ts +39 -35
  71. package/dist/api/user-controller-rest-api.js +177 -105
  72. package/dist/api/user-group-api.d.ts +8 -8
  73. package/dist/api/user-group-api.js +112 -62
  74. package/dist/api/users-api.d.ts +27 -23
  75. package/dist/api/users-api.js +115 -68
  76. package/dist/api.d.ts +2 -0
  77. package/dist/api.js +2 -0
  78. package/dist/base.d.ts +26 -0
  79. package/dist/base.js +243 -60
  80. package/dist/common.d.ts +1 -1
  81. package/dist/common.js +1 -0
  82. package/dist/configuration.d.ts +17 -0
  83. package/dist/configuration.js +2 -0
  84. package/dist/models/admin-initial-tenant-config-dto.d.ts +4 -2
  85. package/dist/models/create-admin-tenant-request-dto.d.ts +11 -0
  86. package/dist/models/create-admin-tenant-request-dto.js +5 -0
  87. package/dist/models/create-sso-connection-request-dto.d.ts +67 -0
  88. package/dist/models/create-sso-connection-request-dto.js +24 -0
  89. package/dist/models/create-sso-connection-response-class.d.ts +25 -0
  90. package/dist/models/create-sso-connection-response-class.js +15 -0
  91. package/dist/models/create-sso-idp-group-request-dto.d.ts +37 -0
  92. package/dist/models/create-sso-idp-group-request-dto.js +15 -0
  93. package/dist/models/create-sso-idp-group-response-class.d.ts +25 -0
  94. package/dist/models/create-sso-idp-group-response-class.js +15 -0
  95. package/dist/models/create-tenant-request-dto.d.ts +11 -0
  96. package/dist/models/create-tenant-request-dto.js +5 -0
  97. package/dist/models/custom-field-dto.d.ts +8 -4
  98. package/dist/models/delete-by-code-response-class.d.ts +24 -0
  99. package/dist/models/delete-by-code-response-class.js +15 -0
  100. package/dist/models/get-sso-connection-response-class.d.ts +25 -0
  101. package/dist/models/get-sso-connection-response-class.js +15 -0
  102. package/dist/models/get-sso-connection-setup-response-class.d.ts +25 -0
  103. package/dist/models/get-sso-connection-setup-response-class.js +15 -0
  104. package/dist/models/get-sso-idp-group-response-class.d.ts +25 -0
  105. package/dist/models/get-sso-idp-group-response-class.js +15 -0
  106. package/dist/models/index.d.ts +31 -0
  107. package/dist/models/index.js +31 -0
  108. package/dist/models/invite-class.d.ts +6 -0
  109. package/dist/models/list-sso-idp-groups-response-class.d.ts +43 -0
  110. package/dist/models/list-sso-idp-groups-response-class.js +15 -0
  111. package/dist/models/oidc-sso-details-input-dto.d.ts +42 -0
  112. package/dist/models/oidc-sso-details-input-dto.js +15 -0
  113. package/dist/models/oidc-sso-details-update-dto.d.ts +42 -0
  114. package/dist/models/oidc-sso-details-update-dto.js +15 -0
  115. package/dist/models/oidc-sso-setup-class.d.ts +37 -0
  116. package/dist/models/oidc-sso-setup-class.js +15 -0
  117. package/dist/models/org-invitation-class.d.ts +6 -0
  118. package/dist/models/role-class.d.ts +7 -0
  119. package/dist/models/role-source-class.d.ts +35 -0
  120. package/dist/models/role-source-class.js +20 -0
  121. package/dist/models/saml-sso-details-dto.d.ts +24 -0
  122. package/dist/models/saml-sso-details-dto.js +15 -0
  123. package/dist/models/saml-sso-setup-class.d.ts +37 -0
  124. package/dist/models/saml-sso-setup-class.js +15 -0
  125. package/dist/models/shared-oidc-sso-details-class.d.ts +42 -0
  126. package/dist/models/shared-oidc-sso-details-class.js +15 -0
  127. package/dist/models/shared-saml-sso-details-class.d.ts +24 -0
  128. package/dist/models/shared-saml-sso-details-class.js +15 -0
  129. package/dist/models/shared-sso-attribute-mapping-class.d.ts +30 -0
  130. package/dist/models/shared-sso-attribute-mapping-class.js +15 -0
  131. package/dist/models/sso-attribute-mapping-dto.d.ts +30 -0
  132. package/dist/models/sso-attribute-mapping-dto.js +15 -0
  133. package/dist/models/sso-attribute-mapping-template-class.d.ts +36 -0
  134. package/dist/models/sso-attribute-mapping-template-class.js +15 -0
  135. package/dist/models/sso-connection-class.d.ts +103 -0
  136. package/dist/models/sso-connection-class.js +24 -0
  137. package/dist/models/sso-connection-setup-class.d.ts +32 -0
  138. package/dist/models/sso-connection-setup-class.js +15 -0
  139. package/dist/models/sso-idp-group-class.d.ts +73 -0
  140. package/dist/models/sso-idp-group-class.js +15 -0
  141. package/dist/models/update-sso-connection-body-dto.d.ts +45 -0
  142. package/dist/models/update-sso-connection-body-dto.js +15 -0
  143. package/dist/models/update-sso-connection-response-class.d.ts +25 -0
  144. package/dist/models/update-sso-connection-response-class.js +15 -0
  145. package/dist/models/update-sso-connection-status-body-dto.d.ts +24 -0
  146. package/dist/models/update-sso-connection-status-body-dto.js +15 -0
  147. package/dist/models/update-sso-connection-status-response-class.d.ts +25 -0
  148. package/dist/models/update-sso-connection-status-response-class.js +15 -0
  149. package/dist/models/update-sso-idp-group-body-dto.d.ts +31 -0
  150. package/dist/models/update-sso-idp-group-body-dto.js +15 -0
  151. package/dist/models/update-sso-idp-group-response-class.d.ts +25 -0
  152. package/dist/models/update-sso-idp-group-response-class.js +15 -0
  153. package/dist/models/update-sso-idp-group-status-body-dto.d.ts +24 -0
  154. package/dist/models/update-sso-idp-group-status-body-dto.js +15 -0
  155. package/dist/models/update-sso-idp-group-status-response-class.d.ts +25 -0
  156. package/dist/models/update-sso-idp-group-status-response-class.js +15 -0
  157. package/dist/models/user-class.d.ts +7 -0
  158. package/models/admin-initial-tenant-config-dto.ts +2 -2
  159. package/models/create-admin-tenant-request-dto.ts +14 -0
  160. package/models/create-sso-connection-request-dto.ts +77 -0
  161. package/models/create-sso-connection-response-class.ts +31 -0
  162. package/models/create-sso-idp-group-request-dto.ts +43 -0
  163. package/models/create-sso-idp-group-response-class.ts +31 -0
  164. package/models/create-tenant-request-dto.ts +14 -0
  165. package/models/custom-field-dto.ts +4 -4
  166. package/models/delete-by-code-response-class.ts +30 -0
  167. package/models/get-sso-connection-response-class.ts +31 -0
  168. package/models/get-sso-connection-setup-response-class.ts +31 -0
  169. package/models/get-sso-idp-group-response-class.ts +31 -0
  170. package/models/index.ts +31 -0
  171. package/models/invite-class.ts +6 -0
  172. package/models/list-sso-idp-groups-response-class.ts +49 -0
  173. package/models/oidc-sso-details-input-dto.ts +48 -0
  174. package/models/oidc-sso-details-update-dto.ts +48 -0
  175. package/models/oidc-sso-setup-class.ts +43 -0
  176. package/models/org-invitation-class.ts +6 -0
  177. package/models/role-class.ts +7 -0
  178. package/models/role-source-class.ts +44 -0
  179. package/models/saml-sso-details-dto.ts +30 -0
  180. package/models/saml-sso-setup-class.ts +43 -0
  181. package/models/shared-oidc-sso-details-class.ts +48 -0
  182. package/models/shared-saml-sso-details-class.ts +30 -0
  183. package/models/shared-sso-attribute-mapping-class.ts +36 -0
  184. package/models/sso-attribute-mapping-dto.ts +36 -0
  185. package/models/sso-attribute-mapping-template-class.ts +42 -0
  186. package/models/sso-connection-class.ts +113 -0
  187. package/models/sso-connection-setup-class.ts +38 -0
  188. package/models/sso-idp-group-class.ts +79 -0
  189. package/models/update-sso-connection-body-dto.ts +51 -0
  190. package/models/update-sso-connection-response-class.ts +31 -0
  191. package/models/update-sso-connection-status-body-dto.ts +30 -0
  192. package/models/update-sso-connection-status-response-class.ts +31 -0
  193. package/models/update-sso-idp-group-body-dto.ts +37 -0
  194. package/models/update-sso-idp-group-response-class.ts +31 -0
  195. package/models/update-sso-idp-group-status-body-dto.ts +30 -0
  196. package/models/update-sso-idp-group-status-response-class.ts +31 -0
  197. package/models/user-class.ts +7 -0
  198. package/package.json +2 -2
@@ -103,9 +103,10 @@ var DeleteOrganizationInvitationsApiAxiosParamCreator = function (configuration)
103
103
  deleteOrgInvitation: function (id, authorization, options) {
104
104
  if (options === void 0) { options = {}; }
105
105
  return __awaiter(_this, void 0, void 0, function () {
106
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
107
- return __generator(this, function (_a) {
108
- switch (_a.label) {
106
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
107
+ var _a;
108
+ return __generator(this, function (_b) {
109
+ switch (_b.label) {
109
110
  case 0:
110
111
  // verify required parameter 'id' is not null or undefined
111
112
  (0, common_1.assertParamExists)('deleteOrgInvitation', 'id', id);
@@ -121,13 +122,19 @@ var DeleteOrganizationInvitationsApiAxiosParamCreator = function (configuration)
121
122
  localVarQueryParameter = {};
122
123
  // authentication bearer required
123
124
  // http bearer authentication required
124
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
125
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
126
+ // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
127
+ // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
128
+ ];
125
129
  case 1:
126
130
  // authentication bearer required
127
131
  // http bearer authentication required
128
- _a.sent();
129
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
130
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
132
+ _b.sent();
133
+ authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
134
+ authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
135
+ authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
136
+ if (authorizationValue || authorizationKeepEmpty) {
137
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
131
138
  }
132
139
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
133
140
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -216,7 +223,7 @@ var DeleteOrganizationInvitationsApi = /** @class */ (function (_super) {
216
223
  */
217
224
  DeleteOrganizationInvitationsApi.prototype.deleteOrgInvitation = function (requestParameters, options) {
218
225
  var _this = this;
219
- return (0, exports.DeleteOrganizationInvitationsApiFp)(this.configuration).deleteOrgInvitation(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
226
+ return (0, exports.DeleteOrganizationInvitationsApiFp)(this.configuration).deleteOrgInvitation(requestParameters.id, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
220
227
  };
221
228
  return DeleteOrganizationInvitationsApi;
222
229
  }(base_1.BaseAPI));
@@ -66,5 +66,5 @@ export declare class HealthCheckApi extends BaseAPI {
66
66
  * @throws {RequiredError}
67
67
  * @memberof HealthCheckApi
68
68
  */
69
- check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any, {}>>;
69
+ check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any, {}, any>>;
70
70
  }
@@ -193,7 +193,7 @@ var HealthCheckApi = /** @class */ (function (_super) {
193
193
  */
194
194
  HealthCheckApi.prototype.check = function (options) {
195
195
  var _this = this;
196
- return (0, exports.HealthCheckApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
196
+ return (0, exports.HealthCheckApiFp)(this.configuration).check(this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
197
197
  };
198
198
  return HealthCheckApi;
199
199
  }(base_1.BaseAPI));
@@ -285,7 +285,7 @@ export declare class InvitationControllerRestApi extends BaseAPI {
285
285
  * @throws {RequiredError}
286
286
  * @memberof InvitationControllerRestApi
287
287
  */
288
- deleteOrgInvitation(requestParameters: InvitationControllerRestApiDeleteOrgInvitationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any, {}>>;
288
+ deleteOrgInvitation(requestParameters: InvitationControllerRestApiDeleteOrgInvitationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any, {}, any>>;
289
289
  /**
290
290
  * This sends an email to invite an organization. **Required Permissions** \"tenant-management.organizations.create\"
291
291
  * @summary Invite an organization
@@ -294,7 +294,7 @@ export declare class InvitationControllerRestApi extends BaseAPI {
294
294
  * @throws {RequiredError}
295
295
  * @memberof InvitationControllerRestApi
296
296
  */
297
- inviteOrg(requestParameters: InvitationControllerRestApiInviteOrgRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrgInvitationResponseClass, any, {}>>;
297
+ inviteOrg(requestParameters: InvitationControllerRestApiInviteOrgRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrgInvitationResponseClass, any, {}, any>>;
298
298
  /**
299
299
  * Returns a list of organization invitations you have previously created. The organization invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"tenant-management.organizations.view\"
300
300
  * @summary List organization invitations
@@ -303,7 +303,7 @@ export declare class InvitationControllerRestApi extends BaseAPI {
303
303
  * @throws {RequiredError}
304
304
  * @memberof InvitationControllerRestApi
305
305
  */
306
- listOrgInvitations(requestParameters?: InvitationControllerRestApiListOrgInvitationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListOrgInvitationsResponseClass, any, {}>>;
306
+ listOrgInvitations(requestParameters?: InvitationControllerRestApiListOrgInvitationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListOrgInvitationsResponseClass, any, {}, any>>;
307
307
  /**
308
308
  * This re-sends an email to invite an organization. **Required Permissions** \"tenant-management.organizations.create\"
309
309
  * @param {InvitationControllerRestApiReInviteOrganizationRequest} requestParameters Request parameters.
@@ -311,5 +311,5 @@ export declare class InvitationControllerRestApi extends BaseAPI {
311
311
  * @throws {RequiredError}
312
312
  * @memberof InvitationControllerRestApi
313
313
  */
314
- reInviteOrganization(requestParameters: InvitationControllerRestApiReInviteOrganizationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrgInvitationResponseClass, any, {}>>;
314
+ reInviteOrganization(requestParameters: InvitationControllerRestApiReInviteOrganizationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrgInvitationResponseClass, any, {}, any>>;
315
315
  }
@@ -103,9 +103,10 @@ var InvitationControllerRestApiAxiosParamCreator = function (configuration) {
103
103
  deleteOrgInvitation: function (id, authorization, options) {
104
104
  if (options === void 0) { options = {}; }
105
105
  return __awaiter(_this, void 0, void 0, function () {
106
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
107
- return __generator(this, function (_a) {
108
- switch (_a.label) {
106
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
107
+ var _a;
108
+ return __generator(this, function (_b) {
109
+ switch (_b.label) {
109
110
  case 0:
110
111
  // verify required parameter 'id' is not null or undefined
111
112
  (0, common_1.assertParamExists)('deleteOrgInvitation', 'id', id);
@@ -121,13 +122,19 @@ var InvitationControllerRestApiAxiosParamCreator = function (configuration) {
121
122
  localVarQueryParameter = {};
122
123
  // authentication bearer required
123
124
  // http bearer authentication required
124
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
125
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
126
+ // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
127
+ // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
128
+ ];
125
129
  case 1:
126
130
  // authentication bearer required
127
131
  // http bearer authentication required
128
- _a.sent();
129
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
130
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
132
+ _b.sent();
133
+ authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
134
+ authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
135
+ authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
136
+ if (authorizationValue || authorizationKeepEmpty) {
137
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
131
138
  }
132
139
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
133
140
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -151,9 +158,10 @@ var InvitationControllerRestApiAxiosParamCreator = function (configuration) {
151
158
  inviteOrg: function (inviteOrgRequestDtoRest, authorization, options) {
152
159
  if (options === void 0) { options = {}; }
153
160
  return __awaiter(_this, void 0, void 0, function () {
154
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
155
- return __generator(this, function (_a) {
156
- switch (_a.label) {
161
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
162
+ var _a;
163
+ return __generator(this, function (_b) {
164
+ switch (_b.label) {
157
165
  case 0:
158
166
  // verify required parameter 'inviteOrgRequestDtoRest' is not null or undefined
159
167
  (0, common_1.assertParamExists)('inviteOrg', 'inviteOrgRequestDtoRest', inviteOrgRequestDtoRest);
@@ -168,13 +176,19 @@ var InvitationControllerRestApiAxiosParamCreator = function (configuration) {
168
176
  localVarQueryParameter = {};
169
177
  // authentication bearer required
170
178
  // http bearer authentication required
171
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
179
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
180
+ // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
181
+ // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
182
+ ];
172
183
  case 1:
173
184
  // authentication bearer required
174
185
  // http bearer authentication required
175
- _a.sent();
176
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
177
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
186
+ _b.sent();
187
+ authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
188
+ authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
189
+ authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
190
+ if (authorizationValue || authorizationKeepEmpty) {
191
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
178
192
  }
179
193
  localVarHeaderParameter['Content-Type'] = 'application/json';
180
194
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -206,9 +220,10 @@ var InvitationControllerRestApiAxiosParamCreator = function (configuration) {
206
220
  listOrgInvitations: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
207
221
  if (options === void 0) { options = {}; }
208
222
  return __awaiter(_this, void 0, void 0, function () {
209
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
210
- return __generator(this, function (_a) {
211
- switch (_a.label) {
223
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
224
+ var _a;
225
+ return __generator(this, function (_b) {
226
+ switch (_b.label) {
212
227
  case 0:
213
228
  localVarPath = "/tenantservice/v1/invitations/organizations";
214
229
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -225,7 +240,7 @@ var InvitationControllerRestApiAxiosParamCreator = function (configuration) {
225
240
  case 1:
226
241
  // authentication bearer required
227
242
  // http bearer authentication required
228
- _a.sent();
243
+ _b.sent();
229
244
  if (pageSize !== undefined) {
230
245
  localVarQueryParameter['pageSize'] = pageSize;
231
246
  }
@@ -247,8 +262,11 @@ var InvitationControllerRestApiAxiosParamCreator = function (configuration) {
247
262
  if (filters !== undefined) {
248
263
  localVarQueryParameter['filters'] = filters;
249
264
  }
250
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
251
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
265
+ authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
266
+ authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
267
+ authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
268
+ if (authorizationValue || authorizationKeepEmpty) {
269
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
252
270
  }
253
271
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
254
272
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -271,9 +289,10 @@ var InvitationControllerRestApiAxiosParamCreator = function (configuration) {
271
289
  reInviteOrganization: function (reInviteOrgRequestDto, authorization, options) {
272
290
  if (options === void 0) { options = {}; }
273
291
  return __awaiter(_this, void 0, void 0, function () {
274
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
275
- return __generator(this, function (_a) {
276
- switch (_a.label) {
292
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
293
+ var _a;
294
+ return __generator(this, function (_b) {
295
+ switch (_b.label) {
277
296
  case 0:
278
297
  // verify required parameter 'reInviteOrgRequestDto' is not null or undefined
279
298
  (0, common_1.assertParamExists)('reInviteOrganization', 'reInviteOrgRequestDto', reInviteOrgRequestDto);
@@ -288,13 +307,19 @@ var InvitationControllerRestApiAxiosParamCreator = function (configuration) {
288
307
  localVarQueryParameter = {};
289
308
  // authentication bearer required
290
309
  // http bearer authentication required
291
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
310
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
311
+ // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
312
+ // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
313
+ ];
292
314
  case 1:
293
315
  // authentication bearer required
294
316
  // http bearer authentication required
295
- _a.sent();
296
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
297
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
317
+ _b.sent();
318
+ authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
319
+ authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
320
+ authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
321
+ if (authorizationValue || authorizationKeepEmpty) {
322
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
298
323
  }
299
324
  localVarHeaderParameter['Content-Type'] = 'application/json';
300
325
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -491,7 +516,7 @@ var InvitationControllerRestApi = /** @class */ (function (_super) {
491
516
  */
492
517
  InvitationControllerRestApi.prototype.deleteOrgInvitation = function (requestParameters, options) {
493
518
  var _this = this;
494
- return (0, exports.InvitationControllerRestApiFp)(this.configuration).deleteOrgInvitation(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
519
+ return (0, exports.InvitationControllerRestApiFp)(this.configuration).deleteOrgInvitation(requestParameters.id, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
495
520
  };
496
521
  /**
497
522
  * This sends an email to invite an organization. **Required Permissions** \"tenant-management.organizations.create\"
@@ -503,7 +528,7 @@ var InvitationControllerRestApi = /** @class */ (function (_super) {
503
528
  */
504
529
  InvitationControllerRestApi.prototype.inviteOrg = function (requestParameters, options) {
505
530
  var _this = this;
506
- return (0, exports.InvitationControllerRestApiFp)(this.configuration).inviteOrg(requestParameters.inviteOrgRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
531
+ return (0, exports.InvitationControllerRestApiFp)(this.configuration).inviteOrg(requestParameters.inviteOrgRequestDtoRest, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
507
532
  };
508
533
  /**
509
534
  * Returns a list of organization invitations you have previously created. The organization invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"tenant-management.organizations.view\"
@@ -516,7 +541,7 @@ var InvitationControllerRestApi = /** @class */ (function (_super) {
516
541
  InvitationControllerRestApi.prototype.listOrgInvitations = function (requestParameters, options) {
517
542
  var _this = this;
518
543
  if (requestParameters === void 0) { requestParameters = {}; }
519
- return (0, exports.InvitationControllerRestApiFp)(this.configuration).listOrgInvitations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
544
+ return (0, exports.InvitationControllerRestApiFp)(this.configuration).listOrgInvitations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
520
545
  };
521
546
  /**
522
547
  * This re-sends an email to invite an organization. **Required Permissions** \"tenant-management.organizations.create\"
@@ -527,7 +552,7 @@ var InvitationControllerRestApi = /** @class */ (function (_super) {
527
552
  */
528
553
  InvitationControllerRestApi.prototype.reInviteOrganization = function (requestParameters, options) {
529
554
  var _this = this;
530
- return (0, exports.InvitationControllerRestApiFp)(this.configuration).reInviteOrganization(requestParameters.reInviteOrgRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
555
+ return (0, exports.InvitationControllerRestApiFp)(this.configuration).reInviteOrganization(requestParameters.reInviteOrgRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
531
556
  };
532
557
  return InvitationControllerRestApi;
533
558
  }(base_1.BaseAPI));
@@ -93,5 +93,5 @@ export declare class InviteOrganizationsApi extends BaseAPI {
93
93
  * @throws {RequiredError}
94
94
  * @memberof InviteOrganizationsApi
95
95
  */
96
- inviteOrg(requestParameters: InviteOrganizationsApiInviteOrgRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrgInvitationResponseClass, any, {}>>;
96
+ inviteOrg(requestParameters: InviteOrganizationsApiInviteOrgRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrgInvitationResponseClass, any, {}, any>>;
97
97
  }
@@ -103,9 +103,10 @@ var InviteOrganizationsApiAxiosParamCreator = function (configuration) {
103
103
  inviteOrg: function (inviteOrgRequestDtoRest, authorization, options) {
104
104
  if (options === void 0) { options = {}; }
105
105
  return __awaiter(_this, void 0, void 0, function () {
106
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
107
- return __generator(this, function (_a) {
108
- switch (_a.label) {
106
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
107
+ var _a;
108
+ return __generator(this, function (_b) {
109
+ switch (_b.label) {
109
110
  case 0:
110
111
  // verify required parameter 'inviteOrgRequestDtoRest' is not null or undefined
111
112
  (0, common_1.assertParamExists)('inviteOrg', 'inviteOrgRequestDtoRest', inviteOrgRequestDtoRest);
@@ -120,13 +121,19 @@ var InviteOrganizationsApiAxiosParamCreator = function (configuration) {
120
121
  localVarQueryParameter = {};
121
122
  // authentication bearer required
122
123
  // http bearer authentication required
123
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
124
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
125
+ // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
126
+ // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
127
+ ];
124
128
  case 1:
125
129
  // authentication bearer required
126
130
  // http bearer authentication required
127
- _a.sent();
128
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
129
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
131
+ _b.sent();
132
+ authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
133
+ authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
134
+ authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
135
+ if (authorizationValue || authorizationKeepEmpty) {
136
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
130
137
  }
131
138
  localVarHeaderParameter['Content-Type'] = 'application/json';
132
139
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -217,7 +224,7 @@ var InviteOrganizationsApi = /** @class */ (function (_super) {
217
224
  */
218
225
  InviteOrganizationsApi.prototype.inviteOrg = function (requestParameters, options) {
219
226
  var _this = this;
220
- return (0, exports.InviteOrganizationsApiFp)(this.configuration).inviteOrg(requestParameters.inviteOrgRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
227
+ return (0, exports.InviteOrganizationsApiFp)(this.configuration).inviteOrg(requestParameters.inviteOrgRequestDtoRest, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
221
228
  };
222
229
  return InviteOrganizationsApi;
223
230
  }(base_1.BaseAPI));
@@ -57,11 +57,11 @@ export declare const InviteUsersApiAxiosParamCreator: (configuration?: Configura
57
57
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
58
58
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
59
59
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
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;
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, code, email, token, organizationId, ern, partnerCode&lt;/i&gt;
61
61
  * @param {string} [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: id, email, expiresOn&lt;/i&gt;
63
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
- * @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;
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, code, email, token, organizationId, ern, partnerCode&lt;/i&gt;
65
65
  * @param {*} [options] Override http request option.
66
66
  * @throws {RequiredError}
67
67
  */
@@ -105,11 +105,11 @@ export declare const InviteUsersApiFp: (configuration?: Configuration) => {
105
105
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
106
106
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
107
107
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
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;
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, code, email, token, organizationId, ern, partnerCode&lt;/i&gt;
109
109
  * @param {string} [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: id, email, expiresOn&lt;/i&gt;
111
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
- * @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;
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, code, email, token, organizationId, ern, partnerCode&lt;/i&gt;
113
113
  * @param {*} [options] Override http request option.
114
114
  * @throws {RequiredError}
115
115
  */
@@ -153,11 +153,11 @@ export declare const InviteUsersApiFactory: (configuration?: Configuration, base
153
153
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
154
154
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
155
155
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
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;
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, code, email, token, organizationId, ern, partnerCode&lt;/i&gt;
157
157
  * @param {string} [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: id, email, expiresOn&lt;/i&gt;
159
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
- * @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;
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, code, email, token, organizationId, ern, partnerCode&lt;/i&gt;
161
161
  * @param {*} [options] Override http request option.
162
162
  * @throws {RequiredError}
163
163
  */
@@ -245,7 +245,7 @@ export interface InviteUsersApiListInvitesRequest {
245
245
  */
246
246
  readonly pageToken?: string;
247
247
  /**
248
- * 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;
248
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, email, token, organizationId, ern, partnerCode&lt;/i&gt;
249
249
  * @type {string}
250
250
  * @memberof InviteUsersApiListInvites
251
251
  */
@@ -269,7 +269,7 @@ export interface InviteUsersApiListInvitesRequest {
269
269
  */
270
270
  readonly expand?: string;
271
271
  /**
272
- * 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;
272
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, email, token, organizationId, ern, partnerCode&lt;/i&gt;
273
273
  * @type {string}
274
274
  * @memberof InviteUsersApiListInvites
275
275
  */
@@ -290,7 +290,7 @@ export declare class InviteUsersApi extends BaseAPI {
290
290
  * @throws {RequiredError}
291
291
  * @memberof InviteUsersApi
292
292
  */
293
- deleteInvites(requestParameters: InviteUsersApiDeleteInvitesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BatchDeleteResponseClass, any, {}>>;
293
+ deleteInvites(requestParameters: InviteUsersApiDeleteInvitesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BatchDeleteResponseClass, any, {}, any>>;
294
294
  /**
295
295
  * This send an email to invite a user with the specific role/roles. **Required Permissions** \"tenant-management.users.create\"
296
296
  * @summary Invite a user
@@ -299,7 +299,7 @@ export declare class InviteUsersApi extends BaseAPI {
299
299
  * @throws {RequiredError}
300
300
  * @memberof InviteUsersApi
301
301
  */
302
- inviteUser(requestParameters: InviteUsersApiInviteUserRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InviteUserResponseClass, any, {}>>;
302
+ inviteUser(requestParameters: InviteUsersApiInviteUserRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InviteUserResponseClass, any, {}, any>>;
303
303
  /**
304
304
  * This send bulk emails to invite users with the specific role/roles. **Required Permissions** \"tenant-management.users.create\"
305
305
  * @summary Invite batch of users
@@ -308,7 +308,7 @@ export declare class InviteUsersApi extends BaseAPI {
308
308
  * @throws {RequiredError}
309
309
  * @memberof InviteUsersApi
310
310
  */
311
- inviteUsers(requestParameters: InviteUsersApiInviteUsersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InviteUsersResponseClass, any, {}>>;
311
+ inviteUsers(requestParameters: InviteUsersApiInviteUsersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InviteUsersResponseClass, any, {}, any>>;
312
312
  /**
313
313
  * Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"tenant-management.users.view\"
314
314
  * @summary List invited users
@@ -317,5 +317,5 @@ export declare class InviteUsersApi extends BaseAPI {
317
317
  * @throws {RequiredError}
318
318
  * @memberof InviteUsersApi
319
319
  */
320
- listInvites(requestParameters?: InviteUsersApiListInvitesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListInvitesResponseClass, any, {}>>;
320
+ listInvites(requestParameters?: InviteUsersApiListInvitesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListInvitesResponseClass, any, {}, any>>;
321
321
  }