@emilgroup/tenant-sdk-node 1.34.1-beta.29 → 1.34.1-beta.31
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/.openapi-generator/FILES +31 -0
- package/README.md +2 -2
- package/api/dashboard-api.ts +126 -6
- package/api/report-schedule-api.ts +697 -0
- package/api/report-schedule-logs-api.ts +250 -0
- package/api/user-group-api.ts +1090 -0
- package/api.ts +6 -0
- package/base.ts +1 -0
- package/dist/api/dashboard-api.d.ts +69 -3
- package/dist/api/dashboard-api.js +105 -6
- package/dist/api/report-schedule-api.d.ts +394 -0
- package/dist/api/report-schedule-api.js +646 -0
- package/dist/api/report-schedule-logs-api.d.ts +150 -0
- package/dist/api/report-schedule-logs-api.js +264 -0
- package/dist/api/user-group-api.d.ts +603 -0
- package/dist/api/user-group-api.js +940 -0
- package/dist/api.d.ts +3 -0
- package/dist/api.js +3 -0
- package/dist/base.d.ts +2 -1
- package/dist/base.js +1 -0
- package/dist/models/add-users-to-group-request-dto.d.ts +24 -0
- package/dist/models/add-users-to-group-request-dto.js +15 -0
- package/dist/models/add-users-to-group-response-class.d.ts +25 -0
- package/dist/models/add-users-to-group-response-class.js +15 -0
- package/dist/models/create-report-schedule-request-dto.d.ts +115 -0
- package/dist/models/create-report-schedule-request-dto.js +15 -0
- package/dist/models/create-report-schedule-response-class.d.ts +25 -0
- package/dist/models/create-report-schedule-response-class.js +15 -0
- package/dist/models/create-user-group-request-dto.d.ts +36 -0
- package/dist/models/create-user-group-request-dto.js +15 -0
- package/dist/models/create-user-group-response-class.d.ts +25 -0
- package/dist/models/create-user-group-response-class.js +15 -0
- package/dist/models/dashboard-metadata-class.d.ts +43 -0
- package/dist/models/dashboard-metadata-class.js +15 -0
- package/dist/models/duplicate-dashboard-request-dto.d.ts +30 -0
- package/dist/models/duplicate-dashboard-request-dto.js +15 -0
- package/dist/models/get-dashboard-metadata-response-class.d.ts +25 -0
- package/dist/models/get-dashboard-metadata-response-class.js +15 -0
- package/dist/models/get-report-schedule-response-class.d.ts +25 -0
- package/dist/models/get-report-schedule-response-class.js +15 -0
- package/dist/models/get-user-group-response-class.d.ts +25 -0
- package/dist/models/get-user-group-response-class.js +15 -0
- package/dist/models/index.d.ts +28 -0
- package/dist/models/index.js +28 -0
- package/dist/models/list-report-schedule-logs-response-class.d.ts +43 -0
- package/dist/models/list-report-schedule-logs-response-class.js +15 -0
- package/dist/models/list-report-schedules-response-class.d.ts +43 -0
- package/dist/models/list-report-schedules-response-class.js +15 -0
- package/dist/models/list-user-group-members-response-class.d.ts +43 -0
- package/dist/models/list-user-group-members-response-class.js +15 -0
- package/dist/models/list-user-groups-response-class.d.ts +43 -0
- package/dist/models/list-user-groups-response-class.js +15 -0
- package/dist/models/quick-sight-analysis-parameter-class.d.ts +36 -0
- package/dist/models/quick-sight-analysis-parameter-class.js +15 -0
- package/dist/models/remove-users-from-group-request-dto.d.ts +24 -0
- package/dist/models/remove-users-from-group-request-dto.js +15 -0
- package/dist/models/report-schedule-class.d.ts +157 -0
- package/dist/models/report-schedule-class.js +15 -0
- package/dist/models/report-schedule-log-class.d.ts +133 -0
- package/dist/models/report-schedule-log-class.js +15 -0
- package/dist/models/report-schedule-parameter-class.d.ts +42 -0
- package/dist/models/report-schedule-parameter-class.js +15 -0
- package/dist/models/report-schedule-parameter-dto.d.ts +42 -0
- package/dist/models/report-schedule-parameter-dto.js +15 -0
- package/dist/models/report-schedule-parameter-value-class.d.ts +30 -0
- package/dist/models/report-schedule-parameter-value-class.js +15 -0
- package/dist/models/update-report-schedule-request-dto.d.ts +121 -0
- package/dist/models/update-report-schedule-request-dto.js +15 -0
- package/dist/models/update-report-schedule-response-class.d.ts +25 -0
- package/dist/models/update-report-schedule-response-class.js +15 -0
- package/dist/models/update-user-group-request-dto.d.ts +36 -0
- package/dist/models/update-user-group-request-dto.js +15 -0
- package/dist/models/update-user-group-response-class.d.ts +25 -0
- package/dist/models/update-user-group-response-class.js +15 -0
- package/dist/models/user-group-class.d.ts +72 -0
- package/dist/models/user-group-class.js +15 -0
- package/dist/models/user-group-member-class.d.ts +48 -0
- package/dist/models/user-group-member-class.js +15 -0
- package/models/add-users-to-group-request-dto.ts +30 -0
- package/models/add-users-to-group-response-class.ts +31 -0
- package/models/create-report-schedule-request-dto.ts +121 -0
- package/models/create-report-schedule-response-class.ts +31 -0
- package/models/create-user-group-request-dto.ts +42 -0
- package/models/create-user-group-response-class.ts +31 -0
- package/models/dashboard-metadata-class.ts +49 -0
- package/models/duplicate-dashboard-request-dto.ts +36 -0
- package/models/get-dashboard-metadata-response-class.ts +31 -0
- package/models/get-report-schedule-response-class.ts +31 -0
- package/models/get-user-group-response-class.ts +31 -0
- package/models/index.ts +28 -0
- package/models/list-report-schedule-logs-response-class.ts +49 -0
- package/models/list-report-schedules-response-class.ts +49 -0
- package/models/list-user-group-members-response-class.ts +49 -0
- package/models/list-user-groups-response-class.ts +49 -0
- package/models/quick-sight-analysis-parameter-class.ts +42 -0
- package/models/remove-users-from-group-request-dto.ts +30 -0
- package/models/report-schedule-class.ts +163 -0
- package/models/report-schedule-log-class.ts +139 -0
- package/models/report-schedule-parameter-class.ts +48 -0
- package/models/report-schedule-parameter-dto.ts +48 -0
- package/models/report-schedule-parameter-value-class.ts +36 -0
- package/models/update-report-schedule-request-dto.ts +127 -0
- package/models/update-report-schedule-response-class.ts +31 -0
- package/models/update-user-group-request-dto.ts +42 -0
- package/models/update-user-group-response-class.ts +31 -0
- package/models/user-group-class.ts +78 -0
- package/models/user-group-member-class.ts +54 -0
- package/package.json +2 -2
package/.openapi-generator/FILES
CHANGED
|
@@ -17,15 +17,20 @@ api/list-organization-invitations-api.ts
|
|
|
17
17
|
api/organization-migration-api.ts
|
|
18
18
|
api/organizations-api.ts
|
|
19
19
|
api/re-invite-an-organization-api.ts
|
|
20
|
+
api/report-schedule-api.ts
|
|
21
|
+
api/report-schedule-logs-api.ts
|
|
20
22
|
api/roles-api.ts
|
|
21
23
|
api/settings-api.ts
|
|
22
24
|
api/user-controller-rest-api.ts
|
|
25
|
+
api/user-group-api.ts
|
|
23
26
|
api/users-api.ts
|
|
24
27
|
base.ts
|
|
25
28
|
common.ts
|
|
26
29
|
configuration.ts
|
|
27
30
|
git_push.sh
|
|
28
31
|
index.ts
|
|
32
|
+
models/add-users-to-group-request-dto.ts
|
|
33
|
+
models/add-users-to-group-response-class.ts
|
|
29
34
|
models/assign-user-roles-request-dto.ts
|
|
30
35
|
models/assign-user-roles-response-class.ts
|
|
31
36
|
models/batch-delete-request-dto.ts
|
|
@@ -42,12 +47,17 @@ models/create-data-report-request-dto.ts
|
|
|
42
47
|
models/create-data-report-response-class.ts
|
|
43
48
|
models/create-organization-migration-request-dto.ts
|
|
44
49
|
models/create-organization-migration-response-class.ts
|
|
50
|
+
models/create-report-schedule-request-dto.ts
|
|
51
|
+
models/create-report-schedule-response-class.ts
|
|
45
52
|
models/create-resources-migration-request-dto.ts
|
|
46
53
|
models/create-tenant-request-dto.ts
|
|
54
|
+
models/create-user-group-request-dto.ts
|
|
55
|
+
models/create-user-group-response-class.ts
|
|
47
56
|
models/custom-field-dto.ts
|
|
48
57
|
models/custom-schema-class.ts
|
|
49
58
|
models/dashboard-class.ts
|
|
50
59
|
models/dashboard-group-class.ts
|
|
60
|
+
models/dashboard-metadata-class.ts
|
|
51
61
|
models/data-report-class.ts
|
|
52
62
|
models/data-report-filter-class.ts
|
|
53
63
|
models/data-report-filter-dto.ts
|
|
@@ -57,18 +67,22 @@ models/dbconfig-dto.ts
|
|
|
57
67
|
models/delete-response-class.ts
|
|
58
68
|
models/disable-users-request-dto.ts
|
|
59
69
|
models/disable-users-response-class.ts
|
|
70
|
+
models/duplicate-dashboard-request-dto.ts
|
|
60
71
|
models/duplicate-dashboard-response-class.ts
|
|
61
72
|
models/enable-users-request-dto.ts
|
|
62
73
|
models/enable-users-response-class.ts
|
|
63
74
|
models/format-tenant-settings-class.ts
|
|
64
75
|
models/get-custom-schema-response-class.ts
|
|
65
76
|
models/get-dashboard-group-response-class.ts
|
|
77
|
+
models/get-dashboard-metadata-response-class.ts
|
|
66
78
|
models/get-dashboard-response-class.ts
|
|
67
79
|
models/get-data-report-response-class.ts
|
|
68
80
|
models/get-embedded-url-response-class.ts
|
|
69
81
|
models/get-organization-migration-response-class.ts
|
|
70
82
|
models/get-organization-response-class.ts
|
|
83
|
+
models/get-report-schedule-response-class.ts
|
|
71
84
|
models/get-settings-response-class.ts
|
|
85
|
+
models/get-user-group-response-class.ts
|
|
72
86
|
models/get-user-response-class.ts
|
|
73
87
|
models/index.ts
|
|
74
88
|
models/initial-tenant-config-class.ts
|
|
@@ -90,7 +104,11 @@ models/list-invites-response-class.ts
|
|
|
90
104
|
models/list-org-invitations-response-class.ts
|
|
91
105
|
models/list-organization-migrations-response-class.ts
|
|
92
106
|
models/list-organizations-response-class.ts
|
|
107
|
+
models/list-report-schedule-logs-response-class.ts
|
|
108
|
+
models/list-report-schedules-response-class.ts
|
|
93
109
|
models/list-roles-response-class.ts
|
|
110
|
+
models/list-user-group-members-response-class.ts
|
|
111
|
+
models/list-user-groups-response-class.ts
|
|
94
112
|
models/list-users-response-class.ts
|
|
95
113
|
models/org-invitation-class.ts
|
|
96
114
|
models/org-invitation-response-class.ts
|
|
@@ -98,7 +116,14 @@ models/organization-class.ts
|
|
|
98
116
|
models/organization-migration-class.ts
|
|
99
117
|
models/permission-class.ts
|
|
100
118
|
models/publish-dashboard-request-dto.ts
|
|
119
|
+
models/quick-sight-analysis-parameter-class.ts
|
|
101
120
|
models/re-invite-org-request-dto.ts
|
|
121
|
+
models/remove-users-from-group-request-dto.ts
|
|
122
|
+
models/report-schedule-class.ts
|
|
123
|
+
models/report-schedule-log-class.ts
|
|
124
|
+
models/report-schedule-parameter-class.ts
|
|
125
|
+
models/report-schedule-parameter-dto.ts
|
|
126
|
+
models/report-schedule-parameter-value-class.ts
|
|
102
127
|
models/revert-analysis-request-dto.ts
|
|
103
128
|
models/revert-organization-migration-request-dto.ts
|
|
104
129
|
models/revert-organization-migration-response-class.ts
|
|
@@ -122,6 +147,12 @@ models/update-data-report-request-dto.ts
|
|
|
122
147
|
models/update-data-report-response-class.ts
|
|
123
148
|
models/update-organization-request-dto-rest.ts
|
|
124
149
|
models/update-organization-response-class.ts
|
|
150
|
+
models/update-report-schedule-request-dto.ts
|
|
151
|
+
models/update-report-schedule-response-class.ts
|
|
152
|
+
models/update-user-group-request-dto.ts
|
|
153
|
+
models/update-user-group-response-class.ts
|
|
125
154
|
models/user-class.ts
|
|
155
|
+
models/user-group-class.ts
|
|
156
|
+
models/user-group-member-class.ts
|
|
126
157
|
package.json
|
|
127
158
|
tsconfig.json
|
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.34.1-beta.
|
|
20
|
+
npm install @emilgroup/tenant-sdk-node@1.34.1-beta.31 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/tenant-sdk-node@1.34.1-beta.
|
|
24
|
+
yarn add @emilgroup/tenant-sdk-node@1.34.1-beta.31
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `UsersApi`.
|
package/api/dashboard-api.ts
CHANGED
|
@@ -31,8 +31,12 @@ import { CreateDashboardV2ResponseClass } from '../models';
|
|
|
31
31
|
// @ts-ignore
|
|
32
32
|
import { DeleteResponseClass } from '../models';
|
|
33
33
|
// @ts-ignore
|
|
34
|
+
import { DuplicateDashboardRequestDto } from '../models';
|
|
35
|
+
// @ts-ignore
|
|
34
36
|
import { DuplicateDashboardResponseClass } from '../models';
|
|
35
37
|
// @ts-ignore
|
|
38
|
+
import { GetDashboardMetadataResponseClass } from '../models';
|
|
39
|
+
// @ts-ignore
|
|
36
40
|
import { GetDashboardResponseClass } from '../models';
|
|
37
41
|
// @ts-ignore
|
|
38
42
|
import { GetEmbeddedUrlResponseClass } from '../models';
|
|
@@ -200,13 +204,16 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
|
|
|
200
204
|
* Creates a copy of the specified dashboard with all its configurations and settings. **Required Permissions** \"reporting.dashboards.create\"
|
|
201
205
|
* @summary Creates a duplicate of an existing dashboard
|
|
202
206
|
* @param {string} code
|
|
207
|
+
* @param {DuplicateDashboardRequestDto} duplicateDashboardRequestDto
|
|
203
208
|
* @param {string} [authorization] Bearer Token
|
|
204
209
|
* @param {*} [options] Override http request option.
|
|
205
210
|
* @throws {RequiredError}
|
|
206
211
|
*/
|
|
207
|
-
duplicateDashboard: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
212
|
+
duplicateDashboard: async (code: string, duplicateDashboardRequestDto: DuplicateDashboardRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
208
213
|
// verify required parameter 'code' is not null or undefined
|
|
209
214
|
assertParamExists('duplicateDashboard', 'code', code)
|
|
215
|
+
// verify required parameter 'duplicateDashboardRequestDto' is not null or undefined
|
|
216
|
+
assertParamExists('duplicateDashboard', 'duplicateDashboardRequestDto', duplicateDashboardRequestDto)
|
|
210
217
|
const localVarPath = `/tenantservice/v1/dashboards/{code}/duplicate`
|
|
211
218
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
212
219
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -232,9 +239,12 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
|
|
|
232
239
|
|
|
233
240
|
|
|
234
241
|
|
|
242
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
243
|
+
|
|
235
244
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
236
245
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
237
246
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
247
|
+
localVarRequestOptions.data = serializeDataIfNeeded(duplicateDashboardRequestDto, localVarRequestOptions, configuration)
|
|
238
248
|
|
|
239
249
|
return {
|
|
240
250
|
url: toPathString(localVarUrlObj),
|
|
@@ -367,6 +377,51 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
|
|
|
367
377
|
|
|
368
378
|
|
|
369
379
|
|
|
380
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
381
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
382
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
383
|
+
|
|
384
|
+
return {
|
|
385
|
+
url: toPathString(localVarUrlObj),
|
|
386
|
+
options: localVarRequestOptions,
|
|
387
|
+
};
|
|
388
|
+
},
|
|
389
|
+
/**
|
|
390
|
+
* Returns sheet names and parameter definitions for the dashboard analysis backing this record. **Required Permissions** \"reporting.dashboards.view\"
|
|
391
|
+
* @summary Retrieves QuickSight analysis metadata for a dashboard
|
|
392
|
+
* @param {string} code
|
|
393
|
+
* @param {string} [authorization] Bearer Token
|
|
394
|
+
* @param {*} [options] Override http request option.
|
|
395
|
+
* @throws {RequiredError}
|
|
396
|
+
*/
|
|
397
|
+
getDashboardMetadata: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
398
|
+
// verify required parameter 'code' is not null or undefined
|
|
399
|
+
assertParamExists('getDashboardMetadata', 'code', code)
|
|
400
|
+
const localVarPath = `/tenantservice/v1/dashboards/{code}/metadata`
|
|
401
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
402
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
403
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
404
|
+
let baseOptions;
|
|
405
|
+
let baseAccessToken;
|
|
406
|
+
if (configuration) {
|
|
407
|
+
baseOptions = configuration.baseOptions;
|
|
408
|
+
baseAccessToken = configuration.accessToken;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
412
|
+
const localVarHeaderParameter = {} as any;
|
|
413
|
+
const localVarQueryParameter = {} as any;
|
|
414
|
+
|
|
415
|
+
// authentication bearer required
|
|
416
|
+
// http bearer authentication required
|
|
417
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
418
|
+
|
|
419
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
420
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
|
|
370
425
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
371
426
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
372
427
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -648,12 +703,13 @@ export const DashboardApiFp = function(configuration?: Configuration) {
|
|
|
648
703
|
* Creates a copy of the specified dashboard with all its configurations and settings. **Required Permissions** \"reporting.dashboards.create\"
|
|
649
704
|
* @summary Creates a duplicate of an existing dashboard
|
|
650
705
|
* @param {string} code
|
|
706
|
+
* @param {DuplicateDashboardRequestDto} duplicateDashboardRequestDto
|
|
651
707
|
* @param {string} [authorization] Bearer Token
|
|
652
708
|
* @param {*} [options] Override http request option.
|
|
653
709
|
* @throws {RequiredError}
|
|
654
710
|
*/
|
|
655
|
-
async duplicateDashboard(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DuplicateDashboardResponseClass>> {
|
|
656
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.duplicateDashboard(code, authorization, options);
|
|
711
|
+
async duplicateDashboard(code: string, duplicateDashboardRequestDto: DuplicateDashboardRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DuplicateDashboardResponseClass>> {
|
|
712
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.duplicateDashboard(code, duplicateDashboardRequestDto, authorization, options);
|
|
657
713
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
658
714
|
},
|
|
659
715
|
/**
|
|
@@ -692,6 +748,18 @@ export const DashboardApiFp = function(configuration?: Configuration) {
|
|
|
692
748
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getDashboardEmbeddedUrl(providerDashboardId, authorization, options);
|
|
693
749
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
694
750
|
},
|
|
751
|
+
/**
|
|
752
|
+
* Returns sheet names and parameter definitions for the dashboard analysis backing this record. **Required Permissions** \"reporting.dashboards.view\"
|
|
753
|
+
* @summary Retrieves QuickSight analysis metadata for a dashboard
|
|
754
|
+
* @param {string} code
|
|
755
|
+
* @param {string} [authorization] Bearer Token
|
|
756
|
+
* @param {*} [options] Override http request option.
|
|
757
|
+
* @throws {RequiredError}
|
|
758
|
+
*/
|
|
759
|
+
async getDashboardMetadata(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDashboardMetadataResponseClass>> {
|
|
760
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDashboardMetadata(code, authorization, options);
|
|
761
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
762
|
+
},
|
|
695
763
|
/**
|
|
696
764
|
* Fetches a paginated list of dashboards with optional filtering and sorting capabilities. **Required Permissions** \"reporting.dashboards.view\"
|
|
697
765
|
* @summary Retrieves a list of dashboards
|
|
@@ -795,12 +863,13 @@ export const DashboardApiFactory = function (configuration?: Configuration, base
|
|
|
795
863
|
* Creates a copy of the specified dashboard with all its configurations and settings. **Required Permissions** \"reporting.dashboards.create\"
|
|
796
864
|
* @summary Creates a duplicate of an existing dashboard
|
|
797
865
|
* @param {string} code
|
|
866
|
+
* @param {DuplicateDashboardRequestDto} duplicateDashboardRequestDto
|
|
798
867
|
* @param {string} [authorization] Bearer Token
|
|
799
868
|
* @param {*} [options] Override http request option.
|
|
800
869
|
* @throws {RequiredError}
|
|
801
870
|
*/
|
|
802
|
-
duplicateDashboard(code: string, authorization?: string, options?: any): AxiosPromise<DuplicateDashboardResponseClass> {
|
|
803
|
-
return localVarFp.duplicateDashboard(code, authorization, options).then((request) => request(axios, basePath));
|
|
871
|
+
duplicateDashboard(code: string, duplicateDashboardRequestDto: DuplicateDashboardRequestDto, authorization?: string, options?: any): AxiosPromise<DuplicateDashboardResponseClass> {
|
|
872
|
+
return localVarFp.duplicateDashboard(code, duplicateDashboardRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
804
873
|
},
|
|
805
874
|
/**
|
|
806
875
|
* Creates a secure embedded URL that allows dashboard analysis and editing within external applications. **Required Permissions** \"reporting.dashboards.update\"
|
|
@@ -835,6 +904,17 @@ export const DashboardApiFactory = function (configuration?: Configuration, base
|
|
|
835
904
|
getDashboardEmbeddedUrl(providerDashboardId: string, authorization?: string, options?: any): AxiosPromise<GetEmbeddedUrlResponseClass> {
|
|
836
905
|
return localVarFp.getDashboardEmbeddedUrl(providerDashboardId, authorization, options).then((request) => request(axios, basePath));
|
|
837
906
|
},
|
|
907
|
+
/**
|
|
908
|
+
* Returns sheet names and parameter definitions for the dashboard analysis backing this record. **Required Permissions** \"reporting.dashboards.view\"
|
|
909
|
+
* @summary Retrieves QuickSight analysis metadata for a dashboard
|
|
910
|
+
* @param {string} code
|
|
911
|
+
* @param {string} [authorization] Bearer Token
|
|
912
|
+
* @param {*} [options] Override http request option.
|
|
913
|
+
* @throws {RequiredError}
|
|
914
|
+
*/
|
|
915
|
+
getDashboardMetadata(code: string, authorization?: string, options?: any): AxiosPromise<GetDashboardMetadataResponseClass> {
|
|
916
|
+
return localVarFp.getDashboardMetadata(code, authorization, options).then((request) => request(axios, basePath));
|
|
917
|
+
},
|
|
838
918
|
/**
|
|
839
919
|
* Fetches a paginated list of dashboards with optional filtering and sorting capabilities. **Required Permissions** \"reporting.dashboards.view\"
|
|
840
920
|
* @summary Retrieves a list of dashboards
|
|
@@ -965,6 +1045,13 @@ export interface DashboardApiDuplicateDashboardRequest {
|
|
|
965
1045
|
*/
|
|
966
1046
|
readonly code: string
|
|
967
1047
|
|
|
1048
|
+
/**
|
|
1049
|
+
*
|
|
1050
|
+
* @type {DuplicateDashboardRequestDto}
|
|
1051
|
+
* @memberof DashboardApiDuplicateDashboard
|
|
1052
|
+
*/
|
|
1053
|
+
readonly duplicateDashboardRequestDto: DuplicateDashboardRequestDto
|
|
1054
|
+
|
|
968
1055
|
/**
|
|
969
1056
|
* Bearer Token
|
|
970
1057
|
* @type {string}
|
|
@@ -1036,6 +1123,27 @@ export interface DashboardApiGetDashboardEmbeddedUrlRequest {
|
|
|
1036
1123
|
readonly authorization?: string
|
|
1037
1124
|
}
|
|
1038
1125
|
|
|
1126
|
+
/**
|
|
1127
|
+
* Request parameters for getDashboardMetadata operation in DashboardApi.
|
|
1128
|
+
* @export
|
|
1129
|
+
* @interface DashboardApiGetDashboardMetadataRequest
|
|
1130
|
+
*/
|
|
1131
|
+
export interface DashboardApiGetDashboardMetadataRequest {
|
|
1132
|
+
/**
|
|
1133
|
+
*
|
|
1134
|
+
* @type {string}
|
|
1135
|
+
* @memberof DashboardApiGetDashboardMetadata
|
|
1136
|
+
*/
|
|
1137
|
+
readonly code: string
|
|
1138
|
+
|
|
1139
|
+
/**
|
|
1140
|
+
* Bearer Token
|
|
1141
|
+
* @type {string}
|
|
1142
|
+
* @memberof DashboardApiGetDashboardMetadata
|
|
1143
|
+
*/
|
|
1144
|
+
readonly authorization?: string
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1039
1147
|
/**
|
|
1040
1148
|
* Request parameters for listDashboards operation in DashboardApi.
|
|
1041
1149
|
* @export
|
|
@@ -1222,7 +1330,7 @@ export class DashboardApi extends BaseAPI {
|
|
|
1222
1330
|
* @memberof DashboardApi
|
|
1223
1331
|
*/
|
|
1224
1332
|
public duplicateDashboard(requestParameters: DashboardApiDuplicateDashboardRequest, options?: AxiosRequestConfig) {
|
|
1225
|
-
return DashboardApiFp(this.configuration).duplicateDashboard(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1333
|
+
return DashboardApiFp(this.configuration).duplicateDashboard(requestParameters.code, requestParameters.duplicateDashboardRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1226
1334
|
}
|
|
1227
1335
|
|
|
1228
1336
|
/**
|
|
@@ -1261,6 +1369,18 @@ export class DashboardApi extends BaseAPI {
|
|
|
1261
1369
|
return DashboardApiFp(this.configuration).getDashboardEmbeddedUrl(requestParameters.providerDashboardId, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1262
1370
|
}
|
|
1263
1371
|
|
|
1372
|
+
/**
|
|
1373
|
+
* Returns sheet names and parameter definitions for the dashboard analysis backing this record. **Required Permissions** \"reporting.dashboards.view\"
|
|
1374
|
+
* @summary Retrieves QuickSight analysis metadata for a dashboard
|
|
1375
|
+
* @param {DashboardApiGetDashboardMetadataRequest} requestParameters Request parameters.
|
|
1376
|
+
* @param {*} [options] Override http request option.
|
|
1377
|
+
* @throws {RequiredError}
|
|
1378
|
+
* @memberof DashboardApi
|
|
1379
|
+
*/
|
|
1380
|
+
public getDashboardMetadata(requestParameters: DashboardApiGetDashboardMetadataRequest, options?: AxiosRequestConfig) {
|
|
1381
|
+
return DashboardApiFp(this.configuration).getDashboardMetadata(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1382
|
+
}
|
|
1383
|
+
|
|
1264
1384
|
/**
|
|
1265
1385
|
* Fetches a paginated list of dashboards with optional filtering and sorting capabilities. **Required Permissions** \"reporting.dashboards.view\"
|
|
1266
1386
|
* @summary Retrieves a list of dashboards
|