@emilgroup/tenant-sdk 1.31.1-beta.2 → 1.32.0

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,64 +93,13 @@ var DashboardApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
95
  /**
96
- * Creates a new dashboard using the preconfigured analysis id **Required Permissions** \"reporting.dashboards.create\"
97
- * @summary Creates a new dashboard
98
- * @param {CreateDashboardV2RequestDto} createDashboardV2RequestDto
99
- * @param {string} [authorization] Bearer Token
100
- * @param {*} [options] Override http request option.
101
- * @throws {RequiredError}
102
- */
103
- createDashboard: function (createDashboardV2RequestDto, authorization, options) {
104
- if (options === void 0) { options = {}; }
105
- return __awaiter(_this, void 0, void 0, function () {
106
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
107
- return __generator(this, function (_a) {
108
- switch (_a.label) {
109
- case 0:
110
- // verify required parameter 'createDashboardV2RequestDto' is not null or undefined
111
- (0, common_1.assertParamExists)('createDashboard', 'createDashboardV2RequestDto', createDashboardV2RequestDto);
112
- localVarPath = "/tenantservice/v1/dashboards";
113
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
114
- if (configuration) {
115
- baseOptions = configuration.baseOptions;
116
- baseAccessToken = configuration.accessToken;
117
- }
118
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
119
- localVarHeaderParameter = {};
120
- localVarQueryParameter = {};
121
- // authentication bearer required
122
- // http bearer authentication required
123
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
124
- case 1:
125
- // authentication bearer required
126
- // http bearer authentication required
127
- _a.sent();
128
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
129
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
130
- }
131
- localVarHeaderParameter['Content-Type'] = 'application/json';
132
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
133
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
134
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
135
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createDashboardV2RequestDto, localVarRequestOptions, configuration);
136
- return [2 /*return*/, {
137
- url: (0, common_1.toPathString)(localVarUrlObj),
138
- options: localVarRequestOptions,
139
- }];
140
- }
141
- });
142
- });
143
- },
144
- /**
145
- * Creates a new dashboard from a preconfigured analysis id and dashboard id. Use POST /tenantservice/v1/dashboards instead. **Required Permissions** \"reporting.dashboards.create\"
146
- * @summary Creates a new dashboard (DEPRECATED)
96
+ * undefined **Required Permissions** \"reporting.dashboards.create\"
147
97
  * @param {CreateDashboardRequestDto} createDashboardRequestDto
148
98
  * @param {string} [authorization] Bearer Token
149
99
  * @param {*} [options] Override http request option.
150
- * @deprecated
151
100
  * @throws {RequiredError}
152
101
  */
153
- createDashboardLegacy: function (createDashboardRequestDto, authorization, options) {
102
+ createDashboard: function (createDashboardRequestDto, authorization, options) {
154
103
  if (options === void 0) { options = {}; }
155
104
  return __awaiter(_this, void 0, void 0, function () {
156
105
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -158,8 +107,8 @@ var DashboardApiAxiosParamCreator = function (configuration) {
158
107
  switch (_a.label) {
159
108
  case 0:
160
109
  // verify required parameter 'createDashboardRequestDto' is not null or undefined
161
- (0, common_1.assertParamExists)('createDashboardLegacy', 'createDashboardRequestDto', createDashboardRequestDto);
162
- localVarPath = "/tenantservice/v1/dashboards/legacy";
110
+ (0, common_1.assertParamExists)('createDashboard', 'createDashboardRequestDto', createDashboardRequestDto);
111
+ localVarPath = "/tenantservice/v1/dashboards";
163
112
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
164
113
  if (configuration) {
165
114
  baseOptions = configuration.baseOptions;
@@ -192,8 +141,7 @@ var DashboardApiAxiosParamCreator = function (configuration) {
192
141
  });
193
142
  },
194
143
  /**
195
- * Permanently removes a dashboard and all associated data by dashboard code. **Required Permissions** \"reporting.dashboards.delete\"
196
- * @summary Deletes an existing dashboard
144
+ * undefined **Required Permissions** \"reporting.dashboards.delete\"
197
145
  * @param {string} code
198
146
  * @param {string} [authorization] Bearer Token
199
147
  * @param {*} [options] Override http request option.
@@ -240,8 +188,7 @@ var DashboardApiAxiosParamCreator = function (configuration) {
240
188
  });
241
189
  },
242
190
  /**
243
- * Creates a secure embedded URL that allows dashboard analysis and editing within external applications. **Required Permissions** \"reporting.dashboards.update\"
244
- * @summary Generates an embedded URL for dashboard editing
191
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
245
192
  * @param {string} providerDashboardId
246
193
  * @param {string} [authorization] Bearer Token
247
194
  * @param {*} [options] Override http request option.
@@ -288,8 +235,7 @@ var DashboardApiAxiosParamCreator = function (configuration) {
288
235
  });
289
236
  },
290
237
  /**
291
- * Fetches dashboard details by code including configuration and metadata. **Required Permissions** \"reporting.dashboards.view\"
292
- * @summary Retrieves a specific dashboard
238
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
293
239
  * @param {string} code
294
240
  * @param {string} [authorization] Bearer Token
295
241
  * @param {*} [options] Override http request option.
@@ -336,8 +282,7 @@ var DashboardApiAxiosParamCreator = function (configuration) {
336
282
  });
337
283
  },
338
284
  /**
339
- * Creates a secure embedded URL that allows dashboard content to be displayed within external applications. **Required Permissions** \"reporting.dashboards.view\"
340
- * @summary Generates an embedded URL for dashboard viewing
285
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
341
286
  * @param {string} providerDashboardId
342
287
  * @param {string} [authorization] Bearer Token
343
288
  * @param {*} [options] Override http request option.
@@ -384,8 +329,7 @@ var DashboardApiAxiosParamCreator = function (configuration) {
384
329
  });
385
330
  },
386
331
  /**
387
- * Fetches a paginated list of dashboards with optional filtering and sorting capabilities. **Required Permissions** \"reporting.dashboards.view\"
388
- * @summary Retrieves a list of dashboards
332
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
389
333
  * @param {string} [authorization] Bearer Token
390
334
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
391
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.
@@ -456,8 +400,7 @@ var DashboardApiAxiosParamCreator = function (configuration) {
456
400
  });
457
401
  },
458
402
  /**
459
- * Makes a dashboard publicly available by publishing it from draft or analysis state. **Required Permissions** \"reporting.dashboards.update\"
460
- * @summary Publishes a dashboard for general access
403
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
461
404
  * @param {PublishDashboardRequestDto} publishDashboardRequestDto
462
405
  * @param {string} [authorization] Bearer Token
463
406
  * @param {*} [options] Override http request option.
@@ -505,8 +448,7 @@ var DashboardApiAxiosParamCreator = function (configuration) {
505
448
  });
506
449
  },
507
450
  /**
508
- * Rolls back dashboard analysis changes to restore the previous version or state. **Required Permissions** \"reporting.dashboards.update\"
509
- * @summary Reverts dashboard analysis to previous state
451
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
510
452
  * @param {RevertAnalysisRequestDto} revertAnalysisRequestDto
511
453
  * @param {string} [authorization] Bearer Token
512
454
  * @param {*} [options] Override http request option.
@@ -554,8 +496,7 @@ var DashboardApiAxiosParamCreator = function (configuration) {
554
496
  });
555
497
  },
556
498
  /**
557
- * Modifies dashboard properties, configuration, or metadata by dashboard code. **Required Permissions** \"reporting.dashboards.update\"
558
- * @summary Updates an existing dashboard
499
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
559
500
  * @param {string} code
560
501
  * @param {UpdateDashboardRequestDto} updateDashboardRequestDto
561
502
  * @param {string} [authorization] Bearer Token
@@ -617,41 +558,18 @@ var DashboardApiFp = function (configuration) {
617
558
  var localVarAxiosParamCreator = (0, exports.DashboardApiAxiosParamCreator)(configuration);
618
559
  return {
619
560
  /**
620
- * Creates a new dashboard using the preconfigured analysis id **Required Permissions** \"reporting.dashboards.create\"
621
- * @summary Creates a new dashboard
622
- * @param {CreateDashboardV2RequestDto} createDashboardV2RequestDto
623
- * @param {string} [authorization] Bearer Token
624
- * @param {*} [options] Override http request option.
625
- * @throws {RequiredError}
626
- */
627
- createDashboard: function (createDashboardV2RequestDto, authorization, options) {
628
- return __awaiter(this, void 0, void 0, function () {
629
- var localVarAxiosArgs;
630
- return __generator(this, function (_a) {
631
- switch (_a.label) {
632
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.createDashboard(createDashboardV2RequestDto, authorization, options)];
633
- case 1:
634
- localVarAxiosArgs = _a.sent();
635
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
636
- }
637
- });
638
- });
639
- },
640
- /**
641
- * Creates a new dashboard from a preconfigured analysis id and dashboard id. Use POST /tenantservice/v1/dashboards instead. **Required Permissions** \"reporting.dashboards.create\"
642
- * @summary Creates a new dashboard (DEPRECATED)
561
+ * undefined **Required Permissions** \"reporting.dashboards.create\"
643
562
  * @param {CreateDashboardRequestDto} createDashboardRequestDto
644
563
  * @param {string} [authorization] Bearer Token
645
564
  * @param {*} [options] Override http request option.
646
- * @deprecated
647
565
  * @throws {RequiredError}
648
566
  */
649
- createDashboardLegacy: function (createDashboardRequestDto, authorization, options) {
567
+ createDashboard: function (createDashboardRequestDto, authorization, options) {
650
568
  return __awaiter(this, void 0, void 0, function () {
651
569
  var localVarAxiosArgs;
652
570
  return __generator(this, function (_a) {
653
571
  switch (_a.label) {
654
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.createDashboardLegacy(createDashboardRequestDto, authorization, options)];
572
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createDashboard(createDashboardRequestDto, authorization, options)];
655
573
  case 1:
656
574
  localVarAxiosArgs = _a.sent();
657
575
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -660,8 +578,7 @@ var DashboardApiFp = function (configuration) {
660
578
  });
661
579
  },
662
580
  /**
663
- * Permanently removes a dashboard and all associated data by dashboard code. **Required Permissions** \"reporting.dashboards.delete\"
664
- * @summary Deletes an existing dashboard
581
+ * undefined **Required Permissions** \"reporting.dashboards.delete\"
665
582
  * @param {string} code
666
583
  * @param {string} [authorization] Bearer Token
667
584
  * @param {*} [options] Override http request option.
@@ -681,8 +598,7 @@ var DashboardApiFp = function (configuration) {
681
598
  });
682
599
  },
683
600
  /**
684
- * Creates a secure embedded URL that allows dashboard analysis and editing within external applications. **Required Permissions** \"reporting.dashboards.update\"
685
- * @summary Generates an embedded URL for dashboard editing
601
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
686
602
  * @param {string} providerDashboardId
687
603
  * @param {string} [authorization] Bearer Token
688
604
  * @param {*} [options] Override http request option.
@@ -702,8 +618,7 @@ var DashboardApiFp = function (configuration) {
702
618
  });
703
619
  },
704
620
  /**
705
- * Fetches dashboard details by code including configuration and metadata. **Required Permissions** \"reporting.dashboards.view\"
706
- * @summary Retrieves a specific dashboard
621
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
707
622
  * @param {string} code
708
623
  * @param {string} [authorization] Bearer Token
709
624
  * @param {*} [options] Override http request option.
@@ -723,8 +638,7 @@ var DashboardApiFp = function (configuration) {
723
638
  });
724
639
  },
725
640
  /**
726
- * Creates a secure embedded URL that allows dashboard content to be displayed within external applications. **Required Permissions** \"reporting.dashboards.view\"
727
- * @summary Generates an embedded URL for dashboard viewing
641
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
728
642
  * @param {string} providerDashboardId
729
643
  * @param {string} [authorization] Bearer Token
730
644
  * @param {*} [options] Override http request option.
@@ -744,8 +658,7 @@ var DashboardApiFp = function (configuration) {
744
658
  });
745
659
  },
746
660
  /**
747
- * Fetches a paginated list of dashboards with optional filtering and sorting capabilities. **Required Permissions** \"reporting.dashboards.view\"
748
- * @summary Retrieves a list of dashboards
661
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
749
662
  * @param {string} [authorization] Bearer Token
750
663
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
751
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.
@@ -771,8 +684,7 @@ var DashboardApiFp = function (configuration) {
771
684
  });
772
685
  },
773
686
  /**
774
- * Makes a dashboard publicly available by publishing it from draft or analysis state. **Required Permissions** \"reporting.dashboards.update\"
775
- * @summary Publishes a dashboard for general access
687
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
776
688
  * @param {PublishDashboardRequestDto} publishDashboardRequestDto
777
689
  * @param {string} [authorization] Bearer Token
778
690
  * @param {*} [options] Override http request option.
@@ -792,8 +704,7 @@ var DashboardApiFp = function (configuration) {
792
704
  });
793
705
  },
794
706
  /**
795
- * Rolls back dashboard analysis changes to restore the previous version or state. **Required Permissions** \"reporting.dashboards.update\"
796
- * @summary Reverts dashboard analysis to previous state
707
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
797
708
  * @param {RevertAnalysisRequestDto} revertAnalysisRequestDto
798
709
  * @param {string} [authorization] Bearer Token
799
710
  * @param {*} [options] Override http request option.
@@ -813,8 +724,7 @@ var DashboardApiFp = function (configuration) {
813
724
  });
814
725
  },
815
726
  /**
816
- * Modifies dashboard properties, configuration, or metadata by dashboard code. **Required Permissions** \"reporting.dashboards.update\"
817
- * @summary Updates an existing dashboard
727
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
818
728
  * @param {string} code
819
729
  * @param {UpdateDashboardRequestDto} updateDashboardRequestDto
820
730
  * @param {string} [authorization] Bearer Token
@@ -845,31 +755,17 @@ var DashboardApiFactory = function (configuration, basePath, axios) {
845
755
  var localVarFp = (0, exports.DashboardApiFp)(configuration);
846
756
  return {
847
757
  /**
848
- * Creates a new dashboard using the preconfigured analysis id **Required Permissions** \"reporting.dashboards.create\"
849
- * @summary Creates a new dashboard
850
- * @param {CreateDashboardV2RequestDto} createDashboardV2RequestDto
851
- * @param {string} [authorization] Bearer Token
852
- * @param {*} [options] Override http request option.
853
- * @throws {RequiredError}
854
- */
855
- createDashboard: function (createDashboardV2RequestDto, authorization, options) {
856
- return localVarFp.createDashboard(createDashboardV2RequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
857
- },
858
- /**
859
- * Creates a new dashboard from a preconfigured analysis id and dashboard id. Use POST /tenantservice/v1/dashboards instead. **Required Permissions** \"reporting.dashboards.create\"
860
- * @summary Creates a new dashboard (DEPRECATED)
758
+ * undefined **Required Permissions** \"reporting.dashboards.create\"
861
759
  * @param {CreateDashboardRequestDto} createDashboardRequestDto
862
760
  * @param {string} [authorization] Bearer Token
863
761
  * @param {*} [options] Override http request option.
864
- * @deprecated
865
762
  * @throws {RequiredError}
866
763
  */
867
- createDashboardLegacy: function (createDashboardRequestDto, authorization, options) {
868
- return localVarFp.createDashboardLegacy(createDashboardRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
764
+ createDashboard: function (createDashboardRequestDto, authorization, options) {
765
+ return localVarFp.createDashboard(createDashboardRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
869
766
  },
870
767
  /**
871
- * Permanently removes a dashboard and all associated data by dashboard code. **Required Permissions** \"reporting.dashboards.delete\"
872
- * @summary Deletes an existing dashboard
768
+ * undefined **Required Permissions** \"reporting.dashboards.delete\"
873
769
  * @param {string} code
874
770
  * @param {string} [authorization] Bearer Token
875
771
  * @param {*} [options] Override http request option.
@@ -879,8 +775,7 @@ var DashboardApiFactory = function (configuration, basePath, axios) {
879
775
  return localVarFp.deleteDashboard(code, authorization, options).then(function (request) { return request(axios, basePath); });
880
776
  },
881
777
  /**
882
- * Creates a secure embedded URL that allows dashboard analysis and editing within external applications. **Required Permissions** \"reporting.dashboards.update\"
883
- * @summary Generates an embedded URL for dashboard editing
778
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
884
779
  * @param {string} providerDashboardId
885
780
  * @param {string} [authorization] Bearer Token
886
781
  * @param {*} [options] Override http request option.
@@ -890,8 +785,7 @@ var DashboardApiFactory = function (configuration, basePath, axios) {
890
785
  return localVarFp.getAnalysisEmbeddedUrl(providerDashboardId, authorization, options).then(function (request) { return request(axios, basePath); });
891
786
  },
892
787
  /**
893
- * Fetches dashboard details by code including configuration and metadata. **Required Permissions** \"reporting.dashboards.view\"
894
- * @summary Retrieves a specific dashboard
788
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
895
789
  * @param {string} code
896
790
  * @param {string} [authorization] Bearer Token
897
791
  * @param {*} [options] Override http request option.
@@ -901,8 +795,7 @@ var DashboardApiFactory = function (configuration, basePath, axios) {
901
795
  return localVarFp.getDashboard(code, authorization, options).then(function (request) { return request(axios, basePath); });
902
796
  },
903
797
  /**
904
- * Creates a secure embedded URL that allows dashboard content to be displayed within external applications. **Required Permissions** \"reporting.dashboards.view\"
905
- * @summary Generates an embedded URL for dashboard viewing
798
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
906
799
  * @param {string} providerDashboardId
907
800
  * @param {string} [authorization] Bearer Token
908
801
  * @param {*} [options] Override http request option.
@@ -912,8 +805,7 @@ var DashboardApiFactory = function (configuration, basePath, axios) {
912
805
  return localVarFp.getDashboardEmbeddedUrl(providerDashboardId, authorization, options).then(function (request) { return request(axios, basePath); });
913
806
  },
914
807
  /**
915
- * Fetches a paginated list of dashboards with optional filtering and sorting capabilities. **Required Permissions** \"reporting.dashboards.view\"
916
- * @summary Retrieves a list of dashboards
808
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
917
809
  * @param {string} [authorization] Bearer Token
918
810
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
919
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.
@@ -929,8 +821,7 @@ var DashboardApiFactory = function (configuration, basePath, axios) {
929
821
  return localVarFp.listDashboards(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
930
822
  },
931
823
  /**
932
- * Makes a dashboard publicly available by publishing it from draft or analysis state. **Required Permissions** \"reporting.dashboards.update\"
933
- * @summary Publishes a dashboard for general access
824
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
934
825
  * @param {PublishDashboardRequestDto} publishDashboardRequestDto
935
826
  * @param {string} [authorization] Bearer Token
936
827
  * @param {*} [options] Override http request option.
@@ -940,8 +831,7 @@ var DashboardApiFactory = function (configuration, basePath, axios) {
940
831
  return localVarFp.publishDashboard(publishDashboardRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
941
832
  },
942
833
  /**
943
- * Rolls back dashboard analysis changes to restore the previous version or state. **Required Permissions** \"reporting.dashboards.update\"
944
- * @summary Reverts dashboard analysis to previous state
834
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
945
835
  * @param {RevertAnalysisRequestDto} revertAnalysisRequestDto
946
836
  * @param {string} [authorization] Bearer Token
947
837
  * @param {*} [options] Override http request option.
@@ -951,8 +841,7 @@ var DashboardApiFactory = function (configuration, basePath, axios) {
951
841
  return localVarFp.revertAnalysis(revertAnalysisRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
952
842
  },
953
843
  /**
954
- * Modifies dashboard properties, configuration, or metadata by dashboard code. **Required Permissions** \"reporting.dashboards.update\"
955
- * @summary Updates an existing dashboard
844
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
956
845
  * @param {string} code
957
846
  * @param {UpdateDashboardRequestDto} updateDashboardRequestDto
958
847
  * @param {string} [authorization] Bearer Token
@@ -977,8 +866,7 @@ var DashboardApi = /** @class */ (function (_super) {
977
866
  return _super !== null && _super.apply(this, arguments) || this;
978
867
  }
979
868
  /**
980
- * Creates a new dashboard using the preconfigured analysis id **Required Permissions** \"reporting.dashboards.create\"
981
- * @summary Creates a new dashboard
869
+ * undefined **Required Permissions** \"reporting.dashboards.create\"
982
870
  * @param {DashboardApiCreateDashboardRequest} requestParameters Request parameters.
983
871
  * @param {*} [options] Override http request option.
984
872
  * @throws {RequiredError}
@@ -986,24 +874,10 @@ var DashboardApi = /** @class */ (function (_super) {
986
874
  */
987
875
  DashboardApi.prototype.createDashboard = function (requestParameters, options) {
988
876
  var _this = this;
989
- return (0, exports.DashboardApiFp)(this.configuration).createDashboard(requestParameters.createDashboardV2RequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
990
- };
991
- /**
992
- * Creates a new dashboard from a preconfigured analysis id and dashboard id. Use POST /tenantservice/v1/dashboards instead. **Required Permissions** \"reporting.dashboards.create\"
993
- * @summary Creates a new dashboard (DEPRECATED)
994
- * @param {DashboardApiCreateDashboardLegacyRequest} requestParameters Request parameters.
995
- * @param {*} [options] Override http request option.
996
- * @deprecated
997
- * @throws {RequiredError}
998
- * @memberof DashboardApi
999
- */
1000
- DashboardApi.prototype.createDashboardLegacy = function (requestParameters, options) {
1001
- var _this = this;
1002
- return (0, exports.DashboardApiFp)(this.configuration).createDashboardLegacy(requestParameters.createDashboardRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
877
+ return (0, exports.DashboardApiFp)(this.configuration).createDashboard(requestParameters.createDashboardRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1003
878
  };
1004
879
  /**
1005
- * Permanently removes a dashboard and all associated data by dashboard code. **Required Permissions** \"reporting.dashboards.delete\"
1006
- * @summary Deletes an existing dashboard
880
+ * undefined **Required Permissions** \"reporting.dashboards.delete\"
1007
881
  * @param {DashboardApiDeleteDashboardRequest} requestParameters Request parameters.
1008
882
  * @param {*} [options] Override http request option.
1009
883
  * @throws {RequiredError}
@@ -1014,8 +888,7 @@ var DashboardApi = /** @class */ (function (_super) {
1014
888
  return (0, exports.DashboardApiFp)(this.configuration).deleteDashboard(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1015
889
  };
1016
890
  /**
1017
- * Creates a secure embedded URL that allows dashboard analysis and editing within external applications. **Required Permissions** \"reporting.dashboards.update\"
1018
- * @summary Generates an embedded URL for dashboard editing
891
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
1019
892
  * @param {DashboardApiGetAnalysisEmbeddedUrlRequest} requestParameters Request parameters.
1020
893
  * @param {*} [options] Override http request option.
1021
894
  * @throws {RequiredError}
@@ -1026,8 +899,7 @@ var DashboardApi = /** @class */ (function (_super) {
1026
899
  return (0, exports.DashboardApiFp)(this.configuration).getAnalysisEmbeddedUrl(requestParameters.providerDashboardId, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1027
900
  };
1028
901
  /**
1029
- * Fetches dashboard details by code including configuration and metadata. **Required Permissions** \"reporting.dashboards.view\"
1030
- * @summary Retrieves a specific dashboard
902
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
1031
903
  * @param {DashboardApiGetDashboardRequest} requestParameters Request parameters.
1032
904
  * @param {*} [options] Override http request option.
1033
905
  * @throws {RequiredError}
@@ -1038,8 +910,7 @@ var DashboardApi = /** @class */ (function (_super) {
1038
910
  return (0, exports.DashboardApiFp)(this.configuration).getDashboard(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1039
911
  };
1040
912
  /**
1041
- * Creates a secure embedded URL that allows dashboard content to be displayed within external applications. **Required Permissions** \"reporting.dashboards.view\"
1042
- * @summary Generates an embedded URL for dashboard viewing
913
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
1043
914
  * @param {DashboardApiGetDashboardEmbeddedUrlRequest} requestParameters Request parameters.
1044
915
  * @param {*} [options] Override http request option.
1045
916
  * @throws {RequiredError}
@@ -1050,8 +921,7 @@ var DashboardApi = /** @class */ (function (_super) {
1050
921
  return (0, exports.DashboardApiFp)(this.configuration).getDashboardEmbeddedUrl(requestParameters.providerDashboardId, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1051
922
  };
1052
923
  /**
1053
- * Fetches a paginated list of dashboards with optional filtering and sorting capabilities. **Required Permissions** \"reporting.dashboards.view\"
1054
- * @summary Retrieves a list of dashboards
924
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
1055
925
  * @param {DashboardApiListDashboardsRequest} requestParameters Request parameters.
1056
926
  * @param {*} [options] Override http request option.
1057
927
  * @throws {RequiredError}
@@ -1063,8 +933,7 @@ var DashboardApi = /** @class */ (function (_super) {
1063
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); });
1064
934
  };
1065
935
  /**
1066
- * Makes a dashboard publicly available by publishing it from draft or analysis state. **Required Permissions** \"reporting.dashboards.update\"
1067
- * @summary Publishes a dashboard for general access
936
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
1068
937
  * @param {DashboardApiPublishDashboardRequest} requestParameters Request parameters.
1069
938
  * @param {*} [options] Override http request option.
1070
939
  * @throws {RequiredError}
@@ -1075,8 +944,7 @@ var DashboardApi = /** @class */ (function (_super) {
1075
944
  return (0, exports.DashboardApiFp)(this.configuration).publishDashboard(requestParameters.publishDashboardRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1076
945
  };
1077
946
  /**
1078
- * Rolls back dashboard analysis changes to restore the previous version or state. **Required Permissions** \"reporting.dashboards.update\"
1079
- * @summary Reverts dashboard analysis to previous state
947
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
1080
948
  * @param {DashboardApiRevertAnalysisRequest} requestParameters Request parameters.
1081
949
  * @param {*} [options] Override http request option.
1082
950
  * @throws {RequiredError}
@@ -1087,8 +955,7 @@ var DashboardApi = /** @class */ (function (_super) {
1087
955
  return (0, exports.DashboardApiFp)(this.configuration).revertAnalysis(requestParameters.revertAnalysisRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1088
956
  };
1089
957
  /**
1090
- * Modifies dashboard properties, configuration, or metadata by dashboard code. **Required Permissions** \"reporting.dashboards.update\"
1091
- * @summary Updates an existing dashboard
958
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
1092
959
  * @param {DashboardApiUpdateDashboardRequest} requestParameters Request parameters.
1093
960
  * @param {*} [options] Override http request option.
1094
961
  * @throws {RequiredError}
@@ -59,7 +59,7 @@ export declare const InviteUsersApiAxiosParamCreator: (configuration?: Configura
59
59
  * @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.
60
60
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, email, token, organizationId, ern, partnerCode</i>
61
61
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
62
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: email, expiresOn</i>
62
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, email, expiresOn</i>
63
63
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: organizations<i>
64
64
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, email, token, organizationId, ern, partnerCode</i>
65
65
  * @param {*} [options] Override http request option.
@@ -107,7 +107,7 @@ export declare const InviteUsersApiFp: (configuration?: Configuration) => {
107
107
  * @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.
108
108
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, email, token, organizationId, ern, partnerCode</i>
109
109
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
110
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: email, expiresOn</i>
110
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, email, expiresOn</i>
111
111
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: organizations<i>
112
112
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, email, token, organizationId, ern, partnerCode</i>
113
113
  * @param {*} [options] Override http request option.
@@ -155,7 +155,7 @@ export declare const InviteUsersApiFactory: (configuration?: Configuration, base
155
155
  * @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.
156
156
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, email, token, organizationId, ern, partnerCode</i>
157
157
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
158
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: email, expiresOn</i>
158
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, email, expiresOn</i>
159
159
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: organizations<i>
160
160
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, email, token, organizationId, ern, partnerCode</i>
161
161
  * @param {*} [options] Override http request option.
@@ -257,7 +257,7 @@ export interface InviteUsersApiListInvitesRequest {
257
257
  */
258
258
  readonly search?: string;
259
259
  /**
260
- * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: email, expiresOn</i>
260
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, email, expiresOn</i>
261
261
  * @type {string}
262
262
  * @memberof InviteUsersApiListInvites
263
263
  */
@@ -247,7 +247,7 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
247
247
  * @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.
248
248
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, email, token, organizationId, ern, partnerCode</i>
249
249
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
250
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: email, expiresOn</i>
250
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, email, expiresOn</i>
251
251
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: organizations<i>
252
252
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, email, token, organizationId, ern, partnerCode</i>
253
253
  * @param {*} [options] Override http request option.
@@ -392,7 +392,7 @@ var InviteUsersApiFp = function (configuration) {
392
392
  * @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.
393
393
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, email, token, organizationId, ern, partnerCode</i>
394
394
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
395
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: email, expiresOn</i>
395
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, email, expiresOn</i>
396
396
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: organizations<i>
397
397
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, email, token, organizationId, ern, partnerCode</i>
398
398
  * @param {*} [options] Override http request option.
@@ -462,7 +462,7 @@ var InviteUsersApiFactory = function (configuration, basePath, axios) {
462
462
  * @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.
463
463
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, email, token, organizationId, ern, partnerCode</i>
464
464
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
465
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: email, expiresOn</i>
465
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, email, expiresOn</i>
466
466
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: organizations<i>
467
467
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, email, token, organizationId, ern, partnerCode</i>
468
468
  * @param {*} [options] Override http request option.