@emilgroup/billing-sdk 1.8.0 → 1.15.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 -16
- package/README.md +2 -2
- package/api/correction-invoices-api.ts +2 -4
- package/api/draft-invoice-api.ts +342 -0
- package/api/estimated-invoices-api.ts +112 -11
- package/api/initial-invoices-api.ts +2 -4
- package/api/invoices-api.ts +110 -88
- package/api/recurring-invoices-api.ts +2 -4
- package/api.ts +2 -0
- package/base.ts +1 -0
- package/dist/api/correction-invoices-api.d.ts +105 -0
- package/dist/api/correction-invoices-api.js +230 -0
- package/dist/api/default-api.d.ts +66 -0
- package/dist/api/default-api.js +196 -0
- package/dist/api/draft-invoice-api.d.ts +185 -0
- package/dist/api/draft-invoice-api.js +392 -0
- package/dist/api/estimated-invoices-api.d.ts +208 -0
- package/dist/api/estimated-invoices-api.js +410 -0
- package/dist/api/initial-invoices-api.d.ts +105 -0
- package/dist/api/initial-invoices-api.js +230 -0
- package/dist/api/invoices-api.d.ts +322 -0
- package/dist/api/invoices-api.js +489 -0
- package/dist/api/recurring-invoices-api.d.ts +105 -0
- package/dist/api/recurring-invoices-api.js +230 -0
- package/dist/api.d.ts +18 -0
- package/dist/api.js +36 -0
- package/dist/base.d.ts +74 -0
- package/dist/base.js +299 -0
- package/dist/common.d.ts +91 -0
- package/dist/common.js +276 -0
- package/dist/configuration.d.ts +83 -0
- package/dist/configuration.js +44 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +36 -0
- package/dist/models/create-custom-estimated-invoice-request-dto.d.ts +35 -0
- package/{models/create-custom-estimated-invoice-response-class.ts → dist/models/create-custom-estimated-invoice-request-dto.js} +7 -17
- package/dist/models/create-draft-invoice-request-dto.d.ts +89 -0
- package/dist/models/create-draft-invoice-request-dto.js +26 -0
- package/dist/models/create-estimated-invoice-for-interval-request-dto.d.ts +49 -0
- package/{models/get-invoice-response-class.ts → dist/models/create-estimated-invoice-for-interval-request-dto.js} +2 -18
- package/dist/models/create-estimated-invoice-request-dto.d.ts +31 -0
- package/{models/create-invoice-response-class.ts → dist/models/create-estimated-invoice-request-dto.js} +2 -18
- package/dist/models/create-invoice-payment-request-dto.d.ts +48 -0
- package/{models/invoice-payments-class.ts → dist/models/create-invoice-payment-request-dto.js} +2 -18
- package/dist/models/create-invoice-request-dto.d.ts +83 -0
- package/dist/models/create-invoice-request-dto.js +26 -0
- package/dist/models/index.d.ts +17 -0
- package/dist/models/index.js +33 -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/list-request-dto.d.ts +54 -0
- package/dist/models/list-request-dto.js +15 -0
- package/dist/models/policy-dto.d.ts +109 -0
- package/dist/models/policy-dto.js +15 -0
- package/dist/models/policy-object-dto.d.ts +66 -0
- package/dist/models/policy-object-dto.js +15 -0
- package/dist/models/policy-premium-dto.d.ts +49 -0
- package/dist/models/policy-premium-dto.js +15 -0
- package/dist/models/policy-premium-item-dto.d.ts +55 -0
- package/dist/models/policy-premium-item-dto.js +15 -0
- package/dist/models/policy-version-dto.d.ts +61 -0
- package/dist/models/policy-version-dto.js +15 -0
- package/dist/models/premium-formula-dto.d.ts +72 -0
- package/dist/models/premium-formula-dto.js +15 -0
- package/dist/models/revert-invoice-request-dto.d.ts +24 -0
- package/dist/models/revert-invoice-request-dto.js +15 -0
- package/dist/models/timeslice-dto.d.ts +62 -0
- package/dist/models/timeslice-dto.js +15 -0
- 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-invoice-payment-request-dto.ts +2 -8
- package/models/create-invoice-request-dto.ts +11 -5
- package/models/index.ts +2 -16
- package/models/inline-response200.ts +6 -6
- package/models/inline-response503.ts +6 -6
- package/models/policy-dto.ts +5 -21
- package/models/policy-object-dto.ts +20 -2
- package/models/policy-premium-dto.ts +2 -2
- package/models/policy-premium-item-dto.ts +2 -2
- package/models/policy-version-dto.ts +6 -0
- package/models/premium-formula-dto.ts +2 -2
- package/package.json +1 -1
- package/models/create-correction-invoices-response-class.ts +0 -31
- package/models/create-estimated-invoice-response-class.ts +0 -37
- package/models/create-invoice-status-request-dto.ts +0 -45
- package/models/create-termination-invoice-request-dto.ts +0 -54
- package/models/invoice-class.ts +0 -174
- package/models/invoice-item-class.ts +0 -138
- package/models/invoice-payment-class.ts +0 -102
- 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 -167
- package/models/policy-billing-date-class.ts +0 -48
|
@@ -0,0 +1,89 @@
|
|
|
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 CreateDraftInvoiceRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateDraftInvoiceRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Invoice type.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateDraftInvoiceRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'type': CreateDraftInvoiceRequestDtoTypeEnum;
|
|
24
|
+
/**
|
|
25
|
+
* Unique number for the invoice. If not set, the system will automatically assign a value.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateDraftInvoiceRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'invoiceNumber'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Unique identifier of the policy that this object belongs to.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateDraftInvoiceRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'policyCode': string;
|
|
36
|
+
/**
|
|
37
|
+
* Account number.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreateDraftInvoiceRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'accountNumber': string;
|
|
42
|
+
/**
|
|
43
|
+
* Metadata contains extra information that the object would need for specific cases.
|
|
44
|
+
* @type {object}
|
|
45
|
+
* @memberof CreateDraftInvoiceRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'metadata': object;
|
|
48
|
+
/**
|
|
49
|
+
* This is the date from which the invoice interval starts.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CreateDraftInvoiceRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'billingIntervalFrom'?: string;
|
|
54
|
+
/**
|
|
55
|
+
* This is the date that the invoice interval ends.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof CreateDraftInvoiceRequestDto
|
|
58
|
+
*/
|
|
59
|
+
'billingIntervalTo'?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Invoice due date.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof CreateDraftInvoiceRequestDto
|
|
64
|
+
*/
|
|
65
|
+
'dueDate'?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Policy number.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof CreateDraftInvoiceRequestDto
|
|
70
|
+
*/
|
|
71
|
+
'policyNumber'?: string;
|
|
72
|
+
/**
|
|
73
|
+
* 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.
|
|
74
|
+
* @type {object}
|
|
75
|
+
* @memberof CreateDraftInvoiceRequestDto
|
|
76
|
+
*/
|
|
77
|
+
'calculateProRata'?: object;
|
|
78
|
+
}
|
|
79
|
+
export declare const CreateDraftInvoiceRequestDtoTypeEnum: {
|
|
80
|
+
readonly Initial: "initial";
|
|
81
|
+
readonly Recurring: "recurring";
|
|
82
|
+
readonly Correction: "correction";
|
|
83
|
+
readonly Estimated: "estimated";
|
|
84
|
+
readonly Penalty: "penalty";
|
|
85
|
+
readonly Other: "other";
|
|
86
|
+
readonly Withdraw: "withdraw";
|
|
87
|
+
readonly Final: "final";
|
|
88
|
+
};
|
|
89
|
+
export type CreateDraftInvoiceRequestDtoTypeEnum = typeof CreateDraftInvoiceRequestDtoTypeEnum[keyof typeof CreateDraftInvoiceRequestDtoTypeEnum];
|
|
@@ -0,0 +1,26 @@
|
|
|
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 });
|
|
16
|
+
exports.CreateDraftInvoiceRequestDtoTypeEnum = void 0;
|
|
17
|
+
exports.CreateDraftInvoiceRequestDtoTypeEnum = {
|
|
18
|
+
Initial: 'initial',
|
|
19
|
+
Recurring: 'recurring',
|
|
20
|
+
Correction: 'correction',
|
|
21
|
+
Estimated: 'estimated',
|
|
22
|
+
Penalty: 'penalty',
|
|
23
|
+
Other: 'other',
|
|
24
|
+
Withdraw: 'withdraw',
|
|
25
|
+
Final: 'final'
|
|
26
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
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
|
+
import { PolicyDto } from './policy-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateEstimatedInvoiceForIntervalRequestDto
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateEstimatedInvoiceForIntervalRequestDto {
|
|
19
|
+
/**
|
|
20
|
+
* The policy object that the invoice is attached to. This contains all relevant policy details associated with this invoice.
|
|
21
|
+
* @type {PolicyDto}
|
|
22
|
+
* @memberof CreateEstimatedInvoiceForIntervalRequestDto
|
|
23
|
+
*/
|
|
24
|
+
'policy': PolicyDto;
|
|
25
|
+
/**
|
|
26
|
+
* Metadata contains extra information that the object would need for specific cases.
|
|
27
|
+
* @type {object}
|
|
28
|
+
* @memberof CreateEstimatedInvoiceForIntervalRequestDto
|
|
29
|
+
*/
|
|
30
|
+
'metadata'?: object;
|
|
31
|
+
/**
|
|
32
|
+
* 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.
|
|
33
|
+
* @type {boolean}
|
|
34
|
+
* @memberof CreateEstimatedInvoiceForIntervalRequestDto
|
|
35
|
+
*/
|
|
36
|
+
'calculateProRata'?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* The start date of the billing interval. This is the date from which the invoice period begins.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof CreateEstimatedInvoiceForIntervalRequestDto
|
|
41
|
+
*/
|
|
42
|
+
'billingIntervalFrom': string;
|
|
43
|
+
/**
|
|
44
|
+
* 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.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof CreateEstimatedInvoiceForIntervalRequestDto
|
|
47
|
+
*/
|
|
48
|
+
'billingIntervalTo': string;
|
|
49
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/* tslint:disable */
|
|
2
3
|
/* eslint-disable */
|
|
3
4
|
/**
|
|
@@ -11,21 +12,4 @@
|
|
|
11
12
|
* https://openapi-generator.tech
|
|
12
13
|
* Do not edit the class manually.
|
|
13
14
|
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
import { OmitTypeClass } from './omit-type-class';
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @export
|
|
21
|
-
* @interface GetInvoiceResponseClass
|
|
22
|
-
*/
|
|
23
|
-
export interface GetInvoiceResponseClass {
|
|
24
|
-
/**
|
|
25
|
-
* Invoice response.
|
|
26
|
-
* @type {OmitTypeClass}
|
|
27
|
-
* @memberof GetInvoiceResponseClass
|
|
28
|
-
*/
|
|
29
|
-
'invoice': OmitTypeClass;
|
|
30
|
-
}
|
|
31
|
-
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
import { PolicyDto } from './policy-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateEstimatedInvoiceRequestDto
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateEstimatedInvoiceRequestDto {
|
|
19
|
+
/**
|
|
20
|
+
* Policy.
|
|
21
|
+
* @type {PolicyDto}
|
|
22
|
+
* @memberof CreateEstimatedInvoiceRequestDto
|
|
23
|
+
*/
|
|
24
|
+
'policy': PolicyDto;
|
|
25
|
+
/**
|
|
26
|
+
* Metadata contains extra information that the object would need for specific cases.
|
|
27
|
+
* @type {object}
|
|
28
|
+
* @memberof CreateEstimatedInvoiceRequestDto
|
|
29
|
+
*/
|
|
30
|
+
'metadata': object;
|
|
31
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/* tslint:disable */
|
|
2
3
|
/* eslint-disable */
|
|
3
4
|
/**
|
|
@@ -11,21 +12,4 @@
|
|
|
11
12
|
* https://openapi-generator.tech
|
|
12
13
|
* Do not edit the class manually.
|
|
13
14
|
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
import { OmitTypeClass } from './omit-type-class';
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @export
|
|
21
|
-
* @interface CreateInvoiceResponseClass
|
|
22
|
-
*/
|
|
23
|
-
export interface CreateInvoiceResponseClass {
|
|
24
|
-
/**
|
|
25
|
-
* Invoice response.
|
|
26
|
-
* @type {OmitTypeClass}
|
|
27
|
-
* @memberof CreateInvoiceResponseClass
|
|
28
|
-
*/
|
|
29
|
-
'invoice': OmitTypeClass;
|
|
30
|
-
}
|
|
31
|
-
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,48 @@
|
|
|
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 CreateInvoicePaymentRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateInvoicePaymentRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Payment amount.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof CreateInvoicePaymentRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'transactionAmount': number;
|
|
24
|
+
/**
|
|
25
|
+
* Payment date.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateInvoicePaymentRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'transactionDate': string;
|
|
30
|
+
/**
|
|
31
|
+
* Transaction reference.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateInvoicePaymentRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'transactionReference': string;
|
|
36
|
+
/**
|
|
37
|
+
* Payment comment.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreateInvoicePaymentRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'comment': string;
|
|
42
|
+
/**
|
|
43
|
+
* Unique identifier referencing the payment.
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof CreateInvoicePaymentRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'paymentId': number;
|
|
48
|
+
}
|
package/{models/invoice-payments-class.ts → dist/models/create-invoice-payment-request-dto.js}
RENAMED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/* tslint:disable */
|
|
2
3
|
/* eslint-disable */
|
|
3
4
|
/**
|
|
@@ -11,21 +12,4 @@
|
|
|
11
12
|
* https://openapi-generator.tech
|
|
12
13
|
* Do not edit the class manually.
|
|
13
14
|
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
import { InvoicePaymentClass } from './invoice-payment-class';
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @export
|
|
21
|
-
* @interface InvoicePaymentsClass
|
|
22
|
-
*/
|
|
23
|
-
export interface InvoicePaymentsClass {
|
|
24
|
-
/**
|
|
25
|
-
* Invoice payments.
|
|
26
|
-
* @type {Array<InvoicePaymentClass>}
|
|
27
|
-
* @memberof InvoicePaymentsClass
|
|
28
|
-
*/
|
|
29
|
-
'payments': Array<InvoicePaymentClass>;
|
|
30
|
-
}
|
|
31
|
-
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,83 @@
|
|
|
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 CreateInvoiceRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateInvoiceRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Unique number for the invoice. If not set, the system will automatically assign a value.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateInvoiceRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'invoiceNumber': string;
|
|
24
|
+
/**
|
|
25
|
+
* Account number.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateInvoiceRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'accountNumber': string;
|
|
30
|
+
/**
|
|
31
|
+
* Unique identifier of the policy that this object belongs to.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateInvoiceRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'policyCode': string;
|
|
36
|
+
/**
|
|
37
|
+
* Policy number.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreateInvoiceRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'policyNumber': string;
|
|
42
|
+
/**
|
|
43
|
+
* Type of the invoice.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CreateInvoiceRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'type': CreateInvoiceRequestDtoTypeEnum;
|
|
48
|
+
/**
|
|
49
|
+
* Metadata contains extra information that the object would need for specific cases.
|
|
50
|
+
* @type {object}
|
|
51
|
+
* @memberof CreateInvoiceRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'metadata': object;
|
|
54
|
+
/**
|
|
55
|
+
* This is the date from which the invoice interval starts.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof CreateInvoiceRequestDto
|
|
58
|
+
*/
|
|
59
|
+
'billingIntervalFrom': string;
|
|
60
|
+
/**
|
|
61
|
+
* This is the date that the invoice interval ends.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof CreateInvoiceRequestDto
|
|
64
|
+
*/
|
|
65
|
+
'billingIntervalTo': string;
|
|
66
|
+
/**
|
|
67
|
+
* Invoice due date.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof CreateInvoiceRequestDto
|
|
70
|
+
*/
|
|
71
|
+
'dueDate': string;
|
|
72
|
+
}
|
|
73
|
+
export declare const CreateInvoiceRequestDtoTypeEnum: {
|
|
74
|
+
readonly Initial: "initial";
|
|
75
|
+
readonly Recurring: "recurring";
|
|
76
|
+
readonly Correction: "correction";
|
|
77
|
+
readonly Estimated: "estimated";
|
|
78
|
+
readonly Penalty: "penalty";
|
|
79
|
+
readonly Other: "other";
|
|
80
|
+
readonly Withdraw: "withdraw";
|
|
81
|
+
readonly Final: "final";
|
|
82
|
+
};
|
|
83
|
+
export type CreateInvoiceRequestDtoTypeEnum = typeof CreateInvoiceRequestDtoTypeEnum[keyof typeof CreateInvoiceRequestDtoTypeEnum];
|
|
@@ -0,0 +1,26 @@
|
|
|
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 });
|
|
16
|
+
exports.CreateInvoiceRequestDtoTypeEnum = void 0;
|
|
17
|
+
exports.CreateInvoiceRequestDtoTypeEnum = {
|
|
18
|
+
Initial: 'initial',
|
|
19
|
+
Recurring: 'recurring',
|
|
20
|
+
Correction: 'correction',
|
|
21
|
+
Estimated: 'estimated',
|
|
22
|
+
Penalty: 'penalty',
|
|
23
|
+
Other: 'other',
|
|
24
|
+
Withdraw: 'withdraw',
|
|
25
|
+
Final: 'final'
|
|
26
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export * from './create-custom-estimated-invoice-request-dto';
|
|
2
|
+
export * from './create-draft-invoice-request-dto';
|
|
3
|
+
export * from './create-estimated-invoice-for-interval-request-dto';
|
|
4
|
+
export * from './create-estimated-invoice-request-dto';
|
|
5
|
+
export * from './create-invoice-payment-request-dto';
|
|
6
|
+
export * from './create-invoice-request-dto';
|
|
7
|
+
export * from './inline-response200';
|
|
8
|
+
export * from './inline-response503';
|
|
9
|
+
export * from './list-request-dto';
|
|
10
|
+
export * from './policy-dto';
|
|
11
|
+
export * from './policy-object-dto';
|
|
12
|
+
export * from './policy-premium-dto';
|
|
13
|
+
export * from './policy-premium-item-dto';
|
|
14
|
+
export * from './policy-version-dto';
|
|
15
|
+
export * from './premium-formula-dto';
|
|
16
|
+
export * from './revert-invoice-request-dto';
|
|
17
|
+
export * from './timeslice-dto';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./create-custom-estimated-invoice-request-dto"), exports);
|
|
18
|
+
__exportStar(require("./create-draft-invoice-request-dto"), exports);
|
|
19
|
+
__exportStar(require("./create-estimated-invoice-for-interval-request-dto"), exports);
|
|
20
|
+
__exportStar(require("./create-estimated-invoice-request-dto"), exports);
|
|
21
|
+
__exportStar(require("./create-invoice-payment-request-dto"), exports);
|
|
22
|
+
__exportStar(require("./create-invoice-request-dto"), exports);
|
|
23
|
+
__exportStar(require("./inline-response200"), exports);
|
|
24
|
+
__exportStar(require("./inline-response503"), exports);
|
|
25
|
+
__exportStar(require("./list-request-dto"), exports);
|
|
26
|
+
__exportStar(require("./policy-dto"), exports);
|
|
27
|
+
__exportStar(require("./policy-object-dto"), exports);
|
|
28
|
+
__exportStar(require("./policy-premium-dto"), exports);
|
|
29
|
+
__exportStar(require("./policy-premium-item-dto"), exports);
|
|
30
|
+
__exportStar(require("./policy-version-dto"), exports);
|
|
31
|
+
__exportStar(require("./premium-formula-dto"), exports);
|
|
32
|
+
__exportStar(require("./revert-invoice-request-dto"), exports);
|
|
33
|
+
__exportStar(require("./timeslice-dto"), exports);
|
|
@@ -0,0 +1,54 @@
|
|
|
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 InlineResponse200
|
|
16
|
+
*/
|
|
17
|
+
export interface InlineResponse200 {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InlineResponse200
|
|
22
|
+
*/
|
|
23
|
+
'status'?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
27
|
+
* @memberof InlineResponse200
|
|
28
|
+
*/
|
|
29
|
+
'info'?: {
|
|
30
|
+
[key: string]: {
|
|
31
|
+
[key: string]: object;
|
|
32
|
+
};
|
|
33
|
+
} | null;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
37
|
+
* @memberof InlineResponse200
|
|
38
|
+
*/
|
|
39
|
+
'error'?: {
|
|
40
|
+
[key: string]: {
|
|
41
|
+
[key: string]: object;
|
|
42
|
+
};
|
|
43
|
+
} | null;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
47
|
+
* @memberof InlineResponse200
|
|
48
|
+
*/
|
|
49
|
+
'details'?: {
|
|
50
|
+
[key: string]: {
|
|
51
|
+
[key: string]: object;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -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,54 @@
|
|
|
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 InlineResponse503
|
|
16
|
+
*/
|
|
17
|
+
export interface InlineResponse503 {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InlineResponse503
|
|
22
|
+
*/
|
|
23
|
+
'status'?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
27
|
+
* @memberof InlineResponse503
|
|
28
|
+
*/
|
|
29
|
+
'info'?: {
|
|
30
|
+
[key: string]: {
|
|
31
|
+
[key: string]: object;
|
|
32
|
+
};
|
|
33
|
+
} | null;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
37
|
+
* @memberof InlineResponse503
|
|
38
|
+
*/
|
|
39
|
+
'error'?: {
|
|
40
|
+
[key: string]: {
|
|
41
|
+
[key: string]: object;
|
|
42
|
+
};
|
|
43
|
+
} | null;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
47
|
+
* @memberof InlineResponse503
|
|
48
|
+
*/
|
|
49
|
+
'details'?: {
|
|
50
|
+
[key: string]: {
|
|
51
|
+
[key: string]: object;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -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,54 @@
|
|
|
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 ListRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface ListRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Page size
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ListRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'pageSize'?: number;
|
|
24
|
+
/**
|
|
25
|
+
* Page token
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ListRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'pageToken'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* List filter
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'filter'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Search query
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ListRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'search'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Ordering criteria
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ListRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'order'?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Extra fields to fetch
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ListRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'expand'?: string;
|
|
54
|
+
}
|