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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -51,7 +51,7 @@ const FormData = require('form-data');
51
51
  export const DashboardApiAxiosParamCreator = function (configuration?: Configuration) {
52
52
  return {
53
53
  /**
54
- * undefined **Required Permissions** \"pbm-management.dashboards.create\"
54
+ * undefined **Required Permissions** \"reporting.dashboards.create\"
55
55
  * @param {CreateDashboardRequestDto} createDashboardRequestDto
56
56
  * @param {string} [authorization] Bearer Token
57
57
  * @param {*} [options] Override http request option.
@@ -97,7 +97,7 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
97
97
  };
98
98
  },
99
99
  /**
100
- * undefined **Required Permissions** \"pbm-management.dashboards.delete\"
100
+ * undefined **Required Permissions** \"reporting.dashboards.delete\"
101
101
  * @param {string} code
102
102
  * @param {string} [authorization] Bearer Token
103
103
  * @param {*} [options] Override http request option.
@@ -141,7 +141,51 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
141
141
  };
142
142
  },
143
143
  /**
144
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
144
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
145
+ * @param {string} providerDashboardId
146
+ * @param {string} [authorization] Bearer Token
147
+ * @param {*} [options] Override http request option.
148
+ * @throws {RequiredError}
149
+ */
150
+ getAnalysisEmbeddedUrl: async (providerDashboardId: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
151
+ // verify required parameter 'providerDashboardId' is not null or undefined
152
+ assertParamExists('getAnalysisEmbeddedUrl', 'providerDashboardId', providerDashboardId)
153
+ const localVarPath = `/tenantservice/v1/dashboards/{provider_dashboard_id}/editor-embedded-url`
154
+ .replace(`{${"provider_dashboard_id"}}`, encodeURIComponent(String(providerDashboardId)));
155
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
156
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
157
+ let baseOptions;
158
+ let baseAccessToken;
159
+ if (configuration) {
160
+ baseOptions = configuration.baseOptions;
161
+ baseAccessToken = configuration.accessToken;
162
+ }
163
+
164
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
165
+ const localVarHeaderParameter = {} as any;
166
+ const localVarQueryParameter = {} as any;
167
+
168
+ // authentication bearer required
169
+ // http bearer authentication required
170
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
171
+
172
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
173
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
174
+ }
175
+
176
+
177
+
178
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
179
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
180
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
181
+
182
+ return {
183
+ url: toPathString(localVarUrlObj),
184
+ options: localVarRequestOptions,
185
+ };
186
+ },
187
+ /**
188
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
145
189
  * @param {string} code
146
190
  * @param {string} [authorization] Bearer Token
147
191
  * @param {*} [options] Override http request option.
@@ -185,16 +229,16 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
185
229
  };
186
230
  },
187
231
  /**
188
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
232
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
189
233
  * @param {string} providerDashboardId
190
234
  * @param {string} [authorization] Bearer Token
191
235
  * @param {*} [options] Override http request option.
192
236
  * @throws {RequiredError}
193
237
  */
194
- getEmbeddedUrl: async (providerDashboardId: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
238
+ getDashboardEmbeddedUrl: async (providerDashboardId: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
195
239
  // verify required parameter 'providerDashboardId' is not null or undefined
196
- assertParamExists('getEmbeddedUrl', 'providerDashboardId', providerDashboardId)
197
- const localVarPath = `/tenantservice/v1/dashboards/{provider_dashboard_id}/embedded-url`
240
+ assertParamExists('getDashboardEmbeddedUrl', 'providerDashboardId', providerDashboardId)
241
+ const localVarPath = `/tenantservice/v1/dashboards/{provider_dashboard_id}/dashboard-embedded-url`
198
242
  .replace(`{${"provider_dashboard_id"}}`, encodeURIComponent(String(providerDashboardId)));
199
243
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
200
244
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -229,19 +273,19 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
229
273
  };
230
274
  },
231
275
  /**
232
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
276
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
233
277
  * @param {string} [authorization] Bearer Token
234
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
235
- * @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.
236
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
237
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
238
- * @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.
239
- * @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.
240
- * @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.
278
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
279
+ * @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.
280
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
281
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
282
+ * @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.
283
+ * @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.
284
+ * @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.
241
285
  * @param {*} [options] Override http request option.
242
286
  * @throws {RequiredError}
243
287
  */
244
- listDashboards: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
288
+ listDashboards: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
245
289
  const localVarPath = `/tenantservice/v1/dashboards`;
246
290
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
247
291
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -304,7 +348,7 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
304
348
  };
305
349
  },
306
350
  /**
307
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
351
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
308
352
  * @param {PublishDashboardRequestDto} publishDashboardRequestDto
309
353
  * @param {string} [authorization] Bearer Token
310
354
  * @param {*} [options] Override http request option.
@@ -350,7 +394,7 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
350
394
  };
351
395
  },
352
396
  /**
353
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
397
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
354
398
  * @param {RevertAnalysisRequestDto} revertAnalysisRequestDto
355
399
  * @param {string} [authorization] Bearer Token
356
400
  * @param {*} [options] Override http request option.
@@ -396,7 +440,7 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
396
440
  };
397
441
  },
398
442
  /**
399
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
443
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
400
444
  * @param {string} code
401
445
  * @param {UpdateDashboardRequestDto} updateDashboardRequestDto
402
446
  * @param {string} [authorization] Bearer Token
@@ -456,7 +500,7 @@ export const DashboardApiFp = function(configuration?: Configuration) {
456
500
  const localVarAxiosParamCreator = DashboardApiAxiosParamCreator(configuration)
457
501
  return {
458
502
  /**
459
- * undefined **Required Permissions** \"pbm-management.dashboards.create\"
503
+ * undefined **Required Permissions** \"reporting.dashboards.create\"
460
504
  * @param {CreateDashboardRequestDto} createDashboardRequestDto
461
505
  * @param {string} [authorization] Bearer Token
462
506
  * @param {*} [options] Override http request option.
@@ -467,7 +511,7 @@ export const DashboardApiFp = function(configuration?: Configuration) {
467
511
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
468
512
  },
469
513
  /**
470
- * undefined **Required Permissions** \"pbm-management.dashboards.delete\"
514
+ * undefined **Required Permissions** \"reporting.dashboards.delete\"
471
515
  * @param {string} code
472
516
  * @param {string} [authorization] Bearer Token
473
517
  * @param {*} [options] Override http request option.
@@ -478,7 +522,18 @@ export const DashboardApiFp = function(configuration?: Configuration) {
478
522
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
479
523
  },
480
524
  /**
481
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
525
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
526
+ * @param {string} providerDashboardId
527
+ * @param {string} [authorization] Bearer Token
528
+ * @param {*} [options] Override http request option.
529
+ * @throws {RequiredError}
530
+ */
531
+ async getAnalysisEmbeddedUrl(providerDashboardId: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEmbeddedUrlResponseClass>> {
532
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getAnalysisEmbeddedUrl(providerDashboardId, authorization, options);
533
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
534
+ },
535
+ /**
536
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
482
537
  * @param {string} code
483
538
  * @param {string} [authorization] Bearer Token
484
539
  * @param {*} [options] Override http request option.
@@ -489,35 +544,35 @@ export const DashboardApiFp = function(configuration?: Configuration) {
489
544
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
490
545
  },
491
546
  /**
492
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
547
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
493
548
  * @param {string} providerDashboardId
494
549
  * @param {string} [authorization] Bearer Token
495
550
  * @param {*} [options] Override http request option.
496
551
  * @throws {RequiredError}
497
552
  */
498
- async getEmbeddedUrl(providerDashboardId: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEmbeddedUrlResponseClass>> {
499
- const localVarAxiosArgs = await localVarAxiosParamCreator.getEmbeddedUrl(providerDashboardId, authorization, options);
553
+ async getDashboardEmbeddedUrl(providerDashboardId: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEmbeddedUrlResponseClass>> {
554
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDashboardEmbeddedUrl(providerDashboardId, authorization, options);
500
555
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
501
556
  },
502
557
  /**
503
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
558
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
504
559
  * @param {string} [authorization] Bearer Token
505
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
506
- * @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.
507
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
508
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
509
- * @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.
510
- * @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.
511
- * @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.
560
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
561
+ * @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.
562
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
563
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
564
+ * @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.
565
+ * @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.
566
+ * @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.
512
567
  * @param {*} [options] Override http request option.
513
568
  * @throws {RequiredError}
514
569
  */
515
- async listDashboards(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDashboardsResponseClass>> {
570
+ async listDashboards(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDashboardsResponseClass>> {
516
571
  const localVarAxiosArgs = await localVarAxiosParamCreator.listDashboards(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
517
572
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
518
573
  },
519
574
  /**
520
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
575
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
521
576
  * @param {PublishDashboardRequestDto} publishDashboardRequestDto
522
577
  * @param {string} [authorization] Bearer Token
523
578
  * @param {*} [options] Override http request option.
@@ -528,7 +583,7 @@ export const DashboardApiFp = function(configuration?: Configuration) {
528
583
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
529
584
  },
530
585
  /**
531
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
586
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
532
587
  * @param {RevertAnalysisRequestDto} revertAnalysisRequestDto
533
588
  * @param {string} [authorization] Bearer Token
534
589
  * @param {*} [options] Override http request option.
@@ -539,7 +594,7 @@ export const DashboardApiFp = function(configuration?: Configuration) {
539
594
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
540
595
  },
541
596
  /**
542
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
597
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
543
598
  * @param {string} code
544
599
  * @param {UpdateDashboardRequestDto} updateDashboardRequestDto
545
600
  * @param {string} [authorization] Bearer Token
@@ -561,7 +616,7 @@ export const DashboardApiFactory = function (configuration?: Configuration, base
561
616
  const localVarFp = DashboardApiFp(configuration)
562
617
  return {
563
618
  /**
564
- * undefined **Required Permissions** \"pbm-management.dashboards.create\"
619
+ * undefined **Required Permissions** \"reporting.dashboards.create\"
565
620
  * @param {CreateDashboardRequestDto} createDashboardRequestDto
566
621
  * @param {string} [authorization] Bearer Token
567
622
  * @param {*} [options] Override http request option.
@@ -571,7 +626,7 @@ export const DashboardApiFactory = function (configuration?: Configuration, base
571
626
  return localVarFp.createDashboard(createDashboardRequestDto, authorization, options).then((request) => request(axios, basePath));
572
627
  },
573
628
  /**
574
- * undefined **Required Permissions** \"pbm-management.dashboards.delete\"
629
+ * undefined **Required Permissions** \"reporting.dashboards.delete\"
575
630
  * @param {string} code
576
631
  * @param {string} [authorization] Bearer Token
577
632
  * @param {*} [options] Override http request option.
@@ -581,7 +636,17 @@ export const DashboardApiFactory = function (configuration?: Configuration, base
581
636
  return localVarFp.deleteDashboard(code, authorization, options).then((request) => request(axios, basePath));
582
637
  },
583
638
  /**
584
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
639
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
640
+ * @param {string} providerDashboardId
641
+ * @param {string} [authorization] Bearer Token
642
+ * @param {*} [options] Override http request option.
643
+ * @throws {RequiredError}
644
+ */
645
+ getAnalysisEmbeddedUrl(providerDashboardId: string, authorization?: string, options?: any): AxiosPromise<GetEmbeddedUrlResponseClass> {
646
+ return localVarFp.getAnalysisEmbeddedUrl(providerDashboardId, authorization, options).then((request) => request(axios, basePath));
647
+ },
648
+ /**
649
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
585
650
  * @param {string} code
586
651
  * @param {string} [authorization] Bearer Token
587
652
  * @param {*} [options] Override http request option.
@@ -591,33 +656,33 @@ export const DashboardApiFactory = function (configuration?: Configuration, base
591
656
  return localVarFp.getDashboard(code, authorization, options).then((request) => request(axios, basePath));
592
657
  },
593
658
  /**
594
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
659
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
595
660
  * @param {string} providerDashboardId
596
661
  * @param {string} [authorization] Bearer Token
597
662
  * @param {*} [options] Override http request option.
598
663
  * @throws {RequiredError}
599
664
  */
600
- getEmbeddedUrl(providerDashboardId: string, authorization?: string, options?: any): AxiosPromise<GetEmbeddedUrlResponseClass> {
601
- return localVarFp.getEmbeddedUrl(providerDashboardId, authorization, options).then((request) => request(axios, basePath));
665
+ getDashboardEmbeddedUrl(providerDashboardId: string, authorization?: string, options?: any): AxiosPromise<GetEmbeddedUrlResponseClass> {
666
+ return localVarFp.getDashboardEmbeddedUrl(providerDashboardId, authorization, options).then((request) => request(axios, basePath));
602
667
  },
603
668
  /**
604
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
669
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
605
670
  * @param {string} [authorization] Bearer Token
606
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
607
- * @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.
608
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
609
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
610
- * @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.
611
- * @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.
612
- * @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.
671
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
672
+ * @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.
673
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
674
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
675
+ * @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.
676
+ * @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.
677
+ * @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.
613
678
  * @param {*} [options] Override http request option.
614
679
  * @throws {RequiredError}
615
680
  */
616
- listDashboards(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListDashboardsResponseClass> {
681
+ listDashboards(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListDashboardsResponseClass> {
617
682
  return localVarFp.listDashboards(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
618
683
  },
619
684
  /**
620
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
685
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
621
686
  * @param {PublishDashboardRequestDto} publishDashboardRequestDto
622
687
  * @param {string} [authorization] Bearer Token
623
688
  * @param {*} [options] Override http request option.
@@ -627,7 +692,7 @@ export const DashboardApiFactory = function (configuration?: Configuration, base
627
692
  return localVarFp.publishDashboard(publishDashboardRequestDto, authorization, options).then((request) => request(axios, basePath));
628
693
  },
629
694
  /**
630
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
695
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
631
696
  * @param {RevertAnalysisRequestDto} revertAnalysisRequestDto
632
697
  * @param {string} [authorization] Bearer Token
633
698
  * @param {*} [options] Override http request option.
@@ -637,7 +702,7 @@ export const DashboardApiFactory = function (configuration?: Configuration, base
637
702
  return localVarFp.revertAnalysis(revertAnalysisRequestDto, authorization, options).then((request) => request(axios, basePath));
638
703
  },
639
704
  /**
640
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
705
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
641
706
  * @param {string} code
642
707
  * @param {UpdateDashboardRequestDto} updateDashboardRequestDto
643
708
  * @param {string} [authorization] Bearer Token
@@ -692,6 +757,27 @@ export interface DashboardApiDeleteDashboardRequest {
692
757
  readonly authorization?: string
693
758
  }
694
759
 
760
+ /**
761
+ * Request parameters for getAnalysisEmbeddedUrl operation in DashboardApi.
762
+ * @export
763
+ * @interface DashboardApiGetAnalysisEmbeddedUrlRequest
764
+ */
765
+ export interface DashboardApiGetAnalysisEmbeddedUrlRequest {
766
+ /**
767
+ *
768
+ * @type {string}
769
+ * @memberof DashboardApiGetAnalysisEmbeddedUrl
770
+ */
771
+ readonly providerDashboardId: string
772
+
773
+ /**
774
+ * Bearer Token
775
+ * @type {string}
776
+ * @memberof DashboardApiGetAnalysisEmbeddedUrl
777
+ */
778
+ readonly authorization?: string
779
+ }
780
+
695
781
  /**
696
782
  * Request parameters for getDashboard operation in DashboardApi.
697
783
  * @export
@@ -714,22 +800,22 @@ export interface DashboardApiGetDashboardRequest {
714
800
  }
715
801
 
716
802
  /**
717
- * Request parameters for getEmbeddedUrl operation in DashboardApi.
803
+ * Request parameters for getDashboardEmbeddedUrl operation in DashboardApi.
718
804
  * @export
719
- * @interface DashboardApiGetEmbeddedUrlRequest
805
+ * @interface DashboardApiGetDashboardEmbeddedUrlRequest
720
806
  */
721
- export interface DashboardApiGetEmbeddedUrlRequest {
807
+ export interface DashboardApiGetDashboardEmbeddedUrlRequest {
722
808
  /**
723
809
  *
724
810
  * @type {string}
725
- * @memberof DashboardApiGetEmbeddedUrl
811
+ * @memberof DashboardApiGetDashboardEmbeddedUrl
726
812
  */
727
813
  readonly providerDashboardId: string
728
814
 
729
815
  /**
730
816
  * Bearer Token
731
817
  * @type {string}
732
- * @memberof DashboardApiGetEmbeddedUrl
818
+ * @memberof DashboardApiGetDashboardEmbeddedUrl
733
819
  */
734
820
  readonly authorization?: string
735
821
  }
@@ -749,52 +835,52 @@ export interface DashboardApiListDashboardsRequest {
749
835
 
750
836
  /**
751
837
  * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
752
- * @type {any}
838
+ * @type {number}
753
839
  * @memberof DashboardApiListDashboards
754
840
  */
755
- readonly pageSize?: any
841
+ readonly pageSize?: number
756
842
 
757
843
  /**
758
- * 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.
759
- * @type {any}
844
+ * 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.
845
+ * @type {string}
760
846
  * @memberof DashboardApiListDashboards
761
847
  */
762
- readonly pageToken?: any
848
+ readonly pageToken?: string
763
849
 
764
850
  /**
765
851
  * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
766
- * @type {any}
852
+ * @type {string}
767
853
  * @memberof DashboardApiListDashboards
768
854
  */
769
- readonly filter?: any
855
+ readonly filter?: string
770
856
 
771
857
  /**
772
858
  * To search the list by any field, pass search&#x3D;xxx to fetch the result.
773
- * @type {any}
859
+ * @type {string}
774
860
  * @memberof DashboardApiListDashboards
775
861
  */
776
- readonly search?: any
862
+ readonly search?: string
777
863
 
778
864
  /**
779
865
  * 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.
780
- * @type {any}
866
+ * @type {string}
781
867
  * @memberof DashboardApiListDashboards
782
868
  */
783
- readonly order?: any
869
+ readonly order?: string
784
870
 
785
871
  /**
786
- * 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.
787
- * @type {any}
872
+ * 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.
873
+ * @type {string}
788
874
  * @memberof DashboardApiListDashboards
789
875
  */
790
- readonly expand?: any
876
+ readonly expand?: string
791
877
 
792
878
  /**
793
879
  * 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.
794
- * @type {any}
880
+ * @type {string}
795
881
  * @memberof DashboardApiListDashboards
796
882
  */
797
- readonly filters?: any
883
+ readonly filters?: string
798
884
  }
799
885
 
800
886
  /**
@@ -875,7 +961,7 @@ export interface DashboardApiUpdateDashboardRequest {
875
961
  */
876
962
  export class DashboardApi extends BaseAPI {
877
963
  /**
878
- * undefined **Required Permissions** \"pbm-management.dashboards.create\"
964
+ * undefined **Required Permissions** \"reporting.dashboards.create\"
879
965
  * @param {DashboardApiCreateDashboardRequest} requestParameters Request parameters.
880
966
  * @param {*} [options] Override http request option.
881
967
  * @throws {RequiredError}
@@ -886,7 +972,7 @@ export class DashboardApi extends BaseAPI {
886
972
  }
887
973
 
888
974
  /**
889
- * undefined **Required Permissions** \"pbm-management.dashboards.delete\"
975
+ * undefined **Required Permissions** \"reporting.dashboards.delete\"
890
976
  * @param {DashboardApiDeleteDashboardRequest} requestParameters Request parameters.
891
977
  * @param {*} [options] Override http request option.
892
978
  * @throws {RequiredError}
@@ -897,7 +983,18 @@ export class DashboardApi extends BaseAPI {
897
983
  }
898
984
 
899
985
  /**
900
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
986
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
987
+ * @param {DashboardApiGetAnalysisEmbeddedUrlRequest} requestParameters Request parameters.
988
+ * @param {*} [options] Override http request option.
989
+ * @throws {RequiredError}
990
+ * @memberof DashboardApi
991
+ */
992
+ public getAnalysisEmbeddedUrl(requestParameters: DashboardApiGetAnalysisEmbeddedUrlRequest, options?: AxiosRequestConfig) {
993
+ return DashboardApiFp(this.configuration).getAnalysisEmbeddedUrl(requestParameters.providerDashboardId, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
994
+ }
995
+
996
+ /**
997
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
901
998
  * @param {DashboardApiGetDashboardRequest} requestParameters Request parameters.
902
999
  * @param {*} [options] Override http request option.
903
1000
  * @throws {RequiredError}
@@ -908,18 +1005,18 @@ export class DashboardApi extends BaseAPI {
908
1005
  }
909
1006
 
910
1007
  /**
911
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
912
- * @param {DashboardApiGetEmbeddedUrlRequest} requestParameters Request parameters.
1008
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
1009
+ * @param {DashboardApiGetDashboardEmbeddedUrlRequest} requestParameters Request parameters.
913
1010
  * @param {*} [options] Override http request option.
914
1011
  * @throws {RequiredError}
915
1012
  * @memberof DashboardApi
916
1013
  */
917
- public getEmbeddedUrl(requestParameters: DashboardApiGetEmbeddedUrlRequest, options?: AxiosRequestConfig) {
918
- return DashboardApiFp(this.configuration).getEmbeddedUrl(requestParameters.providerDashboardId, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1014
+ public getDashboardEmbeddedUrl(requestParameters: DashboardApiGetDashboardEmbeddedUrlRequest, options?: AxiosRequestConfig) {
1015
+ return DashboardApiFp(this.configuration).getDashboardEmbeddedUrl(requestParameters.providerDashboardId, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
919
1016
  }
920
1017
 
921
1018
  /**
922
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
1019
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
923
1020
  * @param {DashboardApiListDashboardsRequest} requestParameters Request parameters.
924
1021
  * @param {*} [options] Override http request option.
925
1022
  * @throws {RequiredError}
@@ -930,7 +1027,7 @@ export class DashboardApi extends BaseAPI {
930
1027
  }
931
1028
 
932
1029
  /**
933
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
1030
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
934
1031
  * @param {DashboardApiPublishDashboardRequest} requestParameters Request parameters.
935
1032
  * @param {*} [options] Override http request option.
936
1033
  * @throws {RequiredError}
@@ -941,7 +1038,7 @@ export class DashboardApi extends BaseAPI {
941
1038
  }
942
1039
 
943
1040
  /**
944
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
1041
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
945
1042
  * @param {DashboardApiRevertAnalysisRequest} requestParameters Request parameters.
946
1043
  * @param {*} [options] Override http request option.
947
1044
  * @throws {RequiredError}
@@ -952,7 +1049,7 @@ export class DashboardApi extends BaseAPI {
952
1049
  }
953
1050
 
954
1051
  /**
955
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
1052
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
956
1053
  * @param {DashboardApiUpdateDashboardRequest} requestParameters Request parameters.
957
1054
  * @param {*} [options] Override http request option.
958
1055
  * @throws {RequiredError}