@emilgroup/billing-v2-sdk-node 0.0.0-stage → 1.0.1-beta.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 +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,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 `GetInvoice`.
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetInvoiceResponse
|
|
22
|
+
*/
|
|
23
|
+
export interface GetInvoiceResponse {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Invoice}
|
|
27
|
+
* @memberof GetInvoiceResponse
|
|
28
|
+
*/
|
|
29
|
+
'invoice'?: Invoice;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -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 { JobDownload } from './job-download';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* The response of `GetJobDownload`.
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetJobDownloadResponse
|
|
22
|
+
*/
|
|
23
|
+
export interface GetJobDownloadResponse {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {JobDownload}
|
|
27
|
+
* @memberof GetJobDownloadResponse
|
|
28
|
+
*/
|
|
29
|
+
'download'?: JobDownload;
|
|
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 `GetJobFilterCatalog`.
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetJobFilterCatalogResponse
|
|
22
|
+
*/
|
|
23
|
+
export interface GetJobFilterCatalogResponse {
|
|
24
|
+
/**
|
|
25
|
+
* The list the catalog belongs to: `jobs`.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GetJobFilterCatalogResponse
|
|
28
|
+
*/
|
|
29
|
+
'collection'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The fields the list can be filtered by.
|
|
32
|
+
* @type {Array<FilterField>}
|
|
33
|
+
* @memberof GetJobFilterCatalogResponse
|
|
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 { Job } from './job';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* The response of `GetJob`.
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetJobResponse
|
|
22
|
+
*/
|
|
23
|
+
export interface GetJobResponse {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Job}
|
|
27
|
+
* @memberof GetJobResponse
|
|
28
|
+
*/
|
|
29
|
+
'job'?: Job;
|
|
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 `GetPoliciesBillingDateFilterCatalog`.
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetPoliciesBillingDateFilterCatalogResponse
|
|
22
|
+
*/
|
|
23
|
+
export interface GetPoliciesBillingDateFilterCatalogResponse {
|
|
24
|
+
/**
|
|
25
|
+
* The list the catalog belongs to: `policies-billing-dates`.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GetPoliciesBillingDateFilterCatalogResponse
|
|
28
|
+
*/
|
|
29
|
+
'collection'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The fields the list can be filtered by.
|
|
32
|
+
* @type {Array<FilterField>}
|
|
33
|
+
* @memberof GetPoliciesBillingDateFilterCatalogResponse
|
|
34
|
+
*/
|
|
35
|
+
'fields'?: Array<FilterField>;
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -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 `GetPoliciesBillingFilterCatalog`.
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetPoliciesBillingFilterCatalogResponse
|
|
22
|
+
*/
|
|
23
|
+
export interface GetPoliciesBillingFilterCatalogResponse {
|
|
24
|
+
/**
|
|
25
|
+
* The list the catalog belongs to: `policies-billings`.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GetPoliciesBillingFilterCatalogResponse
|
|
28
|
+
*/
|
|
29
|
+
'collection'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The fields the list can be filtered by.
|
|
32
|
+
* @type {Array<FilterField>}
|
|
33
|
+
* @memberof GetPoliciesBillingFilterCatalogResponse
|
|
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 { PolicyBilling } from './policy-billing';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* The response of `GetPolicyBilling`.
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetPolicyBillingResponse
|
|
22
|
+
*/
|
|
23
|
+
export interface GetPolicyBillingResponse {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {PolicyBilling}
|
|
27
|
+
* @memberof GetPolicyBillingResponse
|
|
28
|
+
*/
|
|
29
|
+
'policyBilling'?: PolicyBilling;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
* A highlighted range of a match\'s snippet, in characters, `end` exclusive.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface Highlight
|
|
21
|
+
*/
|
|
22
|
+
export interface Highlight {
|
|
23
|
+
/**
|
|
24
|
+
* The index after the last highlighted character.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof Highlight
|
|
27
|
+
*/
|
|
28
|
+
'end'?: number;
|
|
29
|
+
/**
|
|
30
|
+
* The index of the first highlighted character.
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof Highlight
|
|
33
|
+
*/
|
|
34
|
+
'start'?: number;
|
|
35
|
+
}
|
|
36
|
+
|
package/models/index.ts
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
export * from './any';
|
|
2
|
+
export * from './bill';
|
|
3
|
+
export * from './bill-item';
|
|
4
|
+
export * from './bill-run';
|
|
5
|
+
export * from './cancel-job-response';
|
|
6
|
+
export * from './create-correction-invoices-request';
|
|
7
|
+
export * from './create-correction-invoices-response';
|
|
8
|
+
export * from './create-detail-export-job-request';
|
|
9
|
+
export * from './create-detail-export-job-response';
|
|
10
|
+
export * from './create-estimated-invoice-for-interval-request';
|
|
11
|
+
export * from './create-estimated-invoice-for-interval-response';
|
|
12
|
+
export * from './create-estimated-invoice-request';
|
|
13
|
+
export * from './create-estimated-invoice-response';
|
|
14
|
+
export * from './create-export-job-request';
|
|
15
|
+
export * from './create-export-job-response';
|
|
16
|
+
export * from './create-initial-invoice-request';
|
|
17
|
+
export * from './create-initial-invoice-response';
|
|
18
|
+
export * from './create-invoice-request';
|
|
19
|
+
export * from './create-invoice-response';
|
|
20
|
+
export * from './create-invoice-status-body';
|
|
21
|
+
export * from './create-invoice-status-response';
|
|
22
|
+
export * from './create-item-request';
|
|
23
|
+
export * from './create-policy-billing-request';
|
|
24
|
+
export * from './create-policy-billing-response';
|
|
25
|
+
export * from './create-recurring-invoice-request';
|
|
26
|
+
export * from './create-recurring-invoice-response';
|
|
27
|
+
export * from './create-termination-invoice-request';
|
|
28
|
+
export * from './create-termination-invoice-response';
|
|
29
|
+
export * from './create-withdraw-invoice-request';
|
|
30
|
+
export * from './create-withdraw-invoice-response';
|
|
31
|
+
export * from './estimate-history-entry';
|
|
32
|
+
export * from './export-column';
|
|
33
|
+
export * from './filter-field';
|
|
34
|
+
export * from './filter-value';
|
|
35
|
+
export * from './get-bill-response';
|
|
36
|
+
export * from './get-bill-run-filter-catalog-response';
|
|
37
|
+
export * from './get-bill-run-response';
|
|
38
|
+
export * from './get-invoice-filter-catalog-response';
|
|
39
|
+
export * from './get-invoice-response';
|
|
40
|
+
export * from './get-job-download-response';
|
|
41
|
+
export * from './get-job-filter-catalog-response';
|
|
42
|
+
export * from './get-job-response';
|
|
43
|
+
export * from './get-policies-billing-date-filter-catalog-response';
|
|
44
|
+
export * from './get-policies-billing-filter-catalog-response';
|
|
45
|
+
export * from './get-policy-billing-response';
|
|
46
|
+
export * from './highlight';
|
|
47
|
+
export * from './invoice';
|
|
48
|
+
export * from './invoice-item';
|
|
49
|
+
export * from './invoice-payment';
|
|
50
|
+
export * from './invoice-payments';
|
|
51
|
+
export * from './invoice-status';
|
|
52
|
+
export * from './job';
|
|
53
|
+
export * from './job-download';
|
|
54
|
+
export * from './job-error';
|
|
55
|
+
export * from './job-progress';
|
|
56
|
+
export * from './list-bill-runs-response';
|
|
57
|
+
export * from './list-invoices-response';
|
|
58
|
+
export * from './list-jobs-response';
|
|
59
|
+
export * from './list-policies-billing-dates-response';
|
|
60
|
+
export * from './list-policies-billings-response';
|
|
61
|
+
export * from './list-request';
|
|
62
|
+
export * from './localized-text';
|
|
63
|
+
export * from './match';
|
|
64
|
+
export * from './payment-term';
|
|
65
|
+
export * from './policy-billing';
|
|
66
|
+
export * from './request-bill-run-request';
|
|
67
|
+
export * from './request-bill-run-response';
|
|
68
|
+
export * from './resolved-billing-config';
|
|
69
|
+
export * from './revert-invoice-request';
|
|
70
|
+
export * from './revert-invoice-response';
|
|
71
|
+
export * from './slice';
|
|
72
|
+
export * from './status';
|
|
73
|
+
export * from './tax';
|
|
74
|
+
export * from './update-policy-billing-body';
|
|
75
|
+
export * from './update-policy-billing-response';
|
|
@@ -0,0 +1,210 @@
|
|
|
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 line of an invoice: a premium item over one window of the billing period. Money is in minor units as integers (`859` is 8.59 in a currency with two decimals). `quantity`, `pricePerUnit`, `taxRate`, `quantityPerDays` and `pricePerDay` are decimal numbers for display. They are the exact values written as decimals, and no calculation should be done with them: use the amounts.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface InvoiceItem
|
|
21
|
+
*/
|
|
22
|
+
export interface InvoiceItem {
|
|
23
|
+
/**
|
|
24
|
+
* For a `GROUP_ADJUSTMENT` line: the key of the adjustment, such as `negotiated_rebate`. Empty otherwise.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof InvoiceItem
|
|
27
|
+
*/
|
|
28
|
+
'adjustmentKey'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The ERN (EIS Resource Name) of the bill the line was priced from. Empty on a reversal, a withdrawal and a manual line.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof InvoiceItem
|
|
33
|
+
*/
|
|
34
|
+
'billErn'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* The first day of the window the line covers, at midnight UTC. The window includes this day.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof InvoiceItem
|
|
39
|
+
*/
|
|
40
|
+
'billingIntervalFrom'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* The end of the window the line covers, at midnight UTC. The window does not include this day.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof InvoiceItem
|
|
45
|
+
*/
|
|
46
|
+
'billingIntervalTo'?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Not filled: always empty.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof InvoiceItem
|
|
51
|
+
*/
|
|
52
|
+
'condition'?: string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof InvoiceItem
|
|
57
|
+
*/
|
|
58
|
+
'createdAt'?: string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof InvoiceItem
|
|
63
|
+
*/
|
|
64
|
+
'createdBy'?: string;
|
|
65
|
+
/**
|
|
66
|
+
* What a negative line owes back, as a gross amount in minor units.
|
|
67
|
+
* @type {number}
|
|
68
|
+
* @memberof InvoiceItem
|
|
69
|
+
*/
|
|
70
|
+
'creditAmount'?: number;
|
|
71
|
+
/**
|
|
72
|
+
* The gross amount of the line, in minor units. On a correction it is the signed difference between `newAmount` and `previousAmount`.
|
|
73
|
+
* @type {number}
|
|
74
|
+
* @memberof InvoiceItem
|
|
75
|
+
*/
|
|
76
|
+
'grossAmount'?: number;
|
|
77
|
+
/**
|
|
78
|
+
* The group of the premium item.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof InvoiceItem
|
|
81
|
+
*/
|
|
82
|
+
'group'?: string;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof InvoiceItem
|
|
87
|
+
*/
|
|
88
|
+
'id'?: string;
|
|
89
|
+
/**
|
|
90
|
+
* The type of the line: `NET` or `TOTAL` on a premium line, `SURCHARGE` or `DISCOUNT` on a group adjustment line, `OTHER` on a line of a manual invoice.
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof InvoiceItem
|
|
93
|
+
*/
|
|
94
|
+
'itemType'?: string;
|
|
95
|
+
/**
|
|
96
|
+
* The name of the premium item.
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof InvoiceItem
|
|
99
|
+
*/
|
|
100
|
+
'name'?: string;
|
|
101
|
+
/**
|
|
102
|
+
* The net amount of the line, in minor units.
|
|
103
|
+
* @type {number}
|
|
104
|
+
* @memberof InvoiceItem
|
|
105
|
+
*/
|
|
106
|
+
'netAmount'?: number;
|
|
107
|
+
/**
|
|
108
|
+
* On a correction: the gross amount that the re-priced bill charges, in minor units. On an initial or recurring invoice it equals `grossAmount`. It is 0 on a reversal or withdrawal.
|
|
109
|
+
* @type {number}
|
|
110
|
+
* @memberof InvoiceItem
|
|
111
|
+
*/
|
|
112
|
+
'newAmount'?: number;
|
|
113
|
+
/**
|
|
114
|
+
* The code of the policy the line bills: on a collective invoice, the member policy.
|
|
115
|
+
* @type {string}
|
|
116
|
+
* @memberof InvoiceItem
|
|
117
|
+
*/
|
|
118
|
+
'policyCode'?: string;
|
|
119
|
+
/**
|
|
120
|
+
* The key of the premium item the line comes from.
|
|
121
|
+
* @type {string}
|
|
122
|
+
* @memberof InvoiceItem
|
|
123
|
+
*/
|
|
124
|
+
'premiumFormulaCode'?: string;
|
|
125
|
+
/**
|
|
126
|
+
* On a correction, `final` or `withdraw` invoice: the gross amount the earlier bill charged for this item in this window, in minor units. On an initial or recurring invoice it is 0.
|
|
127
|
+
* @type {number}
|
|
128
|
+
* @memberof InvoiceItem
|
|
129
|
+
*/
|
|
130
|
+
'previousAmount'?: number;
|
|
131
|
+
/**
|
|
132
|
+
* On a correction, `final` or `withdraw` invoice: the ERN of the bill that the line is compared against.
|
|
133
|
+
* @type {string}
|
|
134
|
+
* @memberof InvoiceItem
|
|
135
|
+
*/
|
|
136
|
+
'previousBillErn'?: string;
|
|
137
|
+
/**
|
|
138
|
+
* The new amount divided by the covered days, in the currency\'s main unit with at most 5 decimals, for display. 0 on a manual line.
|
|
139
|
+
* @type {number}
|
|
140
|
+
* @memberof InvoiceItem
|
|
141
|
+
*/
|
|
142
|
+
'pricePerDay'?: number;
|
|
143
|
+
/**
|
|
144
|
+
* The gross premium per period that the line is priced from, such as `8.59`. The quantity times this price is the line\'s gross amount before rounding (the new amount on a correction).
|
|
145
|
+
* @type {number}
|
|
146
|
+
* @memberof InvoiceItem
|
|
147
|
+
*/
|
|
148
|
+
'pricePerUnit'?: number;
|
|
149
|
+
/**
|
|
150
|
+
* How many units the line bills: the covered fraction of the period for a monthly or yearly premium, the days for a daily one, `1` for a one-time one, as sent on a manual line.
|
|
151
|
+
* @type {number}
|
|
152
|
+
* @memberof InvoiceItem
|
|
153
|
+
*/
|
|
154
|
+
'quantity'?: number;
|
|
155
|
+
/**
|
|
156
|
+
* The covered days, for display.
|
|
157
|
+
* @type {number}
|
|
158
|
+
* @memberof InvoiceItem
|
|
159
|
+
*/
|
|
160
|
+
'quantityPerDays'?: number;
|
|
161
|
+
/**
|
|
162
|
+
* What the line bills: `MEMBER_PREMIUM` (the premium of a policy, the member\'s on a collective invoice) or `GROUP_ADJUSTMENT` (one adjustment of a group policy at one tax code, on its collective invoice, with `policyCode` set to the group policy).
|
|
163
|
+
* @type {string}
|
|
164
|
+
* @memberof InvoiceItem
|
|
165
|
+
*/
|
|
166
|
+
'source'?: string;
|
|
167
|
+
/**
|
|
168
|
+
* The tax amount of the line, in minor units. The net amount plus the tax amount is the gross amount.
|
|
169
|
+
* @type {number}
|
|
170
|
+
* @memberof InvoiceItem
|
|
171
|
+
*/
|
|
172
|
+
'taxAmount'?: number;
|
|
173
|
+
/**
|
|
174
|
+
* The tax code of the premium. A line issued before the tax was stated carries the code of the billing configuration, and so does a manual line.
|
|
175
|
+
* @type {string}
|
|
176
|
+
* @memberof InvoiceItem
|
|
177
|
+
*/
|
|
178
|
+
'taxCode'?: string;
|
|
179
|
+
/**
|
|
180
|
+
* The tax rate of the premium as a decimal (`0.19` is 19 %). A line issued before the tax was stated has rate 0. A manual line has rate 0: it is not taxed.
|
|
181
|
+
* @type {number}
|
|
182
|
+
* @memberof InvoiceItem
|
|
183
|
+
*/
|
|
184
|
+
'taxRate'?: number;
|
|
185
|
+
/**
|
|
186
|
+
* The unit the line counts: `day`, `month`, `quarter`, `halfYear`, `year` or `oneTimePayment`. A manual line is `oneTimePayment`.
|
|
187
|
+
* @type {string}
|
|
188
|
+
* @memberof InvoiceItem
|
|
189
|
+
*/
|
|
190
|
+
'unit'?: string;
|
|
191
|
+
/**
|
|
192
|
+
*
|
|
193
|
+
* @type {string}
|
|
194
|
+
* @memberof InvoiceItem
|
|
195
|
+
*/
|
|
196
|
+
'updatedAt'?: string;
|
|
197
|
+
/**
|
|
198
|
+
*
|
|
199
|
+
* @type {string}
|
|
200
|
+
* @memberof InvoiceItem
|
|
201
|
+
*/
|
|
202
|
+
'updatedBy'?: string;
|
|
203
|
+
/**
|
|
204
|
+
* The visibility of the line. Always `VISIBLE`.
|
|
205
|
+
* @type {string}
|
|
206
|
+
* @memberof InvoiceItem
|
|
207
|
+
*/
|
|
208
|
+
'visibility'?: string;
|
|
209
|
+
}
|
|
210
|
+
|
|
@@ -0,0 +1,114 @@
|
|
|
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
|
+
* A payment recorded against an invoice. No payment is recorded against an invoice yet: `Invoice.payments` is always empty and the paid amount of an invoice is always 0.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface InvoicePayment
|
|
21
|
+
*/
|
|
22
|
+
export interface InvoicePayment {
|
|
23
|
+
/**
|
|
24
|
+
* A comment on the payment.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof InvoicePayment
|
|
27
|
+
*/
|
|
28
|
+
'comment'?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof InvoicePayment
|
|
33
|
+
*/
|
|
34
|
+
'createdAt'?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof InvoicePayment
|
|
39
|
+
*/
|
|
40
|
+
'createdBy'?: string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof InvoicePayment
|
|
45
|
+
*/
|
|
46
|
+
'id'?: string;
|
|
47
|
+
/**
|
|
48
|
+
* The gross amount of the invoice, in minor units.
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof InvoicePayment
|
|
51
|
+
*/
|
|
52
|
+
'invoiceGrossAmount'?: number;
|
|
53
|
+
/**
|
|
54
|
+
* The amount of the invoice that is paid after this payment, in minor units.
|
|
55
|
+
* @type {number}
|
|
56
|
+
* @memberof InvoicePayment
|
|
57
|
+
*/
|
|
58
|
+
'newInvoicePaidAmount'?: number;
|
|
59
|
+
/**
|
|
60
|
+
* The status of the invoice after this payment.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof InvoicePayment
|
|
63
|
+
*/
|
|
64
|
+
'newInvoiceStatus'?: string;
|
|
65
|
+
/**
|
|
66
|
+
* The amount of the invoice that was paid before this payment, in minor units.
|
|
67
|
+
* @type {number}
|
|
68
|
+
* @memberof InvoicePayment
|
|
69
|
+
*/
|
|
70
|
+
'oldInvoicePaidAmount'?: number;
|
|
71
|
+
/**
|
|
72
|
+
* The status of the invoice before this payment.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof InvoicePayment
|
|
75
|
+
*/
|
|
76
|
+
'oldInvoiceStatus'?: string;
|
|
77
|
+
/**
|
|
78
|
+
* The id of the payment in the payment service, kept as a string.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof InvoicePayment
|
|
81
|
+
*/
|
|
82
|
+
'paymentId'?: string;
|
|
83
|
+
/**
|
|
84
|
+
* The amount of the payment, in minor units.
|
|
85
|
+
* @type {number}
|
|
86
|
+
* @memberof InvoicePayment
|
|
87
|
+
*/
|
|
88
|
+
'transactionAmount'?: number;
|
|
89
|
+
/**
|
|
90
|
+
* When the payment was made.
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof InvoicePayment
|
|
93
|
+
*/
|
|
94
|
+
'transactionDate'?: string;
|
|
95
|
+
/**
|
|
96
|
+
* The reference of the payment.
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof InvoicePayment
|
|
99
|
+
*/
|
|
100
|
+
'transactionReference'?: string;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof InvoicePayment
|
|
105
|
+
*/
|
|
106
|
+
'updatedAt'?: string;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof InvoicePayment
|
|
111
|
+
*/
|
|
112
|
+
'updatedBy'?: string;
|
|
113
|
+
}
|
|
114
|
+
|