@emilgroup/billing-v2-sdk 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 +50 -2
- package/api/bill-runs-api.ts +468 -0
- package/api/bills-api.ts +145 -0
- package/api/invoices-api.ts +1530 -0
- package/api/jobs-api.ts +756 -0
- package/api/policy-billings-api.ts +591 -0
- package/api.ts +35 -0
- package/base.ts +588 -0
- package/common.ts +199 -0
- package/configuration.ts +130 -0
- package/dist/api/bill-runs-api.d.ts +266 -0
- package/dist/api/bill-runs-api.js +466 -0
- package/dist/api/bills-api.d.ts +87 -0
- package/dist/api/bills-api.js +207 -0
- package/dist/api/invoices-api.d.ts +847 -0
- package/dist/api/invoices-api.js +1353 -0
- package/dist/api/jobs-api.d.ts +426 -0
- package/dist/api/jobs-api.js +708 -0
- package/dist/api/policy-billings-api.d.ts +332 -0
- package/dist/api/policy-billings-api.js +561 -0
- package/dist/api.d.ts +16 -0
- package/dist/api.js +34 -0
- package/dist/base.d.ts +120 -0
- package/dist/base.js +604 -0
- package/dist/common.d.ts +91 -0
- package/dist/common.js +277 -0
- package/dist/configuration.d.ts +106 -0
- package/dist/configuration.js +54 -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 +25 -4
- package/tsconfig.json +23 -0
|
@@ -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
|
+
* A signed link to a file a service produced: one of a job\'s files, or a file it offers without a job.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface JobDownload
|
|
21
|
+
*/
|
|
22
|
+
export interface JobDownload {
|
|
23
|
+
/**
|
|
24
|
+
* When the link stops working.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof JobDownload
|
|
27
|
+
*/
|
|
28
|
+
'expiresAt'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The name the file is downloaded with.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof JobDownload
|
|
33
|
+
*/
|
|
34
|
+
'filename'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* The signed link, valid for 5 minutes.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof JobDownload
|
|
39
|
+
*/
|
|
40
|
+
'url'?: string;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -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
|
+
* Why a job failed.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface JobError
|
|
21
|
+
*/
|
|
22
|
+
export interface JobError {
|
|
23
|
+
/**
|
|
24
|
+
* The error code, such as `EXPORT_TOO_LARGE`.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof JobError
|
|
27
|
+
*/
|
|
28
|
+
'code'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* A text that describes the failure.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof JobError
|
|
33
|
+
*/
|
|
34
|
+
'message'?: string;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -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
|
+
* How far a job got, counted in rows.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface JobProgress
|
|
21
|
+
*/
|
|
22
|
+
export interface JobProgress {
|
|
23
|
+
/**
|
|
24
|
+
* How many of the processed rows failed.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof JobProgress
|
|
27
|
+
*/
|
|
28
|
+
'failed'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* How many rows it has processed so far.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof JobProgress
|
|
33
|
+
*/
|
|
34
|
+
'processed'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* How many rows the job has to process. 0 means unknown.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof JobProgress
|
|
39
|
+
*/
|
|
40
|
+
'total'?: string;
|
|
41
|
+
}
|
|
42
|
+
|
package/models/job.ts
ADDED
|
@@ -0,0 +1,140 @@
|
|
|
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 { JobError } from './job-error';
|
|
17
|
+
import { JobProgress } from './job-progress';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* One background job, as its creator reads it.
|
|
21
|
+
* @export
|
|
22
|
+
* @interface Job
|
|
23
|
+
*/
|
|
24
|
+
export interface Job {
|
|
25
|
+
/**
|
|
26
|
+
* How many times the job was started.
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof Job
|
|
29
|
+
*/
|
|
30
|
+
'attempts'?: number;
|
|
31
|
+
/**
|
|
32
|
+
* True once `CancelJob` was called while the job was queued or running. A running job stops at its next page or row and keeps what it already wrote; a queued job becomes `CANCELLED` at once.
|
|
33
|
+
* @type {boolean}
|
|
34
|
+
* @memberof Job
|
|
35
|
+
*/
|
|
36
|
+
'cancelRequested'?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Unique identifier for the object.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof Job
|
|
41
|
+
*/
|
|
42
|
+
'code'?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof Job
|
|
47
|
+
*/
|
|
48
|
+
'createdAt'?: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof Job
|
|
53
|
+
*/
|
|
54
|
+
'createdBy'?: string;
|
|
55
|
+
/**
|
|
56
|
+
* The job\'s ERN (EIS Resource Name).
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof Job
|
|
59
|
+
*/
|
|
60
|
+
'ern'?: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {JobError}
|
|
64
|
+
* @memberof Job
|
|
65
|
+
*/
|
|
66
|
+
'error'?: JobError;
|
|
67
|
+
/**
|
|
68
|
+
* When the job\'s files are deleted: by default 24 hours after it finished for an export, 7 days for any other kind. Unset on a job cancelled before it started.
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof Job
|
|
71
|
+
*/
|
|
72
|
+
'expiresAt'?: string;
|
|
73
|
+
/**
|
|
74
|
+
* When the job finished.
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof Job
|
|
77
|
+
*/
|
|
78
|
+
'finishedAt'?: string;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof Job
|
|
83
|
+
*/
|
|
84
|
+
'id'?: string;
|
|
85
|
+
/**
|
|
86
|
+
* What the job does, such as `export.list`: one of the kinds its service names at its `JobService`.
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof Job
|
|
89
|
+
*/
|
|
90
|
+
'kind'?: string;
|
|
91
|
+
/**
|
|
92
|
+
* What the client shows for the job, sent with the create request; a service may set a default when none is sent.
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof Job
|
|
95
|
+
*/
|
|
96
|
+
'label'?: string;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @type {JobProgress}
|
|
100
|
+
* @memberof Job
|
|
101
|
+
*/
|
|
102
|
+
'progress'?: JobProgress;
|
|
103
|
+
/**
|
|
104
|
+
* The create request, with its defaults filled in.
|
|
105
|
+
* @type {object}
|
|
106
|
+
* @memberof Job
|
|
107
|
+
*/
|
|
108
|
+
'request'?: object;
|
|
109
|
+
/**
|
|
110
|
+
* What the job produced: the service\'s own JSON, read by `kind`. It holds the JSON form of the kind\'s result message, which the service names at its `JobService`; an export\'s is `ExportResult`.
|
|
111
|
+
* @type {object}
|
|
112
|
+
* @memberof Job
|
|
113
|
+
*/
|
|
114
|
+
'result'?: object;
|
|
115
|
+
/**
|
|
116
|
+
* When the job started running.
|
|
117
|
+
* @type {string}
|
|
118
|
+
* @memberof Job
|
|
119
|
+
*/
|
|
120
|
+
'startedAt'?: string;
|
|
121
|
+
/**
|
|
122
|
+
* The job\'s status: `QUEUED`, `RUNNING`, `SUCCEEDED`, `FAILED`, `CANCELLED` or `EXPIRED`. A job never leaves a final status except to `EXPIRED`, which means its files are gone; the job itself, with its request and its progress, remains as the audit record.
|
|
123
|
+
* @type {string}
|
|
124
|
+
* @memberof Job
|
|
125
|
+
*/
|
|
126
|
+
'status'?: string;
|
|
127
|
+
/**
|
|
128
|
+
*
|
|
129
|
+
* @type {string}
|
|
130
|
+
* @memberof Job
|
|
131
|
+
*/
|
|
132
|
+
'updatedAt'?: string;
|
|
133
|
+
/**
|
|
134
|
+
*
|
|
135
|
+
* @type {string}
|
|
136
|
+
* @memberof Job
|
|
137
|
+
*/
|
|
138
|
+
'updatedBy'?: string;
|
|
139
|
+
}
|
|
140
|
+
|
|
@@ -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 { BillRun } from './bill-run';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* The response of `ListBillRuns`: one page of bill runs.
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListBillRunsResponse
|
|
22
|
+
*/
|
|
23
|
+
export interface ListBillRunsResponse {
|
|
24
|
+
/**
|
|
25
|
+
* The runs of this page.
|
|
26
|
+
* @type {Array<BillRun>}
|
|
27
|
+
* @memberof ListBillRunsResponse
|
|
28
|
+
*/
|
|
29
|
+
'items'?: Array<BillRun>;
|
|
30
|
+
/**
|
|
31
|
+
* The page size this page was read with.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ListBillRunsResponse
|
|
34
|
+
*/
|
|
35
|
+
'itemsPerPage'?: number;
|
|
36
|
+
/**
|
|
37
|
+
* The token of the next page. Empty on the last page.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ListBillRunsResponse
|
|
40
|
+
*/
|
|
41
|
+
'nextPageToken'?: string;
|
|
42
|
+
}
|
|
43
|
+
|
|
@@ -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 { Invoice } from './invoice';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* The response of `ListInvoices`: one page of invoices.
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListInvoicesResponse
|
|
22
|
+
*/
|
|
23
|
+
export interface ListInvoicesResponse {
|
|
24
|
+
/**
|
|
25
|
+
* The invoices of this page.
|
|
26
|
+
* @type {Array<Invoice>}
|
|
27
|
+
* @memberof ListInvoicesResponse
|
|
28
|
+
*/
|
|
29
|
+
'items'?: Array<Invoice>;
|
|
30
|
+
/**
|
|
31
|
+
* The page size this page was read with.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ListInvoicesResponse
|
|
34
|
+
*/
|
|
35
|
+
'itemsPerPage'?: number;
|
|
36
|
+
/**
|
|
37
|
+
* The token of the next page. Empty on the last page.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ListInvoicesResponse
|
|
40
|
+
*/
|
|
41
|
+
'nextPageToken'?: string;
|
|
42
|
+
}
|
|
43
|
+
|
|
@@ -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 { Job } from './job';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* The response of `ListJobs`: one page of the caller\'s jobs.
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListJobsResponse
|
|
22
|
+
*/
|
|
23
|
+
export interface ListJobsResponse {
|
|
24
|
+
/**
|
|
25
|
+
* The jobs of this page.
|
|
26
|
+
* @type {Array<Job>}
|
|
27
|
+
* @memberof ListJobsResponse
|
|
28
|
+
*/
|
|
29
|
+
'items'?: Array<Job>;
|
|
30
|
+
/**
|
|
31
|
+
* The page size this page was read with.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ListJobsResponse
|
|
34
|
+
*/
|
|
35
|
+
'itemsPerPage'?: number;
|
|
36
|
+
/**
|
|
37
|
+
* The token of the next page. Empty on the last page.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ListJobsResponse
|
|
40
|
+
*/
|
|
41
|
+
'nextPageToken'?: string;
|
|
42
|
+
}
|
|
43
|
+
|
|
@@ -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 { PolicyBilling } from './policy-billing';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* The response of `ListPoliciesBillingDates`: one page of billing schedule rows.
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListPoliciesBillingDatesResponse
|
|
22
|
+
*/
|
|
23
|
+
export interface ListPoliciesBillingDatesResponse {
|
|
24
|
+
/**
|
|
25
|
+
* The rows of this page.
|
|
26
|
+
* @type {Array<PolicyBilling>}
|
|
27
|
+
* @memberof ListPoliciesBillingDatesResponse
|
|
28
|
+
*/
|
|
29
|
+
'items'?: Array<PolicyBilling>;
|
|
30
|
+
/**
|
|
31
|
+
* The page size this page was read with.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ListPoliciesBillingDatesResponse
|
|
34
|
+
*/
|
|
35
|
+
'itemsPerPage'?: number;
|
|
36
|
+
/**
|
|
37
|
+
* The token of the next page. Empty on the last page.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ListPoliciesBillingDatesResponse
|
|
40
|
+
*/
|
|
41
|
+
'nextPageToken'?: string;
|
|
42
|
+
}
|
|
43
|
+
|
|
@@ -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 { PolicyBilling } from './policy-billing';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* The response of `ListPoliciesBillings`: one page of schedule rows.
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListPoliciesBillingsResponse
|
|
22
|
+
*/
|
|
23
|
+
export interface ListPoliciesBillingsResponse {
|
|
24
|
+
/**
|
|
25
|
+
* The rows of this page.
|
|
26
|
+
* @type {Array<PolicyBilling>}
|
|
27
|
+
* @memberof ListPoliciesBillingsResponse
|
|
28
|
+
*/
|
|
29
|
+
'items'?: Array<PolicyBilling>;
|
|
30
|
+
/**
|
|
31
|
+
* The page size this page was read with.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ListPoliciesBillingsResponse
|
|
34
|
+
*/
|
|
35
|
+
'itemsPerPage'?: number;
|
|
36
|
+
/**
|
|
37
|
+
* The token of the next page. Empty on the last page.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ListPoliciesBillingsResponse
|
|
40
|
+
*/
|
|
41
|
+
'nextPageToken'?: string;
|
|
42
|
+
}
|
|
43
|
+
|
|
@@ -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
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface ListRequest
|
|
21
|
+
*/
|
|
22
|
+
export interface ListRequest {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof ListRequest
|
|
27
|
+
*/
|
|
28
|
+
'expand'?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ListRequest
|
|
33
|
+
*/
|
|
34
|
+
'filter'?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof ListRequest
|
|
39
|
+
*/
|
|
40
|
+
'filters'?: string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof ListRequest
|
|
45
|
+
*/
|
|
46
|
+
'order'?: string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof ListRequest
|
|
51
|
+
*/
|
|
52
|
+
'pageSize'?: number;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof ListRequest
|
|
57
|
+
*/
|
|
58
|
+
'pageToken'?: string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof ListRequest
|
|
63
|
+
*/
|
|
64
|
+
'search'?: string;
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -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 label in German and English, for text the client cannot translate itself.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface LocalizedText
|
|
21
|
+
*/
|
|
22
|
+
export interface LocalizedText {
|
|
23
|
+
/**
|
|
24
|
+
* The label in German.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof LocalizedText
|
|
27
|
+
*/
|
|
28
|
+
'de'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The label in English.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof LocalizedText
|
|
33
|
+
*/
|
|
34
|
+
'en'?: string;
|
|
35
|
+
}
|
|
36
|
+
|
package/models/match.ts
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
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 { Highlight } from './highlight';
|
|
17
|
+
import { LocalizedText } from './localized-text';
|
|
18
|
+
import { Slice } from './slice';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Why a row is in a search result: the field that matched, its value as a snippet with the matched ranges, and, in a collection that keeps time slices, the slice it matched in, which is not necessarily the one the row shows. The snippet of a personal data field is `•••`.
|
|
22
|
+
* @export
|
|
23
|
+
* @interface Match
|
|
24
|
+
*/
|
|
25
|
+
export interface Match {
|
|
26
|
+
/**
|
|
27
|
+
* The catalog key of the field that matched.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof Match
|
|
30
|
+
*/
|
|
31
|
+
'field'?: string;
|
|
32
|
+
/**
|
|
33
|
+
* The matched ranges of `snippet`.
|
|
34
|
+
* @type {Array<Highlight>}
|
|
35
|
+
* @memberof Match
|
|
36
|
+
*/
|
|
37
|
+
'highlights'?: Array<Highlight>;
|
|
38
|
+
/**
|
|
39
|
+
* True when that slice is the one the row shows.
|
|
40
|
+
* @type {boolean}
|
|
41
|
+
* @memberof Match
|
|
42
|
+
*/
|
|
43
|
+
'isCurrentSlice'?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {LocalizedText}
|
|
47
|
+
* @memberof Match
|
|
48
|
+
*/
|
|
49
|
+
'label'?: LocalizedText;
|
|
50
|
+
/**
|
|
51
|
+
* The system field\'s translation key. Empty when the field is not a system field.
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof Match
|
|
54
|
+
*/
|
|
55
|
+
'labelKey'?: string;
|
|
56
|
+
/**
|
|
57
|
+
* How well the field matched the search term. A search lists its rows by score, highest first, unless `order` names other keys.
|
|
58
|
+
* @type {number}
|
|
59
|
+
* @memberof Match
|
|
60
|
+
*/
|
|
61
|
+
'score'?: number;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {Slice}
|
|
65
|
+
* @memberof Match
|
|
66
|
+
*/
|
|
67
|
+
'slice'?: Slice;
|
|
68
|
+
/**
|
|
69
|
+
* The value of the field, cut to the part around the match.
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof Match
|
|
72
|
+
*/
|
|
73
|
+
'snippet'?: string;
|
|
74
|
+
}
|
|
75
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
* When an invoice is due: either a number of days after the invoice, or a day of a month.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface PaymentTerm
|
|
21
|
+
*/
|
|
22
|
+
export interface PaymentTerm {
|
|
23
|
+
/**
|
|
24
|
+
* For `DAY_OF_MONTH`: the day of the month, from 1 to 28.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof PaymentTerm
|
|
27
|
+
*/
|
|
28
|
+
'day'?: number;
|
|
29
|
+
/**
|
|
30
|
+
* For `DAYS_AFTER_INVOICE`: the days after the invoice date, from 0 to 92.
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof PaymentTerm
|
|
33
|
+
*/
|
|
34
|
+
'days'?: number;
|
|
35
|
+
/**
|
|
36
|
+
* The kind of the term: `DAYS_AFTER_INVOICE` (uses `days`) or `DAY_OF_MONTH` (uses `day` and `monthOffset`).
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof PaymentTerm
|
|
39
|
+
*/
|
|
40
|
+
'kind'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* For `DAY_OF_MONTH`: how many months after the month of the period start the day falls, from 0 to 3.
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof PaymentTerm
|
|
45
|
+
*/
|
|
46
|
+
'monthOffset'?: number;
|
|
47
|
+
}
|
|
48
|
+
|