@emilgroup/billing-v2-sdk-node 0.0.0-stage → 1.0.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 +93 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +83 -2
- package/api/bill-runs-api.ts +472 -0
- package/api/bills-api.ts +149 -0
- package/api/invoices-api.ts +1534 -0
- package/api/jobs-api.ts +760 -0
- package/api/policy-billings-api.ts +595 -0
- package/api.ts +39 -0
- package/base.ts +396 -0
- package/common.ts +200 -0
- package/configuration.ts +118 -0
- package/dist/api/bill-runs-api.d.ts +266 -0
- package/dist/api/bill-runs-api.js +470 -0
- package/dist/api/bills-api.d.ts +87 -0
- package/dist/api/bills-api.js +211 -0
- package/dist/api/invoices-api.d.ts +847 -0
- package/dist/api/invoices-api.js +1357 -0
- package/dist/api/jobs-api.d.ts +426 -0
- package/dist/api/jobs-api.js +712 -0
- package/dist/api/policy-billings-api.d.ts +332 -0
- package/dist/api/policy-billings-api.js +565 -0
- package/dist/api.d.ts +16 -0
- package/dist/api.js +34 -0
- package/dist/base.d.ts +97 -0
- package/dist/base.js +493 -0
- package/dist/common.d.ts +92 -0
- package/dist/common.js +278 -0
- package/dist/configuration.d.ts +96 -0
- package/dist/configuration.js +52 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +36 -0
- package/dist/models/any.d.ts +25 -0
- package/dist/models/any.js +15 -0
- package/dist/models/bill-item.d.ts +132 -0
- package/dist/models/bill-item.js +15 -0
- package/dist/models/bill-run.d.ts +145 -0
- package/dist/models/bill-run.js +15 -0
- package/dist/models/bill.d.ts +194 -0
- package/dist/models/bill.js +15 -0
- package/dist/models/cancel-job-response.d.ts +25 -0
- package/dist/models/cancel-job-response.js +15 -0
- package/dist/models/create-correction-invoices-request.d.ts +72 -0
- package/dist/models/create-correction-invoices-request.js +15 -0
- package/dist/models/create-correction-invoices-response.d.ts +31 -0
- package/dist/models/create-correction-invoices-response.js +15 -0
- package/dist/models/create-detail-export-job-request.d.ts +56 -0
- package/dist/models/create-detail-export-job-request.js +15 -0
- package/dist/models/create-detail-export-job-response.d.ts +25 -0
- package/dist/models/create-detail-export-job-response.js +15 -0
- package/dist/models/create-estimated-invoice-for-interval-request.d.ts +42 -0
- package/dist/models/create-estimated-invoice-for-interval-request.js +15 -0
- package/dist/models/create-estimated-invoice-for-interval-response.d.ts +25 -0
- package/dist/models/create-estimated-invoice-for-interval-response.js +15 -0
- package/dist/models/create-estimated-invoice-request.d.ts +36 -0
- package/dist/models/create-estimated-invoice-request.js +15 -0
- package/dist/models/create-estimated-invoice-response.d.ts +25 -0
- package/dist/models/create-estimated-invoice-response.js +15 -0
- package/dist/models/create-export-job-request.d.ts +68 -0
- package/dist/models/create-export-job-request.js +15 -0
- package/dist/models/create-export-job-response.d.ts +25 -0
- package/dist/models/create-export-job-response.js +15 -0
- package/dist/models/create-initial-invoice-request.d.ts +72 -0
- package/dist/models/create-initial-invoice-request.js +15 -0
- package/dist/models/create-initial-invoice-response.d.ts +25 -0
- package/dist/models/create-initial-invoice-response.js +15 -0
- package/dist/models/create-invoice-request.d.ts +67 -0
- package/dist/models/create-invoice-request.js +15 -0
- package/dist/models/create-invoice-response.d.ts +25 -0
- package/dist/models/create-invoice-response.js +15 -0
- package/dist/models/create-invoice-status-body.d.ts +24 -0
- package/dist/models/create-invoice-status-body.js +15 -0
- package/dist/models/create-invoice-status-response.d.ts +25 -0
- package/dist/models/create-invoice-status-response.js +15 -0
- package/dist/models/create-item-request.d.ts +36 -0
- package/dist/models/create-item-request.js +15 -0
- package/dist/models/create-policy-billing-request.d.ts +42 -0
- package/dist/models/create-policy-billing-request.js +15 -0
- package/dist/models/create-policy-billing-response.d.ts +25 -0
- package/dist/models/create-policy-billing-response.js +15 -0
- package/dist/models/create-recurring-invoice-request.d.ts +72 -0
- package/dist/models/create-recurring-invoice-request.js +15 -0
- package/dist/models/create-recurring-invoice-response.d.ts +31 -0
- package/dist/models/create-recurring-invoice-response.js +15 -0
- package/dist/models/create-termination-invoice-request.d.ts +60 -0
- package/dist/models/create-termination-invoice-request.js +15 -0
- package/dist/models/create-termination-invoice-response.d.ts +25 -0
- package/dist/models/create-termination-invoice-response.js +15 -0
- package/dist/models/create-withdraw-invoice-request.d.ts +48 -0
- package/dist/models/create-withdraw-invoice-request.js +15 -0
- package/dist/models/create-withdraw-invoice-response.d.ts +25 -0
- package/dist/models/create-withdraw-invoice-response.js +15 -0
- package/dist/models/estimate-history-entry.d.ts +36 -0
- package/dist/models/estimate-history-entry.js +15 -0
- package/dist/models/export-column.d.ts +36 -0
- package/dist/models/export-column.js +15 -0
- package/dist/models/filter-field.d.ts +110 -0
- package/dist/models/filter-field.js +15 -0
- package/dist/models/filter-value.d.ts +37 -0
- package/dist/models/filter-value.js +15 -0
- package/dist/models/get-bill-response.d.ts +25 -0
- package/dist/models/get-bill-response.js +15 -0
- package/dist/models/get-bill-run-filter-catalog-response.d.ts +31 -0
- package/dist/models/get-bill-run-filter-catalog-response.js +15 -0
- package/dist/models/get-bill-run-response.d.ts +25 -0
- package/dist/models/get-bill-run-response.js +15 -0
- package/dist/models/get-invoice-filter-catalog-response.d.ts +31 -0
- package/dist/models/get-invoice-filter-catalog-response.js +15 -0
- package/dist/models/get-invoice-response.d.ts +25 -0
- package/dist/models/get-invoice-response.js +15 -0
- package/dist/models/get-job-download-response.d.ts +25 -0
- package/dist/models/get-job-download-response.js +15 -0
- package/dist/models/get-job-filter-catalog-response.d.ts +31 -0
- package/dist/models/get-job-filter-catalog-response.js +15 -0
- package/dist/models/get-job-response.d.ts +25 -0
- package/dist/models/get-job-response.js +15 -0
- package/dist/models/get-policies-billing-date-filter-catalog-response.d.ts +31 -0
- package/dist/models/get-policies-billing-date-filter-catalog-response.js +15 -0
- package/dist/models/get-policies-billing-filter-catalog-response.d.ts +31 -0
- package/dist/models/get-policies-billing-filter-catalog-response.js +15 -0
- package/dist/models/get-policy-billing-response.d.ts +25 -0
- package/dist/models/get-policy-billing-response.js +15 -0
- package/dist/models/highlight.d.ts +30 -0
- package/dist/models/highlight.js +15 -0
- package/dist/models/index.d.ts +75 -0
- package/dist/models/index.js +91 -0
- package/dist/models/invoice-item.d.ts +204 -0
- package/dist/models/invoice-item.js +15 -0
- package/dist/models/invoice-payment.d.ts +108 -0
- package/dist/models/invoice-payment.js +15 -0
- package/dist/models/invoice-payments.d.ts +25 -0
- package/dist/models/invoice-payments.js +15 -0
- package/dist/models/invoice-status.d.ts +54 -0
- package/dist/models/invoice-status.js +15 -0
- package/dist/models/invoice.d.ts +275 -0
- package/dist/models/invoice.js +15 -0
- package/dist/models/job-download.d.ts +36 -0
- package/dist/models/job-download.js +15 -0
- package/dist/models/job-error.d.ts +30 -0
- package/dist/models/job-error.js +15 -0
- package/dist/models/job-progress.d.ts +36 -0
- package/dist/models/job-progress.js +15 -0
- package/dist/models/job.d.ts +134 -0
- package/dist/models/job.js +15 -0
- package/dist/models/list-bill-runs-response.d.ts +37 -0
- package/dist/models/list-bill-runs-response.js +15 -0
- package/dist/models/list-invoices-response.d.ts +37 -0
- package/dist/models/list-invoices-response.js +15 -0
- package/dist/models/list-jobs-response.d.ts +37 -0
- package/dist/models/list-jobs-response.js +15 -0
- package/dist/models/list-policies-billing-dates-response.d.ts +37 -0
- package/dist/models/list-policies-billing-dates-response.js +15 -0
- package/dist/models/list-policies-billings-response.d.ts +37 -0
- package/dist/models/list-policies-billings-response.js +15 -0
- package/dist/models/list-request.d.ts +60 -0
- package/dist/models/list-request.js +15 -0
- package/dist/models/localized-text.d.ts +30 -0
- package/dist/models/localized-text.js +15 -0
- package/dist/models/match.d.ts +69 -0
- package/dist/models/match.js +15 -0
- package/dist/models/payment-term.d.ts +42 -0
- package/dist/models/payment-term.js +15 -0
- package/dist/models/policy-billing.d.ts +139 -0
- package/dist/models/policy-billing.js +15 -0
- package/dist/models/request-bill-run-request.d.ts +30 -0
- package/dist/models/request-bill-run-request.js +15 -0
- package/dist/models/request-bill-run-response.d.ts +25 -0
- package/dist/models/request-bill-run-response.js +15 -0
- package/dist/models/resolved-billing-config.d.ts +130 -0
- package/dist/models/resolved-billing-config.js +15 -0
- package/dist/models/revert-invoice-request.d.ts +24 -0
- package/dist/models/revert-invoice-request.js +15 -0
- package/dist/models/revert-invoice-response.d.ts +25 -0
- package/dist/models/revert-invoice-response.js +15 -0
- package/dist/models/slice.d.ts +30 -0
- package/dist/models/slice.js +15 -0
- package/dist/models/status.d.ts +37 -0
- package/dist/models/status.js +15 -0
- package/dist/models/tax.d.ts +30 -0
- package/dist/models/tax.js +15 -0
- package/dist/models/update-policy-billing-body.d.ts +24 -0
- package/dist/models/update-policy-billing-body.js +15 -0
- package/dist/models/update-policy-billing-response.d.ts +25 -0
- package/dist/models/update-policy-billing-response.js +15 -0
- package/git_push.sh +57 -0
- package/index.ts +19 -0
- package/models/any.ts +32 -0
- package/models/bill-item.ts +138 -0
- package/models/bill-run.ts +151 -0
- package/models/bill.ts +200 -0
- package/models/cancel-job-response.ts +31 -0
- package/models/create-correction-invoices-request.ts +78 -0
- package/models/create-correction-invoices-response.ts +37 -0
- package/models/create-detail-export-job-request.ts +60 -0
- package/models/create-detail-export-job-response.ts +31 -0
- package/models/create-estimated-invoice-for-interval-request.ts +48 -0
- package/models/create-estimated-invoice-for-interval-response.ts +31 -0
- package/models/create-estimated-invoice-request.ts +42 -0
- package/models/create-estimated-invoice-response.ts +31 -0
- package/models/create-export-job-request.ts +74 -0
- package/models/create-export-job-response.ts +31 -0
- package/models/create-initial-invoice-request.ts +78 -0
- package/models/create-initial-invoice-response.ts +31 -0
- package/models/create-invoice-request.ts +73 -0
- package/models/create-invoice-response.ts +31 -0
- package/models/create-invoice-status-body.ts +30 -0
- package/models/create-invoice-status-response.ts +31 -0
- package/models/create-item-request.ts +42 -0
- package/models/create-policy-billing-request.ts +48 -0
- package/models/create-policy-billing-response.ts +31 -0
- package/models/create-recurring-invoice-request.ts +78 -0
- package/models/create-recurring-invoice-response.ts +37 -0
- package/models/create-termination-invoice-request.ts +66 -0
- package/models/create-termination-invoice-response.ts +31 -0
- package/models/create-withdraw-invoice-request.ts +54 -0
- package/models/create-withdraw-invoice-response.ts +31 -0
- package/models/estimate-history-entry.ts +42 -0
- package/models/export-column.ts +42 -0
- package/models/filter-field.ts +116 -0
- package/models/filter-value.ts +43 -0
- package/models/get-bill-response.ts +31 -0
- package/models/get-bill-run-filter-catalog-response.ts +37 -0
- package/models/get-bill-run-response.ts +31 -0
- package/models/get-invoice-filter-catalog-response.ts +37 -0
- package/models/get-invoice-response.ts +31 -0
- package/models/get-job-download-response.ts +31 -0
- package/models/get-job-filter-catalog-response.ts +37 -0
- package/models/get-job-response.ts +31 -0
- package/models/get-policies-billing-date-filter-catalog-response.ts +37 -0
- package/models/get-policies-billing-filter-catalog-response.ts +37 -0
- package/models/get-policy-billing-response.ts +31 -0
- package/models/highlight.ts +36 -0
- package/models/index.ts +75 -0
- package/models/invoice-item.ts +210 -0
- package/models/invoice-payment.ts +114 -0
- package/models/invoice-payments.ts +31 -0
- package/models/invoice-status.ts +60 -0
- package/models/invoice.ts +281 -0
- package/models/job-download.ts +42 -0
- package/models/job-error.ts +36 -0
- package/models/job-progress.ts +42 -0
- package/models/job.ts +140 -0
- package/models/list-bill-runs-response.ts +43 -0
- package/models/list-invoices-response.ts +43 -0
- package/models/list-jobs-response.ts +43 -0
- package/models/list-policies-billing-dates-response.ts +43 -0
- package/models/list-policies-billings-response.ts +43 -0
- package/models/list-request.ts +66 -0
- package/models/localized-text.ts +36 -0
- package/models/match.ts +75 -0
- package/models/payment-term.ts +48 -0
- package/models/policy-billing.ts +145 -0
- package/models/request-bill-run-request.ts +36 -0
- package/models/request-bill-run-response.ts +31 -0
- package/models/resolved-billing-config.ts +134 -0
- package/models/revert-invoice-request.ts +30 -0
- package/models/revert-invoice-response.ts +31 -0
- package/models/slice.ts +36 -0
- package/models/status.ts +43 -0
- package/models/tax.ts +36 -0
- package/models/update-policy-billing-body.ts +30 -0
- package/models/update-policy-billing-response.ts +31 -0
- package/package.json +27 -4
- package/tsconfig.json +23 -0
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL Billing Service
|
|
5
|
+
* The billing service: bills, bill runs, invoices and policy billings.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2.0
|
|
8
|
+
*
|
|
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
|
+
* The request of `CreateRecurringInvoice`. The billing interval is optional: without it the invoice bills the next period of the policy\'s schedule, with it that period. The request has the same fields as `CreateInitialInvoiceRequest`.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface CreateRecurringInvoiceRequest
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateRecurringInvoiceRequest {
|
|
23
|
+
/**
|
|
24
|
+
* Accepted and ignored. The `accountNumber` of the invoice is empty.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateRecurringInvoiceRequest
|
|
27
|
+
*/
|
|
28
|
+
'accountNumber'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The first day of the period to bill, at midnight UTC. Optional. Give both dates or neither.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateRecurringInvoiceRequest
|
|
33
|
+
*/
|
|
34
|
+
'billingIntervalFrom'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* The end of the period to bill, at midnight UTC; the period does not include this day. Optional. Give both dates or neither.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreateRecurringInvoiceRequest
|
|
39
|
+
*/
|
|
40
|
+
'billingIntervalTo'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* The day the invoice is due. Empty means the date the payment term of the billing configuration gives.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreateRecurringInvoiceRequest
|
|
45
|
+
*/
|
|
46
|
+
'dueDate'?: string;
|
|
47
|
+
/**
|
|
48
|
+
* The invoice number to use. Empty means the next number of the invoice number sequence.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CreateRecurringInvoiceRequest
|
|
51
|
+
*/
|
|
52
|
+
'invoiceNumber'?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Free key-value data, kept on the invoice.
|
|
55
|
+
* @type {object}
|
|
56
|
+
* @memberof CreateRecurringInvoiceRequest
|
|
57
|
+
*/
|
|
58
|
+
'metadata'?: object;
|
|
59
|
+
/**
|
|
60
|
+
* The code of the policy to invoice.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof CreateRecurringInvoiceRequest
|
|
63
|
+
*/
|
|
64
|
+
'policyCode'?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Accepted and ignored. The `policyNumber` of the invoice is the policy\'s number, or the group policy\'s number on an invoice that bills a member through its group.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof CreateRecurringInvoiceRequest
|
|
69
|
+
*/
|
|
70
|
+
'policyNumber'?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Whether the schedule moves on to the next period. It matters only when a billing interval is given: without one the schedule always moves on.
|
|
73
|
+
* @type {boolean}
|
|
74
|
+
* @memberof CreateRecurringInvoiceRequest
|
|
75
|
+
*/
|
|
76
|
+
'shouldSetNextBillingDate'?: boolean;
|
|
77
|
+
}
|
|
78
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL Billing Service
|
|
5
|
+
* The billing service: bills, bill runs, invoices and policy billings.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2.0
|
|
8
|
+
*
|
|
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 { Invoice } from './invoice';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* The response of `CreateRecurringInvoice`.
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateRecurringInvoiceResponse
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateRecurringInvoiceResponse {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Invoice}
|
|
27
|
+
* @memberof CreateRecurringInvoiceResponse
|
|
28
|
+
*/
|
|
29
|
+
'invoice'?: Invoice;
|
|
30
|
+
/**
|
|
31
|
+
* True for a group policy whose period no member covers: no invoice and no bill was created.
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof CreateRecurringInvoiceResponse
|
|
34
|
+
*/
|
|
35
|
+
'noChange'?: boolean;
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL Billing Service
|
|
5
|
+
* The billing service: bills, bill runs, invoices and policy billings.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2.0
|
|
8
|
+
*
|
|
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
|
+
* The request of `CreateTerminationInvoice`. `billingIntervalFrom`, `accountNumber`, `policyNumber` and `invoiceNumber` are ignored.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface CreateTerminationInvoiceRequest
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateTerminationInvoiceRequest {
|
|
23
|
+
/**
|
|
24
|
+
* Ignored.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateTerminationInvoiceRequest
|
|
27
|
+
*/
|
|
28
|
+
'accountNumber'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Ignored.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateTerminationInvoiceRequest
|
|
33
|
+
*/
|
|
34
|
+
'billingIntervalFrom'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* The termination date, at midnight UTC. Empty means the end date of the policy.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreateTerminationInvoiceRequest
|
|
39
|
+
*/
|
|
40
|
+
'billingIntervalTo'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Ignored.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreateTerminationInvoiceRequest
|
|
45
|
+
*/
|
|
46
|
+
'invoiceNumber'?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Free key-value data, kept on the invoice.
|
|
49
|
+
* @type {object}
|
|
50
|
+
* @memberof CreateTerminationInvoiceRequest
|
|
51
|
+
*/
|
|
52
|
+
'metadata'?: object;
|
|
53
|
+
/**
|
|
54
|
+
* The code of the terminated policy.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CreateTerminationInvoiceRequest
|
|
57
|
+
*/
|
|
58
|
+
'policyCode'?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Ignored.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof CreateTerminationInvoiceRequest
|
|
63
|
+
*/
|
|
64
|
+
'policyNumber'?: string;
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL Billing Service
|
|
5
|
+
* The billing service: bills, bill runs, invoices and policy billings.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2.0
|
|
8
|
+
*
|
|
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 { Invoice } from './invoice';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* The response of `CreateTerminationInvoice`.
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateTerminationInvoiceResponse
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateTerminationInvoiceResponse {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Invoice}
|
|
27
|
+
* @memberof CreateTerminationInvoiceResponse
|
|
28
|
+
*/
|
|
29
|
+
'invoice'?: Invoice;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL Billing Service
|
|
5
|
+
* The billing service: bills, bill runs, invoices and policy billings.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2.0
|
|
8
|
+
*
|
|
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
|
+
* The request of `CreateWithdrawInvoice`. Only `policyCode` and `metadata` are read.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface CreateWithdrawInvoiceRequest
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateWithdrawInvoiceRequest {
|
|
23
|
+
/**
|
|
24
|
+
* Ignored.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateWithdrawInvoiceRequest
|
|
27
|
+
*/
|
|
28
|
+
'accountNumber'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Ignored.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateWithdrawInvoiceRequest
|
|
33
|
+
*/
|
|
34
|
+
'billingIntervalFrom'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Free key-value data, kept on the invoice.
|
|
37
|
+
* @type {object}
|
|
38
|
+
* @memberof CreateWithdrawInvoiceRequest
|
|
39
|
+
*/
|
|
40
|
+
'metadata'?: object;
|
|
41
|
+
/**
|
|
42
|
+
* The code of the policy that is withdrawn.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreateWithdrawInvoiceRequest
|
|
45
|
+
*/
|
|
46
|
+
'policyCode'?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Ignored.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CreateWithdrawInvoiceRequest
|
|
51
|
+
*/
|
|
52
|
+
'policyNumber'?: string;
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL Billing Service
|
|
5
|
+
* The billing service: bills, bill runs, invoices and policy billings.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2.0
|
|
8
|
+
*
|
|
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 { Invoice } from './invoice';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* The response of `CreateWithdrawInvoice`.
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateWithdrawInvoiceResponse
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateWithdrawInvoiceResponse {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Invoice}
|
|
27
|
+
* @memberof CreateWithdrawInvoiceResponse
|
|
28
|
+
*/
|
|
29
|
+
'invoice'?: Invoice;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL Billing Service
|
|
5
|
+
* The billing service: bills, bill runs, invoices and policy billings.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2.0
|
|
8
|
+
*
|
|
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
|
+
* One earlier estimate of a period, replaced by a newer one.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface EstimateHistoryEntry
|
|
21
|
+
*/
|
|
22
|
+
export interface EstimateHistoryEntry {
|
|
23
|
+
/**
|
|
24
|
+
* The ERN of the bill of that estimate.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof EstimateHistoryEntry
|
|
27
|
+
*/
|
|
28
|
+
'billErn'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The run date of that estimate, as an RFC 3339 full-date.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof EstimateHistoryEntry
|
|
33
|
+
*/
|
|
34
|
+
'estimatedAt'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* The gross amount of that estimate, in minor units.
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof EstimateHistoryEntry
|
|
39
|
+
*/
|
|
40
|
+
'grossAmount'?: number;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL Billing Service
|
|
5
|
+
* The billing service: bills, bill runs, invoices and policy billings.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2.0
|
|
8
|
+
*
|
|
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
|
+
* One column of a list export.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface ExportColumn
|
|
21
|
+
*/
|
|
22
|
+
export interface ExportColumn {
|
|
23
|
+
/**
|
|
24
|
+
* The header, already translated by the client. Empty means the path.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof ExportColumn
|
|
27
|
+
*/
|
|
28
|
+
'header'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* A JSON path into the list item as the API returns it, such as `status`. A missing value is an empty cell.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ExportColumn
|
|
33
|
+
*/
|
|
34
|
+
'path'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* The cell\'s type, optional: `TEXT`, `NUMBER`, `MONEY`, `DATE`, `DATETIME` or `BOOLEAN`. Without it, the type of the field decides.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof ExportColumn
|
|
39
|
+
*/
|
|
40
|
+
'type'?: string;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL Billing Service
|
|
5
|
+
* The billing service: bills, bill runs, invoices and policy billings.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2.0
|
|
8
|
+
*
|
|
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 { FilterValue } from './filter-value';
|
|
17
|
+
import { LocalizedText } from './localized-text';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* One field of a filter catalog: everything a client needs to offer it in a filter, which is its type, the operators it takes, its values, and whether it sorts and searches. `type` is one of `STRING`, `NUMBER`, `INTEGER`, `MONEY`, `DATE`, `DATETIME`, `BOOLEAN` or `ENUM`. `group` is `SYSTEM` (one of the service\'s own fields) or `PRODUCT` (a field of the product\'s data). `operators` are the operators a filter on the field accepts.
|
|
21
|
+
* @export
|
|
22
|
+
* @interface FilterField
|
|
23
|
+
*/
|
|
24
|
+
export interface FilterField {
|
|
25
|
+
/**
|
|
26
|
+
* The field\'s group: `SYSTEM` or `PRODUCT`.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof FilterField
|
|
29
|
+
*/
|
|
30
|
+
'group'?: string;
|
|
31
|
+
/**
|
|
32
|
+
* True for an identifier: a search term that matches `pattern` is matched against it exactly.
|
|
33
|
+
* @type {boolean}
|
|
34
|
+
* @memberof FilterField
|
|
35
|
+
*/
|
|
36
|
+
'identifier'?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* The key of the field, as a filter, an order or a match names it.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof FilterField
|
|
41
|
+
*/
|
|
42
|
+
'key'?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {LocalizedText}
|
|
46
|
+
* @memberof FilterField
|
|
47
|
+
*/
|
|
48
|
+
'label'?: LocalizedText;
|
|
49
|
+
/**
|
|
50
|
+
* A system field\'s translation key.
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof FilterField
|
|
53
|
+
*/
|
|
54
|
+
'labelKey'?: string;
|
|
55
|
+
/**
|
|
56
|
+
* The largest value a number field takes.
|
|
57
|
+
* @type {number}
|
|
58
|
+
* @memberof FilterField
|
|
59
|
+
*/
|
|
60
|
+
'max'?: number;
|
|
61
|
+
/**
|
|
62
|
+
* The smallest value a number field takes.
|
|
63
|
+
* @type {number}
|
|
64
|
+
* @memberof FilterField
|
|
65
|
+
*/
|
|
66
|
+
'min'?: number;
|
|
67
|
+
/**
|
|
68
|
+
* The operators a filter on this field accepts.
|
|
69
|
+
* @type {Array<string>}
|
|
70
|
+
* @memberof FilterField
|
|
71
|
+
*/
|
|
72
|
+
'operators'?: Array<string>;
|
|
73
|
+
/**
|
|
74
|
+
* The pattern a search term must match to be matched exactly against this identifier.
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof FilterField
|
|
77
|
+
*/
|
|
78
|
+
'pattern'?: string;
|
|
79
|
+
/**
|
|
80
|
+
* True for personal data. It can be filtered only by exact value or null checks, and is not searched as free text.
|
|
81
|
+
* @type {boolean}
|
|
82
|
+
* @memberof FilterField
|
|
83
|
+
*/
|
|
84
|
+
'pii'?: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* True when a search term is matched against this field.
|
|
87
|
+
* @type {boolean}
|
|
88
|
+
* @memberof FilterField
|
|
89
|
+
*/
|
|
90
|
+
'searchable'?: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* True when the list can be sorted by this field.
|
|
93
|
+
* @type {boolean}
|
|
94
|
+
* @memberof FilterField
|
|
95
|
+
*/
|
|
96
|
+
'sortable'?: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* True when the collection\'s `:filterValues` RPC offers values of this field by prefix. Such an RPC exists only on some collections.
|
|
99
|
+
* @type {boolean}
|
|
100
|
+
* @memberof FilterField
|
|
101
|
+
*/
|
|
102
|
+
'suggest'?: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* The field\'s type: `STRING`, `NUMBER`, `INTEGER`, `MONEY`, `DATE`, `DATETIME`, `BOOLEAN` or `ENUM`.
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof FilterField
|
|
107
|
+
*/
|
|
108
|
+
'type'?: string;
|
|
109
|
+
/**
|
|
110
|
+
* The allowed values of an `ENUM` or `BOOLEAN` field. Empty for other types.
|
|
111
|
+
* @type {Array<FilterValue>}
|
|
112
|
+
* @memberof FilterField
|
|
113
|
+
*/
|
|
114
|
+
'values'?: Array<FilterValue>;
|
|
115
|
+
}
|
|
116
|
+
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL Billing Service
|
|
5
|
+
* The billing service: bills, bill runs, invoices and policy billings.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2.0
|
|
8
|
+
*
|
|
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 { LocalizedText } from './localized-text';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* One allowed value of an enum or boolean field.
|
|
20
|
+
* @export
|
|
21
|
+
* @interface FilterValue
|
|
22
|
+
*/
|
|
23
|
+
export interface FilterValue {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {LocalizedText}
|
|
27
|
+
* @memberof FilterValue
|
|
28
|
+
*/
|
|
29
|
+
'label'?: LocalizedText;
|
|
30
|
+
/**
|
|
31
|
+
* The translation key of a system enum\'s value.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof FilterValue
|
|
34
|
+
*/
|
|
35
|
+
'labelKey'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The value, as a filter expression spells it.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof FilterValue
|
|
40
|
+
*/
|
|
41
|
+
'value'?: string;
|
|
42
|
+
}
|
|
43
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL Billing Service
|
|
5
|
+
* The billing service: bills, bill runs, invoices and policy billings.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2.0
|
|
8
|
+
*
|
|
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 { Bill } from './bill';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* The response of `GetBill`.
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetBillResponse
|
|
22
|
+
*/
|
|
23
|
+
export interface GetBillResponse {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Bill}
|
|
27
|
+
* @memberof GetBillResponse
|
|
28
|
+
*/
|
|
29
|
+
'bill'?: Bill;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL Billing Service
|
|
5
|
+
* The billing service: bills, bill runs, invoices and policy billings.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2.0
|
|
8
|
+
*
|
|
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 { FilterField } from './filter-field';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* The response of `GetBillRunFilterCatalog`.
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetBillRunFilterCatalogResponse
|
|
22
|
+
*/
|
|
23
|
+
export interface GetBillRunFilterCatalogResponse {
|
|
24
|
+
/**
|
|
25
|
+
* The list the catalog belongs to: `bill-runs`.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GetBillRunFilterCatalogResponse
|
|
28
|
+
*/
|
|
29
|
+
'collection'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The fields the list can be filtered by.
|
|
32
|
+
* @type {Array<FilterField>}
|
|
33
|
+
* @memberof GetBillRunFilterCatalogResponse
|
|
34
|
+
*/
|
|
35
|
+
'fields'?: Array<FilterField>;
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL Billing Service
|
|
5
|
+
* The billing service: bills, bill runs, invoices and policy billings.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2.0
|
|
8
|
+
*
|
|
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 { BillRun } from './bill-run';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* The response of `GetBillRun`.
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetBillRunResponse
|
|
22
|
+
*/
|
|
23
|
+
export interface GetBillRunResponse {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {BillRun}
|
|
27
|
+
* @memberof GetBillRunResponse
|
|
28
|
+
*/
|
|
29
|
+
'billRun'?: BillRun;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL Billing Service
|
|
5
|
+
* The billing service: bills, bill runs, invoices and policy billings.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2.0
|
|
8
|
+
*
|
|
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 { FilterField } from './filter-field';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* The response of `GetInvoiceFilterCatalog`.
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetInvoiceFilterCatalogResponse
|
|
22
|
+
*/
|
|
23
|
+
export interface GetInvoiceFilterCatalogResponse {
|
|
24
|
+
/**
|
|
25
|
+
* The list the catalog belongs to: `invoices`.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GetInvoiceFilterCatalogResponse
|
|
28
|
+
*/
|
|
29
|
+
'collection'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The fields the list can be filtered by.
|
|
32
|
+
* @type {Array<FilterField>}
|
|
33
|
+
* @memberof GetInvoiceFilterCatalogResponse
|
|
34
|
+
*/
|
|
35
|
+
'fields'?: Array<FilterField>;
|
|
36
|
+
}
|
|
37
|
+
|