@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,266 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL Billing Service
|
|
3
|
+
* The billing service: bills, bill runs, invoices and policy billings.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
|
+
import { Configuration } from '../configuration';
|
|
14
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { GetBillRunFilterCatalogResponse } from '../models';
|
|
16
|
+
import { GetBillRunResponse } from '../models';
|
|
17
|
+
import { ListBillRunsResponse } from '../models';
|
|
18
|
+
import { RequestBillRunRequest } from '../models';
|
|
19
|
+
import { RequestBillRunResponse } from '../models';
|
|
20
|
+
/**
|
|
21
|
+
* BillRunsApi - axios parameter creator
|
|
22
|
+
* @export
|
|
23
|
+
*/
|
|
24
|
+
export declare const BillRunsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @summary Returns one bill run.
|
|
28
|
+
* @param {string} code The run\'s code.
|
|
29
|
+
* @param {*} [options] Override http request option.
|
|
30
|
+
* @throws {RequiredError}
|
|
31
|
+
*/
|
|
32
|
+
billingServiceGetBillRun: (code: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @summary Returns the filter catalog of the bill run list.
|
|
36
|
+
* @param {*} [options] Override http request option.
|
|
37
|
+
* @throws {RequiredError}
|
|
38
|
+
*/
|
|
39
|
+
billingServiceGetBillRunFilterCatalog: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @summary Lists bill runs.
|
|
43
|
+
* @param {number} [pageSize]
|
|
44
|
+
* @param {string} [pageToken]
|
|
45
|
+
* @param {string} [filter]
|
|
46
|
+
* @param {string} [search]
|
|
47
|
+
* @param {string} [order]
|
|
48
|
+
* @param {string} [expand]
|
|
49
|
+
* @param {string} [filters]
|
|
50
|
+
* @param {*} [options] Override http request option.
|
|
51
|
+
* @throws {RequiredError}
|
|
52
|
+
*/
|
|
53
|
+
billingServiceListBillRuns: (pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
54
|
+
/**
|
|
55
|
+
* It runs `kind` for `runDate` (today when empty). The run is finished when the call returns, and the response is the finished run. `kind` is `INVOICE`, `ESTIMATE` or `RECONCILE`. Only one run of a kind can run at a time.
|
|
56
|
+
* @summary Runs a bill run now.
|
|
57
|
+
* @param {RequestBillRunRequest} body The request of `RequestBillRun`.
|
|
58
|
+
* @param {*} [options] Override http request option.
|
|
59
|
+
* @throws {RequiredError}
|
|
60
|
+
*/
|
|
61
|
+
billingServiceRequestBillRun: (body: RequestBillRunRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* BillRunsApi - functional programming interface
|
|
65
|
+
* @export
|
|
66
|
+
*/
|
|
67
|
+
export declare const BillRunsApiFp: (configuration?: Configuration) => {
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @summary Returns one bill run.
|
|
71
|
+
* @param {string} code The run\'s code.
|
|
72
|
+
* @param {*} [options] Override http request option.
|
|
73
|
+
* @throws {RequiredError}
|
|
74
|
+
*/
|
|
75
|
+
billingServiceGetBillRun(code: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBillRunResponse>>;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @summary Returns the filter catalog of the bill run list.
|
|
79
|
+
* @param {*} [options] Override http request option.
|
|
80
|
+
* @throws {RequiredError}
|
|
81
|
+
*/
|
|
82
|
+
billingServiceGetBillRunFilterCatalog(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBillRunFilterCatalogResponse>>;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @summary Lists bill runs.
|
|
86
|
+
* @param {number} [pageSize]
|
|
87
|
+
* @param {string} [pageToken]
|
|
88
|
+
* @param {string} [filter]
|
|
89
|
+
* @param {string} [search]
|
|
90
|
+
* @param {string} [order]
|
|
91
|
+
* @param {string} [expand]
|
|
92
|
+
* @param {string} [filters]
|
|
93
|
+
* @param {*} [options] Override http request option.
|
|
94
|
+
* @throws {RequiredError}
|
|
95
|
+
*/
|
|
96
|
+
billingServiceListBillRuns(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBillRunsResponse>>;
|
|
97
|
+
/**
|
|
98
|
+
* It runs `kind` for `runDate` (today when empty). The run is finished when the call returns, and the response is the finished run. `kind` is `INVOICE`, `ESTIMATE` or `RECONCILE`. Only one run of a kind can run at a time.
|
|
99
|
+
* @summary Runs a bill run now.
|
|
100
|
+
* @param {RequestBillRunRequest} body The request of `RequestBillRun`.
|
|
101
|
+
* @param {*} [options] Override http request option.
|
|
102
|
+
* @throws {RequiredError}
|
|
103
|
+
*/
|
|
104
|
+
billingServiceRequestBillRun(body: RequestBillRunRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestBillRunResponse>>;
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* BillRunsApi - factory interface
|
|
108
|
+
* @export
|
|
109
|
+
*/
|
|
110
|
+
export declare const BillRunsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
111
|
+
/**
|
|
112
|
+
*
|
|
113
|
+
* @summary Returns one bill run.
|
|
114
|
+
* @param {string} code The run\'s code.
|
|
115
|
+
* @param {*} [options] Override http request option.
|
|
116
|
+
* @throws {RequiredError}
|
|
117
|
+
*/
|
|
118
|
+
billingServiceGetBillRun(code: string, options?: any): AxiosPromise<GetBillRunResponse>;
|
|
119
|
+
/**
|
|
120
|
+
*
|
|
121
|
+
* @summary Returns the filter catalog of the bill run list.
|
|
122
|
+
* @param {*} [options] Override http request option.
|
|
123
|
+
* @throws {RequiredError}
|
|
124
|
+
*/
|
|
125
|
+
billingServiceGetBillRunFilterCatalog(options?: any): AxiosPromise<GetBillRunFilterCatalogResponse>;
|
|
126
|
+
/**
|
|
127
|
+
*
|
|
128
|
+
* @summary Lists bill runs.
|
|
129
|
+
* @param {number} [pageSize]
|
|
130
|
+
* @param {string} [pageToken]
|
|
131
|
+
* @param {string} [filter]
|
|
132
|
+
* @param {string} [search]
|
|
133
|
+
* @param {string} [order]
|
|
134
|
+
* @param {string} [expand]
|
|
135
|
+
* @param {string} [filters]
|
|
136
|
+
* @param {*} [options] Override http request option.
|
|
137
|
+
* @throws {RequiredError}
|
|
138
|
+
*/
|
|
139
|
+
billingServiceListBillRuns(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListBillRunsResponse>;
|
|
140
|
+
/**
|
|
141
|
+
* It runs `kind` for `runDate` (today when empty). The run is finished when the call returns, and the response is the finished run. `kind` is `INVOICE`, `ESTIMATE` or `RECONCILE`. Only one run of a kind can run at a time.
|
|
142
|
+
* @summary Runs a bill run now.
|
|
143
|
+
* @param {RequestBillRunRequest} body The request of `RequestBillRun`.
|
|
144
|
+
* @param {*} [options] Override http request option.
|
|
145
|
+
* @throws {RequiredError}
|
|
146
|
+
*/
|
|
147
|
+
billingServiceRequestBillRun(body: RequestBillRunRequest, options?: any): AxiosPromise<RequestBillRunResponse>;
|
|
148
|
+
};
|
|
149
|
+
/**
|
|
150
|
+
* Request parameters for billingServiceGetBillRun operation in BillRunsApi.
|
|
151
|
+
* @export
|
|
152
|
+
* @interface BillRunsApiBillingServiceGetBillRunRequest
|
|
153
|
+
*/
|
|
154
|
+
export interface BillRunsApiBillingServiceGetBillRunRequest {
|
|
155
|
+
/**
|
|
156
|
+
* The run\'s code.
|
|
157
|
+
* @type {string}
|
|
158
|
+
* @memberof BillRunsApiBillingServiceGetBillRun
|
|
159
|
+
*/
|
|
160
|
+
readonly code: string;
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* Request parameters for billingServiceListBillRuns operation in BillRunsApi.
|
|
164
|
+
* @export
|
|
165
|
+
* @interface BillRunsApiBillingServiceListBillRunsRequest
|
|
166
|
+
*/
|
|
167
|
+
export interface BillRunsApiBillingServiceListBillRunsRequest {
|
|
168
|
+
/**
|
|
169
|
+
*
|
|
170
|
+
* @type {number}
|
|
171
|
+
* @memberof BillRunsApiBillingServiceListBillRuns
|
|
172
|
+
*/
|
|
173
|
+
readonly pageSize?: number;
|
|
174
|
+
/**
|
|
175
|
+
*
|
|
176
|
+
* @type {string}
|
|
177
|
+
* @memberof BillRunsApiBillingServiceListBillRuns
|
|
178
|
+
*/
|
|
179
|
+
readonly pageToken?: string;
|
|
180
|
+
/**
|
|
181
|
+
*
|
|
182
|
+
* @type {string}
|
|
183
|
+
* @memberof BillRunsApiBillingServiceListBillRuns
|
|
184
|
+
*/
|
|
185
|
+
readonly filter?: string;
|
|
186
|
+
/**
|
|
187
|
+
*
|
|
188
|
+
* @type {string}
|
|
189
|
+
* @memberof BillRunsApiBillingServiceListBillRuns
|
|
190
|
+
*/
|
|
191
|
+
readonly search?: string;
|
|
192
|
+
/**
|
|
193
|
+
*
|
|
194
|
+
* @type {string}
|
|
195
|
+
* @memberof BillRunsApiBillingServiceListBillRuns
|
|
196
|
+
*/
|
|
197
|
+
readonly order?: string;
|
|
198
|
+
/**
|
|
199
|
+
*
|
|
200
|
+
* @type {string}
|
|
201
|
+
* @memberof BillRunsApiBillingServiceListBillRuns
|
|
202
|
+
*/
|
|
203
|
+
readonly expand?: string;
|
|
204
|
+
/**
|
|
205
|
+
*
|
|
206
|
+
* @type {string}
|
|
207
|
+
* @memberof BillRunsApiBillingServiceListBillRuns
|
|
208
|
+
*/
|
|
209
|
+
readonly filters?: string;
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* Request parameters for billingServiceRequestBillRun operation in BillRunsApi.
|
|
213
|
+
* @export
|
|
214
|
+
* @interface BillRunsApiBillingServiceRequestBillRunRequest
|
|
215
|
+
*/
|
|
216
|
+
export interface BillRunsApiBillingServiceRequestBillRunRequest {
|
|
217
|
+
/**
|
|
218
|
+
* The request of `RequestBillRun`.
|
|
219
|
+
* @type {RequestBillRunRequest}
|
|
220
|
+
* @memberof BillRunsApiBillingServiceRequestBillRun
|
|
221
|
+
*/
|
|
222
|
+
readonly body: RequestBillRunRequest;
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* BillRunsApi - object-oriented interface
|
|
226
|
+
* @export
|
|
227
|
+
* @class BillRunsApi
|
|
228
|
+
* @extends {BaseAPI}
|
|
229
|
+
*/
|
|
230
|
+
export declare class BillRunsApi extends BaseAPI {
|
|
231
|
+
/**
|
|
232
|
+
*
|
|
233
|
+
* @summary Returns one bill run.
|
|
234
|
+
* @param {BillRunsApiBillingServiceGetBillRunRequest} requestParameters Request parameters.
|
|
235
|
+
* @param {*} [options] Override http request option.
|
|
236
|
+
* @throws {RequiredError}
|
|
237
|
+
* @memberof BillRunsApi
|
|
238
|
+
*/
|
|
239
|
+
billingServiceGetBillRun(requestParameters: BillRunsApiBillingServiceGetBillRunRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBillRunResponse, any, {}, any>>;
|
|
240
|
+
/**
|
|
241
|
+
*
|
|
242
|
+
* @summary Returns the filter catalog of the bill run list.
|
|
243
|
+
* @param {*} [options] Override http request option.
|
|
244
|
+
* @throws {RequiredError}
|
|
245
|
+
* @memberof BillRunsApi
|
|
246
|
+
*/
|
|
247
|
+
billingServiceGetBillRunFilterCatalog(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBillRunFilterCatalogResponse, any, {}, any>>;
|
|
248
|
+
/**
|
|
249
|
+
*
|
|
250
|
+
* @summary Lists bill runs.
|
|
251
|
+
* @param {BillRunsApiBillingServiceListBillRunsRequest} requestParameters Request parameters.
|
|
252
|
+
* @param {*} [options] Override http request option.
|
|
253
|
+
* @throws {RequiredError}
|
|
254
|
+
* @memberof BillRunsApi
|
|
255
|
+
*/
|
|
256
|
+
billingServiceListBillRuns(requestParameters?: BillRunsApiBillingServiceListBillRunsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBillRunsResponse, any, {}, any>>;
|
|
257
|
+
/**
|
|
258
|
+
* It runs `kind` for `runDate` (today when empty). The run is finished when the call returns, and the response is the finished run. `kind` is `INVOICE`, `ESTIMATE` or `RECONCILE`. Only one run of a kind can run at a time.
|
|
259
|
+
* @summary Runs a bill run now.
|
|
260
|
+
* @param {BillRunsApiBillingServiceRequestBillRunRequest} requestParameters Request parameters.
|
|
261
|
+
* @param {*} [options] Override http request option.
|
|
262
|
+
* @throws {RequiredError}
|
|
263
|
+
* @memberof BillRunsApi
|
|
264
|
+
*/
|
|
265
|
+
billingServiceRequestBillRun(requestParameters: BillRunsApiBillingServiceRequestBillRunRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RequestBillRunResponse, any, {}, any>>;
|
|
266
|
+
}
|