@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20240302.1 → 1.20240913.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (617) hide show
  1. package/.openapi-generator/FILES +202 -0
  2. package/api/accounting-api.ts +165 -0
  3. package/api/adv-accounting-api.ts +99 -0
  4. package/api/adv-billing-api.ts +1973 -0
  5. package/api/adv-claim-api.ts +1144 -0
  6. package/api/adv-commission-api.ts +101 -0
  7. package/api/adv-enrollment-api.ts +383 -0
  8. package/api/adv-reinsurance-api.ts +643 -0
  9. package/api/armor-code-ex-code-api.ts +677 -0
  10. package/api/billing-api.ts +165 -0
  11. package/api/change-data-capture-api.ts +565 -0
  12. package/api/claim-adjudication-api.ts +10 -120
  13. package/api/claim-batch-api.ts +121 -0
  14. package/api/claim-batch-details-api.ts +140 -0
  15. package/api/claim-prompt-pays-api.ts +677 -0
  16. package/api/claim-reprice-remove-api.ts +677 -0
  17. package/api/client-config-api.ts +104 -0
  18. package/api/commission-rate-cluster-agency-rep-api.ts +677 -0
  19. package/api/criteria-api.ts +97 -0
  20. package/api/disability-event-case-changes-api.ts +677 -0
  21. package/api/disability-event-deduction-changes-api.ts +677 -0
  22. package/api/disability-event-field-changes-api.ts +677 -0
  23. package/api/disability-event-fields-api.ts +677 -0
  24. package/api/disability-event-groups-api.ts +677 -0
  25. package/api/disaster-locations-api.ts +677 -0
  26. package/api/disasters-api.ts +677 -0
  27. package/api/enrollment-waiting-period-subscribers-api.ts +17 -8
  28. package/api/fee-schedules-api.ts +163 -0
  29. package/api/gender-api.ts +677 -0
  30. package/api/grievances-api.ts +97 -0
  31. package/api/group-achpulls-api.ts +725 -0
  32. package/api/group-bill-cycle-payment-methods-api.ts +677 -0
  33. package/api/group-network-criterias-api.ts +31 -13
  34. package/api/member-address-history-api.ts +773 -0
  35. package/api/member-pre-ex-disclosed-diags-api.ts +773 -0
  36. package/api/multi-factor-auth-api.ts +731 -0
  37. package/api/network-profile-assignments-api.ts +846 -0
  38. package/api/network-profile-networks-api.ts +733 -0
  39. package/api/network-profiles-api.ts +677 -0
  40. package/api/payment-methods-api.ts +772 -0
  41. package/api/premium-distributions-api.ts +319 -0
  42. package/api/premium-invoice-subscribers-api.ts +291 -0
  43. package/api/premium-invoices-api.ts +1577 -219
  44. package/api/premium-rate-add-ons-api.ts +725 -0
  45. package/api/premium-rates-api.ts +119 -0
  46. package/api/reinsurance-conditional-specific-api.ts +725 -0
  47. package/api/reinsurance-conditional-specific-detail-api.ts +725 -0
  48. package/api/reinsurance-contract-transactions-api.ts +728 -1
  49. package/api/reinsurance-contracts-api.ts +126 -0
  50. package/api/reinsurance-domestic-claims-criteria-api.ts +725 -0
  51. package/api/security-field-set-details-api.ts +733 -0
  52. package/api/security-field-sets-api.ts +677 -0
  53. package/api/security-field-user-groups-api.ts +677 -0
  54. package/api/security-field-users-api.ts +677 -0
  55. package/api/security-fields-api.ts +677 -0
  56. package/api/subscriber-enrollments-api.ts +111 -0
  57. package/api/subscriber-sponsors-api.ts +677 -0
  58. package/api/subscriber-writing-agents-api.ts +725 -0
  59. package/api/subscribers-api.ts +321 -0
  60. package/api/tolerances-api.ts +677 -0
  61. package/api/user-account-api.ts +1437 -0
  62. package/api/user-api.ts +307 -0
  63. package/api/user-field-security-api.ts +191 -0
  64. package/api/user-group-mappings-api.ts +101 -5
  65. package/api.ts +40 -0
  66. package/models/adjudicate-benefit-match-detail-list-vbaresponse.ts +45 -0
  67. package/models/adjudicate-benefit-match-detail.ts +198 -0
  68. package/models/armor-code-ex-code-list-vbaresponse.ts +45 -0
  69. package/models/armor-code-ex-code-vbaresponse.ts +45 -0
  70. package/models/armor-code-ex-code.ts +66 -0
  71. package/models/auth-reference.ts +24 -0
  72. package/models/auth-review-level.ts +24 -0
  73. package/models/auth-review-severity.ts +24 -0
  74. package/models/auth-review-status.ts +24 -0
  75. package/models/auth-review-type.ts +24 -0
  76. package/models/auth-type-place.ts +24 -0
  77. package/models/auth-type.ts +26 -2
  78. package/models/benefit-category.ts +24 -0
  79. package/models/benefit-diag-codes.ts +26 -2
  80. package/models/benefit-place.ts +25 -1
  81. package/models/benefit-procedures.ts +25 -1
  82. package/models/benefit-provider-types.ts +25 -1
  83. package/models/benefit-specialty.ts +25 -1
  84. package/models/billing-basis.ts +24 -0
  85. package/models/billing-refund.ts +126 -0
  86. package/models/boolean-vbaresponse.ts +44 -0
  87. package/models/brokerage.ts +24 -0
  88. package/models/call-tracking-call-destination.ts +25 -1
  89. package/models/call-tracking-call-status.ts +25 -1
  90. package/models/call-tracking-call-type.ts +25 -1
  91. package/models/call-tracking-caller-type.ts +25 -1
  92. package/models/call-tracking-diag-codes.ts +4 -4
  93. package/models/capitation-adjustment-reason.ts +24 -0
  94. package/models/capitation-adjustment-type.ts +24 -0
  95. package/models/capitation-adjustment.ts +25 -1
  96. package/models/capitation-category.ts +24 -0
  97. package/models/capitation-plan-rate.ts +27 -3
  98. package/models/capitation-service-plan.ts +25 -1
  99. package/models/capitation-service-tin.ts +25 -1
  100. package/models/capitation-service.ts +27 -3
  101. package/models/capitation-transaction.ts +25 -1
  102. package/models/capitation-type.ts +24 -0
  103. package/models/capitation.ts +25 -1
  104. package/models/check-batch.ts +1 -1
  105. package/models/check-edit-set-detail.ts +28 -4
  106. package/models/check-status.ts +24 -0
  107. package/models/check-type.ts +24 -0
  108. package/models/checks-detail.ts +26 -2
  109. package/models/checks.ts +26 -2
  110. package/models/claim-adjustment-config.ts +121 -0
  111. package/models/claim-batch-detail.ts +53 -47
  112. package/models/claim-batch.ts +202 -202
  113. package/models/claim-custom-ex-code-rule.ts +52 -22
  114. package/models/claim-detail.ts +54 -48
  115. package/models/claim-pre-batch.ts +205 -205
  116. package/models/claim-prompt-pay-list-vbaresponse.ts +45 -0
  117. package/models/claim-prompt-pay-vbaresponse.ts +45 -0
  118. package/models/claim-prompt-pay.ts +90 -0
  119. package/models/claim-reprice-remove-list-vbaresponse.ts +45 -0
  120. package/models/claim-reprice-remove-vbaresponse.ts +45 -0
  121. package/models/claim-reprice-remove.ts +108 -0
  122. package/models/class.ts +24 -0
  123. package/models/cliacertificate.ts +25 -1
  124. package/models/cobraplan-criteria.ts +36 -0
  125. package/models/commchecks.ts +180 -0
  126. package/models/commission-activity.ts +11 -11
  127. package/models/commission-adjustment.ts +2 -2
  128. package/models/commission-agency-rep.ts +22 -16
  129. package/models/commission-agency.ts +25 -19
  130. package/models/commission-rate-cluster-agency-rep-list-vbaresponse.ts +45 -0
  131. package/models/commission-rate-cluster-agency-rep-vbaresponse.ts +45 -0
  132. package/models/commission-rate-cluster-agency-rep.ts +102 -0
  133. package/models/commission-rate-cluster.ts +11 -5
  134. package/models/commission-rate.ts +11 -11
  135. package/models/commission.ts +66 -54
  136. package/models/communication-method.ts +24 -0
  137. package/models/company-data.ts +149 -107
  138. package/models/copy-group-division.ts +4 -10
  139. package/models/cost-contain-zelis-ex-code.ts +2 -2
  140. package/models/country.ts +24 -0
  141. package/models/county.ts +24 -0
  142. package/models/coverage-type.ts +26 -2
  143. package/models/cred-amount.ts +25 -1
  144. package/models/cred-attestation-method.ts +25 -1
  145. package/models/cred-attestation-question.ts +29 -5
  146. package/models/cred-attestation-source.ts +25 -1
  147. package/models/cred-attestation-type.ts +25 -1
  148. package/models/cred-carrier.ts +25 -1
  149. package/models/cred-certification.ts +25 -1
  150. package/models/cred-confidential.ts +25 -1
  151. package/models/cred-contract.ts +25 -1
  152. package/models/cred-date.ts +25 -1
  153. package/models/cred-education-type.ts +25 -1
  154. package/models/cred-license-type.ts +25 -1
  155. package/models/cred-option.ts +25 -1
  156. package/models/cred-practice-category.ts +25 -1
  157. package/models/cred-practice-type.ts +26 -2
  158. package/models/cred-quality.ts +25 -1
  159. package/models/cred-service.ts +25 -1
  160. package/models/cred-status.ts +24 -0
  161. package/models/cred-technique.ts +25 -1
  162. package/models/cred-termination.ts +26 -2
  163. package/models/cred-type.ts +25 -1
  164. package/models/criteria-detail.ts +1 -1
  165. package/models/currency.ts +24 -0
  166. package/models/diagnostic-code-group.ts +24 -0
  167. package/models/disability-event-case-changed-list-vbaresponse.ts +45 -0
  168. package/models/disability-event-case-changed-vbaresponse.ts +45 -0
  169. package/models/disability-event-case-changed.ts +78 -0
  170. package/models/disability-event-deduction-changed-list-vbaresponse.ts +45 -0
  171. package/models/disability-event-deduction-changed-vbaresponse.ts +45 -0
  172. package/models/disability-event-deduction-changed.ts +72 -0
  173. package/models/disability-event-field-changed-list-vbaresponse.ts +45 -0
  174. package/models/disability-event-field-changed-vbaresponse.ts +45 -0
  175. package/models/disability-event-field-changed.ts +72 -0
  176. package/models/disability-event-field-list-vbaresponse.ts +45 -0
  177. package/models/disability-event-field-vbaresponse.ts +45 -0
  178. package/models/disability-event-field.ts +60 -0
  179. package/models/disability-event-group-list-vbaresponse.ts +45 -0
  180. package/models/disability-event-group-vbaresponse.ts +45 -0
  181. package/models/disability-event-group.ts +78 -0
  182. package/models/disable-mfasetup-request.ts +30 -0
  183. package/models/disaster-list-vbaresponse.ts +45 -0
  184. package/models/disaster-location-list-vbaresponse.ts +45 -0
  185. package/models/disaster-location-vbaresponse.ts +45 -0
  186. package/models/disaster-location.ts +78 -0
  187. package/models/disaster-vbaresponse.ts +45 -0
  188. package/models/disaster.ts +84 -0
  189. package/models/drgcluster.ts +24 -0
  190. package/models/drgcodes.ts +24 -0
  191. package/models/edicode-map.ts +25 -1
  192. package/models/eligibility-status.ts +26 -2
  193. package/models/enable-mfasetup-request.ts +30 -0
  194. package/models/enrollment-reenroll.ts +13 -0
  195. package/models/enrollment-waiting-period-by-hire-date-list-vbaresponse.ts +45 -0
  196. package/models/enrollment-waiting-period-by-hire-date.ts +48 -0
  197. package/models/ethnicity-code.ts +24 -0
  198. package/models/event-arg.ts +25 -1
  199. package/models/event-schedule.ts +35 -11
  200. package/models/event.ts +28 -4
  201. package/models/expense-type.ts +24 -0
  202. package/models/external-id.ts +24 -0
  203. package/models/fee-sched-detail.ts +1 -1
  204. package/models/fee-sched-modifier-discount.ts +1 -1
  205. package/models/fee-sched-procedure-group-adjust.ts +1 -1
  206. package/models/fee-sched-provider-type-discount.ts +1 -1
  207. package/models/fee-sched.ts +25 -1
  208. package/models/file-detail.ts +42 -0
  209. package/models/flex-issuance-type.ts +24 -0
  210. package/models/flex-vendor-card-status.ts +24 -0
  211. package/models/flex-vendor-purse-status.ts +24 -0
  212. package/models/flex-vendor.ts +24 -0
  213. package/models/forfeiture-status.ts +25 -1
  214. package/models/funding-account-category.ts +24 -0
  215. package/models/funding-account-signature.ts +28 -4
  216. package/models/funding-account-type.ts +24 -0
  217. package/models/funding-account.ts +48 -48
  218. package/models/funding-deposit.ts +25 -1
  219. package/models/funding-issue-type.ts +24 -0
  220. package/models/funding-process-claim-refund.ts +66 -0
  221. package/models/funding-reconcile-disbursed.ts +27 -3
  222. package/models/funding-reconcile-on-statement.ts +27 -3
  223. package/models/funding-reconcile-received.ts +27 -3
  224. package/models/funding-reconcile-status.ts +24 -0
  225. package/models/funding-reconcile.ts +28 -4
  226. package/models/funding-reference.ts +26 -2
  227. package/models/funding-request-claim.ts +28 -4
  228. package/models/funding-request-status.ts +24 -0
  229. package/models/funding-request-type.ts +24 -0
  230. package/models/funding-request.ts +1 -1
  231. package/models/funding-statement-format.ts +25 -1
  232. package/models/funding-status.ts +24 -0
  233. package/models/funding-type.ts +24 -0
  234. package/models/gender-list-vbaresponse.ts +45 -0
  235. package/models/gender-vbaresponse.ts +45 -0
  236. package/models/gender.ts +66 -0
  237. package/models/generate-prem-invoice.ts +90 -0
  238. package/models/generate-reins-transaction-vbaresponse.ts +45 -0
  239. package/models/generate-reins-transaction.ts +42 -0
  240. package/models/get-prem-distribution-list-result-list-vbaresponse.ts +45 -0
  241. package/models/get-prem-distribution-list-result.ts +78 -0
  242. package/models/get-prem-invoice-subscriber-list-result-list-vbaresponse.ts +45 -0
  243. package/models/get-prem-invoice-subscriber-list-result.ts +102 -0
  244. package/models/grievance-admin-change-type.ts +25 -1
  245. package/models/grievance-category.ts +25 -1
  246. package/models/grievance-issue-type.ts +25 -1
  247. package/models/grievance-resolution-type.ts +25 -1
  248. package/models/grievance-status.ts +25 -1
  249. package/models/grievance-type.ts +25 -1
  250. package/models/grievance.ts +25 -1
  251. package/models/group-account-period.ts +25 -1
  252. package/models/group-account-report.ts +25 -1
  253. package/models/group-achpull-list-vbaresponse.ts +45 -0
  254. package/models/group-achpull-vbaresponse.ts +45 -0
  255. package/models/group-achpull.ts +60 -0
  256. package/models/group-bill-cycle-payment-method-list-vbaresponse.ts +45 -0
  257. package/models/group-bill-cycle-payment-method-vbaresponse.ts +45 -0
  258. package/models/group-bill-cycle-payment-method.ts +78 -0
  259. package/models/group-change-coverage-start.ts +6 -0
  260. package/models/group-class.ts +42 -18
  261. package/models/group-company-data-ex-code-override.ts +25 -1
  262. package/models/group-contract-plan-premium.ts +28 -4
  263. package/models/group-contract-plan-rider-external-id.ts +25 -1
  264. package/models/group-contract-plan-rider.ts +27 -3
  265. package/models/group-contract-plan.ts +41 -17
  266. package/models/group-contract-tier.ts +25 -1
  267. package/models/group-contract.ts +28 -4
  268. package/models/group-division-captive.ts +24 -0
  269. package/models/group-division-idcode.ts +24 -0
  270. package/models/group-division.ts +16 -16
  271. package/models/group-flex-create.ts +31 -7
  272. package/models/group-flex-schedule.ts +26 -2
  273. package/models/group-flex.ts +27 -3
  274. package/models/group-network-add-on.ts +28 -4
  275. package/models/group-network.ts +26 -2
  276. package/models/group-payor-account-benefit.ts +24 -0
  277. package/models/group-payor-account.ts +26 -2
  278. package/models/group-plan-year-auto-prior-accum.ts +25 -1
  279. package/models/group-plan-year.ts +29 -5
  280. package/models/group-price-adjust.ts +25 -1
  281. package/models/group-self-admin.ts +27 -3
  282. package/models/group-student-age.ts +25 -1
  283. package/models/group-ucpercent-claim-type.ts +24 -0
  284. package/models/group-ucpercent-criteria.ts +3 -3
  285. package/models/group-ucpercent.ts +26 -2
  286. package/models/group-vbaplan-type-subscriber-id.ts +25 -1
  287. package/models/group-volume.ts +27 -3
  288. package/models/groups-participation-incentive.ts +25 -1
  289. package/models/groups.ts +21 -21
  290. package/models/hipaaadjustment-code.ts +24 -0
  291. package/models/hipaabenefit-code.ts +24 -0
  292. package/models/hipaaclaim-status-category-code.ts +24 -0
  293. package/models/hipaaclaim-status-code.ts +24 -0
  294. package/models/hipaaplan-type.ts +24 -0
  295. package/models/hipaareason.ts +24 -0
  296. package/models/hipaarelationship.ts +24 -0
  297. package/models/hipaatier.ts +24 -0
  298. package/models/idcard-request-type.ts +24 -0
  299. package/models/idcode-type.ts +8 -2
  300. package/models/idtype.ts +24 -0
  301. package/models/index.ts +162 -0
  302. package/models/invoice-reason.ts +25 -1
  303. package/models/ipwhitelist.ts +1 -1
  304. package/models/job-execution-meta-data.ts +25 -1
  305. package/models/job-execution.ts +25 -1
  306. package/models/job-type.ts +24 -0
  307. package/models/job.ts +24 -0
  308. package/models/json-node-options.ts +7 -1
  309. package/models/languages.ts +24 -0
  310. package/models/life-claim-advisor.ts +256 -0
  311. package/models/mem-enrollment-plan.ts +3 -3
  312. package/models/mem-enrollment-rider.ts +4 -4
  313. package/models/member-account-plan-payment.ts +26 -2
  314. package/models/member-account-plan.ts +25 -1
  315. package/models/member-account.ts +27 -3
  316. package/models/member-accum.ts +54 -30
  317. package/models/member-address-history-list-vbaresponse.ts +45 -0
  318. package/models/member-address-history-vbaresponse.ts +45 -0
  319. package/models/member-address-history.ts +216 -0
  320. package/models/member-address.ts +3 -3
  321. package/models/member-beneficiary-plan.ts +24 -0
  322. package/models/member-care-alert.ts +25 -1
  323. package/models/member-case-head.ts +25 -1
  324. package/models/member-class.ts +25 -1
  325. package/models/member-cobsavings.ts +25 -1
  326. package/models/member-college.ts +25 -1
  327. package/models/member-eligibility-status.ts +25 -1
  328. package/models/member-idcard-printed.ts +26 -2
  329. package/models/member-insurance.ts +38 -2
  330. package/models/member-network.ts +25 -1
  331. package/models/member-occupation.ts +25 -1
  332. package/models/member-payment.ts +27 -3
  333. package/models/member-pre-ex-diag.ts +25 -1
  334. package/models/member-pre-ex-disclosed-diag-list-vbaresponse.ts +45 -0
  335. package/models/member-pre-ex-disclosed-diag-vbaresponse.ts +45 -0
  336. package/models/member-pre-ex-disclosed-diag.ts +90 -0
  337. package/models/member-provider-alternate.ts +25 -1
  338. package/models/member-provider.ts +26 -2
  339. package/models/member-tax.ts +40 -10
  340. package/models/member-tooth-ex-code.ts +25 -1
  341. package/models/member-tooth.ts +28 -4
  342. package/models/member-vbaplan-type-id.ts +24 -0
  343. package/models/mfadevice-setup-request.ts +30 -0
  344. package/models/mfadevice-setup-response-vbaresponse.ts +45 -0
  345. package/models/mfadevice-setup-response.ts +36 -0
  346. package/models/network-procedure-cluster.ts +5 -5
  347. package/models/network-profile-assign-list-vbaresponse.ts +45 -0
  348. package/models/network-profile-assign-vbaresponse.ts +45 -0
  349. package/models/network-profile-assign.ts +78 -0
  350. package/models/network-profile-list-vbaresponse.ts +45 -0
  351. package/models/network-profile-network-list-vbaresponse.ts +45 -0
  352. package/models/network-profile-network-vbaresponse.ts +45 -0
  353. package/models/network-profile-network.ts +132 -0
  354. package/models/network-profile-vbaresponse.ts +45 -0
  355. package/models/network-profile.ts +66 -0
  356. package/models/networks.ts +24 -0
  357. package/models/note-category.ts +25 -1
  358. package/models/note-note-attachment.ts +38 -0
  359. package/models/note-priority.ts +24 -0
  360. package/models/note-reference.ts +26 -2
  361. package/models/note-source.ts +26 -2
  362. package/models/note-type.ts +24 -0
  363. package/models/payee.ts +2 -2
  364. package/models/payment-method-list-vbaresponse.ts +45 -0
  365. package/models/payment-method-vbaresponse.ts +45 -0
  366. package/models/payment-method.ts +72 -0
  367. package/models/payor-account-signature.ts +29 -5
  368. package/models/payor-account.ts +27 -3
  369. package/models/payor.ts +25 -1
  370. package/models/pbmtype.ts +24 -0
  371. package/models/place-codes.ts +26 -2
  372. package/models/plan-added-accum.ts +24 -0
  373. package/models/plan-auth-penalty.ts +26 -2
  374. package/models/plan-ben-code-diag-code.ts +26 -2
  375. package/models/plan-ben-code-place.ts +25 -1
  376. package/models/plan-ben-code-proc-code.ts +25 -1
  377. package/models/plan-ben-code-provider-type.ts +25 -1
  378. package/models/plan-ben-code-specialty.ts +25 -1
  379. package/models/plan-benefit-level.ts +26 -2
  380. package/models/plan-benefit-rate.ts +1 -1
  381. package/models/plan-benefits-diagnosis.ts +25 -1
  382. package/models/plan-benefits-modifiers.ts +24 -0
  383. package/models/plan-benefits-place-auth.ts +25 -1
  384. package/models/plan-benefits-place-co-ins.ts +26 -2
  385. package/models/plan-benefits-place-co-pay.ts +28 -4
  386. package/models/plan-benefits-place.ts +24 -0
  387. package/models/plan-benefits-procedures.ts +24 -0
  388. package/models/plan-benefits.ts +68 -32
  389. package/models/plan-diagnosis-age.ts +26 -2
  390. package/models/plan-display-type.ts +24 -0
  391. package/models/plan-display.ts +25 -1
  392. package/models/plan-lineage-detail.ts +26 -2
  393. package/models/plan-lineage.ts +24 -0
  394. package/models/plan-maximum-procedure.ts +26 -2
  395. package/models/plan-maximum.ts +26 -2
  396. package/models/plan-modifier.ts +27 -3
  397. package/models/plan-pre-ex.ts +5 -5
  398. package/models/plan-procedure-age-modifier.ts +27 -3
  399. package/models/plan-procedure-age.ts +27 -3
  400. package/models/plan-relationship-age.ts +27 -3
  401. package/models/plan-type.ts +22 -22
  402. package/models/plans.ts +56 -20
  403. package/models/policy-status.ts +25 -1
  404. package/models/practice-type.ts +24 -0
  405. package/models/prem-invoice-apply-payment.ts +78 -0
  406. package/models/prem-invoice-generate-inv-list-list-vbaresponse.ts +45 -0
  407. package/models/prem-invoice-generate-inv-list-result-list-vbaresponse.ts +45 -0
  408. package/models/prem-invoice-generate-inv-list-result.ts +138 -0
  409. package/models/prem-invoice-generate-inv-list.ts +138 -0
  410. package/models/prem-invoice-generate-self-admin-inv-list-list-vbaresponse.ts +45 -0
  411. package/models/prem-invoice-generate-self-admin-inv-list.ts +144 -0
  412. package/models/prem-invoice.ts +6 -6
  413. package/models/prem-payment-file-format.ts +2 -2
  414. package/models/prem-rate-add-on-list-vbaresponse.ts +45 -0
  415. package/models/prem-rate-add-on-vbaresponse.ts +45 -0
  416. package/models/prem-rate-add-on.ts +78 -0
  417. package/models/prem-rate-type.ts +3 -3
  418. package/models/prem-rate.ts +38 -14
  419. package/models/procedure-category.ts +26 -2
  420. package/models/procedure-code.ts +26 -2
  421. package/models/procedure-group.ts +25 -1
  422. package/models/provider-account.ts +27 -3
  423. package/models/provider-affiliation.ts +25 -1
  424. package/models/provider-alternate.ts +25 -1
  425. package/models/provider-apc.ts +27 -3
  426. package/models/provider-benefit-admin.ts +26 -2
  427. package/models/provider-cred-amount.ts +27 -3
  428. package/models/provider-cred-attestation.ts +27 -3
  429. package/models/provider-cred-certification.ts +27 -3
  430. package/models/provider-cred-contract.ts +26 -2
  431. package/models/provider-cred-county.ts +25 -1
  432. package/models/provider-cred-date.ts +27 -3
  433. package/models/provider-cred-education.ts +27 -3
  434. package/models/provider-cred-hours.ts +26 -2
  435. package/models/provider-cred-hyperlink.ts +26 -2
  436. package/models/provider-cred-license.ts +26 -2
  437. package/models/provider-cred-malpractice.ts +26 -2
  438. package/models/provider-cred-option.ts +26 -2
  439. package/models/provider-cred-practice-detail.ts +26 -2
  440. package/models/provider-cred-practice-office.ts +25 -1
  441. package/models/provider-cred-quality.ts +26 -2
  442. package/models/provider-cred-service.ts +26 -2
  443. package/models/provider-cred-technique.ts +26 -2
  444. package/models/provider-cred-termination.ts +26 -2
  445. package/models/provider-cred.ts +27 -3
  446. package/models/provider-drg.ts +28 -4
  447. package/models/provider-languages.ts +26 -2
  448. package/models/provider-network-modifier.ts +25 -1
  449. package/models/provider-network.ts +26 -2
  450. package/models/provider-payee.ts +9 -9
  451. package/models/provider-per-diem.ts +30 -6
  452. package/models/provider-rate-adjust.ts +27 -3
  453. package/models/provider-suffix.ts +24 -0
  454. package/models/provider-taxonomy.ts +25 -1
  455. package/models/provider-types.ts +25 -1
  456. package/models/reasons.ts +25 -1
  457. package/models/reins-accum.ts +26 -2
  458. package/models/reins-contract-conditional-specific-detail-list-vbaresponse.ts +45 -0
  459. package/models/reins-contract-conditional-specific-detail-vbaresponse.ts +45 -0
  460. package/models/reins-contract-conditional-specific-detail.ts +96 -0
  461. package/models/reins-contract-conditional-specific-list-vbaresponse.ts +45 -0
  462. package/models/reins-contract-conditional-specific-vbaresponse.ts +45 -0
  463. package/models/reins-contract-conditional-specific.ts +78 -0
  464. package/models/reins-contract-criteria-detail.ts +27 -3
  465. package/models/reins-contract-criteria.ts +26 -2
  466. package/models/reins-contract-cycle.ts +24 -0
  467. package/models/reins-contract-factor-criteria.ts +27 -3
  468. package/models/reins-contract-factor.ts +27 -3
  469. package/models/reins-contract-member-specific.ts +25 -1
  470. package/models/reins-contract-status.ts +24 -0
  471. package/models/reins-contract-trans-claim-detail.ts +27 -3
  472. package/models/reins-contract-trans-claim-status.ts +24 -0
  473. package/models/reins-contract-trans-claim.ts +44 -2
  474. package/models/reins-contract-trans-reimburse.ts +27 -3
  475. package/models/reins-contract-trans-status.ts +24 -0
  476. package/models/reins-contract-trans.ts +26 -2
  477. package/models/reins-contract-type.ts +24 -0
  478. package/models/reins-contract.ts +38 -8
  479. package/models/reins-domestic-claim-criteria-list-vbaresponse.ts +45 -0
  480. package/models/reins-domestic-claim-criteria-vbaresponse.ts +45 -0
  481. package/models/reins-domestic-claim-criteria.ts +78 -0
  482. package/models/reins-level.ts +26 -2
  483. package/models/relationships.ts +24 -0
  484. package/models/report-category.ts +24 -0
  485. package/models/report-definition.ts +11 -11
  486. package/models/report-queue-detail.ts +26 -2
  487. package/models/report-queue.ts +25 -1
  488. package/models/report-series-process-arg.ts +25 -1
  489. package/models/report-series-process.ts +15 -9
  490. package/models/report-series-step.ts +12 -12
  491. package/models/report-series.ts +25 -1
  492. package/models/report-track-priority.ts +26 -2
  493. package/models/report-track-received-status.ts +26 -2
  494. package/models/report-track-sent-status.ts +26 -2
  495. package/models/report-track-sent-to.ts +26 -2
  496. package/models/report-track-status.ts +26 -2
  497. package/models/search-request.ts +18 -0
  498. package/models/security-area-report.ts +25 -1
  499. package/models/security-area-user.ts +24 -0
  500. package/models/security-area.ts +24 -0
  501. package/models/security-field-list-vbaresponse.ts +45 -0
  502. package/models/security-field-set-detail-list-vbaresponse.ts +45 -0
  503. package/models/security-field-set-detail-vbaresponse.ts +45 -0
  504. package/models/security-field-set-detail.ts +72 -0
  505. package/models/security-field-set-list-vbaresponse.ts +45 -0
  506. package/models/security-field-set-vbaresponse.ts +45 -0
  507. package/models/security-field-set.ts +66 -0
  508. package/models/security-field-user-group-list-vbaresponse.ts +45 -0
  509. package/models/security-field-user-group-vbaresponse.ts +45 -0
  510. package/models/security-field-user-group.ts +84 -0
  511. package/models/security-field-user-list-vbaresponse.ts +45 -0
  512. package/models/security-field-user-vbaresponse.ts +45 -0
  513. package/models/security-field-user.ts +84 -0
  514. package/models/security-field-vbaresponse.ts +45 -0
  515. package/models/security-field.ts +72 -0
  516. package/models/send-to.ts +29 -5
  517. package/models/signature.ts +25 -1
  518. package/models/ssoconfig.ts +16 -10
  519. package/models/state-interest.ts +18 -18
  520. package/models/state.ts +6 -6
  521. package/models/sub-enrollment-plan.ts +6 -6
  522. package/models/sub-enrollment-rider.ts +4 -4
  523. package/models/sub-enrollment.ts +2 -2
  524. package/models/sub-payment-method.ts +3 -3
  525. package/models/submit-mfacode-request.ts +42 -0
  526. package/models/subscriber-accum.ts +54 -30
  527. package/models/subscriber-flex-exported.ts +26 -2
  528. package/models/subscriber-flex-payment.ts +25 -1
  529. package/models/subscriber-flex.ts +29 -5
  530. package/models/subscriber-forfeiture-status.ts +1 -1
  531. package/models/subscriber-idcode.ts +24 -0
  532. package/models/subscriber-idhistory.ts +13 -1
  533. package/models/subscriber-plan-policy.ts +24 -0
  534. package/models/subscriber-policy-status.ts +25 -1
  535. package/models/subscriber-prem-rate-split.ts +29 -5
  536. package/models/subscriber-reimbursement.ts +25 -1
  537. package/models/subscriber-sponsor-list-vbaresponse.ts +45 -0
  538. package/models/subscriber-sponsor-vbaresponse.ts +45 -0
  539. package/models/subscriber-sponsor.ts +84 -0
  540. package/models/subscriber-waive-premium.ts +25 -1
  541. package/models/subscriber-writing-agent-list-vbaresponse.ts +45 -0
  542. package/models/subscriber-writing-agent-vbaresponse.ts +45 -0
  543. package/models/subscriber-writing-agent.ts +90 -0
  544. package/models/subscribers.ts +1 -1
  545. package/models/suffix.ts +24 -0
  546. package/models/suspense-claim-list.ts +228 -0
  547. package/models/tax-filing-status.ts +26 -2
  548. package/models/taxonomy-group-detail.ts +25 -1
  549. package/models/taxonomy-group.ts +24 -0
  550. package/models/taxonomy.ts +25 -1
  551. package/models/timely-filing.ts +26 -2
  552. package/models/tolerance-list-vbaresponse.ts +45 -0
  553. package/models/tolerance-vbaresponse.ts +45 -0
  554. package/models/tolerance.ts +72 -0
  555. package/models/tooth-action.ts +24 -0
  556. package/models/tooth-chart-type.ts +24 -0
  557. package/models/tooth-procedure.ts +25 -1
  558. package/models/tooth-quadrant.ts +24 -0
  559. package/models/treatment-type.ts +24 -0
  560. package/models/user-amount-procedure.ts +26 -2
  561. package/models/user-amount.ts +25 -1
  562. package/models/user-group.ts +25 -1
  563. package/models/user-note-access.ts +26 -2
  564. package/models/userfieldsecurity.ts +66 -0
  565. package/models/userfieldsecuritylist-vbaresponse.ts +45 -0
  566. package/models/users.ts +24 -12
  567. package/models/usual-customary-rate-all-percentile-list-vbaresponse.ts +45 -0
  568. package/models/usual-customary-rate-all-percentile.ts +120 -0
  569. package/models/vbaapp-info-vbaresponse.ts +45 -0
  570. package/models/vbaapp-info.ts +61 -0
  571. package/models/vbacdcmembers-list-vbaresponse.ts +45 -0
  572. package/models/vbacdcmembers.ts +336 -0
  573. package/models/vbacdcsubenrollment-list-vbaresponse.ts +45 -0
  574. package/models/vbacdcsubenrollment-plan-list-vbaresponse.ts +45 -0
  575. package/models/vbacdcsubenrollment-plan.ts +168 -0
  576. package/models/vbacdcsubenrollment-rider-list-vbaresponse.ts +45 -0
  577. package/models/vbacdcsubenrollment-rider.ts +210 -0
  578. package/models/vbacdcsubenrollment.ts +132 -0
  579. package/models/vbacdcsubscribers-list-vbaresponse.ts +45 -0
  580. package/models/vbacdcsubscribers.ts +246 -0
  581. package/models/vbagateway-subscription-detail.ts +26 -2
  582. package/models/vbagateway-subscription.ts +27 -3
  583. package/models/vbainterface-idcode.ts +31 -1
  584. package/models/vbainterface-map-type.ts +31 -1
  585. package/models/vbainterface-status.ts +24 -0
  586. package/models/vbainterface-type.ts +24 -0
  587. package/models/vbainterface-vendor.ts +24 -0
  588. package/models/vbainterface.ts +43 -1
  589. package/models/vbaprem-invoice-subscriber-detail-adjustment-list-vbaresponse.ts +45 -0
  590. package/models/vbaprem-invoice-subscriber-detail-adjustment.ts +180 -0
  591. package/models/vbaprem-invoice-subscriber-detail-list-vbaresponse.ts +45 -0
  592. package/models/vbaprem-invoice-subscriber-detail.ts +180 -0
  593. package/models/vbaprocess-log.ts +26 -2
  594. package/models/vbaprocess-parameter.ts +27 -3
  595. package/models/vbaprocess.ts +25 -1
  596. package/models/vbareins-contract-trans-amount-vbaresponse.ts +45 -0
  597. package/models/vbareins-contract-trans-amount.ts +198 -0
  598. package/models/vbareins-contract-trans-claim-list-vbaresponse.ts +45 -0
  599. package/models/vbareins-contract-trans-claim.ts +168 -0
  600. package/models/vbareins-contract-trans-reimburse-list-vbaresponse.ts +45 -0
  601. package/models/vbareins-contract-trans-reimburse.ts +84 -0
  602. package/models/verify-mfadevice-setup-request.ts +42 -0
  603. package/models/verify-mfadevice-setup-response-vbaresponse.ts +45 -0
  604. package/models/verify-mfadevice-setup-response.ts +30 -0
  605. package/models/workflow-auth.ts +54 -0
  606. package/models/workflow-check.ts +54 -0
  607. package/models/workflow-detail.ts +25 -1
  608. package/models/workflow-enrollment.ts +60 -0
  609. package/models/workflow-processing.ts +21 -0
  610. package/models/workflow-task-user.ts +29 -5
  611. package/models/workflow-task.ts +26 -2
  612. package/models/workflow-type-task-option.ts +25 -1
  613. package/models/workflow-type.ts +24 -0
  614. package/models/workflow-user.ts +25 -1
  615. package/models/workflow.ts +26 -2
  616. package/models/zip-codes.ts +24 -0
  617. package/package.json +3 -3
@@ -0,0 +1,1973 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * VBASoftware
5
+ * APIs for VBASoftware
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
17
+ import { Configuration } from '../configuration';
18
+ // Some imports not used depending on template conditions
19
+ // @ts-ignore
20
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
21
+ // @ts-ignore
22
+ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
+ // @ts-ignore
24
+ import { BillingRefund } from '../models';
25
+ // @ts-ignore
26
+ import { GeneratePremInvoice } from '../models';
27
+ // @ts-ignore
28
+ import { PremInvoiceApplyPayment } from '../models';
29
+ // @ts-ignore
30
+ import { PremInvoiceGenerateInvListListVBAResponse } from '../models';
31
+ // @ts-ignore
32
+ import { PremInvoiceGenerateInvListResultListVBAResponse } from '../models';
33
+ // @ts-ignore
34
+ import { PremInvoiceGenerateSelfAdminInvListListVBAResponse } from '../models';
35
+ // @ts-ignore
36
+ import { PremInvoiceVBAResponse } from '../models';
37
+ // @ts-ignore
38
+ import { PremRateVBAResponse } from '../models';
39
+ /**
40
+ * AdvBillingApi - axios parameter creator
41
+ * @export
42
+ */
43
+ export const AdvBillingApiAxiosParamCreator = function (configuration?: Configuration) {
44
+ return {
45
+ /**
46
+ * Create a new Premium Rate based on the selected Template Rate.
47
+ * @summary Add Rate from Template
48
+ * @param {string} vbasoftwareDatabase Target database
49
+ * @param {number} premRateKey Subscriber ID
50
+ * @param {string} groupID Subscriber ID
51
+ * @param {string} divisionID Subscriber ID
52
+ * @param {string} premRateType Subscriber ID
53
+ * @param {*} [options] Override http request option.
54
+ * @throws {RequiredError}
55
+ */
56
+ addPremRateFromTemplate: async (vbasoftwareDatabase: string, premRateKey: number, groupID: string, divisionID: string, premRateType: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
57
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
58
+ assertParamExists('addPremRateFromTemplate', 'vbasoftwareDatabase', vbasoftwareDatabase)
59
+ // verify required parameter 'premRateKey' is not null or undefined
60
+ assertParamExists('addPremRateFromTemplate', 'premRateKey', premRateKey)
61
+ // verify required parameter 'groupID' is not null or undefined
62
+ assertParamExists('addPremRateFromTemplate', 'groupID', groupID)
63
+ // verify required parameter 'divisionID' is not null or undefined
64
+ assertParamExists('addPremRateFromTemplate', 'divisionID', divisionID)
65
+ // verify required parameter 'premRateType' is not null or undefined
66
+ assertParamExists('addPremRateFromTemplate', 'premRateType', premRateType)
67
+ const localVarPath = `/premium-rates/{premRateKey}/add-from-template/{groupID}/{divisionID}/{premRateType}`
68
+ .replace(`{${"premRateKey"}}`, encodeURIComponent(String(premRateKey)))
69
+ .replace(`{${"groupID"}}`, encodeURIComponent(String(groupID)))
70
+ .replace(`{${"divisionID"}}`, encodeURIComponent(String(divisionID)))
71
+ .replace(`{${"premRateType"}}`, encodeURIComponent(String(premRateType)));
72
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
73
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
74
+ let baseOptions;
75
+ if (configuration) {
76
+ baseOptions = configuration.baseOptions;
77
+ }
78
+
79
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
80
+ const localVarHeaderParameter = {} as any;
81
+ const localVarQueryParameter = {} as any;
82
+
83
+ // authentication apiKeyAuth required
84
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
85
+
86
+ // authentication bearerAuth required
87
+ // http bearer authentication required
88
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
89
+
90
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
91
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
92
+ }
93
+
94
+
95
+
96
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
97
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
98
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
99
+
100
+ return {
101
+ url: toPathString(localVarUrlObj),
102
+ options: localVarRequestOptions,
103
+ };
104
+ },
105
+ /**
106
+ * Generate the necessary Billing adjustments for an Invoice refund and create a Distribution if needed.
107
+ * @summary Billing Refund
108
+ * @param {string} vbasoftwareDatabase Target database
109
+ * @param {BillingRefund} billingRefund
110
+ * @param {*} [options] Override http request option.
111
+ * @throws {RequiredError}
112
+ */
113
+ billingRefund: async (vbasoftwareDatabase: string, billingRefund: BillingRefund, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
114
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
115
+ assertParamExists('billingRefund', 'vbasoftwareDatabase', vbasoftwareDatabase)
116
+ // verify required parameter 'billingRefund' is not null or undefined
117
+ assertParamExists('billingRefund', 'billingRefund', billingRefund)
118
+ const localVarPath = `/billing-refund`;
119
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
120
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
121
+ let baseOptions;
122
+ if (configuration) {
123
+ baseOptions = configuration.baseOptions;
124
+ }
125
+
126
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
127
+ const localVarHeaderParameter = {} as any;
128
+ const localVarQueryParameter = {} as any;
129
+
130
+ // authentication apiKeyAuth required
131
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
132
+
133
+ // authentication bearerAuth required
134
+ // http bearer authentication required
135
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
136
+
137
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
138
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
139
+ }
140
+
141
+
142
+
143
+ localVarHeaderParameter['Content-Type'] = 'application/json';
144
+
145
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
146
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
147
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
148
+ localVarRequestOptions.data = serializeDataIfNeeded(billingRefund, localVarRequestOptions, configuration)
149
+
150
+ return {
151
+ url: toPathString(localVarUrlObj),
152
+ options: localVarRequestOptions,
153
+ };
154
+ },
155
+ /**
156
+ * Generate the Premium Distributions for the selected Group and As of Date.
157
+ * @summary Create Premium Distributions
158
+ * @param {string} vbasoftwareDatabase Target database
159
+ * @param {string} groupId Group ID
160
+ * @param {string} asOfDate As of Date
161
+ * @param {*} [options] Override http request option.
162
+ * @throws {RequiredError}
163
+ */
164
+ generatePremDistribution: async (vbasoftwareDatabase: string, groupId: string, asOfDate: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
165
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
166
+ assertParamExists('generatePremDistribution', 'vbasoftwareDatabase', vbasoftwareDatabase)
167
+ // verify required parameter 'groupId' is not null or undefined
168
+ assertParamExists('generatePremDistribution', 'groupId', groupId)
169
+ // verify required parameter 'asOfDate' is not null or undefined
170
+ assertParamExists('generatePremDistribution', 'asOfDate', asOfDate)
171
+ const localVarPath = `/premium-distributions-generate/{groupId}/{asOfDate}`
172
+ .replace(`{${"groupId"}}`, encodeURIComponent(String(groupId)))
173
+ .replace(`{${"asOfDate"}}`, encodeURIComponent(String(asOfDate)));
174
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
175
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
176
+ let baseOptions;
177
+ if (configuration) {
178
+ baseOptions = configuration.baseOptions;
179
+ }
180
+
181
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
182
+ const localVarHeaderParameter = {} as any;
183
+ const localVarQueryParameter = {} as any;
184
+
185
+ // authentication apiKeyAuth required
186
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
187
+
188
+ // authentication bearerAuth required
189
+ // http bearer authentication required
190
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
191
+
192
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
193
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
194
+ }
195
+
196
+
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
+ * Generate the Premium Distribution Checks for the selected Payor and Payee.
209
+ * @summary Create Premium Distributions Checks
210
+ * @param {string} vbasoftwareDatabase Target database
211
+ * @param {string} payeeId Payee ID
212
+ * @param {string} payorId Payor ID
213
+ * @param {number} accountKey Account Key
214
+ * @param {string} checkNumber Check Number
215
+ * @param {*} [options] Override http request option.
216
+ * @throws {RequiredError}
217
+ */
218
+ generatePremDistributionCheck: async (vbasoftwareDatabase: string, payeeId: string, payorId: string, accountKey: number, checkNumber: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
219
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
220
+ assertParamExists('generatePremDistributionCheck', 'vbasoftwareDatabase', vbasoftwareDatabase)
221
+ // verify required parameter 'payeeId' is not null or undefined
222
+ assertParamExists('generatePremDistributionCheck', 'payeeId', payeeId)
223
+ // verify required parameter 'payorId' is not null or undefined
224
+ assertParamExists('generatePremDistributionCheck', 'payorId', payorId)
225
+ // verify required parameter 'accountKey' is not null or undefined
226
+ assertParamExists('generatePremDistributionCheck', 'accountKey', accountKey)
227
+ // verify required parameter 'checkNumber' is not null or undefined
228
+ assertParamExists('generatePremDistributionCheck', 'checkNumber', checkNumber)
229
+ const localVarPath = `/premium-distributions-generate-check/{payeeId}/{payorId}/{accountKey}/{checkNumber}`
230
+ .replace(`{${"payeeId"}}`, encodeURIComponent(String(payeeId)))
231
+ .replace(`{${"payorId"}}`, encodeURIComponent(String(payorId)))
232
+ .replace(`{${"accountKey"}}`, encodeURIComponent(String(accountKey)))
233
+ .replace(`{${"checkNumber"}}`, encodeURIComponent(String(checkNumber)));
234
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
235
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
236
+ let baseOptions;
237
+ if (configuration) {
238
+ baseOptions = configuration.baseOptions;
239
+ }
240
+
241
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
242
+ const localVarHeaderParameter = {} as any;
243
+ const localVarQueryParameter = {} as any;
244
+
245
+ // authentication apiKeyAuth required
246
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
247
+
248
+ // authentication bearerAuth required
249
+ // http bearer authentication required
250
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
251
+
252
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
253
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
254
+ }
255
+
256
+
257
+
258
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
259
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
260
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
261
+
262
+ return {
263
+ url: toPathString(localVarUrlObj),
264
+ options: localVarRequestOptions,
265
+ };
266
+ },
267
+ /**
268
+ * Creates a new Premium Billing Invoice for the selected Group/Division.
269
+ * @summary Generate Division Invoice
270
+ * @param {string} vbasoftwareDatabase Target database
271
+ * @param {GeneratePremInvoice} generatePremInvoice
272
+ * @param {*} [options] Override http request option.
273
+ * @throws {RequiredError}
274
+ */
275
+ generatePremInvoiceDivision: async (vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
276
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
277
+ assertParamExists('generatePremInvoiceDivision', 'vbasoftwareDatabase', vbasoftwareDatabase)
278
+ // verify required parameter 'generatePremInvoice' is not null or undefined
279
+ assertParamExists('generatePremInvoiceDivision', 'generatePremInvoice', generatePremInvoice)
280
+ const localVarPath = `/generate-division-invoice`;
281
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
282
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
283
+ let baseOptions;
284
+ if (configuration) {
285
+ baseOptions = configuration.baseOptions;
286
+ }
287
+
288
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
289
+ const localVarHeaderParameter = {} as any;
290
+ const localVarQueryParameter = {} as any;
291
+
292
+ // authentication apiKeyAuth required
293
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
294
+
295
+ // authentication bearerAuth required
296
+ // http bearer authentication required
297
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
298
+
299
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
300
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
301
+ }
302
+
303
+
304
+
305
+ localVarHeaderParameter['Content-Type'] = 'application/json';
306
+
307
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
308
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
309
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
310
+ localVarRequestOptions.data = serializeDataIfNeeded(generatePremInvoice, localVarRequestOptions, configuration)
311
+
312
+ return {
313
+ url: toPathString(localVarUrlObj),
314
+ options: localVarRequestOptions,
315
+ };
316
+ },
317
+ /**
318
+ * Creates a new Premium Billing Invoice for the selected Group.
319
+ * @summary Generate Group Invoice
320
+ * @param {string} vbasoftwareDatabase Target database
321
+ * @param {GeneratePremInvoice} generatePremInvoice
322
+ * @param {*} [options] Override http request option.
323
+ * @throws {RequiredError}
324
+ */
325
+ generatePremInvoiceGroup: async (vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
326
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
327
+ assertParamExists('generatePremInvoiceGroup', 'vbasoftwareDatabase', vbasoftwareDatabase)
328
+ // verify required parameter 'generatePremInvoice' is not null or undefined
329
+ assertParamExists('generatePremInvoiceGroup', 'generatePremInvoice', generatePremInvoice)
330
+ const localVarPath = `/generate-group-invoice`;
331
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
332
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
333
+ let baseOptions;
334
+ if (configuration) {
335
+ baseOptions = configuration.baseOptions;
336
+ }
337
+
338
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
339
+ const localVarHeaderParameter = {} as any;
340
+ const localVarQueryParameter = {} as any;
341
+
342
+ // authentication apiKeyAuth required
343
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
344
+
345
+ // authentication bearerAuth required
346
+ // http bearer authentication required
347
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
348
+
349
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
350
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
351
+ }
352
+
353
+
354
+
355
+ localVarHeaderParameter['Content-Type'] = 'application/json';
356
+
357
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
358
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
359
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
360
+ localVarRequestOptions.data = serializeDataIfNeeded(generatePremInvoice, localVarRequestOptions, configuration)
361
+
362
+ return {
363
+ url: toPathString(localVarUrlObj),
364
+ options: localVarRequestOptions,
365
+ };
366
+ },
367
+ /**
368
+ * Creates a new Premium Billing Invoice the selected Group for any Division with the Group Invoice Level AND a separate Invoice for each Division flagged as Division Invoice Level.
369
+ * @summary Generate Group and Division Invoice
370
+ * @param {string} vbasoftwareDatabase Target database
371
+ * @param {GeneratePremInvoice} generatePremInvoice
372
+ * @param {*} [options] Override http request option.
373
+ * @throws {RequiredError}
374
+ */
375
+ generatePremInvoiceGroupDivision: async (vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
376
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
377
+ assertParamExists('generatePremInvoiceGroupDivision', 'vbasoftwareDatabase', vbasoftwareDatabase)
378
+ // verify required parameter 'generatePremInvoice' is not null or undefined
379
+ assertParamExists('generatePremInvoiceGroupDivision', 'generatePremInvoice', generatePremInvoice)
380
+ const localVarPath = `/generate-group-division-invoice`;
381
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
382
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
383
+ let baseOptions;
384
+ if (configuration) {
385
+ baseOptions = configuration.baseOptions;
386
+ }
387
+
388
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
389
+ const localVarHeaderParameter = {} as any;
390
+ const localVarQueryParameter = {} as any;
391
+
392
+ // authentication apiKeyAuth required
393
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
394
+
395
+ // authentication bearerAuth required
396
+ // http bearer authentication required
397
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
398
+
399
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
400
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
401
+ }
402
+
403
+
404
+
405
+ localVarHeaderParameter['Content-Type'] = 'application/json';
406
+
407
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
408
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
409
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
410
+ localVarRequestOptions.data = serializeDataIfNeeded(generatePremInvoice, localVarRequestOptions, configuration)
411
+
412
+ return {
413
+ url: toPathString(localVarUrlObj),
414
+ options: localVarRequestOptions,
415
+ };
416
+ },
417
+ /**
418
+ * Creates a new Self-Admin Invoice for the selected Group/Division.
419
+ * @summary Generate Self-Admin Division Invoice
420
+ * @param {string} vbasoftwareDatabase Target database
421
+ * @param {GeneratePremInvoice} generatePremInvoice
422
+ * @param {*} [options] Override http request option.
423
+ * @throws {RequiredError}
424
+ */
425
+ generatePremInvoiceSelfAdminDivision: async (vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
426
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
427
+ assertParamExists('generatePremInvoiceSelfAdminDivision', 'vbasoftwareDatabase', vbasoftwareDatabase)
428
+ // verify required parameter 'generatePremInvoice' is not null or undefined
429
+ assertParamExists('generatePremInvoiceSelfAdminDivision', 'generatePremInvoice', generatePremInvoice)
430
+ const localVarPath = `/generate-self-admin-division-invoice`;
431
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
432
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
433
+ let baseOptions;
434
+ if (configuration) {
435
+ baseOptions = configuration.baseOptions;
436
+ }
437
+
438
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
439
+ const localVarHeaderParameter = {} as any;
440
+ const localVarQueryParameter = {} as any;
441
+
442
+ // authentication apiKeyAuth required
443
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
444
+
445
+ // authentication bearerAuth required
446
+ // http bearer authentication required
447
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
448
+
449
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
450
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
451
+ }
452
+
453
+
454
+
455
+ localVarHeaderParameter['Content-Type'] = 'application/json';
456
+
457
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
458
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
459
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
460
+ localVarRequestOptions.data = serializeDataIfNeeded(generatePremInvoice, localVarRequestOptions, configuration)
461
+
462
+ return {
463
+ url: toPathString(localVarUrlObj),
464
+ options: localVarRequestOptions,
465
+ };
466
+ },
467
+ /**
468
+ * Creates a new Self-Admin Invoice for the selected Group.
469
+ * @summary Generate Self-Admin Group Invoice
470
+ * @param {string} vbasoftwareDatabase Target database
471
+ * @param {GeneratePremInvoice} generatePremInvoice
472
+ * @param {*} [options] Override http request option.
473
+ * @throws {RequiredError}
474
+ */
475
+ generatePremInvoiceSelfAdminGroup: async (vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
476
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
477
+ assertParamExists('generatePremInvoiceSelfAdminGroup', 'vbasoftwareDatabase', vbasoftwareDatabase)
478
+ // verify required parameter 'generatePremInvoice' is not null or undefined
479
+ assertParamExists('generatePremInvoiceSelfAdminGroup', 'generatePremInvoice', generatePremInvoice)
480
+ const localVarPath = `/generate-self-admin-group-invoice`;
481
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
482
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
483
+ let baseOptions;
484
+ if (configuration) {
485
+ baseOptions = configuration.baseOptions;
486
+ }
487
+
488
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
489
+ const localVarHeaderParameter = {} as any;
490
+ const localVarQueryParameter = {} as any;
491
+
492
+ // authentication apiKeyAuth required
493
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
494
+
495
+ // authentication bearerAuth required
496
+ // http bearer authentication required
497
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
498
+
499
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
500
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
501
+ }
502
+
503
+
504
+
505
+ localVarHeaderParameter['Content-Type'] = 'application/json';
506
+
507
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
508
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
509
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
510
+ localVarRequestOptions.data = serializeDataIfNeeded(generatePremInvoice, localVarRequestOptions, configuration)
511
+
512
+ return {
513
+ url: toPathString(localVarUrlObj),
514
+ options: localVarRequestOptions,
515
+ };
516
+ },
517
+ /**
518
+ * Creates a new Premium Billing Invoice for the selected Subscriber.
519
+ * @summary Generate Subscriber Invoice
520
+ * @param {string} vbasoftwareDatabase Target database
521
+ * @param {GeneratePremInvoice} generatePremInvoice
522
+ * @param {*} [options] Override http request option.
523
+ * @throws {RequiredError}
524
+ */
525
+ generatePremInvoiceSubscriber: async (vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
526
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
527
+ assertParamExists('generatePremInvoiceSubscriber', 'vbasoftwareDatabase', vbasoftwareDatabase)
528
+ // verify required parameter 'generatePremInvoice' is not null or undefined
529
+ assertParamExists('generatePremInvoiceSubscriber', 'generatePremInvoice', generatePremInvoice)
530
+ const localVarPath = `/generate-subscriber-invoice`;
531
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
532
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
533
+ let baseOptions;
534
+ if (configuration) {
535
+ baseOptions = configuration.baseOptions;
536
+ }
537
+
538
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
539
+ const localVarHeaderParameter = {} as any;
540
+ const localVarQueryParameter = {} as any;
541
+
542
+ // authentication apiKeyAuth required
543
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
544
+
545
+ // authentication bearerAuth required
546
+ // http bearer authentication required
547
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
548
+
549
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
550
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
551
+ }
552
+
553
+
554
+
555
+ localVarHeaderParameter['Content-Type'] = 'application/json';
556
+
557
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
558
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
559
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
560
+ localVarRequestOptions.data = serializeDataIfNeeded(generatePremInvoice, localVarRequestOptions, configuration)
561
+
562
+ return {
563
+ url: toPathString(localVarUrlObj),
564
+ options: localVarRequestOptions,
565
+ };
566
+ },
567
+ /**
568
+ * List of Billing Adjustments that would be created based on a Subscriber being disenrolled on the As of Date.
569
+ * @summary List Billing Adjustments for Disenroll
570
+ * @param {string} vbasoftwareDatabase Target database
571
+ * @param {string} subscriberID Subscriber ID
572
+ * @param {string} asOfDate As of Date
573
+ * @param {*} [options] Override http request option.
574
+ * @throws {RequiredError}
575
+ */
576
+ listDisenrollAdjustment: async (vbasoftwareDatabase: string, subscriberID: string, asOfDate: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
577
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
578
+ assertParamExists('listDisenrollAdjustment', 'vbasoftwareDatabase', vbasoftwareDatabase)
579
+ // verify required parameter 'subscriberID' is not null or undefined
580
+ assertParamExists('listDisenrollAdjustment', 'subscriberID', subscriberID)
581
+ // verify required parameter 'asOfDate' is not null or undefined
582
+ assertParamExists('listDisenrollAdjustment', 'asOfDate', asOfDate)
583
+ const localVarPath = `/subscribers/{subscriberID}/as-of-date/{asOfDate}/disenroll-adjustments`
584
+ .replace(`{${"subscriberID"}}`, encodeURIComponent(String(subscriberID)))
585
+ .replace(`{${"asOfDate"}}`, encodeURIComponent(String(asOfDate)));
586
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
587
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
588
+ let baseOptions;
589
+ if (configuration) {
590
+ baseOptions = configuration.baseOptions;
591
+ }
592
+
593
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
594
+ const localVarHeaderParameter = {} as any;
595
+ const localVarQueryParameter = {} as any;
596
+
597
+ // authentication apiKeyAuth required
598
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
599
+
600
+ // authentication bearerAuth required
601
+ // http bearer authentication required
602
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
603
+
604
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
605
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
606
+ }
607
+
608
+
609
+
610
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
611
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
612
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
613
+
614
+ return {
615
+ url: toPathString(localVarUrlObj),
616
+ options: localVarRequestOptions,
617
+ };
618
+ },
619
+ /**
620
+ * List of Invoices to be generated based on the selected Invoice Date.
621
+ * @summary List Invoices to be Generated
622
+ * @param {string} vbasoftwareDatabase Target database
623
+ * @param {string} invoiceDate Invoice Date
624
+ * @param {*} [options] Override http request option.
625
+ * @throws {RequiredError}
626
+ */
627
+ listPremInvoiceGenerate: async (vbasoftwareDatabase: string, invoiceDate: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
628
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
629
+ assertParamExists('listPremInvoiceGenerate', 'vbasoftwareDatabase', vbasoftwareDatabase)
630
+ // verify required parameter 'invoiceDate' is not null or undefined
631
+ assertParamExists('listPremInvoiceGenerate', 'invoiceDate', invoiceDate)
632
+ const localVarPath = `/list-generate-bill/{invoiceDate}`
633
+ .replace(`{${"invoiceDate"}}`, encodeURIComponent(String(invoiceDate)));
634
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
635
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
636
+ let baseOptions;
637
+ if (configuration) {
638
+ baseOptions = configuration.baseOptions;
639
+ }
640
+
641
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
642
+ const localVarHeaderParameter = {} as any;
643
+ const localVarQueryParameter = {} as any;
644
+
645
+ // authentication apiKeyAuth required
646
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
647
+
648
+ // authentication bearerAuth required
649
+ // http bearer authentication required
650
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
651
+
652
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
653
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
654
+ }
655
+
656
+
657
+
658
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
659
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
660
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
661
+
662
+ return {
663
+ url: toPathString(localVarUrlObj),
664
+ options: localVarRequestOptions,
665
+ };
666
+ },
667
+ /**
668
+ * List of Self-Admin Invoices to be generated based on the selected Invoice Date.
669
+ * @summary List Self-Admin Invoices to be Generated
670
+ * @param {string} vbasoftwareDatabase Target database
671
+ * @param {string} invoiceDate Invoice Date
672
+ * @param {*} [options] Override http request option.
673
+ * @throws {RequiredError}
674
+ */
675
+ listPremInvoiceGenerateSelfAdmin: async (vbasoftwareDatabase: string, invoiceDate: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
676
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
677
+ assertParamExists('listPremInvoiceGenerateSelfAdmin', 'vbasoftwareDatabase', vbasoftwareDatabase)
678
+ // verify required parameter 'invoiceDate' is not null or undefined
679
+ assertParamExists('listPremInvoiceGenerateSelfAdmin', 'invoiceDate', invoiceDate)
680
+ const localVarPath = `/list-generate-self-admin/{invoiceDate}`
681
+ .replace(`{${"invoiceDate"}}`, encodeURIComponent(String(invoiceDate)));
682
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
683
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
684
+ let baseOptions;
685
+ if (configuration) {
686
+ baseOptions = configuration.baseOptions;
687
+ }
688
+
689
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
690
+ const localVarHeaderParameter = {} as any;
691
+ const localVarQueryParameter = {} as any;
692
+
693
+ // authentication apiKeyAuth required
694
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
695
+
696
+ // authentication bearerAuth required
697
+ // http bearer authentication required
698
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
699
+
700
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
701
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
702
+ }
703
+
704
+
705
+
706
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
707
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
708
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
709
+
710
+ return {
711
+ url: toPathString(localVarUrlObj),
712
+ options: localVarRequestOptions,
713
+ };
714
+ },
715
+ /**
716
+ * PremInvoice Apply Payments by Header Adjustment
717
+ * @summary PremInvoice Apply Payments by Header Adjustment
718
+ * @param {string} vbasoftwareDatabase Target database
719
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
720
+ * @param {*} [options] Override http request option.
721
+ * @throws {RequiredError}
722
+ */
723
+ premInvoiceApplyPaymentHeaderAdjustment: async (vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
724
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
725
+ assertParamExists('premInvoiceApplyPaymentHeaderAdjustment', 'vbasoftwareDatabase', vbasoftwareDatabase)
726
+ // verify required parameter 'premInvoiceApplyPayment' is not null or undefined
727
+ assertParamExists('premInvoiceApplyPaymentHeaderAdjustment', 'premInvoiceApplyPayment', premInvoiceApplyPayment)
728
+ const localVarPath = `/premium-invoice-apply-payment-adj`;
729
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
730
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
731
+ let baseOptions;
732
+ if (configuration) {
733
+ baseOptions = configuration.baseOptions;
734
+ }
735
+
736
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
737
+ const localVarHeaderParameter = {} as any;
738
+ const localVarQueryParameter = {} as any;
739
+
740
+ // authentication apiKeyAuth required
741
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
742
+
743
+ // authentication bearerAuth required
744
+ // http bearer authentication required
745
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
746
+
747
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
748
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
749
+ }
750
+
751
+
752
+
753
+ localVarHeaderParameter['Content-Type'] = 'application/json';
754
+
755
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
756
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
757
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
758
+ localVarRequestOptions.data = serializeDataIfNeeded(premInvoiceApplyPayment, localVarRequestOptions, configuration)
759
+
760
+ return {
761
+ url: toPathString(localVarUrlObj),
762
+ options: localVarRequestOptions,
763
+ };
764
+ },
765
+ /**
766
+ * PremInvoice Apply Payments by Subscriber
767
+ * @summary PremInvoice Apply Payments by Subscriber
768
+ * @param {string} vbasoftwareDatabase Target database
769
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
770
+ * @param {*} [options] Override http request option.
771
+ * @throws {RequiredError}
772
+ */
773
+ premInvoiceApplyPaymentSubscriber: async (vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
774
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
775
+ assertParamExists('premInvoiceApplyPaymentSubscriber', 'vbasoftwareDatabase', vbasoftwareDatabase)
776
+ // verify required parameter 'premInvoiceApplyPayment' is not null or undefined
777
+ assertParamExists('premInvoiceApplyPaymentSubscriber', 'premInvoiceApplyPayment', premInvoiceApplyPayment)
778
+ const localVarPath = `/premium-invoice-apply-payment-sub`;
779
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
780
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
781
+ let baseOptions;
782
+ if (configuration) {
783
+ baseOptions = configuration.baseOptions;
784
+ }
785
+
786
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
787
+ const localVarHeaderParameter = {} as any;
788
+ const localVarQueryParameter = {} as any;
789
+
790
+ // authentication apiKeyAuth required
791
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
792
+
793
+ // authentication bearerAuth required
794
+ // http bearer authentication required
795
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
796
+
797
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
798
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
799
+ }
800
+
801
+
802
+
803
+ localVarHeaderParameter['Content-Type'] = 'application/json';
804
+
805
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
806
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
807
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
808
+ localVarRequestOptions.data = serializeDataIfNeeded(premInvoiceApplyPayment, localVarRequestOptions, configuration)
809
+
810
+ return {
811
+ url: toPathString(localVarUrlObj),
812
+ options: localVarRequestOptions,
813
+ };
814
+ },
815
+ /**
816
+ * PremInvoice Apply Payments by Subscriber and Payor ID
817
+ * @summary PremInvoice Apply Payments by Subscriber and Payor ID
818
+ * @param {string} vbasoftwareDatabase Target database
819
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
820
+ * @param {*} [options] Override http request option.
821
+ * @throws {RequiredError}
822
+ */
823
+ premInvoiceApplyPaymentSubscriberPayorID: async (vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
824
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
825
+ assertParamExists('premInvoiceApplyPaymentSubscriberPayorID', 'vbasoftwareDatabase', vbasoftwareDatabase)
826
+ // verify required parameter 'premInvoiceApplyPayment' is not null or undefined
827
+ assertParamExists('premInvoiceApplyPaymentSubscriberPayorID', 'premInvoiceApplyPayment', premInvoiceApplyPayment)
828
+ const localVarPath = `/premium-invoice-apply-payment-sub-payor_id`;
829
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
830
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
831
+ let baseOptions;
832
+ if (configuration) {
833
+ baseOptions = configuration.baseOptions;
834
+ }
835
+
836
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
837
+ const localVarHeaderParameter = {} as any;
838
+ const localVarQueryParameter = {} as any;
839
+
840
+ // authentication apiKeyAuth required
841
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
842
+
843
+ // authentication bearerAuth required
844
+ // http bearer authentication required
845
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
846
+
847
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
848
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
849
+ }
850
+
851
+
852
+
853
+ localVarHeaderParameter['Content-Type'] = 'application/json';
854
+
855
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
856
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
857
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
858
+ localVarRequestOptions.data = serializeDataIfNeeded(premInvoiceApplyPayment, localVarRequestOptions, configuration)
859
+
860
+ return {
861
+ url: toPathString(localVarUrlObj),
862
+ options: localVarRequestOptions,
863
+ };
864
+ },
865
+ /**
866
+ * PremInvoice Apply Payments by Subscriber and Plan Type
867
+ * @summary PremInvoice Apply Payments by Subscriber and Plan Type
868
+ * @param {string} vbasoftwareDatabase Target database
869
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
870
+ * @param {*} [options] Override http request option.
871
+ * @throws {RequiredError}
872
+ */
873
+ premInvoiceApplyPaymentSubscriberPlanType: async (vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
874
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
875
+ assertParamExists('premInvoiceApplyPaymentSubscriberPlanType', 'vbasoftwareDatabase', vbasoftwareDatabase)
876
+ // verify required parameter 'premInvoiceApplyPayment' is not null or undefined
877
+ assertParamExists('premInvoiceApplyPaymentSubscriberPlanType', 'premInvoiceApplyPayment', premInvoiceApplyPayment)
878
+ const localVarPath = `/premium-invoice-apply-payment-sub-plan-type`;
879
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
880
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
881
+ let baseOptions;
882
+ if (configuration) {
883
+ baseOptions = configuration.baseOptions;
884
+ }
885
+
886
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
887
+ const localVarHeaderParameter = {} as any;
888
+ const localVarQueryParameter = {} as any;
889
+
890
+ // authentication apiKeyAuth required
891
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
892
+
893
+ // authentication bearerAuth required
894
+ // http bearer authentication required
895
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
896
+
897
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
898
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
899
+ }
900
+
901
+
902
+
903
+ localVarHeaderParameter['Content-Type'] = 'application/json';
904
+
905
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
906
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
907
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
908
+ localVarRequestOptions.data = serializeDataIfNeeded(premInvoiceApplyPayment, localVarRequestOptions, configuration)
909
+
910
+ return {
911
+ url: toPathString(localVarUrlObj),
912
+ options: localVarRequestOptions,
913
+ };
914
+ },
915
+ /**
916
+ * Auto-Apply all payements to the selected invoice.
917
+ * @summary PremInvoice Auto-Apply
918
+ * @param {string} vbasoftwareDatabase Target database
919
+ * @param {number} invoiceKey Invoice Key
920
+ * @param {*} [options] Override http request option.
921
+ * @throws {RequiredError}
922
+ */
923
+ premInvoiceAutoApply: async (vbasoftwareDatabase: string, invoiceKey: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
924
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
925
+ assertParamExists('premInvoiceAutoApply', 'vbasoftwareDatabase', vbasoftwareDatabase)
926
+ // verify required parameter 'invoiceKey' is not null or undefined
927
+ assertParamExists('premInvoiceAutoApply', 'invoiceKey', invoiceKey)
928
+ const localVarPath = `/premium-invoices/{invoiceKey}/auto-apply`
929
+ .replace(`{${"invoiceKey"}}`, encodeURIComponent(String(invoiceKey)));
930
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
931
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
932
+ let baseOptions;
933
+ if (configuration) {
934
+ baseOptions = configuration.baseOptions;
935
+ }
936
+
937
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
938
+ const localVarHeaderParameter = {} as any;
939
+ const localVarQueryParameter = {} as any;
940
+
941
+ // authentication apiKeyAuth required
942
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
943
+
944
+ // authentication bearerAuth required
945
+ // http bearer authentication required
946
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
947
+
948
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
949
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
950
+ }
951
+
952
+
953
+
954
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
955
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
956
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
957
+
958
+ return {
959
+ url: toPathString(localVarUrlObj),
960
+ options: localVarRequestOptions,
961
+ };
962
+ },
963
+ /**
964
+ * Auto-Apply all payements to the selected Self-Admin invoice.
965
+ * @summary PremInvoice Auto-Apply for Self-Admin
966
+ * @param {string} vbasoftwareDatabase Target database
967
+ * @param {number} invoiceKey Invoice Key
968
+ * @param {*} [options] Override http request option.
969
+ * @throws {RequiredError}
970
+ */
971
+ premInvoiceAutoApplySelfAdmin: async (vbasoftwareDatabase: string, invoiceKey: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
972
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
973
+ assertParamExists('premInvoiceAutoApplySelfAdmin', 'vbasoftwareDatabase', vbasoftwareDatabase)
974
+ // verify required parameter 'invoiceKey' is not null or undefined
975
+ assertParamExists('premInvoiceAutoApplySelfAdmin', 'invoiceKey', invoiceKey)
976
+ const localVarPath = `/premium-invoices/{invoiceKey}/auto-apply-self-admin`
977
+ .replace(`{${"invoiceKey"}}`, encodeURIComponent(String(invoiceKey)));
978
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
979
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
980
+ let baseOptions;
981
+ if (configuration) {
982
+ baseOptions = configuration.baseOptions;
983
+ }
984
+
985
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
986
+ const localVarHeaderParameter = {} as any;
987
+ const localVarQueryParameter = {} as any;
988
+
989
+ // authentication apiKeyAuth required
990
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
991
+
992
+ // authentication bearerAuth required
993
+ // http bearer authentication required
994
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
995
+
996
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
997
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
998
+ }
999
+
1000
+
1001
+
1002
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1003
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1004
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1005
+
1006
+ return {
1007
+ url: toPathString(localVarUrlObj),
1008
+ options: localVarRequestOptions,
1009
+ };
1010
+ },
1011
+ }
1012
+ };
1013
+
1014
+ /**
1015
+ * AdvBillingApi - functional programming interface
1016
+ * @export
1017
+ */
1018
+ export const AdvBillingApiFp = function(configuration?: Configuration) {
1019
+ const localVarAxiosParamCreator = AdvBillingApiAxiosParamCreator(configuration)
1020
+ return {
1021
+ /**
1022
+ * Create a new Premium Rate based on the selected Template Rate.
1023
+ * @summary Add Rate from Template
1024
+ * @param {string} vbasoftwareDatabase Target database
1025
+ * @param {number} premRateKey Subscriber ID
1026
+ * @param {string} groupID Subscriber ID
1027
+ * @param {string} divisionID Subscriber ID
1028
+ * @param {string} premRateType Subscriber ID
1029
+ * @param {*} [options] Override http request option.
1030
+ * @throws {RequiredError}
1031
+ */
1032
+ async addPremRateFromTemplate(vbasoftwareDatabase: string, premRateKey: number, groupID: string, divisionID: string, premRateType: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PremRateVBAResponse>> {
1033
+ const localVarAxiosArgs = await localVarAxiosParamCreator.addPremRateFromTemplate(vbasoftwareDatabase, premRateKey, groupID, divisionID, premRateType, options);
1034
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1035
+ },
1036
+ /**
1037
+ * Generate the necessary Billing adjustments for an Invoice refund and create a Distribution if needed.
1038
+ * @summary Billing Refund
1039
+ * @param {string} vbasoftwareDatabase Target database
1040
+ * @param {BillingRefund} billingRefund
1041
+ * @param {*} [options] Override http request option.
1042
+ * @throws {RequiredError}
1043
+ */
1044
+ async billingRefund(vbasoftwareDatabase: string, billingRefund: BillingRefund, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1045
+ const localVarAxiosArgs = await localVarAxiosParamCreator.billingRefund(vbasoftwareDatabase, billingRefund, options);
1046
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1047
+ },
1048
+ /**
1049
+ * Generate the Premium Distributions for the selected Group and As of Date.
1050
+ * @summary Create Premium Distributions
1051
+ * @param {string} vbasoftwareDatabase Target database
1052
+ * @param {string} groupId Group ID
1053
+ * @param {string} asOfDate As of Date
1054
+ * @param {*} [options] Override http request option.
1055
+ * @throws {RequiredError}
1056
+ */
1057
+ async generatePremDistribution(vbasoftwareDatabase: string, groupId: string, asOfDate: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1058
+ const localVarAxiosArgs = await localVarAxiosParamCreator.generatePremDistribution(vbasoftwareDatabase, groupId, asOfDate, options);
1059
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1060
+ },
1061
+ /**
1062
+ * Generate the Premium Distribution Checks for the selected Payor and Payee.
1063
+ * @summary Create Premium Distributions Checks
1064
+ * @param {string} vbasoftwareDatabase Target database
1065
+ * @param {string} payeeId Payee ID
1066
+ * @param {string} payorId Payor ID
1067
+ * @param {number} accountKey Account Key
1068
+ * @param {string} checkNumber Check Number
1069
+ * @param {*} [options] Override http request option.
1070
+ * @throws {RequiredError}
1071
+ */
1072
+ async generatePremDistributionCheck(vbasoftwareDatabase: string, payeeId: string, payorId: string, accountKey: number, checkNumber: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1073
+ const localVarAxiosArgs = await localVarAxiosParamCreator.generatePremDistributionCheck(vbasoftwareDatabase, payeeId, payorId, accountKey, checkNumber, options);
1074
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1075
+ },
1076
+ /**
1077
+ * Creates a new Premium Billing Invoice for the selected Group/Division.
1078
+ * @summary Generate Division Invoice
1079
+ * @param {string} vbasoftwareDatabase Target database
1080
+ * @param {GeneratePremInvoice} generatePremInvoice
1081
+ * @param {*} [options] Override http request option.
1082
+ * @throws {RequiredError}
1083
+ */
1084
+ async generatePremInvoiceDivision(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PremInvoiceVBAResponse>> {
1085
+ const localVarAxiosArgs = await localVarAxiosParamCreator.generatePremInvoiceDivision(vbasoftwareDatabase, generatePremInvoice, options);
1086
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1087
+ },
1088
+ /**
1089
+ * Creates a new Premium Billing Invoice for the selected Group.
1090
+ * @summary Generate Group Invoice
1091
+ * @param {string} vbasoftwareDatabase Target database
1092
+ * @param {GeneratePremInvoice} generatePremInvoice
1093
+ * @param {*} [options] Override http request option.
1094
+ * @throws {RequiredError}
1095
+ */
1096
+ async generatePremInvoiceGroup(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PremInvoiceVBAResponse>> {
1097
+ const localVarAxiosArgs = await localVarAxiosParamCreator.generatePremInvoiceGroup(vbasoftwareDatabase, generatePremInvoice, options);
1098
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1099
+ },
1100
+ /**
1101
+ * Creates a new Premium Billing Invoice the selected Group for any Division with the Group Invoice Level AND a separate Invoice for each Division flagged as Division Invoice Level.
1102
+ * @summary Generate Group and Division Invoice
1103
+ * @param {string} vbasoftwareDatabase Target database
1104
+ * @param {GeneratePremInvoice} generatePremInvoice
1105
+ * @param {*} [options] Override http request option.
1106
+ * @throws {RequiredError}
1107
+ */
1108
+ async generatePremInvoiceGroupDivision(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1109
+ const localVarAxiosArgs = await localVarAxiosParamCreator.generatePremInvoiceGroupDivision(vbasoftwareDatabase, generatePremInvoice, options);
1110
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1111
+ },
1112
+ /**
1113
+ * Creates a new Self-Admin Invoice for the selected Group/Division.
1114
+ * @summary Generate Self-Admin Division Invoice
1115
+ * @param {string} vbasoftwareDatabase Target database
1116
+ * @param {GeneratePremInvoice} generatePremInvoice
1117
+ * @param {*} [options] Override http request option.
1118
+ * @throws {RequiredError}
1119
+ */
1120
+ async generatePremInvoiceSelfAdminDivision(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PremInvoiceVBAResponse>> {
1121
+ const localVarAxiosArgs = await localVarAxiosParamCreator.generatePremInvoiceSelfAdminDivision(vbasoftwareDatabase, generatePremInvoice, options);
1122
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1123
+ },
1124
+ /**
1125
+ * Creates a new Self-Admin Invoice for the selected Group.
1126
+ * @summary Generate Self-Admin Group Invoice
1127
+ * @param {string} vbasoftwareDatabase Target database
1128
+ * @param {GeneratePremInvoice} generatePremInvoice
1129
+ * @param {*} [options] Override http request option.
1130
+ * @throws {RequiredError}
1131
+ */
1132
+ async generatePremInvoiceSelfAdminGroup(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PremInvoiceVBAResponse>> {
1133
+ const localVarAxiosArgs = await localVarAxiosParamCreator.generatePremInvoiceSelfAdminGroup(vbasoftwareDatabase, generatePremInvoice, options);
1134
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1135
+ },
1136
+ /**
1137
+ * Creates a new Premium Billing Invoice for the selected Subscriber.
1138
+ * @summary Generate Subscriber Invoice
1139
+ * @param {string} vbasoftwareDatabase Target database
1140
+ * @param {GeneratePremInvoice} generatePremInvoice
1141
+ * @param {*} [options] Override http request option.
1142
+ * @throws {RequiredError}
1143
+ */
1144
+ async generatePremInvoiceSubscriber(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PremInvoiceVBAResponse>> {
1145
+ const localVarAxiosArgs = await localVarAxiosParamCreator.generatePremInvoiceSubscriber(vbasoftwareDatabase, generatePremInvoice, options);
1146
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1147
+ },
1148
+ /**
1149
+ * List of Billing Adjustments that would be created based on a Subscriber being disenrolled on the As of Date.
1150
+ * @summary List Billing Adjustments for Disenroll
1151
+ * @param {string} vbasoftwareDatabase Target database
1152
+ * @param {string} subscriberID Subscriber ID
1153
+ * @param {string} asOfDate As of Date
1154
+ * @param {*} [options] Override http request option.
1155
+ * @throws {RequiredError}
1156
+ */
1157
+ async listDisenrollAdjustment(vbasoftwareDatabase: string, subscriberID: string, asOfDate: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PremInvoiceGenerateInvListResultListVBAResponse>> {
1158
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listDisenrollAdjustment(vbasoftwareDatabase, subscriberID, asOfDate, options);
1159
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1160
+ },
1161
+ /**
1162
+ * List of Invoices to be generated based on the selected Invoice Date.
1163
+ * @summary List Invoices to be Generated
1164
+ * @param {string} vbasoftwareDatabase Target database
1165
+ * @param {string} invoiceDate Invoice Date
1166
+ * @param {*} [options] Override http request option.
1167
+ * @throws {RequiredError}
1168
+ */
1169
+ async listPremInvoiceGenerate(vbasoftwareDatabase: string, invoiceDate: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PremInvoiceGenerateInvListListVBAResponse>> {
1170
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPremInvoiceGenerate(vbasoftwareDatabase, invoiceDate, options);
1171
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1172
+ },
1173
+ /**
1174
+ * List of Self-Admin Invoices to be generated based on the selected Invoice Date.
1175
+ * @summary List Self-Admin Invoices to be Generated
1176
+ * @param {string} vbasoftwareDatabase Target database
1177
+ * @param {string} invoiceDate Invoice Date
1178
+ * @param {*} [options] Override http request option.
1179
+ * @throws {RequiredError}
1180
+ */
1181
+ async listPremInvoiceGenerateSelfAdmin(vbasoftwareDatabase: string, invoiceDate: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PremInvoiceGenerateSelfAdminInvListListVBAResponse>> {
1182
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPremInvoiceGenerateSelfAdmin(vbasoftwareDatabase, invoiceDate, options);
1183
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1184
+ },
1185
+ /**
1186
+ * PremInvoice Apply Payments by Header Adjustment
1187
+ * @summary PremInvoice Apply Payments by Header Adjustment
1188
+ * @param {string} vbasoftwareDatabase Target database
1189
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
1190
+ * @param {*} [options] Override http request option.
1191
+ * @throws {RequiredError}
1192
+ */
1193
+ async premInvoiceApplyPaymentHeaderAdjustment(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1194
+ const localVarAxiosArgs = await localVarAxiosParamCreator.premInvoiceApplyPaymentHeaderAdjustment(vbasoftwareDatabase, premInvoiceApplyPayment, options);
1195
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1196
+ },
1197
+ /**
1198
+ * PremInvoice Apply Payments by Subscriber
1199
+ * @summary PremInvoice Apply Payments by Subscriber
1200
+ * @param {string} vbasoftwareDatabase Target database
1201
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
1202
+ * @param {*} [options] Override http request option.
1203
+ * @throws {RequiredError}
1204
+ */
1205
+ async premInvoiceApplyPaymentSubscriber(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1206
+ const localVarAxiosArgs = await localVarAxiosParamCreator.premInvoiceApplyPaymentSubscriber(vbasoftwareDatabase, premInvoiceApplyPayment, options);
1207
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1208
+ },
1209
+ /**
1210
+ * PremInvoice Apply Payments by Subscriber and Payor ID
1211
+ * @summary PremInvoice Apply Payments by Subscriber and Payor ID
1212
+ * @param {string} vbasoftwareDatabase Target database
1213
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
1214
+ * @param {*} [options] Override http request option.
1215
+ * @throws {RequiredError}
1216
+ */
1217
+ async premInvoiceApplyPaymentSubscriberPayorID(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1218
+ const localVarAxiosArgs = await localVarAxiosParamCreator.premInvoiceApplyPaymentSubscriberPayorID(vbasoftwareDatabase, premInvoiceApplyPayment, options);
1219
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1220
+ },
1221
+ /**
1222
+ * PremInvoice Apply Payments by Subscriber and Plan Type
1223
+ * @summary PremInvoice Apply Payments by Subscriber and Plan Type
1224
+ * @param {string} vbasoftwareDatabase Target database
1225
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
1226
+ * @param {*} [options] Override http request option.
1227
+ * @throws {RequiredError}
1228
+ */
1229
+ async premInvoiceApplyPaymentSubscriberPlanType(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1230
+ const localVarAxiosArgs = await localVarAxiosParamCreator.premInvoiceApplyPaymentSubscriberPlanType(vbasoftwareDatabase, premInvoiceApplyPayment, options);
1231
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1232
+ },
1233
+ /**
1234
+ * Auto-Apply all payements to the selected invoice.
1235
+ * @summary PremInvoice Auto-Apply
1236
+ * @param {string} vbasoftwareDatabase Target database
1237
+ * @param {number} invoiceKey Invoice Key
1238
+ * @param {*} [options] Override http request option.
1239
+ * @throws {RequiredError}
1240
+ */
1241
+ async premInvoiceAutoApply(vbasoftwareDatabase: string, invoiceKey: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1242
+ const localVarAxiosArgs = await localVarAxiosParamCreator.premInvoiceAutoApply(vbasoftwareDatabase, invoiceKey, options);
1243
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1244
+ },
1245
+ /**
1246
+ * Auto-Apply all payements to the selected Self-Admin invoice.
1247
+ * @summary PremInvoice Auto-Apply for Self-Admin
1248
+ * @param {string} vbasoftwareDatabase Target database
1249
+ * @param {number} invoiceKey Invoice Key
1250
+ * @param {*} [options] Override http request option.
1251
+ * @throws {RequiredError}
1252
+ */
1253
+ async premInvoiceAutoApplySelfAdmin(vbasoftwareDatabase: string, invoiceKey: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1254
+ const localVarAxiosArgs = await localVarAxiosParamCreator.premInvoiceAutoApplySelfAdmin(vbasoftwareDatabase, invoiceKey, options);
1255
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1256
+ },
1257
+ }
1258
+ };
1259
+
1260
+ /**
1261
+ * AdvBillingApi - factory interface
1262
+ * @export
1263
+ */
1264
+ export const AdvBillingApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1265
+ const localVarFp = AdvBillingApiFp(configuration)
1266
+ return {
1267
+ /**
1268
+ * Create a new Premium Rate based on the selected Template Rate.
1269
+ * @summary Add Rate from Template
1270
+ * @param {string} vbasoftwareDatabase Target database
1271
+ * @param {number} premRateKey Subscriber ID
1272
+ * @param {string} groupID Subscriber ID
1273
+ * @param {string} divisionID Subscriber ID
1274
+ * @param {string} premRateType Subscriber ID
1275
+ * @param {*} [options] Override http request option.
1276
+ * @throws {RequiredError}
1277
+ */
1278
+ addPremRateFromTemplate(vbasoftwareDatabase: string, premRateKey: number, groupID: string, divisionID: string, premRateType: string, options?: any): AxiosPromise<PremRateVBAResponse> {
1279
+ return localVarFp.addPremRateFromTemplate(vbasoftwareDatabase, premRateKey, groupID, divisionID, premRateType, options).then((request) => request(axios, basePath));
1280
+ },
1281
+ /**
1282
+ * Generate the necessary Billing adjustments for an Invoice refund and create a Distribution if needed.
1283
+ * @summary Billing Refund
1284
+ * @param {string} vbasoftwareDatabase Target database
1285
+ * @param {BillingRefund} billingRefund
1286
+ * @param {*} [options] Override http request option.
1287
+ * @throws {RequiredError}
1288
+ */
1289
+ billingRefund(vbasoftwareDatabase: string, billingRefund: BillingRefund, options?: any): AxiosPromise<void> {
1290
+ return localVarFp.billingRefund(vbasoftwareDatabase, billingRefund, options).then((request) => request(axios, basePath));
1291
+ },
1292
+ /**
1293
+ * Generate the Premium Distributions for the selected Group and As of Date.
1294
+ * @summary Create Premium Distributions
1295
+ * @param {string} vbasoftwareDatabase Target database
1296
+ * @param {string} groupId Group ID
1297
+ * @param {string} asOfDate As of Date
1298
+ * @param {*} [options] Override http request option.
1299
+ * @throws {RequiredError}
1300
+ */
1301
+ generatePremDistribution(vbasoftwareDatabase: string, groupId: string, asOfDate: string, options?: any): AxiosPromise<void> {
1302
+ return localVarFp.generatePremDistribution(vbasoftwareDatabase, groupId, asOfDate, options).then((request) => request(axios, basePath));
1303
+ },
1304
+ /**
1305
+ * Generate the Premium Distribution Checks for the selected Payor and Payee.
1306
+ * @summary Create Premium Distributions Checks
1307
+ * @param {string} vbasoftwareDatabase Target database
1308
+ * @param {string} payeeId Payee ID
1309
+ * @param {string} payorId Payor ID
1310
+ * @param {number} accountKey Account Key
1311
+ * @param {string} checkNumber Check Number
1312
+ * @param {*} [options] Override http request option.
1313
+ * @throws {RequiredError}
1314
+ */
1315
+ generatePremDistributionCheck(vbasoftwareDatabase: string, payeeId: string, payorId: string, accountKey: number, checkNumber: string, options?: any): AxiosPromise<void> {
1316
+ return localVarFp.generatePremDistributionCheck(vbasoftwareDatabase, payeeId, payorId, accountKey, checkNumber, options).then((request) => request(axios, basePath));
1317
+ },
1318
+ /**
1319
+ * Creates a new Premium Billing Invoice for the selected Group/Division.
1320
+ * @summary Generate Division Invoice
1321
+ * @param {string} vbasoftwareDatabase Target database
1322
+ * @param {GeneratePremInvoice} generatePremInvoice
1323
+ * @param {*} [options] Override http request option.
1324
+ * @throws {RequiredError}
1325
+ */
1326
+ generatePremInvoiceDivision(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: any): AxiosPromise<PremInvoiceVBAResponse> {
1327
+ return localVarFp.generatePremInvoiceDivision(vbasoftwareDatabase, generatePremInvoice, options).then((request) => request(axios, basePath));
1328
+ },
1329
+ /**
1330
+ * Creates a new Premium Billing Invoice for the selected Group.
1331
+ * @summary Generate Group Invoice
1332
+ * @param {string} vbasoftwareDatabase Target database
1333
+ * @param {GeneratePremInvoice} generatePremInvoice
1334
+ * @param {*} [options] Override http request option.
1335
+ * @throws {RequiredError}
1336
+ */
1337
+ generatePremInvoiceGroup(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: any): AxiosPromise<PremInvoiceVBAResponse> {
1338
+ return localVarFp.generatePremInvoiceGroup(vbasoftwareDatabase, generatePremInvoice, options).then((request) => request(axios, basePath));
1339
+ },
1340
+ /**
1341
+ * Creates a new Premium Billing Invoice the selected Group for any Division with the Group Invoice Level AND a separate Invoice for each Division flagged as Division Invoice Level.
1342
+ * @summary Generate Group and Division Invoice
1343
+ * @param {string} vbasoftwareDatabase Target database
1344
+ * @param {GeneratePremInvoice} generatePremInvoice
1345
+ * @param {*} [options] Override http request option.
1346
+ * @throws {RequiredError}
1347
+ */
1348
+ generatePremInvoiceGroupDivision(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: any): AxiosPromise<void> {
1349
+ return localVarFp.generatePremInvoiceGroupDivision(vbasoftwareDatabase, generatePremInvoice, options).then((request) => request(axios, basePath));
1350
+ },
1351
+ /**
1352
+ * Creates a new Self-Admin Invoice for the selected Group/Division.
1353
+ * @summary Generate Self-Admin Division Invoice
1354
+ * @param {string} vbasoftwareDatabase Target database
1355
+ * @param {GeneratePremInvoice} generatePremInvoice
1356
+ * @param {*} [options] Override http request option.
1357
+ * @throws {RequiredError}
1358
+ */
1359
+ generatePremInvoiceSelfAdminDivision(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: any): AxiosPromise<PremInvoiceVBAResponse> {
1360
+ return localVarFp.generatePremInvoiceSelfAdminDivision(vbasoftwareDatabase, generatePremInvoice, options).then((request) => request(axios, basePath));
1361
+ },
1362
+ /**
1363
+ * Creates a new Self-Admin Invoice for the selected Group.
1364
+ * @summary Generate Self-Admin Group Invoice
1365
+ * @param {string} vbasoftwareDatabase Target database
1366
+ * @param {GeneratePremInvoice} generatePremInvoice
1367
+ * @param {*} [options] Override http request option.
1368
+ * @throws {RequiredError}
1369
+ */
1370
+ generatePremInvoiceSelfAdminGroup(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: any): AxiosPromise<PremInvoiceVBAResponse> {
1371
+ return localVarFp.generatePremInvoiceSelfAdminGroup(vbasoftwareDatabase, generatePremInvoice, options).then((request) => request(axios, basePath));
1372
+ },
1373
+ /**
1374
+ * Creates a new Premium Billing Invoice for the selected Subscriber.
1375
+ * @summary Generate Subscriber Invoice
1376
+ * @param {string} vbasoftwareDatabase Target database
1377
+ * @param {GeneratePremInvoice} generatePremInvoice
1378
+ * @param {*} [options] Override http request option.
1379
+ * @throws {RequiredError}
1380
+ */
1381
+ generatePremInvoiceSubscriber(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: any): AxiosPromise<PremInvoiceVBAResponse> {
1382
+ return localVarFp.generatePremInvoiceSubscriber(vbasoftwareDatabase, generatePremInvoice, options).then((request) => request(axios, basePath));
1383
+ },
1384
+ /**
1385
+ * List of Billing Adjustments that would be created based on a Subscriber being disenrolled on the As of Date.
1386
+ * @summary List Billing Adjustments for Disenroll
1387
+ * @param {string} vbasoftwareDatabase Target database
1388
+ * @param {string} subscriberID Subscriber ID
1389
+ * @param {string} asOfDate As of Date
1390
+ * @param {*} [options] Override http request option.
1391
+ * @throws {RequiredError}
1392
+ */
1393
+ listDisenrollAdjustment(vbasoftwareDatabase: string, subscriberID: string, asOfDate: string, options?: any): AxiosPromise<PremInvoiceGenerateInvListResultListVBAResponse> {
1394
+ return localVarFp.listDisenrollAdjustment(vbasoftwareDatabase, subscriberID, asOfDate, options).then((request) => request(axios, basePath));
1395
+ },
1396
+ /**
1397
+ * List of Invoices to be generated based on the selected Invoice Date.
1398
+ * @summary List Invoices to be Generated
1399
+ * @param {string} vbasoftwareDatabase Target database
1400
+ * @param {string} invoiceDate Invoice Date
1401
+ * @param {*} [options] Override http request option.
1402
+ * @throws {RequiredError}
1403
+ */
1404
+ listPremInvoiceGenerate(vbasoftwareDatabase: string, invoiceDate: string, options?: any): AxiosPromise<PremInvoiceGenerateInvListListVBAResponse> {
1405
+ return localVarFp.listPremInvoiceGenerate(vbasoftwareDatabase, invoiceDate, options).then((request) => request(axios, basePath));
1406
+ },
1407
+ /**
1408
+ * List of Self-Admin Invoices to be generated based on the selected Invoice Date.
1409
+ * @summary List Self-Admin Invoices to be Generated
1410
+ * @param {string} vbasoftwareDatabase Target database
1411
+ * @param {string} invoiceDate Invoice Date
1412
+ * @param {*} [options] Override http request option.
1413
+ * @throws {RequiredError}
1414
+ */
1415
+ listPremInvoiceGenerateSelfAdmin(vbasoftwareDatabase: string, invoiceDate: string, options?: any): AxiosPromise<PremInvoiceGenerateSelfAdminInvListListVBAResponse> {
1416
+ return localVarFp.listPremInvoiceGenerateSelfAdmin(vbasoftwareDatabase, invoiceDate, options).then((request) => request(axios, basePath));
1417
+ },
1418
+ /**
1419
+ * PremInvoice Apply Payments by Header Adjustment
1420
+ * @summary PremInvoice Apply Payments by Header Adjustment
1421
+ * @param {string} vbasoftwareDatabase Target database
1422
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
1423
+ * @param {*} [options] Override http request option.
1424
+ * @throws {RequiredError}
1425
+ */
1426
+ premInvoiceApplyPaymentHeaderAdjustment(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: any): AxiosPromise<void> {
1427
+ return localVarFp.premInvoiceApplyPaymentHeaderAdjustment(vbasoftwareDatabase, premInvoiceApplyPayment, options).then((request) => request(axios, basePath));
1428
+ },
1429
+ /**
1430
+ * PremInvoice Apply Payments by Subscriber
1431
+ * @summary PremInvoice Apply Payments by Subscriber
1432
+ * @param {string} vbasoftwareDatabase Target database
1433
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
1434
+ * @param {*} [options] Override http request option.
1435
+ * @throws {RequiredError}
1436
+ */
1437
+ premInvoiceApplyPaymentSubscriber(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: any): AxiosPromise<void> {
1438
+ return localVarFp.premInvoiceApplyPaymentSubscriber(vbasoftwareDatabase, premInvoiceApplyPayment, options).then((request) => request(axios, basePath));
1439
+ },
1440
+ /**
1441
+ * PremInvoice Apply Payments by Subscriber and Payor ID
1442
+ * @summary PremInvoice Apply Payments by Subscriber and Payor ID
1443
+ * @param {string} vbasoftwareDatabase Target database
1444
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
1445
+ * @param {*} [options] Override http request option.
1446
+ * @throws {RequiredError}
1447
+ */
1448
+ premInvoiceApplyPaymentSubscriberPayorID(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: any): AxiosPromise<void> {
1449
+ return localVarFp.premInvoiceApplyPaymentSubscriberPayorID(vbasoftwareDatabase, premInvoiceApplyPayment, options).then((request) => request(axios, basePath));
1450
+ },
1451
+ /**
1452
+ * PremInvoice Apply Payments by Subscriber and Plan Type
1453
+ * @summary PremInvoice Apply Payments by Subscriber and Plan Type
1454
+ * @param {string} vbasoftwareDatabase Target database
1455
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
1456
+ * @param {*} [options] Override http request option.
1457
+ * @throws {RequiredError}
1458
+ */
1459
+ premInvoiceApplyPaymentSubscriberPlanType(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: any): AxiosPromise<void> {
1460
+ return localVarFp.premInvoiceApplyPaymentSubscriberPlanType(vbasoftwareDatabase, premInvoiceApplyPayment, options).then((request) => request(axios, basePath));
1461
+ },
1462
+ /**
1463
+ * Auto-Apply all payements to the selected invoice.
1464
+ * @summary PremInvoice Auto-Apply
1465
+ * @param {string} vbasoftwareDatabase Target database
1466
+ * @param {number} invoiceKey Invoice Key
1467
+ * @param {*} [options] Override http request option.
1468
+ * @throws {RequiredError}
1469
+ */
1470
+ premInvoiceAutoApply(vbasoftwareDatabase: string, invoiceKey: number, options?: any): AxiosPromise<void> {
1471
+ return localVarFp.premInvoiceAutoApply(vbasoftwareDatabase, invoiceKey, options).then((request) => request(axios, basePath));
1472
+ },
1473
+ /**
1474
+ * Auto-Apply all payements to the selected Self-Admin invoice.
1475
+ * @summary PremInvoice Auto-Apply for Self-Admin
1476
+ * @param {string} vbasoftwareDatabase Target database
1477
+ * @param {number} invoiceKey Invoice Key
1478
+ * @param {*} [options] Override http request option.
1479
+ * @throws {RequiredError}
1480
+ */
1481
+ premInvoiceAutoApplySelfAdmin(vbasoftwareDatabase: string, invoiceKey: number, options?: any): AxiosPromise<void> {
1482
+ return localVarFp.premInvoiceAutoApplySelfAdmin(vbasoftwareDatabase, invoiceKey, options).then((request) => request(axios, basePath));
1483
+ },
1484
+ };
1485
+ };
1486
+
1487
+ /**
1488
+ * AdvBillingApi - interface
1489
+ * @export
1490
+ * @interface AdvBillingApi
1491
+ */
1492
+ export interface AdvBillingApiInterface {
1493
+ /**
1494
+ * Create a new Premium Rate based on the selected Template Rate.
1495
+ * @summary Add Rate from Template
1496
+ * @param {string} vbasoftwareDatabase Target database
1497
+ * @param {number} premRateKey Subscriber ID
1498
+ * @param {string} groupID Subscriber ID
1499
+ * @param {string} divisionID Subscriber ID
1500
+ * @param {string} premRateType Subscriber ID
1501
+ * @param {*} [options] Override http request option.
1502
+ * @throws {RequiredError}
1503
+ * @memberof AdvBillingApiInterface
1504
+ */
1505
+ addPremRateFromTemplate(vbasoftwareDatabase: string, premRateKey: number, groupID: string, divisionID: string, premRateType: string, options?: AxiosRequestConfig): AxiosPromise<PremRateVBAResponse>;
1506
+
1507
+ /**
1508
+ * Generate the necessary Billing adjustments for an Invoice refund and create a Distribution if needed.
1509
+ * @summary Billing Refund
1510
+ * @param {string} vbasoftwareDatabase Target database
1511
+ * @param {BillingRefund} billingRefund
1512
+ * @param {*} [options] Override http request option.
1513
+ * @throws {RequiredError}
1514
+ * @memberof AdvBillingApiInterface
1515
+ */
1516
+ billingRefund(vbasoftwareDatabase: string, billingRefund: BillingRefund, options?: AxiosRequestConfig): AxiosPromise<void>;
1517
+
1518
+ /**
1519
+ * Generate the Premium Distributions for the selected Group and As of Date.
1520
+ * @summary Create Premium Distributions
1521
+ * @param {string} vbasoftwareDatabase Target database
1522
+ * @param {string} groupId Group ID
1523
+ * @param {string} asOfDate As of Date
1524
+ * @param {*} [options] Override http request option.
1525
+ * @throws {RequiredError}
1526
+ * @memberof AdvBillingApiInterface
1527
+ */
1528
+ generatePremDistribution(vbasoftwareDatabase: string, groupId: string, asOfDate: string, options?: AxiosRequestConfig): AxiosPromise<void>;
1529
+
1530
+ /**
1531
+ * Generate the Premium Distribution Checks for the selected Payor and Payee.
1532
+ * @summary Create Premium Distributions Checks
1533
+ * @param {string} vbasoftwareDatabase Target database
1534
+ * @param {string} payeeId Payee ID
1535
+ * @param {string} payorId Payor ID
1536
+ * @param {number} accountKey Account Key
1537
+ * @param {string} checkNumber Check Number
1538
+ * @param {*} [options] Override http request option.
1539
+ * @throws {RequiredError}
1540
+ * @memberof AdvBillingApiInterface
1541
+ */
1542
+ generatePremDistributionCheck(vbasoftwareDatabase: string, payeeId: string, payorId: string, accountKey: number, checkNumber: string, options?: AxiosRequestConfig): AxiosPromise<void>;
1543
+
1544
+ /**
1545
+ * Creates a new Premium Billing Invoice for the selected Group/Division.
1546
+ * @summary Generate Division Invoice
1547
+ * @param {string} vbasoftwareDatabase Target database
1548
+ * @param {GeneratePremInvoice} generatePremInvoice
1549
+ * @param {*} [options] Override http request option.
1550
+ * @throws {RequiredError}
1551
+ * @memberof AdvBillingApiInterface
1552
+ */
1553
+ generatePremInvoiceDivision(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: AxiosRequestConfig): AxiosPromise<PremInvoiceVBAResponse>;
1554
+
1555
+ /**
1556
+ * Creates a new Premium Billing Invoice for the selected Group.
1557
+ * @summary Generate Group Invoice
1558
+ * @param {string} vbasoftwareDatabase Target database
1559
+ * @param {GeneratePremInvoice} generatePremInvoice
1560
+ * @param {*} [options] Override http request option.
1561
+ * @throws {RequiredError}
1562
+ * @memberof AdvBillingApiInterface
1563
+ */
1564
+ generatePremInvoiceGroup(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: AxiosRequestConfig): AxiosPromise<PremInvoiceVBAResponse>;
1565
+
1566
+ /**
1567
+ * Creates a new Premium Billing Invoice the selected Group for any Division with the Group Invoice Level AND a separate Invoice for each Division flagged as Division Invoice Level.
1568
+ * @summary Generate Group and Division Invoice
1569
+ * @param {string} vbasoftwareDatabase Target database
1570
+ * @param {GeneratePremInvoice} generatePremInvoice
1571
+ * @param {*} [options] Override http request option.
1572
+ * @throws {RequiredError}
1573
+ * @memberof AdvBillingApiInterface
1574
+ */
1575
+ generatePremInvoiceGroupDivision(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: AxiosRequestConfig): AxiosPromise<void>;
1576
+
1577
+ /**
1578
+ * Creates a new Self-Admin Invoice for the selected Group/Division.
1579
+ * @summary Generate Self-Admin Division Invoice
1580
+ * @param {string} vbasoftwareDatabase Target database
1581
+ * @param {GeneratePremInvoice} generatePremInvoice
1582
+ * @param {*} [options] Override http request option.
1583
+ * @throws {RequiredError}
1584
+ * @memberof AdvBillingApiInterface
1585
+ */
1586
+ generatePremInvoiceSelfAdminDivision(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: AxiosRequestConfig): AxiosPromise<PremInvoiceVBAResponse>;
1587
+
1588
+ /**
1589
+ * Creates a new Self-Admin Invoice for the selected Group.
1590
+ * @summary Generate Self-Admin Group Invoice
1591
+ * @param {string} vbasoftwareDatabase Target database
1592
+ * @param {GeneratePremInvoice} generatePremInvoice
1593
+ * @param {*} [options] Override http request option.
1594
+ * @throws {RequiredError}
1595
+ * @memberof AdvBillingApiInterface
1596
+ */
1597
+ generatePremInvoiceSelfAdminGroup(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: AxiosRequestConfig): AxiosPromise<PremInvoiceVBAResponse>;
1598
+
1599
+ /**
1600
+ * Creates a new Premium Billing Invoice for the selected Subscriber.
1601
+ * @summary Generate Subscriber Invoice
1602
+ * @param {string} vbasoftwareDatabase Target database
1603
+ * @param {GeneratePremInvoice} generatePremInvoice
1604
+ * @param {*} [options] Override http request option.
1605
+ * @throws {RequiredError}
1606
+ * @memberof AdvBillingApiInterface
1607
+ */
1608
+ generatePremInvoiceSubscriber(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: AxiosRequestConfig): AxiosPromise<PremInvoiceVBAResponse>;
1609
+
1610
+ /**
1611
+ * List of Billing Adjustments that would be created based on a Subscriber being disenrolled on the As of Date.
1612
+ * @summary List Billing Adjustments for Disenroll
1613
+ * @param {string} vbasoftwareDatabase Target database
1614
+ * @param {string} subscriberID Subscriber ID
1615
+ * @param {string} asOfDate As of Date
1616
+ * @param {*} [options] Override http request option.
1617
+ * @throws {RequiredError}
1618
+ * @memberof AdvBillingApiInterface
1619
+ */
1620
+ listDisenrollAdjustment(vbasoftwareDatabase: string, subscriberID: string, asOfDate: string, options?: AxiosRequestConfig): AxiosPromise<PremInvoiceGenerateInvListResultListVBAResponse>;
1621
+
1622
+ /**
1623
+ * List of Invoices to be generated based on the selected Invoice Date.
1624
+ * @summary List Invoices to be Generated
1625
+ * @param {string} vbasoftwareDatabase Target database
1626
+ * @param {string} invoiceDate Invoice Date
1627
+ * @param {*} [options] Override http request option.
1628
+ * @throws {RequiredError}
1629
+ * @memberof AdvBillingApiInterface
1630
+ */
1631
+ listPremInvoiceGenerate(vbasoftwareDatabase: string, invoiceDate: string, options?: AxiosRequestConfig): AxiosPromise<PremInvoiceGenerateInvListListVBAResponse>;
1632
+
1633
+ /**
1634
+ * List of Self-Admin Invoices to be generated based on the selected Invoice Date.
1635
+ * @summary List Self-Admin Invoices to be Generated
1636
+ * @param {string} vbasoftwareDatabase Target database
1637
+ * @param {string} invoiceDate Invoice Date
1638
+ * @param {*} [options] Override http request option.
1639
+ * @throws {RequiredError}
1640
+ * @memberof AdvBillingApiInterface
1641
+ */
1642
+ listPremInvoiceGenerateSelfAdmin(vbasoftwareDatabase: string, invoiceDate: string, options?: AxiosRequestConfig): AxiosPromise<PremInvoiceGenerateSelfAdminInvListListVBAResponse>;
1643
+
1644
+ /**
1645
+ * PremInvoice Apply Payments by Header Adjustment
1646
+ * @summary PremInvoice Apply Payments by Header Adjustment
1647
+ * @param {string} vbasoftwareDatabase Target database
1648
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
1649
+ * @param {*} [options] Override http request option.
1650
+ * @throws {RequiredError}
1651
+ * @memberof AdvBillingApiInterface
1652
+ */
1653
+ premInvoiceApplyPaymentHeaderAdjustment(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: AxiosRequestConfig): AxiosPromise<void>;
1654
+
1655
+ /**
1656
+ * PremInvoice Apply Payments by Subscriber
1657
+ * @summary PremInvoice Apply Payments by Subscriber
1658
+ * @param {string} vbasoftwareDatabase Target database
1659
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
1660
+ * @param {*} [options] Override http request option.
1661
+ * @throws {RequiredError}
1662
+ * @memberof AdvBillingApiInterface
1663
+ */
1664
+ premInvoiceApplyPaymentSubscriber(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: AxiosRequestConfig): AxiosPromise<void>;
1665
+
1666
+ /**
1667
+ * PremInvoice Apply Payments by Subscriber and Payor ID
1668
+ * @summary PremInvoice Apply Payments by Subscriber and Payor ID
1669
+ * @param {string} vbasoftwareDatabase Target database
1670
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
1671
+ * @param {*} [options] Override http request option.
1672
+ * @throws {RequiredError}
1673
+ * @memberof AdvBillingApiInterface
1674
+ */
1675
+ premInvoiceApplyPaymentSubscriberPayorID(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: AxiosRequestConfig): AxiosPromise<void>;
1676
+
1677
+ /**
1678
+ * PremInvoice Apply Payments by Subscriber and Plan Type
1679
+ * @summary PremInvoice Apply Payments by Subscriber and Plan Type
1680
+ * @param {string} vbasoftwareDatabase Target database
1681
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
1682
+ * @param {*} [options] Override http request option.
1683
+ * @throws {RequiredError}
1684
+ * @memberof AdvBillingApiInterface
1685
+ */
1686
+ premInvoiceApplyPaymentSubscriberPlanType(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: AxiosRequestConfig): AxiosPromise<void>;
1687
+
1688
+ /**
1689
+ * Auto-Apply all payements to the selected invoice.
1690
+ * @summary PremInvoice Auto-Apply
1691
+ * @param {string} vbasoftwareDatabase Target database
1692
+ * @param {number} invoiceKey Invoice Key
1693
+ * @param {*} [options] Override http request option.
1694
+ * @throws {RequiredError}
1695
+ * @memberof AdvBillingApiInterface
1696
+ */
1697
+ premInvoiceAutoApply(vbasoftwareDatabase: string, invoiceKey: number, options?: AxiosRequestConfig): AxiosPromise<void>;
1698
+
1699
+ /**
1700
+ * Auto-Apply all payements to the selected Self-Admin invoice.
1701
+ * @summary PremInvoice Auto-Apply for Self-Admin
1702
+ * @param {string} vbasoftwareDatabase Target database
1703
+ * @param {number} invoiceKey Invoice Key
1704
+ * @param {*} [options] Override http request option.
1705
+ * @throws {RequiredError}
1706
+ * @memberof AdvBillingApiInterface
1707
+ */
1708
+ premInvoiceAutoApplySelfAdmin(vbasoftwareDatabase: string, invoiceKey: number, options?: AxiosRequestConfig): AxiosPromise<void>;
1709
+
1710
+ }
1711
+
1712
+ /**
1713
+ * AdvBillingApi - object-oriented interface
1714
+ * @export
1715
+ * @class AdvBillingApi
1716
+ * @extends {BaseAPI}
1717
+ */
1718
+ export class AdvBillingApi extends BaseAPI implements AdvBillingApiInterface {
1719
+ /**
1720
+ * Create a new Premium Rate based on the selected Template Rate.
1721
+ * @summary Add Rate from Template
1722
+ * @param {string} vbasoftwareDatabase Target database
1723
+ * @param {number} premRateKey Subscriber ID
1724
+ * @param {string} groupID Subscriber ID
1725
+ * @param {string} divisionID Subscriber ID
1726
+ * @param {string} premRateType Subscriber ID
1727
+ * @param {*} [options] Override http request option.
1728
+ * @throws {RequiredError}
1729
+ * @memberof AdvBillingApi
1730
+ */
1731
+ public addPremRateFromTemplate(vbasoftwareDatabase: string, premRateKey: number, groupID: string, divisionID: string, premRateType: string, options?: AxiosRequestConfig) {
1732
+ return AdvBillingApiFp(this.configuration).addPremRateFromTemplate(vbasoftwareDatabase, premRateKey, groupID, divisionID, premRateType, options).then((request) => request(this.axios, this.basePath));
1733
+ }
1734
+
1735
+ /**
1736
+ * Generate the necessary Billing adjustments for an Invoice refund and create a Distribution if needed.
1737
+ * @summary Billing Refund
1738
+ * @param {string} vbasoftwareDatabase Target database
1739
+ * @param {BillingRefund} billingRefund
1740
+ * @param {*} [options] Override http request option.
1741
+ * @throws {RequiredError}
1742
+ * @memberof AdvBillingApi
1743
+ */
1744
+ public billingRefund(vbasoftwareDatabase: string, billingRefund: BillingRefund, options?: AxiosRequestConfig) {
1745
+ return AdvBillingApiFp(this.configuration).billingRefund(vbasoftwareDatabase, billingRefund, options).then((request) => request(this.axios, this.basePath));
1746
+ }
1747
+
1748
+ /**
1749
+ * Generate the Premium Distributions for the selected Group and As of Date.
1750
+ * @summary Create Premium Distributions
1751
+ * @param {string} vbasoftwareDatabase Target database
1752
+ * @param {string} groupId Group ID
1753
+ * @param {string} asOfDate As of Date
1754
+ * @param {*} [options] Override http request option.
1755
+ * @throws {RequiredError}
1756
+ * @memberof AdvBillingApi
1757
+ */
1758
+ public generatePremDistribution(vbasoftwareDatabase: string, groupId: string, asOfDate: string, options?: AxiosRequestConfig) {
1759
+ return AdvBillingApiFp(this.configuration).generatePremDistribution(vbasoftwareDatabase, groupId, asOfDate, options).then((request) => request(this.axios, this.basePath));
1760
+ }
1761
+
1762
+ /**
1763
+ * Generate the Premium Distribution Checks for the selected Payor and Payee.
1764
+ * @summary Create Premium Distributions Checks
1765
+ * @param {string} vbasoftwareDatabase Target database
1766
+ * @param {string} payeeId Payee ID
1767
+ * @param {string} payorId Payor ID
1768
+ * @param {number} accountKey Account Key
1769
+ * @param {string} checkNumber Check Number
1770
+ * @param {*} [options] Override http request option.
1771
+ * @throws {RequiredError}
1772
+ * @memberof AdvBillingApi
1773
+ */
1774
+ public generatePremDistributionCheck(vbasoftwareDatabase: string, payeeId: string, payorId: string, accountKey: number, checkNumber: string, options?: AxiosRequestConfig) {
1775
+ return AdvBillingApiFp(this.configuration).generatePremDistributionCheck(vbasoftwareDatabase, payeeId, payorId, accountKey, checkNumber, options).then((request) => request(this.axios, this.basePath));
1776
+ }
1777
+
1778
+ /**
1779
+ * Creates a new Premium Billing Invoice for the selected Group/Division.
1780
+ * @summary Generate Division Invoice
1781
+ * @param {string} vbasoftwareDatabase Target database
1782
+ * @param {GeneratePremInvoice} generatePremInvoice
1783
+ * @param {*} [options] Override http request option.
1784
+ * @throws {RequiredError}
1785
+ * @memberof AdvBillingApi
1786
+ */
1787
+ public generatePremInvoiceDivision(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: AxiosRequestConfig) {
1788
+ return AdvBillingApiFp(this.configuration).generatePremInvoiceDivision(vbasoftwareDatabase, generatePremInvoice, options).then((request) => request(this.axios, this.basePath));
1789
+ }
1790
+
1791
+ /**
1792
+ * Creates a new Premium Billing Invoice for the selected Group.
1793
+ * @summary Generate Group Invoice
1794
+ * @param {string} vbasoftwareDatabase Target database
1795
+ * @param {GeneratePremInvoice} generatePremInvoice
1796
+ * @param {*} [options] Override http request option.
1797
+ * @throws {RequiredError}
1798
+ * @memberof AdvBillingApi
1799
+ */
1800
+ public generatePremInvoiceGroup(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: AxiosRequestConfig) {
1801
+ return AdvBillingApiFp(this.configuration).generatePremInvoiceGroup(vbasoftwareDatabase, generatePremInvoice, options).then((request) => request(this.axios, this.basePath));
1802
+ }
1803
+
1804
+ /**
1805
+ * Creates a new Premium Billing Invoice the selected Group for any Division with the Group Invoice Level AND a separate Invoice for each Division flagged as Division Invoice Level.
1806
+ * @summary Generate Group and Division Invoice
1807
+ * @param {string} vbasoftwareDatabase Target database
1808
+ * @param {GeneratePremInvoice} generatePremInvoice
1809
+ * @param {*} [options] Override http request option.
1810
+ * @throws {RequiredError}
1811
+ * @memberof AdvBillingApi
1812
+ */
1813
+ public generatePremInvoiceGroupDivision(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: AxiosRequestConfig) {
1814
+ return AdvBillingApiFp(this.configuration).generatePremInvoiceGroupDivision(vbasoftwareDatabase, generatePremInvoice, options).then((request) => request(this.axios, this.basePath));
1815
+ }
1816
+
1817
+ /**
1818
+ * Creates a new Self-Admin Invoice for the selected Group/Division.
1819
+ * @summary Generate Self-Admin Division Invoice
1820
+ * @param {string} vbasoftwareDatabase Target database
1821
+ * @param {GeneratePremInvoice} generatePremInvoice
1822
+ * @param {*} [options] Override http request option.
1823
+ * @throws {RequiredError}
1824
+ * @memberof AdvBillingApi
1825
+ */
1826
+ public generatePremInvoiceSelfAdminDivision(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: AxiosRequestConfig) {
1827
+ return AdvBillingApiFp(this.configuration).generatePremInvoiceSelfAdminDivision(vbasoftwareDatabase, generatePremInvoice, options).then((request) => request(this.axios, this.basePath));
1828
+ }
1829
+
1830
+ /**
1831
+ * Creates a new Self-Admin Invoice for the selected Group.
1832
+ * @summary Generate Self-Admin Group Invoice
1833
+ * @param {string} vbasoftwareDatabase Target database
1834
+ * @param {GeneratePremInvoice} generatePremInvoice
1835
+ * @param {*} [options] Override http request option.
1836
+ * @throws {RequiredError}
1837
+ * @memberof AdvBillingApi
1838
+ */
1839
+ public generatePremInvoiceSelfAdminGroup(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: AxiosRequestConfig) {
1840
+ return AdvBillingApiFp(this.configuration).generatePremInvoiceSelfAdminGroup(vbasoftwareDatabase, generatePremInvoice, options).then((request) => request(this.axios, this.basePath));
1841
+ }
1842
+
1843
+ /**
1844
+ * Creates a new Premium Billing Invoice for the selected Subscriber.
1845
+ * @summary Generate Subscriber Invoice
1846
+ * @param {string} vbasoftwareDatabase Target database
1847
+ * @param {GeneratePremInvoice} generatePremInvoice
1848
+ * @param {*} [options] Override http request option.
1849
+ * @throws {RequiredError}
1850
+ * @memberof AdvBillingApi
1851
+ */
1852
+ public generatePremInvoiceSubscriber(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: AxiosRequestConfig) {
1853
+ return AdvBillingApiFp(this.configuration).generatePremInvoiceSubscriber(vbasoftwareDatabase, generatePremInvoice, options).then((request) => request(this.axios, this.basePath));
1854
+ }
1855
+
1856
+ /**
1857
+ * List of Billing Adjustments that would be created based on a Subscriber being disenrolled on the As of Date.
1858
+ * @summary List Billing Adjustments for Disenroll
1859
+ * @param {string} vbasoftwareDatabase Target database
1860
+ * @param {string} subscriberID Subscriber ID
1861
+ * @param {string} asOfDate As of Date
1862
+ * @param {*} [options] Override http request option.
1863
+ * @throws {RequiredError}
1864
+ * @memberof AdvBillingApi
1865
+ */
1866
+ public listDisenrollAdjustment(vbasoftwareDatabase: string, subscriberID: string, asOfDate: string, options?: AxiosRequestConfig) {
1867
+ return AdvBillingApiFp(this.configuration).listDisenrollAdjustment(vbasoftwareDatabase, subscriberID, asOfDate, options).then((request) => request(this.axios, this.basePath));
1868
+ }
1869
+
1870
+ /**
1871
+ * List of Invoices to be generated based on the selected Invoice Date.
1872
+ * @summary List Invoices to be Generated
1873
+ * @param {string} vbasoftwareDatabase Target database
1874
+ * @param {string} invoiceDate Invoice Date
1875
+ * @param {*} [options] Override http request option.
1876
+ * @throws {RequiredError}
1877
+ * @memberof AdvBillingApi
1878
+ */
1879
+ public listPremInvoiceGenerate(vbasoftwareDatabase: string, invoiceDate: string, options?: AxiosRequestConfig) {
1880
+ return AdvBillingApiFp(this.configuration).listPremInvoiceGenerate(vbasoftwareDatabase, invoiceDate, options).then((request) => request(this.axios, this.basePath));
1881
+ }
1882
+
1883
+ /**
1884
+ * List of Self-Admin Invoices to be generated based on the selected Invoice Date.
1885
+ * @summary List Self-Admin Invoices to be Generated
1886
+ * @param {string} vbasoftwareDatabase Target database
1887
+ * @param {string} invoiceDate Invoice Date
1888
+ * @param {*} [options] Override http request option.
1889
+ * @throws {RequiredError}
1890
+ * @memberof AdvBillingApi
1891
+ */
1892
+ public listPremInvoiceGenerateSelfAdmin(vbasoftwareDatabase: string, invoiceDate: string, options?: AxiosRequestConfig) {
1893
+ return AdvBillingApiFp(this.configuration).listPremInvoiceGenerateSelfAdmin(vbasoftwareDatabase, invoiceDate, options).then((request) => request(this.axios, this.basePath));
1894
+ }
1895
+
1896
+ /**
1897
+ * PremInvoice Apply Payments by Header Adjustment
1898
+ * @summary PremInvoice Apply Payments by Header Adjustment
1899
+ * @param {string} vbasoftwareDatabase Target database
1900
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
1901
+ * @param {*} [options] Override http request option.
1902
+ * @throws {RequiredError}
1903
+ * @memberof AdvBillingApi
1904
+ */
1905
+ public premInvoiceApplyPaymentHeaderAdjustment(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: AxiosRequestConfig) {
1906
+ return AdvBillingApiFp(this.configuration).premInvoiceApplyPaymentHeaderAdjustment(vbasoftwareDatabase, premInvoiceApplyPayment, options).then((request) => request(this.axios, this.basePath));
1907
+ }
1908
+
1909
+ /**
1910
+ * PremInvoice Apply Payments by Subscriber
1911
+ * @summary PremInvoice Apply Payments by Subscriber
1912
+ * @param {string} vbasoftwareDatabase Target database
1913
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
1914
+ * @param {*} [options] Override http request option.
1915
+ * @throws {RequiredError}
1916
+ * @memberof AdvBillingApi
1917
+ */
1918
+ public premInvoiceApplyPaymentSubscriber(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: AxiosRequestConfig) {
1919
+ return AdvBillingApiFp(this.configuration).premInvoiceApplyPaymentSubscriber(vbasoftwareDatabase, premInvoiceApplyPayment, options).then((request) => request(this.axios, this.basePath));
1920
+ }
1921
+
1922
+ /**
1923
+ * PremInvoice Apply Payments by Subscriber and Payor ID
1924
+ * @summary PremInvoice Apply Payments by Subscriber and Payor ID
1925
+ * @param {string} vbasoftwareDatabase Target database
1926
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
1927
+ * @param {*} [options] Override http request option.
1928
+ * @throws {RequiredError}
1929
+ * @memberof AdvBillingApi
1930
+ */
1931
+ public premInvoiceApplyPaymentSubscriberPayorID(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: AxiosRequestConfig) {
1932
+ return AdvBillingApiFp(this.configuration).premInvoiceApplyPaymentSubscriberPayorID(vbasoftwareDatabase, premInvoiceApplyPayment, options).then((request) => request(this.axios, this.basePath));
1933
+ }
1934
+
1935
+ /**
1936
+ * PremInvoice Apply Payments by Subscriber and Plan Type
1937
+ * @summary PremInvoice Apply Payments by Subscriber and Plan Type
1938
+ * @param {string} vbasoftwareDatabase Target database
1939
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
1940
+ * @param {*} [options] Override http request option.
1941
+ * @throws {RequiredError}
1942
+ * @memberof AdvBillingApi
1943
+ */
1944
+ public premInvoiceApplyPaymentSubscriberPlanType(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: AxiosRequestConfig) {
1945
+ return AdvBillingApiFp(this.configuration).premInvoiceApplyPaymentSubscriberPlanType(vbasoftwareDatabase, premInvoiceApplyPayment, options).then((request) => request(this.axios, this.basePath));
1946
+ }
1947
+
1948
+ /**
1949
+ * Auto-Apply all payements to the selected invoice.
1950
+ * @summary PremInvoice Auto-Apply
1951
+ * @param {string} vbasoftwareDatabase Target database
1952
+ * @param {number} invoiceKey Invoice Key
1953
+ * @param {*} [options] Override http request option.
1954
+ * @throws {RequiredError}
1955
+ * @memberof AdvBillingApi
1956
+ */
1957
+ public premInvoiceAutoApply(vbasoftwareDatabase: string, invoiceKey: number, options?: AxiosRequestConfig) {
1958
+ return AdvBillingApiFp(this.configuration).premInvoiceAutoApply(vbasoftwareDatabase, invoiceKey, options).then((request) => request(this.axios, this.basePath));
1959
+ }
1960
+
1961
+ /**
1962
+ * Auto-Apply all payements to the selected Self-Admin invoice.
1963
+ * @summary PremInvoice Auto-Apply for Self-Admin
1964
+ * @param {string} vbasoftwareDatabase Target database
1965
+ * @param {number} invoiceKey Invoice Key
1966
+ * @param {*} [options] Override http request option.
1967
+ * @throws {RequiredError}
1968
+ * @memberof AdvBillingApi
1969
+ */
1970
+ public premInvoiceAutoApplySelfAdmin(vbasoftwareDatabase: string, invoiceKey: number, options?: AxiosRequestConfig) {
1971
+ return AdvBillingApiFp(this.configuration).premInvoiceAutoApplySelfAdmin(vbasoftwareDatabase, invoiceKey, options).then((request) => request(this.axios, this.basePath));
1972
+ }
1973
+ }