@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20230403.1 → 1.20230506.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.
Files changed (58) hide show
  1. package/.openapi-generator/FILES +20 -1
  2. package/api/capitation-plan-rates-api.ts +22 -13
  3. package/api/commission-adjustments-api.ts +59 -107
  4. package/api/commission-rate-subscribers-api.ts +126 -0
  5. package/api/context4-health-cost-containment-option-pricing-api.ts +17 -8
  6. package/api/context4-health-cost-containment-options-api.ts +17 -8
  7. package/api/groups-api.ts +97 -0
  8. package/api/invoice-status-api.ts +155 -0
  9. package/api/invoice-types-api.ts +155 -0
  10. package/api/members-api.ts +323 -0
  11. package/api/plan-relationship-age-restrictions-api.ts +63 -148
  12. package/api/premium-invoice-subscribers-api.ts +123 -0
  13. package/api/process-logging-api.ts +105 -0
  14. package/api/security-area-user-groups-api.ts +100 -0
  15. package/api/security-area-users-api.ts +98 -0
  16. package/api/subscriber-plan-policy-forfeitures-api.ts +581 -35
  17. package/api/ucnetwork-api.ts +710 -0
  18. package/api.ts +3 -1
  19. package/models/auth-adjustment.ts +2 -2
  20. package/models/billing-cycle.ts +25 -1
  21. package/models/call-tracking.ts +25 -1
  22. package/models/check-batch.ts +27 -3
  23. package/models/commission-adjustment.ts +21 -15
  24. package/models/commission-rate.ts +90 -36
  25. package/models/company-data.ts +12 -0
  26. package/models/enrollment-pcpauto-assign-member-list-vbaresponse.ts +45 -0
  27. package/models/enrollment-pcpauto-assign-member.ts +96 -0
  28. package/models/enrollment-pcpauto-assign-provider-list-vbaresponse.ts +45 -0
  29. package/models/enrollment-pcpauto-assign-provider.ts +90 -0
  30. package/models/enrollment-pcpauto-assign.ts +3 -3
  31. package/models/index.ts +17 -0
  32. package/models/payee.ts +29 -5
  33. package/models/plan-pre-ex.ts +54 -0
  34. package/models/plans.ts +6 -0
  35. package/models/prem-invoice.ts +27 -21
  36. package/models/prem-rate-type.ts +6 -0
  37. package/models/prem-rate.ts +6 -0
  38. package/models/state-interest.ts +72 -0
  39. package/models/state.ts +35 -5
  40. package/models/string-list-vbaresponse.ts +44 -0
  41. package/models/sub-enrollment-plan.ts +6 -0
  42. package/models/sub-payment-method.ts +16 -10
  43. package/models/subscriber-forfeiture-status.ts +25 -1
  44. package/models/subscribers.ts +6 -0
  45. package/models/ucnetwork-list-vbaresponse.ts +45 -0
  46. package/models/ucnetwork-vbaresponse.ts +45 -0
  47. package/models/ucnetwork.ts +90 -0
  48. package/models/vbacommission-rate-subscriber-list-vbaresponse.ts +45 -0
  49. package/models/vbacommission-rate-subscriber.ts +48 -0
  50. package/models/vbagroup-enrollment-summary-vbaresponse.ts +45 -0
  51. package/models/vbagroup-enrollment-summary.ts +48 -0
  52. package/models/vbamembers-disability-tax-summary-vbaresponse.ts +45 -0
  53. package/models/vbamembers-disability-tax-summary.ts +276 -0
  54. package/models/vbaprem-invoice-subscriber-history-list-vbaresponse.ts +45 -0
  55. package/models/vbaprem-invoice-subscriber-history.ts +108 -0
  56. package/models/vbaprocess-log-list-vbaresponse.ts +45 -0
  57. package/package.json +1 -1
  58. package/api/subscriber-plan-forfeitures-api.ts +0 -731
@@ -28,6 +28,8 @@ import { PremInvoiceSubscriber } from '../models';
28
28
  import { PremInvoiceSubscriberListVBAResponse } from '../models';
29
29
  // @ts-ignore
30
30
  import { PremInvoiceSubscriberVBAResponse } from '../models';
31
+ // @ts-ignore
32
+ import { VBAPremInvoiceSubscriberHistoryListVBAResponse } from '../models';
31
33
  /**
32
34
  * PremiumInvoiceSubscribersApi - axios parameter creator
33
35
  * @export
@@ -257,6 +259,68 @@ export const PremiumInvoiceSubscribersApiAxiosParamCreator = function (configura
257
259
 
258
260
 
259
261
 
262
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
263
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
264
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
265
+
266
+ return {
267
+ url: toPathString(localVarUrlObj),
268
+ options: localVarRequestOptions,
269
+ };
270
+ },
271
+ /**
272
+ * Lists all PremInvoiceSubscriber History for the given invoiceKey and Subscriber ID
273
+ * @summary List PremInvoiceSubscriberHistory
274
+ * @param {string} vbasoftwareDatabase Target database
275
+ * @param {number} invoiceKey Invoice Key
276
+ * @param {string} subscriberID Subscriber ID
277
+ * @param {number} [page] Page
278
+ * @param {number} [pageSize] Page Size
279
+ * @param {*} [options] Override http request option.
280
+ * @throws {RequiredError}
281
+ */
282
+ listPremInvoiceSubscriberHistory: async (vbasoftwareDatabase: string, invoiceKey: number, subscriberID: string, page?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
283
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
284
+ assertParamExists('listPremInvoiceSubscriberHistory', 'vbasoftwareDatabase', vbasoftwareDatabase)
285
+ // verify required parameter 'invoiceKey' is not null or undefined
286
+ assertParamExists('listPremInvoiceSubscriberHistory', 'invoiceKey', invoiceKey)
287
+ // verify required parameter 'subscriberID' is not null or undefined
288
+ assertParamExists('listPremInvoiceSubscriberHistory', 'subscriberID', subscriberID)
289
+ const localVarPath = `/premium-invoices/{invoiceKey}/subscribers/{subscriberID}/history`
290
+ .replace(`{${"invoiceKey"}}`, encodeURIComponent(String(invoiceKey)))
291
+ .replace(`{${"subscriberID"}}`, encodeURIComponent(String(subscriberID)));
292
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
293
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
294
+ let baseOptions;
295
+ if (configuration) {
296
+ baseOptions = configuration.baseOptions;
297
+ }
298
+
299
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
300
+ const localVarHeaderParameter = {} as any;
301
+ const localVarQueryParameter = {} as any;
302
+
303
+ // authentication apiKeyAuth required
304
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
305
+
306
+ // authentication bearerAuth required
307
+ // http bearer authentication required
308
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
309
+
310
+ if (page !== undefined) {
311
+ localVarQueryParameter['page'] = page;
312
+ }
313
+
314
+ if (pageSize !== undefined) {
315
+ localVarQueryParameter['pageSize'] = pageSize;
316
+ }
317
+
318
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
319
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
320
+ }
321
+
322
+
323
+
260
324
  setSearchParams(localVarUrlObj, localVarQueryParameter);
261
325
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
262
326
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -453,6 +517,21 @@ export const PremiumInvoiceSubscribersApiFp = function(configuration?: Configura
453
517
  const localVarAxiosArgs = await localVarAxiosParamCreator.listPremInvoiceSubscriber(vbasoftwareDatabase, invoiceKey, page, pageSize, options);
454
518
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
455
519
  },
520
+ /**
521
+ * Lists all PremInvoiceSubscriber History for the given invoiceKey and Subscriber ID
522
+ * @summary List PremInvoiceSubscriberHistory
523
+ * @param {string} vbasoftwareDatabase Target database
524
+ * @param {number} invoiceKey Invoice Key
525
+ * @param {string} subscriberID Subscriber ID
526
+ * @param {number} [page] Page
527
+ * @param {number} [pageSize] Page Size
528
+ * @param {*} [options] Override http request option.
529
+ * @throws {RequiredError}
530
+ */
531
+ async listPremInvoiceSubscriberHistory(vbasoftwareDatabase: string, invoiceKey: number, subscriberID: string, page?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VBAPremInvoiceSubscriberHistoryListVBAResponse>> {
532
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPremInvoiceSubscriberHistory(vbasoftwareDatabase, invoiceKey, subscriberID, page, pageSize, options);
533
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
534
+ },
456
535
  /**
457
536
  * Create or Update multiple PremInvoiceSubscriber at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
458
537
  * @summary Create or Update Batch PremInvoiceSubscriber
@@ -545,6 +624,20 @@ export const PremiumInvoiceSubscribersApiFactory = function (configuration?: Con
545
624
  listPremInvoiceSubscriber(vbasoftwareDatabase: string, invoiceKey: number, page?: number, pageSize?: number, options?: any): AxiosPromise<PremInvoiceSubscriberListVBAResponse> {
546
625
  return localVarFp.listPremInvoiceSubscriber(vbasoftwareDatabase, invoiceKey, page, pageSize, options).then((request) => request(axios, basePath));
547
626
  },
627
+ /**
628
+ * Lists all PremInvoiceSubscriber History for the given invoiceKey and Subscriber ID
629
+ * @summary List PremInvoiceSubscriberHistory
630
+ * @param {string} vbasoftwareDatabase Target database
631
+ * @param {number} invoiceKey Invoice Key
632
+ * @param {string} subscriberID Subscriber ID
633
+ * @param {number} [page] Page
634
+ * @param {number} [pageSize] Page Size
635
+ * @param {*} [options] Override http request option.
636
+ * @throws {RequiredError}
637
+ */
638
+ listPremInvoiceSubscriberHistory(vbasoftwareDatabase: string, invoiceKey: number, subscriberID: string, page?: number, pageSize?: number, options?: any): AxiosPromise<VBAPremInvoiceSubscriberHistoryListVBAResponse> {
639
+ return localVarFp.listPremInvoiceSubscriberHistory(vbasoftwareDatabase, invoiceKey, subscriberID, page, pageSize, options).then((request) => request(axios, basePath));
640
+ },
548
641
  /**
549
642
  * Create or Update multiple PremInvoiceSubscriber at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
550
643
  * @summary Create or Update Batch PremInvoiceSubscriber
@@ -634,6 +727,20 @@ export interface PremiumInvoiceSubscribersApiInterface {
634
727
  */
635
728
  listPremInvoiceSubscriber(vbasoftwareDatabase: string, invoiceKey: number, page?: number, pageSize?: number, options?: AxiosRequestConfig): AxiosPromise<PremInvoiceSubscriberListVBAResponse>;
636
729
 
730
+ /**
731
+ * Lists all PremInvoiceSubscriber History for the given invoiceKey and Subscriber ID
732
+ * @summary List PremInvoiceSubscriberHistory
733
+ * @param {string} vbasoftwareDatabase Target database
734
+ * @param {number} invoiceKey Invoice Key
735
+ * @param {string} subscriberID Subscriber ID
736
+ * @param {number} [page] Page
737
+ * @param {number} [pageSize] Page Size
738
+ * @param {*} [options] Override http request option.
739
+ * @throws {RequiredError}
740
+ * @memberof PremiumInvoiceSubscribersApiInterface
741
+ */
742
+ listPremInvoiceSubscriberHistory(vbasoftwareDatabase: string, invoiceKey: number, subscriberID: string, page?: number, pageSize?: number, options?: AxiosRequestConfig): AxiosPromise<VBAPremInvoiceSubscriberHistoryListVBAResponse>;
743
+
637
744
  /**
638
745
  * Create or Update multiple PremInvoiceSubscriber at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
639
746
  * @summary Create or Update Batch PremInvoiceSubscriber
@@ -731,6 +838,22 @@ export class PremiumInvoiceSubscribersApi extends BaseAPI implements PremiumInvo
731
838
  return PremiumInvoiceSubscribersApiFp(this.configuration).listPremInvoiceSubscriber(vbasoftwareDatabase, invoiceKey, page, pageSize, options).then((request) => request(this.axios, this.basePath));
732
839
  }
733
840
 
841
+ /**
842
+ * Lists all PremInvoiceSubscriber History for the given invoiceKey and Subscriber ID
843
+ * @summary List PremInvoiceSubscriberHistory
844
+ * @param {string} vbasoftwareDatabase Target database
845
+ * @param {number} invoiceKey Invoice Key
846
+ * @param {string} subscriberID Subscriber ID
847
+ * @param {number} [page] Page
848
+ * @param {number} [pageSize] Page Size
849
+ * @param {*} [options] Override http request option.
850
+ * @throws {RequiredError}
851
+ * @memberof PremiumInvoiceSubscribersApi
852
+ */
853
+ public listPremInvoiceSubscriberHistory(vbasoftwareDatabase: string, invoiceKey: number, subscriberID: string, page?: number, pageSize?: number, options?: AxiosRequestConfig) {
854
+ return PremiumInvoiceSubscribersApiFp(this.configuration).listPremInvoiceSubscriberHistory(vbasoftwareDatabase, invoiceKey, subscriberID, page, pageSize, options).then((request) => request(this.axios, this.basePath));
855
+ }
856
+
734
857
  /**
735
858
  * Create or Update multiple PremInvoiceSubscriber at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
736
859
  * @summary Create or Update Batch PremInvoiceSubscriber
@@ -25,6 +25,8 @@ import { MultiCodeResponseListVBAResponse } from '../models';
25
25
  // @ts-ignore
26
26
  import { VBAProcessLog } from '../models';
27
27
  // @ts-ignore
28
+ import { VBAProcessLogListVBAResponse } from '../models';
29
+ // @ts-ignore
28
30
  import { VBAProcessLogVBAResponse } from '../models';
29
31
  /**
30
32
  * ProcessLoggingApi - axios parameter creator
@@ -193,6 +195,58 @@ export const ProcessLoggingApiAxiosParamCreator = function (configuration?: Conf
193
195
 
194
196
 
195
197
 
198
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
199
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
200
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
201
+
202
+ return {
203
+ url: toPathString(localVarUrlObj),
204
+ options: localVarRequestOptions,
205
+ };
206
+ },
207
+ /**
208
+ * List VBAProcessLogs or the given VBAProcessKey and VBAProcessType
209
+ * @summary List VBAProcessLog
210
+ * @param {string} vbasoftwareDatabase Target database
211
+ * @param {number} vBAProcessKey VBAProcess Key
212
+ * @param {string} vBAProcessType VBAProcess Type
213
+ * @param {*} [options] Override http request option.
214
+ * @throws {RequiredError}
215
+ */
216
+ listVBAProcessLog: async (vbasoftwareDatabase: string, vBAProcessKey: number, vBAProcessType: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
217
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
218
+ assertParamExists('listVBAProcessLog', 'vbasoftwareDatabase', vbasoftwareDatabase)
219
+ // verify required parameter 'vBAProcessKey' is not null or undefined
220
+ assertParamExists('listVBAProcessLog', 'vBAProcessKey', vBAProcessKey)
221
+ // verify required parameter 'vBAProcessType' is not null or undefined
222
+ assertParamExists('listVBAProcessLog', 'vBAProcessType', vBAProcessType)
223
+ const localVarPath = `/vbaprocesses/{vBAProcessKey}/types/{vBAProcessType}/logs`
224
+ .replace(`{${"vBAProcessKey"}}`, encodeURIComponent(String(vBAProcessKey)))
225
+ .replace(`{${"vBAProcessType"}}`, encodeURIComponent(String(vBAProcessType)));
226
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
227
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
228
+ let baseOptions;
229
+ if (configuration) {
230
+ baseOptions = configuration.baseOptions;
231
+ }
232
+
233
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
234
+ const localVarHeaderParameter = {} as any;
235
+ const localVarQueryParameter = {} as any;
236
+
237
+ // authentication apiKeyAuth required
238
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
239
+
240
+ // authentication bearerAuth required
241
+ // http bearer authentication required
242
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
243
+
244
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
245
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
246
+ }
247
+
248
+
249
+
196
250
  setSearchParams(localVarUrlObj, localVarQueryParameter);
197
251
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
198
252
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -374,6 +428,19 @@ export const ProcessLoggingApiFp = function(configuration?: Configuration) {
374
428
  const localVarAxiosArgs = await localVarAxiosParamCreator.getVBAProcessLog(vbasoftwareDatabase, vBAProcessKey, vBAProcessType, vBAProcessLogKey, options);
375
429
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
376
430
  },
431
+ /**
432
+ * List VBAProcessLogs or the given VBAProcessKey and VBAProcessType
433
+ * @summary List VBAProcessLog
434
+ * @param {string} vbasoftwareDatabase Target database
435
+ * @param {number} vBAProcessKey VBAProcess Key
436
+ * @param {string} vBAProcessType VBAProcess Type
437
+ * @param {*} [options] Override http request option.
438
+ * @throws {RequiredError}
439
+ */
440
+ async listVBAProcessLog(vbasoftwareDatabase: string, vBAProcessKey: number, vBAProcessType: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VBAProcessLogListVBAResponse>> {
441
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listVBAProcessLog(vbasoftwareDatabase, vBAProcessKey, vBAProcessType, options);
442
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
443
+ },
377
444
  /**
378
445
  * Updates or Creates multiple VBAProcessLogs
379
446
  * @summary Update Batch VBAProcessLog
@@ -452,6 +519,18 @@ export const ProcessLoggingApiFactory = function (configuration?: Configuration,
452
519
  getVBAProcessLog(vbasoftwareDatabase: string, vBAProcessKey: number, vBAProcessType: string, vBAProcessLogKey: number, options?: any): AxiosPromise<VBAProcessLogVBAResponse> {
453
520
  return localVarFp.getVBAProcessLog(vbasoftwareDatabase, vBAProcessKey, vBAProcessType, vBAProcessLogKey, options).then((request) => request(axios, basePath));
454
521
  },
522
+ /**
523
+ * List VBAProcessLogs or the given VBAProcessKey and VBAProcessType
524
+ * @summary List VBAProcessLog
525
+ * @param {string} vbasoftwareDatabase Target database
526
+ * @param {number} vBAProcessKey VBAProcess Key
527
+ * @param {string} vBAProcessType VBAProcess Type
528
+ * @param {*} [options] Override http request option.
529
+ * @throws {RequiredError}
530
+ */
531
+ listVBAProcessLog(vbasoftwareDatabase: string, vBAProcessKey: number, vBAProcessType: string, options?: any): AxiosPromise<VBAProcessLogListVBAResponse> {
532
+ return localVarFp.listVBAProcessLog(vbasoftwareDatabase, vBAProcessKey, vBAProcessType, options).then((request) => request(axios, basePath));
533
+ },
455
534
  /**
456
535
  * Updates or Creates multiple VBAProcessLogs
457
536
  * @summary Update Batch VBAProcessLog
@@ -527,6 +606,18 @@ export interface ProcessLoggingApiInterface {
527
606
  */
528
607
  getVBAProcessLog(vbasoftwareDatabase: string, vBAProcessKey: number, vBAProcessType: string, vBAProcessLogKey: number, options?: AxiosRequestConfig): AxiosPromise<VBAProcessLogVBAResponse>;
529
608
 
609
+ /**
610
+ * List VBAProcessLogs or the given VBAProcessKey and VBAProcessType
611
+ * @summary List VBAProcessLog
612
+ * @param {string} vbasoftwareDatabase Target database
613
+ * @param {number} vBAProcessKey VBAProcess Key
614
+ * @param {string} vBAProcessType VBAProcess Type
615
+ * @param {*} [options] Override http request option.
616
+ * @throws {RequiredError}
617
+ * @memberof ProcessLoggingApiInterface
618
+ */
619
+ listVBAProcessLog(vbasoftwareDatabase: string, vBAProcessKey: number, vBAProcessType: string, options?: AxiosRequestConfig): AxiosPromise<VBAProcessLogListVBAResponse>;
620
+
530
621
  /**
531
622
  * Updates or Creates multiple VBAProcessLogs
532
623
  * @summary Update Batch VBAProcessLog
@@ -608,6 +699,20 @@ export class ProcessLoggingApi extends BaseAPI implements ProcessLoggingApiInter
608
699
  return ProcessLoggingApiFp(this.configuration).getVBAProcessLog(vbasoftwareDatabase, vBAProcessKey, vBAProcessType, vBAProcessLogKey, options).then((request) => request(this.axios, this.basePath));
609
700
  }
610
701
 
702
+ /**
703
+ * List VBAProcessLogs or the given VBAProcessKey and VBAProcessType
704
+ * @summary List VBAProcessLog
705
+ * @param {string} vbasoftwareDatabase Target database
706
+ * @param {number} vBAProcessKey VBAProcess Key
707
+ * @param {string} vBAProcessType VBAProcess Type
708
+ * @param {*} [options] Override http request option.
709
+ * @throws {RequiredError}
710
+ * @memberof ProcessLoggingApi
711
+ */
712
+ public listVBAProcessLog(vbasoftwareDatabase: string, vBAProcessKey: number, vBAProcessType: string, options?: AxiosRequestConfig) {
713
+ return ProcessLoggingApiFp(this.configuration).listVBAProcessLog(vbasoftwareDatabase, vBAProcessKey, vBAProcessType, options).then((request) => request(this.axios, this.basePath));
714
+ }
715
+
611
716
  /**
612
717
  * Updates or Creates multiple VBAProcessLogs
613
718
  * @summary Update Batch VBAProcessLog
@@ -28,6 +28,8 @@ import { SecurityAreaUserGroup } from '../models';
28
28
  import { SecurityAreaUserGroupListVBAResponse } from '../models';
29
29
  // @ts-ignore
30
30
  import { SecurityAreaUserGroupVBAResponse } from '../models';
31
+ // @ts-ignore
32
+ import { StringListVBAResponse } from '../models';
31
33
  /**
32
34
  * SecurityAreaUserGroupsApi - axios parameter creator
33
35
  * @export
@@ -183,6 +185,57 @@ export const SecurityAreaUserGroupsApiAxiosParamCreator = function (configuratio
183
185
 
184
186
 
185
187
 
188
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
189
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
190
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
191
+
192
+ return {
193
+ url: toPathString(localVarUrlObj),
194
+ options: localVarRequestOptions,
195
+ };
196
+ },
197
+ /**
198
+ * Lists all Secure Groups for a given User ID
199
+ * @summary List Secure Groups
200
+ * @param {string} vbasoftwareDatabase Target database
201
+ * @param {string} userID User ID
202
+ * @param {*} [options] Override http request option.
203
+ * @throws {RequiredError}
204
+ */
205
+ listSecureGroupsForUserID: async (vbasoftwareDatabase: string, userID: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
206
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
207
+ assertParamExists('listSecureGroupsForUserID', 'vbasoftwareDatabase', vbasoftwareDatabase)
208
+ // verify required parameter 'userID' is not null or undefined
209
+ assertParamExists('listSecureGroupsForUserID', 'userID', userID)
210
+ const localVarPath = `/secure-groups`;
211
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
212
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
213
+ let baseOptions;
214
+ if (configuration) {
215
+ baseOptions = configuration.baseOptions;
216
+ }
217
+
218
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
219
+ const localVarHeaderParameter = {} as any;
220
+ const localVarQueryParameter = {} as any;
221
+
222
+ // authentication apiKeyAuth required
223
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
224
+
225
+ // authentication bearerAuth required
226
+ // http bearer authentication required
227
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
228
+
229
+ if (userID !== undefined) {
230
+ localVarQueryParameter['userID'] = userID;
231
+ }
232
+
233
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
234
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
235
+ }
236
+
237
+
238
+
186
239
  setSearchParams(localVarUrlObj, localVarQueryParameter);
187
240
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
188
241
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -343,6 +396,18 @@ export const SecurityAreaUserGroupsApiFp = function(configuration?: Configuratio
343
396
  const localVarAxiosArgs = await localVarAxiosParamCreator.getSecurityAreaUserGroup(vbasoftwareDatabase, securityArea, userGroupKey, options);
344
397
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
345
398
  },
399
+ /**
400
+ * Lists all Secure Groups for a given User ID
401
+ * @summary List Secure Groups
402
+ * @param {string} vbasoftwareDatabase Target database
403
+ * @param {string} userID User ID
404
+ * @param {*} [options] Override http request option.
405
+ * @throws {RequiredError}
406
+ */
407
+ async listSecureGroupsForUserID(vbasoftwareDatabase: string, userID: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StringListVBAResponse>> {
408
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listSecureGroupsForUserID(vbasoftwareDatabase, userID, options);
409
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
410
+ },
346
411
  /**
347
412
  * Lists all SecurityAreaUserGroup securityArea
348
413
  * @summary List SecurityAreaUserGroup
@@ -414,6 +479,17 @@ export const SecurityAreaUserGroupsApiFactory = function (configuration?: Config
414
479
  getSecurityAreaUserGroup(vbasoftwareDatabase: string, securityArea: string, userGroupKey: number, options?: any): AxiosPromise<SecurityAreaUserGroupVBAResponse> {
415
480
  return localVarFp.getSecurityAreaUserGroup(vbasoftwareDatabase, securityArea, userGroupKey, options).then((request) => request(axios, basePath));
416
481
  },
482
+ /**
483
+ * Lists all Secure Groups for a given User ID
484
+ * @summary List Secure Groups
485
+ * @param {string} vbasoftwareDatabase Target database
486
+ * @param {string} userID User ID
487
+ * @param {*} [options] Override http request option.
488
+ * @throws {RequiredError}
489
+ */
490
+ listSecureGroupsForUserID(vbasoftwareDatabase: string, userID: string, options?: any): AxiosPromise<StringListVBAResponse> {
491
+ return localVarFp.listSecureGroupsForUserID(vbasoftwareDatabase, userID, options).then((request) => request(axios, basePath));
492
+ },
417
493
  /**
418
494
  * Lists all SecurityAreaUserGroup securityArea
419
495
  * @summary List SecurityAreaUserGroup
@@ -482,6 +558,17 @@ export interface SecurityAreaUserGroupsApiInterface {
482
558
  */
483
559
  getSecurityAreaUserGroup(vbasoftwareDatabase: string, securityArea: string, userGroupKey: number, options?: AxiosRequestConfig): AxiosPromise<SecurityAreaUserGroupVBAResponse>;
484
560
 
561
+ /**
562
+ * Lists all Secure Groups for a given User ID
563
+ * @summary List Secure Groups
564
+ * @param {string} vbasoftwareDatabase Target database
565
+ * @param {string} userID User ID
566
+ * @param {*} [options] Override http request option.
567
+ * @throws {RequiredError}
568
+ * @memberof SecurityAreaUserGroupsApiInterface
569
+ */
570
+ listSecureGroupsForUserID(vbasoftwareDatabase: string, userID: string, options?: AxiosRequestConfig): AxiosPromise<StringListVBAResponse>;
571
+
485
572
  /**
486
573
  * Lists all SecurityAreaUserGroup securityArea
487
574
  * @summary List SecurityAreaUserGroup
@@ -556,6 +643,19 @@ export class SecurityAreaUserGroupsApi extends BaseAPI implements SecurityAreaUs
556
643
  return SecurityAreaUserGroupsApiFp(this.configuration).getSecurityAreaUserGroup(vbasoftwareDatabase, securityArea, userGroupKey, options).then((request) => request(this.axios, this.basePath));
557
644
  }
558
645
 
646
+ /**
647
+ * Lists all Secure Groups for a given User ID
648
+ * @summary List Secure Groups
649
+ * @param {string} vbasoftwareDatabase Target database
650
+ * @param {string} userID User ID
651
+ * @param {*} [options] Override http request option.
652
+ * @throws {RequiredError}
653
+ * @memberof SecurityAreaUserGroupsApi
654
+ */
655
+ public listSecureGroupsForUserID(vbasoftwareDatabase: string, userID: string, options?: AxiosRequestConfig) {
656
+ return SecurityAreaUserGroupsApiFp(this.configuration).listSecureGroupsForUserID(vbasoftwareDatabase, userID, options).then((request) => request(this.axios, this.basePath));
657
+ }
658
+
559
659
  /**
560
660
  * Lists all SecurityAreaUserGroup securityArea
561
661
  * @summary List SecurityAreaUserGroup
@@ -231,6 +231,57 @@ export const SecurityAreaUsersApiAxiosParamCreator = function (configuration?: C
231
231
 
232
232
 
233
233
 
234
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
235
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
236
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
237
+
238
+ return {
239
+ url: toPathString(localVarUrlObj),
240
+ options: localVarRequestOptions,
241
+ };
242
+ },
243
+ /**
244
+ * Lists all SecurityAreaUser objects for a given User ID. This will show all of the Areas in which a User is a member.
245
+ * @summary List SecurityAreaUser for a User ID
246
+ * @param {string} vbasoftwareDatabase Target database
247
+ * @param {string} userID User ID
248
+ * @param {*} [options] Override http request option.
249
+ * @throws {RequiredError}
250
+ */
251
+ listSecurityAreasForUser: async (vbasoftwareDatabase: string, userID: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
252
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
253
+ assertParamExists('listSecurityAreasForUser', 'vbasoftwareDatabase', vbasoftwareDatabase)
254
+ // verify required parameter 'userID' is not null or undefined
255
+ assertParamExists('listSecurityAreasForUser', 'userID', userID)
256
+ const localVarPath = `/security-area-users`;
257
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
258
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
259
+ let baseOptions;
260
+ if (configuration) {
261
+ baseOptions = configuration.baseOptions;
262
+ }
263
+
264
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
265
+ const localVarHeaderParameter = {} as any;
266
+ const localVarQueryParameter = {} as any;
267
+
268
+ // authentication apiKeyAuth required
269
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
270
+
271
+ // authentication bearerAuth required
272
+ // http bearer authentication required
273
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
274
+
275
+ if (userID !== undefined) {
276
+ localVarQueryParameter['userID'] = userID;
277
+ }
278
+
279
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
280
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
281
+ }
282
+
283
+
284
+
234
285
  setSearchParams(localVarUrlObj, localVarQueryParameter);
235
286
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
236
287
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -413,6 +464,18 @@ export const SecurityAreaUsersApiFp = function(configuration?: Configuration) {
413
464
  const localVarAxiosArgs = await localVarAxiosParamCreator.listSecurityAreaUser(vbasoftwareDatabase, securityArea, options);
414
465
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
415
466
  },
467
+ /**
468
+ * Lists all SecurityAreaUser objects for a given User ID. This will show all of the Areas in which a User is a member.
469
+ * @summary List SecurityAreaUser for a User ID
470
+ * @param {string} vbasoftwareDatabase Target database
471
+ * @param {string} userID User ID
472
+ * @param {*} [options] Override http request option.
473
+ * @throws {RequiredError}
474
+ */
475
+ async listSecurityAreasForUser(vbasoftwareDatabase: string, userID: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SecurityAreaUserListVBAResponse>> {
476
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listSecurityAreasForUser(vbasoftwareDatabase, userID, options);
477
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
478
+ },
416
479
  /**
417
480
  * Create or Update multiple SecurityAreaUser at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
418
481
  * @summary Create or Update Batch SecurityAreaUser
@@ -497,6 +560,17 @@ export const SecurityAreaUsersApiFactory = function (configuration?: Configurati
497
560
  listSecurityAreaUser(vbasoftwareDatabase: string, securityArea: string, options?: any): AxiosPromise<SecurityAreaUserListVBAResponse> {
498
561
  return localVarFp.listSecurityAreaUser(vbasoftwareDatabase, securityArea, options).then((request) => request(axios, basePath));
499
562
  },
563
+ /**
564
+ * Lists all SecurityAreaUser objects for a given User ID. This will show all of the Areas in which a User is a member.
565
+ * @summary List SecurityAreaUser for a User ID
566
+ * @param {string} vbasoftwareDatabase Target database
567
+ * @param {string} userID User ID
568
+ * @param {*} [options] Override http request option.
569
+ * @throws {RequiredError}
570
+ */
571
+ listSecurityAreasForUser(vbasoftwareDatabase: string, userID: string, options?: any): AxiosPromise<SecurityAreaUserListVBAResponse> {
572
+ return localVarFp.listSecurityAreasForUser(vbasoftwareDatabase, userID, options).then((request) => request(axios, basePath));
573
+ },
500
574
  /**
501
575
  * Create or Update multiple SecurityAreaUser at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
502
576
  * @summary Create or Update Batch SecurityAreaUser
@@ -578,6 +652,17 @@ export interface SecurityAreaUsersApiInterface {
578
652
  */
579
653
  listSecurityAreaUser(vbasoftwareDatabase: string, securityArea: string, options?: AxiosRequestConfig): AxiosPromise<SecurityAreaUserListVBAResponse>;
580
654
 
655
+ /**
656
+ * Lists all SecurityAreaUser objects for a given User ID. This will show all of the Areas in which a User is a member.
657
+ * @summary List SecurityAreaUser for a User ID
658
+ * @param {string} vbasoftwareDatabase Target database
659
+ * @param {string} userID User ID
660
+ * @param {*} [options] Override http request option.
661
+ * @throws {RequiredError}
662
+ * @memberof SecurityAreaUsersApiInterface
663
+ */
664
+ listSecurityAreasForUser(vbasoftwareDatabase: string, userID: string, options?: AxiosRequestConfig): AxiosPromise<SecurityAreaUserListVBAResponse>;
665
+
581
666
  /**
582
667
  * Create or Update multiple SecurityAreaUser at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
583
668
  * @summary Create or Update Batch SecurityAreaUser
@@ -667,6 +752,19 @@ export class SecurityAreaUsersApi extends BaseAPI implements SecurityAreaUsersAp
667
752
  return SecurityAreaUsersApiFp(this.configuration).listSecurityAreaUser(vbasoftwareDatabase, securityArea, options).then((request) => request(this.axios, this.basePath));
668
753
  }
669
754
 
755
+ /**
756
+ * Lists all SecurityAreaUser objects for a given User ID. This will show all of the Areas in which a User is a member.
757
+ * @summary List SecurityAreaUser for a User ID
758
+ * @param {string} vbasoftwareDatabase Target database
759
+ * @param {string} userID User ID
760
+ * @param {*} [options] Override http request option.
761
+ * @throws {RequiredError}
762
+ * @memberof SecurityAreaUsersApi
763
+ */
764
+ public listSecurityAreasForUser(vbasoftwareDatabase: string, userID: string, options?: AxiosRequestConfig) {
765
+ return SecurityAreaUsersApiFp(this.configuration).listSecurityAreasForUser(vbasoftwareDatabase, userID, options).then((request) => request(this.axios, this.basePath));
766
+ }
767
+
670
768
  /**
671
769
  * Create or Update multiple SecurityAreaUser at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
672
770
  * @summary Create or Update Batch SecurityAreaUser