@emilgroup/customer-sdk-node 1.6.0 → 1.9.0-beta.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 +19 -0
- package/README.md +2 -2
- package/api/claims-api.ts +557 -0
- package/api/customers-api.ts +248 -712
- package/api/policies-api.ts +856 -0
- package/api.ts +5 -1
- package/base.ts +24 -32
- package/common.ts +2 -1
- package/configuration.ts +1 -1
- package/dist/api/claims-api.d.ts +327 -0
- package/dist/api/claims-api.js +508 -0
- package/dist/api/customers-api.d.ts +171 -448
- package/dist/api/customers-api.js +189 -508
- package/dist/api/policies-api.d.ts +505 -0
- package/dist/api/policies-api.js +714 -0
- package/dist/api.d.ts +3 -1
- package/dist/api.js +3 -1
- package/dist/base.d.ts +2 -3
- package/dist/base.js +20 -21
- package/dist/common.d.ts +1 -1
- package/dist/common.js +2 -2
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/account-class.d.ts +4 -3
- package/dist/models/account-class.js +1 -1
- package/dist/models/account-policy-class.d.ts +30 -0
- package/dist/models/account-policy-class.js +15 -0
- package/dist/models/authentication-result-class.d.ts +1 -1
- package/dist/models/authentication-result-class.js +1 -1
- package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +48 -0
- package/dist/models/complete-braintree-payment-setup-request-dto.js +15 -0
- package/dist/models/complete-payment-setup-psp-request.d.ts +32 -0
- package/dist/models/complete-payment-setup-psp-request.js +15 -0
- package/dist/models/complete-payment-setup-response-class.d.ts +24 -0
- package/dist/models/complete-payment-setup-response-class.js +15 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +60 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.js +15 -0
- package/dist/models/create-account-request-dto.d.ts +96 -0
- package/dist/models/create-account-request-dto.js +21 -0
- package/dist/models/create-customer-claim-request-dto.d.ts +108 -0
- package/dist/models/create-customer-claim-request-dto.js +15 -0
- package/dist/models/create-customer-request-dto.d.ts +8 -1
- package/dist/models/create-customer-request-dto.js +1 -1
- package/dist/models/create-customer-response-class.d.ts +1 -1
- package/dist/models/create-customer-response-class.js +1 -1
- package/dist/models/create-presigned-post-response-class.d.ts +30 -0
- package/dist/models/create-presigned-post-response-class.js +15 -0
- package/dist/models/customer-class.d.ts +8 -2
- package/dist/models/customer-class.js +1 -1
- package/dist/models/customer-document-class.d.ts +2 -2
- package/dist/models/customer-document-class.js +1 -1
- package/dist/models/forgot-password-request-dto.d.ts +1 -1
- package/dist/models/forgot-password-request-dto.js +1 -1
- package/dist/models/get-customer-document-download-url-response-class.d.ts +1 -1
- package/dist/models/get-customer-document-download-url-response-class.js +1 -1
- package/dist/models/get-customer-response-class.d.ts +1 -1
- package/dist/models/get-customer-response-class.js +1 -1
- package/dist/models/get-policy-response-class.d.ts +1 -1
- package/dist/models/get-policy-response-class.js +1 -1
- package/dist/models/index.d.ts +17 -0
- package/dist/models/index.js +17 -0
- package/dist/models/initiate-auth-request-dto.d.ts +1 -1
- package/dist/models/initiate-auth-request-dto.js +1 -1
- package/dist/models/initiate-auth-response-class.d.ts +1 -1
- package/dist/models/initiate-auth-response-class.js +1 -1
- package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +24 -0
- package/dist/models/initiate-braintree-payment-setup-response-class.js +15 -0
- package/dist/models/initiate-payment-setup-response-class.d.ts +32 -0
- package/dist/models/initiate-payment-setup-response-class.js +15 -0
- package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +30 -0
- package/dist/models/initiate-stripe-payment-setup-response-class.js +15 -0
- package/dist/models/invite-by-customer-request-dto.d.ts +1 -1
- package/dist/models/invite-by-customer-request-dto.js +1 -1
- package/dist/models/invite-by-customer-response-class.d.ts +1 -1
- package/dist/models/invite-by-customer-response-class.js +1 -1
- package/dist/models/invite-by-tenant-response-class.d.ts +1 -1
- package/dist/models/invite-by-tenant-response-class.js +1 -1
- package/dist/models/invite-class.d.ts +1 -1
- package/dist/models/invite-class.js +1 -1
- package/dist/models/invoice-class.d.ts +3 -3
- package/dist/models/invoice-class.js +1 -1
- package/dist/models/list-documents-response-class.d.ts +1 -1
- package/dist/models/list-documents-response-class.js +1 -1
- package/dist/models/list-invoices-response-class.d.ts +1 -1
- package/dist/models/list-invoices-response-class.js +1 -1
- package/dist/models/list-policies-response-class.d.ts +1 -1
- package/dist/models/list-policies-response-class.js +1 -1
- package/dist/models/policy-class.d.ts +14 -1
- package/dist/models/policy-class.js +1 -1
- package/dist/models/policy-object-class.d.ts +1 -1
- package/dist/models/policy-object-class.js +1 -1
- package/dist/models/policy-premium-class.d.ts +1 -1
- package/dist/models/policy-premium-class.js +1 -1
- package/dist/models/policy-premium-item-class.d.ts +1 -1
- package/dist/models/policy-premium-item-class.js +1 -1
- package/dist/models/policy-version-class.d.ts +1 -1
- package/dist/models/policy-version-class.js +1 -1
- package/dist/models/refresh-token-dto.d.ts +1 -1
- package/dist/models/refresh-token-dto.js +1 -1
- package/dist/models/request-policy-update-request-dto.d.ts +4 -3
- package/dist/models/request-policy-update-request-dto.js +1 -1
- package/dist/models/request-policy-update-response-class.d.ts +1 -1
- package/dist/models/request-policy-update-response-class.js +1 -1
- package/dist/models/reset-password-by-customer-request-dto.d.ts +1 -1
- package/dist/models/reset-password-by-customer-request-dto.js +1 -1
- package/dist/models/respond-to-auth-challenge-class.d.ts +1 -1
- package/dist/models/respond-to-auth-challenge-class.js +1 -1
- package/dist/models/respond-to-auth-challenge-request-dto.d.ts +1 -1
- package/dist/models/respond-to-auth-challenge-request-dto.js +1 -1
- package/dist/models/shared-customer-policy-object-request-dto.d.ts +30 -0
- package/dist/models/shared-customer-policy-object-request-dto.js +15 -0
- package/dist/models/shared-customer-product-class.d.ts +54 -0
- package/dist/models/shared-customer-product-class.js +15 -0
- package/dist/models/shared-invoice-item-class.d.ts +1 -1
- package/dist/models/shared-invoice-item-class.js +1 -1
- package/dist/models/terminate-customer-policy-request-dto.d.ts +1 -1
- package/dist/models/terminate-customer-policy-request-dto.js +1 -1
- package/dist/models/terminate-customer-policy-response-class.d.ts +1 -1
- package/dist/models/terminate-customer-policy-response-class.js +1 -1
- package/dist/models/timeslice-class.d.ts +1 -1
- package/dist/models/timeslice-class.js +1 -1
- package/dist/models/to-grpc-customer-product-class.d.ts +54 -0
- package/dist/models/to-grpc-customer-product-class.js +15 -0
- package/dist/models/update-account-request-dto.d.ts +2 -2
- package/dist/models/update-account-request-dto.js +1 -1
- package/dist/models/update-customer-claim-request-dto.d.ts +120 -0
- package/dist/models/update-customer-claim-request-dto.js +15 -0
- package/dist/models/update-customer-request-dto.d.ts +1 -1
- package/dist/models/update-customer-request-dto.js +1 -1
- package/dist/models/update-customer-response-class.d.ts +1 -1
- package/dist/models/update-customer-response-class.js +1 -1
- package/dist/models/upload-customer-claim-documents-request-dto.d.ts +36 -0
- package/dist/models/upload-customer-claim-documents-request-dto.js +15 -0
- package/dist/models/upload-customer-policy-documents-request-dto.d.ts +47 -0
- package/dist/models/upload-customer-policy-documents-request-dto.js +20 -0
- package/dist/models/verify-customer-invite-response-class.d.ts +1 -1
- package/dist/models/verify-customer-invite-response-class.js +1 -1
- package/dist/models/withdraw-customer-policy-response-class.d.ts +1 -1
- package/dist/models/withdraw-customer-policy-response-class.js +1 -1
- package/index.ts +1 -1
- package/models/account-class.ts +4 -3
- package/models/account-policy-class.ts +36 -0
- package/models/authentication-result-class.ts +1 -1
- package/models/complete-braintree-payment-setup-request-dto.ts +54 -0
- package/models/complete-payment-setup-psp-request.ts +38 -0
- package/models/complete-payment-setup-response-class.ts +30 -0
- package/models/complete-stripe-payment-setup-request-dto.ts +66 -0
- package/models/create-account-request-dto.ts +105 -0
- package/models/create-customer-claim-request-dto.ts +114 -0
- package/models/create-customer-request-dto.ts +8 -1
- package/models/create-customer-response-class.ts +1 -1
- package/models/create-presigned-post-response-class.ts +36 -0
- package/models/customer-class.ts +8 -2
- package/models/customer-document-class.ts +1 -1
- package/models/forgot-password-request-dto.ts +1 -1
- package/models/get-customer-document-download-url-response-class.ts +1 -1
- package/models/get-customer-response-class.ts +1 -1
- package/models/get-policy-response-class.ts +1 -1
- package/models/index.ts +17 -0
- package/models/initiate-auth-request-dto.ts +1 -1
- package/models/initiate-auth-response-class.ts +1 -1
- package/models/initiate-braintree-payment-setup-response-class.ts +30 -0
- package/models/initiate-payment-setup-response-class.ts +38 -0
- package/models/initiate-stripe-payment-setup-response-class.ts +36 -0
- package/models/invite-by-customer-request-dto.ts +1 -1
- package/models/invite-by-customer-response-class.ts +1 -1
- package/models/invite-by-tenant-response-class.ts +1 -1
- package/models/invite-class.ts +1 -1
- package/models/invoice-class.ts +1 -1
- package/models/list-documents-response-class.ts +1 -1
- package/models/list-invoices-response-class.ts +1 -1
- package/models/list-policies-response-class.ts +1 -1
- package/models/policy-class.ts +14 -1
- package/models/policy-object-class.ts +1 -1
- package/models/policy-premium-class.ts +1 -1
- package/models/policy-premium-item-class.ts +1 -1
- package/models/policy-version-class.ts +1 -1
- package/models/refresh-token-dto.ts +1 -1
- package/models/request-policy-update-request-dto.ts +4 -3
- package/models/request-policy-update-response-class.ts +1 -1
- package/models/reset-password-by-customer-request-dto.ts +1 -1
- package/models/respond-to-auth-challenge-class.ts +1 -1
- package/models/respond-to-auth-challenge-request-dto.ts +1 -1
- package/models/shared-customer-policy-object-request-dto.ts +36 -0
- package/models/shared-customer-product-class.ts +60 -0
- package/models/shared-invoice-item-class.ts +1 -1
- package/models/terminate-customer-policy-request-dto.ts +1 -1
- package/models/terminate-customer-policy-response-class.ts +1 -1
- package/models/timeslice-class.ts +1 -1
- package/models/to-grpc-customer-product-class.ts +60 -0
- package/models/update-account-request-dto.ts +1 -1
- package/models/update-customer-claim-request-dto.ts +126 -0
- package/models/update-customer-request-dto.ts +1 -1
- package/models/update-customer-response-class.ts +1 -1
- package/models/upload-customer-claim-documents-request-dto.ts +42 -0
- package/models/upload-customer-policy-documents-request-dto.ts +56 -0
- package/models/verify-customer-invite-response-class.ts +1 -1
- package/models/withdraw-customer-policy-response-class.ts +1 -1
- package/package.json +2 -3
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL CustomerService
|
|
3
|
+
* The EMIL CustomerService 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 ToGrpcCustomerProductClass
|
|
16
|
+
*/
|
|
17
|
+
export interface ToGrpcCustomerProductClass {
|
|
18
|
+
/**
|
|
19
|
+
* Product code
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ToGrpcCustomerProductClass
|
|
22
|
+
*/
|
|
23
|
+
'code': string;
|
|
24
|
+
/**
|
|
25
|
+
* Product\'s name
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ToGrpcCustomerProductClass
|
|
28
|
+
*/
|
|
29
|
+
'name': string;
|
|
30
|
+
/**
|
|
31
|
+
* Product\'s slug
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ToGrpcCustomerProductClass
|
|
34
|
+
*/
|
|
35
|
+
'slug': string;
|
|
36
|
+
/**
|
|
37
|
+
* Contract duration in days
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ToGrpcCustomerProductClass
|
|
40
|
+
*/
|
|
41
|
+
'contractDurationDays': number;
|
|
42
|
+
/**
|
|
43
|
+
* Date created
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ToGrpcCustomerProductClass
|
|
46
|
+
*/
|
|
47
|
+
'createdAt': string;
|
|
48
|
+
/**
|
|
49
|
+
* Date updated
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ToGrpcCustomerProductClass
|
|
52
|
+
*/
|
|
53
|
+
'updatedAt': string;
|
|
54
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL CustomerService
|
|
6
|
+
* The EMIL CustomerService 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 });
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* The EMIL CustomerService API description
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
|
-
*
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -93,4 +93,4 @@ export declare const UpdateAccountRequestDtoGenderEnum: {
|
|
|
93
93
|
readonly Female: "female";
|
|
94
94
|
readonly Unspecified: "unspecified";
|
|
95
95
|
};
|
|
96
|
-
export
|
|
96
|
+
export type UpdateAccountRequestDtoGenderEnum = typeof UpdateAccountRequestDtoGenderEnum[keyof typeof UpdateAccountRequestDtoGenderEnum];
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL CustomerService
|
|
3
|
+
* The EMIL CustomerService 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 UpdateCustomerClaimRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateCustomerClaimRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Field to enter the claim title.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateCustomerClaimRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'title': string;
|
|
24
|
+
/**
|
|
25
|
+
* Field for the policy number that the claim belongs to.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UpdateCustomerClaimRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'policyNumber': string;
|
|
30
|
+
/**
|
|
31
|
+
* Field for the policy code that the claim belongs to.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdateCustomerClaimRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'policyCode': string;
|
|
36
|
+
/**
|
|
37
|
+
* Unique identifier of the product that the claim is made against
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof UpdateCustomerClaimRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'productId': number;
|
|
42
|
+
/**
|
|
43
|
+
* Unique identifier for the specific version of the product
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof UpdateCustomerClaimRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'productVersionId': number;
|
|
48
|
+
/**
|
|
49
|
+
* The name of the product
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof UpdateCustomerClaimRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'productName': string;
|
|
54
|
+
/**
|
|
55
|
+
* The unique identifier of the insured object that the claim is made for
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof UpdateCustomerClaimRequestDto
|
|
58
|
+
*/
|
|
59
|
+
'insuredObjectId': number;
|
|
60
|
+
/**
|
|
61
|
+
* The claim\'s description in 5000 characters.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof UpdateCustomerClaimRequestDto
|
|
64
|
+
*/
|
|
65
|
+
'description': string;
|
|
66
|
+
/**
|
|
67
|
+
* The adjuster of the claim. A claim adjuster investigates insurance claims by interviewing the claimant and witnesses, consulting police and hospital records, and inspecting property damage to determine the extent of the insurance company\'s liability.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof UpdateCustomerClaimRequestDto
|
|
70
|
+
*/
|
|
71
|
+
'adjuster'?: string;
|
|
72
|
+
/**
|
|
73
|
+
* A claim reporter is responsible for submitting this claim to the platform. A claim reporter is not necessarily the same as the policy holder.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof UpdateCustomerClaimRequestDto
|
|
76
|
+
*/
|
|
77
|
+
'reporter': string;
|
|
78
|
+
/**
|
|
79
|
+
* The contact email of the policyholder.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof UpdateCustomerClaimRequestDto
|
|
82
|
+
*/
|
|
83
|
+
'contactEmail'?: string;
|
|
84
|
+
/**
|
|
85
|
+
* The contact phone of the policyholder.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof UpdateCustomerClaimRequestDto
|
|
88
|
+
*/
|
|
89
|
+
'contactPhone'?: string;
|
|
90
|
+
/**
|
|
91
|
+
* The claim\'s damage date.
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof UpdateCustomerClaimRequestDto
|
|
94
|
+
*/
|
|
95
|
+
'damageDate': string;
|
|
96
|
+
/**
|
|
97
|
+
* The date on which the claim is reported
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof UpdateCustomerClaimRequestDto
|
|
100
|
+
*/
|
|
101
|
+
'notificationDate': string;
|
|
102
|
+
/**
|
|
103
|
+
* Tenant specific custom fields for claims (e.g. IMEI, Serial Number, etc.)
|
|
104
|
+
* @type {object}
|
|
105
|
+
* @memberof UpdateCustomerClaimRequestDto
|
|
106
|
+
*/
|
|
107
|
+
'customFields'?: object;
|
|
108
|
+
/**
|
|
109
|
+
* The policyholder for whom the claim will be created
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof UpdateCustomerClaimRequestDto
|
|
112
|
+
*/
|
|
113
|
+
'customerCode'?: string;
|
|
114
|
+
/**
|
|
115
|
+
* The identifier code for the claim that will be updated
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof UpdateCustomerClaimRequestDto
|
|
118
|
+
*/
|
|
119
|
+
'code'?: string;
|
|
120
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL CustomerService
|
|
6
|
+
* The EMIL CustomerService 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,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL CustomerService
|
|
3
|
+
* The EMIL CustomerService 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 UploadCustomerClaimDocumentsRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface UploadCustomerClaimDocumentsRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Mime-Type of the file. Valid mime-types are: image/jpeg, image/png, application/pdf
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UploadCustomerClaimDocumentsRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'contentType': string;
|
|
24
|
+
/**
|
|
25
|
+
* Name of the file.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UploadCustomerClaimDocumentsRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'fileName': string;
|
|
30
|
+
/**
|
|
31
|
+
* Document description.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UploadCustomerClaimDocumentsRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'description'?: string;
|
|
36
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL CustomerService
|
|
6
|
+
* The EMIL CustomerService 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,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL CustomerService
|
|
3
|
+
* The EMIL CustomerService 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 UploadCustomerPolicyDocumentsRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface UploadCustomerPolicyDocumentsRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Mime-Type of the file. Valid mime-types are: image/jpeg, image/png, application/pdf
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UploadCustomerPolicyDocumentsRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'contentType': string;
|
|
24
|
+
/**
|
|
25
|
+
* Name of the file.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UploadCustomerPolicyDocumentsRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'fileName': string;
|
|
30
|
+
/**
|
|
31
|
+
* Describe the type of entity for the document. Allowed policy document type are: PolicyDocument
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UploadCustomerPolicyDocumentsRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'entityType'?: UploadCustomerPolicyDocumentsRequestDtoEntityTypeEnum;
|
|
36
|
+
/**
|
|
37
|
+
* Document description.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof UploadCustomerPolicyDocumentsRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'description'?: string;
|
|
42
|
+
}
|
|
43
|
+
export declare const UploadCustomerPolicyDocumentsRequestDtoEntityTypeEnum: {
|
|
44
|
+
readonly ClaimDocument: "ClaimDocument";
|
|
45
|
+
readonly PolicyDocument: "PolicyDocument";
|
|
46
|
+
};
|
|
47
|
+
export type UploadCustomerPolicyDocumentsRequestDtoEntityTypeEnum = typeof UploadCustomerPolicyDocumentsRequestDtoEntityTypeEnum[keyof typeof UploadCustomerPolicyDocumentsRequestDtoEntityTypeEnum];
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL CustomerService
|
|
6
|
+
* The EMIL CustomerService 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.UploadCustomerPolicyDocumentsRequestDtoEntityTypeEnum = void 0;
|
|
17
|
+
exports.UploadCustomerPolicyDocumentsRequestDtoEntityTypeEnum = {
|
|
18
|
+
ClaimDocument: 'ClaimDocument',
|
|
19
|
+
PolicyDocument: 'PolicyDocument'
|
|
20
|
+
};
|
package/index.ts
CHANGED
package/models/account-class.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* The EMIL CustomerService API description
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { AccountPolicyClass } from './account-policy-class';
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
*
|
|
@@ -118,10 +119,10 @@ export interface AccountClass {
|
|
|
118
119
|
'updatedAt': string;
|
|
119
120
|
/**
|
|
120
121
|
* Policies linked to the account.
|
|
121
|
-
* @type {Array<
|
|
122
|
+
* @type {Array<AccountPolicyClass>}
|
|
122
123
|
* @memberof AccountClass
|
|
123
124
|
*/
|
|
124
|
-
'policies': Array<
|
|
125
|
+
'policies': Array<AccountPolicyClass>;
|
|
125
126
|
/**
|
|
126
127
|
* Optional field contain extra information
|
|
127
128
|
* @type {object}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CustomerService
|
|
5
|
+
* The EMIL CustomerService 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 AccountPolicyClass
|
|
21
|
+
*/
|
|
22
|
+
export interface AccountPolicyClass {
|
|
23
|
+
/**
|
|
24
|
+
* Unique identifier for a policy.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof AccountPolicyClass
|
|
27
|
+
*/
|
|
28
|
+
'policyCode': string;
|
|
29
|
+
/**
|
|
30
|
+
* Number used on official documents.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof AccountPolicyClass
|
|
33
|
+
*/
|
|
34
|
+
'policyNumber': string;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CustomerService
|
|
5
|
+
* The EMIL CustomerService 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 CompleteBraintreePaymentSetupRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CompleteBraintreePaymentSetupRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Account email address
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CompleteBraintreePaymentSetupRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'email': string;
|
|
29
|
+
/**
|
|
30
|
+
* Account first name
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CompleteBraintreePaymentSetupRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'firstName': string;
|
|
35
|
+
/**
|
|
36
|
+
* Account last name
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CompleteBraintreePaymentSetupRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'lastName': string;
|
|
41
|
+
/**
|
|
42
|
+
* Lead code
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CompleteBraintreePaymentSetupRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'leadCode': string;
|
|
47
|
+
/**
|
|
48
|
+
* Braintree nonce generated by the client through the frontend component.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CompleteBraintreePaymentSetupRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'nonce': string;
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CustomerService
|
|
5
|
+
* The EMIL CustomerService 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 { CompleteBraintreePaymentSetupRequestDto } from './complete-braintree-payment-setup-request-dto';
|
|
17
|
+
import { CompleteStripePaymentSetupRequestDto } from './complete-stripe-payment-setup-request-dto';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface CompletePaymentSetupPspRequest
|
|
23
|
+
*/
|
|
24
|
+
export interface CompletePaymentSetupPspRequest {
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {CompleteStripePaymentSetupRequestDto}
|
|
28
|
+
* @memberof CompletePaymentSetupPspRequest
|
|
29
|
+
*/
|
|
30
|
+
'stripe'?: CompleteStripePaymentSetupRequestDto;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {CompleteBraintreePaymentSetupRequestDto}
|
|
34
|
+
* @memberof CompletePaymentSetupPspRequest
|
|
35
|
+
*/
|
|
36
|
+
'braintree'?: CompleteBraintreePaymentSetupRequestDto;
|
|
37
|
+
}
|
|
38
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CustomerService
|
|
5
|
+
* The EMIL CustomerService 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 CompletePaymentSetupResponseClass
|
|
21
|
+
*/
|
|
22
|
+
export interface CompletePaymentSetupResponseClass {
|
|
23
|
+
/**
|
|
24
|
+
* Payment method saved in the DB.
|
|
25
|
+
* @type {object}
|
|
26
|
+
* @memberof CompletePaymentSetupResponseClass
|
|
27
|
+
*/
|
|
28
|
+
'paymentMethod': object;
|
|
29
|
+
}
|
|
30
|
+
|