@emilgroup/billing-sdk 1.63.0 → 1.63.1-beta.1
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 +4 -1
- package/README.md +2 -2
- package/api/withdraw-invoices-api.ts +179 -0
- package/api.ts +2 -0
- package/dist/api/withdraw-invoices-api.d.ts +106 -0
- package/dist/api/withdraw-invoices-api.js +230 -0
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/models/create-correction-invoices-response-class.d.ts +3 -3
- package/dist/models/create-custom-estimated-invoice-request-dto.d.ts +4 -2
- package/dist/models/create-draft-invoice-request-dto.d.ts +4 -2
- package/dist/models/create-estimated-invoice-for-interval-request-dto.d.ts +4 -2
- package/dist/models/create-estimated-invoice-request-dto.d.ts +4 -2
- package/dist/models/create-invoice-for-policy-request-dto.d.ts +4 -2
- package/dist/models/create-invoice-request-dto.d.ts +4 -2
- package/dist/models/create-invoice-response-class.d.ts +3 -3
- package/dist/models/create-termination-invoice-request-dto.d.ts +4 -2
- package/dist/models/create-withdraw-invoice-request-dto-rest.d.ts +50 -0
- package/dist/models/create-withdraw-invoice-request-dto-rest.js +15 -0
- package/dist/models/create-withdraw-invoice-request-dto.d.ts +50 -0
- package/dist/models/create-withdraw-invoice-request-dto.js +15 -0
- package/dist/models/get-invoice-response-class.d.ts +3 -3
- package/dist/models/index.d.ts +3 -1
- package/dist/models/index.js +3 -1
- package/dist/models/{omit-type-class.d.ts → omit-invoice-class-statuses.d.ts} +37 -37
- package/dist/models/{omit-type-class.js → omit-invoice-class-statuses.js} +3 -3
- package/dist/models/policy-object-dto.d.ts +4 -2
- package/dist/models/policy-version-dto.d.ts +4 -2
- package/models/create-correction-invoices-response-class.ts +3 -3
- package/models/create-custom-estimated-invoice-request-dto.ts +2 -2
- package/models/create-draft-invoice-request-dto.ts +2 -2
- package/models/create-estimated-invoice-for-interval-request-dto.ts +2 -2
- package/models/create-estimated-invoice-request-dto.ts +2 -2
- package/models/create-invoice-for-policy-request-dto.ts +2 -2
- package/models/create-invoice-request-dto.ts +2 -2
- package/models/create-invoice-response-class.ts +3 -3
- package/models/create-termination-invoice-request-dto.ts +2 -2
- package/models/create-withdraw-invoice-request-dto-rest.ts +54 -0
- package/models/create-withdraw-invoice-request-dto.ts +54 -0
- package/models/get-invoice-response-class.ts +3 -3
- package/models/index.ts +3 -1
- package/models/{omit-type-class.ts → omit-invoice-class-statuses.ts} +37 -37
- package/models/policy-object-dto.ts +2 -2
- package/models/policy-version-dto.ts +2 -2
- package/package.json +1 -1
|
@@ -24,10 +24,12 @@ export interface CreateEstimatedInvoiceRequestDto {
|
|
|
24
24
|
'policy': PolicyDto;
|
|
25
25
|
/**
|
|
26
26
|
* Metadata contains extra information that the object would need for specific cases.
|
|
27
|
-
* @type {object}
|
|
27
|
+
* @type {{ [key: string]: object; }}
|
|
28
28
|
* @memberof CreateEstimatedInvoiceRequestDto
|
|
29
29
|
*/
|
|
30
|
-
'metadata'?:
|
|
30
|
+
'metadata'?: {
|
|
31
|
+
[key: string]: object;
|
|
32
|
+
};
|
|
31
33
|
/**
|
|
32
34
|
*
|
|
33
35
|
* @type {boolean}
|
|
@@ -47,10 +47,12 @@ export interface CreateInvoiceForPolicyRequestDto {
|
|
|
47
47
|
'type'?: CreateInvoiceForPolicyRequestDtoTypeEnum;
|
|
48
48
|
/**
|
|
49
49
|
* Metadata contains extra information that the object would need for specific cases.
|
|
50
|
-
* @type {object}
|
|
50
|
+
* @type {{ [key: string]: object; }}
|
|
51
51
|
* @memberof CreateInvoiceForPolicyRequestDto
|
|
52
52
|
*/
|
|
53
|
-
'metadata'?:
|
|
53
|
+
'metadata'?: {
|
|
54
|
+
[key: string]: object;
|
|
55
|
+
};
|
|
54
56
|
/**
|
|
55
57
|
* This is the date from which the invoice interval starts.
|
|
56
58
|
* @type {string}
|
|
@@ -36,10 +36,12 @@ export interface CreateInvoiceRequestDto {
|
|
|
36
36
|
'type': CreateInvoiceRequestDtoTypeEnum;
|
|
37
37
|
/**
|
|
38
38
|
* Metadata contains extra information that the object would need for specific cases.
|
|
39
|
-
* @type {object}
|
|
39
|
+
* @type {{ [key: string]: object; }}
|
|
40
40
|
* @memberof CreateInvoiceRequestDto
|
|
41
41
|
*/
|
|
42
|
-
'metadata'
|
|
42
|
+
'metadata'?: {
|
|
43
|
+
[key: string]: object;
|
|
44
|
+
};
|
|
43
45
|
/**
|
|
44
46
|
* This is the date from which the invoice interval starts.
|
|
45
47
|
* @type {string}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { OmitInvoiceClassStatuses } from './omit-invoice-class-statuses';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -18,8 +18,8 @@ import { OmitTypeClass } from './omit-type-class';
|
|
|
18
18
|
export interface CreateInvoiceResponseClass {
|
|
19
19
|
/**
|
|
20
20
|
* Invoice response.
|
|
21
|
-
* @type {
|
|
21
|
+
* @type {OmitInvoiceClassStatuses}
|
|
22
22
|
* @memberof CreateInvoiceResponseClass
|
|
23
23
|
*/
|
|
24
|
-
'invoice':
|
|
24
|
+
'invoice': OmitInvoiceClassStatuses;
|
|
25
25
|
}
|
|
@@ -29,10 +29,12 @@ export interface CreateTerminationInvoiceRequestDto {
|
|
|
29
29
|
'accountNumber': string;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
|
-
* @type {object}
|
|
32
|
+
* @type {{ [key: string]: object; }}
|
|
33
33
|
* @memberof CreateTerminationInvoiceRequestDto
|
|
34
34
|
*/
|
|
35
|
-
'metadata'?:
|
|
35
|
+
'metadata'?: {
|
|
36
|
+
[key: string]: object;
|
|
37
|
+
};
|
|
36
38
|
/**
|
|
37
39
|
*
|
|
38
40
|
* @type {string}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL BillingService
|
|
3
|
+
* The EMIL BillingService 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 CreateWithdrawInvoiceRequestDtoRest
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateWithdrawInvoiceRequestDtoRest {
|
|
18
|
+
/**
|
|
19
|
+
* Unique identifier of the policy that this object belongs to.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateWithdrawInvoiceRequestDtoRest
|
|
22
|
+
*/
|
|
23
|
+
'policyCode': string;
|
|
24
|
+
/**
|
|
25
|
+
* Account number.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateWithdrawInvoiceRequestDtoRest
|
|
28
|
+
*/
|
|
29
|
+
'accountNumber': string;
|
|
30
|
+
/**
|
|
31
|
+
* Policy number.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateWithdrawInvoiceRequestDtoRest
|
|
34
|
+
*/
|
|
35
|
+
'policyNumber': string;
|
|
36
|
+
/**
|
|
37
|
+
* This is the date from which the invoice interval starts.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreateWithdrawInvoiceRequestDtoRest
|
|
40
|
+
*/
|
|
41
|
+
'billingIntervalFrom': string;
|
|
42
|
+
/**
|
|
43
|
+
* Metadata contains extra information that the object would need for specific cases.
|
|
44
|
+
* @type {{ [key: string]: object; }}
|
|
45
|
+
* @memberof CreateWithdrawInvoiceRequestDtoRest
|
|
46
|
+
*/
|
|
47
|
+
'metadata'?: {
|
|
48
|
+
[key: string]: object;
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL BillingService
|
|
6
|
+
* The EMIL BillingService 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,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL BillingService
|
|
3
|
+
* The EMIL BillingService 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 CreateWithdrawInvoiceRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateWithdrawInvoiceRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateWithdrawInvoiceRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'policyCode': string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateWithdrawInvoiceRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'accountNumber': string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {{ [key: string]: object; }}
|
|
33
|
+
* @memberof CreateWithdrawInvoiceRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'metadata'?: {
|
|
36
|
+
[key: string]: object;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof CreateWithdrawInvoiceRequestDto
|
|
42
|
+
*/
|
|
43
|
+
'billingIntervalFrom': string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof CreateWithdrawInvoiceRequestDto
|
|
48
|
+
*/
|
|
49
|
+
'policyNumber': string;
|
|
50
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL BillingService
|
|
6
|
+
* The EMIL BillingService 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 });
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { OmitInvoiceClassStatuses } from './omit-invoice-class-statuses';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -18,8 +18,8 @@ import { OmitTypeClass } from './omit-type-class';
|
|
|
18
18
|
export interface GetInvoiceResponseClass {
|
|
19
19
|
/**
|
|
20
20
|
* Invoice response.
|
|
21
|
-
* @type {
|
|
21
|
+
* @type {OmitInvoiceClassStatuses}
|
|
22
22
|
* @memberof GetInvoiceResponseClass
|
|
23
23
|
*/
|
|
24
|
-
'invoice':
|
|
24
|
+
'invoice': OmitInvoiceClassStatuses;
|
|
25
25
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -17,6 +17,8 @@ export * from './create-policy-billing-response-class';
|
|
|
17
17
|
export * from './create-product-estimated-invoice-request-dto';
|
|
18
18
|
export * from './create-product-estimated-invoice-response-class';
|
|
19
19
|
export * from './create-termination-invoice-request-dto';
|
|
20
|
+
export * from './create-withdraw-invoice-request-dto';
|
|
21
|
+
export * from './create-withdraw-invoice-request-dto-rest';
|
|
20
22
|
export * from './get-invoice-response-class';
|
|
21
23
|
export * from './inline-response200';
|
|
22
24
|
export * from './inline-response503';
|
|
@@ -28,7 +30,7 @@ export * from './invoice-status-class';
|
|
|
28
30
|
export * from './list-invoices-response-class';
|
|
29
31
|
export * from './list-policies-billings-response-class';
|
|
30
32
|
export * from './list-request-dto';
|
|
31
|
-
export * from './omit-
|
|
33
|
+
export * from './omit-invoice-class-statuses';
|
|
32
34
|
export * from './policy-billing-class';
|
|
33
35
|
export * from './policy-dto';
|
|
34
36
|
export * from './policy-object-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -33,6 +33,8 @@ __exportStar(require("./create-policy-billing-response-class"), exports);
|
|
|
33
33
|
__exportStar(require("./create-product-estimated-invoice-request-dto"), exports);
|
|
34
34
|
__exportStar(require("./create-product-estimated-invoice-response-class"), exports);
|
|
35
35
|
__exportStar(require("./create-termination-invoice-request-dto"), exports);
|
|
36
|
+
__exportStar(require("./create-withdraw-invoice-request-dto"), exports);
|
|
37
|
+
__exportStar(require("./create-withdraw-invoice-request-dto-rest"), exports);
|
|
36
38
|
__exportStar(require("./get-invoice-response-class"), exports);
|
|
37
39
|
__exportStar(require("./inline-response200"), exports);
|
|
38
40
|
__exportStar(require("./inline-response503"), exports);
|
|
@@ -44,7 +46,7 @@ __exportStar(require("./invoice-status-class"), exports);
|
|
|
44
46
|
__exportStar(require("./list-invoices-response-class"), exports);
|
|
45
47
|
__exportStar(require("./list-policies-billings-response-class"), exports);
|
|
46
48
|
__exportStar(require("./list-request-dto"), exports);
|
|
47
|
-
__exportStar(require("./omit-
|
|
49
|
+
__exportStar(require("./omit-invoice-class-statuses"), exports);
|
|
48
50
|
__exportStar(require("./policy-billing-class"), exports);
|
|
49
51
|
__exportStar(require("./policy-dto"), exports);
|
|
50
52
|
__exportStar(require("./policy-object-dto"), exports);
|
|
@@ -14,185 +14,185 @@ import { InvoicePaymentsClass } from './invoice-payments-class';
|
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
17
|
-
* @interface
|
|
17
|
+
* @interface OmitInvoiceClassStatuses
|
|
18
18
|
*/
|
|
19
|
-
export interface
|
|
19
|
+
export interface OmitInvoiceClassStatuses {
|
|
20
20
|
/**
|
|
21
21
|
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
22
22
|
* @type {number}
|
|
23
|
-
* @memberof
|
|
23
|
+
* @memberof OmitInvoiceClassStatuses
|
|
24
24
|
*/
|
|
25
25
|
'id': number;
|
|
26
26
|
/**
|
|
27
27
|
* Unique identifier of the policy that this object belongs to.
|
|
28
28
|
* @type {string}
|
|
29
|
-
* @memberof
|
|
29
|
+
* @memberof OmitInvoiceClassStatuses
|
|
30
30
|
*/
|
|
31
31
|
'policyCode': string;
|
|
32
32
|
/**
|
|
33
33
|
* Account number.
|
|
34
34
|
* @type {string}
|
|
35
|
-
* @memberof
|
|
35
|
+
* @memberof OmitInvoiceClassStatuses
|
|
36
36
|
*/
|
|
37
37
|
'accountNumber': string;
|
|
38
38
|
/**
|
|
39
39
|
* Policy number.
|
|
40
40
|
* @type {string}
|
|
41
|
-
* @memberof
|
|
41
|
+
* @memberof OmitInvoiceClassStatuses
|
|
42
42
|
*/
|
|
43
43
|
'policyNumber': string;
|
|
44
44
|
/**
|
|
45
45
|
* Unique identifier for the object.
|
|
46
46
|
* @type {string}
|
|
47
|
-
* @memberof
|
|
47
|
+
* @memberof OmitInvoiceClassStatuses
|
|
48
48
|
*/
|
|
49
49
|
'code': string;
|
|
50
50
|
/**
|
|
51
51
|
* Invoice type.
|
|
52
52
|
* @type {string}
|
|
53
|
-
* @memberof
|
|
53
|
+
* @memberof OmitInvoiceClassStatuses
|
|
54
54
|
*/
|
|
55
|
-
'type':
|
|
55
|
+
'type': OmitInvoiceClassStatusesTypeEnum;
|
|
56
56
|
/**
|
|
57
57
|
* Invoice number.
|
|
58
58
|
* @type {string}
|
|
59
|
-
* @memberof
|
|
59
|
+
* @memberof OmitInvoiceClassStatuses
|
|
60
60
|
*/
|
|
61
61
|
'invoiceNumber': string;
|
|
62
62
|
/**
|
|
63
63
|
* Net amount is in cents.
|
|
64
64
|
* @type {number}
|
|
65
|
-
* @memberof
|
|
65
|
+
* @memberof OmitInvoiceClassStatuses
|
|
66
66
|
*/
|
|
67
67
|
'netAmount': number;
|
|
68
68
|
/**
|
|
69
69
|
* Tax amount is in cents.
|
|
70
70
|
* @type {number}
|
|
71
|
-
* @memberof
|
|
71
|
+
* @memberof OmitInvoiceClassStatuses
|
|
72
72
|
*/
|
|
73
73
|
'taxAmount': number;
|
|
74
74
|
/**
|
|
75
75
|
* Credit amount.
|
|
76
76
|
* @type {number}
|
|
77
|
-
* @memberof
|
|
77
|
+
* @memberof OmitInvoiceClassStatuses
|
|
78
78
|
*/
|
|
79
79
|
'creditAmount': number;
|
|
80
80
|
/**
|
|
81
81
|
* Gross amount. This property is sum of taxAmount and netAmount.
|
|
82
82
|
* @type {number}
|
|
83
|
-
* @memberof
|
|
83
|
+
* @memberof OmitInvoiceClassStatuses
|
|
84
84
|
*/
|
|
85
85
|
'grossAmount': number;
|
|
86
86
|
/**
|
|
87
87
|
* Paid amount. This property is amount paid by this invoice. The amount corresponds to the sum (positives and negatives) of all payments relating to that invoice.
|
|
88
88
|
* @type {number}
|
|
89
|
-
* @memberof
|
|
89
|
+
* @memberof OmitInvoiceClassStatuses
|
|
90
90
|
*/
|
|
91
91
|
'paidAmount': number;
|
|
92
92
|
/**
|
|
93
93
|
* Invoice status.
|
|
94
94
|
* @type {string}
|
|
95
|
-
* @memberof
|
|
95
|
+
* @memberof OmitInvoiceClassStatuses
|
|
96
96
|
*/
|
|
97
|
-
'status':
|
|
97
|
+
'status': OmitInvoiceClassStatusesStatusEnum;
|
|
98
98
|
/**
|
|
99
99
|
* Invoice due date.
|
|
100
100
|
* @type {string}
|
|
101
|
-
* @memberof
|
|
101
|
+
* @memberof OmitInvoiceClassStatuses
|
|
102
102
|
*/
|
|
103
103
|
'dueDate': string;
|
|
104
104
|
/**
|
|
105
105
|
* Metadata contains extra information that the object would need for specific cases.
|
|
106
106
|
* @type {object}
|
|
107
|
-
* @memberof
|
|
107
|
+
* @memberof OmitInvoiceClassStatuses
|
|
108
108
|
*/
|
|
109
109
|
'metadata': object;
|
|
110
110
|
/**
|
|
111
111
|
* Start date of billing interval.
|
|
112
112
|
* @type {string}
|
|
113
|
-
* @memberof
|
|
113
|
+
* @memberof OmitInvoiceClassStatuses
|
|
114
114
|
*/
|
|
115
115
|
'billingIntervalFrom': string;
|
|
116
116
|
/**
|
|
117
117
|
* End date of billing interval.
|
|
118
118
|
* @type {string}
|
|
119
|
-
* @memberof
|
|
119
|
+
* @memberof OmitInvoiceClassStatuses
|
|
120
120
|
*/
|
|
121
121
|
'billingIntervalTo': string;
|
|
122
122
|
/**
|
|
123
123
|
* Time at which the object was created.
|
|
124
124
|
* @type {string}
|
|
125
|
-
* @memberof
|
|
125
|
+
* @memberof OmitInvoiceClassStatuses
|
|
126
126
|
*/
|
|
127
127
|
'createdAt': string;
|
|
128
128
|
/**
|
|
129
129
|
* Invoice items.
|
|
130
130
|
* @type {Array<InvoiceItemClass>}
|
|
131
|
-
* @memberof
|
|
131
|
+
* @memberof OmitInvoiceClassStatuses
|
|
132
132
|
*/
|
|
133
133
|
'invoiceItems': Array<InvoiceItemClass>;
|
|
134
134
|
/**
|
|
135
135
|
* Invoice currency. EUR is used by default.
|
|
136
136
|
* @type {string}
|
|
137
|
-
* @memberof
|
|
137
|
+
* @memberof OmitInvoiceClassStatuses
|
|
138
138
|
*/
|
|
139
139
|
'currency': string;
|
|
140
140
|
/**
|
|
141
141
|
* Invoice payments.
|
|
142
142
|
* @type {InvoicePaymentsClass}
|
|
143
|
-
* @memberof
|
|
143
|
+
* @memberof OmitInvoiceClassStatuses
|
|
144
144
|
*/
|
|
145
145
|
'payments': InvoicePaymentsClass;
|
|
146
146
|
/**
|
|
147
147
|
* Identifier of the user who created the record.
|
|
148
148
|
* @type {string}
|
|
149
|
-
* @memberof
|
|
149
|
+
* @memberof OmitInvoiceClassStatuses
|
|
150
150
|
*/
|
|
151
151
|
'createdBy': string;
|
|
152
152
|
/**
|
|
153
153
|
* Identifier of the user who last updated the record.
|
|
154
154
|
* @type {string}
|
|
155
|
-
* @memberof
|
|
155
|
+
* @memberof OmitInvoiceClassStatuses
|
|
156
156
|
*/
|
|
157
157
|
'updatedBy': string;
|
|
158
158
|
/**
|
|
159
159
|
* Invoice payment method code.
|
|
160
160
|
* @type {string}
|
|
161
|
-
* @memberof
|
|
161
|
+
* @memberof OmitInvoiceClassStatuses
|
|
162
162
|
*/
|
|
163
163
|
'paymentMethodCode': string;
|
|
164
164
|
/**
|
|
165
165
|
* Invoice payment method Payment Service Provider.
|
|
166
166
|
* @type {string}
|
|
167
|
-
* @memberof
|
|
167
|
+
* @memberof OmitInvoiceClassStatuses
|
|
168
168
|
*/
|
|
169
169
|
'paymentMethodPsp': string;
|
|
170
170
|
/**
|
|
171
171
|
* Invoice payment method type (e.g. card, bank transfer, etc.).
|
|
172
172
|
* @type {string}
|
|
173
|
-
* @memberof
|
|
173
|
+
* @memberof OmitInvoiceClassStatuses
|
|
174
174
|
*/
|
|
175
175
|
'paymentMethodType': string;
|
|
176
176
|
/**
|
|
177
177
|
* Dunning fees.
|
|
178
178
|
* @type {number}
|
|
179
|
-
* @memberof
|
|
179
|
+
* @memberof OmitInvoiceClassStatuses
|
|
180
180
|
*/
|
|
181
181
|
'dunningFees': number;
|
|
182
182
|
/**
|
|
183
183
|
* Total amount.
|
|
184
184
|
* @type {number}
|
|
185
|
-
* @memberof
|
|
185
|
+
* @memberof OmitInvoiceClassStatuses
|
|
186
186
|
*/
|
|
187
187
|
'totalAmount': number;
|
|
188
188
|
/**
|
|
189
189
|
* Open amount.
|
|
190
190
|
* @type {number}
|
|
191
|
-
* @memberof
|
|
191
|
+
* @memberof OmitInvoiceClassStatuses
|
|
192
192
|
*/
|
|
193
193
|
'openAmount': number;
|
|
194
194
|
}
|
|
195
|
-
export declare const
|
|
195
|
+
export declare const OmitInvoiceClassStatusesTypeEnum: {
|
|
196
196
|
readonly Initial: "initial";
|
|
197
197
|
readonly Recurring: "recurring";
|
|
198
198
|
readonly Correction: "correction";
|
|
@@ -202,11 +202,11 @@ export declare const OmitTypeClassTypeEnum: {
|
|
|
202
202
|
readonly Withdraw: "withdraw";
|
|
203
203
|
readonly Final: "final";
|
|
204
204
|
};
|
|
205
|
-
export type
|
|
206
|
-
export declare const
|
|
205
|
+
export type OmitInvoiceClassStatusesTypeEnum = typeof OmitInvoiceClassStatusesTypeEnum[keyof typeof OmitInvoiceClassStatusesTypeEnum];
|
|
206
|
+
export declare const OmitInvoiceClassStatusesStatusEnum: {
|
|
207
207
|
readonly Open: "open";
|
|
208
208
|
readonly Paid: "paid";
|
|
209
209
|
readonly PartiallyPaid: "partially-paid";
|
|
210
210
|
readonly Refunded: "refunded";
|
|
211
211
|
};
|
|
212
|
-
export type
|
|
212
|
+
export type OmitInvoiceClassStatusesStatusEnum = typeof OmitInvoiceClassStatusesStatusEnum[keyof typeof OmitInvoiceClassStatusesStatusEnum];
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
16
|
+
exports.OmitInvoiceClassStatusesStatusEnum = exports.OmitInvoiceClassStatusesTypeEnum = void 0;
|
|
17
|
+
exports.OmitInvoiceClassStatusesTypeEnum = {
|
|
18
18
|
Initial: 'initial',
|
|
19
19
|
Recurring: 'recurring',
|
|
20
20
|
Correction: 'correction',
|
|
@@ -24,7 +24,7 @@ exports.OmitTypeClassTypeEnum = {
|
|
|
24
24
|
Withdraw: 'withdraw',
|
|
25
25
|
Final: 'final'
|
|
26
26
|
};
|
|
27
|
-
exports.
|
|
27
|
+
exports.OmitInvoiceClassStatusesStatusEnum = {
|
|
28
28
|
Open: 'open',
|
|
29
29
|
Paid: 'paid',
|
|
30
30
|
PartiallyPaid: 'partially-paid',
|
|
@@ -47,10 +47,12 @@ export interface PolicyObjectDto {
|
|
|
47
47
|
'summary': string;
|
|
48
48
|
/**
|
|
49
49
|
* Insured object data.
|
|
50
|
-
* @type {object}
|
|
50
|
+
* @type {{ [key: string]: object; }}
|
|
51
51
|
* @memberof PolicyObjectDto
|
|
52
52
|
*/
|
|
53
|
-
'data':
|
|
53
|
+
'data': {
|
|
54
|
+
[key: string]: object;
|
|
55
|
+
};
|
|
54
56
|
/**
|
|
55
57
|
* Time at which the object was created.
|
|
56
58
|
* @type {string}
|
|
@@ -30,10 +30,12 @@ export interface PolicyVersionDto {
|
|
|
30
30
|
'isCurrent': boolean;
|
|
31
31
|
/**
|
|
32
32
|
* Metadata contains extra information that the object would need for specific cases.
|
|
33
|
-
* @type {object}
|
|
33
|
+
* @type {{ [key: string]: object; }}
|
|
34
34
|
* @memberof PolicyVersionDto
|
|
35
35
|
*/
|
|
36
|
-
'metadata'?:
|
|
36
|
+
'metadata'?: {
|
|
37
|
+
[key: string]: object;
|
|
38
|
+
};
|
|
37
39
|
/**
|
|
38
40
|
* Time at which the object was created.
|
|
39
41
|
* @type {string}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
import {
|
|
16
|
+
import { OmitInvoiceClassStatuses } from './omit-invoice-class-statuses';
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
@@ -23,9 +23,9 @@ import { OmitTypeClass } from './omit-type-class';
|
|
|
23
23
|
export interface CreateCorrectionInvoicesResponseClass {
|
|
24
24
|
/**
|
|
25
25
|
* Correction invoices response.
|
|
26
|
-
* @type {
|
|
26
|
+
* @type {OmitInvoiceClassStatuses}
|
|
27
27
|
* @memberof CreateCorrectionInvoicesResponseClass
|
|
28
28
|
*/
|
|
29
|
-
'invoices':
|
|
29
|
+
'invoices': OmitInvoiceClassStatuses;
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
export interface CreateCustomEstimatedInvoiceRequestDto {
|
|
23
23
|
/**
|
|
24
24
|
* Required data to create a custom application.
|
|
25
|
-
* @type {object}
|
|
25
|
+
* @type {{ [key: string]: object; }}
|
|
26
26
|
* @memberof CreateCustomEstimatedInvoiceRequestDto
|
|
27
27
|
*/
|
|
28
|
-
'data': object;
|
|
28
|
+
'data': { [key: string]: object; };
|
|
29
29
|
/**
|
|
30
30
|
* Custom premium provider.
|
|
31
31
|
* @type {string}
|
|
@@ -46,10 +46,10 @@ export interface CreateDraftInvoiceRequestDto {
|
|
|
46
46
|
'accountNumber': string;
|
|
47
47
|
/**
|
|
48
48
|
* Metadata contains extra information that the object would need for specific cases.
|
|
49
|
-
* @type {object}
|
|
49
|
+
* @type {{ [key: string]: object; }}
|
|
50
50
|
* @memberof CreateDraftInvoiceRequestDto
|
|
51
51
|
*/
|
|
52
|
-
'metadata': object;
|
|
52
|
+
'metadata'?: { [key: string]: object; };
|
|
53
53
|
/**
|
|
54
54
|
* This is the date from which the invoice interval starts.
|
|
55
55
|
* @type {string}
|
|
@@ -29,10 +29,10 @@ export interface CreateEstimatedInvoiceForIntervalRequestDto {
|
|
|
29
29
|
'policy': PolicyDto;
|
|
30
30
|
/**
|
|
31
31
|
* Metadata contains extra information that the object would need for specific cases.
|
|
32
|
-
* @type {object}
|
|
32
|
+
* @type {{ [key: string]: object; }}
|
|
33
33
|
* @memberof CreateEstimatedInvoiceForIntervalRequestDto
|
|
34
34
|
*/
|
|
35
|
-
'metadata'?: object;
|
|
35
|
+
'metadata'?: { [key: string]: object; };
|
|
36
36
|
/**
|
|
37
37
|
* A boolean flag indicating whether the invoice should be calculated on a pro rata basis. When true, the invoice amount is adjusted proportionally based on the duration of service.
|
|
38
38
|
* @type {boolean}
|
|
@@ -29,10 +29,10 @@ export interface CreateEstimatedInvoiceRequestDto {
|
|
|
29
29
|
'policy': PolicyDto;
|
|
30
30
|
/**
|
|
31
31
|
* Metadata contains extra information that the object would need for specific cases.
|
|
32
|
-
* @type {object}
|
|
32
|
+
* @type {{ [key: string]: object; }}
|
|
33
33
|
* @memberof CreateEstimatedInvoiceRequestDto
|
|
34
34
|
*/
|
|
35
|
-
'metadata'?: object;
|
|
35
|
+
'metadata'?: { [key: string]: object; };
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @type {boolean}
|
|
@@ -52,10 +52,10 @@ export interface CreateInvoiceForPolicyRequestDto {
|
|
|
52
52
|
'type'?: CreateInvoiceForPolicyRequestDtoTypeEnum;
|
|
53
53
|
/**
|
|
54
54
|
* Metadata contains extra information that the object would need for specific cases.
|
|
55
|
-
* @type {object}
|
|
55
|
+
* @type {{ [key: string]: object; }}
|
|
56
56
|
* @memberof CreateInvoiceForPolicyRequestDto
|
|
57
57
|
*/
|
|
58
|
-
'metadata'?: object;
|
|
58
|
+
'metadata'?: { [key: string]: object; };
|
|
59
59
|
/**
|
|
60
60
|
* This is the date from which the invoice interval starts.
|
|
61
61
|
* @type {string}
|