@emilgroup/tenant-sdk-node 1.34.1-beta.40 → 1.34.1-beta.42
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 +2 -0
- package/README.md +2 -2
- package/dist/models/admin-initial-tenant-config-dto.d.ts +30 -0
- package/dist/models/admin-initial-tenant-config-dto.js +15 -0
- package/dist/models/create-admin-tenant-request-dto.d.ts +57 -0
- package/dist/models/create-admin-tenant-request-dto.js +15 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/models/admin-initial-tenant-config-dto.ts +36 -0
- package/models/create-admin-tenant-request-dto.ts +63 -0
- package/models/index.ts +2 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -29,10 +29,12 @@ git_push.sh
|
|
|
29
29
|
index.ts
|
|
30
30
|
models/add-users-to-group-request-dto.ts
|
|
31
31
|
models/add-users-to-group-response-class.ts
|
|
32
|
+
models/admin-initial-tenant-config-dto.ts
|
|
32
33
|
models/assign-user-roles-request-dto.ts
|
|
33
34
|
models/assign-user-roles-response-class.ts
|
|
34
35
|
models/batch-delete-request-dto.ts
|
|
35
36
|
models/batch-delete-response-class.ts
|
|
37
|
+
models/create-admin-tenant-request-dto.ts
|
|
36
38
|
models/create-custom-schema-request-dto.ts
|
|
37
39
|
models/create-custom-schema-response-class.ts
|
|
38
40
|
models/create-dashboard-group-request-dto.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.34.1-beta.
|
|
20
|
+
npm install @emilgroup/tenant-sdk-node@1.34.1-beta.42 --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.42
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `UsersApi`.
|
|
@@ -0,0 +1,30 @@
|
|
|
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 AdminInitialTenantConfigDto
|
|
16
|
+
*/
|
|
17
|
+
export interface AdminInitialTenantConfigDto {
|
|
18
|
+
/**
|
|
19
|
+
* Initial role names to provision
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof AdminInitialTenantConfigDto
|
|
22
|
+
*/
|
|
23
|
+
'roles'?: Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
* Initial tenant settings (free-form configuration objects)
|
|
26
|
+
* @type {object}
|
|
27
|
+
* @memberof AdminInitialTenantConfigDto
|
|
28
|
+
*/
|
|
29
|
+
'tenantSettings': object;
|
|
30
|
+
}
|
|
@@ -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,57 @@
|
|
|
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 { AdminInitialTenantConfigDto } from './admin-initial-tenant-config-dto';
|
|
13
|
+
import { DBConfigDto } from './dbconfig-dto';
|
|
14
|
+
import { TenantAdminUserDto } from './tenant-admin-user-dto';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface CreateAdminTenantRequestDto
|
|
19
|
+
*/
|
|
20
|
+
export interface CreateAdminTenantRequestDto {
|
|
21
|
+
/**
|
|
22
|
+
* Tenant\'s name
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof CreateAdminTenantRequestDto
|
|
25
|
+
*/
|
|
26
|
+
'name': string;
|
|
27
|
+
/**
|
|
28
|
+
* Optional slug; derived from the name when omitted. The environment suffix is appended automatically.
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof CreateAdminTenantRequestDto
|
|
31
|
+
*/
|
|
32
|
+
'slug'?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Id of the tenant\'s tier
|
|
35
|
+
* @type {number}
|
|
36
|
+
* @memberof CreateAdminTenantRequestDto
|
|
37
|
+
*/
|
|
38
|
+
'tierId': number;
|
|
39
|
+
/**
|
|
40
|
+
* The tenant\'s admin user account
|
|
41
|
+
* @type {TenantAdminUserDto}
|
|
42
|
+
* @memberof CreateAdminTenantRequestDto
|
|
43
|
+
*/
|
|
44
|
+
'adminUser': TenantAdminUserDto;
|
|
45
|
+
/**
|
|
46
|
+
* Description of the tenant\'s dedicated database. If omitted, the default pooled database is used.
|
|
47
|
+
* @type {DBConfigDto}
|
|
48
|
+
* @memberof CreateAdminTenantRequestDto
|
|
49
|
+
*/
|
|
50
|
+
'dbConfig'?: DBConfigDto;
|
|
51
|
+
/**
|
|
52
|
+
* Initial roles and tenant settings
|
|
53
|
+
* @type {AdminInitialTenantConfigDto}
|
|
54
|
+
* @memberof CreateAdminTenantRequestDto
|
|
55
|
+
*/
|
|
56
|
+
'initialConfig': AdminInitialTenantConfigDto;
|
|
57
|
+
}
|
|
@@ -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
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
export * from './add-users-to-group-request-dto';
|
|
2
2
|
export * from './add-users-to-group-response-class';
|
|
3
|
+
export * from './admin-initial-tenant-config-dto';
|
|
3
4
|
export * from './assign-user-roles-request-dto';
|
|
4
5
|
export * from './assign-user-roles-response-class';
|
|
5
6
|
export * from './batch-delete-request-dto';
|
|
6
7
|
export * from './batch-delete-response-class';
|
|
8
|
+
export * from './create-admin-tenant-request-dto';
|
|
7
9
|
export * from './create-custom-schema-request-dto';
|
|
8
10
|
export * from './create-custom-schema-response-class';
|
|
9
11
|
export * from './create-dashboard-group-request-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -16,10 +16,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./add-users-to-group-request-dto"), exports);
|
|
18
18
|
__exportStar(require("./add-users-to-group-response-class"), exports);
|
|
19
|
+
__exportStar(require("./admin-initial-tenant-config-dto"), exports);
|
|
19
20
|
__exportStar(require("./assign-user-roles-request-dto"), exports);
|
|
20
21
|
__exportStar(require("./assign-user-roles-response-class"), exports);
|
|
21
22
|
__exportStar(require("./batch-delete-request-dto"), exports);
|
|
22
23
|
__exportStar(require("./batch-delete-response-class"), exports);
|
|
24
|
+
__exportStar(require("./create-admin-tenant-request-dto"), exports);
|
|
23
25
|
__exportStar(require("./create-custom-schema-request-dto"), exports);
|
|
24
26
|
__exportStar(require("./create-custom-schema-response-class"), exports);
|
|
25
27
|
__exportStar(require("./create-dashboard-group-request-dto"), exports);
|
|
@@ -0,0 +1,36 @@
|
|
|
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 AdminInitialTenantConfigDto
|
|
21
|
+
*/
|
|
22
|
+
export interface AdminInitialTenantConfigDto {
|
|
23
|
+
/**
|
|
24
|
+
* Initial role names to provision
|
|
25
|
+
* @type {Array<string>}
|
|
26
|
+
* @memberof AdminInitialTenantConfigDto
|
|
27
|
+
*/
|
|
28
|
+
'roles'?: Array<string>;
|
|
29
|
+
/**
|
|
30
|
+
* Initial tenant settings (free-form configuration objects)
|
|
31
|
+
* @type {object}
|
|
32
|
+
* @memberof AdminInitialTenantConfigDto
|
|
33
|
+
*/
|
|
34
|
+
'tenantSettings': object;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,63 @@
|
|
|
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 { AdminInitialTenantConfigDto } from './admin-initial-tenant-config-dto';
|
|
17
|
+
import { DBConfigDto } from './dbconfig-dto';
|
|
18
|
+
import { TenantAdminUserDto } from './tenant-admin-user-dto';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface CreateAdminTenantRequestDto
|
|
24
|
+
*/
|
|
25
|
+
export interface CreateAdminTenantRequestDto {
|
|
26
|
+
/**
|
|
27
|
+
* Tenant\'s name
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof CreateAdminTenantRequestDto
|
|
30
|
+
*/
|
|
31
|
+
'name': string;
|
|
32
|
+
/**
|
|
33
|
+
* Optional slug; derived from the name when omitted. The environment suffix is appended automatically.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof CreateAdminTenantRequestDto
|
|
36
|
+
*/
|
|
37
|
+
'slug'?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Id of the tenant\'s tier
|
|
40
|
+
* @type {number}
|
|
41
|
+
* @memberof CreateAdminTenantRequestDto
|
|
42
|
+
*/
|
|
43
|
+
'tierId': number;
|
|
44
|
+
/**
|
|
45
|
+
* The tenant\'s admin user account
|
|
46
|
+
* @type {TenantAdminUserDto}
|
|
47
|
+
* @memberof CreateAdminTenantRequestDto
|
|
48
|
+
*/
|
|
49
|
+
'adminUser': TenantAdminUserDto;
|
|
50
|
+
/**
|
|
51
|
+
* Description of the tenant\'s dedicated database. If omitted, the default pooled database is used.
|
|
52
|
+
* @type {DBConfigDto}
|
|
53
|
+
* @memberof CreateAdminTenantRequestDto
|
|
54
|
+
*/
|
|
55
|
+
'dbConfig'?: DBConfigDto;
|
|
56
|
+
/**
|
|
57
|
+
* Initial roles and tenant settings
|
|
58
|
+
* @type {AdminInitialTenantConfigDto}
|
|
59
|
+
* @memberof CreateAdminTenantRequestDto
|
|
60
|
+
*/
|
|
61
|
+
'initialConfig': AdminInitialTenantConfigDto;
|
|
62
|
+
}
|
|
63
|
+
|
package/models/index.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
export * from './add-users-to-group-request-dto';
|
|
2
2
|
export * from './add-users-to-group-response-class';
|
|
3
|
+
export * from './admin-initial-tenant-config-dto';
|
|
3
4
|
export * from './assign-user-roles-request-dto';
|
|
4
5
|
export * from './assign-user-roles-response-class';
|
|
5
6
|
export * from './batch-delete-request-dto';
|
|
6
7
|
export * from './batch-delete-response-class';
|
|
8
|
+
export * from './create-admin-tenant-request-dto';
|
|
7
9
|
export * from './create-custom-schema-request-dto';
|
|
8
10
|
export * from './create-custom-schema-response-class';
|
|
9
11
|
export * from './create-dashboard-group-request-dto';
|