@emilgroup/tenant-sdk-node 1.28.0 → 1.28.1-beta.1
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 +3 -0
- package/README.md +2 -2
- package/api/custom-schema-api.ts +16 -16
- package/api/dashboard-api.ts +338 -39
- package/api/dashboard-group-api.ts +20 -20
- package/api/data-report-api.ts +16 -16
- package/api/data-report-executor-api.ts +4 -4
- package/api/delete-organization-invitations-api.ts +4 -4
- package/api/invite-organizations-api.ts +4 -4
- package/api/invite-users-api.ts +16 -16
- package/api/list-organization-invitations-api.ts +4 -4
- package/api/organizations-api.ts +12 -12
- package/api/re-invite-an-organization-api.ts +4 -4
- package/api/roles-api.ts +4 -4
- package/api/settings-api.ts +4 -4
- package/api/users-api.ts +28 -28
- package/base.ts +1 -1
- package/common.ts +2 -2
- package/configuration.ts +9 -0
- package/dist/api/custom-schema-api.d.ts +16 -16
- package/dist/api/custom-schema-api.js +16 -16
- package/dist/api/dashboard-api.d.ts +189 -34
- package/dist/api/dashboard-api.js +300 -34
- package/dist/api/dashboard-group-api.d.ts +20 -20
- package/dist/api/dashboard-group-api.js +20 -20
- package/dist/api/data-report-api.d.ts +16 -16
- package/dist/api/data-report-api.js +16 -16
- package/dist/api/data-report-executor-api.d.ts +4 -4
- package/dist/api/data-report-executor-api.js +4 -4
- package/dist/api/delete-organization-invitations-api.d.ts +4 -4
- package/dist/api/delete-organization-invitations-api.js +4 -4
- package/dist/api/invite-organizations-api.d.ts +4 -4
- package/dist/api/invite-organizations-api.js +4 -4
- package/dist/api/invite-users-api.d.ts +16 -16
- package/dist/api/invite-users-api.js +16 -16
- package/dist/api/list-organization-invitations-api.d.ts +4 -4
- package/dist/api/list-organization-invitations-api.js +4 -4
- package/dist/api/organizations-api.d.ts +12 -12
- package/dist/api/organizations-api.js +12 -12
- package/dist/api/re-invite-an-organization-api.d.ts +4 -4
- package/dist/api/re-invite-an-organization-api.js +4 -4
- package/dist/api/roles-api.d.ts +4 -4
- package/dist/api/roles-api.js +4 -4
- package/dist/api/settings-api.d.ts +4 -4
- package/dist/api/settings-api.js +4 -4
- package/dist/api/users-api.d.ts +28 -28
- package/dist/api/users-api.js +28 -28
- package/dist/base.js +1 -1
- package/dist/common.js +2 -2
- package/dist/configuration.d.ts +6 -0
- package/dist/configuration.js +8 -0
- package/dist/models/create-tenant-db-config-request-dto.d.ts +30 -0
- package/dist/models/create-tenant-db-config-request-dto.js +15 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/models/invite-class.d.ts +12 -12
- package/dist/models/publish-dashboard-request-dto.d.ts +34 -0
- package/dist/models/publish-dashboard-request-dto.js +19 -0
- package/dist/models/revert-analysis-request-dto.d.ts +34 -0
- package/dist/models/revert-analysis-request-dto.js +19 -0
- package/dist/models/user-class.d.ts +8 -8
- package/models/create-tenant-db-config-request-dto.ts +36 -0
- package/models/index.ts +3 -0
- package/models/invite-class.ts +12 -12
- package/models/publish-dashboard-request-dto.ts +43 -0
- package/models/revert-analysis-request-dto.ts +43 -0
- package/models/user-class.ts +8 -8
- package/package.json +1 -1
|
@@ -97,7 +97,7 @@ var DashboardApiAxiosParamCreator = function (configuration) {
|
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
|
-
*
|
|
100
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.create\"
|
|
101
101
|
* @param {CreateDashboardRequestDto} createDashboardRequestDto
|
|
102
102
|
* @param {string} [authorization] Bearer Token
|
|
103
103
|
* @param {*} [options] Override http request option.
|
|
@@ -145,7 +145,7 @@ var DashboardApiAxiosParamCreator = function (configuration) {
|
|
|
145
145
|
});
|
|
146
146
|
},
|
|
147
147
|
/**
|
|
148
|
-
*
|
|
148
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.delete\"
|
|
149
149
|
* @param {string} code
|
|
150
150
|
* @param {string} [authorization] Bearer Token
|
|
151
151
|
* @param {*} [options] Override http request option.
|
|
@@ -192,7 +192,54 @@ var DashboardApiAxiosParamCreator = function (configuration) {
|
|
|
192
192
|
});
|
|
193
193
|
},
|
|
194
194
|
/**
|
|
195
|
-
*
|
|
195
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
196
|
+
* @param {string} providerDashboardId
|
|
197
|
+
* @param {string} [authorization] Bearer Token
|
|
198
|
+
* @param {*} [options] Override http request option.
|
|
199
|
+
* @throws {RequiredError}
|
|
200
|
+
*/
|
|
201
|
+
getAnalysisEmbeddedUrl: function (providerDashboardId, authorization, options) {
|
|
202
|
+
if (options === void 0) { options = {}; }
|
|
203
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
204
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
205
|
+
return __generator(this, function (_a) {
|
|
206
|
+
switch (_a.label) {
|
|
207
|
+
case 0:
|
|
208
|
+
// verify required parameter 'providerDashboardId' is not null or undefined
|
|
209
|
+
(0, common_1.assertParamExists)('getAnalysisEmbeddedUrl', 'providerDashboardId', providerDashboardId);
|
|
210
|
+
localVarPath = "/tenantservice/v1/dashboards/{provider_dashboard_id}/editor-embedded-url"
|
|
211
|
+
.replace("{".concat("provider_dashboard_id", "}"), encodeURIComponent(String(providerDashboardId)));
|
|
212
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
213
|
+
if (configuration) {
|
|
214
|
+
baseOptions = configuration.baseOptions;
|
|
215
|
+
baseAccessToken = configuration.accessToken;
|
|
216
|
+
}
|
|
217
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
218
|
+
localVarHeaderParameter = {};
|
|
219
|
+
localVarQueryParameter = {};
|
|
220
|
+
// authentication bearer required
|
|
221
|
+
// http bearer authentication required
|
|
222
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
223
|
+
case 1:
|
|
224
|
+
// authentication bearer required
|
|
225
|
+
// http bearer authentication required
|
|
226
|
+
_a.sent();
|
|
227
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
228
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
229
|
+
}
|
|
230
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
231
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
232
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
233
|
+
return [2 /*return*/, {
|
|
234
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
235
|
+
options: localVarRequestOptions,
|
|
236
|
+
}];
|
|
237
|
+
}
|
|
238
|
+
});
|
|
239
|
+
});
|
|
240
|
+
},
|
|
241
|
+
/**
|
|
242
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
196
243
|
* @param {string} code
|
|
197
244
|
* @param {string} [authorization] Bearer Token
|
|
198
245
|
* @param {*} [options] Override http request option.
|
|
@@ -239,13 +286,13 @@ var DashboardApiAxiosParamCreator = function (configuration) {
|
|
|
239
286
|
});
|
|
240
287
|
},
|
|
241
288
|
/**
|
|
242
|
-
*
|
|
289
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
243
290
|
* @param {string} providerDashboardId
|
|
244
291
|
* @param {string} [authorization] Bearer Token
|
|
245
292
|
* @param {*} [options] Override http request option.
|
|
246
293
|
* @throws {RequiredError}
|
|
247
294
|
*/
|
|
248
|
-
|
|
295
|
+
getDashboardEmbeddedUrl: function (providerDashboardId, authorization, options) {
|
|
249
296
|
if (options === void 0) { options = {}; }
|
|
250
297
|
return __awaiter(_this, void 0, void 0, function () {
|
|
251
298
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -253,8 +300,8 @@ var DashboardApiAxiosParamCreator = function (configuration) {
|
|
|
253
300
|
switch (_a.label) {
|
|
254
301
|
case 0:
|
|
255
302
|
// verify required parameter 'providerDashboardId' is not null or undefined
|
|
256
|
-
(0, common_1.assertParamExists)('
|
|
257
|
-
localVarPath = "/tenantservice/v1/dashboards/{provider_dashboard_id}/embedded-url"
|
|
303
|
+
(0, common_1.assertParamExists)('getDashboardEmbeddedUrl', 'providerDashboardId', providerDashboardId);
|
|
304
|
+
localVarPath = "/tenantservice/v1/dashboards/{provider_dashboard_id}/dashboard-embedded-url"
|
|
258
305
|
.replace("{".concat("provider_dashboard_id", "}"), encodeURIComponent(String(providerDashboardId)));
|
|
259
306
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
260
307
|
if (configuration) {
|
|
@@ -286,7 +333,7 @@ var DashboardApiAxiosParamCreator = function (configuration) {
|
|
|
286
333
|
});
|
|
287
334
|
},
|
|
288
335
|
/**
|
|
289
|
-
*
|
|
336
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
290
337
|
* @param {string} [authorization] Bearer Token
|
|
291
338
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
292
339
|
* @param {any} [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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
@@ -357,7 +404,103 @@ var DashboardApiAxiosParamCreator = function (configuration) {
|
|
|
357
404
|
});
|
|
358
405
|
},
|
|
359
406
|
/**
|
|
360
|
-
*
|
|
407
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
408
|
+
* @param {PublishDashboardRequestDto} publishDashboardRequestDto
|
|
409
|
+
* @param {string} [authorization] Bearer Token
|
|
410
|
+
* @param {*} [options] Override http request option.
|
|
411
|
+
* @throws {RequiredError}
|
|
412
|
+
*/
|
|
413
|
+
publishDashboard: function (publishDashboardRequestDto, authorization, options) {
|
|
414
|
+
if (options === void 0) { options = {}; }
|
|
415
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
416
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
417
|
+
return __generator(this, function (_a) {
|
|
418
|
+
switch (_a.label) {
|
|
419
|
+
case 0:
|
|
420
|
+
// verify required parameter 'publishDashboardRequestDto' is not null or undefined
|
|
421
|
+
(0, common_1.assertParamExists)('publishDashboard', 'publishDashboardRequestDto', publishDashboardRequestDto);
|
|
422
|
+
localVarPath = "/tenantservice/v1/dashboards/publish-dashboard";
|
|
423
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
424
|
+
if (configuration) {
|
|
425
|
+
baseOptions = configuration.baseOptions;
|
|
426
|
+
baseAccessToken = configuration.accessToken;
|
|
427
|
+
}
|
|
428
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
429
|
+
localVarHeaderParameter = {};
|
|
430
|
+
localVarQueryParameter = {};
|
|
431
|
+
// authentication bearer required
|
|
432
|
+
// http bearer authentication required
|
|
433
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
434
|
+
case 1:
|
|
435
|
+
// authentication bearer required
|
|
436
|
+
// http bearer authentication required
|
|
437
|
+
_a.sent();
|
|
438
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
439
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
440
|
+
}
|
|
441
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
442
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
443
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
444
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
445
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(publishDashboardRequestDto, localVarRequestOptions, configuration);
|
|
446
|
+
return [2 /*return*/, {
|
|
447
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
448
|
+
options: localVarRequestOptions,
|
|
449
|
+
}];
|
|
450
|
+
}
|
|
451
|
+
});
|
|
452
|
+
});
|
|
453
|
+
},
|
|
454
|
+
/**
|
|
455
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
456
|
+
* @param {RevertAnalysisRequestDto} revertAnalysisRequestDto
|
|
457
|
+
* @param {string} [authorization] Bearer Token
|
|
458
|
+
* @param {*} [options] Override http request option.
|
|
459
|
+
* @throws {RequiredError}
|
|
460
|
+
*/
|
|
461
|
+
revertAnalysis: function (revertAnalysisRequestDto, authorization, options) {
|
|
462
|
+
if (options === void 0) { options = {}; }
|
|
463
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
464
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
465
|
+
return __generator(this, function (_a) {
|
|
466
|
+
switch (_a.label) {
|
|
467
|
+
case 0:
|
|
468
|
+
// verify required parameter 'revertAnalysisRequestDto' is not null or undefined
|
|
469
|
+
(0, common_1.assertParamExists)('revertAnalysis', 'revertAnalysisRequestDto', revertAnalysisRequestDto);
|
|
470
|
+
localVarPath = "/tenantservice/v1/dashboards/revert-analysis";
|
|
471
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
472
|
+
if (configuration) {
|
|
473
|
+
baseOptions = configuration.baseOptions;
|
|
474
|
+
baseAccessToken = configuration.accessToken;
|
|
475
|
+
}
|
|
476
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
477
|
+
localVarHeaderParameter = {};
|
|
478
|
+
localVarQueryParameter = {};
|
|
479
|
+
// authentication bearer required
|
|
480
|
+
// http bearer authentication required
|
|
481
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
482
|
+
case 1:
|
|
483
|
+
// authentication bearer required
|
|
484
|
+
// http bearer authentication required
|
|
485
|
+
_a.sent();
|
|
486
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
487
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
488
|
+
}
|
|
489
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
490
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
491
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
492
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
493
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(revertAnalysisRequestDto, localVarRequestOptions, configuration);
|
|
494
|
+
return [2 /*return*/, {
|
|
495
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
496
|
+
options: localVarRequestOptions,
|
|
497
|
+
}];
|
|
498
|
+
}
|
|
499
|
+
});
|
|
500
|
+
});
|
|
501
|
+
},
|
|
502
|
+
/**
|
|
503
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
361
504
|
* @param {string} code
|
|
362
505
|
* @param {UpdateDashboardRequestDto} updateDashboardRequestDto
|
|
363
506
|
* @param {string} [authorization] Bearer Token
|
|
@@ -419,7 +562,7 @@ var DashboardApiFp = function (configuration) {
|
|
|
419
562
|
var localVarAxiosParamCreator = (0, exports.DashboardApiAxiosParamCreator)(configuration);
|
|
420
563
|
return {
|
|
421
564
|
/**
|
|
422
|
-
*
|
|
565
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.create\"
|
|
423
566
|
* @param {CreateDashboardRequestDto} createDashboardRequestDto
|
|
424
567
|
* @param {string} [authorization] Bearer Token
|
|
425
568
|
* @param {*} [options] Override http request option.
|
|
@@ -439,7 +582,7 @@ var DashboardApiFp = function (configuration) {
|
|
|
439
582
|
});
|
|
440
583
|
},
|
|
441
584
|
/**
|
|
442
|
-
*
|
|
585
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.delete\"
|
|
443
586
|
* @param {string} code
|
|
444
587
|
* @param {string} [authorization] Bearer Token
|
|
445
588
|
* @param {*} [options] Override http request option.
|
|
@@ -459,7 +602,27 @@ var DashboardApiFp = function (configuration) {
|
|
|
459
602
|
});
|
|
460
603
|
},
|
|
461
604
|
/**
|
|
462
|
-
*
|
|
605
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
606
|
+
* @param {string} providerDashboardId
|
|
607
|
+
* @param {string} [authorization] Bearer Token
|
|
608
|
+
* @param {*} [options] Override http request option.
|
|
609
|
+
* @throws {RequiredError}
|
|
610
|
+
*/
|
|
611
|
+
getAnalysisEmbeddedUrl: function (providerDashboardId, authorization, options) {
|
|
612
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
613
|
+
var localVarAxiosArgs;
|
|
614
|
+
return __generator(this, function (_a) {
|
|
615
|
+
switch (_a.label) {
|
|
616
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getAnalysisEmbeddedUrl(providerDashboardId, authorization, options)];
|
|
617
|
+
case 1:
|
|
618
|
+
localVarAxiosArgs = _a.sent();
|
|
619
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
620
|
+
}
|
|
621
|
+
});
|
|
622
|
+
});
|
|
623
|
+
},
|
|
624
|
+
/**
|
|
625
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
463
626
|
* @param {string} code
|
|
464
627
|
* @param {string} [authorization] Bearer Token
|
|
465
628
|
* @param {*} [options] Override http request option.
|
|
@@ -479,18 +642,18 @@ var DashboardApiFp = function (configuration) {
|
|
|
479
642
|
});
|
|
480
643
|
},
|
|
481
644
|
/**
|
|
482
|
-
*
|
|
645
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
483
646
|
* @param {string} providerDashboardId
|
|
484
647
|
* @param {string} [authorization] Bearer Token
|
|
485
648
|
* @param {*} [options] Override http request option.
|
|
486
649
|
* @throws {RequiredError}
|
|
487
650
|
*/
|
|
488
|
-
|
|
651
|
+
getDashboardEmbeddedUrl: function (providerDashboardId, authorization, options) {
|
|
489
652
|
return __awaiter(this, void 0, void 0, function () {
|
|
490
653
|
var localVarAxiosArgs;
|
|
491
654
|
return __generator(this, function (_a) {
|
|
492
655
|
switch (_a.label) {
|
|
493
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
656
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getDashboardEmbeddedUrl(providerDashboardId, authorization, options)];
|
|
494
657
|
case 1:
|
|
495
658
|
localVarAxiosArgs = _a.sent();
|
|
496
659
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -499,7 +662,7 @@ var DashboardApiFp = function (configuration) {
|
|
|
499
662
|
});
|
|
500
663
|
},
|
|
501
664
|
/**
|
|
502
|
-
*
|
|
665
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
503
666
|
* @param {string} [authorization] Bearer Token
|
|
504
667
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
505
668
|
* @param {any} [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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
@@ -525,7 +688,47 @@ var DashboardApiFp = function (configuration) {
|
|
|
525
688
|
});
|
|
526
689
|
},
|
|
527
690
|
/**
|
|
528
|
-
*
|
|
691
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
692
|
+
* @param {PublishDashboardRequestDto} publishDashboardRequestDto
|
|
693
|
+
* @param {string} [authorization] Bearer Token
|
|
694
|
+
* @param {*} [options] Override http request option.
|
|
695
|
+
* @throws {RequiredError}
|
|
696
|
+
*/
|
|
697
|
+
publishDashboard: function (publishDashboardRequestDto, authorization, options) {
|
|
698
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
699
|
+
var localVarAxiosArgs;
|
|
700
|
+
return __generator(this, function (_a) {
|
|
701
|
+
switch (_a.label) {
|
|
702
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.publishDashboard(publishDashboardRequestDto, authorization, options)];
|
|
703
|
+
case 1:
|
|
704
|
+
localVarAxiosArgs = _a.sent();
|
|
705
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
706
|
+
}
|
|
707
|
+
});
|
|
708
|
+
});
|
|
709
|
+
},
|
|
710
|
+
/**
|
|
711
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
712
|
+
* @param {RevertAnalysisRequestDto} revertAnalysisRequestDto
|
|
713
|
+
* @param {string} [authorization] Bearer Token
|
|
714
|
+
* @param {*} [options] Override http request option.
|
|
715
|
+
* @throws {RequiredError}
|
|
716
|
+
*/
|
|
717
|
+
revertAnalysis: function (revertAnalysisRequestDto, authorization, options) {
|
|
718
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
719
|
+
var localVarAxiosArgs;
|
|
720
|
+
return __generator(this, function (_a) {
|
|
721
|
+
switch (_a.label) {
|
|
722
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.revertAnalysis(revertAnalysisRequestDto, authorization, options)];
|
|
723
|
+
case 1:
|
|
724
|
+
localVarAxiosArgs = _a.sent();
|
|
725
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
726
|
+
}
|
|
727
|
+
});
|
|
728
|
+
});
|
|
729
|
+
},
|
|
730
|
+
/**
|
|
731
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
529
732
|
* @param {string} code
|
|
530
733
|
* @param {UpdateDashboardRequestDto} updateDashboardRequestDto
|
|
531
734
|
* @param {string} [authorization] Bearer Token
|
|
@@ -556,7 +759,7 @@ var DashboardApiFactory = function (configuration, basePath, axios) {
|
|
|
556
759
|
var localVarFp = (0, exports.DashboardApiFp)(configuration);
|
|
557
760
|
return {
|
|
558
761
|
/**
|
|
559
|
-
*
|
|
762
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.create\"
|
|
560
763
|
* @param {CreateDashboardRequestDto} createDashboardRequestDto
|
|
561
764
|
* @param {string} [authorization] Bearer Token
|
|
562
765
|
* @param {*} [options] Override http request option.
|
|
@@ -566,7 +769,7 @@ var DashboardApiFactory = function (configuration, basePath, axios) {
|
|
|
566
769
|
return localVarFp.createDashboard(createDashboardRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
567
770
|
},
|
|
568
771
|
/**
|
|
569
|
-
*
|
|
772
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.delete\"
|
|
570
773
|
* @param {string} code
|
|
571
774
|
* @param {string} [authorization] Bearer Token
|
|
572
775
|
* @param {*} [options] Override http request option.
|
|
@@ -576,7 +779,17 @@ var DashboardApiFactory = function (configuration, basePath, axios) {
|
|
|
576
779
|
return localVarFp.deleteDashboard(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
577
780
|
},
|
|
578
781
|
/**
|
|
579
|
-
*
|
|
782
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
783
|
+
* @param {string} providerDashboardId
|
|
784
|
+
* @param {string} [authorization] Bearer Token
|
|
785
|
+
* @param {*} [options] Override http request option.
|
|
786
|
+
* @throws {RequiredError}
|
|
787
|
+
*/
|
|
788
|
+
getAnalysisEmbeddedUrl: function (providerDashboardId, authorization, options) {
|
|
789
|
+
return localVarFp.getAnalysisEmbeddedUrl(providerDashboardId, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
790
|
+
},
|
|
791
|
+
/**
|
|
792
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
580
793
|
* @param {string} code
|
|
581
794
|
* @param {string} [authorization] Bearer Token
|
|
582
795
|
* @param {*} [options] Override http request option.
|
|
@@ -586,17 +799,17 @@ var DashboardApiFactory = function (configuration, basePath, axios) {
|
|
|
586
799
|
return localVarFp.getDashboard(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
587
800
|
},
|
|
588
801
|
/**
|
|
589
|
-
*
|
|
802
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
590
803
|
* @param {string} providerDashboardId
|
|
591
804
|
* @param {string} [authorization] Bearer Token
|
|
592
805
|
* @param {*} [options] Override http request option.
|
|
593
806
|
* @throws {RequiredError}
|
|
594
807
|
*/
|
|
595
|
-
|
|
596
|
-
return localVarFp.
|
|
808
|
+
getDashboardEmbeddedUrl: function (providerDashboardId, authorization, options) {
|
|
809
|
+
return localVarFp.getDashboardEmbeddedUrl(providerDashboardId, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
597
810
|
},
|
|
598
811
|
/**
|
|
599
|
-
*
|
|
812
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
600
813
|
* @param {string} [authorization] Bearer Token
|
|
601
814
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
602
815
|
* @param {any} [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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
@@ -612,7 +825,27 @@ var DashboardApiFactory = function (configuration, basePath, axios) {
|
|
|
612
825
|
return localVarFp.listDashboards(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
613
826
|
},
|
|
614
827
|
/**
|
|
615
|
-
*
|
|
828
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
829
|
+
* @param {PublishDashboardRequestDto} publishDashboardRequestDto
|
|
830
|
+
* @param {string} [authorization] Bearer Token
|
|
831
|
+
* @param {*} [options] Override http request option.
|
|
832
|
+
* @throws {RequiredError}
|
|
833
|
+
*/
|
|
834
|
+
publishDashboard: function (publishDashboardRequestDto, authorization, options) {
|
|
835
|
+
return localVarFp.publishDashboard(publishDashboardRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
836
|
+
},
|
|
837
|
+
/**
|
|
838
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
839
|
+
* @param {RevertAnalysisRequestDto} revertAnalysisRequestDto
|
|
840
|
+
* @param {string} [authorization] Bearer Token
|
|
841
|
+
* @param {*} [options] Override http request option.
|
|
842
|
+
* @throws {RequiredError}
|
|
843
|
+
*/
|
|
844
|
+
revertAnalysis: function (revertAnalysisRequestDto, authorization, options) {
|
|
845
|
+
return localVarFp.revertAnalysis(revertAnalysisRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
846
|
+
},
|
|
847
|
+
/**
|
|
848
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
616
849
|
* @param {string} code
|
|
617
850
|
* @param {UpdateDashboardRequestDto} updateDashboardRequestDto
|
|
618
851
|
* @param {string} [authorization] Bearer Token
|
|
@@ -637,7 +870,7 @@ var DashboardApi = /** @class */ (function (_super) {
|
|
|
637
870
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
638
871
|
}
|
|
639
872
|
/**
|
|
640
|
-
*
|
|
873
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.create\"
|
|
641
874
|
* @param {DashboardApiCreateDashboardRequest} requestParameters Request parameters.
|
|
642
875
|
* @param {*} [options] Override http request option.
|
|
643
876
|
* @throws {RequiredError}
|
|
@@ -648,7 +881,7 @@ var DashboardApi = /** @class */ (function (_super) {
|
|
|
648
881
|
return (0, exports.DashboardApiFp)(this.configuration).createDashboard(requestParameters.createDashboardRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
649
882
|
};
|
|
650
883
|
/**
|
|
651
|
-
*
|
|
884
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.delete\"
|
|
652
885
|
* @param {DashboardApiDeleteDashboardRequest} requestParameters Request parameters.
|
|
653
886
|
* @param {*} [options] Override http request option.
|
|
654
887
|
* @throws {RequiredError}
|
|
@@ -659,7 +892,18 @@ var DashboardApi = /** @class */ (function (_super) {
|
|
|
659
892
|
return (0, exports.DashboardApiFp)(this.configuration).deleteDashboard(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
660
893
|
};
|
|
661
894
|
/**
|
|
662
|
-
*
|
|
895
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
896
|
+
* @param {DashboardApiGetAnalysisEmbeddedUrlRequest} requestParameters Request parameters.
|
|
897
|
+
* @param {*} [options] Override http request option.
|
|
898
|
+
* @throws {RequiredError}
|
|
899
|
+
* @memberof DashboardApi
|
|
900
|
+
*/
|
|
901
|
+
DashboardApi.prototype.getAnalysisEmbeddedUrl = function (requestParameters, options) {
|
|
902
|
+
var _this = this;
|
|
903
|
+
return (0, exports.DashboardApiFp)(this.configuration).getAnalysisEmbeddedUrl(requestParameters.providerDashboardId, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
904
|
+
};
|
|
905
|
+
/**
|
|
906
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
663
907
|
* @param {DashboardApiGetDashboardRequest} requestParameters Request parameters.
|
|
664
908
|
* @param {*} [options] Override http request option.
|
|
665
909
|
* @throws {RequiredError}
|
|
@@ -670,18 +914,18 @@ var DashboardApi = /** @class */ (function (_super) {
|
|
|
670
914
|
return (0, exports.DashboardApiFp)(this.configuration).getDashboard(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
671
915
|
};
|
|
672
916
|
/**
|
|
673
|
-
*
|
|
674
|
-
* @param {
|
|
917
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
918
|
+
* @param {DashboardApiGetDashboardEmbeddedUrlRequest} requestParameters Request parameters.
|
|
675
919
|
* @param {*} [options] Override http request option.
|
|
676
920
|
* @throws {RequiredError}
|
|
677
921
|
* @memberof DashboardApi
|
|
678
922
|
*/
|
|
679
|
-
DashboardApi.prototype.
|
|
923
|
+
DashboardApi.prototype.getDashboardEmbeddedUrl = function (requestParameters, options) {
|
|
680
924
|
var _this = this;
|
|
681
|
-
return (0, exports.DashboardApiFp)(this.configuration).
|
|
925
|
+
return (0, exports.DashboardApiFp)(this.configuration).getDashboardEmbeddedUrl(requestParameters.providerDashboardId, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
682
926
|
};
|
|
683
927
|
/**
|
|
684
|
-
*
|
|
928
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
685
929
|
* @param {DashboardApiListDashboardsRequest} requestParameters Request parameters.
|
|
686
930
|
* @param {*} [options] Override http request option.
|
|
687
931
|
* @throws {RequiredError}
|
|
@@ -693,7 +937,29 @@ var DashboardApi = /** @class */ (function (_super) {
|
|
|
693
937
|
return (0, exports.DashboardApiFp)(this.configuration).listDashboards(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); });
|
|
694
938
|
};
|
|
695
939
|
/**
|
|
696
|
-
*
|
|
940
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
941
|
+
* @param {DashboardApiPublishDashboardRequest} requestParameters Request parameters.
|
|
942
|
+
* @param {*} [options] Override http request option.
|
|
943
|
+
* @throws {RequiredError}
|
|
944
|
+
* @memberof DashboardApi
|
|
945
|
+
*/
|
|
946
|
+
DashboardApi.prototype.publishDashboard = function (requestParameters, options) {
|
|
947
|
+
var _this = this;
|
|
948
|
+
return (0, exports.DashboardApiFp)(this.configuration).publishDashboard(requestParameters.publishDashboardRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
949
|
+
};
|
|
950
|
+
/**
|
|
951
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
952
|
+
* @param {DashboardApiRevertAnalysisRequest} requestParameters Request parameters.
|
|
953
|
+
* @param {*} [options] Override http request option.
|
|
954
|
+
* @throws {RequiredError}
|
|
955
|
+
* @memberof DashboardApi
|
|
956
|
+
*/
|
|
957
|
+
DashboardApi.prototype.revertAnalysis = function (requestParameters, options) {
|
|
958
|
+
var _this = this;
|
|
959
|
+
return (0, exports.DashboardApiFp)(this.configuration).revertAnalysis(requestParameters.revertAnalysisRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
960
|
+
};
|
|
961
|
+
/**
|
|
962
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
697
963
|
* @param {DashboardApiUpdateDashboardRequest} requestParameters Request parameters.
|
|
698
964
|
* @param {*} [options] Override http request option.
|
|
699
965
|
* @throws {RequiredError}
|