@emilgroup/tenant-sdk 1.29.1-beta.0 → 1.29.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.
@@ -93,7 +93,7 @@ var DashboardApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
95
  /**
96
- * undefined **Required Permissions** \"pbm-management.dashboards.create\"
96
+ * undefined **Required Permissions** \"reporting.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
- * undefined **Required Permissions** \"pbm-management.dashboards.delete\"
144
+ * undefined **Required Permissions** \"reporting.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
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
191
+ * undefined **Required Permissions** \"reporting.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** \"reporting.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
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
285
+ * undefined **Required Permissions** \"reporting.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
- getEmbeddedUrl: function (providerDashboardId, authorization, options) {
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)('getEmbeddedUrl', 'providerDashboardId', providerDashboardId);
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,15 +329,15 @@ var DashboardApiAxiosParamCreator = function (configuration) {
282
329
  });
283
330
  },
284
331
  /**
285
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
332
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
286
333
  * @param {string} [authorization] Bearer Token
287
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
288
- * @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.
289
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
290
- * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
291
- * @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.
292
- * @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.
293
- * @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.
334
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
335
+ * @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.
336
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
337
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
338
+ * @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.
339
+ * @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.
340
+ * @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.
294
341
  * @param {*} [options] Override http request option.
295
342
  * @throws {RequiredError}
296
343
  */
@@ -353,7 +400,7 @@ var DashboardApiAxiosParamCreator = function (configuration) {
353
400
  });
354
401
  },
355
402
  /**
356
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
403
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
357
404
  * @param {PublishDashboardRequestDto} publishDashboardRequestDto
358
405
  * @param {string} [authorization] Bearer Token
359
406
  * @param {*} [options] Override http request option.
@@ -401,7 +448,7 @@ var DashboardApiAxiosParamCreator = function (configuration) {
401
448
  });
402
449
  },
403
450
  /**
404
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
451
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
405
452
  * @param {RevertAnalysisRequestDto} revertAnalysisRequestDto
406
453
  * @param {string} [authorization] Bearer Token
407
454
  * @param {*} [options] Override http request option.
@@ -449,7 +496,7 @@ var DashboardApiAxiosParamCreator = function (configuration) {
449
496
  });
450
497
  },
451
498
  /**
452
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
499
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
453
500
  * @param {string} code
454
501
  * @param {UpdateDashboardRequestDto} updateDashboardRequestDto
455
502
  * @param {string} [authorization] Bearer Token
@@ -511,7 +558,7 @@ var DashboardApiFp = function (configuration) {
511
558
  var localVarAxiosParamCreator = (0, exports.DashboardApiAxiosParamCreator)(configuration);
512
559
  return {
513
560
  /**
514
- * undefined **Required Permissions** \"pbm-management.dashboards.create\"
561
+ * undefined **Required Permissions** \"reporting.dashboards.create\"
515
562
  * @param {CreateDashboardRequestDto} createDashboardRequestDto
516
563
  * @param {string} [authorization] Bearer Token
517
564
  * @param {*} [options] Override http request option.
@@ -531,7 +578,7 @@ var DashboardApiFp = function (configuration) {
531
578
  });
532
579
  },
533
580
  /**
534
- * undefined **Required Permissions** \"pbm-management.dashboards.delete\"
581
+ * undefined **Required Permissions** \"reporting.dashboards.delete\"
535
582
  * @param {string} code
536
583
  * @param {string} [authorization] Bearer Token
537
584
  * @param {*} [options] Override http request option.
@@ -551,7 +598,27 @@ var DashboardApiFp = function (configuration) {
551
598
  });
552
599
  },
553
600
  /**
554
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
601
+ * undefined **Required Permissions** \"reporting.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** \"reporting.dashboards.view\"
555
622
  * @param {string} code
556
623
  * @param {string} [authorization] Bearer Token
557
624
  * @param {*} [options] Override http request option.
@@ -571,18 +638,18 @@ var DashboardApiFp = function (configuration) {
571
638
  });
572
639
  },
573
640
  /**
574
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
641
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
575
642
  * @param {string} providerDashboardId
576
643
  * @param {string} [authorization] Bearer Token
577
644
  * @param {*} [options] Override http request option.
578
645
  * @throws {RequiredError}
579
646
  */
580
- getEmbeddedUrl: function (providerDashboardId, authorization, options) {
647
+ getDashboardEmbeddedUrl: function (providerDashboardId, authorization, options) {
581
648
  return __awaiter(this, void 0, void 0, function () {
582
649
  var localVarAxiosArgs;
583
650
  return __generator(this, function (_a) {
584
651
  switch (_a.label) {
585
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getEmbeddedUrl(providerDashboardId, authorization, options)];
652
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getDashboardEmbeddedUrl(providerDashboardId, authorization, options)];
586
653
  case 1:
587
654
  localVarAxiosArgs = _a.sent();
588
655
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -591,15 +658,15 @@ var DashboardApiFp = function (configuration) {
591
658
  });
592
659
  },
593
660
  /**
594
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
661
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
595
662
  * @param {string} [authorization] Bearer Token
596
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
597
- * @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.
598
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
599
- * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
600
- * @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.
601
- * @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.
602
- * @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.
663
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
664
+ * @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.
665
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
666
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
667
+ * @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.
668
+ * @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.
669
+ * @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.
603
670
  * @param {*} [options] Override http request option.
604
671
  * @throws {RequiredError}
605
672
  */
@@ -617,7 +684,7 @@ var DashboardApiFp = function (configuration) {
617
684
  });
618
685
  },
619
686
  /**
620
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
687
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
621
688
  * @param {PublishDashboardRequestDto} publishDashboardRequestDto
622
689
  * @param {string} [authorization] Bearer Token
623
690
  * @param {*} [options] Override http request option.
@@ -637,7 +704,7 @@ var DashboardApiFp = function (configuration) {
637
704
  });
638
705
  },
639
706
  /**
640
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
707
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
641
708
  * @param {RevertAnalysisRequestDto} revertAnalysisRequestDto
642
709
  * @param {string} [authorization] Bearer Token
643
710
  * @param {*} [options] Override http request option.
@@ -657,7 +724,7 @@ var DashboardApiFp = function (configuration) {
657
724
  });
658
725
  },
659
726
  /**
660
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
727
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
661
728
  * @param {string} code
662
729
  * @param {UpdateDashboardRequestDto} updateDashboardRequestDto
663
730
  * @param {string} [authorization] Bearer Token
@@ -688,7 +755,7 @@ var DashboardApiFactory = function (configuration, basePath, axios) {
688
755
  var localVarFp = (0, exports.DashboardApiFp)(configuration);
689
756
  return {
690
757
  /**
691
- * undefined **Required Permissions** \"pbm-management.dashboards.create\"
758
+ * undefined **Required Permissions** \"reporting.dashboards.create\"
692
759
  * @param {CreateDashboardRequestDto} createDashboardRequestDto
693
760
  * @param {string} [authorization] Bearer Token
694
761
  * @param {*} [options] Override http request option.
@@ -698,7 +765,7 @@ var DashboardApiFactory = function (configuration, basePath, axios) {
698
765
  return localVarFp.createDashboard(createDashboardRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
699
766
  },
700
767
  /**
701
- * undefined **Required Permissions** \"pbm-management.dashboards.delete\"
768
+ * undefined **Required Permissions** \"reporting.dashboards.delete\"
702
769
  * @param {string} code
703
770
  * @param {string} [authorization] Bearer Token
704
771
  * @param {*} [options] Override http request option.
@@ -708,7 +775,17 @@ var DashboardApiFactory = function (configuration, basePath, axios) {
708
775
  return localVarFp.deleteDashboard(code, authorization, options).then(function (request) { return request(axios, basePath); });
709
776
  },
710
777
  /**
711
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
778
+ * undefined **Required Permissions** \"reporting.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** \"reporting.dashboards.view\"
712
789
  * @param {string} code
713
790
  * @param {string} [authorization] Bearer Token
714
791
  * @param {*} [options] Override http request option.
@@ -718,25 +795,25 @@ var DashboardApiFactory = function (configuration, basePath, axios) {
718
795
  return localVarFp.getDashboard(code, authorization, options).then(function (request) { return request(axios, basePath); });
719
796
  },
720
797
  /**
721
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
798
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
722
799
  * @param {string} providerDashboardId
723
800
  * @param {string} [authorization] Bearer Token
724
801
  * @param {*} [options] Override http request option.
725
802
  * @throws {RequiredError}
726
803
  */
727
- getEmbeddedUrl: function (providerDashboardId, authorization, options) {
728
- return localVarFp.getEmbeddedUrl(providerDashboardId, authorization, options).then(function (request) { return request(axios, basePath); });
804
+ getDashboardEmbeddedUrl: function (providerDashboardId, authorization, options) {
805
+ return localVarFp.getDashboardEmbeddedUrl(providerDashboardId, authorization, options).then(function (request) { return request(axios, basePath); });
729
806
  },
730
807
  /**
731
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
808
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
732
809
  * @param {string} [authorization] Bearer Token
733
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
734
- * @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.
735
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
736
- * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
737
- * @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.
738
- * @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.
739
- * @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.
810
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
811
+ * @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.
812
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
813
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
814
+ * @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.
815
+ * @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.
816
+ * @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.
740
817
  * @param {*} [options] Override http request option.
741
818
  * @throws {RequiredError}
742
819
  */
@@ -744,7 +821,7 @@ var DashboardApiFactory = function (configuration, basePath, axios) {
744
821
  return localVarFp.listDashboards(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
745
822
  },
746
823
  /**
747
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
824
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
748
825
  * @param {PublishDashboardRequestDto} publishDashboardRequestDto
749
826
  * @param {string} [authorization] Bearer Token
750
827
  * @param {*} [options] Override http request option.
@@ -754,7 +831,7 @@ var DashboardApiFactory = function (configuration, basePath, axios) {
754
831
  return localVarFp.publishDashboard(publishDashboardRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
755
832
  },
756
833
  /**
757
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
834
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
758
835
  * @param {RevertAnalysisRequestDto} revertAnalysisRequestDto
759
836
  * @param {string} [authorization] Bearer Token
760
837
  * @param {*} [options] Override http request option.
@@ -764,7 +841,7 @@ var DashboardApiFactory = function (configuration, basePath, axios) {
764
841
  return localVarFp.revertAnalysis(revertAnalysisRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
765
842
  },
766
843
  /**
767
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
844
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
768
845
  * @param {string} code
769
846
  * @param {UpdateDashboardRequestDto} updateDashboardRequestDto
770
847
  * @param {string} [authorization] Bearer Token
@@ -789,7 +866,7 @@ var DashboardApi = /** @class */ (function (_super) {
789
866
  return _super !== null && _super.apply(this, arguments) || this;
790
867
  }
791
868
  /**
792
- * undefined **Required Permissions** \"pbm-management.dashboards.create\"
869
+ * undefined **Required Permissions** \"reporting.dashboards.create\"
793
870
  * @param {DashboardApiCreateDashboardRequest} requestParameters Request parameters.
794
871
  * @param {*} [options] Override http request option.
795
872
  * @throws {RequiredError}
@@ -800,7 +877,7 @@ var DashboardApi = /** @class */ (function (_super) {
800
877
  return (0, exports.DashboardApiFp)(this.configuration).createDashboard(requestParameters.createDashboardRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
801
878
  };
802
879
  /**
803
- * undefined **Required Permissions** \"pbm-management.dashboards.delete\"
880
+ * undefined **Required Permissions** \"reporting.dashboards.delete\"
804
881
  * @param {DashboardApiDeleteDashboardRequest} requestParameters Request parameters.
805
882
  * @param {*} [options] Override http request option.
806
883
  * @throws {RequiredError}
@@ -811,7 +888,18 @@ var DashboardApi = /** @class */ (function (_super) {
811
888
  return (0, exports.DashboardApiFp)(this.configuration).deleteDashboard(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
812
889
  };
813
890
  /**
814
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
891
+ * undefined **Required Permissions** \"reporting.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** \"reporting.dashboards.view\"
815
903
  * @param {DashboardApiGetDashboardRequest} requestParameters Request parameters.
816
904
  * @param {*} [options] Override http request option.
817
905
  * @throws {RequiredError}
@@ -822,18 +910,18 @@ var DashboardApi = /** @class */ (function (_super) {
822
910
  return (0, exports.DashboardApiFp)(this.configuration).getDashboard(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
823
911
  };
824
912
  /**
825
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
826
- * @param {DashboardApiGetEmbeddedUrlRequest} requestParameters Request parameters.
913
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
914
+ * @param {DashboardApiGetDashboardEmbeddedUrlRequest} requestParameters Request parameters.
827
915
  * @param {*} [options] Override http request option.
828
916
  * @throws {RequiredError}
829
917
  * @memberof DashboardApi
830
918
  */
831
- DashboardApi.prototype.getEmbeddedUrl = function (requestParameters, options) {
919
+ DashboardApi.prototype.getDashboardEmbeddedUrl = function (requestParameters, options) {
832
920
  var _this = this;
833
- return (0, exports.DashboardApiFp)(this.configuration).getEmbeddedUrl(requestParameters.providerDashboardId, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
921
+ return (0, exports.DashboardApiFp)(this.configuration).getDashboardEmbeddedUrl(requestParameters.providerDashboardId, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
834
922
  };
835
923
  /**
836
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
924
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
837
925
  * @param {DashboardApiListDashboardsRequest} requestParameters Request parameters.
838
926
  * @param {*} [options] Override http request option.
839
927
  * @throws {RequiredError}
@@ -845,7 +933,7 @@ var DashboardApi = /** @class */ (function (_super) {
845
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); });
846
934
  };
847
935
  /**
848
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
936
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
849
937
  * @param {DashboardApiPublishDashboardRequest} requestParameters Request parameters.
850
938
  * @param {*} [options] Override http request option.
851
939
  * @throws {RequiredError}
@@ -856,7 +944,7 @@ var DashboardApi = /** @class */ (function (_super) {
856
944
  return (0, exports.DashboardApiFp)(this.configuration).publishDashboard(requestParameters.publishDashboardRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
857
945
  };
858
946
  /**
859
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
947
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
860
948
  * @param {DashboardApiRevertAnalysisRequest} requestParameters Request parameters.
861
949
  * @param {*} [options] Override http request option.
862
950
  * @throws {RequiredError}
@@ -867,7 +955,7 @@ var DashboardApi = /** @class */ (function (_super) {
867
955
  return (0, exports.DashboardApiFp)(this.configuration).revertAnalysis(requestParameters.revertAnalysisRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
868
956
  };
869
957
  /**
870
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
958
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
871
959
  * @param {DashboardApiUpdateDashboardRequest} requestParameters Request parameters.
872
960
  * @param {*} [options] Override http request option.
873
961
  * @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.