@emilgroup/tenant-sdk-node 1.0.3 → 1.2.1
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 -15
- package/README.md +2 -2
- package/api/custom-schema-api.ts +16 -16
- package/api/invite-organizations-api.ts +8 -8
- package/api/invite-users-api.ts +20 -20
- package/api/organizations-api.ts +128 -8
- package/api/users-api.ts +36 -36
- package/api.ts +0 -4
- package/base.ts +3 -3
- package/dist/api/custom-schema-api.d.ts +16 -16
- package/dist/api/custom-schema-api.js +12 -12
- package/dist/api/invite-organizations-api.d.ts +8 -8
- package/dist/api/invite-organizations-api.js +6 -6
- package/dist/api/invite-users-api.d.ts +20 -20
- package/dist/api/invite-users-api.js +15 -15
- package/dist/api/organizations-api.d.ts +74 -8
- package/dist/api/organizations-api.js +105 -6
- package/dist/api/users-api.d.ts +36 -36
- package/dist/api/users-api.js +27 -27
- package/dist/api.d.ts +0 -2
- package/dist/api.js +0 -2
- package/dist/base.d.ts +1 -1
- package/dist/base.js +3 -3
- package/dist/models/create-custom-schema-request-dto.d.ts +1 -0
- package/dist/models/create-custom-schema-request-dto.js +2 -1
- package/dist/models/index.d.ts +2 -13
- package/dist/models/index.js +2 -13
- package/dist/models/invite-org-request-dto.d.ts +0 -12
- package/dist/models/invite-org-request-dto.js +0 -6
- package/dist/models/org-invitation-class.d.ts +0 -12
- package/dist/models/org-invitation-class.js +0 -6
- package/dist/models/organization-class.d.ts +18 -12
- package/dist/models/organization-class.js +0 -6
- package/dist/models/update-custom-schema-request-dto.d.ts +1 -0
- package/dist/models/update-custom-schema-request-dto.js +2 -1
- package/dist/models/update-organization-request-dto-rest.d.ts +60 -0
- package/dist/models/{get-data-report-response-class.d.ts → update-organization-response-class.d.ts} +7 -7
- package/models/create-custom-schema-request-dto.ts +2 -1
- package/models/index.ts +2 -13
- package/models/invite-org-request-dto.ts +0 -15
- package/models/org-invitation-class.ts +0 -15
- package/models/organization-class.ts +18 -15
- package/models/update-custom-schema-request-dto.ts +2 -1
- package/models/update-organization-request-dto-rest.ts +66 -0
- package/models/{create-data-report-response-class.ts → update-organization-response-class.ts} +7 -7
- package/package.json +2 -2
- package/api/data-report-api.ts +0 -677
- package/api/data-report-executor-api.ts +0 -165
- package/dist/api/data-report-api.d.ts +0 -380
- package/dist/api/data-report-api.js +0 -636
- package/dist/api/data-report-executor-api.d.ts +0 -93
- package/dist/api/data-report-executor-api.js +0 -224
- package/dist/models/create-data-report-request-dto.d.ts +0 -61
- package/dist/models/create-data-report-response-class.d.ts +0 -25
- package/dist/models/data-report-class.d.ts +0 -79
- package/dist/models/data-report-class.js +0 -15
- package/dist/models/data-report-filter-class.d.ts +0 -72
- package/dist/models/data-report-filter-class.js +0 -15
- package/dist/models/data-report-filter-dto.d.ts +0 -48
- package/dist/models/data-report-filter-dto.js +0 -15
- package/dist/models/data-report-filter-single-value-dto.d.ts +0 -42
- package/dist/models/data-report-filter-single-value-dto.js +0 -15
- package/dist/models/data-report-filter-value-dto.d.ts +0 -31
- package/dist/models/data-report-filter-value-dto.js +0 -15
- package/dist/models/get-data-report-response-class.js +0 -15
- package/dist/models/list-data-reports-response-class.d.ts +0 -31
- package/dist/models/list-data-reports-response-class.js +0 -15
- package/dist/models/run-data-report-request-dto.d.ts +0 -31
- package/dist/models/run-data-report-request-dto.js +0 -15
- package/dist/models/run-data-report-response-class.d.ts +0 -24
- package/dist/models/run-data-report-response-class.js +0 -15
- package/dist/models/update-data-report-request-dto.d.ts +0 -61
- package/dist/models/update-data-report-request-dto.js +0 -15
- package/dist/models/update-data-report-response-class.d.ts +0 -25
- package/dist/models/update-data-report-response-class.js +0 -15
- package/models/create-data-report-request-dto.ts +0 -67
- package/models/data-report-class.ts +0 -85
- package/models/data-report-filter-class.ts +0 -78
- package/models/data-report-filter-dto.ts +0 -54
- package/models/data-report-filter-single-value-dto.ts +0 -48
- package/models/data-report-filter-value-dto.ts +0 -37
- package/models/get-data-report-response-class.ts +0 -31
- package/models/list-data-reports-response-class.ts +0 -37
- package/models/run-data-report-request-dto.ts +0 -37
- package/models/run-data-report-response-class.ts +0 -30
- package/models/update-data-report-request-dto.ts +0 -67
- package/models/update-data-report-response-class.ts +0 -31
- /package/dist/models/{create-data-report-request-dto.js → update-organization-request-dto-rest.js} +0 -0
- /package/dist/models/{create-data-report-response-class.js → update-organization-response-class.js} +0 -0
package/dist/models/index.d.ts
CHANGED
|
@@ -4,19 +4,12 @@ export * from './batch-delete-request-dto';
|
|
|
4
4
|
export * from './batch-delete-response-class';
|
|
5
5
|
export * from './create-custom-schema-request-dto';
|
|
6
6
|
export * from './create-custom-schema-response-class';
|
|
7
|
-
export * from './create-data-report-request-dto';
|
|
8
|
-
export * from './create-data-report-response-class';
|
|
9
7
|
export * from './create-permission-request-dto';
|
|
10
8
|
export * from './create-role-request-dto';
|
|
11
9
|
export * from './create-tenant-request-dto';
|
|
12
10
|
export * from './custom-field-dto';
|
|
13
11
|
export * from './custom-schema-class';
|
|
14
12
|
export * from './dbconfig-dto';
|
|
15
|
-
export * from './data-report-class';
|
|
16
|
-
export * from './data-report-filter-class';
|
|
17
|
-
export * from './data-report-filter-dto';
|
|
18
|
-
export * from './data-report-filter-single-value-dto';
|
|
19
|
-
export * from './data-report-filter-value-dto';
|
|
20
13
|
export * from './delete-response-class';
|
|
21
14
|
export * from './disable-user-response-class';
|
|
22
15
|
export * from './disable-users-request-dto';
|
|
@@ -25,7 +18,6 @@ export * from './enable-user-response-class';
|
|
|
25
18
|
export * from './enable-users-request-dto';
|
|
26
19
|
export * from './enable-users-response-class';
|
|
27
20
|
export * from './get-custom-schema-response-class';
|
|
28
|
-
export * from './get-data-report-response-class';
|
|
29
21
|
export * from './get-organization-response-class';
|
|
30
22
|
export * from './get-settings-response-class';
|
|
31
23
|
export * from './get-user-response-class';
|
|
@@ -36,7 +28,6 @@ export * from './invite-user-response-class';
|
|
|
36
28
|
export * from './invite-users-request-dto';
|
|
37
29
|
export * from './invite-users-response-class';
|
|
38
30
|
export * from './list-custom-schemas-response-class';
|
|
39
|
-
export * from './list-data-reports-response-class';
|
|
40
31
|
export * from './list-invites-response-class';
|
|
41
32
|
export * from './list-org-invitations-response-class';
|
|
42
33
|
export * from './list-organizations-response-class';
|
|
@@ -46,15 +37,13 @@ export * from './org-invitation-response-class';
|
|
|
46
37
|
export * from './organization-class';
|
|
47
38
|
export * from './permission-class';
|
|
48
39
|
export * from './role-class';
|
|
49
|
-
export * from './run-data-report-request-dto';
|
|
50
|
-
export * from './run-data-report-response-class';
|
|
51
40
|
export * from './set-setting-request-dto';
|
|
52
41
|
export * from './set-user-setting-response-class';
|
|
53
42
|
export * from './subscription-class';
|
|
54
43
|
export * from './tenant-admin-user-dto';
|
|
55
44
|
export * from './update-custom-schema-request-dto';
|
|
56
45
|
export * from './update-custom-schema-response-class';
|
|
57
|
-
export * from './update-
|
|
58
|
-
export * from './update-
|
|
46
|
+
export * from './update-organization-request-dto-rest';
|
|
47
|
+
export * from './update-organization-response-class';
|
|
59
48
|
export * from './update-role-request-dto';
|
|
60
49
|
export * from './user-class';
|
package/dist/models/index.js
CHANGED
|
@@ -20,19 +20,12 @@ __exportStar(require("./batch-delete-request-dto"), exports);
|
|
|
20
20
|
__exportStar(require("./batch-delete-response-class"), exports);
|
|
21
21
|
__exportStar(require("./create-custom-schema-request-dto"), exports);
|
|
22
22
|
__exportStar(require("./create-custom-schema-response-class"), exports);
|
|
23
|
-
__exportStar(require("./create-data-report-request-dto"), exports);
|
|
24
|
-
__exportStar(require("./create-data-report-response-class"), exports);
|
|
25
23
|
__exportStar(require("./create-permission-request-dto"), exports);
|
|
26
24
|
__exportStar(require("./create-role-request-dto"), exports);
|
|
27
25
|
__exportStar(require("./create-tenant-request-dto"), exports);
|
|
28
26
|
__exportStar(require("./custom-field-dto"), exports);
|
|
29
27
|
__exportStar(require("./custom-schema-class"), exports);
|
|
30
28
|
__exportStar(require("./dbconfig-dto"), exports);
|
|
31
|
-
__exportStar(require("./data-report-class"), exports);
|
|
32
|
-
__exportStar(require("./data-report-filter-class"), exports);
|
|
33
|
-
__exportStar(require("./data-report-filter-dto"), exports);
|
|
34
|
-
__exportStar(require("./data-report-filter-single-value-dto"), exports);
|
|
35
|
-
__exportStar(require("./data-report-filter-value-dto"), exports);
|
|
36
29
|
__exportStar(require("./delete-response-class"), exports);
|
|
37
30
|
__exportStar(require("./disable-user-response-class"), exports);
|
|
38
31
|
__exportStar(require("./disable-users-request-dto"), exports);
|
|
@@ -41,7 +34,6 @@ __exportStar(require("./enable-user-response-class"), exports);
|
|
|
41
34
|
__exportStar(require("./enable-users-request-dto"), exports);
|
|
42
35
|
__exportStar(require("./enable-users-response-class"), exports);
|
|
43
36
|
__exportStar(require("./get-custom-schema-response-class"), exports);
|
|
44
|
-
__exportStar(require("./get-data-report-response-class"), exports);
|
|
45
37
|
__exportStar(require("./get-organization-response-class"), exports);
|
|
46
38
|
__exportStar(require("./get-settings-response-class"), exports);
|
|
47
39
|
__exportStar(require("./get-user-response-class"), exports);
|
|
@@ -52,7 +44,6 @@ __exportStar(require("./invite-user-response-class"), exports);
|
|
|
52
44
|
__exportStar(require("./invite-users-request-dto"), exports);
|
|
53
45
|
__exportStar(require("./invite-users-response-class"), exports);
|
|
54
46
|
__exportStar(require("./list-custom-schemas-response-class"), exports);
|
|
55
|
-
__exportStar(require("./list-data-reports-response-class"), exports);
|
|
56
47
|
__exportStar(require("./list-invites-response-class"), exports);
|
|
57
48
|
__exportStar(require("./list-org-invitations-response-class"), exports);
|
|
58
49
|
__exportStar(require("./list-organizations-response-class"), exports);
|
|
@@ -62,15 +53,13 @@ __exportStar(require("./org-invitation-response-class"), exports);
|
|
|
62
53
|
__exportStar(require("./organization-class"), exports);
|
|
63
54
|
__exportStar(require("./permission-class"), exports);
|
|
64
55
|
__exportStar(require("./role-class"), exports);
|
|
65
|
-
__exportStar(require("./run-data-report-request-dto"), exports);
|
|
66
|
-
__exportStar(require("./run-data-report-response-class"), exports);
|
|
67
56
|
__exportStar(require("./set-setting-request-dto"), exports);
|
|
68
57
|
__exportStar(require("./set-user-setting-response-class"), exports);
|
|
69
58
|
__exportStar(require("./subscription-class"), exports);
|
|
70
59
|
__exportStar(require("./tenant-admin-user-dto"), exports);
|
|
71
60
|
__exportStar(require("./update-custom-schema-request-dto"), exports);
|
|
72
61
|
__exportStar(require("./update-custom-schema-response-class"), exports);
|
|
73
|
-
__exportStar(require("./update-
|
|
74
|
-
__exportStar(require("./update-
|
|
62
|
+
__exportStar(require("./update-organization-request-dto-rest"), exports);
|
|
63
|
+
__exportStar(require("./update-organization-response-class"), exports);
|
|
75
64
|
__exportStar(require("./update-role-request-dto"), exports);
|
|
76
65
|
__exportStar(require("./user-class"), exports);
|
|
@@ -33,12 +33,6 @@ export interface InviteOrgRequestDto {
|
|
|
33
33
|
* @memberof InviteOrgRequestDto
|
|
34
34
|
*/
|
|
35
35
|
'name': string;
|
|
36
|
-
/**
|
|
37
|
-
* Type of the organization.
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof InviteOrgRequestDto
|
|
40
|
-
*/
|
|
41
|
-
'type': InviteOrgRequestDtoTypeEnum;
|
|
42
36
|
/**
|
|
43
37
|
* Identifier for the organization.
|
|
44
38
|
* @type {string}
|
|
@@ -82,9 +76,3 @@ export interface InviteOrgRequestDto {
|
|
|
82
76
|
*/
|
|
83
77
|
'customFields': object;
|
|
84
78
|
}
|
|
85
|
-
export declare const InviteOrgRequestDtoTypeEnum: {
|
|
86
|
-
readonly Association: "association";
|
|
87
|
-
readonly Line: "line";
|
|
88
|
-
readonly Broker: "broker";
|
|
89
|
-
};
|
|
90
|
-
export type InviteOrgRequestDtoTypeEnum = typeof InviteOrgRequestDtoTypeEnum[keyof typeof InviteOrgRequestDtoTypeEnum];
|
|
@@ -13,9 +13,3 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.InviteOrgRequestDtoTypeEnum = void 0;
|
|
17
|
-
exports.InviteOrgRequestDtoTypeEnum = {
|
|
18
|
-
Association: 'association',
|
|
19
|
-
Line: 'line',
|
|
20
|
-
Broker: 'broker'
|
|
21
|
-
};
|
|
@@ -40,12 +40,6 @@ export interface OrgInvitationClass {
|
|
|
40
40
|
* @memberof OrgInvitationClass
|
|
41
41
|
*/
|
|
42
42
|
'name': string;
|
|
43
|
-
/**
|
|
44
|
-
* Type of the organization.
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof OrgInvitationClass
|
|
47
|
-
*/
|
|
48
|
-
'type': OrgInvitationClassTypeEnum;
|
|
49
43
|
/**
|
|
50
44
|
* Identifier for the organization.
|
|
51
45
|
* @type {string}
|
|
@@ -107,9 +101,3 @@ export interface OrgInvitationClass {
|
|
|
107
101
|
*/
|
|
108
102
|
'updatedAt': string;
|
|
109
103
|
}
|
|
110
|
-
export declare const OrgInvitationClassTypeEnum: {
|
|
111
|
-
readonly Association: "association";
|
|
112
|
-
readonly Line: "line";
|
|
113
|
-
readonly Broker: "broker";
|
|
114
|
-
};
|
|
115
|
-
export type OrgInvitationClassTypeEnum = typeof OrgInvitationClassTypeEnum[keyof typeof OrgInvitationClassTypeEnum];
|
|
@@ -13,9 +13,3 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.OrgInvitationClassTypeEnum = void 0;
|
|
17
|
-
exports.OrgInvitationClassTypeEnum = {
|
|
18
|
-
Association: 'association',
|
|
19
|
-
Line: 'line',
|
|
20
|
-
Broker: 'broker'
|
|
21
|
-
};
|
|
@@ -34,23 +34,23 @@ export interface OrganizationClass {
|
|
|
34
34
|
*/
|
|
35
35
|
'parentId'?: object;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* ERN of the organization.
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof OrganizationClass
|
|
40
40
|
*/
|
|
41
|
-
'
|
|
41
|
+
'ern': string;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Organization email address
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof OrganizationClass
|
|
46
46
|
*/
|
|
47
|
-
'
|
|
47
|
+
'email': string;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* Name of the invited organization.
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof OrganizationClass
|
|
52
52
|
*/
|
|
53
|
-
'
|
|
53
|
+
'name': string;
|
|
54
54
|
/**
|
|
55
55
|
* Address of the organization.
|
|
56
56
|
* @type {string}
|
|
@@ -81,10 +81,16 @@ export interface OrganizationClass {
|
|
|
81
81
|
* @memberof OrganizationClass
|
|
82
82
|
*/
|
|
83
83
|
'customFields'?: object;
|
|
84
|
+
/**
|
|
85
|
+
* Time at which the object was created.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof OrganizationClass
|
|
88
|
+
*/
|
|
89
|
+
'createdAt': string;
|
|
90
|
+
/**
|
|
91
|
+
* Time at which the object was updated.
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof OrganizationClass
|
|
94
|
+
*/
|
|
95
|
+
'updatedAt': string;
|
|
84
96
|
}
|
|
85
|
-
export declare const OrganizationClassTypeEnum: {
|
|
86
|
-
readonly Association: "association";
|
|
87
|
-
readonly Line: "line";
|
|
88
|
-
readonly Broker: "broker";
|
|
89
|
-
};
|
|
90
|
-
export type OrganizationClassTypeEnum = typeof OrganizationClassTypeEnum[keyof typeof OrganizationClassTypeEnum];
|
|
@@ -13,9 +13,3 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.OrganizationClassTypeEnum = void 0;
|
|
17
|
-
exports.OrganizationClassTypeEnum = {
|
|
18
|
-
Association: 'association',
|
|
19
|
-
Line: 'line',
|
|
20
|
-
Broker: 'broker'
|
|
21
|
-
};
|
|
@@ -40,5 +40,6 @@ export declare const UpdateCustomSchemaRequestDtoEntityEnum: {
|
|
|
40
40
|
readonly Claim: "claim";
|
|
41
41
|
readonly Invoice: "invoice";
|
|
42
42
|
readonly Payment: "payment";
|
|
43
|
+
readonly Organization: "organization";
|
|
43
44
|
};
|
|
44
45
|
export type UpdateCustomSchemaRequestDtoEntityEnum = typeof UpdateCustomSchemaRequestDtoEntityEnum[keyof typeof UpdateCustomSchemaRequestDtoEntityEnum];
|
|
@@ -0,0 +1,60 @@
|
|
|
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 UpdateOrganizationRequestDtoRest
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateOrganizationRequestDtoRest {
|
|
18
|
+
/**
|
|
19
|
+
* Organization\'s contact person email address.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateOrganizationRequestDtoRest
|
|
22
|
+
*/
|
|
23
|
+
'address': string;
|
|
24
|
+
/**
|
|
25
|
+
* Zip code of the organization.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UpdateOrganizationRequestDtoRest
|
|
28
|
+
*/
|
|
29
|
+
'zipCode': string;
|
|
30
|
+
/**
|
|
31
|
+
* City of the organization.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdateOrganizationRequestDtoRest
|
|
34
|
+
*/
|
|
35
|
+
'city': string;
|
|
36
|
+
/**
|
|
37
|
+
* Country of the organization.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof UpdateOrganizationRequestDtoRest
|
|
40
|
+
*/
|
|
41
|
+
'country': string;
|
|
42
|
+
/**
|
|
43
|
+
* Custom fields of the organization
|
|
44
|
+
* @type {object}
|
|
45
|
+
* @memberof UpdateOrganizationRequestDtoRest
|
|
46
|
+
*/
|
|
47
|
+
'customFields': object;
|
|
48
|
+
/**
|
|
49
|
+
* Organization\'s contact person email address.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof UpdateOrganizationRequestDtoRest
|
|
52
|
+
*/
|
|
53
|
+
'email': string;
|
|
54
|
+
/**
|
|
55
|
+
* Name of the invited organization.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof UpdateOrganizationRequestDtoRest
|
|
58
|
+
*/
|
|
59
|
+
'name': string;
|
|
60
|
+
}
|
package/dist/models/{get-data-report-response-class.d.ts → update-organization-response-class.d.ts}
RENAMED
|
@@ -9,17 +9,17 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { OrganizationClass } from './organization-class';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
16
|
-
* @interface
|
|
16
|
+
* @interface UpdateOrganizationResponseClass
|
|
17
17
|
*/
|
|
18
|
-
export interface
|
|
18
|
+
export interface UpdateOrganizationResponseClass {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {
|
|
22
|
-
* @memberof
|
|
20
|
+
* Organization
|
|
21
|
+
* @type {OrganizationClass}
|
|
22
|
+
* @memberof UpdateOrganizationResponseClass
|
|
23
23
|
*/
|
|
24
|
-
'
|
|
24
|
+
'organization': OrganizationClass;
|
|
25
25
|
}
|
|
@@ -45,7 +45,8 @@ export const CreateCustomSchemaRequestDtoEntityEnum = {
|
|
|
45
45
|
Account: 'account',
|
|
46
46
|
Claim: 'claim',
|
|
47
47
|
Invoice: 'invoice',
|
|
48
|
-
Payment: 'payment'
|
|
48
|
+
Payment: 'payment',
|
|
49
|
+
Organization: 'organization'
|
|
49
50
|
} as const;
|
|
50
51
|
|
|
51
52
|
export type CreateCustomSchemaRequestDtoEntityEnum = typeof CreateCustomSchemaRequestDtoEntityEnum[keyof typeof CreateCustomSchemaRequestDtoEntityEnum];
|
package/models/index.ts
CHANGED
|
@@ -4,19 +4,12 @@ export * from './batch-delete-request-dto';
|
|
|
4
4
|
export * from './batch-delete-response-class';
|
|
5
5
|
export * from './create-custom-schema-request-dto';
|
|
6
6
|
export * from './create-custom-schema-response-class';
|
|
7
|
-
export * from './create-data-report-request-dto';
|
|
8
|
-
export * from './create-data-report-response-class';
|
|
9
7
|
export * from './create-permission-request-dto';
|
|
10
8
|
export * from './create-role-request-dto';
|
|
11
9
|
export * from './create-tenant-request-dto';
|
|
12
10
|
export * from './custom-field-dto';
|
|
13
11
|
export * from './custom-schema-class';
|
|
14
12
|
export * from './dbconfig-dto';
|
|
15
|
-
export * from './data-report-class';
|
|
16
|
-
export * from './data-report-filter-class';
|
|
17
|
-
export * from './data-report-filter-dto';
|
|
18
|
-
export * from './data-report-filter-single-value-dto';
|
|
19
|
-
export * from './data-report-filter-value-dto';
|
|
20
13
|
export * from './delete-response-class';
|
|
21
14
|
export * from './disable-user-response-class';
|
|
22
15
|
export * from './disable-users-request-dto';
|
|
@@ -25,7 +18,6 @@ export * from './enable-user-response-class';
|
|
|
25
18
|
export * from './enable-users-request-dto';
|
|
26
19
|
export * from './enable-users-response-class';
|
|
27
20
|
export * from './get-custom-schema-response-class';
|
|
28
|
-
export * from './get-data-report-response-class';
|
|
29
21
|
export * from './get-organization-response-class';
|
|
30
22
|
export * from './get-settings-response-class';
|
|
31
23
|
export * from './get-user-response-class';
|
|
@@ -36,7 +28,6 @@ export * from './invite-user-response-class';
|
|
|
36
28
|
export * from './invite-users-request-dto';
|
|
37
29
|
export * from './invite-users-response-class';
|
|
38
30
|
export * from './list-custom-schemas-response-class';
|
|
39
|
-
export * from './list-data-reports-response-class';
|
|
40
31
|
export * from './list-invites-response-class';
|
|
41
32
|
export * from './list-org-invitations-response-class';
|
|
42
33
|
export * from './list-organizations-response-class';
|
|
@@ -46,15 +37,13 @@ export * from './org-invitation-response-class';
|
|
|
46
37
|
export * from './organization-class';
|
|
47
38
|
export * from './permission-class';
|
|
48
39
|
export * from './role-class';
|
|
49
|
-
export * from './run-data-report-request-dto';
|
|
50
|
-
export * from './run-data-report-response-class';
|
|
51
40
|
export * from './set-setting-request-dto';
|
|
52
41
|
export * from './set-user-setting-response-class';
|
|
53
42
|
export * from './subscription-class';
|
|
54
43
|
export * from './tenant-admin-user-dto';
|
|
55
44
|
export * from './update-custom-schema-request-dto';
|
|
56
45
|
export * from './update-custom-schema-response-class';
|
|
57
|
-
export * from './update-
|
|
58
|
-
export * from './update-
|
|
46
|
+
export * from './update-organization-request-dto-rest';
|
|
47
|
+
export * from './update-organization-response-class';
|
|
59
48
|
export * from './update-role-request-dto';
|
|
60
49
|
export * from './user-class';
|
|
@@ -38,12 +38,6 @@ export interface InviteOrgRequestDto {
|
|
|
38
38
|
* @memberof InviteOrgRequestDto
|
|
39
39
|
*/
|
|
40
40
|
'name': string;
|
|
41
|
-
/**
|
|
42
|
-
* Type of the organization.
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof InviteOrgRequestDto
|
|
45
|
-
*/
|
|
46
|
-
'type': InviteOrgRequestDtoTypeEnum;
|
|
47
41
|
/**
|
|
48
42
|
* Identifier for the organization.
|
|
49
43
|
* @type {string}
|
|
@@ -88,12 +82,3 @@ export interface InviteOrgRequestDto {
|
|
|
88
82
|
'customFields': object;
|
|
89
83
|
}
|
|
90
84
|
|
|
91
|
-
export const InviteOrgRequestDtoTypeEnum = {
|
|
92
|
-
Association: 'association',
|
|
93
|
-
Line: 'line',
|
|
94
|
-
Broker: 'broker'
|
|
95
|
-
} as const;
|
|
96
|
-
|
|
97
|
-
export type InviteOrgRequestDtoTypeEnum = typeof InviteOrgRequestDtoTypeEnum[keyof typeof InviteOrgRequestDtoTypeEnum];
|
|
98
|
-
|
|
99
|
-
|
|
@@ -45,12 +45,6 @@ export interface OrgInvitationClass {
|
|
|
45
45
|
* @memberof OrgInvitationClass
|
|
46
46
|
*/
|
|
47
47
|
'name': string;
|
|
48
|
-
/**
|
|
49
|
-
* Type of the organization.
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof OrgInvitationClass
|
|
52
|
-
*/
|
|
53
|
-
'type': OrgInvitationClassTypeEnum;
|
|
54
48
|
/**
|
|
55
49
|
* Identifier for the organization.
|
|
56
50
|
* @type {string}
|
|
@@ -113,12 +107,3 @@ export interface OrgInvitationClass {
|
|
|
113
107
|
'updatedAt': string;
|
|
114
108
|
}
|
|
115
109
|
|
|
116
|
-
export const OrgInvitationClassTypeEnum = {
|
|
117
|
-
Association: 'association',
|
|
118
|
-
Line: 'line',
|
|
119
|
-
Broker: 'broker'
|
|
120
|
-
} as const;
|
|
121
|
-
|
|
122
|
-
export type OrgInvitationClassTypeEnum = typeof OrgInvitationClassTypeEnum[keyof typeof OrgInvitationClassTypeEnum];
|
|
123
|
-
|
|
124
|
-
|
|
@@ -39,23 +39,23 @@ export interface OrganizationClass {
|
|
|
39
39
|
*/
|
|
40
40
|
'parentId'?: object;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* ERN of the organization.
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof OrganizationClass
|
|
45
45
|
*/
|
|
46
|
-
'
|
|
46
|
+
'ern': string;
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* Organization email address
|
|
49
49
|
* @type {string}
|
|
50
50
|
* @memberof OrganizationClass
|
|
51
51
|
*/
|
|
52
|
-
'
|
|
52
|
+
'email': string;
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
54
|
+
* Name of the invited organization.
|
|
55
55
|
* @type {string}
|
|
56
56
|
* @memberof OrganizationClass
|
|
57
57
|
*/
|
|
58
|
-
'
|
|
58
|
+
'name': string;
|
|
59
59
|
/**
|
|
60
60
|
* Address of the organization.
|
|
61
61
|
* @type {string}
|
|
@@ -86,14 +86,17 @@ export interface OrganizationClass {
|
|
|
86
86
|
* @memberof OrganizationClass
|
|
87
87
|
*/
|
|
88
88
|
'customFields'?: object;
|
|
89
|
+
/**
|
|
90
|
+
* Time at which the object was created.
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof OrganizationClass
|
|
93
|
+
*/
|
|
94
|
+
'createdAt': string;
|
|
95
|
+
/**
|
|
96
|
+
* Time at which the object was updated.
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof OrganizationClass
|
|
99
|
+
*/
|
|
100
|
+
'updatedAt': string;
|
|
89
101
|
}
|
|
90
102
|
|
|
91
|
-
export const OrganizationClassTypeEnum = {
|
|
92
|
-
Association: 'association',
|
|
93
|
-
Line: 'line',
|
|
94
|
-
Broker: 'broker'
|
|
95
|
-
} as const;
|
|
96
|
-
|
|
97
|
-
export type OrganizationClassTypeEnum = typeof OrganizationClassTypeEnum[keyof typeof OrganizationClassTypeEnum];
|
|
98
|
-
|
|
99
|
-
|
|
@@ -45,7 +45,8 @@ export const UpdateCustomSchemaRequestDtoEntityEnum = {
|
|
|
45
45
|
Account: 'account',
|
|
46
46
|
Claim: 'claim',
|
|
47
47
|
Invoice: 'invoice',
|
|
48
|
-
Payment: 'payment'
|
|
48
|
+
Payment: 'payment',
|
|
49
|
+
Organization: 'organization'
|
|
49
50
|
} as const;
|
|
50
51
|
|
|
51
52
|
export type UpdateCustomSchemaRequestDtoEntityEnum = typeof UpdateCustomSchemaRequestDtoEntityEnum[keyof typeof UpdateCustomSchemaRequestDtoEntityEnum];
|
|
@@ -0,0 +1,66 @@
|
|
|
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 UpdateOrganizationRequestDtoRest
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateOrganizationRequestDtoRest {
|
|
23
|
+
/**
|
|
24
|
+
* Organization\'s contact person email address.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof UpdateOrganizationRequestDtoRest
|
|
27
|
+
*/
|
|
28
|
+
'address': string;
|
|
29
|
+
/**
|
|
30
|
+
* Zip code of the organization.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof UpdateOrganizationRequestDtoRest
|
|
33
|
+
*/
|
|
34
|
+
'zipCode': string;
|
|
35
|
+
/**
|
|
36
|
+
* City of the organization.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof UpdateOrganizationRequestDtoRest
|
|
39
|
+
*/
|
|
40
|
+
'city': string;
|
|
41
|
+
/**
|
|
42
|
+
* Country of the organization.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof UpdateOrganizationRequestDtoRest
|
|
45
|
+
*/
|
|
46
|
+
'country': string;
|
|
47
|
+
/**
|
|
48
|
+
* Custom fields of the organization
|
|
49
|
+
* @type {object}
|
|
50
|
+
* @memberof UpdateOrganizationRequestDtoRest
|
|
51
|
+
*/
|
|
52
|
+
'customFields': object;
|
|
53
|
+
/**
|
|
54
|
+
* Organization\'s contact person email address.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof UpdateOrganizationRequestDtoRest
|
|
57
|
+
*/
|
|
58
|
+
'email': string;
|
|
59
|
+
/**
|
|
60
|
+
* Name of the invited organization.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof UpdateOrganizationRequestDtoRest
|
|
63
|
+
*/
|
|
64
|
+
'name': string;
|
|
65
|
+
}
|
|
66
|
+
|
package/models/{create-data-report-response-class.ts → update-organization-response-class.ts}
RENAMED
|
@@ -13,19 +13,19 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
import {
|
|
16
|
+
import { OrganizationClass } from './organization-class';
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
20
|
* @export
|
|
21
|
-
* @interface
|
|
21
|
+
* @interface UpdateOrganizationResponseClass
|
|
22
22
|
*/
|
|
23
|
-
export interface
|
|
23
|
+
export interface UpdateOrganizationResponseClass {
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {
|
|
27
|
-
* @memberof
|
|
25
|
+
* Organization
|
|
26
|
+
* @type {OrganizationClass}
|
|
27
|
+
* @memberof UpdateOrganizationResponseClass
|
|
28
28
|
*/
|
|
29
|
-
'
|
|
29
|
+
'organization': OrganizationClass;
|
|
30
30
|
}
|
|
31
31
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/tenant-sdk-node",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/tenant-sdk-node",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"url": "^0.11.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
|
|
26
|
+
"@types/node": "^12.11.5",
|
|
27
27
|
"typescript": "^4.0"
|
|
28
28
|
}
|
|
29
29
|
}
|