@emilgroup/insurance-sdk-node 1.18.0 → 1.19.1
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 +2 -0
- package/README.md +2 -2
- package/dist/models/create-lead-request-dto.d.ts +7 -0
- package/dist/models/create-payment-method-request-dto.d.ts +36 -0
- package/dist/models/create-payment-method-request-dto.js +20 -0
- package/dist/models/create-product-request-dto.d.ts +28 -0
- package/dist/models/create-product-request-dto.js +22 -1
- package/dist/models/grpc-patch-lead-request-dto.d.ts +7 -0
- package/dist/models/grpc-update-lead-request-dto.d.ts +7 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/models/lead-class.d.ts +8 -1
- package/dist/models/patch-lead-request-dto.d.ts +7 -0
- package/dist/models/product-class.d.ts +6 -0
- package/dist/models/sepa-dto.d.ts +30 -0
- package/dist/models/sepa-dto.js +15 -0
- package/dist/models/update-lead-request-dto.d.ts +7 -0
- package/models/create-lead-request-dto.ts +7 -0
- package/models/create-payment-method-request-dto.ts +45 -0
- package/models/create-product-request-dto.ts +29 -0
- package/models/grpc-patch-lead-request-dto.ts +7 -0
- package/models/grpc-update-lead-request-dto.ts +7 -0
- package/models/index.ts +2 -0
- package/models/lead-class.ts +8 -1
- package/models/patch-lead-request-dto.ts +7 -0
- package/models/product-class.ts +6 -0
- package/models/sepa-dto.ts +36 -0
- package/models/update-lead-request-dto.ts +7 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -31,6 +31,7 @@ models/create-lead-request-dto.ts
|
|
|
31
31
|
models/create-lead-response-class.ts
|
|
32
32
|
models/create-lead-status-request-dto.ts
|
|
33
33
|
models/create-lead-status-response-class.ts
|
|
34
|
+
models/create-payment-method-request-dto.ts
|
|
34
35
|
models/create-policy-request-dto.ts
|
|
35
36
|
models/create-policy-response-class.ts
|
|
36
37
|
models/create-premium-formula-request-dto.ts
|
|
@@ -103,6 +104,7 @@ models/product-factor-value-class.ts
|
|
|
103
104
|
models/product-field-class.ts
|
|
104
105
|
models/product-field-type-class.ts
|
|
105
106
|
models/product-version-class.ts
|
|
107
|
+
models/sepa-dto.ts
|
|
106
108
|
models/shared-invoice-class.ts
|
|
107
109
|
models/shared-product-field-class.ts
|
|
108
110
|
models/shared-update-premium-formula-request-dto.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.
|
|
20
|
+
npm install @emilgroup/insurance-sdk-node@1.19.1 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/insurance-sdk-node@1.
|
|
24
|
+
yarn add @emilgroup/insurance-sdk-node@1.19.1
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PoliciesApi`.
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { CreateAccountRequestDto } from './create-account-request-dto';
|
|
13
13
|
import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
|
|
14
|
+
import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
|
|
14
15
|
import { CreatePolicyRequestDto } from './create-policy-request-dto';
|
|
15
16
|
import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
16
17
|
import { UploadedDocumentDto } from './uploaded-document-dto';
|
|
@@ -80,4 +81,10 @@ export interface CreateLeadRequestDto {
|
|
|
80
81
|
* @memberof CreateLeadRequestDto
|
|
81
82
|
*/
|
|
82
83
|
'premiumOverride'?: PremiumOverrideRequestDto;
|
|
84
|
+
/**
|
|
85
|
+
* Payment method
|
|
86
|
+
* @type {CreatePaymentMethodRequestDto}
|
|
87
|
+
* @memberof CreateLeadRequestDto
|
|
88
|
+
*/
|
|
89
|
+
'paymentMethod'?: CreatePaymentMethodRequestDto;
|
|
83
90
|
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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 { 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': CreatePaymentMethodRequestDtoTypeEnum;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {SepaDto}
|
|
28
|
+
* @memberof CreatePaymentMethodRequestDto
|
|
29
|
+
*/
|
|
30
|
+
'sepa'?: SepaDto;
|
|
31
|
+
}
|
|
32
|
+
export declare const CreatePaymentMethodRequestDtoTypeEnum: {
|
|
33
|
+
readonly Sepa: "sepa";
|
|
34
|
+
readonly Invoice: "invoice";
|
|
35
|
+
};
|
|
36
|
+
export type CreatePaymentMethodRequestDtoTypeEnum = typeof CreatePaymentMethodRequestDtoTypeEnum[keyof typeof CreatePaymentMethodRequestDtoTypeEnum];
|
|
@@ -0,0 +1,20 @@
|
|
|
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.CreatePaymentMethodRequestDtoTypeEnum = void 0;
|
|
17
|
+
exports.CreatePaymentMethodRequestDtoTypeEnum = {
|
|
18
|
+
Sepa: 'sepa',
|
|
19
|
+
Invoice: 'invoice'
|
|
20
|
+
};
|
|
@@ -39,6 +39,12 @@ export interface CreateProductRequestDto {
|
|
|
39
39
|
* @memberof CreateProductRequestDto
|
|
40
40
|
*/
|
|
41
41
|
'slug': string;
|
|
42
|
+
/**
|
|
43
|
+
* Default language of the product.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CreateProductRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'defaultLanguage': CreateProductRequestDtoDefaultLanguageEnum;
|
|
42
48
|
}
|
|
43
49
|
export declare const CreateProductRequestDtoInsuredObjectTypesEnum: {
|
|
44
50
|
readonly Default: "default";
|
|
@@ -55,3 +61,25 @@ export declare const CreateProductRequestDtoInsuredObjectTypesEnum: {
|
|
|
55
61
|
readonly Device: "device";
|
|
56
62
|
};
|
|
57
63
|
export type CreateProductRequestDtoInsuredObjectTypesEnum = typeof CreateProductRequestDtoInsuredObjectTypesEnum[keyof typeof CreateProductRequestDtoInsuredObjectTypesEnum];
|
|
64
|
+
export declare const CreateProductRequestDtoDefaultLanguageEnum: {
|
|
65
|
+
readonly German: "German";
|
|
66
|
+
readonly English: "English";
|
|
67
|
+
readonly Polish: "Polish";
|
|
68
|
+
readonly French: "French";
|
|
69
|
+
readonly Italian: "Italian";
|
|
70
|
+
readonly Spanish: "Spanish";
|
|
71
|
+
readonly Portuguese: "Portuguese";
|
|
72
|
+
readonly Russian: "Russian";
|
|
73
|
+
readonly Japanese: "Japanese";
|
|
74
|
+
readonly Chinese: "Chinese";
|
|
75
|
+
readonly Korean: "Korean";
|
|
76
|
+
readonly Turkish: "Turkish";
|
|
77
|
+
readonly Arabic: "Arabic";
|
|
78
|
+
readonly Hindi: "Hindi";
|
|
79
|
+
readonly Indonesian: "Indonesian";
|
|
80
|
+
readonly Thai: "Thai";
|
|
81
|
+
readonly Vietnamese: "Vietnamese";
|
|
82
|
+
readonly Persian: "Persian";
|
|
83
|
+
readonly Ukrainian: "Ukrainian";
|
|
84
|
+
};
|
|
85
|
+
export type CreateProductRequestDtoDefaultLanguageEnum = typeof CreateProductRequestDtoDefaultLanguageEnum[keyof typeof CreateProductRequestDtoDefaultLanguageEnum];
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.CreateProductRequestDtoInsuredObjectTypesEnum = void 0;
|
|
16
|
+
exports.CreateProductRequestDtoDefaultLanguageEnum = exports.CreateProductRequestDtoInsuredObjectTypesEnum = void 0;
|
|
17
17
|
exports.CreateProductRequestDtoInsuredObjectTypesEnum = {
|
|
18
18
|
Default: 'default',
|
|
19
19
|
Car: 'car',
|
|
@@ -28,3 +28,24 @@ exports.CreateProductRequestDtoInsuredObjectTypesEnum = {
|
|
|
28
28
|
Travel: 'travel',
|
|
29
29
|
Device: 'device'
|
|
30
30
|
};
|
|
31
|
+
exports.CreateProductRequestDtoDefaultLanguageEnum = {
|
|
32
|
+
German: 'German',
|
|
33
|
+
English: 'English',
|
|
34
|
+
Polish: 'Polish',
|
|
35
|
+
French: 'French',
|
|
36
|
+
Italian: 'Italian',
|
|
37
|
+
Spanish: 'Spanish',
|
|
38
|
+
Portuguese: 'Portuguese',
|
|
39
|
+
Russian: 'Russian',
|
|
40
|
+
Japanese: 'Japanese',
|
|
41
|
+
Chinese: 'Chinese',
|
|
42
|
+
Korean: 'Korean',
|
|
43
|
+
Turkish: 'Turkish',
|
|
44
|
+
Arabic: 'Arabic',
|
|
45
|
+
Hindi: 'Hindi',
|
|
46
|
+
Indonesian: 'Indonesian',
|
|
47
|
+
Thai: 'Thai',
|
|
48
|
+
Vietnamese: 'Vietnamese',
|
|
49
|
+
Persian: 'Persian',
|
|
50
|
+
Ukrainian: 'Ukrainian'
|
|
51
|
+
};
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { CreateAccountRequestDto } from './create-account-request-dto';
|
|
13
13
|
import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
|
|
14
|
+
import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
|
|
14
15
|
import { CreatePolicyRequestDto } from './create-policy-request-dto';
|
|
15
16
|
import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
16
17
|
import { UploadedDocumentDto } from './uploaded-document-dto';
|
|
@@ -74,4 +75,10 @@ export interface GrpcPatchLeadRequestDto {
|
|
|
74
75
|
* @memberof GrpcPatchLeadRequestDto
|
|
75
76
|
*/
|
|
76
77
|
'accountCode'?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Payment method
|
|
80
|
+
* @type {CreatePaymentMethodRequestDto}
|
|
81
|
+
* @memberof GrpcPatchLeadRequestDto
|
|
82
|
+
*/
|
|
83
|
+
'paymentMethod'?: CreatePaymentMethodRequestDto;
|
|
77
84
|
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { CreateAccountRequestDto } from './create-account-request-dto';
|
|
13
13
|
import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
|
|
14
|
+
import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
|
|
14
15
|
import { CreatePolicyRequestDto } from './create-policy-request-dto';
|
|
15
16
|
import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
16
17
|
import { UploadedDocumentDto } from './uploaded-document-dto';
|
|
@@ -44,6 +45,12 @@ export interface GrpcUpdateLeadRequestDto {
|
|
|
44
45
|
* @memberof GrpcUpdateLeadRequestDto
|
|
45
46
|
*/
|
|
46
47
|
'premiumOverride'?: Array<PremiumOverrideRequestDto>;
|
|
48
|
+
/**
|
|
49
|
+
* Payment method
|
|
50
|
+
* @type {CreatePaymentMethodRequestDto}
|
|
51
|
+
* @memberof GrpcUpdateLeadRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'paymentMethod'?: CreatePaymentMethodRequestDto;
|
|
47
54
|
/**
|
|
48
55
|
*
|
|
49
56
|
* @type {string}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export * from './create-lead-request-dto';
|
|
|
11
11
|
export * from './create-lead-response-class';
|
|
12
12
|
export * from './create-lead-status-request-dto';
|
|
13
13
|
export * from './create-lead-status-response-class';
|
|
14
|
+
export * from './create-payment-method-request-dto';
|
|
14
15
|
export * from './create-policy-request-dto';
|
|
15
16
|
export * from './create-policy-response-class';
|
|
16
17
|
export * from './create-premium-formula-request-dto';
|
|
@@ -82,6 +83,7 @@ export * from './product-factor-value-class';
|
|
|
82
83
|
export * from './product-field-class';
|
|
83
84
|
export * from './product-field-type-class';
|
|
84
85
|
export * from './product-version-class';
|
|
86
|
+
export * from './sepa-dto';
|
|
85
87
|
export * from './shared-invoice-class';
|
|
86
88
|
export * from './shared-product-field-class';
|
|
87
89
|
export * from './shared-update-premium-formula-request-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -27,6 +27,7 @@ __exportStar(require("./create-lead-request-dto"), exports);
|
|
|
27
27
|
__exportStar(require("./create-lead-response-class"), exports);
|
|
28
28
|
__exportStar(require("./create-lead-status-request-dto"), exports);
|
|
29
29
|
__exportStar(require("./create-lead-status-response-class"), exports);
|
|
30
|
+
__exportStar(require("./create-payment-method-request-dto"), exports);
|
|
30
31
|
__exportStar(require("./create-policy-request-dto"), exports);
|
|
31
32
|
__exportStar(require("./create-policy-response-class"), exports);
|
|
32
33
|
__exportStar(require("./create-premium-formula-request-dto"), exports);
|
|
@@ -98,6 +99,7 @@ __exportStar(require("./product-factor-value-class"), exports);
|
|
|
98
99
|
__exportStar(require("./product-field-class"), exports);
|
|
99
100
|
__exportStar(require("./product-field-type-class"), exports);
|
|
100
101
|
__exportStar(require("./product-version-class"), exports);
|
|
102
|
+
__exportStar(require("./sepa-dto"), exports);
|
|
101
103
|
__exportStar(require("./shared-invoice-class"), exports);
|
|
102
104
|
__exportStar(require("./shared-product-field-class"), exports);
|
|
103
105
|
__exportStar(require("./shared-update-premium-formula-request-dto"), exports);
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { CreateAccountRequestDto } from './create-account-request-dto';
|
|
13
|
+
import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
|
|
13
14
|
import { CreatePolicyRequestDto } from './create-policy-request-dto';
|
|
14
15
|
import { LeadBankAccountClass } from './lead-bank-account-class';
|
|
15
16
|
import { PremiumOverrideRequestClass } from './premium-override-request-class';
|
|
@@ -64,7 +65,7 @@ export interface LeadClass {
|
|
|
64
65
|
*/
|
|
65
66
|
'policy': CreatePolicyRequestDto;
|
|
66
67
|
/**
|
|
67
|
-
* Lead bank account.
|
|
68
|
+
* Lead bank account, will be treated as a reference to payout customer claims.
|
|
68
69
|
* @type {LeadBankAccountClass}
|
|
69
70
|
* @memberof LeadClass
|
|
70
71
|
*/
|
|
@@ -111,4 +112,10 @@ export interface LeadClass {
|
|
|
111
112
|
* @memberof LeadClass
|
|
112
113
|
*/
|
|
113
114
|
'quote': SharedInvoiceClass;
|
|
115
|
+
/**
|
|
116
|
+
* Payment method. When a payment method is provided, it needs to be handled in the workflow based on its type.
|
|
117
|
+
* @type {CreatePaymentMethodRequestDto}
|
|
118
|
+
* @memberof LeadClass
|
|
119
|
+
*/
|
|
120
|
+
'paymentMethod': CreatePaymentMethodRequestDto;
|
|
114
121
|
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { CreateAccountRequestDto } from './create-account-request-dto';
|
|
13
13
|
import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
|
|
14
|
+
import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
|
|
14
15
|
import { CreatePolicyRequestDto } from './create-policy-request-dto';
|
|
15
16
|
import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
16
17
|
import { UploadedDocumentDto } from './uploaded-document-dto';
|
|
@@ -74,4 +75,10 @@ export interface PatchLeadRequestDto {
|
|
|
74
75
|
* @memberof PatchLeadRequestDto
|
|
75
76
|
*/
|
|
76
77
|
'accountCode'?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Payment method
|
|
80
|
+
* @type {CreatePaymentMethodRequestDto}
|
|
81
|
+
* @memberof PatchLeadRequestDto
|
|
82
|
+
*/
|
|
83
|
+
'paymentMethod'?: CreatePaymentMethodRequestDto;
|
|
77
84
|
}
|
|
@@ -41,6 +41,12 @@ export interface ProductClass {
|
|
|
41
41
|
* @memberof ProductClass
|
|
42
42
|
*/
|
|
43
43
|
'slug': string;
|
|
44
|
+
/**
|
|
45
|
+
* Default language of the product.
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof ProductClass
|
|
48
|
+
*/
|
|
49
|
+
'defaultLanguage': string;
|
|
44
50
|
/**
|
|
45
51
|
* Insured object types covered under product.
|
|
46
52
|
* @type {Array<InsuredObjectTypeClass>}
|
|
@@ -0,0 +1,30 @@
|
|
|
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 SepaDto
|
|
16
|
+
*/
|
|
17
|
+
export interface SepaDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SepaDto
|
|
22
|
+
*/
|
|
23
|
+
'iban': string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SepaDto
|
|
28
|
+
*/
|
|
29
|
+
'holderName'?: string;
|
|
30
|
+
}
|
|
@@ -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 });
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { CreateAccountRequestDto } from './create-account-request-dto';
|
|
13
13
|
import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
|
|
14
|
+
import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
|
|
14
15
|
import { CreatePolicyRequestDto } from './create-policy-request-dto';
|
|
15
16
|
import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
16
17
|
import { UploadedDocumentDto } from './uploaded-document-dto';
|
|
@@ -44,6 +45,12 @@ export interface UpdateLeadRequestDto {
|
|
|
44
45
|
* @memberof UpdateLeadRequestDto
|
|
45
46
|
*/
|
|
46
47
|
'premiumOverride'?: Array<PremiumOverrideRequestDto>;
|
|
48
|
+
/**
|
|
49
|
+
* Payment method
|
|
50
|
+
* @type {CreatePaymentMethodRequestDto}
|
|
51
|
+
* @memberof UpdateLeadRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'paymentMethod'?: CreatePaymentMethodRequestDto;
|
|
47
54
|
/**
|
|
48
55
|
*
|
|
49
56
|
* @type {CreateAccountRequestDto}
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
import { CreateAccountRequestDto } from './create-account-request-dto';
|
|
17
17
|
import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
|
|
18
|
+
import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
|
|
18
19
|
import { CreatePolicyRequestDto } from './create-policy-request-dto';
|
|
19
20
|
import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
20
21
|
import { UploadedDocumentDto } from './uploaded-document-dto';
|
|
@@ -85,5 +86,11 @@ export interface CreateLeadRequestDto {
|
|
|
85
86
|
* @memberof CreateLeadRequestDto
|
|
86
87
|
*/
|
|
87
88
|
'premiumOverride'?: PremiumOverrideRequestDto;
|
|
89
|
+
/**
|
|
90
|
+
* Payment method
|
|
91
|
+
* @type {CreatePaymentMethodRequestDto}
|
|
92
|
+
* @memberof CreateLeadRequestDto
|
|
93
|
+
*/
|
|
94
|
+
'paymentMethod'?: CreatePaymentMethodRequestDto;
|
|
88
95
|
}
|
|
89
96
|
|
|
@@ -0,0 +1,45 @@
|
|
|
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 { SepaDto } from './sepa-dto';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreatePaymentMethodRequestDto
|
|
22
|
+
*/
|
|
23
|
+
export interface CreatePaymentMethodRequestDto {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreatePaymentMethodRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'type': CreatePaymentMethodRequestDtoTypeEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {SepaDto}
|
|
33
|
+
* @memberof CreatePaymentMethodRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'sepa'?: SepaDto;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export const CreatePaymentMethodRequestDtoTypeEnum = {
|
|
39
|
+
Sepa: 'sepa',
|
|
40
|
+
Invoice: 'invoice'
|
|
41
|
+
} as const;
|
|
42
|
+
|
|
43
|
+
export type CreatePaymentMethodRequestDtoTypeEnum = typeof CreatePaymentMethodRequestDtoTypeEnum[keyof typeof CreatePaymentMethodRequestDtoTypeEnum];
|
|
44
|
+
|
|
45
|
+
|
|
@@ -44,6 +44,12 @@ export interface CreateProductRequestDto {
|
|
|
44
44
|
* @memberof CreateProductRequestDto
|
|
45
45
|
*/
|
|
46
46
|
'slug': string;
|
|
47
|
+
/**
|
|
48
|
+
* Default language of the product.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CreateProductRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'defaultLanguage': CreateProductRequestDtoDefaultLanguageEnum;
|
|
47
53
|
}
|
|
48
54
|
|
|
49
55
|
export const CreateProductRequestDtoInsuredObjectTypesEnum = {
|
|
@@ -62,5 +68,28 @@ export const CreateProductRequestDtoInsuredObjectTypesEnum = {
|
|
|
62
68
|
} as const;
|
|
63
69
|
|
|
64
70
|
export type CreateProductRequestDtoInsuredObjectTypesEnum = typeof CreateProductRequestDtoInsuredObjectTypesEnum[keyof typeof CreateProductRequestDtoInsuredObjectTypesEnum];
|
|
71
|
+
export const CreateProductRequestDtoDefaultLanguageEnum = {
|
|
72
|
+
German: 'German',
|
|
73
|
+
English: 'English',
|
|
74
|
+
Polish: 'Polish',
|
|
75
|
+
French: 'French',
|
|
76
|
+
Italian: 'Italian',
|
|
77
|
+
Spanish: 'Spanish',
|
|
78
|
+
Portuguese: 'Portuguese',
|
|
79
|
+
Russian: 'Russian',
|
|
80
|
+
Japanese: 'Japanese',
|
|
81
|
+
Chinese: 'Chinese',
|
|
82
|
+
Korean: 'Korean',
|
|
83
|
+
Turkish: 'Turkish',
|
|
84
|
+
Arabic: 'Arabic',
|
|
85
|
+
Hindi: 'Hindi',
|
|
86
|
+
Indonesian: 'Indonesian',
|
|
87
|
+
Thai: 'Thai',
|
|
88
|
+
Vietnamese: 'Vietnamese',
|
|
89
|
+
Persian: 'Persian',
|
|
90
|
+
Ukrainian: 'Ukrainian'
|
|
91
|
+
} as const;
|
|
92
|
+
|
|
93
|
+
export type CreateProductRequestDtoDefaultLanguageEnum = typeof CreateProductRequestDtoDefaultLanguageEnum[keyof typeof CreateProductRequestDtoDefaultLanguageEnum];
|
|
65
94
|
|
|
66
95
|
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
import { CreateAccountRequestDto } from './create-account-request-dto';
|
|
17
17
|
import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
|
|
18
|
+
import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
|
|
18
19
|
import { CreatePolicyRequestDto } from './create-policy-request-dto';
|
|
19
20
|
import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
20
21
|
import { UploadedDocumentDto } from './uploaded-document-dto';
|
|
@@ -79,5 +80,11 @@ export interface GrpcPatchLeadRequestDto {
|
|
|
79
80
|
* @memberof GrpcPatchLeadRequestDto
|
|
80
81
|
*/
|
|
81
82
|
'accountCode'?: string;
|
|
83
|
+
/**
|
|
84
|
+
* Payment method
|
|
85
|
+
* @type {CreatePaymentMethodRequestDto}
|
|
86
|
+
* @memberof GrpcPatchLeadRequestDto
|
|
87
|
+
*/
|
|
88
|
+
'paymentMethod'?: CreatePaymentMethodRequestDto;
|
|
82
89
|
}
|
|
83
90
|
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
import { CreateAccountRequestDto } from './create-account-request-dto';
|
|
17
17
|
import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
|
|
18
|
+
import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
|
|
18
19
|
import { CreatePolicyRequestDto } from './create-policy-request-dto';
|
|
19
20
|
import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
20
21
|
import { UploadedDocumentDto } from './uploaded-document-dto';
|
|
@@ -49,6 +50,12 @@ export interface GrpcUpdateLeadRequestDto {
|
|
|
49
50
|
* @memberof GrpcUpdateLeadRequestDto
|
|
50
51
|
*/
|
|
51
52
|
'premiumOverride'?: Array<PremiumOverrideRequestDto>;
|
|
53
|
+
/**
|
|
54
|
+
* Payment method
|
|
55
|
+
* @type {CreatePaymentMethodRequestDto}
|
|
56
|
+
* @memberof GrpcUpdateLeadRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'paymentMethod'?: CreatePaymentMethodRequestDto;
|
|
52
59
|
/**
|
|
53
60
|
*
|
|
54
61
|
* @type {string}
|
package/models/index.ts
CHANGED
|
@@ -11,6 +11,7 @@ export * from './create-lead-request-dto';
|
|
|
11
11
|
export * from './create-lead-response-class';
|
|
12
12
|
export * from './create-lead-status-request-dto';
|
|
13
13
|
export * from './create-lead-status-response-class';
|
|
14
|
+
export * from './create-payment-method-request-dto';
|
|
14
15
|
export * from './create-policy-request-dto';
|
|
15
16
|
export * from './create-policy-response-class';
|
|
16
17
|
export * from './create-premium-formula-request-dto';
|
|
@@ -82,6 +83,7 @@ export * from './product-factor-value-class';
|
|
|
82
83
|
export * from './product-field-class';
|
|
83
84
|
export * from './product-field-type-class';
|
|
84
85
|
export * from './product-version-class';
|
|
86
|
+
export * from './sepa-dto';
|
|
85
87
|
export * from './shared-invoice-class';
|
|
86
88
|
export * from './shared-product-field-class';
|
|
87
89
|
export * from './shared-update-premium-formula-request-dto';
|
package/models/lead-class.ts
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
import { CreateAccountRequestDto } from './create-account-request-dto';
|
|
17
|
+
import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
|
|
17
18
|
import { CreatePolicyRequestDto } from './create-policy-request-dto';
|
|
18
19
|
import { LeadBankAccountClass } from './lead-bank-account-class';
|
|
19
20
|
import { PremiumOverrideRequestClass } from './premium-override-request-class';
|
|
@@ -69,7 +70,7 @@ export interface LeadClass {
|
|
|
69
70
|
*/
|
|
70
71
|
'policy': CreatePolicyRequestDto;
|
|
71
72
|
/**
|
|
72
|
-
* Lead bank account.
|
|
73
|
+
* Lead bank account, will be treated as a reference to payout customer claims.
|
|
73
74
|
* @type {LeadBankAccountClass}
|
|
74
75
|
* @memberof LeadClass
|
|
75
76
|
*/
|
|
@@ -116,5 +117,11 @@ export interface LeadClass {
|
|
|
116
117
|
* @memberof LeadClass
|
|
117
118
|
*/
|
|
118
119
|
'quote': SharedInvoiceClass;
|
|
120
|
+
/**
|
|
121
|
+
* Payment method. When a payment method is provided, it needs to be handled in the workflow based on its type.
|
|
122
|
+
* @type {CreatePaymentMethodRequestDto}
|
|
123
|
+
* @memberof LeadClass
|
|
124
|
+
*/
|
|
125
|
+
'paymentMethod': CreatePaymentMethodRequestDto;
|
|
119
126
|
}
|
|
120
127
|
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
import { CreateAccountRequestDto } from './create-account-request-dto';
|
|
17
17
|
import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
|
|
18
|
+
import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
|
|
18
19
|
import { CreatePolicyRequestDto } from './create-policy-request-dto';
|
|
19
20
|
import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
20
21
|
import { UploadedDocumentDto } from './uploaded-document-dto';
|
|
@@ -79,5 +80,11 @@ export interface PatchLeadRequestDto {
|
|
|
79
80
|
* @memberof PatchLeadRequestDto
|
|
80
81
|
*/
|
|
81
82
|
'accountCode'?: string;
|
|
83
|
+
/**
|
|
84
|
+
* Payment method
|
|
85
|
+
* @type {CreatePaymentMethodRequestDto}
|
|
86
|
+
* @memberof PatchLeadRequestDto
|
|
87
|
+
*/
|
|
88
|
+
'paymentMethod'?: CreatePaymentMethodRequestDto;
|
|
82
89
|
}
|
|
83
90
|
|
package/models/product-class.ts
CHANGED
|
@@ -46,6 +46,12 @@ export interface ProductClass {
|
|
|
46
46
|
* @memberof ProductClass
|
|
47
47
|
*/
|
|
48
48
|
'slug': string;
|
|
49
|
+
/**
|
|
50
|
+
* Default language of the product.
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof ProductClass
|
|
53
|
+
*/
|
|
54
|
+
'defaultLanguage': string;
|
|
49
55
|
/**
|
|
50
56
|
* Insured object types covered under product.
|
|
51
57
|
* @type {Array<InsuredObjectTypeClass>}
|
|
@@ -0,0 +1,36 @@
|
|
|
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 SepaDto
|
|
21
|
+
*/
|
|
22
|
+
export interface SepaDto {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof SepaDto
|
|
27
|
+
*/
|
|
28
|
+
'iban': string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof SepaDto
|
|
33
|
+
*/
|
|
34
|
+
'holderName'?: string;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
import { CreateAccountRequestDto } from './create-account-request-dto';
|
|
17
17
|
import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
|
|
18
|
+
import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
|
|
18
19
|
import { CreatePolicyRequestDto } from './create-policy-request-dto';
|
|
19
20
|
import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
20
21
|
import { UploadedDocumentDto } from './uploaded-document-dto';
|
|
@@ -49,6 +50,12 @@ export interface UpdateLeadRequestDto {
|
|
|
49
50
|
* @memberof UpdateLeadRequestDto
|
|
50
51
|
*/
|
|
51
52
|
'premiumOverride'?: Array<PremiumOverrideRequestDto>;
|
|
53
|
+
/**
|
|
54
|
+
* Payment method
|
|
55
|
+
* @type {CreatePaymentMethodRequestDto}
|
|
56
|
+
* @memberof UpdateLeadRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'paymentMethod'?: CreatePaymentMethodRequestDto;
|
|
52
59
|
/**
|
|
53
60
|
*
|
|
54
61
|
* @type {CreateAccountRequestDto}
|