@emilgroup/tenant-sdk 1.0.1 → 1.1.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 +14 -57
- package/README.md +2 -2
- package/api/custom-schema-api.ts +52 -60
- package/api/data-report-api.ts +65 -75
- package/api/data-report-executor-api.ts +10 -26
- 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 +455 -0
- package/api/users-api.ts +138 -148
- package/api.ts +4 -14
- package/dist/api/custom-schema-api.d.ts +42 -42
- package/dist/api/custom-schema-api.js +31 -38
- package/dist/api/data-report-api.d.ts +52 -52
- package/dist/api/data-report-api.js +40 -49
- package/dist/api/data-report-executor-api.d.ts +7 -16
- package/dist/api/data-report-executor-api.js +9 -17
- 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 +261 -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 -7
- package/dist/api.js +2 -7
- 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 +12 -50
- package/dist/models/index.js +12 -50
- 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-alert-history-response-class.d.ts → list-organizations-response-class.d.ts} +9 -9
- 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 +84 -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/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 +12 -50
- 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-alert-history-response-class.ts → list-organizations-response-class.ts} +9 -9
- 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 +90 -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/user-class.ts +13 -5
- package/package.json +1 -1
- package/api/alerts-api.ts +0 -860
- package/api/dashboard-api.ts +0 -792
- 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/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/channel-response-class.d.ts +0 -30
- 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-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/get-alert-response-class.d.ts +0 -25
- package/dist/models/get-dashboard-response-class.d.ts +0 -25
- 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.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-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/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-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-dashboard-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/get-alert-response-class.ts +0 -31
- package/models/get-dashboard-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-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/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-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-report-response-class.js → invite-users-response-class.js} +0 -0
- /package/dist/models/{create-scenario-analysis-response-class.js → list-org-invitations-response-class.js} +0 -0
- /package/dist/models/{dashboard-class.js → list-organizations-response-class.js} +0 -0
- /package/dist/models/{get-alert-response-class.js → org-invitation-class.js} +0 -0
- /package/dist/models/{get-dashboard-response-class.js → org-invitation-response-class.js} +0 -0
- /package/dist/models/{get-embedded-url-response-class.js → organization-class.js} +0 -0
package/models/{list-alert-history-response-class.ts → list-organizations-response-class.ts}
RENAMED
|
@@ -13,24 +13,24 @@
|
|
|
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 ListOrganizationsResponseClass
|
|
22
22
|
*/
|
|
23
|
-
export interface
|
|
23
|
+
export interface ListOrganizationsResponseClass {
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {Array<
|
|
27
|
-
* @memberof
|
|
25
|
+
* Organization
|
|
26
|
+
* @type {Array<OrganizationClass>}
|
|
27
|
+
* @memberof ListOrganizationsResponseClass
|
|
28
28
|
*/
|
|
29
|
-
'items': Array<
|
|
29
|
+
'items': Array<OrganizationClass>;
|
|
30
30
|
/**
|
|
31
|
-
* Next page token
|
|
31
|
+
* Next page token.
|
|
32
32
|
* @type {string}
|
|
33
|
-
* @memberof
|
|
33
|
+
* @memberof ListOrganizationsResponseClass
|
|
34
34
|
*/
|
|
35
35
|
'nextPageToken': string;
|
|
36
36
|
}
|
|
@@ -0,0 +1,109 @@
|
|
|
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 { RoleClass } from './role-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface OrgInvitationClass
|
|
22
|
+
*/
|
|
23
|
+
export interface OrgInvitationClass {
|
|
24
|
+
/**
|
|
25
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof OrgInvitationClass
|
|
28
|
+
*/
|
|
29
|
+
'id': number;
|
|
30
|
+
/**
|
|
31
|
+
* Organization user\'s email address.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof OrgInvitationClass
|
|
34
|
+
*/
|
|
35
|
+
'email': string;
|
|
36
|
+
/**
|
|
37
|
+
* Permissions associated with the invite.
|
|
38
|
+
* @type {Array<RoleClass>}
|
|
39
|
+
* @memberof OrgInvitationClass
|
|
40
|
+
*/
|
|
41
|
+
'roles'?: Array<RoleClass>;
|
|
42
|
+
/**
|
|
43
|
+
* Name of the invited organization.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof OrgInvitationClass
|
|
46
|
+
*/
|
|
47
|
+
'name': string;
|
|
48
|
+
/**
|
|
49
|
+
* Identifier for the organization.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof OrgInvitationClass
|
|
52
|
+
*/
|
|
53
|
+
'slug': string;
|
|
54
|
+
/**
|
|
55
|
+
* Inviting organization.
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof OrgInvitationClass
|
|
58
|
+
*/
|
|
59
|
+
'parentOrganizationId'?: number;
|
|
60
|
+
/**
|
|
61
|
+
* Address of the organization.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof OrgInvitationClass
|
|
64
|
+
*/
|
|
65
|
+
'address': string;
|
|
66
|
+
/**
|
|
67
|
+
* Zip code of the organization.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof OrgInvitationClass
|
|
70
|
+
*/
|
|
71
|
+
'zipCode': string;
|
|
72
|
+
/**
|
|
73
|
+
* City of the organization.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof OrgInvitationClass
|
|
76
|
+
*/
|
|
77
|
+
'city': string;
|
|
78
|
+
/**
|
|
79
|
+
* Country of the organization.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof OrgInvitationClass
|
|
82
|
+
*/
|
|
83
|
+
'country': string;
|
|
84
|
+
/**
|
|
85
|
+
* Custom fields of the organization.
|
|
86
|
+
* @type {object}
|
|
87
|
+
* @memberof OrgInvitationClass
|
|
88
|
+
*/
|
|
89
|
+
'customFields'?: object;
|
|
90
|
+
/**
|
|
91
|
+
* Expiry date of invitation email.
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof OrgInvitationClass
|
|
94
|
+
*/
|
|
95
|
+
'expiresAt': string;
|
|
96
|
+
/**
|
|
97
|
+
* Time at which the object was created.
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof OrgInvitationClass
|
|
100
|
+
*/
|
|
101
|
+
'createdAt': string;
|
|
102
|
+
/**
|
|
103
|
+
* Time at which the object was updated.
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof OrgInvitationClass
|
|
106
|
+
*/
|
|
107
|
+
'updatedAt': string;
|
|
108
|
+
}
|
|
109
|
+
|
|
@@ -13,19 +13,19 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
import {
|
|
16
|
+
import { OrgInvitationClass } from './org-invitation-class';
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
20
|
* @export
|
|
21
|
-
* @interface
|
|
21
|
+
* @interface OrgInvitationResponseClass
|
|
22
22
|
*/
|
|
23
|
-
export interface
|
|
23
|
+
export interface OrgInvitationResponseClass {
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {
|
|
27
|
-
* @memberof
|
|
25
|
+
* Invite organizations.
|
|
26
|
+
* @type {OrgInvitationClass}
|
|
27
|
+
* @memberof OrgInvitationResponseClass
|
|
28
28
|
*/
|
|
29
|
-
'
|
|
29
|
+
'invitation': OrgInvitationClass;
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -0,0 +1,90 @@
|
|
|
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 OrganizationClass
|
|
21
|
+
*/
|
|
22
|
+
export interface OrganizationClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof OrganizationClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier for the object.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof OrganizationClass
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
35
|
+
/**
|
|
36
|
+
* Parent organization ID.
|
|
37
|
+
* @type {object}
|
|
38
|
+
* @memberof OrganizationClass
|
|
39
|
+
*/
|
|
40
|
+
'parentId'?: object;
|
|
41
|
+
/**
|
|
42
|
+
* ERN of the organization.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof OrganizationClass
|
|
45
|
+
*/
|
|
46
|
+
'ern': string;
|
|
47
|
+
/**
|
|
48
|
+
* Organization email address
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof OrganizationClass
|
|
51
|
+
*/
|
|
52
|
+
'email': string;
|
|
53
|
+
/**
|
|
54
|
+
* Name of the invited organization.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof OrganizationClass
|
|
57
|
+
*/
|
|
58
|
+
'name': string;
|
|
59
|
+
/**
|
|
60
|
+
* Address of the organization.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof OrganizationClass
|
|
63
|
+
*/
|
|
64
|
+
'address': string;
|
|
65
|
+
/**
|
|
66
|
+
* Zip code of the organization.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof OrganizationClass
|
|
69
|
+
*/
|
|
70
|
+
'zipCode': string;
|
|
71
|
+
/**
|
|
72
|
+
* City of the organization.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof OrganizationClass
|
|
75
|
+
*/
|
|
76
|
+
'city': string;
|
|
77
|
+
/**
|
|
78
|
+
* Country of the organization.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof OrganizationClass
|
|
81
|
+
*/
|
|
82
|
+
'country': string;
|
|
83
|
+
/**
|
|
84
|
+
* Custom fields of the organization.
|
|
85
|
+
* @type {object}
|
|
86
|
+
* @memberof OrganizationClass
|
|
87
|
+
*/
|
|
88
|
+
'customFields'?: object;
|
|
89
|
+
}
|
|
90
|
+
|
|
@@ -21,16 +21,22 @@
|
|
|
21
21
|
*/
|
|
22
22
|
export interface SetSettingRequestDto {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
*
|
|
25
25
|
* @type {string}
|
|
26
26
|
* @memberof SetSettingRequestDto
|
|
27
27
|
*/
|
|
28
28
|
'key': string;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
31
|
-
* @type {
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof SetSettingRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'value': string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
32
38
|
* @memberof SetSettingRequestDto
|
|
33
39
|
*/
|
|
34
|
-
'
|
|
40
|
+
'type': string;
|
|
35
41
|
}
|
|
36
42
|
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { UserClass } from './user-class';
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
*
|
|
@@ -55,12 +56,18 @@ export interface SubscriptionClass {
|
|
|
55
56
|
* @type {string}
|
|
56
57
|
* @memberof SubscriptionClass
|
|
57
58
|
*/
|
|
58
|
-
'createdAt'
|
|
59
|
+
'createdAt'?: string;
|
|
59
60
|
/**
|
|
60
61
|
* Time at which the object was updated.
|
|
61
62
|
* @type {string}
|
|
62
63
|
* @memberof SubscriptionClass
|
|
63
64
|
*/
|
|
64
|
-
'updatedAt'
|
|
65
|
+
'updatedAt'?: string;
|
|
66
|
+
/**
|
|
67
|
+
* user
|
|
68
|
+
* @type {UserClass}
|
|
69
|
+
* @memberof SubscriptionClass
|
|
70
|
+
*/
|
|
71
|
+
'user'?: UserClass;
|
|
65
72
|
}
|
|
66
73
|
|
|
@@ -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];
|
package/models/user-class.ts
CHANGED
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { RoleClass } from './role-class';
|
|
17
|
+
import { SubscriptionClass } from './subscription-class';
|
|
16
18
|
|
|
17
19
|
/**
|
|
18
20
|
*
|
|
@@ -67,19 +69,25 @@ export interface UserClass {
|
|
|
67
69
|
* @type {number}
|
|
68
70
|
* @memberof UserClass
|
|
69
71
|
*/
|
|
70
|
-
'tenantId'
|
|
72
|
+
'tenantId'?: number;
|
|
71
73
|
/**
|
|
72
74
|
* roles associated with the user
|
|
73
|
-
* @type {Array<
|
|
75
|
+
* @type {Array<RoleClass>}
|
|
74
76
|
* @memberof UserClass
|
|
75
77
|
*/
|
|
76
|
-
'roles': Array<
|
|
78
|
+
'roles': Array<RoleClass>;
|
|
79
|
+
/**
|
|
80
|
+
* Organization ID the user belongs to
|
|
81
|
+
* @type {number}
|
|
82
|
+
* @memberof UserClass
|
|
83
|
+
*/
|
|
84
|
+
'organizationId'?: number;
|
|
77
85
|
/**
|
|
78
86
|
* Subscriptions associated with the user
|
|
79
|
-
* @type {Array<
|
|
87
|
+
* @type {Array<SubscriptionClass>}
|
|
80
88
|
* @memberof UserClass
|
|
81
89
|
*/
|
|
82
|
-
'subscriptions': Array<
|
|
90
|
+
'subscriptions': Array<SubscriptionClass>;
|
|
83
91
|
/**
|
|
84
92
|
* Date created
|
|
85
93
|
* @type {string}
|