@emilgroup/tenant-sdk 1.29.0 → 1.29.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/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/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
|
@@ -93,7 +93,7 @@ var DashboardApiAxiosParamCreator = function (configuration) {
|
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
*
|
|
96
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.create\"
|
|
97
97
|
* @param {CreateDashboardRequestDto} createDashboardRequestDto
|
|
98
98
|
* @param {string} [authorization] Bearer Token
|
|
99
99
|
* @param {*} [options] Override http request option.
|
|
@@ -141,7 +141,7 @@ var DashboardApiAxiosParamCreator = function (configuration) {
|
|
|
141
141
|
});
|
|
142
142
|
},
|
|
143
143
|
/**
|
|
144
|
-
*
|
|
144
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.delete\"
|
|
145
145
|
* @param {string} code
|
|
146
146
|
* @param {string} [authorization] Bearer Token
|
|
147
147
|
* @param {*} [options] Override http request option.
|
|
@@ -188,7 +188,54 @@ var DashboardApiAxiosParamCreator = function (configuration) {
|
|
|
188
188
|
});
|
|
189
189
|
},
|
|
190
190
|
/**
|
|
191
|
-
*
|
|
191
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
192
|
+
* @param {string} providerDashboardId
|
|
193
|
+
* @param {string} [authorization] Bearer Token
|
|
194
|
+
* @param {*} [options] Override http request option.
|
|
195
|
+
* @throws {RequiredError}
|
|
196
|
+
*/
|
|
197
|
+
getAnalysisEmbeddedUrl: function (providerDashboardId, authorization, options) {
|
|
198
|
+
if (options === void 0) { options = {}; }
|
|
199
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
200
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
201
|
+
return __generator(this, function (_a) {
|
|
202
|
+
switch (_a.label) {
|
|
203
|
+
case 0:
|
|
204
|
+
// verify required parameter 'providerDashboardId' is not null or undefined
|
|
205
|
+
(0, common_1.assertParamExists)('getAnalysisEmbeddedUrl', 'providerDashboardId', providerDashboardId);
|
|
206
|
+
localVarPath = "/tenantservice/v1/dashboards/{provider_dashboard_id}/editor-embedded-url"
|
|
207
|
+
.replace("{".concat("provider_dashboard_id", "}"), encodeURIComponent(String(providerDashboardId)));
|
|
208
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
209
|
+
if (configuration) {
|
|
210
|
+
baseOptions = configuration.baseOptions;
|
|
211
|
+
baseAccessToken = configuration.accessToken;
|
|
212
|
+
}
|
|
213
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
214
|
+
localVarHeaderParameter = {};
|
|
215
|
+
localVarQueryParameter = {};
|
|
216
|
+
// authentication bearer required
|
|
217
|
+
// http bearer authentication required
|
|
218
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
219
|
+
case 1:
|
|
220
|
+
// authentication bearer required
|
|
221
|
+
// http bearer authentication required
|
|
222
|
+
_a.sent();
|
|
223
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
224
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
225
|
+
}
|
|
226
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
227
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
228
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
229
|
+
return [2 /*return*/, {
|
|
230
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
231
|
+
options: localVarRequestOptions,
|
|
232
|
+
}];
|
|
233
|
+
}
|
|
234
|
+
});
|
|
235
|
+
});
|
|
236
|
+
},
|
|
237
|
+
/**
|
|
238
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
192
239
|
* @param {string} code
|
|
193
240
|
* @param {string} [authorization] Bearer Token
|
|
194
241
|
* @param {*} [options] Override http request option.
|
|
@@ -235,13 +282,13 @@ var DashboardApiAxiosParamCreator = function (configuration) {
|
|
|
235
282
|
});
|
|
236
283
|
},
|
|
237
284
|
/**
|
|
238
|
-
*
|
|
285
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
239
286
|
* @param {string} providerDashboardId
|
|
240
287
|
* @param {string} [authorization] Bearer Token
|
|
241
288
|
* @param {*} [options] Override http request option.
|
|
242
289
|
* @throws {RequiredError}
|
|
243
290
|
*/
|
|
244
|
-
|
|
291
|
+
getDashboardEmbeddedUrl: function (providerDashboardId, authorization, options) {
|
|
245
292
|
if (options === void 0) { options = {}; }
|
|
246
293
|
return __awaiter(_this, void 0, void 0, function () {
|
|
247
294
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -249,8 +296,8 @@ var DashboardApiAxiosParamCreator = function (configuration) {
|
|
|
249
296
|
switch (_a.label) {
|
|
250
297
|
case 0:
|
|
251
298
|
// verify required parameter 'providerDashboardId' is not null or undefined
|
|
252
|
-
(0, common_1.assertParamExists)('
|
|
253
|
-
localVarPath = "/tenantservice/v1/dashboards/{provider_dashboard_id}/embedded-url"
|
|
299
|
+
(0, common_1.assertParamExists)('getDashboardEmbeddedUrl', 'providerDashboardId', providerDashboardId);
|
|
300
|
+
localVarPath = "/tenantservice/v1/dashboards/{provider_dashboard_id}/dashboard-embedded-url"
|
|
254
301
|
.replace("{".concat("provider_dashboard_id", "}"), encodeURIComponent(String(providerDashboardId)));
|
|
255
302
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
256
303
|
if (configuration) {
|
|
@@ -282,7 +329,7 @@ var DashboardApiAxiosParamCreator = function (configuration) {
|
|
|
282
329
|
});
|
|
283
330
|
},
|
|
284
331
|
/**
|
|
285
|
-
*
|
|
332
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
286
333
|
* @param {string} [authorization] Bearer Token
|
|
287
334
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
288
335
|
* @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.
|
|
@@ -353,7 +400,103 @@ var DashboardApiAxiosParamCreator = function (configuration) {
|
|
|
353
400
|
});
|
|
354
401
|
},
|
|
355
402
|
/**
|
|
356
|
-
*
|
|
403
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
404
|
+
* @param {PublishDashboardRequestDto} publishDashboardRequestDto
|
|
405
|
+
* @param {string} [authorization] Bearer Token
|
|
406
|
+
* @param {*} [options] Override http request option.
|
|
407
|
+
* @throws {RequiredError}
|
|
408
|
+
*/
|
|
409
|
+
publishDashboard: function (publishDashboardRequestDto, authorization, options) {
|
|
410
|
+
if (options === void 0) { options = {}; }
|
|
411
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
412
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
413
|
+
return __generator(this, function (_a) {
|
|
414
|
+
switch (_a.label) {
|
|
415
|
+
case 0:
|
|
416
|
+
// verify required parameter 'publishDashboardRequestDto' is not null or undefined
|
|
417
|
+
(0, common_1.assertParamExists)('publishDashboard', 'publishDashboardRequestDto', publishDashboardRequestDto);
|
|
418
|
+
localVarPath = "/tenantservice/v1/dashboards/publish-dashboard";
|
|
419
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
420
|
+
if (configuration) {
|
|
421
|
+
baseOptions = configuration.baseOptions;
|
|
422
|
+
baseAccessToken = configuration.accessToken;
|
|
423
|
+
}
|
|
424
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
425
|
+
localVarHeaderParameter = {};
|
|
426
|
+
localVarQueryParameter = {};
|
|
427
|
+
// authentication bearer required
|
|
428
|
+
// http bearer authentication required
|
|
429
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
430
|
+
case 1:
|
|
431
|
+
// authentication bearer required
|
|
432
|
+
// http bearer authentication required
|
|
433
|
+
_a.sent();
|
|
434
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
435
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
436
|
+
}
|
|
437
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
438
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
439
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
440
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
441
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(publishDashboardRequestDto, localVarRequestOptions, configuration);
|
|
442
|
+
return [2 /*return*/, {
|
|
443
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
444
|
+
options: localVarRequestOptions,
|
|
445
|
+
}];
|
|
446
|
+
}
|
|
447
|
+
});
|
|
448
|
+
});
|
|
449
|
+
},
|
|
450
|
+
/**
|
|
451
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
452
|
+
* @param {RevertAnalysisRequestDto} revertAnalysisRequestDto
|
|
453
|
+
* @param {string} [authorization] Bearer Token
|
|
454
|
+
* @param {*} [options] Override http request option.
|
|
455
|
+
* @throws {RequiredError}
|
|
456
|
+
*/
|
|
457
|
+
revertAnalysis: function (revertAnalysisRequestDto, authorization, options) {
|
|
458
|
+
if (options === void 0) { options = {}; }
|
|
459
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
460
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
461
|
+
return __generator(this, function (_a) {
|
|
462
|
+
switch (_a.label) {
|
|
463
|
+
case 0:
|
|
464
|
+
// verify required parameter 'revertAnalysisRequestDto' is not null or undefined
|
|
465
|
+
(0, common_1.assertParamExists)('revertAnalysis', 'revertAnalysisRequestDto', revertAnalysisRequestDto);
|
|
466
|
+
localVarPath = "/tenantservice/v1/dashboards/revert-analysis";
|
|
467
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
468
|
+
if (configuration) {
|
|
469
|
+
baseOptions = configuration.baseOptions;
|
|
470
|
+
baseAccessToken = configuration.accessToken;
|
|
471
|
+
}
|
|
472
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
473
|
+
localVarHeaderParameter = {};
|
|
474
|
+
localVarQueryParameter = {};
|
|
475
|
+
// authentication bearer required
|
|
476
|
+
// http bearer authentication required
|
|
477
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
478
|
+
case 1:
|
|
479
|
+
// authentication bearer required
|
|
480
|
+
// http bearer authentication required
|
|
481
|
+
_a.sent();
|
|
482
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
483
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
484
|
+
}
|
|
485
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
486
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
487
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
488
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
489
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(revertAnalysisRequestDto, localVarRequestOptions, configuration);
|
|
490
|
+
return [2 /*return*/, {
|
|
491
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
492
|
+
options: localVarRequestOptions,
|
|
493
|
+
}];
|
|
494
|
+
}
|
|
495
|
+
});
|
|
496
|
+
});
|
|
497
|
+
},
|
|
498
|
+
/**
|
|
499
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
357
500
|
* @param {string} code
|
|
358
501
|
* @param {UpdateDashboardRequestDto} updateDashboardRequestDto
|
|
359
502
|
* @param {string} [authorization] Bearer Token
|
|
@@ -415,7 +558,7 @@ var DashboardApiFp = function (configuration) {
|
|
|
415
558
|
var localVarAxiosParamCreator = (0, exports.DashboardApiAxiosParamCreator)(configuration);
|
|
416
559
|
return {
|
|
417
560
|
/**
|
|
418
|
-
*
|
|
561
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.create\"
|
|
419
562
|
* @param {CreateDashboardRequestDto} createDashboardRequestDto
|
|
420
563
|
* @param {string} [authorization] Bearer Token
|
|
421
564
|
* @param {*} [options] Override http request option.
|
|
@@ -435,7 +578,7 @@ var DashboardApiFp = function (configuration) {
|
|
|
435
578
|
});
|
|
436
579
|
},
|
|
437
580
|
/**
|
|
438
|
-
*
|
|
581
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.delete\"
|
|
439
582
|
* @param {string} code
|
|
440
583
|
* @param {string} [authorization] Bearer Token
|
|
441
584
|
* @param {*} [options] Override http request option.
|
|
@@ -455,7 +598,27 @@ var DashboardApiFp = function (configuration) {
|
|
|
455
598
|
});
|
|
456
599
|
},
|
|
457
600
|
/**
|
|
458
|
-
*
|
|
601
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
602
|
+
* @param {string} providerDashboardId
|
|
603
|
+
* @param {string} [authorization] Bearer Token
|
|
604
|
+
* @param {*} [options] Override http request option.
|
|
605
|
+
* @throws {RequiredError}
|
|
606
|
+
*/
|
|
607
|
+
getAnalysisEmbeddedUrl: function (providerDashboardId, authorization, options) {
|
|
608
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
609
|
+
var localVarAxiosArgs;
|
|
610
|
+
return __generator(this, function (_a) {
|
|
611
|
+
switch (_a.label) {
|
|
612
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getAnalysisEmbeddedUrl(providerDashboardId, authorization, options)];
|
|
613
|
+
case 1:
|
|
614
|
+
localVarAxiosArgs = _a.sent();
|
|
615
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
616
|
+
}
|
|
617
|
+
});
|
|
618
|
+
});
|
|
619
|
+
},
|
|
620
|
+
/**
|
|
621
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
459
622
|
* @param {string} code
|
|
460
623
|
* @param {string} [authorization] Bearer Token
|
|
461
624
|
* @param {*} [options] Override http request option.
|
|
@@ -475,18 +638,18 @@ var DashboardApiFp = function (configuration) {
|
|
|
475
638
|
});
|
|
476
639
|
},
|
|
477
640
|
/**
|
|
478
|
-
*
|
|
641
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
479
642
|
* @param {string} providerDashboardId
|
|
480
643
|
* @param {string} [authorization] Bearer Token
|
|
481
644
|
* @param {*} [options] Override http request option.
|
|
482
645
|
* @throws {RequiredError}
|
|
483
646
|
*/
|
|
484
|
-
|
|
647
|
+
getDashboardEmbeddedUrl: function (providerDashboardId, authorization, options) {
|
|
485
648
|
return __awaiter(this, void 0, void 0, function () {
|
|
486
649
|
var localVarAxiosArgs;
|
|
487
650
|
return __generator(this, function (_a) {
|
|
488
651
|
switch (_a.label) {
|
|
489
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
652
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getDashboardEmbeddedUrl(providerDashboardId, authorization, options)];
|
|
490
653
|
case 1:
|
|
491
654
|
localVarAxiosArgs = _a.sent();
|
|
492
655
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -495,7 +658,7 @@ var DashboardApiFp = function (configuration) {
|
|
|
495
658
|
});
|
|
496
659
|
},
|
|
497
660
|
/**
|
|
498
|
-
*
|
|
661
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
499
662
|
* @param {string} [authorization] Bearer Token
|
|
500
663
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
501
664
|
* @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.
|
|
@@ -521,7 +684,47 @@ var DashboardApiFp = function (configuration) {
|
|
|
521
684
|
});
|
|
522
685
|
},
|
|
523
686
|
/**
|
|
524
|
-
*
|
|
687
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
688
|
+
* @param {PublishDashboardRequestDto} publishDashboardRequestDto
|
|
689
|
+
* @param {string} [authorization] Bearer Token
|
|
690
|
+
* @param {*} [options] Override http request option.
|
|
691
|
+
* @throws {RequiredError}
|
|
692
|
+
*/
|
|
693
|
+
publishDashboard: function (publishDashboardRequestDto, authorization, options) {
|
|
694
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
695
|
+
var localVarAxiosArgs;
|
|
696
|
+
return __generator(this, function (_a) {
|
|
697
|
+
switch (_a.label) {
|
|
698
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.publishDashboard(publishDashboardRequestDto, authorization, options)];
|
|
699
|
+
case 1:
|
|
700
|
+
localVarAxiosArgs = _a.sent();
|
|
701
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
702
|
+
}
|
|
703
|
+
});
|
|
704
|
+
});
|
|
705
|
+
},
|
|
706
|
+
/**
|
|
707
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
708
|
+
* @param {RevertAnalysisRequestDto} revertAnalysisRequestDto
|
|
709
|
+
* @param {string} [authorization] Bearer Token
|
|
710
|
+
* @param {*} [options] Override http request option.
|
|
711
|
+
* @throws {RequiredError}
|
|
712
|
+
*/
|
|
713
|
+
revertAnalysis: function (revertAnalysisRequestDto, authorization, options) {
|
|
714
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
715
|
+
var localVarAxiosArgs;
|
|
716
|
+
return __generator(this, function (_a) {
|
|
717
|
+
switch (_a.label) {
|
|
718
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.revertAnalysis(revertAnalysisRequestDto, authorization, options)];
|
|
719
|
+
case 1:
|
|
720
|
+
localVarAxiosArgs = _a.sent();
|
|
721
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
722
|
+
}
|
|
723
|
+
});
|
|
724
|
+
});
|
|
725
|
+
},
|
|
726
|
+
/**
|
|
727
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
525
728
|
* @param {string} code
|
|
526
729
|
* @param {UpdateDashboardRequestDto} updateDashboardRequestDto
|
|
527
730
|
* @param {string} [authorization] Bearer Token
|
|
@@ -552,7 +755,7 @@ var DashboardApiFactory = function (configuration, basePath, axios) {
|
|
|
552
755
|
var localVarFp = (0, exports.DashboardApiFp)(configuration);
|
|
553
756
|
return {
|
|
554
757
|
/**
|
|
555
|
-
*
|
|
758
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.create\"
|
|
556
759
|
* @param {CreateDashboardRequestDto} createDashboardRequestDto
|
|
557
760
|
* @param {string} [authorization] Bearer Token
|
|
558
761
|
* @param {*} [options] Override http request option.
|
|
@@ -562,7 +765,7 @@ var DashboardApiFactory = function (configuration, basePath, axios) {
|
|
|
562
765
|
return localVarFp.createDashboard(createDashboardRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
563
766
|
},
|
|
564
767
|
/**
|
|
565
|
-
*
|
|
768
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.delete\"
|
|
566
769
|
* @param {string} code
|
|
567
770
|
* @param {string} [authorization] Bearer Token
|
|
568
771
|
* @param {*} [options] Override http request option.
|
|
@@ -572,7 +775,17 @@ var DashboardApiFactory = function (configuration, basePath, axios) {
|
|
|
572
775
|
return localVarFp.deleteDashboard(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
573
776
|
},
|
|
574
777
|
/**
|
|
575
|
-
*
|
|
778
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
779
|
+
* @param {string} providerDashboardId
|
|
780
|
+
* @param {string} [authorization] Bearer Token
|
|
781
|
+
* @param {*} [options] Override http request option.
|
|
782
|
+
* @throws {RequiredError}
|
|
783
|
+
*/
|
|
784
|
+
getAnalysisEmbeddedUrl: function (providerDashboardId, authorization, options) {
|
|
785
|
+
return localVarFp.getAnalysisEmbeddedUrl(providerDashboardId, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
786
|
+
},
|
|
787
|
+
/**
|
|
788
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
576
789
|
* @param {string} code
|
|
577
790
|
* @param {string} [authorization] Bearer Token
|
|
578
791
|
* @param {*} [options] Override http request option.
|
|
@@ -582,17 +795,17 @@ var DashboardApiFactory = function (configuration, basePath, axios) {
|
|
|
582
795
|
return localVarFp.getDashboard(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
583
796
|
},
|
|
584
797
|
/**
|
|
585
|
-
*
|
|
798
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
586
799
|
* @param {string} providerDashboardId
|
|
587
800
|
* @param {string} [authorization] Bearer Token
|
|
588
801
|
* @param {*} [options] Override http request option.
|
|
589
802
|
* @throws {RequiredError}
|
|
590
803
|
*/
|
|
591
|
-
|
|
592
|
-
return localVarFp.
|
|
804
|
+
getDashboardEmbeddedUrl: function (providerDashboardId, authorization, options) {
|
|
805
|
+
return localVarFp.getDashboardEmbeddedUrl(providerDashboardId, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
593
806
|
},
|
|
594
807
|
/**
|
|
595
|
-
*
|
|
808
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
596
809
|
* @param {string} [authorization] Bearer Token
|
|
597
810
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
598
811
|
* @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.
|
|
@@ -608,7 +821,27 @@ var DashboardApiFactory = function (configuration, basePath, axios) {
|
|
|
608
821
|
return localVarFp.listDashboards(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
609
822
|
},
|
|
610
823
|
/**
|
|
611
|
-
*
|
|
824
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
825
|
+
* @param {PublishDashboardRequestDto} publishDashboardRequestDto
|
|
826
|
+
* @param {string} [authorization] Bearer Token
|
|
827
|
+
* @param {*} [options] Override http request option.
|
|
828
|
+
* @throws {RequiredError}
|
|
829
|
+
*/
|
|
830
|
+
publishDashboard: function (publishDashboardRequestDto, authorization, options) {
|
|
831
|
+
return localVarFp.publishDashboard(publishDashboardRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
832
|
+
},
|
|
833
|
+
/**
|
|
834
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
835
|
+
* @param {RevertAnalysisRequestDto} revertAnalysisRequestDto
|
|
836
|
+
* @param {string} [authorization] Bearer Token
|
|
837
|
+
* @param {*} [options] Override http request option.
|
|
838
|
+
* @throws {RequiredError}
|
|
839
|
+
*/
|
|
840
|
+
revertAnalysis: function (revertAnalysisRequestDto, authorization, options) {
|
|
841
|
+
return localVarFp.revertAnalysis(revertAnalysisRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
842
|
+
},
|
|
843
|
+
/**
|
|
844
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
612
845
|
* @param {string} code
|
|
613
846
|
* @param {UpdateDashboardRequestDto} updateDashboardRequestDto
|
|
614
847
|
* @param {string} [authorization] Bearer Token
|
|
@@ -633,7 +866,7 @@ var DashboardApi = /** @class */ (function (_super) {
|
|
|
633
866
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
634
867
|
}
|
|
635
868
|
/**
|
|
636
|
-
*
|
|
869
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.create\"
|
|
637
870
|
* @param {DashboardApiCreateDashboardRequest} requestParameters Request parameters.
|
|
638
871
|
* @param {*} [options] Override http request option.
|
|
639
872
|
* @throws {RequiredError}
|
|
@@ -644,7 +877,7 @@ var DashboardApi = /** @class */ (function (_super) {
|
|
|
644
877
|
return (0, exports.DashboardApiFp)(this.configuration).createDashboard(requestParameters.createDashboardRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
645
878
|
};
|
|
646
879
|
/**
|
|
647
|
-
*
|
|
880
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.delete\"
|
|
648
881
|
* @param {DashboardApiDeleteDashboardRequest} requestParameters Request parameters.
|
|
649
882
|
* @param {*} [options] Override http request option.
|
|
650
883
|
* @throws {RequiredError}
|
|
@@ -655,7 +888,18 @@ var DashboardApi = /** @class */ (function (_super) {
|
|
|
655
888
|
return (0, exports.DashboardApiFp)(this.configuration).deleteDashboard(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
656
889
|
};
|
|
657
890
|
/**
|
|
658
|
-
*
|
|
891
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
892
|
+
* @param {DashboardApiGetAnalysisEmbeddedUrlRequest} requestParameters Request parameters.
|
|
893
|
+
* @param {*} [options] Override http request option.
|
|
894
|
+
* @throws {RequiredError}
|
|
895
|
+
* @memberof DashboardApi
|
|
896
|
+
*/
|
|
897
|
+
DashboardApi.prototype.getAnalysisEmbeddedUrl = function (requestParameters, options) {
|
|
898
|
+
var _this = this;
|
|
899
|
+
return (0, exports.DashboardApiFp)(this.configuration).getAnalysisEmbeddedUrl(requestParameters.providerDashboardId, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
900
|
+
};
|
|
901
|
+
/**
|
|
902
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
659
903
|
* @param {DashboardApiGetDashboardRequest} requestParameters Request parameters.
|
|
660
904
|
* @param {*} [options] Override http request option.
|
|
661
905
|
* @throws {RequiredError}
|
|
@@ -666,18 +910,18 @@ var DashboardApi = /** @class */ (function (_super) {
|
|
|
666
910
|
return (0, exports.DashboardApiFp)(this.configuration).getDashboard(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
667
911
|
};
|
|
668
912
|
/**
|
|
669
|
-
*
|
|
670
|
-
* @param {
|
|
913
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
914
|
+
* @param {DashboardApiGetDashboardEmbeddedUrlRequest} requestParameters Request parameters.
|
|
671
915
|
* @param {*} [options] Override http request option.
|
|
672
916
|
* @throws {RequiredError}
|
|
673
917
|
* @memberof DashboardApi
|
|
674
918
|
*/
|
|
675
|
-
DashboardApi.prototype.
|
|
919
|
+
DashboardApi.prototype.getDashboardEmbeddedUrl = function (requestParameters, options) {
|
|
676
920
|
var _this = this;
|
|
677
|
-
return (0, exports.DashboardApiFp)(this.configuration).
|
|
921
|
+
return (0, exports.DashboardApiFp)(this.configuration).getDashboardEmbeddedUrl(requestParameters.providerDashboardId, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
678
922
|
};
|
|
679
923
|
/**
|
|
680
|
-
*
|
|
924
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
681
925
|
* @param {DashboardApiListDashboardsRequest} requestParameters Request parameters.
|
|
682
926
|
* @param {*} [options] Override http request option.
|
|
683
927
|
* @throws {RequiredError}
|
|
@@ -689,7 +933,29 @@ var DashboardApi = /** @class */ (function (_super) {
|
|
|
689
933
|
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); });
|
|
690
934
|
};
|
|
691
935
|
/**
|
|
692
|
-
*
|
|
936
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
937
|
+
* @param {DashboardApiPublishDashboardRequest} requestParameters Request parameters.
|
|
938
|
+
* @param {*} [options] Override http request option.
|
|
939
|
+
* @throws {RequiredError}
|
|
940
|
+
* @memberof DashboardApi
|
|
941
|
+
*/
|
|
942
|
+
DashboardApi.prototype.publishDashboard = function (requestParameters, options) {
|
|
943
|
+
var _this = this;
|
|
944
|
+
return (0, exports.DashboardApiFp)(this.configuration).publishDashboard(requestParameters.publishDashboardRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
945
|
+
};
|
|
946
|
+
/**
|
|
947
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
948
|
+
* @param {DashboardApiRevertAnalysisRequest} requestParameters Request parameters.
|
|
949
|
+
* @param {*} [options] Override http request option.
|
|
950
|
+
* @throws {RequiredError}
|
|
951
|
+
* @memberof DashboardApi
|
|
952
|
+
*/
|
|
953
|
+
DashboardApi.prototype.revertAnalysis = function (requestParameters, options) {
|
|
954
|
+
var _this = this;
|
|
955
|
+
return (0, exports.DashboardApiFp)(this.configuration).revertAnalysis(requestParameters.revertAnalysisRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
956
|
+
};
|
|
957
|
+
/**
|
|
958
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
693
959
|
* @param {DashboardApiUpdateDashboardRequest} requestParameters Request parameters.
|
|
694
960
|
* @param {*} [options] Override http request option.
|
|
695
961
|
* @throws {RequiredError}
|