@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,725 @@
|
|
|
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 { ClaimInvoicePayment } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { ClaimInvoicePaymentListVBAResponse } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { ClaimInvoicePaymentVBAResponse } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { MultiCodeResponseListVBAResponse } from '../models';
|
|
31
|
+
/**
|
|
32
|
+
* ClaimInvoicePaymentsApi - axios parameter creator
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export const ClaimInvoicePaymentsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36
|
+
return {
|
|
37
|
+
/**
|
|
38
|
+
* Creates a new ClaimInvoicePayment
|
|
39
|
+
* @summary Create ClaimInvoicePayment
|
|
40
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
41
|
+
* @param {number} invoiceKey Invoice Key
|
|
42
|
+
* @param {ClaimInvoicePayment} claimInvoicePayment
|
|
43
|
+
* @param {*} [options] Override http request option.
|
|
44
|
+
* @throws {RequiredError}
|
|
45
|
+
*/
|
|
46
|
+
createClaimInvoicePayment: async (vbasoftwareDatabase: string, invoiceKey: number, claimInvoicePayment: ClaimInvoicePayment, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
47
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
48
|
+
assertParamExists('createClaimInvoicePayment', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
49
|
+
// verify required parameter 'invoiceKey' is not null or undefined
|
|
50
|
+
assertParamExists('createClaimInvoicePayment', 'invoiceKey', invoiceKey)
|
|
51
|
+
// verify required parameter 'claimInvoicePayment' is not null or undefined
|
|
52
|
+
assertParamExists('createClaimInvoicePayment', 'claimInvoicePayment', claimInvoicePayment)
|
|
53
|
+
const localVarPath = `/claim-invoice/{invoiceKey}/payments`
|
|
54
|
+
.replace(`{${"invoiceKey"}}`, encodeURIComponent(String(invoiceKey)));
|
|
55
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
56
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
57
|
+
let baseOptions;
|
|
58
|
+
if (configuration) {
|
|
59
|
+
baseOptions = configuration.baseOptions;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
63
|
+
const localVarHeaderParameter = {} as any;
|
|
64
|
+
const localVarQueryParameter = {} as any;
|
|
65
|
+
|
|
66
|
+
// authentication apiKeyAuth required
|
|
67
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
68
|
+
|
|
69
|
+
// authentication bearerAuth required
|
|
70
|
+
// http bearer authentication required
|
|
71
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
72
|
+
|
|
73
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
74
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
80
|
+
|
|
81
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
82
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
83
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
84
|
+
localVarRequestOptions.data = serializeDataIfNeeded(claimInvoicePayment, localVarRequestOptions, configuration)
|
|
85
|
+
|
|
86
|
+
return {
|
|
87
|
+
url: toPathString(localVarUrlObj),
|
|
88
|
+
options: localVarRequestOptions,
|
|
89
|
+
};
|
|
90
|
+
},
|
|
91
|
+
/**
|
|
92
|
+
* Deletes an ClaimInvoicePayment
|
|
93
|
+
* @summary Delete ClaimInvoicePayment
|
|
94
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
95
|
+
* @param {number} invoiceKey Invoice Key
|
|
96
|
+
* @param {number} claimPaymentKey ClaimPayment Key
|
|
97
|
+
* @param {*} [options] Override http request option.
|
|
98
|
+
* @throws {RequiredError}
|
|
99
|
+
*/
|
|
100
|
+
deleteClaimInvoicePayment: async (vbasoftwareDatabase: string, invoiceKey: number, claimPaymentKey: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
101
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
102
|
+
assertParamExists('deleteClaimInvoicePayment', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
103
|
+
// verify required parameter 'invoiceKey' is not null or undefined
|
|
104
|
+
assertParamExists('deleteClaimInvoicePayment', 'invoiceKey', invoiceKey)
|
|
105
|
+
// verify required parameter 'claimPaymentKey' is not null or undefined
|
|
106
|
+
assertParamExists('deleteClaimInvoicePayment', 'claimPaymentKey', claimPaymentKey)
|
|
107
|
+
const localVarPath = `/claim-invoice/{invoiceKey}/payments/{claimPaymentKey}`
|
|
108
|
+
.replace(`{${"invoiceKey"}}`, encodeURIComponent(String(invoiceKey)))
|
|
109
|
+
.replace(`{${"claimPaymentKey"}}`, encodeURIComponent(String(claimPaymentKey)));
|
|
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 ClaimInvoicePayment
|
|
145
|
+
* @summary Get ClaimInvoicePayment
|
|
146
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
147
|
+
* @param {number} invoiceKey Invoice Key
|
|
148
|
+
* @param {number} claimPaymentKey ClaimPayment Key
|
|
149
|
+
* @param {*} [options] Override http request option.
|
|
150
|
+
* @throws {RequiredError}
|
|
151
|
+
*/
|
|
152
|
+
getClaimInvoicePayment: async (vbasoftwareDatabase: string, invoiceKey: number, claimPaymentKey: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
153
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
154
|
+
assertParamExists('getClaimInvoicePayment', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
155
|
+
// verify required parameter 'invoiceKey' is not null or undefined
|
|
156
|
+
assertParamExists('getClaimInvoicePayment', 'invoiceKey', invoiceKey)
|
|
157
|
+
// verify required parameter 'claimPaymentKey' is not null or undefined
|
|
158
|
+
assertParamExists('getClaimInvoicePayment', 'claimPaymentKey', claimPaymentKey)
|
|
159
|
+
const localVarPath = `/claim-invoice/{invoiceKey}/payments/{claimPaymentKey}`
|
|
160
|
+
.replace(`{${"invoiceKey"}}`, encodeURIComponent(String(invoiceKey)))
|
|
161
|
+
.replace(`{${"claimPaymentKey"}}`, encodeURIComponent(String(claimPaymentKey)));
|
|
162
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
163
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
164
|
+
let baseOptions;
|
|
165
|
+
if (configuration) {
|
|
166
|
+
baseOptions = configuration.baseOptions;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
170
|
+
const localVarHeaderParameter = {} as any;
|
|
171
|
+
const localVarQueryParameter = {} as any;
|
|
172
|
+
|
|
173
|
+
// authentication apiKeyAuth required
|
|
174
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
175
|
+
|
|
176
|
+
// authentication bearerAuth required
|
|
177
|
+
// http bearer authentication required
|
|
178
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
179
|
+
|
|
180
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
181
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
187
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
188
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
189
|
+
|
|
190
|
+
return {
|
|
191
|
+
url: toPathString(localVarUrlObj),
|
|
192
|
+
options: localVarRequestOptions,
|
|
193
|
+
};
|
|
194
|
+
},
|
|
195
|
+
/**
|
|
196
|
+
* Lists all ClaimInvoicePayment for the given invoiceKey
|
|
197
|
+
* @summary List ClaimInvoicePayment
|
|
198
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
199
|
+
* @param {number} invoiceKey Invoice Key
|
|
200
|
+
* @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.
|
|
201
|
+
* @param {number} [page] Page
|
|
202
|
+
* @param {number} [pageSize] Page Size
|
|
203
|
+
* @param {*} [options] Override http request option.
|
|
204
|
+
* @throws {RequiredError}
|
|
205
|
+
*/
|
|
206
|
+
listClaimInvoicePayment: async (vbasoftwareDatabase: string, invoiceKey: number, sortBy?: string, page?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
207
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
208
|
+
assertParamExists('listClaimInvoicePayment', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
209
|
+
// verify required parameter 'invoiceKey' is not null or undefined
|
|
210
|
+
assertParamExists('listClaimInvoicePayment', 'invoiceKey', invoiceKey)
|
|
211
|
+
const localVarPath = `/claim-invoice/{invoiceKey}/payments`
|
|
212
|
+
.replace(`{${"invoiceKey"}}`, encodeURIComponent(String(invoiceKey)));
|
|
213
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
214
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
215
|
+
let baseOptions;
|
|
216
|
+
if (configuration) {
|
|
217
|
+
baseOptions = configuration.baseOptions;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
221
|
+
const localVarHeaderParameter = {} as any;
|
|
222
|
+
const localVarQueryParameter = {} as any;
|
|
223
|
+
|
|
224
|
+
// authentication apiKeyAuth required
|
|
225
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
226
|
+
|
|
227
|
+
// authentication bearerAuth required
|
|
228
|
+
// http bearer authentication required
|
|
229
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
230
|
+
|
|
231
|
+
if (sortBy !== undefined) {
|
|
232
|
+
localVarQueryParameter['sortBy'] = sortBy;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
if (page !== undefined) {
|
|
236
|
+
localVarQueryParameter['page'] = page;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
if (pageSize !== undefined) {
|
|
240
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
244
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
250
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
251
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
252
|
+
|
|
253
|
+
return {
|
|
254
|
+
url: toPathString(localVarUrlObj),
|
|
255
|
+
options: localVarRequestOptions,
|
|
256
|
+
};
|
|
257
|
+
},
|
|
258
|
+
/**
|
|
259
|
+
* Create or Update multiple ClaimInvoicePayment at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
260
|
+
* @summary Create or Update Batch ClaimInvoicePayment
|
|
261
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
262
|
+
* @param {number} invoiceKey Invoice Key
|
|
263
|
+
* @param {Array<ClaimInvoicePayment>} claimInvoicePayment
|
|
264
|
+
* @param {*} [options] Override http request option.
|
|
265
|
+
* @throws {RequiredError}
|
|
266
|
+
*/
|
|
267
|
+
updateBatchClaimInvoicePayment: async (vbasoftwareDatabase: string, invoiceKey: number, claimInvoicePayment: Array<ClaimInvoicePayment>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
268
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
269
|
+
assertParamExists('updateBatchClaimInvoicePayment', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
270
|
+
// verify required parameter 'invoiceKey' is not null or undefined
|
|
271
|
+
assertParamExists('updateBatchClaimInvoicePayment', 'invoiceKey', invoiceKey)
|
|
272
|
+
// verify required parameter 'claimInvoicePayment' is not null or undefined
|
|
273
|
+
assertParamExists('updateBatchClaimInvoicePayment', 'claimInvoicePayment', claimInvoicePayment)
|
|
274
|
+
const localVarPath = `/claim-invoice/{invoiceKey}/payments-batch`
|
|
275
|
+
.replace(`{${"invoiceKey"}}`, encodeURIComponent(String(invoiceKey)));
|
|
276
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
277
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
278
|
+
let baseOptions;
|
|
279
|
+
if (configuration) {
|
|
280
|
+
baseOptions = configuration.baseOptions;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
284
|
+
const localVarHeaderParameter = {} as any;
|
|
285
|
+
const localVarQueryParameter = {} as any;
|
|
286
|
+
|
|
287
|
+
// authentication apiKeyAuth required
|
|
288
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
289
|
+
|
|
290
|
+
// authentication bearerAuth required
|
|
291
|
+
// http bearer authentication required
|
|
292
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
293
|
+
|
|
294
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
295
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
301
|
+
|
|
302
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
303
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
304
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
305
|
+
localVarRequestOptions.data = serializeDataIfNeeded(claimInvoicePayment, localVarRequestOptions, configuration)
|
|
306
|
+
|
|
307
|
+
return {
|
|
308
|
+
url: toPathString(localVarUrlObj),
|
|
309
|
+
options: localVarRequestOptions,
|
|
310
|
+
};
|
|
311
|
+
},
|
|
312
|
+
/**
|
|
313
|
+
* Updates a specific ClaimInvoicePayment.
|
|
314
|
+
* @summary Update ClaimInvoicePayment
|
|
315
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
316
|
+
* @param {number} invoiceKey Invoice Key
|
|
317
|
+
* @param {number} claimPaymentKey ClaimPayment Key
|
|
318
|
+
* @param {ClaimInvoicePayment} claimInvoicePayment
|
|
319
|
+
* @param {*} [options] Override http request option.
|
|
320
|
+
* @throws {RequiredError}
|
|
321
|
+
*/
|
|
322
|
+
updateClaimInvoicePayment: async (vbasoftwareDatabase: string, invoiceKey: number, claimPaymentKey: number, claimInvoicePayment: ClaimInvoicePayment, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
323
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
324
|
+
assertParamExists('updateClaimInvoicePayment', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
325
|
+
// verify required parameter 'invoiceKey' is not null or undefined
|
|
326
|
+
assertParamExists('updateClaimInvoicePayment', 'invoiceKey', invoiceKey)
|
|
327
|
+
// verify required parameter 'claimPaymentKey' is not null or undefined
|
|
328
|
+
assertParamExists('updateClaimInvoicePayment', 'claimPaymentKey', claimPaymentKey)
|
|
329
|
+
// verify required parameter 'claimInvoicePayment' is not null or undefined
|
|
330
|
+
assertParamExists('updateClaimInvoicePayment', 'claimInvoicePayment', claimInvoicePayment)
|
|
331
|
+
const localVarPath = `/claim-invoice/{invoiceKey}/payments/{claimPaymentKey}`
|
|
332
|
+
.replace(`{${"invoiceKey"}}`, encodeURIComponent(String(invoiceKey)))
|
|
333
|
+
.replace(`{${"claimPaymentKey"}}`, encodeURIComponent(String(claimPaymentKey)));
|
|
334
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
335
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
336
|
+
let baseOptions;
|
|
337
|
+
if (configuration) {
|
|
338
|
+
baseOptions = configuration.baseOptions;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
342
|
+
const localVarHeaderParameter = {} as any;
|
|
343
|
+
const localVarQueryParameter = {} as any;
|
|
344
|
+
|
|
345
|
+
// authentication apiKeyAuth required
|
|
346
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
347
|
+
|
|
348
|
+
// authentication bearerAuth required
|
|
349
|
+
// http bearer authentication required
|
|
350
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
351
|
+
|
|
352
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
353
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
359
|
+
|
|
360
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
361
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
362
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
363
|
+
localVarRequestOptions.data = serializeDataIfNeeded(claimInvoicePayment, localVarRequestOptions, configuration)
|
|
364
|
+
|
|
365
|
+
return {
|
|
366
|
+
url: toPathString(localVarUrlObj),
|
|
367
|
+
options: localVarRequestOptions,
|
|
368
|
+
};
|
|
369
|
+
},
|
|
370
|
+
}
|
|
371
|
+
};
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* ClaimInvoicePaymentsApi - functional programming interface
|
|
375
|
+
* @export
|
|
376
|
+
*/
|
|
377
|
+
export const ClaimInvoicePaymentsApiFp = function(configuration?: Configuration) {
|
|
378
|
+
const localVarAxiosParamCreator = ClaimInvoicePaymentsApiAxiosParamCreator(configuration)
|
|
379
|
+
return {
|
|
380
|
+
/**
|
|
381
|
+
* Creates a new ClaimInvoicePayment
|
|
382
|
+
* @summary Create ClaimInvoicePayment
|
|
383
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
384
|
+
* @param {number} invoiceKey Invoice Key
|
|
385
|
+
* @param {ClaimInvoicePayment} claimInvoicePayment
|
|
386
|
+
* @param {*} [options] Override http request option.
|
|
387
|
+
* @throws {RequiredError}
|
|
388
|
+
*/
|
|
389
|
+
async createClaimInvoicePayment(vbasoftwareDatabase: string, invoiceKey: number, claimInvoicePayment: ClaimInvoicePayment, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClaimInvoicePaymentVBAResponse>> {
|
|
390
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createClaimInvoicePayment(vbasoftwareDatabase, invoiceKey, claimInvoicePayment, options);
|
|
391
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
392
|
+
},
|
|
393
|
+
/**
|
|
394
|
+
* Deletes an ClaimInvoicePayment
|
|
395
|
+
* @summary Delete ClaimInvoicePayment
|
|
396
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
397
|
+
* @param {number} invoiceKey Invoice Key
|
|
398
|
+
* @param {number} claimPaymentKey ClaimPayment Key
|
|
399
|
+
* @param {*} [options] Override http request option.
|
|
400
|
+
* @throws {RequiredError}
|
|
401
|
+
*/
|
|
402
|
+
async deleteClaimInvoicePayment(vbasoftwareDatabase: string, invoiceKey: number, claimPaymentKey: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
403
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClaimInvoicePayment(vbasoftwareDatabase, invoiceKey, claimPaymentKey, options);
|
|
404
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
405
|
+
},
|
|
406
|
+
/**
|
|
407
|
+
* Gets ClaimInvoicePayment
|
|
408
|
+
* @summary Get ClaimInvoicePayment
|
|
409
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
410
|
+
* @param {number} invoiceKey Invoice Key
|
|
411
|
+
* @param {number} claimPaymentKey ClaimPayment Key
|
|
412
|
+
* @param {*} [options] Override http request option.
|
|
413
|
+
* @throws {RequiredError}
|
|
414
|
+
*/
|
|
415
|
+
async getClaimInvoicePayment(vbasoftwareDatabase: string, invoiceKey: number, claimPaymentKey: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClaimInvoicePaymentVBAResponse>> {
|
|
416
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimInvoicePayment(vbasoftwareDatabase, invoiceKey, claimPaymentKey, options);
|
|
417
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
418
|
+
},
|
|
419
|
+
/**
|
|
420
|
+
* Lists all ClaimInvoicePayment for the given invoiceKey
|
|
421
|
+
* @summary List ClaimInvoicePayment
|
|
422
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
423
|
+
* @param {number} invoiceKey Invoice Key
|
|
424
|
+
* @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.
|
|
425
|
+
* @param {number} [page] Page
|
|
426
|
+
* @param {number} [pageSize] Page Size
|
|
427
|
+
* @param {*} [options] Override http request option.
|
|
428
|
+
* @throws {RequiredError}
|
|
429
|
+
*/
|
|
430
|
+
async listClaimInvoicePayment(vbasoftwareDatabase: string, invoiceKey: number, sortBy?: string, page?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClaimInvoicePaymentListVBAResponse>> {
|
|
431
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimInvoicePayment(vbasoftwareDatabase, invoiceKey, sortBy, page, pageSize, options);
|
|
432
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
433
|
+
},
|
|
434
|
+
/**
|
|
435
|
+
* Create or Update multiple ClaimInvoicePayment at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
436
|
+
* @summary Create or Update Batch ClaimInvoicePayment
|
|
437
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
438
|
+
* @param {number} invoiceKey Invoice Key
|
|
439
|
+
* @param {Array<ClaimInvoicePayment>} claimInvoicePayment
|
|
440
|
+
* @param {*} [options] Override http request option.
|
|
441
|
+
* @throws {RequiredError}
|
|
442
|
+
*/
|
|
443
|
+
async updateBatchClaimInvoicePayment(vbasoftwareDatabase: string, invoiceKey: number, claimInvoicePayment: Array<ClaimInvoicePayment>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MultiCodeResponseListVBAResponse>> {
|
|
444
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateBatchClaimInvoicePayment(vbasoftwareDatabase, invoiceKey, claimInvoicePayment, options);
|
|
445
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
446
|
+
},
|
|
447
|
+
/**
|
|
448
|
+
* Updates a specific ClaimInvoicePayment.
|
|
449
|
+
* @summary Update ClaimInvoicePayment
|
|
450
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
451
|
+
* @param {number} invoiceKey Invoice Key
|
|
452
|
+
* @param {number} claimPaymentKey ClaimPayment Key
|
|
453
|
+
* @param {ClaimInvoicePayment} claimInvoicePayment
|
|
454
|
+
* @param {*} [options] Override http request option.
|
|
455
|
+
* @throws {RequiredError}
|
|
456
|
+
*/
|
|
457
|
+
async updateClaimInvoicePayment(vbasoftwareDatabase: string, invoiceKey: number, claimPaymentKey: number, claimInvoicePayment: ClaimInvoicePayment, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClaimInvoicePaymentVBAResponse>> {
|
|
458
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaimInvoicePayment(vbasoftwareDatabase, invoiceKey, claimPaymentKey, claimInvoicePayment, options);
|
|
459
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
460
|
+
},
|
|
461
|
+
}
|
|
462
|
+
};
|
|
463
|
+
|
|
464
|
+
/**
|
|
465
|
+
* ClaimInvoicePaymentsApi - factory interface
|
|
466
|
+
* @export
|
|
467
|
+
*/
|
|
468
|
+
export const ClaimInvoicePaymentsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
469
|
+
const localVarFp = ClaimInvoicePaymentsApiFp(configuration)
|
|
470
|
+
return {
|
|
471
|
+
/**
|
|
472
|
+
* Creates a new ClaimInvoicePayment
|
|
473
|
+
* @summary Create ClaimInvoicePayment
|
|
474
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
475
|
+
* @param {number} invoiceKey Invoice Key
|
|
476
|
+
* @param {ClaimInvoicePayment} claimInvoicePayment
|
|
477
|
+
* @param {*} [options] Override http request option.
|
|
478
|
+
* @throws {RequiredError}
|
|
479
|
+
*/
|
|
480
|
+
createClaimInvoicePayment(vbasoftwareDatabase: string, invoiceKey: number, claimInvoicePayment: ClaimInvoicePayment, options?: any): AxiosPromise<ClaimInvoicePaymentVBAResponse> {
|
|
481
|
+
return localVarFp.createClaimInvoicePayment(vbasoftwareDatabase, invoiceKey, claimInvoicePayment, options).then((request) => request(axios, basePath));
|
|
482
|
+
},
|
|
483
|
+
/**
|
|
484
|
+
* Deletes an ClaimInvoicePayment
|
|
485
|
+
* @summary Delete ClaimInvoicePayment
|
|
486
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
487
|
+
* @param {number} invoiceKey Invoice Key
|
|
488
|
+
* @param {number} claimPaymentKey ClaimPayment Key
|
|
489
|
+
* @param {*} [options] Override http request option.
|
|
490
|
+
* @throws {RequiredError}
|
|
491
|
+
*/
|
|
492
|
+
deleteClaimInvoicePayment(vbasoftwareDatabase: string, invoiceKey: number, claimPaymentKey: number, options?: any): AxiosPromise<void> {
|
|
493
|
+
return localVarFp.deleteClaimInvoicePayment(vbasoftwareDatabase, invoiceKey, claimPaymentKey, options).then((request) => request(axios, basePath));
|
|
494
|
+
},
|
|
495
|
+
/**
|
|
496
|
+
* Gets ClaimInvoicePayment
|
|
497
|
+
* @summary Get ClaimInvoicePayment
|
|
498
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
499
|
+
* @param {number} invoiceKey Invoice Key
|
|
500
|
+
* @param {number} claimPaymentKey ClaimPayment Key
|
|
501
|
+
* @param {*} [options] Override http request option.
|
|
502
|
+
* @throws {RequiredError}
|
|
503
|
+
*/
|
|
504
|
+
getClaimInvoicePayment(vbasoftwareDatabase: string, invoiceKey: number, claimPaymentKey: number, options?: any): AxiosPromise<ClaimInvoicePaymentVBAResponse> {
|
|
505
|
+
return localVarFp.getClaimInvoicePayment(vbasoftwareDatabase, invoiceKey, claimPaymentKey, options).then((request) => request(axios, basePath));
|
|
506
|
+
},
|
|
507
|
+
/**
|
|
508
|
+
* Lists all ClaimInvoicePayment for the given invoiceKey
|
|
509
|
+
* @summary List ClaimInvoicePayment
|
|
510
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
511
|
+
* @param {number} invoiceKey Invoice Key
|
|
512
|
+
* @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.
|
|
513
|
+
* @param {number} [page] Page
|
|
514
|
+
* @param {number} [pageSize] Page Size
|
|
515
|
+
* @param {*} [options] Override http request option.
|
|
516
|
+
* @throws {RequiredError}
|
|
517
|
+
*/
|
|
518
|
+
listClaimInvoicePayment(vbasoftwareDatabase: string, invoiceKey: number, sortBy?: string, page?: number, pageSize?: number, options?: any): AxiosPromise<ClaimInvoicePaymentListVBAResponse> {
|
|
519
|
+
return localVarFp.listClaimInvoicePayment(vbasoftwareDatabase, invoiceKey, sortBy, page, pageSize, options).then((request) => request(axios, basePath));
|
|
520
|
+
},
|
|
521
|
+
/**
|
|
522
|
+
* Create or Update multiple ClaimInvoicePayment at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
523
|
+
* @summary Create or Update Batch ClaimInvoicePayment
|
|
524
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
525
|
+
* @param {number} invoiceKey Invoice Key
|
|
526
|
+
* @param {Array<ClaimInvoicePayment>} claimInvoicePayment
|
|
527
|
+
* @param {*} [options] Override http request option.
|
|
528
|
+
* @throws {RequiredError}
|
|
529
|
+
*/
|
|
530
|
+
updateBatchClaimInvoicePayment(vbasoftwareDatabase: string, invoiceKey: number, claimInvoicePayment: Array<ClaimInvoicePayment>, options?: any): AxiosPromise<MultiCodeResponseListVBAResponse> {
|
|
531
|
+
return localVarFp.updateBatchClaimInvoicePayment(vbasoftwareDatabase, invoiceKey, claimInvoicePayment, options).then((request) => request(axios, basePath));
|
|
532
|
+
},
|
|
533
|
+
/**
|
|
534
|
+
* Updates a specific ClaimInvoicePayment.
|
|
535
|
+
* @summary Update ClaimInvoicePayment
|
|
536
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
537
|
+
* @param {number} invoiceKey Invoice Key
|
|
538
|
+
* @param {number} claimPaymentKey ClaimPayment Key
|
|
539
|
+
* @param {ClaimInvoicePayment} claimInvoicePayment
|
|
540
|
+
* @param {*} [options] Override http request option.
|
|
541
|
+
* @throws {RequiredError}
|
|
542
|
+
*/
|
|
543
|
+
updateClaimInvoicePayment(vbasoftwareDatabase: string, invoiceKey: number, claimPaymentKey: number, claimInvoicePayment: ClaimInvoicePayment, options?: any): AxiosPromise<ClaimInvoicePaymentVBAResponse> {
|
|
544
|
+
return localVarFp.updateClaimInvoicePayment(vbasoftwareDatabase, invoiceKey, claimPaymentKey, claimInvoicePayment, options).then((request) => request(axios, basePath));
|
|
545
|
+
},
|
|
546
|
+
};
|
|
547
|
+
};
|
|
548
|
+
|
|
549
|
+
/**
|
|
550
|
+
* ClaimInvoicePaymentsApi - interface
|
|
551
|
+
* @export
|
|
552
|
+
* @interface ClaimInvoicePaymentsApi
|
|
553
|
+
*/
|
|
554
|
+
export interface ClaimInvoicePaymentsApiInterface {
|
|
555
|
+
/**
|
|
556
|
+
* Creates a new ClaimInvoicePayment
|
|
557
|
+
* @summary Create ClaimInvoicePayment
|
|
558
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
559
|
+
* @param {number} invoiceKey Invoice Key
|
|
560
|
+
* @param {ClaimInvoicePayment} claimInvoicePayment
|
|
561
|
+
* @param {*} [options] Override http request option.
|
|
562
|
+
* @throws {RequiredError}
|
|
563
|
+
* @memberof ClaimInvoicePaymentsApiInterface
|
|
564
|
+
*/
|
|
565
|
+
createClaimInvoicePayment(vbasoftwareDatabase: string, invoiceKey: number, claimInvoicePayment: ClaimInvoicePayment, options?: AxiosRequestConfig): AxiosPromise<ClaimInvoicePaymentVBAResponse>;
|
|
566
|
+
|
|
567
|
+
/**
|
|
568
|
+
* Deletes an ClaimInvoicePayment
|
|
569
|
+
* @summary Delete ClaimInvoicePayment
|
|
570
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
571
|
+
* @param {number} invoiceKey Invoice Key
|
|
572
|
+
* @param {number} claimPaymentKey ClaimPayment Key
|
|
573
|
+
* @param {*} [options] Override http request option.
|
|
574
|
+
* @throws {RequiredError}
|
|
575
|
+
* @memberof ClaimInvoicePaymentsApiInterface
|
|
576
|
+
*/
|
|
577
|
+
deleteClaimInvoicePayment(vbasoftwareDatabase: string, invoiceKey: number, claimPaymentKey: number, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
578
|
+
|
|
579
|
+
/**
|
|
580
|
+
* Gets ClaimInvoicePayment
|
|
581
|
+
* @summary Get ClaimInvoicePayment
|
|
582
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
583
|
+
* @param {number} invoiceKey Invoice Key
|
|
584
|
+
* @param {number} claimPaymentKey ClaimPayment Key
|
|
585
|
+
* @param {*} [options] Override http request option.
|
|
586
|
+
* @throws {RequiredError}
|
|
587
|
+
* @memberof ClaimInvoicePaymentsApiInterface
|
|
588
|
+
*/
|
|
589
|
+
getClaimInvoicePayment(vbasoftwareDatabase: string, invoiceKey: number, claimPaymentKey: number, options?: AxiosRequestConfig): AxiosPromise<ClaimInvoicePaymentVBAResponse>;
|
|
590
|
+
|
|
591
|
+
/**
|
|
592
|
+
* Lists all ClaimInvoicePayment for the given invoiceKey
|
|
593
|
+
* @summary List ClaimInvoicePayment
|
|
594
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
595
|
+
* @param {number} invoiceKey Invoice Key
|
|
596
|
+
* @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.
|
|
597
|
+
* @param {number} [page] Page
|
|
598
|
+
* @param {number} [pageSize] Page Size
|
|
599
|
+
* @param {*} [options] Override http request option.
|
|
600
|
+
* @throws {RequiredError}
|
|
601
|
+
* @memberof ClaimInvoicePaymentsApiInterface
|
|
602
|
+
*/
|
|
603
|
+
listClaimInvoicePayment(vbasoftwareDatabase: string, invoiceKey: number, sortBy?: string, page?: number, pageSize?: number, options?: AxiosRequestConfig): AxiosPromise<ClaimInvoicePaymentListVBAResponse>;
|
|
604
|
+
|
|
605
|
+
/**
|
|
606
|
+
* Create or Update multiple ClaimInvoicePayment at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
607
|
+
* @summary Create or Update Batch ClaimInvoicePayment
|
|
608
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
609
|
+
* @param {number} invoiceKey Invoice Key
|
|
610
|
+
* @param {Array<ClaimInvoicePayment>} claimInvoicePayment
|
|
611
|
+
* @param {*} [options] Override http request option.
|
|
612
|
+
* @throws {RequiredError}
|
|
613
|
+
* @memberof ClaimInvoicePaymentsApiInterface
|
|
614
|
+
*/
|
|
615
|
+
updateBatchClaimInvoicePayment(vbasoftwareDatabase: string, invoiceKey: number, claimInvoicePayment: Array<ClaimInvoicePayment>, options?: AxiosRequestConfig): AxiosPromise<MultiCodeResponseListVBAResponse>;
|
|
616
|
+
|
|
617
|
+
/**
|
|
618
|
+
* Updates a specific ClaimInvoicePayment.
|
|
619
|
+
* @summary Update ClaimInvoicePayment
|
|
620
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
621
|
+
* @param {number} invoiceKey Invoice Key
|
|
622
|
+
* @param {number} claimPaymentKey ClaimPayment Key
|
|
623
|
+
* @param {ClaimInvoicePayment} claimInvoicePayment
|
|
624
|
+
* @param {*} [options] Override http request option.
|
|
625
|
+
* @throws {RequiredError}
|
|
626
|
+
* @memberof ClaimInvoicePaymentsApiInterface
|
|
627
|
+
*/
|
|
628
|
+
updateClaimInvoicePayment(vbasoftwareDatabase: string, invoiceKey: number, claimPaymentKey: number, claimInvoicePayment: ClaimInvoicePayment, options?: AxiosRequestConfig): AxiosPromise<ClaimInvoicePaymentVBAResponse>;
|
|
629
|
+
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
/**
|
|
633
|
+
* ClaimInvoicePaymentsApi - object-oriented interface
|
|
634
|
+
* @export
|
|
635
|
+
* @class ClaimInvoicePaymentsApi
|
|
636
|
+
* @extends {BaseAPI}
|
|
637
|
+
*/
|
|
638
|
+
export class ClaimInvoicePaymentsApi extends BaseAPI implements ClaimInvoicePaymentsApiInterface {
|
|
639
|
+
/**
|
|
640
|
+
* Creates a new ClaimInvoicePayment
|
|
641
|
+
* @summary Create ClaimInvoicePayment
|
|
642
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
643
|
+
* @param {number} invoiceKey Invoice Key
|
|
644
|
+
* @param {ClaimInvoicePayment} claimInvoicePayment
|
|
645
|
+
* @param {*} [options] Override http request option.
|
|
646
|
+
* @throws {RequiredError}
|
|
647
|
+
* @memberof ClaimInvoicePaymentsApi
|
|
648
|
+
*/
|
|
649
|
+
public createClaimInvoicePayment(vbasoftwareDatabase: string, invoiceKey: number, claimInvoicePayment: ClaimInvoicePayment, options?: AxiosRequestConfig) {
|
|
650
|
+
return ClaimInvoicePaymentsApiFp(this.configuration).createClaimInvoicePayment(vbasoftwareDatabase, invoiceKey, claimInvoicePayment, options).then((request) => request(this.axios, this.basePath));
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
/**
|
|
654
|
+
* Deletes an ClaimInvoicePayment
|
|
655
|
+
* @summary Delete ClaimInvoicePayment
|
|
656
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
657
|
+
* @param {number} invoiceKey Invoice Key
|
|
658
|
+
* @param {number} claimPaymentKey ClaimPayment Key
|
|
659
|
+
* @param {*} [options] Override http request option.
|
|
660
|
+
* @throws {RequiredError}
|
|
661
|
+
* @memberof ClaimInvoicePaymentsApi
|
|
662
|
+
*/
|
|
663
|
+
public deleteClaimInvoicePayment(vbasoftwareDatabase: string, invoiceKey: number, claimPaymentKey: number, options?: AxiosRequestConfig) {
|
|
664
|
+
return ClaimInvoicePaymentsApiFp(this.configuration).deleteClaimInvoicePayment(vbasoftwareDatabase, invoiceKey, claimPaymentKey, options).then((request) => request(this.axios, this.basePath));
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
/**
|
|
668
|
+
* Gets ClaimInvoicePayment
|
|
669
|
+
* @summary Get ClaimInvoicePayment
|
|
670
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
671
|
+
* @param {number} invoiceKey Invoice Key
|
|
672
|
+
* @param {number} claimPaymentKey ClaimPayment Key
|
|
673
|
+
* @param {*} [options] Override http request option.
|
|
674
|
+
* @throws {RequiredError}
|
|
675
|
+
* @memberof ClaimInvoicePaymentsApi
|
|
676
|
+
*/
|
|
677
|
+
public getClaimInvoicePayment(vbasoftwareDatabase: string, invoiceKey: number, claimPaymentKey: number, options?: AxiosRequestConfig) {
|
|
678
|
+
return ClaimInvoicePaymentsApiFp(this.configuration).getClaimInvoicePayment(vbasoftwareDatabase, invoiceKey, claimPaymentKey, options).then((request) => request(this.axios, this.basePath));
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
/**
|
|
682
|
+
* Lists all ClaimInvoicePayment for the given invoiceKey
|
|
683
|
+
* @summary List ClaimInvoicePayment
|
|
684
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
685
|
+
* @param {number} invoiceKey Invoice Key
|
|
686
|
+
* @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.
|
|
687
|
+
* @param {number} [page] Page
|
|
688
|
+
* @param {number} [pageSize] Page Size
|
|
689
|
+
* @param {*} [options] Override http request option.
|
|
690
|
+
* @throws {RequiredError}
|
|
691
|
+
* @memberof ClaimInvoicePaymentsApi
|
|
692
|
+
*/
|
|
693
|
+
public listClaimInvoicePayment(vbasoftwareDatabase: string, invoiceKey: number, sortBy?: string, page?: number, pageSize?: number, options?: AxiosRequestConfig) {
|
|
694
|
+
return ClaimInvoicePaymentsApiFp(this.configuration).listClaimInvoicePayment(vbasoftwareDatabase, invoiceKey, sortBy, page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
/**
|
|
698
|
+
* Create or Update multiple ClaimInvoicePayment at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
699
|
+
* @summary Create or Update Batch ClaimInvoicePayment
|
|
700
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
701
|
+
* @param {number} invoiceKey Invoice Key
|
|
702
|
+
* @param {Array<ClaimInvoicePayment>} claimInvoicePayment
|
|
703
|
+
* @param {*} [options] Override http request option.
|
|
704
|
+
* @throws {RequiredError}
|
|
705
|
+
* @memberof ClaimInvoicePaymentsApi
|
|
706
|
+
*/
|
|
707
|
+
public updateBatchClaimInvoicePayment(vbasoftwareDatabase: string, invoiceKey: number, claimInvoicePayment: Array<ClaimInvoicePayment>, options?: AxiosRequestConfig) {
|
|
708
|
+
return ClaimInvoicePaymentsApiFp(this.configuration).updateBatchClaimInvoicePayment(vbasoftwareDatabase, invoiceKey, claimInvoicePayment, options).then((request) => request(this.axios, this.basePath));
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
/**
|
|
712
|
+
* Updates a specific ClaimInvoicePayment.
|
|
713
|
+
* @summary Update ClaimInvoicePayment
|
|
714
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
715
|
+
* @param {number} invoiceKey Invoice Key
|
|
716
|
+
* @param {number} claimPaymentKey ClaimPayment Key
|
|
717
|
+
* @param {ClaimInvoicePayment} claimInvoicePayment
|
|
718
|
+
* @param {*} [options] Override http request option.
|
|
719
|
+
* @throws {RequiredError}
|
|
720
|
+
* @memberof ClaimInvoicePaymentsApi
|
|
721
|
+
*/
|
|
722
|
+
public updateClaimInvoicePayment(vbasoftwareDatabase: string, invoiceKey: number, claimPaymentKey: number, claimInvoicePayment: ClaimInvoicePayment, options?: AxiosRequestConfig) {
|
|
723
|
+
return ClaimInvoicePaymentsApiFp(this.configuration).updateClaimInvoicePayment(vbasoftwareDatabase, invoiceKey, claimPaymentKey, claimInvoicePayment, options).then((request) => request(this.axios, this.basePath));
|
|
724
|
+
}
|
|
725
|
+
}
|