@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20230911.1 → 1.20230912.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 +2 -0
- package/api/feedback-api.ts +167 -0
- package/api.ts +1 -0
- package/models/feedback.ts +48 -0
- package/models/index.ts +1 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -332,6 +332,7 @@ api/fee-schedule-modifier-excludes-api.ts
|
|
|
332
332
|
api/fee-schedule-procedure-group-adjustments-api.ts
|
|
333
333
|
api/fee-schedule-provider-type-discounts-api.ts
|
|
334
334
|
api/fee-schedules-api.ts
|
|
335
|
+
api/feedback-api.ts
|
|
335
336
|
api/filter-types-api.ts
|
|
336
337
|
api/filters-api.ts
|
|
337
338
|
api/flex-claim-details-api.ts
|
|
@@ -1769,6 +1770,7 @@ models/fee-sched-provider-type-discount-vbaresponse.ts
|
|
|
1769
1770
|
models/fee-sched-provider-type-discount.ts
|
|
1770
1771
|
models/fee-sched-vbaresponse.ts
|
|
1771
1772
|
models/fee-sched.ts
|
|
1773
|
+
models/feedback.ts
|
|
1772
1774
|
models/field-map.ts
|
|
1773
1775
|
models/field.ts
|
|
1774
1776
|
models/filter-list-vbaresponse.ts
|
|
@@ -0,0 +1,167 @@
|
|
|
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 { Feedback } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { StringVBAResponse } from '../models';
|
|
27
|
+
/**
|
|
28
|
+
* FeedbackApi - axios parameter creator
|
|
29
|
+
* @export
|
|
30
|
+
*/
|
|
31
|
+
export const FeedbackApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32
|
+
return {
|
|
33
|
+
/**
|
|
34
|
+
* Submits Feedback for the VBA application.
|
|
35
|
+
* @summary Create Feedback
|
|
36
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
37
|
+
* @param {Feedback} feedback
|
|
38
|
+
* @param {*} [options] Override http request option.
|
|
39
|
+
* @throws {RequiredError}
|
|
40
|
+
*/
|
|
41
|
+
createFeedback: async (vbasoftwareDatabase: string, feedback: Feedback, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
42
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
43
|
+
assertParamExists('createFeedback', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
44
|
+
// verify required parameter 'feedback' is not null or undefined
|
|
45
|
+
assertParamExists('createFeedback', 'feedback', feedback)
|
|
46
|
+
const localVarPath = `/feedback`;
|
|
47
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
48
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
49
|
+
let baseOptions;
|
|
50
|
+
if (configuration) {
|
|
51
|
+
baseOptions = configuration.baseOptions;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
55
|
+
const localVarHeaderParameter = {} as any;
|
|
56
|
+
const localVarQueryParameter = {} as any;
|
|
57
|
+
|
|
58
|
+
// authentication apiKeyAuth required
|
|
59
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
60
|
+
|
|
61
|
+
// authentication bearerAuth required
|
|
62
|
+
// http bearer authentication required
|
|
63
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
64
|
+
|
|
65
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
66
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
72
|
+
|
|
73
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
74
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
75
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
76
|
+
localVarRequestOptions.data = serializeDataIfNeeded(feedback, localVarRequestOptions, configuration)
|
|
77
|
+
|
|
78
|
+
return {
|
|
79
|
+
url: toPathString(localVarUrlObj),
|
|
80
|
+
options: localVarRequestOptions,
|
|
81
|
+
};
|
|
82
|
+
},
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* FeedbackApi - functional programming interface
|
|
88
|
+
* @export
|
|
89
|
+
*/
|
|
90
|
+
export const FeedbackApiFp = function(configuration?: Configuration) {
|
|
91
|
+
const localVarAxiosParamCreator = FeedbackApiAxiosParamCreator(configuration)
|
|
92
|
+
return {
|
|
93
|
+
/**
|
|
94
|
+
* Submits Feedback for the VBA application.
|
|
95
|
+
* @summary Create Feedback
|
|
96
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
97
|
+
* @param {Feedback} feedback
|
|
98
|
+
* @param {*} [options] Override http request option.
|
|
99
|
+
* @throws {RequiredError}
|
|
100
|
+
*/
|
|
101
|
+
async createFeedback(vbasoftwareDatabase: string, feedback: Feedback, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StringVBAResponse>> {
|
|
102
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createFeedback(vbasoftwareDatabase, feedback, options);
|
|
103
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
104
|
+
},
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* FeedbackApi - factory interface
|
|
110
|
+
* @export
|
|
111
|
+
*/
|
|
112
|
+
export const FeedbackApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
113
|
+
const localVarFp = FeedbackApiFp(configuration)
|
|
114
|
+
return {
|
|
115
|
+
/**
|
|
116
|
+
* Submits Feedback for the VBA application.
|
|
117
|
+
* @summary Create Feedback
|
|
118
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
119
|
+
* @param {Feedback} feedback
|
|
120
|
+
* @param {*} [options] Override http request option.
|
|
121
|
+
* @throws {RequiredError}
|
|
122
|
+
*/
|
|
123
|
+
createFeedback(vbasoftwareDatabase: string, feedback: Feedback, options?: any): AxiosPromise<StringVBAResponse> {
|
|
124
|
+
return localVarFp.createFeedback(vbasoftwareDatabase, feedback, options).then((request) => request(axios, basePath));
|
|
125
|
+
},
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* FeedbackApi - interface
|
|
131
|
+
* @export
|
|
132
|
+
* @interface FeedbackApi
|
|
133
|
+
*/
|
|
134
|
+
export interface FeedbackApiInterface {
|
|
135
|
+
/**
|
|
136
|
+
* Submits Feedback for the VBA application.
|
|
137
|
+
* @summary Create Feedback
|
|
138
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
139
|
+
* @param {Feedback} feedback
|
|
140
|
+
* @param {*} [options] Override http request option.
|
|
141
|
+
* @throws {RequiredError}
|
|
142
|
+
* @memberof FeedbackApiInterface
|
|
143
|
+
*/
|
|
144
|
+
createFeedback(vbasoftwareDatabase: string, feedback: Feedback, options?: AxiosRequestConfig): AxiosPromise<StringVBAResponse>;
|
|
145
|
+
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* FeedbackApi - object-oriented interface
|
|
150
|
+
* @export
|
|
151
|
+
* @class FeedbackApi
|
|
152
|
+
* @extends {BaseAPI}
|
|
153
|
+
*/
|
|
154
|
+
export class FeedbackApi extends BaseAPI implements FeedbackApiInterface {
|
|
155
|
+
/**
|
|
156
|
+
* Submits Feedback for the VBA application.
|
|
157
|
+
* @summary Create Feedback
|
|
158
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
159
|
+
* @param {Feedback} feedback
|
|
160
|
+
* @param {*} [options] Override http request option.
|
|
161
|
+
* @throws {RequiredError}
|
|
162
|
+
* @memberof FeedbackApi
|
|
163
|
+
*/
|
|
164
|
+
public createFeedback(vbasoftwareDatabase: string, feedback: Feedback, options?: AxiosRequestConfig) {
|
|
165
|
+
return FeedbackApiFp(this.configuration).createFeedback(vbasoftwareDatabase, feedback, options).then((request) => request(this.axios, this.basePath));
|
|
166
|
+
}
|
|
167
|
+
}
|
package/api.ts
CHANGED
|
@@ -344,6 +344,7 @@ export * from './api/fee-schedule-modifier-excludes-api';
|
|
|
344
344
|
export * from './api/fee-schedule-procedure-group-adjustments-api';
|
|
345
345
|
export * from './api/fee-schedule-provider-type-discounts-api';
|
|
346
346
|
export * from './api/fee-schedules-api';
|
|
347
|
+
export * from './api/feedback-api';
|
|
347
348
|
export * from './api/filter-types-api';
|
|
348
349
|
export * from './api/filters-api';
|
|
349
350
|
export * from './api/flex-claim-details-api';
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* VBASoftware
|
|
5
|
+
* APIs for VBASoftware
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface Feedback
|
|
21
|
+
*/
|
|
22
|
+
export interface Feedback {
|
|
23
|
+
/**
|
|
24
|
+
* Represents the specific screen from which feedback is submitted. This attribute serves as a contextual identifier, aiding in the precise location of user feedback within the application.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof Feedback
|
|
27
|
+
*/
|
|
28
|
+
'screen': string;
|
|
29
|
+
/**
|
|
30
|
+
* Categorizes the type of the issue or feedback being reported. It provides valuable context regarding the specific problem or concern encountered.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof Feedback
|
|
33
|
+
*/
|
|
34
|
+
'issue_Type': string;
|
|
35
|
+
/**
|
|
36
|
+
* Provides a textual representation of the feedback or issue reported. It allows users to elaborate on their experiences, providing essential details, observations, or suggestions related to the reported concern.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof Feedback
|
|
39
|
+
*/
|
|
40
|
+
'description': string;
|
|
41
|
+
/**
|
|
42
|
+
* Refers to any relevant log files or records associated with the reported issue or feedback. These logs provide valuable technical data and context, aiding in the investigation and resolution of complex issues.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof Feedback
|
|
45
|
+
*/
|
|
46
|
+
'logs'?: string | null;
|
|
47
|
+
}
|
|
48
|
+
|
package/models/index.ts
CHANGED
|
@@ -959,6 +959,7 @@ export * from './fee-sched-provider-type-discount';
|
|
|
959
959
|
export * from './fee-sched-provider-type-discount-list-vbaresponse';
|
|
960
960
|
export * from './fee-sched-provider-type-discount-vbaresponse';
|
|
961
961
|
export * from './fee-sched-vbaresponse';
|
|
962
|
+
export * from './feedback';
|
|
962
963
|
export * from './field';
|
|
963
964
|
export * from './field-map';
|
|
964
965
|
export * from './filter';
|