@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20250815.1 → 1.20251010.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 (108) hide show
  1. package/.openapi-generator/FILES +40 -8
  2. package/api/accounting-api.ts +102 -0
  3. package/api/adv-accounting-api.ts +102 -0
  4. package/api/adv-billing-api.ts +30 -8
  5. package/api/adv-claim-api.ts +220 -0
  6. package/api/adv-reinsurance-api.ts +306 -0
  7. package/api/authentication-api.ts +190 -0
  8. package/api/company-data-api.ts +90 -0
  9. package/api/note-data-api.ts +195 -0
  10. package/api/password-policy-api.ts +258 -0
  11. package/api/plan-place-auth-api.ts +733 -0
  12. package/api/plan-place-auth-benefit-api.ts +773 -0
  13. package/api/premium-invoices-api.ts +30 -8
  14. package/api/reinsurance-contract-transactions-api.ts +208 -0
  15. package/api/reinsurance-contracts-api.ts +98 -0
  16. package/api/report-series-api.ts +102 -0
  17. package/api/subscribers-api.ts +17 -8
  18. package/api/zelis-redcard-api.ts +170 -0
  19. package/api.ts +4 -0
  20. package/docs/AccountingApi.md +57 -0
  21. package/docs/AdvAccountingApi.md +57 -0
  22. package/docs/AdvBillingApi.md +7 -1
  23. package/docs/AdvClaimApi.md +118 -0
  24. package/docs/AdvReinsuranceApi.md +174 -0
  25. package/docs/AuthenticationApi.md +110 -0
  26. package/docs/Claim.md +6 -0
  27. package/docs/ClaimBatch.md +6 -0
  28. package/docs/CompanyData.md +14 -0
  29. package/docs/CompanyDataApi.md +53 -0
  30. package/docs/DateTimeVBAResponse.md +24 -0
  31. package/docs/EmailReportDTO.md +0 -4
  32. package/docs/FaxReportDTO.md +0 -4
  33. package/docs/GenerateReinsAggTransaction.md +24 -0
  34. package/docs/GenerateReinsAggTransactionVBAResponse.md +24 -0
  35. package/docs/Members.md +19 -11
  36. package/docs/NoteDataApi.md +86 -0
  37. package/docs/PasswordPolicy.md +30 -0
  38. package/docs/PasswordPolicyApi.md +117 -0
  39. package/docs/PasswordPolicyVBAResponse.md +24 -0
  40. package/docs/PlanMaximum.md +2 -0
  41. package/docs/PlanPlaceAuth.md +38 -0
  42. package/docs/PlanPlaceAuthApi.md +372 -0
  43. package/docs/PlanPlaceAuthBenefit.md +32 -0
  44. package/docs/PlanPlaceAuthBenefitApi.md +387 -0
  45. package/docs/PlanPlaceAuthBenefitListVBAResponse.md +24 -0
  46. package/docs/PlanPlaceAuthBenefitVBAResponse.md +24 -0
  47. package/docs/PlanPlaceAuthListVBAResponse.md +24 -0
  48. package/docs/PlanPlaceAuthVBAResponse.md +24 -0
  49. package/docs/Plans.md +10 -0
  50. package/docs/PremiumInvoicesApi.md +7 -1
  51. package/docs/ReinsContract.md +2 -0
  52. package/docs/ReinsContractTrans.md +2 -0
  53. package/docs/ReinsContractTransClaim.md +2 -0
  54. package/docs/ReinsuranceContractTransactionsApi.md +118 -0
  55. package/docs/ReinsuranceContractsApi.md +56 -0
  56. package/docs/ReportDefinition.md +2 -0
  57. package/docs/ReportSeriesApi.md +57 -0
  58. package/docs/SMSDTO.md +0 -4
  59. package/docs/SubscribersApi.md +4 -1
  60. package/docs/VBABenefitInquiryRequest.md +6 -0
  61. package/docs/VBAProcessCorrespondenceTracking.md +22 -0
  62. package/docs/VBAProcessReceiptFile.md +24 -0
  63. package/docs/VBAReinsContractTransAmount.md +18 -0
  64. package/docs/VBAReinsContractTransClaim.md +14 -0
  65. package/docs/ZelisRedcardApi.md +64 -0
  66. package/docs/ZelisRedcardEOBRequest.md +26 -0
  67. package/docs/ZelisRedcardEOBResponse.md +24 -0
  68. package/docs/ZelisRedcardEOBResponseVBAResponse.md +24 -0
  69. package/models/claim-batch.ts +18 -0
  70. package/models/claim.ts +18 -0
  71. package/models/company-data.ts +42 -0
  72. package/models/{json-value.ts → date-time-vbaresponse.ts} +13 -13
  73. package/models/email-report-dto.ts +0 -15
  74. package/models/fax-report-dto.ts +0 -15
  75. package/models/generate-reins-agg-transaction-vbaresponse.ts +51 -0
  76. package/models/generate-reins-agg-transaction.ts +42 -0
  77. package/models/index.ts +16 -4
  78. package/models/members.ts +42 -18
  79. package/models/password-policy-vbaresponse.ts +51 -0
  80. package/models/password-policy.ts +60 -0
  81. package/models/plan-maximum.ts +6 -0
  82. package/models/plan-place-auth-benefit-list-vbaresponse.ts +51 -0
  83. package/models/plan-place-auth-benefit-vbaresponse.ts +51 -0
  84. package/models/plan-place-auth-benefit.ts +66 -0
  85. package/models/plan-place-auth-list-vbaresponse.ts +51 -0
  86. package/models/plan-place-auth-vbaresponse.ts +51 -0
  87. package/models/plan-place-auth.ts +84 -0
  88. package/models/plans.ts +30 -0
  89. package/models/reins-contract-trans-claim.ts +6 -0
  90. package/models/reins-contract-trans.ts +6 -0
  91. package/models/reins-contract.ts +6 -0
  92. package/models/report-definition.ts +6 -0
  93. package/models/smsdto.ts +0 -15
  94. package/models/vbabenefit-inquiry-request.ts +18 -0
  95. package/models/{json-node-options.ts → vbaprocess-correspondence-tracking.ts} +11 -5
  96. package/models/vbaprocess-receipt-file.ts +42 -0
  97. package/models/vbareins-contract-trans-amount.ts +54 -0
  98. package/models/vbareins-contract-trans-claim.ts +42 -0
  99. package/models/zelis-redcard-eobrequest.ts +48 -0
  100. package/models/zelis-redcard-eobresponse-vbaresponse.ts +51 -0
  101. package/models/zelis-redcard-eobresponse.ts +42 -0
  102. package/package.json +1 -1
  103. package/docs/CallbackDTO.md +0 -24
  104. package/docs/JsonNode.md +0 -24
  105. package/docs/JsonNodeOptions.md +0 -20
  106. package/docs/JsonValue.md +0 -24
  107. package/models/callback-dto.ts +0 -45
  108. package/models/json-node.ts +0 -45
@@ -0,0 +1,773 @@
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 type { Configuration } from '../configuration';
17
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
18
+ import globalAxios from 'axios';
19
+ // Some imports not used depending on template conditions
20
+ // @ts-ignore
21
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
22
+ // @ts-ignore
23
+ import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
24
+ // @ts-ignore
25
+ import type { MultiCodeResponseListVBAResponse } from '../models';
26
+ // @ts-ignore
27
+ import type { PlanPlaceAuthBenefit } from '../models';
28
+ // @ts-ignore
29
+ import type { PlanPlaceAuthBenefitListVBAResponse } from '../models';
30
+ // @ts-ignore
31
+ import type { PlanPlaceAuthBenefitVBAResponse } from '../models';
32
+ /**
33
+ * PlanPlaceAuthBenefitApi - axios parameter creator
34
+ * @export
35
+ */
36
+ export const PlanPlaceAuthBenefitApiAxiosParamCreator = function (configuration?: Configuration) {
37
+ return {
38
+ /**
39
+ * Creates a new PlanPlaceAuthBenefit
40
+ * @summary Create PlanPlaceAuthBenefit
41
+ * @param {string} vbasoftwareDatabase Target database
42
+ * @param {string} planID Plan ID
43
+ * @param {string} placeCode Place Code
44
+ * @param {string} benefitCode Benefit Code
45
+ * @param {PlanPlaceAuthBenefit} planPlaceAuthBenefit
46
+ * @param {*} [options] Override http request option.
47
+ * @throws {RequiredError}
48
+ */
49
+ createPlanPlaceAuthBenefit: async (vbasoftwareDatabase: string, planID: string, placeCode: string, benefitCode: string, planPlaceAuthBenefit: PlanPlaceAuthBenefit, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
50
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
51
+ assertParamExists('createPlanPlaceAuthBenefit', 'vbasoftwareDatabase', vbasoftwareDatabase)
52
+ // verify required parameter 'planID' is not null or undefined
53
+ assertParamExists('createPlanPlaceAuthBenefit', 'planID', planID)
54
+ // verify required parameter 'placeCode' is not null or undefined
55
+ assertParamExists('createPlanPlaceAuthBenefit', 'placeCode', placeCode)
56
+ // verify required parameter 'benefitCode' is not null or undefined
57
+ assertParamExists('createPlanPlaceAuthBenefit', 'benefitCode', benefitCode)
58
+ // verify required parameter 'planPlaceAuthBenefit' is not null or undefined
59
+ assertParamExists('createPlanPlaceAuthBenefit', 'planPlaceAuthBenefit', planPlaceAuthBenefit)
60
+ const localVarPath = `/plans/{Plan_ID}/places/{Place_Code}/auth-benefits/{Benefit_Code}`
61
+ .replace(`{${"Plan_ID"}}`, encodeURIComponent(String(planID)))
62
+ .replace(`{${"Place_Code"}}`, encodeURIComponent(String(placeCode)))
63
+ .replace(`{${"Benefit_Code"}}`, encodeURIComponent(String(benefitCode)));
64
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
65
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
66
+ let baseOptions;
67
+ if (configuration) {
68
+ baseOptions = configuration.baseOptions;
69
+ }
70
+
71
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
72
+ const localVarHeaderParameter = {} as any;
73
+ const localVarQueryParameter = {} as any;
74
+
75
+ // authentication apiKeyAuth required
76
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
77
+
78
+ // authentication bearerAuth required
79
+ // http bearer authentication required
80
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
81
+
82
+
83
+
84
+ localVarHeaderParameter['Content-Type'] = 'application/json';
85
+
86
+ if (vbasoftwareDatabase != null) {
87
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
88
+ }
89
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
90
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
91
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
92
+ localVarRequestOptions.data = serializeDataIfNeeded(planPlaceAuthBenefit, localVarRequestOptions, configuration)
93
+
94
+ return {
95
+ url: toPathString(localVarUrlObj),
96
+ options: localVarRequestOptions,
97
+ };
98
+ },
99
+ /**
100
+ * Deletes an PlanPlaceAuthBenefit
101
+ * @summary Delete PlanPlaceAuthBenefit
102
+ * @param {string} vbasoftwareDatabase Target database
103
+ * @param {string} planID Plan ID
104
+ * @param {string} placeCode Place Code
105
+ * @param {string} benefitCode Benefit Code
106
+ * @param {*} [options] Override http request option.
107
+ * @throws {RequiredError}
108
+ */
109
+ deletePlanPlaceAuthBenefit: async (vbasoftwareDatabase: string, planID: string, placeCode: string, benefitCode: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
110
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
111
+ assertParamExists('deletePlanPlaceAuthBenefit', 'vbasoftwareDatabase', vbasoftwareDatabase)
112
+ // verify required parameter 'planID' is not null or undefined
113
+ assertParamExists('deletePlanPlaceAuthBenefit', 'planID', planID)
114
+ // verify required parameter 'placeCode' is not null or undefined
115
+ assertParamExists('deletePlanPlaceAuthBenefit', 'placeCode', placeCode)
116
+ // verify required parameter 'benefitCode' is not null or undefined
117
+ assertParamExists('deletePlanPlaceAuthBenefit', 'benefitCode', benefitCode)
118
+ const localVarPath = `/plans/{Plan_ID}/places/{Place_Code}/auth-benefits/{Benefit_Code}`
119
+ .replace(`{${"Plan_ID"}}`, encodeURIComponent(String(planID)))
120
+ .replace(`{${"Place_Code"}}`, encodeURIComponent(String(placeCode)))
121
+ .replace(`{${"Benefit_Code"}}`, encodeURIComponent(String(benefitCode)));
122
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
123
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
124
+ let baseOptions;
125
+ if (configuration) {
126
+ baseOptions = configuration.baseOptions;
127
+ }
128
+
129
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
130
+ const localVarHeaderParameter = {} as any;
131
+ const localVarQueryParameter = {} as any;
132
+
133
+ // authentication apiKeyAuth required
134
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
135
+
136
+ // authentication bearerAuth required
137
+ // http bearer authentication required
138
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
139
+
140
+
141
+
142
+ if (vbasoftwareDatabase != null) {
143
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
144
+ }
145
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
146
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
147
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
148
+
149
+ return {
150
+ url: toPathString(localVarUrlObj),
151
+ options: localVarRequestOptions,
152
+ };
153
+ },
154
+ /**
155
+ * Gets PlanPlaceAuthBenefit
156
+ * @summary Get PlanPlaceAuthBenefit
157
+ * @param {string} vbasoftwareDatabase Target database
158
+ * @param {string} planID Plan ID
159
+ * @param {string} placeCode Place Code
160
+ * @param {string} benefitCode Benefit Code
161
+ * @param {*} [options] Override http request option.
162
+ * @throws {RequiredError}
163
+ */
164
+ getPlanPlaceAuthBenefit: async (vbasoftwareDatabase: string, planID: string, placeCode: string, benefitCode: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
165
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
166
+ assertParamExists('getPlanPlaceAuthBenefit', 'vbasoftwareDatabase', vbasoftwareDatabase)
167
+ // verify required parameter 'planID' is not null or undefined
168
+ assertParamExists('getPlanPlaceAuthBenefit', 'planID', planID)
169
+ // verify required parameter 'placeCode' is not null or undefined
170
+ assertParamExists('getPlanPlaceAuthBenefit', 'placeCode', placeCode)
171
+ // verify required parameter 'benefitCode' is not null or undefined
172
+ assertParamExists('getPlanPlaceAuthBenefit', 'benefitCode', benefitCode)
173
+ const localVarPath = `/plans/{Plan_ID}/places/{Place_Code}/auth-benefits/{Benefit_Code}`
174
+ .replace(`{${"Plan_ID"}}`, encodeURIComponent(String(planID)))
175
+ .replace(`{${"Place_Code"}}`, encodeURIComponent(String(placeCode)))
176
+ .replace(`{${"Benefit_Code"}}`, encodeURIComponent(String(benefitCode)));
177
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
178
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
179
+ let baseOptions;
180
+ if (configuration) {
181
+ baseOptions = configuration.baseOptions;
182
+ }
183
+
184
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
185
+ const localVarHeaderParameter = {} as any;
186
+ const localVarQueryParameter = {} as any;
187
+
188
+ // authentication apiKeyAuth required
189
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
190
+
191
+ // authentication bearerAuth required
192
+ // http bearer authentication required
193
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
194
+
195
+
196
+
197
+ if (vbasoftwareDatabase != null) {
198
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
199
+ }
200
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
201
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
202
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
203
+
204
+ return {
205
+ url: toPathString(localVarUrlObj),
206
+ options: localVarRequestOptions,
207
+ };
208
+ },
209
+ /**
210
+ * Lists all PlanPlaceAuthBenefit for the given Plan_ID and Place_Code
211
+ * @summary List PlanPlaceAuthBenefit
212
+ * @param {string} vbasoftwareDatabase Target database
213
+ * @param {string} planID Plan ID
214
+ * @param {string} placeCode Place Code
215
+ * @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.
216
+ * @param {number} [page] Page
217
+ * @param {number} [pageSize] Page Size
218
+ * @param {*} [options] Override http request option.
219
+ * @throws {RequiredError}
220
+ */
221
+ listPlanPlaceAuthBenefit: async (vbasoftwareDatabase: string, planID: string, placeCode: string, sortBy?: string, page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
222
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
223
+ assertParamExists('listPlanPlaceAuthBenefit', 'vbasoftwareDatabase', vbasoftwareDatabase)
224
+ // verify required parameter 'planID' is not null or undefined
225
+ assertParamExists('listPlanPlaceAuthBenefit', 'planID', planID)
226
+ // verify required parameter 'placeCode' is not null or undefined
227
+ assertParamExists('listPlanPlaceAuthBenefit', 'placeCode', placeCode)
228
+ const localVarPath = `/plans/{Plan_ID}/places/{Place_Code}/auth-benefits`
229
+ .replace(`{${"Plan_ID"}}`, encodeURIComponent(String(planID)))
230
+ .replace(`{${"Place_Code"}}`, encodeURIComponent(String(placeCode)));
231
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
232
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
233
+ let baseOptions;
234
+ if (configuration) {
235
+ baseOptions = configuration.baseOptions;
236
+ }
237
+
238
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
239
+ const localVarHeaderParameter = {} as any;
240
+ const localVarQueryParameter = {} as any;
241
+
242
+ // authentication apiKeyAuth required
243
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
244
+
245
+ // authentication bearerAuth required
246
+ // http bearer authentication required
247
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
248
+
249
+ if (sortBy !== undefined) {
250
+ localVarQueryParameter['sortBy'] = sortBy;
251
+ }
252
+
253
+ if (page !== undefined) {
254
+ localVarQueryParameter['page'] = page;
255
+ }
256
+
257
+ if (pageSize !== undefined) {
258
+ localVarQueryParameter['pageSize'] = pageSize;
259
+ }
260
+
261
+
262
+
263
+ if (vbasoftwareDatabase != null) {
264
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
265
+ }
266
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
267
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
268
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
269
+
270
+ return {
271
+ url: toPathString(localVarUrlObj),
272
+ options: localVarRequestOptions,
273
+ };
274
+ },
275
+ /**
276
+ * Create or Update multiple PlanPlaceAuthBenefit at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
277
+ * @summary Create or Update Batch PlanPlaceAuthBenefit
278
+ * @param {string} vbasoftwareDatabase Target database
279
+ * @param {Array<PlanPlaceAuthBenefit>} planPlaceAuthBenefit
280
+ * @param {*} [options] Override http request option.
281
+ * @throws {RequiredError}
282
+ */
283
+ updateBatchPlanPlaceAuthBenefit: async (vbasoftwareDatabase: string, planPlaceAuthBenefit: Array<PlanPlaceAuthBenefit>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
284
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
285
+ assertParamExists('updateBatchPlanPlaceAuthBenefit', 'vbasoftwareDatabase', vbasoftwareDatabase)
286
+ // verify required parameter 'planPlaceAuthBenefit' is not null or undefined
287
+ assertParamExists('updateBatchPlanPlaceAuthBenefit', 'planPlaceAuthBenefit', planPlaceAuthBenefit)
288
+ const localVarPath = `/plan-place-auth-benefits-batch`;
289
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
290
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
291
+ let baseOptions;
292
+ if (configuration) {
293
+ baseOptions = configuration.baseOptions;
294
+ }
295
+
296
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
297
+ const localVarHeaderParameter = {} as any;
298
+ const localVarQueryParameter = {} as any;
299
+
300
+ // authentication apiKeyAuth required
301
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
302
+
303
+ // authentication bearerAuth required
304
+ // http bearer authentication required
305
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
306
+
307
+
308
+
309
+ localVarHeaderParameter['Content-Type'] = 'application/json';
310
+
311
+ if (vbasoftwareDatabase != null) {
312
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
313
+ }
314
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
315
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
316
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
317
+ localVarRequestOptions.data = serializeDataIfNeeded(planPlaceAuthBenefit, localVarRequestOptions, configuration)
318
+
319
+ return {
320
+ url: toPathString(localVarUrlObj),
321
+ options: localVarRequestOptions,
322
+ };
323
+ },
324
+ /**
325
+ * Updates a specific PlanPlaceAuthBenefit.
326
+ * @summary Update PlanPlaceAuthBenefit
327
+ * @param {string} vbasoftwareDatabase Target database
328
+ * @param {string} planID Plan ID
329
+ * @param {string} placeCode Place Code
330
+ * @param {string} benefitCode Benefit Code
331
+ * @param {PlanPlaceAuthBenefit} planPlaceAuthBenefit
332
+ * @param {*} [options] Override http request option.
333
+ * @throws {RequiredError}
334
+ */
335
+ updatePlanPlaceAuthBenefit: async (vbasoftwareDatabase: string, planID: string, placeCode: string, benefitCode: string, planPlaceAuthBenefit: PlanPlaceAuthBenefit, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
336
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
337
+ assertParamExists('updatePlanPlaceAuthBenefit', 'vbasoftwareDatabase', vbasoftwareDatabase)
338
+ // verify required parameter 'planID' is not null or undefined
339
+ assertParamExists('updatePlanPlaceAuthBenefit', 'planID', planID)
340
+ // verify required parameter 'placeCode' is not null or undefined
341
+ assertParamExists('updatePlanPlaceAuthBenefit', 'placeCode', placeCode)
342
+ // verify required parameter 'benefitCode' is not null or undefined
343
+ assertParamExists('updatePlanPlaceAuthBenefit', 'benefitCode', benefitCode)
344
+ // verify required parameter 'planPlaceAuthBenefit' is not null or undefined
345
+ assertParamExists('updatePlanPlaceAuthBenefit', 'planPlaceAuthBenefit', planPlaceAuthBenefit)
346
+ const localVarPath = `/plans/{Plan_ID}/places/{Place_Code}/auth-benefits/{Benefit_Code}`
347
+ .replace(`{${"Plan_ID"}}`, encodeURIComponent(String(planID)))
348
+ .replace(`{${"Place_Code"}}`, encodeURIComponent(String(placeCode)))
349
+ .replace(`{${"Benefit_Code"}}`, encodeURIComponent(String(benefitCode)));
350
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
351
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
352
+ let baseOptions;
353
+ if (configuration) {
354
+ baseOptions = configuration.baseOptions;
355
+ }
356
+
357
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
358
+ const localVarHeaderParameter = {} as any;
359
+ const localVarQueryParameter = {} as any;
360
+
361
+ // authentication apiKeyAuth required
362
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
363
+
364
+ // authentication bearerAuth required
365
+ // http bearer authentication required
366
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
367
+
368
+
369
+
370
+ localVarHeaderParameter['Content-Type'] = 'application/json';
371
+
372
+ if (vbasoftwareDatabase != null) {
373
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
374
+ }
375
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
376
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
377
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
378
+ localVarRequestOptions.data = serializeDataIfNeeded(planPlaceAuthBenefit, localVarRequestOptions, configuration)
379
+
380
+ return {
381
+ url: toPathString(localVarUrlObj),
382
+ options: localVarRequestOptions,
383
+ };
384
+ },
385
+ }
386
+ };
387
+
388
+ /**
389
+ * PlanPlaceAuthBenefitApi - functional programming interface
390
+ * @export
391
+ */
392
+ export const PlanPlaceAuthBenefitApiFp = function(configuration?: Configuration) {
393
+ const localVarAxiosParamCreator = PlanPlaceAuthBenefitApiAxiosParamCreator(configuration)
394
+ return {
395
+ /**
396
+ * Creates a new PlanPlaceAuthBenefit
397
+ * @summary Create PlanPlaceAuthBenefit
398
+ * @param {string} vbasoftwareDatabase Target database
399
+ * @param {string} planID Plan ID
400
+ * @param {string} placeCode Place Code
401
+ * @param {string} benefitCode Benefit Code
402
+ * @param {PlanPlaceAuthBenefit} planPlaceAuthBenefit
403
+ * @param {*} [options] Override http request option.
404
+ * @throws {RequiredError}
405
+ */
406
+ async createPlanPlaceAuthBenefit(vbasoftwareDatabase: string, planID: string, placeCode: string, benefitCode: string, planPlaceAuthBenefit: PlanPlaceAuthBenefit, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanPlaceAuthBenefitVBAResponse>> {
407
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createPlanPlaceAuthBenefit(vbasoftwareDatabase, planID, placeCode, benefitCode, planPlaceAuthBenefit, options);
408
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
409
+ const localVarOperationServerBasePath = operationServerMap['PlanPlaceAuthBenefitApi.createPlanPlaceAuthBenefit']?.[localVarOperationServerIndex]?.url;
410
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
411
+ },
412
+ /**
413
+ * Deletes an PlanPlaceAuthBenefit
414
+ * @summary Delete PlanPlaceAuthBenefit
415
+ * @param {string} vbasoftwareDatabase Target database
416
+ * @param {string} planID Plan ID
417
+ * @param {string} placeCode Place Code
418
+ * @param {string} benefitCode Benefit Code
419
+ * @param {*} [options] Override http request option.
420
+ * @throws {RequiredError}
421
+ */
422
+ async deletePlanPlaceAuthBenefit(vbasoftwareDatabase: string, planID: string, placeCode: string, benefitCode: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
423
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deletePlanPlaceAuthBenefit(vbasoftwareDatabase, planID, placeCode, benefitCode, options);
424
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
425
+ const localVarOperationServerBasePath = operationServerMap['PlanPlaceAuthBenefitApi.deletePlanPlaceAuthBenefit']?.[localVarOperationServerIndex]?.url;
426
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
427
+ },
428
+ /**
429
+ * Gets PlanPlaceAuthBenefit
430
+ * @summary Get PlanPlaceAuthBenefit
431
+ * @param {string} vbasoftwareDatabase Target database
432
+ * @param {string} planID Plan ID
433
+ * @param {string} placeCode Place Code
434
+ * @param {string} benefitCode Benefit Code
435
+ * @param {*} [options] Override http request option.
436
+ * @throws {RequiredError}
437
+ */
438
+ async getPlanPlaceAuthBenefit(vbasoftwareDatabase: string, planID: string, placeCode: string, benefitCode: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanPlaceAuthBenefitVBAResponse>> {
439
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPlanPlaceAuthBenefit(vbasoftwareDatabase, planID, placeCode, benefitCode, options);
440
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
441
+ const localVarOperationServerBasePath = operationServerMap['PlanPlaceAuthBenefitApi.getPlanPlaceAuthBenefit']?.[localVarOperationServerIndex]?.url;
442
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
443
+ },
444
+ /**
445
+ * Lists all PlanPlaceAuthBenefit for the given Plan_ID and Place_Code
446
+ * @summary List PlanPlaceAuthBenefit
447
+ * @param {string} vbasoftwareDatabase Target database
448
+ * @param {string} planID Plan ID
449
+ * @param {string} placeCode Place Code
450
+ * @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.
451
+ * @param {number} [page] Page
452
+ * @param {number} [pageSize] Page Size
453
+ * @param {*} [options] Override http request option.
454
+ * @throws {RequiredError}
455
+ */
456
+ async listPlanPlaceAuthBenefit(vbasoftwareDatabase: string, planID: string, placeCode: string, sortBy?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanPlaceAuthBenefitListVBAResponse>> {
457
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPlanPlaceAuthBenefit(vbasoftwareDatabase, planID, placeCode, sortBy, page, pageSize, options);
458
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
459
+ const localVarOperationServerBasePath = operationServerMap['PlanPlaceAuthBenefitApi.listPlanPlaceAuthBenefit']?.[localVarOperationServerIndex]?.url;
460
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
461
+ },
462
+ /**
463
+ * Create or Update multiple PlanPlaceAuthBenefit at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
464
+ * @summary Create or Update Batch PlanPlaceAuthBenefit
465
+ * @param {string} vbasoftwareDatabase Target database
466
+ * @param {Array<PlanPlaceAuthBenefit>} planPlaceAuthBenefit
467
+ * @param {*} [options] Override http request option.
468
+ * @throws {RequiredError}
469
+ */
470
+ async updateBatchPlanPlaceAuthBenefit(vbasoftwareDatabase: string, planPlaceAuthBenefit: Array<PlanPlaceAuthBenefit>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MultiCodeResponseListVBAResponse>> {
471
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateBatchPlanPlaceAuthBenefit(vbasoftwareDatabase, planPlaceAuthBenefit, options);
472
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
473
+ const localVarOperationServerBasePath = operationServerMap['PlanPlaceAuthBenefitApi.updateBatchPlanPlaceAuthBenefit']?.[localVarOperationServerIndex]?.url;
474
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
475
+ },
476
+ /**
477
+ * Updates a specific PlanPlaceAuthBenefit.
478
+ * @summary Update PlanPlaceAuthBenefit
479
+ * @param {string} vbasoftwareDatabase Target database
480
+ * @param {string} planID Plan ID
481
+ * @param {string} placeCode Place Code
482
+ * @param {string} benefitCode Benefit Code
483
+ * @param {PlanPlaceAuthBenefit} planPlaceAuthBenefit
484
+ * @param {*} [options] Override http request option.
485
+ * @throws {RequiredError}
486
+ */
487
+ async updatePlanPlaceAuthBenefit(vbasoftwareDatabase: string, planID: string, placeCode: string, benefitCode: string, planPlaceAuthBenefit: PlanPlaceAuthBenefit, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanPlaceAuthBenefitVBAResponse>> {
488
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatePlanPlaceAuthBenefit(vbasoftwareDatabase, planID, placeCode, benefitCode, planPlaceAuthBenefit, options);
489
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
490
+ const localVarOperationServerBasePath = operationServerMap['PlanPlaceAuthBenefitApi.updatePlanPlaceAuthBenefit']?.[localVarOperationServerIndex]?.url;
491
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
492
+ },
493
+ }
494
+ };
495
+
496
+ /**
497
+ * PlanPlaceAuthBenefitApi - factory interface
498
+ * @export
499
+ */
500
+ export const PlanPlaceAuthBenefitApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
501
+ const localVarFp = PlanPlaceAuthBenefitApiFp(configuration)
502
+ return {
503
+ /**
504
+ * Creates a new PlanPlaceAuthBenefit
505
+ * @summary Create PlanPlaceAuthBenefit
506
+ * @param {string} vbasoftwareDatabase Target database
507
+ * @param {string} planID Plan ID
508
+ * @param {string} placeCode Place Code
509
+ * @param {string} benefitCode Benefit Code
510
+ * @param {PlanPlaceAuthBenefit} planPlaceAuthBenefit
511
+ * @param {*} [options] Override http request option.
512
+ * @throws {RequiredError}
513
+ */
514
+ createPlanPlaceAuthBenefit(vbasoftwareDatabase: string, planID: string, placeCode: string, benefitCode: string, planPlaceAuthBenefit: PlanPlaceAuthBenefit, options?: RawAxiosRequestConfig): AxiosPromise<PlanPlaceAuthBenefitVBAResponse> {
515
+ return localVarFp.createPlanPlaceAuthBenefit(vbasoftwareDatabase, planID, placeCode, benefitCode, planPlaceAuthBenefit, options).then((request) => request(axios, basePath));
516
+ },
517
+ /**
518
+ * Deletes an PlanPlaceAuthBenefit
519
+ * @summary Delete PlanPlaceAuthBenefit
520
+ * @param {string} vbasoftwareDatabase Target database
521
+ * @param {string} planID Plan ID
522
+ * @param {string} placeCode Place Code
523
+ * @param {string} benefitCode Benefit Code
524
+ * @param {*} [options] Override http request option.
525
+ * @throws {RequiredError}
526
+ */
527
+ deletePlanPlaceAuthBenefit(vbasoftwareDatabase: string, planID: string, placeCode: string, benefitCode: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
528
+ return localVarFp.deletePlanPlaceAuthBenefit(vbasoftwareDatabase, planID, placeCode, benefitCode, options).then((request) => request(axios, basePath));
529
+ },
530
+ /**
531
+ * Gets PlanPlaceAuthBenefit
532
+ * @summary Get PlanPlaceAuthBenefit
533
+ * @param {string} vbasoftwareDatabase Target database
534
+ * @param {string} planID Plan ID
535
+ * @param {string} placeCode Place Code
536
+ * @param {string} benefitCode Benefit Code
537
+ * @param {*} [options] Override http request option.
538
+ * @throws {RequiredError}
539
+ */
540
+ getPlanPlaceAuthBenefit(vbasoftwareDatabase: string, planID: string, placeCode: string, benefitCode: string, options?: RawAxiosRequestConfig): AxiosPromise<PlanPlaceAuthBenefitVBAResponse> {
541
+ return localVarFp.getPlanPlaceAuthBenefit(vbasoftwareDatabase, planID, placeCode, benefitCode, options).then((request) => request(axios, basePath));
542
+ },
543
+ /**
544
+ * Lists all PlanPlaceAuthBenefit for the given Plan_ID and Place_Code
545
+ * @summary List PlanPlaceAuthBenefit
546
+ * @param {string} vbasoftwareDatabase Target database
547
+ * @param {string} planID Plan ID
548
+ * @param {string} placeCode Place Code
549
+ * @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.
550
+ * @param {number} [page] Page
551
+ * @param {number} [pageSize] Page Size
552
+ * @param {*} [options] Override http request option.
553
+ * @throws {RequiredError}
554
+ */
555
+ listPlanPlaceAuthBenefit(vbasoftwareDatabase: string, planID: string, placeCode: string, sortBy?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<PlanPlaceAuthBenefitListVBAResponse> {
556
+ return localVarFp.listPlanPlaceAuthBenefit(vbasoftwareDatabase, planID, placeCode, sortBy, page, pageSize, options).then((request) => request(axios, basePath));
557
+ },
558
+ /**
559
+ * Create or Update multiple PlanPlaceAuthBenefit at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
560
+ * @summary Create or Update Batch PlanPlaceAuthBenefit
561
+ * @param {string} vbasoftwareDatabase Target database
562
+ * @param {Array<PlanPlaceAuthBenefit>} planPlaceAuthBenefit
563
+ * @param {*} [options] Override http request option.
564
+ * @throws {RequiredError}
565
+ */
566
+ updateBatchPlanPlaceAuthBenefit(vbasoftwareDatabase: string, planPlaceAuthBenefit: Array<PlanPlaceAuthBenefit>, options?: RawAxiosRequestConfig): AxiosPromise<MultiCodeResponseListVBAResponse> {
567
+ return localVarFp.updateBatchPlanPlaceAuthBenefit(vbasoftwareDatabase, planPlaceAuthBenefit, options).then((request) => request(axios, basePath));
568
+ },
569
+ /**
570
+ * Updates a specific PlanPlaceAuthBenefit.
571
+ * @summary Update PlanPlaceAuthBenefit
572
+ * @param {string} vbasoftwareDatabase Target database
573
+ * @param {string} planID Plan ID
574
+ * @param {string} placeCode Place Code
575
+ * @param {string} benefitCode Benefit Code
576
+ * @param {PlanPlaceAuthBenefit} planPlaceAuthBenefit
577
+ * @param {*} [options] Override http request option.
578
+ * @throws {RequiredError}
579
+ */
580
+ updatePlanPlaceAuthBenefit(vbasoftwareDatabase: string, planID: string, placeCode: string, benefitCode: string, planPlaceAuthBenefit: PlanPlaceAuthBenefit, options?: RawAxiosRequestConfig): AxiosPromise<PlanPlaceAuthBenefitVBAResponse> {
581
+ return localVarFp.updatePlanPlaceAuthBenefit(vbasoftwareDatabase, planID, placeCode, benefitCode, planPlaceAuthBenefit, options).then((request) => request(axios, basePath));
582
+ },
583
+ };
584
+ };
585
+
586
+ /**
587
+ * PlanPlaceAuthBenefitApi - interface
588
+ * @export
589
+ * @interface PlanPlaceAuthBenefitApi
590
+ */
591
+ export interface PlanPlaceAuthBenefitApiInterface {
592
+ /**
593
+ * Creates a new PlanPlaceAuthBenefit
594
+ * @summary Create PlanPlaceAuthBenefit
595
+ * @param {string} vbasoftwareDatabase Target database
596
+ * @param {string} planID Plan ID
597
+ * @param {string} placeCode Place Code
598
+ * @param {string} benefitCode Benefit Code
599
+ * @param {PlanPlaceAuthBenefit} planPlaceAuthBenefit
600
+ * @param {*} [options] Override http request option.
601
+ * @throws {RequiredError}
602
+ * @memberof PlanPlaceAuthBenefitApiInterface
603
+ */
604
+ createPlanPlaceAuthBenefit(vbasoftwareDatabase: string, planID: string, placeCode: string, benefitCode: string, planPlaceAuthBenefit: PlanPlaceAuthBenefit, options?: RawAxiosRequestConfig): AxiosPromise<PlanPlaceAuthBenefitVBAResponse>;
605
+
606
+ /**
607
+ * Deletes an PlanPlaceAuthBenefit
608
+ * @summary Delete PlanPlaceAuthBenefit
609
+ * @param {string} vbasoftwareDatabase Target database
610
+ * @param {string} planID Plan ID
611
+ * @param {string} placeCode Place Code
612
+ * @param {string} benefitCode Benefit Code
613
+ * @param {*} [options] Override http request option.
614
+ * @throws {RequiredError}
615
+ * @memberof PlanPlaceAuthBenefitApiInterface
616
+ */
617
+ deletePlanPlaceAuthBenefit(vbasoftwareDatabase: string, planID: string, placeCode: string, benefitCode: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
618
+
619
+ /**
620
+ * Gets PlanPlaceAuthBenefit
621
+ * @summary Get PlanPlaceAuthBenefit
622
+ * @param {string} vbasoftwareDatabase Target database
623
+ * @param {string} planID Plan ID
624
+ * @param {string} placeCode Place Code
625
+ * @param {string} benefitCode Benefit Code
626
+ * @param {*} [options] Override http request option.
627
+ * @throws {RequiredError}
628
+ * @memberof PlanPlaceAuthBenefitApiInterface
629
+ */
630
+ getPlanPlaceAuthBenefit(vbasoftwareDatabase: string, planID: string, placeCode: string, benefitCode: string, options?: RawAxiosRequestConfig): AxiosPromise<PlanPlaceAuthBenefitVBAResponse>;
631
+
632
+ /**
633
+ * Lists all PlanPlaceAuthBenefit for the given Plan_ID and Place_Code
634
+ * @summary List PlanPlaceAuthBenefit
635
+ * @param {string} vbasoftwareDatabase Target database
636
+ * @param {string} planID Plan ID
637
+ * @param {string} placeCode Place Code
638
+ * @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.
639
+ * @param {number} [page] Page
640
+ * @param {number} [pageSize] Page Size
641
+ * @param {*} [options] Override http request option.
642
+ * @throws {RequiredError}
643
+ * @memberof PlanPlaceAuthBenefitApiInterface
644
+ */
645
+ listPlanPlaceAuthBenefit(vbasoftwareDatabase: string, planID: string, placeCode: string, sortBy?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<PlanPlaceAuthBenefitListVBAResponse>;
646
+
647
+ /**
648
+ * Create or Update multiple PlanPlaceAuthBenefit at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
649
+ * @summary Create or Update Batch PlanPlaceAuthBenefit
650
+ * @param {string} vbasoftwareDatabase Target database
651
+ * @param {Array<PlanPlaceAuthBenefit>} planPlaceAuthBenefit
652
+ * @param {*} [options] Override http request option.
653
+ * @throws {RequiredError}
654
+ * @memberof PlanPlaceAuthBenefitApiInterface
655
+ */
656
+ updateBatchPlanPlaceAuthBenefit(vbasoftwareDatabase: string, planPlaceAuthBenefit: Array<PlanPlaceAuthBenefit>, options?: RawAxiosRequestConfig): AxiosPromise<MultiCodeResponseListVBAResponse>;
657
+
658
+ /**
659
+ * Updates a specific PlanPlaceAuthBenefit.
660
+ * @summary Update PlanPlaceAuthBenefit
661
+ * @param {string} vbasoftwareDatabase Target database
662
+ * @param {string} planID Plan ID
663
+ * @param {string} placeCode Place Code
664
+ * @param {string} benefitCode Benefit Code
665
+ * @param {PlanPlaceAuthBenefit} planPlaceAuthBenefit
666
+ * @param {*} [options] Override http request option.
667
+ * @throws {RequiredError}
668
+ * @memberof PlanPlaceAuthBenefitApiInterface
669
+ */
670
+ updatePlanPlaceAuthBenefit(vbasoftwareDatabase: string, planID: string, placeCode: string, benefitCode: string, planPlaceAuthBenefit: PlanPlaceAuthBenefit, options?: RawAxiosRequestConfig): AxiosPromise<PlanPlaceAuthBenefitVBAResponse>;
671
+
672
+ }
673
+
674
+ /**
675
+ * PlanPlaceAuthBenefitApi - object-oriented interface
676
+ * @export
677
+ * @class PlanPlaceAuthBenefitApi
678
+ * @extends {BaseAPI}
679
+ */
680
+ export class PlanPlaceAuthBenefitApi extends BaseAPI implements PlanPlaceAuthBenefitApiInterface {
681
+ /**
682
+ * Creates a new PlanPlaceAuthBenefit
683
+ * @summary Create PlanPlaceAuthBenefit
684
+ * @param {string} vbasoftwareDatabase Target database
685
+ * @param {string} planID Plan ID
686
+ * @param {string} placeCode Place Code
687
+ * @param {string} benefitCode Benefit Code
688
+ * @param {PlanPlaceAuthBenefit} planPlaceAuthBenefit
689
+ * @param {*} [options] Override http request option.
690
+ * @throws {RequiredError}
691
+ * @memberof PlanPlaceAuthBenefitApi
692
+ */
693
+ public createPlanPlaceAuthBenefit(vbasoftwareDatabase: string, planID: string, placeCode: string, benefitCode: string, planPlaceAuthBenefit: PlanPlaceAuthBenefit, options?: RawAxiosRequestConfig) {
694
+ return PlanPlaceAuthBenefitApiFp(this.configuration).createPlanPlaceAuthBenefit(vbasoftwareDatabase, planID, placeCode, benefitCode, planPlaceAuthBenefit, options).then((request) => request(this.axios, this.basePath));
695
+ }
696
+
697
+ /**
698
+ * Deletes an PlanPlaceAuthBenefit
699
+ * @summary Delete PlanPlaceAuthBenefit
700
+ * @param {string} vbasoftwareDatabase Target database
701
+ * @param {string} planID Plan ID
702
+ * @param {string} placeCode Place Code
703
+ * @param {string} benefitCode Benefit Code
704
+ * @param {*} [options] Override http request option.
705
+ * @throws {RequiredError}
706
+ * @memberof PlanPlaceAuthBenefitApi
707
+ */
708
+ public deletePlanPlaceAuthBenefit(vbasoftwareDatabase: string, planID: string, placeCode: string, benefitCode: string, options?: RawAxiosRequestConfig) {
709
+ return PlanPlaceAuthBenefitApiFp(this.configuration).deletePlanPlaceAuthBenefit(vbasoftwareDatabase, planID, placeCode, benefitCode, options).then((request) => request(this.axios, this.basePath));
710
+ }
711
+
712
+ /**
713
+ * Gets PlanPlaceAuthBenefit
714
+ * @summary Get PlanPlaceAuthBenefit
715
+ * @param {string} vbasoftwareDatabase Target database
716
+ * @param {string} planID Plan ID
717
+ * @param {string} placeCode Place Code
718
+ * @param {string} benefitCode Benefit Code
719
+ * @param {*} [options] Override http request option.
720
+ * @throws {RequiredError}
721
+ * @memberof PlanPlaceAuthBenefitApi
722
+ */
723
+ public getPlanPlaceAuthBenefit(vbasoftwareDatabase: string, planID: string, placeCode: string, benefitCode: string, options?: RawAxiosRequestConfig) {
724
+ return PlanPlaceAuthBenefitApiFp(this.configuration).getPlanPlaceAuthBenefit(vbasoftwareDatabase, planID, placeCode, benefitCode, options).then((request) => request(this.axios, this.basePath));
725
+ }
726
+
727
+ /**
728
+ * Lists all PlanPlaceAuthBenefit for the given Plan_ID and Place_Code
729
+ * @summary List PlanPlaceAuthBenefit
730
+ * @param {string} vbasoftwareDatabase Target database
731
+ * @param {string} planID Plan ID
732
+ * @param {string} placeCode Place Code
733
+ * @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.
734
+ * @param {number} [page] Page
735
+ * @param {number} [pageSize] Page Size
736
+ * @param {*} [options] Override http request option.
737
+ * @throws {RequiredError}
738
+ * @memberof PlanPlaceAuthBenefitApi
739
+ */
740
+ public listPlanPlaceAuthBenefit(vbasoftwareDatabase: string, planID: string, placeCode: string, sortBy?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) {
741
+ return PlanPlaceAuthBenefitApiFp(this.configuration).listPlanPlaceAuthBenefit(vbasoftwareDatabase, planID, placeCode, sortBy, page, pageSize, options).then((request) => request(this.axios, this.basePath));
742
+ }
743
+
744
+ /**
745
+ * Create or Update multiple PlanPlaceAuthBenefit at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
746
+ * @summary Create or Update Batch PlanPlaceAuthBenefit
747
+ * @param {string} vbasoftwareDatabase Target database
748
+ * @param {Array<PlanPlaceAuthBenefit>} planPlaceAuthBenefit
749
+ * @param {*} [options] Override http request option.
750
+ * @throws {RequiredError}
751
+ * @memberof PlanPlaceAuthBenefitApi
752
+ */
753
+ public updateBatchPlanPlaceAuthBenefit(vbasoftwareDatabase: string, planPlaceAuthBenefit: Array<PlanPlaceAuthBenefit>, options?: RawAxiosRequestConfig) {
754
+ return PlanPlaceAuthBenefitApiFp(this.configuration).updateBatchPlanPlaceAuthBenefit(vbasoftwareDatabase, planPlaceAuthBenefit, options).then((request) => request(this.axios, this.basePath));
755
+ }
756
+
757
+ /**
758
+ * Updates a specific PlanPlaceAuthBenefit.
759
+ * @summary Update PlanPlaceAuthBenefit
760
+ * @param {string} vbasoftwareDatabase Target database
761
+ * @param {string} planID Plan ID
762
+ * @param {string} placeCode Place Code
763
+ * @param {string} benefitCode Benefit Code
764
+ * @param {PlanPlaceAuthBenefit} planPlaceAuthBenefit
765
+ * @param {*} [options] Override http request option.
766
+ * @throws {RequiredError}
767
+ * @memberof PlanPlaceAuthBenefitApi
768
+ */
769
+ public updatePlanPlaceAuthBenefit(vbasoftwareDatabase: string, planID: string, placeCode: string, benefitCode: string, planPlaceAuthBenefit: PlanPlaceAuthBenefit, options?: RawAxiosRequestConfig) {
770
+ return PlanPlaceAuthBenefitApiFp(this.configuration).updatePlanPlaceAuthBenefit(vbasoftwareDatabase, planID, placeCode, benefitCode, planPlaceAuthBenefit, options).then((request) => request(this.axios, this.basePath));
771
+ }
772
+ }
773
+