@emilgroup/tenant-sdk 1.29.1-beta.0 → 1.29.1-beta.1
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.
- package/README.md +2 -2
- package/api/dashboard-api.ts +112 -15
- package/dist/api/dashboard-api.d.ts +61 -10
- package/dist/api/dashboard-api.js +98 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/tenant-sdk@1.29.1-beta.
|
|
20
|
+
npm install @emilgroup/tenant-sdk@1.29.1-beta.1 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/tenant-sdk@1.29.1-beta.
|
|
24
|
+
yarn add @emilgroup/tenant-sdk@1.29.1-beta.1
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `UsersApi`.
|
package/api/dashboard-api.ts
CHANGED
|
@@ -127,6 +127,50 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
|
|
|
127
127
|
|
|
128
128
|
|
|
129
129
|
|
|
130
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
131
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
132
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
133
|
+
|
|
134
|
+
return {
|
|
135
|
+
url: toPathString(localVarUrlObj),
|
|
136
|
+
options: localVarRequestOptions,
|
|
137
|
+
};
|
|
138
|
+
},
|
|
139
|
+
/**
|
|
140
|
+
* undefined **Required Permissions** \"pbm-management.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
|
+
|
|
130
174
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
131
175
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
132
176
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -187,10 +231,10 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
|
|
|
187
231
|
* @param {*} [options] Override http request option.
|
|
188
232
|
* @throws {RequiredError}
|
|
189
233
|
*/
|
|
190
|
-
|
|
234
|
+
getDashboardEmbeddedUrl: async (providerDashboardId: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
191
235
|
// verify required parameter 'providerDashboardId' is not null or undefined
|
|
192
|
-
assertParamExists('
|
|
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);
|
|
@@ -473,6 +517,17 @@ export const DashboardApiFp = function(configuration?: Configuration) {
|
|
|
473
517
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDashboard(code, authorization, options);
|
|
474
518
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
475
519
|
},
|
|
520
|
+
/**
|
|
521
|
+
* undefined **Required Permissions** \"pbm-management.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
|
+
},
|
|
476
531
|
/**
|
|
477
532
|
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
478
533
|
* @param {string} code
|
|
@@ -491,8 +546,8 @@ export const DashboardApiFp = function(configuration?: Configuration) {
|
|
|
491
546
|
* @param {*} [options] Override http request option.
|
|
492
547
|
* @throws {RequiredError}
|
|
493
548
|
*/
|
|
494
|
-
async
|
|
495
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
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
|
/**
|
|
@@ -576,6 +631,16 @@ export const DashboardApiFactory = function (configuration?: Configuration, base
|
|
|
576
631
|
deleteDashboard(code: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass> {
|
|
577
632
|
return localVarFp.deleteDashboard(code, authorization, options).then((request) => request(axios, basePath));
|
|
578
633
|
},
|
|
634
|
+
/**
|
|
635
|
+
* undefined **Required Permissions** \"pbm-management.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
|
+
},
|
|
579
644
|
/**
|
|
580
645
|
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
581
646
|
* @param {string} code
|
|
@@ -593,8 +658,8 @@ export const DashboardApiFactory = function (configuration?: Configuration, base
|
|
|
593
658
|
* @param {*} [options] Override http request option.
|
|
594
659
|
* @throws {RequiredError}
|
|
595
660
|
*/
|
|
596
|
-
|
|
597
|
-
return localVarFp.
|
|
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
665
|
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
@@ -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
|
|
799
|
+
* Request parameters for getDashboardEmbeddedUrl operation in DashboardApi.
|
|
714
800
|
* @export
|
|
715
|
-
* @interface
|
|
801
|
+
* @interface DashboardApiGetDashboardEmbeddedUrlRequest
|
|
716
802
|
*/
|
|
717
|
-
export interface
|
|
803
|
+
export interface DashboardApiGetDashboardEmbeddedUrlRequest {
|
|
718
804
|
/**
|
|
719
805
|
*
|
|
720
806
|
* @type {string}
|
|
721
|
-
* @memberof
|
|
807
|
+
* @memberof DashboardApiGetDashboardEmbeddedUrl
|
|
722
808
|
*/
|
|
723
809
|
readonly providerDashboardId: string
|
|
724
810
|
|
|
725
811
|
/**
|
|
726
812
|
* Bearer Token
|
|
727
813
|
* @type {string}
|
|
728
|
-
* @memberof
|
|
814
|
+
* @memberof DashboardApiGetDashboardEmbeddedUrl
|
|
729
815
|
*/
|
|
730
816
|
readonly authorization?: string
|
|
731
817
|
}
|
|
@@ -892,6 +978,17 @@ export class DashboardApi extends BaseAPI {
|
|
|
892
978
|
return DashboardApiFp(this.configuration).deleteDashboard(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
893
979
|
}
|
|
894
980
|
|
|
981
|
+
/**
|
|
982
|
+
* undefined **Required Permissions** \"pbm-management.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
|
+
|
|
895
992
|
/**
|
|
896
993
|
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
897
994
|
* @param {DashboardApiGetDashboardRequest} requestParameters Request parameters.
|
|
@@ -905,13 +1002,13 @@ export class DashboardApi extends BaseAPI {
|
|
|
905
1002
|
|
|
906
1003
|
/**
|
|
907
1004
|
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
908
|
-
* @param {
|
|
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
|
|
914
|
-
return DashboardApiFp(this.configuration).
|
|
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
|
/**
|
|
@@ -43,6 +43,14 @@ export declare const DashboardApiAxiosParamCreator: (configuration?: Configurati
|
|
|
43
43
|
* @throws {RequiredError}
|
|
44
44
|
*/
|
|
45
45
|
deleteDashboard: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
46
|
+
/**
|
|
47
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
48
|
+
* @param {string} providerDashboardId
|
|
49
|
+
* @param {string} [authorization] Bearer Token
|
|
50
|
+
* @param {*} [options] Override http request option.
|
|
51
|
+
* @throws {RequiredError}
|
|
52
|
+
*/
|
|
53
|
+
getAnalysisEmbeddedUrl: (providerDashboardId: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
46
54
|
/**
|
|
47
55
|
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
48
56
|
* @param {string} code
|
|
@@ -58,7 +66,7 @@ export declare const DashboardApiAxiosParamCreator: (configuration?: Configurati
|
|
|
58
66
|
* @param {*} [options] Override http request option.
|
|
59
67
|
* @throws {RequiredError}
|
|
60
68
|
*/
|
|
61
|
-
|
|
69
|
+
getDashboardEmbeddedUrl: (providerDashboardId: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
62
70
|
/**
|
|
63
71
|
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
64
72
|
* @param {string} [authorization] Bearer Token
|
|
@@ -120,6 +128,14 @@ export declare const DashboardApiFp: (configuration?: Configuration) => {
|
|
|
120
128
|
* @throws {RequiredError}
|
|
121
129
|
*/
|
|
122
130
|
deleteDashboard(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
|
|
131
|
+
/**
|
|
132
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
133
|
+
* @param {string} providerDashboardId
|
|
134
|
+
* @param {string} [authorization] Bearer Token
|
|
135
|
+
* @param {*} [options] Override http request option.
|
|
136
|
+
* @throws {RequiredError}
|
|
137
|
+
*/
|
|
138
|
+
getAnalysisEmbeddedUrl(providerDashboardId: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEmbeddedUrlResponseClass>>;
|
|
123
139
|
/**
|
|
124
140
|
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
125
141
|
* @param {string} code
|
|
@@ -135,7 +151,7 @@ export declare const DashboardApiFp: (configuration?: Configuration) => {
|
|
|
135
151
|
* @param {*} [options] Override http request option.
|
|
136
152
|
* @throws {RequiredError}
|
|
137
153
|
*/
|
|
138
|
-
|
|
154
|
+
getDashboardEmbeddedUrl(providerDashboardId: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEmbeddedUrlResponseClass>>;
|
|
139
155
|
/**
|
|
140
156
|
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
141
157
|
* @param {string} [authorization] Bearer Token
|
|
@@ -197,6 +213,14 @@ export declare const DashboardApiFactory: (configuration?: Configuration, basePa
|
|
|
197
213
|
* @throws {RequiredError}
|
|
198
214
|
*/
|
|
199
215
|
deleteDashboard(code: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
|
|
216
|
+
/**
|
|
217
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
218
|
+
* @param {string} providerDashboardId
|
|
219
|
+
* @param {string} [authorization] Bearer Token
|
|
220
|
+
* @param {*} [options] Override http request option.
|
|
221
|
+
* @throws {RequiredError}
|
|
222
|
+
*/
|
|
223
|
+
getAnalysisEmbeddedUrl(providerDashboardId: string, authorization?: string, options?: any): AxiosPromise<GetEmbeddedUrlResponseClass>;
|
|
200
224
|
/**
|
|
201
225
|
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
202
226
|
* @param {string} code
|
|
@@ -212,7 +236,7 @@ export declare const DashboardApiFactory: (configuration?: Configuration, basePa
|
|
|
212
236
|
* @param {*} [options] Override http request option.
|
|
213
237
|
* @throws {RequiredError}
|
|
214
238
|
*/
|
|
215
|
-
|
|
239
|
+
getDashboardEmbeddedUrl(providerDashboardId: string, authorization?: string, options?: any): AxiosPromise<GetEmbeddedUrlResponseClass>;
|
|
216
240
|
/**
|
|
217
241
|
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
218
242
|
* @param {string} [authorization] Bearer Token
|
|
@@ -291,6 +315,25 @@ export interface DashboardApiDeleteDashboardRequest {
|
|
|
291
315
|
*/
|
|
292
316
|
readonly authorization?: string;
|
|
293
317
|
}
|
|
318
|
+
/**
|
|
319
|
+
* Request parameters for getAnalysisEmbeddedUrl operation in DashboardApi.
|
|
320
|
+
* @export
|
|
321
|
+
* @interface DashboardApiGetAnalysisEmbeddedUrlRequest
|
|
322
|
+
*/
|
|
323
|
+
export interface DashboardApiGetAnalysisEmbeddedUrlRequest {
|
|
324
|
+
/**
|
|
325
|
+
*
|
|
326
|
+
* @type {string}
|
|
327
|
+
* @memberof DashboardApiGetAnalysisEmbeddedUrl
|
|
328
|
+
*/
|
|
329
|
+
readonly providerDashboardId: string;
|
|
330
|
+
/**
|
|
331
|
+
* Bearer Token
|
|
332
|
+
* @type {string}
|
|
333
|
+
* @memberof DashboardApiGetAnalysisEmbeddedUrl
|
|
334
|
+
*/
|
|
335
|
+
readonly authorization?: string;
|
|
336
|
+
}
|
|
294
337
|
/**
|
|
295
338
|
* Request parameters for getDashboard operation in DashboardApi.
|
|
296
339
|
* @export
|
|
@@ -311,21 +354,21 @@ export interface DashboardApiGetDashboardRequest {
|
|
|
311
354
|
readonly authorization?: string;
|
|
312
355
|
}
|
|
313
356
|
/**
|
|
314
|
-
* Request parameters for
|
|
357
|
+
* Request parameters for getDashboardEmbeddedUrl operation in DashboardApi.
|
|
315
358
|
* @export
|
|
316
|
-
* @interface
|
|
359
|
+
* @interface DashboardApiGetDashboardEmbeddedUrlRequest
|
|
317
360
|
*/
|
|
318
|
-
export interface
|
|
361
|
+
export interface DashboardApiGetDashboardEmbeddedUrlRequest {
|
|
319
362
|
/**
|
|
320
363
|
*
|
|
321
364
|
* @type {string}
|
|
322
|
-
* @memberof
|
|
365
|
+
* @memberof DashboardApiGetDashboardEmbeddedUrl
|
|
323
366
|
*/
|
|
324
367
|
readonly providerDashboardId: string;
|
|
325
368
|
/**
|
|
326
369
|
* Bearer Token
|
|
327
370
|
* @type {string}
|
|
328
|
-
* @memberof
|
|
371
|
+
* @memberof DashboardApiGetDashboardEmbeddedUrl
|
|
329
372
|
*/
|
|
330
373
|
readonly authorization?: string;
|
|
331
374
|
}
|
|
@@ -470,6 +513,14 @@ export declare class DashboardApi extends BaseAPI {
|
|
|
470
513
|
* @memberof DashboardApi
|
|
471
514
|
*/
|
|
472
515
|
deleteDashboard(requestParameters: DashboardApiDeleteDashboardRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
|
|
516
|
+
/**
|
|
517
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
518
|
+
* @param {DashboardApiGetAnalysisEmbeddedUrlRequest} requestParameters Request parameters.
|
|
519
|
+
* @param {*} [options] Override http request option.
|
|
520
|
+
* @throws {RequiredError}
|
|
521
|
+
* @memberof DashboardApi
|
|
522
|
+
*/
|
|
523
|
+
getAnalysisEmbeddedUrl(requestParameters: DashboardApiGetAnalysisEmbeddedUrlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEmbeddedUrlResponseClass, any>>;
|
|
473
524
|
/**
|
|
474
525
|
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
475
526
|
* @param {DashboardApiGetDashboardRequest} requestParameters Request parameters.
|
|
@@ -480,12 +531,12 @@ export declare class DashboardApi extends BaseAPI {
|
|
|
480
531
|
getDashboard(requestParameters: DashboardApiGetDashboardRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDashboardResponseClass, any>>;
|
|
481
532
|
/**
|
|
482
533
|
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
483
|
-
* @param {
|
|
534
|
+
* @param {DashboardApiGetDashboardEmbeddedUrlRequest} requestParameters Request parameters.
|
|
484
535
|
* @param {*} [options] Override http request option.
|
|
485
536
|
* @throws {RequiredError}
|
|
486
537
|
* @memberof DashboardApi
|
|
487
538
|
*/
|
|
488
|
-
|
|
539
|
+
getDashboardEmbeddedUrl(requestParameters: DashboardApiGetDashboardEmbeddedUrlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEmbeddedUrlResponseClass, any>>;
|
|
489
540
|
/**
|
|
490
541
|
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
491
542
|
* @param {DashboardApiListDashboardsRequest} requestParameters Request parameters.
|
|
@@ -187,6 +187,53 @@ var DashboardApiAxiosParamCreator = function (configuration) {
|
|
|
187
187
|
});
|
|
188
188
|
});
|
|
189
189
|
},
|
|
190
|
+
/**
|
|
191
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
192
|
+
* @param {string} providerDashboardId
|
|
193
|
+
* @param {string} [authorization] Bearer Token
|
|
194
|
+
* @param {*} [options] Override http request option.
|
|
195
|
+
* @throws {RequiredError}
|
|
196
|
+
*/
|
|
197
|
+
getAnalysisEmbeddedUrl: function (providerDashboardId, authorization, options) {
|
|
198
|
+
if (options === void 0) { options = {}; }
|
|
199
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
200
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
201
|
+
return __generator(this, function (_a) {
|
|
202
|
+
switch (_a.label) {
|
|
203
|
+
case 0:
|
|
204
|
+
// verify required parameter 'providerDashboardId' is not null or undefined
|
|
205
|
+
(0, common_1.assertParamExists)('getAnalysisEmbeddedUrl', 'providerDashboardId', providerDashboardId);
|
|
206
|
+
localVarPath = "/tenantservice/v1/dashboards/{provider_dashboard_id}/editor-embedded-url"
|
|
207
|
+
.replace("{".concat("provider_dashboard_id", "}"), encodeURIComponent(String(providerDashboardId)));
|
|
208
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
209
|
+
if (configuration) {
|
|
210
|
+
baseOptions = configuration.baseOptions;
|
|
211
|
+
baseAccessToken = configuration.accessToken;
|
|
212
|
+
}
|
|
213
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
214
|
+
localVarHeaderParameter = {};
|
|
215
|
+
localVarQueryParameter = {};
|
|
216
|
+
// authentication bearer required
|
|
217
|
+
// http bearer authentication required
|
|
218
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
219
|
+
case 1:
|
|
220
|
+
// authentication bearer required
|
|
221
|
+
// http bearer authentication required
|
|
222
|
+
_a.sent();
|
|
223
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
224
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
225
|
+
}
|
|
226
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
227
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
228
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
229
|
+
return [2 /*return*/, {
|
|
230
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
231
|
+
options: localVarRequestOptions,
|
|
232
|
+
}];
|
|
233
|
+
}
|
|
234
|
+
});
|
|
235
|
+
});
|
|
236
|
+
},
|
|
190
237
|
/**
|
|
191
238
|
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
192
239
|
* @param {string} code
|
|
@@ -241,7 +288,7 @@ var DashboardApiAxiosParamCreator = function (configuration) {
|
|
|
241
288
|
* @param {*} [options] Override http request option.
|
|
242
289
|
* @throws {RequiredError}
|
|
243
290
|
*/
|
|
244
|
-
|
|
291
|
+
getDashboardEmbeddedUrl: function (providerDashboardId, authorization, options) {
|
|
245
292
|
if (options === void 0) { options = {}; }
|
|
246
293
|
return __awaiter(_this, void 0, void 0, function () {
|
|
247
294
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -249,8 +296,8 @@ var DashboardApiAxiosParamCreator = function (configuration) {
|
|
|
249
296
|
switch (_a.label) {
|
|
250
297
|
case 0:
|
|
251
298
|
// verify required parameter 'providerDashboardId' is not null or undefined
|
|
252
|
-
(0, common_1.assertParamExists)('
|
|
253
|
-
localVarPath = "/tenantservice/v1/dashboards/{provider_dashboard_id}/embedded-url"
|
|
299
|
+
(0, common_1.assertParamExists)('getDashboardEmbeddedUrl', 'providerDashboardId', providerDashboardId);
|
|
300
|
+
localVarPath = "/tenantservice/v1/dashboards/{provider_dashboard_id}/dashboard-embedded-url"
|
|
254
301
|
.replace("{".concat("provider_dashboard_id", "}"), encodeURIComponent(String(providerDashboardId)));
|
|
255
302
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
256
303
|
if (configuration) {
|
|
@@ -550,6 +597,26 @@ var DashboardApiFp = function (configuration) {
|
|
|
550
597
|
});
|
|
551
598
|
});
|
|
552
599
|
},
|
|
600
|
+
/**
|
|
601
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
602
|
+
* @param {string} providerDashboardId
|
|
603
|
+
* @param {string} [authorization] Bearer Token
|
|
604
|
+
* @param {*} [options] Override http request option.
|
|
605
|
+
* @throws {RequiredError}
|
|
606
|
+
*/
|
|
607
|
+
getAnalysisEmbeddedUrl: function (providerDashboardId, authorization, options) {
|
|
608
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
609
|
+
var localVarAxiosArgs;
|
|
610
|
+
return __generator(this, function (_a) {
|
|
611
|
+
switch (_a.label) {
|
|
612
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getAnalysisEmbeddedUrl(providerDashboardId, authorization, options)];
|
|
613
|
+
case 1:
|
|
614
|
+
localVarAxiosArgs = _a.sent();
|
|
615
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
616
|
+
}
|
|
617
|
+
});
|
|
618
|
+
});
|
|
619
|
+
},
|
|
553
620
|
/**
|
|
554
621
|
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
555
622
|
* @param {string} code
|
|
@@ -577,12 +644,12 @@ var DashboardApiFp = function (configuration) {
|
|
|
577
644
|
* @param {*} [options] Override http request option.
|
|
578
645
|
* @throws {RequiredError}
|
|
579
646
|
*/
|
|
580
|
-
|
|
647
|
+
getDashboardEmbeddedUrl: function (providerDashboardId, authorization, options) {
|
|
581
648
|
return __awaiter(this, void 0, void 0, function () {
|
|
582
649
|
var localVarAxiosArgs;
|
|
583
650
|
return __generator(this, function (_a) {
|
|
584
651
|
switch (_a.label) {
|
|
585
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
652
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getDashboardEmbeddedUrl(providerDashboardId, authorization, options)];
|
|
586
653
|
case 1:
|
|
587
654
|
localVarAxiosArgs = _a.sent();
|
|
588
655
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -707,6 +774,16 @@ var DashboardApiFactory = function (configuration, basePath, axios) {
|
|
|
707
774
|
deleteDashboard: function (code, authorization, options) {
|
|
708
775
|
return localVarFp.deleteDashboard(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
709
776
|
},
|
|
777
|
+
/**
|
|
778
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
779
|
+
* @param {string} providerDashboardId
|
|
780
|
+
* @param {string} [authorization] Bearer Token
|
|
781
|
+
* @param {*} [options] Override http request option.
|
|
782
|
+
* @throws {RequiredError}
|
|
783
|
+
*/
|
|
784
|
+
getAnalysisEmbeddedUrl: function (providerDashboardId, authorization, options) {
|
|
785
|
+
return localVarFp.getAnalysisEmbeddedUrl(providerDashboardId, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
786
|
+
},
|
|
710
787
|
/**
|
|
711
788
|
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
712
789
|
* @param {string} code
|
|
@@ -724,8 +801,8 @@ var DashboardApiFactory = function (configuration, basePath, axios) {
|
|
|
724
801
|
* @param {*} [options] Override http request option.
|
|
725
802
|
* @throws {RequiredError}
|
|
726
803
|
*/
|
|
727
|
-
|
|
728
|
-
return localVarFp.
|
|
804
|
+
getDashboardEmbeddedUrl: function (providerDashboardId, authorization, options) {
|
|
805
|
+
return localVarFp.getDashboardEmbeddedUrl(providerDashboardId, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
729
806
|
},
|
|
730
807
|
/**
|
|
731
808
|
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
@@ -810,6 +887,17 @@ var DashboardApi = /** @class */ (function (_super) {
|
|
|
810
887
|
var _this = this;
|
|
811
888
|
return (0, exports.DashboardApiFp)(this.configuration).deleteDashboard(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
812
889
|
};
|
|
890
|
+
/**
|
|
891
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
892
|
+
* @param {DashboardApiGetAnalysisEmbeddedUrlRequest} requestParameters Request parameters.
|
|
893
|
+
* @param {*} [options] Override http request option.
|
|
894
|
+
* @throws {RequiredError}
|
|
895
|
+
* @memberof DashboardApi
|
|
896
|
+
*/
|
|
897
|
+
DashboardApi.prototype.getAnalysisEmbeddedUrl = function (requestParameters, options) {
|
|
898
|
+
var _this = this;
|
|
899
|
+
return (0, exports.DashboardApiFp)(this.configuration).getAnalysisEmbeddedUrl(requestParameters.providerDashboardId, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
900
|
+
};
|
|
813
901
|
/**
|
|
814
902
|
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
815
903
|
* @param {DashboardApiGetDashboardRequest} requestParameters Request parameters.
|
|
@@ -823,14 +911,14 @@ var DashboardApi = /** @class */ (function (_super) {
|
|
|
823
911
|
};
|
|
824
912
|
/**
|
|
825
913
|
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
826
|
-
* @param {
|
|
914
|
+
* @param {DashboardApiGetDashboardEmbeddedUrlRequest} requestParameters Request parameters.
|
|
827
915
|
* @param {*} [options] Override http request option.
|
|
828
916
|
* @throws {RequiredError}
|
|
829
917
|
* @memberof DashboardApi
|
|
830
918
|
*/
|
|
831
|
-
DashboardApi.prototype.
|
|
919
|
+
DashboardApi.prototype.getDashboardEmbeddedUrl = function (requestParameters, options) {
|
|
832
920
|
var _this = this;
|
|
833
|
-
return (0, exports.DashboardApiFp)(this.configuration).
|
|
921
|
+
return (0, exports.DashboardApiFp)(this.configuration).getDashboardEmbeddedUrl(requestParameters.providerDashboardId, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
834
922
|
};
|
|
835
923
|
/**
|
|
836
924
|
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|