@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20250808.1 → 1.20250811.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/FILES
CHANGED
|
@@ -4321,6 +4321,7 @@ docs/VBACommissionRateSubscriber.md
|
|
|
4321
4321
|
docs/VBACommissionRateSubscriberListVBAResponse.md
|
|
4322
4322
|
docs/VBADisabilityAdvisor.md
|
|
4323
4323
|
docs/VBADisabilityAdvisorDeduction.md
|
|
4324
|
+
docs/VBADisabilityAdvisorVBAResponse.md
|
|
4324
4325
|
docs/VBADownloadReportRequest.md
|
|
4325
4326
|
docs/VBADownloadReportResponse.md
|
|
4326
4327
|
docs/VBAFullClaim.md
|
|
@@ -7048,6 +7049,7 @@ models/vbaclient.ts
|
|
|
7048
7049
|
models/vbacommission-rate-subscriber-list-vbaresponse.ts
|
|
7049
7050
|
models/vbacommission-rate-subscriber.ts
|
|
7050
7051
|
models/vbadisability-advisor-deduction.ts
|
|
7052
|
+
models/vbadisability-advisor-vbaresponse.ts
|
|
7051
7053
|
models/vbadisability-advisor.ts
|
|
7052
7054
|
models/vbadownload-report-request.ts
|
|
7053
7055
|
models/vbadownload-report-response.ts
|
package/api/adv-claim-api.ts
CHANGED
|
@@ -56,6 +56,8 @@ import type { VBAClaimNumberParm } from '../models';
|
|
|
56
56
|
// @ts-ignore
|
|
57
57
|
import type { VBADisabilityAdvisor } from '../models';
|
|
58
58
|
// @ts-ignore
|
|
59
|
+
import type { VBADisabilityAdvisorVBAResponse } from '../models';
|
|
60
|
+
// @ts-ignore
|
|
59
61
|
import type { VBAFullClaimBatchVBAResponse } from '../models';
|
|
60
62
|
// @ts-ignore
|
|
61
63
|
import type { VBAFullClaimVBAResponse } from '../models';
|
|
@@ -546,6 +548,55 @@ export const AdvClaimApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
546
548
|
|
|
547
549
|
|
|
548
550
|
|
|
551
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
552
|
+
|
|
553
|
+
if (vbasoftwareDatabase != null) {
|
|
554
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
555
|
+
}
|
|
556
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
557
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
558
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
559
|
+
localVarRequestOptions.data = serializeDataIfNeeded(vBADisabilityAdvisor, localVarRequestOptions, configuration)
|
|
560
|
+
|
|
561
|
+
return {
|
|
562
|
+
url: toPathString(localVarUrlObj),
|
|
563
|
+
options: localVarRequestOptions,
|
|
564
|
+
};
|
|
565
|
+
},
|
|
566
|
+
/**
|
|
567
|
+
* Based on information submitted in the Disability Advisor, calcualte the current Disability Date and Exhaust Date and return the advisor object.
|
|
568
|
+
* @summary Get Disability Date and Exhaust Date
|
|
569
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
570
|
+
* @param {VBADisabilityAdvisor} vBADisabilityAdvisor
|
|
571
|
+
* @param {*} [options] Override http request option.
|
|
572
|
+
* @throws {RequiredError}
|
|
573
|
+
*/
|
|
574
|
+
disabilityAdvisorGetDates: async (vbasoftwareDatabase: string, vBADisabilityAdvisor: VBADisabilityAdvisor, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
575
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
576
|
+
assertParamExists('disabilityAdvisorGetDates', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
577
|
+
// verify required parameter 'vBADisabilityAdvisor' is not null or undefined
|
|
578
|
+
assertParamExists('disabilityAdvisorGetDates', 'vBADisabilityAdvisor', vBADisabilityAdvisor)
|
|
579
|
+
const localVarPath = `/disability-advisor-get-dates`;
|
|
580
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
581
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
582
|
+
let baseOptions;
|
|
583
|
+
if (configuration) {
|
|
584
|
+
baseOptions = configuration.baseOptions;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
588
|
+
const localVarHeaderParameter = {} as any;
|
|
589
|
+
const localVarQueryParameter = {} as any;
|
|
590
|
+
|
|
591
|
+
// authentication apiKeyAuth required
|
|
592
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
593
|
+
|
|
594
|
+
// authentication bearerAuth required
|
|
595
|
+
// http bearer authentication required
|
|
596
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
597
|
+
|
|
598
|
+
|
|
599
|
+
|
|
549
600
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
550
601
|
|
|
551
602
|
if (vbasoftwareDatabase != null) {
|
|
@@ -1511,6 +1562,20 @@ export const AdvClaimApiFp = function(configuration?: Configuration) {
|
|
|
1511
1562
|
const localVarOperationServerBasePath = operationServerMap['AdvClaimApi.disabilityAdvisorCreateClaim']?.[localVarOperationServerIndex]?.url;
|
|
1512
1563
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1513
1564
|
},
|
|
1565
|
+
/**
|
|
1566
|
+
* Based on information submitted in the Disability Advisor, calcualte the current Disability Date and Exhaust Date and return the advisor object.
|
|
1567
|
+
* @summary Get Disability Date and Exhaust Date
|
|
1568
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1569
|
+
* @param {VBADisabilityAdvisor} vBADisabilityAdvisor
|
|
1570
|
+
* @param {*} [options] Override http request option.
|
|
1571
|
+
* @throws {RequiredError}
|
|
1572
|
+
*/
|
|
1573
|
+
async disabilityAdvisorGetDates(vbasoftwareDatabase: string, vBADisabilityAdvisor: VBADisabilityAdvisor, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VBADisabilityAdvisorVBAResponse>> {
|
|
1574
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.disabilityAdvisorGetDates(vbasoftwareDatabase, vBADisabilityAdvisor, options);
|
|
1575
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1576
|
+
const localVarOperationServerBasePath = operationServerMap['AdvClaimApi.disabilityAdvisorGetDates']?.[localVarOperationServerIndex]?.url;
|
|
1577
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1578
|
+
},
|
|
1514
1579
|
/**
|
|
1515
1580
|
* Send in a ClaimBatch record and have all other ClaimBatch records remaining in Batch syncd to the Disability values on that submitted header.
|
|
1516
1581
|
* @summary Sync ClaimBatch Disability
|
|
@@ -1856,6 +1921,17 @@ export const AdvClaimApiFactory = function (configuration?: Configuration, baseP
|
|
|
1856
1921
|
disabilityAdvisorCreateClaim(vbasoftwareDatabase: string, vBADisabilityAdvisor: VBADisabilityAdvisor, options?: RawAxiosRequestConfig): AxiosPromise<ClaimBatchClaimBatchDetailListVBAResponse> {
|
|
1857
1922
|
return localVarFp.disabilityAdvisorCreateClaim(vbasoftwareDatabase, vBADisabilityAdvisor, options).then((request) => request(axios, basePath));
|
|
1858
1923
|
},
|
|
1924
|
+
/**
|
|
1925
|
+
* Based on information submitted in the Disability Advisor, calcualte the current Disability Date and Exhaust Date and return the advisor object.
|
|
1926
|
+
* @summary Get Disability Date and Exhaust Date
|
|
1927
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1928
|
+
* @param {VBADisabilityAdvisor} vBADisabilityAdvisor
|
|
1929
|
+
* @param {*} [options] Override http request option.
|
|
1930
|
+
* @throws {RequiredError}
|
|
1931
|
+
*/
|
|
1932
|
+
disabilityAdvisorGetDates(vbasoftwareDatabase: string, vBADisabilityAdvisor: VBADisabilityAdvisor, options?: RawAxiosRequestConfig): AxiosPromise<VBADisabilityAdvisorVBAResponse> {
|
|
1933
|
+
return localVarFp.disabilityAdvisorGetDates(vbasoftwareDatabase, vBADisabilityAdvisor, options).then((request) => request(axios, basePath));
|
|
1934
|
+
},
|
|
1859
1935
|
/**
|
|
1860
1936
|
* Send in a ClaimBatch record and have all other ClaimBatch records remaining in Batch syncd to the Disability values on that submitted header.
|
|
1861
1937
|
* @summary Sync ClaimBatch Disability
|
|
@@ -2155,6 +2231,17 @@ export interface AdvClaimApiInterface {
|
|
|
2155
2231
|
*/
|
|
2156
2232
|
disabilityAdvisorCreateClaim(vbasoftwareDatabase: string, vBADisabilityAdvisor: VBADisabilityAdvisor, options?: RawAxiosRequestConfig): AxiosPromise<ClaimBatchClaimBatchDetailListVBAResponse>;
|
|
2157
2233
|
|
|
2234
|
+
/**
|
|
2235
|
+
* Based on information submitted in the Disability Advisor, calcualte the current Disability Date and Exhaust Date and return the advisor object.
|
|
2236
|
+
* @summary Get Disability Date and Exhaust Date
|
|
2237
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
2238
|
+
* @param {VBADisabilityAdvisor} vBADisabilityAdvisor
|
|
2239
|
+
* @param {*} [options] Override http request option.
|
|
2240
|
+
* @throws {RequiredError}
|
|
2241
|
+
* @memberof AdvClaimApiInterface
|
|
2242
|
+
*/
|
|
2243
|
+
disabilityAdvisorGetDates(vbasoftwareDatabase: string, vBADisabilityAdvisor: VBADisabilityAdvisor, options?: RawAxiosRequestConfig): AxiosPromise<VBADisabilityAdvisorVBAResponse>;
|
|
2244
|
+
|
|
2158
2245
|
/**
|
|
2159
2246
|
* Send in a ClaimBatch record and have all other ClaimBatch records remaining in Batch syncd to the Disability values on that submitted header.
|
|
2160
2247
|
* @summary Sync ClaimBatch Disability
|
|
@@ -2472,6 +2559,19 @@ export class AdvClaimApi extends BaseAPI implements AdvClaimApiInterface {
|
|
|
2472
2559
|
return AdvClaimApiFp(this.configuration).disabilityAdvisorCreateClaim(vbasoftwareDatabase, vBADisabilityAdvisor, options).then((request) => request(this.axios, this.basePath));
|
|
2473
2560
|
}
|
|
2474
2561
|
|
|
2562
|
+
/**
|
|
2563
|
+
* Based on information submitted in the Disability Advisor, calcualte the current Disability Date and Exhaust Date and return the advisor object.
|
|
2564
|
+
* @summary Get Disability Date and Exhaust Date
|
|
2565
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
2566
|
+
* @param {VBADisabilityAdvisor} vBADisabilityAdvisor
|
|
2567
|
+
* @param {*} [options] Override http request option.
|
|
2568
|
+
* @throws {RequiredError}
|
|
2569
|
+
* @memberof AdvClaimApi
|
|
2570
|
+
*/
|
|
2571
|
+
public disabilityAdvisorGetDates(vbasoftwareDatabase: string, vBADisabilityAdvisor: VBADisabilityAdvisor, options?: RawAxiosRequestConfig) {
|
|
2572
|
+
return AdvClaimApiFp(this.configuration).disabilityAdvisorGetDates(vbasoftwareDatabase, vBADisabilityAdvisor, options).then((request) => request(this.axios, this.basePath));
|
|
2573
|
+
}
|
|
2574
|
+
|
|
2475
2575
|
/**
|
|
2476
2576
|
* Send in a ClaimBatch record and have all other ClaimBatch records remaining in Batch syncd to the Disability values on that submitted header.
|
|
2477
2577
|
* @summary Sync ClaimBatch Disability
|
package/docs/AdvClaimApi.md
CHANGED
|
@@ -13,6 +13,7 @@ All URIs are relative to *https://vbapi.vbasoftware.com/vbasoftware*
|
|
|
13
13
|
|[**createLifeClaim**](#createlifeclaim) | **POST** /create-life-claim | Create a Life Claim|
|
|
14
14
|
|[**createLifeClaimPayment**](#createlifeclaimpayment) | **POST** /create-life-claim-payment | Create a Life Claim Payment|
|
|
15
15
|
|[**disabilityAdvisorCreateClaim**](#disabilityadvisorcreateclaim) | **POST** /disability-advisor-create-claim | Create Disability Payments|
|
|
16
|
+
|[**disabilityAdvisorGetDates**](#disabilityadvisorgetdates) | **POST** /disability-advisor-get-dates | Get Disability Date and Exhaust Date|
|
|
16
17
|
|[**disabilityClaimSync**](#disabilityclaimsync) | **POST** /disability-claim-sync-header | Sync ClaimBatch Disability|
|
|
17
18
|
|[**disabilityCopyConfig**](#disabilitycopyconfig) | **GET** /disability-copy-config/{batchNumber} | Get Copy Details for a Disability Claim Copy|
|
|
18
19
|
|[**fullDeleteClaimBatch**](#fulldeleteclaimbatch) | **DELETE** /claim-batches/{batchNumber}/claims/{batchClaim}/full-delete | Full Delete ClaimBatch|
|
|
@@ -544,6 +545,62 @@ const { status, data } = await apiInstance.disabilityAdvisorCreateClaim(
|
|
|
544
545
|
- **Accept**: text/plain, application/json, text/json
|
|
545
546
|
|
|
546
547
|
|
|
548
|
+
### HTTP response details
|
|
549
|
+
| Status code | Description | Response headers |
|
|
550
|
+
|-------------|-------------|------------------|
|
|
551
|
+
|**200** | Success | - |
|
|
552
|
+
|**401** | Unauthorized | - |
|
|
553
|
+
|
|
554
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
555
|
+
|
|
556
|
+
# **disabilityAdvisorGetDates**
|
|
557
|
+
> VBADisabilityAdvisorVBAResponse disabilityAdvisorGetDates(vBADisabilityAdvisor)
|
|
558
|
+
|
|
559
|
+
Based on information submitted in the Disability Advisor, calcualte the current Disability Date and Exhaust Date and return the advisor object.
|
|
560
|
+
|
|
561
|
+
### Example
|
|
562
|
+
|
|
563
|
+
```typescript
|
|
564
|
+
import {
|
|
565
|
+
AdvClaimApi,
|
|
566
|
+
Configuration,
|
|
567
|
+
VBADisabilityAdvisor
|
|
568
|
+
} from './api';
|
|
569
|
+
|
|
570
|
+
const configuration = new Configuration();
|
|
571
|
+
const apiInstance = new AdvClaimApi(configuration);
|
|
572
|
+
|
|
573
|
+
let vbasoftwareDatabase: string; //Target database (default to undefined)
|
|
574
|
+
let vBADisabilityAdvisor: VBADisabilityAdvisor; //
|
|
575
|
+
|
|
576
|
+
const { status, data } = await apiInstance.disabilityAdvisorGetDates(
|
|
577
|
+
vbasoftwareDatabase,
|
|
578
|
+
vBADisabilityAdvisor
|
|
579
|
+
);
|
|
580
|
+
```
|
|
581
|
+
|
|
582
|
+
### Parameters
|
|
583
|
+
|
|
584
|
+
|Name | Type | Description | Notes|
|
|
585
|
+
|------------- | ------------- | ------------- | -------------|
|
|
586
|
+
| **vBADisabilityAdvisor** | **VBADisabilityAdvisor**| | |
|
|
587
|
+
| **vbasoftwareDatabase** | [**string**] | Target database | defaults to undefined|
|
|
588
|
+
|
|
589
|
+
|
|
590
|
+
### Return type
|
|
591
|
+
|
|
592
|
+
**VBADisabilityAdvisorVBAResponse**
|
|
593
|
+
|
|
594
|
+
### Authorization
|
|
595
|
+
|
|
596
|
+
[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)
|
|
597
|
+
|
|
598
|
+
### HTTP request headers
|
|
599
|
+
|
|
600
|
+
- **Content-Type**: application/json, text/json, application/*+json
|
|
601
|
+
- **Accept**: text/plain, application/json, text/json
|
|
602
|
+
|
|
603
|
+
|
|
547
604
|
### HTTP response details
|
|
548
605
|
| Status code | Description | Response headers |
|
|
549
606
|
|-------------|-------------|------------------|
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# VBADisabilityAdvisorVBAResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**data** | [**VBADisabilityAdvisor**](VBADisabilityAdvisor.md) | | [optional] [default to undefined]
|
|
9
|
+
**error** | [**VBAProblemDetails**](VBAProblemDetails.md) | | [optional] [default to undefined]
|
|
10
|
+
**debug** | [**Debug**](Debug.md) | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { VBADisabilityAdvisorVBAResponse } from './api';
|
|
16
|
+
|
|
17
|
+
const instance: VBADisabilityAdvisorVBAResponse = {
|
|
18
|
+
data,
|
|
19
|
+
error,
|
|
20
|
+
debug,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/models/index.ts
CHANGED
|
@@ -2569,6 +2569,7 @@ export * from './vbacommission-rate-subscriber';
|
|
|
2569
2569
|
export * from './vbacommission-rate-subscriber-list-vbaresponse';
|
|
2570
2570
|
export * from './vbadisability-advisor';
|
|
2571
2571
|
export * from './vbadisability-advisor-deduction';
|
|
2572
|
+
export * from './vbadisability-advisor-vbaresponse';
|
|
2572
2573
|
export * from './vbadownload-report-request';
|
|
2573
2574
|
export * from './vbadownload-report-response';
|
|
2574
2575
|
export * from './vbafull-claim';
|
|
@@ -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 { VBADisabilityAdvisor } from './vbadisability-advisor';
|
|
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 VBADisabilityAdvisorVBAResponse
|
|
30
|
+
*/
|
|
31
|
+
export interface VBADisabilityAdvisorVBAResponse {
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {VBADisabilityAdvisor}
|
|
35
|
+
* @memberof VBADisabilityAdvisorVBAResponse
|
|
36
|
+
*/
|
|
37
|
+
'data'?: VBADisabilityAdvisor;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {VBAProblemDetails}
|
|
41
|
+
* @memberof VBADisabilityAdvisorVBAResponse
|
|
42
|
+
*/
|
|
43
|
+
'error'?: VBAProblemDetails;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {Debug}
|
|
47
|
+
* @memberof VBADisabilityAdvisorVBAResponse
|
|
48
|
+
*/
|
|
49
|
+
'debug'?: Debug;
|
|
50
|
+
}
|
|
51
|
+
|