@emilgroup/tenant-sdk 1.36.1-beta.30 → 1.36.1-beta.32
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 +693 -0
- package/api/report-schedule-logs-api.ts +246 -0
- package/api/user-group-api.ts +1086 -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 +642 -0
- package/dist/api/report-schedule-logs-api.d.ts +150 -0
- package/dist/api/report-schedule-logs-api.js +260 -0
- package/dist/api/user-group-api.d.ts +603 -0
- package/dist/api/user-group-api.js +936 -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@1.36.1-beta.
|
|
20
|
+
npm install @emilgroup/tenant-sdk@1.36.1-beta.32 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/tenant-sdk@1.36.1-beta.
|
|
24
|
+
yarn add @emilgroup/tenant-sdk@1.36.1-beta.32
|
|
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';
|
|
@@ -196,13 +200,16 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
|
|
|
196
200
|
* Creates a copy of the specified dashboard with all its configurations and settings. **Required Permissions** \"reporting.dashboards.create\"
|
|
197
201
|
* @summary Creates a duplicate of an existing dashboard
|
|
198
202
|
* @param {string} code
|
|
203
|
+
* @param {DuplicateDashboardRequestDto} duplicateDashboardRequestDto
|
|
199
204
|
* @param {string} [authorization] Bearer Token
|
|
200
205
|
* @param {*} [options] Override http request option.
|
|
201
206
|
* @throws {RequiredError}
|
|
202
207
|
*/
|
|
203
|
-
duplicateDashboard: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
208
|
+
duplicateDashboard: async (code: string, duplicateDashboardRequestDto: DuplicateDashboardRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
204
209
|
// verify required parameter 'code' is not null or undefined
|
|
205
210
|
assertParamExists('duplicateDashboard', 'code', code)
|
|
211
|
+
// verify required parameter 'duplicateDashboardRequestDto' is not null or undefined
|
|
212
|
+
assertParamExists('duplicateDashboard', 'duplicateDashboardRequestDto', duplicateDashboardRequestDto)
|
|
206
213
|
const localVarPath = `/tenantservice/v1/dashboards/{code}/duplicate`
|
|
207
214
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
208
215
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -228,9 +235,12 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
|
|
|
228
235
|
|
|
229
236
|
|
|
230
237
|
|
|
238
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
239
|
+
|
|
231
240
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
232
241
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
233
242
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
243
|
+
localVarRequestOptions.data = serializeDataIfNeeded(duplicateDashboardRequestDto, localVarRequestOptions, configuration)
|
|
234
244
|
|
|
235
245
|
return {
|
|
236
246
|
url: toPathString(localVarUrlObj),
|
|
@@ -363,6 +373,51 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
|
|
|
363
373
|
|
|
364
374
|
|
|
365
375
|
|
|
376
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
377
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
378
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
379
|
+
|
|
380
|
+
return {
|
|
381
|
+
url: toPathString(localVarUrlObj),
|
|
382
|
+
options: localVarRequestOptions,
|
|
383
|
+
};
|
|
384
|
+
},
|
|
385
|
+
/**
|
|
386
|
+
* Returns sheet names and parameter definitions for the dashboard analysis backing this record. **Required Permissions** \"reporting.dashboards.view\"
|
|
387
|
+
* @summary Retrieves QuickSight analysis metadata for a dashboard
|
|
388
|
+
* @param {string} code
|
|
389
|
+
* @param {string} [authorization] Bearer Token
|
|
390
|
+
* @param {*} [options] Override http request option.
|
|
391
|
+
* @throws {RequiredError}
|
|
392
|
+
*/
|
|
393
|
+
getDashboardMetadata: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
394
|
+
// verify required parameter 'code' is not null or undefined
|
|
395
|
+
assertParamExists('getDashboardMetadata', 'code', code)
|
|
396
|
+
const localVarPath = `/tenantservice/v1/dashboards/{code}/metadata`
|
|
397
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
398
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
399
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
400
|
+
let baseOptions;
|
|
401
|
+
let baseAccessToken;
|
|
402
|
+
if (configuration) {
|
|
403
|
+
baseOptions = configuration.baseOptions;
|
|
404
|
+
baseAccessToken = configuration.accessToken;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
408
|
+
const localVarHeaderParameter = {} as any;
|
|
409
|
+
const localVarQueryParameter = {} as any;
|
|
410
|
+
|
|
411
|
+
// authentication bearer required
|
|
412
|
+
// http bearer authentication required
|
|
413
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
414
|
+
|
|
415
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
416
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
|
|
366
421
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
367
422
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
368
423
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -644,12 +699,13 @@ export const DashboardApiFp = function(configuration?: Configuration) {
|
|
|
644
699
|
* Creates a copy of the specified dashboard with all its configurations and settings. **Required Permissions** \"reporting.dashboards.create\"
|
|
645
700
|
* @summary Creates a duplicate of an existing dashboard
|
|
646
701
|
* @param {string} code
|
|
702
|
+
* @param {DuplicateDashboardRequestDto} duplicateDashboardRequestDto
|
|
647
703
|
* @param {string} [authorization] Bearer Token
|
|
648
704
|
* @param {*} [options] Override http request option.
|
|
649
705
|
* @throws {RequiredError}
|
|
650
706
|
*/
|
|
651
|
-
async duplicateDashboard(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DuplicateDashboardResponseClass>> {
|
|
652
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.duplicateDashboard(code, authorization, options);
|
|
707
|
+
async duplicateDashboard(code: string, duplicateDashboardRequestDto: DuplicateDashboardRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DuplicateDashboardResponseClass>> {
|
|
708
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.duplicateDashboard(code, duplicateDashboardRequestDto, authorization, options);
|
|
653
709
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
654
710
|
},
|
|
655
711
|
/**
|
|
@@ -688,6 +744,18 @@ export const DashboardApiFp = function(configuration?: Configuration) {
|
|
|
688
744
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getDashboardEmbeddedUrl(providerDashboardId, authorization, options);
|
|
689
745
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
690
746
|
},
|
|
747
|
+
/**
|
|
748
|
+
* Returns sheet names and parameter definitions for the dashboard analysis backing this record. **Required Permissions** \"reporting.dashboards.view\"
|
|
749
|
+
* @summary Retrieves QuickSight analysis metadata for a dashboard
|
|
750
|
+
* @param {string} code
|
|
751
|
+
* @param {string} [authorization] Bearer Token
|
|
752
|
+
* @param {*} [options] Override http request option.
|
|
753
|
+
* @throws {RequiredError}
|
|
754
|
+
*/
|
|
755
|
+
async getDashboardMetadata(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDashboardMetadataResponseClass>> {
|
|
756
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDashboardMetadata(code, authorization, options);
|
|
757
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
758
|
+
},
|
|
691
759
|
/**
|
|
692
760
|
* Fetches a paginated list of dashboards with optional filtering and sorting capabilities. **Required Permissions** \"reporting.dashboards.view\"
|
|
693
761
|
* @summary Retrieves a list of dashboards
|
|
@@ -791,12 +859,13 @@ export const DashboardApiFactory = function (configuration?: Configuration, base
|
|
|
791
859
|
* Creates a copy of the specified dashboard with all its configurations and settings. **Required Permissions** \"reporting.dashboards.create\"
|
|
792
860
|
* @summary Creates a duplicate of an existing dashboard
|
|
793
861
|
* @param {string} code
|
|
862
|
+
* @param {DuplicateDashboardRequestDto} duplicateDashboardRequestDto
|
|
794
863
|
* @param {string} [authorization] Bearer Token
|
|
795
864
|
* @param {*} [options] Override http request option.
|
|
796
865
|
* @throws {RequiredError}
|
|
797
866
|
*/
|
|
798
|
-
duplicateDashboard(code: string, authorization?: string, options?: any): AxiosPromise<DuplicateDashboardResponseClass> {
|
|
799
|
-
return localVarFp.duplicateDashboard(code, authorization, options).then((request) => request(axios, basePath));
|
|
867
|
+
duplicateDashboard(code: string, duplicateDashboardRequestDto: DuplicateDashboardRequestDto, authorization?: string, options?: any): AxiosPromise<DuplicateDashboardResponseClass> {
|
|
868
|
+
return localVarFp.duplicateDashboard(code, duplicateDashboardRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
800
869
|
},
|
|
801
870
|
/**
|
|
802
871
|
* Creates a secure embedded URL that allows dashboard analysis and editing within external applications. **Required Permissions** \"reporting.dashboards.update\"
|
|
@@ -831,6 +900,17 @@ export const DashboardApiFactory = function (configuration?: Configuration, base
|
|
|
831
900
|
getDashboardEmbeddedUrl(providerDashboardId: string, authorization?: string, options?: any): AxiosPromise<GetEmbeddedUrlResponseClass> {
|
|
832
901
|
return localVarFp.getDashboardEmbeddedUrl(providerDashboardId, authorization, options).then((request) => request(axios, basePath));
|
|
833
902
|
},
|
|
903
|
+
/**
|
|
904
|
+
* Returns sheet names and parameter definitions for the dashboard analysis backing this record. **Required Permissions** \"reporting.dashboards.view\"
|
|
905
|
+
* @summary Retrieves QuickSight analysis metadata for a dashboard
|
|
906
|
+
* @param {string} code
|
|
907
|
+
* @param {string} [authorization] Bearer Token
|
|
908
|
+
* @param {*} [options] Override http request option.
|
|
909
|
+
* @throws {RequiredError}
|
|
910
|
+
*/
|
|
911
|
+
getDashboardMetadata(code: string, authorization?: string, options?: any): AxiosPromise<GetDashboardMetadataResponseClass> {
|
|
912
|
+
return localVarFp.getDashboardMetadata(code, authorization, options).then((request) => request(axios, basePath));
|
|
913
|
+
},
|
|
834
914
|
/**
|
|
835
915
|
* Fetches a paginated list of dashboards with optional filtering and sorting capabilities. **Required Permissions** \"reporting.dashboards.view\"
|
|
836
916
|
* @summary Retrieves a list of dashboards
|
|
@@ -961,6 +1041,13 @@ export interface DashboardApiDuplicateDashboardRequest {
|
|
|
961
1041
|
*/
|
|
962
1042
|
readonly code: string
|
|
963
1043
|
|
|
1044
|
+
/**
|
|
1045
|
+
*
|
|
1046
|
+
* @type {DuplicateDashboardRequestDto}
|
|
1047
|
+
* @memberof DashboardApiDuplicateDashboard
|
|
1048
|
+
*/
|
|
1049
|
+
readonly duplicateDashboardRequestDto: DuplicateDashboardRequestDto
|
|
1050
|
+
|
|
964
1051
|
/**
|
|
965
1052
|
* Bearer Token
|
|
966
1053
|
* @type {string}
|
|
@@ -1032,6 +1119,27 @@ export interface DashboardApiGetDashboardEmbeddedUrlRequest {
|
|
|
1032
1119
|
readonly authorization?: string
|
|
1033
1120
|
}
|
|
1034
1121
|
|
|
1122
|
+
/**
|
|
1123
|
+
* Request parameters for getDashboardMetadata operation in DashboardApi.
|
|
1124
|
+
* @export
|
|
1125
|
+
* @interface DashboardApiGetDashboardMetadataRequest
|
|
1126
|
+
*/
|
|
1127
|
+
export interface DashboardApiGetDashboardMetadataRequest {
|
|
1128
|
+
/**
|
|
1129
|
+
*
|
|
1130
|
+
* @type {string}
|
|
1131
|
+
* @memberof DashboardApiGetDashboardMetadata
|
|
1132
|
+
*/
|
|
1133
|
+
readonly code: string
|
|
1134
|
+
|
|
1135
|
+
/**
|
|
1136
|
+
* Bearer Token
|
|
1137
|
+
* @type {string}
|
|
1138
|
+
* @memberof DashboardApiGetDashboardMetadata
|
|
1139
|
+
*/
|
|
1140
|
+
readonly authorization?: string
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1035
1143
|
/**
|
|
1036
1144
|
* Request parameters for listDashboards operation in DashboardApi.
|
|
1037
1145
|
* @export
|
|
@@ -1218,7 +1326,7 @@ export class DashboardApi extends BaseAPI {
|
|
|
1218
1326
|
* @memberof DashboardApi
|
|
1219
1327
|
*/
|
|
1220
1328
|
public duplicateDashboard(requestParameters: DashboardApiDuplicateDashboardRequest, options?: AxiosRequestConfig) {
|
|
1221
|
-
return DashboardApiFp(this.configuration).duplicateDashboard(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1329
|
+
return DashboardApiFp(this.configuration).duplicateDashboard(requestParameters.code, requestParameters.duplicateDashboardRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1222
1330
|
}
|
|
1223
1331
|
|
|
1224
1332
|
/**
|
|
@@ -1257,6 +1365,18 @@ export class DashboardApi extends BaseAPI {
|
|
|
1257
1365
|
return DashboardApiFp(this.configuration).getDashboardEmbeddedUrl(requestParameters.providerDashboardId, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1258
1366
|
}
|
|
1259
1367
|
|
|
1368
|
+
/**
|
|
1369
|
+
* Returns sheet names and parameter definitions for the dashboard analysis backing this record. **Required Permissions** \"reporting.dashboards.view\"
|
|
1370
|
+
* @summary Retrieves QuickSight analysis metadata for a dashboard
|
|
1371
|
+
* @param {DashboardApiGetDashboardMetadataRequest} requestParameters Request parameters.
|
|
1372
|
+
* @param {*} [options] Override http request option.
|
|
1373
|
+
* @throws {RequiredError}
|
|
1374
|
+
* @memberof DashboardApi
|
|
1375
|
+
*/
|
|
1376
|
+
public getDashboardMetadata(requestParameters: DashboardApiGetDashboardMetadataRequest, options?: AxiosRequestConfig) {
|
|
1377
|
+
return DashboardApiFp(this.configuration).getDashboardMetadata(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1378
|
+
}
|
|
1379
|
+
|
|
1260
1380
|
/**
|
|
1261
1381
|
* Fetches a paginated list of dashboards with optional filtering and sorting capabilities. **Required Permissions** \"reporting.dashboards.view\"
|
|
1262
1382
|
* @summary Retrieves a list of dashboards
|