@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20230826.1 → 1.20230830.2
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 +5 -0
- package/api/claim-pre-batch-details-api.ts +71 -254
- package/api/claim-pre-batches-api.ts +71 -158
- package/api/claim-queue-types-api.ts +155 -0
- package/api/reviewed-status-api.ts +677 -0
- package/api.ts +2 -0
- package/models/index.ts +3 -0
- package/models/reviewed-status-list-vbaresponse.ts +45 -0
- package/models/reviewed-status-vbaresponse.ts +45 -0
- package/models/reviewed-status.ts +60 -0
- package/package.json +1 -1
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* VBASoftware
|
|
5
|
+
* APIs for VBASoftware
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
17
|
+
import { Configuration } from '../configuration';
|
|
18
|
+
// Some imports not used depending on template conditions
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import { StringStaticOptionListVBAResponse } from '../models';
|
|
25
|
+
/**
|
|
26
|
+
* ClaimQueueTypesApi - axios parameter creator
|
|
27
|
+
* @export
|
|
28
|
+
*/
|
|
29
|
+
export const ClaimQueueTypesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
30
|
+
return {
|
|
31
|
+
/**
|
|
32
|
+
* List of key/value pairs for the available Claim Queue Types
|
|
33
|
+
* @summary List Invoice Types
|
|
34
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
35
|
+
* @param {*} [options] Override http request option.
|
|
36
|
+
* @throws {RequiredError}
|
|
37
|
+
*/
|
|
38
|
+
listClaimQueueTypes: async (vbasoftwareDatabase: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
40
|
+
assertParamExists('listClaimQueueTypes', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
41
|
+
const localVarPath = `/claim-queue-types`;
|
|
42
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
44
|
+
let baseOptions;
|
|
45
|
+
if (configuration) {
|
|
46
|
+
baseOptions = configuration.baseOptions;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
50
|
+
const localVarHeaderParameter = {} as any;
|
|
51
|
+
const localVarQueryParameter = {} as any;
|
|
52
|
+
|
|
53
|
+
// authentication apiKeyAuth required
|
|
54
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
55
|
+
|
|
56
|
+
// authentication bearerAuth required
|
|
57
|
+
// http bearer authentication required
|
|
58
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
59
|
+
|
|
60
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
61
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
67
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
68
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
69
|
+
|
|
70
|
+
return {
|
|
71
|
+
url: toPathString(localVarUrlObj),
|
|
72
|
+
options: localVarRequestOptions,
|
|
73
|
+
};
|
|
74
|
+
},
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* ClaimQueueTypesApi - functional programming interface
|
|
80
|
+
* @export
|
|
81
|
+
*/
|
|
82
|
+
export const ClaimQueueTypesApiFp = function(configuration?: Configuration) {
|
|
83
|
+
const localVarAxiosParamCreator = ClaimQueueTypesApiAxiosParamCreator(configuration)
|
|
84
|
+
return {
|
|
85
|
+
/**
|
|
86
|
+
* List of key/value pairs for the available Claim Queue Types
|
|
87
|
+
* @summary List Invoice Types
|
|
88
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
89
|
+
* @param {*} [options] Override http request option.
|
|
90
|
+
* @throws {RequiredError}
|
|
91
|
+
*/
|
|
92
|
+
async listClaimQueueTypes(vbasoftwareDatabase: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StringStaticOptionListVBAResponse>> {
|
|
93
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimQueueTypes(vbasoftwareDatabase, options);
|
|
94
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
95
|
+
},
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* ClaimQueueTypesApi - factory interface
|
|
101
|
+
* @export
|
|
102
|
+
*/
|
|
103
|
+
export const ClaimQueueTypesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
104
|
+
const localVarFp = ClaimQueueTypesApiFp(configuration)
|
|
105
|
+
return {
|
|
106
|
+
/**
|
|
107
|
+
* List of key/value pairs for the available Claim Queue Types
|
|
108
|
+
* @summary List Invoice Types
|
|
109
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
110
|
+
* @param {*} [options] Override http request option.
|
|
111
|
+
* @throws {RequiredError}
|
|
112
|
+
*/
|
|
113
|
+
listClaimQueueTypes(vbasoftwareDatabase: string, options?: any): AxiosPromise<StringStaticOptionListVBAResponse> {
|
|
114
|
+
return localVarFp.listClaimQueueTypes(vbasoftwareDatabase, options).then((request) => request(axios, basePath));
|
|
115
|
+
},
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* ClaimQueueTypesApi - interface
|
|
121
|
+
* @export
|
|
122
|
+
* @interface ClaimQueueTypesApi
|
|
123
|
+
*/
|
|
124
|
+
export interface ClaimQueueTypesApiInterface {
|
|
125
|
+
/**
|
|
126
|
+
* List of key/value pairs for the available Claim Queue Types
|
|
127
|
+
* @summary List Invoice Types
|
|
128
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
129
|
+
* @param {*} [options] Override http request option.
|
|
130
|
+
* @throws {RequiredError}
|
|
131
|
+
* @memberof ClaimQueueTypesApiInterface
|
|
132
|
+
*/
|
|
133
|
+
listClaimQueueTypes(vbasoftwareDatabase: string, options?: AxiosRequestConfig): AxiosPromise<StringStaticOptionListVBAResponse>;
|
|
134
|
+
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* ClaimQueueTypesApi - object-oriented interface
|
|
139
|
+
* @export
|
|
140
|
+
* @class ClaimQueueTypesApi
|
|
141
|
+
* @extends {BaseAPI}
|
|
142
|
+
*/
|
|
143
|
+
export class ClaimQueueTypesApi extends BaseAPI implements ClaimQueueTypesApiInterface {
|
|
144
|
+
/**
|
|
145
|
+
* List of key/value pairs for the available Claim Queue Types
|
|
146
|
+
* @summary List Invoice Types
|
|
147
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
148
|
+
* @param {*} [options] Override http request option.
|
|
149
|
+
* @throws {RequiredError}
|
|
150
|
+
* @memberof ClaimQueueTypesApi
|
|
151
|
+
*/
|
|
152
|
+
public listClaimQueueTypes(vbasoftwareDatabase: string, options?: AxiosRequestConfig) {
|
|
153
|
+
return ClaimQueueTypesApiFp(this.configuration).listClaimQueueTypes(vbasoftwareDatabase, options).then((request) => request(this.axios, this.basePath));
|
|
154
|
+
}
|
|
155
|
+
}
|