@emilgroup/insurance-sdk-node 1.50.0 → 1.51.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 +5 -0
- package/README.md +2 -2
- package/api/leads-api.ts +118 -0
- package/dist/api/leads-api.d.ts +65 -0
- package/dist/api/leads-api.js +99 -0
- package/dist/models/clone-lead-request-dto.d.ts +31 -0
- package/dist/models/clone-lead-request-dto.js +15 -0
- package/dist/models/grpc-clone-lead-account-request-dto.d.ts +120 -0
- package/dist/models/grpc-clone-lead-account-request-dto.js +26 -0
- package/dist/models/grpc-clone-lead-request-dto.d.ts +37 -0
- package/dist/models/grpc-clone-lead-request-dto.js +15 -0
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/dist/models/partner-class.d.ts +7 -0
- package/dist/models/rest-clone-lead-account-request-dto.d.ts +120 -0
- package/dist/models/rest-clone-lead-account-request-dto.js +26 -0
- package/dist/models/tag-class.d.ts +54 -0
- package/dist/models/tag-class.js +15 -0
- package/models/clone-lead-request-dto.ts +37 -0
- package/models/grpc-clone-lead-account-request-dto.ts +130 -0
- package/models/grpc-clone-lead-request-dto.ts +43 -0
- package/models/index.ts +5 -0
- package/models/partner-class.ts +7 -0
- package/models/rest-clone-lead-account-request-dto.ts +130 -0
- package/models/tag-class.ts +60 -0
- package/package.json +1 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL InsuranceService
|
|
6
|
+
* The EMIL InsuranceService 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 });
|
package/dist/models/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * from './booking-funnel-class';
|
|
|
4
4
|
export * from './calculate-custom-premium-request-dto';
|
|
5
5
|
export * from './calculate-premium-request-dto';
|
|
6
6
|
export * from './calculate-product-fields-request-dto';
|
|
7
|
+
export * from './clone-lead-request-dto';
|
|
7
8
|
export * from './clone-product-version-request-dto';
|
|
8
9
|
export * from './create-account-request-dto';
|
|
9
10
|
export * from './create-bank-account-request-dto';
|
|
@@ -77,6 +78,8 @@ export * from './get-status-transition-rule-response-class';
|
|
|
77
78
|
export * from './grouped-product-factor-class';
|
|
78
79
|
export * from './grouped-product-factor-value-class';
|
|
79
80
|
export * from './grouped-product-factors-response-class';
|
|
81
|
+
export * from './grpc-clone-lead-account-request-dto';
|
|
82
|
+
export * from './grpc-clone-lead-request-dto';
|
|
80
83
|
export * from './grpc-patch-lead-request-dto';
|
|
81
84
|
export * from './grpc-update-lead-request-dto';
|
|
82
85
|
export * from './inline-response200';
|
|
@@ -142,6 +145,7 @@ export * from './product-factor-value-for-version-class';
|
|
|
142
145
|
export * from './product-field-class';
|
|
143
146
|
export * from './product-field-type-class';
|
|
144
147
|
export * from './product-version-class';
|
|
148
|
+
export * from './rest-clone-lead-account-request-dto';
|
|
145
149
|
export * from './sepa-dto';
|
|
146
150
|
export * from './shared-create-lead-policy-request-dto';
|
|
147
151
|
export * from './shared-invoice-class';
|
|
@@ -156,6 +160,7 @@ export * from './suspend-policy-request-dto';
|
|
|
156
160
|
export * from './suspend-policy-response-class';
|
|
157
161
|
export * from './swap-premium-formulas-order-request-dto';
|
|
158
162
|
export * from './swap-product-fields-order-request-dto';
|
|
163
|
+
export * from './tag-class';
|
|
159
164
|
export * from './terminate-policy-request-dto';
|
|
160
165
|
export * from './terminate-policy-response-class';
|
|
161
166
|
export * from './timeslice-class';
|
package/dist/models/index.js
CHANGED
|
@@ -20,6 +20,7 @@ __exportStar(require("./booking-funnel-class"), exports);
|
|
|
20
20
|
__exportStar(require("./calculate-custom-premium-request-dto"), exports);
|
|
21
21
|
__exportStar(require("./calculate-premium-request-dto"), exports);
|
|
22
22
|
__exportStar(require("./calculate-product-fields-request-dto"), exports);
|
|
23
|
+
__exportStar(require("./clone-lead-request-dto"), exports);
|
|
23
24
|
__exportStar(require("./clone-product-version-request-dto"), exports);
|
|
24
25
|
__exportStar(require("./create-account-request-dto"), exports);
|
|
25
26
|
__exportStar(require("./create-bank-account-request-dto"), exports);
|
|
@@ -93,6 +94,8 @@ __exportStar(require("./get-status-transition-rule-response-class"), exports);
|
|
|
93
94
|
__exportStar(require("./grouped-product-factor-class"), exports);
|
|
94
95
|
__exportStar(require("./grouped-product-factor-value-class"), exports);
|
|
95
96
|
__exportStar(require("./grouped-product-factors-response-class"), exports);
|
|
97
|
+
__exportStar(require("./grpc-clone-lead-account-request-dto"), exports);
|
|
98
|
+
__exportStar(require("./grpc-clone-lead-request-dto"), exports);
|
|
96
99
|
__exportStar(require("./grpc-patch-lead-request-dto"), exports);
|
|
97
100
|
__exportStar(require("./grpc-update-lead-request-dto"), exports);
|
|
98
101
|
__exportStar(require("./inline-response200"), exports);
|
|
@@ -158,6 +161,7 @@ __exportStar(require("./product-factor-value-for-version-class"), exports);
|
|
|
158
161
|
__exportStar(require("./product-field-class"), exports);
|
|
159
162
|
__exportStar(require("./product-field-type-class"), exports);
|
|
160
163
|
__exportStar(require("./product-version-class"), exports);
|
|
164
|
+
__exportStar(require("./rest-clone-lead-account-request-dto"), exports);
|
|
161
165
|
__exportStar(require("./sepa-dto"), exports);
|
|
162
166
|
__exportStar(require("./shared-create-lead-policy-request-dto"), exports);
|
|
163
167
|
__exportStar(require("./shared-invoice-class"), exports);
|
|
@@ -172,6 +176,7 @@ __exportStar(require("./suspend-policy-request-dto"), exports);
|
|
|
172
176
|
__exportStar(require("./suspend-policy-response-class"), exports);
|
|
173
177
|
__exportStar(require("./swap-premium-formulas-order-request-dto"), exports);
|
|
174
178
|
__exportStar(require("./swap-product-fields-order-request-dto"), exports);
|
|
179
|
+
__exportStar(require("./tag-class"), exports);
|
|
175
180
|
__exportStar(require("./terminate-policy-request-dto"), exports);
|
|
176
181
|
__exportStar(require("./terminate-policy-response-class"), exports);
|
|
177
182
|
__exportStar(require("./timeslice-class"), exports);
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { TagClass } from './tag-class';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -57,4 +58,10 @@ export interface PartnerClass {
|
|
|
57
58
|
* @memberof PartnerClass
|
|
58
59
|
*/
|
|
59
60
|
'updatedBy'?: string;
|
|
61
|
+
/**
|
|
62
|
+
* List of tags for the partner
|
|
63
|
+
* @type {Array<TagClass>}
|
|
64
|
+
* @memberof PartnerClass
|
|
65
|
+
*/
|
|
66
|
+
'tags': Array<TagClass>;
|
|
60
67
|
}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL InsuranceService
|
|
3
|
+
* The EMIL InsuranceService 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 RestCloneLeadAccountRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface RestCloneLeadAccountRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Optional field to enter the honorific title you want to be called.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RestCloneLeadAccountRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'title'?: RestCloneLeadAccountRequestDtoTitleEnum;
|
|
24
|
+
/**
|
|
25
|
+
* The account\'s holder first name. The account\'s first name will be validated if the \'validate\' flag is set to true.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RestCloneLeadAccountRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'firstName'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The account\'s holder first name. The account\'s first name will be validated if the \'validate\' flag is set to true.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof RestCloneLeadAccountRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'lastName'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The account\'s holder email address. It is displayed alongside the account in your dashboard and can be useful for searching and tracking. The account\'s email address will be validated if the \'validate\' flag is set to true.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof RestCloneLeadAccountRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'email'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* The account\'s holder gender. The account\'s gender will be validated if the \'validate\' flag is set to true.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof RestCloneLeadAccountRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'gender'?: string;
|
|
48
|
+
/**
|
|
49
|
+
* The account\'s holder street name. The account\'s street name will be validated if the \'validate\' flag is set to true.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof RestCloneLeadAccountRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'street'?: string;
|
|
54
|
+
/**
|
|
55
|
+
* The account\'s holder ZIP or postal code. The account\'s ZIP or postal code will be validated if the \'validate\' flag is set to true.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof RestCloneLeadAccountRequestDto
|
|
58
|
+
*/
|
|
59
|
+
'zipCode'?: string;
|
|
60
|
+
/**
|
|
61
|
+
* The account\'s holder city, district, suburb, town, or village. The account\'s city will be validated if the \'validate\' flag is set to true.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof RestCloneLeadAccountRequestDto
|
|
64
|
+
*/
|
|
65
|
+
'city'?: string;
|
|
66
|
+
/**
|
|
67
|
+
* The account\'s holder house number. The account\'s house number will be validated if the \'validate\' flag is set to true.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof RestCloneLeadAccountRequestDto
|
|
70
|
+
*/
|
|
71
|
+
'houseNumber'?: string;
|
|
72
|
+
/**
|
|
73
|
+
* The account\'s holder date of birth (Required for account of type person). The account\'s date of birth will be validated if the \'validate\' flag is set to true.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof RestCloneLeadAccountRequestDto
|
|
76
|
+
*/
|
|
77
|
+
'birthDate'?: string;
|
|
78
|
+
/**
|
|
79
|
+
* The account\'s holder phone number. The account\'s phone number will be validated if the \'validate\' flag is set to true.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof RestCloneLeadAccountRequestDto
|
|
82
|
+
*/
|
|
83
|
+
'phone'?: string;
|
|
84
|
+
/**
|
|
85
|
+
* The account\'s type. Default value is person
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof RestCloneLeadAccountRequestDto
|
|
88
|
+
*/
|
|
89
|
+
'type'?: RestCloneLeadAccountRequestDtoTypeEnum;
|
|
90
|
+
/**
|
|
91
|
+
* The account\'s company name (Required for account of type org). The account\'s company name will be validated if the \'validate\' flag is set to true.
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof RestCloneLeadAccountRequestDto
|
|
94
|
+
*/
|
|
95
|
+
'companyName'?: string;
|
|
96
|
+
/**
|
|
97
|
+
* Account number.
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof RestCloneLeadAccountRequestDto
|
|
100
|
+
*/
|
|
101
|
+
'accountNumber'?: string;
|
|
102
|
+
/**
|
|
103
|
+
* Optional custom fields for account. It could be included additional required/optional fields that the account would need for specific cases.
|
|
104
|
+
* @type {object}
|
|
105
|
+
* @memberof RestCloneLeadAccountRequestDto
|
|
106
|
+
*/
|
|
107
|
+
'customFields'?: object;
|
|
108
|
+
}
|
|
109
|
+
export declare const RestCloneLeadAccountRequestDtoTitleEnum: {
|
|
110
|
+
readonly Empty: "";
|
|
111
|
+
readonly Dr: "Dr.";
|
|
112
|
+
readonly DrMed: "Dr. med.";
|
|
113
|
+
readonly Prof: "Prof.";
|
|
114
|
+
};
|
|
115
|
+
export type RestCloneLeadAccountRequestDtoTitleEnum = typeof RestCloneLeadAccountRequestDtoTitleEnum[keyof typeof RestCloneLeadAccountRequestDtoTitleEnum];
|
|
116
|
+
export declare const RestCloneLeadAccountRequestDtoTypeEnum: {
|
|
117
|
+
readonly Person: "person";
|
|
118
|
+
readonly Org: "org";
|
|
119
|
+
};
|
|
120
|
+
export type RestCloneLeadAccountRequestDtoTypeEnum = typeof RestCloneLeadAccountRequestDtoTypeEnum[keyof typeof RestCloneLeadAccountRequestDtoTypeEnum];
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL InsuranceService
|
|
6
|
+
* The EMIL InsuranceService 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.RestCloneLeadAccountRequestDtoTypeEnum = exports.RestCloneLeadAccountRequestDtoTitleEnum = void 0;
|
|
17
|
+
exports.RestCloneLeadAccountRequestDtoTitleEnum = {
|
|
18
|
+
Empty: '',
|
|
19
|
+
Dr: 'Dr.',
|
|
20
|
+
DrMed: 'Dr. med.',
|
|
21
|
+
Prof: 'Prof.'
|
|
22
|
+
};
|
|
23
|
+
exports.RestCloneLeadAccountRequestDtoTypeEnum = {
|
|
24
|
+
Person: 'person',
|
|
25
|
+
Org: 'org'
|
|
26
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL InsuranceService
|
|
3
|
+
* The EMIL InsuranceService 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 TagClass
|
|
16
|
+
*/
|
|
17
|
+
export interface TagClass {
|
|
18
|
+
/**
|
|
19
|
+
* Unique identifier for the object.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof TagClass
|
|
22
|
+
*/
|
|
23
|
+
'code': string;
|
|
24
|
+
/**
|
|
25
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof TagClass
|
|
28
|
+
*/
|
|
29
|
+
'slug': string;
|
|
30
|
+
/**
|
|
31
|
+
* The label of the tag
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof TagClass
|
|
34
|
+
*/
|
|
35
|
+
'label': string;
|
|
36
|
+
/**
|
|
37
|
+
* A short description for the tag
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof TagClass
|
|
40
|
+
*/
|
|
41
|
+
'description': string;
|
|
42
|
+
/**
|
|
43
|
+
* Time at which the object was created.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof TagClass
|
|
46
|
+
*/
|
|
47
|
+
'createdAt': string;
|
|
48
|
+
/**
|
|
49
|
+
* Time at which the object was updated.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof TagClass
|
|
52
|
+
*/
|
|
53
|
+
'updatedAt': string;
|
|
54
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL InsuranceService
|
|
6
|
+
* The EMIL InsuranceService 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,37 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL InsuranceService
|
|
5
|
+
* The EMIL InsuranceService 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 { RestCloneLeadAccountRequestDto } from './rest-clone-lead-account-request-dto';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CloneLeadRequestDto
|
|
22
|
+
*/
|
|
23
|
+
export interface CloneLeadRequestDto {
|
|
24
|
+
/**
|
|
25
|
+
* Account object. The create lead request should either contain accountCode or account. The account content will be validated if the \'validate\' flag is set to true. an empty object is required if \'validate flag is set to false.
|
|
26
|
+
* @type {RestCloneLeadAccountRequestDto}
|
|
27
|
+
* @memberof CloneLeadRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'account'?: RestCloneLeadAccountRequestDto;
|
|
30
|
+
/**
|
|
31
|
+
* Lead status. Default values are \"created\", \"approved\" and \"declined\". However, those can be extended using /lead-statuses endpoint from insuranceservice.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CloneLeadRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'status'?: string;
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL InsuranceService
|
|
5
|
+
* The EMIL InsuranceService 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 GrpcCloneLeadAccountRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface GrpcCloneLeadAccountRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Optional field to enter the honorific title you want to be called.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof GrpcCloneLeadAccountRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'title'?: GrpcCloneLeadAccountRequestDtoTitleEnum;
|
|
29
|
+
/**
|
|
30
|
+
* The account\'s holder first name. The account\'s first name will be validated if the \'validate\' flag is set to true.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof GrpcCloneLeadAccountRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'firstName'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* The account\'s holder first name. The account\'s first name will be validated if the \'validate\' flag is set to true.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof GrpcCloneLeadAccountRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'lastName'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* The account\'s holder email address. It is displayed alongside the account in your dashboard and can be useful for searching and tracking. The account\'s email address will be validated if the \'validate\' flag is set to true.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof GrpcCloneLeadAccountRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'email'?: string;
|
|
47
|
+
/**
|
|
48
|
+
* The account\'s holder gender. The account\'s gender will be validated if the \'validate\' flag is set to true.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof GrpcCloneLeadAccountRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'gender'?: string;
|
|
53
|
+
/**
|
|
54
|
+
* The account\'s holder street name. The account\'s street name will be validated if the \'validate\' flag is set to true.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof GrpcCloneLeadAccountRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'street'?: string;
|
|
59
|
+
/**
|
|
60
|
+
* The account\'s holder ZIP or postal code. The account\'s ZIP or postal code will be validated if the \'validate\' flag is set to true.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof GrpcCloneLeadAccountRequestDto
|
|
63
|
+
*/
|
|
64
|
+
'zipCode'?: string;
|
|
65
|
+
/**
|
|
66
|
+
* The account\'s holder city, district, suburb, town, or village. The account\'s city will be validated if the \'validate\' flag is set to true.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof GrpcCloneLeadAccountRequestDto
|
|
69
|
+
*/
|
|
70
|
+
'city'?: string;
|
|
71
|
+
/**
|
|
72
|
+
* The account\'s holder house number. The account\'s house number will be validated if the \'validate\' flag is set to true.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof GrpcCloneLeadAccountRequestDto
|
|
75
|
+
*/
|
|
76
|
+
'houseNumber'?: string;
|
|
77
|
+
/**
|
|
78
|
+
* The account\'s holder date of birth (Required for account of type person). The account\'s date of birth will be validated if the \'validate\' flag is set to true.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof GrpcCloneLeadAccountRequestDto
|
|
81
|
+
*/
|
|
82
|
+
'birthDate'?: string;
|
|
83
|
+
/**
|
|
84
|
+
* The account\'s holder phone number. The account\'s phone number will be validated if the \'validate\' flag is set to true.
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof GrpcCloneLeadAccountRequestDto
|
|
87
|
+
*/
|
|
88
|
+
'phone'?: string;
|
|
89
|
+
/**
|
|
90
|
+
* The account\'s type. Default value is person
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof GrpcCloneLeadAccountRequestDto
|
|
93
|
+
*/
|
|
94
|
+
'type'?: GrpcCloneLeadAccountRequestDtoTypeEnum;
|
|
95
|
+
/**
|
|
96
|
+
* The account\'s company name (Required for account of type org). The account\'s company name will be validated if the \'validate\' flag is set to true.
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof GrpcCloneLeadAccountRequestDto
|
|
99
|
+
*/
|
|
100
|
+
'companyName'?: string;
|
|
101
|
+
/**
|
|
102
|
+
* Account number.
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof GrpcCloneLeadAccountRequestDto
|
|
105
|
+
*/
|
|
106
|
+
'accountNumber'?: string;
|
|
107
|
+
/**
|
|
108
|
+
* Optional custom fields for account. It could be included additional required/optional fields that the account would need for specific cases.
|
|
109
|
+
* @type {object}
|
|
110
|
+
* @memberof GrpcCloneLeadAccountRequestDto
|
|
111
|
+
*/
|
|
112
|
+
'customFields'?: object;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export const GrpcCloneLeadAccountRequestDtoTitleEnum = {
|
|
116
|
+
Empty: '',
|
|
117
|
+
Dr: 'Dr.',
|
|
118
|
+
DrMed: 'Dr. med.',
|
|
119
|
+
Prof: 'Prof.'
|
|
120
|
+
} as const;
|
|
121
|
+
|
|
122
|
+
export type GrpcCloneLeadAccountRequestDtoTitleEnum = typeof GrpcCloneLeadAccountRequestDtoTitleEnum[keyof typeof GrpcCloneLeadAccountRequestDtoTitleEnum];
|
|
123
|
+
export const GrpcCloneLeadAccountRequestDtoTypeEnum = {
|
|
124
|
+
Person: 'person',
|
|
125
|
+
Org: 'org'
|
|
126
|
+
} as const;
|
|
127
|
+
|
|
128
|
+
export type GrpcCloneLeadAccountRequestDtoTypeEnum = typeof GrpcCloneLeadAccountRequestDtoTypeEnum[keyof typeof GrpcCloneLeadAccountRequestDtoTypeEnum];
|
|
129
|
+
|
|
130
|
+
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL InsuranceService
|
|
5
|
+
* The EMIL InsuranceService 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 { GrpcCloneLeadAccountRequestDto } from './grpc-clone-lead-account-request-dto';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GrpcCloneLeadRequestDto
|
|
22
|
+
*/
|
|
23
|
+
export interface GrpcCloneLeadRequestDto {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GrpcCloneLeadRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'code': string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {GrpcCloneLeadAccountRequestDto}
|
|
33
|
+
* @memberof GrpcCloneLeadRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'account'?: GrpcCloneLeadAccountRequestDto;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof GrpcCloneLeadRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'status'?: string;
|
|
42
|
+
}
|
|
43
|
+
|
package/models/index.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * from './booking-funnel-class';
|
|
|
4
4
|
export * from './calculate-custom-premium-request-dto';
|
|
5
5
|
export * from './calculate-premium-request-dto';
|
|
6
6
|
export * from './calculate-product-fields-request-dto';
|
|
7
|
+
export * from './clone-lead-request-dto';
|
|
7
8
|
export * from './clone-product-version-request-dto';
|
|
8
9
|
export * from './create-account-request-dto';
|
|
9
10
|
export * from './create-bank-account-request-dto';
|
|
@@ -77,6 +78,8 @@ export * from './get-status-transition-rule-response-class';
|
|
|
77
78
|
export * from './grouped-product-factor-class';
|
|
78
79
|
export * from './grouped-product-factor-value-class';
|
|
79
80
|
export * from './grouped-product-factors-response-class';
|
|
81
|
+
export * from './grpc-clone-lead-account-request-dto';
|
|
82
|
+
export * from './grpc-clone-lead-request-dto';
|
|
80
83
|
export * from './grpc-patch-lead-request-dto';
|
|
81
84
|
export * from './grpc-update-lead-request-dto';
|
|
82
85
|
export * from './inline-response200';
|
|
@@ -142,6 +145,7 @@ export * from './product-factor-value-for-version-class';
|
|
|
142
145
|
export * from './product-field-class';
|
|
143
146
|
export * from './product-field-type-class';
|
|
144
147
|
export * from './product-version-class';
|
|
148
|
+
export * from './rest-clone-lead-account-request-dto';
|
|
145
149
|
export * from './sepa-dto';
|
|
146
150
|
export * from './shared-create-lead-policy-request-dto';
|
|
147
151
|
export * from './shared-invoice-class';
|
|
@@ -156,6 +160,7 @@ export * from './suspend-policy-request-dto';
|
|
|
156
160
|
export * from './suspend-policy-response-class';
|
|
157
161
|
export * from './swap-premium-formulas-order-request-dto';
|
|
158
162
|
export * from './swap-product-fields-order-request-dto';
|
|
163
|
+
export * from './tag-class';
|
|
159
164
|
export * from './terminate-policy-request-dto';
|
|
160
165
|
export * from './terminate-policy-response-class';
|
|
161
166
|
export * from './timeslice-class';
|
package/models/partner-class.ts
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { TagClass } from './tag-class';
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
*
|
|
@@ -62,5 +63,11 @@ export interface PartnerClass {
|
|
|
62
63
|
* @memberof PartnerClass
|
|
63
64
|
*/
|
|
64
65
|
'updatedBy'?: string;
|
|
66
|
+
/**
|
|
67
|
+
* List of tags for the partner
|
|
68
|
+
* @type {Array<TagClass>}
|
|
69
|
+
* @memberof PartnerClass
|
|
70
|
+
*/
|
|
71
|
+
'tags': Array<TagClass>;
|
|
65
72
|
}
|
|
66
73
|
|