@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20250328.1 → 1.20250404.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.
@@ -3393,6 +3393,10 @@ models/vbacdcsubenrollment-rider.ts
3393
3393
  models/vbacdcsubenrollment.ts
3394
3394
  models/vbacdcsubscribers-list-vbaresponse.ts
3395
3395
  models/vbacdcsubscribers.ts
3396
+ models/vbaclaim-funding-member-pay-to-amount-list-vbaresponse.ts
3397
+ models/vbaclaim-funding-member-pay-to-amount.ts
3398
+ models/vbaclaim-funding-pay-to-amount-list-vbaresponse.ts
3399
+ models/vbaclaim-funding-pay-to-amount.ts
3396
3400
  models/vbaclaim-timeline-list-vbaresponse.ts
3397
3401
  models/vbaclaim-timeline.ts
3398
3402
  models/vbaclient-environment-list-vbaresponse.ts
@@ -1953,6 +1953,53 @@ export const AdvBillingApiAxiosParamCreator = function (configuration?: Configur
1953
1953
 
1954
1954
 
1955
1955
 
1956
+ if (vbasoftwareDatabase != null) {
1957
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
1958
+ }
1959
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1960
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1961
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1962
+
1963
+ return {
1964
+ url: toPathString(localVarUrlObj),
1965
+ options: localVarRequestOptions,
1966
+ };
1967
+ },
1968
+ /**
1969
+ * Updates Paid Through information for enrollments, groups, policies, etc. based on a selected Invoice Key.
1970
+ * @summary Set Paid Through by Invoice
1971
+ * @param {string} vbasoftwareDatabase Target database
1972
+ * @param {number} invoiceKey Invoice Key
1973
+ * @param {*} [options] Override http request option.
1974
+ * @throws {RequiredError}
1975
+ */
1976
+ setPaidThroughByInvoice: async (vbasoftwareDatabase: string, invoiceKey: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1977
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
1978
+ assertParamExists('setPaidThroughByInvoice', 'vbasoftwareDatabase', vbasoftwareDatabase)
1979
+ // verify required parameter 'invoiceKey' is not null or undefined
1980
+ assertParamExists('setPaidThroughByInvoice', 'invoiceKey', invoiceKey)
1981
+ const localVarPath = `/set-paid-through-by-invoice/{invoiceKey}`
1982
+ .replace(`{${"invoiceKey"}}`, encodeURIComponent(String(invoiceKey)));
1983
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1984
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1985
+ let baseOptions;
1986
+ if (configuration) {
1987
+ baseOptions = configuration.baseOptions;
1988
+ }
1989
+
1990
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
1991
+ const localVarHeaderParameter = {} as any;
1992
+ const localVarQueryParameter = {} as any;
1993
+
1994
+ // authentication apiKeyAuth required
1995
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
1996
+
1997
+ // authentication bearerAuth required
1998
+ // http bearer authentication required
1999
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
2000
+
2001
+
2002
+
1956
2003
  if (vbasoftwareDatabase != null) {
1957
2004
  localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
1958
2005
  }
@@ -2558,6 +2605,20 @@ export const AdvBillingApiFp = function(configuration?: Configuration) {
2558
2605
  const localVarOperationServerBasePath = operationServerMap['AdvBillingApi.resetSelfAdminInvoice']?.[localVarOperationServerIndex]?.url;
2559
2606
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2560
2607
  },
2608
+ /**
2609
+ * Updates Paid Through information for enrollments, groups, policies, etc. based on a selected Invoice Key.
2610
+ * @summary Set Paid Through by Invoice
2611
+ * @param {string} vbasoftwareDatabase Target database
2612
+ * @param {number} invoiceKey Invoice Key
2613
+ * @param {*} [options] Override http request option.
2614
+ * @throws {RequiredError}
2615
+ */
2616
+ async setPaidThroughByInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2617
+ const localVarAxiosArgs = await localVarAxiosParamCreator.setPaidThroughByInvoice(vbasoftwareDatabase, invoiceKey, options);
2618
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2619
+ const localVarOperationServerBasePath = operationServerMap['AdvBillingApi.setPaidThroughByInvoice']?.[localVarOperationServerIndex]?.url;
2620
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2621
+ },
2561
2622
  /**
2562
2623
  * Based on the supplied PremPayment_Key, remove this payment from any invoice it is attached, and then recalc the received on each affected invoice.
2563
2624
  * @summary Undo an Applied Premium Payment
@@ -3007,6 +3068,17 @@ export const AdvBillingApiFactory = function (configuration?: Configuration, bas
3007
3068
  resetSelfAdminInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3008
3069
  return localVarFp.resetSelfAdminInvoice(vbasoftwareDatabase, invoiceKey, options).then((request) => request(axios, basePath));
3009
3070
  },
3071
+ /**
3072
+ * Updates Paid Through information for enrollments, groups, policies, etc. based on a selected Invoice Key.
3073
+ * @summary Set Paid Through by Invoice
3074
+ * @param {string} vbasoftwareDatabase Target database
3075
+ * @param {number} invoiceKey Invoice Key
3076
+ * @param {*} [options] Override http request option.
3077
+ * @throws {RequiredError}
3078
+ */
3079
+ setPaidThroughByInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3080
+ return localVarFp.setPaidThroughByInvoice(vbasoftwareDatabase, invoiceKey, options).then((request) => request(axios, basePath));
3081
+ },
3010
3082
  /**
3011
3083
  * Based on the supplied PremPayment_Key, remove this payment from any invoice it is attached, and then recalc the received on each affected invoice.
3012
3084
  * @summary Undo an Applied Premium Payment
@@ -3452,6 +3524,17 @@ export interface AdvBillingApiInterface {
3452
3524
  */
3453
3525
  resetSelfAdminInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
3454
3526
 
3527
+ /**
3528
+ * Updates Paid Through information for enrollments, groups, policies, etc. based on a selected Invoice Key.
3529
+ * @summary Set Paid Through by Invoice
3530
+ * @param {string} vbasoftwareDatabase Target database
3531
+ * @param {number} invoiceKey Invoice Key
3532
+ * @param {*} [options] Override http request option.
3533
+ * @throws {RequiredError}
3534
+ * @memberof AdvBillingApiInterface
3535
+ */
3536
+ setPaidThroughByInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
3537
+
3455
3538
  /**
3456
3539
  * Based on the supplied PremPayment_Key, remove this payment from any invoice it is attached, and then recalc the received on each affected invoice.
3457
3540
  * @summary Undo an Applied Premium Payment
@@ -3971,6 +4054,19 @@ export class AdvBillingApi extends BaseAPI implements AdvBillingApiInterface {
3971
4054
  return AdvBillingApiFp(this.configuration).resetSelfAdminInvoice(vbasoftwareDatabase, invoiceKey, options).then((request) => request(this.axios, this.basePath));
3972
4055
  }
3973
4056
 
4057
+ /**
4058
+ * Updates Paid Through information for enrollments, groups, policies, etc. based on a selected Invoice Key.
4059
+ * @summary Set Paid Through by Invoice
4060
+ * @param {string} vbasoftwareDatabase Target database
4061
+ * @param {number} invoiceKey Invoice Key
4062
+ * @param {*} [options] Override http request option.
4063
+ * @throws {RequiredError}
4064
+ * @memberof AdvBillingApi
4065
+ */
4066
+ public setPaidThroughByInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: RawAxiosRequestConfig) {
4067
+ return AdvBillingApiFp(this.configuration).setPaidThroughByInvoice(vbasoftwareDatabase, invoiceKey, options).then((request) => request(this.axios, this.basePath));
4068
+ }
4069
+
3974
4070
  /**
3975
4071
  * Based on the supplied PremPayment_Key, remove this payment from any invoice it is attached, and then recalc the received on each affected invoice.
3976
4072
  * @summary Undo an Applied Premium Payment
@@ -42,6 +42,10 @@ import type { StringVBAResponse } from '../models';
42
42
  // @ts-ignore
43
43
  import type { SuspenseClaimList } from '../models';
44
44
  // @ts-ignore
45
+ import type { VBAClaimFundingMemberPayToAmountListVBAResponse } from '../models';
46
+ // @ts-ignore
47
+ import type { VBAClaimFundingPayToAmountListVBAResponse } from '../models';
48
+ // @ts-ignore
45
49
  import type { VBADisabilityAdvisor } from '../models';
46
50
  /**
47
51
  * AdvClaimApi - axios parameter creator
@@ -788,6 +792,132 @@ export const AdvClaimApiAxiosParamCreator = function (configuration?: Configurat
788
792
  options: localVarRequestOptions,
789
793
  };
790
794
  },
795
+ /**
796
+ * Given a selected list of Claim Numbers, get a list of calculated amounts by Pay To (Send Check To) and grouped by Member.
797
+ * @summary List Pay to Amounts for Claim Funding by Member
798
+ * @param {string} vbasoftwareDatabase Target database
799
+ * @param {string} payorId Payor ID
800
+ * @param {number} accountKey Account Key
801
+ * @param {Array<number>} requestBody
802
+ * @param {*} [options] Override http request option.
803
+ * @throws {RequiredError}
804
+ */
805
+ listClaimFundingMemberPayToAmount: async (vbasoftwareDatabase: string, payorId: string, accountKey: number, requestBody: Array<number>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
806
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
807
+ assertParamExists('listClaimFundingMemberPayToAmount', 'vbasoftwareDatabase', vbasoftwareDatabase)
808
+ // verify required parameter 'payorId' is not null or undefined
809
+ assertParamExists('listClaimFundingMemberPayToAmount', 'payorId', payorId)
810
+ // verify required parameter 'accountKey' is not null or undefined
811
+ assertParamExists('listClaimFundingMemberPayToAmount', 'accountKey', accountKey)
812
+ // verify required parameter 'requestBody' is not null or undefined
813
+ assertParamExists('listClaimFundingMemberPayToAmount', 'requestBody', requestBody)
814
+ const localVarPath = `/list-claim-funding-member-pay-to-amount`;
815
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
816
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
817
+ let baseOptions;
818
+ if (configuration) {
819
+ baseOptions = configuration.baseOptions;
820
+ }
821
+
822
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
823
+ const localVarHeaderParameter = {} as any;
824
+ const localVarQueryParameter = {} as any;
825
+
826
+ // authentication apiKeyAuth required
827
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
828
+
829
+ // authentication bearerAuth required
830
+ // http bearer authentication required
831
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
832
+
833
+ if (payorId !== undefined) {
834
+ localVarQueryParameter['payorId'] = payorId;
835
+ }
836
+
837
+ if (accountKey !== undefined) {
838
+ localVarQueryParameter['accountKey'] = accountKey;
839
+ }
840
+
841
+
842
+
843
+ localVarHeaderParameter['Content-Type'] = 'application/json';
844
+
845
+ if (vbasoftwareDatabase != null) {
846
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
847
+ }
848
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
849
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
850
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
851
+ localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
852
+
853
+ return {
854
+ url: toPathString(localVarUrlObj),
855
+ options: localVarRequestOptions,
856
+ };
857
+ },
858
+ /**
859
+ * Given a selected list of Claim Numbers, get a list of calculated amounts by Pay To (Send Check To).
860
+ * @summary List Pay to Amounts for Claim Funding
861
+ * @param {string} vbasoftwareDatabase Target database
862
+ * @param {string} payorId Payor ID
863
+ * @param {number} accountKey Account Key
864
+ * @param {Array<number>} requestBody
865
+ * @param {*} [options] Override http request option.
866
+ * @throws {RequiredError}
867
+ */
868
+ listClaimFundingPayToAmount: async (vbasoftwareDatabase: string, payorId: string, accountKey: number, requestBody: Array<number>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
869
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
870
+ assertParamExists('listClaimFundingPayToAmount', 'vbasoftwareDatabase', vbasoftwareDatabase)
871
+ // verify required parameter 'payorId' is not null or undefined
872
+ assertParamExists('listClaimFundingPayToAmount', 'payorId', payorId)
873
+ // verify required parameter 'accountKey' is not null or undefined
874
+ assertParamExists('listClaimFundingPayToAmount', 'accountKey', accountKey)
875
+ // verify required parameter 'requestBody' is not null or undefined
876
+ assertParamExists('listClaimFundingPayToAmount', 'requestBody', requestBody)
877
+ const localVarPath = `/list-claim-funding-pay-to-amount`;
878
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
879
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
880
+ let baseOptions;
881
+ if (configuration) {
882
+ baseOptions = configuration.baseOptions;
883
+ }
884
+
885
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
886
+ const localVarHeaderParameter = {} as any;
887
+ const localVarQueryParameter = {} as any;
888
+
889
+ // authentication apiKeyAuth required
890
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
891
+
892
+ // authentication bearerAuth required
893
+ // http bearer authentication required
894
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
895
+
896
+ if (payorId !== undefined) {
897
+ localVarQueryParameter['payorId'] = payorId;
898
+ }
899
+
900
+ if (accountKey !== undefined) {
901
+ localVarQueryParameter['accountKey'] = accountKey;
902
+ }
903
+
904
+
905
+
906
+ localVarHeaderParameter['Content-Type'] = 'application/json';
907
+
908
+ if (vbasoftwareDatabase != null) {
909
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
910
+ }
911
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
912
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
913
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
914
+ localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
915
+
916
+ return {
917
+ url: toPathString(localVarUrlObj),
918
+ options: localVarRequestOptions,
919
+ };
920
+ },
791
921
  /**
792
922
  * Return a selected list of claims to batch.
793
923
  * @summary Return Claim(s) to Batch
@@ -1200,6 +1330,38 @@ export const AdvClaimApiFp = function(configuration?: Configuration) {
1200
1330
  const localVarOperationServerBasePath = operationServerMap['AdvClaimApi.listAdjudicateBenefitMatch']?.[localVarOperationServerIndex]?.url;
1201
1331
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1202
1332
  },
1333
+ /**
1334
+ * Given a selected list of Claim Numbers, get a list of calculated amounts by Pay To (Send Check To) and grouped by Member.
1335
+ * @summary List Pay to Amounts for Claim Funding by Member
1336
+ * @param {string} vbasoftwareDatabase Target database
1337
+ * @param {string} payorId Payor ID
1338
+ * @param {number} accountKey Account Key
1339
+ * @param {Array<number>} requestBody
1340
+ * @param {*} [options] Override http request option.
1341
+ * @throws {RequiredError}
1342
+ */
1343
+ async listClaimFundingMemberPayToAmount(vbasoftwareDatabase: string, payorId: string, accountKey: number, requestBody: Array<number>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VBAClaimFundingMemberPayToAmountListVBAResponse>> {
1344
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimFundingMemberPayToAmount(vbasoftwareDatabase, payorId, accountKey, requestBody, options);
1345
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1346
+ const localVarOperationServerBasePath = operationServerMap['AdvClaimApi.listClaimFundingMemberPayToAmount']?.[localVarOperationServerIndex]?.url;
1347
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1348
+ },
1349
+ /**
1350
+ * Given a selected list of Claim Numbers, get a list of calculated amounts by Pay To (Send Check To).
1351
+ * @summary List Pay to Amounts for Claim Funding
1352
+ * @param {string} vbasoftwareDatabase Target database
1353
+ * @param {string} payorId Payor ID
1354
+ * @param {number} accountKey Account Key
1355
+ * @param {Array<number>} requestBody
1356
+ * @param {*} [options] Override http request option.
1357
+ * @throws {RequiredError}
1358
+ */
1359
+ async listClaimFundingPayToAmount(vbasoftwareDatabase: string, payorId: string, accountKey: number, requestBody: Array<number>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VBAClaimFundingPayToAmountListVBAResponse>> {
1360
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimFundingPayToAmount(vbasoftwareDatabase, payorId, accountKey, requestBody, options);
1361
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1362
+ const localVarOperationServerBasePath = operationServerMap['AdvClaimApi.listClaimFundingPayToAmount']?.[localVarOperationServerIndex]?.url;
1363
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1364
+ },
1203
1365
  /**
1204
1366
  * Return a selected list of claims to batch.
1205
1367
  * @summary Return Claim(s) to Batch
@@ -1429,6 +1591,32 @@ export const AdvClaimApiFactory = function (configuration?: Configuration, baseP
1429
1591
  listAdjudicateBenefitMatch(vbasoftwareDatabase: string, batchNumber: number, batchClaim: number, claimSeq: string, planId?: string, providerId?: string, providerType?: string, options?: RawAxiosRequestConfig): AxiosPromise<AdjudicateBenefitMatchDetailListVBAResponse> {
1430
1592
  return localVarFp.listAdjudicateBenefitMatch(vbasoftwareDatabase, batchNumber, batchClaim, claimSeq, planId, providerId, providerType, options).then((request) => request(axios, basePath));
1431
1593
  },
1594
+ /**
1595
+ * Given a selected list of Claim Numbers, get a list of calculated amounts by Pay To (Send Check To) and grouped by Member.
1596
+ * @summary List Pay to Amounts for Claim Funding by Member
1597
+ * @param {string} vbasoftwareDatabase Target database
1598
+ * @param {string} payorId Payor ID
1599
+ * @param {number} accountKey Account Key
1600
+ * @param {Array<number>} requestBody
1601
+ * @param {*} [options] Override http request option.
1602
+ * @throws {RequiredError}
1603
+ */
1604
+ listClaimFundingMemberPayToAmount(vbasoftwareDatabase: string, payorId: string, accountKey: number, requestBody: Array<number>, options?: RawAxiosRequestConfig): AxiosPromise<VBAClaimFundingMemberPayToAmountListVBAResponse> {
1605
+ return localVarFp.listClaimFundingMemberPayToAmount(vbasoftwareDatabase, payorId, accountKey, requestBody, options).then((request) => request(axios, basePath));
1606
+ },
1607
+ /**
1608
+ * Given a selected list of Claim Numbers, get a list of calculated amounts by Pay To (Send Check To).
1609
+ * @summary List Pay to Amounts for Claim Funding
1610
+ * @param {string} vbasoftwareDatabase Target database
1611
+ * @param {string} payorId Payor ID
1612
+ * @param {number} accountKey Account Key
1613
+ * @param {Array<number>} requestBody
1614
+ * @param {*} [options] Override http request option.
1615
+ * @throws {RequiredError}
1616
+ */
1617
+ listClaimFundingPayToAmount(vbasoftwareDatabase: string, payorId: string, accountKey: number, requestBody: Array<number>, options?: RawAxiosRequestConfig): AxiosPromise<VBAClaimFundingPayToAmountListVBAResponse> {
1618
+ return localVarFp.listClaimFundingPayToAmount(vbasoftwareDatabase, payorId, accountKey, requestBody, options).then((request) => request(axios, basePath));
1619
+ },
1432
1620
  /**
1433
1621
  * Return a selected list of claims to batch.
1434
1622
  * @summary Return Claim(s) to Batch
@@ -1645,6 +1833,32 @@ export interface AdvClaimApiInterface {
1645
1833
  */
1646
1834
  listAdjudicateBenefitMatch(vbasoftwareDatabase: string, batchNumber: number, batchClaim: number, claimSeq: string, planId?: string, providerId?: string, providerType?: string, options?: RawAxiosRequestConfig): AxiosPromise<AdjudicateBenefitMatchDetailListVBAResponse>;
1647
1835
 
1836
+ /**
1837
+ * Given a selected list of Claim Numbers, get a list of calculated amounts by Pay To (Send Check To) and grouped by Member.
1838
+ * @summary List Pay to Amounts for Claim Funding by Member
1839
+ * @param {string} vbasoftwareDatabase Target database
1840
+ * @param {string} payorId Payor ID
1841
+ * @param {number} accountKey Account Key
1842
+ * @param {Array<number>} requestBody
1843
+ * @param {*} [options] Override http request option.
1844
+ * @throws {RequiredError}
1845
+ * @memberof AdvClaimApiInterface
1846
+ */
1847
+ listClaimFundingMemberPayToAmount(vbasoftwareDatabase: string, payorId: string, accountKey: number, requestBody: Array<number>, options?: RawAxiosRequestConfig): AxiosPromise<VBAClaimFundingMemberPayToAmountListVBAResponse>;
1848
+
1849
+ /**
1850
+ * Given a selected list of Claim Numbers, get a list of calculated amounts by Pay To (Send Check To).
1851
+ * @summary List Pay to Amounts for Claim Funding
1852
+ * @param {string} vbasoftwareDatabase Target database
1853
+ * @param {string} payorId Payor ID
1854
+ * @param {number} accountKey Account Key
1855
+ * @param {Array<number>} requestBody
1856
+ * @param {*} [options] Override http request option.
1857
+ * @throws {RequiredError}
1858
+ * @memberof AdvClaimApiInterface
1859
+ */
1860
+ listClaimFundingPayToAmount(vbasoftwareDatabase: string, payorId: string, accountKey: number, requestBody: Array<number>, options?: RawAxiosRequestConfig): AxiosPromise<VBAClaimFundingPayToAmountListVBAResponse>;
1861
+
1648
1862
  /**
1649
1863
  * Return a selected list of claims to batch.
1650
1864
  * @summary Return Claim(s) to Batch
@@ -1887,6 +2101,36 @@ export class AdvClaimApi extends BaseAPI implements AdvClaimApiInterface {
1887
2101
  return AdvClaimApiFp(this.configuration).listAdjudicateBenefitMatch(vbasoftwareDatabase, batchNumber, batchClaim, claimSeq, planId, providerId, providerType, options).then((request) => request(this.axios, this.basePath));
1888
2102
  }
1889
2103
 
2104
+ /**
2105
+ * Given a selected list of Claim Numbers, get a list of calculated amounts by Pay To (Send Check To) and grouped by Member.
2106
+ * @summary List Pay to Amounts for Claim Funding by Member
2107
+ * @param {string} vbasoftwareDatabase Target database
2108
+ * @param {string} payorId Payor ID
2109
+ * @param {number} accountKey Account Key
2110
+ * @param {Array<number>} requestBody
2111
+ * @param {*} [options] Override http request option.
2112
+ * @throws {RequiredError}
2113
+ * @memberof AdvClaimApi
2114
+ */
2115
+ public listClaimFundingMemberPayToAmount(vbasoftwareDatabase: string, payorId: string, accountKey: number, requestBody: Array<number>, options?: RawAxiosRequestConfig) {
2116
+ return AdvClaimApiFp(this.configuration).listClaimFundingMemberPayToAmount(vbasoftwareDatabase, payorId, accountKey, requestBody, options).then((request) => request(this.axios, this.basePath));
2117
+ }
2118
+
2119
+ /**
2120
+ * Given a selected list of Claim Numbers, get a list of calculated amounts by Pay To (Send Check To).
2121
+ * @summary List Pay to Amounts for Claim Funding
2122
+ * @param {string} vbasoftwareDatabase Target database
2123
+ * @param {string} payorId Payor ID
2124
+ * @param {number} accountKey Account Key
2125
+ * @param {Array<number>} requestBody
2126
+ * @param {*} [options] Override http request option.
2127
+ * @throws {RequiredError}
2128
+ * @memberof AdvClaimApi
2129
+ */
2130
+ public listClaimFundingPayToAmount(vbasoftwareDatabase: string, payorId: string, accountKey: number, requestBody: Array<number>, options?: RawAxiosRequestConfig) {
2131
+ return AdvClaimApiFp(this.configuration).listClaimFundingPayToAmount(vbasoftwareDatabase, payorId, accountKey, requestBody, options).then((request) => request(this.axios, this.basePath));
2132
+ }
2133
+
1890
2134
  /**
1891
2135
  * Return a selected list of claims to batch.
1892
2136
  * @summary Return Claim(s) to Batch
@@ -1433,6 +1433,53 @@ export const PremiumInvoicesApiAxiosParamCreator = function (configuration?: Con
1433
1433
 
1434
1434
 
1435
1435
 
1436
+ if (vbasoftwareDatabase != null) {
1437
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
1438
+ }
1439
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1440
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1441
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1442
+
1443
+ return {
1444
+ url: toPathString(localVarUrlObj),
1445
+ options: localVarRequestOptions,
1446
+ };
1447
+ },
1448
+ /**
1449
+ * Updates Paid Through information for enrollments, groups, policies, etc. based on a selected Invoice Key.
1450
+ * @summary Set Paid Through by Invoice
1451
+ * @param {string} vbasoftwareDatabase Target database
1452
+ * @param {number} invoiceKey Invoice Key
1453
+ * @param {*} [options] Override http request option.
1454
+ * @throws {RequiredError}
1455
+ */
1456
+ setPaidThroughByInvoice: async (vbasoftwareDatabase: string, invoiceKey: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1457
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
1458
+ assertParamExists('setPaidThroughByInvoice', 'vbasoftwareDatabase', vbasoftwareDatabase)
1459
+ // verify required parameter 'invoiceKey' is not null or undefined
1460
+ assertParamExists('setPaidThroughByInvoice', 'invoiceKey', invoiceKey)
1461
+ const localVarPath = `/set-paid-through-by-invoice/{invoiceKey}`
1462
+ .replace(`{${"invoiceKey"}}`, encodeURIComponent(String(invoiceKey)));
1463
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1464
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1465
+ let baseOptions;
1466
+ if (configuration) {
1467
+ baseOptions = configuration.baseOptions;
1468
+ }
1469
+
1470
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
1471
+ const localVarHeaderParameter = {} as any;
1472
+ const localVarQueryParameter = {} as any;
1473
+
1474
+ // authentication apiKeyAuth required
1475
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
1476
+
1477
+ // authentication bearerAuth required
1478
+ // http bearer authentication required
1479
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1480
+
1481
+
1482
+
1436
1483
  if (vbasoftwareDatabase != null) {
1437
1484
  localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
1438
1485
  }
@@ -1958,6 +2005,20 @@ export const PremiumInvoicesApiFp = function(configuration?: Configuration) {
1958
2005
  const localVarOperationServerBasePath = operationServerMap['PremiumInvoicesApi.resetSelfAdminInvoice']?.[localVarOperationServerIndex]?.url;
1959
2006
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1960
2007
  },
2008
+ /**
2009
+ * Updates Paid Through information for enrollments, groups, policies, etc. based on a selected Invoice Key.
2010
+ * @summary Set Paid Through by Invoice
2011
+ * @param {string} vbasoftwareDatabase Target database
2012
+ * @param {number} invoiceKey Invoice Key
2013
+ * @param {*} [options] Override http request option.
2014
+ * @throws {RequiredError}
2015
+ */
2016
+ async setPaidThroughByInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2017
+ const localVarAxiosArgs = await localVarAxiosParamCreator.setPaidThroughByInvoice(vbasoftwareDatabase, invoiceKey, options);
2018
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2019
+ const localVarOperationServerBasePath = operationServerMap['PremiumInvoicesApi.setPaidThroughByInvoice']?.[localVarOperationServerIndex]?.url;
2020
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2021
+ },
1961
2022
  /**
1962
2023
  * Create or Update multiple PremInvoice at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
1963
2024
  * @summary Create or Update Batch PremInvoice
@@ -2314,6 +2375,17 @@ export const PremiumInvoicesApiFactory = function (configuration?: Configuration
2314
2375
  resetSelfAdminInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2315
2376
  return localVarFp.resetSelfAdminInvoice(vbasoftwareDatabase, invoiceKey, options).then((request) => request(axios, basePath));
2316
2377
  },
2378
+ /**
2379
+ * Updates Paid Through information for enrollments, groups, policies, etc. based on a selected Invoice Key.
2380
+ * @summary Set Paid Through by Invoice
2381
+ * @param {string} vbasoftwareDatabase Target database
2382
+ * @param {number} invoiceKey Invoice Key
2383
+ * @param {*} [options] Override http request option.
2384
+ * @throws {RequiredError}
2385
+ */
2386
+ setPaidThroughByInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2387
+ return localVarFp.setPaidThroughByInvoice(vbasoftwareDatabase, invoiceKey, options).then((request) => request(axios, basePath));
2388
+ },
2317
2389
  /**
2318
2390
  * Create or Update multiple PremInvoice at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
2319
2391
  * @summary Create or Update Batch PremInvoice
@@ -2663,6 +2735,17 @@ export interface PremiumInvoicesApiInterface {
2663
2735
  */
2664
2736
  resetSelfAdminInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2665
2737
 
2738
+ /**
2739
+ * Updates Paid Through information for enrollments, groups, policies, etc. based on a selected Invoice Key.
2740
+ * @summary Set Paid Through by Invoice
2741
+ * @param {string} vbasoftwareDatabase Target database
2742
+ * @param {number} invoiceKey Invoice Key
2743
+ * @param {*} [options] Override http request option.
2744
+ * @throws {RequiredError}
2745
+ * @memberof PremiumInvoicesApiInterface
2746
+ */
2747
+ setPaidThroughByInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2748
+
2666
2749
  /**
2667
2750
  * Create or Update multiple PremInvoice at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
2668
2751
  * @summary Create or Update Batch PremInvoice
@@ -3068,6 +3151,19 @@ export class PremiumInvoicesApi extends BaseAPI implements PremiumInvoicesApiInt
3068
3151
  return PremiumInvoicesApiFp(this.configuration).resetSelfAdminInvoice(vbasoftwareDatabase, invoiceKey, options).then((request) => request(this.axios, this.basePath));
3069
3152
  }
3070
3153
 
3154
+ /**
3155
+ * Updates Paid Through information for enrollments, groups, policies, etc. based on a selected Invoice Key.
3156
+ * @summary Set Paid Through by Invoice
3157
+ * @param {string} vbasoftwareDatabase Target database
3158
+ * @param {number} invoiceKey Invoice Key
3159
+ * @param {*} [options] Override http request option.
3160
+ * @throws {RequiredError}
3161
+ * @memberof PremiumInvoicesApi
3162
+ */
3163
+ public setPaidThroughByInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: RawAxiosRequestConfig) {
3164
+ return PremiumInvoicesApiFp(this.configuration).setPaidThroughByInvoice(vbasoftwareDatabase, invoiceKey, options).then((request) => request(this.axios, this.basePath));
3165
+ }
3166
+
3071
3167
  /**
3072
3168
  * Create or Update multiple PremInvoice at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
3073
3169
  * @summary Create or Update Batch PremInvoice
package/models/index.ts CHANGED
@@ -2507,6 +2507,10 @@ export * from './vbacdcsubenrollment-rider';
2507
2507
  export * from './vbacdcsubenrollment-rider-list-vbaresponse';
2508
2508
  export * from './vbacdcsubscribers';
2509
2509
  export * from './vbacdcsubscribers-list-vbaresponse';
2510
+ export * from './vbaclaim-funding-member-pay-to-amount';
2511
+ export * from './vbaclaim-funding-member-pay-to-amount-list-vbaresponse';
2512
+ export * from './vbaclaim-funding-pay-to-amount';
2513
+ export * from './vbaclaim-funding-pay-to-amount-list-vbaresponse';
2510
2514
  export * from './vbaclaim-timeline';
2511
2515
  export * from './vbaclaim-timeline-list-vbaresponse';
2512
2516
  export * from './vbaclient';
@@ -0,0 +1,51 @@
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
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { Debug } from './debug';
19
+ // May contain unused imports in some cases
20
+ // @ts-ignore
21
+ import type { VBAClaimFundingMemberPayToAmount } from './vbaclaim-funding-member-pay-to-amount';
22
+ // May contain unused imports in some cases
23
+ // @ts-ignore
24
+ import type { VBAProblemDetails } from './vbaproblem-details';
25
+
26
+ /**
27
+ *
28
+ * @export
29
+ * @interface VBAClaimFundingMemberPayToAmountListVBAResponse
30
+ */
31
+ export interface VBAClaimFundingMemberPayToAmountListVBAResponse {
32
+ /**
33
+ *
34
+ * @type {Array<VBAClaimFundingMemberPayToAmount>}
35
+ * @memberof VBAClaimFundingMemberPayToAmountListVBAResponse
36
+ */
37
+ 'data'?: Array<VBAClaimFundingMemberPayToAmount> | null;
38
+ /**
39
+ *
40
+ * @type {VBAProblemDetails}
41
+ * @memberof VBAClaimFundingMemberPayToAmountListVBAResponse
42
+ */
43
+ 'error'?: VBAProblemDetails;
44
+ /**
45
+ *
46
+ * @type {Debug}
47
+ * @memberof VBAClaimFundingMemberPayToAmountListVBAResponse
48
+ */
49
+ 'debug'?: Debug;
50
+ }
51
+
@@ -0,0 +1,54 @@
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
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface VBAClaimFundingMemberPayToAmount
21
+ */
22
+ export interface VBAClaimFundingMemberPayToAmount {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof VBAClaimFundingMemberPayToAmount
27
+ */
28
+ 'subscriber_ID'?: string | null;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof VBAClaimFundingMemberPayToAmount
33
+ */
34
+ 'member_Seq'?: string | null;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof VBAClaimFundingMemberPayToAmount
39
+ */
40
+ 'send_Check_To'?: string | null;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof VBAClaimFundingMemberPayToAmount
45
+ */
46
+ 'pay_To_ID'?: string | null;
47
+ /**
48
+ *
49
+ * @type {number}
50
+ * @memberof VBAClaimFundingMemberPayToAmount
51
+ */
52
+ 'claim_Paid_Amount'?: number | null;
53
+ }
54
+
@@ -0,0 +1,51 @@
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
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { Debug } from './debug';
19
+ // May contain unused imports in some cases
20
+ // @ts-ignore
21
+ import type { VBAClaimFundingPayToAmount } from './vbaclaim-funding-pay-to-amount';
22
+ // May contain unused imports in some cases
23
+ // @ts-ignore
24
+ import type { VBAProblemDetails } from './vbaproblem-details';
25
+
26
+ /**
27
+ *
28
+ * @export
29
+ * @interface VBAClaimFundingPayToAmountListVBAResponse
30
+ */
31
+ export interface VBAClaimFundingPayToAmountListVBAResponse {
32
+ /**
33
+ *
34
+ * @type {Array<VBAClaimFundingPayToAmount>}
35
+ * @memberof VBAClaimFundingPayToAmountListVBAResponse
36
+ */
37
+ 'data'?: Array<VBAClaimFundingPayToAmount> | null;
38
+ /**
39
+ *
40
+ * @type {VBAProblemDetails}
41
+ * @memberof VBAClaimFundingPayToAmountListVBAResponse
42
+ */
43
+ 'error'?: VBAProblemDetails;
44
+ /**
45
+ *
46
+ * @type {Debug}
47
+ * @memberof VBAClaimFundingPayToAmountListVBAResponse
48
+ */
49
+ 'debug'?: Debug;
50
+ }
51
+
@@ -0,0 +1,42 @@
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
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface VBAClaimFundingPayToAmount
21
+ */
22
+ export interface VBAClaimFundingPayToAmount {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof VBAClaimFundingPayToAmount
27
+ */
28
+ 'send_Check_To'?: string | null;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof VBAClaimFundingPayToAmount
33
+ */
34
+ 'pay_To_ID'?: string | null;
35
+ /**
36
+ *
37
+ * @type {number}
38
+ * @memberof VBAClaimFundingPayToAmount
39
+ */
40
+ 'claim_Paid_Amount'?: number | null;
41
+ }
42
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vbasoftware/vbapi-vbasoftware-typescript-axios",
3
- "version": "1.20250328.1",
3
+ "version": "1.20250404.1",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"