@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,426 @@
|
|
|
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 { CancelJobResponse } from '../models';
|
|
16
|
+
import { CreateDetailExportJobRequest } from '../models';
|
|
17
|
+
import { CreateDetailExportJobResponse } from '../models';
|
|
18
|
+
import { CreateExportJobRequest } from '../models';
|
|
19
|
+
import { CreateExportJobResponse } from '../models';
|
|
20
|
+
import { GetJobDownloadResponse } from '../models';
|
|
21
|
+
import { GetJobFilterCatalogResponse } from '../models';
|
|
22
|
+
import { GetJobResponse } from '../models';
|
|
23
|
+
import { ListJobsResponse } from '../models';
|
|
24
|
+
/**
|
|
25
|
+
* JobsApi - axios parameter creator
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
export declare const JobsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
29
|
+
/**
|
|
30
|
+
* This call is not available yet and answers Unimplemented.
|
|
31
|
+
* @summary Cancels a job.
|
|
32
|
+
* @param {string} code The job\'s code.
|
|
33
|
+
* @param {object} body
|
|
34
|
+
* @param {*} [options] Override http request option.
|
|
35
|
+
* @throws {RequiredError}
|
|
36
|
+
*/
|
|
37
|
+
jobServiceCancelJob: (code: string, body: object, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
38
|
+
/**
|
|
39
|
+
* This call is not available yet and answers Unimplemented.
|
|
40
|
+
* @summary Creates a job that exports one invoice as a workbook.
|
|
41
|
+
* @param {CreateDetailExportJobRequest} body The request of `CreateDetailExportJob`.
|
|
42
|
+
* @param {*} [options] Override http request option.
|
|
43
|
+
* @throws {RequiredError}
|
|
44
|
+
*/
|
|
45
|
+
jobServiceCreateDetailExportJob: (body: CreateDetailExportJobRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
46
|
+
/**
|
|
47
|
+
* This call is not available yet and answers Unimplemented.
|
|
48
|
+
* @summary Creates a job that exports a billing list as a file.
|
|
49
|
+
* @param {CreateExportJobRequest} body The request of `CreateExportJob`.
|
|
50
|
+
* @param {*} [options] Override http request option.
|
|
51
|
+
* @throws {RequiredError}
|
|
52
|
+
*/
|
|
53
|
+
jobServiceCreateExportJob: (body: CreateExportJobRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
54
|
+
/**
|
|
55
|
+
* This call is not available yet and answers Unimplemented.
|
|
56
|
+
* @summary Returns one of the caller\'s jobs.
|
|
57
|
+
* @param {string} code The job\'s code.
|
|
58
|
+
* @param {*} [options] Override http request option.
|
|
59
|
+
* @throws {RequiredError}
|
|
60
|
+
*/
|
|
61
|
+
jobServiceGetJob: (code: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
62
|
+
/**
|
|
63
|
+
* This call is not available yet and answers Unimplemented.
|
|
64
|
+
* @summary Returns a signed link to the job\'s file.
|
|
65
|
+
* @param {string} code The job\'s code.
|
|
66
|
+
* @param {string} [artifact] The file to download: `output`, the export file. It is the default and the only file a billing job has.
|
|
67
|
+
* @param {*} [options] Override http request option.
|
|
68
|
+
* @throws {RequiredError}
|
|
69
|
+
*/
|
|
70
|
+
jobServiceGetJobDownload: (code: string, artifact?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
71
|
+
/**
|
|
72
|
+
* This call is not available yet and answers Unimplemented.
|
|
73
|
+
* @summary Returns the filter catalog of the job list.
|
|
74
|
+
* @param {*} [options] Override http request option.
|
|
75
|
+
* @throws {RequiredError}
|
|
76
|
+
*/
|
|
77
|
+
jobServiceGetJobFilterCatalog: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
78
|
+
/**
|
|
79
|
+
* This call is not available yet and answers Unimplemented.
|
|
80
|
+
* @summary Lists the caller\'s jobs.
|
|
81
|
+
* @param {number} [pageSize]
|
|
82
|
+
* @param {string} [pageToken]
|
|
83
|
+
* @param {string} [filter]
|
|
84
|
+
* @param {string} [search]
|
|
85
|
+
* @param {string} [order]
|
|
86
|
+
* @param {string} [expand]
|
|
87
|
+
* @param {string} [filters]
|
|
88
|
+
* @param {*} [options] Override http request option.
|
|
89
|
+
* @throws {RequiredError}
|
|
90
|
+
*/
|
|
91
|
+
jobServiceListJobs: (pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* JobsApi - functional programming interface
|
|
95
|
+
* @export
|
|
96
|
+
*/
|
|
97
|
+
export declare const JobsApiFp: (configuration?: Configuration) => {
|
|
98
|
+
/**
|
|
99
|
+
* This call is not available yet and answers Unimplemented.
|
|
100
|
+
* @summary Cancels a job.
|
|
101
|
+
* @param {string} code The job\'s code.
|
|
102
|
+
* @param {object} body
|
|
103
|
+
* @param {*} [options] Override http request option.
|
|
104
|
+
* @throws {RequiredError}
|
|
105
|
+
*/
|
|
106
|
+
jobServiceCancelJob(code: string, body: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CancelJobResponse>>;
|
|
107
|
+
/**
|
|
108
|
+
* This call is not available yet and answers Unimplemented.
|
|
109
|
+
* @summary Creates a job that exports one invoice as a workbook.
|
|
110
|
+
* @param {CreateDetailExportJobRequest} body The request of `CreateDetailExportJob`.
|
|
111
|
+
* @param {*} [options] Override http request option.
|
|
112
|
+
* @throws {RequiredError}
|
|
113
|
+
*/
|
|
114
|
+
jobServiceCreateDetailExportJob(body: CreateDetailExportJobRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateDetailExportJobResponse>>;
|
|
115
|
+
/**
|
|
116
|
+
* This call is not available yet and answers Unimplemented.
|
|
117
|
+
* @summary Creates a job that exports a billing list as a file.
|
|
118
|
+
* @param {CreateExportJobRequest} body The request of `CreateExportJob`.
|
|
119
|
+
* @param {*} [options] Override http request option.
|
|
120
|
+
* @throws {RequiredError}
|
|
121
|
+
*/
|
|
122
|
+
jobServiceCreateExportJob(body: CreateExportJobRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateExportJobResponse>>;
|
|
123
|
+
/**
|
|
124
|
+
* This call is not available yet and answers Unimplemented.
|
|
125
|
+
* @summary Returns one of the caller\'s jobs.
|
|
126
|
+
* @param {string} code The job\'s code.
|
|
127
|
+
* @param {*} [options] Override http request option.
|
|
128
|
+
* @throws {RequiredError}
|
|
129
|
+
*/
|
|
130
|
+
jobServiceGetJob(code: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetJobResponse>>;
|
|
131
|
+
/**
|
|
132
|
+
* This call is not available yet and answers Unimplemented.
|
|
133
|
+
* @summary Returns a signed link to the job\'s file.
|
|
134
|
+
* @param {string} code The job\'s code.
|
|
135
|
+
* @param {string} [artifact] The file to download: `output`, the export file. It is the default and the only file a billing job has.
|
|
136
|
+
* @param {*} [options] Override http request option.
|
|
137
|
+
* @throws {RequiredError}
|
|
138
|
+
*/
|
|
139
|
+
jobServiceGetJobDownload(code: string, artifact?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetJobDownloadResponse>>;
|
|
140
|
+
/**
|
|
141
|
+
* This call is not available yet and answers Unimplemented.
|
|
142
|
+
* @summary Returns the filter catalog of the job list.
|
|
143
|
+
* @param {*} [options] Override http request option.
|
|
144
|
+
* @throws {RequiredError}
|
|
145
|
+
*/
|
|
146
|
+
jobServiceGetJobFilterCatalog(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetJobFilterCatalogResponse>>;
|
|
147
|
+
/**
|
|
148
|
+
* This call is not available yet and answers Unimplemented.
|
|
149
|
+
* @summary Lists the caller\'s jobs.
|
|
150
|
+
* @param {number} [pageSize]
|
|
151
|
+
* @param {string} [pageToken]
|
|
152
|
+
* @param {string} [filter]
|
|
153
|
+
* @param {string} [search]
|
|
154
|
+
* @param {string} [order]
|
|
155
|
+
* @param {string} [expand]
|
|
156
|
+
* @param {string} [filters]
|
|
157
|
+
* @param {*} [options] Override http request option.
|
|
158
|
+
* @throws {RequiredError}
|
|
159
|
+
*/
|
|
160
|
+
jobServiceListJobs(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListJobsResponse>>;
|
|
161
|
+
};
|
|
162
|
+
/**
|
|
163
|
+
* JobsApi - factory interface
|
|
164
|
+
* @export
|
|
165
|
+
*/
|
|
166
|
+
export declare const JobsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
167
|
+
/**
|
|
168
|
+
* This call is not available yet and answers Unimplemented.
|
|
169
|
+
* @summary Cancels a job.
|
|
170
|
+
* @param {string} code The job\'s code.
|
|
171
|
+
* @param {object} body
|
|
172
|
+
* @param {*} [options] Override http request option.
|
|
173
|
+
* @throws {RequiredError}
|
|
174
|
+
*/
|
|
175
|
+
jobServiceCancelJob(code: string, body: object, options?: any): AxiosPromise<CancelJobResponse>;
|
|
176
|
+
/**
|
|
177
|
+
* This call is not available yet and answers Unimplemented.
|
|
178
|
+
* @summary Creates a job that exports one invoice as a workbook.
|
|
179
|
+
* @param {CreateDetailExportJobRequest} body The request of `CreateDetailExportJob`.
|
|
180
|
+
* @param {*} [options] Override http request option.
|
|
181
|
+
* @throws {RequiredError}
|
|
182
|
+
*/
|
|
183
|
+
jobServiceCreateDetailExportJob(body: CreateDetailExportJobRequest, options?: any): AxiosPromise<CreateDetailExportJobResponse>;
|
|
184
|
+
/**
|
|
185
|
+
* This call is not available yet and answers Unimplemented.
|
|
186
|
+
* @summary Creates a job that exports a billing list as a file.
|
|
187
|
+
* @param {CreateExportJobRequest} body The request of `CreateExportJob`.
|
|
188
|
+
* @param {*} [options] Override http request option.
|
|
189
|
+
* @throws {RequiredError}
|
|
190
|
+
*/
|
|
191
|
+
jobServiceCreateExportJob(body: CreateExportJobRequest, options?: any): AxiosPromise<CreateExportJobResponse>;
|
|
192
|
+
/**
|
|
193
|
+
* This call is not available yet and answers Unimplemented.
|
|
194
|
+
* @summary Returns one of the caller\'s jobs.
|
|
195
|
+
* @param {string} code The job\'s code.
|
|
196
|
+
* @param {*} [options] Override http request option.
|
|
197
|
+
* @throws {RequiredError}
|
|
198
|
+
*/
|
|
199
|
+
jobServiceGetJob(code: string, options?: any): AxiosPromise<GetJobResponse>;
|
|
200
|
+
/**
|
|
201
|
+
* This call is not available yet and answers Unimplemented.
|
|
202
|
+
* @summary Returns a signed link to the job\'s file.
|
|
203
|
+
* @param {string} code The job\'s code.
|
|
204
|
+
* @param {string} [artifact] The file to download: `output`, the export file. It is the default and the only file a billing job has.
|
|
205
|
+
* @param {*} [options] Override http request option.
|
|
206
|
+
* @throws {RequiredError}
|
|
207
|
+
*/
|
|
208
|
+
jobServiceGetJobDownload(code: string, artifact?: string, options?: any): AxiosPromise<GetJobDownloadResponse>;
|
|
209
|
+
/**
|
|
210
|
+
* This call is not available yet and answers Unimplemented.
|
|
211
|
+
* @summary Returns the filter catalog of the job list.
|
|
212
|
+
* @param {*} [options] Override http request option.
|
|
213
|
+
* @throws {RequiredError}
|
|
214
|
+
*/
|
|
215
|
+
jobServiceGetJobFilterCatalog(options?: any): AxiosPromise<GetJobFilterCatalogResponse>;
|
|
216
|
+
/**
|
|
217
|
+
* This call is not available yet and answers Unimplemented.
|
|
218
|
+
* @summary Lists the caller\'s jobs.
|
|
219
|
+
* @param {number} [pageSize]
|
|
220
|
+
* @param {string} [pageToken]
|
|
221
|
+
* @param {string} [filter]
|
|
222
|
+
* @param {string} [search]
|
|
223
|
+
* @param {string} [order]
|
|
224
|
+
* @param {string} [expand]
|
|
225
|
+
* @param {string} [filters]
|
|
226
|
+
* @param {*} [options] Override http request option.
|
|
227
|
+
* @throws {RequiredError}
|
|
228
|
+
*/
|
|
229
|
+
jobServiceListJobs(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListJobsResponse>;
|
|
230
|
+
};
|
|
231
|
+
/**
|
|
232
|
+
* Request parameters for jobServiceCancelJob operation in JobsApi.
|
|
233
|
+
* @export
|
|
234
|
+
* @interface JobsApiJobServiceCancelJobRequest
|
|
235
|
+
*/
|
|
236
|
+
export interface JobsApiJobServiceCancelJobRequest {
|
|
237
|
+
/**
|
|
238
|
+
* The job\'s code.
|
|
239
|
+
* @type {string}
|
|
240
|
+
* @memberof JobsApiJobServiceCancelJob
|
|
241
|
+
*/
|
|
242
|
+
readonly code: string;
|
|
243
|
+
/**
|
|
244
|
+
*
|
|
245
|
+
* @type {object}
|
|
246
|
+
* @memberof JobsApiJobServiceCancelJob
|
|
247
|
+
*/
|
|
248
|
+
readonly body: object;
|
|
249
|
+
}
|
|
250
|
+
/**
|
|
251
|
+
* Request parameters for jobServiceCreateDetailExportJob operation in JobsApi.
|
|
252
|
+
* @export
|
|
253
|
+
* @interface JobsApiJobServiceCreateDetailExportJobRequest
|
|
254
|
+
*/
|
|
255
|
+
export interface JobsApiJobServiceCreateDetailExportJobRequest {
|
|
256
|
+
/**
|
|
257
|
+
* The request of `CreateDetailExportJob`.
|
|
258
|
+
* @type {CreateDetailExportJobRequest}
|
|
259
|
+
* @memberof JobsApiJobServiceCreateDetailExportJob
|
|
260
|
+
*/
|
|
261
|
+
readonly body: CreateDetailExportJobRequest;
|
|
262
|
+
}
|
|
263
|
+
/**
|
|
264
|
+
* Request parameters for jobServiceCreateExportJob operation in JobsApi.
|
|
265
|
+
* @export
|
|
266
|
+
* @interface JobsApiJobServiceCreateExportJobRequest
|
|
267
|
+
*/
|
|
268
|
+
export interface JobsApiJobServiceCreateExportJobRequest {
|
|
269
|
+
/**
|
|
270
|
+
* The request of `CreateExportJob`.
|
|
271
|
+
* @type {CreateExportJobRequest}
|
|
272
|
+
* @memberof JobsApiJobServiceCreateExportJob
|
|
273
|
+
*/
|
|
274
|
+
readonly body: CreateExportJobRequest;
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* Request parameters for jobServiceGetJob operation in JobsApi.
|
|
278
|
+
* @export
|
|
279
|
+
* @interface JobsApiJobServiceGetJobRequest
|
|
280
|
+
*/
|
|
281
|
+
export interface JobsApiJobServiceGetJobRequest {
|
|
282
|
+
/**
|
|
283
|
+
* The job\'s code.
|
|
284
|
+
* @type {string}
|
|
285
|
+
* @memberof JobsApiJobServiceGetJob
|
|
286
|
+
*/
|
|
287
|
+
readonly code: string;
|
|
288
|
+
}
|
|
289
|
+
/**
|
|
290
|
+
* Request parameters for jobServiceGetJobDownload operation in JobsApi.
|
|
291
|
+
* @export
|
|
292
|
+
* @interface JobsApiJobServiceGetJobDownloadRequest
|
|
293
|
+
*/
|
|
294
|
+
export interface JobsApiJobServiceGetJobDownloadRequest {
|
|
295
|
+
/**
|
|
296
|
+
* The job\'s code.
|
|
297
|
+
* @type {string}
|
|
298
|
+
* @memberof JobsApiJobServiceGetJobDownload
|
|
299
|
+
*/
|
|
300
|
+
readonly code: string;
|
|
301
|
+
/**
|
|
302
|
+
* The file to download: `output`, the export file. It is the default and the only file a billing job has.
|
|
303
|
+
* @type {string}
|
|
304
|
+
* @memberof JobsApiJobServiceGetJobDownload
|
|
305
|
+
*/
|
|
306
|
+
readonly artifact?: string;
|
|
307
|
+
}
|
|
308
|
+
/**
|
|
309
|
+
* Request parameters for jobServiceListJobs operation in JobsApi.
|
|
310
|
+
* @export
|
|
311
|
+
* @interface JobsApiJobServiceListJobsRequest
|
|
312
|
+
*/
|
|
313
|
+
export interface JobsApiJobServiceListJobsRequest {
|
|
314
|
+
/**
|
|
315
|
+
*
|
|
316
|
+
* @type {number}
|
|
317
|
+
* @memberof JobsApiJobServiceListJobs
|
|
318
|
+
*/
|
|
319
|
+
readonly pageSize?: number;
|
|
320
|
+
/**
|
|
321
|
+
*
|
|
322
|
+
* @type {string}
|
|
323
|
+
* @memberof JobsApiJobServiceListJobs
|
|
324
|
+
*/
|
|
325
|
+
readonly pageToken?: string;
|
|
326
|
+
/**
|
|
327
|
+
*
|
|
328
|
+
* @type {string}
|
|
329
|
+
* @memberof JobsApiJobServiceListJobs
|
|
330
|
+
*/
|
|
331
|
+
readonly filter?: string;
|
|
332
|
+
/**
|
|
333
|
+
*
|
|
334
|
+
* @type {string}
|
|
335
|
+
* @memberof JobsApiJobServiceListJobs
|
|
336
|
+
*/
|
|
337
|
+
readonly search?: string;
|
|
338
|
+
/**
|
|
339
|
+
*
|
|
340
|
+
* @type {string}
|
|
341
|
+
* @memberof JobsApiJobServiceListJobs
|
|
342
|
+
*/
|
|
343
|
+
readonly order?: string;
|
|
344
|
+
/**
|
|
345
|
+
*
|
|
346
|
+
* @type {string}
|
|
347
|
+
* @memberof JobsApiJobServiceListJobs
|
|
348
|
+
*/
|
|
349
|
+
readonly expand?: string;
|
|
350
|
+
/**
|
|
351
|
+
*
|
|
352
|
+
* @type {string}
|
|
353
|
+
* @memberof JobsApiJobServiceListJobs
|
|
354
|
+
*/
|
|
355
|
+
readonly filters?: string;
|
|
356
|
+
}
|
|
357
|
+
/**
|
|
358
|
+
* JobsApi - object-oriented interface
|
|
359
|
+
* @export
|
|
360
|
+
* @class JobsApi
|
|
361
|
+
* @extends {BaseAPI}
|
|
362
|
+
*/
|
|
363
|
+
export declare class JobsApi extends BaseAPI {
|
|
364
|
+
/**
|
|
365
|
+
* This call is not available yet and answers Unimplemented.
|
|
366
|
+
* @summary Cancels a job.
|
|
367
|
+
* @param {JobsApiJobServiceCancelJobRequest} requestParameters Request parameters.
|
|
368
|
+
* @param {*} [options] Override http request option.
|
|
369
|
+
* @throws {RequiredError}
|
|
370
|
+
* @memberof JobsApi
|
|
371
|
+
*/
|
|
372
|
+
jobServiceCancelJob(requestParameters: JobsApiJobServiceCancelJobRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CancelJobResponse, any, {}, any>>;
|
|
373
|
+
/**
|
|
374
|
+
* This call is not available yet and answers Unimplemented.
|
|
375
|
+
* @summary Creates a job that exports one invoice as a workbook.
|
|
376
|
+
* @param {JobsApiJobServiceCreateDetailExportJobRequest} requestParameters Request parameters.
|
|
377
|
+
* @param {*} [options] Override http request option.
|
|
378
|
+
* @throws {RequiredError}
|
|
379
|
+
* @memberof JobsApi
|
|
380
|
+
*/
|
|
381
|
+
jobServiceCreateDetailExportJob(requestParameters: JobsApiJobServiceCreateDetailExportJobRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateDetailExportJobResponse, any, {}, any>>;
|
|
382
|
+
/**
|
|
383
|
+
* This call is not available yet and answers Unimplemented.
|
|
384
|
+
* @summary Creates a job that exports a billing list as a file.
|
|
385
|
+
* @param {JobsApiJobServiceCreateExportJobRequest} requestParameters Request parameters.
|
|
386
|
+
* @param {*} [options] Override http request option.
|
|
387
|
+
* @throws {RequiredError}
|
|
388
|
+
* @memberof JobsApi
|
|
389
|
+
*/
|
|
390
|
+
jobServiceCreateExportJob(requestParameters: JobsApiJobServiceCreateExportJobRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateExportJobResponse, any, {}, any>>;
|
|
391
|
+
/**
|
|
392
|
+
* This call is not available yet and answers Unimplemented.
|
|
393
|
+
* @summary Returns one of the caller\'s jobs.
|
|
394
|
+
* @param {JobsApiJobServiceGetJobRequest} requestParameters Request parameters.
|
|
395
|
+
* @param {*} [options] Override http request option.
|
|
396
|
+
* @throws {RequiredError}
|
|
397
|
+
* @memberof JobsApi
|
|
398
|
+
*/
|
|
399
|
+
jobServiceGetJob(requestParameters: JobsApiJobServiceGetJobRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetJobResponse, any, {}, any>>;
|
|
400
|
+
/**
|
|
401
|
+
* This call is not available yet and answers Unimplemented.
|
|
402
|
+
* @summary Returns a signed link to the job\'s file.
|
|
403
|
+
* @param {JobsApiJobServiceGetJobDownloadRequest} requestParameters Request parameters.
|
|
404
|
+
* @param {*} [options] Override http request option.
|
|
405
|
+
* @throws {RequiredError}
|
|
406
|
+
* @memberof JobsApi
|
|
407
|
+
*/
|
|
408
|
+
jobServiceGetJobDownload(requestParameters: JobsApiJobServiceGetJobDownloadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetJobDownloadResponse, any, {}, any>>;
|
|
409
|
+
/**
|
|
410
|
+
* This call is not available yet and answers Unimplemented.
|
|
411
|
+
* @summary Returns the filter catalog of the job list.
|
|
412
|
+
* @param {*} [options] Override http request option.
|
|
413
|
+
* @throws {RequiredError}
|
|
414
|
+
* @memberof JobsApi
|
|
415
|
+
*/
|
|
416
|
+
jobServiceGetJobFilterCatalog(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetJobFilterCatalogResponse, any, {}, any>>;
|
|
417
|
+
/**
|
|
418
|
+
* This call is not available yet and answers Unimplemented.
|
|
419
|
+
* @summary Lists the caller\'s jobs.
|
|
420
|
+
* @param {JobsApiJobServiceListJobsRequest} requestParameters Request parameters.
|
|
421
|
+
* @param {*} [options] Override http request option.
|
|
422
|
+
* @throws {RequiredError}
|
|
423
|
+
* @memberof JobsApi
|
|
424
|
+
*/
|
|
425
|
+
jobServiceListJobs(requestParameters?: JobsApiJobServiceListJobsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListJobsResponse, any, {}, any>>;
|
|
426
|
+
}
|