@emilgroup/customer-sdk-node 1.6.1 → 1.9.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 +18 -0
- package/README.md +2 -2
- package/api/claims-api.ts +557 -0
- package/api/customers-api.ts +305 -684
- package/api/policies-api.ts +980 -0
- package/api/products-api.ts +357 -0
- package/api.ts +7 -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 +213 -443
- package/dist/api/customers-api.js +232 -475
- package/dist/api/policies-api.d.ts +578 -0
- package/dist/api/policies-api.js +808 -0
- package/dist/api/products-api.d.ts +215 -0
- package/dist/api/products-api.js +341 -0
- package/dist/api.d.ts +4 -1
- package/dist/api.js +4 -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 +1 -1
- package/dist/models/account-class.js +1 -1
- package/dist/models/account-policy-class.d.ts +1 -1
- package/dist/models/account-policy-class.js +1 -1
- 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/customer-product-class.d.ts +54 -0
- package/dist/models/customer-product-class.js +15 -0
- 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/get-product-response-class.d.ts +25 -0
- package/dist/models/get-product-response-class.js +15 -0
- package/dist/models/index.d.ts +15 -0
- package/dist/models/index.js +15 -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 +5 -5
- 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 +1 -1
- 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 +1 -1
- package/dist/models/shared-customer-policy-object-request-dto.js +1 -1
- 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/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 +1 -1
- package/models/account-policy-class.ts +1 -1
- 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/customer-product-class.ts +60 -0
- 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/get-product-response-class.ts +31 -0
- package/models/index.ts +15 -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 +5 -5
- 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 +1 -1
- 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 +1 -1
- 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/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,105 @@
|
|
|
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 CreateAccountRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateAccountRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* The account\'s first name.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateAccountRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'firstName': string;
|
|
29
|
+
/**
|
|
30
|
+
* The account\'s last name.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateAccountRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'lastName': string;
|
|
35
|
+
/**
|
|
36
|
+
* The account\'s gender.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreateAccountRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'gender': CreateAccountRequestDtoGenderEnum;
|
|
41
|
+
/**
|
|
42
|
+
* The account\'s street name.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreateAccountRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'street': string;
|
|
47
|
+
/**
|
|
48
|
+
* The account\'s ZIP or postal code.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CreateAccountRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'zipCode': string;
|
|
53
|
+
/**
|
|
54
|
+
* The account\'s city, district, suburb, town, or village.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CreateAccountRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'city': string;
|
|
59
|
+
/**
|
|
60
|
+
* The account\'s house number.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof CreateAccountRequestDto
|
|
63
|
+
*/
|
|
64
|
+
'houseNumber': string;
|
|
65
|
+
/**
|
|
66
|
+
* Account\'s birth date.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof CreateAccountRequestDto
|
|
69
|
+
*/
|
|
70
|
+
'birthDate': string;
|
|
71
|
+
/**
|
|
72
|
+
* The account\'s phone number.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof CreateAccountRequestDto
|
|
75
|
+
*/
|
|
76
|
+
'phone': string;
|
|
77
|
+
/**
|
|
78
|
+
* Optional field to enter your own account number.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof CreateAccountRequestDto
|
|
81
|
+
*/
|
|
82
|
+
'accountNumber'?: string;
|
|
83
|
+
/**
|
|
84
|
+
* Optional field to enter extra information.
|
|
85
|
+
* @type {object}
|
|
86
|
+
* @memberof CreateAccountRequestDto
|
|
87
|
+
*/
|
|
88
|
+
'metadata'?: object;
|
|
89
|
+
/**
|
|
90
|
+
* Optional field to add predefined custom fields.
|
|
91
|
+
* @type {object}
|
|
92
|
+
* @memberof CreateAccountRequestDto
|
|
93
|
+
*/
|
|
94
|
+
'customFields'?: object;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export const CreateAccountRequestDtoGenderEnum = {
|
|
98
|
+
Male: 'male',
|
|
99
|
+
Female: 'female',
|
|
100
|
+
Unspecified: 'unspecified'
|
|
101
|
+
} as const;
|
|
102
|
+
|
|
103
|
+
export type CreateAccountRequestDtoGenderEnum = typeof CreateAccountRequestDtoGenderEnum[keyof typeof CreateAccountRequestDtoGenderEnum];
|
|
104
|
+
|
|
105
|
+
|
|
@@ -0,0 +1,114 @@
|
|
|
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 CreateCustomerClaimRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateCustomerClaimRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Field to enter the claim title.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateCustomerClaimRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'title': string;
|
|
29
|
+
/**
|
|
30
|
+
* Field for the policy number that the claim belongs to.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateCustomerClaimRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'policyNumber': string;
|
|
35
|
+
/**
|
|
36
|
+
* Field for the policy code that the claim belongs to.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreateCustomerClaimRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'policyCode': string;
|
|
41
|
+
/**
|
|
42
|
+
* Unique identifier of the product that the claim is made against
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof CreateCustomerClaimRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'productId': number;
|
|
47
|
+
/**
|
|
48
|
+
* Unique identifier for the specific version of the product
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof CreateCustomerClaimRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'productVersionId': number;
|
|
53
|
+
/**
|
|
54
|
+
* The name of the product
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CreateCustomerClaimRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'productName': string;
|
|
59
|
+
/**
|
|
60
|
+
* The unique identifier of the insured object that the claim is made for
|
|
61
|
+
* @type {number}
|
|
62
|
+
* @memberof CreateCustomerClaimRequestDto
|
|
63
|
+
*/
|
|
64
|
+
'insuredObjectId': number;
|
|
65
|
+
/**
|
|
66
|
+
* The claim\'s description in 5000 characters.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof CreateCustomerClaimRequestDto
|
|
69
|
+
*/
|
|
70
|
+
'description': string;
|
|
71
|
+
/**
|
|
72
|
+
* 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.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof CreateCustomerClaimRequestDto
|
|
75
|
+
*/
|
|
76
|
+
'adjuster'?: string;
|
|
77
|
+
/**
|
|
78
|
+
* A claim reporter is responsible for submitting this claim to the platform. A claim reporter is not necessarily the same as the policy holder.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof CreateCustomerClaimRequestDto
|
|
81
|
+
*/
|
|
82
|
+
'reporter': string;
|
|
83
|
+
/**
|
|
84
|
+
* The contact email of the policyholder.
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof CreateCustomerClaimRequestDto
|
|
87
|
+
*/
|
|
88
|
+
'contactEmail'?: string;
|
|
89
|
+
/**
|
|
90
|
+
* The contact phone of the policyholder.
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof CreateCustomerClaimRequestDto
|
|
93
|
+
*/
|
|
94
|
+
'contactPhone'?: string;
|
|
95
|
+
/**
|
|
96
|
+
* The claim\'s damage date.
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof CreateCustomerClaimRequestDto
|
|
99
|
+
*/
|
|
100
|
+
'damageDate': string;
|
|
101
|
+
/**
|
|
102
|
+
* The date on which the claim is reported
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof CreateCustomerClaimRequestDto
|
|
105
|
+
*/
|
|
106
|
+
'notificationDate': string;
|
|
107
|
+
/**
|
|
108
|
+
* Tenant specific custom fields for claims (e.g. IMEI, Serial Number, etc.)
|
|
109
|
+
* @type {object}
|
|
110
|
+
* @memberof CreateCustomerClaimRequestDto
|
|
111
|
+
*/
|
|
112
|
+
'customFields'?: object;
|
|
113
|
+
}
|
|
114
|
+
|
|
@@ -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 { CreateAccountRequestDto } from './create-account-request-dto';
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
*
|
|
@@ -38,5 +39,11 @@ export interface CreateCustomerRequestDto {
|
|
|
38
39
|
* @memberof CreateCustomerRequestDto
|
|
39
40
|
*/
|
|
40
41
|
'isEulaAccepted': boolean;
|
|
42
|
+
/**
|
|
43
|
+
* If the account does not exist yet, it will be created in the database.
|
|
44
|
+
* @type {CreateAccountRequestDto}
|
|
45
|
+
* @memberof CreateCustomerRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'account'?: CreateAccountRequestDto;
|
|
41
48
|
}
|
|
42
49
|
|
|
@@ -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 CreatePresignedPostResponseClass
|
|
21
|
+
*/
|
|
22
|
+
export interface CreatePresignedPostResponseClass {
|
|
23
|
+
/**
|
|
24
|
+
* Upload document fields.
|
|
25
|
+
* @type {object}
|
|
26
|
+
* @memberof CreatePresignedPostResponseClass
|
|
27
|
+
*/
|
|
28
|
+
'fields': object;
|
|
29
|
+
/**
|
|
30
|
+
* Pre-signed Url.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreatePresignedPostResponseClass
|
|
33
|
+
*/
|
|
34
|
+
'url': string;
|
|
35
|
+
}
|
|
36
|
+
|
package/models/customer-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
|
|
@@ -26,7 +26,7 @@ export interface CustomerClass {
|
|
|
26
26
|
* @type {AccountClass}
|
|
27
27
|
* @memberof CustomerClass
|
|
28
28
|
*/
|
|
29
|
-
'account'
|
|
29
|
+
'account'?: AccountClass;
|
|
30
30
|
/**
|
|
31
31
|
* Unique identifier for the object.
|
|
32
32
|
* @type {string}
|
|
@@ -57,6 +57,12 @@ export interface CustomerClass {
|
|
|
57
57
|
* @memberof CustomerClass
|
|
58
58
|
*/
|
|
59
59
|
'tenantSlug': string;
|
|
60
|
+
/**
|
|
61
|
+
* Unique customer number
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof CustomerClass
|
|
64
|
+
*/
|
|
65
|
+
'customerNumber': string;
|
|
60
66
|
/**
|
|
61
67
|
* Time at which the object was created.
|
|
62
68
|
* @type {string}
|
|
@@ -0,0 +1,60 @@
|
|
|
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 CustomerProductClass
|
|
21
|
+
*/
|
|
22
|
+
export interface CustomerProductClass {
|
|
23
|
+
/**
|
|
24
|
+
* Product code
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CustomerProductClass
|
|
27
|
+
*/
|
|
28
|
+
'code': string;
|
|
29
|
+
/**
|
|
30
|
+
* Product\'s name
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CustomerProductClass
|
|
33
|
+
*/
|
|
34
|
+
'name': string;
|
|
35
|
+
/**
|
|
36
|
+
* Product\'s slug
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CustomerProductClass
|
|
39
|
+
*/
|
|
40
|
+
'slug': string;
|
|
41
|
+
/**
|
|
42
|
+
* Contract duration in days
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof CustomerProductClass
|
|
45
|
+
*/
|
|
46
|
+
'contractDurationDays': number;
|
|
47
|
+
/**
|
|
48
|
+
* Date created
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CustomerProductClass
|
|
51
|
+
*/
|
|
52
|
+
'createdAt': string;
|
|
53
|
+
/**
|
|
54
|
+
* Date updated
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CustomerProductClass
|
|
57
|
+
*/
|
|
58
|
+
'updatedAt': string;
|
|
59
|
+
}
|
|
60
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { CustomerProductClass } from './customer-product-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetProductResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetProductResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Product
|
|
26
|
+
* @type {CustomerProductClass}
|
|
27
|
+
* @memberof GetProductResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'product': CustomerProductClass;
|
|
30
|
+
}
|
|
31
|
+
|
package/models/index.ts
CHANGED
|
@@ -1,16 +1,28 @@
|
|
|
1
1
|
export * from './account-class';
|
|
2
2
|
export * from './account-policy-class';
|
|
3
3
|
export * from './authentication-result-class';
|
|
4
|
+
export * from './complete-braintree-payment-setup-request-dto';
|
|
5
|
+
export * from './complete-payment-setup-psp-request';
|
|
6
|
+
export * from './complete-payment-setup-response-class';
|
|
7
|
+
export * from './complete-stripe-payment-setup-request-dto';
|
|
8
|
+
export * from './create-account-request-dto';
|
|
9
|
+
export * from './create-customer-claim-request-dto';
|
|
4
10
|
export * from './create-customer-request-dto';
|
|
5
11
|
export * from './create-customer-response-class';
|
|
12
|
+
export * from './create-presigned-post-response-class';
|
|
6
13
|
export * from './customer-class';
|
|
7
14
|
export * from './customer-document-class';
|
|
15
|
+
export * from './customer-product-class';
|
|
8
16
|
export * from './forgot-password-request-dto';
|
|
9
17
|
export * from './get-customer-document-download-url-response-class';
|
|
10
18
|
export * from './get-customer-response-class';
|
|
11
19
|
export * from './get-policy-response-class';
|
|
20
|
+
export * from './get-product-response-class';
|
|
12
21
|
export * from './initiate-auth-request-dto';
|
|
13
22
|
export * from './initiate-auth-response-class';
|
|
23
|
+
export * from './initiate-braintree-payment-setup-response-class';
|
|
24
|
+
export * from './initiate-payment-setup-response-class';
|
|
25
|
+
export * from './initiate-stripe-payment-setup-response-class';
|
|
14
26
|
export * from './invite-by-customer-request-dto';
|
|
15
27
|
export * from './invite-by-customer-response-class';
|
|
16
28
|
export * from './invite-by-tenant-response-class';
|
|
@@ -36,7 +48,10 @@ export * from './terminate-customer-policy-request-dto';
|
|
|
36
48
|
export * from './terminate-customer-policy-response-class';
|
|
37
49
|
export * from './timeslice-class';
|
|
38
50
|
export * from './update-account-request-dto';
|
|
51
|
+
export * from './update-customer-claim-request-dto';
|
|
39
52
|
export * from './update-customer-request-dto';
|
|
40
53
|
export * from './update-customer-response-class';
|
|
54
|
+
export * from './upload-customer-claim-documents-request-dto';
|
|
55
|
+
export * from './upload-customer-policy-documents-request-dto';
|
|
41
56
|
export * from './verify-customer-invite-response-class';
|
|
42
57
|
export * from './withdraw-customer-policy-response-class';
|
|
@@ -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 InitiateBraintreePaymentSetupResponseClass
|
|
21
|
+
*/
|
|
22
|
+
export interface InitiateBraintreePaymentSetupResponseClass {
|
|
23
|
+
/**
|
|
24
|
+
* Identifier used by the PSP to create a payment method.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof InitiateBraintreePaymentSetupResponseClass
|
|
27
|
+
*/
|
|
28
|
+
'pspSecretToken': string;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -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 { InitiateBraintreePaymentSetupResponseClass } from './initiate-braintree-payment-setup-response-class';
|
|
17
|
+
import { InitiateStripePaymentSetupResponseClass } from './initiate-stripe-payment-setup-response-class';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface InitiatePaymentSetupResponseClass
|
|
23
|
+
*/
|
|
24
|
+
export interface InitiatePaymentSetupResponseClass {
|
|
25
|
+
/**
|
|
26
|
+
* The stripe response after creating the setup intent.
|
|
27
|
+
* @type {InitiateStripePaymentSetupResponseClass}
|
|
28
|
+
* @memberof InitiatePaymentSetupResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'stripe': InitiateStripePaymentSetupResponseClass;
|
|
31
|
+
/**
|
|
32
|
+
* Braintree response after generating client token.
|
|
33
|
+
* @type {InitiateBraintreePaymentSetupResponseClass}
|
|
34
|
+
* @memberof InitiatePaymentSetupResponseClass
|
|
35
|
+
*/
|
|
36
|
+
'braintree': InitiateBraintreePaymentSetupResponseClass;
|
|
37
|
+
}
|
|
38
|
+
|
|
@@ -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 InitiateStripePaymentSetupResponseClass
|
|
21
|
+
*/
|
|
22
|
+
export interface InitiateStripePaymentSetupResponseClass {
|
|
23
|
+
/**
|
|
24
|
+
* Identifier used by the payment service provider to create a payment method.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof InitiateStripePaymentSetupResponseClass
|
|
27
|
+
*/
|
|
28
|
+
'pspSecretToken': string;
|
|
29
|
+
/**
|
|
30
|
+
* Customer identifier for the payment service provider.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof InitiateStripePaymentSetupResponseClass
|
|
33
|
+
*/
|
|
34
|
+
'pspCustomerId': string;
|
|
35
|
+
}
|
|
36
|
+
|
package/models/invite-class.ts
CHANGED
package/models/invoice-class.ts
CHANGED