@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20230710.1 → 1.20230722.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 +4 -2
- package/api/benefits-api.ts +40 -13
- package/api/modifiers-api.ts +40 -13
- package/api/provider-api.ts +131 -15
- package/api/report-queue-detail-arguments-api.ts +77 -155
- package/api/report-queue-logs-api.ts +77 -155
- package/api/report-queue-schedules-api.ts +77 -107
- package/api/report-series-api.ts +107 -0
- package/api/report-series-process-templates-api.ts +77 -155
- package/api/{report-series-step-arguments-api.ts → report-series-step-args-api.ts} +103 -181
- package/api/report-series-steps-api.ts +77 -107
- package/api/{report-series-tracking-arguments-api.ts → report-series-tracking-args-api.ts} +103 -181
- package/api/report-static-lists-api.ts +242 -0
- package/api/report-tracking-api.ts +68 -155
- package/api.ts +3 -2
- package/models/idcode-type.ts +26 -2
- package/models/index.ts +1 -0
- package/models/modifier.ts +24 -0
- package/models/note-attachment.ts +26 -2
- package/models/provider-list-vbaresponse.ts +45 -0
- package/models/provider.ts +34 -10
- package/models/report-queue-detail-arg.ts +26 -2
- package/models/report-queue-log.ts +27 -3
- package/models/report-queue-schedule.ts +27 -3
- package/models/report-series-process-template.ts +27 -3
- package/models/report-series-step-arg.ts +26 -2
- package/models/report-series-step.ts +34 -10
- package/models/report-series-tracking-arg.ts +27 -3
- package/models/report-track.ts +26 -2
- package/models/sub-enrollment.ts +26 -2
- package/package.json +1 -1
|
@@ -0,0 +1,242 @@
|
|
|
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
|
+
* ReportStaticListsApi - axios parameter creator
|
|
27
|
+
* @export
|
|
28
|
+
*/
|
|
29
|
+
export const ReportStaticListsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
30
|
+
return {
|
|
31
|
+
/**
|
|
32
|
+
* List of all Automation Statuses with Key, Display and Description
|
|
33
|
+
* @summary List Automation Statuses
|
|
34
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
35
|
+
* @param {*} [options] Override http request option.
|
|
36
|
+
* @throws {RequiredError}
|
|
37
|
+
*/
|
|
38
|
+
listAutomationStatuses: async (vbasoftwareDatabase: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
40
|
+
assertParamExists('listAutomationStatuses', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
41
|
+
const localVarPath = `/automation-statuses`;
|
|
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
|
+
* List of all Automation Types with Key, Display and Description
|
|
77
|
+
* @summary List Automation Types
|
|
78
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
79
|
+
* @param {*} [options] Override http request option.
|
|
80
|
+
* @throws {RequiredError}
|
|
81
|
+
*/
|
|
82
|
+
listAutomationTypes: async (vbasoftwareDatabase: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
83
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
84
|
+
assertParamExists('listAutomationTypes', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
85
|
+
const localVarPath = `/automation-types`;
|
|
86
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
87
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
88
|
+
let baseOptions;
|
|
89
|
+
if (configuration) {
|
|
90
|
+
baseOptions = configuration.baseOptions;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
94
|
+
const localVarHeaderParameter = {} as any;
|
|
95
|
+
const localVarQueryParameter = {} as any;
|
|
96
|
+
|
|
97
|
+
// authentication apiKeyAuth required
|
|
98
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
99
|
+
|
|
100
|
+
// authentication bearerAuth required
|
|
101
|
+
// http bearer authentication required
|
|
102
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
103
|
+
|
|
104
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
105
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
111
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
112
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
113
|
+
|
|
114
|
+
return {
|
|
115
|
+
url: toPathString(localVarUrlObj),
|
|
116
|
+
options: localVarRequestOptions,
|
|
117
|
+
};
|
|
118
|
+
},
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* ReportStaticListsApi - functional programming interface
|
|
124
|
+
* @export
|
|
125
|
+
*/
|
|
126
|
+
export const ReportStaticListsApiFp = function(configuration?: Configuration) {
|
|
127
|
+
const localVarAxiosParamCreator = ReportStaticListsApiAxiosParamCreator(configuration)
|
|
128
|
+
return {
|
|
129
|
+
/**
|
|
130
|
+
* List of all Automation Statuses with Key, Display and Description
|
|
131
|
+
* @summary List Automation Statuses
|
|
132
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
133
|
+
* @param {*} [options] Override http request option.
|
|
134
|
+
* @throws {RequiredError}
|
|
135
|
+
*/
|
|
136
|
+
async listAutomationStatuses(vbasoftwareDatabase: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StringStaticOptionListVBAResponse>> {
|
|
137
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAutomationStatuses(vbasoftwareDatabase, options);
|
|
138
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
139
|
+
},
|
|
140
|
+
/**
|
|
141
|
+
* List of all Automation Types with Key, Display and Description
|
|
142
|
+
* @summary List Automation Types
|
|
143
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
144
|
+
* @param {*} [options] Override http request option.
|
|
145
|
+
* @throws {RequiredError}
|
|
146
|
+
*/
|
|
147
|
+
async listAutomationTypes(vbasoftwareDatabase: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StringStaticOptionListVBAResponse>> {
|
|
148
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAutomationTypes(vbasoftwareDatabase, options);
|
|
149
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
150
|
+
},
|
|
151
|
+
}
|
|
152
|
+
};
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* ReportStaticListsApi - factory interface
|
|
156
|
+
* @export
|
|
157
|
+
*/
|
|
158
|
+
export const ReportStaticListsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
159
|
+
const localVarFp = ReportStaticListsApiFp(configuration)
|
|
160
|
+
return {
|
|
161
|
+
/**
|
|
162
|
+
* List of all Automation Statuses with Key, Display and Description
|
|
163
|
+
* @summary List Automation Statuses
|
|
164
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
165
|
+
* @param {*} [options] Override http request option.
|
|
166
|
+
* @throws {RequiredError}
|
|
167
|
+
*/
|
|
168
|
+
listAutomationStatuses(vbasoftwareDatabase: string, options?: any): AxiosPromise<StringStaticOptionListVBAResponse> {
|
|
169
|
+
return localVarFp.listAutomationStatuses(vbasoftwareDatabase, options).then((request) => request(axios, basePath));
|
|
170
|
+
},
|
|
171
|
+
/**
|
|
172
|
+
* List of all Automation Types with Key, Display and Description
|
|
173
|
+
* @summary List Automation Types
|
|
174
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
175
|
+
* @param {*} [options] Override http request option.
|
|
176
|
+
* @throws {RequiredError}
|
|
177
|
+
*/
|
|
178
|
+
listAutomationTypes(vbasoftwareDatabase: string, options?: any): AxiosPromise<StringStaticOptionListVBAResponse> {
|
|
179
|
+
return localVarFp.listAutomationTypes(vbasoftwareDatabase, options).then((request) => request(axios, basePath));
|
|
180
|
+
},
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* ReportStaticListsApi - interface
|
|
186
|
+
* @export
|
|
187
|
+
* @interface ReportStaticListsApi
|
|
188
|
+
*/
|
|
189
|
+
export interface ReportStaticListsApiInterface {
|
|
190
|
+
/**
|
|
191
|
+
* List of all Automation Statuses with Key, Display and Description
|
|
192
|
+
* @summary List Automation Statuses
|
|
193
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
194
|
+
* @param {*} [options] Override http request option.
|
|
195
|
+
* @throws {RequiredError}
|
|
196
|
+
* @memberof ReportStaticListsApiInterface
|
|
197
|
+
*/
|
|
198
|
+
listAutomationStatuses(vbasoftwareDatabase: string, options?: AxiosRequestConfig): AxiosPromise<StringStaticOptionListVBAResponse>;
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* List of all Automation Types with Key, Display and Description
|
|
202
|
+
* @summary List Automation Types
|
|
203
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
204
|
+
* @param {*} [options] Override http request option.
|
|
205
|
+
* @throws {RequiredError}
|
|
206
|
+
* @memberof ReportStaticListsApiInterface
|
|
207
|
+
*/
|
|
208
|
+
listAutomationTypes(vbasoftwareDatabase: string, options?: AxiosRequestConfig): AxiosPromise<StringStaticOptionListVBAResponse>;
|
|
209
|
+
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* ReportStaticListsApi - object-oriented interface
|
|
214
|
+
* @export
|
|
215
|
+
* @class ReportStaticListsApi
|
|
216
|
+
* @extends {BaseAPI}
|
|
217
|
+
*/
|
|
218
|
+
export class ReportStaticListsApi extends BaseAPI implements ReportStaticListsApiInterface {
|
|
219
|
+
/**
|
|
220
|
+
* List of all Automation Statuses with Key, Display and Description
|
|
221
|
+
* @summary List Automation Statuses
|
|
222
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
223
|
+
* @param {*} [options] Override http request option.
|
|
224
|
+
* @throws {RequiredError}
|
|
225
|
+
* @memberof ReportStaticListsApi
|
|
226
|
+
*/
|
|
227
|
+
public listAutomationStatuses(vbasoftwareDatabase: string, options?: AxiosRequestConfig) {
|
|
228
|
+
return ReportStaticListsApiFp(this.configuration).listAutomationStatuses(vbasoftwareDatabase, options).then((request) => request(this.axios, this.basePath));
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* List of all Automation Types with Key, Display and Description
|
|
233
|
+
* @summary List Automation Types
|
|
234
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
235
|
+
* @param {*} [options] Override http request option.
|
|
236
|
+
* @throws {RequiredError}
|
|
237
|
+
* @memberof ReportStaticListsApi
|
|
238
|
+
*/
|
|
239
|
+
public listAutomationTypes(vbasoftwareDatabase: string, options?: AxiosRequestConfig) {
|
|
240
|
+
return ReportStaticListsApiFp(this.configuration).listAutomationTypes(vbasoftwareDatabase, options).then((request) => request(this.axios, this.basePath));
|
|
241
|
+
}
|
|
242
|
+
}
|