@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.
@@ -47,7 +47,7 @@ import { UpdateDashboardResponseClass } from '../models';
47
47
  export const DashboardApiAxiosParamCreator = function (configuration?: Configuration) {
48
48
  return {
49
49
  /**
50
- * undefined **Required Permissions** \"pbm-management.dashboards.create\"
50
+ * undefined **Required Permissions** \"reporting.dashboards.create\"
51
51
  * @param {CreateDashboardRequestDto} createDashboardRequestDto
52
52
  * @param {string} [authorization] Bearer Token
53
53
  * @param {*} [options] Override http request option.
@@ -93,7 +93,7 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
93
93
  };
94
94
  },
95
95
  /**
96
- * undefined **Required Permissions** \"pbm-management.dashboards.delete\"
96
+ * undefined **Required Permissions** \"reporting.dashboards.delete\"
97
97
  * @param {string} code
98
98
  * @param {string} [authorization] Bearer Token
99
99
  * @param {*} [options] Override http request option.
@@ -137,7 +137,51 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
137
137
  };
138
138
  },
139
139
  /**
140
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
140
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
141
+ * @param {string} providerDashboardId
142
+ * @param {string} [authorization] Bearer Token
143
+ * @param {*} [options] Override http request option.
144
+ * @throws {RequiredError}
145
+ */
146
+ getAnalysisEmbeddedUrl: async (providerDashboardId: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
147
+ // verify required parameter 'providerDashboardId' is not null or undefined
148
+ assertParamExists('getAnalysisEmbeddedUrl', 'providerDashboardId', providerDashboardId)
149
+ const localVarPath = `/tenantservice/v1/dashboards/{provider_dashboard_id}/editor-embedded-url`
150
+ .replace(`{${"provider_dashboard_id"}}`, encodeURIComponent(String(providerDashboardId)));
151
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
152
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
153
+ let baseOptions;
154
+ let baseAccessToken;
155
+ if (configuration) {
156
+ baseOptions = configuration.baseOptions;
157
+ baseAccessToken = configuration.accessToken;
158
+ }
159
+
160
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
161
+ const localVarHeaderParameter = {} as any;
162
+ const localVarQueryParameter = {} as any;
163
+
164
+ // authentication bearer required
165
+ // http bearer authentication required
166
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
167
+
168
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
169
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
170
+ }
171
+
172
+
173
+
174
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
175
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
176
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
177
+
178
+ return {
179
+ url: toPathString(localVarUrlObj),
180
+ options: localVarRequestOptions,
181
+ };
182
+ },
183
+ /**
184
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
141
185
  * @param {string} code
142
186
  * @param {string} [authorization] Bearer Token
143
187
  * @param {*} [options] Override http request option.
@@ -181,16 +225,16 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
181
225
  };
182
226
  },
183
227
  /**
184
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
228
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
185
229
  * @param {string} providerDashboardId
186
230
  * @param {string} [authorization] Bearer Token
187
231
  * @param {*} [options] Override http request option.
188
232
  * @throws {RequiredError}
189
233
  */
190
- getEmbeddedUrl: async (providerDashboardId: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
234
+ getDashboardEmbeddedUrl: async (providerDashboardId: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
191
235
  // verify required parameter 'providerDashboardId' is not null or undefined
192
- assertParamExists('getEmbeddedUrl', 'providerDashboardId', providerDashboardId)
193
- const localVarPath = `/tenantservice/v1/dashboards/{provider_dashboard_id}/embedded-url`
236
+ assertParamExists('getDashboardEmbeddedUrl', 'providerDashboardId', providerDashboardId)
237
+ const localVarPath = `/tenantservice/v1/dashboards/{provider_dashboard_id}/dashboard-embedded-url`
194
238
  .replace(`{${"provider_dashboard_id"}}`, encodeURIComponent(String(providerDashboardId)));
195
239
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
196
240
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -225,19 +269,19 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
225
269
  };
226
270
  },
227
271
  /**
228
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
272
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
229
273
  * @param {string} [authorization] Bearer Token
230
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
231
- * @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.
232
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
233
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
234
- * @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.
235
- * @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.
236
- * @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.
274
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
275
+ * @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.
276
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
277
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
278
+ * @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.
279
+ * @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.
280
+ * @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.
237
281
  * @param {*} [options] Override http request option.
238
282
  * @throws {RequiredError}
239
283
  */
240
- listDashboards: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
284
+ listDashboards: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
241
285
  const localVarPath = `/tenantservice/v1/dashboards`;
242
286
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
243
287
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -300,7 +344,7 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
300
344
  };
301
345
  },
302
346
  /**
303
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
347
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
304
348
  * @param {PublishDashboardRequestDto} publishDashboardRequestDto
305
349
  * @param {string} [authorization] Bearer Token
306
350
  * @param {*} [options] Override http request option.
@@ -346,7 +390,7 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
346
390
  };
347
391
  },
348
392
  /**
349
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
393
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
350
394
  * @param {RevertAnalysisRequestDto} revertAnalysisRequestDto
351
395
  * @param {string} [authorization] Bearer Token
352
396
  * @param {*} [options] Override http request option.
@@ -392,7 +436,7 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
392
436
  };
393
437
  },
394
438
  /**
395
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
439
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
396
440
  * @param {string} code
397
441
  * @param {UpdateDashboardRequestDto} updateDashboardRequestDto
398
442
  * @param {string} [authorization] Bearer Token
@@ -452,7 +496,7 @@ export const DashboardApiFp = function(configuration?: Configuration) {
452
496
  const localVarAxiosParamCreator = DashboardApiAxiosParamCreator(configuration)
453
497
  return {
454
498
  /**
455
- * undefined **Required Permissions** \"pbm-management.dashboards.create\"
499
+ * undefined **Required Permissions** \"reporting.dashboards.create\"
456
500
  * @param {CreateDashboardRequestDto} createDashboardRequestDto
457
501
  * @param {string} [authorization] Bearer Token
458
502
  * @param {*} [options] Override http request option.
@@ -463,7 +507,7 @@ export const DashboardApiFp = function(configuration?: Configuration) {
463
507
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
464
508
  },
465
509
  /**
466
- * undefined **Required Permissions** \"pbm-management.dashboards.delete\"
510
+ * undefined **Required Permissions** \"reporting.dashboards.delete\"
467
511
  * @param {string} code
468
512
  * @param {string} [authorization] Bearer Token
469
513
  * @param {*} [options] Override http request option.
@@ -474,7 +518,18 @@ export const DashboardApiFp = function(configuration?: Configuration) {
474
518
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
475
519
  },
476
520
  /**
477
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
521
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
522
+ * @param {string} providerDashboardId
523
+ * @param {string} [authorization] Bearer Token
524
+ * @param {*} [options] Override http request option.
525
+ * @throws {RequiredError}
526
+ */
527
+ async getAnalysisEmbeddedUrl(providerDashboardId: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEmbeddedUrlResponseClass>> {
528
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getAnalysisEmbeddedUrl(providerDashboardId, authorization, options);
529
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
530
+ },
531
+ /**
532
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
478
533
  * @param {string} code
479
534
  * @param {string} [authorization] Bearer Token
480
535
  * @param {*} [options] Override http request option.
@@ -485,35 +540,35 @@ export const DashboardApiFp = function(configuration?: Configuration) {
485
540
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
486
541
  },
487
542
  /**
488
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
543
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
489
544
  * @param {string} providerDashboardId
490
545
  * @param {string} [authorization] Bearer Token
491
546
  * @param {*} [options] Override http request option.
492
547
  * @throws {RequiredError}
493
548
  */
494
- async getEmbeddedUrl(providerDashboardId: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEmbeddedUrlResponseClass>> {
495
- const localVarAxiosArgs = await localVarAxiosParamCreator.getEmbeddedUrl(providerDashboardId, authorization, options);
549
+ async getDashboardEmbeddedUrl(providerDashboardId: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEmbeddedUrlResponseClass>> {
550
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDashboardEmbeddedUrl(providerDashboardId, authorization, options);
496
551
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
497
552
  },
498
553
  /**
499
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
554
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
500
555
  * @param {string} [authorization] Bearer Token
501
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
502
- * @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.
503
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
504
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
505
- * @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.
506
- * @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.
507
- * @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.
556
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
557
+ * @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.
558
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
559
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
560
+ * @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.
561
+ * @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.
562
+ * @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.
508
563
  * @param {*} [options] Override http request option.
509
564
  * @throws {RequiredError}
510
565
  */
511
- 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>> {
566
+ 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>> {
512
567
  const localVarAxiosArgs = await localVarAxiosParamCreator.listDashboards(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
513
568
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
514
569
  },
515
570
  /**
516
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
571
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
517
572
  * @param {PublishDashboardRequestDto} publishDashboardRequestDto
518
573
  * @param {string} [authorization] Bearer Token
519
574
  * @param {*} [options] Override http request option.
@@ -524,7 +579,7 @@ export const DashboardApiFp = function(configuration?: Configuration) {
524
579
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
525
580
  },
526
581
  /**
527
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
582
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
528
583
  * @param {RevertAnalysisRequestDto} revertAnalysisRequestDto
529
584
  * @param {string} [authorization] Bearer Token
530
585
  * @param {*} [options] Override http request option.
@@ -535,7 +590,7 @@ export const DashboardApiFp = function(configuration?: Configuration) {
535
590
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
536
591
  },
537
592
  /**
538
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
593
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
539
594
  * @param {string} code
540
595
  * @param {UpdateDashboardRequestDto} updateDashboardRequestDto
541
596
  * @param {string} [authorization] Bearer Token
@@ -557,7 +612,7 @@ export const DashboardApiFactory = function (configuration?: Configuration, base
557
612
  const localVarFp = DashboardApiFp(configuration)
558
613
  return {
559
614
  /**
560
- * undefined **Required Permissions** \"pbm-management.dashboards.create\"
615
+ * undefined **Required Permissions** \"reporting.dashboards.create\"
561
616
  * @param {CreateDashboardRequestDto} createDashboardRequestDto
562
617
  * @param {string} [authorization] Bearer Token
563
618
  * @param {*} [options] Override http request option.
@@ -567,7 +622,7 @@ export const DashboardApiFactory = function (configuration?: Configuration, base
567
622
  return localVarFp.createDashboard(createDashboardRequestDto, authorization, options).then((request) => request(axios, basePath));
568
623
  },
569
624
  /**
570
- * undefined **Required Permissions** \"pbm-management.dashboards.delete\"
625
+ * undefined **Required Permissions** \"reporting.dashboards.delete\"
571
626
  * @param {string} code
572
627
  * @param {string} [authorization] Bearer Token
573
628
  * @param {*} [options] Override http request option.
@@ -577,7 +632,17 @@ export const DashboardApiFactory = function (configuration?: Configuration, base
577
632
  return localVarFp.deleteDashboard(code, authorization, options).then((request) => request(axios, basePath));
578
633
  },
579
634
  /**
580
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
635
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
636
+ * @param {string} providerDashboardId
637
+ * @param {string} [authorization] Bearer Token
638
+ * @param {*} [options] Override http request option.
639
+ * @throws {RequiredError}
640
+ */
641
+ getAnalysisEmbeddedUrl(providerDashboardId: string, authorization?: string, options?: any): AxiosPromise<GetEmbeddedUrlResponseClass> {
642
+ return localVarFp.getAnalysisEmbeddedUrl(providerDashboardId, authorization, options).then((request) => request(axios, basePath));
643
+ },
644
+ /**
645
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
581
646
  * @param {string} code
582
647
  * @param {string} [authorization] Bearer Token
583
648
  * @param {*} [options] Override http request option.
@@ -587,33 +652,33 @@ export const DashboardApiFactory = function (configuration?: Configuration, base
587
652
  return localVarFp.getDashboard(code, authorization, options).then((request) => request(axios, basePath));
588
653
  },
589
654
  /**
590
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
655
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
591
656
  * @param {string} providerDashboardId
592
657
  * @param {string} [authorization] Bearer Token
593
658
  * @param {*} [options] Override http request option.
594
659
  * @throws {RequiredError}
595
660
  */
596
- getEmbeddedUrl(providerDashboardId: string, authorization?: string, options?: any): AxiosPromise<GetEmbeddedUrlResponseClass> {
597
- return localVarFp.getEmbeddedUrl(providerDashboardId, authorization, options).then((request) => request(axios, basePath));
661
+ getDashboardEmbeddedUrl(providerDashboardId: string, authorization?: string, options?: any): AxiosPromise<GetEmbeddedUrlResponseClass> {
662
+ return localVarFp.getDashboardEmbeddedUrl(providerDashboardId, authorization, options).then((request) => request(axios, basePath));
598
663
  },
599
664
  /**
600
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
665
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
601
666
  * @param {string} [authorization] Bearer Token
602
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
603
- * @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.
604
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
605
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
606
- * @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.
607
- * @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.
608
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
667
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
668
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
669
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
670
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
671
+ * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
672
+ * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
673
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
609
674
  * @param {*} [options] Override http request option.
610
675
  * @throws {RequiredError}
611
676
  */
612
- listDashboards(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListDashboardsResponseClass> {
677
+ listDashboards(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListDashboardsResponseClass> {
613
678
  return localVarFp.listDashboards(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
614
679
  },
615
680
  /**
616
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
681
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
617
682
  * @param {PublishDashboardRequestDto} publishDashboardRequestDto
618
683
  * @param {string} [authorization] Bearer Token
619
684
  * @param {*} [options] Override http request option.
@@ -623,7 +688,7 @@ export const DashboardApiFactory = function (configuration?: Configuration, base
623
688
  return localVarFp.publishDashboard(publishDashboardRequestDto, authorization, options).then((request) => request(axios, basePath));
624
689
  },
625
690
  /**
626
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
691
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
627
692
  * @param {RevertAnalysisRequestDto} revertAnalysisRequestDto
628
693
  * @param {string} [authorization] Bearer Token
629
694
  * @param {*} [options] Override http request option.
@@ -633,7 +698,7 @@ export const DashboardApiFactory = function (configuration?: Configuration, base
633
698
  return localVarFp.revertAnalysis(revertAnalysisRequestDto, authorization, options).then((request) => request(axios, basePath));
634
699
  },
635
700
  /**
636
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
701
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
637
702
  * @param {string} code
638
703
  * @param {UpdateDashboardRequestDto} updateDashboardRequestDto
639
704
  * @param {string} [authorization] Bearer Token
@@ -688,6 +753,27 @@ export interface DashboardApiDeleteDashboardRequest {
688
753
  readonly authorization?: string
689
754
  }
690
755
 
756
+ /**
757
+ * Request parameters for getAnalysisEmbeddedUrl operation in DashboardApi.
758
+ * @export
759
+ * @interface DashboardApiGetAnalysisEmbeddedUrlRequest
760
+ */
761
+ export interface DashboardApiGetAnalysisEmbeddedUrlRequest {
762
+ /**
763
+ *
764
+ * @type {string}
765
+ * @memberof DashboardApiGetAnalysisEmbeddedUrl
766
+ */
767
+ readonly providerDashboardId: string
768
+
769
+ /**
770
+ * Bearer Token
771
+ * @type {string}
772
+ * @memberof DashboardApiGetAnalysisEmbeddedUrl
773
+ */
774
+ readonly authorization?: string
775
+ }
776
+
691
777
  /**
692
778
  * Request parameters for getDashboard operation in DashboardApi.
693
779
  * @export
@@ -710,22 +796,22 @@ export interface DashboardApiGetDashboardRequest {
710
796
  }
711
797
 
712
798
  /**
713
- * Request parameters for getEmbeddedUrl operation in DashboardApi.
799
+ * Request parameters for getDashboardEmbeddedUrl operation in DashboardApi.
714
800
  * @export
715
- * @interface DashboardApiGetEmbeddedUrlRequest
801
+ * @interface DashboardApiGetDashboardEmbeddedUrlRequest
716
802
  */
717
- export interface DashboardApiGetEmbeddedUrlRequest {
803
+ export interface DashboardApiGetDashboardEmbeddedUrlRequest {
718
804
  /**
719
805
  *
720
806
  * @type {string}
721
- * @memberof DashboardApiGetEmbeddedUrl
807
+ * @memberof DashboardApiGetDashboardEmbeddedUrl
722
808
  */
723
809
  readonly providerDashboardId: string
724
810
 
725
811
  /**
726
812
  * Bearer Token
727
813
  * @type {string}
728
- * @memberof DashboardApiGetEmbeddedUrl
814
+ * @memberof DashboardApiGetDashboardEmbeddedUrl
729
815
  */
730
816
  readonly authorization?: string
731
817
  }
@@ -745,52 +831,52 @@ export interface DashboardApiListDashboardsRequest {
745
831
 
746
832
  /**
747
833
  * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
748
- * @type {any}
834
+ * @type {number}
749
835
  * @memberof DashboardApiListDashboards
750
836
  */
751
- readonly pageSize?: any
837
+ readonly pageSize?: number
752
838
 
753
839
  /**
754
- * 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.
755
- * @type {any}
840
+ * 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.
841
+ * @type {string}
756
842
  * @memberof DashboardApiListDashboards
757
843
  */
758
- readonly pageToken?: any
844
+ readonly pageToken?: string
759
845
 
760
846
  /**
761
847
  * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
762
- * @type {any}
848
+ * @type {string}
763
849
  * @memberof DashboardApiListDashboards
764
850
  */
765
- readonly filter?: any
851
+ readonly filter?: string
766
852
 
767
853
  /**
768
854
  * To search the list by any field, pass search&#x3D;xxx to fetch the result.
769
- * @type {any}
855
+ * @type {string}
770
856
  * @memberof DashboardApiListDashboards
771
857
  */
772
- readonly search?: any
858
+ readonly search?: string
773
859
 
774
860
  /**
775
861
  * 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.
776
- * @type {any}
862
+ * @type {string}
777
863
  * @memberof DashboardApiListDashboards
778
864
  */
779
- readonly order?: any
865
+ readonly order?: string
780
866
 
781
867
  /**
782
- * 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.
783
- * @type {any}
868
+ * 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.
869
+ * @type {string}
784
870
  * @memberof DashboardApiListDashboards
785
871
  */
786
- readonly expand?: any
872
+ readonly expand?: string
787
873
 
788
874
  /**
789
875
  * 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.
790
- * @type {any}
876
+ * @type {string}
791
877
  * @memberof DashboardApiListDashboards
792
878
  */
793
- readonly filters?: any
879
+ readonly filters?: string
794
880
  }
795
881
 
796
882
  /**
@@ -871,7 +957,7 @@ export interface DashboardApiUpdateDashboardRequest {
871
957
  */
872
958
  export class DashboardApi extends BaseAPI {
873
959
  /**
874
- * undefined **Required Permissions** \"pbm-management.dashboards.create\"
960
+ * undefined **Required Permissions** \"reporting.dashboards.create\"
875
961
  * @param {DashboardApiCreateDashboardRequest} requestParameters Request parameters.
876
962
  * @param {*} [options] Override http request option.
877
963
  * @throws {RequiredError}
@@ -882,7 +968,7 @@ export class DashboardApi extends BaseAPI {
882
968
  }
883
969
 
884
970
  /**
885
- * undefined **Required Permissions** \"pbm-management.dashboards.delete\"
971
+ * undefined **Required Permissions** \"reporting.dashboards.delete\"
886
972
  * @param {DashboardApiDeleteDashboardRequest} requestParameters Request parameters.
887
973
  * @param {*} [options] Override http request option.
888
974
  * @throws {RequiredError}
@@ -893,7 +979,18 @@ export class DashboardApi extends BaseAPI {
893
979
  }
894
980
 
895
981
  /**
896
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
982
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
983
+ * @param {DashboardApiGetAnalysisEmbeddedUrlRequest} requestParameters Request parameters.
984
+ * @param {*} [options] Override http request option.
985
+ * @throws {RequiredError}
986
+ * @memberof DashboardApi
987
+ */
988
+ public getAnalysisEmbeddedUrl(requestParameters: DashboardApiGetAnalysisEmbeddedUrlRequest, options?: AxiosRequestConfig) {
989
+ return DashboardApiFp(this.configuration).getAnalysisEmbeddedUrl(requestParameters.providerDashboardId, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
990
+ }
991
+
992
+ /**
993
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
897
994
  * @param {DashboardApiGetDashboardRequest} requestParameters Request parameters.
898
995
  * @param {*} [options] Override http request option.
899
996
  * @throws {RequiredError}
@@ -904,18 +1001,18 @@ export class DashboardApi extends BaseAPI {
904
1001
  }
905
1002
 
906
1003
  /**
907
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
908
- * @param {DashboardApiGetEmbeddedUrlRequest} requestParameters Request parameters.
1004
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
1005
+ * @param {DashboardApiGetDashboardEmbeddedUrlRequest} requestParameters Request parameters.
909
1006
  * @param {*} [options] Override http request option.
910
1007
  * @throws {RequiredError}
911
1008
  * @memberof DashboardApi
912
1009
  */
913
- public getEmbeddedUrl(requestParameters: DashboardApiGetEmbeddedUrlRequest, options?: AxiosRequestConfig) {
914
- return DashboardApiFp(this.configuration).getEmbeddedUrl(requestParameters.providerDashboardId, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1010
+ public getDashboardEmbeddedUrl(requestParameters: DashboardApiGetDashboardEmbeddedUrlRequest, options?: AxiosRequestConfig) {
1011
+ return DashboardApiFp(this.configuration).getDashboardEmbeddedUrl(requestParameters.providerDashboardId, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
915
1012
  }
916
1013
 
917
1014
  /**
918
- * undefined **Required Permissions** \"pbm-management.dashboards.view\"
1015
+ * undefined **Required Permissions** \"reporting.dashboards.view\"
919
1016
  * @param {DashboardApiListDashboardsRequest} requestParameters Request parameters.
920
1017
  * @param {*} [options] Override http request option.
921
1018
  * @throws {RequiredError}
@@ -926,7 +1023,7 @@ export class DashboardApi extends BaseAPI {
926
1023
  }
927
1024
 
928
1025
  /**
929
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
1026
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
930
1027
  * @param {DashboardApiPublishDashboardRequest} requestParameters Request parameters.
931
1028
  * @param {*} [options] Override http request option.
932
1029
  * @throws {RequiredError}
@@ -937,7 +1034,7 @@ export class DashboardApi extends BaseAPI {
937
1034
  }
938
1035
 
939
1036
  /**
940
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
1037
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
941
1038
  * @param {DashboardApiRevertAnalysisRequest} requestParameters Request parameters.
942
1039
  * @param {*} [options] Override http request option.
943
1040
  * @throws {RequiredError}
@@ -948,7 +1045,7 @@ export class DashboardApi extends BaseAPI {
948
1045
  }
949
1046
 
950
1047
  /**
951
- * undefined **Required Permissions** \"pbm-management.dashboards.update\"
1048
+ * undefined **Required Permissions** \"reporting.dashboards.update\"
952
1049
  * @param {DashboardApiUpdateDashboardRequest} requestParameters Request parameters.
953
1050
  * @param {*} [options] Override http request option.
954
1051
  * @throws {RequiredError}