@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20240120.1 → 1.20240531.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.
Files changed (213) hide show
  1. package/.openapi-generator/FILES +162 -0
  2. package/api/accounting-api.ts +165 -0
  3. package/api/adv-accounting-api.ts +99 -0
  4. package/api/adv-billing-api.ts +1973 -0
  5. package/api/adv-claim-api.ts +731 -0
  6. package/api/adv-enrollment-api.ts +377 -0
  7. package/api/adv-workflow-api.ts +456 -0
  8. package/api/benefits-api.ts +122 -0
  9. package/api/billing-api.ts +165 -0
  10. package/api/claim-batch-api.ts +121 -0
  11. package/api/claim-batch-details-api.ts +140 -0
  12. package/api/client-config-api.ts +869 -0
  13. package/api/commission-rate-cluster-agency-rep-api.ts +677 -0
  14. package/api/commission-rates-api.ts +8 -18
  15. package/api/disability-event-case-changes-api.ts +677 -0
  16. package/api/disability-event-deduction-changes-api.ts +677 -0
  17. package/api/disability-event-field-changes-api.ts +677 -0
  18. package/api/disability-event-fields-api.ts +677 -0
  19. package/api/disability-event-groups-api.ts +677 -0
  20. package/api/disaster-locations-api.ts +677 -0
  21. package/api/disasters-api.ts +677 -0
  22. package/api/fee-schedules-api.ts +163 -0
  23. package/api/group-achpulls-api.ts +725 -0
  24. package/api/group-bill-cycle-payment-methods-api.ts +677 -0
  25. package/api/group-network-criterias-api.ts +31 -13
  26. package/api/group-ucpercent-criterias-api.ts +677 -0
  27. package/api/member-address-history-api.ts +773 -0
  28. package/api/member-pre-ex-disclosed-diags-api.ts +773 -0
  29. package/api/payment-methods-api.ts +772 -0
  30. package/api/premium-distributions-api.ts +222 -0
  31. package/api/premium-invoice-subscribers-api.ts +291 -0
  32. package/api/premium-invoices-api.ts +1577 -219
  33. package/api/premium-rate-add-ons-api.ts +725 -0
  34. package/api/premium-rates-api.ts +119 -0
  35. package/api/process-automation-api.ts +365 -0
  36. package/api/security-field-set-details-api.ts +733 -0
  37. package/api/security-field-sets-api.ts +677 -0
  38. package/api/security-field-user-groups-api.ts +677 -0
  39. package/api/security-field-users-api.ts +677 -0
  40. package/api/security-fields-api.ts +677 -0
  41. package/api/subscriber-enrollments-api.ts +111 -0
  42. package/api/subscriber-sponsors-api.ts +677 -0
  43. package/api/subscriber-writing-agents-api.ts +725 -0
  44. package/api/subscribers-api.ts +315 -0
  45. package/api/support-api.ts +532 -0
  46. package/api/tolerances-api.ts +677 -0
  47. package/api/user-api.ts +520 -71
  48. package/api/user-field-security-api.ts +191 -0
  49. package/api/user-group-mappings-api.ts +101 -5
  50. package/api/vbareports-api.ts +155 -0
  51. package/api.ts +33 -0
  52. package/models/adjudicate-benefit-match-detail-list-vbaresponse.ts +45 -0
  53. package/models/adjudicate-benefit-match-detail.ts +198 -0
  54. package/models/auth.ts +29 -5
  55. package/models/billing-refund.ts +126 -0
  56. package/models/call-tracking-diag-codes.ts +1 -1
  57. package/models/callback-dto.ts +43 -0
  58. package/models/check-batch.ts +1 -1
  59. package/models/claim-adjustment-config.ts +121 -0
  60. package/models/claim-custom-ex-code-rule.ts +50 -20
  61. package/models/cobraplan-criteria.ts +36 -0
  62. package/models/commission-rate-cluster-agency-rep-list-vbaresponse.ts +45 -0
  63. package/models/commission-rate-cluster-agency-rep-vbaresponse.ts +45 -0
  64. package/models/commission-rate-cluster-agency-rep.ts +102 -0
  65. package/models/company-data.ts +112 -82
  66. package/models/copy-group-division.ts +4 -10
  67. package/models/criteria-detail.ts +1 -1
  68. package/models/database-connection.ts +36 -0
  69. package/models/disability-event-case-changed-list-vbaresponse.ts +45 -0
  70. package/models/disability-event-case-changed-vbaresponse.ts +45 -0
  71. package/models/disability-event-case-changed.ts +78 -0
  72. package/models/disability-event-deduction-changed-list-vbaresponse.ts +45 -0
  73. package/models/disability-event-deduction-changed-vbaresponse.ts +45 -0
  74. package/models/disability-event-deduction-changed.ts +72 -0
  75. package/models/disability-event-field-changed-list-vbaresponse.ts +45 -0
  76. package/models/disability-event-field-changed-vbaresponse.ts +45 -0
  77. package/models/disability-event-field-changed.ts +72 -0
  78. package/models/disability-event-field-list-vbaresponse.ts +45 -0
  79. package/models/disability-event-field-vbaresponse.ts +45 -0
  80. package/models/disability-event-field.ts +60 -0
  81. package/models/disability-event-group-list-vbaresponse.ts +45 -0
  82. package/models/disability-event-group-vbaresponse.ts +45 -0
  83. package/models/disability-event-group.ts +78 -0
  84. package/models/disaster-list-vbaresponse.ts +45 -0
  85. package/models/disaster-location-list-vbaresponse.ts +45 -0
  86. package/models/disaster-location-vbaresponse.ts +45 -0
  87. package/models/disaster-location.ts +78 -0
  88. package/models/disaster-vbaresponse.ts +45 -0
  89. package/models/disaster.ts +84 -0
  90. package/models/email-report-dto.ts +103 -0
  91. package/models/enrollment-reenroll.ts +13 -0
  92. package/models/enrollment-waiting-period-by-hire-date-list-vbaresponse.ts +45 -0
  93. package/models/enrollment-waiting-period-by-hire-date.ts +48 -0
  94. package/models/fax-report-dto.ts +85 -0
  95. package/models/fee-sched-detail.ts +1 -1
  96. package/models/fee-sched-modifier-discount.ts +1 -1
  97. package/models/fee-sched-procedure-group-adjust.ts +1 -1
  98. package/models/fee-sched-provider-type-discount.ts +1 -1
  99. package/models/funding-process-claim-refund.ts +66 -0
  100. package/models/funding-request.ts +1 -1
  101. package/models/generate-authenticator-qrcode-request.ts +30 -0
  102. package/models/generate-authenticator-qrcode-response-vbaresponse.ts +45 -0
  103. package/models/generate-authenticator-qrcode-response.ts +36 -0
  104. package/models/generate-prem-invoice.ts +90 -0
  105. package/models/get-prem-invoice-subscriber-list-result-list-vbaresponse.ts +45 -0
  106. package/models/get-prem-invoice-subscriber-list-result.ts +102 -0
  107. package/models/group-achpull-list-vbaresponse.ts +45 -0
  108. package/models/group-achpull-vbaresponse.ts +45 -0
  109. package/models/group-achpull.ts +60 -0
  110. package/models/group-bill-cycle-payment-method-list-vbaresponse.ts +45 -0
  111. package/models/group-bill-cycle-payment-method-vbaresponse.ts +45 -0
  112. package/models/group-bill-cycle-payment-method.ts +78 -0
  113. package/models/group-change-coverage-start.ts +6 -0
  114. package/models/group-ucpercent-criteria-list-vbaresponse.ts +45 -0
  115. package/models/group-ucpercent-criteria-vbaresponse.ts +45 -0
  116. package/models/group-ucpercent-criteria.ts +84 -0
  117. package/models/groups.ts +6 -0
  118. package/models/idcode-type.ts +6 -0
  119. package/models/index.ts +129 -0
  120. package/models/json-node-options.ts +30 -0
  121. package/models/json-node.ts +43 -0
  122. package/models/json-value.ts +44 -0
  123. package/models/life-claim-advisor.ts +256 -0
  124. package/models/mem-enrollment-plan.ts +3 -3
  125. package/models/mem-enrollment-rider.ts +4 -4
  126. package/models/member-address-history-list-vbaresponse.ts +45 -0
  127. package/models/member-address-history-vbaresponse.ts +45 -0
  128. package/models/member-address-history.ts +216 -0
  129. package/models/member-pre-ex-disclosed-diag-list-vbaresponse.ts +45 -0
  130. package/models/member-pre-ex-disclosed-diag-vbaresponse.ts +45 -0
  131. package/models/member-pre-ex-disclosed-diag.ts +90 -0
  132. package/models/network-procedure-cluster.ts +1 -1
  133. package/models/note-note-attachment.ts +38 -0
  134. package/models/payment-method-list-vbaresponse.ts +45 -0
  135. package/models/payment-method-vbaresponse.ts +45 -0
  136. package/models/payment-method.ts +72 -0
  137. package/models/plan-benefit-rate.ts +1 -1
  138. package/models/prem-invoice-apply-payment.ts +78 -0
  139. package/models/prem-invoice-generate-inv-list-list-vbaresponse.ts +45 -0
  140. package/models/prem-invoice-generate-inv-list-result-list-vbaresponse.ts +45 -0
  141. package/models/prem-invoice-generate-inv-list-result.ts +138 -0
  142. package/models/prem-invoice-generate-inv-list.ts +138 -0
  143. package/models/prem-invoice-generate-self-admin-inv-list-list-vbaresponse.ts +45 -0
  144. package/models/prem-invoice-generate-self-admin-inv-list.ts +144 -0
  145. package/models/prem-rate-add-on-list-vbaresponse.ts +45 -0
  146. package/models/prem-rate-add-on-vbaresponse.ts +45 -0
  147. package/models/prem-rate-add-on.ts +78 -0
  148. package/models/prem-rate.ts +24 -12
  149. package/models/register-mfadevice-request.ts +42 -0
  150. package/models/register-mfadevice-response-vbaresponse.ts +45 -0
  151. package/models/register-mfadevice-response.ts +30 -0
  152. package/models/report-series-step.ts +6 -0
  153. package/models/security-field-list-vbaresponse.ts +45 -0
  154. package/models/security-field-set-detail-list-vbaresponse.ts +45 -0
  155. package/models/security-field-set-detail-vbaresponse.ts +45 -0
  156. package/models/security-field-set-detail.ts +72 -0
  157. package/models/security-field-set-list-vbaresponse.ts +45 -0
  158. package/models/security-field-set-vbaresponse.ts +45 -0
  159. package/models/security-field-set.ts +66 -0
  160. package/models/security-field-user-group-list-vbaresponse.ts +45 -0
  161. package/models/security-field-user-group-vbaresponse.ts +45 -0
  162. package/models/security-field-user-group.ts +84 -0
  163. package/models/security-field-user-list-vbaresponse.ts +45 -0
  164. package/models/security-field-user-vbaresponse.ts +45 -0
  165. package/models/security-field-user.ts +84 -0
  166. package/models/security-field-vbaresponse.ts +45 -0
  167. package/models/security-field.ts +72 -0
  168. package/models/smsdto.ts +67 -0
  169. package/models/ssoconfig-list-vbaresponse.ts +45 -0
  170. package/models/ssoconfig-vbaresponse.ts +45 -0
  171. package/models/ssoconfig.ts +84 -0
  172. package/models/sub-enrollment-plan.ts +3 -3
  173. package/models/sub-enrollment-rider.ts +4 -4
  174. package/models/sub-enrollment.ts +2 -2
  175. package/models/sub-payment-method.ts +1 -1
  176. package/models/submit-mfacode-request.ts +42 -0
  177. package/models/subscriber-forfeiture-status.ts +1 -1
  178. package/models/subscriber-sponsor-list-vbaresponse.ts +45 -0
  179. package/models/subscriber-sponsor-vbaresponse.ts +45 -0
  180. package/models/subscriber-sponsor.ts +84 -0
  181. package/models/subscriber-writing-agent-list-vbaresponse.ts +45 -0
  182. package/models/subscriber-writing-agent-vbaresponse.ts +45 -0
  183. package/models/subscriber-writing-agent.ts +90 -0
  184. package/models/suspense-claim-list.ts +228 -0
  185. package/models/tolerance-list-vbaresponse.ts +45 -0
  186. package/models/tolerance-vbaresponse.ts +45 -0
  187. package/models/tolerance.ts +72 -0
  188. package/models/userfieldsecurity.ts +66 -0
  189. package/models/userfieldsecuritylist-vbaresponse.ts +45 -0
  190. package/models/users.ts +13 -1
  191. package/models/usual-customary-rate-all-percentile-list-vbaresponse.ts +45 -0
  192. package/models/usual-customary-rate-all-percentile.ts +120 -0
  193. package/models/vbaclient-environment-list-vbaresponse.ts +45 -0
  194. package/models/vbaclient-environment.ts +37 -0
  195. package/models/vbaclient-list-vbaresponse.ts +45 -0
  196. package/models/vbaclient-vbaresponse.ts +45 -0
  197. package/models/vbaclient.ts +55 -0
  198. package/models/vbainterface-idcode.ts +31 -1
  199. package/models/vbainterface-map-type.ts +31 -1
  200. package/models/vbainterface.ts +43 -1
  201. package/models/vbaprem-invoice-subscriber-detail-adjustment-list-vbaresponse.ts +45 -0
  202. package/models/vbaprem-invoice-subscriber-detail-adjustment.ts +180 -0
  203. package/models/vbaprem-invoice-subscriber-detail-list-vbaresponse.ts +45 -0
  204. package/models/vbaprem-invoice-subscriber-detail.ts +180 -0
  205. package/models/vbareport-list-vbaresponse.ts +45 -0
  206. package/models/vbareport.ts +60 -0
  207. package/models/vbassologin-config.ts +42 -0
  208. package/models/workflow-auth.ts +54 -0
  209. package/models/workflow-check.ts +54 -0
  210. package/models/workflow-claim.ts +60 -0
  211. package/models/workflow-enrollment.ts +60 -0
  212. package/models/workflow-processing.ts +70 -0
  213. package/package.json +3 -3
@@ -0,0 +1,191 @@
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 { USERFIELDSECURITYListVBAResponse } from '../models';
25
+ /**
26
+ * UserFieldSecurityApi - axios parameter creator
27
+ * @export
28
+ */
29
+ export const UserFieldSecurityApiAxiosParamCreator = function (configuration?: Configuration) {
30
+ return {
31
+ /**
32
+ * Lists all USERFIELDSECURITY
33
+ * @summary List USERFIELDSECURITY
34
+ * @param {string} vbasoftwareDatabase Target database
35
+ * @param {string} [userId] Filter by user id
36
+ * @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \'Property1:desc,Property2:asc,Property3:asc\' sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
37
+ * @param {number} [page] Page
38
+ * @param {number} [pageSize] Page Size
39
+ * @param {*} [options] Override http request option.
40
+ * @throws {RequiredError}
41
+ */
42
+ listUSERFIELDSECURITY: async (vbasoftwareDatabase: string, userId?: string, sortBy?: string, page?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
43
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
44
+ assertParamExists('listUSERFIELDSECURITY', 'vbasoftwareDatabase', vbasoftwareDatabase)
45
+ const localVarPath = `/user-field-security`;
46
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
47
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
48
+ let baseOptions;
49
+ if (configuration) {
50
+ baseOptions = configuration.baseOptions;
51
+ }
52
+
53
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
54
+ const localVarHeaderParameter = {} as any;
55
+ const localVarQueryParameter = {} as any;
56
+
57
+ // authentication apiKeyAuth required
58
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
59
+
60
+ // authentication bearerAuth required
61
+ // http bearer authentication required
62
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
63
+
64
+ if (userId !== undefined) {
65
+ localVarQueryParameter['userId'] = userId;
66
+ }
67
+
68
+ if (sortBy !== undefined) {
69
+ localVarQueryParameter['sortBy'] = sortBy;
70
+ }
71
+
72
+ if (page !== undefined) {
73
+ localVarQueryParameter['page'] = page;
74
+ }
75
+
76
+ if (pageSize !== undefined) {
77
+ localVarQueryParameter['pageSize'] = pageSize;
78
+ }
79
+
80
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
81
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
82
+ }
83
+
84
+
85
+
86
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
87
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
88
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
89
+
90
+ return {
91
+ url: toPathString(localVarUrlObj),
92
+ options: localVarRequestOptions,
93
+ };
94
+ },
95
+ }
96
+ };
97
+
98
+ /**
99
+ * UserFieldSecurityApi - functional programming interface
100
+ * @export
101
+ */
102
+ export const UserFieldSecurityApiFp = function(configuration?: Configuration) {
103
+ const localVarAxiosParamCreator = UserFieldSecurityApiAxiosParamCreator(configuration)
104
+ return {
105
+ /**
106
+ * Lists all USERFIELDSECURITY
107
+ * @summary List USERFIELDSECURITY
108
+ * @param {string} vbasoftwareDatabase Target database
109
+ * @param {string} [userId] Filter by user id
110
+ * @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \&#39;Property1:desc,Property2:asc,Property3:asc\&#39; sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
111
+ * @param {number} [page] Page
112
+ * @param {number} [pageSize] Page Size
113
+ * @param {*} [options] Override http request option.
114
+ * @throws {RequiredError}
115
+ */
116
+ async listUSERFIELDSECURITY(vbasoftwareDatabase: string, userId?: string, sortBy?: string, page?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<USERFIELDSECURITYListVBAResponse>> {
117
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listUSERFIELDSECURITY(vbasoftwareDatabase, userId, sortBy, page, pageSize, options);
118
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
119
+ },
120
+ }
121
+ };
122
+
123
+ /**
124
+ * UserFieldSecurityApi - factory interface
125
+ * @export
126
+ */
127
+ export const UserFieldSecurityApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
128
+ const localVarFp = UserFieldSecurityApiFp(configuration)
129
+ return {
130
+ /**
131
+ * Lists all USERFIELDSECURITY
132
+ * @summary List USERFIELDSECURITY
133
+ * @param {string} vbasoftwareDatabase Target database
134
+ * @param {string} [userId] Filter by user id
135
+ * @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \&#39;Property1:desc,Property2:asc,Property3:asc\&#39; sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
136
+ * @param {number} [page] Page
137
+ * @param {number} [pageSize] Page Size
138
+ * @param {*} [options] Override http request option.
139
+ * @throws {RequiredError}
140
+ */
141
+ listUSERFIELDSECURITY(vbasoftwareDatabase: string, userId?: string, sortBy?: string, page?: number, pageSize?: number, options?: any): AxiosPromise<USERFIELDSECURITYListVBAResponse> {
142
+ return localVarFp.listUSERFIELDSECURITY(vbasoftwareDatabase, userId, sortBy, page, pageSize, options).then((request) => request(axios, basePath));
143
+ },
144
+ };
145
+ };
146
+
147
+ /**
148
+ * UserFieldSecurityApi - interface
149
+ * @export
150
+ * @interface UserFieldSecurityApi
151
+ */
152
+ export interface UserFieldSecurityApiInterface {
153
+ /**
154
+ * Lists all USERFIELDSECURITY
155
+ * @summary List USERFIELDSECURITY
156
+ * @param {string} vbasoftwareDatabase Target database
157
+ * @param {string} [userId] Filter by user id
158
+ * @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \&#39;Property1:desc,Property2:asc,Property3:asc\&#39; sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
159
+ * @param {number} [page] Page
160
+ * @param {number} [pageSize] Page Size
161
+ * @param {*} [options] Override http request option.
162
+ * @throws {RequiredError}
163
+ * @memberof UserFieldSecurityApiInterface
164
+ */
165
+ listUSERFIELDSECURITY(vbasoftwareDatabase: string, userId?: string, sortBy?: string, page?: number, pageSize?: number, options?: AxiosRequestConfig): AxiosPromise<USERFIELDSECURITYListVBAResponse>;
166
+
167
+ }
168
+
169
+ /**
170
+ * UserFieldSecurityApi - object-oriented interface
171
+ * @export
172
+ * @class UserFieldSecurityApi
173
+ * @extends {BaseAPI}
174
+ */
175
+ export class UserFieldSecurityApi extends BaseAPI implements UserFieldSecurityApiInterface {
176
+ /**
177
+ * Lists all USERFIELDSECURITY
178
+ * @summary List USERFIELDSECURITY
179
+ * @param {string} vbasoftwareDatabase Target database
180
+ * @param {string} [userId] Filter by user id
181
+ * @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \&#39;Property1:desc,Property2:asc,Property3:asc\&#39; sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
182
+ * @param {number} [page] Page
183
+ * @param {number} [pageSize] Page Size
184
+ * @param {*} [options] Override http request option.
185
+ * @throws {RequiredError}
186
+ * @memberof UserFieldSecurityApi
187
+ */
188
+ public listUSERFIELDSECURITY(vbasoftwareDatabase: string, userId?: string, sortBy?: string, page?: number, pageSize?: number, options?: AxiosRequestConfig) {
189
+ return UserFieldSecurityApiFp(this.configuration).listUSERFIELDSECURITY(vbasoftwareDatabase, userId, sortBy, page, pageSize, options).then((request) => request(this.axios, this.basePath));
190
+ }
191
+ }
@@ -191,7 +191,7 @@ export const UserGroupMappingsApiAxiosParamCreator = function (configuration?: C
191
191
  };
192
192
  },
193
193
  /**
194
- * Lists all UserGroupMapping userGroupKey
194
+ * Lists all UserGroupMapping for a specific userGroupKey
195
195
  * @summary List UserGroupMapping
196
196
  * @param {string} vbasoftwareDatabase Target database
197
197
  * @param {number} userGroupKey UserGroup Key
@@ -229,6 +229,55 @@ export const UserGroupMappingsApiAxiosParamCreator = function (configuration?: C
229
229
 
230
230
 
231
231
 
232
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
233
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
234
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
235
+
236
+ return {
237
+ url: toPathString(localVarUrlObj),
238
+ options: localVarRequestOptions,
239
+ };
240
+ },
241
+ /**
242
+ * Lists all UserGroupMappings with optional filter for User_ID
243
+ * @summary List UserGroupMapping
244
+ * @param {string} vbasoftwareDatabase Target database
245
+ * @param {string} [userID] User_ID
246
+ * @param {*} [options] Override http request option.
247
+ * @throws {RequiredError}
248
+ */
249
+ listUserGroupMappingFiltered: async (vbasoftwareDatabase: string, userID?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
250
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
251
+ assertParamExists('listUserGroupMappingFiltered', 'vbasoftwareDatabase', vbasoftwareDatabase)
252
+ const localVarPath = `/user-group-mappings`;
253
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
254
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
255
+ let baseOptions;
256
+ if (configuration) {
257
+ baseOptions = configuration.baseOptions;
258
+ }
259
+
260
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
261
+ const localVarHeaderParameter = {} as any;
262
+ const localVarQueryParameter = {} as any;
263
+
264
+ // authentication apiKeyAuth required
265
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
266
+
267
+ // authentication bearerAuth required
268
+ // http bearer authentication required
269
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
270
+
271
+ if (userID !== undefined) {
272
+ localVarQueryParameter['User_ID'] = userID;
273
+ }
274
+
275
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
276
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
277
+ }
278
+
279
+
280
+
232
281
  setSearchParams(localVarUrlObj, localVarQueryParameter);
233
282
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
234
283
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -342,7 +391,7 @@ export const UserGroupMappingsApiFp = function(configuration?: Configuration) {
342
391
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
343
392
  },
344
393
  /**
345
- * Lists all UserGroupMapping userGroupKey
394
+ * Lists all UserGroupMapping for a specific userGroupKey
346
395
  * @summary List UserGroupMapping
347
396
  * @param {string} vbasoftwareDatabase Target database
348
397
  * @param {number} userGroupKey UserGroup Key
@@ -353,6 +402,18 @@ export const UserGroupMappingsApiFp = function(configuration?: Configuration) {
353
402
  const localVarAxiosArgs = await localVarAxiosParamCreator.listUserGroupMapping(vbasoftwareDatabase, userGroupKey, options);
354
403
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
355
404
  },
405
+ /**
406
+ * Lists all UserGroupMappings with optional filter for User_ID
407
+ * @summary List UserGroupMapping
408
+ * @param {string} vbasoftwareDatabase Target database
409
+ * @param {string} [userID] User_ID
410
+ * @param {*} [options] Override http request option.
411
+ * @throws {RequiredError}
412
+ */
413
+ async listUserGroupMappingFiltered(vbasoftwareDatabase: string, userID?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserGroupMappingListVBAResponse>> {
414
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listUserGroupMappingFiltered(vbasoftwareDatabase, userID, options);
415
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
416
+ },
356
417
  /**
357
418
  * Create multiple UserGroupMapping at once. If the entity already exists, an error will be returned for that item. If the entity does not exist, it will be created.
358
419
  * @summary Create multiple UserGroupMappings
@@ -413,7 +474,7 @@ export const UserGroupMappingsApiFactory = function (configuration?: Configurati
413
474
  return localVarFp.getUserGroupMapping(vbasoftwareDatabase, userGroupKey, userID, options).then((request) => request(axios, basePath));
414
475
  },
415
476
  /**
416
- * Lists all UserGroupMapping userGroupKey
477
+ * Lists all UserGroupMapping for a specific userGroupKey
417
478
  * @summary List UserGroupMapping
418
479
  * @param {string} vbasoftwareDatabase Target database
419
480
  * @param {number} userGroupKey UserGroup Key
@@ -423,6 +484,17 @@ export const UserGroupMappingsApiFactory = function (configuration?: Configurati
423
484
  listUserGroupMapping(vbasoftwareDatabase: string, userGroupKey: number, options?: any): AxiosPromise<UserGroupMappingListVBAResponse> {
424
485
  return localVarFp.listUserGroupMapping(vbasoftwareDatabase, userGroupKey, options).then((request) => request(axios, basePath));
425
486
  },
487
+ /**
488
+ * Lists all UserGroupMappings with optional filter for User_ID
489
+ * @summary List UserGroupMapping
490
+ * @param {string} vbasoftwareDatabase Target database
491
+ * @param {string} [userID] User_ID
492
+ * @param {*} [options] Override http request option.
493
+ * @throws {RequiredError}
494
+ */
495
+ listUserGroupMappingFiltered(vbasoftwareDatabase: string, userID?: string, options?: any): AxiosPromise<UserGroupMappingListVBAResponse> {
496
+ return localVarFp.listUserGroupMappingFiltered(vbasoftwareDatabase, userID, options).then((request) => request(axios, basePath));
497
+ },
426
498
  /**
427
499
  * Create multiple UserGroupMapping at once. If the entity already exists, an error will be returned for that item. If the entity does not exist, it will be created.
428
500
  * @summary Create multiple UserGroupMappings
@@ -481,7 +553,7 @@ export interface UserGroupMappingsApiInterface {
481
553
  getUserGroupMapping(vbasoftwareDatabase: string, userGroupKey: number, userID: string, options?: AxiosRequestConfig): AxiosPromise<UserGroupMappingVBAResponse>;
482
554
 
483
555
  /**
484
- * Lists all UserGroupMapping userGroupKey
556
+ * Lists all UserGroupMapping for a specific userGroupKey
485
557
  * @summary List UserGroupMapping
486
558
  * @param {string} vbasoftwareDatabase Target database
487
559
  * @param {number} userGroupKey UserGroup Key
@@ -491,6 +563,17 @@ export interface UserGroupMappingsApiInterface {
491
563
  */
492
564
  listUserGroupMapping(vbasoftwareDatabase: string, userGroupKey: number, options?: AxiosRequestConfig): AxiosPromise<UserGroupMappingListVBAResponse>;
493
565
 
566
+ /**
567
+ * Lists all UserGroupMappings with optional filter for User_ID
568
+ * @summary List UserGroupMapping
569
+ * @param {string} vbasoftwareDatabase Target database
570
+ * @param {string} [userID] User_ID
571
+ * @param {*} [options] Override http request option.
572
+ * @throws {RequiredError}
573
+ * @memberof UserGroupMappingsApiInterface
574
+ */
575
+ listUserGroupMappingFiltered(vbasoftwareDatabase: string, userID?: string, options?: AxiosRequestConfig): AxiosPromise<UserGroupMappingListVBAResponse>;
576
+
494
577
  /**
495
578
  * Create multiple UserGroupMapping at once. If the entity already exists, an error will be returned for that item. If the entity does not exist, it will be created.
496
579
  * @summary Create multiple UserGroupMappings
@@ -555,7 +638,7 @@ export class UserGroupMappingsApi extends BaseAPI implements UserGroupMappingsAp
555
638
  }
556
639
 
557
640
  /**
558
- * Lists all UserGroupMapping userGroupKey
641
+ * Lists all UserGroupMapping for a specific userGroupKey
559
642
  * @summary List UserGroupMapping
560
643
  * @param {string} vbasoftwareDatabase Target database
561
644
  * @param {number} userGroupKey UserGroup Key
@@ -567,6 +650,19 @@ export class UserGroupMappingsApi extends BaseAPI implements UserGroupMappingsAp
567
650
  return UserGroupMappingsApiFp(this.configuration).listUserGroupMapping(vbasoftwareDatabase, userGroupKey, options).then((request) => request(this.axios, this.basePath));
568
651
  }
569
652
 
653
+ /**
654
+ * Lists all UserGroupMappings with optional filter for User_ID
655
+ * @summary List UserGroupMapping
656
+ * @param {string} vbasoftwareDatabase Target database
657
+ * @param {string} [userID] User_ID
658
+ * @param {*} [options] Override http request option.
659
+ * @throws {RequiredError}
660
+ * @memberof UserGroupMappingsApi
661
+ */
662
+ public listUserGroupMappingFiltered(vbasoftwareDatabase: string, userID?: string, options?: AxiosRequestConfig) {
663
+ return UserGroupMappingsApiFp(this.configuration).listUserGroupMappingFiltered(vbasoftwareDatabase, userID, options).then((request) => request(this.axios, this.basePath));
664
+ }
665
+
570
666
  /**
571
667
  * Create multiple UserGroupMapping at once. If the entity already exists, an error will be returned for that item. If the entity does not exist, it will be created.
572
668
  * @summary Create multiple UserGroupMappings
@@ -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 { VBAReportListVBAResponse } from '../models';
25
+ /**
26
+ * VBAReportsApi - axios parameter creator
27
+ * @export
28
+ */
29
+ export const VBAReportsApiAxiosParamCreator = function (configuration?: Configuration) {
30
+ return {
31
+ /**
32
+ * Lists all VBA Report
33
+ * @summary List VBA Report
34
+ * @param {string} vbasoftwareDatabase Target database
35
+ * @param {*} [options] Override http request option.
36
+ * @throws {RequiredError}
37
+ */
38
+ listVBAReports: async (vbasoftwareDatabase: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
39
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
40
+ assertParamExists('listVBAReports', 'vbasoftwareDatabase', vbasoftwareDatabase)
41
+ const localVarPath = `/reports`;
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
+ * VBAReportsApi - functional programming interface
80
+ * @export
81
+ */
82
+ export const VBAReportsApiFp = function(configuration?: Configuration) {
83
+ const localVarAxiosParamCreator = VBAReportsApiAxiosParamCreator(configuration)
84
+ return {
85
+ /**
86
+ * Lists all VBA Report
87
+ * @summary List VBA Report
88
+ * @param {string} vbasoftwareDatabase Target database
89
+ * @param {*} [options] Override http request option.
90
+ * @throws {RequiredError}
91
+ */
92
+ async listVBAReports(vbasoftwareDatabase: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VBAReportListVBAResponse>> {
93
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listVBAReports(vbasoftwareDatabase, options);
94
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
95
+ },
96
+ }
97
+ };
98
+
99
+ /**
100
+ * VBAReportsApi - factory interface
101
+ * @export
102
+ */
103
+ export const VBAReportsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
104
+ const localVarFp = VBAReportsApiFp(configuration)
105
+ return {
106
+ /**
107
+ * Lists all VBA Report
108
+ * @summary List VBA Report
109
+ * @param {string} vbasoftwareDatabase Target database
110
+ * @param {*} [options] Override http request option.
111
+ * @throws {RequiredError}
112
+ */
113
+ listVBAReports(vbasoftwareDatabase: string, options?: any): AxiosPromise<VBAReportListVBAResponse> {
114
+ return localVarFp.listVBAReports(vbasoftwareDatabase, options).then((request) => request(axios, basePath));
115
+ },
116
+ };
117
+ };
118
+
119
+ /**
120
+ * VBAReportsApi - interface
121
+ * @export
122
+ * @interface VBAReportsApi
123
+ */
124
+ export interface VBAReportsApiInterface {
125
+ /**
126
+ * Lists all VBA Report
127
+ * @summary List VBA Report
128
+ * @param {string} vbasoftwareDatabase Target database
129
+ * @param {*} [options] Override http request option.
130
+ * @throws {RequiredError}
131
+ * @memberof VBAReportsApiInterface
132
+ */
133
+ listVBAReports(vbasoftwareDatabase: string, options?: AxiosRequestConfig): AxiosPromise<VBAReportListVBAResponse>;
134
+
135
+ }
136
+
137
+ /**
138
+ * VBAReportsApi - object-oriented interface
139
+ * @export
140
+ * @class VBAReportsApi
141
+ * @extends {BaseAPI}
142
+ */
143
+ export class VBAReportsApi extends BaseAPI implements VBAReportsApiInterface {
144
+ /**
145
+ * Lists all VBA Report
146
+ * @summary List VBA Report
147
+ * @param {string} vbasoftwareDatabase Target database
148
+ * @param {*} [options] Override http request option.
149
+ * @throws {RequiredError}
150
+ * @memberof VBAReportsApi
151
+ */
152
+ public listVBAReports(vbasoftwareDatabase: string, options?: AxiosRequestConfig) {
153
+ return VBAReportsApiFp(this.configuration).listVBAReports(vbasoftwareDatabase, options).then((request) => request(this.axios, this.basePath));
154
+ }
155
+ }