@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20250502.1 → 1.20250620.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.
Files changed (80) hide show
  1. package/.openapi-generator/FILES +40 -0
  2. package/api/adv-billing-api.ts +184 -0
  3. package/api/adv-care-management-api.ts +166 -0
  4. package/api/adv-claim-api.ts +204 -6
  5. package/api/adv-commission-api.ts +96 -0
  6. package/api/adv-enrollment-api.ts +88 -0
  7. package/api/adv-vbagateway-api.ts +168 -0
  8. package/api/authentication-api.ts +96 -0
  9. package/api/care-cases-api.ts +609 -0
  10. package/api/claim-offset-api.ts +685 -0
  11. package/api/claim-offset-detail-api.ts +694 -0
  12. package/api/claims-api.ts +25 -25
  13. package/api/company-data-api.ts +90 -0
  14. package/api/funding-reconciliations-api.ts +96 -0
  15. package/api/funding-request-claim-remove-api.ts +773 -0
  16. package/api/plans-api.ts +26 -8
  17. package/api/premium-invoices-api.ts +88 -0
  18. package/api/user-api.ts +22 -13
  19. package/api.ts +5 -0
  20. package/docs/AdjudicationSummary.md +34 -0
  21. package/docs/AdvBillingApi.md +109 -0
  22. package/docs/AdvCareManagementApi.md +63 -0
  23. package/docs/AdvClaimApi.md +117 -4
  24. package/docs/AdvCommissionApi.md +56 -0
  25. package/docs/AdvEnrollmentApi.md +53 -0
  26. package/docs/AdvVBAGatewayApi.md +64 -0
  27. package/docs/AuthenticationApi.md +56 -0
  28. package/docs/CareCasesApi.md +347 -0
  29. package/docs/ClaimOffset.md +30 -0
  30. package/docs/ClaimOffsetApi.md +354 -0
  31. package/docs/ClaimOffsetDetail.md +36 -0
  32. package/docs/ClaimOffsetDetailApi.md +357 -0
  33. package/docs/ClaimOffsetDetailListVBAResponse.md +24 -0
  34. package/docs/ClaimOffsetDetailVBAResponse.md +24 -0
  35. package/docs/ClaimOffsetListVBAResponse.md +24 -0
  36. package/docs/ClaimOffsetVBAResponse.md +24 -0
  37. package/docs/ClaimsApi.md +5 -5
  38. package/docs/CompanyData.md +2 -0
  39. package/docs/CompanyDataApi.md +53 -0
  40. package/docs/FundingReconciliationsApi.md +56 -0
  41. package/docs/FundingRequestClaimRemove.md +38 -0
  42. package/docs/FundingRequestClaimRemoveApi.md +387 -0
  43. package/docs/FundingRequestClaimRemoveListVBAResponse.md +24 -0
  44. package/docs/FundingRequestClaimRemoveVBAResponse.md +24 -0
  45. package/docs/MemberBeneficiary.md +1 -1
  46. package/docs/Members.md +4 -0
  47. package/docs/PlansApi.md +7 -1
  48. package/docs/PremiumInvoicesApi.md +53 -0
  49. package/docs/ReportSeriesProcess.md +2 -0
  50. package/docs/ReportSeriesStep.md +16 -0
  51. package/docs/UserApi.md +5 -2
  52. package/docs/VBAClaimBatchCopy.md +60 -0
  53. package/docs/VBAClaimBatchCopyVBAResponse.md +24 -0
  54. package/docs/VBAClientSummary.md +48 -0
  55. package/docs/VBAClientSummaryVBAResponse.md +24 -0
  56. package/docs/VBAProcessPaymentFile.md +9 -9
  57. package/docs/VBAVBAGatewayProcessRequest.md +32 -0
  58. package/models/adjudication-summary.ts +72 -0
  59. package/models/claim-offset-detail-list-vbaresponse.ts +51 -0
  60. package/models/claim-offset-detail-vbaresponse.ts +51 -0
  61. package/models/claim-offset-detail.ts +78 -0
  62. package/models/claim-offset-list-vbaresponse.ts +51 -0
  63. package/models/claim-offset-vbaresponse.ts +51 -0
  64. package/models/claim-offset.ts +60 -0
  65. package/models/company-data.ts +6 -0
  66. package/models/funding-request-claim-remove-list-vbaresponse.ts +51 -0
  67. package/models/funding-request-claim-remove-vbaresponse.ts +51 -0
  68. package/models/funding-request-claim-remove.ts +84 -0
  69. package/models/index.ts +15 -0
  70. package/models/member-beneficiary.ts +1 -1
  71. package/models/members.ts +12 -0
  72. package/models/report-series-process.ts +6 -0
  73. package/models/report-series-step.ts +48 -0
  74. package/models/vbaclaim-batch-copy-vbaresponse.ts +51 -0
  75. package/models/vbaclaim-batch-copy.ts +150 -0
  76. package/models/vbaclient-summary-vbaresponse.ts +51 -0
  77. package/models/vbaclient-summary.ts +117 -0
  78. package/models/vbaprocess-payment-file.ts +9 -9
  79. package/models/vbavbagateway-process-request.ts +66 -0
  80. package/package.json +1 -1
@@ -9,6 +9,7 @@ api/adv-auth-api.ts
9
9
  api/adv-benefits-api.ts
10
10
  api/adv-billing-api.ts
11
11
  api/adv-capitation-api.ts
12
+ api/adv-care-management-api.ts
12
13
  api/adv-claim-api.ts
13
14
  api/adv-commission-api.ts
14
15
  api/adv-enrollment-api.ts
@@ -18,6 +19,7 @@ api/adv-group-contracts-api.ts
18
19
  api/adv-group-divisions-api.ts
19
20
  api/adv-groups-api.ts
20
21
  api/adv-reinsurance-api.ts
22
+ api/adv-vbagateway-api.ts
21
23
  api/adv-workflow-api.ts
22
24
  api/age-settings-api.ts
23
25
  api/agriculture-tax-returns-api.ts
@@ -192,6 +194,8 @@ api/claim-invoice-payments-api.ts
192
194
  api/claim-invoice-received-api.ts
193
195
  api/claim-lives-api.ts
194
196
  api/claim-occurrence-codes-api.ts
197
+ api/claim-offset-api.ts
198
+ api/claim-offset-detail-api.ts
195
199
  api/claim-payments-api.ts
196
200
  api/claim-pre-batch-details-api.ts
197
201
  api/claim-pre-batches-api.ts
@@ -392,6 +396,7 @@ api/funding-reconciliation-statuses-api.ts
392
396
  api/funding-reconciliations-api.ts
393
397
  api/funding-reconciliations-received-api.ts
394
398
  api/funding-references-api.ts
399
+ api/funding-request-claim-remove-api.ts
395
400
  api/funding-request-claims-api.ts
396
401
  api/funding-request-statuses-api.ts
397
402
  api/funding-request-types-api.ts
@@ -913,6 +918,7 @@ docs/ActiveSubscriberListVBAResponse.md
913
918
  docs/AddEnrollmentRequest.md
914
919
  docs/AdjudicateBenefitMatchDetail.md
915
920
  docs/AdjudicateBenefitMatchDetailListVBAResponse.md
921
+ docs/AdjudicationSummary.md
916
922
  docs/AdmissionTypePlace.md
917
923
  docs/AdmissionTypePlaceListVBAResponse.md
918
924
  docs/AdmissionTypePlaceVBAResponse.md
@@ -922,6 +928,7 @@ docs/AdvAuthApi.md
922
928
  docs/AdvBenefitsApi.md
923
929
  docs/AdvBillingApi.md
924
930
  docs/AdvCapitationApi.md
931
+ docs/AdvCareManagementApi.md
925
932
  docs/AdvClaimApi.md
926
933
  docs/AdvCommissionApi.md
927
934
  docs/AdvEnrollmentApi.md
@@ -931,6 +938,7 @@ docs/AdvGroupContractsApi.md
931
938
  docs/AdvGroupDivisionsApi.md
932
939
  docs/AdvGroupsApi.md
933
940
  docs/AdvReinsuranceApi.md
941
+ docs/AdvVBAGatewayApi.md
934
942
  docs/AdvWorkflowApi.md
935
943
  docs/AgeSettingsApi.md
936
944
  docs/AgricultureTaxReturnsApi.md
@@ -1636,6 +1644,14 @@ docs/ClaimOccurrenceCode.md
1636
1644
  docs/ClaimOccurrenceCodeListVBAResponse.md
1637
1645
  docs/ClaimOccurrenceCodeVBAResponse.md
1638
1646
  docs/ClaimOccurrenceCodesApi.md
1647
+ docs/ClaimOffset.md
1648
+ docs/ClaimOffsetApi.md
1649
+ docs/ClaimOffsetDetail.md
1650
+ docs/ClaimOffsetDetailApi.md
1651
+ docs/ClaimOffsetDetailListVBAResponse.md
1652
+ docs/ClaimOffsetDetailVBAResponse.md
1653
+ docs/ClaimOffsetListVBAResponse.md
1654
+ docs/ClaimOffsetVBAResponse.md
1639
1655
  docs/ClaimPayee.md
1640
1656
  docs/ClaimPayment.md
1641
1657
  docs/ClaimPaymentListVBAResponse.md
@@ -2435,6 +2451,10 @@ docs/FundingReferencesApi.md
2435
2451
  docs/FundingRequest.md
2436
2452
  docs/FundingRequestClaim.md
2437
2453
  docs/FundingRequestClaimListVBAResponse.md
2454
+ docs/FundingRequestClaimRemove.md
2455
+ docs/FundingRequestClaimRemoveApi.md
2456
+ docs/FundingRequestClaimRemoveListVBAResponse.md
2457
+ docs/FundingRequestClaimRemoveVBAResponse.md
2438
2458
  docs/FundingRequestClaimVBAResponse.md
2439
2459
  docs/FundingRequestClaimsApi.md
2440
2460
  docs/FundingRequestListVBAResponse.md
@@ -4271,6 +4291,8 @@ docs/VBACDCSubenrollmentRider.md
4271
4291
  docs/VBACDCSubenrollmentRiderListVBAResponse.md
4272
4292
  docs/VBACDCSubscribers.md
4273
4293
  docs/VBACDCSubscribersListVBAResponse.md
4294
+ docs/VBAClaimBatchCopy.md
4295
+ docs/VBAClaimBatchCopyVBAResponse.md
4274
4296
  docs/VBAClaimFundingMemberPayToAmount.md
4275
4297
  docs/VBAClaimFundingMemberPayToAmountListVBAResponse.md
4276
4298
  docs/VBAClaimFundingPayToAmount.md
@@ -4282,6 +4304,8 @@ docs/VBAClient.md
4282
4304
  docs/VBAClientEnvironment.md
4283
4305
  docs/VBAClientEnvironmentListVBAResponse.md
4284
4306
  docs/VBAClientListVBAResponse.md
4307
+ docs/VBAClientSummary.md
4308
+ docs/VBAClientSummaryVBAResponse.md
4285
4309
  docs/VBAClientVBAResponse.md
4286
4310
  docs/VBACommissionRateSubscriber.md
4287
4311
  docs/VBACommissionRateSubscriberListVBAResponse.md
@@ -4384,6 +4408,7 @@ docs/VBASSOLoginConfig.md
4384
4408
  docs/VBAUpdateClaimFundedStatus.md
4385
4409
  docs/VBAUserStatus.md
4386
4410
  docs/VBAUserStatusVBAResponse.md
4411
+ docs/VBAVBAGatewayProcessRequest.md
4387
4412
  docs/VBAssistApi.md
4388
4413
  docs/VerifyMFADeviceSetupRequest.md
4389
4414
  docs/VerifyMFADeviceSetupResponse.md
@@ -4454,6 +4479,7 @@ models/active-subscriber.ts
4454
4479
  models/add-enrollment-request.ts
4455
4480
  models/adjudicate-benefit-match-detail-list-vbaresponse.ts
4456
4481
  models/adjudicate-benefit-match-detail.ts
4482
+ models/adjudication-summary.ts
4457
4483
  models/admission-type-place-list-vbaresponse.ts
4458
4484
  models/admission-type-place-vbaresponse.ts
4459
4485
  models/admission-type-place.ts
@@ -4985,6 +5011,12 @@ models/claim-network.ts
4985
5011
  models/claim-occurrence-code-list-vbaresponse.ts
4986
5012
  models/claim-occurrence-code-vbaresponse.ts
4987
5013
  models/claim-occurrence-code.ts
5014
+ models/claim-offset-detail-list-vbaresponse.ts
5015
+ models/claim-offset-detail-vbaresponse.ts
5016
+ models/claim-offset-detail.ts
5017
+ models/claim-offset-list-vbaresponse.ts
5018
+ models/claim-offset-vbaresponse.ts
5019
+ models/claim-offset.ts
4988
5020
  models/claim-payee.ts
4989
5021
  models/claim-payment-list-vbaresponse.ts
4990
5022
  models/claim-payment-vbaresponse.ts
@@ -5596,6 +5628,9 @@ models/funding-reference-list-vbaresponse.ts
5596
5628
  models/funding-reference-vbaresponse.ts
5597
5629
  models/funding-reference.ts
5598
5630
  models/funding-request-claim-list-vbaresponse.ts
5631
+ models/funding-request-claim-remove-list-vbaresponse.ts
5632
+ models/funding-request-claim-remove-vbaresponse.ts
5633
+ models/funding-request-claim-remove.ts
5599
5634
  models/funding-request-claim-vbaresponse.ts
5600
5635
  models/funding-request-claim.ts
5601
5636
  models/funding-request-list-vbaresponse.ts
@@ -6975,6 +7010,8 @@ models/vbacdcsubenrollment-rider.ts
6975
7010
  models/vbacdcsubenrollment.ts
6976
7011
  models/vbacdcsubscribers-list-vbaresponse.ts
6977
7012
  models/vbacdcsubscribers.ts
7013
+ models/vbaclaim-batch-copy-vbaresponse.ts
7014
+ models/vbaclaim-batch-copy.ts
6978
7015
  models/vbaclaim-funding-member-pay-to-amount-list-vbaresponse.ts
6979
7016
  models/vbaclaim-funding-member-pay-to-amount.ts
6980
7017
  models/vbaclaim-funding-pay-to-amount-list-vbaresponse.ts
@@ -6985,6 +7022,8 @@ models/vbaclaim-timeline.ts
6985
7022
  models/vbaclient-environment-list-vbaresponse.ts
6986
7023
  models/vbaclient-environment.ts
6987
7024
  models/vbaclient-list-vbaresponse.ts
7025
+ models/vbaclient-summary-vbaresponse.ts
7026
+ models/vbaclient-summary.ts
6988
7027
  models/vbaclient-vbaresponse.ts
6989
7028
  models/vbaclient.ts
6990
7029
  models/vbacommission-rate-subscriber-list-vbaresponse.ts
@@ -7076,6 +7115,7 @@ models/vbassologin-config.ts
7076
7115
  models/vbaupdate-claim-funded-status.ts
7077
7116
  models/vbauser-status-vbaresponse.ts
7078
7117
  models/vbauser-status.ts
7118
+ models/vbavbagateway-process-request.ts
7079
7119
  models/verify-mfadevice-setup-request.ts
7080
7120
  models/verify-mfadevice-setup-response-vbaresponse.ts
7081
7121
  models/verify-mfadevice-setup-response.ts
@@ -265,6 +265,96 @@ export const AdvBillingApiAxiosParamCreator = function (configuration?: Configur
265
265
  options: localVarRequestOptions,
266
266
  };
267
267
  },
268
+ /**
269
+ * When the payment being attached to an Invoice is negative, you can optionally call this trigger to see if any process automation is configured to notify internal team members.
270
+ * @summary When a negative Payment is attached to an Invoice, trigger Process Automation.
271
+ * @param {string} vbasoftwareDatabase Target database
272
+ * @param {number} invoiceKey Invoice Key
273
+ * @param {*} [options] Override http request option.
274
+ * @throws {RequiredError}
275
+ */
276
+ billingNegativePaymentProcessAutomation: async (vbasoftwareDatabase: string, invoiceKey: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
277
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
278
+ assertParamExists('billingNegativePaymentProcessAutomation', 'vbasoftwareDatabase', vbasoftwareDatabase)
279
+ // verify required parameter 'invoiceKey' is not null or undefined
280
+ assertParamExists('billingNegativePaymentProcessAutomation', 'invoiceKey', invoiceKey)
281
+ const localVarPath = `/billing-negative-payment-process-automation/{invoiceKey}`
282
+ .replace(`{${"invoiceKey"}}`, encodeURIComponent(String(invoiceKey)));
283
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
284
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
285
+ let baseOptions;
286
+ if (configuration) {
287
+ baseOptions = configuration.baseOptions;
288
+ }
289
+
290
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
291
+ const localVarHeaderParameter = {} as any;
292
+ const localVarQueryParameter = {} as any;
293
+
294
+ // authentication apiKeyAuth required
295
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
296
+
297
+ // authentication bearerAuth required
298
+ // http bearer authentication required
299
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
300
+
301
+
302
+
303
+ if (vbasoftwareDatabase != null) {
304
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
305
+ }
306
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
307
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
308
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
309
+
310
+ return {
311
+ url: toPathString(localVarUrlObj),
312
+ options: localVarRequestOptions,
313
+ };
314
+ },
315
+ /**
316
+ * Based on configured Past Due settings, interrogate Premium Billing invoices for past due invoices and fire configured process automation triggers.
317
+ * @summary Check Past Due settings and trigger Process Automation
318
+ * @param {string} vbasoftwareDatabase Target database
319
+ * @param {*} [options] Override http request option.
320
+ * @throws {RequiredError}
321
+ */
322
+ billingPastDueProcessAutomation: async (vbasoftwareDatabase: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
323
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
324
+ assertParamExists('billingPastDueProcessAutomation', 'vbasoftwareDatabase', vbasoftwareDatabase)
325
+ const localVarPath = `/billing-past-due-process-automation`;
326
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
327
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
328
+ let baseOptions;
329
+ if (configuration) {
330
+ baseOptions = configuration.baseOptions;
331
+ }
332
+
333
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
334
+ const localVarHeaderParameter = {} as any;
335
+ const localVarQueryParameter = {} as any;
336
+
337
+ // authentication apiKeyAuth required
338
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
339
+
340
+ // authentication bearerAuth required
341
+ // http bearer authentication required
342
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
343
+
344
+
345
+
346
+ if (vbasoftwareDatabase != null) {
347
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
348
+ }
349
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
350
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
351
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
352
+
353
+ return {
354
+ url: toPathString(localVarUrlObj),
355
+ options: localVarRequestOptions,
356
+ };
357
+ },
268
358
  /**
269
359
  * Take a list of Rates and a set of configuration options and change those rates.
270
360
  * @summary Change Premium Rates
@@ -2126,6 +2216,33 @@ export const AdvBillingApiFp = function(configuration?: Configuration) {
2126
2216
  const localVarOperationServerBasePath = operationServerMap['AdvBillingApi.billingAutoApply']?.[localVarOperationServerIndex]?.url;
2127
2217
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2128
2218
  },
2219
+ /**
2220
+ * When the payment being attached to an Invoice is negative, you can optionally call this trigger to see if any process automation is configured to notify internal team members.
2221
+ * @summary When a negative Payment is attached to an Invoice, trigger Process Automation.
2222
+ * @param {string} vbasoftwareDatabase Target database
2223
+ * @param {number} invoiceKey Invoice Key
2224
+ * @param {*} [options] Override http request option.
2225
+ * @throws {RequiredError}
2226
+ */
2227
+ async billingNegativePaymentProcessAutomation(vbasoftwareDatabase: string, invoiceKey: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2228
+ const localVarAxiosArgs = await localVarAxiosParamCreator.billingNegativePaymentProcessAutomation(vbasoftwareDatabase, invoiceKey, options);
2229
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2230
+ const localVarOperationServerBasePath = operationServerMap['AdvBillingApi.billingNegativePaymentProcessAutomation']?.[localVarOperationServerIndex]?.url;
2231
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2232
+ },
2233
+ /**
2234
+ * Based on configured Past Due settings, interrogate Premium Billing invoices for past due invoices and fire configured process automation triggers.
2235
+ * @summary Check Past Due settings and trigger Process Automation
2236
+ * @param {string} vbasoftwareDatabase Target database
2237
+ * @param {*} [options] Override http request option.
2238
+ * @throws {RequiredError}
2239
+ */
2240
+ async billingPastDueProcessAutomation(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2241
+ const localVarAxiosArgs = await localVarAxiosParamCreator.billingPastDueProcessAutomation(vbasoftwareDatabase, options);
2242
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2243
+ const localVarOperationServerBasePath = operationServerMap['AdvBillingApi.billingPastDueProcessAutomation']?.[localVarOperationServerIndex]?.url;
2244
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2245
+ },
2129
2246
  /**
2130
2247
  * Take a list of Rates and a set of configuration options and change those rates.
2131
2248
  * @summary Change Premium Rates
@@ -2688,6 +2805,27 @@ export const AdvBillingApiFactory = function (configuration?: Configuration, bas
2688
2805
  billingAutoApply(vbasoftwareDatabase: string, billingAutoApplyConfig: BillingAutoApplyConfig, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2689
2806
  return localVarFp.billingAutoApply(vbasoftwareDatabase, billingAutoApplyConfig, options).then((request) => request(axios, basePath));
2690
2807
  },
2808
+ /**
2809
+ * When the payment being attached to an Invoice is negative, you can optionally call this trigger to see if any process automation is configured to notify internal team members.
2810
+ * @summary When a negative Payment is attached to an Invoice, trigger Process Automation.
2811
+ * @param {string} vbasoftwareDatabase Target database
2812
+ * @param {number} invoiceKey Invoice Key
2813
+ * @param {*} [options] Override http request option.
2814
+ * @throws {RequiredError}
2815
+ */
2816
+ billingNegativePaymentProcessAutomation(vbasoftwareDatabase: string, invoiceKey: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2817
+ return localVarFp.billingNegativePaymentProcessAutomation(vbasoftwareDatabase, invoiceKey, options).then((request) => request(axios, basePath));
2818
+ },
2819
+ /**
2820
+ * Based on configured Past Due settings, interrogate Premium Billing invoices for past due invoices and fire configured process automation triggers.
2821
+ * @summary Check Past Due settings and trigger Process Automation
2822
+ * @param {string} vbasoftwareDatabase Target database
2823
+ * @param {*} [options] Override http request option.
2824
+ * @throws {RequiredError}
2825
+ */
2826
+ billingPastDueProcessAutomation(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2827
+ return localVarFp.billingPastDueProcessAutomation(vbasoftwareDatabase, options).then((request) => request(axios, basePath));
2828
+ },
2691
2829
  /**
2692
2830
  * Take a list of Rates and a set of configuration options and change those rates.
2693
2831
  * @summary Change Premium Rates
@@ -3144,6 +3282,27 @@ export interface AdvBillingApiInterface {
3144
3282
  */
3145
3283
  billingAutoApply(vbasoftwareDatabase: string, billingAutoApplyConfig: BillingAutoApplyConfig, options?: RawAxiosRequestConfig): AxiosPromise<void>;
3146
3284
 
3285
+ /**
3286
+ * When the payment being attached to an Invoice is negative, you can optionally call this trigger to see if any process automation is configured to notify internal team members.
3287
+ * @summary When a negative Payment is attached to an Invoice, trigger Process Automation.
3288
+ * @param {string} vbasoftwareDatabase Target database
3289
+ * @param {number} invoiceKey Invoice Key
3290
+ * @param {*} [options] Override http request option.
3291
+ * @throws {RequiredError}
3292
+ * @memberof AdvBillingApiInterface
3293
+ */
3294
+ billingNegativePaymentProcessAutomation(vbasoftwareDatabase: string, invoiceKey: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
3295
+
3296
+ /**
3297
+ * Based on configured Past Due settings, interrogate Premium Billing invoices for past due invoices and fire configured process automation triggers.
3298
+ * @summary Check Past Due settings and trigger Process Automation
3299
+ * @param {string} vbasoftwareDatabase Target database
3300
+ * @param {*} [options] Override http request option.
3301
+ * @throws {RequiredError}
3302
+ * @memberof AdvBillingApiInterface
3303
+ */
3304
+ billingPastDueProcessAutomation(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
3305
+
3147
3306
  /**
3148
3307
  * Take a list of Rates and a set of configuration options and change those rates.
3149
3308
  * @summary Change Premium Rates
@@ -3608,6 +3767,31 @@ export class AdvBillingApi extends BaseAPI implements AdvBillingApiInterface {
3608
3767
  return AdvBillingApiFp(this.configuration).billingAutoApply(vbasoftwareDatabase, billingAutoApplyConfig, options).then((request) => request(this.axios, this.basePath));
3609
3768
  }
3610
3769
 
3770
+ /**
3771
+ * When the payment being attached to an Invoice is negative, you can optionally call this trigger to see if any process automation is configured to notify internal team members.
3772
+ * @summary When a negative Payment is attached to an Invoice, trigger Process Automation.
3773
+ * @param {string} vbasoftwareDatabase Target database
3774
+ * @param {number} invoiceKey Invoice Key
3775
+ * @param {*} [options] Override http request option.
3776
+ * @throws {RequiredError}
3777
+ * @memberof AdvBillingApi
3778
+ */
3779
+ public billingNegativePaymentProcessAutomation(vbasoftwareDatabase: string, invoiceKey: number, options?: RawAxiosRequestConfig) {
3780
+ return AdvBillingApiFp(this.configuration).billingNegativePaymentProcessAutomation(vbasoftwareDatabase, invoiceKey, options).then((request) => request(this.axios, this.basePath));
3781
+ }
3782
+
3783
+ /**
3784
+ * Based on configured Past Due settings, interrogate Premium Billing invoices for past due invoices and fire configured process automation triggers.
3785
+ * @summary Check Past Due settings and trigger Process Automation
3786
+ * @param {string} vbasoftwareDatabase Target database
3787
+ * @param {*} [options] Override http request option.
3788
+ * @throws {RequiredError}
3789
+ * @memberof AdvBillingApi
3790
+ */
3791
+ public billingPastDueProcessAutomation(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig) {
3792
+ return AdvBillingApiFp(this.configuration).billingPastDueProcessAutomation(vbasoftwareDatabase, options).then((request) => request(this.axios, this.basePath));
3793
+ }
3794
+
3611
3795
  /**
3612
3796
  * Take a list of Rates and a set of configuration options and change those rates.
3613
3797
  * @summary Change Premium Rates
@@ -0,0 +1,166 @@
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 type { Configuration } from '../configuration';
17
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
18
+ import globalAxios from 'axios';
19
+ // Some imports not used depending on template conditions
20
+ // @ts-ignore
21
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
22
+ // @ts-ignore
23
+ import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
24
+ /**
25
+ * AdvCareManagementApi - axios parameter creator
26
+ * @export
27
+ */
28
+ export const AdvCareManagementApiAxiosParamCreator = function (configuration?: Configuration) {
29
+ return {
30
+ /**
31
+ * Submit a list of Cases and then, based on availability, weight, and other factors, determine what Care Managers should recive those cases.
32
+ * @summary Assign a Selection of Cases to available Care Managers
33
+ * @param {string} vbasoftwareDatabase Target database
34
+ * @param {Array<number>} requestBody
35
+ * @param {*} [options] Override http request option.
36
+ * @throws {RequiredError}
37
+ */
38
+ careManagementAssign: async (vbasoftwareDatabase: string, requestBody: Array<number>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
39
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
40
+ assertParamExists('careManagementAssign', 'vbasoftwareDatabase', vbasoftwareDatabase)
41
+ // verify required parameter 'requestBody' is not null or undefined
42
+ assertParamExists('careManagementAssign', 'requestBody', requestBody)
43
+ const localVarPath = `/care-management-assign`;
44
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
45
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
46
+ let baseOptions;
47
+ if (configuration) {
48
+ baseOptions = configuration.baseOptions;
49
+ }
50
+
51
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
52
+ const localVarHeaderParameter = {} as any;
53
+ const localVarQueryParameter = {} as any;
54
+
55
+ // authentication apiKeyAuth required
56
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
57
+
58
+ // authentication bearerAuth required
59
+ // http bearer authentication required
60
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
61
+
62
+
63
+
64
+ localVarHeaderParameter['Content-Type'] = 'application/json';
65
+
66
+ if (vbasoftwareDatabase != null) {
67
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
68
+ }
69
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
70
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
71
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
72
+ localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
73
+
74
+ return {
75
+ url: toPathString(localVarUrlObj),
76
+ options: localVarRequestOptions,
77
+ };
78
+ },
79
+ }
80
+ };
81
+
82
+ /**
83
+ * AdvCareManagementApi - functional programming interface
84
+ * @export
85
+ */
86
+ export const AdvCareManagementApiFp = function(configuration?: Configuration) {
87
+ const localVarAxiosParamCreator = AdvCareManagementApiAxiosParamCreator(configuration)
88
+ return {
89
+ /**
90
+ * Submit a list of Cases and then, based on availability, weight, and other factors, determine what Care Managers should recive those cases.
91
+ * @summary Assign a Selection of Cases to available Care Managers
92
+ * @param {string} vbasoftwareDatabase Target database
93
+ * @param {Array<number>} requestBody
94
+ * @param {*} [options] Override http request option.
95
+ * @throws {RequiredError}
96
+ */
97
+ async careManagementAssign(vbasoftwareDatabase: string, requestBody: Array<number>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
98
+ const localVarAxiosArgs = await localVarAxiosParamCreator.careManagementAssign(vbasoftwareDatabase, requestBody, options);
99
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
100
+ const localVarOperationServerBasePath = operationServerMap['AdvCareManagementApi.careManagementAssign']?.[localVarOperationServerIndex]?.url;
101
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
102
+ },
103
+ }
104
+ };
105
+
106
+ /**
107
+ * AdvCareManagementApi - factory interface
108
+ * @export
109
+ */
110
+ export const AdvCareManagementApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
111
+ const localVarFp = AdvCareManagementApiFp(configuration)
112
+ return {
113
+ /**
114
+ * Submit a list of Cases and then, based on availability, weight, and other factors, determine what Care Managers should recive those cases.
115
+ * @summary Assign a Selection of Cases to available Care Managers
116
+ * @param {string} vbasoftwareDatabase Target database
117
+ * @param {Array<number>} requestBody
118
+ * @param {*} [options] Override http request option.
119
+ * @throws {RequiredError}
120
+ */
121
+ careManagementAssign(vbasoftwareDatabase: string, requestBody: Array<number>, options?: RawAxiosRequestConfig): AxiosPromise<void> {
122
+ return localVarFp.careManagementAssign(vbasoftwareDatabase, requestBody, options).then((request) => request(axios, basePath));
123
+ },
124
+ };
125
+ };
126
+
127
+ /**
128
+ * AdvCareManagementApi - interface
129
+ * @export
130
+ * @interface AdvCareManagementApi
131
+ */
132
+ export interface AdvCareManagementApiInterface {
133
+ /**
134
+ * Submit a list of Cases and then, based on availability, weight, and other factors, determine what Care Managers should recive those cases.
135
+ * @summary Assign a Selection of Cases to available Care Managers
136
+ * @param {string} vbasoftwareDatabase Target database
137
+ * @param {Array<number>} requestBody
138
+ * @param {*} [options] Override http request option.
139
+ * @throws {RequiredError}
140
+ * @memberof AdvCareManagementApiInterface
141
+ */
142
+ careManagementAssign(vbasoftwareDatabase: string, requestBody: Array<number>, options?: RawAxiosRequestConfig): AxiosPromise<void>;
143
+
144
+ }
145
+
146
+ /**
147
+ * AdvCareManagementApi - object-oriented interface
148
+ * @export
149
+ * @class AdvCareManagementApi
150
+ * @extends {BaseAPI}
151
+ */
152
+ export class AdvCareManagementApi extends BaseAPI implements AdvCareManagementApiInterface {
153
+ /**
154
+ * Submit a list of Cases and then, based on availability, weight, and other factors, determine what Care Managers should recive those cases.
155
+ * @summary Assign a Selection of Cases to available Care Managers
156
+ * @param {string} vbasoftwareDatabase Target database
157
+ * @param {Array<number>} requestBody
158
+ * @param {*} [options] Override http request option.
159
+ * @throws {RequiredError}
160
+ * @memberof AdvCareManagementApi
161
+ */
162
+ public careManagementAssign(vbasoftwareDatabase: string, requestBody: Array<number>, options?: RawAxiosRequestConfig) {
163
+ return AdvCareManagementApiFp(this.configuration).careManagementAssign(vbasoftwareDatabase, requestBody, options).then((request) => request(this.axios, this.basePath));
164
+ }
165
+ }
166
+