@emilgroup/public-api-sdk 1.6.0 → 1.7.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 +7 -0
- package/README.md +2 -2
- package/api/address-completions-validations-api.ts +348 -0
- package/api/documents-api.ts +39 -51
- 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 +33 -42
- package/dist/api/documents-api.js +23 -28
- 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 +6 -0
- package/dist/models/index.js +6 -0
- package/dist/models/insured-object-class.d.ts +7 -7
- 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 +6 -0
- package/models/insured-object-class.ts +7 -7
- 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,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';
|
|
@@ -44,6 +47,9 @@ export * from './product-field-class';
|
|
|
44
47
|
export * from './product-version-class';
|
|
45
48
|
export * from './send-notification-request-dto';
|
|
46
49
|
export * from './send-notification-response-class';
|
|
50
|
+
export * from './structured-address-class';
|
|
51
|
+
export * from './suggested-address-details-class';
|
|
47
52
|
export * from './update-lead-request-dto';
|
|
48
53
|
export * from './update-lead-response-class';
|
|
49
54
|
export * from './uploaded-document-dto';
|
|
55
|
+
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}
|
|
@@ -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
|
+
|