@emilgroup/customer-sdk-node 1.13.0 → 1.14.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 +16 -0
- package/README.md +2 -2
- package/api/leads-api.ts +632 -0
- package/api.ts +2 -0
- package/base.ts +1 -1
- package/dist/api/leads-api.d.ts +365 -0
- package/dist/api/leads-api.js +571 -0
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/base.js +1 -1
- package/dist/models/create-account-request-dto.d.ts +7 -1
- package/dist/models/create-bank-account-request-dto.d.ts +30 -0
- package/dist/models/create-bank-account-request-dto.js +15 -0
- package/dist/models/create-lead-request-dto.d.ts +76 -0
- package/dist/models/create-lead-request-dto.js +15 -0
- package/dist/models/create-lead-response-class.d.ts +25 -0
- package/dist/models/create-lead-response-class.js +15 -0
- package/dist/models/create-policy-request-dto.d.ts +56 -0
- package/dist/models/create-policy-request-dto.js +15 -0
- package/dist/models/get-lead-response-class.d.ts +25 -0
- package/dist/models/get-lead-response-class.js +15 -0
- package/dist/models/index.d.ts +15 -0
- package/dist/models/index.js +15 -0
- package/dist/models/lead-bank-account-class.d.ts +30 -0
- package/dist/models/lead-bank-account-class.js +15 -0
- package/dist/models/lead-class.d.ts +101 -0
- package/dist/models/lead-class.js +15 -0
- package/dist/models/list-leads-response-class.d.ts +31 -0
- package/dist/models/list-leads-response-class.js +15 -0
- package/dist/models/policy-object-dto.d.ts +30 -0
- package/dist/models/policy-object-dto.js +15 -0
- package/dist/models/premium-override-dto.d.ts +54 -0
- package/dist/models/premium-override-dto.js +26 -0
- package/dist/models/premium-override-request-class.d.ts +25 -0
- package/dist/models/premium-override-request-class.js +15 -0
- package/dist/models/premium-override-request-dto.d.ts +25 -0
- package/dist/models/premium-override-request-dto.js +15 -0
- package/dist/models/update-lead-request-dto.d.ts +37 -0
- package/dist/models/update-lead-request-dto.js +15 -0
- package/dist/models/update-lead-response-class.d.ts +25 -0
- package/dist/models/update-lead-response-class.js +15 -0
- package/dist/models/uploaded-document-dto.d.ts +24 -0
- package/dist/models/uploaded-document-dto.js +15 -0
- package/models/create-account-request-dto.ts +7 -1
- package/models/create-bank-account-request-dto.ts +36 -0
- package/models/create-lead-request-dto.ts +82 -0
- package/models/create-lead-response-class.ts +31 -0
- package/models/create-policy-request-dto.ts +62 -0
- package/models/get-lead-response-class.ts +31 -0
- package/models/index.ts +15 -0
- package/models/lead-bank-account-class.ts +36 -0
- package/models/lead-class.ts +107 -0
- package/models/list-leads-response-class.ts +37 -0
- package/models/policy-object-dto.ts +36 -0
- package/models/premium-override-dto.ts +64 -0
- package/models/premium-override-request-class.ts +31 -0
- package/models/premium-override-request-dto.ts +31 -0
- package/models/update-lead-request-dto.ts +43 -0
- package/models/update-lead-response-class.ts +31 -0
- package/models/uploaded-document-dto.ts +30 -0
- package/package.json +1 -1
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL CustomerService
|
|
3
|
+
* The EMIL CustomerService 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 PremiumOverrideDto
|
|
16
|
+
*/
|
|
17
|
+
export interface PremiumOverrideDto {
|
|
18
|
+
/**
|
|
19
|
+
* Name of Premium.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PremiumOverrideDto
|
|
22
|
+
*/
|
|
23
|
+
'name': string;
|
|
24
|
+
/**
|
|
25
|
+
* Type of Premium that is based on time.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PremiumOverrideDto
|
|
28
|
+
*/
|
|
29
|
+
'type': PremiumOverrideDtoTypeEnum;
|
|
30
|
+
/**
|
|
31
|
+
* This is unit of Premium. Premium units are determined based on oneTimePayment, day, week, month and year.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PremiumOverrideDto
|
|
34
|
+
*/
|
|
35
|
+
'unit': PremiumOverrideDtoUnitEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof PremiumOverrideDto
|
|
40
|
+
*/
|
|
41
|
+
'netPremium': number;
|
|
42
|
+
}
|
|
43
|
+
export declare const PremiumOverrideDtoTypeEnum: {
|
|
44
|
+
readonly Time: "time";
|
|
45
|
+
};
|
|
46
|
+
export type PremiumOverrideDtoTypeEnum = typeof PremiumOverrideDtoTypeEnum[keyof typeof PremiumOverrideDtoTypeEnum];
|
|
47
|
+
export declare const PremiumOverrideDtoUnitEnum: {
|
|
48
|
+
readonly Day: "day";
|
|
49
|
+
readonly Week: "week";
|
|
50
|
+
readonly Month: "month";
|
|
51
|
+
readonly Year: "year";
|
|
52
|
+
readonly OneTimePayment: "oneTimePayment";
|
|
53
|
+
};
|
|
54
|
+
export type PremiumOverrideDtoUnitEnum = typeof PremiumOverrideDtoUnitEnum[keyof typeof PremiumOverrideDtoUnitEnum];
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL CustomerService
|
|
6
|
+
* The EMIL CustomerService 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.PremiumOverrideDtoUnitEnum = exports.PremiumOverrideDtoTypeEnum = void 0;
|
|
17
|
+
exports.PremiumOverrideDtoTypeEnum = {
|
|
18
|
+
Time: 'time'
|
|
19
|
+
};
|
|
20
|
+
exports.PremiumOverrideDtoUnitEnum = {
|
|
21
|
+
Day: 'day',
|
|
22
|
+
Week: 'week',
|
|
23
|
+
Month: 'month',
|
|
24
|
+
Year: 'year',
|
|
25
|
+
OneTimePayment: 'oneTimePayment'
|
|
26
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL CustomerService
|
|
3
|
+
* The EMIL CustomerService 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 { PremiumOverrideDto } from './premium-override-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PremiumOverrideRequestClass
|
|
17
|
+
*/
|
|
18
|
+
export interface PremiumOverrideRequestClass {
|
|
19
|
+
/**
|
|
20
|
+
* Various premium overrides used for calculation.
|
|
21
|
+
* @type {Array<PremiumOverrideDto>}
|
|
22
|
+
* @memberof PremiumOverrideRequestClass
|
|
23
|
+
*/
|
|
24
|
+
'premiumOverrides': Array<PremiumOverrideDto>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL CustomerService
|
|
6
|
+
* The EMIL CustomerService 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,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL CustomerService
|
|
3
|
+
* The EMIL CustomerService 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 { PremiumOverrideDto } from './premium-override-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PremiumOverrideRequestDto
|
|
17
|
+
*/
|
|
18
|
+
export interface PremiumOverrideRequestDto {
|
|
19
|
+
/**
|
|
20
|
+
* Premium Override.
|
|
21
|
+
* @type {Array<PremiumOverrideDto>}
|
|
22
|
+
* @memberof PremiumOverrideRequestDto
|
|
23
|
+
*/
|
|
24
|
+
'premiumOverrides': Array<PremiumOverrideDto>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL CustomerService
|
|
6
|
+
* The EMIL CustomerService 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
|
+
/**
|
|
2
|
+
* EMIL CustomerService
|
|
3
|
+
* The EMIL CustomerService 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 { PolicyObjectDto } from './policy-object-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UpdateLeadRequestDto
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateLeadRequestDto {
|
|
19
|
+
/**
|
|
20
|
+
* Policy objects.
|
|
21
|
+
* @type {Array<PolicyObjectDto>}
|
|
22
|
+
* @memberof UpdateLeadRequestDto
|
|
23
|
+
*/
|
|
24
|
+
'policyObjects': Array<PolicyObjectDto>;
|
|
25
|
+
/**
|
|
26
|
+
* Unique identifier of the product that this object belongs to.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof UpdateLeadRequestDto
|
|
29
|
+
*/
|
|
30
|
+
'productCode': string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof UpdateLeadRequestDto
|
|
35
|
+
*/
|
|
36
|
+
'code': string;
|
|
37
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL CustomerService
|
|
6
|
+
* The EMIL CustomerService 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,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL CustomerService
|
|
3
|
+
* The EMIL CustomerService 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 { LeadClass } from './lead-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UpdateLeadResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateLeadResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The list of leads.
|
|
21
|
+
* @type {LeadClass}
|
|
22
|
+
* @memberof UpdateLeadResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'lead': LeadClass;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL CustomerService
|
|
6
|
+
* The EMIL CustomerService 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,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL CustomerService
|
|
3
|
+
* The EMIL CustomerService 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 UploadedDocumentDto
|
|
16
|
+
*/
|
|
17
|
+
export interface UploadedDocumentDto {
|
|
18
|
+
/**
|
|
19
|
+
* Uploaded document codes.
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof UploadedDocumentDto
|
|
22
|
+
*/
|
|
23
|
+
'codes': Array<string>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL CustomerService
|
|
6
|
+
* The EMIL CustomerService 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 });
|
|
@@ -75,7 +75,7 @@ export interface CreateAccountRequestDto {
|
|
|
75
75
|
*/
|
|
76
76
|
'type'?: CreateAccountRequestDtoTypeEnum;
|
|
77
77
|
/**
|
|
78
|
-
*
|
|
78
|
+
* The account\'s holder date of birth (Required for account of type person).
|
|
79
79
|
* @type {string}
|
|
80
80
|
* @memberof CreateAccountRequestDto
|
|
81
81
|
*/
|
|
@@ -110,6 +110,12 @@ export interface CreateAccountRequestDto {
|
|
|
110
110
|
* @memberof CreateAccountRequestDto
|
|
111
111
|
*/
|
|
112
112
|
'customFields'?: object;
|
|
113
|
+
/**
|
|
114
|
+
* Customer email.
|
|
115
|
+
* @type {string}
|
|
116
|
+
* @memberof CreateAccountRequestDto
|
|
117
|
+
*/
|
|
118
|
+
'email': string;
|
|
113
119
|
}
|
|
114
120
|
|
|
115
121
|
export const CreateAccountRequestDtoTitleEnum = {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CustomerService
|
|
5
|
+
* The EMIL CustomerService 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 CreateBankAccountRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateBankAccountRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Unique identifier of the account that this object belongs to.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateBankAccountRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'accountCode'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Bank account IBAN.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateBankAccountRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'iban': string;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CustomerService
|
|
5
|
+
* The EMIL CustomerService 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 { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
|
|
17
|
+
import { PolicyObjectDto } from './policy-object-dto';
|
|
18
|
+
import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
19
|
+
import { UploadedDocumentDto } from './uploaded-document-dto';
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @export
|
|
24
|
+
* @interface CreateLeadRequestDto
|
|
25
|
+
*/
|
|
26
|
+
export interface CreateLeadRequestDto {
|
|
27
|
+
/**
|
|
28
|
+
* Unique identifier for the object.
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof CreateLeadRequestDto
|
|
31
|
+
*/
|
|
32
|
+
'code'?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Unique identifier referencing the product version.
|
|
35
|
+
* @type {number}
|
|
36
|
+
* @memberof CreateLeadRequestDto
|
|
37
|
+
*/
|
|
38
|
+
'productVersionId': number;
|
|
39
|
+
/**
|
|
40
|
+
* Policy objects.
|
|
41
|
+
* @type {Array<PolicyObjectDto>}
|
|
42
|
+
* @memberof CreateLeadRequestDto
|
|
43
|
+
*/
|
|
44
|
+
'policyObjects': Array<PolicyObjectDto>;
|
|
45
|
+
/**
|
|
46
|
+
* Unique identifier of the product that this object belongs to.
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof CreateLeadRequestDto
|
|
49
|
+
*/
|
|
50
|
+
'productCode': string;
|
|
51
|
+
/**
|
|
52
|
+
* Bank account details.
|
|
53
|
+
* @type {CreateBankAccountRequestDto}
|
|
54
|
+
* @memberof CreateLeadRequestDto
|
|
55
|
+
*/
|
|
56
|
+
'bankAccount'?: CreateBankAccountRequestDto;
|
|
57
|
+
/**
|
|
58
|
+
* Custom data.
|
|
59
|
+
* @type {object}
|
|
60
|
+
* @memberof CreateLeadRequestDto
|
|
61
|
+
*/
|
|
62
|
+
'customData'?: object;
|
|
63
|
+
/**
|
|
64
|
+
* Codes for documents to be uploaded.
|
|
65
|
+
* @type {UploadedDocumentDto}
|
|
66
|
+
* @memberof CreateLeadRequestDto
|
|
67
|
+
*/
|
|
68
|
+
'uploadedDocument'?: UploadedDocumentDto;
|
|
69
|
+
/**
|
|
70
|
+
* Lead status
|
|
71
|
+
* @type {string}
|
|
72
|
+
* @memberof CreateLeadRequestDto
|
|
73
|
+
*/
|
|
74
|
+
'status'?: string;
|
|
75
|
+
/**
|
|
76
|
+
* Premium Override
|
|
77
|
+
* @type {PremiumOverrideRequestDto}
|
|
78
|
+
* @memberof CreateLeadRequestDto
|
|
79
|
+
*/
|
|
80
|
+
'premiumOverride'?: PremiumOverrideRequestDto;
|
|
81
|
+
}
|
|
82
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CustomerService
|
|
5
|
+
* The EMIL CustomerService 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 { LeadClass } from './lead-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateLeadResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateLeadResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Lead
|
|
26
|
+
* @type {LeadClass}
|
|
27
|
+
* @memberof CreateLeadResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'lead': LeadClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CustomerService
|
|
5
|
+
* The EMIL CustomerService 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 { PolicyObjectDto } from './policy-object-dto';
|
|
17
|
+
import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface CreatePolicyRequestDto
|
|
23
|
+
*/
|
|
24
|
+
export interface CreatePolicyRequestDto {
|
|
25
|
+
/**
|
|
26
|
+
* Unique identifier referencing the Product version.
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof CreatePolicyRequestDto
|
|
29
|
+
*/
|
|
30
|
+
'productVersionId': number;
|
|
31
|
+
/**
|
|
32
|
+
* Unique identifier of the account code that this object belongs to.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof CreatePolicyRequestDto
|
|
35
|
+
*/
|
|
36
|
+
'accountCode': string;
|
|
37
|
+
/**
|
|
38
|
+
* Policy holder name.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof CreatePolicyRequestDto
|
|
41
|
+
*/
|
|
42
|
+
'holder'?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Policy Objects.
|
|
45
|
+
* @type {Array<PolicyObjectDto>}
|
|
46
|
+
* @memberof CreatePolicyRequestDto
|
|
47
|
+
*/
|
|
48
|
+
'policyObjects': Array<PolicyObjectDto>;
|
|
49
|
+
/**
|
|
50
|
+
* Premium Override.
|
|
51
|
+
* @type {PremiumOverrideRequestDto}
|
|
52
|
+
* @memberof CreatePolicyRequestDto
|
|
53
|
+
*/
|
|
54
|
+
'premiumOverride'?: PremiumOverrideRequestDto;
|
|
55
|
+
/**
|
|
56
|
+
* Unique identifier of the lead that this object belongs to.
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof CreatePolicyRequestDto
|
|
59
|
+
*/
|
|
60
|
+
'leadCode'?: string;
|
|
61
|
+
}
|
|
62
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CustomerService
|
|
5
|
+
* The EMIL CustomerService 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 { LeadClass } from './lead-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetLeadResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetLeadResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Lead
|
|
26
|
+
* @type {LeadClass}
|
|
27
|
+
* @memberof GetLeadResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'lead': LeadClass;
|
|
30
|
+
}
|
|
31
|
+
|
package/models/index.ts
CHANGED
|
@@ -7,10 +7,14 @@ export * from './complete-payment-setup-psp-request';
|
|
|
7
7
|
export * from './complete-payment-setup-response-class';
|
|
8
8
|
export * from './complete-stripe-payment-setup-request-dto';
|
|
9
9
|
export * from './create-account-request-dto';
|
|
10
|
+
export * from './create-bank-account-request-dto';
|
|
10
11
|
export * from './create-customer-claim-request-dto';
|
|
11
12
|
export * from './create-customer-claim-response-class';
|
|
12
13
|
export * from './create-customer-request-dto';
|
|
13
14
|
export * from './create-customer-response-class';
|
|
15
|
+
export * from './create-lead-request-dto';
|
|
16
|
+
export * from './create-lead-response-class';
|
|
17
|
+
export * from './create-policy-request-dto';
|
|
14
18
|
export * from './create-presigned-post-response-class';
|
|
15
19
|
export * from './currency-class';
|
|
16
20
|
export * from './customer-class';
|
|
@@ -20,6 +24,7 @@ export * from './forgot-password-request-dto';
|
|
|
20
24
|
export * from './get-customer-claim-response-class';
|
|
21
25
|
export * from './get-customer-document-download-url-response-class';
|
|
22
26
|
export * from './get-customer-response-class';
|
|
27
|
+
export * from './get-lead-response-class';
|
|
23
28
|
export * from './get-policy-response-class';
|
|
24
29
|
export * from './get-product-response-class';
|
|
25
30
|
export * from './initiate-auth-request-dto';
|
|
@@ -33,16 +38,23 @@ export * from './invite-by-tenant-request-dto';
|
|
|
33
38
|
export * from './invite-by-tenant-response-class';
|
|
34
39
|
export * from './invite-class';
|
|
35
40
|
export * from './invoice-class';
|
|
41
|
+
export * from './lead-bank-account-class';
|
|
42
|
+
export * from './lead-class';
|
|
36
43
|
export * from './list-customer-claims-response-class';
|
|
37
44
|
export * from './list-documents-response-class';
|
|
38
45
|
export * from './list-invoices-response-class';
|
|
46
|
+
export * from './list-leads-response-class';
|
|
39
47
|
export * from './list-policies-response-class';
|
|
40
48
|
export * from './list-products-response-class';
|
|
41
49
|
export * from './policy-class';
|
|
42
50
|
export * from './policy-object-class';
|
|
51
|
+
export * from './policy-object-dto';
|
|
43
52
|
export * from './policy-premium-class';
|
|
44
53
|
export * from './policy-premium-item-class';
|
|
45
54
|
export * from './policy-version-class';
|
|
55
|
+
export * from './premium-override-dto';
|
|
56
|
+
export * from './premium-override-request-class';
|
|
57
|
+
export * from './premium-override-request-dto';
|
|
46
58
|
export * from './refresh-token-dto';
|
|
47
59
|
export * from './request-policy-update-request-dto';
|
|
48
60
|
export * from './request-policy-update-response-class';
|
|
@@ -59,7 +71,10 @@ export * from './update-customer-claim-request-dto';
|
|
|
59
71
|
export * from './update-customer-claim-response-class';
|
|
60
72
|
export * from './update-customer-request-dto';
|
|
61
73
|
export * from './update-customer-response-class';
|
|
74
|
+
export * from './update-lead-request-dto';
|
|
75
|
+
export * from './update-lead-response-class';
|
|
62
76
|
export * from './upload-customer-claim-documents-request-dto';
|
|
63
77
|
export * from './upload-customer-policy-documents-request-dto';
|
|
78
|
+
export * from './uploaded-document-dto';
|
|
64
79
|
export * from './verify-customer-invite-response-class';
|
|
65
80
|
export * from './withdraw-customer-policy-response-class';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CustomerService
|
|
5
|
+
* The EMIL CustomerService 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 LeadBankAccountClass
|
|
21
|
+
*/
|
|
22
|
+
export interface LeadBankAccountClass {
|
|
23
|
+
/**
|
|
24
|
+
* Account code place-holder.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof LeadBankAccountClass
|
|
27
|
+
*/
|
|
28
|
+
'accountCode': string;
|
|
29
|
+
/**
|
|
30
|
+
* Bank account IBAN.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof LeadBankAccountClass
|
|
33
|
+
*/
|
|
34
|
+
'iban': string;
|
|
35
|
+
}
|
|
36
|
+
|