@emilgroup/tenant-sdk-node 1.39.0 → 1.39.1-beta.10
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 +18 -0
- package/README.md +2 -2
- package/api/dashboard-api.ts +103 -0
- package/api/report-schedule-api.ts +697 -0
- package/api/report-schedule-logs-api.ts +250 -0
- package/api.ts +4 -0
- package/dist/api/dashboard-api.d.ts +56 -0
- package/dist/api/dashboard-api.js +92 -0
- 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.d.ts +2 -0
- package/dist/api.js +2 -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/dashboard-metadata-class.d.ts +43 -0
- package/dist/models/dashboard-metadata-class.js +15 -0
- package/dist/models/dbconfig-dto.d.ts +6 -0
- package/dist/models/delete-tenant-request-dto.d.ts +30 -0
- package/dist/models/delete-tenant-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/index.d.ts +16 -0
- package/dist/models/index.js +16 -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/quick-sight-analysis-parameter-class.d.ts +36 -0
- package/dist/models/quick-sight-analysis-parameter-class.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/models/create-report-schedule-request-dto.ts +121 -0
- package/models/create-report-schedule-response-class.ts +31 -0
- package/models/dashboard-metadata-class.ts +49 -0
- package/models/dbconfig-dto.ts +6 -0
- package/models/delete-tenant-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/index.ts +16 -0
- package/models/list-report-schedule-logs-response-class.ts +49 -0
- package/models/list-report-schedules-response-class.ts +49 -0
- package/models/quick-sight-analysis-parameter-class.ts +42 -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/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -17,6 +17,8 @@ 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
|
|
@@ -47,6 +49,8 @@ models/create-data-report-request-dto.ts
|
|
|
47
49
|
models/create-data-report-response-class.ts
|
|
48
50
|
models/create-organization-migration-request-dto.ts
|
|
49
51
|
models/create-organization-migration-response-class.ts
|
|
52
|
+
models/create-report-schedule-request-dto.ts
|
|
53
|
+
models/create-report-schedule-response-class.ts
|
|
50
54
|
models/create-resources-migration-request-dto.ts
|
|
51
55
|
models/create-tenant-request-dto.ts
|
|
52
56
|
models/create-user-group-request-dto.ts
|
|
@@ -55,6 +59,7 @@ models/custom-field-dto.ts
|
|
|
55
59
|
models/custom-schema-class.ts
|
|
56
60
|
models/dashboard-class.ts
|
|
57
61
|
models/dashboard-group-class.ts
|
|
62
|
+
models/dashboard-metadata-class.ts
|
|
58
63
|
models/data-report-class.ts
|
|
59
64
|
models/data-report-filter-class.ts
|
|
60
65
|
models/data-report-filter-dto.ts
|
|
@@ -62,6 +67,7 @@ models/data-report-filter-single-value-dto.ts
|
|
|
62
67
|
models/data-report-filter-value-dto.ts
|
|
63
68
|
models/dbconfig-dto.ts
|
|
64
69
|
models/delete-response-class.ts
|
|
70
|
+
models/delete-tenant-request-dto.ts
|
|
65
71
|
models/disable-users-request-dto.ts
|
|
66
72
|
models/disable-users-response-class.ts
|
|
67
73
|
models/duplicate-dashboard-request-dto.ts
|
|
@@ -71,11 +77,13 @@ models/enable-users-response-class.ts
|
|
|
71
77
|
models/format-tenant-settings-class.ts
|
|
72
78
|
models/get-custom-schema-response-class.ts
|
|
73
79
|
models/get-dashboard-group-response-class.ts
|
|
80
|
+
models/get-dashboard-metadata-response-class.ts
|
|
74
81
|
models/get-dashboard-response-class.ts
|
|
75
82
|
models/get-data-report-response-class.ts
|
|
76
83
|
models/get-embedded-url-response-class.ts
|
|
77
84
|
models/get-organization-migration-response-class.ts
|
|
78
85
|
models/get-organization-response-class.ts
|
|
86
|
+
models/get-report-schedule-response-class.ts
|
|
79
87
|
models/get-settings-response-class.ts
|
|
80
88
|
models/get-user-group-response-class.ts
|
|
81
89
|
models/get-user-response-class.ts
|
|
@@ -99,6 +107,8 @@ models/list-invites-response-class.ts
|
|
|
99
107
|
models/list-org-invitations-response-class.ts
|
|
100
108
|
models/list-organization-migrations-response-class.ts
|
|
101
109
|
models/list-organizations-response-class.ts
|
|
110
|
+
models/list-report-schedule-logs-response-class.ts
|
|
111
|
+
models/list-report-schedules-response-class.ts
|
|
102
112
|
models/list-roles-response-class.ts
|
|
103
113
|
models/list-user-group-members-response-class.ts
|
|
104
114
|
models/list-user-groups-response-class.ts
|
|
@@ -109,8 +119,14 @@ models/organization-class.ts
|
|
|
109
119
|
models/organization-migration-class.ts
|
|
110
120
|
models/permission-class.ts
|
|
111
121
|
models/publish-dashboard-request-dto.ts
|
|
122
|
+
models/quick-sight-analysis-parameter-class.ts
|
|
112
123
|
models/re-invite-org-request-dto.ts
|
|
113
124
|
models/remove-users-from-group-request-dto.ts
|
|
125
|
+
models/report-schedule-class.ts
|
|
126
|
+
models/report-schedule-log-class.ts
|
|
127
|
+
models/report-schedule-parameter-class.ts
|
|
128
|
+
models/report-schedule-parameter-dto.ts
|
|
129
|
+
models/report-schedule-parameter-value-class.ts
|
|
114
130
|
models/revert-analysis-request-dto.ts
|
|
115
131
|
models/revert-organization-migration-request-dto.ts
|
|
116
132
|
models/revert-organization-migration-response-class.ts
|
|
@@ -134,6 +150,8 @@ models/update-data-report-request-dto.ts
|
|
|
134
150
|
models/update-data-report-response-class.ts
|
|
135
151
|
models/update-organization-request-dto-rest.ts
|
|
136
152
|
models/update-organization-response-class.ts
|
|
153
|
+
models/update-report-schedule-request-dto.ts
|
|
154
|
+
models/update-report-schedule-response-class.ts
|
|
137
155
|
models/update-user-group-request-dto.ts
|
|
138
156
|
models/update-user-group-response-class.ts
|
|
139
157
|
models/user-class.ts
|
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.39.
|
|
20
|
+
npm install @emilgroup/tenant-sdk-node@1.39.1-beta.10 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/tenant-sdk-node@1.39.
|
|
24
|
+
yarn add @emilgroup/tenant-sdk-node@1.39.1-beta.10
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `UsersApi`.
|
package/api/dashboard-api.ts
CHANGED
|
@@ -35,6 +35,8 @@ import { DuplicateDashboardRequestDto } from '../models';
|
|
|
35
35
|
// @ts-ignore
|
|
36
36
|
import { DuplicateDashboardResponseClass } from '../models';
|
|
37
37
|
// @ts-ignore
|
|
38
|
+
import { GetDashboardMetadataResponseClass } from '../models';
|
|
39
|
+
// @ts-ignore
|
|
38
40
|
import { GetDashboardResponseClass } from '../models';
|
|
39
41
|
// @ts-ignore
|
|
40
42
|
import { GetEmbeddedUrlResponseClass } from '../models';
|
|
@@ -375,6 +377,51 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
|
|
|
375
377
|
|
|
376
378
|
|
|
377
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
|
+
|
|
378
425
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
379
426
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
380
427
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -701,6 +748,18 @@ export const DashboardApiFp = function(configuration?: Configuration) {
|
|
|
701
748
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getDashboardEmbeddedUrl(providerDashboardId, authorization, options);
|
|
702
749
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
703
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
|
+
},
|
|
704
763
|
/**
|
|
705
764
|
* Fetches a paginated list of dashboards with optional filtering and sorting capabilities. **Required Permissions** \"reporting.dashboards.view\"
|
|
706
765
|
* @summary Retrieves a list of dashboards
|
|
@@ -845,6 +904,17 @@ export const DashboardApiFactory = function (configuration?: Configuration, base
|
|
|
845
904
|
getDashboardEmbeddedUrl(providerDashboardId: string, authorization?: string, options?: any): AxiosPromise<GetEmbeddedUrlResponseClass> {
|
|
846
905
|
return localVarFp.getDashboardEmbeddedUrl(providerDashboardId, authorization, options).then((request) => request(axios, basePath));
|
|
847
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
|
+
},
|
|
848
918
|
/**
|
|
849
919
|
* Fetches a paginated list of dashboards with optional filtering and sorting capabilities. **Required Permissions** \"reporting.dashboards.view\"
|
|
850
920
|
* @summary Retrieves a list of dashboards
|
|
@@ -1053,6 +1123,27 @@ export interface DashboardApiGetDashboardEmbeddedUrlRequest {
|
|
|
1053
1123
|
readonly authorization?: string
|
|
1054
1124
|
}
|
|
1055
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
|
+
|
|
1056
1147
|
/**
|
|
1057
1148
|
* Request parameters for listDashboards operation in DashboardApi.
|
|
1058
1149
|
* @export
|
|
@@ -1278,6 +1369,18 @@ export class DashboardApi extends BaseAPI {
|
|
|
1278
1369
|
return DashboardApiFp(this.configuration).getDashboardEmbeddedUrl(requestParameters.providerDashboardId, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1279
1370
|
}
|
|
1280
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
|
+
|
|
1281
1384
|
/**
|
|
1282
1385
|
* Fetches a paginated list of dashboards with optional filtering and sorting capabilities. **Required Permissions** \"reporting.dashboards.view\"
|
|
1283
1386
|
* @summary Retrieves a list of dashboards
|