@emilgroup/tenant-sdk-node 1.34.1-beta.21 → 1.34.1-beta.22
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 +30 -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/user-group-api.ts +1090 -0
- package/api.ts +6 -0
- package/base.ts +1 -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/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/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 +27 -0
- package/dist/models/index.js +27 -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/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 +27 -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/.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
|
|
@@ -63,12 +73,15 @@ models/enable-users-response-class.ts
|
|
|
63
73
|
models/format-tenant-settings-class.ts
|
|
64
74
|
models/get-custom-schema-response-class.ts
|
|
65
75
|
models/get-dashboard-group-response-class.ts
|
|
76
|
+
models/get-dashboard-metadata-response-class.ts
|
|
66
77
|
models/get-dashboard-response-class.ts
|
|
67
78
|
models/get-data-report-response-class.ts
|
|
68
79
|
models/get-embedded-url-response-class.ts
|
|
69
80
|
models/get-organization-migration-response-class.ts
|
|
70
81
|
models/get-organization-response-class.ts
|
|
82
|
+
models/get-report-schedule-response-class.ts
|
|
71
83
|
models/get-settings-response-class.ts
|
|
84
|
+
models/get-user-group-response-class.ts
|
|
72
85
|
models/get-user-response-class.ts
|
|
73
86
|
models/index.ts
|
|
74
87
|
models/initial-tenant-config-class.ts
|
|
@@ -90,7 +103,11 @@ models/list-invites-response-class.ts
|
|
|
90
103
|
models/list-org-invitations-response-class.ts
|
|
91
104
|
models/list-organization-migrations-response-class.ts
|
|
92
105
|
models/list-organizations-response-class.ts
|
|
106
|
+
models/list-report-schedule-logs-response-class.ts
|
|
107
|
+
models/list-report-schedules-response-class.ts
|
|
93
108
|
models/list-roles-response-class.ts
|
|
109
|
+
models/list-user-group-members-response-class.ts
|
|
110
|
+
models/list-user-groups-response-class.ts
|
|
94
111
|
models/list-users-response-class.ts
|
|
95
112
|
models/org-invitation-class.ts
|
|
96
113
|
models/org-invitation-response-class.ts
|
|
@@ -98,7 +115,14 @@ models/organization-class.ts
|
|
|
98
115
|
models/organization-migration-class.ts
|
|
99
116
|
models/permission-class.ts
|
|
100
117
|
models/publish-dashboard-request-dto.ts
|
|
118
|
+
models/quick-sight-analysis-parameter-class.ts
|
|
101
119
|
models/re-invite-org-request-dto.ts
|
|
120
|
+
models/remove-users-from-group-request-dto.ts
|
|
121
|
+
models/report-schedule-class.ts
|
|
122
|
+
models/report-schedule-log-class.ts
|
|
123
|
+
models/report-schedule-parameter-class.ts
|
|
124
|
+
models/report-schedule-parameter-dto.ts
|
|
125
|
+
models/report-schedule-parameter-value-class.ts
|
|
102
126
|
models/revert-analysis-request-dto.ts
|
|
103
127
|
models/revert-organization-migration-request-dto.ts
|
|
104
128
|
models/revert-organization-migration-response-class.ts
|
|
@@ -122,6 +146,12 @@ models/update-data-report-request-dto.ts
|
|
|
122
146
|
models/update-data-report-response-class.ts
|
|
123
147
|
models/update-organization-request-dto-rest.ts
|
|
124
148
|
models/update-organization-response-class.ts
|
|
149
|
+
models/update-report-schedule-request-dto.ts
|
|
150
|
+
models/update-report-schedule-response-class.ts
|
|
151
|
+
models/update-user-group-request-dto.ts
|
|
152
|
+
models/update-user-group-response-class.ts
|
|
125
153
|
models/user-class.ts
|
|
154
|
+
models/user-group-class.ts
|
|
155
|
+
models/user-group-member-class.ts
|
|
126
156
|
package.json
|
|
127
157
|
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.22 --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.22
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `UsersApi`.
|
package/api/dashboard-api.ts
CHANGED
|
@@ -33,6 +33,8 @@ import { DeleteResponseClass } from '../models';
|
|
|
33
33
|
// @ts-ignore
|
|
34
34
|
import { DuplicateDashboardResponseClass } from '../models';
|
|
35
35
|
// @ts-ignore
|
|
36
|
+
import { GetDashboardMetadataResponseClass } from '../models';
|
|
37
|
+
// @ts-ignore
|
|
36
38
|
import { GetDashboardResponseClass } from '../models';
|
|
37
39
|
// @ts-ignore
|
|
38
40
|
import { GetEmbeddedUrlResponseClass } from '../models';
|
|
@@ -367,6 +369,51 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
|
|
|
367
369
|
|
|
368
370
|
|
|
369
371
|
|
|
372
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
373
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
374
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
375
|
+
|
|
376
|
+
return {
|
|
377
|
+
url: toPathString(localVarUrlObj),
|
|
378
|
+
options: localVarRequestOptions,
|
|
379
|
+
};
|
|
380
|
+
},
|
|
381
|
+
/**
|
|
382
|
+
* Returns sheet names and parameter definitions for the dashboard analysis backing this record. **Required Permissions** \"reporting.dashboards.view\"
|
|
383
|
+
* @summary Retrieves QuickSight analysis metadata for a dashboard
|
|
384
|
+
* @param {string} code
|
|
385
|
+
* @param {string} [authorization] Bearer Token
|
|
386
|
+
* @param {*} [options] Override http request option.
|
|
387
|
+
* @throws {RequiredError}
|
|
388
|
+
*/
|
|
389
|
+
getDashboardMetadata: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
390
|
+
// verify required parameter 'code' is not null or undefined
|
|
391
|
+
assertParamExists('getDashboardMetadata', 'code', code)
|
|
392
|
+
const localVarPath = `/tenantservice/v1/dashboards/{code}/metadata`
|
|
393
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
394
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
395
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
396
|
+
let baseOptions;
|
|
397
|
+
let baseAccessToken;
|
|
398
|
+
if (configuration) {
|
|
399
|
+
baseOptions = configuration.baseOptions;
|
|
400
|
+
baseAccessToken = configuration.accessToken;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
404
|
+
const localVarHeaderParameter = {} as any;
|
|
405
|
+
const localVarQueryParameter = {} as any;
|
|
406
|
+
|
|
407
|
+
// authentication bearer required
|
|
408
|
+
// http bearer authentication required
|
|
409
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
410
|
+
|
|
411
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
412
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
|
|
370
417
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
371
418
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
372
419
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -692,6 +739,18 @@ export const DashboardApiFp = function(configuration?: Configuration) {
|
|
|
692
739
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getDashboardEmbeddedUrl(providerDashboardId, authorization, options);
|
|
693
740
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
694
741
|
},
|
|
742
|
+
/**
|
|
743
|
+
* Returns sheet names and parameter definitions for the dashboard analysis backing this record. **Required Permissions** \"reporting.dashboards.view\"
|
|
744
|
+
* @summary Retrieves QuickSight analysis metadata for a dashboard
|
|
745
|
+
* @param {string} code
|
|
746
|
+
* @param {string} [authorization] Bearer Token
|
|
747
|
+
* @param {*} [options] Override http request option.
|
|
748
|
+
* @throws {RequiredError}
|
|
749
|
+
*/
|
|
750
|
+
async getDashboardMetadata(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDashboardMetadataResponseClass>> {
|
|
751
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDashboardMetadata(code, authorization, options);
|
|
752
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
753
|
+
},
|
|
695
754
|
/**
|
|
696
755
|
* Fetches a paginated list of dashboards with optional filtering and sorting capabilities. **Required Permissions** \"reporting.dashboards.view\"
|
|
697
756
|
* @summary Retrieves a list of dashboards
|
|
@@ -835,6 +894,17 @@ export const DashboardApiFactory = function (configuration?: Configuration, base
|
|
|
835
894
|
getDashboardEmbeddedUrl(providerDashboardId: string, authorization?: string, options?: any): AxiosPromise<GetEmbeddedUrlResponseClass> {
|
|
836
895
|
return localVarFp.getDashboardEmbeddedUrl(providerDashboardId, authorization, options).then((request) => request(axios, basePath));
|
|
837
896
|
},
|
|
897
|
+
/**
|
|
898
|
+
* Returns sheet names and parameter definitions for the dashboard analysis backing this record. **Required Permissions** \"reporting.dashboards.view\"
|
|
899
|
+
* @summary Retrieves QuickSight analysis metadata for a dashboard
|
|
900
|
+
* @param {string} code
|
|
901
|
+
* @param {string} [authorization] Bearer Token
|
|
902
|
+
* @param {*} [options] Override http request option.
|
|
903
|
+
* @throws {RequiredError}
|
|
904
|
+
*/
|
|
905
|
+
getDashboardMetadata(code: string, authorization?: string, options?: any): AxiosPromise<GetDashboardMetadataResponseClass> {
|
|
906
|
+
return localVarFp.getDashboardMetadata(code, authorization, options).then((request) => request(axios, basePath));
|
|
907
|
+
},
|
|
838
908
|
/**
|
|
839
909
|
* Fetches a paginated list of dashboards with optional filtering and sorting capabilities. **Required Permissions** \"reporting.dashboards.view\"
|
|
840
910
|
* @summary Retrieves a list of dashboards
|
|
@@ -1036,6 +1106,27 @@ export interface DashboardApiGetDashboardEmbeddedUrlRequest {
|
|
|
1036
1106
|
readonly authorization?: string
|
|
1037
1107
|
}
|
|
1038
1108
|
|
|
1109
|
+
/**
|
|
1110
|
+
* Request parameters for getDashboardMetadata operation in DashboardApi.
|
|
1111
|
+
* @export
|
|
1112
|
+
* @interface DashboardApiGetDashboardMetadataRequest
|
|
1113
|
+
*/
|
|
1114
|
+
export interface DashboardApiGetDashboardMetadataRequest {
|
|
1115
|
+
/**
|
|
1116
|
+
*
|
|
1117
|
+
* @type {string}
|
|
1118
|
+
* @memberof DashboardApiGetDashboardMetadata
|
|
1119
|
+
*/
|
|
1120
|
+
readonly code: string
|
|
1121
|
+
|
|
1122
|
+
/**
|
|
1123
|
+
* Bearer Token
|
|
1124
|
+
* @type {string}
|
|
1125
|
+
* @memberof DashboardApiGetDashboardMetadata
|
|
1126
|
+
*/
|
|
1127
|
+
readonly authorization?: string
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1039
1130
|
/**
|
|
1040
1131
|
* Request parameters for listDashboards operation in DashboardApi.
|
|
1041
1132
|
* @export
|
|
@@ -1261,6 +1352,18 @@ export class DashboardApi extends BaseAPI {
|
|
|
1261
1352
|
return DashboardApiFp(this.configuration).getDashboardEmbeddedUrl(requestParameters.providerDashboardId, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1262
1353
|
}
|
|
1263
1354
|
|
|
1355
|
+
/**
|
|
1356
|
+
* Returns sheet names and parameter definitions for the dashboard analysis backing this record. **Required Permissions** \"reporting.dashboards.view\"
|
|
1357
|
+
* @summary Retrieves QuickSight analysis metadata for a dashboard
|
|
1358
|
+
* @param {DashboardApiGetDashboardMetadataRequest} requestParameters Request parameters.
|
|
1359
|
+
* @param {*} [options] Override http request option.
|
|
1360
|
+
* @throws {RequiredError}
|
|
1361
|
+
* @memberof DashboardApi
|
|
1362
|
+
*/
|
|
1363
|
+
public getDashboardMetadata(requestParameters: DashboardApiGetDashboardMetadataRequest, options?: AxiosRequestConfig) {
|
|
1364
|
+
return DashboardApiFp(this.configuration).getDashboardMetadata(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1365
|
+
}
|
|
1366
|
+
|
|
1264
1367
|
/**
|
|
1265
1368
|
* Fetches a paginated list of dashboards with optional filtering and sorting capabilities. **Required Permissions** \"reporting.dashboards.view\"
|
|
1266
1369
|
* @summary Retrieves a list of dashboards
|