@emilgroup/customer-sdk-node 1.6.1 → 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 +17 -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 +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/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 +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 +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 +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-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 +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/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 +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 +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 +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-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
|
@@ -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
|
|
@@ -127,9 +127,9 @@ export declare const InvoiceClassTypeEnum: {
|
|
|
127
127
|
readonly Penalty: "penalty";
|
|
128
128
|
readonly Other: "other";
|
|
129
129
|
};
|
|
130
|
-
export
|
|
130
|
+
export type InvoiceClassTypeEnum = typeof InvoiceClassTypeEnum[keyof typeof InvoiceClassTypeEnum];
|
|
131
131
|
export declare const InvoiceClassStatusEnum: {
|
|
132
132
|
readonly Open: "open";
|
|
133
133
|
readonly Paid: "paid";
|
|
134
134
|
};
|
|
135
|
-
export
|
|
135
|
+
export type InvoiceClassStatusEnum = typeof InvoiceClassStatusEnum[keyof typeof InvoiceClassStatusEnum];
|
|
@@ -3,13 +3,14 @@
|
|
|
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
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { PolicyVersionClass } from './policy-version-class';
|
|
13
|
+
import { ToGrpcCustomerProductClass } from './to-grpc-customer-product-class';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -40,6 +41,12 @@ export interface PolicyClass {
|
|
|
40
41
|
* @memberof PolicyClass
|
|
41
42
|
*/
|
|
42
43
|
'versions': Array<PolicyVersionClass>;
|
|
44
|
+
/**
|
|
45
|
+
* Product details
|
|
46
|
+
* @type {ToGrpcCustomerProductClass}
|
|
47
|
+
* @memberof PolicyClass
|
|
48
|
+
*/
|
|
49
|
+
'product'?: ToGrpcCustomerProductClass;
|
|
43
50
|
/**
|
|
44
51
|
* Date created
|
|
45
52
|
* @type {string}
|
|
@@ -52,4 +59,10 @@ export interface PolicyClass {
|
|
|
52
59
|
* @memberof PolicyClass
|
|
53
60
|
*/
|
|
54
61
|
'updatedAt': string;
|
|
62
|
+
/**
|
|
63
|
+
* Policy status
|
|
64
|
+
* @type {number}
|
|
65
|
+
* @memberof PolicyClass
|
|
66
|
+
*/
|
|
67
|
+
'status': number;
|
|
55
68
|
}
|
|
@@ -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 SharedCustomerProductClass
|
|
16
|
+
*/
|
|
17
|
+
export interface SharedCustomerProductClass {
|
|
18
|
+
/**
|
|
19
|
+
* Product code
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SharedCustomerProductClass
|
|
22
|
+
*/
|
|
23
|
+
'code': string;
|
|
24
|
+
/**
|
|
25
|
+
* Product\'s name
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SharedCustomerProductClass
|
|
28
|
+
*/
|
|
29
|
+
'name': string;
|
|
30
|
+
/**
|
|
31
|
+
* Product\'s slug
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SharedCustomerProductClass
|
|
34
|
+
*/
|
|
35
|
+
'slug': string;
|
|
36
|
+
/**
|
|
37
|
+
* Contract duration in days
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof SharedCustomerProductClass
|
|
40
|
+
*/
|
|
41
|
+
'contractDurationDays': number;
|
|
42
|
+
/**
|
|
43
|
+
* Date created
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SharedCustomerProductClass
|
|
46
|
+
*/
|
|
47
|
+
'createdAt': string;
|
|
48
|
+
/**
|
|
49
|
+
* Date updated
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof SharedCustomerProductClass
|
|
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 });
|
|
@@ -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
|
+
}
|