@emilgroup/tenant-sdk-node 1.39.1-beta.85 → 1.39.1-beta.86

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.
@@ -74,6 +74,7 @@ models/data-report-filter-value-dto.ts
74
74
  models/dbconfig-dto.ts
75
75
  models/delete-by-code-response-class.ts
76
76
  models/delete-response-class.ts
77
+ models/delete-tenant-request-dto.ts
77
78
  models/disable-users-request-dto.ts
78
79
  models/disable-users-response-class.ts
79
80
  models/duplicate-dashboard-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.39.1-beta.85 --save
20
+ npm install @emilgroup/tenant-sdk-node@1.39.1-beta.86 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/tenant-sdk-node@1.39.1-beta.85
24
+ yarn add @emilgroup/tenant-sdk-node@1.39.1-beta.86
25
25
  ```
26
26
 
27
27
  And then you can import `UsersApi`.
@@ -48,6 +48,12 @@ export interface CreateAdminTenantRequestDto {
48
48
  * @memberof CreateAdminTenantRequestDto
49
49
  */
50
50
  'dbConfig'?: DBConfigDto;
51
+ /**
52
+ * The tenant\'s business model. Defaults to MGA when omitted.
53
+ * @type {string}
54
+ * @memberof CreateAdminTenantRequestDto
55
+ */
56
+ 'businessModel'?: CreateAdminTenantRequestDtoBusinessModelEnum;
51
57
  /**
52
58
  * Initial roles and tenant settings
53
59
  * @type {AdminInitialTenantConfigDto}
@@ -55,3 +61,8 @@ export interface CreateAdminTenantRequestDto {
55
61
  */
56
62
  'initialConfig': AdminInitialTenantConfigDto;
57
63
  }
64
+ export declare const CreateAdminTenantRequestDtoBusinessModelEnum: {
65
+ readonly Mga: "MGA";
66
+ readonly RiskCarrier: "RISK_CARRIER";
67
+ };
68
+ export type CreateAdminTenantRequestDtoBusinessModelEnum = typeof CreateAdminTenantRequestDtoBusinessModelEnum[keyof typeof CreateAdminTenantRequestDtoBusinessModelEnum];
@@ -13,3 +13,8 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.CreateAdminTenantRequestDtoBusinessModelEnum = void 0;
17
+ exports.CreateAdminTenantRequestDtoBusinessModelEnum = {
18
+ Mga: 'MGA',
19
+ RiskCarrier: 'RISK_CARRIER'
20
+ };
@@ -42,6 +42,12 @@ export interface CreateTenantRequestDto {
42
42
  * @memberof CreateTenantRequestDto
43
43
  */
44
44
  'dbConfig'?: DBConfigDto;
45
+ /**
46
+ * The tenant\'s business model. Defaults to MGA when omitted.
47
+ * @type {string}
48
+ * @memberof CreateTenantRequestDto
49
+ */
50
+ 'businessModel'?: CreateTenantRequestDtoBusinessModelEnum;
45
51
  /**
46
52
  * Initial tenant settings like roles, tenant configurations about payment etc
47
53
  * @type {InitialTenantConfigClass}
@@ -55,3 +61,8 @@ export interface CreateTenantRequestDto {
55
61
  */
56
62
  'slug'?: string;
57
63
  }
64
+ export declare const CreateTenantRequestDtoBusinessModelEnum: {
65
+ readonly Mga: "MGA";
66
+ readonly RiskCarrier: "RISK_CARRIER";
67
+ };
68
+ export type CreateTenantRequestDtoBusinessModelEnum = typeof CreateTenantRequestDtoBusinessModelEnum[keyof typeof CreateTenantRequestDtoBusinessModelEnum];
@@ -13,3 +13,8 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.CreateTenantRequestDtoBusinessModelEnum = void 0;
17
+ exports.CreateTenantRequestDtoBusinessModelEnum = {
18
+ Mga: 'MGA',
19
+ RiskCarrier: 'RISK_CARRIER'
20
+ };
@@ -45,4 +45,10 @@ export interface DBConfigDto {
45
45
  * @memberof DBConfigDto
46
46
  */
47
47
  'username': string;
48
+ /**
49
+ * Optional prefix applied to database/schema names when a tenant shares an RDS instance with other tenants but needs isolated database naming
50
+ * @type {string}
51
+ * @memberof DBConfigDto
52
+ */
53
+ 'databasePrefix'?: string;
48
54
  }
@@ -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 DeleteTenantRequestDto
16
+ */
17
+ export interface DeleteTenantRequestDto {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof DeleteTenantRequestDto
22
+ */
23
+ 'tenantSlug': string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof DeleteTenantRequestDto
28
+ */
29
+ 'confirmationSlug': string;
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 });
@@ -41,6 +41,7 @@ export * from './data-report-filter-single-value-dto';
41
41
  export * from './data-report-filter-value-dto';
42
42
  export * from './delete-by-code-response-class';
43
43
  export * from './delete-response-class';
44
+ export * from './delete-tenant-request-dto';
44
45
  export * from './disable-users-request-dto';
45
46
  export * from './disable-users-response-class';
46
47
  export * from './duplicate-dashboard-request-dto';
@@ -57,6 +57,7 @@ __exportStar(require("./data-report-filter-single-value-dto"), exports);
57
57
  __exportStar(require("./data-report-filter-value-dto"), exports);
58
58
  __exportStar(require("./delete-by-code-response-class"), exports);
59
59
  __exportStar(require("./delete-response-class"), exports);
60
+ __exportStar(require("./delete-tenant-request-dto"), exports);
60
61
  __exportStar(require("./disable-users-request-dto"), exports);
61
62
  __exportStar(require("./disable-users-response-class"), exports);
62
63
  __exportStar(require("./duplicate-dashboard-request-dto"), exports);
@@ -53,6 +53,12 @@ export interface CreateAdminTenantRequestDto {
53
53
  * @memberof CreateAdminTenantRequestDto
54
54
  */
55
55
  'dbConfig'?: DBConfigDto;
56
+ /**
57
+ * The tenant\'s business model. Defaults to MGA when omitted.
58
+ * @type {string}
59
+ * @memberof CreateAdminTenantRequestDto
60
+ */
61
+ 'businessModel'?: CreateAdminTenantRequestDtoBusinessModelEnum;
56
62
  /**
57
63
  * Initial roles and tenant settings
58
64
  * @type {AdminInitialTenantConfigDto}
@@ -61,3 +67,11 @@ export interface CreateAdminTenantRequestDto {
61
67
  'initialConfig': AdminInitialTenantConfigDto;
62
68
  }
63
69
 
70
+ export const CreateAdminTenantRequestDtoBusinessModelEnum = {
71
+ Mga: 'MGA',
72
+ RiskCarrier: 'RISK_CARRIER'
73
+ } as const;
74
+
75
+ export type CreateAdminTenantRequestDtoBusinessModelEnum = typeof CreateAdminTenantRequestDtoBusinessModelEnum[keyof typeof CreateAdminTenantRequestDtoBusinessModelEnum];
76
+
77
+
@@ -47,6 +47,12 @@ export interface CreateTenantRequestDto {
47
47
  * @memberof CreateTenantRequestDto
48
48
  */
49
49
  'dbConfig'?: DBConfigDto;
50
+ /**
51
+ * The tenant\'s business model. Defaults to MGA when omitted.
52
+ * @type {string}
53
+ * @memberof CreateTenantRequestDto
54
+ */
55
+ 'businessModel'?: CreateTenantRequestDtoBusinessModelEnum;
50
56
  /**
51
57
  * Initial tenant settings like roles, tenant configurations about payment etc
52
58
  * @type {InitialTenantConfigClass}
@@ -61,3 +67,11 @@ export interface CreateTenantRequestDto {
61
67
  'slug'?: string;
62
68
  }
63
69
 
70
+ export const CreateTenantRequestDtoBusinessModelEnum = {
71
+ Mga: 'MGA',
72
+ RiskCarrier: 'RISK_CARRIER'
73
+ } as const;
74
+
75
+ export type CreateTenantRequestDtoBusinessModelEnum = typeof CreateTenantRequestDtoBusinessModelEnum[keyof typeof CreateTenantRequestDtoBusinessModelEnum];
76
+
77
+
@@ -50,5 +50,11 @@ export interface DBConfigDto {
50
50
  * @memberof DBConfigDto
51
51
  */
52
52
  'username': string;
53
+ /**
54
+ * Optional prefix applied to database/schema names when a tenant shares an RDS instance with other tenants but needs isolated database naming
55
+ * @type {string}
56
+ * @memberof DBConfigDto
57
+ */
58
+ 'databasePrefix'?: string;
53
59
  }
54
60
 
@@ -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 DeleteTenantRequestDto
21
+ */
22
+ export interface DeleteTenantRequestDto {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof DeleteTenantRequestDto
27
+ */
28
+ 'tenantSlug': string;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof DeleteTenantRequestDto
33
+ */
34
+ 'confirmationSlug': string;
35
+ }
36
+
package/models/index.ts CHANGED
@@ -41,6 +41,7 @@ export * from './data-report-filter-single-value-dto';
41
41
  export * from './data-report-filter-value-dto';
42
42
  export * from './delete-by-code-response-class';
43
43
  export * from './delete-response-class';
44
+ export * from './delete-tenant-request-dto';
44
45
  export * from './disable-users-request-dto';
45
46
  export * from './disable-users-response-class';
46
47
  export * from './duplicate-dashboard-request-dto';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/tenant-sdk-node",
3
- "version": "1.39.1-beta.85",
3
+ "version": "1.39.1-beta.86",
4
4
  "description": "OpenAPI client for @emilgroup/tenant-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [