@emilgroup/tenant-sdk-node 1.34.1-beta.21 → 1.34.1-beta.23
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 +42 -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 +48 -0
- package/package.json +2 -2
package/api.ts
CHANGED
|
@@ -38,9 +38,12 @@ import { ListOrganizationInvitationsApi } from './api';
|
|
|
38
38
|
import { OrganizationMigrationApi } from './api';
|
|
39
39
|
import { OrganizationsApi } from './api';
|
|
40
40
|
import { ReInviteAnOrganizationApi } from './api';
|
|
41
|
+
import { ReportScheduleApi } from './api';
|
|
42
|
+
import { ReportScheduleLogsApi } from './api';
|
|
41
43
|
import { RolesApi } from './api';
|
|
42
44
|
import { SettingsApi } from './api';
|
|
43
45
|
import { UserControllerRestApi } from './api';
|
|
46
|
+
import { UserGroupApi } from './api';
|
|
44
47
|
import { UsersApi } from './api';
|
|
45
48
|
|
|
46
49
|
|
|
@@ -58,8 +61,11 @@ export * from './api/list-organization-invitations-api';
|
|
|
58
61
|
export * from './api/organization-migration-api';
|
|
59
62
|
export * from './api/organizations-api';
|
|
60
63
|
export * from './api/re-invite-an-organization-api';
|
|
64
|
+
export * from './api/report-schedule-api';
|
|
65
|
+
export * from './api/report-schedule-logs-api';
|
|
61
66
|
export * from './api/roles-api';
|
|
62
67
|
export * from './api/settings-api';
|
|
63
68
|
export * from './api/user-controller-rest-api';
|
|
69
|
+
export * from './api/user-group-api';
|
|
64
70
|
export * from './api/users-api';
|
|
65
71
|
|
package/base.ts
CHANGED
|
@@ -60,6 +60,7 @@ export enum Environment {
|
|
|
60
60
|
Staging = 'https://apiv2-staging.emil.de',
|
|
61
61
|
Development = 'https://apiv2-dev.emil.de',
|
|
62
62
|
ProductionZurich = 'https://eu-central-2.apiv2.emil.de',
|
|
63
|
+
StagingZurich = 'https://eu-central-2.apiv2-staging.emil.de',
|
|
63
64
|
}
|
|
64
65
|
|
|
65
66
|
let _retry_count = 0
|
|
@@ -17,7 +17,9 @@ import { CreateDashboardResponseClass } from '../models';
|
|
|
17
17
|
import { CreateDashboardV2RequestDto } from '../models';
|
|
18
18
|
import { CreateDashboardV2ResponseClass } from '../models';
|
|
19
19
|
import { DeleteResponseClass } from '../models';
|
|
20
|
+
import { DuplicateDashboardRequestDto } from '../models';
|
|
20
21
|
import { DuplicateDashboardResponseClass } from '../models';
|
|
22
|
+
import { GetDashboardMetadataResponseClass } from '../models';
|
|
21
23
|
import { GetDashboardResponseClass } from '../models';
|
|
22
24
|
import { GetEmbeddedUrlResponseClass } from '../models';
|
|
23
25
|
import { ListDashboardsResponseClass } from '../models';
|
|
@@ -62,11 +64,12 @@ export declare const DashboardApiAxiosParamCreator: (configuration?: Configurati
|
|
|
62
64
|
* Creates a copy of the specified dashboard with all its configurations and settings. **Required Permissions** \"reporting.dashboards.create\"
|
|
63
65
|
* @summary Creates a duplicate of an existing dashboard
|
|
64
66
|
* @param {string} code
|
|
67
|
+
* @param {DuplicateDashboardRequestDto} duplicateDashboardRequestDto
|
|
65
68
|
* @param {string} [authorization] Bearer Token
|
|
66
69
|
* @param {*} [options] Override http request option.
|
|
67
70
|
* @throws {RequiredError}
|
|
68
71
|
*/
|
|
69
|
-
duplicateDashboard: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
72
|
+
duplicateDashboard: (code: string, duplicateDashboardRequestDto: DuplicateDashboardRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
70
73
|
/**
|
|
71
74
|
* Creates a secure embedded URL that allows dashboard analysis and editing within external applications. **Required Permissions** \"reporting.dashboards.update\"
|
|
72
75
|
* @summary Generates an embedded URL for dashboard editing
|
|
@@ -94,6 +97,15 @@ export declare const DashboardApiAxiosParamCreator: (configuration?: Configurati
|
|
|
94
97
|
* @throws {RequiredError}
|
|
95
98
|
*/
|
|
96
99
|
getDashboardEmbeddedUrl: (providerDashboardId: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
100
|
+
/**
|
|
101
|
+
* Returns sheet names and parameter definitions for the dashboard analysis backing this record. **Required Permissions** \"reporting.dashboards.view\"
|
|
102
|
+
* @summary Retrieves QuickSight analysis metadata for a dashboard
|
|
103
|
+
* @param {string} code
|
|
104
|
+
* @param {string} [authorization] Bearer Token
|
|
105
|
+
* @param {*} [options] Override http request option.
|
|
106
|
+
* @throws {RequiredError}
|
|
107
|
+
*/
|
|
108
|
+
getDashboardMetadata: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
97
109
|
/**
|
|
98
110
|
* Fetches a paginated list of dashboards with optional filtering and sorting capabilities. **Required Permissions** \"reporting.dashboards.view\"
|
|
99
111
|
* @summary Retrieves a list of dashboards
|
|
@@ -175,11 +187,12 @@ export declare const DashboardApiFp: (configuration?: Configuration) => {
|
|
|
175
187
|
* Creates a copy of the specified dashboard with all its configurations and settings. **Required Permissions** \"reporting.dashboards.create\"
|
|
176
188
|
* @summary Creates a duplicate of an existing dashboard
|
|
177
189
|
* @param {string} code
|
|
190
|
+
* @param {DuplicateDashboardRequestDto} duplicateDashboardRequestDto
|
|
178
191
|
* @param {string} [authorization] Bearer Token
|
|
179
192
|
* @param {*} [options] Override http request option.
|
|
180
193
|
* @throws {RequiredError}
|
|
181
194
|
*/
|
|
182
|
-
duplicateDashboard(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DuplicateDashboardResponseClass>>;
|
|
195
|
+
duplicateDashboard(code: string, duplicateDashboardRequestDto: DuplicateDashboardRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DuplicateDashboardResponseClass>>;
|
|
183
196
|
/**
|
|
184
197
|
* Creates a secure embedded URL that allows dashboard analysis and editing within external applications. **Required Permissions** \"reporting.dashboards.update\"
|
|
185
198
|
* @summary Generates an embedded URL for dashboard editing
|
|
@@ -207,6 +220,15 @@ export declare const DashboardApiFp: (configuration?: Configuration) => {
|
|
|
207
220
|
* @throws {RequiredError}
|
|
208
221
|
*/
|
|
209
222
|
getDashboardEmbeddedUrl(providerDashboardId: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEmbeddedUrlResponseClass>>;
|
|
223
|
+
/**
|
|
224
|
+
* Returns sheet names and parameter definitions for the dashboard analysis backing this record. **Required Permissions** \"reporting.dashboards.view\"
|
|
225
|
+
* @summary Retrieves QuickSight analysis metadata for a dashboard
|
|
226
|
+
* @param {string} code
|
|
227
|
+
* @param {string} [authorization] Bearer Token
|
|
228
|
+
* @param {*} [options] Override http request option.
|
|
229
|
+
* @throws {RequiredError}
|
|
230
|
+
*/
|
|
231
|
+
getDashboardMetadata(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDashboardMetadataResponseClass>>;
|
|
210
232
|
/**
|
|
211
233
|
* Fetches a paginated list of dashboards with optional filtering and sorting capabilities. **Required Permissions** \"reporting.dashboards.view\"
|
|
212
234
|
* @summary Retrieves a list of dashboards
|
|
@@ -288,11 +310,12 @@ export declare const DashboardApiFactory: (configuration?: Configuration, basePa
|
|
|
288
310
|
* Creates a copy of the specified dashboard with all its configurations and settings. **Required Permissions** \"reporting.dashboards.create\"
|
|
289
311
|
* @summary Creates a duplicate of an existing dashboard
|
|
290
312
|
* @param {string} code
|
|
313
|
+
* @param {DuplicateDashboardRequestDto} duplicateDashboardRequestDto
|
|
291
314
|
* @param {string} [authorization] Bearer Token
|
|
292
315
|
* @param {*} [options] Override http request option.
|
|
293
316
|
* @throws {RequiredError}
|
|
294
317
|
*/
|
|
295
|
-
duplicateDashboard(code: string, authorization?: string, options?: any): AxiosPromise<DuplicateDashboardResponseClass>;
|
|
318
|
+
duplicateDashboard(code: string, duplicateDashboardRequestDto: DuplicateDashboardRequestDto, authorization?: string, options?: any): AxiosPromise<DuplicateDashboardResponseClass>;
|
|
296
319
|
/**
|
|
297
320
|
* Creates a secure embedded URL that allows dashboard analysis and editing within external applications. **Required Permissions** \"reporting.dashboards.update\"
|
|
298
321
|
* @summary Generates an embedded URL for dashboard editing
|
|
@@ -320,6 +343,15 @@ export declare const DashboardApiFactory: (configuration?: Configuration, basePa
|
|
|
320
343
|
* @throws {RequiredError}
|
|
321
344
|
*/
|
|
322
345
|
getDashboardEmbeddedUrl(providerDashboardId: string, authorization?: string, options?: any): AxiosPromise<GetEmbeddedUrlResponseClass>;
|
|
346
|
+
/**
|
|
347
|
+
* Returns sheet names and parameter definitions for the dashboard analysis backing this record. **Required Permissions** \"reporting.dashboards.view\"
|
|
348
|
+
* @summary Retrieves QuickSight analysis metadata for a dashboard
|
|
349
|
+
* @param {string} code
|
|
350
|
+
* @param {string} [authorization] Bearer Token
|
|
351
|
+
* @param {*} [options] Override http request option.
|
|
352
|
+
* @throws {RequiredError}
|
|
353
|
+
*/
|
|
354
|
+
getDashboardMetadata(code: string, authorization?: string, options?: any): AxiosPromise<GetDashboardMetadataResponseClass>;
|
|
323
355
|
/**
|
|
324
356
|
* Fetches a paginated list of dashboards with optional filtering and sorting capabilities. **Required Permissions** \"reporting.dashboards.view\"
|
|
325
357
|
* @summary Retrieves a list of dashboards
|
|
@@ -433,6 +465,12 @@ export interface DashboardApiDuplicateDashboardRequest {
|
|
|
433
465
|
* @memberof DashboardApiDuplicateDashboard
|
|
434
466
|
*/
|
|
435
467
|
readonly code: string;
|
|
468
|
+
/**
|
|
469
|
+
*
|
|
470
|
+
* @type {DuplicateDashboardRequestDto}
|
|
471
|
+
* @memberof DashboardApiDuplicateDashboard
|
|
472
|
+
*/
|
|
473
|
+
readonly duplicateDashboardRequestDto: DuplicateDashboardRequestDto;
|
|
436
474
|
/**
|
|
437
475
|
* Bearer Token
|
|
438
476
|
* @type {string}
|
|
@@ -497,6 +535,25 @@ export interface DashboardApiGetDashboardEmbeddedUrlRequest {
|
|
|
497
535
|
*/
|
|
498
536
|
readonly authorization?: string;
|
|
499
537
|
}
|
|
538
|
+
/**
|
|
539
|
+
* Request parameters for getDashboardMetadata operation in DashboardApi.
|
|
540
|
+
* @export
|
|
541
|
+
* @interface DashboardApiGetDashboardMetadataRequest
|
|
542
|
+
*/
|
|
543
|
+
export interface DashboardApiGetDashboardMetadataRequest {
|
|
544
|
+
/**
|
|
545
|
+
*
|
|
546
|
+
* @type {string}
|
|
547
|
+
* @memberof DashboardApiGetDashboardMetadata
|
|
548
|
+
*/
|
|
549
|
+
readonly code: string;
|
|
550
|
+
/**
|
|
551
|
+
* Bearer Token
|
|
552
|
+
* @type {string}
|
|
553
|
+
* @memberof DashboardApiGetDashboardMetadata
|
|
554
|
+
*/
|
|
555
|
+
readonly authorization?: string;
|
|
556
|
+
}
|
|
500
557
|
/**
|
|
501
558
|
* Request parameters for listDashboards operation in DashboardApi.
|
|
502
559
|
* @export
|
|
@@ -686,6 +743,15 @@ export declare class DashboardApi extends BaseAPI {
|
|
|
686
743
|
* @memberof DashboardApi
|
|
687
744
|
*/
|
|
688
745
|
getDashboardEmbeddedUrl(requestParameters: DashboardApiGetDashboardEmbeddedUrlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEmbeddedUrlResponseClass, any, {}>>;
|
|
746
|
+
/**
|
|
747
|
+
* Returns sheet names and parameter definitions for the dashboard analysis backing this record. **Required Permissions** \"reporting.dashboards.view\"
|
|
748
|
+
* @summary Retrieves QuickSight analysis metadata for a dashboard
|
|
749
|
+
* @param {DashboardApiGetDashboardMetadataRequest} requestParameters Request parameters.
|
|
750
|
+
* @param {*} [options] Override http request option.
|
|
751
|
+
* @throws {RequiredError}
|
|
752
|
+
* @memberof DashboardApi
|
|
753
|
+
*/
|
|
754
|
+
getDashboardMetadata(requestParameters: DashboardApiGetDashboardMetadataRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDashboardMetadataResponseClass, any, {}>>;
|
|
689
755
|
/**
|
|
690
756
|
* Fetches a paginated list of dashboards with optional filtering and sorting capabilities. **Required Permissions** \"reporting.dashboards.view\"
|
|
691
757
|
* @summary Retrieves a list of dashboards
|
|
@@ -247,11 +247,12 @@ var DashboardApiAxiosParamCreator = function (configuration) {
|
|
|
247
247
|
* Creates a copy of the specified dashboard with all its configurations and settings. **Required Permissions** \"reporting.dashboards.create\"
|
|
248
248
|
* @summary Creates a duplicate of an existing dashboard
|
|
249
249
|
* @param {string} code
|
|
250
|
+
* @param {DuplicateDashboardRequestDto} duplicateDashboardRequestDto
|
|
250
251
|
* @param {string} [authorization] Bearer Token
|
|
251
252
|
* @param {*} [options] Override http request option.
|
|
252
253
|
* @throws {RequiredError}
|
|
253
254
|
*/
|
|
254
|
-
duplicateDashboard: function (code, authorization, options) {
|
|
255
|
+
duplicateDashboard: function (code, duplicateDashboardRequestDto, authorization, options) {
|
|
255
256
|
if (options === void 0) { options = {}; }
|
|
256
257
|
return __awaiter(_this, void 0, void 0, function () {
|
|
257
258
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -260,6 +261,8 @@ var DashboardApiAxiosParamCreator = function (configuration) {
|
|
|
260
261
|
case 0:
|
|
261
262
|
// verify required parameter 'code' is not null or undefined
|
|
262
263
|
(0, common_1.assertParamExists)('duplicateDashboard', 'code', code);
|
|
264
|
+
// verify required parameter 'duplicateDashboardRequestDto' is not null or undefined
|
|
265
|
+
(0, common_1.assertParamExists)('duplicateDashboard', 'duplicateDashboardRequestDto', duplicateDashboardRequestDto);
|
|
263
266
|
localVarPath = "/tenantservice/v1/dashboards/{code}/duplicate"
|
|
264
267
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
265
268
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -280,9 +283,11 @@ var DashboardApiAxiosParamCreator = function (configuration) {
|
|
|
280
283
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
281
284
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
282
285
|
}
|
|
286
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
283
287
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
284
288
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
285
289
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
290
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(duplicateDashboardRequestDto, localVarRequestOptions, configuration);
|
|
286
291
|
return [2 /*return*/, {
|
|
287
292
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
288
293
|
options: localVarRequestOptions,
|
|
@@ -435,6 +440,54 @@ var DashboardApiAxiosParamCreator = function (configuration) {
|
|
|
435
440
|
});
|
|
436
441
|
});
|
|
437
442
|
},
|
|
443
|
+
/**
|
|
444
|
+
* Returns sheet names and parameter definitions for the dashboard analysis backing this record. **Required Permissions** \"reporting.dashboards.view\"
|
|
445
|
+
* @summary Retrieves QuickSight analysis metadata for a dashboard
|
|
446
|
+
* @param {string} code
|
|
447
|
+
* @param {string} [authorization] Bearer Token
|
|
448
|
+
* @param {*} [options] Override http request option.
|
|
449
|
+
* @throws {RequiredError}
|
|
450
|
+
*/
|
|
451
|
+
getDashboardMetadata: function (code, authorization, options) {
|
|
452
|
+
if (options === void 0) { options = {}; }
|
|
453
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
454
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
455
|
+
return __generator(this, function (_a) {
|
|
456
|
+
switch (_a.label) {
|
|
457
|
+
case 0:
|
|
458
|
+
// verify required parameter 'code' is not null or undefined
|
|
459
|
+
(0, common_1.assertParamExists)('getDashboardMetadata', 'code', code);
|
|
460
|
+
localVarPath = "/tenantservice/v1/dashboards/{code}/metadata"
|
|
461
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
462
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
463
|
+
if (configuration) {
|
|
464
|
+
baseOptions = configuration.baseOptions;
|
|
465
|
+
baseAccessToken = configuration.accessToken;
|
|
466
|
+
}
|
|
467
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
468
|
+
localVarHeaderParameter = {};
|
|
469
|
+
localVarQueryParameter = {};
|
|
470
|
+
// authentication bearer required
|
|
471
|
+
// http bearer authentication required
|
|
472
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
473
|
+
case 1:
|
|
474
|
+
// authentication bearer required
|
|
475
|
+
// http bearer authentication required
|
|
476
|
+
_a.sent();
|
|
477
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
478
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
479
|
+
}
|
|
480
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
481
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
482
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
483
|
+
return [2 /*return*/, {
|
|
484
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
485
|
+
options: localVarRequestOptions,
|
|
486
|
+
}];
|
|
487
|
+
}
|
|
488
|
+
});
|
|
489
|
+
});
|
|
490
|
+
},
|
|
438
491
|
/**
|
|
439
492
|
* Fetches a paginated list of dashboards with optional filtering and sorting capabilities. **Required Permissions** \"reporting.dashboards.view\"
|
|
440
493
|
* @summary Retrieves a list of dashboards
|
|
@@ -736,16 +789,17 @@ var DashboardApiFp = function (configuration) {
|
|
|
736
789
|
* Creates a copy of the specified dashboard with all its configurations and settings. **Required Permissions** \"reporting.dashboards.create\"
|
|
737
790
|
* @summary Creates a duplicate of an existing dashboard
|
|
738
791
|
* @param {string} code
|
|
792
|
+
* @param {DuplicateDashboardRequestDto} duplicateDashboardRequestDto
|
|
739
793
|
* @param {string} [authorization] Bearer Token
|
|
740
794
|
* @param {*} [options] Override http request option.
|
|
741
795
|
* @throws {RequiredError}
|
|
742
796
|
*/
|
|
743
|
-
duplicateDashboard: function (code, authorization, options) {
|
|
797
|
+
duplicateDashboard: function (code, duplicateDashboardRequestDto, authorization, options) {
|
|
744
798
|
return __awaiter(this, void 0, void 0, function () {
|
|
745
799
|
var localVarAxiosArgs;
|
|
746
800
|
return __generator(this, function (_a) {
|
|
747
801
|
switch (_a.label) {
|
|
748
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.duplicateDashboard(code, authorization, options)];
|
|
802
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.duplicateDashboard(code, duplicateDashboardRequestDto, authorization, options)];
|
|
749
803
|
case 1:
|
|
750
804
|
localVarAxiosArgs = _a.sent();
|
|
751
805
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -816,6 +870,27 @@ var DashboardApiFp = function (configuration) {
|
|
|
816
870
|
});
|
|
817
871
|
});
|
|
818
872
|
},
|
|
873
|
+
/**
|
|
874
|
+
* Returns sheet names and parameter definitions for the dashboard analysis backing this record. **Required Permissions** \"reporting.dashboards.view\"
|
|
875
|
+
* @summary Retrieves QuickSight analysis metadata for a dashboard
|
|
876
|
+
* @param {string} code
|
|
877
|
+
* @param {string} [authorization] Bearer Token
|
|
878
|
+
* @param {*} [options] Override http request option.
|
|
879
|
+
* @throws {RequiredError}
|
|
880
|
+
*/
|
|
881
|
+
getDashboardMetadata: function (code, authorization, options) {
|
|
882
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
883
|
+
var localVarAxiosArgs;
|
|
884
|
+
return __generator(this, function (_a) {
|
|
885
|
+
switch (_a.label) {
|
|
886
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getDashboardMetadata(code, authorization, options)];
|
|
887
|
+
case 1:
|
|
888
|
+
localVarAxiosArgs = _a.sent();
|
|
889
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
890
|
+
}
|
|
891
|
+
});
|
|
892
|
+
});
|
|
893
|
+
},
|
|
819
894
|
/**
|
|
820
895
|
* Fetches a paginated list of dashboards with optional filtering and sorting capabilities. **Required Permissions** \"reporting.dashboards.view\"
|
|
821
896
|
* @summary Retrieves a list of dashboards
|
|
@@ -955,12 +1030,13 @@ var DashboardApiFactory = function (configuration, basePath, axios) {
|
|
|
955
1030
|
* Creates a copy of the specified dashboard with all its configurations and settings. **Required Permissions** \"reporting.dashboards.create\"
|
|
956
1031
|
* @summary Creates a duplicate of an existing dashboard
|
|
957
1032
|
* @param {string} code
|
|
1033
|
+
* @param {DuplicateDashboardRequestDto} duplicateDashboardRequestDto
|
|
958
1034
|
* @param {string} [authorization] Bearer Token
|
|
959
1035
|
* @param {*} [options] Override http request option.
|
|
960
1036
|
* @throws {RequiredError}
|
|
961
1037
|
*/
|
|
962
|
-
duplicateDashboard: function (code, authorization, options) {
|
|
963
|
-
return localVarFp.duplicateDashboard(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1038
|
+
duplicateDashboard: function (code, duplicateDashboardRequestDto, authorization, options) {
|
|
1039
|
+
return localVarFp.duplicateDashboard(code, duplicateDashboardRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
964
1040
|
},
|
|
965
1041
|
/**
|
|
966
1042
|
* Creates a secure embedded URL that allows dashboard analysis and editing within external applications. **Required Permissions** \"reporting.dashboards.update\"
|
|
@@ -995,6 +1071,17 @@ var DashboardApiFactory = function (configuration, basePath, axios) {
|
|
|
995
1071
|
getDashboardEmbeddedUrl: function (providerDashboardId, authorization, options) {
|
|
996
1072
|
return localVarFp.getDashboardEmbeddedUrl(providerDashboardId, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
997
1073
|
},
|
|
1074
|
+
/**
|
|
1075
|
+
* Returns sheet names and parameter definitions for the dashboard analysis backing this record. **Required Permissions** \"reporting.dashboards.view\"
|
|
1076
|
+
* @summary Retrieves QuickSight analysis metadata for a dashboard
|
|
1077
|
+
* @param {string} code
|
|
1078
|
+
* @param {string} [authorization] Bearer Token
|
|
1079
|
+
* @param {*} [options] Override http request option.
|
|
1080
|
+
* @throws {RequiredError}
|
|
1081
|
+
*/
|
|
1082
|
+
getDashboardMetadata: function (code, authorization, options) {
|
|
1083
|
+
return localVarFp.getDashboardMetadata(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1084
|
+
},
|
|
998
1085
|
/**
|
|
999
1086
|
* Fetches a paginated list of dashboards with optional filtering and sorting capabilities. **Required Permissions** \"reporting.dashboards.view\"
|
|
1000
1087
|
* @summary Retrieves a list of dashboards
|
|
@@ -1107,7 +1194,7 @@ var DashboardApi = /** @class */ (function (_super) {
|
|
|
1107
1194
|
*/
|
|
1108
1195
|
DashboardApi.prototype.duplicateDashboard = function (requestParameters, options) {
|
|
1109
1196
|
var _this = this;
|
|
1110
|
-
return (0, exports.DashboardApiFp)(this.configuration).duplicateDashboard(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1197
|
+
return (0, exports.DashboardApiFp)(this.configuration).duplicateDashboard(requestParameters.code, requestParameters.duplicateDashboardRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1111
1198
|
};
|
|
1112
1199
|
/**
|
|
1113
1200
|
* Creates a secure embedded URL that allows dashboard analysis and editing within external applications. **Required Permissions** \"reporting.dashboards.update\"
|
|
@@ -1145,6 +1232,18 @@ var DashboardApi = /** @class */ (function (_super) {
|
|
|
1145
1232
|
var _this = this;
|
|
1146
1233
|
return (0, exports.DashboardApiFp)(this.configuration).getDashboardEmbeddedUrl(requestParameters.providerDashboardId, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1147
1234
|
};
|
|
1235
|
+
/**
|
|
1236
|
+
* Returns sheet names and parameter definitions for the dashboard analysis backing this record. **Required Permissions** \"reporting.dashboards.view\"
|
|
1237
|
+
* @summary Retrieves QuickSight analysis metadata for a dashboard
|
|
1238
|
+
* @param {DashboardApiGetDashboardMetadataRequest} requestParameters Request parameters.
|
|
1239
|
+
* @param {*} [options] Override http request option.
|
|
1240
|
+
* @throws {RequiredError}
|
|
1241
|
+
* @memberof DashboardApi
|
|
1242
|
+
*/
|
|
1243
|
+
DashboardApi.prototype.getDashboardMetadata = function (requestParameters, options) {
|
|
1244
|
+
var _this = this;
|
|
1245
|
+
return (0, exports.DashboardApiFp)(this.configuration).getDashboardMetadata(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1246
|
+
};
|
|
1148
1247
|
/**
|
|
1149
1248
|
* Fetches a paginated list of dashboards with optional filtering and sorting capabilities. **Required Permissions** \"reporting.dashboards.view\"
|
|
1150
1249
|
* @summary Retrieves a list of dashboards
|