@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20240913.2 → 1.20241220.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 +77 -2
- package/api/accounting-api.ts +101 -0
- package/api/adv-accounting-api.ts +199 -0
- package/api/adv-billing-api.ts +926 -57
- package/api/adv-capitation-api.ts +99 -0
- package/api/adv-claim-api.ts +529 -0
- package/api/adv-enrollment-api.ts +204 -4
- package/api/adv-reinsurance-api.ts +97 -0
- package/api/billing-api.ts +198 -0
- package/api/capitations-api.ts +99 -0
- package/api/care-case-clinical-facts-api.ts +71 -167
- package/api/check-batches-api.ts +87 -0
- package/api/checks-api.ts +292 -0
- package/api/claim-invoice-adjustment-reasons-api.ts +677 -0
- package/api/claim-invoice-adjustment-received-api.ts +685 -0
- package/api/claim-invoice-adjustments-api.ts +693 -0
- package/api/claim-invoice-api.ts +677 -0
- package/api/claim-invoice-details-api.ts +741 -0
- package/api/claim-invoice-payments-api.ts +725 -0
- package/api/claim-invoice-received-api.ts +693 -0
- package/api/claim-payments-api.ts +677 -0
- package/api/enrollment-accumulators-api.ts +909 -0
- package/api/events-api.ts +87 -0
- package/api/members-api.ts +206 -0
- package/api/prem-invoice-api.ts +171 -0
- package/api/premium-invoices-api.ts +95 -0
- package/api/premium-payments-api.ts +133 -0
- package/api/premium-rates-api.ts +223 -39
- package/api/reinsurance-contracts-api.ts +97 -0
- package/api/security-area-user-groups-api.ts +118 -5
- package/api/subscribers-api.ts +5 -5
- package/api/vbagateway-messaging-api.ts +379 -0
- package/api/vbareports-api.ts +112 -15
- package/api.ts +10 -0
- package/models/accounting-withhold-check-config.ts +36 -0
- package/models/accumulator-added-accum-detail-result-list-vbaresponse.ts +45 -0
- package/models/accumulator-added-accum-detail-result.ts +378 -0
- package/models/accumulator-all-benefit-detail-result-list-vbaresponse.ts +45 -0
- package/models/accumulator-all-benefit-detail-result.ts +420 -0
- package/models/{prem-invoice-generate-inv-list-result-list-vbaresponse.ts → accumulator-benefit-detail-result-list-vbaresponse.ts} +8 -8
- package/models/accumulator-benefit-detail-result.ts +414 -0
- package/models/accumulator-detail-result-list-vbaresponse.ts +45 -0
- package/models/accumulator-detail-result.ts +402 -0
- package/models/benefit-codes.ts +18 -18
- package/models/billing-add-rate-from-template-config.ts +42 -0
- package/models/billing-apply-payment-config.ts +74 -0
- package/models/billing-auto-apply-config.ts +84 -0
- package/models/billing-rate-modify-config.ts +140 -0
- package/models/capitation-generate.ts +12 -0
- package/models/care-case-clinical-fact.ts +1 -1
- package/models/claim-batch-claim-batch-detail-list-vbaresponse.ts +45 -0
- package/models/claim-invoice-adjustment-list-vbaresponse.ts +45 -0
- package/models/claim-invoice-adjustment-reason-list-vbaresponse.ts +45 -0
- package/models/claim-invoice-adjustment-reason-vbaresponse.ts +45 -0
- package/models/claim-invoice-adjustment-reason.ts +60 -0
- package/models/claim-invoice-adjustment-received-list-vbaresponse.ts +45 -0
- package/models/claim-invoice-adjustment-received-vbaresponse.ts +45 -0
- package/models/claim-invoice-adjustment-received.ts +78 -0
- package/models/claim-invoice-adjustment-vbaresponse.ts +45 -0
- package/models/claim-invoice-adjustment.ts +90 -0
- package/models/claim-invoice-config.ts +37 -0
- package/models/claim-invoice-detail-list-vbaresponse.ts +45 -0
- package/models/claim-invoice-detail-vbaresponse.ts +45 -0
- package/models/claim-invoice-detail.ts +66 -0
- package/models/claim-invoice-list-vbaresponse.ts +45 -0
- package/models/claim-invoice-payment-list-vbaresponse.ts +45 -0
- package/models/claim-invoice-payment-vbaresponse.ts +45 -0
- package/models/claim-invoice-payment.ts +72 -0
- package/models/claim-invoice-received-list-vbaresponse.ts +45 -0
- package/models/claim-invoice-received-vbaresponse.ts +45 -0
- package/models/claim-invoice-received.ts +78 -0
- package/models/claim-invoice-vbaresponse.ts +45 -0
- package/models/claim-invoice.ts +90 -0
- package/models/claim-payment-list-vbaresponse.ts +45 -0
- package/models/claim-payment-vbaresponse.ts +45 -0
- package/models/claim-payment.ts +96 -0
- package/models/commission-adjustment.ts +12 -0
- package/models/company-data.ts +24 -0
- package/models/covered-benefit.ts +49 -0
- package/models/elig-detail.ts +114 -0
- package/models/email-report-dto.ts +0 -6
- package/models/enrollment-disenroll-adjustment-list-vbaresponse.ts +45 -0
- package/models/enrollment-disenroll-adjustment.ts +138 -0
- package/models/fax-report-dto.ts +0 -6
- package/models/file-detail.ts +4 -4
- package/models/fundaccountbalancelist.ts +114 -0
- package/models/get-plan-max-claim-detail-result-list-vbaresponse.ts +45 -0
- package/models/get-plan-max-claim-detail-result.ts +180 -0
- package/models/get-plan-max-summary-result-list-vbaresponse.ts +45 -0
- package/models/get-plan-max-summary-result.ts +114 -0
- package/models/get-subscriber-disenroll-adjustments-result-list-vbaresponse.ts +45 -0
- package/models/get-subscriber-disenroll-adjustments-result.ts +144 -0
- package/models/get-temp-retro-prem-invoice-adjustments-result-list-vbaresponse.ts +45 -0
- package/models/get-temp-retro-prem-invoice-adjustments-result.ts +132 -0
- package/models/idcard-request-report-series-config.ts +30 -0
- package/models/index.ts +67 -2
- package/models/json-node-options.ts +1 -7
- package/models/member-detail.ts +102 -0
- package/models/message-thread-vbaresponse.ts +45 -0
- package/models/message-thread.ts +60 -0
- package/models/messages-vbaresponse.ts +45 -0
- package/models/messages.ts +66 -0
- package/models/prem-apply-payment-category-result-list-vbaresponse.ts +45 -0
- package/models/prem-apply-payment-category-result.ts +102 -0
- package/models/search-request.ts +12 -0
- package/models/security-area-user-group.ts +26 -2
- package/models/subscriber-detail.ts +144 -0
- package/models/vbaapp-info.ts +12 -6
- package/models/vbabenefit-inquiry-request.ts +96 -0
- package/models/vbabenefit-inquiry-vbaresponse.ts +45 -0
- package/models/vbabenefit-inquiry.ts +122 -0
- package/models/vbadisability-advisor-deduction.ts +72 -0
- package/models/vbadisability-advisor.ts +571 -0
- package/models/vbareport-vbaresponse.ts +45 -0
- package/models/vbareport.ts +7 -7
- package/package.json +1 -1
- package/models/prem-invoice-generate-inv-list-result.ts +0 -138
|
@@ -0,0 +1,741 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* VBASoftware
|
|
5
|
+
* APIs for VBASoftware
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
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 { ClaimInvoiceDetail } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { ClaimInvoiceDetailListVBAResponse } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { ClaimInvoiceDetailVBAResponse } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { MultiCodeResponseListVBAResponse } from '../models';
|
|
31
|
+
/**
|
|
32
|
+
* ClaimInvoiceDetailsApi - axios parameter creator
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export const ClaimInvoiceDetailsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36
|
+
return {
|
|
37
|
+
/**
|
|
38
|
+
* Creates a new ClaimInvoiceDetail
|
|
39
|
+
* @summary Create ClaimInvoiceDetail
|
|
40
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
41
|
+
* @param {ClaimInvoiceDetail} claimInvoiceDetail
|
|
42
|
+
* @param {*} [options] Override http request option.
|
|
43
|
+
* @throws {RequiredError}
|
|
44
|
+
*/
|
|
45
|
+
createClaimInvoiceDetail: async (vbasoftwareDatabase: string, claimInvoiceDetail: ClaimInvoiceDetail, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
46
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
47
|
+
assertParamExists('createClaimInvoiceDetail', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
48
|
+
// verify required parameter 'claimInvoiceDetail' is not null or undefined
|
|
49
|
+
assertParamExists('createClaimInvoiceDetail', 'claimInvoiceDetail', claimInvoiceDetail)
|
|
50
|
+
const localVarPath = `/claim-invoice-details`;
|
|
51
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
52
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
53
|
+
let baseOptions;
|
|
54
|
+
if (configuration) {
|
|
55
|
+
baseOptions = configuration.baseOptions;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
59
|
+
const localVarHeaderParameter = {} as any;
|
|
60
|
+
const localVarQueryParameter = {} as any;
|
|
61
|
+
|
|
62
|
+
// authentication apiKeyAuth required
|
|
63
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
64
|
+
|
|
65
|
+
// authentication bearerAuth required
|
|
66
|
+
// http bearer authentication required
|
|
67
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
68
|
+
|
|
69
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
70
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
76
|
+
|
|
77
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
78
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
79
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
80
|
+
localVarRequestOptions.data = serializeDataIfNeeded(claimInvoiceDetail, localVarRequestOptions, configuration)
|
|
81
|
+
|
|
82
|
+
return {
|
|
83
|
+
url: toPathString(localVarUrlObj),
|
|
84
|
+
options: localVarRequestOptions,
|
|
85
|
+
};
|
|
86
|
+
},
|
|
87
|
+
/**
|
|
88
|
+
* Deletes an ClaimInvoiceDetail
|
|
89
|
+
* @summary Delete ClaimInvoiceDetail
|
|
90
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
91
|
+
* @param {number} invoiceKey Invoice Key
|
|
92
|
+
* @param {number} batchNumber Batch Number
|
|
93
|
+
* @param {number} batchClaim Batch Claim
|
|
94
|
+
* @param {*} [options] Override http request option.
|
|
95
|
+
* @throws {RequiredError}
|
|
96
|
+
*/
|
|
97
|
+
deleteClaimInvoiceDetail: async (vbasoftwareDatabase: string, invoiceKey: number, batchNumber: number, batchClaim: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
98
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
99
|
+
assertParamExists('deleteClaimInvoiceDetail', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
100
|
+
// verify required parameter 'invoiceKey' is not null or undefined
|
|
101
|
+
assertParamExists('deleteClaimInvoiceDetail', 'invoiceKey', invoiceKey)
|
|
102
|
+
// verify required parameter 'batchNumber' is not null or undefined
|
|
103
|
+
assertParamExists('deleteClaimInvoiceDetail', 'batchNumber', batchNumber)
|
|
104
|
+
// verify required parameter 'batchClaim' is not null or undefined
|
|
105
|
+
assertParamExists('deleteClaimInvoiceDetail', 'batchClaim', batchClaim)
|
|
106
|
+
const localVarPath = `/claim-invoice/{invoiceKey}/details/{batchNumber}/{batchClaim}`
|
|
107
|
+
.replace(`{${"invoiceKey"}}`, encodeURIComponent(String(invoiceKey)))
|
|
108
|
+
.replace(`{${"batchNumber"}}`, encodeURIComponent(String(batchNumber)))
|
|
109
|
+
.replace(`{${"batchClaim"}}`, encodeURIComponent(String(batchClaim)));
|
|
110
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
111
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
112
|
+
let baseOptions;
|
|
113
|
+
if (configuration) {
|
|
114
|
+
baseOptions = configuration.baseOptions;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
118
|
+
const localVarHeaderParameter = {} as any;
|
|
119
|
+
const localVarQueryParameter = {} as any;
|
|
120
|
+
|
|
121
|
+
// authentication apiKeyAuth required
|
|
122
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
123
|
+
|
|
124
|
+
// authentication bearerAuth required
|
|
125
|
+
// http bearer authentication required
|
|
126
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
127
|
+
|
|
128
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
129
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
135
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
136
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
137
|
+
|
|
138
|
+
return {
|
|
139
|
+
url: toPathString(localVarUrlObj),
|
|
140
|
+
options: localVarRequestOptions,
|
|
141
|
+
};
|
|
142
|
+
},
|
|
143
|
+
/**
|
|
144
|
+
* Gets ClaimInvoiceDetail
|
|
145
|
+
* @summary Get ClaimInvoiceDetail
|
|
146
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
147
|
+
* @param {number} invoiceKey Invoice Key
|
|
148
|
+
* @param {number} batchNumber Batch Number
|
|
149
|
+
* @param {number} batchClaim Batch Claim
|
|
150
|
+
* @param {*} [options] Override http request option.
|
|
151
|
+
* @throws {RequiredError}
|
|
152
|
+
*/
|
|
153
|
+
getClaimInvoiceDetail: async (vbasoftwareDatabase: string, invoiceKey: number, batchNumber: number, batchClaim: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
154
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
155
|
+
assertParamExists('getClaimInvoiceDetail', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
156
|
+
// verify required parameter 'invoiceKey' is not null or undefined
|
|
157
|
+
assertParamExists('getClaimInvoiceDetail', 'invoiceKey', invoiceKey)
|
|
158
|
+
// verify required parameter 'batchNumber' is not null or undefined
|
|
159
|
+
assertParamExists('getClaimInvoiceDetail', 'batchNumber', batchNumber)
|
|
160
|
+
// verify required parameter 'batchClaim' is not null or undefined
|
|
161
|
+
assertParamExists('getClaimInvoiceDetail', 'batchClaim', batchClaim)
|
|
162
|
+
const localVarPath = `/claim-invoice/{invoiceKey}/details/{batchNumber}/{batchClaim}`
|
|
163
|
+
.replace(`{${"invoiceKey"}}`, encodeURIComponent(String(invoiceKey)))
|
|
164
|
+
.replace(`{${"batchNumber"}}`, encodeURIComponent(String(batchNumber)))
|
|
165
|
+
.replace(`{${"batchClaim"}}`, encodeURIComponent(String(batchClaim)));
|
|
166
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
167
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
168
|
+
let baseOptions;
|
|
169
|
+
if (configuration) {
|
|
170
|
+
baseOptions = configuration.baseOptions;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
174
|
+
const localVarHeaderParameter = {} as any;
|
|
175
|
+
const localVarQueryParameter = {} as any;
|
|
176
|
+
|
|
177
|
+
// authentication apiKeyAuth required
|
|
178
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
179
|
+
|
|
180
|
+
// authentication bearerAuth required
|
|
181
|
+
// http bearer authentication required
|
|
182
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
183
|
+
|
|
184
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
185
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
191
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
192
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
193
|
+
|
|
194
|
+
return {
|
|
195
|
+
url: toPathString(localVarUrlObj),
|
|
196
|
+
options: localVarRequestOptions,
|
|
197
|
+
};
|
|
198
|
+
},
|
|
199
|
+
/**
|
|
200
|
+
* Lists all ClaimInvoiceDetail for the given invoiceKey
|
|
201
|
+
* @summary List ClaimInvoiceDetail
|
|
202
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
203
|
+
* @param {number} invoiceKey Invoice Key
|
|
204
|
+
* @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \'Property1:desc,Property2:asc,Property3:asc\' sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
|
|
205
|
+
* @param {number} [page] Page
|
|
206
|
+
* @param {number} [pageSize] Page Size
|
|
207
|
+
* @param {*} [options] Override http request option.
|
|
208
|
+
* @throws {RequiredError}
|
|
209
|
+
*/
|
|
210
|
+
listClaimInvoiceDetail: async (vbasoftwareDatabase: string, invoiceKey: number, sortBy?: string, page?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
211
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
212
|
+
assertParamExists('listClaimInvoiceDetail', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
213
|
+
// verify required parameter 'invoiceKey' is not null or undefined
|
|
214
|
+
assertParamExists('listClaimInvoiceDetail', 'invoiceKey', invoiceKey)
|
|
215
|
+
const localVarPath = `/claim-invoice/{invoiceKey}/details`
|
|
216
|
+
.replace(`{${"invoiceKey"}}`, encodeURIComponent(String(invoiceKey)));
|
|
217
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
218
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
219
|
+
let baseOptions;
|
|
220
|
+
if (configuration) {
|
|
221
|
+
baseOptions = configuration.baseOptions;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
225
|
+
const localVarHeaderParameter = {} as any;
|
|
226
|
+
const localVarQueryParameter = {} as any;
|
|
227
|
+
|
|
228
|
+
// authentication apiKeyAuth required
|
|
229
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
230
|
+
|
|
231
|
+
// authentication bearerAuth required
|
|
232
|
+
// http bearer authentication required
|
|
233
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
234
|
+
|
|
235
|
+
if (sortBy !== undefined) {
|
|
236
|
+
localVarQueryParameter['sortBy'] = sortBy;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
if (page !== undefined) {
|
|
240
|
+
localVarQueryParameter['page'] = page;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
if (pageSize !== undefined) {
|
|
244
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
248
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
254
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
255
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
256
|
+
|
|
257
|
+
return {
|
|
258
|
+
url: toPathString(localVarUrlObj),
|
|
259
|
+
options: localVarRequestOptions,
|
|
260
|
+
};
|
|
261
|
+
},
|
|
262
|
+
/**
|
|
263
|
+
* Create or Update multiple ClaimInvoiceDetail at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
264
|
+
* @summary Create or Update Batch ClaimInvoiceDetail
|
|
265
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
266
|
+
* @param {number} invoiceKey Invoice Key
|
|
267
|
+
* @param {Array<ClaimInvoiceDetail>} claimInvoiceDetail
|
|
268
|
+
* @param {*} [options] Override http request option.
|
|
269
|
+
* @throws {RequiredError}
|
|
270
|
+
*/
|
|
271
|
+
updateBatchClaimInvoiceDetail: async (vbasoftwareDatabase: string, invoiceKey: number, claimInvoiceDetail: Array<ClaimInvoiceDetail>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
272
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
273
|
+
assertParamExists('updateBatchClaimInvoiceDetail', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
274
|
+
// verify required parameter 'invoiceKey' is not null or undefined
|
|
275
|
+
assertParamExists('updateBatchClaimInvoiceDetail', 'invoiceKey', invoiceKey)
|
|
276
|
+
// verify required parameter 'claimInvoiceDetail' is not null or undefined
|
|
277
|
+
assertParamExists('updateBatchClaimInvoiceDetail', 'claimInvoiceDetail', claimInvoiceDetail)
|
|
278
|
+
const localVarPath = `/claim-invoice/{invoiceKey}/details-batch`
|
|
279
|
+
.replace(`{${"invoiceKey"}}`, encodeURIComponent(String(invoiceKey)));
|
|
280
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
281
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
282
|
+
let baseOptions;
|
|
283
|
+
if (configuration) {
|
|
284
|
+
baseOptions = configuration.baseOptions;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
288
|
+
const localVarHeaderParameter = {} as any;
|
|
289
|
+
const localVarQueryParameter = {} as any;
|
|
290
|
+
|
|
291
|
+
// authentication apiKeyAuth required
|
|
292
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
293
|
+
|
|
294
|
+
// authentication bearerAuth required
|
|
295
|
+
// http bearer authentication required
|
|
296
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
297
|
+
|
|
298
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
299
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
305
|
+
|
|
306
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
307
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
308
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
309
|
+
localVarRequestOptions.data = serializeDataIfNeeded(claimInvoiceDetail, localVarRequestOptions, configuration)
|
|
310
|
+
|
|
311
|
+
return {
|
|
312
|
+
url: toPathString(localVarUrlObj),
|
|
313
|
+
options: localVarRequestOptions,
|
|
314
|
+
};
|
|
315
|
+
},
|
|
316
|
+
/**
|
|
317
|
+
* Updates a specific ClaimInvoiceDetail.
|
|
318
|
+
* @summary Update ClaimInvoiceDetail
|
|
319
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
320
|
+
* @param {number} invoiceKey Invoice Key
|
|
321
|
+
* @param {number} batchNumber Batch Number
|
|
322
|
+
* @param {number} batchClaim Batch Claim
|
|
323
|
+
* @param {ClaimInvoiceDetail} claimInvoiceDetail
|
|
324
|
+
* @param {*} [options] Override http request option.
|
|
325
|
+
* @throws {RequiredError}
|
|
326
|
+
*/
|
|
327
|
+
updateClaimInvoiceDetail: async (vbasoftwareDatabase: string, invoiceKey: number, batchNumber: number, batchClaim: number, claimInvoiceDetail: ClaimInvoiceDetail, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
328
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
329
|
+
assertParamExists('updateClaimInvoiceDetail', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
330
|
+
// verify required parameter 'invoiceKey' is not null or undefined
|
|
331
|
+
assertParamExists('updateClaimInvoiceDetail', 'invoiceKey', invoiceKey)
|
|
332
|
+
// verify required parameter 'batchNumber' is not null or undefined
|
|
333
|
+
assertParamExists('updateClaimInvoiceDetail', 'batchNumber', batchNumber)
|
|
334
|
+
// verify required parameter 'batchClaim' is not null or undefined
|
|
335
|
+
assertParamExists('updateClaimInvoiceDetail', 'batchClaim', batchClaim)
|
|
336
|
+
// verify required parameter 'claimInvoiceDetail' is not null or undefined
|
|
337
|
+
assertParamExists('updateClaimInvoiceDetail', 'claimInvoiceDetail', claimInvoiceDetail)
|
|
338
|
+
const localVarPath = `/claim-invoice/{invoiceKey}/details/{batchNumber}/{batchClaim}`
|
|
339
|
+
.replace(`{${"invoiceKey"}}`, encodeURIComponent(String(invoiceKey)))
|
|
340
|
+
.replace(`{${"batchNumber"}}`, encodeURIComponent(String(batchNumber)))
|
|
341
|
+
.replace(`{${"batchClaim"}}`, encodeURIComponent(String(batchClaim)));
|
|
342
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
343
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
344
|
+
let baseOptions;
|
|
345
|
+
if (configuration) {
|
|
346
|
+
baseOptions = configuration.baseOptions;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
350
|
+
const localVarHeaderParameter = {} as any;
|
|
351
|
+
const localVarQueryParameter = {} as any;
|
|
352
|
+
|
|
353
|
+
// authentication apiKeyAuth required
|
|
354
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
355
|
+
|
|
356
|
+
// authentication bearerAuth required
|
|
357
|
+
// http bearer authentication required
|
|
358
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
359
|
+
|
|
360
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
361
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
367
|
+
|
|
368
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
369
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
370
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
371
|
+
localVarRequestOptions.data = serializeDataIfNeeded(claimInvoiceDetail, localVarRequestOptions, configuration)
|
|
372
|
+
|
|
373
|
+
return {
|
|
374
|
+
url: toPathString(localVarUrlObj),
|
|
375
|
+
options: localVarRequestOptions,
|
|
376
|
+
};
|
|
377
|
+
},
|
|
378
|
+
}
|
|
379
|
+
};
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* ClaimInvoiceDetailsApi - functional programming interface
|
|
383
|
+
* @export
|
|
384
|
+
*/
|
|
385
|
+
export const ClaimInvoiceDetailsApiFp = function(configuration?: Configuration) {
|
|
386
|
+
const localVarAxiosParamCreator = ClaimInvoiceDetailsApiAxiosParamCreator(configuration)
|
|
387
|
+
return {
|
|
388
|
+
/**
|
|
389
|
+
* Creates a new ClaimInvoiceDetail
|
|
390
|
+
* @summary Create ClaimInvoiceDetail
|
|
391
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
392
|
+
* @param {ClaimInvoiceDetail} claimInvoiceDetail
|
|
393
|
+
* @param {*} [options] Override http request option.
|
|
394
|
+
* @throws {RequiredError}
|
|
395
|
+
*/
|
|
396
|
+
async createClaimInvoiceDetail(vbasoftwareDatabase: string, claimInvoiceDetail: ClaimInvoiceDetail, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClaimInvoiceDetailVBAResponse>> {
|
|
397
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createClaimInvoiceDetail(vbasoftwareDatabase, claimInvoiceDetail, options);
|
|
398
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
399
|
+
},
|
|
400
|
+
/**
|
|
401
|
+
* Deletes an ClaimInvoiceDetail
|
|
402
|
+
* @summary Delete ClaimInvoiceDetail
|
|
403
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
404
|
+
* @param {number} invoiceKey Invoice Key
|
|
405
|
+
* @param {number} batchNumber Batch Number
|
|
406
|
+
* @param {number} batchClaim Batch Claim
|
|
407
|
+
* @param {*} [options] Override http request option.
|
|
408
|
+
* @throws {RequiredError}
|
|
409
|
+
*/
|
|
410
|
+
async deleteClaimInvoiceDetail(vbasoftwareDatabase: string, invoiceKey: number, batchNumber: number, batchClaim: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
411
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClaimInvoiceDetail(vbasoftwareDatabase, invoiceKey, batchNumber, batchClaim, options);
|
|
412
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
413
|
+
},
|
|
414
|
+
/**
|
|
415
|
+
* Gets ClaimInvoiceDetail
|
|
416
|
+
* @summary Get ClaimInvoiceDetail
|
|
417
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
418
|
+
* @param {number} invoiceKey Invoice Key
|
|
419
|
+
* @param {number} batchNumber Batch Number
|
|
420
|
+
* @param {number} batchClaim Batch Claim
|
|
421
|
+
* @param {*} [options] Override http request option.
|
|
422
|
+
* @throws {RequiredError}
|
|
423
|
+
*/
|
|
424
|
+
async getClaimInvoiceDetail(vbasoftwareDatabase: string, invoiceKey: number, batchNumber: number, batchClaim: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClaimInvoiceDetailVBAResponse>> {
|
|
425
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimInvoiceDetail(vbasoftwareDatabase, invoiceKey, batchNumber, batchClaim, options);
|
|
426
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
427
|
+
},
|
|
428
|
+
/**
|
|
429
|
+
* Lists all ClaimInvoiceDetail for the given invoiceKey
|
|
430
|
+
* @summary List ClaimInvoiceDetail
|
|
431
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
432
|
+
* @param {number} invoiceKey Invoice Key
|
|
433
|
+
* @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \'Property1:desc,Property2:asc,Property3:asc\' sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
|
|
434
|
+
* @param {number} [page] Page
|
|
435
|
+
* @param {number} [pageSize] Page Size
|
|
436
|
+
* @param {*} [options] Override http request option.
|
|
437
|
+
* @throws {RequiredError}
|
|
438
|
+
*/
|
|
439
|
+
async listClaimInvoiceDetail(vbasoftwareDatabase: string, invoiceKey: number, sortBy?: string, page?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClaimInvoiceDetailListVBAResponse>> {
|
|
440
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimInvoiceDetail(vbasoftwareDatabase, invoiceKey, sortBy, page, pageSize, options);
|
|
441
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
442
|
+
},
|
|
443
|
+
/**
|
|
444
|
+
* Create or Update multiple ClaimInvoiceDetail at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
445
|
+
* @summary Create or Update Batch ClaimInvoiceDetail
|
|
446
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
447
|
+
* @param {number} invoiceKey Invoice Key
|
|
448
|
+
* @param {Array<ClaimInvoiceDetail>} claimInvoiceDetail
|
|
449
|
+
* @param {*} [options] Override http request option.
|
|
450
|
+
* @throws {RequiredError}
|
|
451
|
+
*/
|
|
452
|
+
async updateBatchClaimInvoiceDetail(vbasoftwareDatabase: string, invoiceKey: number, claimInvoiceDetail: Array<ClaimInvoiceDetail>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MultiCodeResponseListVBAResponse>> {
|
|
453
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateBatchClaimInvoiceDetail(vbasoftwareDatabase, invoiceKey, claimInvoiceDetail, options);
|
|
454
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
455
|
+
},
|
|
456
|
+
/**
|
|
457
|
+
* Updates a specific ClaimInvoiceDetail.
|
|
458
|
+
* @summary Update ClaimInvoiceDetail
|
|
459
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
460
|
+
* @param {number} invoiceKey Invoice Key
|
|
461
|
+
* @param {number} batchNumber Batch Number
|
|
462
|
+
* @param {number} batchClaim Batch Claim
|
|
463
|
+
* @param {ClaimInvoiceDetail} claimInvoiceDetail
|
|
464
|
+
* @param {*} [options] Override http request option.
|
|
465
|
+
* @throws {RequiredError}
|
|
466
|
+
*/
|
|
467
|
+
async updateClaimInvoiceDetail(vbasoftwareDatabase: string, invoiceKey: number, batchNumber: number, batchClaim: number, claimInvoiceDetail: ClaimInvoiceDetail, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClaimInvoiceDetailVBAResponse>> {
|
|
468
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaimInvoiceDetail(vbasoftwareDatabase, invoiceKey, batchNumber, batchClaim, claimInvoiceDetail, options);
|
|
469
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
470
|
+
},
|
|
471
|
+
}
|
|
472
|
+
};
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* ClaimInvoiceDetailsApi - factory interface
|
|
476
|
+
* @export
|
|
477
|
+
*/
|
|
478
|
+
export const ClaimInvoiceDetailsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
479
|
+
const localVarFp = ClaimInvoiceDetailsApiFp(configuration)
|
|
480
|
+
return {
|
|
481
|
+
/**
|
|
482
|
+
* Creates a new ClaimInvoiceDetail
|
|
483
|
+
* @summary Create ClaimInvoiceDetail
|
|
484
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
485
|
+
* @param {ClaimInvoiceDetail} claimInvoiceDetail
|
|
486
|
+
* @param {*} [options] Override http request option.
|
|
487
|
+
* @throws {RequiredError}
|
|
488
|
+
*/
|
|
489
|
+
createClaimInvoiceDetail(vbasoftwareDatabase: string, claimInvoiceDetail: ClaimInvoiceDetail, options?: any): AxiosPromise<ClaimInvoiceDetailVBAResponse> {
|
|
490
|
+
return localVarFp.createClaimInvoiceDetail(vbasoftwareDatabase, claimInvoiceDetail, options).then((request) => request(axios, basePath));
|
|
491
|
+
},
|
|
492
|
+
/**
|
|
493
|
+
* Deletes an ClaimInvoiceDetail
|
|
494
|
+
* @summary Delete ClaimInvoiceDetail
|
|
495
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
496
|
+
* @param {number} invoiceKey Invoice Key
|
|
497
|
+
* @param {number} batchNumber Batch Number
|
|
498
|
+
* @param {number} batchClaim Batch Claim
|
|
499
|
+
* @param {*} [options] Override http request option.
|
|
500
|
+
* @throws {RequiredError}
|
|
501
|
+
*/
|
|
502
|
+
deleteClaimInvoiceDetail(vbasoftwareDatabase: string, invoiceKey: number, batchNumber: number, batchClaim: number, options?: any): AxiosPromise<void> {
|
|
503
|
+
return localVarFp.deleteClaimInvoiceDetail(vbasoftwareDatabase, invoiceKey, batchNumber, batchClaim, options).then((request) => request(axios, basePath));
|
|
504
|
+
},
|
|
505
|
+
/**
|
|
506
|
+
* Gets ClaimInvoiceDetail
|
|
507
|
+
* @summary Get ClaimInvoiceDetail
|
|
508
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
509
|
+
* @param {number} invoiceKey Invoice Key
|
|
510
|
+
* @param {number} batchNumber Batch Number
|
|
511
|
+
* @param {number} batchClaim Batch Claim
|
|
512
|
+
* @param {*} [options] Override http request option.
|
|
513
|
+
* @throws {RequiredError}
|
|
514
|
+
*/
|
|
515
|
+
getClaimInvoiceDetail(vbasoftwareDatabase: string, invoiceKey: number, batchNumber: number, batchClaim: number, options?: any): AxiosPromise<ClaimInvoiceDetailVBAResponse> {
|
|
516
|
+
return localVarFp.getClaimInvoiceDetail(vbasoftwareDatabase, invoiceKey, batchNumber, batchClaim, options).then((request) => request(axios, basePath));
|
|
517
|
+
},
|
|
518
|
+
/**
|
|
519
|
+
* Lists all ClaimInvoiceDetail for the given invoiceKey
|
|
520
|
+
* @summary List ClaimInvoiceDetail
|
|
521
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
522
|
+
* @param {number} invoiceKey Invoice Key
|
|
523
|
+
* @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \'Property1:desc,Property2:asc,Property3:asc\' sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
|
|
524
|
+
* @param {number} [page] Page
|
|
525
|
+
* @param {number} [pageSize] Page Size
|
|
526
|
+
* @param {*} [options] Override http request option.
|
|
527
|
+
* @throws {RequiredError}
|
|
528
|
+
*/
|
|
529
|
+
listClaimInvoiceDetail(vbasoftwareDatabase: string, invoiceKey: number, sortBy?: string, page?: number, pageSize?: number, options?: any): AxiosPromise<ClaimInvoiceDetailListVBAResponse> {
|
|
530
|
+
return localVarFp.listClaimInvoiceDetail(vbasoftwareDatabase, invoiceKey, sortBy, page, pageSize, options).then((request) => request(axios, basePath));
|
|
531
|
+
},
|
|
532
|
+
/**
|
|
533
|
+
* Create or Update multiple ClaimInvoiceDetail at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
534
|
+
* @summary Create or Update Batch ClaimInvoiceDetail
|
|
535
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
536
|
+
* @param {number} invoiceKey Invoice Key
|
|
537
|
+
* @param {Array<ClaimInvoiceDetail>} claimInvoiceDetail
|
|
538
|
+
* @param {*} [options] Override http request option.
|
|
539
|
+
* @throws {RequiredError}
|
|
540
|
+
*/
|
|
541
|
+
updateBatchClaimInvoiceDetail(vbasoftwareDatabase: string, invoiceKey: number, claimInvoiceDetail: Array<ClaimInvoiceDetail>, options?: any): AxiosPromise<MultiCodeResponseListVBAResponse> {
|
|
542
|
+
return localVarFp.updateBatchClaimInvoiceDetail(vbasoftwareDatabase, invoiceKey, claimInvoiceDetail, options).then((request) => request(axios, basePath));
|
|
543
|
+
},
|
|
544
|
+
/**
|
|
545
|
+
* Updates a specific ClaimInvoiceDetail.
|
|
546
|
+
* @summary Update ClaimInvoiceDetail
|
|
547
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
548
|
+
* @param {number} invoiceKey Invoice Key
|
|
549
|
+
* @param {number} batchNumber Batch Number
|
|
550
|
+
* @param {number} batchClaim Batch Claim
|
|
551
|
+
* @param {ClaimInvoiceDetail} claimInvoiceDetail
|
|
552
|
+
* @param {*} [options] Override http request option.
|
|
553
|
+
* @throws {RequiredError}
|
|
554
|
+
*/
|
|
555
|
+
updateClaimInvoiceDetail(vbasoftwareDatabase: string, invoiceKey: number, batchNumber: number, batchClaim: number, claimInvoiceDetail: ClaimInvoiceDetail, options?: any): AxiosPromise<ClaimInvoiceDetailVBAResponse> {
|
|
556
|
+
return localVarFp.updateClaimInvoiceDetail(vbasoftwareDatabase, invoiceKey, batchNumber, batchClaim, claimInvoiceDetail, options).then((request) => request(axios, basePath));
|
|
557
|
+
},
|
|
558
|
+
};
|
|
559
|
+
};
|
|
560
|
+
|
|
561
|
+
/**
|
|
562
|
+
* ClaimInvoiceDetailsApi - interface
|
|
563
|
+
* @export
|
|
564
|
+
* @interface ClaimInvoiceDetailsApi
|
|
565
|
+
*/
|
|
566
|
+
export interface ClaimInvoiceDetailsApiInterface {
|
|
567
|
+
/**
|
|
568
|
+
* Creates a new ClaimInvoiceDetail
|
|
569
|
+
* @summary Create ClaimInvoiceDetail
|
|
570
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
571
|
+
* @param {ClaimInvoiceDetail} claimInvoiceDetail
|
|
572
|
+
* @param {*} [options] Override http request option.
|
|
573
|
+
* @throws {RequiredError}
|
|
574
|
+
* @memberof ClaimInvoiceDetailsApiInterface
|
|
575
|
+
*/
|
|
576
|
+
createClaimInvoiceDetail(vbasoftwareDatabase: string, claimInvoiceDetail: ClaimInvoiceDetail, options?: AxiosRequestConfig): AxiosPromise<ClaimInvoiceDetailVBAResponse>;
|
|
577
|
+
|
|
578
|
+
/**
|
|
579
|
+
* Deletes an ClaimInvoiceDetail
|
|
580
|
+
* @summary Delete ClaimInvoiceDetail
|
|
581
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
582
|
+
* @param {number} invoiceKey Invoice Key
|
|
583
|
+
* @param {number} batchNumber Batch Number
|
|
584
|
+
* @param {number} batchClaim Batch Claim
|
|
585
|
+
* @param {*} [options] Override http request option.
|
|
586
|
+
* @throws {RequiredError}
|
|
587
|
+
* @memberof ClaimInvoiceDetailsApiInterface
|
|
588
|
+
*/
|
|
589
|
+
deleteClaimInvoiceDetail(vbasoftwareDatabase: string, invoiceKey: number, batchNumber: number, batchClaim: number, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
590
|
+
|
|
591
|
+
/**
|
|
592
|
+
* Gets ClaimInvoiceDetail
|
|
593
|
+
* @summary Get ClaimInvoiceDetail
|
|
594
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
595
|
+
* @param {number} invoiceKey Invoice Key
|
|
596
|
+
* @param {number} batchNumber Batch Number
|
|
597
|
+
* @param {number} batchClaim Batch Claim
|
|
598
|
+
* @param {*} [options] Override http request option.
|
|
599
|
+
* @throws {RequiredError}
|
|
600
|
+
* @memberof ClaimInvoiceDetailsApiInterface
|
|
601
|
+
*/
|
|
602
|
+
getClaimInvoiceDetail(vbasoftwareDatabase: string, invoiceKey: number, batchNumber: number, batchClaim: number, options?: AxiosRequestConfig): AxiosPromise<ClaimInvoiceDetailVBAResponse>;
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
* Lists all ClaimInvoiceDetail for the given invoiceKey
|
|
606
|
+
* @summary List ClaimInvoiceDetail
|
|
607
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
608
|
+
* @param {number} invoiceKey Invoice Key
|
|
609
|
+
* @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \'Property1:desc,Property2:asc,Property3:asc\' sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
|
|
610
|
+
* @param {number} [page] Page
|
|
611
|
+
* @param {number} [pageSize] Page Size
|
|
612
|
+
* @param {*} [options] Override http request option.
|
|
613
|
+
* @throws {RequiredError}
|
|
614
|
+
* @memberof ClaimInvoiceDetailsApiInterface
|
|
615
|
+
*/
|
|
616
|
+
listClaimInvoiceDetail(vbasoftwareDatabase: string, invoiceKey: number, sortBy?: string, page?: number, pageSize?: number, options?: AxiosRequestConfig): AxiosPromise<ClaimInvoiceDetailListVBAResponse>;
|
|
617
|
+
|
|
618
|
+
/**
|
|
619
|
+
* Create or Update multiple ClaimInvoiceDetail at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
620
|
+
* @summary Create or Update Batch ClaimInvoiceDetail
|
|
621
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
622
|
+
* @param {number} invoiceKey Invoice Key
|
|
623
|
+
* @param {Array<ClaimInvoiceDetail>} claimInvoiceDetail
|
|
624
|
+
* @param {*} [options] Override http request option.
|
|
625
|
+
* @throws {RequiredError}
|
|
626
|
+
* @memberof ClaimInvoiceDetailsApiInterface
|
|
627
|
+
*/
|
|
628
|
+
updateBatchClaimInvoiceDetail(vbasoftwareDatabase: string, invoiceKey: number, claimInvoiceDetail: Array<ClaimInvoiceDetail>, options?: AxiosRequestConfig): AxiosPromise<MultiCodeResponseListVBAResponse>;
|
|
629
|
+
|
|
630
|
+
/**
|
|
631
|
+
* Updates a specific ClaimInvoiceDetail.
|
|
632
|
+
* @summary Update ClaimInvoiceDetail
|
|
633
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
634
|
+
* @param {number} invoiceKey Invoice Key
|
|
635
|
+
* @param {number} batchNumber Batch Number
|
|
636
|
+
* @param {number} batchClaim Batch Claim
|
|
637
|
+
* @param {ClaimInvoiceDetail} claimInvoiceDetail
|
|
638
|
+
* @param {*} [options] Override http request option.
|
|
639
|
+
* @throws {RequiredError}
|
|
640
|
+
* @memberof ClaimInvoiceDetailsApiInterface
|
|
641
|
+
*/
|
|
642
|
+
updateClaimInvoiceDetail(vbasoftwareDatabase: string, invoiceKey: number, batchNumber: number, batchClaim: number, claimInvoiceDetail: ClaimInvoiceDetail, options?: AxiosRequestConfig): AxiosPromise<ClaimInvoiceDetailVBAResponse>;
|
|
643
|
+
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
/**
|
|
647
|
+
* ClaimInvoiceDetailsApi - object-oriented interface
|
|
648
|
+
* @export
|
|
649
|
+
* @class ClaimInvoiceDetailsApi
|
|
650
|
+
* @extends {BaseAPI}
|
|
651
|
+
*/
|
|
652
|
+
export class ClaimInvoiceDetailsApi extends BaseAPI implements ClaimInvoiceDetailsApiInterface {
|
|
653
|
+
/**
|
|
654
|
+
* Creates a new ClaimInvoiceDetail
|
|
655
|
+
* @summary Create ClaimInvoiceDetail
|
|
656
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
657
|
+
* @param {ClaimInvoiceDetail} claimInvoiceDetail
|
|
658
|
+
* @param {*} [options] Override http request option.
|
|
659
|
+
* @throws {RequiredError}
|
|
660
|
+
* @memberof ClaimInvoiceDetailsApi
|
|
661
|
+
*/
|
|
662
|
+
public createClaimInvoiceDetail(vbasoftwareDatabase: string, claimInvoiceDetail: ClaimInvoiceDetail, options?: AxiosRequestConfig) {
|
|
663
|
+
return ClaimInvoiceDetailsApiFp(this.configuration).createClaimInvoiceDetail(vbasoftwareDatabase, claimInvoiceDetail, options).then((request) => request(this.axios, this.basePath));
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
/**
|
|
667
|
+
* Deletes an ClaimInvoiceDetail
|
|
668
|
+
* @summary Delete ClaimInvoiceDetail
|
|
669
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
670
|
+
* @param {number} invoiceKey Invoice Key
|
|
671
|
+
* @param {number} batchNumber Batch Number
|
|
672
|
+
* @param {number} batchClaim Batch Claim
|
|
673
|
+
* @param {*} [options] Override http request option.
|
|
674
|
+
* @throws {RequiredError}
|
|
675
|
+
* @memberof ClaimInvoiceDetailsApi
|
|
676
|
+
*/
|
|
677
|
+
public deleteClaimInvoiceDetail(vbasoftwareDatabase: string, invoiceKey: number, batchNumber: number, batchClaim: number, options?: AxiosRequestConfig) {
|
|
678
|
+
return ClaimInvoiceDetailsApiFp(this.configuration).deleteClaimInvoiceDetail(vbasoftwareDatabase, invoiceKey, batchNumber, batchClaim, options).then((request) => request(this.axios, this.basePath));
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
/**
|
|
682
|
+
* Gets ClaimInvoiceDetail
|
|
683
|
+
* @summary Get ClaimInvoiceDetail
|
|
684
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
685
|
+
* @param {number} invoiceKey Invoice Key
|
|
686
|
+
* @param {number} batchNumber Batch Number
|
|
687
|
+
* @param {number} batchClaim Batch Claim
|
|
688
|
+
* @param {*} [options] Override http request option.
|
|
689
|
+
* @throws {RequiredError}
|
|
690
|
+
* @memberof ClaimInvoiceDetailsApi
|
|
691
|
+
*/
|
|
692
|
+
public getClaimInvoiceDetail(vbasoftwareDatabase: string, invoiceKey: number, batchNumber: number, batchClaim: number, options?: AxiosRequestConfig) {
|
|
693
|
+
return ClaimInvoiceDetailsApiFp(this.configuration).getClaimInvoiceDetail(vbasoftwareDatabase, invoiceKey, batchNumber, batchClaim, options).then((request) => request(this.axios, this.basePath));
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
/**
|
|
697
|
+
* Lists all ClaimInvoiceDetail for the given invoiceKey
|
|
698
|
+
* @summary List ClaimInvoiceDetail
|
|
699
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
700
|
+
* @param {number} invoiceKey Invoice Key
|
|
701
|
+
* @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \'Property1:desc,Property2:asc,Property3:asc\' sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
|
|
702
|
+
* @param {number} [page] Page
|
|
703
|
+
* @param {number} [pageSize] Page Size
|
|
704
|
+
* @param {*} [options] Override http request option.
|
|
705
|
+
* @throws {RequiredError}
|
|
706
|
+
* @memberof ClaimInvoiceDetailsApi
|
|
707
|
+
*/
|
|
708
|
+
public listClaimInvoiceDetail(vbasoftwareDatabase: string, invoiceKey: number, sortBy?: string, page?: number, pageSize?: number, options?: AxiosRequestConfig) {
|
|
709
|
+
return ClaimInvoiceDetailsApiFp(this.configuration).listClaimInvoiceDetail(vbasoftwareDatabase, invoiceKey, sortBy, page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
/**
|
|
713
|
+
* Create or Update multiple ClaimInvoiceDetail at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
714
|
+
* @summary Create or Update Batch ClaimInvoiceDetail
|
|
715
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
716
|
+
* @param {number} invoiceKey Invoice Key
|
|
717
|
+
* @param {Array<ClaimInvoiceDetail>} claimInvoiceDetail
|
|
718
|
+
* @param {*} [options] Override http request option.
|
|
719
|
+
* @throws {RequiredError}
|
|
720
|
+
* @memberof ClaimInvoiceDetailsApi
|
|
721
|
+
*/
|
|
722
|
+
public updateBatchClaimInvoiceDetail(vbasoftwareDatabase: string, invoiceKey: number, claimInvoiceDetail: Array<ClaimInvoiceDetail>, options?: AxiosRequestConfig) {
|
|
723
|
+
return ClaimInvoiceDetailsApiFp(this.configuration).updateBatchClaimInvoiceDetail(vbasoftwareDatabase, invoiceKey, claimInvoiceDetail, options).then((request) => request(this.axios, this.basePath));
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
/**
|
|
727
|
+
* Updates a specific ClaimInvoiceDetail.
|
|
728
|
+
* @summary Update ClaimInvoiceDetail
|
|
729
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
730
|
+
* @param {number} invoiceKey Invoice Key
|
|
731
|
+
* @param {number} batchNumber Batch Number
|
|
732
|
+
* @param {number} batchClaim Batch Claim
|
|
733
|
+
* @param {ClaimInvoiceDetail} claimInvoiceDetail
|
|
734
|
+
* @param {*} [options] Override http request option.
|
|
735
|
+
* @throws {RequiredError}
|
|
736
|
+
* @memberof ClaimInvoiceDetailsApi
|
|
737
|
+
*/
|
|
738
|
+
public updateClaimInvoiceDetail(vbasoftwareDatabase: string, invoiceKey: number, batchNumber: number, batchClaim: number, claimInvoiceDetail: ClaimInvoiceDetail, options?: AxiosRequestConfig) {
|
|
739
|
+
return ClaimInvoiceDetailsApiFp(this.configuration).updateClaimInvoiceDetail(vbasoftwareDatabase, invoiceKey, batchNumber, batchClaim, claimInvoiceDetail, options).then((request) => request(this.axios, this.basePath));
|
|
740
|
+
}
|
|
741
|
+
}
|