@emilgroup/tenant-sdk-node 1.28.1-beta.0 → 1.28.1-beta.2

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.
@@ -97,7 +97,7 @@ var DashboardApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
99
  /**
100
- * undefined **Required Permissions** \"pbm-management.dashboards.create\"
100
+ * undefined **Required Permissions** \"reporting.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
- * undefined **Required Permissions** \"pbm-management.dashboards.delete\"
148
+ * undefined **Required Permissions** \"reporting.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
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
195
+ * undefined **Required Permissions** \"reporting.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** \"reporting.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
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
289
+ * undefined **Required Permissions** \"reporting.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
- getEmbeddedUrl: function (providerDashboardId, authorization, options) {
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)('getEmbeddedUrl', 'providerDashboardId', providerDashboardId);
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,15 +333,15 @@ var DashboardApiAxiosParamCreator = function (configuration) {
286
333
  });
287
334
  },
288
335
  /**
289
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
336
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
290
337
  * @param {string} [authorization] Bearer Token
291
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
292
- * @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.
293
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
294
- * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
295
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
296
- * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
297
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
338
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
339
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
340
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
341
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
342
+ * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
343
+ * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
344
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
298
345
  * @param {*} [options] Override http request option.
299
346
  * @throws {RequiredError}
300
347
  */
@@ -357,7 +404,7 @@ var DashboardApiAxiosParamCreator = function (configuration) {
357
404
  });
358
405
  },
359
406
  /**
360
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
407
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
361
408
  * @param {PublishDashboardRequestDto} publishDashboardRequestDto
362
409
  * @param {string} [authorization] Bearer Token
363
410
  * @param {*} [options] Override http request option.
@@ -405,7 +452,7 @@ var DashboardApiAxiosParamCreator = function (configuration) {
405
452
  });
406
453
  },
407
454
  /**
408
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
455
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
409
456
  * @param {RevertAnalysisRequestDto} revertAnalysisRequestDto
410
457
  * @param {string} [authorization] Bearer Token
411
458
  * @param {*} [options] Override http request option.
@@ -453,7 +500,7 @@ var DashboardApiAxiosParamCreator = function (configuration) {
453
500
  });
454
501
  },
455
502
  /**
456
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
503
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
457
504
  * @param {string} code
458
505
  * @param {UpdateDashboardRequestDto} updateDashboardRequestDto
459
506
  * @param {string} [authorization] Bearer Token
@@ -515,7 +562,7 @@ var DashboardApiFp = function (configuration) {
515
562
  var localVarAxiosParamCreator = (0, exports.DashboardApiAxiosParamCreator)(configuration);
516
563
  return {
517
564
  /**
518
- * undefined **Required Permissions** \"pbm-management.dashboards.create\"
565
+ * undefined **Required Permissions** \"reporting.dashboards.create\"
519
566
  * @param {CreateDashboardRequestDto} createDashboardRequestDto
520
567
  * @param {string} [authorization] Bearer Token
521
568
  * @param {*} [options] Override http request option.
@@ -535,7 +582,7 @@ var DashboardApiFp = function (configuration) {
535
582
  });
536
583
  },
537
584
  /**
538
- * undefined **Required Permissions** \"pbm-management.dashboards.delete\"
585
+ * undefined **Required Permissions** \"reporting.dashboards.delete\"
539
586
  * @param {string} code
540
587
  * @param {string} [authorization] Bearer Token
541
588
  * @param {*} [options] Override http request option.
@@ -555,7 +602,27 @@ var DashboardApiFp = function (configuration) {
555
602
  });
556
603
  },
557
604
  /**
558
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
605
+ * undefined **Required Permissions** \"reporting.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** \"reporting.dashboards.view\"
559
626
  * @param {string} code
560
627
  * @param {string} [authorization] Bearer Token
561
628
  * @param {*} [options] Override http request option.
@@ -575,18 +642,18 @@ var DashboardApiFp = function (configuration) {
575
642
  });
576
643
  },
577
644
  /**
578
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
645
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
579
646
  * @param {string} providerDashboardId
580
647
  * @param {string} [authorization] Bearer Token
581
648
  * @param {*} [options] Override http request option.
582
649
  * @throws {RequiredError}
583
650
  */
584
- getEmbeddedUrl: function (providerDashboardId, authorization, options) {
651
+ getDashboardEmbeddedUrl: function (providerDashboardId, authorization, options) {
585
652
  return __awaiter(this, void 0, void 0, function () {
586
653
  var localVarAxiosArgs;
587
654
  return __generator(this, function (_a) {
588
655
  switch (_a.label) {
589
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getEmbeddedUrl(providerDashboardId, authorization, options)];
656
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getDashboardEmbeddedUrl(providerDashboardId, authorization, options)];
590
657
  case 1:
591
658
  localVarAxiosArgs = _a.sent();
592
659
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -595,15 +662,15 @@ var DashboardApiFp = function (configuration) {
595
662
  });
596
663
  },
597
664
  /**
598
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
665
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
599
666
  * @param {string} [authorization] Bearer Token
600
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
601
- * @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.
602
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
603
- * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
604
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
605
- * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
606
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
667
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
668
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
669
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
670
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
671
+ * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
672
+ * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
673
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
607
674
  * @param {*} [options] Override http request option.
608
675
  * @throws {RequiredError}
609
676
  */
@@ -621,7 +688,7 @@ var DashboardApiFp = function (configuration) {
621
688
  });
622
689
  },
623
690
  /**
624
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
691
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
625
692
  * @param {PublishDashboardRequestDto} publishDashboardRequestDto
626
693
  * @param {string} [authorization] Bearer Token
627
694
  * @param {*} [options] Override http request option.
@@ -641,7 +708,7 @@ var DashboardApiFp = function (configuration) {
641
708
  });
642
709
  },
643
710
  /**
644
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
711
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
645
712
  * @param {RevertAnalysisRequestDto} revertAnalysisRequestDto
646
713
  * @param {string} [authorization] Bearer Token
647
714
  * @param {*} [options] Override http request option.
@@ -661,7 +728,7 @@ var DashboardApiFp = function (configuration) {
661
728
  });
662
729
  },
663
730
  /**
664
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
731
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
665
732
  * @param {string} code
666
733
  * @param {UpdateDashboardRequestDto} updateDashboardRequestDto
667
734
  * @param {string} [authorization] Bearer Token
@@ -692,7 +759,7 @@ var DashboardApiFactory = function (configuration, basePath, axios) {
692
759
  var localVarFp = (0, exports.DashboardApiFp)(configuration);
693
760
  return {
694
761
  /**
695
- * undefined **Required Permissions** \"pbm-management.dashboards.create\"
762
+ * undefined **Required Permissions** \"reporting.dashboards.create\"
696
763
  * @param {CreateDashboardRequestDto} createDashboardRequestDto
697
764
  * @param {string} [authorization] Bearer Token
698
765
  * @param {*} [options] Override http request option.
@@ -702,7 +769,7 @@ var DashboardApiFactory = function (configuration, basePath, axios) {
702
769
  return localVarFp.createDashboard(createDashboardRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
703
770
  },
704
771
  /**
705
- * undefined **Required Permissions** \"pbm-management.dashboards.delete\"
772
+ * undefined **Required Permissions** \"reporting.dashboards.delete\"
706
773
  * @param {string} code
707
774
  * @param {string} [authorization] Bearer Token
708
775
  * @param {*} [options] Override http request option.
@@ -712,7 +779,17 @@ var DashboardApiFactory = function (configuration, basePath, axios) {
712
779
  return localVarFp.deleteDashboard(code, authorization, options).then(function (request) { return request(axios, basePath); });
713
780
  },
714
781
  /**
715
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
782
+ * undefined **Required Permissions** \"reporting.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** \"reporting.dashboards.view\"
716
793
  * @param {string} code
717
794
  * @param {string} [authorization] Bearer Token
718
795
  * @param {*} [options] Override http request option.
@@ -722,25 +799,25 @@ var DashboardApiFactory = function (configuration, basePath, axios) {
722
799
  return localVarFp.getDashboard(code, authorization, options).then(function (request) { return request(axios, basePath); });
723
800
  },
724
801
  /**
725
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
802
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
726
803
  * @param {string} providerDashboardId
727
804
  * @param {string} [authorization] Bearer Token
728
805
  * @param {*} [options] Override http request option.
729
806
  * @throws {RequiredError}
730
807
  */
731
- getEmbeddedUrl: function (providerDashboardId, authorization, options) {
732
- return localVarFp.getEmbeddedUrl(providerDashboardId, authorization, options).then(function (request) { return request(axios, basePath); });
808
+ getDashboardEmbeddedUrl: function (providerDashboardId, authorization, options) {
809
+ return localVarFp.getDashboardEmbeddedUrl(providerDashboardId, authorization, options).then(function (request) { return request(axios, basePath); });
733
810
  },
734
811
  /**
735
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
812
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
736
813
  * @param {string} [authorization] Bearer Token
737
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
738
- * @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.
739
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
740
- * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
741
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
742
- * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
743
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
814
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
815
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
816
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
817
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
818
+ * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
819
+ * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
820
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
744
821
  * @param {*} [options] Override http request option.
745
822
  * @throws {RequiredError}
746
823
  */
@@ -748,7 +825,7 @@ var DashboardApiFactory = function (configuration, basePath, axios) {
748
825
  return localVarFp.listDashboards(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
749
826
  },
750
827
  /**
751
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
828
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
752
829
  * @param {PublishDashboardRequestDto} publishDashboardRequestDto
753
830
  * @param {string} [authorization] Bearer Token
754
831
  * @param {*} [options] Override http request option.
@@ -758,7 +835,7 @@ var DashboardApiFactory = function (configuration, basePath, axios) {
758
835
  return localVarFp.publishDashboard(publishDashboardRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
759
836
  },
760
837
  /**
761
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
838
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
762
839
  * @param {RevertAnalysisRequestDto} revertAnalysisRequestDto
763
840
  * @param {string} [authorization] Bearer Token
764
841
  * @param {*} [options] Override http request option.
@@ -768,7 +845,7 @@ var DashboardApiFactory = function (configuration, basePath, axios) {
768
845
  return localVarFp.revertAnalysis(revertAnalysisRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
769
846
  },
770
847
  /**
771
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
848
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
772
849
  * @param {string} code
773
850
  * @param {UpdateDashboardRequestDto} updateDashboardRequestDto
774
851
  * @param {string} [authorization] Bearer Token
@@ -793,7 +870,7 @@ var DashboardApi = /** @class */ (function (_super) {
793
870
  return _super !== null && _super.apply(this, arguments) || this;
794
871
  }
795
872
  /**
796
- * undefined **Required Permissions** \"pbm-management.dashboards.create\"
873
+ * undefined **Required Permissions** \"reporting.dashboards.create\"
797
874
  * @param {DashboardApiCreateDashboardRequest} requestParameters Request parameters.
798
875
  * @param {*} [options] Override http request option.
799
876
  * @throws {RequiredError}
@@ -804,7 +881,7 @@ var DashboardApi = /** @class */ (function (_super) {
804
881
  return (0, exports.DashboardApiFp)(this.configuration).createDashboard(requestParameters.createDashboardRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
805
882
  };
806
883
  /**
807
- * undefined **Required Permissions** \"pbm-management.dashboards.delete\"
884
+ * undefined **Required Permissions** \"reporting.dashboards.delete\"
808
885
  * @param {DashboardApiDeleteDashboardRequest} requestParameters Request parameters.
809
886
  * @param {*} [options] Override http request option.
810
887
  * @throws {RequiredError}
@@ -815,7 +892,18 @@ var DashboardApi = /** @class */ (function (_super) {
815
892
  return (0, exports.DashboardApiFp)(this.configuration).deleteDashboard(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
816
893
  };
817
894
  /**
818
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
895
+ * undefined **Required Permissions** \"reporting.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** \"reporting.dashboards.view\"
819
907
  * @param {DashboardApiGetDashboardRequest} requestParameters Request parameters.
820
908
  * @param {*} [options] Override http request option.
821
909
  * @throws {RequiredError}
@@ -826,18 +914,18 @@ var DashboardApi = /** @class */ (function (_super) {
826
914
  return (0, exports.DashboardApiFp)(this.configuration).getDashboard(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
827
915
  };
828
916
  /**
829
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
830
- * @param {DashboardApiGetEmbeddedUrlRequest} requestParameters Request parameters.
917
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
918
+ * @param {DashboardApiGetDashboardEmbeddedUrlRequest} requestParameters Request parameters.
831
919
  * @param {*} [options] Override http request option.
832
920
  * @throws {RequiredError}
833
921
  * @memberof DashboardApi
834
922
  */
835
- DashboardApi.prototype.getEmbeddedUrl = function (requestParameters, options) {
923
+ DashboardApi.prototype.getDashboardEmbeddedUrl = function (requestParameters, options) {
836
924
  var _this = this;
837
- return (0, exports.DashboardApiFp)(this.configuration).getEmbeddedUrl(requestParameters.providerDashboardId, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
925
+ return (0, exports.DashboardApiFp)(this.configuration).getDashboardEmbeddedUrl(requestParameters.providerDashboardId, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
838
926
  };
839
927
  /**
840
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
928
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
841
929
  * @param {DashboardApiListDashboardsRequest} requestParameters Request parameters.
842
930
  * @param {*} [options] Override http request option.
843
931
  * @throws {RequiredError}
@@ -849,7 +937,7 @@ var DashboardApi = /** @class */ (function (_super) {
849
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); });
850
938
  };
851
939
  /**
852
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
940
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
853
941
  * @param {DashboardApiPublishDashboardRequest} requestParameters Request parameters.
854
942
  * @param {*} [options] Override http request option.
855
943
  * @throws {RequiredError}
@@ -860,7 +948,7 @@ var DashboardApi = /** @class */ (function (_super) {
860
948
  return (0, exports.DashboardApiFp)(this.configuration).publishDashboard(requestParameters.publishDashboardRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
861
949
  };
862
950
  /**
863
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
951
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
864
952
  * @param {DashboardApiRevertAnalysisRequest} requestParameters Request parameters.
865
953
  * @param {*} [options] Override http request option.
866
954
  * @throws {RequiredError}
@@ -871,7 +959,7 @@ var DashboardApi = /** @class */ (function (_super) {
871
959
  return (0, exports.DashboardApiFp)(this.configuration).revertAnalysis(requestParameters.revertAnalysisRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
872
960
  };
873
961
  /**
874
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
962
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
875
963
  * @param {DashboardApiUpdateDashboardRequest} requestParameters Request parameters.
876
964
  * @param {*} [options] Override http request option.
877
965
  * @throws {RequiredError}
@@ -51,17 +51,17 @@ export declare const DashboardGroupApiAxiosParamCreator: (configuration?: Config
51
51
  /**
52
52
  * undefined **Required Permissions** \"pbm-management.dashboard-groups.view\"
53
53
  * @param {string} [authorization] Bearer Token
54
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
55
- * @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.
56
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
57
- * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
58
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
59
- * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
60
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
54
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
55
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
56
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
57
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
58
+ * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
59
+ * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
60
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
61
61
  * @param {*} [options] Override http request option.
62
62
  * @throws {RequiredError}
63
63
  */
64
- listDashboardGroups: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
64
+ listDashboardGroups: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
65
65
  /**
66
66
  * undefined **Required Permissions** \"pbm-management.dashboard-groups.update\"
67
67
  * @param {string} code
@@ -104,17 +104,17 @@ export declare const DashboardGroupApiFp: (configuration?: Configuration) => {
104
104
  /**
105
105
  * undefined **Required Permissions** \"pbm-management.dashboard-groups.view\"
106
106
  * @param {string} [authorization] Bearer Token
107
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
108
- * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
109
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
110
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
111
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
112
- * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
113
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
107
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
108
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
109
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
110
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
111
+ * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
112
+ * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
113
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
114
114
  * @param {*} [options] Override http request option.
115
115
  * @throws {RequiredError}
116
116
  */
117
- listDashboardGroups(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDashboardGroupsResponseClass>>;
117
+ listDashboardGroups(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDashboardGroupsResponseClass>>;
118
118
  /**
119
119
  * undefined **Required Permissions** \"pbm-management.dashboard-groups.update\"
120
120
  * @param {string} code
@@ -157,17 +157,17 @@ export declare const DashboardGroupApiFactory: (configuration?: Configuration, b
157
157
  /**
158
158
  * undefined **Required Permissions** \"pbm-management.dashboard-groups.view\"
159
159
  * @param {string} [authorization] Bearer Token
160
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
161
- * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
162
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
163
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
164
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
165
- * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
166
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
160
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
161
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
162
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
163
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
164
+ * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
165
+ * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
166
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
167
167
  * @param {*} [options] Override http request option.
168
168
  * @throws {RequiredError}
169
169
  */
170
- listDashboardGroups(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListDashboardGroupsResponseClass>;
170
+ listDashboardGroups(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListDashboardGroupsResponseClass>;
171
171
  /**
172
172
  * undefined **Required Permissions** \"pbm-management.dashboard-groups.update\"
173
173
  * @param {string} code
@@ -249,46 +249,46 @@ export interface DashboardGroupApiListDashboardGroupsRequest {
249
249
  readonly authorization?: string;
250
250
  /**
251
251
  * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
252
- * @type {any}
252
+ * @type {number}
253
253
  * @memberof DashboardGroupApiListDashboardGroups
254
254
  */
255
- readonly pageSize?: any;
255
+ readonly pageSize?: number;
256
256
  /**
257
- * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
258
- * @type {any}
257
+ * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
258
+ * @type {string}
259
259
  * @memberof DashboardGroupApiListDashboardGroups
260
260
  */
261
- readonly pageToken?: any;
261
+ readonly pageToken?: string;
262
262
  /**
263
263
  * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
264
- * @type {any}
264
+ * @type {string}
265
265
  * @memberof DashboardGroupApiListDashboardGroups
266
266
  */
267
- readonly filter?: any;
267
+ readonly filter?: string;
268
268
  /**
269
269
  * To search the list by any field, pass search&#x3D;xxx to fetch the result.
270
- * @type {any}
270
+ * @type {string}
271
271
  * @memberof DashboardGroupApiListDashboardGroups
272
272
  */
273
- readonly search?: any;
273
+ readonly search?: string;
274
274
  /**
275
275
  * The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
276
- * @type {any}
276
+ * @type {string}
277
277
  * @memberof DashboardGroupApiListDashboardGroups
278
278
  */
279
- readonly order?: any;
279
+ readonly order?: string;
280
280
  /**
281
- * Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
282
- * @type {any}
281
+ * Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
282
+ * @type {string}
283
283
  * @memberof DashboardGroupApiListDashboardGroups
284
284
  */
285
- readonly expand?: any;
285
+ readonly expand?: string;
286
286
  /**
287
287
  * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
288
- * @type {any}
288
+ * @type {string}
289
289
  * @memberof DashboardGroupApiListDashboardGroups
290
290
  */
291
- readonly filters?: any;
291
+ readonly filters?: string;
292
292
  }
293
293
  /**
294
294
  * Request parameters for updateDashboardGroup operation in DashboardGroupApi.