@emilgroup/billing-sdk-node 1.17.0 → 1.18.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 -17
- package/README.md +2 -2
- package/api/correction-invoices-api.ts +2 -4
- package/api/draft-invoice-api.ts +346 -0
- package/api/estimated-invoices-api.ts +112 -11
- package/api/initial-invoices-api.ts +2 -4
- package/api/invoices-api.ts +110 -222
- package/api/recurring-invoices-api.ts +2 -4
- package/api.ts +2 -0
- package/dist/api/correction-invoices-api.d.ts +3 -4
- package/dist/api/draft-invoice-api.d.ts +185 -0
- package/dist/api/draft-invoice-api.js +396 -0
- package/dist/api/estimated-invoices-api.d.ts +66 -12
- package/dist/api/estimated-invoices-api.js +97 -4
- package/dist/api/initial-invoices-api.d.ts +3 -4
- package/dist/api/invoices-api.d.ts +97 -157
- package/dist/api/invoices-api.js +70 -163
- package/dist/api/recurring-invoices-api.d.ts +3 -4
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/models/create-draft-invoice-request-dto.d.ts +89 -0
- package/dist/models/{invoice-class.js → create-draft-invoice-request-dto.js} +2 -7
- package/dist/models/create-estimated-invoice-for-interval-request-dto.d.ts +49 -0
- package/dist/models/create-estimated-invoice-request-dto.d.ts +1 -7
- package/dist/models/create-invoice-payment-request-dto.d.ts +2 -2
- package/dist/models/create-invoice-request-dto.d.ts +5 -5
- package/dist/models/index.d.ts +2 -17
- package/dist/models/index.js +2 -17
- package/dist/models/inline-response200.d.ts +6 -6
- package/dist/models/inline-response503.d.ts +6 -6
- package/dist/models/policy-dto.d.ts +5 -19
- package/dist/models/policy-dto.js +0 -8
- package/dist/models/policy-object-dto.d.ts +14 -20
- package/dist/models/policy-premium-dto.d.ts +2 -2
- package/dist/models/policy-premium-item-dto.d.ts +2 -2
- package/dist/models/policy-version-dto.d.ts +9 -3
- package/dist/models/premium-formula-dto.d.ts +2 -2
- package/dist/models/timeslice-dto.d.ts +1 -1
- package/models/create-draft-invoice-request-dto.ts +98 -0
- package/models/create-estimated-invoice-for-interval-request-dto.ts +55 -0
- package/models/create-estimated-invoice-request-dto.ts +1 -7
- package/models/create-invoice-payment-request-dto.ts +2 -2
- package/models/create-invoice-request-dto.ts +5 -5
- package/models/index.ts +2 -17
- package/models/inline-response200.ts +6 -6
- package/models/inline-response503.ts +6 -6
- package/models/policy-dto.ts +5 -22
- package/models/policy-object-dto.ts +14 -20
- package/models/policy-premium-dto.ts +2 -2
- package/models/policy-premium-item-dto.ts +2 -2
- package/models/policy-version-dto.ts +9 -3
- package/models/premium-formula-dto.ts +2 -2
- package/models/timeslice-dto.ts +1 -1
- package/package.json +1 -1
- package/dist/models/create-correction-invoices-response-class.d.ts +0 -25
- package/dist/models/create-custom-estimated-invoice-response-class.d.ts +0 -24
- package/dist/models/create-custom-estimated-invoice-response-class.js +0 -15
- package/dist/models/create-estimated-invoice-response-class.d.ts +0 -31
- package/dist/models/create-estimated-invoice-response-class.js +0 -15
- package/dist/models/create-invoice-payment-response-class.d.ts +0 -25
- package/dist/models/create-invoice-payment-response-class.js +0 -15
- package/dist/models/create-invoice-response-class.d.ts +0 -25
- package/dist/models/create-invoice-response-class.js +0 -15
- package/dist/models/create-invoice-status-request-dto.d.ts +0 -36
- package/dist/models/create-invoice-status-request-dto.js +0 -21
- package/dist/models/create-termination-invoice-request-dto.d.ts +0 -54
- package/dist/models/create-termination-invoice-request-dto.js +0 -15
- package/dist/models/get-invoice-response-class.d.ts +0 -25
- package/dist/models/get-invoice-response-class.js +0 -15
- package/dist/models/invoice-class.d.ts +0 -170
- package/dist/models/invoice-item-class.d.ts +0 -129
- package/dist/models/invoice-item-class.js +0 -24
- package/dist/models/invoice-payment-class.d.ts +0 -102
- package/dist/models/invoice-payment-class.js +0 -15
- package/dist/models/invoice-payments-class.d.ts +0 -25
- package/dist/models/invoice-payments-class.js +0 -15
- package/dist/models/invoice-status-class.d.ts +0 -48
- package/dist/models/invoice-status-class.js +0 -21
- package/dist/models/list-invoices-response-class.d.ts +0 -31
- package/dist/models/list-invoices-response-class.js +0 -15
- package/dist/models/list-policies-billing-dates-response-class.d.ts +0 -31
- package/dist/models/list-policies-billing-dates-response-class.js +0 -15
- package/dist/models/omit-type-class.d.ts +0 -156
- package/dist/models/omit-type-class.js +0 -31
- package/dist/models/policy-billing-date-class.d.ts +0 -42
- package/dist/models/policy-billing-date-class.js +0 -15
- package/models/create-correction-invoices-response-class.ts +0 -31
- package/models/create-custom-estimated-invoice-response-class.ts +0 -30
- package/models/create-estimated-invoice-response-class.ts +0 -37
- package/models/create-invoice-payment-response-class.ts +0 -31
- package/models/create-invoice-response-class.ts +0 -31
- package/models/create-invoice-status-request-dto.ts +0 -45
- package/models/create-termination-invoice-request-dto.ts +0 -60
- package/models/get-invoice-response-class.ts +0 -31
- package/models/invoice-class.ts +0 -180
- package/models/invoice-item-class.ts +0 -138
- package/models/invoice-payment-class.ts +0 -108
- package/models/invoice-payments-class.ts +0 -31
- package/models/invoice-status-class.ts +0 -57
- package/models/list-invoices-response-class.ts +0 -37
- package/models/list-policies-billing-dates-response-class.ts +0 -37
- package/models/omit-type-class.ts +0 -166
- package/models/policy-billing-date-class.ts +0 -48
- /package/dist/models/{create-correction-invoices-response-class.js → create-estimated-invoice-for-interval-request-dto.js} +0 -0
|
@@ -27,11 +27,5 @@ export interface CreateEstimatedInvoiceRequestDto {
|
|
|
27
27
|
* @type {object}
|
|
28
28
|
* @memberof CreateEstimatedInvoiceRequestDto
|
|
29
29
|
*/
|
|
30
|
-
'metadata'
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {boolean}
|
|
34
|
-
* @memberof CreateEstimatedInvoiceRequestDto
|
|
35
|
-
*/
|
|
36
|
-
'calculateProRata'?: boolean;
|
|
30
|
+
'metadata': object;
|
|
37
31
|
}
|
|
@@ -38,9 +38,9 @@ export interface CreateInvoicePaymentRequestDto {
|
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof CreateInvoicePaymentRequestDto
|
|
40
40
|
*/
|
|
41
|
-
'comment'
|
|
41
|
+
'comment': string;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Unique identifier referencing the payment.
|
|
44
44
|
* @type {number}
|
|
45
45
|
* @memberof CreateInvoicePaymentRequestDto
|
|
46
46
|
*/
|
|
@@ -20,7 +20,7 @@ export interface CreateInvoiceRequestDto {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof CreateInvoiceRequestDto
|
|
22
22
|
*/
|
|
23
|
-
'invoiceNumber'
|
|
23
|
+
'invoiceNumber': string;
|
|
24
24
|
/**
|
|
25
25
|
* Account number.
|
|
26
26
|
* @type {string}
|
|
@@ -50,15 +50,15 @@ export interface CreateInvoiceRequestDto {
|
|
|
50
50
|
* @type {object}
|
|
51
51
|
* @memberof CreateInvoiceRequestDto
|
|
52
52
|
*/
|
|
53
|
-
'metadata'
|
|
53
|
+
'metadata': object;
|
|
54
54
|
/**
|
|
55
|
-
* This is the date from which the invoice
|
|
55
|
+
* This is the date from which the invoice interval starts.
|
|
56
56
|
* @type {string}
|
|
57
57
|
* @memberof CreateInvoiceRequestDto
|
|
58
58
|
*/
|
|
59
59
|
'billingIntervalFrom': string;
|
|
60
60
|
/**
|
|
61
|
-
* This is the date that the invoice
|
|
61
|
+
* This is the date that the invoice interval ends.
|
|
62
62
|
* @type {string}
|
|
63
63
|
* @memberof CreateInvoiceRequestDto
|
|
64
64
|
*/
|
|
@@ -68,7 +68,7 @@ export interface CreateInvoiceRequestDto {
|
|
|
68
68
|
* @type {string}
|
|
69
69
|
* @memberof CreateInvoiceRequestDto
|
|
70
70
|
*/
|
|
71
|
-
'dueDate'
|
|
71
|
+
'dueDate': string;
|
|
72
72
|
}
|
|
73
73
|
export declare const CreateInvoiceRequestDtoTypeEnum: {
|
|
74
74
|
readonly Initial: "initial";
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,27 +1,12 @@
|
|
|
1
|
-
export * from './create-correction-invoices-response-class';
|
|
2
1
|
export * from './create-custom-estimated-invoice-request-dto';
|
|
3
|
-
export * from './create-
|
|
2
|
+
export * from './create-draft-invoice-request-dto';
|
|
3
|
+
export * from './create-estimated-invoice-for-interval-request-dto';
|
|
4
4
|
export * from './create-estimated-invoice-request-dto';
|
|
5
|
-
export * from './create-estimated-invoice-response-class';
|
|
6
5
|
export * from './create-invoice-payment-request-dto';
|
|
7
|
-
export * from './create-invoice-payment-response-class';
|
|
8
6
|
export * from './create-invoice-request-dto';
|
|
9
|
-
export * from './create-invoice-response-class';
|
|
10
|
-
export * from './create-invoice-status-request-dto';
|
|
11
|
-
export * from './create-termination-invoice-request-dto';
|
|
12
|
-
export * from './get-invoice-response-class';
|
|
13
7
|
export * from './inline-response200';
|
|
14
8
|
export * from './inline-response503';
|
|
15
|
-
export * from './invoice-class';
|
|
16
|
-
export * from './invoice-item-class';
|
|
17
|
-
export * from './invoice-payment-class';
|
|
18
|
-
export * from './invoice-payments-class';
|
|
19
|
-
export * from './invoice-status-class';
|
|
20
|
-
export * from './list-invoices-response-class';
|
|
21
|
-
export * from './list-policies-billing-dates-response-class';
|
|
22
9
|
export * from './list-request-dto';
|
|
23
|
-
export * from './omit-type-class';
|
|
24
|
-
export * from './policy-billing-date-class';
|
|
25
10
|
export * from './policy-dto';
|
|
26
11
|
export * from './policy-object-dto';
|
|
27
12
|
export * from './policy-premium-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -14,30 +14,15 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./create-correction-invoices-response-class"), exports);
|
|
18
17
|
__exportStar(require("./create-custom-estimated-invoice-request-dto"), exports);
|
|
19
|
-
__exportStar(require("./create-
|
|
18
|
+
__exportStar(require("./create-draft-invoice-request-dto"), exports);
|
|
19
|
+
__exportStar(require("./create-estimated-invoice-for-interval-request-dto"), exports);
|
|
20
20
|
__exportStar(require("./create-estimated-invoice-request-dto"), exports);
|
|
21
|
-
__exportStar(require("./create-estimated-invoice-response-class"), exports);
|
|
22
21
|
__exportStar(require("./create-invoice-payment-request-dto"), exports);
|
|
23
|
-
__exportStar(require("./create-invoice-payment-response-class"), exports);
|
|
24
22
|
__exportStar(require("./create-invoice-request-dto"), exports);
|
|
25
|
-
__exportStar(require("./create-invoice-response-class"), exports);
|
|
26
|
-
__exportStar(require("./create-invoice-status-request-dto"), exports);
|
|
27
|
-
__exportStar(require("./create-termination-invoice-request-dto"), exports);
|
|
28
|
-
__exportStar(require("./get-invoice-response-class"), exports);
|
|
29
23
|
__exportStar(require("./inline-response200"), exports);
|
|
30
24
|
__exportStar(require("./inline-response503"), exports);
|
|
31
|
-
__exportStar(require("./invoice-class"), exports);
|
|
32
|
-
__exportStar(require("./invoice-item-class"), exports);
|
|
33
|
-
__exportStar(require("./invoice-payment-class"), exports);
|
|
34
|
-
__exportStar(require("./invoice-payments-class"), exports);
|
|
35
|
-
__exportStar(require("./invoice-status-class"), exports);
|
|
36
|
-
__exportStar(require("./list-invoices-response-class"), exports);
|
|
37
|
-
__exportStar(require("./list-policies-billing-dates-response-class"), exports);
|
|
38
25
|
__exportStar(require("./list-request-dto"), exports);
|
|
39
|
-
__exportStar(require("./omit-type-class"), exports);
|
|
40
|
-
__exportStar(require("./policy-billing-date-class"), exports);
|
|
41
26
|
__exportStar(require("./policy-dto"), exports);
|
|
42
27
|
__exportStar(require("./policy-object-dto"), exports);
|
|
43
28
|
__exportStar(require("./policy-premium-dto"), exports);
|
|
@@ -23,32 +23,32 @@ export interface InlineResponse200 {
|
|
|
23
23
|
'status'?: string;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
|
-
* @type {{ [key: string]: { [key: string]:
|
|
26
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
27
27
|
* @memberof InlineResponse200
|
|
28
28
|
*/
|
|
29
29
|
'info'?: {
|
|
30
30
|
[key: string]: {
|
|
31
|
-
[key: string]:
|
|
31
|
+
[key: string]: object;
|
|
32
32
|
};
|
|
33
33
|
} | null;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
|
-
* @type {{ [key: string]: { [key: string]:
|
|
36
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
37
37
|
* @memberof InlineResponse200
|
|
38
38
|
*/
|
|
39
39
|
'error'?: {
|
|
40
40
|
[key: string]: {
|
|
41
|
-
[key: string]:
|
|
41
|
+
[key: string]: object;
|
|
42
42
|
};
|
|
43
43
|
} | null;
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
|
-
* @type {{ [key: string]: { [key: string]:
|
|
46
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
47
47
|
* @memberof InlineResponse200
|
|
48
48
|
*/
|
|
49
49
|
'details'?: {
|
|
50
50
|
[key: string]: {
|
|
51
|
-
[key: string]:
|
|
51
|
+
[key: string]: object;
|
|
52
52
|
};
|
|
53
53
|
};
|
|
54
54
|
}
|
|
@@ -23,32 +23,32 @@ export interface InlineResponse503 {
|
|
|
23
23
|
'status'?: string;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
|
-
* @type {{ [key: string]: { [key: string]:
|
|
26
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
27
27
|
* @memberof InlineResponse503
|
|
28
28
|
*/
|
|
29
29
|
'info'?: {
|
|
30
30
|
[key: string]: {
|
|
31
|
-
[key: string]:
|
|
31
|
+
[key: string]: object;
|
|
32
32
|
};
|
|
33
33
|
} | null;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
|
-
* @type {{ [key: string]: { [key: string]:
|
|
36
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
37
37
|
* @memberof InlineResponse503
|
|
38
38
|
*/
|
|
39
39
|
'error'?: {
|
|
40
40
|
[key: string]: {
|
|
41
|
-
[key: string]:
|
|
41
|
+
[key: string]: object;
|
|
42
42
|
};
|
|
43
43
|
} | null;
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
|
-
* @type {{ [key: string]: { [key: string]:
|
|
46
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
47
47
|
* @memberof InlineResponse503
|
|
48
48
|
*/
|
|
49
49
|
'details'?: {
|
|
50
50
|
[key: string]: {
|
|
51
|
-
[key: string]:
|
|
51
|
+
[key: string]: object;
|
|
52
52
|
};
|
|
53
53
|
};
|
|
54
54
|
}
|
|
@@ -63,7 +63,7 @@ export interface PolicyDto {
|
|
|
63
63
|
* @type {string}
|
|
64
64
|
* @memberof PolicyDto
|
|
65
65
|
*/
|
|
66
|
-
'status':
|
|
66
|
+
'status': string;
|
|
67
67
|
/**
|
|
68
68
|
* Policy holder.
|
|
69
69
|
* @type {string}
|
|
@@ -95,29 +95,15 @@ export interface PolicyDto {
|
|
|
95
95
|
*/
|
|
96
96
|
'productName': string;
|
|
97
97
|
/**
|
|
98
|
-
* A slug is a human-readable, unique identifier, used to identify a resource
|
|
98
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
99
99
|
* @type {string}
|
|
100
100
|
* @memberof PolicyDto
|
|
101
101
|
*/
|
|
102
102
|
'productSlug': string;
|
|
103
103
|
/**
|
|
104
|
-
*
|
|
105
|
-
* @type {string}
|
|
106
|
-
* @memberof PolicyDto
|
|
107
|
-
*/
|
|
108
|
-
'policyStartDate': string;
|
|
109
|
-
/**
|
|
110
|
-
*
|
|
111
|
-
* @type {string}
|
|
104
|
+
* Linked partners.
|
|
105
|
+
* @type {Array<string>}
|
|
112
106
|
* @memberof PolicyDto
|
|
113
107
|
*/
|
|
114
|
-
'
|
|
108
|
+
'partnerLinks': Array<string>;
|
|
115
109
|
}
|
|
116
|
-
export declare const PolicyDtoStatusEnum: {
|
|
117
|
-
readonly Active: "ACTIVE";
|
|
118
|
-
readonly Withdrawn: "WITHDRAWN";
|
|
119
|
-
readonly Terminated: "TERMINATED";
|
|
120
|
-
readonly Suspended: "SUSPENDED";
|
|
121
|
-
readonly Pending: "PENDING";
|
|
122
|
-
};
|
|
123
|
-
export type PolicyDtoStatusEnum = typeof PolicyDtoStatusEnum[keyof typeof PolicyDtoStatusEnum];
|
|
@@ -13,11 +13,3 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.PolicyDtoStatusEnum = void 0;
|
|
17
|
-
exports.PolicyDtoStatusEnum = {
|
|
18
|
-
Active: 'ACTIVE',
|
|
19
|
-
Withdrawn: 'WITHDRAWN',
|
|
20
|
-
Terminated: 'TERMINATED',
|
|
21
|
-
Suspended: 'SUSPENDED',
|
|
22
|
-
Pending: 'PENDING'
|
|
23
|
-
};
|
|
@@ -28,45 +28,39 @@ export interface PolicyObjectDto {
|
|
|
28
28
|
*/
|
|
29
29
|
'insuredObjectName': string;
|
|
30
30
|
/**
|
|
31
|
-
* Insured object
|
|
31
|
+
* Insured object label.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof PolicyObjectDto
|
|
34
34
|
*/
|
|
35
|
-
'
|
|
35
|
+
'insuredObjectLabel': string;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {
|
|
37
|
+
* A boolean value indicating whether the insured object accepts multiple objects.
|
|
38
|
+
* @type {boolean}
|
|
39
39
|
* @memberof PolicyObjectDto
|
|
40
40
|
*/
|
|
41
|
-
'
|
|
41
|
+
'isMultiInsuredObject': boolean;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Insured object summary.
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof PolicyObjectDto
|
|
46
46
|
*/
|
|
47
|
-
'
|
|
47
|
+
'summary': string;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {
|
|
49
|
+
* Insured object data.
|
|
50
|
+
* @type {object}
|
|
51
51
|
* @memberof PolicyObjectDto
|
|
52
52
|
*/
|
|
53
|
-
'
|
|
53
|
+
'data': object;
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
* Time at which the object was created.
|
|
56
56
|
* @type {string}
|
|
57
57
|
* @memberof PolicyObjectDto
|
|
58
58
|
*/
|
|
59
|
-
'
|
|
59
|
+
'createdAt': string;
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
61
|
+
* Time at which the object was updated.
|
|
62
62
|
* @type {string}
|
|
63
63
|
* @memberof PolicyObjectDto
|
|
64
64
|
*/
|
|
65
|
-
'
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @type {boolean}
|
|
69
|
-
* @memberof PolicyObjectDto
|
|
70
|
-
*/
|
|
71
|
-
'isMultiInsuredObject': boolean;
|
|
65
|
+
'updatedAt': string;
|
|
72
66
|
}
|
|
@@ -27,13 +27,13 @@ export interface PolicyPremiumDto {
|
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof PolicyPremiumDto
|
|
29
29
|
*/
|
|
30
|
-
'createdAt'
|
|
30
|
+
'createdAt': string;
|
|
31
31
|
/**
|
|
32
32
|
* Time at which the object was updated.
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @memberof PolicyPremiumDto
|
|
35
35
|
*/
|
|
36
|
-
'updatedAt'
|
|
36
|
+
'updatedAt': string;
|
|
37
37
|
/**
|
|
38
38
|
* Premium Items.
|
|
39
39
|
* @type {Array<PolicyPremiumItemDto>}
|
|
@@ -39,7 +39,7 @@ export interface PolicyPremiumItemDto {
|
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @memberof PolicyPremiumItemDto
|
|
41
41
|
*/
|
|
42
|
-
'updatedAt'
|
|
42
|
+
'updatedAt': string;
|
|
43
43
|
/**
|
|
44
44
|
* Item premium formula entity.
|
|
45
45
|
* @type {PremiumFormulaDto}
|
|
@@ -51,5 +51,5 @@ export interface PolicyPremiumItemDto {
|
|
|
51
51
|
* @type {boolean}
|
|
52
52
|
* @memberof PolicyPremiumItemDto
|
|
53
53
|
*/
|
|
54
|
-
'isOverride'
|
|
54
|
+
'isOverride': boolean;
|
|
55
55
|
}
|
|
@@ -33,23 +33,29 @@ export interface PolicyVersionDto {
|
|
|
33
33
|
* @type {object}
|
|
34
34
|
* @memberof PolicyVersionDto
|
|
35
35
|
*/
|
|
36
|
-
'metadata'
|
|
36
|
+
'metadata': object;
|
|
37
37
|
/**
|
|
38
38
|
* Time at which the object was created.
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @memberof PolicyVersionDto
|
|
41
41
|
*/
|
|
42
|
-
'createdAt'
|
|
42
|
+
'createdAt': string;
|
|
43
43
|
/**
|
|
44
44
|
* Time at which the object was updated.
|
|
45
45
|
* @type {string}
|
|
46
46
|
* @memberof PolicyVersionDto
|
|
47
47
|
*/
|
|
48
|
-
'updatedAt'
|
|
48
|
+
'updatedAt': string;
|
|
49
49
|
/**
|
|
50
50
|
* Policy timeline.
|
|
51
51
|
* @type {Array<TimesliceDto>}
|
|
52
52
|
* @memberof PolicyVersionDto
|
|
53
53
|
*/
|
|
54
54
|
'timeline': Array<TimesliceDto>;
|
|
55
|
+
/**
|
|
56
|
+
* Is this a draft policy version?
|
|
57
|
+
* @type {boolean}
|
|
58
|
+
* @memberof PolicyVersionDto
|
|
59
|
+
*/
|
|
60
|
+
'isDraft': boolean;
|
|
55
61
|
}
|
|
@@ -62,11 +62,11 @@ export interface PremiumFormulaDto {
|
|
|
62
62
|
* @type {string}
|
|
63
63
|
* @memberof PremiumFormulaDto
|
|
64
64
|
*/
|
|
65
|
-
'createdAt'
|
|
65
|
+
'createdAt': string;
|
|
66
66
|
/**
|
|
67
67
|
* Time at which the object was updated.
|
|
68
68
|
* @type {string}
|
|
69
69
|
* @memberof PremiumFormulaDto
|
|
70
70
|
*/
|
|
71
|
-
'updatedAt'
|
|
71
|
+
'updatedAt': string;
|
|
72
72
|
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL BillingService
|
|
5
|
+
* The EMIL BillingService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface CreateDraftInvoiceRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateDraftInvoiceRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Invoice type.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateDraftInvoiceRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'type': CreateDraftInvoiceRequestDtoTypeEnum;
|
|
29
|
+
/**
|
|
30
|
+
* Unique number for the invoice. If not set, the system will automatically assign a value.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateDraftInvoiceRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'invoiceNumber'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Unique identifier of the policy that this object belongs to.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreateDraftInvoiceRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'policyCode': string;
|
|
41
|
+
/**
|
|
42
|
+
* Account number.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreateDraftInvoiceRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'accountNumber': string;
|
|
47
|
+
/**
|
|
48
|
+
* Metadata contains extra information that the object would need for specific cases.
|
|
49
|
+
* @type {object}
|
|
50
|
+
* @memberof CreateDraftInvoiceRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'metadata': object;
|
|
53
|
+
/**
|
|
54
|
+
* This is the date from which the invoice interval starts.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CreateDraftInvoiceRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'billingIntervalFrom'?: string;
|
|
59
|
+
/**
|
|
60
|
+
* This is the date that the invoice interval ends.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof CreateDraftInvoiceRequestDto
|
|
63
|
+
*/
|
|
64
|
+
'billingIntervalTo'?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Invoice due date.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof CreateDraftInvoiceRequestDto
|
|
69
|
+
*/
|
|
70
|
+
'dueDate'?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Policy number.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof CreateDraftInvoiceRequestDto
|
|
75
|
+
*/
|
|
76
|
+
'policyNumber'?: string;
|
|
77
|
+
/**
|
|
78
|
+
* 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.
|
|
79
|
+
* @type {object}
|
|
80
|
+
* @memberof CreateDraftInvoiceRequestDto
|
|
81
|
+
*/
|
|
82
|
+
'calculateProRata'?: object;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export const CreateDraftInvoiceRequestDtoTypeEnum = {
|
|
86
|
+
Initial: 'initial',
|
|
87
|
+
Recurring: 'recurring',
|
|
88
|
+
Correction: 'correction',
|
|
89
|
+
Estimated: 'estimated',
|
|
90
|
+
Penalty: 'penalty',
|
|
91
|
+
Other: 'other',
|
|
92
|
+
Withdraw: 'withdraw',
|
|
93
|
+
Final: 'final'
|
|
94
|
+
} as const;
|
|
95
|
+
|
|
96
|
+
export type CreateDraftInvoiceRequestDtoTypeEnum = typeof CreateDraftInvoiceRequestDtoTypeEnum[keyof typeof CreateDraftInvoiceRequestDtoTypeEnum];
|
|
97
|
+
|
|
98
|
+
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL BillingService
|
|
5
|
+
* The EMIL BillingService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { PolicyDto } from './policy-dto';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateEstimatedInvoiceForIntervalRequestDto
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateEstimatedInvoiceForIntervalRequestDto {
|
|
24
|
+
/**
|
|
25
|
+
* The policy object that the invoice is attached to. This contains all relevant policy details associated with this invoice.
|
|
26
|
+
* @type {PolicyDto}
|
|
27
|
+
* @memberof CreateEstimatedInvoiceForIntervalRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'policy': PolicyDto;
|
|
30
|
+
/**
|
|
31
|
+
* Metadata contains extra information that the object would need for specific cases.
|
|
32
|
+
* @type {object}
|
|
33
|
+
* @memberof CreateEstimatedInvoiceForIntervalRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'metadata'?: object;
|
|
36
|
+
/**
|
|
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
|
+
* @type {boolean}
|
|
39
|
+
* @memberof CreateEstimatedInvoiceForIntervalRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'calculateProRata'?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* The start date of the billing interval. This is the date from which the invoice period begins.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CreateEstimatedInvoiceForIntervalRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'billingIntervalFrom': string;
|
|
48
|
+
/**
|
|
49
|
+
* The end date of the billing interval. This is the date until which the invoice period runs. Together with billingIntervalFrom, it defines the time period for which the invoice is issued.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CreateEstimatedInvoiceForIntervalRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'billingIntervalTo': string;
|
|
54
|
+
}
|
|
55
|
+
|
|
@@ -32,12 +32,6 @@ export interface CreateEstimatedInvoiceRequestDto {
|
|
|
32
32
|
* @type {object}
|
|
33
33
|
* @memberof CreateEstimatedInvoiceRequestDto
|
|
34
34
|
*/
|
|
35
|
-
'metadata'
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {boolean}
|
|
39
|
-
* @memberof CreateEstimatedInvoiceRequestDto
|
|
40
|
-
*/
|
|
41
|
-
'calculateProRata'?: boolean;
|
|
35
|
+
'metadata': object;
|
|
42
36
|
}
|
|
43
37
|
|
|
@@ -43,9 +43,9 @@ export interface CreateInvoicePaymentRequestDto {
|
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof CreateInvoicePaymentRequestDto
|
|
45
45
|
*/
|
|
46
|
-
'comment'
|
|
46
|
+
'comment': string;
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* Unique identifier referencing the payment.
|
|
49
49
|
* @type {number}
|
|
50
50
|
* @memberof CreateInvoicePaymentRequestDto
|
|
51
51
|
*/
|
|
@@ -25,7 +25,7 @@ export interface CreateInvoiceRequestDto {
|
|
|
25
25
|
* @type {string}
|
|
26
26
|
* @memberof CreateInvoiceRequestDto
|
|
27
27
|
*/
|
|
28
|
-
'invoiceNumber'
|
|
28
|
+
'invoiceNumber': string;
|
|
29
29
|
/**
|
|
30
30
|
* Account number.
|
|
31
31
|
* @type {string}
|
|
@@ -55,15 +55,15 @@ export interface CreateInvoiceRequestDto {
|
|
|
55
55
|
* @type {object}
|
|
56
56
|
* @memberof CreateInvoiceRequestDto
|
|
57
57
|
*/
|
|
58
|
-
'metadata'
|
|
58
|
+
'metadata': object;
|
|
59
59
|
/**
|
|
60
|
-
* This is the date from which the invoice
|
|
60
|
+
* This is the date from which the invoice interval starts.
|
|
61
61
|
* @type {string}
|
|
62
62
|
* @memberof CreateInvoiceRequestDto
|
|
63
63
|
*/
|
|
64
64
|
'billingIntervalFrom': string;
|
|
65
65
|
/**
|
|
66
|
-
* This is the date that the invoice
|
|
66
|
+
* This is the date that the invoice interval ends.
|
|
67
67
|
* @type {string}
|
|
68
68
|
* @memberof CreateInvoiceRequestDto
|
|
69
69
|
*/
|
|
@@ -73,7 +73,7 @@ export interface CreateInvoiceRequestDto {
|
|
|
73
73
|
* @type {string}
|
|
74
74
|
* @memberof CreateInvoiceRequestDto
|
|
75
75
|
*/
|
|
76
|
-
'dueDate'
|
|
76
|
+
'dueDate': string;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
export const CreateInvoiceRequestDtoTypeEnum = {
|
package/models/index.ts
CHANGED
|
@@ -1,27 +1,12 @@
|
|
|
1
|
-
export * from './create-correction-invoices-response-class';
|
|
2
1
|
export * from './create-custom-estimated-invoice-request-dto';
|
|
3
|
-
export * from './create-
|
|
2
|
+
export * from './create-draft-invoice-request-dto';
|
|
3
|
+
export * from './create-estimated-invoice-for-interval-request-dto';
|
|
4
4
|
export * from './create-estimated-invoice-request-dto';
|
|
5
|
-
export * from './create-estimated-invoice-response-class';
|
|
6
5
|
export * from './create-invoice-payment-request-dto';
|
|
7
|
-
export * from './create-invoice-payment-response-class';
|
|
8
6
|
export * from './create-invoice-request-dto';
|
|
9
|
-
export * from './create-invoice-response-class';
|
|
10
|
-
export * from './create-invoice-status-request-dto';
|
|
11
|
-
export * from './create-termination-invoice-request-dto';
|
|
12
|
-
export * from './get-invoice-response-class';
|
|
13
7
|
export * from './inline-response200';
|
|
14
8
|
export * from './inline-response503';
|
|
15
|
-
export * from './invoice-class';
|
|
16
|
-
export * from './invoice-item-class';
|
|
17
|
-
export * from './invoice-payment-class';
|
|
18
|
-
export * from './invoice-payments-class';
|
|
19
|
-
export * from './invoice-status-class';
|
|
20
|
-
export * from './list-invoices-response-class';
|
|
21
|
-
export * from './list-policies-billing-dates-response-class';
|
|
22
9
|
export * from './list-request-dto';
|
|
23
|
-
export * from './omit-type-class';
|
|
24
|
-
export * from './policy-billing-date-class';
|
|
25
10
|
export * from './policy-dto';
|
|
26
11
|
export * from './policy-object-dto';
|
|
27
12
|
export * from './policy-premium-dto';
|