@emilgroup/tenant-sdk 1.8.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 +1 -0
- package/README.md +2 -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/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/models/custom-field-dto.ts +10 -1
- package/models/custom-field-option-dto.ts +36 -0
- package/models/index.ts +1 -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
|
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`.
|
|
@@ -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 });
|
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';
|
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);
|
|
@@ -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
|
+
|
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';
|