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