@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,100 @@
|
|
|
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 ProductDocumentClass
|
|
21
|
+
*/
|
|
22
|
+
export interface ProductDocumentClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof ProductDocumentClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier for the object.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ProductDocumentClass
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
35
|
+
/**
|
|
36
|
+
* Unique identifier for the object.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof ProductDocumentClass
|
|
39
|
+
*/
|
|
40
|
+
'productCode': string;
|
|
41
|
+
/**
|
|
42
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof ProductDocumentClass
|
|
45
|
+
*/
|
|
46
|
+
'productVersionId': number;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof ProductDocumentClass
|
|
51
|
+
*/
|
|
52
|
+
'type': string;
|
|
53
|
+
/**
|
|
54
|
+
* Description of the document. Usually a short summary about the context in which the document is being used.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof ProductDocumentClass
|
|
57
|
+
*/
|
|
58
|
+
'description': string;
|
|
59
|
+
/**
|
|
60
|
+
* The unique key used by Amazon Simple Storage Service (S3).
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof ProductDocumentClass
|
|
63
|
+
*/
|
|
64
|
+
's3Key': string;
|
|
65
|
+
/**
|
|
66
|
+
* Type of the document expressed with its file extension.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof ProductDocumentClass
|
|
69
|
+
*/
|
|
70
|
+
'contentType': ProductDocumentClassContentTypeEnum;
|
|
71
|
+
/**
|
|
72
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof ProductDocumentClass
|
|
75
|
+
*/
|
|
76
|
+
'productSlug': string;
|
|
77
|
+
/**
|
|
78
|
+
* Time at which the object was created.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof ProductDocumentClass
|
|
81
|
+
*/
|
|
82
|
+
'createdAt': string;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export const ProductDocumentClassContentTypeEnum = {
|
|
86
|
+
Pdf: 'pdf',
|
|
87
|
+
Jpg: 'jpg',
|
|
88
|
+
Png: 'png',
|
|
89
|
+
Gz: 'gz',
|
|
90
|
+
Csv: 'csv',
|
|
91
|
+
Doc: 'doc',
|
|
92
|
+
Docx: 'docx',
|
|
93
|
+
Html: 'html',
|
|
94
|
+
Json: 'json',
|
|
95
|
+
Xml: 'xml'
|
|
96
|
+
} as const;
|
|
97
|
+
|
|
98
|
+
export type ProductDocumentClassContentTypeEnum = typeof ProductDocumentClassContentTypeEnum[keyof typeof ProductDocumentClassContentTypeEnum];
|
|
99
|
+
|
|
100
|
+
|
|
@@ -0,0 +1,60 @@
|
|
|
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 StructuredAddressClass
|
|
21
|
+
*/
|
|
22
|
+
export interface StructuredAddressClass {
|
|
23
|
+
/**
|
|
24
|
+
* City of the address.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof StructuredAddressClass
|
|
27
|
+
*/
|
|
28
|
+
'city': string;
|
|
29
|
+
/**
|
|
30
|
+
* List of broken down address components.
|
|
31
|
+
* @type {Array<string>}
|
|
32
|
+
* @memberof StructuredAddressClass
|
|
33
|
+
*/
|
|
34
|
+
'components': Array<string>;
|
|
35
|
+
/**
|
|
36
|
+
* Country of the address.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof StructuredAddressClass
|
|
39
|
+
*/
|
|
40
|
+
'country': string;
|
|
41
|
+
/**
|
|
42
|
+
* House number of the address.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof StructuredAddressClass
|
|
45
|
+
*/
|
|
46
|
+
'houseNumber': string;
|
|
47
|
+
/**
|
|
48
|
+
* Postal code of the address.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof StructuredAddressClass
|
|
51
|
+
*/
|
|
52
|
+
'postalCode': string;
|
|
53
|
+
/**
|
|
54
|
+
* Street of the address.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof StructuredAddressClass
|
|
57
|
+
*/
|
|
58
|
+
'street': string;
|
|
59
|
+
}
|
|
60
|
+
|
|
@@ -0,0 +1,96 @@
|
|
|
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 SuggestedAddressDetailsClass
|
|
21
|
+
*/
|
|
22
|
+
export interface SuggestedAddressDetailsClass {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof SuggestedAddressDetailsClass
|
|
27
|
+
*/
|
|
28
|
+
'label': string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof SuggestedAddressDetailsClass
|
|
33
|
+
*/
|
|
34
|
+
'countryCode': string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof SuggestedAddressDetailsClass
|
|
39
|
+
*/
|
|
40
|
+
'countryName': string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof SuggestedAddressDetailsClass
|
|
45
|
+
*/
|
|
46
|
+
'stateCode': string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof SuggestedAddressDetailsClass
|
|
51
|
+
*/
|
|
52
|
+
'state': string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof SuggestedAddressDetailsClass
|
|
57
|
+
*/
|
|
58
|
+
'countyCode'?: string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof SuggestedAddressDetailsClass
|
|
63
|
+
*/
|
|
64
|
+
'county'?: string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof SuggestedAddressDetailsClass
|
|
69
|
+
*/
|
|
70
|
+
'city': string;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof SuggestedAddressDetailsClass
|
|
75
|
+
*/
|
|
76
|
+
'district': string;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof SuggestedAddressDetailsClass
|
|
81
|
+
*/
|
|
82
|
+
'street': string;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof SuggestedAddressDetailsClass
|
|
87
|
+
*/
|
|
88
|
+
'postalCode': string;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof SuggestedAddressDetailsClass
|
|
93
|
+
*/
|
|
94
|
+
'houseNumber'?: string;
|
|
95
|
+
}
|
|
96
|
+
|
|
@@ -0,0 +1,56 @@
|
|
|
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 { AddressFieldScoreClass } from './address-field-score-class';
|
|
17
|
+
import { StructuredAddressClass } from './structured-address-class';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface ValidateAddressResponseClass
|
|
23
|
+
*/
|
|
24
|
+
export interface ValidateAddressResponseClass {
|
|
25
|
+
/**
|
|
26
|
+
* The error object for address validation!
|
|
27
|
+
* @type {object}
|
|
28
|
+
* @memberof ValidateAddressResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'errors': object;
|
|
31
|
+
/**
|
|
32
|
+
* Indicates whether the address is valid or not!
|
|
33
|
+
* @type {boolean}
|
|
34
|
+
* @memberof ValidateAddressResponseClass
|
|
35
|
+
*/
|
|
36
|
+
'isAddressValid': boolean;
|
|
37
|
+
/**
|
|
38
|
+
* The input address in a single line
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof ValidateAddressResponseClass
|
|
41
|
+
*/
|
|
42
|
+
'rawAddress': string;
|
|
43
|
+
/**
|
|
44
|
+
* Individual score for various parts of the address
|
|
45
|
+
* @type {AddressFieldScoreClass}
|
|
46
|
+
* @memberof ValidateAddressResponseClass
|
|
47
|
+
*/
|
|
48
|
+
'score': AddressFieldScoreClass;
|
|
49
|
+
/**
|
|
50
|
+
* The structured address object!
|
|
51
|
+
* @type {StructuredAddressClass}
|
|
52
|
+
* @memberof ValidateAddressResponseClass
|
|
53
|
+
*/
|
|
54
|
+
'structuredAddress': StructuredAddressClass;
|
|
55
|
+
}
|
|
56
|
+
|