@emilgroup/public-api-sdk 1.4.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 +8 -0
- package/README.md +2 -2
- package/api/address-completions-validations-api.ts +348 -0
- package/api/documents-api.ts +41 -53
- package/api/payments-setup-api.ts +104 -0
- package/api/products-api.ts +12 -12
- package/api.ts +2 -0
- package/base.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 +36 -45
- package/dist/api/documents-api.js +23 -28
- package/dist/api/payments-setup-api.d.ts +56 -0
- package/dist/api/payments-setup-api.js +93 -0
- package/dist/api/products-api.d.ts +12 -12
- package/dist/api/products-api.js +9 -9
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/base.js +3 -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 +14 -15
- package/dist/models/create-lead-request-dto.js +0 -7
- package/dist/models/get-public-psp-settings-response-class.d.ts +30 -0
- package/dist/models/get-public-psp-settings-response-class.js +15 -0
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/dist/models/insured-object-class.d.ts +18 -0
- package/dist/models/lead-class.d.ts +7 -0
- package/dist/models/product-field-class.d.ts +12 -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/update-lead-request-dto.d.ts +3 -17
- package/dist/models/update-lead-request-dto.js +0 -7
- 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 +14 -18
- package/models/get-public-psp-settings-response-class.ts +36 -0
- package/models/index.ts +7 -0
- package/models/insured-object-class.ts +18 -0
- package/models/lead-class.ts +7 -0
- package/models/product-field-class.ts +12 -0
- package/models/structured-address-class.ts +60 -0
- package/models/suggested-address-details-class.ts +96 -0
- package/models/update-lead-request-dto.ts +3 -20
- package/models/validate-address-response-class.ts +56 -0
- package/package.json +1 -1
|
@@ -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>}
|
|
@@ -68,32 +80,16 @@ export interface CreateLeadRequestDto {
|
|
|
68
80
|
*/
|
|
69
81
|
'uploadedDocument'?: UploadedDocumentDto;
|
|
70
82
|
/**
|
|
71
|
-
* Lead status
|
|
83
|
+
* Lead status. Default values are \"created\", \"approved\" and \"declined\". However, those can be extended using /lead-statuses endpoint from insuranceservice.
|
|
72
84
|
* @type {string}
|
|
73
85
|
* @memberof CreateLeadRequestDto
|
|
74
86
|
*/
|
|
75
|
-
'status'?:
|
|
87
|
+
'status'?: string;
|
|
76
88
|
/**
|
|
77
89
|
* Premium Override.
|
|
78
90
|
* @type {PremiumOverrideRequestDto}
|
|
79
91
|
* @memberof CreateLeadRequestDto
|
|
80
92
|
*/
|
|
81
93
|
'premiumOverride'?: PremiumOverrideRequestDto;
|
|
82
|
-
/**
|
|
83
|
-
*
|
|
84
|
-
* @type {CreateAccountRequestDto}
|
|
85
|
-
* @memberof CreateLeadRequestDto
|
|
86
|
-
*/
|
|
87
|
-
'account': CreateAccountRequestDto;
|
|
88
94
|
}
|
|
89
95
|
|
|
90
|
-
export const CreateLeadRequestDtoStatusEnum = {
|
|
91
|
-
Created: 'created',
|
|
92
|
-
Approved: 'approved',
|
|
93
|
-
Activated: 'activated',
|
|
94
|
-
Declined: 'declined'
|
|
95
|
-
} as const;
|
|
96
|
-
|
|
97
|
-
export type CreateLeadRequestDtoStatusEnum = typeof CreateLeadRequestDtoStatusEnum[keyof typeof CreateLeadRequestDtoStatusEnum];
|
|
98
|
-
|
|
99
|
-
|
|
@@ -0,0 +1,36 @@
|
|
|
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 GetPublicPspSettingsResponseClass
|
|
21
|
+
*/
|
|
22
|
+
export interface GetPublicPspSettingsResponseClass {
|
|
23
|
+
/**
|
|
24
|
+
* Public key. Used on frontend to load the payment form component.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof GetPublicPspSettingsResponseClass
|
|
27
|
+
*/
|
|
28
|
+
'publicKey': string;
|
|
29
|
+
/**
|
|
30
|
+
* Name of payment system provider.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof GetPublicPspSettingsResponseClass
|
|
33
|
+
*/
|
|
34
|
+
'psp': string;
|
|
35
|
+
}
|
|
36
|
+
|
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';
|
|
@@ -14,6 +17,7 @@ export * from './create-lead-response-class';
|
|
|
14
17
|
export * from './document-class';
|
|
15
18
|
export * from './get-custom-css-response-class';
|
|
16
19
|
export * from './get-lead-response-class';
|
|
20
|
+
export * from './get-public-psp-settings-response-class';
|
|
17
21
|
export * from './initiate-braintree-payment-setup-request-dto';
|
|
18
22
|
export * from './initiate-braintree-payment-setup-response-class';
|
|
19
23
|
export * from './initiate-lead-response-class';
|
|
@@ -43,6 +47,9 @@ export * from './product-field-class';
|
|
|
43
47
|
export * from './product-version-class';
|
|
44
48
|
export * from './send-notification-request-dto';
|
|
45
49
|
export * from './send-notification-response-class';
|
|
50
|
+
export * from './structured-address-class';
|
|
51
|
+
export * from './suggested-address-details-class';
|
|
46
52
|
export * from './update-lead-request-dto';
|
|
47
53
|
export * from './update-lead-response-class';
|
|
48
54
|
export * from './uploaded-document-dto';
|
|
55
|
+
export * from './validate-address-response-class';
|
|
@@ -57,6 +57,24 @@ export interface InsuredObjectClass {
|
|
|
57
57
|
* @memberof InsuredObjectClass
|
|
58
58
|
*/
|
|
59
59
|
'productFields': Array<ProductFieldClass>;
|
|
60
|
+
/**
|
|
61
|
+
* A boolean value indicating whether the current insured object is multiple or not default to false.
|
|
62
|
+
* @type {boolean}
|
|
63
|
+
* @memberof InsuredObjectClass
|
|
64
|
+
*/
|
|
65
|
+
'isMultiInsuredObject': boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Minimum insured objects count
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof InsuredObjectClass
|
|
70
|
+
*/
|
|
71
|
+
'minInsuredObjectsCount'?: number;
|
|
72
|
+
/**
|
|
73
|
+
* Maximum insured objects count
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof InsuredObjectClass
|
|
76
|
+
*/
|
|
77
|
+
'maxInsuredObjectsCount'?: number;
|
|
60
78
|
/**
|
|
61
79
|
* Time at which the object was created.
|
|
62
80
|
* @type {string}
|
package/models/lead-class.ts
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { InvoiceClass } from './invoice-class';
|
|
16
17
|
import { LeadAccountClass } from './lead-account-class';
|
|
17
18
|
import { LeadBankAccountClass } from './lead-bank-account-class';
|
|
18
19
|
import { LeadPolicyClass } from './lead-policy-class';
|
|
@@ -79,6 +80,12 @@ export interface LeadClass {
|
|
|
79
80
|
* @memberof LeadClass
|
|
80
81
|
*/
|
|
81
82
|
'customData'?: object;
|
|
83
|
+
/**
|
|
84
|
+
* Quote or price details.
|
|
85
|
+
* @type {InvoiceClass}
|
|
86
|
+
* @memberof LeadClass
|
|
87
|
+
*/
|
|
88
|
+
'quote': InvoiceClass;
|
|
82
89
|
/**
|
|
83
90
|
* Time at which the object was created.
|
|
84
91
|
* @type {string}
|
|
@@ -74,6 +74,18 @@ export interface ProductFieldClass {
|
|
|
74
74
|
* @memberof ProductFieldClass
|
|
75
75
|
*/
|
|
76
76
|
'isHidden': boolean;
|
|
77
|
+
/**
|
|
78
|
+
* Is field hidden on the customer portal?
|
|
79
|
+
* @type {boolean}
|
|
80
|
+
* @memberof ProductFieldClass
|
|
81
|
+
*/
|
|
82
|
+
'isHiddenCustomerPortal': boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Is field editable on the customer portal?
|
|
85
|
+
* @type {boolean}
|
|
86
|
+
* @memberof ProductFieldClass
|
|
87
|
+
*/
|
|
88
|
+
'isEditableCustomerPortal': boolean;
|
|
77
89
|
/**
|
|
78
90
|
* Is this a system field? - System fields can neither be deleted nor modified
|
|
79
91
|
* @type {boolean}
|
|
@@ -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
|
+
|
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
import { CreateAccountRequestDto } from './create-account-request-dto';
|
|
17
17
|
import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
|
|
18
18
|
import { PolicyObjectRequestDto } from './policy-object-request-dto';
|
|
19
|
-
import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
20
19
|
import { UploadedDocumentDto } from './uploaded-document-dto';
|
|
21
20
|
|
|
22
21
|
/**
|
|
@@ -68,32 +67,16 @@ export interface UpdateLeadRequestDto {
|
|
|
68
67
|
*/
|
|
69
68
|
'uploadedDocument'?: UploadedDocumentDto;
|
|
70
69
|
/**
|
|
71
|
-
*
|
|
72
|
-
* @type {
|
|
70
|
+
* Lead status. Default values are \"created\", \"approved\" and \"declined\". However, those can be extended using /lead-statuses endpoint from insuranceservice.
|
|
71
|
+
* @type {string}
|
|
73
72
|
* @memberof UpdateLeadRequestDto
|
|
74
73
|
*/
|
|
75
|
-
'
|
|
74
|
+
'status': string;
|
|
76
75
|
/**
|
|
77
76
|
*
|
|
78
77
|
* @type {CreateAccountRequestDto}
|
|
79
78
|
* @memberof UpdateLeadRequestDto
|
|
80
79
|
*/
|
|
81
80
|
'account': CreateAccountRequestDto;
|
|
82
|
-
/**
|
|
83
|
-
*
|
|
84
|
-
* @type {string}
|
|
85
|
-
* @memberof UpdateLeadRequestDto
|
|
86
|
-
*/
|
|
87
|
-
'status': UpdateLeadRequestDtoStatusEnum;
|
|
88
81
|
}
|
|
89
82
|
|
|
90
|
-
export const UpdateLeadRequestDtoStatusEnum = {
|
|
91
|
-
Created: 'created',
|
|
92
|
-
Approved: 'approved',
|
|
93
|
-
Activated: 'activated',
|
|
94
|
-
Declined: 'declined'
|
|
95
|
-
} as const;
|
|
96
|
-
|
|
97
|
-
export type UpdateLeadRequestDtoStatusEnum = typeof UpdateLeadRequestDtoStatusEnum[keyof typeof UpdateLeadRequestDtoStatusEnum];
|
|
98
|
-
|
|
99
|
-
|
|
@@ -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
|
+
|