@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20230130.2 → 1.20230208.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/.openapi-generator/FILES +18 -3
  2. package/api/adv-accounting-api.ts +10 -26
  3. package/api/commission-rates-api.ts +98 -0
  4. package/api/event-args-api.ts +15 -15
  5. package/api/group-contract-plans-api.ts +105 -0
  6. package/api/group-contracts-api.ts +105 -0
  7. package/api/group-divisions-api.ts +115 -0
  8. package/api/group-volumes-api.ts +15 -14
  9. package/api/payor-accounts-api.ts +75 -130
  10. package/api/plan-auth-penalty-benefits-api.ts +232 -91
  11. package/api/plan-benefit-cascades-api.ts +15 -23
  12. package/api/premium-rates-api.ts +107 -0
  13. package/models/commission-rate-division-config.ts +43 -0
  14. package/models/commission-rate-nested-list-vbaresponse.ts +45 -0
  15. package/models/commission-rate-nested.ts +43 -0
  16. package/models/commission-rate-plan-config.ts +43 -0
  17. package/models/commission-rate-rate.ts +36 -0
  18. package/models/copy-group-division.ts +132 -0
  19. package/models/{benefit-config.ts → group-volume-benefit-config.ts} +5 -5
  20. package/models/group-volume-division-config.ts +43 -0
  21. package/models/group-volume-nested.ts +3 -3
  22. package/models/group-volume-plan-config.ts +43 -0
  23. package/models/index.ts +18 -3
  24. package/models/member-prior-accum.ts +28 -28
  25. package/models/plan-auth-penalty-benefit.ts +24 -0
  26. package/models/prem-rate-basis-config.ts +43 -0
  27. package/models/prem-rate-category-config.ts +43 -0
  28. package/models/{division-config.ts → prem-rate-division-config.ts} +8 -8
  29. package/models/prem-rate-nested-list-vbaresponse.ts +45 -0
  30. package/models/prem-rate-nested.ts +43 -0
  31. package/models/{plan-config.ts → prem-rate-plan-config.ts} +8 -8
  32. package/models/prem-rate-rate.ts +36 -0
  33. package/models/vbagroup-contract-list-vbaresponse.ts +45 -0
  34. package/models/vbagroup-contract.ts +55 -0
  35. package/package.json +1 -1
@@ -40,20 +40,16 @@ export const PayorAccountsApiAxiosParamCreator = function (configuration?: Confi
40
40
  * Creates a new PayorAccount
41
41
  * @summary Create PayorAccount
42
42
  * @param {string} vbasoftwareDatabase Target database
43
- * @param {string} payorID Payor ID
44
43
  * @param {PayorAccount} payorAccount
45
44
  * @param {*} [options] Override http request option.
46
45
  * @throws {RequiredError}
47
46
  */
48
- createPayorAccount: async (vbasoftwareDatabase: string, payorID: string, payorAccount: PayorAccount, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
47
+ createPayorAccount: async (vbasoftwareDatabase: string, payorAccount: PayorAccount, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
49
48
  // verify required parameter 'vbasoftwareDatabase' is not null or undefined
50
49
  assertParamExists('createPayorAccount', 'vbasoftwareDatabase', vbasoftwareDatabase)
51
- // verify required parameter 'payorID' is not null or undefined
52
- assertParamExists('createPayorAccount', 'payorID', payorID)
53
50
  // verify required parameter 'payorAccount' is not null or undefined
54
51
  assertParamExists('createPayorAccount', 'payorAccount', payorAccount)
55
- const localVarPath = `/payors/{payorID}/accounts`
56
- .replace(`{${"payorID"}}`, encodeURIComponent(String(payorID)));
52
+ const localVarPath = `/payor-accounts`;
57
53
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
58
54
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
59
55
  let baseOptions;
@@ -94,20 +90,16 @@ export const PayorAccountsApiAxiosParamCreator = function (configuration?: Confi
94
90
  * Deletes an PayorAccount
95
91
  * @summary Delete PayorAccount
96
92
  * @param {string} vbasoftwareDatabase Target database
97
- * @param {string} payorID Payor ID
98
93
  * @param {number} payorAccountKey Payor Account Key
99
94
  * @param {*} [options] Override http request option.
100
95
  * @throws {RequiredError}
101
96
  */
102
- deletePayorAccount: async (vbasoftwareDatabase: string, payorID: string, payorAccountKey: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
97
+ deletePayorAccount: async (vbasoftwareDatabase: string, payorAccountKey: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
103
98
  // verify required parameter 'vbasoftwareDatabase' is not null or undefined
104
99
  assertParamExists('deletePayorAccount', 'vbasoftwareDatabase', vbasoftwareDatabase)
105
- // verify required parameter 'payorID' is not null or undefined
106
- assertParamExists('deletePayorAccount', 'payorID', payorID)
107
100
  // verify required parameter 'payorAccountKey' is not null or undefined
108
101
  assertParamExists('deletePayorAccount', 'payorAccountKey', payorAccountKey)
109
- const localVarPath = `/payors/{payorID}/accounts/{payorAccountKey}`
110
- .replace(`{${"payorID"}}`, encodeURIComponent(String(payorID)))
102
+ const localVarPath = `/payor-accounts/{payorAccountKey}`
111
103
  .replace(`{${"payorAccountKey"}}`, encodeURIComponent(String(payorAccountKey)));
112
104
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
113
105
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -146,20 +138,16 @@ export const PayorAccountsApiAxiosParamCreator = function (configuration?: Confi
146
138
  * Gets PayorAccount
147
139
  * @summary Get PayorAccount
148
140
  * @param {string} vbasoftwareDatabase Target database
149
- * @param {string} payorID Payor ID
150
141
  * @param {number} payorAccountKey Payor Account Key
151
142
  * @param {*} [options] Override http request option.
152
143
  * @throws {RequiredError}
153
144
  */
154
- getPayorAccount: async (vbasoftwareDatabase: string, payorID: string, payorAccountKey: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
145
+ getPayorAccount: async (vbasoftwareDatabase: string, payorAccountKey: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
155
146
  // verify required parameter 'vbasoftwareDatabase' is not null or undefined
156
147
  assertParamExists('getPayorAccount', 'vbasoftwareDatabase', vbasoftwareDatabase)
157
- // verify required parameter 'payorID' is not null or undefined
158
- assertParamExists('getPayorAccount', 'payorID', payorID)
159
148
  // verify required parameter 'payorAccountKey' is not null or undefined
160
149
  assertParamExists('getPayorAccount', 'payorAccountKey', payorAccountKey)
161
- const localVarPath = `/payors/{payorID}/accounts/{payorAccountKey}`
162
- .replace(`{${"payorID"}}`, encodeURIComponent(String(payorID)))
150
+ const localVarPath = `/payor-accounts/{payorAccountKey}`
163
151
  .replace(`{${"payorAccountKey"}}`, encodeURIComponent(String(payorAccountKey)));
164
152
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
165
153
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -198,25 +186,17 @@ export const PayorAccountsApiAxiosParamCreator = function (configuration?: Confi
198
186
  * Gets PayorAccount Balance details
199
187
  * @summary Get PayorAccount Balance
200
188
  * @param {string} vbasoftwareDatabase Target database
201
- * @param {string} payorID Payor ID
202
189
  * @param {number} payorAccountKey Payor Account Key
203
- * @param {string} clientId
204
190
  * @param {*} [options] Override http request option.
205
191
  * @throws {RequiredError}
206
192
  */
207
- getPayorAccountBalance: async (vbasoftwareDatabase: string, payorID: string, payorAccountKey: number, clientId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
193
+ getPayorAccountBalance: async (vbasoftwareDatabase: string, payorAccountKey: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
208
194
  // verify required parameter 'vbasoftwareDatabase' is not null or undefined
209
195
  assertParamExists('getPayorAccountBalance', 'vbasoftwareDatabase', vbasoftwareDatabase)
210
- // verify required parameter 'payorID' is not null or undefined
211
- assertParamExists('getPayorAccountBalance', 'payorID', payorID)
212
196
  // verify required parameter 'payorAccountKey' is not null or undefined
213
197
  assertParamExists('getPayorAccountBalance', 'payorAccountKey', payorAccountKey)
214
- // verify required parameter 'clientId' is not null or undefined
215
- assertParamExists('getPayorAccountBalance', 'clientId', clientId)
216
- const localVarPath = `/clients/{clientId}/payors/{payorID}/accounts/{payorAccountKey}/account-balance`
217
- .replace(`{${"payorID"}}`, encodeURIComponent(String(payorID)))
218
- .replace(`{${"payorAccountKey"}}`, encodeURIComponent(String(payorAccountKey)))
219
- .replace(`{${"clientId"}}`, encodeURIComponent(String(clientId)));
198
+ const localVarPath = `/payor-accounts/{payorAccountKey}/account-balance`
199
+ .replace(`{${"payorAccountKey"}}`, encodeURIComponent(String(payorAccountKey)));
220
200
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
221
201
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
222
202
  let baseOptions;
@@ -251,22 +231,19 @@ export const PayorAccountsApiAxiosParamCreator = function (configuration?: Confi
251
231
  };
252
232
  },
253
233
  /**
254
- * Lists all PayorAccount for the given payorID
234
+ * Lists PayorAccounts with optional Payor_ID filter.
255
235
  * @summary List PayorAccount
256
236
  * @param {string} vbasoftwareDatabase Target database
257
- * @param {string} payorID Payor ID
237
+ * @param {string} [payorID] Payor ID
258
238
  * @param {number} [page] Page
259
239
  * @param {number} [pageSize] Page Size
260
240
  * @param {*} [options] Override http request option.
261
241
  * @throws {RequiredError}
262
242
  */
263
- listPayorAccount: async (vbasoftwareDatabase: string, payorID: string, page?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
243
+ listPayorAccount: async (vbasoftwareDatabase: string, payorID?: string, page?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
264
244
  // verify required parameter 'vbasoftwareDatabase' is not null or undefined
265
245
  assertParamExists('listPayorAccount', 'vbasoftwareDatabase', vbasoftwareDatabase)
266
- // verify required parameter 'payorID' is not null or undefined
267
- assertParamExists('listPayorAccount', 'payorID', payorID)
268
- const localVarPath = `/payors/{payorID}/accounts`
269
- .replace(`{${"payorID"}}`, encodeURIComponent(String(payorID)));
246
+ const localVarPath = `/payor-accounts`;
270
247
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
271
248
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
272
249
  let baseOptions;
@@ -285,6 +262,10 @@ export const PayorAccountsApiAxiosParamCreator = function (configuration?: Confi
285
262
  // http bearer authentication required
286
263
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
287
264
 
265
+ if (payorID !== undefined) {
266
+ localVarQueryParameter['payorID'] = payorID;
267
+ }
268
+
288
269
  if (page !== undefined) {
289
270
  localVarQueryParameter['page'] = page;
290
271
  }
@@ -312,20 +293,16 @@ export const PayorAccountsApiAxiosParamCreator = function (configuration?: Confi
312
293
  * Create or Update multiple PayorAccount at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
313
294
  * @summary Create or Update Batch PayorAccount
314
295
  * @param {string} vbasoftwareDatabase Target database
315
- * @param {string} payorID Payor ID
316
296
  * @param {Array<PayorAccount>} payorAccount
317
297
  * @param {*} [options] Override http request option.
318
298
  * @throws {RequiredError}
319
299
  */
320
- updateBatchPayorAccount: async (vbasoftwareDatabase: string, payorID: string, payorAccount: Array<PayorAccount>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
300
+ updateBatchPayorAccount: async (vbasoftwareDatabase: string, payorAccount: Array<PayorAccount>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
321
301
  // verify required parameter 'vbasoftwareDatabase' is not null or undefined
322
302
  assertParamExists('updateBatchPayorAccount', 'vbasoftwareDatabase', vbasoftwareDatabase)
323
- // verify required parameter 'payorID' is not null or undefined
324
- assertParamExists('updateBatchPayorAccount', 'payorID', payorID)
325
303
  // verify required parameter 'payorAccount' is not null or undefined
326
304
  assertParamExists('updateBatchPayorAccount', 'payorAccount', payorAccount)
327
- const localVarPath = `/payors/{payorID}/accounts-batch`
328
- .replace(`{${"payorID"}}`, encodeURIComponent(String(payorID)));
305
+ const localVarPath = `/payor-accounts-batch`;
329
306
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
330
307
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
331
308
  let baseOptions;
@@ -366,23 +343,19 @@ export const PayorAccountsApiAxiosParamCreator = function (configuration?: Confi
366
343
  * Updates a specific PayorAccount.
367
344
  * @summary Update PayorAccount
368
345
  * @param {string} vbasoftwareDatabase Target database
369
- * @param {string} payorID Payor ID
370
346
  * @param {number} payorAccountKey Payor Account Key
371
347
  * @param {PayorAccount} payorAccount
372
348
  * @param {*} [options] Override http request option.
373
349
  * @throws {RequiredError}
374
350
  */
375
- updatePayorAccount: async (vbasoftwareDatabase: string, payorID: string, payorAccountKey: number, payorAccount: PayorAccount, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
351
+ updatePayorAccount: async (vbasoftwareDatabase: string, payorAccountKey: number, payorAccount: PayorAccount, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
376
352
  // verify required parameter 'vbasoftwareDatabase' is not null or undefined
377
353
  assertParamExists('updatePayorAccount', 'vbasoftwareDatabase', vbasoftwareDatabase)
378
- // verify required parameter 'payorID' is not null or undefined
379
- assertParamExists('updatePayorAccount', 'payorID', payorID)
380
354
  // verify required parameter 'payorAccountKey' is not null or undefined
381
355
  assertParamExists('updatePayorAccount', 'payorAccountKey', payorAccountKey)
382
356
  // verify required parameter 'payorAccount' is not null or undefined
383
357
  assertParamExists('updatePayorAccount', 'payorAccount', payorAccount)
384
- const localVarPath = `/payors/{payorID}/accounts/{payorAccountKey}`
385
- .replace(`{${"payorID"}}`, encodeURIComponent(String(payorID)))
358
+ const localVarPath = `/payor-accounts/{payorAccountKey}`
386
359
  .replace(`{${"payorAccountKey"}}`, encodeURIComponent(String(payorAccountKey)));
387
360
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
388
361
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -434,66 +407,61 @@ export const PayorAccountsApiFp = function(configuration?: Configuration) {
434
407
  * Creates a new PayorAccount
435
408
  * @summary Create PayorAccount
436
409
  * @param {string} vbasoftwareDatabase Target database
437
- * @param {string} payorID Payor ID
438
410
  * @param {PayorAccount} payorAccount
439
411
  * @param {*} [options] Override http request option.
440
412
  * @throws {RequiredError}
441
413
  */
442
- async createPayorAccount(vbasoftwareDatabase: string, payorID: string, payorAccount: PayorAccount, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayorAccountVBAResponse>> {
443
- const localVarAxiosArgs = await localVarAxiosParamCreator.createPayorAccount(vbasoftwareDatabase, payorID, payorAccount, options);
414
+ async createPayorAccount(vbasoftwareDatabase: string, payorAccount: PayorAccount, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayorAccountVBAResponse>> {
415
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createPayorAccount(vbasoftwareDatabase, payorAccount, options);
444
416
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
445
417
  },
446
418
  /**
447
419
  * Deletes an PayorAccount
448
420
  * @summary Delete PayorAccount
449
421
  * @param {string} vbasoftwareDatabase Target database
450
- * @param {string} payorID Payor ID
451
422
  * @param {number} payorAccountKey Payor Account Key
452
423
  * @param {*} [options] Override http request option.
453
424
  * @throws {RequiredError}
454
425
  */
455
- async deletePayorAccount(vbasoftwareDatabase: string, payorID: string, payorAccountKey: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
456
- const localVarAxiosArgs = await localVarAxiosParamCreator.deletePayorAccount(vbasoftwareDatabase, payorID, payorAccountKey, options);
426
+ async deletePayorAccount(vbasoftwareDatabase: string, payorAccountKey: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
427
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deletePayorAccount(vbasoftwareDatabase, payorAccountKey, options);
457
428
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
458
429
  },
459
430
  /**
460
431
  * Gets PayorAccount
461
432
  * @summary Get PayorAccount
462
433
  * @param {string} vbasoftwareDatabase Target database
463
- * @param {string} payorID Payor ID
464
434
  * @param {number} payorAccountKey Payor Account Key
465
435
  * @param {*} [options] Override http request option.
466
436
  * @throws {RequiredError}
467
437
  */
468
- async getPayorAccount(vbasoftwareDatabase: string, payorID: string, payorAccountKey: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayorAccountVBAResponse>> {
469
- const localVarAxiosArgs = await localVarAxiosParamCreator.getPayorAccount(vbasoftwareDatabase, payorID, payorAccountKey, options);
438
+ async getPayorAccount(vbasoftwareDatabase: string, payorAccountKey: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayorAccountVBAResponse>> {
439
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPayorAccount(vbasoftwareDatabase, payorAccountKey, options);
470
440
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
471
441
  },
472
442
  /**
473
443
  * Gets PayorAccount Balance details
474
444
  * @summary Get PayorAccount Balance
475
445
  * @param {string} vbasoftwareDatabase Target database
476
- * @param {string} payorID Payor ID
477
446
  * @param {number} payorAccountKey Payor Account Key
478
- * @param {string} clientId
479
447
  * @param {*} [options] Override http request option.
480
448
  * @throws {RequiredError}
481
449
  */
482
- async getPayorAccountBalance(vbasoftwareDatabase: string, payorID: string, payorAccountKey: number, clientId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FundingAccountBalanceVBAResponse>> {
483
- const localVarAxiosArgs = await localVarAxiosParamCreator.getPayorAccountBalance(vbasoftwareDatabase, payorID, payorAccountKey, clientId, options);
450
+ async getPayorAccountBalance(vbasoftwareDatabase: string, payorAccountKey: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FundingAccountBalanceVBAResponse>> {
451
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPayorAccountBalance(vbasoftwareDatabase, payorAccountKey, options);
484
452
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
485
453
  },
486
454
  /**
487
- * Lists all PayorAccount for the given payorID
455
+ * Lists PayorAccounts with optional Payor_ID filter.
488
456
  * @summary List PayorAccount
489
457
  * @param {string} vbasoftwareDatabase Target database
490
- * @param {string} payorID Payor ID
458
+ * @param {string} [payorID] Payor ID
491
459
  * @param {number} [page] Page
492
460
  * @param {number} [pageSize] Page Size
493
461
  * @param {*} [options] Override http request option.
494
462
  * @throws {RequiredError}
495
463
  */
496
- async listPayorAccount(vbasoftwareDatabase: string, payorID: string, page?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayorAccountListVBAResponse>> {
464
+ async listPayorAccount(vbasoftwareDatabase: string, payorID?: string, page?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayorAccountListVBAResponse>> {
497
465
  const localVarAxiosArgs = await localVarAxiosParamCreator.listPayorAccount(vbasoftwareDatabase, payorID, page, pageSize, options);
498
466
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
499
467
  },
@@ -501,27 +469,25 @@ export const PayorAccountsApiFp = function(configuration?: Configuration) {
501
469
  * Create or Update multiple PayorAccount at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
502
470
  * @summary Create or Update Batch PayorAccount
503
471
  * @param {string} vbasoftwareDatabase Target database
504
- * @param {string} payorID Payor ID
505
472
  * @param {Array<PayorAccount>} payorAccount
506
473
  * @param {*} [options] Override http request option.
507
474
  * @throws {RequiredError}
508
475
  */
509
- async updateBatchPayorAccount(vbasoftwareDatabase: string, payorID: string, payorAccount: Array<PayorAccount>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MultiCodeResponseListVBAResponse>> {
510
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateBatchPayorAccount(vbasoftwareDatabase, payorID, payorAccount, options);
476
+ async updateBatchPayorAccount(vbasoftwareDatabase: string, payorAccount: Array<PayorAccount>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MultiCodeResponseListVBAResponse>> {
477
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateBatchPayorAccount(vbasoftwareDatabase, payorAccount, options);
511
478
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
512
479
  },
513
480
  /**
514
481
  * Updates a specific PayorAccount.
515
482
  * @summary Update PayorAccount
516
483
  * @param {string} vbasoftwareDatabase Target database
517
- * @param {string} payorID Payor ID
518
484
  * @param {number} payorAccountKey Payor Account Key
519
485
  * @param {PayorAccount} payorAccount
520
486
  * @param {*} [options] Override http request option.
521
487
  * @throws {RequiredError}
522
488
  */
523
- async updatePayorAccount(vbasoftwareDatabase: string, payorID: string, payorAccountKey: number, payorAccount: PayorAccount, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayorAccountVBAResponse>> {
524
- const localVarAxiosArgs = await localVarAxiosParamCreator.updatePayorAccount(vbasoftwareDatabase, payorID, payorAccountKey, payorAccount, options);
489
+ async updatePayorAccount(vbasoftwareDatabase: string, payorAccountKey: number, payorAccount: PayorAccount, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayorAccountVBAResponse>> {
490
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatePayorAccount(vbasoftwareDatabase, payorAccountKey, payorAccount, options);
525
491
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
526
492
  },
527
493
  }
@@ -538,88 +504,81 @@ export const PayorAccountsApiFactory = function (configuration?: Configuration,
538
504
  * Creates a new PayorAccount
539
505
  * @summary Create PayorAccount
540
506
  * @param {string} vbasoftwareDatabase Target database
541
- * @param {string} payorID Payor ID
542
507
  * @param {PayorAccount} payorAccount
543
508
  * @param {*} [options] Override http request option.
544
509
  * @throws {RequiredError}
545
510
  */
546
- createPayorAccount(vbasoftwareDatabase: string, payorID: string, payorAccount: PayorAccount, options?: any): AxiosPromise<PayorAccountVBAResponse> {
547
- return localVarFp.createPayorAccount(vbasoftwareDatabase, payorID, payorAccount, options).then((request) => request(axios, basePath));
511
+ createPayorAccount(vbasoftwareDatabase: string, payorAccount: PayorAccount, options?: any): AxiosPromise<PayorAccountVBAResponse> {
512
+ return localVarFp.createPayorAccount(vbasoftwareDatabase, payorAccount, options).then((request) => request(axios, basePath));
548
513
  },
549
514
  /**
550
515
  * Deletes an PayorAccount
551
516
  * @summary Delete PayorAccount
552
517
  * @param {string} vbasoftwareDatabase Target database
553
- * @param {string} payorID Payor ID
554
518
  * @param {number} payorAccountKey Payor Account Key
555
519
  * @param {*} [options] Override http request option.
556
520
  * @throws {RequiredError}
557
521
  */
558
- deletePayorAccount(vbasoftwareDatabase: string, payorID: string, payorAccountKey: number, options?: any): AxiosPromise<void> {
559
- return localVarFp.deletePayorAccount(vbasoftwareDatabase, payorID, payorAccountKey, options).then((request) => request(axios, basePath));
522
+ deletePayorAccount(vbasoftwareDatabase: string, payorAccountKey: number, options?: any): AxiosPromise<void> {
523
+ return localVarFp.deletePayorAccount(vbasoftwareDatabase, payorAccountKey, options).then((request) => request(axios, basePath));
560
524
  },
561
525
  /**
562
526
  * Gets PayorAccount
563
527
  * @summary Get PayorAccount
564
528
  * @param {string} vbasoftwareDatabase Target database
565
- * @param {string} payorID Payor ID
566
529
  * @param {number} payorAccountKey Payor Account Key
567
530
  * @param {*} [options] Override http request option.
568
531
  * @throws {RequiredError}
569
532
  */
570
- getPayorAccount(vbasoftwareDatabase: string, payorID: string, payorAccountKey: number, options?: any): AxiosPromise<PayorAccountVBAResponse> {
571
- return localVarFp.getPayorAccount(vbasoftwareDatabase, payorID, payorAccountKey, options).then((request) => request(axios, basePath));
533
+ getPayorAccount(vbasoftwareDatabase: string, payorAccountKey: number, options?: any): AxiosPromise<PayorAccountVBAResponse> {
534
+ return localVarFp.getPayorAccount(vbasoftwareDatabase, payorAccountKey, options).then((request) => request(axios, basePath));
572
535
  },
573
536
  /**
574
537
  * Gets PayorAccount Balance details
575
538
  * @summary Get PayorAccount Balance
576
539
  * @param {string} vbasoftwareDatabase Target database
577
- * @param {string} payorID Payor ID
578
540
  * @param {number} payorAccountKey Payor Account Key
579
- * @param {string} clientId
580
541
  * @param {*} [options] Override http request option.
581
542
  * @throws {RequiredError}
582
543
  */
583
- getPayorAccountBalance(vbasoftwareDatabase: string, payorID: string, payorAccountKey: number, clientId: string, options?: any): AxiosPromise<FundingAccountBalanceVBAResponse> {
584
- return localVarFp.getPayorAccountBalance(vbasoftwareDatabase, payorID, payorAccountKey, clientId, options).then((request) => request(axios, basePath));
544
+ getPayorAccountBalance(vbasoftwareDatabase: string, payorAccountKey: number, options?: any): AxiosPromise<FundingAccountBalanceVBAResponse> {
545
+ return localVarFp.getPayorAccountBalance(vbasoftwareDatabase, payorAccountKey, options).then((request) => request(axios, basePath));
585
546
  },
586
547
  /**
587
- * Lists all PayorAccount for the given payorID
548
+ * Lists PayorAccounts with optional Payor_ID filter.
588
549
  * @summary List PayorAccount
589
550
  * @param {string} vbasoftwareDatabase Target database
590
- * @param {string} payorID Payor ID
551
+ * @param {string} [payorID] Payor ID
591
552
  * @param {number} [page] Page
592
553
  * @param {number} [pageSize] Page Size
593
554
  * @param {*} [options] Override http request option.
594
555
  * @throws {RequiredError}
595
556
  */
596
- listPayorAccount(vbasoftwareDatabase: string, payorID: string, page?: number, pageSize?: number, options?: any): AxiosPromise<PayorAccountListVBAResponse> {
557
+ listPayorAccount(vbasoftwareDatabase: string, payorID?: string, page?: number, pageSize?: number, options?: any): AxiosPromise<PayorAccountListVBAResponse> {
597
558
  return localVarFp.listPayorAccount(vbasoftwareDatabase, payorID, page, pageSize, options).then((request) => request(axios, basePath));
598
559
  },
599
560
  /**
600
561
  * Create or Update multiple PayorAccount at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
601
562
  * @summary Create or Update Batch PayorAccount
602
563
  * @param {string} vbasoftwareDatabase Target database
603
- * @param {string} payorID Payor ID
604
564
  * @param {Array<PayorAccount>} payorAccount
605
565
  * @param {*} [options] Override http request option.
606
566
  * @throws {RequiredError}
607
567
  */
608
- updateBatchPayorAccount(vbasoftwareDatabase: string, payorID: string, payorAccount: Array<PayorAccount>, options?: any): AxiosPromise<MultiCodeResponseListVBAResponse> {
609
- return localVarFp.updateBatchPayorAccount(vbasoftwareDatabase, payorID, payorAccount, options).then((request) => request(axios, basePath));
568
+ updateBatchPayorAccount(vbasoftwareDatabase: string, payorAccount: Array<PayorAccount>, options?: any): AxiosPromise<MultiCodeResponseListVBAResponse> {
569
+ return localVarFp.updateBatchPayorAccount(vbasoftwareDatabase, payorAccount, options).then((request) => request(axios, basePath));
610
570
  },
611
571
  /**
612
572
  * Updates a specific PayorAccount.
613
573
  * @summary Update PayorAccount
614
574
  * @param {string} vbasoftwareDatabase Target database
615
- * @param {string} payorID Payor ID
616
575
  * @param {number} payorAccountKey Payor Account Key
617
576
  * @param {PayorAccount} payorAccount
618
577
  * @param {*} [options] Override http request option.
619
578
  * @throws {RequiredError}
620
579
  */
621
- updatePayorAccount(vbasoftwareDatabase: string, payorID: string, payorAccountKey: number, payorAccount: PayorAccount, options?: any): AxiosPromise<PayorAccountVBAResponse> {
622
- return localVarFp.updatePayorAccount(vbasoftwareDatabase, payorID, payorAccountKey, payorAccount, options).then((request) => request(axios, basePath));
580
+ updatePayorAccount(vbasoftwareDatabase: string, payorAccountKey: number, payorAccount: PayorAccount, options?: any): AxiosPromise<PayorAccountVBAResponse> {
581
+ return localVarFp.updatePayorAccount(vbasoftwareDatabase, payorAccountKey, payorAccount, options).then((request) => request(axios, basePath));
623
582
  },
624
583
  };
625
584
  };
@@ -634,88 +593,81 @@ export interface PayorAccountsApiInterface {
634
593
  * Creates a new PayorAccount
635
594
  * @summary Create PayorAccount
636
595
  * @param {string} vbasoftwareDatabase Target database
637
- * @param {string} payorID Payor ID
638
596
  * @param {PayorAccount} payorAccount
639
597
  * @param {*} [options] Override http request option.
640
598
  * @throws {RequiredError}
641
599
  * @memberof PayorAccountsApiInterface
642
600
  */
643
- createPayorAccount(vbasoftwareDatabase: string, payorID: string, payorAccount: PayorAccount, options?: AxiosRequestConfig): AxiosPromise<PayorAccountVBAResponse>;
601
+ createPayorAccount(vbasoftwareDatabase: string, payorAccount: PayorAccount, options?: AxiosRequestConfig): AxiosPromise<PayorAccountVBAResponse>;
644
602
 
645
603
  /**
646
604
  * Deletes an PayorAccount
647
605
  * @summary Delete PayorAccount
648
606
  * @param {string} vbasoftwareDatabase Target database
649
- * @param {string} payorID Payor ID
650
607
  * @param {number} payorAccountKey Payor Account Key
651
608
  * @param {*} [options] Override http request option.
652
609
  * @throws {RequiredError}
653
610
  * @memberof PayorAccountsApiInterface
654
611
  */
655
- deletePayorAccount(vbasoftwareDatabase: string, payorID: string, payorAccountKey: number, options?: AxiosRequestConfig): AxiosPromise<void>;
612
+ deletePayorAccount(vbasoftwareDatabase: string, payorAccountKey: number, options?: AxiosRequestConfig): AxiosPromise<void>;
656
613
 
657
614
  /**
658
615
  * Gets PayorAccount
659
616
  * @summary Get PayorAccount
660
617
  * @param {string} vbasoftwareDatabase Target database
661
- * @param {string} payorID Payor ID
662
618
  * @param {number} payorAccountKey Payor Account Key
663
619
  * @param {*} [options] Override http request option.
664
620
  * @throws {RequiredError}
665
621
  * @memberof PayorAccountsApiInterface
666
622
  */
667
- getPayorAccount(vbasoftwareDatabase: string, payorID: string, payorAccountKey: number, options?: AxiosRequestConfig): AxiosPromise<PayorAccountVBAResponse>;
623
+ getPayorAccount(vbasoftwareDatabase: string, payorAccountKey: number, options?: AxiosRequestConfig): AxiosPromise<PayorAccountVBAResponse>;
668
624
 
669
625
  /**
670
626
  * Gets PayorAccount Balance details
671
627
  * @summary Get PayorAccount Balance
672
628
  * @param {string} vbasoftwareDatabase Target database
673
- * @param {string} payorID Payor ID
674
629
  * @param {number} payorAccountKey Payor Account Key
675
- * @param {string} clientId
676
630
  * @param {*} [options] Override http request option.
677
631
  * @throws {RequiredError}
678
632
  * @memberof PayorAccountsApiInterface
679
633
  */
680
- getPayorAccountBalance(vbasoftwareDatabase: string, payorID: string, payorAccountKey: number, clientId: string, options?: AxiosRequestConfig): AxiosPromise<FundingAccountBalanceVBAResponse>;
634
+ getPayorAccountBalance(vbasoftwareDatabase: string, payorAccountKey: number, options?: AxiosRequestConfig): AxiosPromise<FundingAccountBalanceVBAResponse>;
681
635
 
682
636
  /**
683
- * Lists all PayorAccount for the given payorID
637
+ * Lists PayorAccounts with optional Payor_ID filter.
684
638
  * @summary List PayorAccount
685
639
  * @param {string} vbasoftwareDatabase Target database
686
- * @param {string} payorID Payor ID
640
+ * @param {string} [payorID] Payor ID
687
641
  * @param {number} [page] Page
688
642
  * @param {number} [pageSize] Page Size
689
643
  * @param {*} [options] Override http request option.
690
644
  * @throws {RequiredError}
691
645
  * @memberof PayorAccountsApiInterface
692
646
  */
693
- listPayorAccount(vbasoftwareDatabase: string, payorID: string, page?: number, pageSize?: number, options?: AxiosRequestConfig): AxiosPromise<PayorAccountListVBAResponse>;
647
+ listPayorAccount(vbasoftwareDatabase: string, payorID?: string, page?: number, pageSize?: number, options?: AxiosRequestConfig): AxiosPromise<PayorAccountListVBAResponse>;
694
648
 
695
649
  /**
696
650
  * Create or Update multiple PayorAccount at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
697
651
  * @summary Create or Update Batch PayorAccount
698
652
  * @param {string} vbasoftwareDatabase Target database
699
- * @param {string} payorID Payor ID
700
653
  * @param {Array<PayorAccount>} payorAccount
701
654
  * @param {*} [options] Override http request option.
702
655
  * @throws {RequiredError}
703
656
  * @memberof PayorAccountsApiInterface
704
657
  */
705
- updateBatchPayorAccount(vbasoftwareDatabase: string, payorID: string, payorAccount: Array<PayorAccount>, options?: AxiosRequestConfig): AxiosPromise<MultiCodeResponseListVBAResponse>;
658
+ updateBatchPayorAccount(vbasoftwareDatabase: string, payorAccount: Array<PayorAccount>, options?: AxiosRequestConfig): AxiosPromise<MultiCodeResponseListVBAResponse>;
706
659
 
707
660
  /**
708
661
  * Updates a specific PayorAccount.
709
662
  * @summary Update PayorAccount
710
663
  * @param {string} vbasoftwareDatabase Target database
711
- * @param {string} payorID Payor ID
712
664
  * @param {number} payorAccountKey Payor Account Key
713
665
  * @param {PayorAccount} payorAccount
714
666
  * @param {*} [options] Override http request option.
715
667
  * @throws {RequiredError}
716
668
  * @memberof PayorAccountsApiInterface
717
669
  */
718
- updatePayorAccount(vbasoftwareDatabase: string, payorID: string, payorAccountKey: number, payorAccount: PayorAccount, options?: AxiosRequestConfig): AxiosPromise<PayorAccountVBAResponse>;
670
+ updatePayorAccount(vbasoftwareDatabase: string, payorAccountKey: number, payorAccount: PayorAccount, options?: AxiosRequestConfig): AxiosPromise<PayorAccountVBAResponse>;
719
671
 
720
672
  }
721
673
 
@@ -730,71 +682,66 @@ export class PayorAccountsApi extends BaseAPI implements PayorAccountsApiInterfa
730
682
  * Creates a new PayorAccount
731
683
  * @summary Create PayorAccount
732
684
  * @param {string} vbasoftwareDatabase Target database
733
- * @param {string} payorID Payor ID
734
685
  * @param {PayorAccount} payorAccount
735
686
  * @param {*} [options] Override http request option.
736
687
  * @throws {RequiredError}
737
688
  * @memberof PayorAccountsApi
738
689
  */
739
- public createPayorAccount(vbasoftwareDatabase: string, payorID: string, payorAccount: PayorAccount, options?: AxiosRequestConfig) {
740
- return PayorAccountsApiFp(this.configuration).createPayorAccount(vbasoftwareDatabase, payorID, payorAccount, options).then((request) => request(this.axios, this.basePath));
690
+ public createPayorAccount(vbasoftwareDatabase: string, payorAccount: PayorAccount, options?: AxiosRequestConfig) {
691
+ return PayorAccountsApiFp(this.configuration).createPayorAccount(vbasoftwareDatabase, payorAccount, options).then((request) => request(this.axios, this.basePath));
741
692
  }
742
693
 
743
694
  /**
744
695
  * Deletes an PayorAccount
745
696
  * @summary Delete PayorAccount
746
697
  * @param {string} vbasoftwareDatabase Target database
747
- * @param {string} payorID Payor ID
748
698
  * @param {number} payorAccountKey Payor Account Key
749
699
  * @param {*} [options] Override http request option.
750
700
  * @throws {RequiredError}
751
701
  * @memberof PayorAccountsApi
752
702
  */
753
- public deletePayorAccount(vbasoftwareDatabase: string, payorID: string, payorAccountKey: number, options?: AxiosRequestConfig) {
754
- return PayorAccountsApiFp(this.configuration).deletePayorAccount(vbasoftwareDatabase, payorID, payorAccountKey, options).then((request) => request(this.axios, this.basePath));
703
+ public deletePayorAccount(vbasoftwareDatabase: string, payorAccountKey: number, options?: AxiosRequestConfig) {
704
+ return PayorAccountsApiFp(this.configuration).deletePayorAccount(vbasoftwareDatabase, payorAccountKey, options).then((request) => request(this.axios, this.basePath));
755
705
  }
756
706
 
757
707
  /**
758
708
  * Gets PayorAccount
759
709
  * @summary Get PayorAccount
760
710
  * @param {string} vbasoftwareDatabase Target database
761
- * @param {string} payorID Payor ID
762
711
  * @param {number} payorAccountKey Payor Account Key
763
712
  * @param {*} [options] Override http request option.
764
713
  * @throws {RequiredError}
765
714
  * @memberof PayorAccountsApi
766
715
  */
767
- public getPayorAccount(vbasoftwareDatabase: string, payorID: string, payorAccountKey: number, options?: AxiosRequestConfig) {
768
- return PayorAccountsApiFp(this.configuration).getPayorAccount(vbasoftwareDatabase, payorID, payorAccountKey, options).then((request) => request(this.axios, this.basePath));
716
+ public getPayorAccount(vbasoftwareDatabase: string, payorAccountKey: number, options?: AxiosRequestConfig) {
717
+ return PayorAccountsApiFp(this.configuration).getPayorAccount(vbasoftwareDatabase, payorAccountKey, options).then((request) => request(this.axios, this.basePath));
769
718
  }
770
719
 
771
720
  /**
772
721
  * Gets PayorAccount Balance details
773
722
  * @summary Get PayorAccount Balance
774
723
  * @param {string} vbasoftwareDatabase Target database
775
- * @param {string} payorID Payor ID
776
724
  * @param {number} payorAccountKey Payor Account Key
777
- * @param {string} clientId
778
725
  * @param {*} [options] Override http request option.
779
726
  * @throws {RequiredError}
780
727
  * @memberof PayorAccountsApi
781
728
  */
782
- public getPayorAccountBalance(vbasoftwareDatabase: string, payorID: string, payorAccountKey: number, clientId: string, options?: AxiosRequestConfig) {
783
- return PayorAccountsApiFp(this.configuration).getPayorAccountBalance(vbasoftwareDatabase, payorID, payorAccountKey, clientId, options).then((request) => request(this.axios, this.basePath));
729
+ public getPayorAccountBalance(vbasoftwareDatabase: string, payorAccountKey: number, options?: AxiosRequestConfig) {
730
+ return PayorAccountsApiFp(this.configuration).getPayorAccountBalance(vbasoftwareDatabase, payorAccountKey, options).then((request) => request(this.axios, this.basePath));
784
731
  }
785
732
 
786
733
  /**
787
- * Lists all PayorAccount for the given payorID
734
+ * Lists PayorAccounts with optional Payor_ID filter.
788
735
  * @summary List PayorAccount
789
736
  * @param {string} vbasoftwareDatabase Target database
790
- * @param {string} payorID Payor ID
737
+ * @param {string} [payorID] Payor ID
791
738
  * @param {number} [page] Page
792
739
  * @param {number} [pageSize] Page Size
793
740
  * @param {*} [options] Override http request option.
794
741
  * @throws {RequiredError}
795
742
  * @memberof PayorAccountsApi
796
743
  */
797
- public listPayorAccount(vbasoftwareDatabase: string, payorID: string, page?: number, pageSize?: number, options?: AxiosRequestConfig) {
744
+ public listPayorAccount(vbasoftwareDatabase: string, payorID?: string, page?: number, pageSize?: number, options?: AxiosRequestConfig) {
798
745
  return PayorAccountsApiFp(this.configuration).listPayorAccount(vbasoftwareDatabase, payorID, page, pageSize, options).then((request) => request(this.axios, this.basePath));
799
746
  }
800
747
 
@@ -802,28 +749,26 @@ export class PayorAccountsApi extends BaseAPI implements PayorAccountsApiInterfa
802
749
  * Create or Update multiple PayorAccount at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
803
750
  * @summary Create or Update Batch PayorAccount
804
751
  * @param {string} vbasoftwareDatabase Target database
805
- * @param {string} payorID Payor ID
806
752
  * @param {Array<PayorAccount>} payorAccount
807
753
  * @param {*} [options] Override http request option.
808
754
  * @throws {RequiredError}
809
755
  * @memberof PayorAccountsApi
810
756
  */
811
- public updateBatchPayorAccount(vbasoftwareDatabase: string, payorID: string, payorAccount: Array<PayorAccount>, options?: AxiosRequestConfig) {
812
- return PayorAccountsApiFp(this.configuration).updateBatchPayorAccount(vbasoftwareDatabase, payorID, payorAccount, options).then((request) => request(this.axios, this.basePath));
757
+ public updateBatchPayorAccount(vbasoftwareDatabase: string, payorAccount: Array<PayorAccount>, options?: AxiosRequestConfig) {
758
+ return PayorAccountsApiFp(this.configuration).updateBatchPayorAccount(vbasoftwareDatabase, payorAccount, options).then((request) => request(this.axios, this.basePath));
813
759
  }
814
760
 
815
761
  /**
816
762
  * Updates a specific PayorAccount.
817
763
  * @summary Update PayorAccount
818
764
  * @param {string} vbasoftwareDatabase Target database
819
- * @param {string} payorID Payor ID
820
765
  * @param {number} payorAccountKey Payor Account Key
821
766
  * @param {PayorAccount} payorAccount
822
767
  * @param {*} [options] Override http request option.
823
768
  * @throws {RequiredError}
824
769
  * @memberof PayorAccountsApi
825
770
  */
826
- public updatePayorAccount(vbasoftwareDatabase: string, payorID: string, payorAccountKey: number, payorAccount: PayorAccount, options?: AxiosRequestConfig) {
827
- return PayorAccountsApiFp(this.configuration).updatePayorAccount(vbasoftwareDatabase, payorID, payorAccountKey, payorAccount, options).then((request) => request(this.axios, this.basePath));
771
+ public updatePayorAccount(vbasoftwareDatabase: string, payorAccountKey: number, payorAccount: PayorAccount, options?: AxiosRequestConfig) {
772
+ return PayorAccountsApiFp(this.configuration).updatePayorAccount(vbasoftwareDatabase, payorAccountKey, payorAccount, options).then((request) => request(this.axios, this.basePath));
828
773
  }
829
774
  }