@emilgroup/billing-v2-sdk 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.
Files changed (265) hide show
  1. package/.openapi-generator/FILES +93 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +50 -2
  5. package/api/bill-runs-api.ts +468 -0
  6. package/api/bills-api.ts +145 -0
  7. package/api/invoices-api.ts +1530 -0
  8. package/api/jobs-api.ts +756 -0
  9. package/api/policy-billings-api.ts +591 -0
  10. package/api.ts +35 -0
  11. package/base.ts +588 -0
  12. package/common.ts +199 -0
  13. package/configuration.ts +130 -0
  14. package/dist/api/bill-runs-api.d.ts +266 -0
  15. package/dist/api/bill-runs-api.js +466 -0
  16. package/dist/api/bills-api.d.ts +87 -0
  17. package/dist/api/bills-api.js +207 -0
  18. package/dist/api/invoices-api.d.ts +847 -0
  19. package/dist/api/invoices-api.js +1353 -0
  20. package/dist/api/jobs-api.d.ts +426 -0
  21. package/dist/api/jobs-api.js +708 -0
  22. package/dist/api/policy-billings-api.d.ts +332 -0
  23. package/dist/api/policy-billings-api.js +561 -0
  24. package/dist/api.d.ts +16 -0
  25. package/dist/api.js +34 -0
  26. package/dist/base.d.ts +120 -0
  27. package/dist/base.js +604 -0
  28. package/dist/common.d.ts +91 -0
  29. package/dist/common.js +277 -0
  30. package/dist/configuration.d.ts +106 -0
  31. package/dist/configuration.js +54 -0
  32. package/dist/index.d.ts +15 -0
  33. package/dist/index.js +36 -0
  34. package/dist/models/any.d.ts +25 -0
  35. package/dist/models/any.js +15 -0
  36. package/dist/models/bill-item.d.ts +132 -0
  37. package/dist/models/bill-item.js +15 -0
  38. package/dist/models/bill-run.d.ts +145 -0
  39. package/dist/models/bill-run.js +15 -0
  40. package/dist/models/bill.d.ts +194 -0
  41. package/dist/models/bill.js +15 -0
  42. package/dist/models/cancel-job-response.d.ts +25 -0
  43. package/dist/models/cancel-job-response.js +15 -0
  44. package/dist/models/create-correction-invoices-request.d.ts +72 -0
  45. package/dist/models/create-correction-invoices-request.js +15 -0
  46. package/dist/models/create-correction-invoices-response.d.ts +31 -0
  47. package/dist/models/create-correction-invoices-response.js +15 -0
  48. package/dist/models/create-detail-export-job-request.d.ts +56 -0
  49. package/dist/models/create-detail-export-job-request.js +15 -0
  50. package/dist/models/create-detail-export-job-response.d.ts +25 -0
  51. package/dist/models/create-detail-export-job-response.js +15 -0
  52. package/dist/models/create-estimated-invoice-for-interval-request.d.ts +42 -0
  53. package/dist/models/create-estimated-invoice-for-interval-request.js +15 -0
  54. package/dist/models/create-estimated-invoice-for-interval-response.d.ts +25 -0
  55. package/dist/models/create-estimated-invoice-for-interval-response.js +15 -0
  56. package/dist/models/create-estimated-invoice-request.d.ts +36 -0
  57. package/dist/models/create-estimated-invoice-request.js +15 -0
  58. package/dist/models/create-estimated-invoice-response.d.ts +25 -0
  59. package/dist/models/create-estimated-invoice-response.js +15 -0
  60. package/dist/models/create-export-job-request.d.ts +68 -0
  61. package/dist/models/create-export-job-request.js +15 -0
  62. package/dist/models/create-export-job-response.d.ts +25 -0
  63. package/dist/models/create-export-job-response.js +15 -0
  64. package/dist/models/create-initial-invoice-request.d.ts +72 -0
  65. package/dist/models/create-initial-invoice-request.js +15 -0
  66. package/dist/models/create-initial-invoice-response.d.ts +25 -0
  67. package/dist/models/create-initial-invoice-response.js +15 -0
  68. package/dist/models/create-invoice-request.d.ts +67 -0
  69. package/dist/models/create-invoice-request.js +15 -0
  70. package/dist/models/create-invoice-response.d.ts +25 -0
  71. package/dist/models/create-invoice-response.js +15 -0
  72. package/dist/models/create-invoice-status-body.d.ts +24 -0
  73. package/dist/models/create-invoice-status-body.js +15 -0
  74. package/dist/models/create-invoice-status-response.d.ts +25 -0
  75. package/dist/models/create-invoice-status-response.js +15 -0
  76. package/dist/models/create-item-request.d.ts +36 -0
  77. package/dist/models/create-item-request.js +15 -0
  78. package/dist/models/create-policy-billing-request.d.ts +42 -0
  79. package/dist/models/create-policy-billing-request.js +15 -0
  80. package/dist/models/create-policy-billing-response.d.ts +25 -0
  81. package/dist/models/create-policy-billing-response.js +15 -0
  82. package/dist/models/create-recurring-invoice-request.d.ts +72 -0
  83. package/dist/models/create-recurring-invoice-request.js +15 -0
  84. package/dist/models/create-recurring-invoice-response.d.ts +31 -0
  85. package/dist/models/create-recurring-invoice-response.js +15 -0
  86. package/dist/models/create-termination-invoice-request.d.ts +60 -0
  87. package/dist/models/create-termination-invoice-request.js +15 -0
  88. package/dist/models/create-termination-invoice-response.d.ts +25 -0
  89. package/dist/models/create-termination-invoice-response.js +15 -0
  90. package/dist/models/create-withdraw-invoice-request.d.ts +48 -0
  91. package/dist/models/create-withdraw-invoice-request.js +15 -0
  92. package/dist/models/create-withdraw-invoice-response.d.ts +25 -0
  93. package/dist/models/create-withdraw-invoice-response.js +15 -0
  94. package/dist/models/estimate-history-entry.d.ts +36 -0
  95. package/dist/models/estimate-history-entry.js +15 -0
  96. package/dist/models/export-column.d.ts +36 -0
  97. package/dist/models/export-column.js +15 -0
  98. package/dist/models/filter-field.d.ts +110 -0
  99. package/dist/models/filter-field.js +15 -0
  100. package/dist/models/filter-value.d.ts +37 -0
  101. package/dist/models/filter-value.js +15 -0
  102. package/dist/models/get-bill-response.d.ts +25 -0
  103. package/dist/models/get-bill-response.js +15 -0
  104. package/dist/models/get-bill-run-filter-catalog-response.d.ts +31 -0
  105. package/dist/models/get-bill-run-filter-catalog-response.js +15 -0
  106. package/dist/models/get-bill-run-response.d.ts +25 -0
  107. package/dist/models/get-bill-run-response.js +15 -0
  108. package/dist/models/get-invoice-filter-catalog-response.d.ts +31 -0
  109. package/dist/models/get-invoice-filter-catalog-response.js +15 -0
  110. package/dist/models/get-invoice-response.d.ts +25 -0
  111. package/dist/models/get-invoice-response.js +15 -0
  112. package/dist/models/get-job-download-response.d.ts +25 -0
  113. package/dist/models/get-job-download-response.js +15 -0
  114. package/dist/models/get-job-filter-catalog-response.d.ts +31 -0
  115. package/dist/models/get-job-filter-catalog-response.js +15 -0
  116. package/dist/models/get-job-response.d.ts +25 -0
  117. package/dist/models/get-job-response.js +15 -0
  118. package/dist/models/get-policies-billing-date-filter-catalog-response.d.ts +31 -0
  119. package/dist/models/get-policies-billing-date-filter-catalog-response.js +15 -0
  120. package/dist/models/get-policies-billing-filter-catalog-response.d.ts +31 -0
  121. package/dist/models/get-policies-billing-filter-catalog-response.js +15 -0
  122. package/dist/models/get-policy-billing-response.d.ts +25 -0
  123. package/dist/models/get-policy-billing-response.js +15 -0
  124. package/dist/models/highlight.d.ts +30 -0
  125. package/dist/models/highlight.js +15 -0
  126. package/dist/models/index.d.ts +75 -0
  127. package/dist/models/index.js +91 -0
  128. package/dist/models/invoice-item.d.ts +204 -0
  129. package/dist/models/invoice-item.js +15 -0
  130. package/dist/models/invoice-payment.d.ts +108 -0
  131. package/dist/models/invoice-payment.js +15 -0
  132. package/dist/models/invoice-payments.d.ts +25 -0
  133. package/dist/models/invoice-payments.js +15 -0
  134. package/dist/models/invoice-status.d.ts +54 -0
  135. package/dist/models/invoice-status.js +15 -0
  136. package/dist/models/invoice.d.ts +275 -0
  137. package/dist/models/invoice.js +15 -0
  138. package/dist/models/job-download.d.ts +36 -0
  139. package/dist/models/job-download.js +15 -0
  140. package/dist/models/job-error.d.ts +30 -0
  141. package/dist/models/job-error.js +15 -0
  142. package/dist/models/job-progress.d.ts +36 -0
  143. package/dist/models/job-progress.js +15 -0
  144. package/dist/models/job.d.ts +134 -0
  145. package/dist/models/job.js +15 -0
  146. package/dist/models/list-bill-runs-response.d.ts +37 -0
  147. package/dist/models/list-bill-runs-response.js +15 -0
  148. package/dist/models/list-invoices-response.d.ts +37 -0
  149. package/dist/models/list-invoices-response.js +15 -0
  150. package/dist/models/list-jobs-response.d.ts +37 -0
  151. package/dist/models/list-jobs-response.js +15 -0
  152. package/dist/models/list-policies-billing-dates-response.d.ts +37 -0
  153. package/dist/models/list-policies-billing-dates-response.js +15 -0
  154. package/dist/models/list-policies-billings-response.d.ts +37 -0
  155. package/dist/models/list-policies-billings-response.js +15 -0
  156. package/dist/models/list-request.d.ts +60 -0
  157. package/dist/models/list-request.js +15 -0
  158. package/dist/models/localized-text.d.ts +30 -0
  159. package/dist/models/localized-text.js +15 -0
  160. package/dist/models/match.d.ts +69 -0
  161. package/dist/models/match.js +15 -0
  162. package/dist/models/payment-term.d.ts +42 -0
  163. package/dist/models/payment-term.js +15 -0
  164. package/dist/models/policy-billing.d.ts +139 -0
  165. package/dist/models/policy-billing.js +15 -0
  166. package/dist/models/request-bill-run-request.d.ts +30 -0
  167. package/dist/models/request-bill-run-request.js +15 -0
  168. package/dist/models/request-bill-run-response.d.ts +25 -0
  169. package/dist/models/request-bill-run-response.js +15 -0
  170. package/dist/models/resolved-billing-config.d.ts +130 -0
  171. package/dist/models/resolved-billing-config.js +15 -0
  172. package/dist/models/revert-invoice-request.d.ts +24 -0
  173. package/dist/models/revert-invoice-request.js +15 -0
  174. package/dist/models/revert-invoice-response.d.ts +25 -0
  175. package/dist/models/revert-invoice-response.js +15 -0
  176. package/dist/models/slice.d.ts +30 -0
  177. package/dist/models/slice.js +15 -0
  178. package/dist/models/status.d.ts +37 -0
  179. package/dist/models/status.js +15 -0
  180. package/dist/models/tax.d.ts +30 -0
  181. package/dist/models/tax.js +15 -0
  182. package/dist/models/update-policy-billing-body.d.ts +24 -0
  183. package/dist/models/update-policy-billing-body.js +15 -0
  184. package/dist/models/update-policy-billing-response.d.ts +25 -0
  185. package/dist/models/update-policy-billing-response.js +15 -0
  186. package/git_push.sh +57 -0
  187. package/index.ts +19 -0
  188. package/models/any.ts +32 -0
  189. package/models/bill-item.ts +138 -0
  190. package/models/bill-run.ts +151 -0
  191. package/models/bill.ts +200 -0
  192. package/models/cancel-job-response.ts +31 -0
  193. package/models/create-correction-invoices-request.ts +78 -0
  194. package/models/create-correction-invoices-response.ts +37 -0
  195. package/models/create-detail-export-job-request.ts +60 -0
  196. package/models/create-detail-export-job-response.ts +31 -0
  197. package/models/create-estimated-invoice-for-interval-request.ts +48 -0
  198. package/models/create-estimated-invoice-for-interval-response.ts +31 -0
  199. package/models/create-estimated-invoice-request.ts +42 -0
  200. package/models/create-estimated-invoice-response.ts +31 -0
  201. package/models/create-export-job-request.ts +74 -0
  202. package/models/create-export-job-response.ts +31 -0
  203. package/models/create-initial-invoice-request.ts +78 -0
  204. package/models/create-initial-invoice-response.ts +31 -0
  205. package/models/create-invoice-request.ts +73 -0
  206. package/models/create-invoice-response.ts +31 -0
  207. package/models/create-invoice-status-body.ts +30 -0
  208. package/models/create-invoice-status-response.ts +31 -0
  209. package/models/create-item-request.ts +42 -0
  210. package/models/create-policy-billing-request.ts +48 -0
  211. package/models/create-policy-billing-response.ts +31 -0
  212. package/models/create-recurring-invoice-request.ts +78 -0
  213. package/models/create-recurring-invoice-response.ts +37 -0
  214. package/models/create-termination-invoice-request.ts +66 -0
  215. package/models/create-termination-invoice-response.ts +31 -0
  216. package/models/create-withdraw-invoice-request.ts +54 -0
  217. package/models/create-withdraw-invoice-response.ts +31 -0
  218. package/models/estimate-history-entry.ts +42 -0
  219. package/models/export-column.ts +42 -0
  220. package/models/filter-field.ts +116 -0
  221. package/models/filter-value.ts +43 -0
  222. package/models/get-bill-response.ts +31 -0
  223. package/models/get-bill-run-filter-catalog-response.ts +37 -0
  224. package/models/get-bill-run-response.ts +31 -0
  225. package/models/get-invoice-filter-catalog-response.ts +37 -0
  226. package/models/get-invoice-response.ts +31 -0
  227. package/models/get-job-download-response.ts +31 -0
  228. package/models/get-job-filter-catalog-response.ts +37 -0
  229. package/models/get-job-response.ts +31 -0
  230. package/models/get-policies-billing-date-filter-catalog-response.ts +37 -0
  231. package/models/get-policies-billing-filter-catalog-response.ts +37 -0
  232. package/models/get-policy-billing-response.ts +31 -0
  233. package/models/highlight.ts +36 -0
  234. package/models/index.ts +75 -0
  235. package/models/invoice-item.ts +210 -0
  236. package/models/invoice-payment.ts +114 -0
  237. package/models/invoice-payments.ts +31 -0
  238. package/models/invoice-status.ts +60 -0
  239. package/models/invoice.ts +281 -0
  240. package/models/job-download.ts +42 -0
  241. package/models/job-error.ts +36 -0
  242. package/models/job-progress.ts +42 -0
  243. package/models/job.ts +140 -0
  244. package/models/list-bill-runs-response.ts +43 -0
  245. package/models/list-invoices-response.ts +43 -0
  246. package/models/list-jobs-response.ts +43 -0
  247. package/models/list-policies-billing-dates-response.ts +43 -0
  248. package/models/list-policies-billings-response.ts +43 -0
  249. package/models/list-request.ts +66 -0
  250. package/models/localized-text.ts +36 -0
  251. package/models/match.ts +75 -0
  252. package/models/payment-term.ts +48 -0
  253. package/models/policy-billing.ts +145 -0
  254. package/models/request-bill-run-request.ts +36 -0
  255. package/models/request-bill-run-response.ts +31 -0
  256. package/models/resolved-billing-config.ts +134 -0
  257. package/models/revert-invoice-request.ts +30 -0
  258. package/models/revert-invoice-response.ts +31 -0
  259. package/models/slice.ts +36 -0
  260. package/models/status.ts +43 -0
  261. package/models/tax.ts +36 -0
  262. package/models/update-policy-billing-body.ts +30 -0
  263. package/models/update-policy-billing-response.ts +31 -0
  264. package/package.json +25 -4
  265. package/tsconfig.json +23 -0
@@ -0,0 +1,756 @@
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 globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
17
+ import { Configuration } from '../configuration';
18
+ // Some imports not used depending on template conditions
19
+ // @ts-ignore
20
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
21
+ // @ts-ignore
22
+ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
+ // @ts-ignore
24
+ import { CancelJobResponse } from '../models';
25
+ // @ts-ignore
26
+ import { CreateDetailExportJobRequest } from '../models';
27
+ // @ts-ignore
28
+ import { CreateDetailExportJobResponse } from '../models';
29
+ // @ts-ignore
30
+ import { CreateExportJobRequest } from '../models';
31
+ // @ts-ignore
32
+ import { CreateExportJobResponse } from '../models';
33
+ // @ts-ignore
34
+ import { GetJobDownloadResponse } from '../models';
35
+ // @ts-ignore
36
+ import { GetJobFilterCatalogResponse } from '../models';
37
+ // @ts-ignore
38
+ import { GetJobResponse } from '../models';
39
+ // @ts-ignore
40
+ import { ListJobsResponse } from '../models';
41
+ // @ts-ignore
42
+ import { Status } from '../models';
43
+ /**
44
+ * JobsApi - axios parameter creator
45
+ * @export
46
+ */
47
+ export const JobsApiAxiosParamCreator = function (configuration?: Configuration) {
48
+ return {
49
+ /**
50
+ * This call is not available yet and answers Unimplemented.
51
+ * @summary Cancels a job.
52
+ * @param {string} code The job\'s code.
53
+ * @param {object} body
54
+ * @param {*} [options] Override http request option.
55
+ * @throws {RequiredError}
56
+ */
57
+ jobServiceCancelJob: async (code: string, body: object, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
58
+ // verify required parameter 'code' is not null or undefined
59
+ assertParamExists('jobServiceCancelJob', 'code', code)
60
+ // verify required parameter 'body' is not null or undefined
61
+ assertParamExists('jobServiceCancelJob', 'body', body)
62
+ const localVarPath = `/billingservice/v2/jobs/{code}:cancel`
63
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
64
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
65
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
66
+ let baseOptions;
67
+ let baseAccessToken;
68
+ if (configuration) {
69
+ baseOptions = configuration.baseOptions;
70
+ baseAccessToken = configuration.accessToken;
71
+ }
72
+
73
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
74
+ const localVarHeaderParameter = {} as any;
75
+ const localVarQueryParameter = {} as any;
76
+
77
+
78
+
79
+ localVarHeaderParameter['Content-Type'] = 'application/json';
80
+
81
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
82
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
83
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
84
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
85
+
86
+ return {
87
+ url: toPathString(localVarUrlObj),
88
+ options: localVarRequestOptions,
89
+ };
90
+ },
91
+ /**
92
+ * This call is not available yet and answers Unimplemented.
93
+ * @summary Creates a job that exports one invoice as a workbook.
94
+ * @param {CreateDetailExportJobRequest} body The request of &#x60;CreateDetailExportJob&#x60;.
95
+ * @param {*} [options] Override http request option.
96
+ * @throws {RequiredError}
97
+ */
98
+ jobServiceCreateDetailExportJob: async (body: CreateDetailExportJobRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
99
+ // verify required parameter 'body' is not null or undefined
100
+ assertParamExists('jobServiceCreateDetailExportJob', 'body', body)
101
+ const localVarPath = `/billingservice/v2/exports:detail`;
102
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
103
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
104
+ let baseOptions;
105
+ let baseAccessToken;
106
+ if (configuration) {
107
+ baseOptions = configuration.baseOptions;
108
+ baseAccessToken = configuration.accessToken;
109
+ }
110
+
111
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
112
+ const localVarHeaderParameter = {} as any;
113
+ const localVarQueryParameter = {} as any;
114
+
115
+
116
+
117
+ localVarHeaderParameter['Content-Type'] = 'application/json';
118
+
119
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
120
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
121
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
122
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
123
+
124
+ return {
125
+ url: toPathString(localVarUrlObj),
126
+ options: localVarRequestOptions,
127
+ };
128
+ },
129
+ /**
130
+ * This call is not available yet and answers Unimplemented.
131
+ * @summary Creates a job that exports a billing list as a file.
132
+ * @param {CreateExportJobRequest} body The request of &#x60;CreateExportJob&#x60;.
133
+ * @param {*} [options] Override http request option.
134
+ * @throws {RequiredError}
135
+ */
136
+ jobServiceCreateExportJob: async (body: CreateExportJobRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
137
+ // verify required parameter 'body' is not null or undefined
138
+ assertParamExists('jobServiceCreateExportJob', 'body', body)
139
+ const localVarPath = `/billingservice/v2/exports`;
140
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
141
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
142
+ let baseOptions;
143
+ let baseAccessToken;
144
+ if (configuration) {
145
+ baseOptions = configuration.baseOptions;
146
+ baseAccessToken = configuration.accessToken;
147
+ }
148
+
149
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
150
+ const localVarHeaderParameter = {} as any;
151
+ const localVarQueryParameter = {} as any;
152
+
153
+
154
+
155
+ localVarHeaderParameter['Content-Type'] = 'application/json';
156
+
157
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
158
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
159
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
160
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
161
+
162
+ return {
163
+ url: toPathString(localVarUrlObj),
164
+ options: localVarRequestOptions,
165
+ };
166
+ },
167
+ /**
168
+ * This call is not available yet and answers Unimplemented.
169
+ * @summary Returns one of the caller\'s jobs.
170
+ * @param {string} code The job\&#39;s code.
171
+ * @param {*} [options] Override http request option.
172
+ * @throws {RequiredError}
173
+ */
174
+ jobServiceGetJob: async (code: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
175
+ // verify required parameter 'code' is not null or undefined
176
+ assertParamExists('jobServiceGetJob', 'code', code)
177
+ const localVarPath = `/billingservice/v2/jobs/{code}`
178
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
179
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
180
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
181
+ let baseOptions;
182
+ let baseAccessToken;
183
+ if (configuration) {
184
+ baseOptions = configuration.baseOptions;
185
+ baseAccessToken = configuration.accessToken;
186
+ }
187
+
188
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
189
+ const localVarHeaderParameter = {} as any;
190
+ const localVarQueryParameter = {} as any;
191
+
192
+
193
+
194
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
195
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
196
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
197
+
198
+ return {
199
+ url: toPathString(localVarUrlObj),
200
+ options: localVarRequestOptions,
201
+ };
202
+ },
203
+ /**
204
+ * This call is not available yet and answers Unimplemented.
205
+ * @summary Returns a signed link to the job\'s file.
206
+ * @param {string} code The job\&#39;s code.
207
+ * @param {string} [artifact] The file to download: &#x60;output&#x60;, the export file. It is the default and the only file a billing job has.
208
+ * @param {*} [options] Override http request option.
209
+ * @throws {RequiredError}
210
+ */
211
+ jobServiceGetJobDownload: async (code: string, artifact?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
212
+ // verify required parameter 'code' is not null or undefined
213
+ assertParamExists('jobServiceGetJobDownload', 'code', code)
214
+ const localVarPath = `/billingservice/v2/jobs/{code}:download`
215
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
216
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
217
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
218
+ let baseOptions;
219
+ let baseAccessToken;
220
+ if (configuration) {
221
+ baseOptions = configuration.baseOptions;
222
+ baseAccessToken = configuration.accessToken;
223
+ }
224
+
225
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
226
+ const localVarHeaderParameter = {} as any;
227
+ const localVarQueryParameter = {} as any;
228
+
229
+ if (artifact !== undefined) {
230
+ localVarQueryParameter['artifact'] = artifact;
231
+ }
232
+
233
+
234
+
235
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
236
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
237
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
238
+
239
+ return {
240
+ url: toPathString(localVarUrlObj),
241
+ options: localVarRequestOptions,
242
+ };
243
+ },
244
+ /**
245
+ * This call is not available yet and answers Unimplemented.
246
+ * @summary Returns the filter catalog of the job list.
247
+ * @param {*} [options] Override http request option.
248
+ * @throws {RequiredError}
249
+ */
250
+ jobServiceGetJobFilterCatalog: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
251
+ const localVarPath = `/billingservice/v2/jobs:filterCatalog`;
252
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
253
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
254
+ let baseOptions;
255
+ let baseAccessToken;
256
+ if (configuration) {
257
+ baseOptions = configuration.baseOptions;
258
+ baseAccessToken = configuration.accessToken;
259
+ }
260
+
261
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
262
+ const localVarHeaderParameter = {} as any;
263
+ const localVarQueryParameter = {} as any;
264
+
265
+
266
+
267
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
268
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
269
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
270
+
271
+ return {
272
+ url: toPathString(localVarUrlObj),
273
+ options: localVarRequestOptions,
274
+ };
275
+ },
276
+ /**
277
+ * This call is not available yet and answers Unimplemented.
278
+ * @summary Lists the caller\'s jobs.
279
+ * @param {number} [pageSize]
280
+ * @param {string} [pageToken]
281
+ * @param {string} [filter]
282
+ * @param {string} [search]
283
+ * @param {string} [order]
284
+ * @param {string} [expand]
285
+ * @param {string} [filters]
286
+ * @param {*} [options] Override http request option.
287
+ * @throws {RequiredError}
288
+ */
289
+ jobServiceListJobs: async (pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
290
+ const localVarPath = `/billingservice/v2/jobs`;
291
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
292
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
293
+ let baseOptions;
294
+ let baseAccessToken;
295
+ if (configuration) {
296
+ baseOptions = configuration.baseOptions;
297
+ baseAccessToken = configuration.accessToken;
298
+ }
299
+
300
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
301
+ const localVarHeaderParameter = {} as any;
302
+ const localVarQueryParameter = {} as any;
303
+
304
+ if (pageSize !== undefined) {
305
+ localVarQueryParameter['pageSize'] = pageSize;
306
+ }
307
+
308
+ if (pageToken !== undefined) {
309
+ localVarQueryParameter['pageToken'] = pageToken;
310
+ }
311
+
312
+ if (filter !== undefined) {
313
+ localVarQueryParameter['filter'] = filter;
314
+ }
315
+
316
+ if (search !== undefined) {
317
+ localVarQueryParameter['search'] = search;
318
+ }
319
+
320
+ if (order !== undefined) {
321
+ localVarQueryParameter['order'] = order;
322
+ }
323
+
324
+ if (expand !== undefined) {
325
+ localVarQueryParameter['expand'] = expand;
326
+ }
327
+
328
+ if (filters !== undefined) {
329
+ localVarQueryParameter['filters'] = filters;
330
+ }
331
+
332
+
333
+
334
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
335
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
336
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
337
+
338
+ return {
339
+ url: toPathString(localVarUrlObj),
340
+ options: localVarRequestOptions,
341
+ };
342
+ },
343
+ }
344
+ };
345
+
346
+ /**
347
+ * JobsApi - functional programming interface
348
+ * @export
349
+ */
350
+ export const JobsApiFp = function(configuration?: Configuration) {
351
+ const localVarAxiosParamCreator = JobsApiAxiosParamCreator(configuration)
352
+ return {
353
+ /**
354
+ * This call is not available yet and answers Unimplemented.
355
+ * @summary Cancels a job.
356
+ * @param {string} code The job\&#39;s code.
357
+ * @param {object} body
358
+ * @param {*} [options] Override http request option.
359
+ * @throws {RequiredError}
360
+ */
361
+ async jobServiceCancelJob(code: string, body: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CancelJobResponse>> {
362
+ const localVarAxiosArgs = await localVarAxiosParamCreator.jobServiceCancelJob(code, body, options);
363
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
364
+ },
365
+ /**
366
+ * This call is not available yet and answers Unimplemented.
367
+ * @summary Creates a job that exports one invoice as a workbook.
368
+ * @param {CreateDetailExportJobRequest} body The request of &#x60;CreateDetailExportJob&#x60;.
369
+ * @param {*} [options] Override http request option.
370
+ * @throws {RequiredError}
371
+ */
372
+ async jobServiceCreateDetailExportJob(body: CreateDetailExportJobRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateDetailExportJobResponse>> {
373
+ const localVarAxiosArgs = await localVarAxiosParamCreator.jobServiceCreateDetailExportJob(body, options);
374
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
375
+ },
376
+ /**
377
+ * This call is not available yet and answers Unimplemented.
378
+ * @summary Creates a job that exports a billing list as a file.
379
+ * @param {CreateExportJobRequest} body The request of &#x60;CreateExportJob&#x60;.
380
+ * @param {*} [options] Override http request option.
381
+ * @throws {RequiredError}
382
+ */
383
+ async jobServiceCreateExportJob(body: CreateExportJobRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateExportJobResponse>> {
384
+ const localVarAxiosArgs = await localVarAxiosParamCreator.jobServiceCreateExportJob(body, options);
385
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
386
+ },
387
+ /**
388
+ * This call is not available yet and answers Unimplemented.
389
+ * @summary Returns one of the caller\'s jobs.
390
+ * @param {string} code The job\&#39;s code.
391
+ * @param {*} [options] Override http request option.
392
+ * @throws {RequiredError}
393
+ */
394
+ async jobServiceGetJob(code: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetJobResponse>> {
395
+ const localVarAxiosArgs = await localVarAxiosParamCreator.jobServiceGetJob(code, options);
396
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
397
+ },
398
+ /**
399
+ * This call is not available yet and answers Unimplemented.
400
+ * @summary Returns a signed link to the job\'s file.
401
+ * @param {string} code The job\&#39;s code.
402
+ * @param {string} [artifact] The file to download: &#x60;output&#x60;, the export file. It is the default and the only file a billing job has.
403
+ * @param {*} [options] Override http request option.
404
+ * @throws {RequiredError}
405
+ */
406
+ async jobServiceGetJobDownload(code: string, artifact?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetJobDownloadResponse>> {
407
+ const localVarAxiosArgs = await localVarAxiosParamCreator.jobServiceGetJobDownload(code, artifact, options);
408
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
409
+ },
410
+ /**
411
+ * This call is not available yet and answers Unimplemented.
412
+ * @summary Returns the filter catalog of the job list.
413
+ * @param {*} [options] Override http request option.
414
+ * @throws {RequiredError}
415
+ */
416
+ async jobServiceGetJobFilterCatalog(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetJobFilterCatalogResponse>> {
417
+ const localVarAxiosArgs = await localVarAxiosParamCreator.jobServiceGetJobFilterCatalog(options);
418
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
419
+ },
420
+ /**
421
+ * This call is not available yet and answers Unimplemented.
422
+ * @summary Lists the caller\'s jobs.
423
+ * @param {number} [pageSize]
424
+ * @param {string} [pageToken]
425
+ * @param {string} [filter]
426
+ * @param {string} [search]
427
+ * @param {string} [order]
428
+ * @param {string} [expand]
429
+ * @param {string} [filters]
430
+ * @param {*} [options] Override http request option.
431
+ * @throws {RequiredError}
432
+ */
433
+ async jobServiceListJobs(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListJobsResponse>> {
434
+ const localVarAxiosArgs = await localVarAxiosParamCreator.jobServiceListJobs(pageSize, pageToken, filter, search, order, expand, filters, options);
435
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
436
+ },
437
+ }
438
+ };
439
+
440
+ /**
441
+ * JobsApi - factory interface
442
+ * @export
443
+ */
444
+ export const JobsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
445
+ const localVarFp = JobsApiFp(configuration)
446
+ return {
447
+ /**
448
+ * This call is not available yet and answers Unimplemented.
449
+ * @summary Cancels a job.
450
+ * @param {string} code The job\&#39;s code.
451
+ * @param {object} body
452
+ * @param {*} [options] Override http request option.
453
+ * @throws {RequiredError}
454
+ */
455
+ jobServiceCancelJob(code: string, body: object, options?: any): AxiosPromise<CancelJobResponse> {
456
+ return localVarFp.jobServiceCancelJob(code, body, options).then((request) => request(axios, basePath));
457
+ },
458
+ /**
459
+ * This call is not available yet and answers Unimplemented.
460
+ * @summary Creates a job that exports one invoice as a workbook.
461
+ * @param {CreateDetailExportJobRequest} body The request of &#x60;CreateDetailExportJob&#x60;.
462
+ * @param {*} [options] Override http request option.
463
+ * @throws {RequiredError}
464
+ */
465
+ jobServiceCreateDetailExportJob(body: CreateDetailExportJobRequest, options?: any): AxiosPromise<CreateDetailExportJobResponse> {
466
+ return localVarFp.jobServiceCreateDetailExportJob(body, options).then((request) => request(axios, basePath));
467
+ },
468
+ /**
469
+ * This call is not available yet and answers Unimplemented.
470
+ * @summary Creates a job that exports a billing list as a file.
471
+ * @param {CreateExportJobRequest} body The request of &#x60;CreateExportJob&#x60;.
472
+ * @param {*} [options] Override http request option.
473
+ * @throws {RequiredError}
474
+ */
475
+ jobServiceCreateExportJob(body: CreateExportJobRequest, options?: any): AxiosPromise<CreateExportJobResponse> {
476
+ return localVarFp.jobServiceCreateExportJob(body, options).then((request) => request(axios, basePath));
477
+ },
478
+ /**
479
+ * This call is not available yet and answers Unimplemented.
480
+ * @summary Returns one of the caller\'s jobs.
481
+ * @param {string} code The job\&#39;s code.
482
+ * @param {*} [options] Override http request option.
483
+ * @throws {RequiredError}
484
+ */
485
+ jobServiceGetJob(code: string, options?: any): AxiosPromise<GetJobResponse> {
486
+ return localVarFp.jobServiceGetJob(code, options).then((request) => request(axios, basePath));
487
+ },
488
+ /**
489
+ * This call is not available yet and answers Unimplemented.
490
+ * @summary Returns a signed link to the job\'s file.
491
+ * @param {string} code The job\&#39;s code.
492
+ * @param {string} [artifact] The file to download: &#x60;output&#x60;, the export file. It is the default and the only file a billing job has.
493
+ * @param {*} [options] Override http request option.
494
+ * @throws {RequiredError}
495
+ */
496
+ jobServiceGetJobDownload(code: string, artifact?: string, options?: any): AxiosPromise<GetJobDownloadResponse> {
497
+ return localVarFp.jobServiceGetJobDownload(code, artifact, options).then((request) => request(axios, basePath));
498
+ },
499
+ /**
500
+ * This call is not available yet and answers Unimplemented.
501
+ * @summary Returns the filter catalog of the job list.
502
+ * @param {*} [options] Override http request option.
503
+ * @throws {RequiredError}
504
+ */
505
+ jobServiceGetJobFilterCatalog(options?: any): AxiosPromise<GetJobFilterCatalogResponse> {
506
+ return localVarFp.jobServiceGetJobFilterCatalog(options).then((request) => request(axios, basePath));
507
+ },
508
+ /**
509
+ * This call is not available yet and answers Unimplemented.
510
+ * @summary Lists the caller\'s jobs.
511
+ * @param {number} [pageSize]
512
+ * @param {string} [pageToken]
513
+ * @param {string} [filter]
514
+ * @param {string} [search]
515
+ * @param {string} [order]
516
+ * @param {string} [expand]
517
+ * @param {string} [filters]
518
+ * @param {*} [options] Override http request option.
519
+ * @throws {RequiredError}
520
+ */
521
+ jobServiceListJobs(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListJobsResponse> {
522
+ return localVarFp.jobServiceListJobs(pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
523
+ },
524
+ };
525
+ };
526
+
527
+ /**
528
+ * Request parameters for jobServiceCancelJob operation in JobsApi.
529
+ * @export
530
+ * @interface JobsApiJobServiceCancelJobRequest
531
+ */
532
+ export interface JobsApiJobServiceCancelJobRequest {
533
+ /**
534
+ * The job\&#39;s code.
535
+ * @type {string}
536
+ * @memberof JobsApiJobServiceCancelJob
537
+ */
538
+ readonly code: string
539
+
540
+ /**
541
+ *
542
+ * @type {object}
543
+ * @memberof JobsApiJobServiceCancelJob
544
+ */
545
+ readonly body: object
546
+ }
547
+
548
+ /**
549
+ * Request parameters for jobServiceCreateDetailExportJob operation in JobsApi.
550
+ * @export
551
+ * @interface JobsApiJobServiceCreateDetailExportJobRequest
552
+ */
553
+ export interface JobsApiJobServiceCreateDetailExportJobRequest {
554
+ /**
555
+ * The request of &#x60;CreateDetailExportJob&#x60;.
556
+ * @type {CreateDetailExportJobRequest}
557
+ * @memberof JobsApiJobServiceCreateDetailExportJob
558
+ */
559
+ readonly body: CreateDetailExportJobRequest
560
+ }
561
+
562
+ /**
563
+ * Request parameters for jobServiceCreateExportJob operation in JobsApi.
564
+ * @export
565
+ * @interface JobsApiJobServiceCreateExportJobRequest
566
+ */
567
+ export interface JobsApiJobServiceCreateExportJobRequest {
568
+ /**
569
+ * The request of &#x60;CreateExportJob&#x60;.
570
+ * @type {CreateExportJobRequest}
571
+ * @memberof JobsApiJobServiceCreateExportJob
572
+ */
573
+ readonly body: CreateExportJobRequest
574
+ }
575
+
576
+ /**
577
+ * Request parameters for jobServiceGetJob operation in JobsApi.
578
+ * @export
579
+ * @interface JobsApiJobServiceGetJobRequest
580
+ */
581
+ export interface JobsApiJobServiceGetJobRequest {
582
+ /**
583
+ * The job\&#39;s code.
584
+ * @type {string}
585
+ * @memberof JobsApiJobServiceGetJob
586
+ */
587
+ readonly code: string
588
+ }
589
+
590
+ /**
591
+ * Request parameters for jobServiceGetJobDownload operation in JobsApi.
592
+ * @export
593
+ * @interface JobsApiJobServiceGetJobDownloadRequest
594
+ */
595
+ export interface JobsApiJobServiceGetJobDownloadRequest {
596
+ /**
597
+ * The job\&#39;s code.
598
+ * @type {string}
599
+ * @memberof JobsApiJobServiceGetJobDownload
600
+ */
601
+ readonly code: string
602
+
603
+ /**
604
+ * The file to download: &#x60;output&#x60;, the export file. It is the default and the only file a billing job has.
605
+ * @type {string}
606
+ * @memberof JobsApiJobServiceGetJobDownload
607
+ */
608
+ readonly artifact?: string
609
+ }
610
+
611
+ /**
612
+ * Request parameters for jobServiceListJobs operation in JobsApi.
613
+ * @export
614
+ * @interface JobsApiJobServiceListJobsRequest
615
+ */
616
+ export interface JobsApiJobServiceListJobsRequest {
617
+ /**
618
+ *
619
+ * @type {number}
620
+ * @memberof JobsApiJobServiceListJobs
621
+ */
622
+ readonly pageSize?: number
623
+
624
+ /**
625
+ *
626
+ * @type {string}
627
+ * @memberof JobsApiJobServiceListJobs
628
+ */
629
+ readonly pageToken?: string
630
+
631
+ /**
632
+ *
633
+ * @type {string}
634
+ * @memberof JobsApiJobServiceListJobs
635
+ */
636
+ readonly filter?: string
637
+
638
+ /**
639
+ *
640
+ * @type {string}
641
+ * @memberof JobsApiJobServiceListJobs
642
+ */
643
+ readonly search?: string
644
+
645
+ /**
646
+ *
647
+ * @type {string}
648
+ * @memberof JobsApiJobServiceListJobs
649
+ */
650
+ readonly order?: string
651
+
652
+ /**
653
+ *
654
+ * @type {string}
655
+ * @memberof JobsApiJobServiceListJobs
656
+ */
657
+ readonly expand?: string
658
+
659
+ /**
660
+ *
661
+ * @type {string}
662
+ * @memberof JobsApiJobServiceListJobs
663
+ */
664
+ readonly filters?: string
665
+ }
666
+
667
+ /**
668
+ * JobsApi - object-oriented interface
669
+ * @export
670
+ * @class JobsApi
671
+ * @extends {BaseAPI}
672
+ */
673
+ export class JobsApi extends BaseAPI {
674
+ /**
675
+ * This call is not available yet and answers Unimplemented.
676
+ * @summary Cancels a job.
677
+ * @param {JobsApiJobServiceCancelJobRequest} requestParameters Request parameters.
678
+ * @param {*} [options] Override http request option.
679
+ * @throws {RequiredError}
680
+ * @memberof JobsApi
681
+ */
682
+ public jobServiceCancelJob(requestParameters: JobsApiJobServiceCancelJobRequest, options?: AxiosRequestConfig) {
683
+ return JobsApiFp(this.configuration).jobServiceCancelJob(requestParameters.code, requestParameters.body, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
684
+ }
685
+
686
+ /**
687
+ * This call is not available yet and answers Unimplemented.
688
+ * @summary Creates a job that exports one invoice as a workbook.
689
+ * @param {JobsApiJobServiceCreateDetailExportJobRequest} requestParameters Request parameters.
690
+ * @param {*} [options] Override http request option.
691
+ * @throws {RequiredError}
692
+ * @memberof JobsApi
693
+ */
694
+ public jobServiceCreateDetailExportJob(requestParameters: JobsApiJobServiceCreateDetailExportJobRequest, options?: AxiosRequestConfig) {
695
+ return JobsApiFp(this.configuration).jobServiceCreateDetailExportJob(requestParameters.body, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
696
+ }
697
+
698
+ /**
699
+ * This call is not available yet and answers Unimplemented.
700
+ * @summary Creates a job that exports a billing list as a file.
701
+ * @param {JobsApiJobServiceCreateExportJobRequest} requestParameters Request parameters.
702
+ * @param {*} [options] Override http request option.
703
+ * @throws {RequiredError}
704
+ * @memberof JobsApi
705
+ */
706
+ public jobServiceCreateExportJob(requestParameters: JobsApiJobServiceCreateExportJobRequest, options?: AxiosRequestConfig) {
707
+ return JobsApiFp(this.configuration).jobServiceCreateExportJob(requestParameters.body, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
708
+ }
709
+
710
+ /**
711
+ * This call is not available yet and answers Unimplemented.
712
+ * @summary Returns one of the caller\'s jobs.
713
+ * @param {JobsApiJobServiceGetJobRequest} requestParameters Request parameters.
714
+ * @param {*} [options] Override http request option.
715
+ * @throws {RequiredError}
716
+ * @memberof JobsApi
717
+ */
718
+ public jobServiceGetJob(requestParameters: JobsApiJobServiceGetJobRequest, options?: AxiosRequestConfig) {
719
+ return JobsApiFp(this.configuration).jobServiceGetJob(requestParameters.code, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
720
+ }
721
+
722
+ /**
723
+ * This call is not available yet and answers Unimplemented.
724
+ * @summary Returns a signed link to the job\'s file.
725
+ * @param {JobsApiJobServiceGetJobDownloadRequest} requestParameters Request parameters.
726
+ * @param {*} [options] Override http request option.
727
+ * @throws {RequiredError}
728
+ * @memberof JobsApi
729
+ */
730
+ public jobServiceGetJobDownload(requestParameters: JobsApiJobServiceGetJobDownloadRequest, options?: AxiosRequestConfig) {
731
+ return JobsApiFp(this.configuration).jobServiceGetJobDownload(requestParameters.code, requestParameters.artifact, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
732
+ }
733
+
734
+ /**
735
+ * This call is not available yet and answers Unimplemented.
736
+ * @summary Returns the filter catalog of the job list.
737
+ * @param {*} [options] Override http request option.
738
+ * @throws {RequiredError}
739
+ * @memberof JobsApi
740
+ */
741
+ public jobServiceGetJobFilterCatalog(options?: AxiosRequestConfig) {
742
+ return JobsApiFp(this.configuration).jobServiceGetJobFilterCatalog(this.withOwner(options)).then((request) => request(this.axios, this.basePath));
743
+ }
744
+
745
+ /**
746
+ * This call is not available yet and answers Unimplemented.
747
+ * @summary Lists the caller\'s jobs.
748
+ * @param {JobsApiJobServiceListJobsRequest} requestParameters Request parameters.
749
+ * @param {*} [options] Override http request option.
750
+ * @throws {RequiredError}
751
+ * @memberof JobsApi
752
+ */
753
+ public jobServiceListJobs(requestParameters: JobsApiJobServiceListJobsRequest = {}, options?: AxiosRequestConfig) {
754
+ return JobsApiFp(this.configuration).jobServiceListJobs(requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
755
+ }
756
+ }