@emilgroup/partner-portal-sdk 1.1.1 → 1.5.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 +46 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +51 -1
- package/api/intermediary-api.ts +1222 -0
- package/api.ts +27 -0
- package/base.ts +331 -0
- package/common.ts +198 -0
- package/configuration.ts +110 -0
- package/dist/api/intermediary-api.d.ts +704 -0
- package/dist/api/intermediary-api.js +1015 -0
- package/dist/api.d.ts +12 -0
- package/dist/api.js +30 -0
- package/dist/base.d.ts +86 -0
- package/dist/base.js +367 -0
- package/dist/common.d.ts +91 -0
- package/dist/common.js +276 -0
- package/dist/configuration.d.ts +89 -0
- package/dist/configuration.js +52 -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 +32 -0
- package/dist/models/index.js +48 -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 +152 -0
- package/dist/models/invoice-class.js +32 -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 +49 -0
- package/dist/models/invoice-status-class.js +22 -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 +32 -0
- package/models/insured-object-type-class.ts +66 -0
- package/models/invoice-class.ts +162 -0
- package/models/invoice-item-class.ts +126 -0
- package/models/invoice-status-class.ts +58 -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 +22 -8
- package/tsconfig.json +23 -0
- package/index.js +0 -99
- package/scripts/deploy.js +0 -225
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL PartnerPortal
|
|
3
|
+
* The EMIL PartnerPortal 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
|
+
import { PartnerLinkClass } from './partner-link-class';
|
|
13
|
+
import { PolicyVersionClass } from './policy-version-class';
|
|
14
|
+
import { ProductClass } from './product-class';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface AccountPolicyClass
|
|
19
|
+
*/
|
|
20
|
+
export interface AccountPolicyClass {
|
|
21
|
+
/**
|
|
22
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
23
|
+
* @type {number}
|
|
24
|
+
* @memberof AccountPolicyClass
|
|
25
|
+
*/
|
|
26
|
+
'id': number;
|
|
27
|
+
/**
|
|
28
|
+
* Policy number.
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof AccountPolicyClass
|
|
31
|
+
*/
|
|
32
|
+
'policyNumber': string;
|
|
33
|
+
/**
|
|
34
|
+
* Internal policy number.
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof AccountPolicyClass
|
|
37
|
+
*/
|
|
38
|
+
'internalPolicyNumber'?: string | null;
|
|
39
|
+
/**
|
|
40
|
+
* Unique identifier referencing the policy product version.
|
|
41
|
+
* @type {number}
|
|
42
|
+
* @memberof AccountPolicyClass
|
|
43
|
+
*/
|
|
44
|
+
'productVersionId': number;
|
|
45
|
+
/**
|
|
46
|
+
* Unique identifier referencing the policy product.
|
|
47
|
+
* @type {number}
|
|
48
|
+
* @memberof AccountPolicyClass
|
|
49
|
+
*/
|
|
50
|
+
'productId': number;
|
|
51
|
+
/**
|
|
52
|
+
* Unique identifier of the account that this object belongs to.
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof AccountPolicyClass
|
|
55
|
+
*/
|
|
56
|
+
'accountCode': string;
|
|
57
|
+
/**
|
|
58
|
+
* Policy status. This property shows different statuses depending on the status of a policy: ACTIVE, WITHDRAWN, TERMINATED, SUSPENDED.
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof AccountPolicyClass
|
|
61
|
+
*/
|
|
62
|
+
'status': string;
|
|
63
|
+
/**
|
|
64
|
+
* Policy holder name.
|
|
65
|
+
* @type {string}
|
|
66
|
+
* @memberof AccountPolicyClass
|
|
67
|
+
*/
|
|
68
|
+
'holder'?: string | null;
|
|
69
|
+
/**
|
|
70
|
+
* Policy product name.
|
|
71
|
+
* @type {string}
|
|
72
|
+
* @memberof AccountPolicyClass
|
|
73
|
+
*/
|
|
74
|
+
'productName'?: string | null;
|
|
75
|
+
/**
|
|
76
|
+
* Policy product slug.
|
|
77
|
+
* @type {string}
|
|
78
|
+
* @memberof AccountPolicyClass
|
|
79
|
+
*/
|
|
80
|
+
'productSlug'?: string | null;
|
|
81
|
+
/**
|
|
82
|
+
* Policy versions.
|
|
83
|
+
* @type {Array<PolicyVersionClass>}
|
|
84
|
+
* @memberof AccountPolicyClass
|
|
85
|
+
*/
|
|
86
|
+
'versions': Array<PolicyVersionClass>;
|
|
87
|
+
/**
|
|
88
|
+
* Product.
|
|
89
|
+
* @type {ProductClass}
|
|
90
|
+
* @memberof AccountPolicyClass
|
|
91
|
+
*/
|
|
92
|
+
'product'?: ProductClass;
|
|
93
|
+
/**
|
|
94
|
+
* The date the policy will get started.
|
|
95
|
+
* @type {string}
|
|
96
|
+
* @memberof AccountPolicyClass
|
|
97
|
+
*/
|
|
98
|
+
'policyStartDate': string | null;
|
|
99
|
+
/**
|
|
100
|
+
* Time at which the object was created.
|
|
101
|
+
* @type {string}
|
|
102
|
+
* @memberof AccountPolicyClass
|
|
103
|
+
*/
|
|
104
|
+
'createdAt': string;
|
|
105
|
+
/**
|
|
106
|
+
* Time at which the object was updated.
|
|
107
|
+
* @type {string}
|
|
108
|
+
* @memberof AccountPolicyClass
|
|
109
|
+
*/
|
|
110
|
+
'updatedAt': string;
|
|
111
|
+
/**
|
|
112
|
+
* Unique identifier of the lead that this object belongs to.
|
|
113
|
+
* @type {string}
|
|
114
|
+
* @memberof AccountPolicyClass
|
|
115
|
+
*/
|
|
116
|
+
'leadCode'?: string;
|
|
117
|
+
/**
|
|
118
|
+
* Emil Resources Names (ERN) identifies the most specific owner of a resource.
|
|
119
|
+
* @type {string}
|
|
120
|
+
* @memberof AccountPolicyClass
|
|
121
|
+
*/
|
|
122
|
+
'ern': string;
|
|
123
|
+
/**
|
|
124
|
+
* Partner links.
|
|
125
|
+
* @type {Array<PartnerLinkClass>}
|
|
126
|
+
* @memberof AccountPolicyClass
|
|
127
|
+
*/
|
|
128
|
+
'partnerLinks': Array<PartnerLinkClass>;
|
|
129
|
+
/**
|
|
130
|
+
* Identifier of the user who created the record.
|
|
131
|
+
* @type {string}
|
|
132
|
+
* @memberof AccountPolicyClass
|
|
133
|
+
*/
|
|
134
|
+
'createdBy': string;
|
|
135
|
+
/**
|
|
136
|
+
* Identifier of the user who last updated the record.
|
|
137
|
+
* @type {string}
|
|
138
|
+
* @memberof AccountPolicyClass
|
|
139
|
+
*/
|
|
140
|
+
'updatedBy': string;
|
|
141
|
+
/**
|
|
142
|
+
* Unique identifier for the object.
|
|
143
|
+
* @type {string}
|
|
144
|
+
* @memberof AccountPolicyClass
|
|
145
|
+
*/
|
|
146
|
+
'policyCode': string;
|
|
147
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL PartnerPortal
|
|
6
|
+
* The EMIL PartnerPortal API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL PartnerPortal
|
|
3
|
+
* The EMIL PartnerPortal 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
|
+
import { SepaDto } from './sepa-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreatePaymentMethodRequestDto
|
|
17
|
+
*/
|
|
18
|
+
export interface CreatePaymentMethodRequestDto {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof CreatePaymentMethodRequestDto
|
|
23
|
+
*/
|
|
24
|
+
'type': string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {SepaDto}
|
|
28
|
+
* @memberof CreatePaymentMethodRequestDto
|
|
29
|
+
*/
|
|
30
|
+
'sepa'?: SepaDto;
|
|
31
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL PartnerPortal
|
|
6
|
+
* The EMIL PartnerPortal API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL PartnerPortal
|
|
3
|
+
* The EMIL PartnerPortal 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
|
+
import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreatePolicyRequestDto
|
|
17
|
+
*/
|
|
18
|
+
export interface CreatePolicyRequestDto {
|
|
19
|
+
/**
|
|
20
|
+
* 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.
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof CreatePolicyRequestDto
|
|
23
|
+
*/
|
|
24
|
+
'productVersionId': number;
|
|
25
|
+
/**
|
|
26
|
+
* Unique identifier of the The account code of the account the policy is attached to. that this object belongs to.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CreatePolicyRequestDto
|
|
29
|
+
*/
|
|
30
|
+
'accountCode'?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Policy holder name. If not provided, the account holder name will be used.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof CreatePolicyRequestDto
|
|
35
|
+
*/
|
|
36
|
+
'holder'?: string;
|
|
37
|
+
/**
|
|
38
|
+
* 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
|
|
39
|
+
* @type {Array<object>}
|
|
40
|
+
* @memberof CreatePolicyRequestDto
|
|
41
|
+
*/
|
|
42
|
+
'policyObjects'?: Array<object>;
|
|
43
|
+
/**
|
|
44
|
+
* 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.
|
|
45
|
+
* @type {PremiumOverrideRequestDto}
|
|
46
|
+
* @memberof CreatePolicyRequestDto
|
|
47
|
+
*/
|
|
48
|
+
'premiumOverride'?: PremiumOverrideRequestDto;
|
|
49
|
+
/**
|
|
50
|
+
* Unique identifier of the lead that this object belongs to.
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof CreatePolicyRequestDto
|
|
53
|
+
*/
|
|
54
|
+
'leadCode'?: string;
|
|
55
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL PartnerPortal
|
|
6
|
+
* The EMIL PartnerPortal API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,32 @@
|
|
|
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 './insured-object-type-class';
|
|
6
|
+
export * from './invoice-class';
|
|
7
|
+
export * from './invoice-item-class';
|
|
8
|
+
export * from './invoice-status-class';
|
|
9
|
+
export * from './lead-bank-account-class';
|
|
10
|
+
export * from './lead-class';
|
|
11
|
+
export * from './list-accounts-response-class';
|
|
12
|
+
export * from './list-leads-response-class';
|
|
13
|
+
export * from './list-partners-response-class';
|
|
14
|
+
export * from './list-policies-response-class';
|
|
15
|
+
export * from './omit-type-class';
|
|
16
|
+
export * from './partner-class';
|
|
17
|
+
export * from './partner-link-class';
|
|
18
|
+
export * from './partner-role-class';
|
|
19
|
+
export * from './policy-class';
|
|
20
|
+
export * from './policy-object-class';
|
|
21
|
+
export * from './policy-premium-class';
|
|
22
|
+
export * from './policy-premium-item-class';
|
|
23
|
+
export * from './policy-version-class';
|
|
24
|
+
export * from './premium-formula-class';
|
|
25
|
+
export * from './premium-override-dto';
|
|
26
|
+
export * from './premium-override-request-dto';
|
|
27
|
+
export * from './product-class';
|
|
28
|
+
export * from './product-version-class';
|
|
29
|
+
export * from './sepa-dto';
|
|
30
|
+
export * from './tag-class';
|
|
31
|
+
export * from './timeslice-class';
|
|
32
|
+
export * from './uploaded-document-dto';
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./account-class"), exports);
|
|
18
|
+
__exportStar(require("./account-policy-class"), exports);
|
|
19
|
+
__exportStar(require("./create-payment-method-request-dto"), exports);
|
|
20
|
+
__exportStar(require("./create-policy-request-dto"), exports);
|
|
21
|
+
__exportStar(require("./insured-object-type-class"), exports);
|
|
22
|
+
__exportStar(require("./invoice-class"), exports);
|
|
23
|
+
__exportStar(require("./invoice-item-class"), exports);
|
|
24
|
+
__exportStar(require("./invoice-status-class"), exports);
|
|
25
|
+
__exportStar(require("./lead-bank-account-class"), exports);
|
|
26
|
+
__exportStar(require("./lead-class"), exports);
|
|
27
|
+
__exportStar(require("./list-accounts-response-class"), exports);
|
|
28
|
+
__exportStar(require("./list-leads-response-class"), exports);
|
|
29
|
+
__exportStar(require("./list-partners-response-class"), exports);
|
|
30
|
+
__exportStar(require("./list-policies-response-class"), exports);
|
|
31
|
+
__exportStar(require("./omit-type-class"), exports);
|
|
32
|
+
__exportStar(require("./partner-class"), exports);
|
|
33
|
+
__exportStar(require("./partner-link-class"), exports);
|
|
34
|
+
__exportStar(require("./partner-role-class"), exports);
|
|
35
|
+
__exportStar(require("./policy-class"), exports);
|
|
36
|
+
__exportStar(require("./policy-object-class"), exports);
|
|
37
|
+
__exportStar(require("./policy-premium-class"), exports);
|
|
38
|
+
__exportStar(require("./policy-premium-item-class"), exports);
|
|
39
|
+
__exportStar(require("./policy-version-class"), exports);
|
|
40
|
+
__exportStar(require("./premium-formula-class"), exports);
|
|
41
|
+
__exportStar(require("./premium-override-dto"), exports);
|
|
42
|
+
__exportStar(require("./premium-override-request-dto"), exports);
|
|
43
|
+
__exportStar(require("./product-class"), exports);
|
|
44
|
+
__exportStar(require("./product-version-class"), exports);
|
|
45
|
+
__exportStar(require("./sepa-dto"), exports);
|
|
46
|
+
__exportStar(require("./tag-class"), exports);
|
|
47
|
+
__exportStar(require("./timeslice-class"), exports);
|
|
48
|
+
__exportStar(require("./uploaded-document-dto"), exports);
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL PartnerPortal
|
|
3
|
+
* The EMIL PartnerPortal 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 InsuredObjectTypeClass
|
|
16
|
+
*/
|
|
17
|
+
export interface InsuredObjectTypeClass {
|
|
18
|
+
/**
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof InsuredObjectTypeClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Insured object type name.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof InsuredObjectTypeClass
|
|
28
|
+
*/
|
|
29
|
+
'name': string;
|
|
30
|
+
/**
|
|
31
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof InsuredObjectTypeClass
|
|
34
|
+
*/
|
|
35
|
+
'slug': string;
|
|
36
|
+
/**
|
|
37
|
+
* Time at which the object was created.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof InsuredObjectTypeClass
|
|
40
|
+
*/
|
|
41
|
+
'createdAt': string;
|
|
42
|
+
/**
|
|
43
|
+
* Time at which the object was updated.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof InsuredObjectTypeClass
|
|
46
|
+
*/
|
|
47
|
+
'updatedAt': string;
|
|
48
|
+
/**
|
|
49
|
+
* Identifier of the user who created the record.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof InsuredObjectTypeClass
|
|
52
|
+
*/
|
|
53
|
+
'createdBy': string;
|
|
54
|
+
/**
|
|
55
|
+
* Identifier of the user who last updated the record.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof InsuredObjectTypeClass
|
|
58
|
+
*/
|
|
59
|
+
'updatedBy': string;
|
|
60
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL PartnerPortal
|
|
6
|
+
* The EMIL PartnerPortal API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL PartnerPortal
|
|
3
|
+
* The EMIL PartnerPortal 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
|
+
import { InvoiceItemClass } from './invoice-item-class';
|
|
13
|
+
import { InvoiceStatusClass } from './invoice-status-class';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface InvoiceClass
|
|
18
|
+
*/
|
|
19
|
+
export interface InvoiceClass {
|
|
20
|
+
/**
|
|
21
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof InvoiceClass
|
|
24
|
+
*/
|
|
25
|
+
'id': number;
|
|
26
|
+
/**
|
|
27
|
+
* Unique identifier of the policy that this object belongs to.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof InvoiceClass
|
|
30
|
+
*/
|
|
31
|
+
'policyCode': string;
|
|
32
|
+
/**
|
|
33
|
+
* Account number.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof InvoiceClass
|
|
36
|
+
*/
|
|
37
|
+
'accountNumber': string;
|
|
38
|
+
/**
|
|
39
|
+
* Unique identifier of the invoice that this object belongs to.
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof InvoiceClass
|
|
42
|
+
*/
|
|
43
|
+
'code': string;
|
|
44
|
+
/**
|
|
45
|
+
* Invoice type.
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof InvoiceClass
|
|
48
|
+
*/
|
|
49
|
+
'type': InvoiceClassTypeEnum;
|
|
50
|
+
/**
|
|
51
|
+
* Invoice number.
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof InvoiceClass
|
|
54
|
+
*/
|
|
55
|
+
'invoiceNumber': string;
|
|
56
|
+
/**
|
|
57
|
+
* Net amount is in cents.
|
|
58
|
+
* @type {number}
|
|
59
|
+
* @memberof InvoiceClass
|
|
60
|
+
*/
|
|
61
|
+
'netAmount': number;
|
|
62
|
+
/**
|
|
63
|
+
* Tax amount is in cents.
|
|
64
|
+
* @type {number}
|
|
65
|
+
* @memberof InvoiceClass
|
|
66
|
+
*/
|
|
67
|
+
'taxAmount': number;
|
|
68
|
+
/**
|
|
69
|
+
* Credit amount.
|
|
70
|
+
* @type {number}
|
|
71
|
+
* @memberof InvoiceClass
|
|
72
|
+
*/
|
|
73
|
+
'creditAmount': number;
|
|
74
|
+
/**
|
|
75
|
+
* Gross amount. This property is sum of taxAmount and netAmount.
|
|
76
|
+
* @type {number}
|
|
77
|
+
* @memberof InvoiceClass
|
|
78
|
+
*/
|
|
79
|
+
'grossAmount': number;
|
|
80
|
+
/**
|
|
81
|
+
* Invoice status.
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof InvoiceClass
|
|
84
|
+
*/
|
|
85
|
+
'status': InvoiceClassStatusEnum;
|
|
86
|
+
/**
|
|
87
|
+
* Invoice due date.
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof InvoiceClass
|
|
90
|
+
*/
|
|
91
|
+
'dueDate': string;
|
|
92
|
+
/**
|
|
93
|
+
* Metadata contains extra information that the object would need for specific cases.
|
|
94
|
+
* @type {object}
|
|
95
|
+
* @memberof InvoiceClass
|
|
96
|
+
*/
|
|
97
|
+
'metadata': object;
|
|
98
|
+
/**
|
|
99
|
+
* Start date of billing interval.
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof InvoiceClass
|
|
102
|
+
*/
|
|
103
|
+
'billingIntervalFrom': string;
|
|
104
|
+
/**
|
|
105
|
+
* End date of billing interval.
|
|
106
|
+
* @type {string}
|
|
107
|
+
* @memberof InvoiceClass
|
|
108
|
+
*/
|
|
109
|
+
'billingIntervalTo': string;
|
|
110
|
+
/**
|
|
111
|
+
* Time at which the object was created.
|
|
112
|
+
* @type {string}
|
|
113
|
+
* @memberof InvoiceClass
|
|
114
|
+
*/
|
|
115
|
+
'createdAt': string;
|
|
116
|
+
/**
|
|
117
|
+
* Invoice items.
|
|
118
|
+
* @type {Array<InvoiceItemClass>}
|
|
119
|
+
* @memberof InvoiceClass
|
|
120
|
+
*/
|
|
121
|
+
'invoiceItems': Array<InvoiceItemClass>;
|
|
122
|
+
/**
|
|
123
|
+
* Invoice statuses.
|
|
124
|
+
* @type {Array<InvoiceStatusClass>}
|
|
125
|
+
* @memberof InvoiceClass
|
|
126
|
+
*/
|
|
127
|
+
'statuses': Array<InvoiceStatusClass>;
|
|
128
|
+
/**
|
|
129
|
+
* Invoice currency. EUR is used by default.
|
|
130
|
+
* @type {string}
|
|
131
|
+
* @memberof InvoiceClass
|
|
132
|
+
*/
|
|
133
|
+
'currency': string;
|
|
134
|
+
}
|
|
135
|
+
export declare const InvoiceClassTypeEnum: {
|
|
136
|
+
readonly Initial: "initial";
|
|
137
|
+
readonly Recurring: "recurring";
|
|
138
|
+
readonly Correction: "correction";
|
|
139
|
+
readonly Estimated: "estimated";
|
|
140
|
+
readonly Penalty: "penalty";
|
|
141
|
+
readonly Other: "other";
|
|
142
|
+
readonly Withdraw: "withdraw";
|
|
143
|
+
readonly Final: "final";
|
|
144
|
+
};
|
|
145
|
+
export type InvoiceClassTypeEnum = typeof InvoiceClassTypeEnum[keyof typeof InvoiceClassTypeEnum];
|
|
146
|
+
export declare const InvoiceClassStatusEnum: {
|
|
147
|
+
readonly Open: "open";
|
|
148
|
+
readonly Paid: "paid";
|
|
149
|
+
readonly PartiallyPaid: "partially-paid";
|
|
150
|
+
readonly Refunded: "refunded";
|
|
151
|
+
};
|
|
152
|
+
export type InvoiceClassStatusEnum = typeof InvoiceClassStatusEnum[keyof typeof InvoiceClassStatusEnum];
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL PartnerPortal
|
|
6
|
+
* The EMIL PartnerPortal API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.InvoiceClassStatusEnum = exports.InvoiceClassTypeEnum = void 0;
|
|
17
|
+
exports.InvoiceClassTypeEnum = {
|
|
18
|
+
Initial: 'initial',
|
|
19
|
+
Recurring: 'recurring',
|
|
20
|
+
Correction: 'correction',
|
|
21
|
+
Estimated: 'estimated',
|
|
22
|
+
Penalty: 'penalty',
|
|
23
|
+
Other: 'other',
|
|
24
|
+
Withdraw: 'withdraw',
|
|
25
|
+
Final: 'final'
|
|
26
|
+
};
|
|
27
|
+
exports.InvoiceClassStatusEnum = {
|
|
28
|
+
Open: 'open',
|
|
29
|
+
Paid: 'paid',
|
|
30
|
+
PartiallyPaid: 'partially-paid',
|
|
31
|
+
Refunded: 'refunded'
|
|
32
|
+
};
|