@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20250620.1 → 1.20250711.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 (51) hide show
  1. package/.openapi-generator/FILES +2 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/api/adv-benefits-api.ts +102 -0
  4. package/api/plan-benefits-api.ts +100 -0
  5. package/api/security-area-user-groups-api.ts +119 -13
  6. package/common.ts +4 -4
  7. package/docs/AdvBenefitsApi.md +57 -0
  8. package/docs/BillingRateModifyConfig.md +2 -2
  9. package/docs/ClaimBatchPayee.md +2 -0
  10. package/docs/ClaimPayee.md +2 -0
  11. package/docs/CriteriaDetail.md +10 -10
  12. package/docs/EmailReportDTO.md +1 -1
  13. package/docs/EnrollmentDisenroll.md +1 -1
  14. package/docs/EnrollmentDisenrollGroup.md +1 -1
  15. package/docs/FaxReportDTO.md +1 -1
  16. package/docs/IPWhitelist.md +1 -1
  17. package/docs/Members.md +1 -1
  18. package/docs/MessageThread.md +2 -2
  19. package/docs/Messages.md +7 -7
  20. package/docs/PlanBenefitCopy.md +54 -0
  21. package/docs/PlanBenefitsApi.md +57 -0
  22. package/docs/PremInvoiceApplyPayment.md +4 -4
  23. package/docs/ReinsContract.md +1 -1
  24. package/docs/SecurityAreaUserGroupsApi.md +61 -2
  25. package/docs/UserAuthenticationResponse.md +1 -1
  26. package/docs/UserChangeTempPasswordResponse.md +1 -1
  27. package/docs/VBAProblemDetails.md +4 -4
  28. package/docs/VBAProcessPaymentFile.md +1 -1
  29. package/docs/VBAUserStatus.md +1 -1
  30. package/models/billing-rate-modify-config.ts +2 -2
  31. package/models/claim-batch-payee.ts +6 -0
  32. package/models/claim-payee.ts +6 -0
  33. package/models/criteria-detail.ts +10 -10
  34. package/models/email-report-dto.ts +1 -1
  35. package/models/enrollment-disenroll-group.ts +1 -1
  36. package/models/enrollment-disenroll.ts +1 -1
  37. package/models/fax-report-dto.ts +1 -1
  38. package/models/index.ts +1 -0
  39. package/models/ipwhitelist.ts +1 -1
  40. package/models/members.ts +1 -1
  41. package/models/message-thread.ts +2 -2
  42. package/models/messages.ts +7 -7
  43. package/models/plan-benefit-copy.ts +132 -0
  44. package/models/prem-invoice-apply-payment.ts +4 -4
  45. package/models/reins-contract.ts +1 -1
  46. package/models/user-authentication-response.ts +1 -1
  47. package/models/user-change-temp-password-response.ts +1 -1
  48. package/models/vbaproblem-details.ts +4 -4
  49. package/models/vbaprocess-payment-file.ts +1 -1
  50. package/models/vbauser-status.ts +1 -1
  51. package/package.json +1 -1
@@ -3224,6 +3224,7 @@ docs/PlanBenefitCluster.md
3224
3224
  docs/PlanBenefitClusterListVBAResponse.md
3225
3225
  docs/PlanBenefitClusterVBAResponse.md
3226
3226
  docs/PlanBenefitClustersApi.md
3227
+ docs/PlanBenefitCopy.md
3227
3228
  docs/PlanBenefitDiagnosisExCodesApi.md
3228
3229
  docs/PlanBenefitDiagnosticCodesApi.md
3229
3230
  docs/PlanBenefitLevel.md
@@ -6210,6 +6211,7 @@ models/plan-benefit-cascade.ts
6210
6211
  models/plan-benefit-cluster-list-vbaresponse.ts
6211
6212
  models/plan-benefit-cluster-vbaresponse.ts
6212
6213
  models/plan-benefit-cluster.ts
6214
+ models/plan-benefit-copy.ts
6213
6215
  models/plan-benefit-level-list-vbaresponse.ts
6214
6216
  models/plan-benefit-level-vbaresponse.ts
6215
6217
  models/plan-benefit-level.ts
@@ -1 +1 @@
1
- 7.13.0
1
+ 7.14.0
@@ -22,6 +22,10 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
22
22
  // @ts-ignore
23
23
  import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
24
24
  // @ts-ignore
25
+ import type { PlanBenefitCopy } from '../models';
26
+ // @ts-ignore
27
+ import type { PlanBenefitsVBAResponse } from '../models';
28
+ // @ts-ignore
25
29
  import type { PlanCopy } from '../models';
26
30
  // @ts-ignore
27
31
  import type { PlansVBAResponse } from '../models';
@@ -75,6 +79,55 @@ export const AdvBenefitsApiAxiosParamCreator = function (configuration?: Configu
75
79
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
76
80
  localVarRequestOptions.data = serializeDataIfNeeded(planCopy, localVarRequestOptions, configuration)
77
81
 
82
+ return {
83
+ url: toPathString(localVarUrlObj),
84
+ options: localVarRequestOptions,
85
+ };
86
+ },
87
+ /**
88
+ * Copies an existing Plan Benefit to another existing Plan.
89
+ * @summary Copy Plan Benefit
90
+ * @param {string} vbasoftwareDatabase Target database
91
+ * @param {PlanBenefitCopy} planBenefitCopy
92
+ * @param {*} [options] Override http request option.
93
+ * @throws {RequiredError}
94
+ */
95
+ copyPlanBenefit: async (vbasoftwareDatabase: string, planBenefitCopy: PlanBenefitCopy, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
96
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
97
+ assertParamExists('copyPlanBenefit', 'vbasoftwareDatabase', vbasoftwareDatabase)
98
+ // verify required parameter 'planBenefitCopy' is not null or undefined
99
+ assertParamExists('copyPlanBenefit', 'planBenefitCopy', planBenefitCopy)
100
+ const localVarPath = `/plans-benefits-copy`;
101
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
102
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
103
+ let baseOptions;
104
+ if (configuration) {
105
+ baseOptions = configuration.baseOptions;
106
+ }
107
+
108
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
109
+ const localVarHeaderParameter = {} as any;
110
+ const localVarQueryParameter = {} as any;
111
+
112
+ // authentication apiKeyAuth required
113
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
114
+
115
+ // authentication bearerAuth required
116
+ // http bearer authentication required
117
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
118
+
119
+
120
+
121
+ localVarHeaderParameter['Content-Type'] = 'application/json';
122
+
123
+ if (vbasoftwareDatabase != null) {
124
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
125
+ }
126
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
127
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
128
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
129
+ localVarRequestOptions.data = serializeDataIfNeeded(planBenefitCopy, localVarRequestOptions, configuration)
130
+
78
131
  return {
79
132
  url: toPathString(localVarUrlObj),
80
133
  options: localVarRequestOptions,
@@ -104,6 +157,20 @@ export const AdvBenefitsApiFp = function(configuration?: Configuration) {
104
157
  const localVarOperationServerBasePath = operationServerMap['AdvBenefitsApi.copyPlan']?.[localVarOperationServerIndex]?.url;
105
158
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
106
159
  },
160
+ /**
161
+ * Copies an existing Plan Benefit to another existing Plan.
162
+ * @summary Copy Plan Benefit
163
+ * @param {string} vbasoftwareDatabase Target database
164
+ * @param {PlanBenefitCopy} planBenefitCopy
165
+ * @param {*} [options] Override http request option.
166
+ * @throws {RequiredError}
167
+ */
168
+ async copyPlanBenefit(vbasoftwareDatabase: string, planBenefitCopy: PlanBenefitCopy, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanBenefitsVBAResponse>> {
169
+ const localVarAxiosArgs = await localVarAxiosParamCreator.copyPlanBenefit(vbasoftwareDatabase, planBenefitCopy, options);
170
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
171
+ const localVarOperationServerBasePath = operationServerMap['AdvBenefitsApi.copyPlanBenefit']?.[localVarOperationServerIndex]?.url;
172
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
173
+ },
107
174
  }
108
175
  };
109
176
 
@@ -125,6 +192,17 @@ export const AdvBenefitsApiFactory = function (configuration?: Configuration, ba
125
192
  copyPlan(vbasoftwareDatabase: string, planCopy: PlanCopy, options?: RawAxiosRequestConfig): AxiosPromise<PlansVBAResponse> {
126
193
  return localVarFp.copyPlan(vbasoftwareDatabase, planCopy, options).then((request) => request(axios, basePath));
127
194
  },
195
+ /**
196
+ * Copies an existing Plan Benefit to another existing Plan.
197
+ * @summary Copy Plan Benefit
198
+ * @param {string} vbasoftwareDatabase Target database
199
+ * @param {PlanBenefitCopy} planBenefitCopy
200
+ * @param {*} [options] Override http request option.
201
+ * @throws {RequiredError}
202
+ */
203
+ copyPlanBenefit(vbasoftwareDatabase: string, planBenefitCopy: PlanBenefitCopy, options?: RawAxiosRequestConfig): AxiosPromise<PlanBenefitsVBAResponse> {
204
+ return localVarFp.copyPlanBenefit(vbasoftwareDatabase, planBenefitCopy, options).then((request) => request(axios, basePath));
205
+ },
128
206
  };
129
207
  };
130
208
 
@@ -145,6 +223,17 @@ export interface AdvBenefitsApiInterface {
145
223
  */
146
224
  copyPlan(vbasoftwareDatabase: string, planCopy: PlanCopy, options?: RawAxiosRequestConfig): AxiosPromise<PlansVBAResponse>;
147
225
 
226
+ /**
227
+ * Copies an existing Plan Benefit to another existing Plan.
228
+ * @summary Copy Plan Benefit
229
+ * @param {string} vbasoftwareDatabase Target database
230
+ * @param {PlanBenefitCopy} planBenefitCopy
231
+ * @param {*} [options] Override http request option.
232
+ * @throws {RequiredError}
233
+ * @memberof AdvBenefitsApiInterface
234
+ */
235
+ copyPlanBenefit(vbasoftwareDatabase: string, planBenefitCopy: PlanBenefitCopy, options?: RawAxiosRequestConfig): AxiosPromise<PlanBenefitsVBAResponse>;
236
+
148
237
  }
149
238
 
150
239
  /**
@@ -166,5 +255,18 @@ export class AdvBenefitsApi extends BaseAPI implements AdvBenefitsApiInterface {
166
255
  public copyPlan(vbasoftwareDatabase: string, planCopy: PlanCopy, options?: RawAxiosRequestConfig) {
167
256
  return AdvBenefitsApiFp(this.configuration).copyPlan(vbasoftwareDatabase, planCopy, options).then((request) => request(this.axios, this.basePath));
168
257
  }
258
+
259
+ /**
260
+ * Copies an existing Plan Benefit to another existing Plan.
261
+ * @summary Copy Plan Benefit
262
+ * @param {string} vbasoftwareDatabase Target database
263
+ * @param {PlanBenefitCopy} planBenefitCopy
264
+ * @param {*} [options] Override http request option.
265
+ * @throws {RequiredError}
266
+ * @memberof AdvBenefitsApi
267
+ */
268
+ public copyPlanBenefit(vbasoftwareDatabase: string, planBenefitCopy: PlanBenefitCopy, options?: RawAxiosRequestConfig) {
269
+ return AdvBenefitsApiFp(this.configuration).copyPlanBenefit(vbasoftwareDatabase, planBenefitCopy, options).then((request) => request(this.axios, this.basePath));
270
+ }
169
271
  }
170
272
 
@@ -26,6 +26,8 @@ import type { BenefitCodesListVBAResponse } from '../models';
26
26
  // @ts-ignore
27
27
  import type { MultiCodeResponseListVBAResponse } from '../models';
28
28
  // @ts-ignore
29
+ import type { PlanBenefitCopy } from '../models';
30
+ // @ts-ignore
29
31
  import type { PlanBenefits } from '../models';
30
32
  // @ts-ignore
31
33
  import type { PlanBenefitsListVBAResponse } from '../models';
@@ -37,6 +39,55 @@ import type { PlanBenefitsVBAResponse } from '../models';
37
39
  */
38
40
  export const PlanBenefitsApiAxiosParamCreator = function (configuration?: Configuration) {
39
41
  return {
42
+ /**
43
+ * Copies an existing Plan Benefit to another existing Plan.
44
+ * @summary Copy Plan Benefit
45
+ * @param {string} vbasoftwareDatabase Target database
46
+ * @param {PlanBenefitCopy} planBenefitCopy
47
+ * @param {*} [options] Override http request option.
48
+ * @throws {RequiredError}
49
+ */
50
+ copyPlanBenefit: async (vbasoftwareDatabase: string, planBenefitCopy: PlanBenefitCopy, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
51
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
52
+ assertParamExists('copyPlanBenefit', 'vbasoftwareDatabase', vbasoftwareDatabase)
53
+ // verify required parameter 'planBenefitCopy' is not null or undefined
54
+ assertParamExists('copyPlanBenefit', 'planBenefitCopy', planBenefitCopy)
55
+ const localVarPath = `/plans-benefits-copy`;
56
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
57
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
58
+ let baseOptions;
59
+ if (configuration) {
60
+ baseOptions = configuration.baseOptions;
61
+ }
62
+
63
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
64
+ const localVarHeaderParameter = {} as any;
65
+ const localVarQueryParameter = {} as any;
66
+
67
+ // authentication apiKeyAuth required
68
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
69
+
70
+ // authentication bearerAuth required
71
+ // http bearer authentication required
72
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
73
+
74
+
75
+
76
+ localVarHeaderParameter['Content-Type'] = 'application/json';
77
+
78
+ if (vbasoftwareDatabase != null) {
79
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
80
+ }
81
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
82
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
83
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
84
+ localVarRequestOptions.data = serializeDataIfNeeded(planBenefitCopy, localVarRequestOptions, configuration)
85
+
86
+ return {
87
+ url: toPathString(localVarUrlObj),
88
+ options: localVarRequestOptions,
89
+ };
90
+ },
40
91
  /**
41
92
  * Creates a new PlanBenefits
42
93
  * @summary Create PlanBenefits
@@ -410,6 +461,20 @@ export const PlanBenefitsApiAxiosParamCreator = function (configuration?: Config
410
461
  export const PlanBenefitsApiFp = function(configuration?: Configuration) {
411
462
  const localVarAxiosParamCreator = PlanBenefitsApiAxiosParamCreator(configuration)
412
463
  return {
464
+ /**
465
+ * Copies an existing Plan Benefit to another existing Plan.
466
+ * @summary Copy Plan Benefit
467
+ * @param {string} vbasoftwareDatabase Target database
468
+ * @param {PlanBenefitCopy} planBenefitCopy
469
+ * @param {*} [options] Override http request option.
470
+ * @throws {RequiredError}
471
+ */
472
+ async copyPlanBenefit(vbasoftwareDatabase: string, planBenefitCopy: PlanBenefitCopy, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanBenefitsVBAResponse>> {
473
+ const localVarAxiosArgs = await localVarAxiosParamCreator.copyPlanBenefit(vbasoftwareDatabase, planBenefitCopy, options);
474
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
475
+ const localVarOperationServerBasePath = operationServerMap['PlanBenefitsApi.copyPlanBenefit']?.[localVarOperationServerIndex]?.url;
476
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
477
+ },
413
478
  /**
414
479
  * Creates a new PlanBenefits
415
480
  * @summary Create PlanBenefits
@@ -525,6 +590,17 @@ export const PlanBenefitsApiFp = function(configuration?: Configuration) {
525
590
  export const PlanBenefitsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
526
591
  const localVarFp = PlanBenefitsApiFp(configuration)
527
592
  return {
593
+ /**
594
+ * Copies an existing Plan Benefit to another existing Plan.
595
+ * @summary Copy Plan Benefit
596
+ * @param {string} vbasoftwareDatabase Target database
597
+ * @param {PlanBenefitCopy} planBenefitCopy
598
+ * @param {*} [options] Override http request option.
599
+ * @throws {RequiredError}
600
+ */
601
+ copyPlanBenefit(vbasoftwareDatabase: string, planBenefitCopy: PlanBenefitCopy, options?: RawAxiosRequestConfig): AxiosPromise<PlanBenefitsVBAResponse> {
602
+ return localVarFp.copyPlanBenefit(vbasoftwareDatabase, planBenefitCopy, options).then((request) => request(axios, basePath));
603
+ },
528
604
  /**
529
605
  * Creates a new PlanBenefits
530
606
  * @summary Create PlanBenefits
@@ -618,6 +694,17 @@ export const PlanBenefitsApiFactory = function (configuration?: Configuration, b
618
694
  * @interface PlanBenefitsApi
619
695
  */
620
696
  export interface PlanBenefitsApiInterface {
697
+ /**
698
+ * Copies an existing Plan Benefit to another existing Plan.
699
+ * @summary Copy Plan Benefit
700
+ * @param {string} vbasoftwareDatabase Target database
701
+ * @param {PlanBenefitCopy} planBenefitCopy
702
+ * @param {*} [options] Override http request option.
703
+ * @throws {RequiredError}
704
+ * @memberof PlanBenefitsApiInterface
705
+ */
706
+ copyPlanBenefit(vbasoftwareDatabase: string, planBenefitCopy: PlanBenefitCopy, options?: RawAxiosRequestConfig): AxiosPromise<PlanBenefitsVBAResponse>;
707
+
621
708
  /**
622
709
  * Creates a new PlanBenefits
623
710
  * @summary Create PlanBenefits
@@ -711,6 +798,19 @@ export interface PlanBenefitsApiInterface {
711
798
  * @extends {BaseAPI}
712
799
  */
713
800
  export class PlanBenefitsApi extends BaseAPI implements PlanBenefitsApiInterface {
801
+ /**
802
+ * Copies an existing Plan Benefit to another existing Plan.
803
+ * @summary Copy Plan Benefit
804
+ * @param {string} vbasoftwareDatabase Target database
805
+ * @param {PlanBenefitCopy} planBenefitCopy
806
+ * @param {*} [options] Override http request option.
807
+ * @throws {RequiredError}
808
+ * @memberof PlanBenefitsApi
809
+ */
810
+ public copyPlanBenefit(vbasoftwareDatabase: string, planBenefitCopy: PlanBenefitCopy, options?: RawAxiosRequestConfig) {
811
+ return PlanBenefitsApiFp(this.configuration).copyPlanBenefit(vbasoftwareDatabase, planBenefitCopy, options).then((request) => request(this.axios, this.basePath));
812
+ }
813
+
714
814
  /**
715
815
  * Creates a new PlanBenefits
716
816
  * @summary Create PlanBenefits
@@ -243,14 +243,15 @@ export const SecurityAreaUserGroupsApiAxiosParamCreator = function (configuratio
243
243
  };
244
244
  },
245
245
  /**
246
- * Lists all SecurityAreaUserGroup securityArea
246
+ * Lists all SecurityAreaUserGroup for a given securityArea with optional filtering by UserGroup_Key
247
247
  * @summary List SecurityAreaUserGroup
248
248
  * @param {string} vbasoftwareDatabase Target database
249
249
  * @param {string} securityArea Security Area
250
+ * @param {number} [userGroupKey] Optional filter for UserGroup_Key.
250
251
  * @param {*} [options] Override http request option.
251
252
  * @throws {RequiredError}
252
253
  */
253
- listSecurityAreaUserGroup: async (vbasoftwareDatabase: string, securityArea: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
254
+ listSecurityAreaUserGroup: async (vbasoftwareDatabase: string, securityArea: string, userGroupKey?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
254
255
  // verify required parameter 'vbasoftwareDatabase' is not null or undefined
255
256
  assertParamExists('listSecurityAreaUserGroup', 'vbasoftwareDatabase', vbasoftwareDatabase)
256
257
  // verify required parameter 'securityArea' is not null or undefined
@@ -275,6 +276,58 @@ export const SecurityAreaUserGroupsApiAxiosParamCreator = function (configuratio
275
276
  // http bearer authentication required
276
277
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
277
278
 
279
+ if (userGroupKey !== undefined) {
280
+ localVarQueryParameter['UserGroup_Key'] = userGroupKey;
281
+ }
282
+
283
+
284
+
285
+ if (vbasoftwareDatabase != null) {
286
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
287
+ }
288
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
289
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
290
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
291
+
292
+ return {
293
+ url: toPathString(localVarUrlObj),
294
+ options: localVarRequestOptions,
295
+ };
296
+ },
297
+ /**
298
+ * Lists all SecurityAreaUserGroup records across all security areas. If UserGroup_Key is provided, filters by that value.
299
+ * @summary List SecurityAreaUserGroup with optional UserGroup Key filter
300
+ * @param {string} vbasoftwareDatabase Target database
301
+ * @param {number} [userGroupKey] Optional filter for UserGroup_Key. If not provided, returns all records.
302
+ * @param {*} [options] Override http request option.
303
+ * @throws {RequiredError}
304
+ */
305
+ listSecurityAreaUserGroupByUserGroupKey: async (vbasoftwareDatabase: string, userGroupKey?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
306
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
307
+ assertParamExists('listSecurityAreaUserGroupByUserGroupKey', 'vbasoftwareDatabase', vbasoftwareDatabase)
308
+ const localVarPath = `/security-area-user-groups`;
309
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
310
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
311
+ let baseOptions;
312
+ if (configuration) {
313
+ baseOptions = configuration.baseOptions;
314
+ }
315
+
316
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
317
+ const localVarHeaderParameter = {} as any;
318
+ const localVarQueryParameter = {} as any;
319
+
320
+ // authentication apiKeyAuth required
321
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
322
+
323
+ // authentication bearerAuth required
324
+ // http bearer authentication required
325
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
326
+
327
+ if (userGroupKey !== undefined) {
328
+ localVarQueryParameter['userGroupKey'] = userGroupKey;
329
+ }
330
+
278
331
 
279
332
 
280
333
  if (vbasoftwareDatabase != null) {
@@ -469,19 +522,34 @@ export const SecurityAreaUserGroupsApiFp = function(configuration?: Configuratio
469
522
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
470
523
  },
471
524
  /**
472
- * Lists all SecurityAreaUserGroup securityArea
525
+ * Lists all SecurityAreaUserGroup for a given securityArea with optional filtering by UserGroup_Key
473
526
  * @summary List SecurityAreaUserGroup
474
527
  * @param {string} vbasoftwareDatabase Target database
475
528
  * @param {string} securityArea Security Area
529
+ * @param {number} [userGroupKey] Optional filter for UserGroup_Key.
476
530
  * @param {*} [options] Override http request option.
477
531
  * @throws {RequiredError}
478
532
  */
479
- async listSecurityAreaUserGroup(vbasoftwareDatabase: string, securityArea: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SecurityAreaUserGroupListVBAResponse>> {
480
- const localVarAxiosArgs = await localVarAxiosParamCreator.listSecurityAreaUserGroup(vbasoftwareDatabase, securityArea, options);
533
+ async listSecurityAreaUserGroup(vbasoftwareDatabase: string, securityArea: string, userGroupKey?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SecurityAreaUserGroupListVBAResponse>> {
534
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listSecurityAreaUserGroup(vbasoftwareDatabase, securityArea, userGroupKey, options);
481
535
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
482
536
  const localVarOperationServerBasePath = operationServerMap['SecurityAreaUserGroupsApi.listSecurityAreaUserGroup']?.[localVarOperationServerIndex]?.url;
483
537
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
484
538
  },
539
+ /**
540
+ * Lists all SecurityAreaUserGroup records across all security areas. If UserGroup_Key is provided, filters by that value.
541
+ * @summary List SecurityAreaUserGroup with optional UserGroup Key filter
542
+ * @param {string} vbasoftwareDatabase Target database
543
+ * @param {number} [userGroupKey] Optional filter for UserGroup_Key. If not provided, returns all records.
544
+ * @param {*} [options] Override http request option.
545
+ * @throws {RequiredError}
546
+ */
547
+ async listSecurityAreaUserGroupByUserGroupKey(vbasoftwareDatabase: string, userGroupKey?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SecurityAreaUserGroupListVBAResponse>> {
548
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listSecurityAreaUserGroupByUserGroupKey(vbasoftwareDatabase, userGroupKey, options);
549
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
550
+ const localVarOperationServerBasePath = operationServerMap['SecurityAreaUserGroupsApi.listSecurityAreaUserGroupByUserGroupKey']?.[localVarOperationServerIndex]?.url;
551
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
552
+ },
485
553
  /**
486
554
  * Create or Update multiple SecurityAreaUserGroup records at once. If the entity exists, it will be updated; if it does not exist, it will be created. **Please note**: The `Security_Area` and `UserGroup_Key` fields represent the primary identifiers for these records and cannot be modified during an update. Ensure these values remain consistent with the original records when performing updates.
487
555
  * @summary Create or Update Batch SecurityAreaUserGroup
@@ -571,15 +639,27 @@ export const SecurityAreaUserGroupsApiFactory = function (configuration?: Config
571
639
  return localVarFp.listSecureGroupsForUserID(vbasoftwareDatabase, userID, options).then((request) => request(axios, basePath));
572
640
  },
573
641
  /**
574
- * Lists all SecurityAreaUserGroup securityArea
642
+ * Lists all SecurityAreaUserGroup for a given securityArea with optional filtering by UserGroup_Key
575
643
  * @summary List SecurityAreaUserGroup
576
644
  * @param {string} vbasoftwareDatabase Target database
577
645
  * @param {string} securityArea Security Area
646
+ * @param {number} [userGroupKey] Optional filter for UserGroup_Key.
578
647
  * @param {*} [options] Override http request option.
579
648
  * @throws {RequiredError}
580
649
  */
581
- listSecurityAreaUserGroup(vbasoftwareDatabase: string, securityArea: string, options?: RawAxiosRequestConfig): AxiosPromise<SecurityAreaUserGroupListVBAResponse> {
582
- return localVarFp.listSecurityAreaUserGroup(vbasoftwareDatabase, securityArea, options).then((request) => request(axios, basePath));
650
+ listSecurityAreaUserGroup(vbasoftwareDatabase: string, securityArea: string, userGroupKey?: number, options?: RawAxiosRequestConfig): AxiosPromise<SecurityAreaUserGroupListVBAResponse> {
651
+ return localVarFp.listSecurityAreaUserGroup(vbasoftwareDatabase, securityArea, userGroupKey, options).then((request) => request(axios, basePath));
652
+ },
653
+ /**
654
+ * Lists all SecurityAreaUserGroup records across all security areas. If UserGroup_Key is provided, filters by that value.
655
+ * @summary List SecurityAreaUserGroup with optional UserGroup Key filter
656
+ * @param {string} vbasoftwareDatabase Target database
657
+ * @param {number} [userGroupKey] Optional filter for UserGroup_Key. If not provided, returns all records.
658
+ * @param {*} [options] Override http request option.
659
+ * @throws {RequiredError}
660
+ */
661
+ listSecurityAreaUserGroupByUserGroupKey(vbasoftwareDatabase: string, userGroupKey?: number, options?: RawAxiosRequestConfig): AxiosPromise<SecurityAreaUserGroupListVBAResponse> {
662
+ return localVarFp.listSecurityAreaUserGroupByUserGroupKey(vbasoftwareDatabase, userGroupKey, options).then((request) => request(axios, basePath));
583
663
  },
584
664
  /**
585
665
  * Create or Update multiple SecurityAreaUserGroup records at once. If the entity exists, it will be updated; if it does not exist, it will be created. **Please note**: The `Security_Area` and `UserGroup_Key` fields represent the primary identifiers for these records and cannot be modified during an update. Ensure these values remain consistent with the original records when performing updates.
@@ -663,15 +743,27 @@ export interface SecurityAreaUserGroupsApiInterface {
663
743
  listSecureGroupsForUserID(vbasoftwareDatabase: string, userID: string, options?: RawAxiosRequestConfig): AxiosPromise<StringListVBAResponse>;
664
744
 
665
745
  /**
666
- * Lists all SecurityAreaUserGroup securityArea
746
+ * Lists all SecurityAreaUserGroup for a given securityArea with optional filtering by UserGroup_Key
667
747
  * @summary List SecurityAreaUserGroup
668
748
  * @param {string} vbasoftwareDatabase Target database
669
749
  * @param {string} securityArea Security Area
750
+ * @param {number} [userGroupKey] Optional filter for UserGroup_Key.
751
+ * @param {*} [options] Override http request option.
752
+ * @throws {RequiredError}
753
+ * @memberof SecurityAreaUserGroupsApiInterface
754
+ */
755
+ listSecurityAreaUserGroup(vbasoftwareDatabase: string, securityArea: string, userGroupKey?: number, options?: RawAxiosRequestConfig): AxiosPromise<SecurityAreaUserGroupListVBAResponse>;
756
+
757
+ /**
758
+ * Lists all SecurityAreaUserGroup records across all security areas. If UserGroup_Key is provided, filters by that value.
759
+ * @summary List SecurityAreaUserGroup with optional UserGroup Key filter
760
+ * @param {string} vbasoftwareDatabase Target database
761
+ * @param {number} [userGroupKey] Optional filter for UserGroup_Key. If not provided, returns all records.
670
762
  * @param {*} [options] Override http request option.
671
763
  * @throws {RequiredError}
672
764
  * @memberof SecurityAreaUserGroupsApiInterface
673
765
  */
674
- listSecurityAreaUserGroup(vbasoftwareDatabase: string, securityArea: string, options?: RawAxiosRequestConfig): AxiosPromise<SecurityAreaUserGroupListVBAResponse>;
766
+ listSecurityAreaUserGroupByUserGroupKey(vbasoftwareDatabase: string, userGroupKey?: number, options?: RawAxiosRequestConfig): AxiosPromise<SecurityAreaUserGroupListVBAResponse>;
675
767
 
676
768
  /**
677
769
  * Create or Update multiple SecurityAreaUserGroup records at once. If the entity exists, it will be updated; if it does not exist, it will be created. **Please note**: The `Security_Area` and `UserGroup_Key` fields represent the primary identifiers for these records and cannot be modified during an update. Ensure these values remain consistent with the original records when performing updates.
@@ -763,16 +855,30 @@ export class SecurityAreaUserGroupsApi extends BaseAPI implements SecurityAreaUs
763
855
  }
764
856
 
765
857
  /**
766
- * Lists all SecurityAreaUserGroup securityArea
858
+ * Lists all SecurityAreaUserGroup for a given securityArea with optional filtering by UserGroup_Key
767
859
  * @summary List SecurityAreaUserGroup
768
860
  * @param {string} vbasoftwareDatabase Target database
769
861
  * @param {string} securityArea Security Area
862
+ * @param {number} [userGroupKey] Optional filter for UserGroup_Key.
863
+ * @param {*} [options] Override http request option.
864
+ * @throws {RequiredError}
865
+ * @memberof SecurityAreaUserGroupsApi
866
+ */
867
+ public listSecurityAreaUserGroup(vbasoftwareDatabase: string, securityArea: string, userGroupKey?: number, options?: RawAxiosRequestConfig) {
868
+ return SecurityAreaUserGroupsApiFp(this.configuration).listSecurityAreaUserGroup(vbasoftwareDatabase, securityArea, userGroupKey, options).then((request) => request(this.axios, this.basePath));
869
+ }
870
+
871
+ /**
872
+ * Lists all SecurityAreaUserGroup records across all security areas. If UserGroup_Key is provided, filters by that value.
873
+ * @summary List SecurityAreaUserGroup with optional UserGroup Key filter
874
+ * @param {string} vbasoftwareDatabase Target database
875
+ * @param {number} [userGroupKey] Optional filter for UserGroup_Key. If not provided, returns all records.
770
876
  * @param {*} [options] Override http request option.
771
877
  * @throws {RequiredError}
772
878
  * @memberof SecurityAreaUserGroupsApi
773
879
  */
774
- public listSecurityAreaUserGroup(vbasoftwareDatabase: string, securityArea: string, options?: RawAxiosRequestConfig) {
775
- return SecurityAreaUserGroupsApiFp(this.configuration).listSecurityAreaUserGroup(vbasoftwareDatabase, securityArea, options).then((request) => request(this.axios, this.basePath));
880
+ public listSecurityAreaUserGroupByUserGroupKey(vbasoftwareDatabase: string, userGroupKey?: number, options?: RawAxiosRequestConfig) {
881
+ return SecurityAreaUserGroupsApiFp(this.configuration).listSecurityAreaUserGroupByUserGroupKey(vbasoftwareDatabase, userGroupKey, options).then((request) => request(this.axios, this.basePath));
776
882
  }
777
883
 
778
884
  /**
package/common.ts CHANGED
@@ -89,17 +89,17 @@ function setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: an
89
89
  if (typeof parameter === "object") {
90
90
  if (Array.isArray(parameter)) {
91
91
  (parameter as any[]).forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));
92
- }
92
+ }
93
93
  else {
94
- Object.keys(parameter).forEach(currentKey =>
94
+ Object.keys(parameter).forEach(currentKey =>
95
95
  setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`)
96
96
  );
97
97
  }
98
- }
98
+ }
99
99
  else {
100
100
  if (urlSearchParams.has(key)) {
101
101
  urlSearchParams.append(key, parameter);
102
- }
102
+ }
103
103
  else {
104
104
  urlSearchParams.set(key, parameter);
105
105
  }
@@ -5,6 +5,7 @@ All URIs are relative to *https://vbapi.vbasoftware.com/vbasoftware*
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
7
  |[**copyPlan**](#copyplan) | **POST** /plans-copy | Copy Plan|
8
+ |[**copyPlanBenefit**](#copyplanbenefit) | **POST** /plans-benefits-copy | Copy Plan Benefit|
8
9
 
9
10
  # **copyPlan**
10
11
  > PlansVBAResponse copyPlan(planCopy)
@@ -62,3 +63,59 @@ const { status, data } = await apiInstance.copyPlan(
62
63
 
63
64
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
64
65
 
66
+ # **copyPlanBenefit**
67
+ > PlanBenefitsVBAResponse copyPlanBenefit(planBenefitCopy)
68
+
69
+ Copies an existing Plan Benefit to another existing Plan.
70
+
71
+ ### Example
72
+
73
+ ```typescript
74
+ import {
75
+ AdvBenefitsApi,
76
+ Configuration,
77
+ PlanBenefitCopy
78
+ } from './api';
79
+
80
+ const configuration = new Configuration();
81
+ const apiInstance = new AdvBenefitsApi(configuration);
82
+
83
+ let vbasoftwareDatabase: string; //Target database (default to undefined)
84
+ let planBenefitCopy: PlanBenefitCopy; //
85
+
86
+ const { status, data } = await apiInstance.copyPlanBenefit(
87
+ vbasoftwareDatabase,
88
+ planBenefitCopy
89
+ );
90
+ ```
91
+
92
+ ### Parameters
93
+
94
+ |Name | Type | Description | Notes|
95
+ |------------- | ------------- | ------------- | -------------|
96
+ | **planBenefitCopy** | **PlanBenefitCopy**| | |
97
+ | **vbasoftwareDatabase** | [**string**] | Target database | defaults to undefined|
98
+
99
+
100
+ ### Return type
101
+
102
+ **PlanBenefitsVBAResponse**
103
+
104
+ ### Authorization
105
+
106
+ [apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)
107
+
108
+ ### HTTP request headers
109
+
110
+ - **Content-Type**: application/json, text/json, application/*+json
111
+ - **Accept**: text/plain, application/json, text/json
112
+
113
+
114
+ ### HTTP response details
115
+ | Status code | Description | Response headers |
116
+ |-------------|-------------|------------------|
117
+ |**200** | Success | - |
118
+ |**401** | Unauthorized | - |
119
+
120
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
121
+
@@ -16,8 +16,8 @@ Name | Type | Description | Notes
16
16
  **division_ID** | **string** | Used in both Rate Copy and Rate Change | [optional] [default to undefined]
17
17
  **keep_Division_ID** | **boolean** | Used in both Rate Copy and Rate Change | [optional] [default to undefined]
18
18
  **premRate_Type** | **string** | Used in both Rate Copy and Rate Change | [optional] [default to undefined]
19
- **rate_Option** | **number** | Used in both Rate Copy and Rate Change 1 - Use Existing; 2 - Update Existing; 3 - Create New; | [optional] [default to undefined]
20
- **payee_Option** | **number** | Used in both Rate Copy and Rate Change 1 - Use Existing Rates; 2 - Create New Rates; 3 - Add; | [optional] [default to undefined]
19
+ **rate_Option** | **number** | Used in both Rate Copy and Rate Change 1 - Use Existing; 2 - Update Existing; 3 - Create New; | [optional] [default to undefined]
20
+ **payee_Option** | **number** | Used in both Rate Copy and Rate Change 1 - Use Existing Rates; 2 - Create New Rates; 3 - Add; | [optional] [default to undefined]
21
21
  **existing_Rate_Term_Date** | **string** | Used only with Rate Change | [optional] [default to undefined]
22
22
  **new_Rate_Effective_Date** | **string** | Used only with Rate Change | [optional] [default to undefined]
23
23
  **new_Rate_Term_Date** | **string** | Used only with Rate Change | [optional] [default to undefined]
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
19
19
  **payTo_City** | **string** | City of the address that should be used for payments to the Payee. | [optional] [default to undefined]
20
20
  **payTo_State** | **string** | State of the Payee\&#39;s address used for payments. | [optional] [default to undefined]
21
21
  **payTo_Zip** | **string** | Zip Code of the Payee\&#39;s address used for payments. | [optional] [default to undefined]
22
+ **payee_NPI** | **string** | | [optional] [default to undefined]
22
23
 
23
24
  ## Example
24
25
 
@@ -40,6 +41,7 @@ const instance: ClaimBatchPayee = {
40
41
  payTo_City,
41
42
  payTo_State,
42
43
  payTo_Zip,
44
+ payee_NPI,
43
45
  };
44
46
  ```
45
47
 
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
19
19
  **payTo_City** | **string** | City of the address that should be used for payments to the Payee. | [optional] [default to undefined]
20
20
  **payTo_State** | **string** | State of the Payee\&#39;s address used for payments. | [optional] [default to undefined]
21
21
  **payTo_Zip** | **string** | Zip Code of the Payee\&#39;s address used for payments. | [optional] [default to undefined]
22
+ **payee_NPI** | **string** | | [optional] [default to undefined]
22
23
 
23
24
  ## Example
24
25
 
@@ -40,6 +41,7 @@ const instance: ClaimPayee = {
40
41
  payTo_City,
41
42
  payTo_State,
42
43
  payTo_Zip,
44
+ payee_NPI,
43
45
  };
44
46
  ```
45
47