@emilgroup/tenant-sdk-node 1.28.1-beta.0 → 1.28.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-node@1.28.1-beta.
|
|
20
|
+
npm install @emilgroup/tenant-sdk-node@1.28.1-beta.1 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/tenant-sdk-node@1.28.1-beta.
|
|
24
|
+
yarn add @emilgroup/tenant-sdk-node@1.28.1-beta.1
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `UsersApi`.
|
package/api/dashboard-api.ts
CHANGED
|
@@ -131,6 +131,50 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
|
|
|
131
131
|
|
|
132
132
|
|
|
133
133
|
|
|
134
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
135
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
136
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
137
|
+
|
|
138
|
+
return {
|
|
139
|
+
url: toPathString(localVarUrlObj),
|
|
140
|
+
options: localVarRequestOptions,
|
|
141
|
+
};
|
|
142
|
+
},
|
|
143
|
+
/**
|
|
144
|
+
* undefined **Required Permissions** \"pbm-management.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
|
+
|
|
134
178
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
135
179
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
136
180
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -191,10 +235,10 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
|
|
|
191
235
|
* @param {*} [options] Override http request option.
|
|
192
236
|
* @throws {RequiredError}
|
|
193
237
|
*/
|
|
194
|
-
|
|
238
|
+
getDashboardEmbeddedUrl: async (providerDashboardId: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
195
239
|
// verify required parameter 'providerDashboardId' is not null or undefined
|
|
196
|
-
assertParamExists('
|
|
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);
|
|
@@ -477,6 +521,17 @@ export const DashboardApiFp = function(configuration?: Configuration) {
|
|
|
477
521
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDashboard(code, authorization, options);
|
|
478
522
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
479
523
|
},
|
|
524
|
+
/**
|
|
525
|
+
* undefined **Required Permissions** \"pbm-management.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
|
+
},
|
|
480
535
|
/**
|
|
481
536
|
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
482
537
|
* @param {string} code
|
|
@@ -495,8 +550,8 @@ export const DashboardApiFp = function(configuration?: Configuration) {
|
|
|
495
550
|
* @param {*} [options] Override http request option.
|
|
496
551
|
* @throws {RequiredError}
|
|
497
552
|
*/
|
|
498
|
-
async
|
|
499
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
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
|
/**
|
|
@@ -580,6 +635,16 @@ export const DashboardApiFactory = function (configuration?: Configuration, base
|
|
|
580
635
|
deleteDashboard(code: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass> {
|
|
581
636
|
return localVarFp.deleteDashboard(code, authorization, options).then((request) => request(axios, basePath));
|
|
582
637
|
},
|
|
638
|
+
/**
|
|
639
|
+
* undefined **Required Permissions** \"pbm-management.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
|
+
},
|
|
583
648
|
/**
|
|
584
649
|
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
585
650
|
* @param {string} code
|
|
@@ -597,8 +662,8 @@ export const DashboardApiFactory = function (configuration?: Configuration, base
|
|
|
597
662
|
* @param {*} [options] Override http request option.
|
|
598
663
|
* @throws {RequiredError}
|
|
599
664
|
*/
|
|
600
|
-
|
|
601
|
-
return localVarFp.
|
|
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
669
|
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
@@ -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
|
|
803
|
+
* Request parameters for getDashboardEmbeddedUrl operation in DashboardApi.
|
|
718
804
|
* @export
|
|
719
|
-
* @interface
|
|
805
|
+
* @interface DashboardApiGetDashboardEmbeddedUrlRequest
|
|
720
806
|
*/
|
|
721
|
-
export interface
|
|
807
|
+
export interface DashboardApiGetDashboardEmbeddedUrlRequest {
|
|
722
808
|
/**
|
|
723
809
|
*
|
|
724
810
|
* @type {string}
|
|
725
|
-
* @memberof
|
|
811
|
+
* @memberof DashboardApiGetDashboardEmbeddedUrl
|
|
726
812
|
*/
|
|
727
813
|
readonly providerDashboardId: string
|
|
728
814
|
|
|
729
815
|
/**
|
|
730
816
|
* Bearer Token
|
|
731
817
|
* @type {string}
|
|
732
|
-
* @memberof
|
|
818
|
+
* @memberof DashboardApiGetDashboardEmbeddedUrl
|
|
733
819
|
*/
|
|
734
820
|
readonly authorization?: string
|
|
735
821
|
}
|
|
@@ -896,6 +982,17 @@ export class DashboardApi extends BaseAPI {
|
|
|
896
982
|
return DashboardApiFp(this.configuration).deleteDashboard(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
897
983
|
}
|
|
898
984
|
|
|
985
|
+
/**
|
|
986
|
+
* undefined **Required Permissions** \"pbm-management.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
|
+
|
|
899
996
|
/**
|
|
900
997
|
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
901
998
|
* @param {DashboardApiGetDashboardRequest} requestParameters Request parameters.
|
|
@@ -909,13 +1006,13 @@ export class DashboardApi extends BaseAPI {
|
|
|
909
1006
|
|
|
910
1007
|
/**
|
|
911
1008
|
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
912
|
-
* @param {
|
|
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
|
|
918
|
-
return DashboardApiFp(this.configuration).
|
|
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
|
/**
|
|
@@ -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.
|
|
@@ -191,6 +191,53 @@ var DashboardApiAxiosParamCreator = function (configuration) {
|
|
|
191
191
|
});
|
|
192
192
|
});
|
|
193
193
|
},
|
|
194
|
+
/**
|
|
195
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
196
|
+
* @param {string} providerDashboardId
|
|
197
|
+
* @param {string} [authorization] Bearer Token
|
|
198
|
+
* @param {*} [options] Override http request option.
|
|
199
|
+
* @throws {RequiredError}
|
|
200
|
+
*/
|
|
201
|
+
getAnalysisEmbeddedUrl: function (providerDashboardId, authorization, options) {
|
|
202
|
+
if (options === void 0) { options = {}; }
|
|
203
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
204
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
205
|
+
return __generator(this, function (_a) {
|
|
206
|
+
switch (_a.label) {
|
|
207
|
+
case 0:
|
|
208
|
+
// verify required parameter 'providerDashboardId' is not null or undefined
|
|
209
|
+
(0, common_1.assertParamExists)('getAnalysisEmbeddedUrl', 'providerDashboardId', providerDashboardId);
|
|
210
|
+
localVarPath = "/tenantservice/v1/dashboards/{provider_dashboard_id}/editor-embedded-url"
|
|
211
|
+
.replace("{".concat("provider_dashboard_id", "}"), encodeURIComponent(String(providerDashboardId)));
|
|
212
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
213
|
+
if (configuration) {
|
|
214
|
+
baseOptions = configuration.baseOptions;
|
|
215
|
+
baseAccessToken = configuration.accessToken;
|
|
216
|
+
}
|
|
217
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
218
|
+
localVarHeaderParameter = {};
|
|
219
|
+
localVarQueryParameter = {};
|
|
220
|
+
// authentication bearer required
|
|
221
|
+
// http bearer authentication required
|
|
222
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
223
|
+
case 1:
|
|
224
|
+
// authentication bearer required
|
|
225
|
+
// http bearer authentication required
|
|
226
|
+
_a.sent();
|
|
227
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
228
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
229
|
+
}
|
|
230
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
231
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
232
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
233
|
+
return [2 /*return*/, {
|
|
234
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
235
|
+
options: localVarRequestOptions,
|
|
236
|
+
}];
|
|
237
|
+
}
|
|
238
|
+
});
|
|
239
|
+
});
|
|
240
|
+
},
|
|
194
241
|
/**
|
|
195
242
|
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
196
243
|
* @param {string} code
|
|
@@ -245,7 +292,7 @@ var DashboardApiAxiosParamCreator = function (configuration) {
|
|
|
245
292
|
* @param {*} [options] Override http request option.
|
|
246
293
|
* @throws {RequiredError}
|
|
247
294
|
*/
|
|
248
|
-
|
|
295
|
+
getDashboardEmbeddedUrl: function (providerDashboardId, authorization, options) {
|
|
249
296
|
if (options === void 0) { options = {}; }
|
|
250
297
|
return __awaiter(_this, void 0, void 0, function () {
|
|
251
298
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -253,8 +300,8 @@ var DashboardApiAxiosParamCreator = function (configuration) {
|
|
|
253
300
|
switch (_a.label) {
|
|
254
301
|
case 0:
|
|
255
302
|
// verify required parameter 'providerDashboardId' is not null or undefined
|
|
256
|
-
(0, common_1.assertParamExists)('
|
|
257
|
-
localVarPath = "/tenantservice/v1/dashboards/{provider_dashboard_id}/embedded-url"
|
|
303
|
+
(0, common_1.assertParamExists)('getDashboardEmbeddedUrl', 'providerDashboardId', providerDashboardId);
|
|
304
|
+
localVarPath = "/tenantservice/v1/dashboards/{provider_dashboard_id}/dashboard-embedded-url"
|
|
258
305
|
.replace("{".concat("provider_dashboard_id", "}"), encodeURIComponent(String(providerDashboardId)));
|
|
259
306
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
260
307
|
if (configuration) {
|
|
@@ -554,6 +601,26 @@ var DashboardApiFp = function (configuration) {
|
|
|
554
601
|
});
|
|
555
602
|
});
|
|
556
603
|
},
|
|
604
|
+
/**
|
|
605
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
606
|
+
* @param {string} providerDashboardId
|
|
607
|
+
* @param {string} [authorization] Bearer Token
|
|
608
|
+
* @param {*} [options] Override http request option.
|
|
609
|
+
* @throws {RequiredError}
|
|
610
|
+
*/
|
|
611
|
+
getAnalysisEmbeddedUrl: function (providerDashboardId, authorization, options) {
|
|
612
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
613
|
+
var localVarAxiosArgs;
|
|
614
|
+
return __generator(this, function (_a) {
|
|
615
|
+
switch (_a.label) {
|
|
616
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getAnalysisEmbeddedUrl(providerDashboardId, authorization, options)];
|
|
617
|
+
case 1:
|
|
618
|
+
localVarAxiosArgs = _a.sent();
|
|
619
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
620
|
+
}
|
|
621
|
+
});
|
|
622
|
+
});
|
|
623
|
+
},
|
|
557
624
|
/**
|
|
558
625
|
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
559
626
|
* @param {string} code
|
|
@@ -581,12 +648,12 @@ var DashboardApiFp = function (configuration) {
|
|
|
581
648
|
* @param {*} [options] Override http request option.
|
|
582
649
|
* @throws {RequiredError}
|
|
583
650
|
*/
|
|
584
|
-
|
|
651
|
+
getDashboardEmbeddedUrl: function (providerDashboardId, authorization, options) {
|
|
585
652
|
return __awaiter(this, void 0, void 0, function () {
|
|
586
653
|
var localVarAxiosArgs;
|
|
587
654
|
return __generator(this, function (_a) {
|
|
588
655
|
switch (_a.label) {
|
|
589
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
656
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getDashboardEmbeddedUrl(providerDashboardId, authorization, options)];
|
|
590
657
|
case 1:
|
|
591
658
|
localVarAxiosArgs = _a.sent();
|
|
592
659
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -711,6 +778,16 @@ var DashboardApiFactory = function (configuration, basePath, axios) {
|
|
|
711
778
|
deleteDashboard: function (code, authorization, options) {
|
|
712
779
|
return localVarFp.deleteDashboard(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
713
780
|
},
|
|
781
|
+
/**
|
|
782
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
783
|
+
* @param {string} providerDashboardId
|
|
784
|
+
* @param {string} [authorization] Bearer Token
|
|
785
|
+
* @param {*} [options] Override http request option.
|
|
786
|
+
* @throws {RequiredError}
|
|
787
|
+
*/
|
|
788
|
+
getAnalysisEmbeddedUrl: function (providerDashboardId, authorization, options) {
|
|
789
|
+
return localVarFp.getAnalysisEmbeddedUrl(providerDashboardId, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
790
|
+
},
|
|
714
791
|
/**
|
|
715
792
|
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
716
793
|
* @param {string} code
|
|
@@ -728,8 +805,8 @@ var DashboardApiFactory = function (configuration, basePath, axios) {
|
|
|
728
805
|
* @param {*} [options] Override http request option.
|
|
729
806
|
* @throws {RequiredError}
|
|
730
807
|
*/
|
|
731
|
-
|
|
732
|
-
return localVarFp.
|
|
808
|
+
getDashboardEmbeddedUrl: function (providerDashboardId, authorization, options) {
|
|
809
|
+
return localVarFp.getDashboardEmbeddedUrl(providerDashboardId, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
733
810
|
},
|
|
734
811
|
/**
|
|
735
812
|
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
@@ -814,6 +891,17 @@ var DashboardApi = /** @class */ (function (_super) {
|
|
|
814
891
|
var _this = this;
|
|
815
892
|
return (0, exports.DashboardApiFp)(this.configuration).deleteDashboard(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
816
893
|
};
|
|
894
|
+
/**
|
|
895
|
+
* undefined **Required Permissions** \"pbm-management.dashboards.update\"
|
|
896
|
+
* @param {DashboardApiGetAnalysisEmbeddedUrlRequest} requestParameters Request parameters.
|
|
897
|
+
* @param {*} [options] Override http request option.
|
|
898
|
+
* @throws {RequiredError}
|
|
899
|
+
* @memberof DashboardApi
|
|
900
|
+
*/
|
|
901
|
+
DashboardApi.prototype.getAnalysisEmbeddedUrl = function (requestParameters, options) {
|
|
902
|
+
var _this = this;
|
|
903
|
+
return (0, exports.DashboardApiFp)(this.configuration).getAnalysisEmbeddedUrl(requestParameters.providerDashboardId, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
904
|
+
};
|
|
817
905
|
/**
|
|
818
906
|
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
819
907
|
* @param {DashboardApiGetDashboardRequest} requestParameters Request parameters.
|
|
@@ -827,14 +915,14 @@ var DashboardApi = /** @class */ (function (_super) {
|
|
|
827
915
|
};
|
|
828
916
|
/**
|
|
829
917
|
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|
|
830
|
-
* @param {
|
|
918
|
+
* @param {DashboardApiGetDashboardEmbeddedUrlRequest} requestParameters Request parameters.
|
|
831
919
|
* @param {*} [options] Override http request option.
|
|
832
920
|
* @throws {RequiredError}
|
|
833
921
|
* @memberof DashboardApi
|
|
834
922
|
*/
|
|
835
|
-
DashboardApi.prototype.
|
|
923
|
+
DashboardApi.prototype.getDashboardEmbeddedUrl = function (requestParameters, options) {
|
|
836
924
|
var _this = this;
|
|
837
|
-
return (0, exports.DashboardApiFp)(this.configuration).
|
|
925
|
+
return (0, exports.DashboardApiFp)(this.configuration).getDashboardEmbeddedUrl(requestParameters.providerDashboardId, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
838
926
|
};
|
|
839
927
|
/**
|
|
840
928
|
* undefined **Required Permissions** \"pbm-management.dashboards.view\"
|