@emilgroup/customer-sdk-node 1.26.0 → 1.32.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/README.md +2 -2
- package/dist/api/authentication-api.d.ts +332 -0
- package/dist/api/authentication-api.js +604 -0
- package/dist/api/claims-api.d.ts +431 -0
- package/dist/api/claims-api.js +670 -0
- package/dist/api/customers-api.d.ts +271 -0
- package/dist/api/customers-api.js +425 -0
- package/dist/api/default-api.d.ts +66 -0
- package/dist/api/default-api.js +200 -0
- package/dist/api/documents-api.d.ts +262 -0
- package/dist/api/documents-api.js +417 -0
- package/dist/api/invites-api.d.ts +249 -0
- package/dist/api/invites-api.js +456 -0
- package/dist/api/invoices-api.d.ts +150 -0
- package/dist/api/invoices-api.js +253 -0
- package/dist/api/leads-api.d.ts +365 -0
- package/dist/api/leads-api.js +571 -0
- package/dist/api/payments-api.d.ts +162 -0
- package/dist/api/payments-api.js +306 -0
- 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 +22 -0
- package/dist/api.js +40 -0
- package/dist/base.d.ts +82 -0
- package/dist/base.js +502 -0
- package/dist/common.d.ts +66 -0
- package/dist/common.js +244 -0
- package/dist/configuration.d.ts +98 -0
- package/dist/configuration.js +45 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +36 -0
- package/dist/models/account-class.d.ts +169 -0
- package/dist/models/account-class.js +26 -0
- 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 +30 -0
- package/dist/models/authentication-result-class.js +15 -0
- package/dist/models/claim-class.d.ts +174 -0
- package/dist/models/claim-class.js +15 -0
- 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 +132 -0
- package/dist/models/create-account-request-dto.js +31 -0
- package/dist/models/create-bank-account-request-dto.d.ts +30 -0
- package/dist/models/create-bank-account-request-dto.js +15 -0
- package/dist/models/create-customer-claim-request-dto.d.ts +120 -0
- package/dist/models/create-customer-claim-request-dto.js +15 -0
- package/dist/models/create-customer-claim-response-class.d.ts +25 -0
- package/dist/models/create-customer-claim-response-class.js +15 -0
- package/dist/models/create-customer-request-dto.d.ts +43 -0
- package/dist/models/create-customer-request-dto.js +15 -0
- package/dist/models/create-customer-response-class.d.ts +25 -0
- package/dist/models/create-customer-response-class.js +15 -0
- package/dist/models/create-lead-request-dto.d.ts +83 -0
- package/dist/models/create-lead-request-dto.js +15 -0
- package/dist/models/create-lead-response-class.d.ts +25 -0
- package/dist/models/create-lead-response-class.js +15 -0
- package/dist/models/create-payment-method-request-dto.d.ts +31 -0
- package/dist/models/create-payment-method-request-dto.js +15 -0
- package/dist/models/create-policy-request-dto.d.ts +56 -0
- package/dist/models/create-policy-request-dto.js +15 -0
- 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 +73 -0
- package/dist/models/customer-class.js +15 -0
- package/dist/models/customer-document-class.d.ts +105 -0
- package/dist/models/customer-document-class.js +36 -0
- 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 +30 -0
- package/dist/models/forgot-password-request-dto.js +15 -0
- package/dist/models/get-customer-claim-response-class.d.ts +25 -0
- package/dist/models/get-customer-claim-response-class.js +15 -0
- package/dist/models/get-customer-document-download-url-response-class.d.ts +24 -0
- package/dist/models/get-customer-document-download-url-response-class.js +15 -0
- package/dist/models/get-customer-response-class.d.ts +25 -0
- package/dist/models/get-customer-response-class.js +15 -0
- package/dist/models/get-lead-response-class.d.ts +25 -0
- package/dist/models/get-lead-response-class.js +15 -0
- package/dist/models/get-policy-response-class.d.ts +25 -0
- package/dist/models/get-policy-response-class.js +15 -0
- package/dist/models/get-product-response-class.d.ts +25 -0
- package/dist/models/get-product-response-class.js +15 -0
- package/dist/models/grpc-update-lead-request-dto.d.ts +50 -0
- package/dist/models/grpc-update-lead-request-dto.js +15 -0
- package/dist/models/index.d.ts +85 -0
- package/dist/models/index.js +101 -0
- package/dist/models/initiate-auth-request-dto.d.ts +36 -0
- package/dist/models/initiate-auth-request-dto.js +15 -0
- package/dist/models/initiate-auth-response-class.d.ts +43 -0
- package/dist/models/initiate-auth-response-class.js +15 -0
- 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/inline-response200.d.ts +54 -0
- package/dist/models/inline-response200.js +15 -0
- package/dist/models/inline-response503.d.ts +54 -0
- package/dist/models/inline-response503.js +15 -0
- package/dist/models/invite-by-customer-request-dto.d.ts +30 -0
- package/dist/models/invite-by-customer-request-dto.js +15 -0
- package/dist/models/invite-by-customer-response-class.d.ts +25 -0
- package/dist/models/invite-by-customer-response-class.js +15 -0
- package/dist/models/invite-by-tenant-request-dto.d.ts +24 -0
- package/dist/models/invite-by-tenant-request-dto.js +15 -0
- package/dist/models/invite-by-tenant-response-class.d.ts +25 -0
- package/dist/models/invite-by-tenant-response-class.js +15 -0
- package/dist/models/invite-class.d.ts +54 -0
- package/dist/models/invite-class.js +15 -0
- package/dist/models/invoice-class.d.ts +148 -0
- package/dist/models/invoice-class.js +28 -0
- package/dist/models/lead-bank-account-class.d.ts +30 -0
- package/dist/models/lead-bank-account-class.js +15 -0
- package/dist/models/lead-class.d.ts +127 -0
- package/dist/models/lead-class.js +15 -0
- package/dist/models/list-customer-claims-response-class.d.ts +31 -0
- package/dist/models/list-customer-claims-response-class.js +15 -0
- package/dist/models/list-documents-response-class.d.ts +31 -0
- package/dist/models/list-documents-response-class.js +15 -0
- package/dist/models/list-invoices-response-class.d.ts +31 -0
- package/dist/models/list-invoices-response-class.js +15 -0
- package/dist/models/list-leads-response-class.d.ts +43 -0
- package/dist/models/list-leads-response-class.js +15 -0
- package/dist/models/list-policies-response-class.d.ts +43 -0
- package/dist/models/list-policies-response-class.js +15 -0
- package/dist/models/list-products-response-class.d.ts +31 -0
- package/dist/models/list-products-response-class.js +15 -0
- package/dist/models/policy-class.d.ts +80 -0
- package/dist/models/policy-class.js +15 -0
- package/dist/models/policy-object-class.d.ts +54 -0
- package/dist/models/policy-object-class.js +15 -0
- package/dist/models/policy-object-dto.d.ts +42 -0
- package/dist/models/policy-object-dto.js +15 -0
- package/dist/models/policy-premium-class.d.ts +43 -0
- package/dist/models/policy-premium-class.js +15 -0
- package/dist/models/policy-premium-item-class.d.ts +36 -0
- package/dist/models/policy-premium-item-class.js +15 -0
- package/dist/models/policy-version-class.d.ts +49 -0
- package/dist/models/policy-version-class.js +15 -0
- package/dist/models/premium-override-dto.d.ts +55 -0
- package/dist/models/premium-override-dto.js +27 -0
- package/dist/models/premium-override-request-class.d.ts +25 -0
- package/dist/models/premium-override-request-class.js +15 -0
- package/dist/models/premium-override-request-dto.d.ts +25 -0
- package/dist/models/premium-override-request-dto.js +15 -0
- package/dist/models/refresh-token-dto.d.ts +30 -0
- package/dist/models/refresh-token-dto.js +15 -0
- package/dist/models/request-policy-update-request-dto.d.ts +43 -0
- package/dist/models/request-policy-update-request-dto.js +15 -0
- package/dist/models/request-policy-update-response-class.d.ts +25 -0
- package/dist/models/request-policy-update-response-class.js +15 -0
- package/dist/models/reset-password-by-customer-request-dto.d.ts +36 -0
- package/dist/models/reset-password-by-customer-request-dto.js +15 -0
- package/dist/models/respond-to-auth-challenge-class.d.ts +43 -0
- package/dist/models/respond-to-auth-challenge-class.js +15 -0
- package/dist/models/respond-to-auth-challenge-request-dto.d.ts +42 -0
- package/dist/models/respond-to-auth-challenge-request-dto.js +15 -0
- package/dist/models/sepa-dto.d.ts +30 -0
- package/dist/models/sepa-dto.js +15 -0
- package/dist/models/shared-customer-policy-object-request-dto.d.ts +36 -0
- package/dist/models/shared-customer-policy-object-request-dto.js +15 -0
- package/dist/models/shared-invoice-item-class.d.ts +129 -0
- package/dist/models/shared-invoice-item-class.js +24 -0
- package/dist/models/shared-invoice-status-class.d.ts +47 -0
- package/dist/models/shared-invoice-status-class.js +20 -0
- package/dist/models/terminate-customer-policy-request-dto.d.ts +24 -0
- package/dist/models/terminate-customer-policy-request-dto.js +15 -0
- package/dist/models/terminate-customer-policy-response-class.d.ts +25 -0
- package/dist/models/terminate-customer-policy-response-class.js +15 -0
- package/dist/models/timeslice-class.d.ts +56 -0
- package/dist/models/timeslice-class.js +15 -0
- package/dist/models/update-account-request-dto.d.ts +113 -0
- package/dist/models/update-account-request-dto.js +25 -0
- 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-claim-response-class.d.ts +25 -0
- package/dist/models/update-customer-claim-response-class.js +15 -0
- package/dist/models/update-customer-request-dto.d.ts +31 -0
- package/dist/models/update-customer-request-dto.js +15 -0
- package/dist/models/update-customer-response-class.d.ts +25 -0
- package/dist/models/update-customer-response-class.js +15 -0
- package/dist/models/update-lead-request-dto.d.ts +44 -0
- package/dist/models/update-lead-request-dto.js +15 -0
- package/dist/models/update-lead-response-class.d.ts +25 -0
- package/dist/models/update-lead-response-class.js +15 -0
- 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/uploaded-document-dto.d.ts +24 -0
- package/dist/models/uploaded-document-dto.js +15 -0
- package/dist/models/verify-customer-invite-response-class.d.ts +36 -0
- package/dist/models/verify-customer-invite-response-class.js +15 -0
- package/dist/models/withdraw-customer-policy-response-class.d.ts +25 -0
- package/dist/models/withdraw-customer-policy-response-class.js +15 -0
- package/models/claim-class.ts +13 -1
- package/models/create-customer-claim-request-dto.ts +8 -2
- package/models/customer-document-class.ts +6 -0
- package/models/update-customer-claim-request-dto.ts +8 -2
- package/package.json +1 -1
|
@@ -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 InviteClass
|
|
16
|
+
*/
|
|
17
|
+
export interface InviteClass {
|
|
18
|
+
/**
|
|
19
|
+
* Invite id
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof InviteClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Email address of the customer
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof InviteClass
|
|
28
|
+
*/
|
|
29
|
+
'email': string;
|
|
30
|
+
/**
|
|
31
|
+
* Account code
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof InviteClass
|
|
34
|
+
*/
|
|
35
|
+
'accountCode': string;
|
|
36
|
+
/**
|
|
37
|
+
* Expiry date
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof InviteClass
|
|
40
|
+
*/
|
|
41
|
+
'expiresOn': string;
|
|
42
|
+
/**
|
|
43
|
+
* Date created
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof InviteClass
|
|
46
|
+
*/
|
|
47
|
+
'createdAt': string;
|
|
48
|
+
/**
|
|
49
|
+
* Date updated
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof InviteClass
|
|
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,148 @@
|
|
|
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
|
+
import { SharedInvoiceItemClass } from './shared-invoice-item-class';
|
|
13
|
+
import { SharedInvoiceStatusClass } from './shared-invoice-status-class';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface InvoiceClass
|
|
18
|
+
*/
|
|
19
|
+
export interface InvoiceClass {
|
|
20
|
+
/**
|
|
21
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof InvoiceClass
|
|
24
|
+
*/
|
|
25
|
+
'id': number;
|
|
26
|
+
/**
|
|
27
|
+
* Unique identifier of the policy that this object belongs to.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof InvoiceClass
|
|
30
|
+
*/
|
|
31
|
+
'policyCode': string;
|
|
32
|
+
/**
|
|
33
|
+
* Account number.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof InvoiceClass
|
|
36
|
+
*/
|
|
37
|
+
'accountNumber': string;
|
|
38
|
+
/**
|
|
39
|
+
* Unique identifier for the object.
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof InvoiceClass
|
|
42
|
+
*/
|
|
43
|
+
'code': string;
|
|
44
|
+
/**
|
|
45
|
+
* Invoice type.
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof InvoiceClass
|
|
48
|
+
*/
|
|
49
|
+
'type': InvoiceClassTypeEnum;
|
|
50
|
+
/**
|
|
51
|
+
* Invoice number.
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof InvoiceClass
|
|
54
|
+
*/
|
|
55
|
+
'invoiceNumber': string;
|
|
56
|
+
/**
|
|
57
|
+
* Net amount is in cents.
|
|
58
|
+
* @type {number}
|
|
59
|
+
* @memberof InvoiceClass
|
|
60
|
+
*/
|
|
61
|
+
'netAmount': number;
|
|
62
|
+
/**
|
|
63
|
+
* Tax amount is in cents.
|
|
64
|
+
* @type {number}
|
|
65
|
+
* @memberof InvoiceClass
|
|
66
|
+
*/
|
|
67
|
+
'taxAmount': number;
|
|
68
|
+
/**
|
|
69
|
+
* Credit amount.
|
|
70
|
+
* @type {number}
|
|
71
|
+
* @memberof InvoiceClass
|
|
72
|
+
*/
|
|
73
|
+
'creditAmount': number;
|
|
74
|
+
/**
|
|
75
|
+
* Gross amount. This property is sum of taxAmount and netAmount.
|
|
76
|
+
* @type {number}
|
|
77
|
+
* @memberof InvoiceClass
|
|
78
|
+
*/
|
|
79
|
+
'grossAmount': number;
|
|
80
|
+
/**
|
|
81
|
+
* Invoice status.
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof InvoiceClass
|
|
84
|
+
*/
|
|
85
|
+
'status': InvoiceClassStatusEnum;
|
|
86
|
+
/**
|
|
87
|
+
* Invoice due date.
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof InvoiceClass
|
|
90
|
+
*/
|
|
91
|
+
'dueDate': string;
|
|
92
|
+
/**
|
|
93
|
+
* Metadata contains extra information that the object would need for specific cases.
|
|
94
|
+
* @type {object}
|
|
95
|
+
* @memberof InvoiceClass
|
|
96
|
+
*/
|
|
97
|
+
'metadata': object;
|
|
98
|
+
/**
|
|
99
|
+
* Start date of billing interval.
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof InvoiceClass
|
|
102
|
+
*/
|
|
103
|
+
'billingIntervalFrom': string;
|
|
104
|
+
/**
|
|
105
|
+
* End date of billing interval.
|
|
106
|
+
* @type {string}
|
|
107
|
+
* @memberof InvoiceClass
|
|
108
|
+
*/
|
|
109
|
+
'billingIntervalTo': string;
|
|
110
|
+
/**
|
|
111
|
+
* Time at which the object was created.
|
|
112
|
+
* @type {string}
|
|
113
|
+
* @memberof InvoiceClass
|
|
114
|
+
*/
|
|
115
|
+
'createdAt': string;
|
|
116
|
+
/**
|
|
117
|
+
* Invoice items.
|
|
118
|
+
* @type {Array<SharedInvoiceItemClass>}
|
|
119
|
+
* @memberof InvoiceClass
|
|
120
|
+
*/
|
|
121
|
+
'invoiceItems': Array<SharedInvoiceItemClass>;
|
|
122
|
+
/**
|
|
123
|
+
* Invoice statuses.
|
|
124
|
+
* @type {Array<SharedInvoiceStatusClass>}
|
|
125
|
+
* @memberof InvoiceClass
|
|
126
|
+
*/
|
|
127
|
+
'statuses': Array<SharedInvoiceStatusClass>;
|
|
128
|
+
/**
|
|
129
|
+
* Invoice currency. EUR is used by default.
|
|
130
|
+
* @type {string}
|
|
131
|
+
* @memberof InvoiceClass
|
|
132
|
+
*/
|
|
133
|
+
'currency': string;
|
|
134
|
+
}
|
|
135
|
+
export declare const InvoiceClassTypeEnum: {
|
|
136
|
+
readonly Initial: "initial";
|
|
137
|
+
readonly Recurring: "recurring";
|
|
138
|
+
readonly Correction: "correction";
|
|
139
|
+
readonly Estimated: "estimated";
|
|
140
|
+
readonly Penalty: "penalty";
|
|
141
|
+
readonly Other: "other";
|
|
142
|
+
};
|
|
143
|
+
export type InvoiceClassTypeEnum = typeof InvoiceClassTypeEnum[keyof typeof InvoiceClassTypeEnum];
|
|
144
|
+
export declare const InvoiceClassStatusEnum: {
|
|
145
|
+
readonly Open: "open";
|
|
146
|
+
readonly Paid: "paid";
|
|
147
|
+
};
|
|
148
|
+
export type InvoiceClassStatusEnum = typeof InvoiceClassStatusEnum[keyof typeof InvoiceClassStatusEnum];
|
|
@@ -0,0 +1,28 @@
|
|
|
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.InvoiceClassStatusEnum = exports.InvoiceClassTypeEnum = void 0;
|
|
17
|
+
exports.InvoiceClassTypeEnum = {
|
|
18
|
+
Initial: 'initial',
|
|
19
|
+
Recurring: 'recurring',
|
|
20
|
+
Correction: 'correction',
|
|
21
|
+
Estimated: 'estimated',
|
|
22
|
+
Penalty: 'penalty',
|
|
23
|
+
Other: 'other'
|
|
24
|
+
};
|
|
25
|
+
exports.InvoiceClassStatusEnum = {
|
|
26
|
+
Open: 'open',
|
|
27
|
+
Paid: 'paid'
|
|
28
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
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 LeadBankAccountClass
|
|
16
|
+
*/
|
|
17
|
+
export interface LeadBankAccountClass {
|
|
18
|
+
/**
|
|
19
|
+
* Account code place-holder.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof LeadBankAccountClass
|
|
22
|
+
*/
|
|
23
|
+
'accountCode': string;
|
|
24
|
+
/**
|
|
25
|
+
* Bank account IBAN.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof LeadBankAccountClass
|
|
28
|
+
*/
|
|
29
|
+
'iban': string;
|
|
30
|
+
}
|
|
@@ -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,127 @@
|
|
|
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
|
+
import { CreateAccountRequestDto } from './create-account-request-dto';
|
|
13
|
+
import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
|
|
14
|
+
import { CreatePolicyRequestDto } from './create-policy-request-dto';
|
|
15
|
+
import { InvoiceClass } from './invoice-class';
|
|
16
|
+
import { LeadBankAccountClass } from './lead-bank-account-class';
|
|
17
|
+
import { PremiumOverrideRequestClass } from './premium-override-request-class';
|
|
18
|
+
import { UploadedDocumentDto } from './uploaded-document-dto';
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface LeadClass
|
|
23
|
+
*/
|
|
24
|
+
export interface LeadClass {
|
|
25
|
+
/**
|
|
26
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof LeadClass
|
|
29
|
+
*/
|
|
30
|
+
'id': number;
|
|
31
|
+
/**
|
|
32
|
+
* Unique identifier for the object.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof LeadClass
|
|
35
|
+
*/
|
|
36
|
+
'code'?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Lead status.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof LeadClass
|
|
41
|
+
*/
|
|
42
|
+
'status': string;
|
|
43
|
+
/**
|
|
44
|
+
* Account code.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof LeadClass
|
|
47
|
+
*/
|
|
48
|
+
'accountCode'?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Lead account.
|
|
51
|
+
* @type {CreateAccountRequestDto}
|
|
52
|
+
* @memberof LeadClass
|
|
53
|
+
*/
|
|
54
|
+
'account': CreateAccountRequestDto;
|
|
55
|
+
/**
|
|
56
|
+
* Lead policy.
|
|
57
|
+
* @type {CreatePolicyRequestDto}
|
|
58
|
+
* @memberof LeadClass
|
|
59
|
+
*/
|
|
60
|
+
'policy': CreatePolicyRequestDto;
|
|
61
|
+
/**
|
|
62
|
+
* Lead bank account.
|
|
63
|
+
* @type {LeadBankAccountClass}
|
|
64
|
+
* @memberof LeadClass
|
|
65
|
+
*/
|
|
66
|
+
'bankAccount'?: LeadBankAccountClass;
|
|
67
|
+
/**
|
|
68
|
+
* Custom data for custom application creation.
|
|
69
|
+
* @type {object}
|
|
70
|
+
* @memberof LeadClass
|
|
71
|
+
*/
|
|
72
|
+
'customData'?: object;
|
|
73
|
+
/**
|
|
74
|
+
* List of uploaded document codes.
|
|
75
|
+
* @type {UploadedDocumentDto}
|
|
76
|
+
* @memberof LeadClass
|
|
77
|
+
*/
|
|
78
|
+
'uploadedDocument'?: UploadedDocumentDto;
|
|
79
|
+
/**
|
|
80
|
+
* Override for premium calculation. Leave null for default calculation.
|
|
81
|
+
* @type {PremiumOverrideRequestClass}
|
|
82
|
+
* @memberof LeadClass
|
|
83
|
+
*/
|
|
84
|
+
'premiumOverride'?: PremiumOverrideRequestClass;
|
|
85
|
+
/**
|
|
86
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof LeadClass
|
|
89
|
+
*/
|
|
90
|
+
'productSlug'?: string;
|
|
91
|
+
/**
|
|
92
|
+
* Emil Resources Names (ERN) identifies the most specific owner of a resource.
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof LeadClass
|
|
95
|
+
*/
|
|
96
|
+
'ern': string;
|
|
97
|
+
/**
|
|
98
|
+
* Quote or price details.
|
|
99
|
+
* @type {InvoiceClass}
|
|
100
|
+
* @memberof LeadClass
|
|
101
|
+
*/
|
|
102
|
+
'quote': InvoiceClass;
|
|
103
|
+
/**
|
|
104
|
+
* Payment method. When a payment method is provided, it needs to be handled in the workflow based on its type.
|
|
105
|
+
* @type {CreatePaymentMethodRequestDto}
|
|
106
|
+
* @memberof LeadClass
|
|
107
|
+
*/
|
|
108
|
+
'paymentMethod': CreatePaymentMethodRequestDto;
|
|
109
|
+
/**
|
|
110
|
+
* Time at which the object was created.
|
|
111
|
+
* @type {string}
|
|
112
|
+
* @memberof LeadClass
|
|
113
|
+
*/
|
|
114
|
+
'createdAt': string;
|
|
115
|
+
/**
|
|
116
|
+
* Time at which the object was updated.
|
|
117
|
+
* @type {string}
|
|
118
|
+
* @memberof LeadClass
|
|
119
|
+
*/
|
|
120
|
+
'updatedAt': string;
|
|
121
|
+
/**
|
|
122
|
+
* Organization name.
|
|
123
|
+
* @type {string}
|
|
124
|
+
* @memberof LeadClass
|
|
125
|
+
*/
|
|
126
|
+
'organizationName'?: string;
|
|
127
|
+
}
|
|
@@ -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,31 @@
|
|
|
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
|
+
import { ClaimClass } from './claim-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListCustomerClaimsResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ListCustomerClaimsResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* Claims list items
|
|
21
|
+
* @type {Array<ClaimClass>}
|
|
22
|
+
* @memberof ListCustomerClaimsResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': Array<ClaimClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Next page token
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListCustomerClaimsResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'nextPageToken': string;
|
|
31
|
+
}
|
|
@@ -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,31 @@
|
|
|
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
|
+
import { CustomerDocumentClass } from './customer-document-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListDocumentsResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ListDocumentsResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* documents list items
|
|
21
|
+
* @type {Array<CustomerDocumentClass>}
|
|
22
|
+
* @memberof ListDocumentsResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': Array<CustomerDocumentClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Next page token
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListDocumentsResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'nextPageToken': string;
|
|
31
|
+
}
|
|
@@ -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,31 @@
|
|
|
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
|
+
import { InvoiceClass } from './invoice-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListInvoicesResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ListInvoicesResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* Invoices list items
|
|
21
|
+
* @type {Array<InvoiceClass>}
|
|
22
|
+
* @memberof ListInvoicesResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': Array<InvoiceClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Next page token
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListInvoicesResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'nextPageToken': string;
|
|
31
|
+
}
|
|
@@ -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,43 @@
|
|
|
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
|
+
import { LeadClass } from './lead-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListLeadsResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ListLeadsResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* Leads
|
|
21
|
+
* @type {Array<LeadClass>}
|
|
22
|
+
* @memberof ListLeadsResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': Array<LeadClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Next page token.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListLeadsResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'nextPageToken': string;
|
|
31
|
+
/**
|
|
32
|
+
* Items per page.
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ListLeadsResponseClass
|
|
35
|
+
*/
|
|
36
|
+
'itemsPerPage': number;
|
|
37
|
+
/**
|
|
38
|
+
* Total amount of items.
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ListLeadsResponseClass
|
|
41
|
+
*/
|
|
42
|
+
'totalItems': number;
|
|
43
|
+
}
|
|
@@ -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,43 @@
|
|
|
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
|
+
import { PolicyClass } from './policy-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListPoliciesResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ListPoliciesResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* Policies
|
|
21
|
+
* @type {Array<PolicyClass>}
|
|
22
|
+
* @memberof ListPoliciesResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': Array<PolicyClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Next page token
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListPoliciesResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'nextPageToken': string;
|
|
31
|
+
/**
|
|
32
|
+
* Items per page.
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ListPoliciesResponseClass
|
|
35
|
+
*/
|
|
36
|
+
'itemsPerPage': number;
|
|
37
|
+
/**
|
|
38
|
+
* Total amount of items.
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ListPoliciesResponseClass
|
|
41
|
+
*/
|
|
42
|
+
'totalItems': number;
|
|
43
|
+
}
|