@emilgroup/tenant-sdk 1.7.0 → 1.9.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 +4 -0
- package/README.md +2 -2
- package/base.ts +1 -0
- package/dist/base.d.ts +2 -1
- package/dist/base.js +1 -0
- package/dist/models/create-tenant-request-dto.d.ts +3 -2
- package/dist/models/custom-field-dto.d.ts +9 -0
- package/dist/models/custom-field-dto.js +3 -1
- package/dist/models/custom-field-option-dto.d.ts +30 -0
- package/dist/models/custom-field-option-dto.js +15 -0
- package/dist/models/format-tenant-settings-class.d.ts +24 -0
- package/dist/models/format-tenant-settings-class.js +15 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/dist/models/initial-tenant-config-class.d.ts +31 -0
- package/dist/models/initial-tenant-config-class.js +15 -0
- package/dist/models/tenant-settings-class.d.ts +55 -0
- package/dist/models/tenant-settings-class.js +15 -0
- package/models/create-tenant-request-dto.ts +3 -2
- package/models/custom-field-dto.ts +10 -1
- package/models/custom-field-option-dto.ts +36 -0
- package/models/format-tenant-settings-class.ts +30 -0
- package/models/index.ts +4 -0
- package/models/initial-tenant-config-class.ts +37 -0
- package/models/tenant-settings-class.ts +61 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -32,6 +32,7 @@ models/create-permission-request-dto.ts
|
|
|
32
32
|
models/create-role-request-dto.ts
|
|
33
33
|
models/create-tenant-request-dto.ts
|
|
34
34
|
models/custom-field-dto.ts
|
|
35
|
+
models/custom-field-option-dto.ts
|
|
35
36
|
models/custom-schema-class.ts
|
|
36
37
|
models/data-report-class.ts
|
|
37
38
|
models/data-report-filter-class.ts
|
|
@@ -46,12 +47,14 @@ models/disable-users-response-class.ts
|
|
|
46
47
|
models/enable-user-response-class.ts
|
|
47
48
|
models/enable-users-request-dto.ts
|
|
48
49
|
models/enable-users-response-class.ts
|
|
50
|
+
models/format-tenant-settings-class.ts
|
|
49
51
|
models/get-custom-schema-response-class.ts
|
|
50
52
|
models/get-data-report-response-class.ts
|
|
51
53
|
models/get-organization-response-class.ts
|
|
52
54
|
models/get-settings-response-class.ts
|
|
53
55
|
models/get-user-response-class.ts
|
|
54
56
|
models/index.ts
|
|
57
|
+
models/initial-tenant-config-class.ts
|
|
55
58
|
models/inline-response200.ts
|
|
56
59
|
models/inline-response503.ts
|
|
57
60
|
models/invite-class.ts
|
|
@@ -79,6 +82,7 @@ models/set-setting-request-dto.ts
|
|
|
79
82
|
models/set-user-setting-response-class.ts
|
|
80
83
|
models/subscription-class.ts
|
|
81
84
|
models/tenant-admin-user-dto.ts
|
|
85
|
+
models/tenant-settings-class.ts
|
|
82
86
|
models/update-custom-schema-request-dto.ts
|
|
83
87
|
models/update-custom-schema-response-class.ts
|
|
84
88
|
models/update-data-report-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@1.
|
|
20
|
+
npm install @emilgroup/tenant-sdk@1.9.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/tenant-sdk@1.
|
|
24
|
+
yarn add @emilgroup/tenant-sdk@1.9.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `UsersApi`.
|
package/base.ts
CHANGED
package/dist/base.d.ts
CHANGED
|
@@ -29,7 +29,8 @@ export interface LoginClass {
|
|
|
29
29
|
export declare enum Environment {
|
|
30
30
|
Production = "https://apiv2.emil.de",
|
|
31
31
|
Test = "https://apiv2-test.emil.de",
|
|
32
|
-
Development = "https://apiv2-dev.emil.de"
|
|
32
|
+
Development = "https://apiv2-dev.emil.de",
|
|
33
|
+
ProductionZurich = "https://eu-central-2.apiv2.emil.de"
|
|
33
34
|
}
|
|
34
35
|
export declare function resetRetry(): void;
|
|
35
36
|
/**
|
package/dist/base.js
CHANGED
|
@@ -100,6 +100,7 @@ var Environment;
|
|
|
100
100
|
Environment["Production"] = "https://apiv2.emil.de";
|
|
101
101
|
Environment["Test"] = "https://apiv2-test.emil.de";
|
|
102
102
|
Environment["Development"] = "https://apiv2-dev.emil.de";
|
|
103
|
+
Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
|
|
103
104
|
})(Environment = exports.Environment || (exports.Environment = {}));
|
|
104
105
|
var _retry_count = 0;
|
|
105
106
|
var _retry = null;
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { DBConfigDto } from './dbconfig-dto';
|
|
13
|
+
import { InitialTenantConfigClass } from './initial-tenant-config-class';
|
|
13
14
|
import { TenantAdminUserDto } from './tenant-admin-user-dto';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
@@ -43,10 +44,10 @@ export interface CreateTenantRequestDto {
|
|
|
43
44
|
'dbConfig'?: DBConfigDto;
|
|
44
45
|
/**
|
|
45
46
|
* Initial tenant settings like roles, tenant configurations about payment etc
|
|
46
|
-
* @type {
|
|
47
|
+
* @type {InitialTenantConfigClass}
|
|
47
48
|
* @memberof CreateTenantRequestDto
|
|
48
49
|
*/
|
|
49
|
-
'initialConfig'
|
|
50
|
+
'initialConfig': InitialTenantConfigClass;
|
|
50
51
|
/**
|
|
51
52
|
*
|
|
52
53
|
* @type {string}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { CustomFieldOptionDto } from './custom-field-option-dto';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -63,12 +64,20 @@ export interface CustomFieldDto {
|
|
|
63
64
|
* @memberof CustomFieldDto
|
|
64
65
|
*/
|
|
65
66
|
'maxLength'?: number;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {Array<CustomFieldOptionDto>}
|
|
70
|
+
* @memberof CustomFieldDto
|
|
71
|
+
*/
|
|
72
|
+
'options': Array<CustomFieldOptionDto>;
|
|
66
73
|
}
|
|
67
74
|
export declare const CustomFieldDtoTypeEnum: {
|
|
68
75
|
readonly String: "string";
|
|
69
76
|
readonly Number: "number";
|
|
70
77
|
readonly Boolean: "boolean";
|
|
71
78
|
readonly Date: "date";
|
|
79
|
+
readonly DateTime: "date-time";
|
|
72
80
|
readonly Email: "email";
|
|
81
|
+
readonly Object: "object";
|
|
73
82
|
};
|
|
74
83
|
export type CustomFieldDtoTypeEnum = typeof CustomFieldDtoTypeEnum[keyof typeof CustomFieldDtoTypeEnum];
|
|
@@ -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 CustomFieldOptionDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CustomFieldOptionDto {
|
|
18
|
+
/**
|
|
19
|
+
* Custom field option value.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CustomFieldOptionDto
|
|
22
|
+
*/
|
|
23
|
+
'value': string;
|
|
24
|
+
/**
|
|
25
|
+
* Key of the option, should be unique.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CustomFieldOptionDto
|
|
28
|
+
*/
|
|
29
|
+
'key': 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 });
|
|
@@ -0,0 +1,24 @@
|
|
|
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 FormatTenantSettingsClass
|
|
16
|
+
*/
|
|
17
|
+
export interface FormatTenantSettingsClass {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof FormatTenantSettingsClass
|
|
22
|
+
*/
|
|
23
|
+
'slug': string;
|
|
24
|
+
}
|
|
@@ -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
|
@@ -10,6 +10,7 @@ export * from './create-permission-request-dto';
|
|
|
10
10
|
export * from './create-role-request-dto';
|
|
11
11
|
export * from './create-tenant-request-dto';
|
|
12
12
|
export * from './custom-field-dto';
|
|
13
|
+
export * from './custom-field-option-dto';
|
|
13
14
|
export * from './custom-schema-class';
|
|
14
15
|
export * from './dbconfig-dto';
|
|
15
16
|
export * from './data-report-class';
|
|
@@ -24,11 +25,13 @@ export * from './disable-users-response-class';
|
|
|
24
25
|
export * from './enable-user-response-class';
|
|
25
26
|
export * from './enable-users-request-dto';
|
|
26
27
|
export * from './enable-users-response-class';
|
|
28
|
+
export * from './format-tenant-settings-class';
|
|
27
29
|
export * from './get-custom-schema-response-class';
|
|
28
30
|
export * from './get-data-report-response-class';
|
|
29
31
|
export * from './get-organization-response-class';
|
|
30
32
|
export * from './get-settings-response-class';
|
|
31
33
|
export * from './get-user-response-class';
|
|
34
|
+
export * from './initial-tenant-config-class';
|
|
32
35
|
export * from './inline-response200';
|
|
33
36
|
export * from './inline-response503';
|
|
34
37
|
export * from './invite-class';
|
|
@@ -56,6 +59,7 @@ export * from './set-setting-request-dto';
|
|
|
56
59
|
export * from './set-user-setting-response-class';
|
|
57
60
|
export * from './subscription-class';
|
|
58
61
|
export * from './tenant-admin-user-dto';
|
|
62
|
+
export * from './tenant-settings-class';
|
|
59
63
|
export * from './update-custom-schema-request-dto';
|
|
60
64
|
export * from './update-custom-schema-response-class';
|
|
61
65
|
export * from './update-data-report-request-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -26,6 +26,7 @@ __exportStar(require("./create-permission-request-dto"), exports);
|
|
|
26
26
|
__exportStar(require("./create-role-request-dto"), exports);
|
|
27
27
|
__exportStar(require("./create-tenant-request-dto"), exports);
|
|
28
28
|
__exportStar(require("./custom-field-dto"), exports);
|
|
29
|
+
__exportStar(require("./custom-field-option-dto"), exports);
|
|
29
30
|
__exportStar(require("./custom-schema-class"), exports);
|
|
30
31
|
__exportStar(require("./dbconfig-dto"), exports);
|
|
31
32
|
__exportStar(require("./data-report-class"), exports);
|
|
@@ -40,11 +41,13 @@ __exportStar(require("./disable-users-response-class"), exports);
|
|
|
40
41
|
__exportStar(require("./enable-user-response-class"), exports);
|
|
41
42
|
__exportStar(require("./enable-users-request-dto"), exports);
|
|
42
43
|
__exportStar(require("./enable-users-response-class"), exports);
|
|
44
|
+
__exportStar(require("./format-tenant-settings-class"), exports);
|
|
43
45
|
__exportStar(require("./get-custom-schema-response-class"), exports);
|
|
44
46
|
__exportStar(require("./get-data-report-response-class"), exports);
|
|
45
47
|
__exportStar(require("./get-organization-response-class"), exports);
|
|
46
48
|
__exportStar(require("./get-settings-response-class"), exports);
|
|
47
49
|
__exportStar(require("./get-user-response-class"), exports);
|
|
50
|
+
__exportStar(require("./initial-tenant-config-class"), exports);
|
|
48
51
|
__exportStar(require("./inline-response200"), exports);
|
|
49
52
|
__exportStar(require("./inline-response503"), exports);
|
|
50
53
|
__exportStar(require("./invite-class"), exports);
|
|
@@ -72,6 +75,7 @@ __exportStar(require("./set-setting-request-dto"), exports);
|
|
|
72
75
|
__exportStar(require("./set-user-setting-response-class"), exports);
|
|
73
76
|
__exportStar(require("./subscription-class"), exports);
|
|
74
77
|
__exportStar(require("./tenant-admin-user-dto"), exports);
|
|
78
|
+
__exportStar(require("./tenant-settings-class"), exports);
|
|
75
79
|
__exportStar(require("./update-custom-schema-request-dto"), exports);
|
|
76
80
|
__exportStar(require("./update-custom-schema-response-class"), exports);
|
|
77
81
|
__exportStar(require("./update-data-report-request-dto"), exports);
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { TenantSettingsClass } from './tenant-settings-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface InitialTenantConfigClass
|
|
17
|
+
*/
|
|
18
|
+
export interface InitialTenantConfigClass {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {TenantSettingsClass}
|
|
22
|
+
* @memberof InitialTenantConfigClass
|
|
23
|
+
*/
|
|
24
|
+
'tenantSettings': TenantSettingsClass;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Array<string>}
|
|
28
|
+
* @memberof InitialTenantConfigClass
|
|
29
|
+
*/
|
|
30
|
+
'roles': Array<string>;
|
|
31
|
+
}
|
|
@@ -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,55 @@
|
|
|
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 { FormatTenantSettingsClass } from './format-tenant-settings-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface TenantSettingsClass
|
|
17
|
+
*/
|
|
18
|
+
export interface TenantSettingsClass {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {FormatTenantSettingsClass}
|
|
22
|
+
* @memberof TenantSettingsClass
|
|
23
|
+
*/
|
|
24
|
+
'policy_number_format_config': FormatTenantSettingsClass;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {FormatTenantSettingsClass}
|
|
28
|
+
* @memberof TenantSettingsClass
|
|
29
|
+
*/
|
|
30
|
+
'account_number_format_config': FormatTenantSettingsClass;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {FormatTenantSettingsClass}
|
|
34
|
+
* @memberof TenantSettingsClass
|
|
35
|
+
*/
|
|
36
|
+
'claim_number_format_config': FormatTenantSettingsClass;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {FormatTenantSettingsClass}
|
|
40
|
+
* @memberof TenantSettingsClass
|
|
41
|
+
*/
|
|
42
|
+
'invoice_number_format_config': FormatTenantSettingsClass;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {FormatTenantSettingsClass}
|
|
46
|
+
* @memberof TenantSettingsClass
|
|
47
|
+
*/
|
|
48
|
+
'lead_number_format_config': FormatTenantSettingsClass;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {FormatTenantSettingsClass}
|
|
52
|
+
* @memberof TenantSettingsClass
|
|
53
|
+
*/
|
|
54
|
+
'customer_number_format_config': FormatTenantSettingsClass;
|
|
55
|
+
}
|
|
@@ -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 });
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
import { DBConfigDto } from './dbconfig-dto';
|
|
17
|
+
import { InitialTenantConfigClass } from './initial-tenant-config-class';
|
|
17
18
|
import { TenantAdminUserDto } from './tenant-admin-user-dto';
|
|
18
19
|
|
|
19
20
|
/**
|
|
@@ -48,10 +49,10 @@ export interface CreateTenantRequestDto {
|
|
|
48
49
|
'dbConfig'?: DBConfigDto;
|
|
49
50
|
/**
|
|
50
51
|
* Initial tenant settings like roles, tenant configurations about payment etc
|
|
51
|
-
* @type {
|
|
52
|
+
* @type {InitialTenantConfigClass}
|
|
52
53
|
* @memberof CreateTenantRequestDto
|
|
53
54
|
*/
|
|
54
|
-
'initialConfig'
|
|
55
|
+
'initialConfig': InitialTenantConfigClass;
|
|
55
56
|
/**
|
|
56
57
|
*
|
|
57
58
|
* @type {string}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { CustomFieldOptionDto } from './custom-field-option-dto';
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
*
|
|
@@ -68,6 +69,12 @@ export interface CustomFieldDto {
|
|
|
68
69
|
* @memberof CustomFieldDto
|
|
69
70
|
*/
|
|
70
71
|
'maxLength'?: number;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {Array<CustomFieldOptionDto>}
|
|
75
|
+
* @memberof CustomFieldDto
|
|
76
|
+
*/
|
|
77
|
+
'options': Array<CustomFieldOptionDto>;
|
|
71
78
|
}
|
|
72
79
|
|
|
73
80
|
export const CustomFieldDtoTypeEnum = {
|
|
@@ -75,7 +82,9 @@ export const CustomFieldDtoTypeEnum = {
|
|
|
75
82
|
Number: 'number',
|
|
76
83
|
Boolean: 'boolean',
|
|
77
84
|
Date: 'date',
|
|
78
|
-
|
|
85
|
+
DateTime: 'date-time',
|
|
86
|
+
Email: 'email',
|
|
87
|
+
Object: 'object'
|
|
79
88
|
} as const;
|
|
80
89
|
|
|
81
90
|
export type CustomFieldDtoTypeEnum = typeof CustomFieldDtoTypeEnum[keyof typeof CustomFieldDtoTypeEnum];
|
|
@@ -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 CustomFieldOptionDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CustomFieldOptionDto {
|
|
23
|
+
/**
|
|
24
|
+
* Custom field option value.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CustomFieldOptionDto
|
|
27
|
+
*/
|
|
28
|
+
'value': string;
|
|
29
|
+
/**
|
|
30
|
+
* Key of the option, should be unique.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CustomFieldOptionDto
|
|
33
|
+
*/
|
|
34
|
+
'key': string;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
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 FormatTenantSettingsClass
|
|
21
|
+
*/
|
|
22
|
+
export interface FormatTenantSettingsClass {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof FormatTenantSettingsClass
|
|
27
|
+
*/
|
|
28
|
+
'slug': string;
|
|
29
|
+
}
|
|
30
|
+
|
package/models/index.ts
CHANGED
|
@@ -10,6 +10,7 @@ export * from './create-permission-request-dto';
|
|
|
10
10
|
export * from './create-role-request-dto';
|
|
11
11
|
export * from './create-tenant-request-dto';
|
|
12
12
|
export * from './custom-field-dto';
|
|
13
|
+
export * from './custom-field-option-dto';
|
|
13
14
|
export * from './custom-schema-class';
|
|
14
15
|
export * from './dbconfig-dto';
|
|
15
16
|
export * from './data-report-class';
|
|
@@ -24,11 +25,13 @@ export * from './disable-users-response-class';
|
|
|
24
25
|
export * from './enable-user-response-class';
|
|
25
26
|
export * from './enable-users-request-dto';
|
|
26
27
|
export * from './enable-users-response-class';
|
|
28
|
+
export * from './format-tenant-settings-class';
|
|
27
29
|
export * from './get-custom-schema-response-class';
|
|
28
30
|
export * from './get-data-report-response-class';
|
|
29
31
|
export * from './get-organization-response-class';
|
|
30
32
|
export * from './get-settings-response-class';
|
|
31
33
|
export * from './get-user-response-class';
|
|
34
|
+
export * from './initial-tenant-config-class';
|
|
32
35
|
export * from './inline-response200';
|
|
33
36
|
export * from './inline-response503';
|
|
34
37
|
export * from './invite-class';
|
|
@@ -56,6 +59,7 @@ export * from './set-setting-request-dto';
|
|
|
56
59
|
export * from './set-user-setting-response-class';
|
|
57
60
|
export * from './subscription-class';
|
|
58
61
|
export * from './tenant-admin-user-dto';
|
|
62
|
+
export * from './tenant-settings-class';
|
|
59
63
|
export * from './update-custom-schema-request-dto';
|
|
60
64
|
export * from './update-custom-schema-response-class';
|
|
61
65
|
export * from './update-data-report-request-dto';
|
|
@@ -0,0 +1,37 @@
|
|
|
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 { TenantSettingsClass } from './tenant-settings-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface InitialTenantConfigClass
|
|
22
|
+
*/
|
|
23
|
+
export interface InitialTenantConfigClass {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {TenantSettingsClass}
|
|
27
|
+
* @memberof InitialTenantConfigClass
|
|
28
|
+
*/
|
|
29
|
+
'tenantSettings': TenantSettingsClass;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof InitialTenantConfigClass
|
|
34
|
+
*/
|
|
35
|
+
'roles': Array<string>;
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -0,0 +1,61 @@
|
|
|
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 { FormatTenantSettingsClass } from './format-tenant-settings-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface TenantSettingsClass
|
|
22
|
+
*/
|
|
23
|
+
export interface TenantSettingsClass {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {FormatTenantSettingsClass}
|
|
27
|
+
* @memberof TenantSettingsClass
|
|
28
|
+
*/
|
|
29
|
+
'policy_number_format_config': FormatTenantSettingsClass;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {FormatTenantSettingsClass}
|
|
33
|
+
* @memberof TenantSettingsClass
|
|
34
|
+
*/
|
|
35
|
+
'account_number_format_config': FormatTenantSettingsClass;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {FormatTenantSettingsClass}
|
|
39
|
+
* @memberof TenantSettingsClass
|
|
40
|
+
*/
|
|
41
|
+
'claim_number_format_config': FormatTenantSettingsClass;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {FormatTenantSettingsClass}
|
|
45
|
+
* @memberof TenantSettingsClass
|
|
46
|
+
*/
|
|
47
|
+
'invoice_number_format_config': FormatTenantSettingsClass;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {FormatTenantSettingsClass}
|
|
51
|
+
* @memberof TenantSettingsClass
|
|
52
|
+
*/
|
|
53
|
+
'lead_number_format_config': FormatTenantSettingsClass;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {FormatTenantSettingsClass}
|
|
57
|
+
* @memberof TenantSettingsClass
|
|
58
|
+
*/
|
|
59
|
+
'customer_number_format_config': FormatTenantSettingsClass;
|
|
60
|
+
}
|
|
61
|
+
|