@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20230518.1 → 1.20230616.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 +29 -1
- package/api/claim-batch-logs-api.ts +668 -0
- package/api/claim-batch-references-api.ts +764 -0
- package/api/claim-batches-api.ts +17 -8
- package/api/error-category-api.ts +668 -0
- package/api/error-category-types-api.ts +725 -0
- package/api/error-severity-api.ts +668 -0
- package/api/error-type-api.ts +668 -0
- package/api/{fee-schedule-anesthesia-api.ts → fee-schedule-anesthesias-api.ts} +94 -133
- package/api/fee-schedule-details-api.ts +68 -107
- package/api/fee-schedule-modifier-discounts-api.ts +68 -107
- package/api/fee-schedule-modifier-excludes-api.ts +68 -107
- package/api/fee-schedule-procedure-group-adjustments-api.ts +68 -107
- package/api/fee-schedule-provider-type-discounts-api.ts +68 -107
- package/api/funding-request-claims-api.ts +8 -26
- package/api/member-account-plans-api.ts +10 -10
- package/api/payor-accounts-api.ts +105 -0
- package/api/reinsurance-contract-transactions-api.ts +97 -0
- package/api/user-api.ts +98 -0
- package/api.ts +7 -1
- package/models/claim-batch-log-list-vbaresponse.ts +45 -0
- package/models/claim-batch-log-vbaresponse.ts +45 -0
- package/models/claim-batch-log.ts +96 -0
- package/models/claim-batch-reference-list-vbaresponse.ts +45 -0
- package/models/claim-batch-reference-vbaresponse.ts +45 -0
- package/models/claim-batch-reference.ts +84 -0
- package/models/company-data.ts +24 -0
- package/models/error-category-list-vbaresponse.ts +45 -0
- package/models/error-category-type-list-vbaresponse.ts +45 -0
- package/models/error-category-type-vbaresponse.ts +45 -0
- package/models/error-category-type.ts +78 -0
- package/models/error-category-vbaresponse.ts +45 -0
- package/models/error-category.ts +60 -0
- package/models/error-severity-list-vbaresponse.ts +45 -0
- package/models/error-severity-vbaresponse.ts +45 -0
- package/models/error-severity.ts +60 -0
- package/models/error-type-list-vbaresponse.ts +45 -0
- package/models/error-type-vbaresponse.ts +45 -0
- package/models/error-type.ts +60 -0
- package/models/fee-sched-anesthesia.ts +25 -1
- package/models/fee-sched-detail.ts +28 -4
- package/models/fee-sched-modifier-discount.ts +27 -3
- package/models/fee-sched-modifier-exclude.ts +25 -1
- package/models/fee-sched-procedure-group-adjust.ts +30 -6
- package/models/fee-sched-provider-type-discount.ts +27 -3
- package/models/idcode-value.ts +25 -1
- package/models/index.ts +22 -0
- package/models/prem-payment-file-format.ts +14 -8
- package/models/sub-enrollment-plan.ts +6 -0
- package/models/vbafunding-account-claim-info-list-vbaresponse.ts +45 -0
- package/models/vbafunding-account-claim-info.ts +276 -0
- package/models/vbareins-contract-transaction-summary-list-vbaresponse.ts +45 -0
- package/models/vbareins-contract-transaction-summary.ts +108 -0
- package/package.json +1 -1
|
@@ -0,0 +1,764 @@
|
|
|
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 { ClaimBatchReference } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { ClaimBatchReferenceListVBAResponse } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { ClaimBatchReferenceVBAResponse } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { MultiCodeResponseListVBAResponse } from '../models';
|
|
31
|
+
/**
|
|
32
|
+
* ClaimBatchReferencesApi - axios parameter creator
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export const ClaimBatchReferencesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36
|
+
return {
|
|
37
|
+
/**
|
|
38
|
+
* Creates a new ClaimBatchReference
|
|
39
|
+
* @summary Create ClaimBatchReference
|
|
40
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
41
|
+
* @param {ClaimBatchReference} claimBatchReference
|
|
42
|
+
* @param {*} [options] Override http request option.
|
|
43
|
+
* @throws {RequiredError}
|
|
44
|
+
*/
|
|
45
|
+
createClaimBatchReference: async (vbasoftwareDatabase: string, claimBatchReference: ClaimBatchReference, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
46
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
47
|
+
assertParamExists('createClaimBatchReference', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
48
|
+
// verify required parameter 'claimBatchReference' is not null or undefined
|
|
49
|
+
assertParamExists('createClaimBatchReference', 'claimBatchReference', claimBatchReference)
|
|
50
|
+
const localVarPath = `/claim-batch-references`;
|
|
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(claimBatchReference, localVarRequestOptions, configuration)
|
|
81
|
+
|
|
82
|
+
return {
|
|
83
|
+
url: toPathString(localVarUrlObj),
|
|
84
|
+
options: localVarRequestOptions,
|
|
85
|
+
};
|
|
86
|
+
},
|
|
87
|
+
/**
|
|
88
|
+
* Deletes an ClaimBatchReference
|
|
89
|
+
* @summary Delete ClaimBatchReference
|
|
90
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
91
|
+
* @param {number} originalBatchNumber Original Batch Number
|
|
92
|
+
* @param {number} originalBatchClaim Original Batch Claim
|
|
93
|
+
* @param {number} referencedBatchNumber Referenced Batch Number
|
|
94
|
+
* @param {number} referencedBatchClaim Referenced Batch Claim
|
|
95
|
+
* @param {string} referenceType Reference Type
|
|
96
|
+
* @param {*} [options] Override http request option.
|
|
97
|
+
* @throws {RequiredError}
|
|
98
|
+
*/
|
|
99
|
+
deleteClaimBatchReference: async (vbasoftwareDatabase: string, originalBatchNumber: number, originalBatchClaim: number, referencedBatchNumber: number, referencedBatchClaim: number, referenceType: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
100
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
101
|
+
assertParamExists('deleteClaimBatchReference', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
102
|
+
// verify required parameter 'originalBatchNumber' is not null or undefined
|
|
103
|
+
assertParamExists('deleteClaimBatchReference', 'originalBatchNumber', originalBatchNumber)
|
|
104
|
+
// verify required parameter 'originalBatchClaim' is not null or undefined
|
|
105
|
+
assertParamExists('deleteClaimBatchReference', 'originalBatchClaim', originalBatchClaim)
|
|
106
|
+
// verify required parameter 'referencedBatchNumber' is not null or undefined
|
|
107
|
+
assertParamExists('deleteClaimBatchReference', 'referencedBatchNumber', referencedBatchNumber)
|
|
108
|
+
// verify required parameter 'referencedBatchClaim' is not null or undefined
|
|
109
|
+
assertParamExists('deleteClaimBatchReference', 'referencedBatchClaim', referencedBatchClaim)
|
|
110
|
+
// verify required parameter 'referenceType' is not null or undefined
|
|
111
|
+
assertParamExists('deleteClaimBatchReference', 'referenceType', referenceType)
|
|
112
|
+
const localVarPath = `/claim-batch-references/{originalBatchNumber}/{originalBatchClaim}/{referencedBatchNumber}/{referencedBatchClaim}/{referenceType}`
|
|
113
|
+
.replace(`{${"originalBatchNumber"}}`, encodeURIComponent(String(originalBatchNumber)))
|
|
114
|
+
.replace(`{${"originalBatchClaim"}}`, encodeURIComponent(String(originalBatchClaim)))
|
|
115
|
+
.replace(`{${"referencedBatchNumber"}}`, encodeURIComponent(String(referencedBatchNumber)))
|
|
116
|
+
.replace(`{${"referencedBatchClaim"}}`, encodeURIComponent(String(referencedBatchClaim)))
|
|
117
|
+
.replace(`{${"referenceType"}}`, encodeURIComponent(String(referenceType)));
|
|
118
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
119
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
120
|
+
let baseOptions;
|
|
121
|
+
if (configuration) {
|
|
122
|
+
baseOptions = configuration.baseOptions;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
126
|
+
const localVarHeaderParameter = {} as any;
|
|
127
|
+
const localVarQueryParameter = {} as any;
|
|
128
|
+
|
|
129
|
+
// authentication apiKeyAuth required
|
|
130
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
131
|
+
|
|
132
|
+
// authentication bearerAuth required
|
|
133
|
+
// http bearer authentication required
|
|
134
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
135
|
+
|
|
136
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
137
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
143
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
144
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
145
|
+
|
|
146
|
+
return {
|
|
147
|
+
url: toPathString(localVarUrlObj),
|
|
148
|
+
options: localVarRequestOptions,
|
|
149
|
+
};
|
|
150
|
+
},
|
|
151
|
+
/**
|
|
152
|
+
* Gets ClaimBatchReference
|
|
153
|
+
* @summary Get ClaimBatchReference
|
|
154
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
155
|
+
* @param {number} originalBatchNumber Original Batch Number
|
|
156
|
+
* @param {number} originalBatchClaim Original Batch Claim
|
|
157
|
+
* @param {number} referencedBatchNumber Referenced Batch Number
|
|
158
|
+
* @param {number} referencedBatchClaim Referenced Batch Claim
|
|
159
|
+
* @param {string} referenceType Reference Type
|
|
160
|
+
* @param {*} [options] Override http request option.
|
|
161
|
+
* @throws {RequiredError}
|
|
162
|
+
*/
|
|
163
|
+
getClaimBatchReference: async (vbasoftwareDatabase: string, originalBatchNumber: number, originalBatchClaim: number, referencedBatchNumber: number, referencedBatchClaim: number, referenceType: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
164
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
165
|
+
assertParamExists('getClaimBatchReference', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
166
|
+
// verify required parameter 'originalBatchNumber' is not null or undefined
|
|
167
|
+
assertParamExists('getClaimBatchReference', 'originalBatchNumber', originalBatchNumber)
|
|
168
|
+
// verify required parameter 'originalBatchClaim' is not null or undefined
|
|
169
|
+
assertParamExists('getClaimBatchReference', 'originalBatchClaim', originalBatchClaim)
|
|
170
|
+
// verify required parameter 'referencedBatchNumber' is not null or undefined
|
|
171
|
+
assertParamExists('getClaimBatchReference', 'referencedBatchNumber', referencedBatchNumber)
|
|
172
|
+
// verify required parameter 'referencedBatchClaim' is not null or undefined
|
|
173
|
+
assertParamExists('getClaimBatchReference', 'referencedBatchClaim', referencedBatchClaim)
|
|
174
|
+
// verify required parameter 'referenceType' is not null or undefined
|
|
175
|
+
assertParamExists('getClaimBatchReference', 'referenceType', referenceType)
|
|
176
|
+
const localVarPath = `/claim-batch-references/{originalBatchNumber}/{originalBatchClaim}/{referencedBatchNumber}/{referencedBatchClaim}/{referenceType}`
|
|
177
|
+
.replace(`{${"originalBatchNumber"}}`, encodeURIComponent(String(originalBatchNumber)))
|
|
178
|
+
.replace(`{${"originalBatchClaim"}}`, encodeURIComponent(String(originalBatchClaim)))
|
|
179
|
+
.replace(`{${"referencedBatchNumber"}}`, encodeURIComponent(String(referencedBatchNumber)))
|
|
180
|
+
.replace(`{${"referencedBatchClaim"}}`, encodeURIComponent(String(referencedBatchClaim)))
|
|
181
|
+
.replace(`{${"referenceType"}}`, encodeURIComponent(String(referenceType)));
|
|
182
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
183
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
184
|
+
let baseOptions;
|
|
185
|
+
if (configuration) {
|
|
186
|
+
baseOptions = configuration.baseOptions;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
190
|
+
const localVarHeaderParameter = {} as any;
|
|
191
|
+
const localVarQueryParameter = {} as any;
|
|
192
|
+
|
|
193
|
+
// authentication apiKeyAuth required
|
|
194
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
195
|
+
|
|
196
|
+
// authentication bearerAuth required
|
|
197
|
+
// http bearer authentication required
|
|
198
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
199
|
+
|
|
200
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
201
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
207
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
208
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
209
|
+
|
|
210
|
+
return {
|
|
211
|
+
url: toPathString(localVarUrlObj),
|
|
212
|
+
options: localVarRequestOptions,
|
|
213
|
+
};
|
|
214
|
+
},
|
|
215
|
+
/**
|
|
216
|
+
* Lists all ClaimBatchReference
|
|
217
|
+
* @summary List ClaimBatchReference
|
|
218
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
219
|
+
* @param {number} [page] Page
|
|
220
|
+
* @param {number} [pageSize] Page Size
|
|
221
|
+
* @param {*} [options] Override http request option.
|
|
222
|
+
* @throws {RequiredError}
|
|
223
|
+
*/
|
|
224
|
+
listClaimBatchReference: async (vbasoftwareDatabase: string, page?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
225
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
226
|
+
assertParamExists('listClaimBatchReference', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
227
|
+
const localVarPath = `/claim-batch-references`;
|
|
228
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
229
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
230
|
+
let baseOptions;
|
|
231
|
+
if (configuration) {
|
|
232
|
+
baseOptions = configuration.baseOptions;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
236
|
+
const localVarHeaderParameter = {} as any;
|
|
237
|
+
const localVarQueryParameter = {} as any;
|
|
238
|
+
|
|
239
|
+
// authentication apiKeyAuth required
|
|
240
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
241
|
+
|
|
242
|
+
// authentication bearerAuth required
|
|
243
|
+
// http bearer authentication required
|
|
244
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
245
|
+
|
|
246
|
+
if (page !== undefined) {
|
|
247
|
+
localVarQueryParameter['page'] = page;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
if (pageSize !== undefined) {
|
|
251
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
255
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
261
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
262
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
263
|
+
|
|
264
|
+
return {
|
|
265
|
+
url: toPathString(localVarUrlObj),
|
|
266
|
+
options: localVarRequestOptions,
|
|
267
|
+
};
|
|
268
|
+
},
|
|
269
|
+
/**
|
|
270
|
+
* Create or Update multiple ClaimBatchReference at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
271
|
+
* @summary Create or Update Batch ClaimBatchReference
|
|
272
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
273
|
+
* @param {Array<ClaimBatchReference>} claimBatchReference
|
|
274
|
+
* @param {*} [options] Override http request option.
|
|
275
|
+
* @throws {RequiredError}
|
|
276
|
+
*/
|
|
277
|
+
updateBatchClaimBatchReference: async (vbasoftwareDatabase: string, claimBatchReference: Array<ClaimBatchReference>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
278
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
279
|
+
assertParamExists('updateBatchClaimBatchReference', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
280
|
+
// verify required parameter 'claimBatchReference' is not null or undefined
|
|
281
|
+
assertParamExists('updateBatchClaimBatchReference', 'claimBatchReference', claimBatchReference)
|
|
282
|
+
const localVarPath = `/claim-batch-references-batch`;
|
|
283
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
284
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
285
|
+
let baseOptions;
|
|
286
|
+
if (configuration) {
|
|
287
|
+
baseOptions = configuration.baseOptions;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
291
|
+
const localVarHeaderParameter = {} as any;
|
|
292
|
+
const localVarQueryParameter = {} as any;
|
|
293
|
+
|
|
294
|
+
// authentication apiKeyAuth required
|
|
295
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
296
|
+
|
|
297
|
+
// authentication bearerAuth required
|
|
298
|
+
// http bearer authentication required
|
|
299
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
300
|
+
|
|
301
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
302
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
308
|
+
|
|
309
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
310
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
311
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
312
|
+
localVarRequestOptions.data = serializeDataIfNeeded(claimBatchReference, localVarRequestOptions, configuration)
|
|
313
|
+
|
|
314
|
+
return {
|
|
315
|
+
url: toPathString(localVarUrlObj),
|
|
316
|
+
options: localVarRequestOptions,
|
|
317
|
+
};
|
|
318
|
+
},
|
|
319
|
+
/**
|
|
320
|
+
* Updates a specific ClaimBatchReference.
|
|
321
|
+
* @summary Update ClaimBatchReference
|
|
322
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
323
|
+
* @param {number} originalBatchNumber Original Batch Number
|
|
324
|
+
* @param {number} originalBatchClaim Original Batch Claim
|
|
325
|
+
* @param {number} referencedBatchNumber Referenced Batch Number
|
|
326
|
+
* @param {number} referencedBatchClaim Referenced Batch Claim
|
|
327
|
+
* @param {string} referenceType Reference Type
|
|
328
|
+
* @param {ClaimBatchReference} claimBatchReference
|
|
329
|
+
* @param {*} [options] Override http request option.
|
|
330
|
+
* @throws {RequiredError}
|
|
331
|
+
*/
|
|
332
|
+
updateClaimBatchReference: async (vbasoftwareDatabase: string, originalBatchNumber: number, originalBatchClaim: number, referencedBatchNumber: number, referencedBatchClaim: number, referenceType: string, claimBatchReference: ClaimBatchReference, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
333
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
334
|
+
assertParamExists('updateClaimBatchReference', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
335
|
+
// verify required parameter 'originalBatchNumber' is not null or undefined
|
|
336
|
+
assertParamExists('updateClaimBatchReference', 'originalBatchNumber', originalBatchNumber)
|
|
337
|
+
// verify required parameter 'originalBatchClaim' is not null or undefined
|
|
338
|
+
assertParamExists('updateClaimBatchReference', 'originalBatchClaim', originalBatchClaim)
|
|
339
|
+
// verify required parameter 'referencedBatchNumber' is not null or undefined
|
|
340
|
+
assertParamExists('updateClaimBatchReference', 'referencedBatchNumber', referencedBatchNumber)
|
|
341
|
+
// verify required parameter 'referencedBatchClaim' is not null or undefined
|
|
342
|
+
assertParamExists('updateClaimBatchReference', 'referencedBatchClaim', referencedBatchClaim)
|
|
343
|
+
// verify required parameter 'referenceType' is not null or undefined
|
|
344
|
+
assertParamExists('updateClaimBatchReference', 'referenceType', referenceType)
|
|
345
|
+
// verify required parameter 'claimBatchReference' is not null or undefined
|
|
346
|
+
assertParamExists('updateClaimBatchReference', 'claimBatchReference', claimBatchReference)
|
|
347
|
+
const localVarPath = `/claim-batch-references/{originalBatchNumber}/{originalBatchClaim}/{referencedBatchNumber}/{referencedBatchClaim}/{referenceType}`
|
|
348
|
+
.replace(`{${"originalBatchNumber"}}`, encodeURIComponent(String(originalBatchNumber)))
|
|
349
|
+
.replace(`{${"originalBatchClaim"}}`, encodeURIComponent(String(originalBatchClaim)))
|
|
350
|
+
.replace(`{${"referencedBatchNumber"}}`, encodeURIComponent(String(referencedBatchNumber)))
|
|
351
|
+
.replace(`{${"referencedBatchClaim"}}`, encodeURIComponent(String(referencedBatchClaim)))
|
|
352
|
+
.replace(`{${"referenceType"}}`, encodeURIComponent(String(referenceType)));
|
|
353
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
354
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
355
|
+
let baseOptions;
|
|
356
|
+
if (configuration) {
|
|
357
|
+
baseOptions = configuration.baseOptions;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
361
|
+
const localVarHeaderParameter = {} as any;
|
|
362
|
+
const localVarQueryParameter = {} as any;
|
|
363
|
+
|
|
364
|
+
// authentication apiKeyAuth required
|
|
365
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
366
|
+
|
|
367
|
+
// authentication bearerAuth required
|
|
368
|
+
// http bearer authentication required
|
|
369
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
370
|
+
|
|
371
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
372
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
378
|
+
|
|
379
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
380
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
381
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
382
|
+
localVarRequestOptions.data = serializeDataIfNeeded(claimBatchReference, localVarRequestOptions, configuration)
|
|
383
|
+
|
|
384
|
+
return {
|
|
385
|
+
url: toPathString(localVarUrlObj),
|
|
386
|
+
options: localVarRequestOptions,
|
|
387
|
+
};
|
|
388
|
+
},
|
|
389
|
+
}
|
|
390
|
+
};
|
|
391
|
+
|
|
392
|
+
/**
|
|
393
|
+
* ClaimBatchReferencesApi - functional programming interface
|
|
394
|
+
* @export
|
|
395
|
+
*/
|
|
396
|
+
export const ClaimBatchReferencesApiFp = function(configuration?: Configuration) {
|
|
397
|
+
const localVarAxiosParamCreator = ClaimBatchReferencesApiAxiosParamCreator(configuration)
|
|
398
|
+
return {
|
|
399
|
+
/**
|
|
400
|
+
* Creates a new ClaimBatchReference
|
|
401
|
+
* @summary Create ClaimBatchReference
|
|
402
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
403
|
+
* @param {ClaimBatchReference} claimBatchReference
|
|
404
|
+
* @param {*} [options] Override http request option.
|
|
405
|
+
* @throws {RequiredError}
|
|
406
|
+
*/
|
|
407
|
+
async createClaimBatchReference(vbasoftwareDatabase: string, claimBatchReference: ClaimBatchReference, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClaimBatchReferenceVBAResponse>> {
|
|
408
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createClaimBatchReference(vbasoftwareDatabase, claimBatchReference, options);
|
|
409
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
410
|
+
},
|
|
411
|
+
/**
|
|
412
|
+
* Deletes an ClaimBatchReference
|
|
413
|
+
* @summary Delete ClaimBatchReference
|
|
414
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
415
|
+
* @param {number} originalBatchNumber Original Batch Number
|
|
416
|
+
* @param {number} originalBatchClaim Original Batch Claim
|
|
417
|
+
* @param {number} referencedBatchNumber Referenced Batch Number
|
|
418
|
+
* @param {number} referencedBatchClaim Referenced Batch Claim
|
|
419
|
+
* @param {string} referenceType Reference Type
|
|
420
|
+
* @param {*} [options] Override http request option.
|
|
421
|
+
* @throws {RequiredError}
|
|
422
|
+
*/
|
|
423
|
+
async deleteClaimBatchReference(vbasoftwareDatabase: string, originalBatchNumber: number, originalBatchClaim: number, referencedBatchNumber: number, referencedBatchClaim: number, referenceType: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
424
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClaimBatchReference(vbasoftwareDatabase, originalBatchNumber, originalBatchClaim, referencedBatchNumber, referencedBatchClaim, referenceType, options);
|
|
425
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
426
|
+
},
|
|
427
|
+
/**
|
|
428
|
+
* Gets ClaimBatchReference
|
|
429
|
+
* @summary Get ClaimBatchReference
|
|
430
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
431
|
+
* @param {number} originalBatchNumber Original Batch Number
|
|
432
|
+
* @param {number} originalBatchClaim Original Batch Claim
|
|
433
|
+
* @param {number} referencedBatchNumber Referenced Batch Number
|
|
434
|
+
* @param {number} referencedBatchClaim Referenced Batch Claim
|
|
435
|
+
* @param {string} referenceType Reference Type
|
|
436
|
+
* @param {*} [options] Override http request option.
|
|
437
|
+
* @throws {RequiredError}
|
|
438
|
+
*/
|
|
439
|
+
async getClaimBatchReference(vbasoftwareDatabase: string, originalBatchNumber: number, originalBatchClaim: number, referencedBatchNumber: number, referencedBatchClaim: number, referenceType: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClaimBatchReferenceVBAResponse>> {
|
|
440
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimBatchReference(vbasoftwareDatabase, originalBatchNumber, originalBatchClaim, referencedBatchNumber, referencedBatchClaim, referenceType, options);
|
|
441
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
442
|
+
},
|
|
443
|
+
/**
|
|
444
|
+
* Lists all ClaimBatchReference
|
|
445
|
+
* @summary List ClaimBatchReference
|
|
446
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
447
|
+
* @param {number} [page] Page
|
|
448
|
+
* @param {number} [pageSize] Page Size
|
|
449
|
+
* @param {*} [options] Override http request option.
|
|
450
|
+
* @throws {RequiredError}
|
|
451
|
+
*/
|
|
452
|
+
async listClaimBatchReference(vbasoftwareDatabase: string, page?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClaimBatchReferenceListVBAResponse>> {
|
|
453
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimBatchReference(vbasoftwareDatabase, page, pageSize, options);
|
|
454
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
455
|
+
},
|
|
456
|
+
/**
|
|
457
|
+
* Create or Update multiple ClaimBatchReference at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
458
|
+
* @summary Create or Update Batch ClaimBatchReference
|
|
459
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
460
|
+
* @param {Array<ClaimBatchReference>} claimBatchReference
|
|
461
|
+
* @param {*} [options] Override http request option.
|
|
462
|
+
* @throws {RequiredError}
|
|
463
|
+
*/
|
|
464
|
+
async updateBatchClaimBatchReference(vbasoftwareDatabase: string, claimBatchReference: Array<ClaimBatchReference>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MultiCodeResponseListVBAResponse>> {
|
|
465
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateBatchClaimBatchReference(vbasoftwareDatabase, claimBatchReference, options);
|
|
466
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
467
|
+
},
|
|
468
|
+
/**
|
|
469
|
+
* Updates a specific ClaimBatchReference.
|
|
470
|
+
* @summary Update ClaimBatchReference
|
|
471
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
472
|
+
* @param {number} originalBatchNumber Original Batch Number
|
|
473
|
+
* @param {number} originalBatchClaim Original Batch Claim
|
|
474
|
+
* @param {number} referencedBatchNumber Referenced Batch Number
|
|
475
|
+
* @param {number} referencedBatchClaim Referenced Batch Claim
|
|
476
|
+
* @param {string} referenceType Reference Type
|
|
477
|
+
* @param {ClaimBatchReference} claimBatchReference
|
|
478
|
+
* @param {*} [options] Override http request option.
|
|
479
|
+
* @throws {RequiredError}
|
|
480
|
+
*/
|
|
481
|
+
async updateClaimBatchReference(vbasoftwareDatabase: string, originalBatchNumber: number, originalBatchClaim: number, referencedBatchNumber: number, referencedBatchClaim: number, referenceType: string, claimBatchReference: ClaimBatchReference, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClaimBatchReferenceVBAResponse>> {
|
|
482
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaimBatchReference(vbasoftwareDatabase, originalBatchNumber, originalBatchClaim, referencedBatchNumber, referencedBatchClaim, referenceType, claimBatchReference, options);
|
|
483
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
484
|
+
},
|
|
485
|
+
}
|
|
486
|
+
};
|
|
487
|
+
|
|
488
|
+
/**
|
|
489
|
+
* ClaimBatchReferencesApi - factory interface
|
|
490
|
+
* @export
|
|
491
|
+
*/
|
|
492
|
+
export const ClaimBatchReferencesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
493
|
+
const localVarFp = ClaimBatchReferencesApiFp(configuration)
|
|
494
|
+
return {
|
|
495
|
+
/**
|
|
496
|
+
* Creates a new ClaimBatchReference
|
|
497
|
+
* @summary Create ClaimBatchReference
|
|
498
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
499
|
+
* @param {ClaimBatchReference} claimBatchReference
|
|
500
|
+
* @param {*} [options] Override http request option.
|
|
501
|
+
* @throws {RequiredError}
|
|
502
|
+
*/
|
|
503
|
+
createClaimBatchReference(vbasoftwareDatabase: string, claimBatchReference: ClaimBatchReference, options?: any): AxiosPromise<ClaimBatchReferenceVBAResponse> {
|
|
504
|
+
return localVarFp.createClaimBatchReference(vbasoftwareDatabase, claimBatchReference, options).then((request) => request(axios, basePath));
|
|
505
|
+
},
|
|
506
|
+
/**
|
|
507
|
+
* Deletes an ClaimBatchReference
|
|
508
|
+
* @summary Delete ClaimBatchReference
|
|
509
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
510
|
+
* @param {number} originalBatchNumber Original Batch Number
|
|
511
|
+
* @param {number} originalBatchClaim Original Batch Claim
|
|
512
|
+
* @param {number} referencedBatchNumber Referenced Batch Number
|
|
513
|
+
* @param {number} referencedBatchClaim Referenced Batch Claim
|
|
514
|
+
* @param {string} referenceType Reference Type
|
|
515
|
+
* @param {*} [options] Override http request option.
|
|
516
|
+
* @throws {RequiredError}
|
|
517
|
+
*/
|
|
518
|
+
deleteClaimBatchReference(vbasoftwareDatabase: string, originalBatchNumber: number, originalBatchClaim: number, referencedBatchNumber: number, referencedBatchClaim: number, referenceType: string, options?: any): AxiosPromise<void> {
|
|
519
|
+
return localVarFp.deleteClaimBatchReference(vbasoftwareDatabase, originalBatchNumber, originalBatchClaim, referencedBatchNumber, referencedBatchClaim, referenceType, options).then((request) => request(axios, basePath));
|
|
520
|
+
},
|
|
521
|
+
/**
|
|
522
|
+
* Gets ClaimBatchReference
|
|
523
|
+
* @summary Get ClaimBatchReference
|
|
524
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
525
|
+
* @param {number} originalBatchNumber Original Batch Number
|
|
526
|
+
* @param {number} originalBatchClaim Original Batch Claim
|
|
527
|
+
* @param {number} referencedBatchNumber Referenced Batch Number
|
|
528
|
+
* @param {number} referencedBatchClaim Referenced Batch Claim
|
|
529
|
+
* @param {string} referenceType Reference Type
|
|
530
|
+
* @param {*} [options] Override http request option.
|
|
531
|
+
* @throws {RequiredError}
|
|
532
|
+
*/
|
|
533
|
+
getClaimBatchReference(vbasoftwareDatabase: string, originalBatchNumber: number, originalBatchClaim: number, referencedBatchNumber: number, referencedBatchClaim: number, referenceType: string, options?: any): AxiosPromise<ClaimBatchReferenceVBAResponse> {
|
|
534
|
+
return localVarFp.getClaimBatchReference(vbasoftwareDatabase, originalBatchNumber, originalBatchClaim, referencedBatchNumber, referencedBatchClaim, referenceType, options).then((request) => request(axios, basePath));
|
|
535
|
+
},
|
|
536
|
+
/**
|
|
537
|
+
* Lists all ClaimBatchReference
|
|
538
|
+
* @summary List ClaimBatchReference
|
|
539
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
540
|
+
* @param {number} [page] Page
|
|
541
|
+
* @param {number} [pageSize] Page Size
|
|
542
|
+
* @param {*} [options] Override http request option.
|
|
543
|
+
* @throws {RequiredError}
|
|
544
|
+
*/
|
|
545
|
+
listClaimBatchReference(vbasoftwareDatabase: string, page?: number, pageSize?: number, options?: any): AxiosPromise<ClaimBatchReferenceListVBAResponse> {
|
|
546
|
+
return localVarFp.listClaimBatchReference(vbasoftwareDatabase, page, pageSize, options).then((request) => request(axios, basePath));
|
|
547
|
+
},
|
|
548
|
+
/**
|
|
549
|
+
* Create or Update multiple ClaimBatchReference at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
550
|
+
* @summary Create or Update Batch ClaimBatchReference
|
|
551
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
552
|
+
* @param {Array<ClaimBatchReference>} claimBatchReference
|
|
553
|
+
* @param {*} [options] Override http request option.
|
|
554
|
+
* @throws {RequiredError}
|
|
555
|
+
*/
|
|
556
|
+
updateBatchClaimBatchReference(vbasoftwareDatabase: string, claimBatchReference: Array<ClaimBatchReference>, options?: any): AxiosPromise<MultiCodeResponseListVBAResponse> {
|
|
557
|
+
return localVarFp.updateBatchClaimBatchReference(vbasoftwareDatabase, claimBatchReference, options).then((request) => request(axios, basePath));
|
|
558
|
+
},
|
|
559
|
+
/**
|
|
560
|
+
* Updates a specific ClaimBatchReference.
|
|
561
|
+
* @summary Update ClaimBatchReference
|
|
562
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
563
|
+
* @param {number} originalBatchNumber Original Batch Number
|
|
564
|
+
* @param {number} originalBatchClaim Original Batch Claim
|
|
565
|
+
* @param {number} referencedBatchNumber Referenced Batch Number
|
|
566
|
+
* @param {number} referencedBatchClaim Referenced Batch Claim
|
|
567
|
+
* @param {string} referenceType Reference Type
|
|
568
|
+
* @param {ClaimBatchReference} claimBatchReference
|
|
569
|
+
* @param {*} [options] Override http request option.
|
|
570
|
+
* @throws {RequiredError}
|
|
571
|
+
*/
|
|
572
|
+
updateClaimBatchReference(vbasoftwareDatabase: string, originalBatchNumber: number, originalBatchClaim: number, referencedBatchNumber: number, referencedBatchClaim: number, referenceType: string, claimBatchReference: ClaimBatchReference, options?: any): AxiosPromise<ClaimBatchReferenceVBAResponse> {
|
|
573
|
+
return localVarFp.updateClaimBatchReference(vbasoftwareDatabase, originalBatchNumber, originalBatchClaim, referencedBatchNumber, referencedBatchClaim, referenceType, claimBatchReference, options).then((request) => request(axios, basePath));
|
|
574
|
+
},
|
|
575
|
+
};
|
|
576
|
+
};
|
|
577
|
+
|
|
578
|
+
/**
|
|
579
|
+
* ClaimBatchReferencesApi - interface
|
|
580
|
+
* @export
|
|
581
|
+
* @interface ClaimBatchReferencesApi
|
|
582
|
+
*/
|
|
583
|
+
export interface ClaimBatchReferencesApiInterface {
|
|
584
|
+
/**
|
|
585
|
+
* Creates a new ClaimBatchReference
|
|
586
|
+
* @summary Create ClaimBatchReference
|
|
587
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
588
|
+
* @param {ClaimBatchReference} claimBatchReference
|
|
589
|
+
* @param {*} [options] Override http request option.
|
|
590
|
+
* @throws {RequiredError}
|
|
591
|
+
* @memberof ClaimBatchReferencesApiInterface
|
|
592
|
+
*/
|
|
593
|
+
createClaimBatchReference(vbasoftwareDatabase: string, claimBatchReference: ClaimBatchReference, options?: AxiosRequestConfig): AxiosPromise<ClaimBatchReferenceVBAResponse>;
|
|
594
|
+
|
|
595
|
+
/**
|
|
596
|
+
* Deletes an ClaimBatchReference
|
|
597
|
+
* @summary Delete ClaimBatchReference
|
|
598
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
599
|
+
* @param {number} originalBatchNumber Original Batch Number
|
|
600
|
+
* @param {number} originalBatchClaim Original Batch Claim
|
|
601
|
+
* @param {number} referencedBatchNumber Referenced Batch Number
|
|
602
|
+
* @param {number} referencedBatchClaim Referenced Batch Claim
|
|
603
|
+
* @param {string} referenceType Reference Type
|
|
604
|
+
* @param {*} [options] Override http request option.
|
|
605
|
+
* @throws {RequiredError}
|
|
606
|
+
* @memberof ClaimBatchReferencesApiInterface
|
|
607
|
+
*/
|
|
608
|
+
deleteClaimBatchReference(vbasoftwareDatabase: string, originalBatchNumber: number, originalBatchClaim: number, referencedBatchNumber: number, referencedBatchClaim: number, referenceType: string, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
609
|
+
|
|
610
|
+
/**
|
|
611
|
+
* Gets ClaimBatchReference
|
|
612
|
+
* @summary Get ClaimBatchReference
|
|
613
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
614
|
+
* @param {number} originalBatchNumber Original Batch Number
|
|
615
|
+
* @param {number} originalBatchClaim Original Batch Claim
|
|
616
|
+
* @param {number} referencedBatchNumber Referenced Batch Number
|
|
617
|
+
* @param {number} referencedBatchClaim Referenced Batch Claim
|
|
618
|
+
* @param {string} referenceType Reference Type
|
|
619
|
+
* @param {*} [options] Override http request option.
|
|
620
|
+
* @throws {RequiredError}
|
|
621
|
+
* @memberof ClaimBatchReferencesApiInterface
|
|
622
|
+
*/
|
|
623
|
+
getClaimBatchReference(vbasoftwareDatabase: string, originalBatchNumber: number, originalBatchClaim: number, referencedBatchNumber: number, referencedBatchClaim: number, referenceType: string, options?: AxiosRequestConfig): AxiosPromise<ClaimBatchReferenceVBAResponse>;
|
|
624
|
+
|
|
625
|
+
/**
|
|
626
|
+
* Lists all ClaimBatchReference
|
|
627
|
+
* @summary List ClaimBatchReference
|
|
628
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
629
|
+
* @param {number} [page] Page
|
|
630
|
+
* @param {number} [pageSize] Page Size
|
|
631
|
+
* @param {*} [options] Override http request option.
|
|
632
|
+
* @throws {RequiredError}
|
|
633
|
+
* @memberof ClaimBatchReferencesApiInterface
|
|
634
|
+
*/
|
|
635
|
+
listClaimBatchReference(vbasoftwareDatabase: string, page?: number, pageSize?: number, options?: AxiosRequestConfig): AxiosPromise<ClaimBatchReferenceListVBAResponse>;
|
|
636
|
+
|
|
637
|
+
/**
|
|
638
|
+
* Create or Update multiple ClaimBatchReference at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
639
|
+
* @summary Create or Update Batch ClaimBatchReference
|
|
640
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
641
|
+
* @param {Array<ClaimBatchReference>} claimBatchReference
|
|
642
|
+
* @param {*} [options] Override http request option.
|
|
643
|
+
* @throws {RequiredError}
|
|
644
|
+
* @memberof ClaimBatchReferencesApiInterface
|
|
645
|
+
*/
|
|
646
|
+
updateBatchClaimBatchReference(vbasoftwareDatabase: string, claimBatchReference: Array<ClaimBatchReference>, options?: AxiosRequestConfig): AxiosPromise<MultiCodeResponseListVBAResponse>;
|
|
647
|
+
|
|
648
|
+
/**
|
|
649
|
+
* Updates a specific ClaimBatchReference.
|
|
650
|
+
* @summary Update ClaimBatchReference
|
|
651
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
652
|
+
* @param {number} originalBatchNumber Original Batch Number
|
|
653
|
+
* @param {number} originalBatchClaim Original Batch Claim
|
|
654
|
+
* @param {number} referencedBatchNumber Referenced Batch Number
|
|
655
|
+
* @param {number} referencedBatchClaim Referenced Batch Claim
|
|
656
|
+
* @param {string} referenceType Reference Type
|
|
657
|
+
* @param {ClaimBatchReference} claimBatchReference
|
|
658
|
+
* @param {*} [options] Override http request option.
|
|
659
|
+
* @throws {RequiredError}
|
|
660
|
+
* @memberof ClaimBatchReferencesApiInterface
|
|
661
|
+
*/
|
|
662
|
+
updateClaimBatchReference(vbasoftwareDatabase: string, originalBatchNumber: number, originalBatchClaim: number, referencedBatchNumber: number, referencedBatchClaim: number, referenceType: string, claimBatchReference: ClaimBatchReference, options?: AxiosRequestConfig): AxiosPromise<ClaimBatchReferenceVBAResponse>;
|
|
663
|
+
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
/**
|
|
667
|
+
* ClaimBatchReferencesApi - object-oriented interface
|
|
668
|
+
* @export
|
|
669
|
+
* @class ClaimBatchReferencesApi
|
|
670
|
+
* @extends {BaseAPI}
|
|
671
|
+
*/
|
|
672
|
+
export class ClaimBatchReferencesApi extends BaseAPI implements ClaimBatchReferencesApiInterface {
|
|
673
|
+
/**
|
|
674
|
+
* Creates a new ClaimBatchReference
|
|
675
|
+
* @summary Create ClaimBatchReference
|
|
676
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
677
|
+
* @param {ClaimBatchReference} claimBatchReference
|
|
678
|
+
* @param {*} [options] Override http request option.
|
|
679
|
+
* @throws {RequiredError}
|
|
680
|
+
* @memberof ClaimBatchReferencesApi
|
|
681
|
+
*/
|
|
682
|
+
public createClaimBatchReference(vbasoftwareDatabase: string, claimBatchReference: ClaimBatchReference, options?: AxiosRequestConfig) {
|
|
683
|
+
return ClaimBatchReferencesApiFp(this.configuration).createClaimBatchReference(vbasoftwareDatabase, claimBatchReference, options).then((request) => request(this.axios, this.basePath));
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
/**
|
|
687
|
+
* Deletes an ClaimBatchReference
|
|
688
|
+
* @summary Delete ClaimBatchReference
|
|
689
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
690
|
+
* @param {number} originalBatchNumber Original Batch Number
|
|
691
|
+
* @param {number} originalBatchClaim Original Batch Claim
|
|
692
|
+
* @param {number} referencedBatchNumber Referenced Batch Number
|
|
693
|
+
* @param {number} referencedBatchClaim Referenced Batch Claim
|
|
694
|
+
* @param {string} referenceType Reference Type
|
|
695
|
+
* @param {*} [options] Override http request option.
|
|
696
|
+
* @throws {RequiredError}
|
|
697
|
+
* @memberof ClaimBatchReferencesApi
|
|
698
|
+
*/
|
|
699
|
+
public deleteClaimBatchReference(vbasoftwareDatabase: string, originalBatchNumber: number, originalBatchClaim: number, referencedBatchNumber: number, referencedBatchClaim: number, referenceType: string, options?: AxiosRequestConfig) {
|
|
700
|
+
return ClaimBatchReferencesApiFp(this.configuration).deleteClaimBatchReference(vbasoftwareDatabase, originalBatchNumber, originalBatchClaim, referencedBatchNumber, referencedBatchClaim, referenceType, options).then((request) => request(this.axios, this.basePath));
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
/**
|
|
704
|
+
* Gets ClaimBatchReference
|
|
705
|
+
* @summary Get ClaimBatchReference
|
|
706
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
707
|
+
* @param {number} originalBatchNumber Original Batch Number
|
|
708
|
+
* @param {number} originalBatchClaim Original Batch Claim
|
|
709
|
+
* @param {number} referencedBatchNumber Referenced Batch Number
|
|
710
|
+
* @param {number} referencedBatchClaim Referenced Batch Claim
|
|
711
|
+
* @param {string} referenceType Reference Type
|
|
712
|
+
* @param {*} [options] Override http request option.
|
|
713
|
+
* @throws {RequiredError}
|
|
714
|
+
* @memberof ClaimBatchReferencesApi
|
|
715
|
+
*/
|
|
716
|
+
public getClaimBatchReference(vbasoftwareDatabase: string, originalBatchNumber: number, originalBatchClaim: number, referencedBatchNumber: number, referencedBatchClaim: number, referenceType: string, options?: AxiosRequestConfig) {
|
|
717
|
+
return ClaimBatchReferencesApiFp(this.configuration).getClaimBatchReference(vbasoftwareDatabase, originalBatchNumber, originalBatchClaim, referencedBatchNumber, referencedBatchClaim, referenceType, options).then((request) => request(this.axios, this.basePath));
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
/**
|
|
721
|
+
* Lists all ClaimBatchReference
|
|
722
|
+
* @summary List ClaimBatchReference
|
|
723
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
724
|
+
* @param {number} [page] Page
|
|
725
|
+
* @param {number} [pageSize] Page Size
|
|
726
|
+
* @param {*} [options] Override http request option.
|
|
727
|
+
* @throws {RequiredError}
|
|
728
|
+
* @memberof ClaimBatchReferencesApi
|
|
729
|
+
*/
|
|
730
|
+
public listClaimBatchReference(vbasoftwareDatabase: string, page?: number, pageSize?: number, options?: AxiosRequestConfig) {
|
|
731
|
+
return ClaimBatchReferencesApiFp(this.configuration).listClaimBatchReference(vbasoftwareDatabase, page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
/**
|
|
735
|
+
* Create or Update multiple ClaimBatchReference at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
736
|
+
* @summary Create or Update Batch ClaimBatchReference
|
|
737
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
738
|
+
* @param {Array<ClaimBatchReference>} claimBatchReference
|
|
739
|
+
* @param {*} [options] Override http request option.
|
|
740
|
+
* @throws {RequiredError}
|
|
741
|
+
* @memberof ClaimBatchReferencesApi
|
|
742
|
+
*/
|
|
743
|
+
public updateBatchClaimBatchReference(vbasoftwareDatabase: string, claimBatchReference: Array<ClaimBatchReference>, options?: AxiosRequestConfig) {
|
|
744
|
+
return ClaimBatchReferencesApiFp(this.configuration).updateBatchClaimBatchReference(vbasoftwareDatabase, claimBatchReference, options).then((request) => request(this.axios, this.basePath));
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
/**
|
|
748
|
+
* Updates a specific ClaimBatchReference.
|
|
749
|
+
* @summary Update ClaimBatchReference
|
|
750
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
751
|
+
* @param {number} originalBatchNumber Original Batch Number
|
|
752
|
+
* @param {number} originalBatchClaim Original Batch Claim
|
|
753
|
+
* @param {number} referencedBatchNumber Referenced Batch Number
|
|
754
|
+
* @param {number} referencedBatchClaim Referenced Batch Claim
|
|
755
|
+
* @param {string} referenceType Reference Type
|
|
756
|
+
* @param {ClaimBatchReference} claimBatchReference
|
|
757
|
+
* @param {*} [options] Override http request option.
|
|
758
|
+
* @throws {RequiredError}
|
|
759
|
+
* @memberof ClaimBatchReferencesApi
|
|
760
|
+
*/
|
|
761
|
+
public updateClaimBatchReference(vbasoftwareDatabase: string, originalBatchNumber: number, originalBatchClaim: number, referencedBatchNumber: number, referencedBatchClaim: number, referenceType: string, claimBatchReference: ClaimBatchReference, options?: AxiosRequestConfig) {
|
|
762
|
+
return ClaimBatchReferencesApiFp(this.configuration).updateClaimBatchReference(vbasoftwareDatabase, originalBatchNumber, originalBatchClaim, referencedBatchNumber, referencedBatchClaim, referenceType, claimBatchReference, options).then((request) => request(this.axios, this.basePath));
|
|
763
|
+
}
|
|
764
|
+
}
|