@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
package/models/policy-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
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
import { PolicyVersionClass } from './policy-version-class';
|
|
17
|
+
import { ToGrpcCustomerProductClass } from './to-grpc-customer-product-class';
|
|
17
18
|
|
|
18
19
|
/**
|
|
19
20
|
*
|
|
@@ -45,6 +46,12 @@ export interface PolicyClass {
|
|
|
45
46
|
* @memberof PolicyClass
|
|
46
47
|
*/
|
|
47
48
|
'versions': Array<PolicyVersionClass>;
|
|
49
|
+
/**
|
|
50
|
+
* Product details
|
|
51
|
+
* @type {ToGrpcCustomerProductClass}
|
|
52
|
+
* @memberof PolicyClass
|
|
53
|
+
*/
|
|
54
|
+
'product'?: ToGrpcCustomerProductClass;
|
|
48
55
|
/**
|
|
49
56
|
* Date created
|
|
50
57
|
* @type {string}
|
|
@@ -57,5 +64,11 @@ export interface PolicyClass {
|
|
|
57
64
|
* @memberof PolicyClass
|
|
58
65
|
*/
|
|
59
66
|
'updatedAt': string;
|
|
67
|
+
/**
|
|
68
|
+
* Policy status
|
|
69
|
+
* @type {number}
|
|
70
|
+
* @memberof PolicyClass
|
|
71
|
+
*/
|
|
72
|
+
'status': number;
|
|
60
73
|
}
|
|
61
74
|
|
|
@@ -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 { SharedCustomerPolicyObjectRequestDto } from './shared-customer-policy-object-request-dto';
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
*
|
|
@@ -28,10 +29,10 @@ export interface RequestPolicyUpdateRequestDto {
|
|
|
28
29
|
'code': string;
|
|
29
30
|
/**
|
|
30
31
|
* Policy objects
|
|
31
|
-
* @type {Array<
|
|
32
|
+
* @type {Array<SharedCustomerPolicyObjectRequestDto>}
|
|
32
33
|
* @memberof RequestPolicyUpdateRequestDto
|
|
33
34
|
*/
|
|
34
|
-
'policyObjects': Array<
|
|
35
|
+
'policyObjects': Array<SharedCustomerPolicyObjectRequestDto>;
|
|
35
36
|
/**
|
|
36
37
|
* Update from
|
|
37
38
|
* @type {string}
|
|
@@ -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 SharedCustomerPolicyObjectRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface SharedCustomerPolicyObjectRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Insured object name
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof SharedCustomerPolicyObjectRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'insuredObjectName': string;
|
|
29
|
+
/**
|
|
30
|
+
* Insured object data
|
|
31
|
+
* @type {object}
|
|
32
|
+
* @memberof SharedCustomerPolicyObjectRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'data': object;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -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 SharedCustomerProductClass
|
|
21
|
+
*/
|
|
22
|
+
export interface SharedCustomerProductClass {
|
|
23
|
+
/**
|
|
24
|
+
* Product code
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof SharedCustomerProductClass
|
|
27
|
+
*/
|
|
28
|
+
'code': string;
|
|
29
|
+
/**
|
|
30
|
+
* Product\'s name
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof SharedCustomerProductClass
|
|
33
|
+
*/
|
|
34
|
+
'name': string;
|
|
35
|
+
/**
|
|
36
|
+
* Product\'s slug
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof SharedCustomerProductClass
|
|
39
|
+
*/
|
|
40
|
+
'slug': string;
|
|
41
|
+
/**
|
|
42
|
+
* Contract duration in days
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof SharedCustomerProductClass
|
|
45
|
+
*/
|
|
46
|
+
'contractDurationDays': number;
|
|
47
|
+
/**
|
|
48
|
+
* Date created
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof SharedCustomerProductClass
|
|
51
|
+
*/
|
|
52
|
+
'createdAt': string;
|
|
53
|
+
/**
|
|
54
|
+
* Date updated
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof SharedCustomerProductClass
|
|
57
|
+
*/
|
|
58
|
+
'updatedAt': string;
|
|
59
|
+
}
|
|
60
|
+
|
|
@@ -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 ToGrpcCustomerProductClass
|
|
21
|
+
*/
|
|
22
|
+
export interface ToGrpcCustomerProductClass {
|
|
23
|
+
/**
|
|
24
|
+
* Product code
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof ToGrpcCustomerProductClass
|
|
27
|
+
*/
|
|
28
|
+
'code': string;
|
|
29
|
+
/**
|
|
30
|
+
* Product\'s name
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ToGrpcCustomerProductClass
|
|
33
|
+
*/
|
|
34
|
+
'name': string;
|
|
35
|
+
/**
|
|
36
|
+
* Product\'s slug
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof ToGrpcCustomerProductClass
|
|
39
|
+
*/
|
|
40
|
+
'slug': string;
|
|
41
|
+
/**
|
|
42
|
+
* Contract duration in days
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof ToGrpcCustomerProductClass
|
|
45
|
+
*/
|
|
46
|
+
'contractDurationDays': number;
|
|
47
|
+
/**
|
|
48
|
+
* Date created
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof ToGrpcCustomerProductClass
|
|
51
|
+
*/
|
|
52
|
+
'createdAt': string;
|
|
53
|
+
/**
|
|
54
|
+
* Date updated
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof ToGrpcCustomerProductClass
|
|
57
|
+
*/
|
|
58
|
+
'updatedAt': string;
|
|
59
|
+
}
|
|
60
|
+
|
|
@@ -0,0 +1,126 @@
|
|
|
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 UpdateCustomerClaimRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateCustomerClaimRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Field to enter the claim title.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof UpdateCustomerClaimRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'title': string;
|
|
29
|
+
/**
|
|
30
|
+
* Field for the policy number that the claim belongs to.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof UpdateCustomerClaimRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'policyNumber': string;
|
|
35
|
+
/**
|
|
36
|
+
* Field for the policy code that the claim belongs to.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof UpdateCustomerClaimRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'policyCode': string;
|
|
41
|
+
/**
|
|
42
|
+
* Unique identifier of the product that the claim is made against
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof UpdateCustomerClaimRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'productId': number;
|
|
47
|
+
/**
|
|
48
|
+
* Unique identifier for the specific version of the product
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof UpdateCustomerClaimRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'productVersionId': number;
|
|
53
|
+
/**
|
|
54
|
+
* The name of the product
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof UpdateCustomerClaimRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'productName': string;
|
|
59
|
+
/**
|
|
60
|
+
* The unique identifier of the insured object that the claim is made for
|
|
61
|
+
* @type {number}
|
|
62
|
+
* @memberof UpdateCustomerClaimRequestDto
|
|
63
|
+
*/
|
|
64
|
+
'insuredObjectId': number;
|
|
65
|
+
/**
|
|
66
|
+
* The claim\'s description in 5000 characters.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof UpdateCustomerClaimRequestDto
|
|
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 UpdateCustomerClaimRequestDto
|
|
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 UpdateCustomerClaimRequestDto
|
|
81
|
+
*/
|
|
82
|
+
'reporter': string;
|
|
83
|
+
/**
|
|
84
|
+
* The contact email of the policyholder.
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof UpdateCustomerClaimRequestDto
|
|
87
|
+
*/
|
|
88
|
+
'contactEmail'?: string;
|
|
89
|
+
/**
|
|
90
|
+
* The contact phone of the policyholder.
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof UpdateCustomerClaimRequestDto
|
|
93
|
+
*/
|
|
94
|
+
'contactPhone'?: string;
|
|
95
|
+
/**
|
|
96
|
+
* The claim\'s damage date.
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof UpdateCustomerClaimRequestDto
|
|
99
|
+
*/
|
|
100
|
+
'damageDate': string;
|
|
101
|
+
/**
|
|
102
|
+
* The date on which the claim is reported
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof UpdateCustomerClaimRequestDto
|
|
105
|
+
*/
|
|
106
|
+
'notificationDate': string;
|
|
107
|
+
/**
|
|
108
|
+
* Tenant specific custom fields for claims (e.g. IMEI, Serial Number, etc.)
|
|
109
|
+
* @type {object}
|
|
110
|
+
* @memberof UpdateCustomerClaimRequestDto
|
|
111
|
+
*/
|
|
112
|
+
'customFields'?: object;
|
|
113
|
+
/**
|
|
114
|
+
* The policyholder for whom the claim will be created
|
|
115
|
+
* @type {string}
|
|
116
|
+
* @memberof UpdateCustomerClaimRequestDto
|
|
117
|
+
*/
|
|
118
|
+
'customerCode'?: string;
|
|
119
|
+
/**
|
|
120
|
+
* The identifier code for the claim that will be updated
|
|
121
|
+
* @type {string}
|
|
122
|
+
* @memberof UpdateCustomerClaimRequestDto
|
|
123
|
+
*/
|
|
124
|
+
'code'?: string;
|
|
125
|
+
}
|
|
126
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
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 UploadCustomerClaimDocumentsRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface UploadCustomerClaimDocumentsRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Mime-Type of the file. Valid mime-types are: image/jpeg, image/png, application/pdf
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof UploadCustomerClaimDocumentsRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'contentType': string;
|
|
29
|
+
/**
|
|
30
|
+
* Name of the file.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof UploadCustomerClaimDocumentsRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'fileName': string;
|
|
35
|
+
/**
|
|
36
|
+
* Document description.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof UploadCustomerClaimDocumentsRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'description'?: string;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -0,0 +1,56 @@
|
|
|
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 UploadCustomerPolicyDocumentsRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface UploadCustomerPolicyDocumentsRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Mime-Type of the file. Valid mime-types are: image/jpeg, image/png, application/pdf
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof UploadCustomerPolicyDocumentsRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'contentType': string;
|
|
29
|
+
/**
|
|
30
|
+
* Name of the file.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof UploadCustomerPolicyDocumentsRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'fileName': string;
|
|
35
|
+
/**
|
|
36
|
+
* Describe the type of entity for the document. Allowed policy document type are: PolicyDocument
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof UploadCustomerPolicyDocumentsRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'entityType'?: UploadCustomerPolicyDocumentsRequestDtoEntityTypeEnum;
|
|
41
|
+
/**
|
|
42
|
+
* Document description.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof UploadCustomerPolicyDocumentsRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'description'?: string;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export const UploadCustomerPolicyDocumentsRequestDtoEntityTypeEnum = {
|
|
50
|
+
ClaimDocument: 'ClaimDocument',
|
|
51
|
+
PolicyDocument: 'PolicyDocument'
|
|
52
|
+
} as const;
|
|
53
|
+
|
|
54
|
+
export type UploadCustomerPolicyDocumentsRequestDtoEntityTypeEnum = typeof UploadCustomerPolicyDocumentsRequestDtoEntityTypeEnum[keyof typeof UploadCustomerPolicyDocumentsRequestDtoEntityTypeEnum];
|
|
55
|
+
|
|
56
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/customer-sdk-node",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0-beta.0",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/customer-sdk-node",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -18,8 +18,7 @@
|
|
|
18
18
|
"prepare": "npm run build"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"axios": "^0.
|
|
22
|
-
,
|
|
21
|
+
"axios": "^0.27.2",
|
|
23
22
|
"form-data": "^4.0.0",
|
|
24
23
|
"url": "^0.11.0"
|
|
25
24
|
},
|