@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20250221.7 → 1.20250307.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/VERSION +1 -1
- package/api/adv-billing-api.ts +408 -0
- package/api/adv-claim-api.ts +1 -1
- package/api/premium-invoices-api.ts +408 -0
- package/configuration.ts +1 -2
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.12.0
|
package/api/adv-billing-api.ts
CHANGED
|
@@ -412,6 +412,114 @@ export const AdvBillingApiAxiosParamCreator = function (configuration?: Configur
|
|
|
412
412
|
options: localVarRequestOptions,
|
|
413
413
|
};
|
|
414
414
|
},
|
|
415
|
+
/**
|
|
416
|
+
* This will finalize the selected Invoice.
|
|
417
|
+
* @summary Finalize Invoice
|
|
418
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
419
|
+
* @param {number} invoiceKey Invoice Key
|
|
420
|
+
* @param {*} [options] Override http request option.
|
|
421
|
+
* @throws {RequiredError}
|
|
422
|
+
*/
|
|
423
|
+
finalizeInvoice: async (vbasoftwareDatabase: string, invoiceKey: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
424
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
425
|
+
assertParamExists('finalizeInvoice', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
426
|
+
// verify required parameter 'invoiceKey' is not null or undefined
|
|
427
|
+
assertParamExists('finalizeInvoice', 'invoiceKey', invoiceKey)
|
|
428
|
+
const localVarPath = `/invoice-finalize/{invoiceKey}`
|
|
429
|
+
.replace(`{${"invoiceKey"}}`, encodeURIComponent(String(invoiceKey)));
|
|
430
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
431
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
432
|
+
let baseOptions;
|
|
433
|
+
if (configuration) {
|
|
434
|
+
baseOptions = configuration.baseOptions;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
438
|
+
const localVarHeaderParameter = {} as any;
|
|
439
|
+
const localVarQueryParameter = {} as any;
|
|
440
|
+
|
|
441
|
+
// authentication apiKeyAuth required
|
|
442
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
443
|
+
|
|
444
|
+
// authentication bearerAuth required
|
|
445
|
+
// http bearer authentication required
|
|
446
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
447
|
+
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
if (vbasoftwareDatabase != null) {
|
|
451
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
452
|
+
}
|
|
453
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
454
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
455
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
456
|
+
|
|
457
|
+
return {
|
|
458
|
+
url: toPathString(localVarUrlObj),
|
|
459
|
+
options: localVarRequestOptions,
|
|
460
|
+
};
|
|
461
|
+
},
|
|
462
|
+
/**
|
|
463
|
+
* This process will delete an invoice and remove attached records, update or delete adjustments based on selected options.
|
|
464
|
+
* @summary Delete an Invoice with additional options
|
|
465
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
466
|
+
* @param {number} invoiceKey Invoice Key
|
|
467
|
+
* @param {boolean} deleteAdditionalInvoices Delete Additional Invoices
|
|
468
|
+
* @param {boolean} keepManualAdjustments Keep Manual Adjustments
|
|
469
|
+
* @param {*} [options] Override http request option.
|
|
470
|
+
* @throws {RequiredError}
|
|
471
|
+
*/
|
|
472
|
+
fullDeleteInvoice: async (vbasoftwareDatabase: string, invoiceKey: number, deleteAdditionalInvoices: boolean, keepManualAdjustments: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
473
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
474
|
+
assertParamExists('fullDeleteInvoice', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
475
|
+
// verify required parameter 'invoiceKey' is not null or undefined
|
|
476
|
+
assertParamExists('fullDeleteInvoice', 'invoiceKey', invoiceKey)
|
|
477
|
+
// verify required parameter 'deleteAdditionalInvoices' is not null or undefined
|
|
478
|
+
assertParamExists('fullDeleteInvoice', 'deleteAdditionalInvoices', deleteAdditionalInvoices)
|
|
479
|
+
// verify required parameter 'keepManualAdjustments' is not null or undefined
|
|
480
|
+
assertParamExists('fullDeleteInvoice', 'keepManualAdjustments', keepManualAdjustments)
|
|
481
|
+
const localVarPath = `/invoice-full-delete/{invoiceKey}`
|
|
482
|
+
.replace(`{${"invoiceKey"}}`, encodeURIComponent(String(invoiceKey)));
|
|
483
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
484
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
485
|
+
let baseOptions;
|
|
486
|
+
if (configuration) {
|
|
487
|
+
baseOptions = configuration.baseOptions;
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
491
|
+
const localVarHeaderParameter = {} as any;
|
|
492
|
+
const localVarQueryParameter = {} as any;
|
|
493
|
+
|
|
494
|
+
// authentication apiKeyAuth required
|
|
495
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
496
|
+
|
|
497
|
+
// authentication bearerAuth required
|
|
498
|
+
// http bearer authentication required
|
|
499
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
500
|
+
|
|
501
|
+
if (deleteAdditionalInvoices !== undefined) {
|
|
502
|
+
localVarQueryParameter['deleteAdditionalInvoices'] = deleteAdditionalInvoices;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
if (keepManualAdjustments !== undefined) {
|
|
506
|
+
localVarQueryParameter['keepManualAdjustments'] = keepManualAdjustments;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
if (vbasoftwareDatabase != null) {
|
|
512
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
513
|
+
}
|
|
514
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
515
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
516
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
517
|
+
|
|
518
|
+
return {
|
|
519
|
+
url: toPathString(localVarUrlObj),
|
|
520
|
+
options: localVarRequestOptions,
|
|
521
|
+
};
|
|
522
|
+
},
|
|
415
523
|
/**
|
|
416
524
|
* Generate the Premium Distributions for the selected Group and As of Date.
|
|
417
525
|
* @summary Create Premium Distributions
|
|
@@ -654,6 +762,55 @@ export const AdvBillingApiAxiosParamCreator = function (configuration?: Configur
|
|
|
654
762
|
|
|
655
763
|
|
|
656
764
|
|
|
765
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
766
|
+
|
|
767
|
+
if (vbasoftwareDatabase != null) {
|
|
768
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
769
|
+
}
|
|
770
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
771
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
772
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
773
|
+
localVarRequestOptions.data = serializeDataIfNeeded(generatePremInvoice, localVarRequestOptions, configuration)
|
|
774
|
+
|
|
775
|
+
return {
|
|
776
|
+
url: toPathString(localVarUrlObj),
|
|
777
|
+
options: localVarRequestOptions,
|
|
778
|
+
};
|
|
779
|
+
},
|
|
780
|
+
/**
|
|
781
|
+
* Creates a new Premium Billing Invoice for the selected GroupDivisionCaptive.
|
|
782
|
+
* @summary Generate GroupDivisionCaptive Invoice
|
|
783
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
784
|
+
* @param {GeneratePremInvoice} generatePremInvoice
|
|
785
|
+
* @param {*} [options] Override http request option.
|
|
786
|
+
* @throws {RequiredError}
|
|
787
|
+
*/
|
|
788
|
+
generatePremInvoiceGroupDivisionCaptive: async (vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
789
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
790
|
+
assertParamExists('generatePremInvoiceGroupDivisionCaptive', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
791
|
+
// verify required parameter 'generatePremInvoice' is not null or undefined
|
|
792
|
+
assertParamExists('generatePremInvoiceGroupDivisionCaptive', 'generatePremInvoice', generatePremInvoice)
|
|
793
|
+
const localVarPath = `/generate-group-division-captive-invoice`;
|
|
794
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
795
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
796
|
+
let baseOptions;
|
|
797
|
+
if (configuration) {
|
|
798
|
+
baseOptions = configuration.baseOptions;
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
802
|
+
const localVarHeaderParameter = {} as any;
|
|
803
|
+
const localVarQueryParameter = {} as any;
|
|
804
|
+
|
|
805
|
+
// authentication apiKeyAuth required
|
|
806
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
807
|
+
|
|
808
|
+
// authentication bearerAuth required
|
|
809
|
+
// http bearer authentication required
|
|
810
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
811
|
+
|
|
812
|
+
|
|
813
|
+
|
|
657
814
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
658
815
|
|
|
659
816
|
if (vbasoftwareDatabase != null) {
|
|
@@ -1667,6 +1824,53 @@ export const AdvBillingApiAxiosParamCreator = function (configuration?: Configur
|
|
|
1667
1824
|
options: localVarRequestOptions,
|
|
1668
1825
|
};
|
|
1669
1826
|
},
|
|
1827
|
+
/**
|
|
1828
|
+
* This will delete the invoice, remove attached adjustments, payments, etc. Then Regenerate the Invoice using the same Invoice Key.
|
|
1829
|
+
* @summary Regenerate Invoice
|
|
1830
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1831
|
+
* @param {number} invoiceKey Invoice Key
|
|
1832
|
+
* @param {*} [options] Override http request option.
|
|
1833
|
+
* @throws {RequiredError}
|
|
1834
|
+
*/
|
|
1835
|
+
regenerateInvoice: async (vbasoftwareDatabase: string, invoiceKey: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1836
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
1837
|
+
assertParamExists('regenerateInvoice', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
1838
|
+
// verify required parameter 'invoiceKey' is not null or undefined
|
|
1839
|
+
assertParamExists('regenerateInvoice', 'invoiceKey', invoiceKey)
|
|
1840
|
+
const localVarPath = `/invoice-regenerate/{invoiceKey}`
|
|
1841
|
+
.replace(`{${"invoiceKey"}}`, encodeURIComponent(String(invoiceKey)));
|
|
1842
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1843
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1844
|
+
let baseOptions;
|
|
1845
|
+
if (configuration) {
|
|
1846
|
+
baseOptions = configuration.baseOptions;
|
|
1847
|
+
}
|
|
1848
|
+
|
|
1849
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1850
|
+
const localVarHeaderParameter = {} as any;
|
|
1851
|
+
const localVarQueryParameter = {} as any;
|
|
1852
|
+
|
|
1853
|
+
// authentication apiKeyAuth required
|
|
1854
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
1855
|
+
|
|
1856
|
+
// authentication bearerAuth required
|
|
1857
|
+
// http bearer authentication required
|
|
1858
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1859
|
+
|
|
1860
|
+
|
|
1861
|
+
|
|
1862
|
+
if (vbasoftwareDatabase != null) {
|
|
1863
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
1864
|
+
}
|
|
1865
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1866
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1867
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1868
|
+
|
|
1869
|
+
return {
|
|
1870
|
+
url: toPathString(localVarUrlObj),
|
|
1871
|
+
options: localVarRequestOptions,
|
|
1872
|
+
};
|
|
1873
|
+
},
|
|
1670
1874
|
/**
|
|
1671
1875
|
* This will trigger Generate Invoice Process Automation.
|
|
1672
1876
|
* @summary Generate Invoice Process Automation
|
|
@@ -1917,6 +2121,36 @@ export const AdvBillingApiFp = function(configuration?: Configuration) {
|
|
|
1917
2121
|
const localVarOperationServerBasePath = operationServerMap['AdvBillingApi.billingRefund']?.[localVarOperationServerIndex]?.url;
|
|
1918
2122
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1919
2123
|
},
|
|
2124
|
+
/**
|
|
2125
|
+
* This will finalize the selected Invoice.
|
|
2126
|
+
* @summary Finalize Invoice
|
|
2127
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
2128
|
+
* @param {number} invoiceKey Invoice Key
|
|
2129
|
+
* @param {*} [options] Override http request option.
|
|
2130
|
+
* @throws {RequiredError}
|
|
2131
|
+
*/
|
|
2132
|
+
async finalizeInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2133
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.finalizeInvoice(vbasoftwareDatabase, invoiceKey, options);
|
|
2134
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2135
|
+
const localVarOperationServerBasePath = operationServerMap['AdvBillingApi.finalizeInvoice']?.[localVarOperationServerIndex]?.url;
|
|
2136
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2137
|
+
},
|
|
2138
|
+
/**
|
|
2139
|
+
* This process will delete an invoice and remove attached records, update or delete adjustments based on selected options.
|
|
2140
|
+
* @summary Delete an Invoice with additional options
|
|
2141
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
2142
|
+
* @param {number} invoiceKey Invoice Key
|
|
2143
|
+
* @param {boolean} deleteAdditionalInvoices Delete Additional Invoices
|
|
2144
|
+
* @param {boolean} keepManualAdjustments Keep Manual Adjustments
|
|
2145
|
+
* @param {*} [options] Override http request option.
|
|
2146
|
+
* @throws {RequiredError}
|
|
2147
|
+
*/
|
|
2148
|
+
async fullDeleteInvoice(vbasoftwareDatabase: string, invoiceKey: number, deleteAdditionalInvoices: boolean, keepManualAdjustments: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2149
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fullDeleteInvoice(vbasoftwareDatabase, invoiceKey, deleteAdditionalInvoices, keepManualAdjustments, options);
|
|
2150
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2151
|
+
const localVarOperationServerBasePath = operationServerMap['AdvBillingApi.fullDeleteInvoice']?.[localVarOperationServerIndex]?.url;
|
|
2152
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2153
|
+
},
|
|
1920
2154
|
/**
|
|
1921
2155
|
* Generate the Premium Distributions for the selected Group and As of Date.
|
|
1922
2156
|
* @summary Create Premium Distributions
|
|
@@ -1991,6 +2225,20 @@ export const AdvBillingApiFp = function(configuration?: Configuration) {
|
|
|
1991
2225
|
const localVarOperationServerBasePath = operationServerMap['AdvBillingApi.generatePremInvoiceGroupDivision']?.[localVarOperationServerIndex]?.url;
|
|
1992
2226
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1993
2227
|
},
|
|
2228
|
+
/**
|
|
2229
|
+
* Creates a new Premium Billing Invoice for the selected GroupDivisionCaptive.
|
|
2230
|
+
* @summary Generate GroupDivisionCaptive Invoice
|
|
2231
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
2232
|
+
* @param {GeneratePremInvoice} generatePremInvoice
|
|
2233
|
+
* @param {*} [options] Override http request option.
|
|
2234
|
+
* @throws {RequiredError}
|
|
2235
|
+
*/
|
|
2236
|
+
async generatePremInvoiceGroupDivisionCaptive(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PremInvoiceVBAResponse>> {
|
|
2237
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.generatePremInvoiceGroupDivisionCaptive(vbasoftwareDatabase, generatePremInvoice, options);
|
|
2238
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2239
|
+
const localVarOperationServerBasePath = operationServerMap['AdvBillingApi.generatePremInvoiceGroupDivisionCaptive']?.[localVarOperationServerIndex]?.url;
|
|
2240
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2241
|
+
},
|
|
1994
2242
|
/**
|
|
1995
2243
|
* Creates a new Self-Admin Invoice for the selected Group/Division.
|
|
1996
2244
|
* @summary Generate Self-Admin Division Invoice
|
|
@@ -2268,6 +2516,20 @@ export const AdvBillingApiFp = function(configuration?: Configuration) {
|
|
|
2268
2516
|
const localVarOperationServerBasePath = operationServerMap['AdvBillingApi.processPaymentFile']?.[localVarOperationServerIndex]?.url;
|
|
2269
2517
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2270
2518
|
},
|
|
2519
|
+
/**
|
|
2520
|
+
* This will delete the invoice, remove attached adjustments, payments, etc. Then Regenerate the Invoice using the same Invoice Key.
|
|
2521
|
+
* @summary Regenerate Invoice
|
|
2522
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
2523
|
+
* @param {number} invoiceKey Invoice Key
|
|
2524
|
+
* @param {*} [options] Override http request option.
|
|
2525
|
+
* @throws {RequiredError}
|
|
2526
|
+
*/
|
|
2527
|
+
async regenerateInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2528
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.regenerateInvoice(vbasoftwareDatabase, invoiceKey, options);
|
|
2529
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2530
|
+
const localVarOperationServerBasePath = operationServerMap['AdvBillingApi.regenerateInvoice']?.[localVarOperationServerIndex]?.url;
|
|
2531
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2532
|
+
},
|
|
2271
2533
|
/**
|
|
2272
2534
|
* This will trigger Generate Invoice Process Automation.
|
|
2273
2535
|
* @summary Generate Invoice Process Automation
|
|
@@ -2398,6 +2660,30 @@ export const AdvBillingApiFactory = function (configuration?: Configuration, bas
|
|
|
2398
2660
|
billingRefund(vbasoftwareDatabase: string, billingRefund: BillingRefund, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2399
2661
|
return localVarFp.billingRefund(vbasoftwareDatabase, billingRefund, options).then((request) => request(axios, basePath));
|
|
2400
2662
|
},
|
|
2663
|
+
/**
|
|
2664
|
+
* This will finalize the selected Invoice.
|
|
2665
|
+
* @summary Finalize Invoice
|
|
2666
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
2667
|
+
* @param {number} invoiceKey Invoice Key
|
|
2668
|
+
* @param {*} [options] Override http request option.
|
|
2669
|
+
* @throws {RequiredError}
|
|
2670
|
+
*/
|
|
2671
|
+
finalizeInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2672
|
+
return localVarFp.finalizeInvoice(vbasoftwareDatabase, invoiceKey, options).then((request) => request(axios, basePath));
|
|
2673
|
+
},
|
|
2674
|
+
/**
|
|
2675
|
+
* This process will delete an invoice and remove attached records, update or delete adjustments based on selected options.
|
|
2676
|
+
* @summary Delete an Invoice with additional options
|
|
2677
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
2678
|
+
* @param {number} invoiceKey Invoice Key
|
|
2679
|
+
* @param {boolean} deleteAdditionalInvoices Delete Additional Invoices
|
|
2680
|
+
* @param {boolean} keepManualAdjustments Keep Manual Adjustments
|
|
2681
|
+
* @param {*} [options] Override http request option.
|
|
2682
|
+
* @throws {RequiredError}
|
|
2683
|
+
*/
|
|
2684
|
+
fullDeleteInvoice(vbasoftwareDatabase: string, invoiceKey: number, deleteAdditionalInvoices: boolean, keepManualAdjustments: boolean, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2685
|
+
return localVarFp.fullDeleteInvoice(vbasoftwareDatabase, invoiceKey, deleteAdditionalInvoices, keepManualAdjustments, options).then((request) => request(axios, basePath));
|
|
2686
|
+
},
|
|
2401
2687
|
/**
|
|
2402
2688
|
* Generate the Premium Distributions for the selected Group and As of Date.
|
|
2403
2689
|
* @summary Create Premium Distributions
|
|
@@ -2457,6 +2743,17 @@ export const AdvBillingApiFactory = function (configuration?: Configuration, bas
|
|
|
2457
2743
|
generatePremInvoiceGroupDivision(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2458
2744
|
return localVarFp.generatePremInvoiceGroupDivision(vbasoftwareDatabase, generatePremInvoice, options).then((request) => request(axios, basePath));
|
|
2459
2745
|
},
|
|
2746
|
+
/**
|
|
2747
|
+
* Creates a new Premium Billing Invoice for the selected GroupDivisionCaptive.
|
|
2748
|
+
* @summary Generate GroupDivisionCaptive Invoice
|
|
2749
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
2750
|
+
* @param {GeneratePremInvoice} generatePremInvoice
|
|
2751
|
+
* @param {*} [options] Override http request option.
|
|
2752
|
+
* @throws {RequiredError}
|
|
2753
|
+
*/
|
|
2754
|
+
generatePremInvoiceGroupDivisionCaptive(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: RawAxiosRequestConfig): AxiosPromise<PremInvoiceVBAResponse> {
|
|
2755
|
+
return localVarFp.generatePremInvoiceGroupDivisionCaptive(vbasoftwareDatabase, generatePremInvoice, options).then((request) => request(axios, basePath));
|
|
2756
|
+
},
|
|
2460
2757
|
/**
|
|
2461
2758
|
* Creates a new Self-Admin Invoice for the selected Group/Division.
|
|
2462
2759
|
* @summary Generate Self-Admin Division Invoice
|
|
@@ -2677,6 +2974,17 @@ export const AdvBillingApiFactory = function (configuration?: Configuration, bas
|
|
|
2677
2974
|
processPaymentFile(vbasoftwareDatabase: string, vBAProcessPaymentFile: VBAProcessPaymentFile, options?: RawAxiosRequestConfig): AxiosPromise<VBAProcessPaymentFileResponseVBAResponse> {
|
|
2678
2975
|
return localVarFp.processPaymentFile(vbasoftwareDatabase, vBAProcessPaymentFile, options).then((request) => request(axios, basePath));
|
|
2679
2976
|
},
|
|
2977
|
+
/**
|
|
2978
|
+
* This will delete the invoice, remove attached adjustments, payments, etc. Then Regenerate the Invoice using the same Invoice Key.
|
|
2979
|
+
* @summary Regenerate Invoice
|
|
2980
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
2981
|
+
* @param {number} invoiceKey Invoice Key
|
|
2982
|
+
* @param {*} [options] Override http request option.
|
|
2983
|
+
* @throws {RequiredError}
|
|
2984
|
+
*/
|
|
2985
|
+
regenerateInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2986
|
+
return localVarFp.regenerateInvoice(vbasoftwareDatabase, invoiceKey, options).then((request) => request(axios, basePath));
|
|
2987
|
+
},
|
|
2680
2988
|
/**
|
|
2681
2989
|
* This will trigger Generate Invoice Process Automation.
|
|
2682
2990
|
* @summary Generate Invoice Process Automation
|
|
@@ -2797,6 +3105,30 @@ export interface AdvBillingApiInterface {
|
|
|
2797
3105
|
*/
|
|
2798
3106
|
billingRefund(vbasoftwareDatabase: string, billingRefund: BillingRefund, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2799
3107
|
|
|
3108
|
+
/**
|
|
3109
|
+
* This will finalize the selected Invoice.
|
|
3110
|
+
* @summary Finalize Invoice
|
|
3111
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
3112
|
+
* @param {number} invoiceKey Invoice Key
|
|
3113
|
+
* @param {*} [options] Override http request option.
|
|
3114
|
+
* @throws {RequiredError}
|
|
3115
|
+
* @memberof AdvBillingApiInterface
|
|
3116
|
+
*/
|
|
3117
|
+
finalizeInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
3118
|
+
|
|
3119
|
+
/**
|
|
3120
|
+
* This process will delete an invoice and remove attached records, update or delete adjustments based on selected options.
|
|
3121
|
+
* @summary Delete an Invoice with additional options
|
|
3122
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
3123
|
+
* @param {number} invoiceKey Invoice Key
|
|
3124
|
+
* @param {boolean} deleteAdditionalInvoices Delete Additional Invoices
|
|
3125
|
+
* @param {boolean} keepManualAdjustments Keep Manual Adjustments
|
|
3126
|
+
* @param {*} [options] Override http request option.
|
|
3127
|
+
* @throws {RequiredError}
|
|
3128
|
+
* @memberof AdvBillingApiInterface
|
|
3129
|
+
*/
|
|
3130
|
+
fullDeleteInvoice(vbasoftwareDatabase: string, invoiceKey: number, deleteAdditionalInvoices: boolean, keepManualAdjustments: boolean, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
3131
|
+
|
|
2800
3132
|
/**
|
|
2801
3133
|
* Generate the Premium Distributions for the selected Group and As of Date.
|
|
2802
3134
|
* @summary Create Premium Distributions
|
|
@@ -2856,6 +3188,17 @@ export interface AdvBillingApiInterface {
|
|
|
2856
3188
|
*/
|
|
2857
3189
|
generatePremInvoiceGroupDivision(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2858
3190
|
|
|
3191
|
+
/**
|
|
3192
|
+
* Creates a new Premium Billing Invoice for the selected GroupDivisionCaptive.
|
|
3193
|
+
* @summary Generate GroupDivisionCaptive Invoice
|
|
3194
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
3195
|
+
* @param {GeneratePremInvoice} generatePremInvoice
|
|
3196
|
+
* @param {*} [options] Override http request option.
|
|
3197
|
+
* @throws {RequiredError}
|
|
3198
|
+
* @memberof AdvBillingApiInterface
|
|
3199
|
+
*/
|
|
3200
|
+
generatePremInvoiceGroupDivisionCaptive(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: RawAxiosRequestConfig): AxiosPromise<PremInvoiceVBAResponse>;
|
|
3201
|
+
|
|
2859
3202
|
/**
|
|
2860
3203
|
* Creates a new Self-Admin Invoice for the selected Group/Division.
|
|
2861
3204
|
* @summary Generate Self-Admin Division Invoice
|
|
@@ -3076,6 +3419,17 @@ export interface AdvBillingApiInterface {
|
|
|
3076
3419
|
*/
|
|
3077
3420
|
processPaymentFile(vbasoftwareDatabase: string, vBAProcessPaymentFile: VBAProcessPaymentFile, options?: RawAxiosRequestConfig): AxiosPromise<VBAProcessPaymentFileResponseVBAResponse>;
|
|
3078
3421
|
|
|
3422
|
+
/**
|
|
3423
|
+
* This will delete the invoice, remove attached adjustments, payments, etc. Then Regenerate the Invoice using the same Invoice Key.
|
|
3424
|
+
* @summary Regenerate Invoice
|
|
3425
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
3426
|
+
* @param {number} invoiceKey Invoice Key
|
|
3427
|
+
* @param {*} [options] Override http request option.
|
|
3428
|
+
* @throws {RequiredError}
|
|
3429
|
+
* @memberof AdvBillingApiInterface
|
|
3430
|
+
*/
|
|
3431
|
+
regenerateInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
3432
|
+
|
|
3079
3433
|
/**
|
|
3080
3434
|
* This will trigger Generate Invoice Process Automation.
|
|
3081
3435
|
* @summary Generate Invoice Process Automation
|
|
@@ -3210,6 +3564,34 @@ export class AdvBillingApi extends BaseAPI implements AdvBillingApiInterface {
|
|
|
3210
3564
|
return AdvBillingApiFp(this.configuration).billingRefund(vbasoftwareDatabase, billingRefund, options).then((request) => request(this.axios, this.basePath));
|
|
3211
3565
|
}
|
|
3212
3566
|
|
|
3567
|
+
/**
|
|
3568
|
+
* This will finalize the selected Invoice.
|
|
3569
|
+
* @summary Finalize Invoice
|
|
3570
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
3571
|
+
* @param {number} invoiceKey Invoice Key
|
|
3572
|
+
* @param {*} [options] Override http request option.
|
|
3573
|
+
* @throws {RequiredError}
|
|
3574
|
+
* @memberof AdvBillingApi
|
|
3575
|
+
*/
|
|
3576
|
+
public finalizeInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: RawAxiosRequestConfig) {
|
|
3577
|
+
return AdvBillingApiFp(this.configuration).finalizeInvoice(vbasoftwareDatabase, invoiceKey, options).then((request) => request(this.axios, this.basePath));
|
|
3578
|
+
}
|
|
3579
|
+
|
|
3580
|
+
/**
|
|
3581
|
+
* This process will delete an invoice and remove attached records, update or delete adjustments based on selected options.
|
|
3582
|
+
* @summary Delete an Invoice with additional options
|
|
3583
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
3584
|
+
* @param {number} invoiceKey Invoice Key
|
|
3585
|
+
* @param {boolean} deleteAdditionalInvoices Delete Additional Invoices
|
|
3586
|
+
* @param {boolean} keepManualAdjustments Keep Manual Adjustments
|
|
3587
|
+
* @param {*} [options] Override http request option.
|
|
3588
|
+
* @throws {RequiredError}
|
|
3589
|
+
* @memberof AdvBillingApi
|
|
3590
|
+
*/
|
|
3591
|
+
public fullDeleteInvoice(vbasoftwareDatabase: string, invoiceKey: number, deleteAdditionalInvoices: boolean, keepManualAdjustments: boolean, options?: RawAxiosRequestConfig) {
|
|
3592
|
+
return AdvBillingApiFp(this.configuration).fullDeleteInvoice(vbasoftwareDatabase, invoiceKey, deleteAdditionalInvoices, keepManualAdjustments, options).then((request) => request(this.axios, this.basePath));
|
|
3593
|
+
}
|
|
3594
|
+
|
|
3213
3595
|
/**
|
|
3214
3596
|
* Generate the Premium Distributions for the selected Group and As of Date.
|
|
3215
3597
|
* @summary Create Premium Distributions
|
|
@@ -3279,6 +3661,19 @@ export class AdvBillingApi extends BaseAPI implements AdvBillingApiInterface {
|
|
|
3279
3661
|
return AdvBillingApiFp(this.configuration).generatePremInvoiceGroupDivision(vbasoftwareDatabase, generatePremInvoice, options).then((request) => request(this.axios, this.basePath));
|
|
3280
3662
|
}
|
|
3281
3663
|
|
|
3664
|
+
/**
|
|
3665
|
+
* Creates a new Premium Billing Invoice for the selected GroupDivisionCaptive.
|
|
3666
|
+
* @summary Generate GroupDivisionCaptive Invoice
|
|
3667
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
3668
|
+
* @param {GeneratePremInvoice} generatePremInvoice
|
|
3669
|
+
* @param {*} [options] Override http request option.
|
|
3670
|
+
* @throws {RequiredError}
|
|
3671
|
+
* @memberof AdvBillingApi
|
|
3672
|
+
*/
|
|
3673
|
+
public generatePremInvoiceGroupDivisionCaptive(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: RawAxiosRequestConfig) {
|
|
3674
|
+
return AdvBillingApiFp(this.configuration).generatePremInvoiceGroupDivisionCaptive(vbasoftwareDatabase, generatePremInvoice, options).then((request) => request(this.axios, this.basePath));
|
|
3675
|
+
}
|
|
3676
|
+
|
|
3282
3677
|
/**
|
|
3283
3678
|
* Creates a new Self-Admin Invoice for the selected Group/Division.
|
|
3284
3679
|
* @summary Generate Self-Admin Division Invoice
|
|
@@ -3537,6 +3932,19 @@ export class AdvBillingApi extends BaseAPI implements AdvBillingApiInterface {
|
|
|
3537
3932
|
return AdvBillingApiFp(this.configuration).processPaymentFile(vbasoftwareDatabase, vBAProcessPaymentFile, options).then((request) => request(this.axios, this.basePath));
|
|
3538
3933
|
}
|
|
3539
3934
|
|
|
3935
|
+
/**
|
|
3936
|
+
* This will delete the invoice, remove attached adjustments, payments, etc. Then Regenerate the Invoice using the same Invoice Key.
|
|
3937
|
+
* @summary Regenerate Invoice
|
|
3938
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
3939
|
+
* @param {number} invoiceKey Invoice Key
|
|
3940
|
+
* @param {*} [options] Override http request option.
|
|
3941
|
+
* @throws {RequiredError}
|
|
3942
|
+
* @memberof AdvBillingApi
|
|
3943
|
+
*/
|
|
3944
|
+
public regenerateInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: RawAxiosRequestConfig) {
|
|
3945
|
+
return AdvBillingApiFp(this.configuration).regenerateInvoice(vbasoftwareDatabase, invoiceKey, options).then((request) => request(this.axios, this.basePath));
|
|
3946
|
+
}
|
|
3947
|
+
|
|
3540
3948
|
/**
|
|
3541
3949
|
* This will trigger Generate Invoice Process Automation.
|
|
3542
3950
|
* @summary Generate Invoice Process Automation
|
package/api/adv-claim-api.ts
CHANGED
|
@@ -693,7 +693,7 @@ export const AdvClaimApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
693
693
|
baseOptions = configuration.baseOptions;
|
|
694
694
|
}
|
|
695
695
|
|
|
696
|
-
const localVarRequestOptions = { method: '
|
|
696
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
697
697
|
const localVarHeaderParameter = {} as any;
|
|
698
698
|
const localVarQueryParameter = {} as any;
|
|
699
699
|
|
|
@@ -131,6 +131,114 @@ export const PremiumInvoicesApiAxiosParamCreator = function (configuration?: Con
|
|
|
131
131
|
|
|
132
132
|
|
|
133
133
|
|
|
134
|
+
if (vbasoftwareDatabase != null) {
|
|
135
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
136
|
+
}
|
|
137
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
138
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
139
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
140
|
+
|
|
141
|
+
return {
|
|
142
|
+
url: toPathString(localVarUrlObj),
|
|
143
|
+
options: localVarRequestOptions,
|
|
144
|
+
};
|
|
145
|
+
},
|
|
146
|
+
/**
|
|
147
|
+
* This will finalize the selected Invoice.
|
|
148
|
+
* @summary Finalize Invoice
|
|
149
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
150
|
+
* @param {number} invoiceKey Invoice Key
|
|
151
|
+
* @param {*} [options] Override http request option.
|
|
152
|
+
* @throws {RequiredError}
|
|
153
|
+
*/
|
|
154
|
+
finalizeInvoice: async (vbasoftwareDatabase: string, invoiceKey: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
155
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
156
|
+
assertParamExists('finalizeInvoice', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
157
|
+
// verify required parameter 'invoiceKey' is not null or undefined
|
|
158
|
+
assertParamExists('finalizeInvoice', 'invoiceKey', invoiceKey)
|
|
159
|
+
const localVarPath = `/invoice-finalize/{invoiceKey}`
|
|
160
|
+
.replace(`{${"invoiceKey"}}`, encodeURIComponent(String(invoiceKey)));
|
|
161
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
162
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
163
|
+
let baseOptions;
|
|
164
|
+
if (configuration) {
|
|
165
|
+
baseOptions = configuration.baseOptions;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
169
|
+
const localVarHeaderParameter = {} as any;
|
|
170
|
+
const localVarQueryParameter = {} as any;
|
|
171
|
+
|
|
172
|
+
// authentication apiKeyAuth required
|
|
173
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
174
|
+
|
|
175
|
+
// authentication bearerAuth required
|
|
176
|
+
// http bearer authentication required
|
|
177
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
if (vbasoftwareDatabase != null) {
|
|
182
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
183
|
+
}
|
|
184
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
185
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
186
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
187
|
+
|
|
188
|
+
return {
|
|
189
|
+
url: toPathString(localVarUrlObj),
|
|
190
|
+
options: localVarRequestOptions,
|
|
191
|
+
};
|
|
192
|
+
},
|
|
193
|
+
/**
|
|
194
|
+
* This process will delete an invoice and remove attached records, update or delete adjustments based on selected options.
|
|
195
|
+
* @summary Delete an Invoice with additional options
|
|
196
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
197
|
+
* @param {number} invoiceKey Invoice Key
|
|
198
|
+
* @param {boolean} deleteAdditionalInvoices Delete Additional Invoices
|
|
199
|
+
* @param {boolean} keepManualAdjustments Keep Manual Adjustments
|
|
200
|
+
* @param {*} [options] Override http request option.
|
|
201
|
+
* @throws {RequiredError}
|
|
202
|
+
*/
|
|
203
|
+
fullDeleteInvoice: async (vbasoftwareDatabase: string, invoiceKey: number, deleteAdditionalInvoices: boolean, keepManualAdjustments: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
204
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
205
|
+
assertParamExists('fullDeleteInvoice', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
206
|
+
// verify required parameter 'invoiceKey' is not null or undefined
|
|
207
|
+
assertParamExists('fullDeleteInvoice', 'invoiceKey', invoiceKey)
|
|
208
|
+
// verify required parameter 'deleteAdditionalInvoices' is not null or undefined
|
|
209
|
+
assertParamExists('fullDeleteInvoice', 'deleteAdditionalInvoices', deleteAdditionalInvoices)
|
|
210
|
+
// verify required parameter 'keepManualAdjustments' is not null or undefined
|
|
211
|
+
assertParamExists('fullDeleteInvoice', 'keepManualAdjustments', keepManualAdjustments)
|
|
212
|
+
const localVarPath = `/invoice-full-delete/{invoiceKey}`
|
|
213
|
+
.replace(`{${"invoiceKey"}}`, encodeURIComponent(String(invoiceKey)));
|
|
214
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
215
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
216
|
+
let baseOptions;
|
|
217
|
+
if (configuration) {
|
|
218
|
+
baseOptions = configuration.baseOptions;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
222
|
+
const localVarHeaderParameter = {} as any;
|
|
223
|
+
const localVarQueryParameter = {} as any;
|
|
224
|
+
|
|
225
|
+
// authentication apiKeyAuth required
|
|
226
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
227
|
+
|
|
228
|
+
// authentication bearerAuth required
|
|
229
|
+
// http bearer authentication required
|
|
230
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
231
|
+
|
|
232
|
+
if (deleteAdditionalInvoices !== undefined) {
|
|
233
|
+
localVarQueryParameter['deleteAdditionalInvoices'] = deleteAdditionalInvoices;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
if (keepManualAdjustments !== undefined) {
|
|
237
|
+
localVarQueryParameter['keepManualAdjustments'] = keepManualAdjustments;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
|
|
134
242
|
if (vbasoftwareDatabase != null) {
|
|
135
243
|
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
136
244
|
}
|
|
@@ -275,6 +383,55 @@ export const PremiumInvoicesApiAxiosParamCreator = function (configuration?: Con
|
|
|
275
383
|
|
|
276
384
|
|
|
277
385
|
|
|
386
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
387
|
+
|
|
388
|
+
if (vbasoftwareDatabase != null) {
|
|
389
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
390
|
+
}
|
|
391
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
392
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
393
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
394
|
+
localVarRequestOptions.data = serializeDataIfNeeded(generatePremInvoice, localVarRequestOptions, configuration)
|
|
395
|
+
|
|
396
|
+
return {
|
|
397
|
+
url: toPathString(localVarUrlObj),
|
|
398
|
+
options: localVarRequestOptions,
|
|
399
|
+
};
|
|
400
|
+
},
|
|
401
|
+
/**
|
|
402
|
+
* Creates a new Premium Billing Invoice for the selected GroupDivisionCaptive.
|
|
403
|
+
* @summary Generate GroupDivisionCaptive Invoice
|
|
404
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
405
|
+
* @param {GeneratePremInvoice} generatePremInvoice
|
|
406
|
+
* @param {*} [options] Override http request option.
|
|
407
|
+
* @throws {RequiredError}
|
|
408
|
+
*/
|
|
409
|
+
generatePremInvoiceGroupDivisionCaptive: async (vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
410
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
411
|
+
assertParamExists('generatePremInvoiceGroupDivisionCaptive', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
412
|
+
// verify required parameter 'generatePremInvoice' is not null or undefined
|
|
413
|
+
assertParamExists('generatePremInvoiceGroupDivisionCaptive', 'generatePremInvoice', generatePremInvoice)
|
|
414
|
+
const localVarPath = `/generate-group-division-captive-invoice`;
|
|
415
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
416
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
417
|
+
let baseOptions;
|
|
418
|
+
if (configuration) {
|
|
419
|
+
baseOptions = configuration.baseOptions;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
423
|
+
const localVarHeaderParameter = {} as any;
|
|
424
|
+
const localVarQueryParameter = {} as any;
|
|
425
|
+
|
|
426
|
+
// authentication apiKeyAuth required
|
|
427
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
428
|
+
|
|
429
|
+
// authentication bearerAuth required
|
|
430
|
+
// http bearer authentication required
|
|
431
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
|
|
278
435
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
279
436
|
|
|
280
437
|
if (vbasoftwareDatabase != null) {
|
|
@@ -1182,6 +1339,53 @@ export const PremiumInvoicesApiAxiosParamCreator = function (configuration?: Con
|
|
|
1182
1339
|
|
|
1183
1340
|
|
|
1184
1341
|
|
|
1342
|
+
if (vbasoftwareDatabase != null) {
|
|
1343
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
1344
|
+
}
|
|
1345
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1346
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1347
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1348
|
+
|
|
1349
|
+
return {
|
|
1350
|
+
url: toPathString(localVarUrlObj),
|
|
1351
|
+
options: localVarRequestOptions,
|
|
1352
|
+
};
|
|
1353
|
+
},
|
|
1354
|
+
/**
|
|
1355
|
+
* This will delete the invoice, remove attached adjustments, payments, etc. Then Regenerate the Invoice using the same Invoice Key.
|
|
1356
|
+
* @summary Regenerate Invoice
|
|
1357
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1358
|
+
* @param {number} invoiceKey Invoice Key
|
|
1359
|
+
* @param {*} [options] Override http request option.
|
|
1360
|
+
* @throws {RequiredError}
|
|
1361
|
+
*/
|
|
1362
|
+
regenerateInvoice: async (vbasoftwareDatabase: string, invoiceKey: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1363
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
1364
|
+
assertParamExists('regenerateInvoice', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
1365
|
+
// verify required parameter 'invoiceKey' is not null or undefined
|
|
1366
|
+
assertParamExists('regenerateInvoice', 'invoiceKey', invoiceKey)
|
|
1367
|
+
const localVarPath = `/invoice-regenerate/{invoiceKey}`
|
|
1368
|
+
.replace(`{${"invoiceKey"}}`, encodeURIComponent(String(invoiceKey)));
|
|
1369
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1370
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1371
|
+
let baseOptions;
|
|
1372
|
+
if (configuration) {
|
|
1373
|
+
baseOptions = configuration.baseOptions;
|
|
1374
|
+
}
|
|
1375
|
+
|
|
1376
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1377
|
+
const localVarHeaderParameter = {} as any;
|
|
1378
|
+
const localVarQueryParameter = {} as any;
|
|
1379
|
+
|
|
1380
|
+
// authentication apiKeyAuth required
|
|
1381
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
1382
|
+
|
|
1383
|
+
// authentication bearerAuth required
|
|
1384
|
+
// http bearer authentication required
|
|
1385
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1386
|
+
|
|
1387
|
+
|
|
1388
|
+
|
|
1185
1389
|
if (vbasoftwareDatabase != null) {
|
|
1186
1390
|
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
1187
1391
|
}
|
|
@@ -1381,6 +1585,36 @@ export const PremiumInvoicesApiFp = function(configuration?: Configuration) {
|
|
|
1381
1585
|
const localVarOperationServerBasePath = operationServerMap['PremiumInvoicesApi.deletePremInvoice']?.[localVarOperationServerIndex]?.url;
|
|
1382
1586
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1383
1587
|
},
|
|
1588
|
+
/**
|
|
1589
|
+
* This will finalize the selected Invoice.
|
|
1590
|
+
* @summary Finalize Invoice
|
|
1591
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1592
|
+
* @param {number} invoiceKey Invoice Key
|
|
1593
|
+
* @param {*} [options] Override http request option.
|
|
1594
|
+
* @throws {RequiredError}
|
|
1595
|
+
*/
|
|
1596
|
+
async finalizeInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1597
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.finalizeInvoice(vbasoftwareDatabase, invoiceKey, options);
|
|
1598
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1599
|
+
const localVarOperationServerBasePath = operationServerMap['PremiumInvoicesApi.finalizeInvoice']?.[localVarOperationServerIndex]?.url;
|
|
1600
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1601
|
+
},
|
|
1602
|
+
/**
|
|
1603
|
+
* This process will delete an invoice and remove attached records, update or delete adjustments based on selected options.
|
|
1604
|
+
* @summary Delete an Invoice with additional options
|
|
1605
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1606
|
+
* @param {number} invoiceKey Invoice Key
|
|
1607
|
+
* @param {boolean} deleteAdditionalInvoices Delete Additional Invoices
|
|
1608
|
+
* @param {boolean} keepManualAdjustments Keep Manual Adjustments
|
|
1609
|
+
* @param {*} [options] Override http request option.
|
|
1610
|
+
* @throws {RequiredError}
|
|
1611
|
+
*/
|
|
1612
|
+
async fullDeleteInvoice(vbasoftwareDatabase: string, invoiceKey: number, deleteAdditionalInvoices: boolean, keepManualAdjustments: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1613
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fullDeleteInvoice(vbasoftwareDatabase, invoiceKey, deleteAdditionalInvoices, keepManualAdjustments, options);
|
|
1614
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1615
|
+
const localVarOperationServerBasePath = operationServerMap['PremiumInvoicesApi.fullDeleteInvoice']?.[localVarOperationServerIndex]?.url;
|
|
1616
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1617
|
+
},
|
|
1384
1618
|
/**
|
|
1385
1619
|
* Creates a new Premium Billing Invoice for the selected Group/Division.
|
|
1386
1620
|
* @summary Generate Division Invoice
|
|
@@ -1423,6 +1657,20 @@ export const PremiumInvoicesApiFp = function(configuration?: Configuration) {
|
|
|
1423
1657
|
const localVarOperationServerBasePath = operationServerMap['PremiumInvoicesApi.generatePremInvoiceGroupDivision']?.[localVarOperationServerIndex]?.url;
|
|
1424
1658
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1425
1659
|
},
|
|
1660
|
+
/**
|
|
1661
|
+
* Creates a new Premium Billing Invoice for the selected GroupDivisionCaptive.
|
|
1662
|
+
* @summary Generate GroupDivisionCaptive Invoice
|
|
1663
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1664
|
+
* @param {GeneratePremInvoice} generatePremInvoice
|
|
1665
|
+
* @param {*} [options] Override http request option.
|
|
1666
|
+
* @throws {RequiredError}
|
|
1667
|
+
*/
|
|
1668
|
+
async generatePremInvoiceGroupDivisionCaptive(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PremInvoiceVBAResponse>> {
|
|
1669
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.generatePremInvoiceGroupDivisionCaptive(vbasoftwareDatabase, generatePremInvoice, options);
|
|
1670
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1671
|
+
const localVarOperationServerBasePath = operationServerMap['PremiumInvoicesApi.generatePremInvoiceGroupDivisionCaptive']?.[localVarOperationServerIndex]?.url;
|
|
1672
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1673
|
+
},
|
|
1426
1674
|
/**
|
|
1427
1675
|
* Creates a new Self-Admin Invoice for the selected Group/Division.
|
|
1428
1676
|
* @summary Generate Self-Admin Division Invoice
|
|
@@ -1682,6 +1930,20 @@ export const PremiumInvoicesApiFp = function(configuration?: Configuration) {
|
|
|
1682
1930
|
const localVarOperationServerBasePath = operationServerMap['PremiumInvoicesApi.premInvoiceAutoApplySelfAdmin']?.[localVarOperationServerIndex]?.url;
|
|
1683
1931
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1684
1932
|
},
|
|
1933
|
+
/**
|
|
1934
|
+
* This will delete the invoice, remove attached adjustments, payments, etc. Then Regenerate the Invoice using the same Invoice Key.
|
|
1935
|
+
* @summary Regenerate Invoice
|
|
1936
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1937
|
+
* @param {number} invoiceKey Invoice Key
|
|
1938
|
+
* @param {*} [options] Override http request option.
|
|
1939
|
+
* @throws {RequiredError}
|
|
1940
|
+
*/
|
|
1941
|
+
async regenerateInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1942
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.regenerateInvoice(vbasoftwareDatabase, invoiceKey, options);
|
|
1943
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1944
|
+
const localVarOperationServerBasePath = operationServerMap['PremiumInvoicesApi.regenerateInvoice']?.[localVarOperationServerIndex]?.url;
|
|
1945
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1946
|
+
},
|
|
1685
1947
|
/**
|
|
1686
1948
|
* Reset a Self-Admin Invoice removing received amounts, adjustments applied, etc.
|
|
1687
1949
|
* @summary Reset Self-Admin Invoice
|
|
@@ -1757,6 +2019,30 @@ export const PremiumInvoicesApiFactory = function (configuration?: Configuration
|
|
|
1757
2019
|
deletePremInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1758
2020
|
return localVarFp.deletePremInvoice(vbasoftwareDatabase, invoiceKey, options).then((request) => request(axios, basePath));
|
|
1759
2021
|
},
|
|
2022
|
+
/**
|
|
2023
|
+
* This will finalize the selected Invoice.
|
|
2024
|
+
* @summary Finalize Invoice
|
|
2025
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
2026
|
+
* @param {number} invoiceKey Invoice Key
|
|
2027
|
+
* @param {*} [options] Override http request option.
|
|
2028
|
+
* @throws {RequiredError}
|
|
2029
|
+
*/
|
|
2030
|
+
finalizeInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2031
|
+
return localVarFp.finalizeInvoice(vbasoftwareDatabase, invoiceKey, options).then((request) => request(axios, basePath));
|
|
2032
|
+
},
|
|
2033
|
+
/**
|
|
2034
|
+
* This process will delete an invoice and remove attached records, update or delete adjustments based on selected options.
|
|
2035
|
+
* @summary Delete an Invoice with additional options
|
|
2036
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
2037
|
+
* @param {number} invoiceKey Invoice Key
|
|
2038
|
+
* @param {boolean} deleteAdditionalInvoices Delete Additional Invoices
|
|
2039
|
+
* @param {boolean} keepManualAdjustments Keep Manual Adjustments
|
|
2040
|
+
* @param {*} [options] Override http request option.
|
|
2041
|
+
* @throws {RequiredError}
|
|
2042
|
+
*/
|
|
2043
|
+
fullDeleteInvoice(vbasoftwareDatabase: string, invoiceKey: number, deleteAdditionalInvoices: boolean, keepManualAdjustments: boolean, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2044
|
+
return localVarFp.fullDeleteInvoice(vbasoftwareDatabase, invoiceKey, deleteAdditionalInvoices, keepManualAdjustments, options).then((request) => request(axios, basePath));
|
|
2045
|
+
},
|
|
1760
2046
|
/**
|
|
1761
2047
|
* Creates a new Premium Billing Invoice for the selected Group/Division.
|
|
1762
2048
|
* @summary Generate Division Invoice
|
|
@@ -1790,6 +2076,17 @@ export const PremiumInvoicesApiFactory = function (configuration?: Configuration
|
|
|
1790
2076
|
generatePremInvoiceGroupDivision(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1791
2077
|
return localVarFp.generatePremInvoiceGroupDivision(vbasoftwareDatabase, generatePremInvoice, options).then((request) => request(axios, basePath));
|
|
1792
2078
|
},
|
|
2079
|
+
/**
|
|
2080
|
+
* Creates a new Premium Billing Invoice for the selected GroupDivisionCaptive.
|
|
2081
|
+
* @summary Generate GroupDivisionCaptive Invoice
|
|
2082
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
2083
|
+
* @param {GeneratePremInvoice} generatePremInvoice
|
|
2084
|
+
* @param {*} [options] Override http request option.
|
|
2085
|
+
* @throws {RequiredError}
|
|
2086
|
+
*/
|
|
2087
|
+
generatePremInvoiceGroupDivisionCaptive(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: RawAxiosRequestConfig): AxiosPromise<PremInvoiceVBAResponse> {
|
|
2088
|
+
return localVarFp.generatePremInvoiceGroupDivisionCaptive(vbasoftwareDatabase, generatePremInvoice, options).then((request) => request(axios, basePath));
|
|
2089
|
+
},
|
|
1793
2090
|
/**
|
|
1794
2091
|
* Creates a new Self-Admin Invoice for the selected Group/Division.
|
|
1795
2092
|
* @summary Generate Self-Admin Division Invoice
|
|
@@ -1995,6 +2292,17 @@ export const PremiumInvoicesApiFactory = function (configuration?: Configuration
|
|
|
1995
2292
|
premInvoiceAutoApplySelfAdmin(vbasoftwareDatabase: string, invoiceKey: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1996
2293
|
return localVarFp.premInvoiceAutoApplySelfAdmin(vbasoftwareDatabase, invoiceKey, options).then((request) => request(axios, basePath));
|
|
1997
2294
|
},
|
|
2295
|
+
/**
|
|
2296
|
+
* This will delete the invoice, remove attached adjustments, payments, etc. Then Regenerate the Invoice using the same Invoice Key.
|
|
2297
|
+
* @summary Regenerate Invoice
|
|
2298
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
2299
|
+
* @param {number} invoiceKey Invoice Key
|
|
2300
|
+
* @param {*} [options] Override http request option.
|
|
2301
|
+
* @throws {RequiredError}
|
|
2302
|
+
*/
|
|
2303
|
+
regenerateInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2304
|
+
return localVarFp.regenerateInvoice(vbasoftwareDatabase, invoiceKey, options).then((request) => request(axios, basePath));
|
|
2305
|
+
},
|
|
1998
2306
|
/**
|
|
1999
2307
|
* Reset a Self-Admin Invoice removing received amounts, adjustments applied, etc.
|
|
2000
2308
|
* @summary Reset Self-Admin Invoice
|
|
@@ -2060,6 +2368,30 @@ export interface PremiumInvoicesApiInterface {
|
|
|
2060
2368
|
*/
|
|
2061
2369
|
deletePremInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2062
2370
|
|
|
2371
|
+
/**
|
|
2372
|
+
* This will finalize the selected Invoice.
|
|
2373
|
+
* @summary Finalize Invoice
|
|
2374
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
2375
|
+
* @param {number} invoiceKey Invoice Key
|
|
2376
|
+
* @param {*} [options] Override http request option.
|
|
2377
|
+
* @throws {RequiredError}
|
|
2378
|
+
* @memberof PremiumInvoicesApiInterface
|
|
2379
|
+
*/
|
|
2380
|
+
finalizeInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2381
|
+
|
|
2382
|
+
/**
|
|
2383
|
+
* This process will delete an invoice and remove attached records, update or delete adjustments based on selected options.
|
|
2384
|
+
* @summary Delete an Invoice with additional options
|
|
2385
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
2386
|
+
* @param {number} invoiceKey Invoice Key
|
|
2387
|
+
* @param {boolean} deleteAdditionalInvoices Delete Additional Invoices
|
|
2388
|
+
* @param {boolean} keepManualAdjustments Keep Manual Adjustments
|
|
2389
|
+
* @param {*} [options] Override http request option.
|
|
2390
|
+
* @throws {RequiredError}
|
|
2391
|
+
* @memberof PremiumInvoicesApiInterface
|
|
2392
|
+
*/
|
|
2393
|
+
fullDeleteInvoice(vbasoftwareDatabase: string, invoiceKey: number, deleteAdditionalInvoices: boolean, keepManualAdjustments: boolean, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2394
|
+
|
|
2063
2395
|
/**
|
|
2064
2396
|
* Creates a new Premium Billing Invoice for the selected Group/Division.
|
|
2065
2397
|
* @summary Generate Division Invoice
|
|
@@ -2093,6 +2425,17 @@ export interface PremiumInvoicesApiInterface {
|
|
|
2093
2425
|
*/
|
|
2094
2426
|
generatePremInvoiceGroupDivision(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2095
2427
|
|
|
2428
|
+
/**
|
|
2429
|
+
* Creates a new Premium Billing Invoice for the selected GroupDivisionCaptive.
|
|
2430
|
+
* @summary Generate GroupDivisionCaptive Invoice
|
|
2431
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
2432
|
+
* @param {GeneratePremInvoice} generatePremInvoice
|
|
2433
|
+
* @param {*} [options] Override http request option.
|
|
2434
|
+
* @throws {RequiredError}
|
|
2435
|
+
* @memberof PremiumInvoicesApiInterface
|
|
2436
|
+
*/
|
|
2437
|
+
generatePremInvoiceGroupDivisionCaptive(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: RawAxiosRequestConfig): AxiosPromise<PremInvoiceVBAResponse>;
|
|
2438
|
+
|
|
2096
2439
|
/**
|
|
2097
2440
|
* Creates a new Self-Admin Invoice for the selected Group/Division.
|
|
2098
2441
|
* @summary Generate Self-Admin Division Invoice
|
|
@@ -2298,6 +2641,17 @@ export interface PremiumInvoicesApiInterface {
|
|
|
2298
2641
|
*/
|
|
2299
2642
|
premInvoiceAutoApplySelfAdmin(vbasoftwareDatabase: string, invoiceKey: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2300
2643
|
|
|
2644
|
+
/**
|
|
2645
|
+
* This will delete the invoice, remove attached adjustments, payments, etc. Then Regenerate the Invoice using the same Invoice Key.
|
|
2646
|
+
* @summary Regenerate Invoice
|
|
2647
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
2648
|
+
* @param {number} invoiceKey Invoice Key
|
|
2649
|
+
* @param {*} [options] Override http request option.
|
|
2650
|
+
* @throws {RequiredError}
|
|
2651
|
+
* @memberof PremiumInvoicesApiInterface
|
|
2652
|
+
*/
|
|
2653
|
+
regenerateInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2654
|
+
|
|
2301
2655
|
/**
|
|
2302
2656
|
* Reset a Self-Admin Invoice removing received amounts, adjustments applied, etc.
|
|
2303
2657
|
* @summary Reset Self-Admin Invoice
|
|
@@ -2367,6 +2721,34 @@ export class PremiumInvoicesApi extends BaseAPI implements PremiumInvoicesApiInt
|
|
|
2367
2721
|
return PremiumInvoicesApiFp(this.configuration).deletePremInvoice(vbasoftwareDatabase, invoiceKey, options).then((request) => request(this.axios, this.basePath));
|
|
2368
2722
|
}
|
|
2369
2723
|
|
|
2724
|
+
/**
|
|
2725
|
+
* This will finalize the selected Invoice.
|
|
2726
|
+
* @summary Finalize Invoice
|
|
2727
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
2728
|
+
* @param {number} invoiceKey Invoice Key
|
|
2729
|
+
* @param {*} [options] Override http request option.
|
|
2730
|
+
* @throws {RequiredError}
|
|
2731
|
+
* @memberof PremiumInvoicesApi
|
|
2732
|
+
*/
|
|
2733
|
+
public finalizeInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: RawAxiosRequestConfig) {
|
|
2734
|
+
return PremiumInvoicesApiFp(this.configuration).finalizeInvoice(vbasoftwareDatabase, invoiceKey, options).then((request) => request(this.axios, this.basePath));
|
|
2735
|
+
}
|
|
2736
|
+
|
|
2737
|
+
/**
|
|
2738
|
+
* This process will delete an invoice and remove attached records, update or delete adjustments based on selected options.
|
|
2739
|
+
* @summary Delete an Invoice with additional options
|
|
2740
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
2741
|
+
* @param {number} invoiceKey Invoice Key
|
|
2742
|
+
* @param {boolean} deleteAdditionalInvoices Delete Additional Invoices
|
|
2743
|
+
* @param {boolean} keepManualAdjustments Keep Manual Adjustments
|
|
2744
|
+
* @param {*} [options] Override http request option.
|
|
2745
|
+
* @throws {RequiredError}
|
|
2746
|
+
* @memberof PremiumInvoicesApi
|
|
2747
|
+
*/
|
|
2748
|
+
public fullDeleteInvoice(vbasoftwareDatabase: string, invoiceKey: number, deleteAdditionalInvoices: boolean, keepManualAdjustments: boolean, options?: RawAxiosRequestConfig) {
|
|
2749
|
+
return PremiumInvoicesApiFp(this.configuration).fullDeleteInvoice(vbasoftwareDatabase, invoiceKey, deleteAdditionalInvoices, keepManualAdjustments, options).then((request) => request(this.axios, this.basePath));
|
|
2750
|
+
}
|
|
2751
|
+
|
|
2370
2752
|
/**
|
|
2371
2753
|
* Creates a new Premium Billing Invoice for the selected Group/Division.
|
|
2372
2754
|
* @summary Generate Division Invoice
|
|
@@ -2406,6 +2788,19 @@ export class PremiumInvoicesApi extends BaseAPI implements PremiumInvoicesApiInt
|
|
|
2406
2788
|
return PremiumInvoicesApiFp(this.configuration).generatePremInvoiceGroupDivision(vbasoftwareDatabase, generatePremInvoice, options).then((request) => request(this.axios, this.basePath));
|
|
2407
2789
|
}
|
|
2408
2790
|
|
|
2791
|
+
/**
|
|
2792
|
+
* Creates a new Premium Billing Invoice for the selected GroupDivisionCaptive.
|
|
2793
|
+
* @summary Generate GroupDivisionCaptive Invoice
|
|
2794
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
2795
|
+
* @param {GeneratePremInvoice} generatePremInvoice
|
|
2796
|
+
* @param {*} [options] Override http request option.
|
|
2797
|
+
* @throws {RequiredError}
|
|
2798
|
+
* @memberof PremiumInvoicesApi
|
|
2799
|
+
*/
|
|
2800
|
+
public generatePremInvoiceGroupDivisionCaptive(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: RawAxiosRequestConfig) {
|
|
2801
|
+
return PremiumInvoicesApiFp(this.configuration).generatePremInvoiceGroupDivisionCaptive(vbasoftwareDatabase, generatePremInvoice, options).then((request) => request(this.axios, this.basePath));
|
|
2802
|
+
}
|
|
2803
|
+
|
|
2409
2804
|
/**
|
|
2410
2805
|
* Creates a new Self-Admin Invoice for the selected Group/Division.
|
|
2411
2806
|
* @summary Generate Self-Admin Division Invoice
|
|
@@ -2647,6 +3042,19 @@ export class PremiumInvoicesApi extends BaseAPI implements PremiumInvoicesApiInt
|
|
|
2647
3042
|
return PremiumInvoicesApiFp(this.configuration).premInvoiceAutoApplySelfAdmin(vbasoftwareDatabase, invoiceKey, options).then((request) => request(this.axios, this.basePath));
|
|
2648
3043
|
}
|
|
2649
3044
|
|
|
3045
|
+
/**
|
|
3046
|
+
* This will delete the invoice, remove attached adjustments, payments, etc. Then Regenerate the Invoice using the same Invoice Key.
|
|
3047
|
+
* @summary Regenerate Invoice
|
|
3048
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
3049
|
+
* @param {number} invoiceKey Invoice Key
|
|
3050
|
+
* @param {*} [options] Override http request option.
|
|
3051
|
+
* @throws {RequiredError}
|
|
3052
|
+
* @memberof PremiumInvoicesApi
|
|
3053
|
+
*/
|
|
3054
|
+
public regenerateInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: RawAxiosRequestConfig) {
|
|
3055
|
+
return PremiumInvoicesApiFp(this.configuration).regenerateInvoice(vbasoftwareDatabase, invoiceKey, options).then((request) => request(this.axios, this.basePath));
|
|
3056
|
+
}
|
|
3057
|
+
|
|
2650
3058
|
/**
|
|
2651
3059
|
* Reset a Self-Admin Invoice removing received amounts, adjustments applied, etc.
|
|
2652
3060
|
* @summary Reset Self-Admin Invoice
|
package/configuration.ts
CHANGED
|
@@ -90,11 +90,10 @@ export class Configuration {
|
|
|
90
90
|
this.basePath = param.basePath;
|
|
91
91
|
this.serverIndex = param.serverIndex;
|
|
92
92
|
this.baseOptions = {
|
|
93
|
+
...param.baseOptions,
|
|
93
94
|
headers: {
|
|
94
95
|
...param.baseOptions?.headers,
|
|
95
|
-
'User-Agent': "OpenAPI-Generator/typescript-axios"
|
|
96
96
|
},
|
|
97
|
-
...param.baseOptions
|
|
98
97
|
};
|
|
99
98
|
this.formDataCtor = param.formDataCtor;
|
|
100
99
|
}
|