@emilgroup/tenant-sdk 1.0.1 → 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 +16 -72
- package/README.md +2 -2
- package/api/custom-schema-api.ts +52 -60
- package/api/{user-subscription-api.ts → invite-organizations-api.ts} +139 -161
- package/api/invite-users-api.ts +75 -79
- package/api/organizations-api.ts +459 -0
- package/api/users-api.ts +138 -148
- package/api.ts +4 -18
- package/dist/api/custom-schema-api.d.ts +42 -42
- package/dist/api/custom-schema-api.js +31 -38
- package/dist/api/{user-subscription-api.d.ts → invite-organizations-api.d.ts} +89 -103
- package/dist/api/{user-subscription-api.js → invite-organizations-api.js} +106 -114
- package/dist/api/invite-users-api.d.ts +63 -60
- package/dist/api/invite-users-api.js +40 -49
- package/dist/api/organizations-api.d.ts +263 -0
- package/dist/api/{settings-api.js → organizations-api.js} +135 -195
- package/dist/api/users-api.d.ts +113 -109
- package/dist/api/users-api.js +76 -93
- package/dist/api.d.ts +2 -9
- package/dist/api.js +2 -9
- package/dist/models/assign-user-roles-request-dto.d.ts +2 -2
- package/dist/models/{manage-subscription-request-dto.d.ts → batch-delete-response-class.d.ts} +5 -5
- 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/{insurance-response-class.d.ts → delete-response-class.d.ts} +6 -6
- package/dist/models/{get-embedded-url-response-class.d.ts → disable-users-response-class.d.ts} +6 -6
- package/dist/models/{insurance-company-response-class.d.ts → enable-users-response-class.d.ts} +6 -6
- package/dist/models/{create-alert-response-class.d.ts → get-organization-response-class.d.ts} +7 -7
- package/dist/models/index.d.ts +14 -63
- package/dist/models/index.js +14 -63
- package/dist/models/invite-org-request-dto.d.ts +78 -0
- package/dist/models/invite-user-request-dto.d.ts +8 -2
- package/dist/models/invite-users-request-dto.d.ts +2 -2
- package/dist/models/invite-users-response-class.d.ts +24 -0
- package/dist/models/{list-user-subscriptions-response-class.d.ts → list-org-invitations-response-class.d.ts} +8 -8
- package/dist/models/{list-data-reports-response-class.d.ts → list-organizations-response-class.d.ts} +8 -8
- package/dist/models/org-invitation-class.d.ts +103 -0
- package/dist/models/{create-dashboard-response-class.d.ts → org-invitation-response-class.d.ts} +7 -7
- package/dist/models/organization-class.d.ts +96 -0
- package/dist/models/set-setting-request-dto.d.ts +10 -4
- package/dist/models/subscription-class.d.ts +9 -2
- 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/{channel-response-class.d.ts → update-organization-response-class.d.ts} +7 -12
- package/dist/models/user-class.d.ts +13 -5
- package/models/assign-user-roles-request-dto.ts +2 -2
- package/models/{manage-subscription-request-dto.ts → batch-delete-response-class.ts} +5 -5
- package/models/create-custom-schema-request-dto.ts +2 -1
- package/models/{insurance-response-class.ts → delete-response-class.ts} +6 -6
- package/models/{get-embedded-url-response-class.ts → disable-users-response-class.ts} +6 -6
- package/models/{insurance-company-response-class.ts → enable-users-response-class.ts} +6 -6
- package/models/{channel-response-class.ts → get-organization-response-class.ts} +7 -12
- package/models/index.ts +14 -63
- package/models/invite-org-request-dto.ts +84 -0
- package/models/invite-user-request-dto.ts +8 -2
- package/models/invite-users-request-dto.ts +2 -2
- package/models/invite-users-response-class.ts +30 -0
- package/models/{list-user-subscriptions-response-class.ts → list-org-invitations-response-class.ts} +8 -8
- package/models/{list-data-reports-response-class.ts → list-organizations-response-class.ts} +8 -8
- package/models/org-invitation-class.ts +109 -0
- package/models/{create-alert-response-class.ts → org-invitation-response-class.ts} +7 -7
- package/models/organization-class.ts +102 -0
- package/models/set-setting-request-dto.ts +10 -4
- package/models/subscription-class.ts +9 -2
- package/models/update-custom-schema-request-dto.ts +2 -1
- package/models/update-organization-request-dto-rest.ts +66 -0
- package/models/{create-dashboard-response-class.ts → update-organization-response-class.ts} +7 -7
- package/models/user-class.ts +13 -5
- package/package.json +2 -2
- package/api/alerts-api.ts +0 -860
- package/api/dashboard-api.ts +0 -792
- package/api/data-report-api.ts +0 -687
- package/api/data-report-executor-api.ts +0 -181
- package/api/reports-api.ts +0 -860
- package/api/scenario-analysis-api.ts +0 -977
- package/api/settings-api.ts +0 -484
- package/api/tariff-comparisons-api.ts +0 -381
- package/dist/api/alerts-api.d.ts +0 -479
- package/dist/api/alerts-api.js +0 -752
- package/dist/api/dashboard-api.d.ts +0 -434
- package/dist/api/dashboard-api.js +0 -724
- package/dist/api/data-report-api.d.ts +0 -380
- package/dist/api/data-report-api.js +0 -645
- package/dist/api/data-report-executor-api.d.ts +0 -102
- package/dist/api/data-report-executor-api.js +0 -232
- package/dist/api/reports-api.d.ts +0 -479
- package/dist/api/reports-api.js +0 -752
- package/dist/api/scenario-analysis-api.d.ts +0 -529
- package/dist/api/scenario-analysis-api.js +0 -895
- package/dist/api/settings-api.d.ts +0 -264
- package/dist/api/tariff-comparisons-api.d.ts +0 -206
- package/dist/api/tariff-comparisons-api.js +0 -409
- package/dist/models/alert-class.d.ts +0 -90
- package/dist/models/alert-history-class.d.ts +0 -108
- package/dist/models/compare-tariffs-request-dto.d.ts +0 -37
- package/dist/models/compare-tariffs-request-dto.js +0 -22
- package/dist/models/compare-tariffs-response-class.d.ts +0 -31
- package/dist/models/condition-dto.d.ts +0 -43
- package/dist/models/condition-dto.js +0 -22
- package/dist/models/create-alert-request-dto.d.ts +0 -79
- package/dist/models/create-alert-request-dto.js +0 -27
- package/dist/models/create-dashboard-request-dto.d.ts +0 -70
- package/dist/models/create-dashboard-request-dto.js +0 -29
- 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/create-report-request-dto.d.ts +0 -49
- package/dist/models/create-report-request-dto.js +0 -22
- package/dist/models/create-report-response-class.d.ts +0 -25
- package/dist/models/create-scenario-analysis-request-dto.d.ts +0 -74
- package/dist/models/create-scenario-analysis-request-dto.js +0 -22
- package/dist/models/create-scenario-analysis-response-class.d.ts +0 -25
- package/dist/models/dashboard-class.d.ts +0 -78
- package/dist/models/data-report-class.d.ts +0 -79
- package/dist/models/data-report-filter-class.d.ts +0 -72
- package/dist/models/data-report-filter-dto.d.ts +0 -48
- 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-alert-response-class.d.ts +0 -25
- package/dist/models/get-alert-response-class.js +0 -15
- package/dist/models/get-dashboard-response-class.d.ts +0 -25
- package/dist/models/get-dashboard-response-class.js +0 -15
- package/dist/models/get-data-report-response-class.d.ts +0 -25
- package/dist/models/get-data-report-response-class.js +0 -15
- package/dist/models/get-embedded-url-response-class.js +0 -15
- package/dist/models/get-report-response-class.d.ts +0 -25
- package/dist/models/get-report-response-class.js +0 -15
- package/dist/models/get-scenario-analysis-response-class.d.ts +0 -25
- package/dist/models/get-scenario-analysis-response-class.js +0 -15
- package/dist/models/grouped-tariff-class.d.ts +0 -30
- package/dist/models/grouped-tariff-class.js +0 -15
- package/dist/models/insurance-company-response-class.js +0 -15
- package/dist/models/insurance-response-class.js +0 -15
- package/dist/models/list-alert-history-response-class.d.ts +0 -31
- package/dist/models/list-alert-history-response-class.js +0 -15
- package/dist/models/list-alerts-response-class.d.ts +0 -31
- package/dist/models/list-alerts-response-class.js +0 -15
- package/dist/models/list-channels-response-class.d.ts +0 -25
- package/dist/models/list-channels-response-class.js +0 -15
- package/dist/models/list-dashboards-response-class.d.ts +0 -31
- package/dist/models/list-dashboards-response-class.js +0 -15
- package/dist/models/list-data-reports-response-class.js +0 -15
- package/dist/models/list-insurance-companies-response-class.d.ts +0 -25
- package/dist/models/list-insurance-companies-response-class.js +0 -15
- package/dist/models/list-report-history-response-class.d.ts +0 -31
- package/dist/models/list-report-history-response-class.js +0 -15
- package/dist/models/list-reports-response-class.d.ts +0 -31
- package/dist/models/list-reports-response-class.js +0 -15
- package/dist/models/list-scenario-analyses-response-class.d.ts +0 -31
- package/dist/models/list-scenario-analyses-response-class.js +0 -15
- package/dist/models/list-scenario-analysis-dates-response-class.d.ts +0 -25
- package/dist/models/list-scenario-analysis-dates-response-class.js +0 -15
- package/dist/models/list-tariff-insurance-companies-response-class.d.ts +0 -25
- package/dist/models/list-tariff-insurance-companies-response-class.js +0 -15
- package/dist/models/list-tariffs-response-class.d.ts +0 -25
- package/dist/models/list-tariffs-response-class.js +0 -15
- package/dist/models/list-user-subscriptions-response-class.js +0 -15
- package/dist/models/manage-subscription-request-dto.js +0 -15
- package/dist/models/manage-subscription-response-class.d.ts +0 -25
- package/dist/models/manage-subscription-response-class.js +0 -15
- package/dist/models/report-class.d.ts +0 -66
- package/dist/models/report-class.js +0 -15
- package/dist/models/report-history-class.d.ts +0 -48
- package/dist/models/report-history-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/scenario-analysis-class.d.ts +0 -108
- package/dist/models/scenario-analysis-class.js +0 -15
- package/dist/models/scenario-analysis-date-response-class.d.ts +0 -36
- package/dist/models/scenario-analysis-date-response-class.js +0 -15
- package/dist/models/set-tenant-setting-response-class.d.ts +0 -36
- package/dist/models/set-tenant-setting-response-class.js +0 -15
- package/dist/models/update-alert-request-dto.d.ts +0 -72
- package/dist/models/update-alert-request-dto.js +0 -21
- package/dist/models/update-alert-response-class.d.ts +0 -25
- package/dist/models/update-alert-response-class.js +0 -15
- package/dist/models/update-dashboard-request-dto.d.ts +0 -76
- package/dist/models/update-dashboard-request-dto.js +0 -29
- package/dist/models/update-dashboard-response-class.d.ts +0 -25
- package/dist/models/update-dashboard-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/dist/models/update-report-request-dto.d.ts +0 -55
- package/dist/models/update-report-request-dto.js +0 -22
- package/dist/models/update-report-response-class.d.ts +0 -25
- package/dist/models/update-report-response-class.js +0 -15
- package/dist/models/update-scenario-analysis-request-dto.d.ts +0 -74
- package/dist/models/update-scenario-analysis-request-dto.js +0 -22
- package/dist/models/update-scenario-analysis-response-class.d.ts +0 -25
- package/dist/models/update-scenario-analysis-response-class.js +0 -15
- package/models/alert-class.ts +0 -96
- package/models/alert-history-class.ts +0 -114
- package/models/compare-tariffs-request-dto.ts +0 -46
- package/models/compare-tariffs-response-class.ts +0 -37
- package/models/condition-dto.ts +0 -52
- package/models/create-alert-request-dto.ts +0 -89
- package/models/create-dashboard-request-dto.ts +0 -81
- package/models/create-data-report-request-dto.ts +0 -67
- package/models/create-data-report-response-class.ts +0 -31
- package/models/create-report-request-dto.ts +0 -58
- package/models/create-report-response-class.ts +0 -31
- package/models/create-scenario-analysis-request-dto.ts +0 -83
- package/models/create-scenario-analysis-response-class.ts +0 -31
- package/models/dashboard-class.ts +0 -84
- 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-alert-response-class.ts +0 -31
- package/models/get-dashboard-response-class.ts +0 -31
- package/models/get-data-report-response-class.ts +0 -31
- package/models/get-report-response-class.ts +0 -31
- package/models/get-scenario-analysis-response-class.ts +0 -31
- package/models/grouped-tariff-class.ts +0 -36
- package/models/list-alert-history-response-class.ts +0 -37
- package/models/list-alerts-response-class.ts +0 -37
- package/models/list-channels-response-class.ts +0 -31
- package/models/list-dashboards-response-class.ts +0 -37
- package/models/list-insurance-companies-response-class.ts +0 -31
- package/models/list-report-history-response-class.ts +0 -37
- package/models/list-reports-response-class.ts +0 -37
- package/models/list-scenario-analyses-response-class.ts +0 -37
- package/models/list-scenario-analysis-dates-response-class.ts +0 -31
- package/models/list-tariff-insurance-companies-response-class.ts +0 -31
- package/models/list-tariffs-response-class.ts +0 -31
- package/models/manage-subscription-response-class.ts +0 -31
- package/models/report-class.ts +0 -72
- package/models/report-history-class.ts +0 -54
- package/models/run-data-report-request-dto.ts +0 -37
- package/models/run-data-report-response-class.ts +0 -30
- package/models/scenario-analysis-class.ts +0 -114
- package/models/scenario-analysis-date-response-class.ts +0 -42
- package/models/set-tenant-setting-response-class.ts +0 -42
- package/models/update-alert-request-dto.ts +0 -81
- package/models/update-alert-response-class.ts +0 -31
- package/models/update-dashboard-request-dto.ts +0 -87
- package/models/update-dashboard-response-class.ts +0 -31
- package/models/update-data-report-request-dto.ts +0 -67
- package/models/update-data-report-response-class.ts +0 -31
- package/models/update-report-request-dto.ts +0 -64
- package/models/update-report-response-class.ts +0 -31
- package/models/update-scenario-analysis-request-dto.ts +0 -83
- package/models/update-scenario-analysis-response-class.ts +0 -31
- /package/dist/models/{alert-class.js → batch-delete-response-class.js} +0 -0
- /package/dist/models/{alert-history-class.js → delete-response-class.js} +0 -0
- /package/dist/models/{channel-response-class.js → disable-users-response-class.js} +0 -0
- /package/dist/models/{compare-tariffs-response-class.js → enable-users-response-class.js} +0 -0
- /package/dist/models/{create-alert-response-class.js → get-organization-response-class.js} +0 -0
- /package/dist/models/{create-dashboard-response-class.js → invite-org-request-dto.js} +0 -0
- /package/dist/models/{create-data-report-request-dto.js → invite-users-response-class.js} +0 -0
- /package/dist/models/{create-data-report-response-class.js → list-org-invitations-response-class.js} +0 -0
- /package/dist/models/{create-report-response-class.js → list-organizations-response-class.js} +0 -0
- /package/dist/models/{create-scenario-analysis-response-class.js → org-invitation-class.js} +0 -0
- /package/dist/models/{dashboard-class.js → org-invitation-response-class.js} +0 -0
- /package/dist/models/{data-report-class.js → organization-class.js} +0 -0
- /package/dist/models/{data-report-filter-class.js → update-organization-request-dto-rest.js} +0 -0
- /package/dist/models/{data-report-filter-dto.js → update-organization-response-class.js} +0 -0
package/dist/models/{create-dashboard-response-class.d.ts → org-invitation-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 { OrgInvitationClass } from './org-invitation-class';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
16
|
-
* @interface
|
|
16
|
+
* @interface OrgInvitationResponseClass
|
|
17
17
|
*/
|
|
18
|
-
export interface
|
|
18
|
+
export interface OrgInvitationResponseClass {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {
|
|
22
|
-
* @memberof
|
|
20
|
+
* Invite organizations.
|
|
21
|
+
* @type {OrgInvitationClass}
|
|
22
|
+
* @memberof OrgInvitationResponseClass
|
|
23
23
|
*/
|
|
24
|
-
'
|
|
24
|
+
'invitation': OrgInvitationClass;
|
|
25
25
|
}
|
|
@@ -0,0 +1,96 @@
|
|
|
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 OrganizationClass
|
|
16
|
+
*/
|
|
17
|
+
export interface OrganizationClass {
|
|
18
|
+
/**
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof OrganizationClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier for the object.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof OrganizationClass
|
|
28
|
+
*/
|
|
29
|
+
'code': string;
|
|
30
|
+
/**
|
|
31
|
+
* Parent organization ID.
|
|
32
|
+
* @type {object}
|
|
33
|
+
* @memberof OrganizationClass
|
|
34
|
+
*/
|
|
35
|
+
'parentId'?: object;
|
|
36
|
+
/**
|
|
37
|
+
* ERN of the organization.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof OrganizationClass
|
|
40
|
+
*/
|
|
41
|
+
'ern': string;
|
|
42
|
+
/**
|
|
43
|
+
* Organization email address
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof OrganizationClass
|
|
46
|
+
*/
|
|
47
|
+
'email': string;
|
|
48
|
+
/**
|
|
49
|
+
* Name of the invited organization.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof OrganizationClass
|
|
52
|
+
*/
|
|
53
|
+
'name': string;
|
|
54
|
+
/**
|
|
55
|
+
* Address of the organization.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof OrganizationClass
|
|
58
|
+
*/
|
|
59
|
+
'address': string;
|
|
60
|
+
/**
|
|
61
|
+
* Zip code of the organization.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof OrganizationClass
|
|
64
|
+
*/
|
|
65
|
+
'zipCode': string;
|
|
66
|
+
/**
|
|
67
|
+
* City of the organization.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof OrganizationClass
|
|
70
|
+
*/
|
|
71
|
+
'city': string;
|
|
72
|
+
/**
|
|
73
|
+
* Country of the organization.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof OrganizationClass
|
|
76
|
+
*/
|
|
77
|
+
'country': string;
|
|
78
|
+
/**
|
|
79
|
+
* Custom fields of the organization.
|
|
80
|
+
* @type {object}
|
|
81
|
+
* @memberof OrganizationClass
|
|
82
|
+
*/
|
|
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;
|
|
96
|
+
}
|
|
@@ -16,15 +16,21 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface SetSettingRequestDto {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
*
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof SetSettingRequestDto
|
|
22
22
|
*/
|
|
23
23
|
'key': string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SetSettingRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'value': string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
27
33
|
* @memberof SetSettingRequestDto
|
|
28
34
|
*/
|
|
29
|
-
'
|
|
35
|
+
'type': string;
|
|
30
36
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { UserClass } from './user-class';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -50,11 +51,17 @@ export interface SubscriptionClass {
|
|
|
50
51
|
* @type {string}
|
|
51
52
|
* @memberof SubscriptionClass
|
|
52
53
|
*/
|
|
53
|
-
'createdAt'
|
|
54
|
+
'createdAt'?: string;
|
|
54
55
|
/**
|
|
55
56
|
* Time at which the object was updated.
|
|
56
57
|
* @type {string}
|
|
57
58
|
* @memberof SubscriptionClass
|
|
58
59
|
*/
|
|
59
|
-
'updatedAt'
|
|
60
|
+
'updatedAt'?: string;
|
|
61
|
+
/**
|
|
62
|
+
* user
|
|
63
|
+
* @type {UserClass}
|
|
64
|
+
* @memberof SubscriptionClass
|
|
65
|
+
*/
|
|
66
|
+
'user'?: UserClass;
|
|
60
67
|
}
|
|
@@ -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
|
+
}
|
|
@@ -9,22 +9,17 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { OrganizationClass } from './organization-class';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
15
|
-
* @interface
|
|
16
|
+
* @interface UpdateOrganizationResponseClass
|
|
16
17
|
*/
|
|
17
|
-
export interface
|
|
18
|
+
export interface UpdateOrganizationResponseClass {
|
|
18
19
|
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {
|
|
21
|
-
* @memberof
|
|
20
|
+
* Organization
|
|
21
|
+
* @type {OrganizationClass}
|
|
22
|
+
* @memberof UpdateOrganizationResponseClass
|
|
22
23
|
*/
|
|
23
|
-
'
|
|
24
|
-
/**
|
|
25
|
-
* Channel name
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ChannelResponseClass
|
|
28
|
-
*/
|
|
29
|
-
'name': string;
|
|
24
|
+
'organization': OrganizationClass;
|
|
30
25
|
}
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { RoleClass } from './role-class';
|
|
13
|
+
import { SubscriptionClass } from './subscription-class';
|
|
12
14
|
/**
|
|
13
15
|
*
|
|
14
16
|
* @export
|
|
@@ -62,19 +64,25 @@ export interface UserClass {
|
|
|
62
64
|
* @type {number}
|
|
63
65
|
* @memberof UserClass
|
|
64
66
|
*/
|
|
65
|
-
'tenantId'
|
|
67
|
+
'tenantId'?: number;
|
|
66
68
|
/**
|
|
67
69
|
* roles associated with the user
|
|
68
|
-
* @type {Array<
|
|
70
|
+
* @type {Array<RoleClass>}
|
|
69
71
|
* @memberof UserClass
|
|
70
72
|
*/
|
|
71
|
-
'roles': Array<
|
|
73
|
+
'roles': Array<RoleClass>;
|
|
74
|
+
/**
|
|
75
|
+
* Organization ID the user belongs to
|
|
76
|
+
* @type {number}
|
|
77
|
+
* @memberof UserClass
|
|
78
|
+
*/
|
|
79
|
+
'organizationId'?: number;
|
|
72
80
|
/**
|
|
73
81
|
* Subscriptions associated with the user
|
|
74
|
-
* @type {Array<
|
|
82
|
+
* @type {Array<SubscriptionClass>}
|
|
75
83
|
* @memberof UserClass
|
|
76
84
|
*/
|
|
77
|
-
'subscriptions': Array<
|
|
85
|
+
'subscriptions': Array<SubscriptionClass>;
|
|
78
86
|
/**
|
|
79
87
|
* Date created
|
|
80
88
|
* @type {string}
|
|
@@ -28,9 +28,9 @@ export interface AssignUserRolesRequestDto {
|
|
|
28
28
|
'userId': number;
|
|
29
29
|
/**
|
|
30
30
|
* Role ids to be assigned
|
|
31
|
-
* @type {Array<
|
|
31
|
+
* @type {Array<number>}
|
|
32
32
|
* @memberof AssignUserRolesRequestDto
|
|
33
33
|
*/
|
|
34
|
-
'roleIds': Array<
|
|
34
|
+
'roleIds': Array<number>;
|
|
35
35
|
}
|
|
36
36
|
|
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
|
-
* @interface
|
|
20
|
+
* @interface BatchDeleteResponseClass
|
|
21
21
|
*/
|
|
22
|
-
export interface
|
|
22
|
+
export interface BatchDeleteResponseClass {
|
|
23
23
|
/**
|
|
24
24
|
*
|
|
25
|
-
* @type {
|
|
26
|
-
* @memberof
|
|
25
|
+
* @type {object}
|
|
26
|
+
* @memberof BatchDeleteResponseClass
|
|
27
27
|
*/
|
|
28
|
-
'
|
|
28
|
+
'response': object;
|
|
29
29
|
}
|
|
30
30
|
|
|
@@ -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];
|
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
|
-
* @interface
|
|
20
|
+
* @interface DeleteResponseClass
|
|
21
21
|
*/
|
|
22
|
-
export interface
|
|
22
|
+
export interface DeleteResponseClass {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
25
|
-
* @type {
|
|
26
|
-
* @memberof
|
|
24
|
+
*
|
|
25
|
+
* @type {object}
|
|
26
|
+
* @memberof DeleteResponseClass
|
|
27
27
|
*/
|
|
28
|
-
'
|
|
28
|
+
'response': object;
|
|
29
29
|
}
|
|
30
30
|
|
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
|
-
* @interface
|
|
20
|
+
* @interface DisableUsersResponseClass
|
|
21
21
|
*/
|
|
22
|
-
export interface
|
|
22
|
+
export interface DisableUsersResponseClass {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
25
|
-
* @type {
|
|
26
|
-
* @memberof
|
|
24
|
+
*
|
|
25
|
+
* @type {object}
|
|
26
|
+
* @memberof DisableUsersResponseClass
|
|
27
27
|
*/
|
|
28
|
-
'
|
|
28
|
+
'response': object;
|
|
29
29
|
}
|
|
30
30
|
|
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
|
-
* @interface
|
|
20
|
+
* @interface EnableUsersResponseClass
|
|
21
21
|
*/
|
|
22
|
-
export interface
|
|
22
|
+
export interface EnableUsersResponseClass {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
25
|
-
* @type {
|
|
26
|
-
* @memberof
|
|
24
|
+
*
|
|
25
|
+
* @type {object}
|
|
26
|
+
* @memberof EnableUsersResponseClass
|
|
27
27
|
*/
|
|
28
|
-
'
|
|
28
|
+
'response': object;
|
|
29
29
|
}
|
|
30
30
|
|
|
@@ -13,24 +13,19 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { OrganizationClass } from './organization-class';
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
*
|
|
19
20
|
* @export
|
|
20
|
-
* @interface
|
|
21
|
+
* @interface GetOrganizationResponseClass
|
|
21
22
|
*/
|
|
22
|
-
export interface
|
|
23
|
+
export interface GetOrganizationResponseClass {
|
|
23
24
|
/**
|
|
24
|
-
*
|
|
25
|
-
* @type {
|
|
26
|
-
* @memberof
|
|
25
|
+
* Organization
|
|
26
|
+
* @type {OrganizationClass}
|
|
27
|
+
* @memberof GetOrganizationResponseClass
|
|
27
28
|
*/
|
|
28
|
-
'
|
|
29
|
-
/**
|
|
30
|
-
* Channel name
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof ChannelResponseClass
|
|
33
|
-
*/
|
|
34
|
-
'name': string;
|
|
29
|
+
'organization': OrganizationClass;
|
|
35
30
|
}
|
|
36
31
|
|
package/models/index.ts
CHANGED
|
@@ -1,98 +1,49 @@
|
|
|
1
|
-
export * from './alert-class';
|
|
2
|
-
export * from './alert-history-class';
|
|
3
1
|
export * from './assign-user-roles-request-dto';
|
|
4
2
|
export * from './assign-user-roles-response-class';
|
|
5
3
|
export * from './batch-delete-request-dto';
|
|
6
|
-
export * from './
|
|
7
|
-
export * from './compare-tariffs-request-dto';
|
|
8
|
-
export * from './compare-tariffs-response-class';
|
|
9
|
-
export * from './condition-dto';
|
|
10
|
-
export * from './create-alert-request-dto';
|
|
11
|
-
export * from './create-alert-response-class';
|
|
4
|
+
export * from './batch-delete-response-class';
|
|
12
5
|
export * from './create-custom-schema-request-dto';
|
|
13
6
|
export * from './create-custom-schema-response-class';
|
|
14
|
-
export * from './create-dashboard-request-dto';
|
|
15
|
-
export * from './create-dashboard-response-class';
|
|
16
|
-
export * from './create-data-report-request-dto';
|
|
17
|
-
export * from './create-data-report-response-class';
|
|
18
7
|
export * from './create-permission-request-dto';
|
|
19
|
-
export * from './create-report-request-dto';
|
|
20
|
-
export * from './create-report-response-class';
|
|
21
8
|
export * from './create-role-request-dto';
|
|
22
|
-
export * from './create-scenario-analysis-request-dto';
|
|
23
|
-
export * from './create-scenario-analysis-response-class';
|
|
24
9
|
export * from './create-tenant-request-dto';
|
|
25
10
|
export * from './custom-field-dto';
|
|
26
11
|
export * from './custom-schema-class';
|
|
27
12
|
export * from './dbconfig-dto';
|
|
28
|
-
export * from './
|
|
29
|
-
export * from './data-report-class';
|
|
30
|
-
export * from './data-report-filter-class';
|
|
31
|
-
export * from './data-report-filter-dto';
|
|
32
|
-
export * from './data-report-filter-single-value-dto';
|
|
33
|
-
export * from './data-report-filter-value-dto';
|
|
13
|
+
export * from './delete-response-class';
|
|
34
14
|
export * from './disable-user-response-class';
|
|
35
15
|
export * from './disable-users-request-dto';
|
|
16
|
+
export * from './disable-users-response-class';
|
|
36
17
|
export * from './enable-user-response-class';
|
|
37
18
|
export * from './enable-users-request-dto';
|
|
38
|
-
export * from './
|
|
19
|
+
export * from './enable-users-response-class';
|
|
39
20
|
export * from './get-custom-schema-response-class';
|
|
40
|
-
export * from './get-
|
|
41
|
-
export * from './get-data-report-response-class';
|
|
42
|
-
export * from './get-embedded-url-response-class';
|
|
43
|
-
export * from './get-report-response-class';
|
|
44
|
-
export * from './get-scenario-analysis-response-class';
|
|
21
|
+
export * from './get-organization-response-class';
|
|
45
22
|
export * from './get-settings-response-class';
|
|
46
23
|
export * from './get-user-response-class';
|
|
47
|
-
export * from './grouped-tariff-class';
|
|
48
|
-
export * from './insurance-company-response-class';
|
|
49
|
-
export * from './insurance-response-class';
|
|
50
24
|
export * from './invite-class';
|
|
25
|
+
export * from './invite-org-request-dto';
|
|
51
26
|
export * from './invite-user-request-dto';
|
|
52
27
|
export * from './invite-user-response-class';
|
|
53
28
|
export * from './invite-users-request-dto';
|
|
54
|
-
export * from './
|
|
55
|
-
export * from './list-alerts-response-class';
|
|
56
|
-
export * from './list-channels-response-class';
|
|
29
|
+
export * from './invite-users-response-class';
|
|
57
30
|
export * from './list-custom-schemas-response-class';
|
|
58
|
-
export * from './list-dashboards-response-class';
|
|
59
|
-
export * from './list-data-reports-response-class';
|
|
60
|
-
export * from './list-insurance-companies-response-class';
|
|
61
31
|
export * from './list-invites-response-class';
|
|
62
|
-
export * from './list-
|
|
63
|
-
export * from './list-
|
|
64
|
-
export * from './list-scenario-analyses-response-class';
|
|
65
|
-
export * from './list-scenario-analysis-dates-response-class';
|
|
66
|
-
export * from './list-tariff-insurance-companies-response-class';
|
|
67
|
-
export * from './list-tariffs-response-class';
|
|
68
|
-
export * from './list-user-subscriptions-response-class';
|
|
32
|
+
export * from './list-org-invitations-response-class';
|
|
33
|
+
export * from './list-organizations-response-class';
|
|
69
34
|
export * from './list-users-response-class';
|
|
70
|
-
export * from './
|
|
71
|
-
export * from './
|
|
35
|
+
export * from './org-invitation-class';
|
|
36
|
+
export * from './org-invitation-response-class';
|
|
37
|
+
export * from './organization-class';
|
|
72
38
|
export * from './permission-class';
|
|
73
|
-
export * from './report-class';
|
|
74
|
-
export * from './report-history-class';
|
|
75
39
|
export * from './role-class';
|
|
76
|
-
export * from './run-data-report-request-dto';
|
|
77
|
-
export * from './run-data-report-response-class';
|
|
78
|
-
export * from './scenario-analysis-class';
|
|
79
|
-
export * from './scenario-analysis-date-response-class';
|
|
80
40
|
export * from './set-setting-request-dto';
|
|
81
|
-
export * from './set-tenant-setting-response-class';
|
|
82
41
|
export * from './set-user-setting-response-class';
|
|
83
42
|
export * from './subscription-class';
|
|
84
43
|
export * from './tenant-admin-user-dto';
|
|
85
|
-
export * from './update-alert-request-dto';
|
|
86
|
-
export * from './update-alert-response-class';
|
|
87
44
|
export * from './update-custom-schema-request-dto';
|
|
88
45
|
export * from './update-custom-schema-response-class';
|
|
89
|
-
export * from './update-
|
|
90
|
-
export * from './update-
|
|
91
|
-
export * from './update-data-report-request-dto';
|
|
92
|
-
export * from './update-data-report-response-class';
|
|
93
|
-
export * from './update-report-request-dto';
|
|
94
|
-
export * from './update-report-response-class';
|
|
46
|
+
export * from './update-organization-request-dto-rest';
|
|
47
|
+
export * from './update-organization-response-class';
|
|
95
48
|
export * from './update-role-request-dto';
|
|
96
|
-
export * from './update-scenario-analysis-request-dto';
|
|
97
|
-
export * from './update-scenario-analysis-response-class';
|
|
98
49
|
export * from './user-class';
|
|
@@ -0,0 +1,84 @@
|
|
|
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 InviteOrgRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface InviteOrgRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Organization\'s contact person email address.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof InviteOrgRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'email': string;
|
|
29
|
+
/**
|
|
30
|
+
* Role ids to be assigned.
|
|
31
|
+
* @type {Array<number>}
|
|
32
|
+
* @memberof InviteOrgRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'roleIds': Array<number>;
|
|
35
|
+
/**
|
|
36
|
+
* Name of the invited organization.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof InviteOrgRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'name': string;
|
|
41
|
+
/**
|
|
42
|
+
* Identifier for the organization.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof InviteOrgRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'slug': string;
|
|
47
|
+
/**
|
|
48
|
+
* Inviting organization.
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof InviteOrgRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'parentOrganizationId': number;
|
|
53
|
+
/**
|
|
54
|
+
* Address of the organization.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof InviteOrgRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'address': string;
|
|
59
|
+
/**
|
|
60
|
+
* Zip code of the organization.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof InviteOrgRequestDto
|
|
63
|
+
*/
|
|
64
|
+
'zipCode': string;
|
|
65
|
+
/**
|
|
66
|
+
* City of the organization.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof InviteOrgRequestDto
|
|
69
|
+
*/
|
|
70
|
+
'city': string;
|
|
71
|
+
/**
|
|
72
|
+
* Country of the organization.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof InviteOrgRequestDto
|
|
75
|
+
*/
|
|
76
|
+
'country': string;
|
|
77
|
+
/**
|
|
78
|
+
* Custom fields of the organization
|
|
79
|
+
* @type {object}
|
|
80
|
+
* @memberof InviteOrgRequestDto
|
|
81
|
+
*/
|
|
82
|
+
'customFields': object;
|
|
83
|
+
}
|
|
84
|
+
|