@emilgroup/tenant-sdk-node 1.31.0 → 1.31.2-beta.0
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 +3 -0
- package/README.md +2 -2
- package/api/dashboard-api.ts +296 -46
- package/api/organization-migration-api.ts +12 -9
- package/dist/api/dashboard-api.d.ts +195 -42
- package/dist/api/dashboard-api.js +269 -44
- package/dist/api/organization-migration-api.d.ts +8 -8
- package/dist/api/organization-migration-api.js +6 -4
- package/dist/models/create-dashboard-v2-request-dto.d.ts +36 -0
- package/dist/models/create-dashboard-v2-request-dto.js +15 -0
- package/dist/models/create-dashboard-v2-response-class.d.ts +25 -0
- package/dist/models/create-dashboard-v2-response-class.js +15 -0
- package/dist/models/create-organization-migration-request-dto.d.ts +6 -0
- package/dist/models/create-resources-migration-request-dto.d.ts +6 -0
- package/dist/models/duplicate-dashboard-response-class.d.ts +25 -0
- package/dist/models/duplicate-dashboard-response-class.js +15 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/models/revert-organization-migration-request-dto.d.ts +6 -0
- package/models/create-dashboard-v2-request-dto.ts +42 -0
- package/models/create-dashboard-v2-response-class.ts +31 -0
- package/models/create-organization-migration-request-dto.ts +6 -0
- package/models/create-resources-migration-request-dto.ts +6 -0
- package/models/duplicate-dashboard-response-class.ts +31 -0
- package/models/index.ts +3 -0
- package/models/revert-organization-migration-request-dto.ts +6 -0
- package/package.json +1 -1
|
@@ -197,7 +197,7 @@ var OrganizationMigrationApiAxiosParamCreator = function (configuration) {
|
|
|
197
197
|
/**
|
|
198
198
|
* Retrieves an organization migration by its code. **Required Permissions** \"tenant-management.organizations.view\"
|
|
199
199
|
* @summary Get organization migration
|
|
200
|
-
* @param {
|
|
200
|
+
* @param {string} code Unique identifier for the object.
|
|
201
201
|
* @param {string} [expand] Fields to expand response by
|
|
202
202
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
203
203
|
* @param {*} [options] Override http request option.
|
|
@@ -213,7 +213,6 @@ var OrganizationMigrationApiAxiosParamCreator = function (configuration) {
|
|
|
213
213
|
// verify required parameter 'code' is not null or undefined
|
|
214
214
|
(0, common_1.assertParamExists)('getOrganizationMigration', 'code', code);
|
|
215
215
|
localVarPath = "/tenantservice/v1/organization-migrations/{code}"
|
|
216
|
-
.replace("{".concat("expand", "}"), encodeURIComponent(String(expand)))
|
|
217
216
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
218
217
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
219
218
|
if (configuration) {
|
|
@@ -230,6 +229,9 @@ var OrganizationMigrationApiAxiosParamCreator = function (configuration) {
|
|
|
230
229
|
// authentication bearer required
|
|
231
230
|
// http bearer authentication required
|
|
232
231
|
_a.sent();
|
|
232
|
+
if (expand !== undefined) {
|
|
233
|
+
localVarQueryParameter['expand'] = expand;
|
|
234
|
+
}
|
|
233
235
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
234
236
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
235
237
|
}
|
|
@@ -420,7 +422,7 @@ var OrganizationMigrationApiFp = function (configuration) {
|
|
|
420
422
|
/**
|
|
421
423
|
* Retrieves an organization migration by its code. **Required Permissions** \"tenant-management.organizations.view\"
|
|
422
424
|
* @summary Get organization migration
|
|
423
|
-
* @param {
|
|
425
|
+
* @param {string} code Unique identifier for the object.
|
|
424
426
|
* @param {string} [expand] Fields to expand response by
|
|
425
427
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
426
428
|
* @param {*} [options] Override http request option.
|
|
@@ -522,7 +524,7 @@ var OrganizationMigrationApiFactory = function (configuration, basePath, axios)
|
|
|
522
524
|
/**
|
|
523
525
|
* Retrieves an organization migration by its code. **Required Permissions** \"tenant-management.organizations.view\"
|
|
524
526
|
* @summary Get organization migration
|
|
525
|
-
* @param {
|
|
527
|
+
* @param {string} code Unique identifier for the object.
|
|
526
528
|
* @param {string} [expand] Fields to expand response by
|
|
527
529
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
528
530
|
* @param {*} [options] Override http request option.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL Tenant Service
|
|
3
|
+
* The EMIL TenantService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CreateDashboardV2RequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateDashboardV2RequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Dashboard name
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateDashboardV2RequestDto
|
|
22
|
+
*/
|
|
23
|
+
'dashboardName': string;
|
|
24
|
+
/**
|
|
25
|
+
* Dashboard description
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateDashboardV2RequestDto
|
|
28
|
+
*/
|
|
29
|
+
'description': string;
|
|
30
|
+
/**
|
|
31
|
+
* Dashboard group id
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof CreateDashboardV2RequestDto
|
|
34
|
+
*/
|
|
35
|
+
'dashboardGroupId'?: number;
|
|
36
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL Tenant Service
|
|
6
|
+
* The EMIL TenantService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL Tenant Service
|
|
3
|
+
* The EMIL TenantService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { DashboardClass } from './dashboard-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateDashboardV2ResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateDashboardV2ResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* Dashboard
|
|
21
|
+
* @type {DashboardClass}
|
|
22
|
+
* @memberof CreateDashboardV2ResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'dashboard': DashboardClass;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL Tenant Service
|
|
6
|
+
* The EMIL TenantService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -39,4 +39,10 @@ export interface CreateOrganizationMigrationRequestDto {
|
|
|
39
39
|
* @memberof CreateOrganizationMigrationRequestDto
|
|
40
40
|
*/
|
|
41
41
|
'onlySubtenants'?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CreateOrganizationMigrationRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'startTime'?: string;
|
|
42
48
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL Tenant Service
|
|
3
|
+
* The EMIL TenantService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { DashboardClass } from './dashboard-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface DuplicateDashboardResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface DuplicateDashboardResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* Duplicated dashboard
|
|
21
|
+
* @type {DashboardClass}
|
|
22
|
+
* @memberof DuplicateDashboardResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'dashboard': DashboardClass;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL Tenant Service
|
|
6
|
+
* The EMIL TenantService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/models/index.d.ts
CHANGED
|
@@ -8,6 +8,8 @@ export * from './create-dashboard-group-request-dto';
|
|
|
8
8
|
export * from './create-dashboard-group-response-class';
|
|
9
9
|
export * from './create-dashboard-request-dto';
|
|
10
10
|
export * from './create-dashboard-response-class';
|
|
11
|
+
export * from './create-dashboard-v2-request-dto';
|
|
12
|
+
export * from './create-dashboard-v2-response-class';
|
|
11
13
|
export * from './create-data-report-request-dto';
|
|
12
14
|
export * from './create-data-report-response-class';
|
|
13
15
|
export * from './create-organization-migration-request-dto';
|
|
@@ -27,6 +29,7 @@ export * from './data-report-filter-value-dto';
|
|
|
27
29
|
export * from './delete-response-class';
|
|
28
30
|
export * from './disable-users-request-dto';
|
|
29
31
|
export * from './disable-users-response-class';
|
|
32
|
+
export * from './duplicate-dashboard-response-class';
|
|
30
33
|
export * from './enable-users-request-dto';
|
|
31
34
|
export * from './enable-users-response-class';
|
|
32
35
|
export * from './format-tenant-settings-class';
|
package/dist/models/index.js
CHANGED
|
@@ -24,6 +24,8 @@ __exportStar(require("./create-dashboard-group-request-dto"), exports);
|
|
|
24
24
|
__exportStar(require("./create-dashboard-group-response-class"), exports);
|
|
25
25
|
__exportStar(require("./create-dashboard-request-dto"), exports);
|
|
26
26
|
__exportStar(require("./create-dashboard-response-class"), exports);
|
|
27
|
+
__exportStar(require("./create-dashboard-v2-request-dto"), exports);
|
|
28
|
+
__exportStar(require("./create-dashboard-v2-response-class"), exports);
|
|
27
29
|
__exportStar(require("./create-data-report-request-dto"), exports);
|
|
28
30
|
__exportStar(require("./create-data-report-response-class"), exports);
|
|
29
31
|
__exportStar(require("./create-organization-migration-request-dto"), exports);
|
|
@@ -43,6 +45,7 @@ __exportStar(require("./data-report-filter-value-dto"), exports);
|
|
|
43
45
|
__exportStar(require("./delete-response-class"), exports);
|
|
44
46
|
__exportStar(require("./disable-users-request-dto"), exports);
|
|
45
47
|
__exportStar(require("./disable-users-response-class"), exports);
|
|
48
|
+
__exportStar(require("./duplicate-dashboard-response-class"), exports);
|
|
46
49
|
__exportStar(require("./enable-users-request-dto"), exports);
|
|
47
50
|
__exportStar(require("./enable-users-response-class"), exports);
|
|
48
51
|
__exportStar(require("./format-tenant-settings-class"), exports);
|
|
@@ -27,4 +27,10 @@ export interface RevertOrganizationMigrationRequestDto {
|
|
|
27
27
|
* @memberof RevertOrganizationMigrationRequestDto
|
|
28
28
|
*/
|
|
29
29
|
'dryRun'?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof RevertOrganizationMigrationRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'startTime'?: string;
|
|
30
36
|
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL Tenant Service
|
|
5
|
+
* The EMIL TenantService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface CreateDashboardV2RequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateDashboardV2RequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Dashboard name
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateDashboardV2RequestDto
|
|
27
|
+
*/
|
|
28
|
+
'dashboardName': string;
|
|
29
|
+
/**
|
|
30
|
+
* Dashboard description
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateDashboardV2RequestDto
|
|
33
|
+
*/
|
|
34
|
+
'description': string;
|
|
35
|
+
/**
|
|
36
|
+
* Dashboard group id
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof CreateDashboardV2RequestDto
|
|
39
|
+
*/
|
|
40
|
+
'dashboardGroupId'?: number;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL Tenant Service
|
|
5
|
+
* The EMIL TenantService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { DashboardClass } from './dashboard-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateDashboardV2ResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateDashboardV2ResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Dashboard
|
|
26
|
+
* @type {DashboardClass}
|
|
27
|
+
* @memberof CreateDashboardV2ResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'dashboard': DashboardClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -44,5 +44,11 @@ export interface CreateOrganizationMigrationRequestDto {
|
|
|
44
44
|
* @memberof CreateOrganizationMigrationRequestDto
|
|
45
45
|
*/
|
|
46
46
|
'onlySubtenants'?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CreateOrganizationMigrationRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'startTime'?: string;
|
|
47
53
|
}
|
|
48
54
|
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL Tenant Service
|
|
5
|
+
* The EMIL TenantService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { DashboardClass } from './dashboard-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface DuplicateDashboardResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface DuplicateDashboardResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Duplicated dashboard
|
|
26
|
+
* @type {DashboardClass}
|
|
27
|
+
* @memberof DuplicateDashboardResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'dashboard': DashboardClass;
|
|
30
|
+
}
|
|
31
|
+
|
package/models/index.ts
CHANGED
|
@@ -8,6 +8,8 @@ export * from './create-dashboard-group-request-dto';
|
|
|
8
8
|
export * from './create-dashboard-group-response-class';
|
|
9
9
|
export * from './create-dashboard-request-dto';
|
|
10
10
|
export * from './create-dashboard-response-class';
|
|
11
|
+
export * from './create-dashboard-v2-request-dto';
|
|
12
|
+
export * from './create-dashboard-v2-response-class';
|
|
11
13
|
export * from './create-data-report-request-dto';
|
|
12
14
|
export * from './create-data-report-response-class';
|
|
13
15
|
export * from './create-organization-migration-request-dto';
|
|
@@ -27,6 +29,7 @@ export * from './data-report-filter-value-dto';
|
|
|
27
29
|
export * from './delete-response-class';
|
|
28
30
|
export * from './disable-users-request-dto';
|
|
29
31
|
export * from './disable-users-response-class';
|
|
32
|
+
export * from './duplicate-dashboard-response-class';
|
|
30
33
|
export * from './enable-users-request-dto';
|
|
31
34
|
export * from './enable-users-response-class';
|
|
32
35
|
export * from './format-tenant-settings-class';
|
|
@@ -32,5 +32,11 @@ export interface RevertOrganizationMigrationRequestDto {
|
|
|
32
32
|
* @memberof RevertOrganizationMigrationRequestDto
|
|
33
33
|
*/
|
|
34
34
|
'dryRun'?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof RevertOrganizationMigrationRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'startTime'?: string;
|
|
35
41
|
}
|
|
36
42
|
|