@emilgroup/tenant-sdk 1.36.1-beta.22 → 1.36.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 +30 -0
- package/README.md +2 -2
- package/api/dashboard-api.ts +103 -0
- 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 +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 +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/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@1.36.1-beta.
|
|
20
|
+
npm install @emilgroup/tenant-sdk@1.36.1-beta.23 --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.23
|
|
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';
|
|
@@ -363,6 +365,51 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
|
|
|
363
365
|
|
|
364
366
|
|
|
365
367
|
|
|
368
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
369
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
370
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
371
|
+
|
|
372
|
+
return {
|
|
373
|
+
url: toPathString(localVarUrlObj),
|
|
374
|
+
options: localVarRequestOptions,
|
|
375
|
+
};
|
|
376
|
+
},
|
|
377
|
+
/**
|
|
378
|
+
* Returns sheet names and parameter definitions for the dashboard analysis backing this record. **Required Permissions** \"reporting.dashboards.view\"
|
|
379
|
+
* @summary Retrieves QuickSight analysis metadata for a dashboard
|
|
380
|
+
* @param {string} code
|
|
381
|
+
* @param {string} [authorization] Bearer Token
|
|
382
|
+
* @param {*} [options] Override http request option.
|
|
383
|
+
* @throws {RequiredError}
|
|
384
|
+
*/
|
|
385
|
+
getDashboardMetadata: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
386
|
+
// verify required parameter 'code' is not null or undefined
|
|
387
|
+
assertParamExists('getDashboardMetadata', 'code', code)
|
|
388
|
+
const localVarPath = `/tenantservice/v1/dashboards/{code}/metadata`
|
|
389
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
390
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
391
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
392
|
+
let baseOptions;
|
|
393
|
+
let baseAccessToken;
|
|
394
|
+
if (configuration) {
|
|
395
|
+
baseOptions = configuration.baseOptions;
|
|
396
|
+
baseAccessToken = configuration.accessToken;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
400
|
+
const localVarHeaderParameter = {} as any;
|
|
401
|
+
const localVarQueryParameter = {} as any;
|
|
402
|
+
|
|
403
|
+
// authentication bearer required
|
|
404
|
+
// http bearer authentication required
|
|
405
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
406
|
+
|
|
407
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
408
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
|
|
366
413
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
367
414
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
368
415
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -688,6 +735,18 @@ export const DashboardApiFp = function(configuration?: Configuration) {
|
|
|
688
735
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getDashboardEmbeddedUrl(providerDashboardId, authorization, options);
|
|
689
736
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
690
737
|
},
|
|
738
|
+
/**
|
|
739
|
+
* Returns sheet names and parameter definitions for the dashboard analysis backing this record. **Required Permissions** \"reporting.dashboards.view\"
|
|
740
|
+
* @summary Retrieves QuickSight analysis metadata for a dashboard
|
|
741
|
+
* @param {string} code
|
|
742
|
+
* @param {string} [authorization] Bearer Token
|
|
743
|
+
* @param {*} [options] Override http request option.
|
|
744
|
+
* @throws {RequiredError}
|
|
745
|
+
*/
|
|
746
|
+
async getDashboardMetadata(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDashboardMetadataResponseClass>> {
|
|
747
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDashboardMetadata(code, authorization, options);
|
|
748
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
749
|
+
},
|
|
691
750
|
/**
|
|
692
751
|
* Fetches a paginated list of dashboards with optional filtering and sorting capabilities. **Required Permissions** \"reporting.dashboards.view\"
|
|
693
752
|
* @summary Retrieves a list of dashboards
|
|
@@ -831,6 +890,17 @@ export const DashboardApiFactory = function (configuration?: Configuration, base
|
|
|
831
890
|
getDashboardEmbeddedUrl(providerDashboardId: string, authorization?: string, options?: any): AxiosPromise<GetEmbeddedUrlResponseClass> {
|
|
832
891
|
return localVarFp.getDashboardEmbeddedUrl(providerDashboardId, authorization, options).then((request) => request(axios, basePath));
|
|
833
892
|
},
|
|
893
|
+
/**
|
|
894
|
+
* Returns sheet names and parameter definitions for the dashboard analysis backing this record. **Required Permissions** \"reporting.dashboards.view\"
|
|
895
|
+
* @summary Retrieves QuickSight analysis metadata for a dashboard
|
|
896
|
+
* @param {string} code
|
|
897
|
+
* @param {string} [authorization] Bearer Token
|
|
898
|
+
* @param {*} [options] Override http request option.
|
|
899
|
+
* @throws {RequiredError}
|
|
900
|
+
*/
|
|
901
|
+
getDashboardMetadata(code: string, authorization?: string, options?: any): AxiosPromise<GetDashboardMetadataResponseClass> {
|
|
902
|
+
return localVarFp.getDashboardMetadata(code, authorization, options).then((request) => request(axios, basePath));
|
|
903
|
+
},
|
|
834
904
|
/**
|
|
835
905
|
* Fetches a paginated list of dashboards with optional filtering and sorting capabilities. **Required Permissions** \"reporting.dashboards.view\"
|
|
836
906
|
* @summary Retrieves a list of dashboards
|
|
@@ -1032,6 +1102,27 @@ export interface DashboardApiGetDashboardEmbeddedUrlRequest {
|
|
|
1032
1102
|
readonly authorization?: string
|
|
1033
1103
|
}
|
|
1034
1104
|
|
|
1105
|
+
/**
|
|
1106
|
+
* Request parameters for getDashboardMetadata operation in DashboardApi.
|
|
1107
|
+
* @export
|
|
1108
|
+
* @interface DashboardApiGetDashboardMetadataRequest
|
|
1109
|
+
*/
|
|
1110
|
+
export interface DashboardApiGetDashboardMetadataRequest {
|
|
1111
|
+
/**
|
|
1112
|
+
*
|
|
1113
|
+
* @type {string}
|
|
1114
|
+
* @memberof DashboardApiGetDashboardMetadata
|
|
1115
|
+
*/
|
|
1116
|
+
readonly code: string
|
|
1117
|
+
|
|
1118
|
+
/**
|
|
1119
|
+
* Bearer Token
|
|
1120
|
+
* @type {string}
|
|
1121
|
+
* @memberof DashboardApiGetDashboardMetadata
|
|
1122
|
+
*/
|
|
1123
|
+
readonly authorization?: string
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1035
1126
|
/**
|
|
1036
1127
|
* Request parameters for listDashboards operation in DashboardApi.
|
|
1037
1128
|
* @export
|
|
@@ -1257,6 +1348,18 @@ export class DashboardApi extends BaseAPI {
|
|
|
1257
1348
|
return DashboardApiFp(this.configuration).getDashboardEmbeddedUrl(requestParameters.providerDashboardId, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1258
1349
|
}
|
|
1259
1350
|
|
|
1351
|
+
/**
|
|
1352
|
+
* Returns sheet names and parameter definitions for the dashboard analysis backing this record. **Required Permissions** \"reporting.dashboards.view\"
|
|
1353
|
+
* @summary Retrieves QuickSight analysis metadata for a dashboard
|
|
1354
|
+
* @param {DashboardApiGetDashboardMetadataRequest} requestParameters Request parameters.
|
|
1355
|
+
* @param {*} [options] Override http request option.
|
|
1356
|
+
* @throws {RequiredError}
|
|
1357
|
+
* @memberof DashboardApi
|
|
1358
|
+
*/
|
|
1359
|
+
public getDashboardMetadata(requestParameters: DashboardApiGetDashboardMetadataRequest, options?: AxiosRequestConfig) {
|
|
1360
|
+
return DashboardApiFp(this.configuration).getDashboardMetadata(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1361
|
+
}
|
|
1362
|
+
|
|
1260
1363
|
/**
|
|
1261
1364
|
* Fetches a paginated list of dashboards with optional filtering and sorting capabilities. **Required Permissions** \"reporting.dashboards.view\"
|
|
1262
1365
|
* @summary Retrieves a list of dashboards
|