@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.
- package/.openapi-generator/FILES +33 -0
- package/README.md +2 -2
- package/api/custom-schema-api.ts +32 -12
- package/api/dashboard-api.ts +96 -36
- package/api/dashboard-group-api.ts +40 -15
- package/api/data-report-api.ts +32 -12
- package/api/data-report-executor-api.ts +8 -3
- package/api/delete-organization-invitations-api.ts +8 -3
- package/api/health-check-api.ts +1 -1
- package/api/invitation-controller-rest-api.ts +32 -12
- package/api/invite-organizations-api.ts +8 -3
- package/api/invite-users-api.ts +40 -20
- package/api/list-organization-invitations-api.ts +8 -3
- package/api/organization-migration-api.ts +40 -15
- package/api/organizations-api.ts +24 -9
- package/api/re-invite-an-organization-api.ts +8 -3
- package/api/report-schedule-api.ts +40 -15
- package/api/report-schedule-logs-api.ts +8 -3
- package/api/roles-api.ts +8 -3
- package/api/settings-api.ts +32 -12
- package/api/ssoconnection-api.ts +824 -0
- package/api/ssoid-pgroups-api.ts +829 -0
- package/api/user-controller-rest-api.ts +116 -57
- package/api/user-group-api.ts +64 -24
- package/api/users-api.ts +76 -37
- package/api.ts +4 -0
- package/base.ts +239 -43
- package/common.ts +3 -2
- package/configuration.ts +20 -0
- package/dist/api/custom-schema-api.d.ts +4 -4
- package/dist/api/custom-schema-api.js +52 -30
- package/dist/api/dashboard-api.d.ts +12 -12
- package/dist/api/dashboard-api.js +176 -95
- package/dist/api/dashboard-group-api.d.ts +5 -5
- package/dist/api/dashboard-group-api.js +71 -39
- package/dist/api/data-report-api.d.ts +4 -4
- package/dist/api/data-report-api.js +52 -30
- package/dist/api/data-report-executor-api.d.ts +1 -1
- package/dist/api/data-report-executor-api.js +15 -8
- package/dist/api/delete-organization-invitations-api.d.ts +1 -1
- package/dist/api/delete-organization-invitations-api.js +15 -8
- package/dist/api/health-check-api.d.ts +1 -1
- package/dist/api/health-check-api.js +1 -1
- package/dist/api/invitation-controller-rest-api.d.ts +4 -4
- package/dist/api/invitation-controller-rest-api.js +56 -31
- package/dist/api/invite-organizations-api.d.ts +1 -1
- package/dist/api/invite-organizations-api.js +15 -8
- package/dist/api/invite-users-api.d.ts +12 -12
- package/dist/api/invite-users-api.js +62 -37
- package/dist/api/list-organization-invitations-api.d.ts +1 -1
- package/dist/api/list-organization-invitations-api.js +11 -7
- package/dist/api/organization-migration-api.d.ts +5 -5
- package/dist/api/organization-migration-api.js +67 -38
- package/dist/api/organizations-api.d.ts +3 -3
- package/dist/api/organizations-api.js +41 -23
- package/dist/api/re-invite-an-organization-api.d.ts +1 -1
- package/dist/api/re-invite-an-organization-api.js +15 -8
- package/dist/api/report-schedule-api.d.ts +5 -5
- package/dist/api/report-schedule-api.js +67 -38
- package/dist/api/report-schedule-logs-api.d.ts +1 -1
- package/dist/api/report-schedule-logs-api.js +11 -7
- package/dist/api/roles-api.d.ts +1 -1
- package/dist/api/roles-api.js +11 -7
- package/dist/api/settings-api.d.ts +4 -4
- package/dist/api/settings-api.js +52 -30
- package/dist/api/ssoconnection-api.d.ts +434 -0
- package/dist/api/ssoconnection-api.js +829 -0
- package/dist/api/ssoid-pgroups-api.d.ts +451 -0
- package/dist/api/ssoid-pgroups-api.js +774 -0
- package/dist/api/user-controller-rest-api.d.ts +39 -35
- package/dist/api/user-controller-rest-api.js +177 -105
- package/dist/api/user-group-api.d.ts +8 -8
- package/dist/api/user-group-api.js +112 -62
- package/dist/api/users-api.d.ts +27 -23
- package/dist/api/users-api.js +115 -68
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/base.d.ts +26 -0
- package/dist/base.js +243 -60
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -0
- package/dist/configuration.d.ts +17 -0
- package/dist/configuration.js +2 -0
- package/dist/models/admin-initial-tenant-config-dto.d.ts +4 -2
- package/dist/models/create-admin-tenant-request-dto.d.ts +11 -0
- package/dist/models/create-admin-tenant-request-dto.js +5 -0
- package/dist/models/create-sso-connection-request-dto.d.ts +67 -0
- package/dist/models/create-sso-connection-request-dto.js +24 -0
- package/dist/models/create-sso-connection-response-class.d.ts +25 -0
- package/dist/models/create-sso-connection-response-class.js +15 -0
- package/dist/models/create-sso-idp-group-request-dto.d.ts +37 -0
- package/dist/models/create-sso-idp-group-request-dto.js +15 -0
- package/dist/models/create-sso-idp-group-response-class.d.ts +25 -0
- package/dist/models/create-sso-idp-group-response-class.js +15 -0
- package/dist/models/create-tenant-request-dto.d.ts +11 -0
- package/dist/models/create-tenant-request-dto.js +5 -0
- package/dist/models/custom-field-dto.d.ts +8 -4
- package/dist/models/delete-by-code-response-class.d.ts +24 -0
- package/dist/models/delete-by-code-response-class.js +15 -0
- package/dist/models/get-sso-connection-response-class.d.ts +25 -0
- package/dist/models/get-sso-connection-response-class.js +15 -0
- package/dist/models/get-sso-connection-setup-response-class.d.ts +25 -0
- package/dist/models/get-sso-connection-setup-response-class.js +15 -0
- package/dist/models/get-sso-idp-group-response-class.d.ts +25 -0
- package/dist/models/get-sso-idp-group-response-class.js +15 -0
- package/dist/models/index.d.ts +31 -0
- package/dist/models/index.js +31 -0
- package/dist/models/invite-class.d.ts +6 -0
- package/dist/models/list-sso-idp-groups-response-class.d.ts +43 -0
- package/dist/models/list-sso-idp-groups-response-class.js +15 -0
- package/dist/models/oidc-sso-details-input-dto.d.ts +42 -0
- package/dist/models/oidc-sso-details-input-dto.js +15 -0
- package/dist/models/oidc-sso-details-update-dto.d.ts +42 -0
- package/dist/models/oidc-sso-details-update-dto.js +15 -0
- package/dist/models/oidc-sso-setup-class.d.ts +37 -0
- package/dist/models/oidc-sso-setup-class.js +15 -0
- package/dist/models/org-invitation-class.d.ts +6 -0
- package/dist/models/role-class.d.ts +7 -0
- package/dist/models/role-source-class.d.ts +35 -0
- package/dist/models/role-source-class.js +20 -0
- package/dist/models/saml-sso-details-dto.d.ts +24 -0
- package/dist/models/saml-sso-details-dto.js +15 -0
- package/dist/models/saml-sso-setup-class.d.ts +37 -0
- package/dist/models/saml-sso-setup-class.js +15 -0
- package/dist/models/shared-oidc-sso-details-class.d.ts +42 -0
- package/dist/models/shared-oidc-sso-details-class.js +15 -0
- package/dist/models/shared-saml-sso-details-class.d.ts +24 -0
- package/dist/models/shared-saml-sso-details-class.js +15 -0
- package/dist/models/shared-sso-attribute-mapping-class.d.ts +30 -0
- package/dist/models/shared-sso-attribute-mapping-class.js +15 -0
- package/dist/models/sso-attribute-mapping-dto.d.ts +30 -0
- package/dist/models/sso-attribute-mapping-dto.js +15 -0
- package/dist/models/sso-attribute-mapping-template-class.d.ts +36 -0
- package/dist/models/sso-attribute-mapping-template-class.js +15 -0
- package/dist/models/sso-connection-class.d.ts +103 -0
- package/dist/models/sso-connection-class.js +24 -0
- package/dist/models/sso-connection-setup-class.d.ts +32 -0
- package/dist/models/sso-connection-setup-class.js +15 -0
- package/dist/models/sso-idp-group-class.d.ts +73 -0
- package/dist/models/sso-idp-group-class.js +15 -0
- package/dist/models/update-sso-connection-body-dto.d.ts +45 -0
- package/dist/models/update-sso-connection-body-dto.js +15 -0
- package/dist/models/update-sso-connection-response-class.d.ts +25 -0
- package/dist/models/update-sso-connection-response-class.js +15 -0
- package/dist/models/update-sso-connection-status-body-dto.d.ts +24 -0
- package/dist/models/update-sso-connection-status-body-dto.js +15 -0
- package/dist/models/update-sso-connection-status-response-class.d.ts +25 -0
- package/dist/models/update-sso-connection-status-response-class.js +15 -0
- package/dist/models/update-sso-idp-group-body-dto.d.ts +31 -0
- package/dist/models/update-sso-idp-group-body-dto.js +15 -0
- package/dist/models/update-sso-idp-group-response-class.d.ts +25 -0
- package/dist/models/update-sso-idp-group-response-class.js +15 -0
- package/dist/models/update-sso-idp-group-status-body-dto.d.ts +24 -0
- package/dist/models/update-sso-idp-group-status-body-dto.js +15 -0
- package/dist/models/update-sso-idp-group-status-response-class.d.ts +25 -0
- package/dist/models/update-sso-idp-group-status-response-class.js +15 -0
- package/dist/models/user-class.d.ts +7 -0
- package/models/admin-initial-tenant-config-dto.ts +2 -2
- package/models/create-admin-tenant-request-dto.ts +14 -0
- package/models/create-sso-connection-request-dto.ts +77 -0
- package/models/create-sso-connection-response-class.ts +31 -0
- package/models/create-sso-idp-group-request-dto.ts +43 -0
- package/models/create-sso-idp-group-response-class.ts +31 -0
- package/models/create-tenant-request-dto.ts +14 -0
- package/models/custom-field-dto.ts +4 -4
- package/models/delete-by-code-response-class.ts +30 -0
- package/models/get-sso-connection-response-class.ts +31 -0
- package/models/get-sso-connection-setup-response-class.ts +31 -0
- package/models/get-sso-idp-group-response-class.ts +31 -0
- package/models/index.ts +31 -0
- package/models/invite-class.ts +6 -0
- package/models/list-sso-idp-groups-response-class.ts +49 -0
- package/models/oidc-sso-details-input-dto.ts +48 -0
- package/models/oidc-sso-details-update-dto.ts +48 -0
- package/models/oidc-sso-setup-class.ts +43 -0
- package/models/org-invitation-class.ts +6 -0
- package/models/role-class.ts +7 -0
- package/models/role-source-class.ts +44 -0
- package/models/saml-sso-details-dto.ts +30 -0
- package/models/saml-sso-setup-class.ts +43 -0
- package/models/shared-oidc-sso-details-class.ts +48 -0
- package/models/shared-saml-sso-details-class.ts +30 -0
- package/models/shared-sso-attribute-mapping-class.ts +36 -0
- package/models/sso-attribute-mapping-dto.ts +36 -0
- package/models/sso-attribute-mapping-template-class.ts +42 -0
- package/models/sso-connection-class.ts +113 -0
- package/models/sso-connection-setup-class.ts +38 -0
- package/models/sso-idp-group-class.ts +79 -0
- package/models/update-sso-connection-body-dto.ts +51 -0
- package/models/update-sso-connection-response-class.ts +31 -0
- package/models/update-sso-connection-status-body-dto.ts +30 -0
- package/models/update-sso-connection-status-response-class.ts +31 -0
- package/models/update-sso-idp-group-body-dto.ts +37 -0
- package/models/update-sso-idp-group-response-class.ts +31 -0
- package/models/update-sso-idp-group-status-body-dto.ts +30 -0
- package/models/update-sso-idp-group-status-response-class.ts +31 -0
- package/models/user-class.ts +7 -0
- package/package.json +2 -2
|
@@ -103,9 +103,10 @@ var OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
103
103
|
getOrganization: function (code, 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
|
-
|
|
108
|
-
|
|
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 'code' is not null or undefined
|
|
111
112
|
(0, common_1.assertParamExists)('getOrganization', 'code', code);
|
|
@@ -121,13 +122,19 @@ var OrganizationsApiAxiosParamCreator = 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
|
-
|
|
129
|
-
|
|
130
|
-
|
|
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 : {};
|
|
@@ -157,9 +164,10 @@ var OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
157
164
|
listOrganizations: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
158
165
|
if (options === void 0) { options = {}; }
|
|
159
166
|
return __awaiter(_this, void 0, void 0, function () {
|
|
160
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
161
|
-
|
|
162
|
-
|
|
167
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
|
|
168
|
+
var _a;
|
|
169
|
+
return __generator(this, function (_b) {
|
|
170
|
+
switch (_b.label) {
|
|
163
171
|
case 0:
|
|
164
172
|
localVarPath = "/tenantservice/v1/organizations";
|
|
165
173
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -176,7 +184,7 @@ var OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
176
184
|
case 1:
|
|
177
185
|
// authentication bearer required
|
|
178
186
|
// http bearer authentication required
|
|
179
|
-
|
|
187
|
+
_b.sent();
|
|
180
188
|
if (pageSize !== undefined) {
|
|
181
189
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
182
190
|
}
|
|
@@ -198,8 +206,11 @@ var OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
198
206
|
if (filters !== undefined) {
|
|
199
207
|
localVarQueryParameter['filters'] = filters;
|
|
200
208
|
}
|
|
201
|
-
|
|
202
|
-
|
|
209
|
+
authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
210
|
+
authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
211
|
+
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
212
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
213
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
203
214
|
}
|
|
204
215
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
205
216
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -224,9 +235,10 @@ var OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
224
235
|
updateOrganization: function (code, updateOrganizationRequestDtoRest, authorization, options) {
|
|
225
236
|
if (options === void 0) { options = {}; }
|
|
226
237
|
return __awaiter(_this, void 0, void 0, function () {
|
|
227
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
228
|
-
|
|
229
|
-
|
|
238
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
|
|
239
|
+
var _a;
|
|
240
|
+
return __generator(this, function (_b) {
|
|
241
|
+
switch (_b.label) {
|
|
230
242
|
case 0:
|
|
231
243
|
// verify required parameter 'code' is not null or undefined
|
|
232
244
|
(0, common_1.assertParamExists)('updateOrganization', 'code', code);
|
|
@@ -244,13 +256,19 @@ var OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
244
256
|
localVarQueryParameter = {};
|
|
245
257
|
// authentication bearer required
|
|
246
258
|
// http bearer authentication required
|
|
247
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
259
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
260
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
261
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
262
|
+
];
|
|
248
263
|
case 1:
|
|
249
264
|
// authentication bearer required
|
|
250
265
|
// http bearer authentication required
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
266
|
+
_b.sent();
|
|
267
|
+
authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
268
|
+
authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
269
|
+
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
270
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
271
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
254
272
|
}
|
|
255
273
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
256
274
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -419,7 +437,7 @@ var OrganizationsApi = /** @class */ (function (_super) {
|
|
|
419
437
|
*/
|
|
420
438
|
OrganizationsApi.prototype.getOrganization = function (requestParameters, options) {
|
|
421
439
|
var _this = this;
|
|
422
|
-
return (0, exports.OrganizationsApiFp)(this.configuration).getOrganization(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
440
|
+
return (0, exports.OrganizationsApiFp)(this.configuration).getOrganization(requestParameters.code, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
423
441
|
};
|
|
424
442
|
/**
|
|
425
443
|
* This will fetch list of organizations **Required Permissions** \"tenant-management.organizations.view\"
|
|
@@ -432,7 +450,7 @@ var OrganizationsApi = /** @class */ (function (_super) {
|
|
|
432
450
|
OrganizationsApi.prototype.listOrganizations = function (requestParameters, options) {
|
|
433
451
|
var _this = this;
|
|
434
452
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
435
|
-
return (0, exports.OrganizationsApiFp)(this.configuration).listOrganizations(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); });
|
|
453
|
+
return (0, exports.OrganizationsApiFp)(this.configuration).listOrganizations(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); });
|
|
436
454
|
};
|
|
437
455
|
/**
|
|
438
456
|
* Update organization data **Required Permissions** \"tenant-management.organizations.update\"
|
|
@@ -444,7 +462,7 @@ var OrganizationsApi = /** @class */ (function (_super) {
|
|
|
444
462
|
*/
|
|
445
463
|
OrganizationsApi.prototype.updateOrganization = function (requestParameters, options) {
|
|
446
464
|
var _this = this;
|
|
447
|
-
return (0, exports.OrganizationsApiFp)(this.configuration).updateOrganization(requestParameters.code, requestParameters.updateOrganizationRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
465
|
+
return (0, exports.OrganizationsApiFp)(this.configuration).updateOrganization(requestParameters.code, requestParameters.updateOrganizationRequestDtoRest, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
448
466
|
};
|
|
449
467
|
return OrganizationsApi;
|
|
450
468
|
}(base_1.BaseAPI));
|
|
@@ -89,5 +89,5 @@ export declare class ReInviteAnOrganizationApi extends BaseAPI {
|
|
|
89
89
|
* @throws {RequiredError}
|
|
90
90
|
* @memberof ReInviteAnOrganizationApi
|
|
91
91
|
*/
|
|
92
|
-
reInviteOrganization(requestParameters: ReInviteAnOrganizationApiReInviteOrganizationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrgInvitationResponseClass, any, {}>>;
|
|
92
|
+
reInviteOrganization(requestParameters: ReInviteAnOrganizationApiReInviteOrganizationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrgInvitationResponseClass, any, {}, any>>;
|
|
93
93
|
}
|
|
@@ -102,9 +102,10 @@ var ReInviteAnOrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
102
102
|
reInviteOrganization: function (reInviteOrgRequestDto, authorization, options) {
|
|
103
103
|
if (options === void 0) { options = {}; }
|
|
104
104
|
return __awaiter(_this, void 0, void 0, function () {
|
|
105
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
106
|
-
|
|
107
|
-
|
|
105
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
|
|
106
|
+
var _a;
|
|
107
|
+
return __generator(this, function (_b) {
|
|
108
|
+
switch (_b.label) {
|
|
108
109
|
case 0:
|
|
109
110
|
// verify required parameter 'reInviteOrgRequestDto' is not null or undefined
|
|
110
111
|
(0, common_1.assertParamExists)('reInviteOrganization', 'reInviteOrgRequestDto', reInviteOrgRequestDto);
|
|
@@ -119,13 +120,19 @@ var ReInviteAnOrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
119
120
|
localVarQueryParameter = {};
|
|
120
121
|
// authentication bearer required
|
|
121
122
|
// http bearer authentication required
|
|
122
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
123
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
124
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
125
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
126
|
+
];
|
|
123
127
|
case 1:
|
|
124
128
|
// authentication bearer required
|
|
125
129
|
// http bearer authentication required
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
130
|
+
_b.sent();
|
|
131
|
+
authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
132
|
+
authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
133
|
+
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
134
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
135
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
129
136
|
}
|
|
130
137
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
131
138
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -213,7 +220,7 @@ var ReInviteAnOrganizationApi = /** @class */ (function (_super) {
|
|
|
213
220
|
*/
|
|
214
221
|
ReInviteAnOrganizationApi.prototype.reInviteOrganization = function (requestParameters, options) {
|
|
215
222
|
var _this = this;
|
|
216
|
-
return (0, exports.ReInviteAnOrganizationApiFp)(this.configuration).reInviteOrganization(requestParameters.reInviteOrgRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
223
|
+
return (0, exports.ReInviteAnOrganizationApiFp)(this.configuration).reInviteOrganization(requestParameters.reInviteOrgRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
217
224
|
};
|
|
218
225
|
return ReInviteAnOrganizationApi;
|
|
219
226
|
}(base_1.BaseAPI));
|
|
@@ -354,7 +354,7 @@ export declare class ReportScheduleApi extends BaseAPI {
|
|
|
354
354
|
* @throws {RequiredError}
|
|
355
355
|
* @memberof ReportScheduleApi
|
|
356
356
|
*/
|
|
357
|
-
createReportSchedule(requestParameters: ReportScheduleApiCreateReportScheduleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateReportScheduleResponseClass, any, {}>>;
|
|
357
|
+
createReportSchedule(requestParameters: ReportScheduleApiCreateReportScheduleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateReportScheduleResponseClass, any, {}, any>>;
|
|
358
358
|
/**
|
|
359
359
|
* Permanently deletes the report-schedule. Supply the unique code that was returned when you created the report-schedule and this will delete it. **Required Permissions** \"reporting.dashboards.view\"
|
|
360
360
|
* @summary Delete the report-schedule
|
|
@@ -363,7 +363,7 @@ export declare class ReportScheduleApi extends BaseAPI {
|
|
|
363
363
|
* @throws {RequiredError}
|
|
364
364
|
* @memberof ReportScheduleApi
|
|
365
365
|
*/
|
|
366
|
-
deleteReportSchedule(requestParameters: ReportScheduleApiDeleteReportScheduleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any, {}>>;
|
|
366
|
+
deleteReportSchedule(requestParameters: ReportScheduleApiDeleteReportScheduleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any, {}, any>>;
|
|
367
367
|
/**
|
|
368
368
|
* Retrieves the details of the report-schedule that was previously created. Supply the unique report-schedule code that was returned when you created it and Emil Api will return the corresponding report-schedule information. **Required Permissions** \"reporting.dashboards.view\"
|
|
369
369
|
* @summary Retrieve the report-schedule
|
|
@@ -372,7 +372,7 @@ export declare class ReportScheduleApi extends BaseAPI {
|
|
|
372
372
|
* @throws {RequiredError}
|
|
373
373
|
* @memberof ReportScheduleApi
|
|
374
374
|
*/
|
|
375
|
-
getReportSchedule(requestParameters: ReportScheduleApiGetReportScheduleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetReportScheduleResponseClass, any, {}>>;
|
|
375
|
+
getReportSchedule(requestParameters: ReportScheduleApiGetReportScheduleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetReportScheduleResponseClass, any, {}, any>>;
|
|
376
376
|
/**
|
|
377
377
|
* Returns a list of report-schedules you have previously created. The report-schedules are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"reporting.dashboards.view\"
|
|
378
378
|
* @summary List report-schedules
|
|
@@ -381,7 +381,7 @@ export declare class ReportScheduleApi extends BaseAPI {
|
|
|
381
381
|
* @throws {RequiredError}
|
|
382
382
|
* @memberof ReportScheduleApi
|
|
383
383
|
*/
|
|
384
|
-
listReportSchedules(requestParameters?: ReportScheduleApiListReportSchedulesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListReportSchedulesResponseClass, any, {}>>;
|
|
384
|
+
listReportSchedules(requestParameters?: ReportScheduleApiListReportSchedulesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListReportSchedulesResponseClass, any, {}, any>>;
|
|
385
385
|
/**
|
|
386
386
|
* Updates the specified report-schedule by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"reporting.dashboards.view\"
|
|
387
387
|
* @summary Update the report-schedule
|
|
@@ -390,5 +390,5 @@ export declare class ReportScheduleApi extends BaseAPI {
|
|
|
390
390
|
* @throws {RequiredError}
|
|
391
391
|
* @memberof ReportScheduleApi
|
|
392
392
|
*/
|
|
393
|
-
updateReportSchedule(requestParameters: ReportScheduleApiUpdateReportScheduleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateReportScheduleResponseClass, any, {}>>;
|
|
393
|
+
updateReportSchedule(requestParameters: ReportScheduleApiUpdateReportScheduleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateReportScheduleResponseClass, any, {}, any>>;
|
|
394
394
|
}
|
|
@@ -103,9 +103,10 @@ var ReportScheduleApiAxiosParamCreator = function (configuration) {
|
|
|
103
103
|
createReportSchedule: function (createReportScheduleRequestDto, 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
|
-
|
|
108
|
-
|
|
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 'createReportScheduleRequestDto' is not null or undefined
|
|
111
112
|
(0, common_1.assertParamExists)('createReportSchedule', 'createReportScheduleRequestDto', createReportScheduleRequestDto);
|
|
@@ -120,13 +121,19 @@ var ReportScheduleApiAxiosParamCreator = 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
|
-
|
|
128
|
-
|
|
129
|
-
|
|
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);
|
|
@@ -152,9 +159,10 @@ var ReportScheduleApiAxiosParamCreator = function (configuration) {
|
|
|
152
159
|
deleteReportSchedule: function (code, authorization, options) {
|
|
153
160
|
if (options === void 0) { options = {}; }
|
|
154
161
|
return __awaiter(_this, void 0, void 0, function () {
|
|
155
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
156
|
-
|
|
157
|
-
|
|
162
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
|
|
163
|
+
var _a;
|
|
164
|
+
return __generator(this, function (_b) {
|
|
165
|
+
switch (_b.label) {
|
|
158
166
|
case 0:
|
|
159
167
|
// verify required parameter 'code' is not null or undefined
|
|
160
168
|
(0, common_1.assertParamExists)('deleteReportSchedule', 'code', code);
|
|
@@ -170,13 +178,19 @@ var ReportScheduleApiAxiosParamCreator = function (configuration) {
|
|
|
170
178
|
localVarQueryParameter = {};
|
|
171
179
|
// authentication bearer required
|
|
172
180
|
// http bearer authentication required
|
|
173
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
181
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
182
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
183
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
184
|
+
];
|
|
174
185
|
case 1:
|
|
175
186
|
// authentication bearer required
|
|
176
187
|
// http bearer authentication required
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
188
|
+
_b.sent();
|
|
189
|
+
authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
190
|
+
authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
191
|
+
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
192
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
193
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
180
194
|
}
|
|
181
195
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
182
196
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -201,9 +215,10 @@ var ReportScheduleApiAxiosParamCreator = function (configuration) {
|
|
|
201
215
|
getReportSchedule: function (code, authorization, expand, options) {
|
|
202
216
|
if (options === void 0) { options = {}; }
|
|
203
217
|
return __awaiter(_this, void 0, void 0, function () {
|
|
204
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
205
|
-
|
|
206
|
-
|
|
218
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
|
|
219
|
+
var _a;
|
|
220
|
+
return __generator(this, function (_b) {
|
|
221
|
+
switch (_b.label) {
|
|
207
222
|
case 0:
|
|
208
223
|
// verify required parameter 'code' is not null or undefined
|
|
209
224
|
(0, common_1.assertParamExists)('getReportSchedule', 'code', code);
|
|
@@ -223,12 +238,15 @@ var ReportScheduleApiAxiosParamCreator = function (configuration) {
|
|
|
223
238
|
case 1:
|
|
224
239
|
// authentication bearer required
|
|
225
240
|
// http bearer authentication required
|
|
226
|
-
|
|
241
|
+
_b.sent();
|
|
227
242
|
if (expand !== undefined) {
|
|
228
243
|
localVarQueryParameter['expand'] = expand;
|
|
229
244
|
}
|
|
230
|
-
|
|
231
|
-
|
|
245
|
+
authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
246
|
+
authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
247
|
+
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
248
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
249
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
232
250
|
}
|
|
233
251
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
234
252
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -258,9 +276,10 @@ var ReportScheduleApiAxiosParamCreator = function (configuration) {
|
|
|
258
276
|
listReportSchedules: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
259
277
|
if (options === void 0) { options = {}; }
|
|
260
278
|
return __awaiter(_this, void 0, void 0, function () {
|
|
261
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
262
|
-
|
|
263
|
-
|
|
279
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
|
|
280
|
+
var _a;
|
|
281
|
+
return __generator(this, function (_b) {
|
|
282
|
+
switch (_b.label) {
|
|
264
283
|
case 0:
|
|
265
284
|
localVarPath = "/tenantservice/v1/report-schedules";
|
|
266
285
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -277,7 +296,7 @@ var ReportScheduleApiAxiosParamCreator = function (configuration) {
|
|
|
277
296
|
case 1:
|
|
278
297
|
// authentication bearer required
|
|
279
298
|
// http bearer authentication required
|
|
280
|
-
|
|
299
|
+
_b.sent();
|
|
281
300
|
if (pageSize !== undefined) {
|
|
282
301
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
283
302
|
}
|
|
@@ -299,8 +318,11 @@ var ReportScheduleApiAxiosParamCreator = function (configuration) {
|
|
|
299
318
|
if (filters !== undefined) {
|
|
300
319
|
localVarQueryParameter['filters'] = filters;
|
|
301
320
|
}
|
|
302
|
-
|
|
303
|
-
|
|
321
|
+
authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
322
|
+
authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
323
|
+
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
324
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
325
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
304
326
|
}
|
|
305
327
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
306
328
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -325,9 +347,10 @@ var ReportScheduleApiAxiosParamCreator = function (configuration) {
|
|
|
325
347
|
updateReportSchedule: function (code, updateReportScheduleRequestDto, authorization, options) {
|
|
326
348
|
if (options === void 0) { options = {}; }
|
|
327
349
|
return __awaiter(_this, void 0, void 0, function () {
|
|
328
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
329
|
-
|
|
330
|
-
|
|
350
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
|
|
351
|
+
var _a;
|
|
352
|
+
return __generator(this, function (_b) {
|
|
353
|
+
switch (_b.label) {
|
|
331
354
|
case 0:
|
|
332
355
|
// verify required parameter 'code' is not null or undefined
|
|
333
356
|
(0, common_1.assertParamExists)('updateReportSchedule', 'code', code);
|
|
@@ -345,13 +368,19 @@ var ReportScheduleApiAxiosParamCreator = function (configuration) {
|
|
|
345
368
|
localVarQueryParameter = {};
|
|
346
369
|
// authentication bearer required
|
|
347
370
|
// http bearer authentication required
|
|
348
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
371
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
372
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
373
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
374
|
+
];
|
|
349
375
|
case 1:
|
|
350
376
|
// authentication bearer required
|
|
351
377
|
// http bearer authentication required
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
378
|
+
_b.sent();
|
|
379
|
+
authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
380
|
+
authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
381
|
+
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
382
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
383
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
355
384
|
}
|
|
356
385
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
357
386
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -586,7 +615,7 @@ var ReportScheduleApi = /** @class */ (function (_super) {
|
|
|
586
615
|
*/
|
|
587
616
|
ReportScheduleApi.prototype.createReportSchedule = function (requestParameters, options) {
|
|
588
617
|
var _this = this;
|
|
589
|
-
return (0, exports.ReportScheduleApiFp)(this.configuration).createReportSchedule(requestParameters.createReportScheduleRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
618
|
+
return (0, exports.ReportScheduleApiFp)(this.configuration).createReportSchedule(requestParameters.createReportScheduleRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
590
619
|
};
|
|
591
620
|
/**
|
|
592
621
|
* Permanently deletes the report-schedule. Supply the unique code that was returned when you created the report-schedule and this will delete it. **Required Permissions** \"reporting.dashboards.view\"
|
|
@@ -598,7 +627,7 @@ var ReportScheduleApi = /** @class */ (function (_super) {
|
|
|
598
627
|
*/
|
|
599
628
|
ReportScheduleApi.prototype.deleteReportSchedule = function (requestParameters, options) {
|
|
600
629
|
var _this = this;
|
|
601
|
-
return (0, exports.ReportScheduleApiFp)(this.configuration).deleteReportSchedule(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
630
|
+
return (0, exports.ReportScheduleApiFp)(this.configuration).deleteReportSchedule(requestParameters.code, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
602
631
|
};
|
|
603
632
|
/**
|
|
604
633
|
* Retrieves the details of the report-schedule that was previously created. Supply the unique report-schedule code that was returned when you created it and Emil Api will return the corresponding report-schedule information. **Required Permissions** \"reporting.dashboards.view\"
|
|
@@ -610,7 +639,7 @@ var ReportScheduleApi = /** @class */ (function (_super) {
|
|
|
610
639
|
*/
|
|
611
640
|
ReportScheduleApi.prototype.getReportSchedule = function (requestParameters, options) {
|
|
612
641
|
var _this = this;
|
|
613
|
-
return (0, exports.ReportScheduleApiFp)(this.configuration).getReportSchedule(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
642
|
+
return (0, exports.ReportScheduleApiFp)(this.configuration).getReportSchedule(requestParameters.code, requestParameters.authorization, requestParameters.expand, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
614
643
|
};
|
|
615
644
|
/**
|
|
616
645
|
* Returns a list of report-schedules you have previously created. The report-schedules are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"reporting.dashboards.view\"
|
|
@@ -623,7 +652,7 @@ var ReportScheduleApi = /** @class */ (function (_super) {
|
|
|
623
652
|
ReportScheduleApi.prototype.listReportSchedules = function (requestParameters, options) {
|
|
624
653
|
var _this = this;
|
|
625
654
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
626
|
-
return (0, exports.ReportScheduleApiFp)(this.configuration).listReportSchedules(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); });
|
|
655
|
+
return (0, exports.ReportScheduleApiFp)(this.configuration).listReportSchedules(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); });
|
|
627
656
|
};
|
|
628
657
|
/**
|
|
629
658
|
* Updates the specified report-schedule by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"reporting.dashboards.view\"
|
|
@@ -635,7 +664,7 @@ var ReportScheduleApi = /** @class */ (function (_super) {
|
|
|
635
664
|
*/
|
|
636
665
|
ReportScheduleApi.prototype.updateReportSchedule = function (requestParameters, options) {
|
|
637
666
|
var _this = this;
|
|
638
|
-
return (0, exports.ReportScheduleApiFp)(this.configuration).updateReportSchedule(requestParameters.code, requestParameters.updateReportScheduleRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
667
|
+
return (0, exports.ReportScheduleApiFp)(this.configuration).updateReportSchedule(requestParameters.code, requestParameters.updateReportScheduleRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
639
668
|
};
|
|
640
669
|
return ReportScheduleApi;
|
|
641
670
|
}(base_1.BaseAPI));
|
|
@@ -146,5 +146,5 @@ export declare class ReportScheduleLogsApi extends BaseAPI {
|
|
|
146
146
|
* @throws {RequiredError}
|
|
147
147
|
* @memberof ReportScheduleLogsApi
|
|
148
148
|
*/
|
|
149
|
-
listReportScheduleLogs(requestParameters?: ReportScheduleLogsApiListReportScheduleLogsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListReportScheduleLogsResponseClass, any, {}>>;
|
|
149
|
+
listReportScheduleLogs(requestParameters?: ReportScheduleLogsApiListReportScheduleLogsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListReportScheduleLogsResponseClass, any, {}, any>>;
|
|
150
150
|
}
|
|
@@ -109,9 +109,10 @@ var ReportScheduleLogsApiAxiosParamCreator = function (configuration) {
|
|
|
109
109
|
listReportScheduleLogs: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
110
110
|
if (options === void 0) { options = {}; }
|
|
111
111
|
return __awaiter(_this, void 0, void 0, function () {
|
|
112
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
113
|
-
|
|
114
|
-
|
|
112
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
|
|
113
|
+
var _a;
|
|
114
|
+
return __generator(this, function (_b) {
|
|
115
|
+
switch (_b.label) {
|
|
115
116
|
case 0:
|
|
116
117
|
localVarPath = "/tenantservice/v1/report-schedule-logs";
|
|
117
118
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -128,7 +129,7 @@ var ReportScheduleLogsApiAxiosParamCreator = function (configuration) {
|
|
|
128
129
|
case 1:
|
|
129
130
|
// authentication bearer required
|
|
130
131
|
// http bearer authentication required
|
|
131
|
-
|
|
132
|
+
_b.sent();
|
|
132
133
|
if (pageSize !== undefined) {
|
|
133
134
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
134
135
|
}
|
|
@@ -150,8 +151,11 @@ var ReportScheduleLogsApiAxiosParamCreator = function (configuration) {
|
|
|
150
151
|
if (filters !== undefined) {
|
|
151
152
|
localVarQueryParameter['filters'] = filters;
|
|
152
153
|
}
|
|
153
|
-
|
|
154
|
-
|
|
154
|
+
authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
155
|
+
authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
156
|
+
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
157
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
158
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
155
159
|
}
|
|
156
160
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
157
161
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -253,7 +257,7 @@ var ReportScheduleLogsApi = /** @class */ (function (_super) {
|
|
|
253
257
|
ReportScheduleLogsApi.prototype.listReportScheduleLogs = function (requestParameters, options) {
|
|
254
258
|
var _this = this;
|
|
255
259
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
256
|
-
return (0, exports.ReportScheduleLogsApiFp)(this.configuration).listReportScheduleLogs(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); });
|
|
260
|
+
return (0, exports.ReportScheduleLogsApiFp)(this.configuration).listReportScheduleLogs(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); });
|
|
257
261
|
};
|
|
258
262
|
return ReportScheduleLogsApi;
|
|
259
263
|
}(base_1.BaseAPI));
|
package/dist/api/roles-api.d.ts
CHANGED
|
@@ -141,5 +141,5 @@ export declare class RolesApi extends BaseAPI {
|
|
|
141
141
|
* @throws {RequiredError}
|
|
142
142
|
* @memberof RolesApi
|
|
143
143
|
*/
|
|
144
|
-
listRoles(requestParameters?: RolesApiListRolesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListRolesResponseClass, any, {}>>;
|
|
144
|
+
listRoles(requestParameters?: RolesApiListRolesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListRolesResponseClass, any, {}, any>>;
|
|
145
145
|
}
|
package/dist/api/roles-api.js
CHANGED
|
@@ -109,9 +109,10 @@ var RolesApiAxiosParamCreator = function (configuration) {
|
|
|
109
109
|
listRoles: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
110
110
|
if (options === void 0) { options = {}; }
|
|
111
111
|
return __awaiter(_this, void 0, void 0, function () {
|
|
112
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
113
|
-
|
|
114
|
-
|
|
112
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
|
|
113
|
+
var _a;
|
|
114
|
+
return __generator(this, function (_b) {
|
|
115
|
+
switch (_b.label) {
|
|
115
116
|
case 0:
|
|
116
117
|
localVarPath = "/tenantservice/v1/roles";
|
|
117
118
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -128,7 +129,7 @@ var RolesApiAxiosParamCreator = function (configuration) {
|
|
|
128
129
|
case 1:
|
|
129
130
|
// authentication bearer required
|
|
130
131
|
// http bearer authentication required
|
|
131
|
-
|
|
132
|
+
_b.sent();
|
|
132
133
|
if (pageSize !== undefined) {
|
|
133
134
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
134
135
|
}
|
|
@@ -147,8 +148,11 @@ var RolesApiAxiosParamCreator = function (configuration) {
|
|
|
147
148
|
if (expand !== undefined) {
|
|
148
149
|
localVarQueryParameter['expand'] = expand;
|
|
149
150
|
}
|
|
150
|
-
|
|
151
|
-
|
|
151
|
+
authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
152
|
+
authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
153
|
+
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
154
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
155
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
152
156
|
}
|
|
153
157
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
154
158
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -251,7 +255,7 @@ var RolesApi = /** @class */ (function (_super) {
|
|
|
251
255
|
RolesApi.prototype.listRoles = function (requestParameters, options) {
|
|
252
256
|
var _this = this;
|
|
253
257
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
254
|
-
return (0, exports.RolesApiFp)(this.configuration).listRoles(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
258
|
+
return (0, exports.RolesApiFp)(this.configuration).listRoles(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
255
259
|
};
|
|
256
260
|
return RolesApi;
|
|
257
261
|
}(base_1.BaseAPI));
|