@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 CustomSchemaApiAxiosParamCreator = function (configuration) {
|
|
|
103
103
|
createCustomSchema: function (createCustomSchemaRequestDto, 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 'createCustomSchemaRequestDto' is not null or undefined
|
|
111
112
|
(0, common_1.assertParamExists)('createCustomSchema', 'createCustomSchemaRequestDto', createCustomSchemaRequestDto);
|
|
@@ -120,13 +121,19 @@ var CustomSchemaApiAxiosParamCreator = 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);
|
|
@@ -153,9 +160,10 @@ var CustomSchemaApiAxiosParamCreator = function (configuration) {
|
|
|
153
160
|
getCustomSchema: function (code, authorization, expand, options) {
|
|
154
161
|
if (options === void 0) { options = {}; }
|
|
155
162
|
return __awaiter(_this, void 0, void 0, function () {
|
|
156
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
157
|
-
|
|
158
|
-
|
|
163
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
|
|
164
|
+
var _a;
|
|
165
|
+
return __generator(this, function (_b) {
|
|
166
|
+
switch (_b.label) {
|
|
159
167
|
case 0:
|
|
160
168
|
// verify required parameter 'code' is not null or undefined
|
|
161
169
|
(0, common_1.assertParamExists)('getCustomSchema', 'code', code);
|
|
@@ -175,12 +183,15 @@ var CustomSchemaApiAxiosParamCreator = function (configuration) {
|
|
|
175
183
|
case 1:
|
|
176
184
|
// authentication bearer required
|
|
177
185
|
// http bearer authentication required
|
|
178
|
-
|
|
186
|
+
_b.sent();
|
|
179
187
|
if (expand !== undefined) {
|
|
180
188
|
localVarQueryParameter['expand'] = expand;
|
|
181
189
|
}
|
|
182
|
-
|
|
183
|
-
|
|
190
|
+
authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
191
|
+
authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
192
|
+
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
193
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
194
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
184
195
|
}
|
|
185
196
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
186
197
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -210,9 +221,10 @@ var CustomSchemaApiAxiosParamCreator = function (configuration) {
|
|
|
210
221
|
listCustomSchemas: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
211
222
|
if (options === void 0) { options = {}; }
|
|
212
223
|
return __awaiter(_this, void 0, void 0, function () {
|
|
213
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
214
|
-
|
|
215
|
-
|
|
224
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
|
|
225
|
+
var _a;
|
|
226
|
+
return __generator(this, function (_b) {
|
|
227
|
+
switch (_b.label) {
|
|
216
228
|
case 0:
|
|
217
229
|
localVarPath = "/tenantservice/v1/custom-schemas";
|
|
218
230
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -229,7 +241,7 @@ var CustomSchemaApiAxiosParamCreator = function (configuration) {
|
|
|
229
241
|
case 1:
|
|
230
242
|
// authentication bearer required
|
|
231
243
|
// http bearer authentication required
|
|
232
|
-
|
|
244
|
+
_b.sent();
|
|
233
245
|
if (pageSize !== undefined) {
|
|
234
246
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
235
247
|
}
|
|
@@ -251,8 +263,11 @@ var CustomSchemaApiAxiosParamCreator = function (configuration) {
|
|
|
251
263
|
if (filters !== undefined) {
|
|
252
264
|
localVarQueryParameter['filters'] = filters;
|
|
253
265
|
}
|
|
254
|
-
|
|
255
|
-
|
|
266
|
+
authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
267
|
+
authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
268
|
+
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
269
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
270
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
256
271
|
}
|
|
257
272
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
258
273
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -277,9 +292,10 @@ var CustomSchemaApiAxiosParamCreator = function (configuration) {
|
|
|
277
292
|
updateCustomSchema: function (code, updateCustomSchemaRequestDto, authorization, options) {
|
|
278
293
|
if (options === void 0) { options = {}; }
|
|
279
294
|
return __awaiter(_this, void 0, void 0, function () {
|
|
280
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
281
|
-
|
|
282
|
-
|
|
295
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
|
|
296
|
+
var _a;
|
|
297
|
+
return __generator(this, function (_b) {
|
|
298
|
+
switch (_b.label) {
|
|
283
299
|
case 0:
|
|
284
300
|
// verify required parameter 'code' is not null or undefined
|
|
285
301
|
(0, common_1.assertParamExists)('updateCustomSchema', 'code', code);
|
|
@@ -297,13 +313,19 @@ var CustomSchemaApiAxiosParamCreator = function (configuration) {
|
|
|
297
313
|
localVarQueryParameter = {};
|
|
298
314
|
// authentication bearer required
|
|
299
315
|
// http bearer authentication required
|
|
300
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
316
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
317
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
318
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
319
|
+
];
|
|
301
320
|
case 1:
|
|
302
321
|
// authentication bearer required
|
|
303
322
|
// http bearer authentication required
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
323
|
+
_b.sent();
|
|
324
|
+
authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
325
|
+
authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
326
|
+
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
327
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
328
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
307
329
|
}
|
|
308
330
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
309
331
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -506,7 +528,7 @@ var CustomSchemaApi = /** @class */ (function (_super) {
|
|
|
506
528
|
*/
|
|
507
529
|
CustomSchemaApi.prototype.createCustomSchema = function (requestParameters, options) {
|
|
508
530
|
var _this = this;
|
|
509
|
-
return (0, exports.CustomSchemaApiFp)(this.configuration).createCustomSchema(requestParameters.createCustomSchemaRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
531
|
+
return (0, exports.CustomSchemaApiFp)(this.configuration).createCustomSchema(requestParameters.createCustomSchemaRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
510
532
|
};
|
|
511
533
|
/**
|
|
512
534
|
* Retrieves the details of the custom-schema that was previously created. Supply the unique custom-schema code that was returned when you created it and Emil Api will return the corresponding custom-schema information. **Required Permissions** \"tenant-management.custom-schemas.view\"
|
|
@@ -518,7 +540,7 @@ var CustomSchemaApi = /** @class */ (function (_super) {
|
|
|
518
540
|
*/
|
|
519
541
|
CustomSchemaApi.prototype.getCustomSchema = function (requestParameters, options) {
|
|
520
542
|
var _this = this;
|
|
521
|
-
return (0, exports.CustomSchemaApiFp)(this.configuration).getCustomSchema(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
543
|
+
return (0, exports.CustomSchemaApiFp)(this.configuration).getCustomSchema(requestParameters.code, requestParameters.authorization, requestParameters.expand, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
522
544
|
};
|
|
523
545
|
/**
|
|
524
546
|
* Returns a list of custom-schemas you have previously created. The custom-schemas are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"tenant-management.custom-schemas.view\"
|
|
@@ -531,7 +553,7 @@ var CustomSchemaApi = /** @class */ (function (_super) {
|
|
|
531
553
|
CustomSchemaApi.prototype.listCustomSchemas = function (requestParameters, options) {
|
|
532
554
|
var _this = this;
|
|
533
555
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
534
|
-
return (0, exports.CustomSchemaApiFp)(this.configuration).listCustomSchemas(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); });
|
|
556
|
+
return (0, exports.CustomSchemaApiFp)(this.configuration).listCustomSchemas(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); });
|
|
535
557
|
};
|
|
536
558
|
/**
|
|
537
559
|
* Updates the specified custom-schema by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"tenant-management.custom-schemas.update\"
|
|
@@ -543,7 +565,7 @@ var CustomSchemaApi = /** @class */ (function (_super) {
|
|
|
543
565
|
*/
|
|
544
566
|
CustomSchemaApi.prototype.updateCustomSchema = function (requestParameters, options) {
|
|
545
567
|
var _this = this;
|
|
546
|
-
return (0, exports.CustomSchemaApiFp)(this.configuration).updateCustomSchema(requestParameters.code, requestParameters.updateCustomSchemaRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
568
|
+
return (0, exports.CustomSchemaApiFp)(this.configuration).updateCustomSchema(requestParameters.code, requestParameters.updateCustomSchemaRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
547
569
|
};
|
|
548
570
|
return CustomSchemaApi;
|
|
549
571
|
}(base_1.BaseAPI));
|
|
@@ -687,7 +687,7 @@ export declare class DashboardApi extends BaseAPI {
|
|
|
687
687
|
* @throws {RequiredError}
|
|
688
688
|
* @memberof DashboardApi
|
|
689
689
|
*/
|
|
690
|
-
createDashboard(requestParameters: DashboardApiCreateDashboardRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateDashboardV2ResponseClass, any, {}>>;
|
|
690
|
+
createDashboard(requestParameters: DashboardApiCreateDashboardRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateDashboardV2ResponseClass, any, {}, any>>;
|
|
691
691
|
/**
|
|
692
692
|
* Creates a new dashboard from a preconfigured analysis id and dashboard id. Use POST /tenantservice/v1/dashboards instead. **Required Permissions** \"reporting.dashboards.create\"
|
|
693
693
|
* @summary Creates a new dashboard (DEPRECATED)
|
|
@@ -697,7 +697,7 @@ export declare class DashboardApi extends BaseAPI {
|
|
|
697
697
|
* @throws {RequiredError}
|
|
698
698
|
* @memberof DashboardApi
|
|
699
699
|
*/
|
|
700
|
-
createDashboardLegacy(requestParameters: DashboardApiCreateDashboardLegacyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateDashboardResponseClass, any, {}>>;
|
|
700
|
+
createDashboardLegacy(requestParameters: DashboardApiCreateDashboardLegacyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateDashboardResponseClass, any, {}, any>>;
|
|
701
701
|
/**
|
|
702
702
|
* Permanently removes a dashboard and all associated data by dashboard code. **Required Permissions** \"reporting.dashboards.delete\"
|
|
703
703
|
* @summary Deletes an existing dashboard
|
|
@@ -706,7 +706,7 @@ export declare class DashboardApi extends BaseAPI {
|
|
|
706
706
|
* @throws {RequiredError}
|
|
707
707
|
* @memberof DashboardApi
|
|
708
708
|
*/
|
|
709
|
-
deleteDashboard(requestParameters: DashboardApiDeleteDashboardRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any, {}>>;
|
|
709
|
+
deleteDashboard(requestParameters: DashboardApiDeleteDashboardRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any, {}, any>>;
|
|
710
710
|
/**
|
|
711
711
|
* Creates a copy of the specified dashboard with all its configurations and settings. **Required Permissions** \"reporting.dashboards.create\"
|
|
712
712
|
* @summary Creates a duplicate of an existing dashboard
|
|
@@ -715,7 +715,7 @@ export declare class DashboardApi extends BaseAPI {
|
|
|
715
715
|
* @throws {RequiredError}
|
|
716
716
|
* @memberof DashboardApi
|
|
717
717
|
*/
|
|
718
|
-
duplicateDashboard(requestParameters: DashboardApiDuplicateDashboardRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DuplicateDashboardResponseClass, any, {}>>;
|
|
718
|
+
duplicateDashboard(requestParameters: DashboardApiDuplicateDashboardRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DuplicateDashboardResponseClass, any, {}, any>>;
|
|
719
719
|
/**
|
|
720
720
|
* Creates a secure embedded URL that allows dashboard analysis and editing within external applications. **Required Permissions** \"reporting.dashboards.update\"
|
|
721
721
|
* @summary Generates an embedded URL for dashboard editing
|
|
@@ -724,7 +724,7 @@ export declare class DashboardApi extends BaseAPI {
|
|
|
724
724
|
* @throws {RequiredError}
|
|
725
725
|
* @memberof DashboardApi
|
|
726
726
|
*/
|
|
727
|
-
getAnalysisEmbeddedUrl(requestParameters: DashboardApiGetAnalysisEmbeddedUrlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEmbeddedUrlResponseClass, any, {}>>;
|
|
727
|
+
getAnalysisEmbeddedUrl(requestParameters: DashboardApiGetAnalysisEmbeddedUrlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEmbeddedUrlResponseClass, any, {}, any>>;
|
|
728
728
|
/**
|
|
729
729
|
* Fetches dashboard details by code including configuration and metadata. **Required Permissions** \"reporting.dashboards.view\"
|
|
730
730
|
* @summary Retrieves a specific dashboard
|
|
@@ -733,7 +733,7 @@ export declare class DashboardApi extends BaseAPI {
|
|
|
733
733
|
* @throws {RequiredError}
|
|
734
734
|
* @memberof DashboardApi
|
|
735
735
|
*/
|
|
736
|
-
getDashboard(requestParameters: DashboardApiGetDashboardRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDashboardResponseClass, any, {}>>;
|
|
736
|
+
getDashboard(requestParameters: DashboardApiGetDashboardRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDashboardResponseClass, any, {}, any>>;
|
|
737
737
|
/**
|
|
738
738
|
* Creates a secure embedded URL that allows dashboard content to be displayed within external applications. **Required Permissions** \"reporting.dashboards.view\"
|
|
739
739
|
* @summary Generates an embedded URL for dashboard viewing
|
|
@@ -742,7 +742,7 @@ export declare class DashboardApi extends BaseAPI {
|
|
|
742
742
|
* @throws {RequiredError}
|
|
743
743
|
* @memberof DashboardApi
|
|
744
744
|
*/
|
|
745
|
-
getDashboardEmbeddedUrl(requestParameters: DashboardApiGetDashboardEmbeddedUrlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEmbeddedUrlResponseClass, any, {}>>;
|
|
745
|
+
getDashboardEmbeddedUrl(requestParameters: DashboardApiGetDashboardEmbeddedUrlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEmbeddedUrlResponseClass, any, {}, any>>;
|
|
746
746
|
/**
|
|
747
747
|
* Returns sheet names and parameter definitions for the dashboard analysis backing this record. **Required Permissions** \"reporting.dashboards.view\"
|
|
748
748
|
* @summary Retrieves QuickSight analysis metadata for a dashboard
|
|
@@ -751,7 +751,7 @@ export declare class DashboardApi extends BaseAPI {
|
|
|
751
751
|
* @throws {RequiredError}
|
|
752
752
|
* @memberof DashboardApi
|
|
753
753
|
*/
|
|
754
|
-
getDashboardMetadata(requestParameters: DashboardApiGetDashboardMetadataRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDashboardMetadataResponseClass, any, {}>>;
|
|
754
|
+
getDashboardMetadata(requestParameters: DashboardApiGetDashboardMetadataRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDashboardMetadataResponseClass, any, {}, any>>;
|
|
755
755
|
/**
|
|
756
756
|
* Fetches a paginated list of dashboards with optional filtering and sorting capabilities. **Required Permissions** \"reporting.dashboards.view\"
|
|
757
757
|
* @summary Retrieves a list of dashboards
|
|
@@ -760,7 +760,7 @@ export declare class DashboardApi extends BaseAPI {
|
|
|
760
760
|
* @throws {RequiredError}
|
|
761
761
|
* @memberof DashboardApi
|
|
762
762
|
*/
|
|
763
|
-
listDashboards(requestParameters?: DashboardApiListDashboardsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListDashboardsResponseClass, any, {}>>;
|
|
763
|
+
listDashboards(requestParameters?: DashboardApiListDashboardsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListDashboardsResponseClass, any, {}, any>>;
|
|
764
764
|
/**
|
|
765
765
|
* Makes a dashboard publicly available by publishing it from draft or analysis state. **Required Permissions** \"reporting.dashboards.update\"
|
|
766
766
|
* @summary Publishes a dashboard for general access
|
|
@@ -769,7 +769,7 @@ export declare class DashboardApi extends BaseAPI {
|
|
|
769
769
|
* @throws {RequiredError}
|
|
770
770
|
* @memberof DashboardApi
|
|
771
771
|
*/
|
|
772
|
-
publishDashboard(requestParameters: DashboardApiPublishDashboardRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
772
|
+
publishDashboard(requestParameters: DashboardApiPublishDashboardRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
773
773
|
/**
|
|
774
774
|
* Rolls back dashboard analysis changes to restore the previous version or state. **Required Permissions** \"reporting.dashboards.update\"
|
|
775
775
|
* @summary Reverts dashboard analysis to previous state
|
|
@@ -778,7 +778,7 @@ export declare class DashboardApi extends BaseAPI {
|
|
|
778
778
|
* @throws {RequiredError}
|
|
779
779
|
* @memberof DashboardApi
|
|
780
780
|
*/
|
|
781
|
-
revertAnalysis(requestParameters: DashboardApiRevertAnalysisRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
781
|
+
revertAnalysis(requestParameters: DashboardApiRevertAnalysisRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
782
782
|
/**
|
|
783
783
|
* Modifies dashboard properties, configuration, or metadata by dashboard code. **Required Permissions** \"reporting.dashboards.update\"
|
|
784
784
|
* @summary Updates an existing dashboard
|
|
@@ -787,5 +787,5 @@ export declare class DashboardApi extends BaseAPI {
|
|
|
787
787
|
* @throws {RequiredError}
|
|
788
788
|
* @memberof DashboardApi
|
|
789
789
|
*/
|
|
790
|
-
updateDashboard(requestParameters: DashboardApiUpdateDashboardRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateDashboardResponseClass, any, {}>>;
|
|
790
|
+
updateDashboard(requestParameters: DashboardApiUpdateDashboardRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateDashboardResponseClass, any, {}, any>>;
|
|
791
791
|
}
|