@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20250124.1 → 1.20250131.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.
@@ -3309,6 +3309,8 @@ models/tooth-quadrant-vbaresponse.ts
3309
3309
  models/tooth-quadrant.ts
3310
3310
  models/tooth-vbaresponse.ts
3311
3311
  models/tooth.ts
3312
+ models/transpose-request-meta-data-result-list-vbaresponse.ts
3313
+ models/transpose-request-meta-data-result.ts
3312
3314
  models/treatment-type-list-vbaresponse.ts
3313
3315
  models/treatment-type-vbaresponse.ts
3314
3316
  models/treatment-type.ts
@@ -32,6 +32,8 @@ import type { BillingRateModifyConfig } from '../models';
32
32
  // @ts-ignore
33
33
  import type { BillingRefund } from '../models';
34
34
  // @ts-ignore
35
+ import type { BooleanVBAResponse } from '../models';
36
+ // @ts-ignore
35
37
  import type { EnrollmentDisenrollAdjustmentListVBAResponse } from '../models';
36
38
  // @ts-ignore
37
39
  import type { GeneratePremInvoice } from '../models';
@@ -1492,6 +1494,67 @@ export const AdvBillingApiAxiosParamCreator = function (configuration?: Configur
1492
1494
 
1493
1495
 
1494
1496
 
1497
+ if (vbasoftwareDatabase != null) {
1498
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
1499
+ }
1500
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1501
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1502
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1503
+
1504
+ return {
1505
+ url: toPathString(localVarUrlObj),
1506
+ options: localVarRequestOptions,
1507
+ };
1508
+ },
1509
+ /**
1510
+ * Given an Invoice and amount due, either check if an Invoice falls withing Tolerance range to performan a write-off, or go ahead and perform the write-off.
1511
+ * @summary Process or Check Invoice Tolerance
1512
+ * @param {string} vbasoftwareDatabase Target database
1513
+ * @param {number} invoiceKey Invoice Key
1514
+ * @param {number} amountDue Amount Due
1515
+ * @param {boolean} verifyOnly Verify Only
1516
+ * @param {*} [options] Override http request option.
1517
+ * @throws {RequiredError}
1518
+ */
1519
+ processInvoiceTolerance: async (vbasoftwareDatabase: string, invoiceKey: number, amountDue: number, verifyOnly: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1520
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
1521
+ assertParamExists('processInvoiceTolerance', 'vbasoftwareDatabase', vbasoftwareDatabase)
1522
+ // verify required parameter 'invoiceKey' is not null or undefined
1523
+ assertParamExists('processInvoiceTolerance', 'invoiceKey', invoiceKey)
1524
+ // verify required parameter 'amountDue' is not null or undefined
1525
+ assertParamExists('processInvoiceTolerance', 'amountDue', amountDue)
1526
+ // verify required parameter 'verifyOnly' is not null or undefined
1527
+ assertParamExists('processInvoiceTolerance', 'verifyOnly', verifyOnly)
1528
+ const localVarPath = `/process-invoice-tolerance/{invoiceKey}`
1529
+ .replace(`{${"invoiceKey"}}`, encodeURIComponent(String(invoiceKey)));
1530
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1531
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1532
+ let baseOptions;
1533
+ if (configuration) {
1534
+ baseOptions = configuration.baseOptions;
1535
+ }
1536
+
1537
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
1538
+ const localVarHeaderParameter = {} as any;
1539
+ const localVarQueryParameter = {} as any;
1540
+
1541
+ // authentication apiKeyAuth required
1542
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
1543
+
1544
+ // authentication bearerAuth required
1545
+ // http bearer authentication required
1546
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1547
+
1548
+ if (amountDue !== undefined) {
1549
+ localVarQueryParameter['amountDue'] = amountDue;
1550
+ }
1551
+
1552
+ if (verifyOnly !== undefined) {
1553
+ localVarQueryParameter['verifyOnly'] = verifyOnly;
1554
+ }
1555
+
1556
+
1557
+
1495
1558
  if (vbasoftwareDatabase != null) {
1496
1559
  localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
1497
1560
  }
@@ -2063,6 +2126,22 @@ export const AdvBillingApiFp = function(configuration?: Configuration) {
2063
2126
  const localVarOperationServerBasePath = operationServerMap['AdvBillingApi.premInvoiceAutoApplySelfAdmin']?.[localVarOperationServerIndex]?.url;
2064
2127
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2065
2128
  },
2129
+ /**
2130
+ * Given an Invoice and amount due, either check if an Invoice falls withing Tolerance range to performan a write-off, or go ahead and perform the write-off.
2131
+ * @summary Process or Check Invoice Tolerance
2132
+ * @param {string} vbasoftwareDatabase Target database
2133
+ * @param {number} invoiceKey Invoice Key
2134
+ * @param {number} amountDue Amount Due
2135
+ * @param {boolean} verifyOnly Verify Only
2136
+ * @param {*} [options] Override http request option.
2137
+ * @throws {RequiredError}
2138
+ */
2139
+ async processInvoiceTolerance(vbasoftwareDatabase: string, invoiceKey: number, amountDue: number, verifyOnly: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BooleanVBAResponse>> {
2140
+ const localVarAxiosArgs = await localVarAxiosParamCreator.processInvoiceTolerance(vbasoftwareDatabase, invoiceKey, amountDue, verifyOnly, options);
2141
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2142
+ const localVarOperationServerBasePath = operationServerMap['AdvBillingApi.processInvoiceTolerance']?.[localVarOperationServerIndex]?.url;
2143
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2144
+ },
2066
2145
  /**
2067
2146
  * Import a defined Payment File in .csv format to then have payments created and, optionally, attached to invoices.
2068
2147
  * @summary Process Payment File
@@ -2437,6 +2516,19 @@ export const AdvBillingApiFactory = function (configuration?: Configuration, bas
2437
2516
  premInvoiceAutoApplySelfAdmin(vbasoftwareDatabase: string, invoiceKey: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2438
2517
  return localVarFp.premInvoiceAutoApplySelfAdmin(vbasoftwareDatabase, invoiceKey, options).then((request) => request(axios, basePath));
2439
2518
  },
2519
+ /**
2520
+ * Given an Invoice and amount due, either check if an Invoice falls withing Tolerance range to performan a write-off, or go ahead and perform the write-off.
2521
+ * @summary Process or Check Invoice Tolerance
2522
+ * @param {string} vbasoftwareDatabase Target database
2523
+ * @param {number} invoiceKey Invoice Key
2524
+ * @param {number} amountDue Amount Due
2525
+ * @param {boolean} verifyOnly Verify Only
2526
+ * @param {*} [options] Override http request option.
2527
+ * @throws {RequiredError}
2528
+ */
2529
+ processInvoiceTolerance(vbasoftwareDatabase: string, invoiceKey: number, amountDue: number, verifyOnly: boolean, options?: RawAxiosRequestConfig): AxiosPromise<BooleanVBAResponse> {
2530
+ return localVarFp.processInvoiceTolerance(vbasoftwareDatabase, invoiceKey, amountDue, verifyOnly, options).then((request) => request(axios, basePath));
2531
+ },
2440
2532
  /**
2441
2533
  * Import a defined Payment File in .csv format to then have payments created and, optionally, attached to invoices.
2442
2534
  * @summary Process Payment File
@@ -2801,6 +2893,19 @@ export interface AdvBillingApiInterface {
2801
2893
  */
2802
2894
  premInvoiceAutoApplySelfAdmin(vbasoftwareDatabase: string, invoiceKey: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2803
2895
 
2896
+ /**
2897
+ * Given an Invoice and amount due, either check if an Invoice falls withing Tolerance range to performan a write-off, or go ahead and perform the write-off.
2898
+ * @summary Process or Check Invoice Tolerance
2899
+ * @param {string} vbasoftwareDatabase Target database
2900
+ * @param {number} invoiceKey Invoice Key
2901
+ * @param {number} amountDue Amount Due
2902
+ * @param {boolean} verifyOnly Verify Only
2903
+ * @param {*} [options] Override http request option.
2904
+ * @throws {RequiredError}
2905
+ * @memberof AdvBillingApiInterface
2906
+ */
2907
+ processInvoiceTolerance(vbasoftwareDatabase: string, invoiceKey: number, amountDue: number, verifyOnly: boolean, options?: RawAxiosRequestConfig): AxiosPromise<BooleanVBAResponse>;
2908
+
2804
2909
  /**
2805
2910
  * Import a defined Payment File in .csv format to then have payments created and, optionally, attached to invoices.
2806
2911
  * @summary Process Payment File
@@ -3221,6 +3326,21 @@ export class AdvBillingApi extends BaseAPI implements AdvBillingApiInterface {
3221
3326
  return AdvBillingApiFp(this.configuration).premInvoiceAutoApplySelfAdmin(vbasoftwareDatabase, invoiceKey, options).then((request) => request(this.axios, this.basePath));
3222
3327
  }
3223
3328
 
3329
+ /**
3330
+ * Given an Invoice and amount due, either check if an Invoice falls withing Tolerance range to performan a write-off, or go ahead and perform the write-off.
3331
+ * @summary Process or Check Invoice Tolerance
3332
+ * @param {string} vbasoftwareDatabase Target database
3333
+ * @param {number} invoiceKey Invoice Key
3334
+ * @param {number} amountDue Amount Due
3335
+ * @param {boolean} verifyOnly Verify Only
3336
+ * @param {*} [options] Override http request option.
3337
+ * @throws {RequiredError}
3338
+ * @memberof AdvBillingApi
3339
+ */
3340
+ public processInvoiceTolerance(vbasoftwareDatabase: string, invoiceKey: number, amountDue: number, verifyOnly: boolean, options?: RawAxiosRequestConfig) {
3341
+ return AdvBillingApiFp(this.configuration).processInvoiceTolerance(vbasoftwareDatabase, invoiceKey, amountDue, verifyOnly, options).then((request) => request(this.axios, this.basePath));
3342
+ }
3343
+
3224
3344
  /**
3225
3345
  * Import a defined Payment File in .csv format to then have payments created and, optionally, attached to invoices.
3226
3346
  * @summary Process Payment File
@@ -38,6 +38,8 @@ import type { Int32VBAResponse } from '../models';
38
38
  // @ts-ignore
39
39
  import type { LifeClaimAdvisor } from '../models';
40
40
  // @ts-ignore
41
+ import type { StringVBAResponse } from '../models';
42
+ // @ts-ignore
41
43
  import type { SuspenseClaimList } from '../models';
42
44
  // @ts-ignore
43
45
  import type { VBADisabilityAdvisor } from '../models';
@@ -587,6 +589,61 @@ export const AdvClaimApiAxiosParamCreator = function (configuration?: Configurat
587
589
  options: localVarRequestOptions,
588
590
  };
589
591
  },
592
+ /**
593
+ * Get a full XML representation of this claim submitted via EDI into VBADataIntegration. The criteria for this is available in Search Config: VBADATAINT_CLAIM.
594
+ * @summary Get Claim EDI XML
595
+ * @param {string} vbasoftwareDatabase Target database
596
+ * @param {number} ediKey EDI Key
597
+ * @param {number} claimKey Claim Key
598
+ * @param {string} ediLocation EDI Location
599
+ * @param {*} [options] Override http request option.
600
+ * @throws {RequiredError}
601
+ */
602
+ getClaimXML: async (vbasoftwareDatabase: string, ediKey: number, claimKey: number, ediLocation: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
603
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
604
+ assertParamExists('getClaimXML', 'vbasoftwareDatabase', vbasoftwareDatabase)
605
+ // verify required parameter 'ediKey' is not null or undefined
606
+ assertParamExists('getClaimXML', 'ediKey', ediKey)
607
+ // verify required parameter 'claimKey' is not null or undefined
608
+ assertParamExists('getClaimXML', 'claimKey', claimKey)
609
+ // verify required parameter 'ediLocation' is not null or undefined
610
+ assertParamExists('getClaimXML', 'ediLocation', ediLocation)
611
+ const localVarPath = `/edi-key/{ediKey}/edi-claim-key/{claimKey}/edi-location/{ediLocation}/edi-xml`
612
+ .replace(`{${"ediKey"}}`, encodeURIComponent(String(ediKey)))
613
+ .replace(`{${"claimKey"}}`, encodeURIComponent(String(claimKey)))
614
+ .replace(`{${"ediLocation"}}`, encodeURIComponent(String(ediLocation)));
615
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
616
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
617
+ let baseOptions;
618
+ if (configuration) {
619
+ baseOptions = configuration.baseOptions;
620
+ }
621
+
622
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
623
+ const localVarHeaderParameter = {} as any;
624
+ const localVarQueryParameter = {} as any;
625
+
626
+ // authentication apiKeyAuth required
627
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
628
+
629
+ // authentication bearerAuth required
630
+ // http bearer authentication required
631
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
632
+
633
+
634
+
635
+ if (vbasoftwareDatabase != null) {
636
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
637
+ }
638
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
639
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
640
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
641
+
642
+ return {
643
+ url: toPathString(localVarUrlObj),
644
+ options: localVarRequestOptions,
645
+ };
646
+ },
590
647
  /**
591
648
  * List of potential benefit matches along with a match count for a specific claim service line.
592
649
  * @summary List matching benefit detail
@@ -1016,6 +1073,22 @@ export const AdvClaimApiFp = function(configuration?: Configuration) {
1016
1073
  const localVarOperationServerBasePath = operationServerMap['AdvClaimApi.generateClaimInvoice']?.[localVarOperationServerIndex]?.url;
1017
1074
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1018
1075
  },
1076
+ /**
1077
+ * Get a full XML representation of this claim submitted via EDI into VBADataIntegration. The criteria for this is available in Search Config: VBADATAINT_CLAIM.
1078
+ * @summary Get Claim EDI XML
1079
+ * @param {string} vbasoftwareDatabase Target database
1080
+ * @param {number} ediKey EDI Key
1081
+ * @param {number} claimKey Claim Key
1082
+ * @param {string} ediLocation EDI Location
1083
+ * @param {*} [options] Override http request option.
1084
+ * @throws {RequiredError}
1085
+ */
1086
+ async getClaimXML(vbasoftwareDatabase: string, ediKey: number, claimKey: number, ediLocation: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StringVBAResponse>> {
1087
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimXML(vbasoftwareDatabase, ediKey, claimKey, ediLocation, options);
1088
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1089
+ const localVarOperationServerBasePath = operationServerMap['AdvClaimApi.getClaimXML']?.[localVarOperationServerIndex]?.url;
1090
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1091
+ },
1019
1092
  /**
1020
1093
  * List of potential benefit matches along with a match count for a specific claim service line.
1021
1094
  * @summary List matching benefit detail
@@ -1220,6 +1293,19 @@ export const AdvClaimApiFactory = function (configuration?: Configuration, baseP
1220
1293
  generateClaimInvoice(vbasoftwareDatabase: string, claimInvoiceConfig: ClaimInvoiceConfig, options?: RawAxiosRequestConfig): AxiosPromise<ClaimBatchClaimBatchDetailListVBAResponse> {
1221
1294
  return localVarFp.generateClaimInvoice(vbasoftwareDatabase, claimInvoiceConfig, options).then((request) => request(axios, basePath));
1222
1295
  },
1296
+ /**
1297
+ * Get a full XML representation of this claim submitted via EDI into VBADataIntegration. The criteria for this is available in Search Config: VBADATAINT_CLAIM.
1298
+ * @summary Get Claim EDI XML
1299
+ * @param {string} vbasoftwareDatabase Target database
1300
+ * @param {number} ediKey EDI Key
1301
+ * @param {number} claimKey Claim Key
1302
+ * @param {string} ediLocation EDI Location
1303
+ * @param {*} [options] Override http request option.
1304
+ * @throws {RequiredError}
1305
+ */
1306
+ getClaimXML(vbasoftwareDatabase: string, ediKey: number, claimKey: number, ediLocation: string, options?: RawAxiosRequestConfig): AxiosPromise<StringVBAResponse> {
1307
+ return localVarFp.getClaimXML(vbasoftwareDatabase, ediKey, claimKey, ediLocation, options).then((request) => request(axios, basePath));
1308
+ },
1223
1309
  /**
1224
1310
  * List of potential benefit matches along with a match count for a specific claim service line.
1225
1311
  * @summary List matching benefit detail
@@ -1408,6 +1494,19 @@ export interface AdvClaimApiInterface {
1408
1494
  */
1409
1495
  generateClaimInvoice(vbasoftwareDatabase: string, claimInvoiceConfig: ClaimInvoiceConfig, options?: RawAxiosRequestConfig): AxiosPromise<ClaimBatchClaimBatchDetailListVBAResponse>;
1410
1496
 
1497
+ /**
1498
+ * Get a full XML representation of this claim submitted via EDI into VBADataIntegration. The criteria for this is available in Search Config: VBADATAINT_CLAIM.
1499
+ * @summary Get Claim EDI XML
1500
+ * @param {string} vbasoftwareDatabase Target database
1501
+ * @param {number} ediKey EDI Key
1502
+ * @param {number} claimKey Claim Key
1503
+ * @param {string} ediLocation EDI Location
1504
+ * @param {*} [options] Override http request option.
1505
+ * @throws {RequiredError}
1506
+ * @memberof AdvClaimApiInterface
1507
+ */
1508
+ getClaimXML(vbasoftwareDatabase: string, ediKey: number, claimKey: number, ediLocation: string, options?: RawAxiosRequestConfig): AxiosPromise<StringVBAResponse>;
1509
+
1411
1510
  /**
1412
1511
  * List of potential benefit matches along with a match count for a specific claim service line.
1413
1512
  * @summary List matching benefit detail
@@ -1616,6 +1715,21 @@ export class AdvClaimApi extends BaseAPI implements AdvClaimApiInterface {
1616
1715
  return AdvClaimApiFp(this.configuration).generateClaimInvoice(vbasoftwareDatabase, claimInvoiceConfig, options).then((request) => request(this.axios, this.basePath));
1617
1716
  }
1618
1717
 
1718
+ /**
1719
+ * Get a full XML representation of this claim submitted via EDI into VBADataIntegration. The criteria for this is available in Search Config: VBADATAINT_CLAIM.
1720
+ * @summary Get Claim EDI XML
1721
+ * @param {string} vbasoftwareDatabase Target database
1722
+ * @param {number} ediKey EDI Key
1723
+ * @param {number} claimKey Claim Key
1724
+ * @param {string} ediLocation EDI Location
1725
+ * @param {*} [options] Override http request option.
1726
+ * @throws {RequiredError}
1727
+ * @memberof AdvClaimApi
1728
+ */
1729
+ public getClaimXML(vbasoftwareDatabase: string, ediKey: number, claimKey: number, ediLocation: string, options?: RawAxiosRequestConfig) {
1730
+ return AdvClaimApiFp(this.configuration).getClaimXML(vbasoftwareDatabase, ediKey, claimKey, ediLocation, options).then((request) => request(this.axios, this.basePath));
1731
+ }
1732
+
1619
1733
  /**
1620
1734
  * List of potential benefit matches along with a match count for a specific claim service line.
1621
1735
  * @summary List matching benefit detail
@@ -22,6 +22,8 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
22
22
  // @ts-ignore
23
23
  import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
24
24
  // @ts-ignore
25
+ import type { BooleanVBAResponse } from '../models';
26
+ // @ts-ignore
25
27
  import type { MultiCodeResponseListVBAResponse } from '../models';
26
28
  // @ts-ignore
27
29
  import type { PremApplyPaymentCategoryResultListVBAResponse } from '../models';
@@ -301,6 +303,67 @@ export const PremiumPaymentsApiAxiosParamCreator = function (configuration?: Con
301
303
 
302
304
 
303
305
 
306
+ if (vbasoftwareDatabase != null) {
307
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
308
+ }
309
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
310
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
311
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
312
+
313
+ return {
314
+ url: toPathString(localVarUrlObj),
315
+ options: localVarRequestOptions,
316
+ };
317
+ },
318
+ /**
319
+ * Given an Invoice and amount due, either check if an Invoice falls withing Tolerance range to performan a write-off, or go ahead and perform the write-off.
320
+ * @summary Process or Check Invoice Tolerance
321
+ * @param {string} vbasoftwareDatabase Target database
322
+ * @param {number} invoiceKey Invoice Key
323
+ * @param {number} amountDue Amount Due
324
+ * @param {boolean} verifyOnly Verify Only
325
+ * @param {*} [options] Override http request option.
326
+ * @throws {RequiredError}
327
+ */
328
+ processInvoiceTolerance: async (vbasoftwareDatabase: string, invoiceKey: number, amountDue: number, verifyOnly: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
329
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
330
+ assertParamExists('processInvoiceTolerance', 'vbasoftwareDatabase', vbasoftwareDatabase)
331
+ // verify required parameter 'invoiceKey' is not null or undefined
332
+ assertParamExists('processInvoiceTolerance', 'invoiceKey', invoiceKey)
333
+ // verify required parameter 'amountDue' is not null or undefined
334
+ assertParamExists('processInvoiceTolerance', 'amountDue', amountDue)
335
+ // verify required parameter 'verifyOnly' is not null or undefined
336
+ assertParamExists('processInvoiceTolerance', 'verifyOnly', verifyOnly)
337
+ const localVarPath = `/process-invoice-tolerance/{invoiceKey}`
338
+ .replace(`{${"invoiceKey"}}`, encodeURIComponent(String(invoiceKey)));
339
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
340
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
341
+ let baseOptions;
342
+ if (configuration) {
343
+ baseOptions = configuration.baseOptions;
344
+ }
345
+
346
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
347
+ const localVarHeaderParameter = {} as any;
348
+ const localVarQueryParameter = {} as any;
349
+
350
+ // authentication apiKeyAuth required
351
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
352
+
353
+ // authentication bearerAuth required
354
+ // http bearer authentication required
355
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
356
+
357
+ if (amountDue !== undefined) {
358
+ localVarQueryParameter['amountDue'] = amountDue;
359
+ }
360
+
361
+ if (verifyOnly !== undefined) {
362
+ localVarQueryParameter['verifyOnly'] = verifyOnly;
363
+ }
364
+
365
+
366
+
304
367
  if (vbasoftwareDatabase != null) {
305
368
  localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
306
369
  }
@@ -549,6 +612,22 @@ export const PremiumPaymentsApiFp = function(configuration?: Configuration) {
549
612
  const localVarOperationServerBasePath = operationServerMap['PremiumPaymentsApi.listPremPayment']?.[localVarOperationServerIndex]?.url;
550
613
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
551
614
  },
615
+ /**
616
+ * Given an Invoice and amount due, either check if an Invoice falls withing Tolerance range to performan a write-off, or go ahead and perform the write-off.
617
+ * @summary Process or Check Invoice Tolerance
618
+ * @param {string} vbasoftwareDatabase Target database
619
+ * @param {number} invoiceKey Invoice Key
620
+ * @param {number} amountDue Amount Due
621
+ * @param {boolean} verifyOnly Verify Only
622
+ * @param {*} [options] Override http request option.
623
+ * @throws {RequiredError}
624
+ */
625
+ async processInvoiceTolerance(vbasoftwareDatabase: string, invoiceKey: number, amountDue: number, verifyOnly: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BooleanVBAResponse>> {
626
+ const localVarAxiosArgs = await localVarAxiosParamCreator.processInvoiceTolerance(vbasoftwareDatabase, invoiceKey, amountDue, verifyOnly, options);
627
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
628
+ const localVarOperationServerBasePath = operationServerMap['PremiumPaymentsApi.processInvoiceTolerance']?.[localVarOperationServerIndex]?.url;
629
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
630
+ },
552
631
  /**
553
632
  * Import a defined Payment File in .csv format to then have payments created and, optionally, attached to invoices.
554
633
  * @summary Process Payment File
@@ -662,6 +741,19 @@ export const PremiumPaymentsApiFactory = function (configuration?: Configuration
662
741
  listPremPayment(vbasoftwareDatabase: string, page?: number, pageSize?: number, sortBy?: string, options?: RawAxiosRequestConfig): AxiosPromise<PremPaymentListVBAResponse> {
663
742
  return localVarFp.listPremPayment(vbasoftwareDatabase, page, pageSize, sortBy, options).then((request) => request(axios, basePath));
664
743
  },
744
+ /**
745
+ * Given an Invoice and amount due, either check if an Invoice falls withing Tolerance range to performan a write-off, or go ahead and perform the write-off.
746
+ * @summary Process or Check Invoice Tolerance
747
+ * @param {string} vbasoftwareDatabase Target database
748
+ * @param {number} invoiceKey Invoice Key
749
+ * @param {number} amountDue Amount Due
750
+ * @param {boolean} verifyOnly Verify Only
751
+ * @param {*} [options] Override http request option.
752
+ * @throws {RequiredError}
753
+ */
754
+ processInvoiceTolerance(vbasoftwareDatabase: string, invoiceKey: number, amountDue: number, verifyOnly: boolean, options?: RawAxiosRequestConfig): AxiosPromise<BooleanVBAResponse> {
755
+ return localVarFp.processInvoiceTolerance(vbasoftwareDatabase, invoiceKey, amountDue, verifyOnly, options).then((request) => request(axios, basePath));
756
+ },
665
757
  /**
666
758
  * Import a defined Payment File in .csv format to then have payments created and, optionally, attached to invoices.
667
759
  * @summary Process Payment File
@@ -765,6 +857,19 @@ export interface PremiumPaymentsApiInterface {
765
857
  */
766
858
  listPremPayment(vbasoftwareDatabase: string, page?: number, pageSize?: number, sortBy?: string, options?: RawAxiosRequestConfig): AxiosPromise<PremPaymentListVBAResponse>;
767
859
 
860
+ /**
861
+ * Given an Invoice and amount due, either check if an Invoice falls withing Tolerance range to performan a write-off, or go ahead and perform the write-off.
862
+ * @summary Process or Check Invoice Tolerance
863
+ * @param {string} vbasoftwareDatabase Target database
864
+ * @param {number} invoiceKey Invoice Key
865
+ * @param {number} amountDue Amount Due
866
+ * @param {boolean} verifyOnly Verify Only
867
+ * @param {*} [options] Override http request option.
868
+ * @throws {RequiredError}
869
+ * @memberof PremiumPaymentsApiInterface
870
+ */
871
+ processInvoiceTolerance(vbasoftwareDatabase: string, invoiceKey: number, amountDue: number, verifyOnly: boolean, options?: RawAxiosRequestConfig): AxiosPromise<BooleanVBAResponse>;
872
+
768
873
  /**
769
874
  * Import a defined Payment File in .csv format to then have payments created and, optionally, attached to invoices.
770
875
  * @summary Process Payment File
@@ -878,6 +983,21 @@ export class PremiumPaymentsApi extends BaseAPI implements PremiumPaymentsApiInt
878
983
  return PremiumPaymentsApiFp(this.configuration).listPremPayment(vbasoftwareDatabase, page, pageSize, sortBy, options).then((request) => request(this.axios, this.basePath));
879
984
  }
880
985
 
986
+ /**
987
+ * Given an Invoice and amount due, either check if an Invoice falls withing Tolerance range to performan a write-off, or go ahead and perform the write-off.
988
+ * @summary Process or Check Invoice Tolerance
989
+ * @param {string} vbasoftwareDatabase Target database
990
+ * @param {number} invoiceKey Invoice Key
991
+ * @param {number} amountDue Amount Due
992
+ * @param {boolean} verifyOnly Verify Only
993
+ * @param {*} [options] Override http request option.
994
+ * @throws {RequiredError}
995
+ * @memberof PremiumPaymentsApi
996
+ */
997
+ public processInvoiceTolerance(vbasoftwareDatabase: string, invoiceKey: number, amountDue: number, verifyOnly: boolean, options?: RawAxiosRequestConfig) {
998
+ return PremiumPaymentsApiFp(this.configuration).processInvoiceTolerance(vbasoftwareDatabase, invoiceKey, amountDue, verifyOnly, options).then((request) => request(this.axios, this.basePath));
999
+ }
1000
+
881
1001
  /**
882
1002
  * Import a defined Payment File in .csv format to then have payments created and, optionally, attached to invoices.
883
1003
  * @summary Process Payment File
@@ -56,7 +56,7 @@ export const SupportApiAxiosParamCreator = function (configuration?: Configurati
56
56
  assertParamExists('createSupportUser', 'targetVbasoftwareClientCode', targetVbasoftwareClientCode)
57
57
  // verify required parameter 'targetVbasoftwareDatabase' is not null or undefined
58
58
  assertParamExists('createSupportUser', 'targetVbasoftwareDatabase', targetVbasoftwareDatabase)
59
- const localVarPath = `/support/client-users`;
59
+ const localVarPath = `/support/client-users/add-me`;
60
60
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
61
61
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
62
62
  let baseOptions;
@@ -85,6 +85,67 @@ export const SupportApiAxiosParamCreator = function (configuration?: Configurati
85
85
 
86
86
 
87
87
 
88
+ if (vbasoftwareDatabase != null) {
89
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
90
+ }
91
+ if (targetVbasoftwareClientId != null) {
92
+ localVarHeaderParameter['target-vbasoftware-client-id'] = String(targetVbasoftwareClientId);
93
+ }
94
+ if (targetVbasoftwareClientCode != null) {
95
+ localVarHeaderParameter['target-vbasoftware-client-code'] = String(targetVbasoftwareClientCode);
96
+ }
97
+ if (targetVbasoftwareDatabase != null) {
98
+ localVarHeaderParameter['target-vbasoftware-database'] = String(targetVbasoftwareDatabase);
99
+ }
100
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
101
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
102
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
103
+
104
+ return {
105
+ url: toPathString(localVarUrlObj),
106
+ options: localVarRequestOptions,
107
+ };
108
+ },
109
+ /**
110
+ * This endpoint allows you to disable the currently authenticated Support user within the client\'s environment instead of deleting them.
111
+ * @summary Disables the Support User in a client environment
112
+ * @param {string} vbasoftwareDatabase Support Database
113
+ * @param {string} targetVbasoftwareClientId Target Client ID
114
+ * @param {string} targetVbasoftwareClientCode Target Client Code
115
+ * @param {string} targetVbasoftwareDatabase Target Client Database
116
+ * @param {*} [options] Override http request option.
117
+ * @throws {RequiredError}
118
+ */
119
+ disableSupportUser: async (vbasoftwareDatabase: string, targetVbasoftwareClientId: string, targetVbasoftwareClientCode: string, targetVbasoftwareDatabase: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
120
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
121
+ assertParamExists('disableSupportUser', 'vbasoftwareDatabase', vbasoftwareDatabase)
122
+ // verify required parameter 'targetVbasoftwareClientId' is not null or undefined
123
+ assertParamExists('disableSupportUser', 'targetVbasoftwareClientId', targetVbasoftwareClientId)
124
+ // verify required parameter 'targetVbasoftwareClientCode' is not null or undefined
125
+ assertParamExists('disableSupportUser', 'targetVbasoftwareClientCode', targetVbasoftwareClientCode)
126
+ // verify required parameter 'targetVbasoftwareDatabase' is not null or undefined
127
+ assertParamExists('disableSupportUser', 'targetVbasoftwareDatabase', targetVbasoftwareDatabase)
128
+ const localVarPath = `/support/client-users/disable-me`;
129
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
130
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
131
+ let baseOptions;
132
+ if (configuration) {
133
+ baseOptions = configuration.baseOptions;
134
+ }
135
+
136
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
137
+ const localVarHeaderParameter = {} as any;
138
+ const localVarQueryParameter = {} as any;
139
+
140
+ // authentication apiKeyAuth required
141
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
142
+
143
+ // authentication bearerAuth required
144
+ // http bearer authentication required
145
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
146
+
147
+
148
+
88
149
  if (vbasoftwareDatabase != null) {
89
150
  localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
90
151
  }
@@ -295,6 +356,22 @@ export const SupportApiFp = function(configuration?: Configuration) {
295
356
  const localVarOperationServerBasePath = operationServerMap['SupportApi.createSupportUser']?.[localVarOperationServerIndex]?.url;
296
357
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
297
358
  },
359
+ /**
360
+ * This endpoint allows you to disable the currently authenticated Support user within the client\'s environment instead of deleting them.
361
+ * @summary Disables the Support User in a client environment
362
+ * @param {string} vbasoftwareDatabase Support Database
363
+ * @param {string} targetVbasoftwareClientId Target Client ID
364
+ * @param {string} targetVbasoftwareClientCode Target Client Code
365
+ * @param {string} targetVbasoftwareDatabase Target Client Database
366
+ * @param {*} [options] Override http request option.
367
+ * @throws {RequiredError}
368
+ */
369
+ async disableSupportUser(vbasoftwareDatabase: string, targetVbasoftwareClientId: string, targetVbasoftwareClientCode: string, targetVbasoftwareDatabase: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
370
+ const localVarAxiosArgs = await localVarAxiosParamCreator.disableSupportUser(vbasoftwareDatabase, targetVbasoftwareClientId, targetVbasoftwareClientCode, targetVbasoftwareDatabase, options);
371
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
372
+ const localVarOperationServerBasePath = operationServerMap['SupportApi.disableSupportUser']?.[localVarOperationServerIndex]?.url;
373
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
374
+ },
298
375
  /**
299
376
  * Gets the client details for the given client id and client code.
300
377
  * @summary Get Client
@@ -364,6 +441,19 @@ export const SupportApiFactory = function (configuration?: Configuration, basePa
364
441
  createSupportUser(vbasoftwareDatabase: string, targetVbasoftwareClientId: string, targetVbasoftwareClientCode: string, targetVbasoftwareDatabase: string, userIdToClone?: string, makeAdmin?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<UsersVBAResponse> {
365
442
  return localVarFp.createSupportUser(vbasoftwareDatabase, targetVbasoftwareClientId, targetVbasoftwareClientCode, targetVbasoftwareDatabase, userIdToClone, makeAdmin, options).then((request) => request(axios, basePath));
366
443
  },
444
+ /**
445
+ * This endpoint allows you to disable the currently authenticated Support user within the client\'s environment instead of deleting them.
446
+ * @summary Disables the Support User in a client environment
447
+ * @param {string} vbasoftwareDatabase Support Database
448
+ * @param {string} targetVbasoftwareClientId Target Client ID
449
+ * @param {string} targetVbasoftwareClientCode Target Client Code
450
+ * @param {string} targetVbasoftwareDatabase Target Client Database
451
+ * @param {*} [options] Override http request option.
452
+ * @throws {RequiredError}
453
+ */
454
+ disableSupportUser(vbasoftwareDatabase: string, targetVbasoftwareClientId: string, targetVbasoftwareClientCode: string, targetVbasoftwareDatabase: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
455
+ return localVarFp.disableSupportUser(vbasoftwareDatabase, targetVbasoftwareClientId, targetVbasoftwareClientCode, targetVbasoftwareDatabase, options).then((request) => request(axios, basePath));
456
+ },
367
457
  /**
368
458
  * Gets the client details for the given client id and client code.
369
459
  * @summary Get Client
@@ -423,6 +513,19 @@ export interface SupportApiInterface {
423
513
  */
424
514
  createSupportUser(vbasoftwareDatabase: string, targetVbasoftwareClientId: string, targetVbasoftwareClientCode: string, targetVbasoftwareDatabase: string, userIdToClone?: string, makeAdmin?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<UsersVBAResponse>;
425
515
 
516
+ /**
517
+ * This endpoint allows you to disable the currently authenticated Support user within the client\'s environment instead of deleting them.
518
+ * @summary Disables the Support User in a client environment
519
+ * @param {string} vbasoftwareDatabase Support Database
520
+ * @param {string} targetVbasoftwareClientId Target Client ID
521
+ * @param {string} targetVbasoftwareClientCode Target Client Code
522
+ * @param {string} targetVbasoftwareDatabase Target Client Database
523
+ * @param {*} [options] Override http request option.
524
+ * @throws {RequiredError}
525
+ * @memberof SupportApiInterface
526
+ */
527
+ disableSupportUser(vbasoftwareDatabase: string, targetVbasoftwareClientId: string, targetVbasoftwareClientCode: string, targetVbasoftwareDatabase: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
528
+
426
529
  /**
427
530
  * Gets the client details for the given client id and client code.
428
531
  * @summary Get Client
@@ -484,6 +587,21 @@ export class SupportApi extends BaseAPI implements SupportApiInterface {
484
587
  return SupportApiFp(this.configuration).createSupportUser(vbasoftwareDatabase, targetVbasoftwareClientId, targetVbasoftwareClientCode, targetVbasoftwareDatabase, userIdToClone, makeAdmin, options).then((request) => request(this.axios, this.basePath));
485
588
  }
486
589
 
590
+ /**
591
+ * This endpoint allows you to disable the currently authenticated Support user within the client\'s environment instead of deleting them.
592
+ * @summary Disables the Support User in a client environment
593
+ * @param {string} vbasoftwareDatabase Support Database
594
+ * @param {string} targetVbasoftwareClientId Target Client ID
595
+ * @param {string} targetVbasoftwareClientCode Target Client Code
596
+ * @param {string} targetVbasoftwareDatabase Target Client Database
597
+ * @param {*} [options] Override http request option.
598
+ * @throws {RequiredError}
599
+ * @memberof SupportApi
600
+ */
601
+ public disableSupportUser(vbasoftwareDatabase: string, targetVbasoftwareClientId: string, targetVbasoftwareClientCode: string, targetVbasoftwareDatabase: string, options?: RawAxiosRequestConfig) {
602
+ return SupportApiFp(this.configuration).disableSupportUser(vbasoftwareDatabase, targetVbasoftwareClientId, targetVbasoftwareClientCode, targetVbasoftwareDatabase, options).then((request) => request(this.axios, this.basePath));
603
+ }
604
+
487
605
  /**
488
606
  * Gets the client details for the given client id and client code.
489
607
  * @summary Get Client
@@ -31,6 +31,8 @@ import type { MessageThreadVBAResponse } from '../models';
31
31
  import type { Messages } from '../models';
32
32
  // @ts-ignore
33
33
  import type { MessagesVBAResponse } from '../models';
34
+ // @ts-ignore
35
+ import type { TransposeRequestMetaDataResultListVBAResponse } from '../models';
34
36
  /**
35
37
  * VBAGatewayMessagingApi - axios parameter creator
36
38
  * @export
@@ -232,6 +234,53 @@ export const VBAGatewayMessagingApiAxiosParamCreator = function (configuration?:
232
234
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
233
235
  localVarRequestOptions.data = serializeDataIfNeeded(messageThread, localVarRequestOptions, configuration)
234
236
 
237
+ return {
238
+ url: toPathString(localVarUrlObj),
239
+ options: localVarRequestOptions,
240
+ };
241
+ },
242
+ /**
243
+ * Gets VBAGateway Request in real-time and converts the request into key/value pairs. VBAGateway requests may have different keys based on the request type.
244
+ * @summary Get VBAGateway Request and Transpose to key/value pairs
245
+ * @param {string} vbasoftwareDatabase Target database
246
+ * @param {number} requestKey Request_Key
247
+ * @param {*} [options] Override http request option.
248
+ * @throws {RequiredError}
249
+ */
250
+ vBAGatewayTransposeRequest: async (vbasoftwareDatabase: string, requestKey: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
251
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
252
+ assertParamExists('vBAGatewayTransposeRequest', 'vbasoftwareDatabase', vbasoftwareDatabase)
253
+ // verify required parameter 'requestKey' is not null or undefined
254
+ assertParamExists('vBAGatewayTransposeRequest', 'requestKey', requestKey)
255
+ const localVarPath = `/vbagateway-requests/{Request_Key}/transpose`
256
+ .replace(`{${"Request_Key"}}`, encodeURIComponent(String(requestKey)));
257
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
258
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
259
+ let baseOptions;
260
+ if (configuration) {
261
+ baseOptions = configuration.baseOptions;
262
+ }
263
+
264
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
265
+ const localVarHeaderParameter = {} as any;
266
+ const localVarQueryParameter = {} as any;
267
+
268
+ // authentication apiKeyAuth required
269
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
270
+
271
+ // authentication bearerAuth required
272
+ // http bearer authentication required
273
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
274
+
275
+
276
+
277
+ if (vbasoftwareDatabase != null) {
278
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
279
+ }
280
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
281
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
282
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
283
+
235
284
  return {
236
285
  url: toPathString(localVarUrlObj),
237
286
  options: localVarRequestOptions,
@@ -305,6 +354,20 @@ export const VBAGatewayMessagingApiFp = function(configuration?: Configuration)
305
354
  const localVarOperationServerBasePath = operationServerMap['VBAGatewayMessagingApi.updateVBAGatewayMessageThread']?.[localVarOperationServerIndex]?.url;
306
355
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
307
356
  },
357
+ /**
358
+ * Gets VBAGateway Request in real-time and converts the request into key/value pairs. VBAGateway requests may have different keys based on the request type.
359
+ * @summary Get VBAGateway Request and Transpose to key/value pairs
360
+ * @param {string} vbasoftwareDatabase Target database
361
+ * @param {number} requestKey Request_Key
362
+ * @param {*} [options] Override http request option.
363
+ * @throws {RequiredError}
364
+ */
365
+ async vBAGatewayTransposeRequest(vbasoftwareDatabase: string, requestKey: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransposeRequestMetaDataResultListVBAResponse>> {
366
+ const localVarAxiosArgs = await localVarAxiosParamCreator.vBAGatewayTransposeRequest(vbasoftwareDatabase, requestKey, options);
367
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
368
+ const localVarOperationServerBasePath = operationServerMap['VBAGatewayMessagingApi.vBAGatewayTransposeRequest']?.[localVarOperationServerIndex]?.url;
369
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
370
+ },
308
371
  }
309
372
  };
310
373
 
@@ -361,6 +424,17 @@ export const VBAGatewayMessagingApiFactory = function (configuration?: Configura
361
424
  updateVBAGatewayMessageThread(vbasoftwareDatabase: string, messageThreadKey: number, messageThread: MessageThread, options?: RawAxiosRequestConfig): AxiosPromise<MessageThreadVBAResponse> {
362
425
  return localVarFp.updateVBAGatewayMessageThread(vbasoftwareDatabase, messageThreadKey, messageThread, options).then((request) => request(axios, basePath));
363
426
  },
427
+ /**
428
+ * Gets VBAGateway Request in real-time and converts the request into key/value pairs. VBAGateway requests may have different keys based on the request type.
429
+ * @summary Get VBAGateway Request and Transpose to key/value pairs
430
+ * @param {string} vbasoftwareDatabase Target database
431
+ * @param {number} requestKey Request_Key
432
+ * @param {*} [options] Override http request option.
433
+ * @throws {RequiredError}
434
+ */
435
+ vBAGatewayTransposeRequest(vbasoftwareDatabase: string, requestKey: number, options?: RawAxiosRequestConfig): AxiosPromise<TransposeRequestMetaDataResultListVBAResponse> {
436
+ return localVarFp.vBAGatewayTransposeRequest(vbasoftwareDatabase, requestKey, options).then((request) => request(axios, basePath));
437
+ },
364
438
  };
365
439
  };
366
440
 
@@ -416,6 +490,17 @@ export interface VBAGatewayMessagingApiInterface {
416
490
  */
417
491
  updateVBAGatewayMessageThread(vbasoftwareDatabase: string, messageThreadKey: number, messageThread: MessageThread, options?: RawAxiosRequestConfig): AxiosPromise<MessageThreadVBAResponse>;
418
492
 
493
+ /**
494
+ * Gets VBAGateway Request in real-time and converts the request into key/value pairs. VBAGateway requests may have different keys based on the request type.
495
+ * @summary Get VBAGateway Request and Transpose to key/value pairs
496
+ * @param {string} vbasoftwareDatabase Target database
497
+ * @param {number} requestKey Request_Key
498
+ * @param {*} [options] Override http request option.
499
+ * @throws {RequiredError}
500
+ * @memberof VBAGatewayMessagingApiInterface
501
+ */
502
+ vBAGatewayTransposeRequest(vbasoftwareDatabase: string, requestKey: number, options?: RawAxiosRequestConfig): AxiosPromise<TransposeRequestMetaDataResultListVBAResponse>;
503
+
419
504
  }
420
505
 
421
506
  /**
@@ -478,5 +563,18 @@ export class VBAGatewayMessagingApi extends BaseAPI implements VBAGatewayMessagi
478
563
  public updateVBAGatewayMessageThread(vbasoftwareDatabase: string, messageThreadKey: number, messageThread: MessageThread, options?: RawAxiosRequestConfig) {
479
564
  return VBAGatewayMessagingApiFp(this.configuration).updateVBAGatewayMessageThread(vbasoftwareDatabase, messageThreadKey, messageThread, options).then((request) => request(this.axios, this.basePath));
480
565
  }
566
+
567
+ /**
568
+ * Gets VBAGateway Request in real-time and converts the request into key/value pairs. VBAGateway requests may have different keys based on the request type.
569
+ * @summary Get VBAGateway Request and Transpose to key/value pairs
570
+ * @param {string} vbasoftwareDatabase Target database
571
+ * @param {number} requestKey Request_Key
572
+ * @param {*} [options] Override http request option.
573
+ * @throws {RequiredError}
574
+ * @memberof VBAGatewayMessagingApi
575
+ */
576
+ public vBAGatewayTransposeRequest(vbasoftwareDatabase: string, requestKey: number, options?: RawAxiosRequestConfig) {
577
+ return VBAGatewayMessagingApiFp(this.configuration).vBAGatewayTransposeRequest(vbasoftwareDatabase, requestKey, options).then((request) => request(this.axios, this.basePath));
578
+ }
481
579
  }
482
580
 
package/models/index.ts CHANGED
@@ -2428,6 +2428,8 @@ export * from './tooth-quadrant';
2428
2428
  export * from './tooth-quadrant-list-vbaresponse';
2429
2429
  export * from './tooth-quadrant-vbaresponse';
2430
2430
  export * from './tooth-vbaresponse';
2431
+ export * from './transpose-request-meta-data-result';
2432
+ export * from './transpose-request-meta-data-result-list-vbaresponse';
2431
2433
  export * from './treatment-type';
2432
2434
  export * from './treatment-type-list-vbaresponse';
2433
2435
  export * from './treatment-type-vbaresponse';
@@ -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 { TransposeRequestMetaDataResult } from './transpose-request-meta-data-result';
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 TransposeRequestMetaDataResultListVBAResponse
30
+ */
31
+ export interface TransposeRequestMetaDataResultListVBAResponse {
32
+ /**
33
+ *
34
+ * @type {Array<TransposeRequestMetaDataResult>}
35
+ * @memberof TransposeRequestMetaDataResultListVBAResponse
36
+ */
37
+ 'data'?: Array<TransposeRequestMetaDataResult> | null;
38
+ /**
39
+ *
40
+ * @type {VBAProblemDetails}
41
+ * @memberof TransposeRequestMetaDataResultListVBAResponse
42
+ */
43
+ 'error'?: VBAProblemDetails;
44
+ /**
45
+ *
46
+ * @type {Debug}
47
+ * @memberof TransposeRequestMetaDataResultListVBAResponse
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
+ * Represents the result of a transposed request metadata operation.
19
+ * @export
20
+ * @interface TransposeRequestMetaDataResult
21
+ */
22
+ export interface TransposeRequestMetaDataResult {
23
+ /**
24
+ * The primary key of the request.
25
+ * @type {number}
26
+ * @memberof TransposeRequestMetaDataResult
27
+ */
28
+ 'request_Key'?: number | null;
29
+ /**
30
+ * The name of the attribute (column) from the original request table.
31
+ * @type {string}
32
+ * @memberof TransposeRequestMetaDataResult
33
+ */
34
+ 'request_Attribute'?: string | null;
35
+ /**
36
+ * The value of the attribute (column) for the given request.
37
+ * @type {string}
38
+ * @memberof TransposeRequestMetaDataResult
39
+ */
40
+ 'request_Attribute_Value'?: string | null;
41
+ }
42
+
@@ -27,7 +27,7 @@ export interface VBAProcessPaymentFile {
27
27
  */
28
28
  'payment_File_Format_Key'?: number;
29
29
  /**
30
- * This MUST be a .csv file with the following columns (Include Headers with field name): <div> Payment_Type - Use a value from the PremPaymentType table (can be null) Payment_Batch - Source system indicator for the payment batch (can be null) Payment_Batch_Seq - Source system indicator for the payment batch sequence (can be null) Payment_Account - The name of the account that the payment is being made from - required Payment_ID - The unique identifier for the payment - required Payment_Date - The date the payment was made in YYYY-MM-DD format - required Payment_Amount - The amount of the payment - required Payment_Name - The name of the person or entity making the payment - required Group_ID - If this payment is for the entire group, this should be the Group_ID - can be null Division_ID - If this payment is for the entire division, this should be the Division_ID - can be null Subscriber_ID - If this payment is for a specific subscriber, this should be the Subscriber_ID - can be null Payor_ID - The Payor_ID to be set on the created payments - required Account_Key - The Account_Key to be set on the created payments - required Invoice_Key - If this payment is to be applied to a specific invoice, this should be the Invoice_Key - can be null PremRate_Key - If this payment is to be applied to a specific rate, this should be the PremRate_Key - can be null PremPayment_Key - If this payment is to be applied to a specific payment, this should be the PremPayment_Key - can be null</div>
30
+ * This MUST be a .csv file with the following columns (Include Headers with field name): <div> Payment_Type - Use a value from the PremPaymentType table (can be null) Payment_Batch - Source system indicator for the payment batch (can be null) Payment_Batch_Seq - Source system indicator for the payment batch sequence (can be null) Payment_Account - The name of the account that the payment is being made from - required Payment_ID - The unique identifier for the payment - required Payment_Date - The date the payment was made in YYYY-MM-DD format - required Payment_Amount - The amount of the payment - required Payment_Name - The name of the person or entity making the payment - required Group_ID - If this payment is for the entire group, this should be the Group_ID - can be null Division_ID - If this payment is for the entire division, this should be the Division_ID - can be null Subscriber_ID - If this payment is for a specific subscriber, this should be the Subscriber_ID - can be null Payor_ID - The Payor_ID to be set on the created payments - required Account_Key - The Account_Key to be set on the created payments - required Invoice_Key - If this payment is to be applied to a specific invoice, this should be the Invoice_Key - can be null PremRate_Key - If this payment is to be applied to a specific rate, this should be the PremRate_Key - can be null PremPayment_Key - If this payment is to be applied to a specific payment, this should be the PremPayment_Key - can be null</div>
31
31
  * @type {string}
32
32
  * @memberof VBAProcessPaymentFile
33
33
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vbasoftware/vbapi-vbasoftware-typescript-axios",
3
- "version": "1.20250124.1",
3
+ "version": "1.20250131.1",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"