@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.
Files changed (56) hide show
  1. package/.openapi-generator/FILES +8 -0
  2. package/README.md +2 -2
  3. package/api/address-completions-validations-api.ts +348 -0
  4. package/api/documents-api.ts +41 -53
  5. package/api/payments-setup-api.ts +104 -0
  6. package/api/products-api.ts +12 -12
  7. package/api.ts +2 -0
  8. package/base.ts +2 -0
  9. package/dist/api/address-completions-validations-api.d.ts +197 -0
  10. package/dist/api/address-completions-validations-api.js +357 -0
  11. package/dist/api/documents-api.d.ts +36 -45
  12. package/dist/api/documents-api.js +23 -28
  13. package/dist/api/payments-setup-api.d.ts +56 -0
  14. package/dist/api/payments-setup-api.js +93 -0
  15. package/dist/api/products-api.d.ts +12 -12
  16. package/dist/api/products-api.js +9 -9
  17. package/dist/api.d.ts +1 -0
  18. package/dist/api.js +1 -0
  19. package/dist/base.js +3 -0
  20. package/dist/models/address-completion-item-class.d.ts +49 -0
  21. package/dist/models/address-completion-item-class.js +15 -0
  22. package/dist/models/address-completion-response-class.d.ts +25 -0
  23. package/dist/models/address-completion-response-class.js +15 -0
  24. package/dist/models/address-field-score-class.d.ts +48 -0
  25. package/dist/models/address-field-score-class.js +15 -0
  26. package/dist/models/create-lead-request-dto.d.ts +14 -15
  27. package/dist/models/create-lead-request-dto.js +0 -7
  28. package/dist/models/get-public-psp-settings-response-class.d.ts +30 -0
  29. package/dist/models/get-public-psp-settings-response-class.js +15 -0
  30. package/dist/models/index.d.ts +7 -0
  31. package/dist/models/index.js +7 -0
  32. package/dist/models/insured-object-class.d.ts +18 -0
  33. package/dist/models/lead-class.d.ts +7 -0
  34. package/dist/models/product-field-class.d.ts +12 -0
  35. package/dist/models/structured-address-class.d.ts +54 -0
  36. package/dist/models/structured-address-class.js +15 -0
  37. package/dist/models/suggested-address-details-class.d.ts +90 -0
  38. package/dist/models/suggested-address-details-class.js +15 -0
  39. package/dist/models/update-lead-request-dto.d.ts +3 -17
  40. package/dist/models/update-lead-request-dto.js +0 -7
  41. package/dist/models/validate-address-response-class.d.ts +50 -0
  42. package/dist/models/validate-address-response-class.js +15 -0
  43. package/models/address-completion-item-class.ts +55 -0
  44. package/models/address-completion-response-class.ts +31 -0
  45. package/models/address-field-score-class.ts +54 -0
  46. package/models/create-lead-request-dto.ts +14 -18
  47. package/models/get-public-psp-settings-response-class.ts +36 -0
  48. package/models/index.ts +7 -0
  49. package/models/insured-object-class.ts +18 -0
  50. package/models/lead-class.ts +7 -0
  51. package/models/product-field-class.ts +12 -0
  52. package/models/structured-address-class.ts +60 -0
  53. package/models/suggested-address-details-class.ts +96 -0
  54. package/models/update-lead-request-dto.ts +3 -20
  55. package/models/validate-address-response-class.ts +56 -0
  56. package/package.json +1 -1
@@ -0,0 +1,48 @@
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 AddressFieldScoreClass
16
+ */
17
+ export interface AddressFieldScoreClass {
18
+ /**
19
+ * Score for the city field
20
+ * @type {object}
21
+ * @memberof AddressFieldScoreClass
22
+ */
23
+ 'city'?: object;
24
+ /**
25
+ * Score for the city field
26
+ * @type {object}
27
+ * @memberof AddressFieldScoreClass
28
+ */
29
+ 'country'?: object;
30
+ /**
31
+ * Score for the city field
32
+ * @type {object}
33
+ * @memberof AddressFieldScoreClass
34
+ */
35
+ 'houseNumber'?: object;
36
+ /**
37
+ * Score for the city field
38
+ * @type {object}
39
+ * @memberof AddressFieldScoreClass
40
+ */
41
+ 'postalCode'?: object;
42
+ /**
43
+ * Score for the city field
44
+ * @type {object}
45
+ * @memberof AddressFieldScoreClass
46
+ */
47
+ 'street'?: object;
48
+ }
@@ -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 });
@@ -38,6 +38,18 @@ export interface CreateLeadRequestDto {
38
38
  * @memberof CreateLeadRequestDto
39
39
  */
40
40
  'productCode': string;
41
+ /**
42
+ * Account. The create lead request should either contain accountCode or account.
43
+ * @type {CreateAccountRequestDto}
44
+ * @memberof CreateLeadRequestDto
45
+ */
46
+ 'account'?: CreateAccountRequestDto;
47
+ /**
48
+ * Account code. The create lead request should either contain accountCode or account.
49
+ * @type {string}
50
+ * @memberof CreateLeadRequestDto
51
+ */
52
+ 'accountCode'?: string;
41
53
  /**
42
54
  *
43
55
  * @type {Array<PolicyObjectRequestDto>}
@@ -63,28 +75,15 @@ export interface CreateLeadRequestDto {
63
75
  */
64
76
  'uploadedDocument'?: UploadedDocumentDto;
65
77
  /**
66
- * Lead status that contains \"created\",\"approved\",\"activated\" and \"declined\" statuses.
78
+ * Lead status. Default values are \"created\", \"approved\" and \"declined\". However, those can be extended using /lead-statuses endpoint from insuranceservice.
67
79
  * @type {string}
68
80
  * @memberof CreateLeadRequestDto
69
81
  */
70
- 'status'?: CreateLeadRequestDtoStatusEnum;
82
+ 'status'?: string;
71
83
  /**
72
84
  * Premium Override.
73
85
  * @type {PremiumOverrideRequestDto}
74
86
  * @memberof CreateLeadRequestDto
75
87
  */
76
88
  'premiumOverride'?: PremiumOverrideRequestDto;
77
- /**
78
- *
79
- * @type {CreateAccountRequestDto}
80
- * @memberof CreateLeadRequestDto
81
- */
82
- 'account': CreateAccountRequestDto;
83
89
  }
84
- export declare const CreateLeadRequestDtoStatusEnum: {
85
- readonly Created: "created";
86
- readonly Approved: "approved";
87
- readonly Activated: "activated";
88
- readonly Declined: "declined";
89
- };
90
- export type CreateLeadRequestDtoStatusEnum = typeof CreateLeadRequestDtoStatusEnum[keyof typeof CreateLeadRequestDtoStatusEnum];
@@ -13,10 +13,3 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.CreateLeadRequestDtoStatusEnum = void 0;
17
- exports.CreateLeadRequestDtoStatusEnum = {
18
- Created: 'created',
19
- Approved: 'approved',
20
- Activated: 'activated',
21
- Declined: 'declined'
22
- };
@@ -0,0 +1,30 @@
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 GetPublicPspSettingsResponseClass
16
+ */
17
+ export interface GetPublicPspSettingsResponseClass {
18
+ /**
19
+ * Public key. Used on frontend to load the payment form component.
20
+ * @type {string}
21
+ * @memberof GetPublicPspSettingsResponseClass
22
+ */
23
+ 'publicKey': string;
24
+ /**
25
+ * Name of payment system provider.
26
+ * @type {string}
27
+ * @memberof GetPublicPspSettingsResponseClass
28
+ */
29
+ 'psp': string;
30
+ }
@@ -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 });
@@ -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';
@@ -14,6 +14,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./address-completion-item-class"), exports);
18
+ __exportStar(require("./address-completion-response-class"), exports);
19
+ __exportStar(require("./address-field-score-class"), exports);
17
20
  __exportStar(require("./complete-braintree-payment-setup-request-dto"), exports);
18
21
  __exportStar(require("./complete-payment-setup-request-dto"), exports);
19
22
  __exportStar(require("./complete-payment-setup-response-class"), exports);
@@ -30,6 +33,7 @@ __exportStar(require("./create-lead-response-class"), exports);
30
33
  __exportStar(require("./document-class"), exports);
31
34
  __exportStar(require("./get-custom-css-response-class"), exports);
32
35
  __exportStar(require("./get-lead-response-class"), exports);
36
+ __exportStar(require("./get-public-psp-settings-response-class"), exports);
33
37
  __exportStar(require("./initiate-braintree-payment-setup-request-dto"), exports);
34
38
  __exportStar(require("./initiate-braintree-payment-setup-response-class"), exports);
35
39
  __exportStar(require("./initiate-lead-response-class"), exports);
@@ -59,6 +63,9 @@ __exportStar(require("./product-field-class"), exports);
59
63
  __exportStar(require("./product-version-class"), exports);
60
64
  __exportStar(require("./send-notification-request-dto"), exports);
61
65
  __exportStar(require("./send-notification-response-class"), exports);
66
+ __exportStar(require("./structured-address-class"), exports);
67
+ __exportStar(require("./suggested-address-details-class"), exports);
62
68
  __exportStar(require("./update-lead-request-dto"), exports);
63
69
  __exportStar(require("./update-lead-response-class"), exports);
64
70
  __exportStar(require("./uploaded-document-dto"), exports);
71
+ __exportStar(require("./validate-address-response-class"), exports);
@@ -52,6 +52,24 @@ export interface InsuredObjectClass {
52
52
  * @memberof InsuredObjectClass
53
53
  */
54
54
  'productFields': Array<ProductFieldClass>;
55
+ /**
56
+ * A boolean value indicating whether the current insured object is multiple or not default to false.
57
+ * @type {boolean}
58
+ * @memberof InsuredObjectClass
59
+ */
60
+ 'isMultiInsuredObject': boolean;
61
+ /**
62
+ * Minimum insured objects count
63
+ * @type {number}
64
+ * @memberof InsuredObjectClass
65
+ */
66
+ 'minInsuredObjectsCount'?: number;
67
+ /**
68
+ * Maximum insured objects count
69
+ * @type {number}
70
+ * @memberof InsuredObjectClass
71
+ */
72
+ 'maxInsuredObjectsCount'?: number;
55
73
  /**
56
74
  * Time at which the object was created.
57
75
  * @type {string}
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { InvoiceClass } from './invoice-class';
12
13
  import { LeadAccountClass } from './lead-account-class';
13
14
  import { LeadBankAccountClass } from './lead-bank-account-class';
14
15
  import { LeadPolicyClass } from './lead-policy-class';
@@ -74,6 +75,12 @@ export interface LeadClass {
74
75
  * @memberof LeadClass
75
76
  */
76
77
  'customData'?: object;
78
+ /**
79
+ * Quote or price details.
80
+ * @type {InvoiceClass}
81
+ * @memberof LeadClass
82
+ */
83
+ 'quote': InvoiceClass;
77
84
  /**
78
85
  * Time at which the object was created.
79
86
  * @type {string}
@@ -69,6 +69,18 @@ export interface ProductFieldClass {
69
69
  * @memberof ProductFieldClass
70
70
  */
71
71
  'isHidden': boolean;
72
+ /**
73
+ * Is field hidden on the customer portal?
74
+ * @type {boolean}
75
+ * @memberof ProductFieldClass
76
+ */
77
+ 'isHiddenCustomerPortal': boolean;
78
+ /**
79
+ * Is field editable on the customer portal?
80
+ * @type {boolean}
81
+ * @memberof ProductFieldClass
82
+ */
83
+ 'isEditableCustomerPortal': boolean;
72
84
  /**
73
85
  * Is this a system field? - System fields can neither be deleted nor modified
74
86
  * @type {boolean}
@@ -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 });
@@ -12,7 +12,6 @@
12
12
  import { CreateAccountRequestDto } from './create-account-request-dto';
13
13
  import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
14
14
  import { PolicyObjectRequestDto } from './policy-object-request-dto';
15
- import { PremiumOverrideRequestDto } from './premium-override-request-dto';
16
15
  import { UploadedDocumentDto } from './uploaded-document-dto';
17
16
  /**
18
17
  *
@@ -63,28 +62,15 @@ export interface UpdateLeadRequestDto {
63
62
  */
64
63
  'uploadedDocument'?: UploadedDocumentDto;
65
64
  /**
66
- * Premium Override
67
- * @type {PremiumOverrideRequestDto}
65
+ * Lead status. Default values are \"created\", \"approved\" and \"declined\". However, those can be extended using /lead-statuses endpoint from insuranceservice.
66
+ * @type {string}
68
67
  * @memberof UpdateLeadRequestDto
69
68
  */
70
- 'premiumOverride'?: PremiumOverrideRequestDto;
69
+ 'status': string;
71
70
  /**
72
71
  *
73
72
  * @type {CreateAccountRequestDto}
74
73
  * @memberof UpdateLeadRequestDto
75
74
  */
76
75
  'account': CreateAccountRequestDto;
77
- /**
78
- *
79
- * @type {string}
80
- * @memberof UpdateLeadRequestDto
81
- */
82
- 'status': UpdateLeadRequestDtoStatusEnum;
83
76
  }
84
- export declare const UpdateLeadRequestDtoStatusEnum: {
85
- readonly Created: "created";
86
- readonly Approved: "approved";
87
- readonly Activated: "activated";
88
- readonly Declined: "declined";
89
- };
90
- export type UpdateLeadRequestDtoStatusEnum = typeof UpdateLeadRequestDtoStatusEnum[keyof typeof UpdateLeadRequestDtoStatusEnum];
@@ -13,10 +13,3 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.UpdateLeadRequestDtoStatusEnum = void 0;
17
- exports.UpdateLeadRequestDtoStatusEnum = {
18
- Created: 'created',
19
- Approved: 'approved',
20
- Activated: 'activated',
21
- Declined: 'declined'
22
- };
@@ -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
+