@emilgroup/insurance-sdk-node 1.67.1-beta.17 → 1.67.1-beta.19
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 +0 -4
- package/README.md +2 -2
- package/dist/models/index.d.ts +0 -4
- package/dist/models/index.js +0 -4
- package/models/index.ts +0 -4
- package/package.json +1 -1
- package/dist/models/grpc-clone-lead-account-request-dto.d.ts +0 -120
- package/dist/models/grpc-clone-lead-account-request-dto.js +0 -26
- package/dist/models/grpc-clone-lead-request-dto.d.ts +0 -37
- package/dist/models/grpc-clone-lead-request-dto.js +0 -15
- package/dist/models/grpc-patch-lead-request-dto.d.ts +0 -109
- package/dist/models/grpc-patch-lead-request-dto.js +0 -15
- package/dist/models/grpc-update-lead-request-dto.d.ts +0 -109
- package/dist/models/grpc-update-lead-request-dto.js +0 -15
- package/models/grpc-clone-lead-account-request-dto.ts +0 -130
- package/models/grpc-clone-lead-request-dto.ts +0 -43
- package/models/grpc-patch-lead-request-dto.ts +0 -115
- package/models/grpc-update-lead-request-dto.ts +0 -115
package/.openapi-generator/FILES
CHANGED
|
@@ -135,10 +135,6 @@ models/get-status-transition-rule-response-class.ts
|
|
|
135
135
|
models/grouped-product-factor-class.ts
|
|
136
136
|
models/grouped-product-factor-value-class.ts
|
|
137
137
|
models/grouped-product-factors-response-class.ts
|
|
138
|
-
models/grpc-clone-lead-account-request-dto.ts
|
|
139
|
-
models/grpc-clone-lead-request-dto.ts
|
|
140
|
-
models/grpc-patch-lead-request-dto.ts
|
|
141
|
-
models/grpc-update-lead-request-dto.ts
|
|
142
138
|
models/index.ts
|
|
143
139
|
models/inline-response200.ts
|
|
144
140
|
models/inline-response503.ts
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/insurance-sdk-node@1.67.1-beta.
|
|
20
|
+
npm install @emilgroup/insurance-sdk-node@1.67.1-beta.19 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/insurance-sdk-node@1.67.1-beta.
|
|
24
|
+
yarn add @emilgroup/insurance-sdk-node@1.67.1-beta.19
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PoliciesApi`.
|
package/dist/models/index.d.ts
CHANGED
|
@@ -101,10 +101,6 @@ export * from './get-status-transition-rule-response-class';
|
|
|
101
101
|
export * from './grouped-product-factor-class';
|
|
102
102
|
export * from './grouped-product-factor-value-class';
|
|
103
103
|
export * from './grouped-product-factors-response-class';
|
|
104
|
-
export * from './grpc-clone-lead-account-request-dto';
|
|
105
|
-
export * from './grpc-clone-lead-request-dto';
|
|
106
|
-
export * from './grpc-patch-lead-request-dto';
|
|
107
|
-
export * from './grpc-update-lead-request-dto';
|
|
108
104
|
export * from './inline-response200';
|
|
109
105
|
export * from './inline-response503';
|
|
110
106
|
export * from './insured-object-class';
|
package/dist/models/index.js
CHANGED
|
@@ -117,10 +117,6 @@ __exportStar(require("./get-status-transition-rule-response-class"), exports);
|
|
|
117
117
|
__exportStar(require("./grouped-product-factor-class"), exports);
|
|
118
118
|
__exportStar(require("./grouped-product-factor-value-class"), exports);
|
|
119
119
|
__exportStar(require("./grouped-product-factors-response-class"), exports);
|
|
120
|
-
__exportStar(require("./grpc-clone-lead-account-request-dto"), exports);
|
|
121
|
-
__exportStar(require("./grpc-clone-lead-request-dto"), exports);
|
|
122
|
-
__exportStar(require("./grpc-patch-lead-request-dto"), exports);
|
|
123
|
-
__exportStar(require("./grpc-update-lead-request-dto"), exports);
|
|
124
120
|
__exportStar(require("./inline-response200"), exports);
|
|
125
121
|
__exportStar(require("./inline-response503"), exports);
|
|
126
122
|
__exportStar(require("./insured-object-class"), exports);
|
package/models/index.ts
CHANGED
|
@@ -101,10 +101,6 @@ export * from './get-status-transition-rule-response-class';
|
|
|
101
101
|
export * from './grouped-product-factor-class';
|
|
102
102
|
export * from './grouped-product-factor-value-class';
|
|
103
103
|
export * from './grouped-product-factors-response-class';
|
|
104
|
-
export * from './grpc-clone-lead-account-request-dto';
|
|
105
|
-
export * from './grpc-clone-lead-request-dto';
|
|
106
|
-
export * from './grpc-patch-lead-request-dto';
|
|
107
|
-
export * from './grpc-update-lead-request-dto';
|
|
108
104
|
export * from './inline-response200';
|
|
109
105
|
export * from './inline-response503';
|
|
110
106
|
export * from './insured-object-class';
|
package/package.json
CHANGED
|
@@ -1,120 +0,0 @@
|
|
|
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 GrpcCloneLeadAccountRequestDto
|
|
16
|
-
*/
|
|
17
|
-
export interface GrpcCloneLeadAccountRequestDto {
|
|
18
|
-
/**
|
|
19
|
-
* Optional field to enter the honorific title you want to be called.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof GrpcCloneLeadAccountRequestDto
|
|
22
|
-
*/
|
|
23
|
-
'title'?: GrpcCloneLeadAccountRequestDtoTitleEnum;
|
|
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 GrpcCloneLeadAccountRequestDto
|
|
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 GrpcCloneLeadAccountRequestDto
|
|
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 GrpcCloneLeadAccountRequestDto
|
|
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 GrpcCloneLeadAccountRequestDto
|
|
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 GrpcCloneLeadAccountRequestDto
|
|
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 GrpcCloneLeadAccountRequestDto
|
|
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 GrpcCloneLeadAccountRequestDto
|
|
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 GrpcCloneLeadAccountRequestDto
|
|
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 GrpcCloneLeadAccountRequestDto
|
|
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 GrpcCloneLeadAccountRequestDto
|
|
82
|
-
*/
|
|
83
|
-
'phone'?: string;
|
|
84
|
-
/**
|
|
85
|
-
* The account\'s type. Default value is person
|
|
86
|
-
* @type {string}
|
|
87
|
-
* @memberof GrpcCloneLeadAccountRequestDto
|
|
88
|
-
*/
|
|
89
|
-
'type'?: GrpcCloneLeadAccountRequestDtoTypeEnum;
|
|
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 GrpcCloneLeadAccountRequestDto
|
|
94
|
-
*/
|
|
95
|
-
'companyName'?: string;
|
|
96
|
-
/**
|
|
97
|
-
* Account number.
|
|
98
|
-
* @type {string}
|
|
99
|
-
* @memberof GrpcCloneLeadAccountRequestDto
|
|
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 GrpcCloneLeadAccountRequestDto
|
|
106
|
-
*/
|
|
107
|
-
'customFields'?: object;
|
|
108
|
-
}
|
|
109
|
-
export declare const GrpcCloneLeadAccountRequestDtoTitleEnum: {
|
|
110
|
-
readonly Empty: "";
|
|
111
|
-
readonly Dr: "Dr.";
|
|
112
|
-
readonly DrMed: "Dr. med.";
|
|
113
|
-
readonly Prof: "Prof.";
|
|
114
|
-
};
|
|
115
|
-
export type GrpcCloneLeadAccountRequestDtoTitleEnum = typeof GrpcCloneLeadAccountRequestDtoTitleEnum[keyof typeof GrpcCloneLeadAccountRequestDtoTitleEnum];
|
|
116
|
-
export declare const GrpcCloneLeadAccountRequestDtoTypeEnum: {
|
|
117
|
-
readonly Person: "person";
|
|
118
|
-
readonly Org: "org";
|
|
119
|
-
};
|
|
120
|
-
export type GrpcCloneLeadAccountRequestDtoTypeEnum = typeof GrpcCloneLeadAccountRequestDtoTypeEnum[keyof typeof GrpcCloneLeadAccountRequestDtoTypeEnum];
|
|
@@ -1,26 +0,0 @@
|
|
|
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.GrpcCloneLeadAccountRequestDtoTypeEnum = exports.GrpcCloneLeadAccountRequestDtoTitleEnum = void 0;
|
|
17
|
-
exports.GrpcCloneLeadAccountRequestDtoTitleEnum = {
|
|
18
|
-
Empty: '',
|
|
19
|
-
Dr: 'Dr.',
|
|
20
|
-
DrMed: 'Dr. med.',
|
|
21
|
-
Prof: 'Prof.'
|
|
22
|
-
};
|
|
23
|
-
exports.GrpcCloneLeadAccountRequestDtoTypeEnum = {
|
|
24
|
-
Person: 'person',
|
|
25
|
-
Org: 'org'
|
|
26
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
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
|
-
import { GrpcCloneLeadAccountRequestDto } from './grpc-clone-lead-account-request-dto';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GrpcCloneLeadRequestDto
|
|
17
|
-
*/
|
|
18
|
-
export interface GrpcCloneLeadRequestDto {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof GrpcCloneLeadRequestDto
|
|
23
|
-
*/
|
|
24
|
-
'code': string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {GrpcCloneLeadAccountRequestDto}
|
|
28
|
-
* @memberof GrpcCloneLeadRequestDto
|
|
29
|
-
*/
|
|
30
|
-
'account'?: GrpcCloneLeadAccountRequestDto;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof GrpcCloneLeadRequestDto
|
|
35
|
-
*/
|
|
36
|
-
'status'?: string;
|
|
37
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
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 });
|
|
@@ -1,109 +0,0 @@
|
|
|
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
|
-
import { CreateAccountRequestDto } from './create-account-request-dto';
|
|
13
|
-
import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
|
|
14
|
-
import { CreateLeadPolicyRequestDto } from './create-lead-policy-request-dto';
|
|
15
|
-
import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
|
|
16
|
-
import { LinkLeadPartnerRequestDto } from './link-lead-partner-request-dto';
|
|
17
|
-
import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
18
|
-
import { UploadedDocumentDto } from './uploaded-document-dto';
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @export
|
|
22
|
-
* @interface GrpcPatchLeadRequestDto
|
|
23
|
-
*/
|
|
24
|
-
export interface GrpcPatchLeadRequestDto {
|
|
25
|
-
/**
|
|
26
|
-
* Unique identifier referencing the product version.
|
|
27
|
-
* @type {number}
|
|
28
|
-
* @memberof GrpcPatchLeadRequestDto
|
|
29
|
-
*/
|
|
30
|
-
'productVersionId'?: number;
|
|
31
|
-
/**
|
|
32
|
-
* Account
|
|
33
|
-
* @type {CreateAccountRequestDto}
|
|
34
|
-
* @memberof GrpcPatchLeadRequestDto
|
|
35
|
-
*/
|
|
36
|
-
'account'?: CreateAccountRequestDto;
|
|
37
|
-
/**
|
|
38
|
-
* Policy
|
|
39
|
-
* @type {CreateLeadPolicyRequestDto}
|
|
40
|
-
* @memberof GrpcPatchLeadRequestDto
|
|
41
|
-
*/
|
|
42
|
-
'policy'?: CreateLeadPolicyRequestDto;
|
|
43
|
-
/**
|
|
44
|
-
* Lead status. Default values are \"created\", \"approved\" and \"declined\". However, those can be extended using /lead-statuses endpoint from insuranceservice.
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof GrpcPatchLeadRequestDto
|
|
47
|
-
*/
|
|
48
|
-
'status'?: string;
|
|
49
|
-
/**
|
|
50
|
-
* Bank account
|
|
51
|
-
* @type {CreateBankAccountRequestDto}
|
|
52
|
-
* @memberof GrpcPatchLeadRequestDto
|
|
53
|
-
*/
|
|
54
|
-
'bankAccount'?: CreateBankAccountRequestDto;
|
|
55
|
-
/**
|
|
56
|
-
* Custom data.
|
|
57
|
-
* @type {object}
|
|
58
|
-
* @memberof GrpcPatchLeadRequestDto
|
|
59
|
-
*/
|
|
60
|
-
'customData'?: object;
|
|
61
|
-
/**
|
|
62
|
-
* Upload document
|
|
63
|
-
* @type {UploadedDocumentDto}
|
|
64
|
-
* @memberof GrpcPatchLeadRequestDto
|
|
65
|
-
*/
|
|
66
|
-
'uploadedDocument'?: UploadedDocumentDto;
|
|
67
|
-
/**
|
|
68
|
-
* Premium Override
|
|
69
|
-
* @type {PremiumOverrideRequestDto}
|
|
70
|
-
* @memberof GrpcPatchLeadRequestDto
|
|
71
|
-
*/
|
|
72
|
-
'premiumOverride'?: PremiumOverrideRequestDto;
|
|
73
|
-
/**
|
|
74
|
-
* Unique identifier of the account that this object belongs to.
|
|
75
|
-
* @type {string}
|
|
76
|
-
* @memberof GrpcPatchLeadRequestDto
|
|
77
|
-
*/
|
|
78
|
-
'accountCode'?: string;
|
|
79
|
-
/**
|
|
80
|
-
* Payment method
|
|
81
|
-
* @type {CreatePaymentMethodRequestDto}
|
|
82
|
-
* @memberof GrpcPatchLeadRequestDto
|
|
83
|
-
*/
|
|
84
|
-
'paymentMethod'?: CreatePaymentMethodRequestDto;
|
|
85
|
-
/**
|
|
86
|
-
* Optional partner object contains necessary information to link a partner to the policy. The partner content will be validated if the \'validate\' flag is set to true.
|
|
87
|
-
* @type {LinkLeadPartnerRequestDto}
|
|
88
|
-
* @memberof GrpcPatchLeadRequestDto
|
|
89
|
-
*/
|
|
90
|
-
'partner'?: LinkLeadPartnerRequestDto;
|
|
91
|
-
/**
|
|
92
|
-
*
|
|
93
|
-
* @type {string}
|
|
94
|
-
* @memberof GrpcPatchLeadRequestDto
|
|
95
|
-
*/
|
|
96
|
-
'code': string;
|
|
97
|
-
/**
|
|
98
|
-
*
|
|
99
|
-
* @type {boolean}
|
|
100
|
-
* @memberof GrpcPatchLeadRequestDto
|
|
101
|
-
*/
|
|
102
|
-
'shouldTriggerWorkflow'?: boolean;
|
|
103
|
-
/**
|
|
104
|
-
*
|
|
105
|
-
* @type {boolean}
|
|
106
|
-
* @memberof GrpcPatchLeadRequestDto
|
|
107
|
-
*/
|
|
108
|
-
'validate'?: boolean;
|
|
109
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
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 });
|
|
@@ -1,109 +0,0 @@
|
|
|
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
|
-
import { CreateAccountRequestDto } from './create-account-request-dto';
|
|
13
|
-
import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
|
|
14
|
-
import { CreateLeadPolicyRequestDto } from './create-lead-policy-request-dto';
|
|
15
|
-
import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
|
|
16
|
-
import { LinkLeadPartnerRequestDto } from './link-lead-partner-request-dto';
|
|
17
|
-
import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
18
|
-
import { UploadedDocumentDto } from './uploaded-document-dto';
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @export
|
|
22
|
-
* @interface GrpcUpdateLeadRequestDto
|
|
23
|
-
*/
|
|
24
|
-
export interface GrpcUpdateLeadRequestDto {
|
|
25
|
-
/**
|
|
26
|
-
* 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.
|
|
27
|
-
* @type {number}
|
|
28
|
-
* @memberof GrpcUpdateLeadRequestDto
|
|
29
|
-
*/
|
|
30
|
-
'productVersionId'?: number;
|
|
31
|
-
/**
|
|
32
|
-
* 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.
|
|
33
|
-
* @type {CreateAccountRequestDto}
|
|
34
|
-
* @memberof GrpcUpdateLeadRequestDto
|
|
35
|
-
*/
|
|
36
|
-
'account': CreateAccountRequestDto;
|
|
37
|
-
/**
|
|
38
|
-
* The policy object contains necessary information to create a policy. The Policy content will be validated if the \'validate\' flag is set to true
|
|
39
|
-
* @type {CreateLeadPolicyRequestDto}
|
|
40
|
-
* @memberof GrpcUpdateLeadRequestDto
|
|
41
|
-
*/
|
|
42
|
-
'policy': CreateLeadPolicyRequestDto;
|
|
43
|
-
/**
|
|
44
|
-
* Lead status. Default values are \"created\", \"approved\" and \"declined\". However, those can be extended using /lead-statuses endpoint from insuranceservice.
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof GrpcUpdateLeadRequestDto
|
|
47
|
-
*/
|
|
48
|
-
'status': string;
|
|
49
|
-
/**
|
|
50
|
-
* Bank account details, to be used for direct debit payments, the created bank account will be attached to the lead for later use, such as paying claims. The bank account content will be validated if the \'validate\' flag is set to true.
|
|
51
|
-
* @type {CreateBankAccountRequestDto}
|
|
52
|
-
* @memberof GrpcUpdateLeadRequestDto
|
|
53
|
-
*/
|
|
54
|
-
'bankAccount'?: CreateBankAccountRequestDto;
|
|
55
|
-
/**
|
|
56
|
-
* Optional custom data for the lead. This field is useful for edge cases where the lead requires additional data for the risk carrier, such as creating an application in the risk carrier platform or performing a premium calculation. The custom data should include three main entities: \'data\', \'provider\', and \'productCode\'. The \'data\' entity contains information used in the risk carrier platform, the \'provider\' field contains the name of the provider (usually the risk carrier\'s name), the provider must be supported in EMIL, The \'productCode\' field contains the product code in EMIL
|
|
57
|
-
* @type {object}
|
|
58
|
-
* @memberof GrpcUpdateLeadRequestDto
|
|
59
|
-
*/
|
|
60
|
-
'customData'?: object;
|
|
61
|
-
/**
|
|
62
|
-
* Used to pass pre-uploaded documents to the lead. By providing the codes of the uploaded documents, they will be attached to the lead. The uploaded document content will be validated if the \'validate\' flag is set to true.
|
|
63
|
-
* @type {UploadedDocumentDto}
|
|
64
|
-
* @memberof GrpcUpdateLeadRequestDto
|
|
65
|
-
*/
|
|
66
|
-
'uploadedDocument'?: UploadedDocumentDto;
|
|
67
|
-
/**
|
|
68
|
-
* 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.
|
|
69
|
-
* @type {Array<PremiumOverrideRequestDto>}
|
|
70
|
-
* @memberof GrpcUpdateLeadRequestDto
|
|
71
|
-
*/
|
|
72
|
-
'premiumOverride'?: Array<PremiumOverrideRequestDto>;
|
|
73
|
-
/**
|
|
74
|
-
* The account code is used in cases where the account has been created before the lead. The create lead request should include either the \'accountCode\' or \'account\'. The account code will be validated if the \'validate\' flag is set to true.
|
|
75
|
-
* @type {string}
|
|
76
|
-
* @memberof GrpcUpdateLeadRequestDto
|
|
77
|
-
*/
|
|
78
|
-
'accountCode'?: string;
|
|
79
|
-
/**
|
|
80
|
-
* Payment method, used to for payment method support, such as SEPA, invoice, etc. The payment method content will be validated if the \'validate\' flag is set to true.
|
|
81
|
-
* @type {CreatePaymentMethodRequestDto}
|
|
82
|
-
* @memberof GrpcUpdateLeadRequestDto
|
|
83
|
-
*/
|
|
84
|
-
'paymentMethod'?: CreatePaymentMethodRequestDto;
|
|
85
|
-
/**
|
|
86
|
-
* The validation indicator, with a default value of true, serves as a toggle. When set to false, it allows the bypassing of validation—a useful option for saving leads for later processing. This feature provides flexibility by enabling users to choose whether to enforce validation checks during the current stage or defer them for a subsequent time.
|
|
87
|
-
* @type {boolean}
|
|
88
|
-
* @memberof GrpcUpdateLeadRequestDto
|
|
89
|
-
*/
|
|
90
|
-
'validate'?: boolean;
|
|
91
|
-
/**
|
|
92
|
-
* Optional partner object contains necessary information to link a partner to the policy. The partner content will be validated if the \'validate\' flag is set to true.
|
|
93
|
-
* @type {LinkLeadPartnerRequestDto}
|
|
94
|
-
* @memberof GrpcUpdateLeadRequestDto
|
|
95
|
-
*/
|
|
96
|
-
'partner'?: LinkLeadPartnerRequestDto;
|
|
97
|
-
/**
|
|
98
|
-
*
|
|
99
|
-
* @type {string}
|
|
100
|
-
* @memberof GrpcUpdateLeadRequestDto
|
|
101
|
-
*/
|
|
102
|
-
'code': string;
|
|
103
|
-
/**
|
|
104
|
-
*
|
|
105
|
-
* @type {boolean}
|
|
106
|
-
* @memberof GrpcUpdateLeadRequestDto
|
|
107
|
-
*/
|
|
108
|
-
'shouldTriggerWorkflow'?: boolean;
|
|
109
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
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 });
|
|
@@ -1,130 +0,0 @@
|
|
|
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
|
-
|
|
@@ -1,43 +0,0 @@
|
|
|
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
|
-
|
|
@@ -1,115 +0,0 @@
|
|
|
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 { CreateAccountRequestDto } from './create-account-request-dto';
|
|
17
|
-
import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
|
|
18
|
-
import { CreateLeadPolicyRequestDto } from './create-lead-policy-request-dto';
|
|
19
|
-
import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
|
|
20
|
-
import { LinkLeadPartnerRequestDto } from './link-lead-partner-request-dto';
|
|
21
|
-
import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
22
|
-
import { UploadedDocumentDto } from './uploaded-document-dto';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface GrpcPatchLeadRequestDto
|
|
28
|
-
*/
|
|
29
|
-
export interface GrpcPatchLeadRequestDto {
|
|
30
|
-
/**
|
|
31
|
-
* Unique identifier referencing the product version.
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof GrpcPatchLeadRequestDto
|
|
34
|
-
*/
|
|
35
|
-
'productVersionId'?: number;
|
|
36
|
-
/**
|
|
37
|
-
* Account
|
|
38
|
-
* @type {CreateAccountRequestDto}
|
|
39
|
-
* @memberof GrpcPatchLeadRequestDto
|
|
40
|
-
*/
|
|
41
|
-
'account'?: CreateAccountRequestDto;
|
|
42
|
-
/**
|
|
43
|
-
* Policy
|
|
44
|
-
* @type {CreateLeadPolicyRequestDto}
|
|
45
|
-
* @memberof GrpcPatchLeadRequestDto
|
|
46
|
-
*/
|
|
47
|
-
'policy'?: CreateLeadPolicyRequestDto;
|
|
48
|
-
/**
|
|
49
|
-
* Lead status. Default values are \"created\", \"approved\" and \"declined\". However, those can be extended using /lead-statuses endpoint from insuranceservice.
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof GrpcPatchLeadRequestDto
|
|
52
|
-
*/
|
|
53
|
-
'status'?: string;
|
|
54
|
-
/**
|
|
55
|
-
* Bank account
|
|
56
|
-
* @type {CreateBankAccountRequestDto}
|
|
57
|
-
* @memberof GrpcPatchLeadRequestDto
|
|
58
|
-
*/
|
|
59
|
-
'bankAccount'?: CreateBankAccountRequestDto;
|
|
60
|
-
/**
|
|
61
|
-
* Custom data.
|
|
62
|
-
* @type {object}
|
|
63
|
-
* @memberof GrpcPatchLeadRequestDto
|
|
64
|
-
*/
|
|
65
|
-
'customData'?: object;
|
|
66
|
-
/**
|
|
67
|
-
* Upload document
|
|
68
|
-
* @type {UploadedDocumentDto}
|
|
69
|
-
* @memberof GrpcPatchLeadRequestDto
|
|
70
|
-
*/
|
|
71
|
-
'uploadedDocument'?: UploadedDocumentDto;
|
|
72
|
-
/**
|
|
73
|
-
* Premium Override
|
|
74
|
-
* @type {PremiumOverrideRequestDto}
|
|
75
|
-
* @memberof GrpcPatchLeadRequestDto
|
|
76
|
-
*/
|
|
77
|
-
'premiumOverride'?: PremiumOverrideRequestDto;
|
|
78
|
-
/**
|
|
79
|
-
* Unique identifier of the account that this object belongs to.
|
|
80
|
-
* @type {string}
|
|
81
|
-
* @memberof GrpcPatchLeadRequestDto
|
|
82
|
-
*/
|
|
83
|
-
'accountCode'?: string;
|
|
84
|
-
/**
|
|
85
|
-
* Payment method
|
|
86
|
-
* @type {CreatePaymentMethodRequestDto}
|
|
87
|
-
* @memberof GrpcPatchLeadRequestDto
|
|
88
|
-
*/
|
|
89
|
-
'paymentMethod'?: CreatePaymentMethodRequestDto;
|
|
90
|
-
/**
|
|
91
|
-
* Optional partner object contains necessary information to link a partner to the policy. The partner content will be validated if the \'validate\' flag is set to true.
|
|
92
|
-
* @type {LinkLeadPartnerRequestDto}
|
|
93
|
-
* @memberof GrpcPatchLeadRequestDto
|
|
94
|
-
*/
|
|
95
|
-
'partner'?: LinkLeadPartnerRequestDto;
|
|
96
|
-
/**
|
|
97
|
-
*
|
|
98
|
-
* @type {string}
|
|
99
|
-
* @memberof GrpcPatchLeadRequestDto
|
|
100
|
-
*/
|
|
101
|
-
'code': string;
|
|
102
|
-
/**
|
|
103
|
-
*
|
|
104
|
-
* @type {boolean}
|
|
105
|
-
* @memberof GrpcPatchLeadRequestDto
|
|
106
|
-
*/
|
|
107
|
-
'shouldTriggerWorkflow'?: boolean;
|
|
108
|
-
/**
|
|
109
|
-
*
|
|
110
|
-
* @type {boolean}
|
|
111
|
-
* @memberof GrpcPatchLeadRequestDto
|
|
112
|
-
*/
|
|
113
|
-
'validate'?: boolean;
|
|
114
|
-
}
|
|
115
|
-
|
|
@@ -1,115 +0,0 @@
|
|
|
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 { CreateAccountRequestDto } from './create-account-request-dto';
|
|
17
|
-
import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
|
|
18
|
-
import { CreateLeadPolicyRequestDto } from './create-lead-policy-request-dto';
|
|
19
|
-
import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
|
|
20
|
-
import { LinkLeadPartnerRequestDto } from './link-lead-partner-request-dto';
|
|
21
|
-
import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
22
|
-
import { UploadedDocumentDto } from './uploaded-document-dto';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface GrpcUpdateLeadRequestDto
|
|
28
|
-
*/
|
|
29
|
-
export interface GrpcUpdateLeadRequestDto {
|
|
30
|
-
/**
|
|
31
|
-
* 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.
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof GrpcUpdateLeadRequestDto
|
|
34
|
-
*/
|
|
35
|
-
'productVersionId'?: number;
|
|
36
|
-
/**
|
|
37
|
-
* 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.
|
|
38
|
-
* @type {CreateAccountRequestDto}
|
|
39
|
-
* @memberof GrpcUpdateLeadRequestDto
|
|
40
|
-
*/
|
|
41
|
-
'account': CreateAccountRequestDto;
|
|
42
|
-
/**
|
|
43
|
-
* The policy object contains necessary information to create a policy. The Policy content will be validated if the \'validate\' flag is set to true
|
|
44
|
-
* @type {CreateLeadPolicyRequestDto}
|
|
45
|
-
* @memberof GrpcUpdateLeadRequestDto
|
|
46
|
-
*/
|
|
47
|
-
'policy': CreateLeadPolicyRequestDto;
|
|
48
|
-
/**
|
|
49
|
-
* Lead status. Default values are \"created\", \"approved\" and \"declined\". However, those can be extended using /lead-statuses endpoint from insuranceservice.
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof GrpcUpdateLeadRequestDto
|
|
52
|
-
*/
|
|
53
|
-
'status': string;
|
|
54
|
-
/**
|
|
55
|
-
* Bank account details, to be used for direct debit payments, the created bank account will be attached to the lead for later use, such as paying claims. The bank account content will be validated if the \'validate\' flag is set to true.
|
|
56
|
-
* @type {CreateBankAccountRequestDto}
|
|
57
|
-
* @memberof GrpcUpdateLeadRequestDto
|
|
58
|
-
*/
|
|
59
|
-
'bankAccount'?: CreateBankAccountRequestDto;
|
|
60
|
-
/**
|
|
61
|
-
* Optional custom data for the lead. This field is useful for edge cases where the lead requires additional data for the risk carrier, such as creating an application in the risk carrier platform or performing a premium calculation. The custom data should include three main entities: \'data\', \'provider\', and \'productCode\'. The \'data\' entity contains information used in the risk carrier platform, the \'provider\' field contains the name of the provider (usually the risk carrier\'s name), the provider must be supported in EMIL, The \'productCode\' field contains the product code in EMIL
|
|
62
|
-
* @type {object}
|
|
63
|
-
* @memberof GrpcUpdateLeadRequestDto
|
|
64
|
-
*/
|
|
65
|
-
'customData'?: object;
|
|
66
|
-
/**
|
|
67
|
-
* Used to pass pre-uploaded documents to the lead. By providing the codes of the uploaded documents, they will be attached to the lead. The uploaded document content will be validated if the \'validate\' flag is set to true.
|
|
68
|
-
* @type {UploadedDocumentDto}
|
|
69
|
-
* @memberof GrpcUpdateLeadRequestDto
|
|
70
|
-
*/
|
|
71
|
-
'uploadedDocument'?: UploadedDocumentDto;
|
|
72
|
-
/**
|
|
73
|
-
* 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.
|
|
74
|
-
* @type {Array<PremiumOverrideRequestDto>}
|
|
75
|
-
* @memberof GrpcUpdateLeadRequestDto
|
|
76
|
-
*/
|
|
77
|
-
'premiumOverride'?: Array<PremiumOverrideRequestDto>;
|
|
78
|
-
/**
|
|
79
|
-
* The account code is used in cases where the account has been created before the lead. The create lead request should include either the \'accountCode\' or \'account\'. The account code will be validated if the \'validate\' flag is set to true.
|
|
80
|
-
* @type {string}
|
|
81
|
-
* @memberof GrpcUpdateLeadRequestDto
|
|
82
|
-
*/
|
|
83
|
-
'accountCode'?: string;
|
|
84
|
-
/**
|
|
85
|
-
* Payment method, used to for payment method support, such as SEPA, invoice, etc. The payment method content will be validated if the \'validate\' flag is set to true.
|
|
86
|
-
* @type {CreatePaymentMethodRequestDto}
|
|
87
|
-
* @memberof GrpcUpdateLeadRequestDto
|
|
88
|
-
*/
|
|
89
|
-
'paymentMethod'?: CreatePaymentMethodRequestDto;
|
|
90
|
-
/**
|
|
91
|
-
* The validation indicator, with a default value of true, serves as a toggle. When set to false, it allows the bypassing of validation—a useful option for saving leads for later processing. This feature provides flexibility by enabling users to choose whether to enforce validation checks during the current stage or defer them for a subsequent time.
|
|
92
|
-
* @type {boolean}
|
|
93
|
-
* @memberof GrpcUpdateLeadRequestDto
|
|
94
|
-
*/
|
|
95
|
-
'validate'?: boolean;
|
|
96
|
-
/**
|
|
97
|
-
* Optional partner object contains necessary information to link a partner to the policy. The partner content will be validated if the \'validate\' flag is set to true.
|
|
98
|
-
* @type {LinkLeadPartnerRequestDto}
|
|
99
|
-
* @memberof GrpcUpdateLeadRequestDto
|
|
100
|
-
*/
|
|
101
|
-
'partner'?: LinkLeadPartnerRequestDto;
|
|
102
|
-
/**
|
|
103
|
-
*
|
|
104
|
-
* @type {string}
|
|
105
|
-
* @memberof GrpcUpdateLeadRequestDto
|
|
106
|
-
*/
|
|
107
|
-
'code': string;
|
|
108
|
-
/**
|
|
109
|
-
*
|
|
110
|
-
* @type {boolean}
|
|
111
|
-
* @memberof GrpcUpdateLeadRequestDto
|
|
112
|
-
*/
|
|
113
|
-
'shouldTriggerWorkflow'?: boolean;
|
|
114
|
-
}
|
|
115
|
-
|