@emilgroup/public-api-sdk 1.6.0 → 1.8.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 +9 -0
- package/README.md +2 -2
- package/api/address-completions-validations-api.ts +348 -0
- package/api/documents-api.ts +189 -14
- package/api.ts +2 -0
- package/dist/api/address-completions-validations-api.d.ts +197 -0
- package/dist/api/address-completions-validations-api.js +357 -0
- package/dist/api/documents-api.d.ts +111 -10
- package/dist/api/documents-api.js +131 -8
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/models/address-completion-item-class.d.ts +49 -0
- package/dist/models/address-completion-item-class.js +15 -0
- package/dist/models/address-completion-response-class.d.ts +25 -0
- package/dist/models/address-completion-response-class.js +15 -0
- package/dist/models/address-field-score-class.d.ts +48 -0
- package/dist/models/address-field-score-class.js +15 -0
- package/dist/models/create-lead-request-dto.d.ts +12 -12
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/dist/models/insured-object-class.d.ts +7 -7
- package/dist/models/lead-class.d.ts +6 -0
- package/dist/models/list-product-documents-response-class.d.ts +31 -0
- package/dist/models/list-product-documents-response-class.js +15 -0
- package/dist/models/product-document-class.d.ts +91 -0
- package/dist/models/product-document-class.js +28 -0
- package/dist/models/structured-address-class.d.ts +54 -0
- package/dist/models/structured-address-class.js +15 -0
- package/dist/models/suggested-address-details-class.d.ts +90 -0
- package/dist/models/suggested-address-details-class.js +15 -0
- package/dist/models/validate-address-response-class.d.ts +50 -0
- package/dist/models/validate-address-response-class.js +15 -0
- package/models/address-completion-item-class.ts +55 -0
- package/models/address-completion-response-class.ts +31 -0
- package/models/address-field-score-class.ts +54 -0
- package/models/create-lead-request-dto.ts +12 -12
- package/models/index.ts +8 -0
- package/models/insured-object-class.ts +7 -7
- package/models/lead-class.ts +6 -0
- package/models/list-product-documents-response-class.ts +37 -0
- package/models/product-document-class.ts +100 -0
- package/models/structured-address-class.ts +60 -0
- package/models/suggested-address-details-class.ts +96 -0
- package/models/validate-address-response-class.ts +56 -0
- package/package.json +1 -1
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil PublicAPI
|
|
3
|
+
* The Emil Public 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 ProductDocumentClass
|
|
16
|
+
*/
|
|
17
|
+
export interface ProductDocumentClass {
|
|
18
|
+
/**
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ProductDocumentClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier for the object.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ProductDocumentClass
|
|
28
|
+
*/
|
|
29
|
+
'code': string;
|
|
30
|
+
/**
|
|
31
|
+
* Unique identifier for the object.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ProductDocumentClass
|
|
34
|
+
*/
|
|
35
|
+
'productCode': string;
|
|
36
|
+
/**
|
|
37
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ProductDocumentClass
|
|
40
|
+
*/
|
|
41
|
+
'productVersionId': number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ProductDocumentClass
|
|
46
|
+
*/
|
|
47
|
+
'type': string;
|
|
48
|
+
/**
|
|
49
|
+
* Description of the document. Usually a short summary about the context in which the document is being used.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ProductDocumentClass
|
|
52
|
+
*/
|
|
53
|
+
'description': string;
|
|
54
|
+
/**
|
|
55
|
+
* The unique key used by Amazon Simple Storage Service (S3).
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof ProductDocumentClass
|
|
58
|
+
*/
|
|
59
|
+
's3Key': string;
|
|
60
|
+
/**
|
|
61
|
+
* Type of the document expressed with its file extension.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof ProductDocumentClass
|
|
64
|
+
*/
|
|
65
|
+
'contentType': ProductDocumentClassContentTypeEnum;
|
|
66
|
+
/**
|
|
67
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof ProductDocumentClass
|
|
70
|
+
*/
|
|
71
|
+
'productSlug': string;
|
|
72
|
+
/**
|
|
73
|
+
* Time at which the object was created.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof ProductDocumentClass
|
|
76
|
+
*/
|
|
77
|
+
'createdAt': string;
|
|
78
|
+
}
|
|
79
|
+
export declare const ProductDocumentClassContentTypeEnum: {
|
|
80
|
+
readonly Pdf: "pdf";
|
|
81
|
+
readonly Jpg: "jpg";
|
|
82
|
+
readonly Png: "png";
|
|
83
|
+
readonly Gz: "gz";
|
|
84
|
+
readonly Csv: "csv";
|
|
85
|
+
readonly Doc: "doc";
|
|
86
|
+
readonly Docx: "docx";
|
|
87
|
+
readonly Html: "html";
|
|
88
|
+
readonly Json: "json";
|
|
89
|
+
readonly Xml: "xml";
|
|
90
|
+
};
|
|
91
|
+
export type ProductDocumentClassContentTypeEnum = typeof ProductDocumentClassContentTypeEnum[keyof typeof ProductDocumentClassContentTypeEnum];
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil PublicAPI
|
|
6
|
+
* The Emil Public 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.ProductDocumentClassContentTypeEnum = void 0;
|
|
17
|
+
exports.ProductDocumentClassContentTypeEnum = {
|
|
18
|
+
Pdf: 'pdf',
|
|
19
|
+
Jpg: 'jpg',
|
|
20
|
+
Png: 'png',
|
|
21
|
+
Gz: 'gz',
|
|
22
|
+
Csv: 'csv',
|
|
23
|
+
Doc: 'doc',
|
|
24
|
+
Docx: 'docx',
|
|
25
|
+
Html: 'html',
|
|
26
|
+
Json: 'json',
|
|
27
|
+
Xml: 'xml'
|
|
28
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil PublicAPI
|
|
3
|
+
* The Emil Public 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 StructuredAddressClass
|
|
16
|
+
*/
|
|
17
|
+
export interface StructuredAddressClass {
|
|
18
|
+
/**
|
|
19
|
+
* City of the address.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof StructuredAddressClass
|
|
22
|
+
*/
|
|
23
|
+
'city': string;
|
|
24
|
+
/**
|
|
25
|
+
* List of broken down address components.
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof StructuredAddressClass
|
|
28
|
+
*/
|
|
29
|
+
'components': Array<string>;
|
|
30
|
+
/**
|
|
31
|
+
* Country of the address.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof StructuredAddressClass
|
|
34
|
+
*/
|
|
35
|
+
'country': string;
|
|
36
|
+
/**
|
|
37
|
+
* House number of the address.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof StructuredAddressClass
|
|
40
|
+
*/
|
|
41
|
+
'houseNumber': string;
|
|
42
|
+
/**
|
|
43
|
+
* Postal code of the address.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof StructuredAddressClass
|
|
46
|
+
*/
|
|
47
|
+
'postalCode': string;
|
|
48
|
+
/**
|
|
49
|
+
* Street of the address.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof StructuredAddressClass
|
|
52
|
+
*/
|
|
53
|
+
'street': string;
|
|
54
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil PublicAPI
|
|
6
|
+
* The Emil Public 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,90 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil PublicAPI
|
|
3
|
+
* The Emil Public 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 SuggestedAddressDetailsClass
|
|
16
|
+
*/
|
|
17
|
+
export interface SuggestedAddressDetailsClass {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SuggestedAddressDetailsClass
|
|
22
|
+
*/
|
|
23
|
+
'label': string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SuggestedAddressDetailsClass
|
|
28
|
+
*/
|
|
29
|
+
'countryCode': string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SuggestedAddressDetailsClass
|
|
34
|
+
*/
|
|
35
|
+
'countryName': string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SuggestedAddressDetailsClass
|
|
40
|
+
*/
|
|
41
|
+
'stateCode': string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SuggestedAddressDetailsClass
|
|
46
|
+
*/
|
|
47
|
+
'state': string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof SuggestedAddressDetailsClass
|
|
52
|
+
*/
|
|
53
|
+
'countyCode'?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof SuggestedAddressDetailsClass
|
|
58
|
+
*/
|
|
59
|
+
'county'?: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof SuggestedAddressDetailsClass
|
|
64
|
+
*/
|
|
65
|
+
'city': string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof SuggestedAddressDetailsClass
|
|
70
|
+
*/
|
|
71
|
+
'district': string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof SuggestedAddressDetailsClass
|
|
76
|
+
*/
|
|
77
|
+
'street': string;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof SuggestedAddressDetailsClass
|
|
82
|
+
*/
|
|
83
|
+
'postalCode': string;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof SuggestedAddressDetailsClass
|
|
88
|
+
*/
|
|
89
|
+
'houseNumber'?: string;
|
|
90
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil PublicAPI
|
|
6
|
+
* The Emil Public 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,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil PublicAPI
|
|
3
|
+
* The Emil Public 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 { AddressFieldScoreClass } from './address-field-score-class';
|
|
13
|
+
import { StructuredAddressClass } from './structured-address-class';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ValidateAddressResponseClass
|
|
18
|
+
*/
|
|
19
|
+
export interface ValidateAddressResponseClass {
|
|
20
|
+
/**
|
|
21
|
+
* The error object for address validation!
|
|
22
|
+
* @type {object}
|
|
23
|
+
* @memberof ValidateAddressResponseClass
|
|
24
|
+
*/
|
|
25
|
+
'errors': object;
|
|
26
|
+
/**
|
|
27
|
+
* Indicates whether the address is valid or not!
|
|
28
|
+
* @type {boolean}
|
|
29
|
+
* @memberof ValidateAddressResponseClass
|
|
30
|
+
*/
|
|
31
|
+
'isAddressValid': boolean;
|
|
32
|
+
/**
|
|
33
|
+
* The input address in a single line
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof ValidateAddressResponseClass
|
|
36
|
+
*/
|
|
37
|
+
'rawAddress': string;
|
|
38
|
+
/**
|
|
39
|
+
* Individual score for various parts of the address
|
|
40
|
+
* @type {AddressFieldScoreClass}
|
|
41
|
+
* @memberof ValidateAddressResponseClass
|
|
42
|
+
*/
|
|
43
|
+
'score': AddressFieldScoreClass;
|
|
44
|
+
/**
|
|
45
|
+
* The structured address object!
|
|
46
|
+
* @type {StructuredAddressClass}
|
|
47
|
+
* @memberof ValidateAddressResponseClass
|
|
48
|
+
*/
|
|
49
|
+
'structuredAddress': StructuredAddressClass;
|
|
50
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil PublicAPI
|
|
6
|
+
* The Emil Public API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil PublicAPI
|
|
5
|
+
* The Emil Public 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 { SuggestedAddressDetailsClass } from './suggested-address-details-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface AddressCompletionItemClass
|
|
22
|
+
*/
|
|
23
|
+
export interface AddressCompletionItemClass {
|
|
24
|
+
/**
|
|
25
|
+
* Detailed breakdown of the address suggestion
|
|
26
|
+
* @type {SuggestedAddressDetailsClass}
|
|
27
|
+
* @memberof AddressCompletionItemClass
|
|
28
|
+
*/
|
|
29
|
+
'addressDetails': SuggestedAddressDetailsClass;
|
|
30
|
+
/**
|
|
31
|
+
* The Suggestion ID
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AddressCompletionItemClass
|
|
34
|
+
*/
|
|
35
|
+
'id': string;
|
|
36
|
+
/**
|
|
37
|
+
* Language of the suggestion
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AddressCompletionItemClass
|
|
40
|
+
*/
|
|
41
|
+
'language': string;
|
|
42
|
+
/**
|
|
43
|
+
* Title of the suggestion, one liner address
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof AddressCompletionItemClass
|
|
46
|
+
*/
|
|
47
|
+
'title': string;
|
|
48
|
+
/**
|
|
49
|
+
* Indicates the granularity of the suggestion to a street or a house number
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof AddressCompletionItemClass
|
|
52
|
+
*/
|
|
53
|
+
'resultType'?: string;
|
|
54
|
+
}
|
|
55
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil PublicAPI
|
|
5
|
+
* The Emil Public 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 { AddressCompletionItemClass } from './address-completion-item-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface AddressCompletionResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface AddressCompletionResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* List of completion suggestions
|
|
26
|
+
* @type {AddressCompletionItemClass}
|
|
27
|
+
* @memberof AddressCompletionResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': AddressCompletionItemClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil PublicAPI
|
|
5
|
+
* The Emil Public 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 AddressFieldScoreClass
|
|
21
|
+
*/
|
|
22
|
+
export interface AddressFieldScoreClass {
|
|
23
|
+
/**
|
|
24
|
+
* Score for the city field
|
|
25
|
+
* @type {object}
|
|
26
|
+
* @memberof AddressFieldScoreClass
|
|
27
|
+
*/
|
|
28
|
+
'city'?: object;
|
|
29
|
+
/**
|
|
30
|
+
* Score for the city field
|
|
31
|
+
* @type {object}
|
|
32
|
+
* @memberof AddressFieldScoreClass
|
|
33
|
+
*/
|
|
34
|
+
'country'?: object;
|
|
35
|
+
/**
|
|
36
|
+
* Score for the city field
|
|
37
|
+
* @type {object}
|
|
38
|
+
* @memberof AddressFieldScoreClass
|
|
39
|
+
*/
|
|
40
|
+
'houseNumber'?: object;
|
|
41
|
+
/**
|
|
42
|
+
* Score for the city field
|
|
43
|
+
* @type {object}
|
|
44
|
+
* @memberof AddressFieldScoreClass
|
|
45
|
+
*/
|
|
46
|
+
'postalCode'?: object;
|
|
47
|
+
/**
|
|
48
|
+
* Score for the city field
|
|
49
|
+
* @type {object}
|
|
50
|
+
* @memberof AddressFieldScoreClass
|
|
51
|
+
*/
|
|
52
|
+
'street'?: object;
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -43,6 +43,18 @@ export interface CreateLeadRequestDto {
|
|
|
43
43
|
* @memberof CreateLeadRequestDto
|
|
44
44
|
*/
|
|
45
45
|
'productCode': string;
|
|
46
|
+
/**
|
|
47
|
+
* Account. The create lead request should either contain accountCode or account.
|
|
48
|
+
* @type {CreateAccountRequestDto}
|
|
49
|
+
* @memberof CreateLeadRequestDto
|
|
50
|
+
*/
|
|
51
|
+
'account'?: CreateAccountRequestDto;
|
|
52
|
+
/**
|
|
53
|
+
* Account code. The create lead request should either contain accountCode or account.
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof CreateLeadRequestDto
|
|
56
|
+
*/
|
|
57
|
+
'accountCode'?: string;
|
|
46
58
|
/**
|
|
47
59
|
*
|
|
48
60
|
* @type {Array<PolicyObjectRequestDto>}
|
|
@@ -79,17 +91,5 @@ export interface CreateLeadRequestDto {
|
|
|
79
91
|
* @memberof CreateLeadRequestDto
|
|
80
92
|
*/
|
|
81
93
|
'premiumOverride'?: PremiumOverrideRequestDto;
|
|
82
|
-
/**
|
|
83
|
-
*
|
|
84
|
-
* @type {CreateAccountRequestDto}
|
|
85
|
-
* @memberof CreateLeadRequestDto
|
|
86
|
-
*/
|
|
87
|
-
'account'?: CreateAccountRequestDto;
|
|
88
|
-
/**
|
|
89
|
-
*
|
|
90
|
-
* @type {string}
|
|
91
|
-
* @memberof CreateLeadRequestDto
|
|
92
|
-
*/
|
|
93
|
-
'accountCode': string;
|
|
94
94
|
}
|
|
95
95
|
|
package/models/index.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
export * from './address-completion-item-class';
|
|
2
|
+
export * from './address-completion-response-class';
|
|
3
|
+
export * from './address-field-score-class';
|
|
1
4
|
export * from './complete-braintree-payment-setup-request-dto';
|
|
2
5
|
export * from './complete-payment-setup-request-dto';
|
|
3
6
|
export * from './complete-payment-setup-response-class';
|
|
@@ -33,17 +36,22 @@ export * from './lead-class';
|
|
|
33
36
|
export * from './lead-policy-class';
|
|
34
37
|
export * from './lead-policy-object-class';
|
|
35
38
|
export * from './list-documents-response-class';
|
|
39
|
+
export * from './list-product-documents-response-class';
|
|
36
40
|
export * from './list-products-response-class';
|
|
37
41
|
export * from './payment-method-class';
|
|
38
42
|
export * from './policy-object-request-dto';
|
|
39
43
|
export * from './premium-override-dto';
|
|
40
44
|
export * from './premium-override-request-dto';
|
|
41
45
|
export * from './product-class';
|
|
46
|
+
export * from './product-document-class';
|
|
42
47
|
export * from './product-factor-class';
|
|
43
48
|
export * from './product-field-class';
|
|
44
49
|
export * from './product-version-class';
|
|
45
50
|
export * from './send-notification-request-dto';
|
|
46
51
|
export * from './send-notification-response-class';
|
|
52
|
+
export * from './structured-address-class';
|
|
53
|
+
export * from './suggested-address-details-class';
|
|
47
54
|
export * from './update-lead-request-dto';
|
|
48
55
|
export * from './update-lead-response-class';
|
|
49
56
|
export * from './uploaded-document-dto';
|
|
57
|
+
export * from './validate-address-response-class';
|
|
@@ -58,23 +58,23 @@ export interface InsuredObjectClass {
|
|
|
58
58
|
*/
|
|
59
59
|
'productFields': Array<ProductFieldClass>;
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {
|
|
61
|
+
* A boolean value indicating whether the current insured object is multiple or not default to false.
|
|
62
|
+
* @type {boolean}
|
|
63
63
|
* @memberof InsuredObjectClass
|
|
64
64
|
*/
|
|
65
|
-
'
|
|
65
|
+
'isMultiInsuredObject': boolean;
|
|
66
66
|
/**
|
|
67
|
-
* Minimum insured
|
|
67
|
+
* Minimum insured objects count
|
|
68
68
|
* @type {number}
|
|
69
69
|
* @memberof InsuredObjectClass
|
|
70
70
|
*/
|
|
71
|
-
'
|
|
71
|
+
'minInsuredObjectsCount'?: number;
|
|
72
72
|
/**
|
|
73
|
-
* Maximum insured
|
|
73
|
+
* Maximum insured objects count
|
|
74
74
|
* @type {number}
|
|
75
75
|
* @memberof InsuredObjectClass
|
|
76
76
|
*/
|
|
77
|
-
'
|
|
77
|
+
'maxInsuredObjectsCount'?: number;
|
|
78
78
|
/**
|
|
79
79
|
* Time at which the object was created.
|
|
80
80
|
* @type {string}
|
package/models/lead-class.ts
CHANGED
|
@@ -86,6 +86,12 @@ export interface LeadClass {
|
|
|
86
86
|
* @memberof LeadClass
|
|
87
87
|
*/
|
|
88
88
|
'quote': InvoiceClass;
|
|
89
|
+
/**
|
|
90
|
+
* ERN of the organization that created the lead.
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof LeadClass
|
|
93
|
+
*/
|
|
94
|
+
'ern': string;
|
|
89
95
|
/**
|
|
90
96
|
* Time at which the object was created.
|
|
91
97
|
* @type {string}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil PublicAPI
|
|
5
|
+
* The Emil Public 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 { ProductDocumentClass } from './product-document-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListProductDocumentsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListProductDocumentsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The list of documents.
|
|
26
|
+
* @type {Array<ProductDocumentClass>}
|
|
27
|
+
* @memberof ListProductDocumentsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<ProductDocumentClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Next page token.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListProductDocumentsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
}
|
|
37
|
+
|