@emilgroup/partner-portal-sdk 1.0.1-beta.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 +49 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +51 -0
- package/api/health-check-api.ts +124 -0
- package/api/intermediary-api.ts +1222 -0
- package/api.ts +29 -0
- package/base.ts +278 -0
- package/common.ts +198 -0
- package/configuration.ts +101 -0
- package/dist/api/health-check-api.d.ts +70 -0
- package/dist/api/health-check-api.js +200 -0
- package/dist/api/intermediary-api.d.ts +704 -0
- package/dist/api/intermediary-api.js +1015 -0
- package/dist/api.d.ts +13 -0
- package/dist/api.js +31 -0
- package/dist/base.d.ts +77 -0
- package/dist/base.js +321 -0
- package/dist/common.d.ts +91 -0
- package/dist/common.js +276 -0
- package/dist/configuration.d.ts +83 -0
- package/dist/configuration.js +44 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +36 -0
- package/dist/models/account-class.d.ts +176 -0
- package/dist/models/account-class.js +22 -0
- package/dist/models/account-policy-class.d.ts +147 -0
- package/dist/models/account-policy-class.js +15 -0
- package/dist/models/create-payment-method-request-dto.d.ts +31 -0
- package/dist/models/create-payment-method-request-dto.js +15 -0
- package/dist/models/create-policy-request-dto.d.ts +55 -0
- package/dist/models/create-policy-request-dto.js +15 -0
- package/dist/models/index.d.ts +34 -0
- package/dist/models/index.js +50 -0
- package/dist/models/inline-response200.d.ts +54 -0
- package/dist/models/inline-response200.js +15 -0
- package/dist/models/inline-response503.d.ts +54 -0
- package/dist/models/inline-response503.js +15 -0
- package/dist/models/insured-object-type-class.d.ts +60 -0
- package/dist/models/insured-object-type-class.js +15 -0
- package/dist/models/invoice-class.d.ts +150 -0
- package/dist/models/invoice-class.js +30 -0
- package/dist/models/invoice-item-class.d.ts +117 -0
- package/dist/models/invoice-item-class.js +24 -0
- package/dist/models/invoice-status-class.d.ts +47 -0
- package/dist/models/invoice-status-class.js +20 -0
- package/dist/models/lead-bank-account-class.d.ts +30 -0
- package/dist/models/lead-bank-account-class.js +15 -0
- package/dist/models/lead-class.d.ts +157 -0
- package/dist/models/lead-class.js +15 -0
- package/dist/models/list-accounts-response-class.d.ts +31 -0
- package/dist/models/list-accounts-response-class.js +15 -0
- package/dist/models/list-leads-response-class.d.ts +43 -0
- package/dist/models/list-leads-response-class.js +15 -0
- package/dist/models/list-partners-response-class.d.ts +31 -0
- package/dist/models/list-partners-response-class.js +15 -0
- package/dist/models/list-policies-response-class.d.ts +43 -0
- package/dist/models/list-policies-response-class.js +15 -0
- package/dist/models/omit-type-class.d.ts +84 -0
- package/dist/models/omit-type-class.js +15 -0
- package/dist/models/partner-class.d.ts +103 -0
- package/dist/models/partner-class.js +15 -0
- package/dist/models/partner-link-class.d.ts +98 -0
- package/dist/models/partner-link-class.js +15 -0
- package/dist/models/partner-role-class.d.ts +72 -0
- package/dist/models/partner-role-class.js +15 -0
- package/dist/models/policy-class.d.ts +147 -0
- package/dist/models/policy-class.js +15 -0
- package/dist/models/policy-object-class.d.ts +84 -0
- package/dist/models/policy-object-class.js +15 -0
- package/dist/models/policy-premium-class.d.ts +61 -0
- package/dist/models/policy-premium-class.js +15 -0
- package/dist/models/policy-premium-item-class.d.ts +67 -0
- package/dist/models/policy-premium-item-class.js +15 -0
- package/dist/models/policy-version-class.d.ts +79 -0
- package/dist/models/policy-version-class.js +15 -0
- package/dist/models/premium-formula-class.d.ts +108 -0
- package/dist/models/premium-formula-class.js +15 -0
- package/dist/models/premium-override-dto.d.ts +55 -0
- package/dist/models/premium-override-dto.js +27 -0
- package/dist/models/premium-override-request-dto.d.ts +25 -0
- package/dist/models/premium-override-request-dto.js +15 -0
- package/dist/models/product-class.d.ts +92 -0
- package/dist/models/product-class.js +15 -0
- package/dist/models/product-version-class.d.ts +73 -0
- package/dist/models/product-version-class.js +22 -0
- package/dist/models/sepa-dto.d.ts +30 -0
- package/dist/models/sepa-dto.js +15 -0
- package/dist/models/tag-class.d.ts +54 -0
- package/dist/models/tag-class.js +15 -0
- package/dist/models/timeslice-class.d.ts +74 -0
- package/dist/models/timeslice-class.js +15 -0
- package/dist/models/uploaded-document-dto.d.ts +24 -0
- package/dist/models/uploaded-document-dto.js +15 -0
- package/git_push.sh +57 -0
- package/index.ts +19 -0
- package/models/account-class.ts +185 -0
- package/models/account-policy-class.ts +153 -0
- package/models/create-payment-method-request-dto.ts +37 -0
- package/models/create-policy-request-dto.ts +61 -0
- package/models/index.ts +34 -0
- package/models/inline-response200.ts +48 -0
- package/models/inline-response503.ts +48 -0
- package/models/insured-object-type-class.ts +66 -0
- package/models/invoice-class.ts +160 -0
- package/models/invoice-item-class.ts +126 -0
- package/models/invoice-status-class.ts +56 -0
- package/models/lead-bank-account-class.ts +36 -0
- package/models/lead-class.ts +163 -0
- package/models/list-accounts-response-class.ts +37 -0
- package/models/list-leads-response-class.ts +49 -0
- package/models/list-partners-response-class.ts +37 -0
- package/models/list-policies-response-class.ts +49 -0
- package/models/omit-type-class.ts +90 -0
- package/models/partner-class.ts +109 -0
- package/models/partner-link-class.ts +104 -0
- package/models/partner-role-class.ts +78 -0
- package/models/policy-class.ts +153 -0
- package/models/policy-object-class.ts +90 -0
- package/models/policy-premium-class.ts +67 -0
- package/models/policy-premium-item-class.ts +73 -0
- package/models/policy-version-class.ts +85 -0
- package/models/premium-formula-class.ts +114 -0
- package/models/premium-override-dto.ts +65 -0
- package/models/premium-override-request-dto.ts +31 -0
- package/models/product-class.ts +98 -0
- package/models/product-version-class.ts +82 -0
- package/models/sepa-dto.ts +36 -0
- package/models/tag-class.ts +60 -0
- package/models/timeslice-class.ts +80 -0
- package/models/uploaded-document-dto.ts +30 -0
- package/package.json +26 -0
- package/tsconfig.json +22 -0
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL PartnerPortal
|
|
5
|
+
* The EMIL PartnerPortal 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 { AccountPolicyClass } from './account-policy-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface AccountClass
|
|
22
|
+
*/
|
|
23
|
+
export interface AccountClass {
|
|
24
|
+
/**
|
|
25
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof AccountClass
|
|
28
|
+
*/
|
|
29
|
+
'id': number;
|
|
30
|
+
/**
|
|
31
|
+
* Unique identifier for the object.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AccountClass
|
|
34
|
+
*/
|
|
35
|
+
'code': string;
|
|
36
|
+
/**
|
|
37
|
+
* Optional field in order to use a specific account number.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AccountClass
|
|
40
|
+
*/
|
|
41
|
+
'accountNumber': string;
|
|
42
|
+
/**
|
|
43
|
+
* The account\'s title.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof AccountClass
|
|
46
|
+
*/
|
|
47
|
+
'title'?: AccountClassTitleEnum;
|
|
48
|
+
/**
|
|
49
|
+
* The account\'s first name.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof AccountClass
|
|
52
|
+
*/
|
|
53
|
+
'firstName': string;
|
|
54
|
+
/**
|
|
55
|
+
* The account\'s last name.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof AccountClass
|
|
58
|
+
*/
|
|
59
|
+
'lastName': string;
|
|
60
|
+
/**
|
|
61
|
+
* The account\'s email address, It is displayed alongside the account in your dashboard and can be useful for searching and tracking.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof AccountClass
|
|
64
|
+
*/
|
|
65
|
+
'email': string;
|
|
66
|
+
/**
|
|
67
|
+
* The account\'s gender.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof AccountClass
|
|
70
|
+
*/
|
|
71
|
+
'gender': string;
|
|
72
|
+
/**
|
|
73
|
+
* The account\'s street name.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof AccountClass
|
|
76
|
+
*/
|
|
77
|
+
'street': string;
|
|
78
|
+
/**
|
|
79
|
+
* The account\'s house number.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof AccountClass
|
|
82
|
+
*/
|
|
83
|
+
'houseNumber': string;
|
|
84
|
+
/**
|
|
85
|
+
* The account\'s ZIP or postal code
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof AccountClass
|
|
88
|
+
*/
|
|
89
|
+
'zipCode': string;
|
|
90
|
+
/**
|
|
91
|
+
* The account\'s city, district, suburb, town, or village.
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof AccountClass
|
|
94
|
+
*/
|
|
95
|
+
'city': string;
|
|
96
|
+
/**
|
|
97
|
+
* The account\'s date of birth. required for account type person
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof AccountClass
|
|
100
|
+
*/
|
|
101
|
+
'birthDate'?: string;
|
|
102
|
+
/**
|
|
103
|
+
* The account\'s phone number.
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof AccountClass
|
|
106
|
+
*/
|
|
107
|
+
'phone'?: string;
|
|
108
|
+
/**
|
|
109
|
+
* The type of account, default to person
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof AccountClass
|
|
112
|
+
*/
|
|
113
|
+
'type': string;
|
|
114
|
+
/**
|
|
115
|
+
* The company name of account, required for account type org
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof AccountClass
|
|
118
|
+
*/
|
|
119
|
+
'companyName'?: string;
|
|
120
|
+
/**
|
|
121
|
+
* The account\'s version.
|
|
122
|
+
* @type {number}
|
|
123
|
+
* @memberof AccountClass
|
|
124
|
+
*/
|
|
125
|
+
'version': number;
|
|
126
|
+
/**
|
|
127
|
+
* Time at which the object was created.
|
|
128
|
+
* @type {string}
|
|
129
|
+
* @memberof AccountClass
|
|
130
|
+
*/
|
|
131
|
+
'createdAt': string;
|
|
132
|
+
/**
|
|
133
|
+
* Time at which the object was updated.
|
|
134
|
+
* @type {string}
|
|
135
|
+
* @memberof AccountClass
|
|
136
|
+
*/
|
|
137
|
+
'updatedAt': string;
|
|
138
|
+
/**
|
|
139
|
+
* Policies linked to the account.
|
|
140
|
+
* @type {Array<AccountPolicyClass>}
|
|
141
|
+
* @memberof AccountClass
|
|
142
|
+
*/
|
|
143
|
+
'policies': Array<AccountPolicyClass>;
|
|
144
|
+
/**
|
|
145
|
+
* Optional field contain extra information.
|
|
146
|
+
* @type {object}
|
|
147
|
+
* @memberof AccountClass
|
|
148
|
+
*/
|
|
149
|
+
'metadata'?: object;
|
|
150
|
+
/**
|
|
151
|
+
* Optional field contain custom fields.
|
|
152
|
+
* @type {object}
|
|
153
|
+
* @memberof AccountClass
|
|
154
|
+
*/
|
|
155
|
+
'customFields'?: object;
|
|
156
|
+
/**
|
|
157
|
+
* Emil Resources Names (ERN) identifies the most specific owner of a resource.
|
|
158
|
+
* @type {string}
|
|
159
|
+
* @memberof AccountClass
|
|
160
|
+
*/
|
|
161
|
+
'ern': string;
|
|
162
|
+
/**
|
|
163
|
+
* Identifier of the user who created the record.
|
|
164
|
+
* @type {string}
|
|
165
|
+
* @memberof AccountClass
|
|
166
|
+
*/
|
|
167
|
+
'createdBy': string;
|
|
168
|
+
/**
|
|
169
|
+
* Identifier of the user who last updated the record.
|
|
170
|
+
* @type {string}
|
|
171
|
+
* @memberof AccountClass
|
|
172
|
+
*/
|
|
173
|
+
'updatedBy': string;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
export const AccountClassTitleEnum = {
|
|
177
|
+
Empty: '',
|
|
178
|
+
Dr: 'Dr.',
|
|
179
|
+
DrMed: 'Dr. med.',
|
|
180
|
+
Prof: 'Prof.'
|
|
181
|
+
} as const;
|
|
182
|
+
|
|
183
|
+
export type AccountClassTitleEnum = typeof AccountClassTitleEnum[keyof typeof AccountClassTitleEnum];
|
|
184
|
+
|
|
185
|
+
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL PartnerPortal
|
|
5
|
+
* The EMIL PartnerPortal 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 { PartnerLinkClass } from './partner-link-class';
|
|
17
|
+
import { PolicyVersionClass } from './policy-version-class';
|
|
18
|
+
import { ProductClass } from './product-class';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface AccountPolicyClass
|
|
24
|
+
*/
|
|
25
|
+
export interface AccountPolicyClass {
|
|
26
|
+
/**
|
|
27
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
28
|
+
* @type {number}
|
|
29
|
+
* @memberof AccountPolicyClass
|
|
30
|
+
*/
|
|
31
|
+
'id': number;
|
|
32
|
+
/**
|
|
33
|
+
* Policy number.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof AccountPolicyClass
|
|
36
|
+
*/
|
|
37
|
+
'policyNumber': string;
|
|
38
|
+
/**
|
|
39
|
+
* Internal policy number.
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof AccountPolicyClass
|
|
42
|
+
*/
|
|
43
|
+
'internalPolicyNumber'?: string | null;
|
|
44
|
+
/**
|
|
45
|
+
* Unique identifier referencing the policy product version.
|
|
46
|
+
* @type {number}
|
|
47
|
+
* @memberof AccountPolicyClass
|
|
48
|
+
*/
|
|
49
|
+
'productVersionId': number;
|
|
50
|
+
/**
|
|
51
|
+
* Unique identifier referencing the policy product.
|
|
52
|
+
* @type {number}
|
|
53
|
+
* @memberof AccountPolicyClass
|
|
54
|
+
*/
|
|
55
|
+
'productId': number;
|
|
56
|
+
/**
|
|
57
|
+
* Unique identifier of the account that this object belongs to.
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof AccountPolicyClass
|
|
60
|
+
*/
|
|
61
|
+
'accountCode': string;
|
|
62
|
+
/**
|
|
63
|
+
* Policy status. This property shows different statuses depending on the status of a policy: ACTIVE, WITHDRAWN, TERMINATED, SUSPENDED.
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof AccountPolicyClass
|
|
66
|
+
*/
|
|
67
|
+
'status': string;
|
|
68
|
+
/**
|
|
69
|
+
* Policy holder name.
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof AccountPolicyClass
|
|
72
|
+
*/
|
|
73
|
+
'holder'?: string | null;
|
|
74
|
+
/**
|
|
75
|
+
* Policy product name.
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof AccountPolicyClass
|
|
78
|
+
*/
|
|
79
|
+
'productName'?: string | null;
|
|
80
|
+
/**
|
|
81
|
+
* Policy product slug.
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof AccountPolicyClass
|
|
84
|
+
*/
|
|
85
|
+
'productSlug'?: string | null;
|
|
86
|
+
/**
|
|
87
|
+
* Policy versions.
|
|
88
|
+
* @type {Array<PolicyVersionClass>}
|
|
89
|
+
* @memberof AccountPolicyClass
|
|
90
|
+
*/
|
|
91
|
+
'versions': Array<PolicyVersionClass>;
|
|
92
|
+
/**
|
|
93
|
+
* Product.
|
|
94
|
+
* @type {ProductClass}
|
|
95
|
+
* @memberof AccountPolicyClass
|
|
96
|
+
*/
|
|
97
|
+
'product'?: ProductClass;
|
|
98
|
+
/**
|
|
99
|
+
* The date the policy will get started.
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof AccountPolicyClass
|
|
102
|
+
*/
|
|
103
|
+
'policyStartDate': string | null;
|
|
104
|
+
/**
|
|
105
|
+
* Time at which the object was created.
|
|
106
|
+
* @type {string}
|
|
107
|
+
* @memberof AccountPolicyClass
|
|
108
|
+
*/
|
|
109
|
+
'createdAt': string;
|
|
110
|
+
/**
|
|
111
|
+
* Time at which the object was updated.
|
|
112
|
+
* @type {string}
|
|
113
|
+
* @memberof AccountPolicyClass
|
|
114
|
+
*/
|
|
115
|
+
'updatedAt': string;
|
|
116
|
+
/**
|
|
117
|
+
* Unique identifier of the lead that this object belongs to.
|
|
118
|
+
* @type {string}
|
|
119
|
+
* @memberof AccountPolicyClass
|
|
120
|
+
*/
|
|
121
|
+
'leadCode'?: string;
|
|
122
|
+
/**
|
|
123
|
+
* Emil Resources Names (ERN) identifies the most specific owner of a resource.
|
|
124
|
+
* @type {string}
|
|
125
|
+
* @memberof AccountPolicyClass
|
|
126
|
+
*/
|
|
127
|
+
'ern': string;
|
|
128
|
+
/**
|
|
129
|
+
* Partner links.
|
|
130
|
+
* @type {Array<PartnerLinkClass>}
|
|
131
|
+
* @memberof AccountPolicyClass
|
|
132
|
+
*/
|
|
133
|
+
'partnerLinks': Array<PartnerLinkClass>;
|
|
134
|
+
/**
|
|
135
|
+
* Identifier of the user who created the record.
|
|
136
|
+
* @type {string}
|
|
137
|
+
* @memberof AccountPolicyClass
|
|
138
|
+
*/
|
|
139
|
+
'createdBy': string;
|
|
140
|
+
/**
|
|
141
|
+
* Identifier of the user who last updated the record.
|
|
142
|
+
* @type {string}
|
|
143
|
+
* @memberof AccountPolicyClass
|
|
144
|
+
*/
|
|
145
|
+
'updatedBy': string;
|
|
146
|
+
/**
|
|
147
|
+
* Unique identifier for the object.
|
|
148
|
+
* @type {string}
|
|
149
|
+
* @memberof AccountPolicyClass
|
|
150
|
+
*/
|
|
151
|
+
'policyCode': string;
|
|
152
|
+
}
|
|
153
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL PartnerPortal
|
|
5
|
+
* The EMIL PartnerPortal 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 { SepaDto } from './sepa-dto';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreatePaymentMethodRequestDto
|
|
22
|
+
*/
|
|
23
|
+
export interface CreatePaymentMethodRequestDto {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreatePaymentMethodRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'type': string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {SepaDto}
|
|
33
|
+
* @memberof CreatePaymentMethodRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'sepa'?: SepaDto;
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL PartnerPortal
|
|
5
|
+
* The EMIL PartnerPortal 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 { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreatePolicyRequestDto
|
|
22
|
+
*/
|
|
23
|
+
export interface CreatePolicyRequestDto {
|
|
24
|
+
/**
|
|
25
|
+
* The product version id of the product version to be used for the lead. The product version id will be validated if the \'validate\' flag is set to true.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof CreatePolicyRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'productVersionId': number;
|
|
30
|
+
/**
|
|
31
|
+
* Unique identifier of the The account code of the account the policy is attached to. that this object belongs to.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreatePolicyRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'accountCode'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Policy holder name. If not provided, the account holder name will be used.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreatePolicyRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'holder'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* The policy objects contains necessary information to create a policy. The Policy objects array will be validated if the \'validate\' flag is set to true
|
|
44
|
+
* @type {Array<object>}
|
|
45
|
+
* @memberof CreatePolicyRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'policyObjects'?: Array<object>;
|
|
48
|
+
/**
|
|
49
|
+
* Premium Override is utilized to override the premium calculation. The premium formulas will be disregarded when this object is present. The premium override content will be validated if the \'validate\' flag is set to true.
|
|
50
|
+
* @type {PremiumOverrideRequestDto}
|
|
51
|
+
* @memberof CreatePolicyRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'premiumOverride'?: PremiumOverrideRequestDto;
|
|
54
|
+
/**
|
|
55
|
+
* Unique identifier of the lead that this object belongs to.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof CreatePolicyRequestDto
|
|
58
|
+
*/
|
|
59
|
+
'leadCode'?: string;
|
|
60
|
+
}
|
|
61
|
+
|
package/models/index.ts
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export * from './account-class';
|
|
2
|
+
export * from './account-policy-class';
|
|
3
|
+
export * from './create-payment-method-request-dto';
|
|
4
|
+
export * from './create-policy-request-dto';
|
|
5
|
+
export * from './inline-response200';
|
|
6
|
+
export * from './inline-response503';
|
|
7
|
+
export * from './insured-object-type-class';
|
|
8
|
+
export * from './invoice-class';
|
|
9
|
+
export * from './invoice-item-class';
|
|
10
|
+
export * from './invoice-status-class';
|
|
11
|
+
export * from './lead-bank-account-class';
|
|
12
|
+
export * from './lead-class';
|
|
13
|
+
export * from './list-accounts-response-class';
|
|
14
|
+
export * from './list-leads-response-class';
|
|
15
|
+
export * from './list-partners-response-class';
|
|
16
|
+
export * from './list-policies-response-class';
|
|
17
|
+
export * from './omit-type-class';
|
|
18
|
+
export * from './partner-class';
|
|
19
|
+
export * from './partner-link-class';
|
|
20
|
+
export * from './partner-role-class';
|
|
21
|
+
export * from './policy-class';
|
|
22
|
+
export * from './policy-object-class';
|
|
23
|
+
export * from './policy-premium-class';
|
|
24
|
+
export * from './policy-premium-item-class';
|
|
25
|
+
export * from './policy-version-class';
|
|
26
|
+
export * from './premium-formula-class';
|
|
27
|
+
export * from './premium-override-dto';
|
|
28
|
+
export * from './premium-override-request-dto';
|
|
29
|
+
export * from './product-class';
|
|
30
|
+
export * from './product-version-class';
|
|
31
|
+
export * from './sepa-dto';
|
|
32
|
+
export * from './tag-class';
|
|
33
|
+
export * from './timeslice-class';
|
|
34
|
+
export * from './uploaded-document-dto';
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL PartnerPortal
|
|
5
|
+
* The EMIL PartnerPortal 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 InlineResponse200
|
|
21
|
+
*/
|
|
22
|
+
export interface InlineResponse200 {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof InlineResponse200
|
|
27
|
+
*/
|
|
28
|
+
'status'?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
32
|
+
* @memberof InlineResponse200
|
|
33
|
+
*/
|
|
34
|
+
'info'?: { [key: string]: { [key: string]: object; }; } | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
38
|
+
* @memberof InlineResponse200
|
|
39
|
+
*/
|
|
40
|
+
'error'?: { [key: string]: { [key: string]: object; }; } | null;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
44
|
+
* @memberof InlineResponse200
|
|
45
|
+
*/
|
|
46
|
+
'details'?: { [key: string]: { [key: string]: object; }; };
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL PartnerPortal
|
|
5
|
+
* The EMIL PartnerPortal 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 InlineResponse503
|
|
21
|
+
*/
|
|
22
|
+
export interface InlineResponse503 {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof InlineResponse503
|
|
27
|
+
*/
|
|
28
|
+
'status'?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
32
|
+
* @memberof InlineResponse503
|
|
33
|
+
*/
|
|
34
|
+
'info'?: { [key: string]: { [key: string]: object; }; } | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
38
|
+
* @memberof InlineResponse503
|
|
39
|
+
*/
|
|
40
|
+
'error'?: { [key: string]: { [key: string]: object; }; } | null;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
44
|
+
* @memberof InlineResponse503
|
|
45
|
+
*/
|
|
46
|
+
'details'?: { [key: string]: { [key: string]: object; }; };
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL PartnerPortal
|
|
5
|
+
* The EMIL PartnerPortal 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 InsuredObjectTypeClass
|
|
21
|
+
*/
|
|
22
|
+
export interface InsuredObjectTypeClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof InsuredObjectTypeClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Insured object type name.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof InsuredObjectTypeClass
|
|
33
|
+
*/
|
|
34
|
+
'name': string;
|
|
35
|
+
/**
|
|
36
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof InsuredObjectTypeClass
|
|
39
|
+
*/
|
|
40
|
+
'slug': string;
|
|
41
|
+
/**
|
|
42
|
+
* Time at which the object was created.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof InsuredObjectTypeClass
|
|
45
|
+
*/
|
|
46
|
+
'createdAt': string;
|
|
47
|
+
/**
|
|
48
|
+
* Time at which the object was updated.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof InsuredObjectTypeClass
|
|
51
|
+
*/
|
|
52
|
+
'updatedAt': string;
|
|
53
|
+
/**
|
|
54
|
+
* Identifier of the user who created the record.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof InsuredObjectTypeClass
|
|
57
|
+
*/
|
|
58
|
+
'createdBy': string;
|
|
59
|
+
/**
|
|
60
|
+
* Identifier of the user who last updated the record.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof InsuredObjectTypeClass
|
|
63
|
+
*/
|
|
64
|
+
'updatedBy': string;
|
|
65
|
+
}
|
|
66
|
+
|