@emilgroup/customer-sdk-node 1.18.0 → 1.20.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 +3 -1
- package/README.md +2 -2
- package/dist/models/claim-class.d.ts +12 -0
- package/dist/models/create-customer-claim-request-dto.d.ts +6 -0
- package/dist/models/create-lead-request-dto.d.ts +7 -0
- package/dist/models/create-payment-method-request-dto.d.ts +31 -0
- package/dist/models/grpc-update-lead-request-dto.d.ts +7 -0
- package/dist/models/index.d.ts +3 -1
- package/dist/models/index.js +3 -1
- package/dist/models/invoice-class.d.ts +32 -26
- package/dist/models/lead-class.d.ts +14 -0
- package/dist/models/premium-override-dto.d.ts +1 -0
- package/dist/models/premium-override-dto.js +1 -0
- package/dist/models/sepa-dto.d.ts +30 -0
- package/dist/models/sepa-dto.js +15 -0
- package/dist/models/shared-invoice-item-class.d.ts +46 -19
- package/dist/models/shared-invoice-item-class.js +9 -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/update-customer-claim-request-dto.d.ts +6 -6
- package/dist/models/update-lead-request-dto.d.ts +7 -0
- package/models/claim-class.ts +12 -0
- package/models/create-customer-claim-request-dto.ts +6 -0
- package/models/create-lead-request-dto.ts +7 -0
- package/models/create-payment-method-request-dto.ts +37 -0
- package/models/grpc-update-lead-request-dto.ts +7 -0
- package/models/index.ts +3 -1
- package/models/invoice-class.ts +32 -26
- package/models/lead-class.ts +14 -0
- package/models/premium-override-dto.ts +1 -0
- package/models/sepa-dto.ts +36 -0
- package/models/shared-invoice-item-class.ts +49 -19
- package/models/shared-invoice-status-class.ts +56 -0
- package/models/update-customer-claim-request-dto.ts +6 -6
- package/models/update-lead-request-dto.ts +7 -0
- package/package.json +2 -2
- package/dist/models/currency-class.d.ts +0 -48
- package/models/currency-class.ts +0 -54
- /package/dist/models/{currency-class.js → create-payment-method-request-dto.js} +0 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -34,9 +34,9 @@ models/create-customer-request-dto.ts
|
|
|
34
34
|
models/create-customer-response-class.ts
|
|
35
35
|
models/create-lead-request-dto.ts
|
|
36
36
|
models/create-lead-response-class.ts
|
|
37
|
+
models/create-payment-method-request-dto.ts
|
|
37
38
|
models/create-policy-request-dto.ts
|
|
38
39
|
models/create-presigned-post-response-class.ts
|
|
39
|
-
models/currency-class.ts
|
|
40
40
|
models/customer-class.ts
|
|
41
41
|
models/customer-document-class.ts
|
|
42
42
|
models/customer-product-class.ts
|
|
@@ -83,8 +83,10 @@ models/request-policy-update-response-class.ts
|
|
|
83
83
|
models/reset-password-by-customer-request-dto.ts
|
|
84
84
|
models/respond-to-auth-challenge-class.ts
|
|
85
85
|
models/respond-to-auth-challenge-request-dto.ts
|
|
86
|
+
models/sepa-dto.ts
|
|
86
87
|
models/shared-customer-policy-object-request-dto.ts
|
|
87
88
|
models/shared-invoice-item-class.ts
|
|
89
|
+
models/shared-invoice-status-class.ts
|
|
88
90
|
models/terminate-customer-policy-request-dto.ts
|
|
89
91
|
models/terminate-customer-policy-response-class.ts
|
|
90
92
|
models/timeslice-class.ts
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/customer-sdk-node@1.
|
|
20
|
+
npm install @emilgroup/customer-sdk-node@1.20.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/customer-sdk-node@1.
|
|
24
|
+
yarn add @emilgroup/customer-sdk-node@1.20.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `CustomersApi`.
|
|
@@ -33,6 +33,18 @@ export interface ClaimClass {
|
|
|
33
33
|
* @memberof ClaimClass
|
|
34
34
|
*/
|
|
35
35
|
'title': string;
|
|
36
|
+
/**
|
|
37
|
+
* Unique number assigned to the claim.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ClaimClass
|
|
40
|
+
*/
|
|
41
|
+
'claimNumber': string;
|
|
42
|
+
/**
|
|
43
|
+
* The current status of the claim.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ClaimClass
|
|
46
|
+
*/
|
|
47
|
+
'status': string;
|
|
36
48
|
/**
|
|
37
49
|
* Unique identifier of the account that the claim belongs to
|
|
38
50
|
* @type {string}
|
|
@@ -21,6 +21,12 @@ export interface CreateCustomerClaimRequestDto {
|
|
|
21
21
|
* @memberof CreateCustomerClaimRequestDto
|
|
22
22
|
*/
|
|
23
23
|
'title': string;
|
|
24
|
+
/**
|
|
25
|
+
* Unique number assigned to the claim.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateCustomerClaimRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'claimNumber'?: string;
|
|
24
30
|
/**
|
|
25
31
|
* Field for the policy number that the claim belongs to.
|
|
26
32
|
* @type {string}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
|
|
13
|
+
import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
|
|
13
14
|
import { PolicyObjectDto } from './policy-object-dto';
|
|
14
15
|
import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
15
16
|
import { UploadedDocumentDto } from './uploaded-document-dto';
|
|
@@ -73,4 +74,10 @@ export interface CreateLeadRequestDto {
|
|
|
73
74
|
* @memberof CreateLeadRequestDto
|
|
74
75
|
*/
|
|
75
76
|
'premiumOverride'?: PremiumOverrideRequestDto;
|
|
77
|
+
/**
|
|
78
|
+
* Payment method
|
|
79
|
+
* @type {CreatePaymentMethodRequestDto}
|
|
80
|
+
* @memberof CreateLeadRequestDto
|
|
81
|
+
*/
|
|
82
|
+
'paymentMethod': CreatePaymentMethodRequestDto;
|
|
76
83
|
}
|
|
@@ -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 { SepaDto } from './sepa-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreatePaymentMethodRequestDto
|
|
17
|
+
*/
|
|
18
|
+
export interface CreatePaymentMethodRequestDto {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof CreatePaymentMethodRequestDto
|
|
23
|
+
*/
|
|
24
|
+
'type': string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {SepaDto}
|
|
28
|
+
* @memberof CreatePaymentMethodRequestDto
|
|
29
|
+
*/
|
|
30
|
+
'sepa'?: SepaDto;
|
|
31
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
|
|
12
13
|
import { PolicyObjectDto } from './policy-object-dto';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
@@ -34,6 +35,12 @@ export interface GrpcUpdateLeadRequestDto {
|
|
|
34
35
|
* @memberof GrpcUpdateLeadRequestDto
|
|
35
36
|
*/
|
|
36
37
|
'status'?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Payment method
|
|
40
|
+
* @type {CreatePaymentMethodRequestDto}
|
|
41
|
+
* @memberof GrpcUpdateLeadRequestDto
|
|
42
|
+
*/
|
|
43
|
+
'paymentMethod': CreatePaymentMethodRequestDto;
|
|
37
44
|
/**
|
|
38
45
|
*
|
|
39
46
|
* @type {string}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -14,9 +14,9 @@ export * from './create-customer-request-dto';
|
|
|
14
14
|
export * from './create-customer-response-class';
|
|
15
15
|
export * from './create-lead-request-dto';
|
|
16
16
|
export * from './create-lead-response-class';
|
|
17
|
+
export * from './create-payment-method-request-dto';
|
|
17
18
|
export * from './create-policy-request-dto';
|
|
18
19
|
export * from './create-presigned-post-response-class';
|
|
19
|
-
export * from './currency-class';
|
|
20
20
|
export * from './customer-class';
|
|
21
21
|
export * from './customer-document-class';
|
|
22
22
|
export * from './customer-product-class';
|
|
@@ -62,8 +62,10 @@ export * from './request-policy-update-response-class';
|
|
|
62
62
|
export * from './reset-password-by-customer-request-dto';
|
|
63
63
|
export * from './respond-to-auth-challenge-class';
|
|
64
64
|
export * from './respond-to-auth-challenge-request-dto';
|
|
65
|
+
export * from './sepa-dto';
|
|
65
66
|
export * from './shared-customer-policy-object-request-dto';
|
|
66
67
|
export * from './shared-invoice-item-class';
|
|
68
|
+
export * from './shared-invoice-status-class';
|
|
67
69
|
export * from './terminate-customer-policy-request-dto';
|
|
68
70
|
export * from './terminate-customer-policy-response-class';
|
|
69
71
|
export * from './timeslice-class';
|
package/dist/models/index.js
CHANGED
|
@@ -30,9 +30,9 @@ __exportStar(require("./create-customer-request-dto"), exports);
|
|
|
30
30
|
__exportStar(require("./create-customer-response-class"), exports);
|
|
31
31
|
__exportStar(require("./create-lead-request-dto"), exports);
|
|
32
32
|
__exportStar(require("./create-lead-response-class"), exports);
|
|
33
|
+
__exportStar(require("./create-payment-method-request-dto"), exports);
|
|
33
34
|
__exportStar(require("./create-policy-request-dto"), exports);
|
|
34
35
|
__exportStar(require("./create-presigned-post-response-class"), exports);
|
|
35
|
-
__exportStar(require("./currency-class"), exports);
|
|
36
36
|
__exportStar(require("./customer-class"), exports);
|
|
37
37
|
__exportStar(require("./customer-document-class"), exports);
|
|
38
38
|
__exportStar(require("./customer-product-class"), exports);
|
|
@@ -78,8 +78,10 @@ __exportStar(require("./request-policy-update-response-class"), exports);
|
|
|
78
78
|
__exportStar(require("./reset-password-by-customer-request-dto"), exports);
|
|
79
79
|
__exportStar(require("./respond-to-auth-challenge-class"), exports);
|
|
80
80
|
__exportStar(require("./respond-to-auth-challenge-request-dto"), exports);
|
|
81
|
+
__exportStar(require("./sepa-dto"), exports);
|
|
81
82
|
__exportStar(require("./shared-customer-policy-object-request-dto"), exports);
|
|
82
83
|
__exportStar(require("./shared-invoice-item-class"), exports);
|
|
84
|
+
__exportStar(require("./shared-invoice-status-class"), exports);
|
|
83
85
|
__exportStar(require("./terminate-customer-policy-request-dto"), exports);
|
|
84
86
|
__exportStar(require("./terminate-customer-policy-response-class"), exports);
|
|
85
87
|
__exportStar(require("./timeslice-class"), exports);
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { CurrencyClass } from './currency-class';
|
|
13
12
|
import { SharedInvoiceItemClass } from './shared-invoice-item-class';
|
|
13
|
+
import { SharedInvoiceStatusClass } from './shared-invoice-status-class';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
@@ -18,113 +18,119 @@ import { SharedInvoiceItemClass } from './shared-invoice-item-class';
|
|
|
18
18
|
*/
|
|
19
19
|
export interface InvoiceClass {
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
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.
|
|
22
28
|
* @type {string}
|
|
23
29
|
* @memberof InvoiceClass
|
|
24
30
|
*/
|
|
25
31
|
'policyCode': string;
|
|
26
32
|
/**
|
|
27
|
-
* Account number
|
|
33
|
+
* Account number.
|
|
28
34
|
* @type {string}
|
|
29
35
|
* @memberof InvoiceClass
|
|
30
36
|
*/
|
|
31
37
|
'accountNumber': string;
|
|
32
38
|
/**
|
|
33
|
-
*
|
|
39
|
+
* Unique identifier for the object.
|
|
34
40
|
* @type {string}
|
|
35
41
|
* @memberof InvoiceClass
|
|
36
42
|
*/
|
|
37
43
|
'code': string;
|
|
38
44
|
/**
|
|
39
|
-
* Invoice type
|
|
45
|
+
* Invoice type.
|
|
40
46
|
* @type {string}
|
|
41
47
|
* @memberof InvoiceClass
|
|
42
48
|
*/
|
|
43
49
|
'type': InvoiceClassTypeEnum;
|
|
44
50
|
/**
|
|
45
|
-
* Invoice number
|
|
51
|
+
* Invoice number.
|
|
46
52
|
* @type {string}
|
|
47
53
|
* @memberof InvoiceClass
|
|
48
54
|
*/
|
|
49
55
|
'invoiceNumber': string;
|
|
50
56
|
/**
|
|
51
|
-
* Net amount
|
|
57
|
+
* Net amount is in cents.
|
|
52
58
|
* @type {number}
|
|
53
59
|
* @memberof InvoiceClass
|
|
54
60
|
*/
|
|
55
61
|
'netAmount': number;
|
|
56
62
|
/**
|
|
57
|
-
* Tax amount
|
|
63
|
+
* Tax amount is in cents.
|
|
58
64
|
* @type {number}
|
|
59
65
|
* @memberof InvoiceClass
|
|
60
66
|
*/
|
|
61
67
|
'taxAmount': number;
|
|
62
68
|
/**
|
|
63
|
-
* Credit amount
|
|
69
|
+
* Credit amount.
|
|
64
70
|
* @type {number}
|
|
65
71
|
* @memberof InvoiceClass
|
|
66
72
|
*/
|
|
67
73
|
'creditAmount': number;
|
|
68
74
|
/**
|
|
69
|
-
*
|
|
70
|
-
* @type {number}
|
|
71
|
-
* @memberof InvoiceClass
|
|
72
|
-
*/
|
|
73
|
-
'surcharge': number;
|
|
74
|
-
/**
|
|
75
|
-
* Gross amount
|
|
75
|
+
* Gross amount. This property is sum of taxAmount and netAmount.
|
|
76
76
|
* @type {number}
|
|
77
77
|
* @memberof InvoiceClass
|
|
78
78
|
*/
|
|
79
79
|
'grossAmount': number;
|
|
80
80
|
/**
|
|
81
|
-
* Invoice status
|
|
81
|
+
* Invoice status.
|
|
82
82
|
* @type {string}
|
|
83
83
|
* @memberof InvoiceClass
|
|
84
84
|
*/
|
|
85
85
|
'status': InvoiceClassStatusEnum;
|
|
86
86
|
/**
|
|
87
|
-
* Invoice due date
|
|
87
|
+
* Invoice due date.
|
|
88
88
|
* @type {string}
|
|
89
89
|
* @memberof InvoiceClass
|
|
90
90
|
*/
|
|
91
91
|
'dueDate': string;
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
93
|
+
* Metadata contains extra information that the object would need for specific cases.
|
|
94
94
|
* @type {object}
|
|
95
95
|
* @memberof InvoiceClass
|
|
96
96
|
*/
|
|
97
97
|
'metadata': object;
|
|
98
98
|
/**
|
|
99
|
-
*
|
|
99
|
+
* Start date of billing interval.
|
|
100
100
|
* @type {string}
|
|
101
101
|
* @memberof InvoiceClass
|
|
102
102
|
*/
|
|
103
103
|
'billingIntervalFrom': string;
|
|
104
104
|
/**
|
|
105
|
-
*
|
|
105
|
+
* End date of billing interval.
|
|
106
106
|
* @type {string}
|
|
107
107
|
* @memberof InvoiceClass
|
|
108
108
|
*/
|
|
109
109
|
'billingIntervalTo': string;
|
|
110
110
|
/**
|
|
111
|
-
*
|
|
111
|
+
* Time at which the object was created.
|
|
112
112
|
* @type {string}
|
|
113
113
|
* @memberof InvoiceClass
|
|
114
114
|
*/
|
|
115
115
|
'createdAt': string;
|
|
116
116
|
/**
|
|
117
|
-
* Invoice items
|
|
117
|
+
* Invoice items.
|
|
118
118
|
* @type {Array<SharedInvoiceItemClass>}
|
|
119
119
|
* @memberof InvoiceClass
|
|
120
120
|
*/
|
|
121
121
|
'invoiceItems': Array<SharedInvoiceItemClass>;
|
|
122
122
|
/**
|
|
123
|
-
*
|
|
124
|
-
* @type {
|
|
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}
|
|
125
131
|
* @memberof InvoiceClass
|
|
126
132
|
*/
|
|
127
|
-
'currency':
|
|
133
|
+
'currency': string;
|
|
128
134
|
}
|
|
129
135
|
export declare const InvoiceClassTypeEnum: {
|
|
130
136
|
readonly Initial: "initial";
|
|
@@ -10,7 +10,9 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { CreateAccountRequestDto } from './create-account-request-dto';
|
|
13
|
+
import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
|
|
13
14
|
import { CreatePolicyRequestDto } from './create-policy-request-dto';
|
|
15
|
+
import { InvoiceClass } from './invoice-class';
|
|
14
16
|
import { LeadBankAccountClass } from './lead-bank-account-class';
|
|
15
17
|
import { PremiumOverrideRequestClass } from './premium-override-request-class';
|
|
16
18
|
import { UploadedDocumentDto } from './uploaded-document-dto';
|
|
@@ -92,6 +94,18 @@ export interface LeadClass {
|
|
|
92
94
|
* @memberof LeadClass
|
|
93
95
|
*/
|
|
94
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;
|
|
95
109
|
/**
|
|
96
110
|
* Time at which the object was created.
|
|
97
111
|
* @type {string}
|
|
@@ -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 SepaDto
|
|
16
|
+
*/
|
|
17
|
+
export interface SepaDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SepaDto
|
|
22
|
+
*/
|
|
23
|
+
'iban': string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SepaDto
|
|
28
|
+
*/
|
|
29
|
+
'holderName'?: 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 });
|
|
@@ -16,87 +16,114 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface SharedInvoiceItemClass {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof SharedInvoiceItemClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier referencing the premium formula.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof SharedInvoiceItemClass
|
|
28
|
+
*/
|
|
29
|
+
'premiumFormulaId': number;
|
|
30
|
+
/**
|
|
31
|
+
* Product name.
|
|
20
32
|
* @type {string}
|
|
21
33
|
* @memberof SharedInvoiceItemClass
|
|
22
34
|
*/
|
|
23
35
|
'name': string;
|
|
24
36
|
/**
|
|
25
|
-
* tax
|
|
37
|
+
* Unique identifier of the tax that this object belongs to.
|
|
26
38
|
* @type {string}
|
|
27
39
|
* @memberof SharedInvoiceItemClass
|
|
28
40
|
*/
|
|
29
41
|
'taxCode': string;
|
|
30
42
|
/**
|
|
31
|
-
*
|
|
43
|
+
* The Premium unit determined based on time or distance.
|
|
32
44
|
* @type {string}
|
|
33
45
|
* @memberof SharedInvoiceItemClass
|
|
34
46
|
*/
|
|
35
|
-
'unit':
|
|
47
|
+
'unit': SharedInvoiceItemClassUnitEnum;
|
|
36
48
|
/**
|
|
37
|
-
* group
|
|
49
|
+
* Invoice group.
|
|
38
50
|
* @type {string}
|
|
39
51
|
* @memberof SharedInvoiceItemClass
|
|
40
52
|
*/
|
|
41
53
|
'group': string;
|
|
42
54
|
/**
|
|
43
|
-
* Item quantity
|
|
55
|
+
* Item quantity property determines number of days during the billing interval.
|
|
44
56
|
* @type {number}
|
|
45
57
|
* @memberof SharedInvoiceItemClass
|
|
46
58
|
*/
|
|
47
59
|
'quantity': number;
|
|
48
60
|
/**
|
|
49
|
-
* Item price per unit
|
|
61
|
+
* Item price per unit.
|
|
50
62
|
* @type {number}
|
|
51
63
|
* @memberof SharedInvoiceItemClass
|
|
52
64
|
*/
|
|
53
65
|
'pricePerUnit': number;
|
|
54
66
|
/**
|
|
55
|
-
* Item tax rate
|
|
67
|
+
* Item tax rate.
|
|
56
68
|
* @type {number}
|
|
57
69
|
* @memberof SharedInvoiceItemClass
|
|
58
70
|
*/
|
|
59
71
|
'taxRate': number;
|
|
60
72
|
/**
|
|
61
|
-
* Net amount
|
|
73
|
+
* Net amount is in cents. It is calculated by multiplying the quantity and the price Per unit.
|
|
62
74
|
* @type {number}
|
|
63
75
|
* @memberof SharedInvoiceItemClass
|
|
64
76
|
*/
|
|
65
77
|
'netAmount': number;
|
|
66
78
|
/**
|
|
67
|
-
*
|
|
79
|
+
* Tax amount is in cents.
|
|
68
80
|
* @type {number}
|
|
69
81
|
* @memberof SharedInvoiceItemClass
|
|
70
82
|
*/
|
|
71
83
|
'taxAmount': number;
|
|
72
84
|
/**
|
|
73
|
-
* Gross amount
|
|
85
|
+
* Gross amount. This property is sum of taxAmount and netAmount.
|
|
74
86
|
* @type {number}
|
|
75
87
|
* @memberof SharedInvoiceItemClass
|
|
76
88
|
*/
|
|
77
89
|
'grossAmount': number;
|
|
78
90
|
/**
|
|
79
|
-
* Credit amount
|
|
91
|
+
* Credit amount.
|
|
80
92
|
* @type {number}
|
|
81
93
|
* @memberof SharedInvoiceItemClass
|
|
82
94
|
*/
|
|
83
95
|
'creditAmount': number;
|
|
84
96
|
/**
|
|
85
|
-
*
|
|
86
|
-
* @type {
|
|
97
|
+
* This is the date from which the invoice item interval starts.
|
|
98
|
+
* @type {string}
|
|
87
99
|
* @memberof SharedInvoiceItemClass
|
|
88
100
|
*/
|
|
89
|
-
'
|
|
101
|
+
'billingIntervalFrom': string;
|
|
90
102
|
/**
|
|
91
|
-
*
|
|
103
|
+
* This is the date that the invoice item interval ends.
|
|
92
104
|
* @type {string}
|
|
93
105
|
* @memberof SharedInvoiceItemClass
|
|
94
106
|
*/
|
|
95
|
-
'
|
|
107
|
+
'billingIntervalTo': string;
|
|
96
108
|
/**
|
|
97
|
-
*
|
|
109
|
+
* Type of Premium item.
|
|
98
110
|
* @type {string}
|
|
99
111
|
* @memberof SharedInvoiceItemClass
|
|
100
112
|
*/
|
|
101
|
-
'
|
|
113
|
+
'itemType'?: string;
|
|
114
|
+
/**
|
|
115
|
+
* Visibility of Premium item.
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof SharedInvoiceItemClass
|
|
118
|
+
*/
|
|
119
|
+
'visibility'?: string;
|
|
102
120
|
}
|
|
121
|
+
export declare const SharedInvoiceItemClassUnitEnum: {
|
|
122
|
+
readonly Day: "day";
|
|
123
|
+
readonly Week: "week";
|
|
124
|
+
readonly Month: "month";
|
|
125
|
+
readonly Quarter: "quarter";
|
|
126
|
+
readonly Year: "year";
|
|
127
|
+
readonly OneTimePayment: "oneTimePayment";
|
|
128
|
+
};
|
|
129
|
+
export type SharedInvoiceItemClassUnitEnum = typeof SharedInvoiceItemClassUnitEnum[keyof typeof SharedInvoiceItemClassUnitEnum];
|
|
@@ -13,3 +13,12 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SharedInvoiceItemClassUnitEnum = void 0;
|
|
17
|
+
exports.SharedInvoiceItemClassUnitEnum = {
|
|
18
|
+
Day: 'day',
|
|
19
|
+
Week: 'week',
|
|
20
|
+
Month: 'month',
|
|
21
|
+
Quarter: 'quarter',
|
|
22
|
+
Year: 'year',
|
|
23
|
+
OneTimePayment: 'oneTimePayment'
|
|
24
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL CustomerService
|
|
3
|
+
* The EMIL CustomerService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SharedInvoiceStatusClass
|
|
16
|
+
*/
|
|
17
|
+
export interface SharedInvoiceStatusClass {
|
|
18
|
+
/**
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof SharedInvoiceStatusClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier referencing the invoice.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof SharedInvoiceStatusClass
|
|
28
|
+
*/
|
|
29
|
+
'invoiceId': number;
|
|
30
|
+
/**
|
|
31
|
+
* Invoice type.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SharedInvoiceStatusClass
|
|
34
|
+
*/
|
|
35
|
+
'status': SharedInvoiceStatusClassStatusEnum;
|
|
36
|
+
/**
|
|
37
|
+
* Time at which the object was created.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SharedInvoiceStatusClass
|
|
40
|
+
*/
|
|
41
|
+
'createdAt': string;
|
|
42
|
+
}
|
|
43
|
+
export declare const SharedInvoiceStatusClassStatusEnum: {
|
|
44
|
+
readonly Open: "open";
|
|
45
|
+
readonly Paid: "paid";
|
|
46
|
+
};
|
|
47
|
+
export type SharedInvoiceStatusClassStatusEnum = typeof SharedInvoiceStatusClassStatusEnum[keyof typeof SharedInvoiceStatusClassStatusEnum];
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL CustomerService
|
|
6
|
+
* The EMIL CustomerService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SharedInvoiceStatusClassStatusEnum = void 0;
|
|
17
|
+
exports.SharedInvoiceStatusClassStatusEnum = {
|
|
18
|
+
Open: 'open',
|
|
19
|
+
Paid: 'paid'
|
|
20
|
+
};
|
|
@@ -15,6 +15,12 @@
|
|
|
15
15
|
* @interface UpdateCustomerClaimRequestDto
|
|
16
16
|
*/
|
|
17
17
|
export interface UpdateCustomerClaimRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Unique identifier of the claim that this object belongs to.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateCustomerClaimRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'code': string;
|
|
18
24
|
/**
|
|
19
25
|
* Field to enter the claim title.
|
|
20
26
|
* @type {string}
|
|
@@ -111,10 +117,4 @@ export interface UpdateCustomerClaimRequestDto {
|
|
|
111
117
|
* @memberof UpdateCustomerClaimRequestDto
|
|
112
118
|
*/
|
|
113
119
|
'customerCode'?: string;
|
|
114
|
-
/**
|
|
115
|
-
* The identifier code for the claim that will be updated
|
|
116
|
-
* @type {string}
|
|
117
|
-
* @memberof UpdateCustomerClaimRequestDto
|
|
118
|
-
*/
|
|
119
|
-
'code'?: string;
|
|
120
120
|
}
|