@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
@@ -21,10 +21,18 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
21
21
  // @ts-ignore
22
22
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
23
  // @ts-ignore
24
+ import { GeneratePremInvoice } from '../models';
25
+ // @ts-ignore
24
26
  import { MultiCodeResponseListVBAResponse } from '../models';
25
27
  // @ts-ignore
26
28
  import { PremInvoice } from '../models';
27
29
  // @ts-ignore
30
+ import { PremInvoiceApplyPayment } from '../models';
31
+ // @ts-ignore
32
+ import { PremInvoiceGenerateInvListListVBAResponse } from '../models';
33
+ // @ts-ignore
34
+ import { PremInvoiceGenerateSelfAdminInvListListVBAResponse } from '../models';
35
+ // @ts-ignore
28
36
  import { PremInvoiceGroupSummaryVBAResponse } from '../models';
29
37
  // @ts-ignore
30
38
  import { PremInvoiceListVBAResponse } from '../models';
@@ -137,20 +145,19 @@ export const PremiumInvoicesApiAxiosParamCreator = function (configuration?: Con
137
145
  };
138
146
  },
139
147
  /**
140
- * Gets PremInvoice
141
- * @summary Get PremInvoice
148
+ * Creates a new Premium Billing Invoice for the selected Group/Division.
149
+ * @summary Generate Division Invoice
142
150
  * @param {string} vbasoftwareDatabase Target database
143
- * @param {number} invoiceKey Invoice Key
151
+ * @param {GeneratePremInvoice} generatePremInvoice
144
152
  * @param {*} [options] Override http request option.
145
153
  * @throws {RequiredError}
146
154
  */
147
- getPremInvoice: async (vbasoftwareDatabase: string, invoiceKey: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
155
+ generatePremInvoiceDivision: async (vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
148
156
  // verify required parameter 'vbasoftwareDatabase' is not null or undefined
149
- assertParamExists('getPremInvoice', 'vbasoftwareDatabase', vbasoftwareDatabase)
150
- // verify required parameter 'invoiceKey' is not null or undefined
151
- assertParamExists('getPremInvoice', 'invoiceKey', invoiceKey)
152
- const localVarPath = `/premium-invoices/{invoiceKey}`
153
- .replace(`{${"invoiceKey"}}`, encodeURIComponent(String(invoiceKey)));
157
+ assertParamExists('generatePremInvoiceDivision', 'vbasoftwareDatabase', vbasoftwareDatabase)
158
+ // verify required parameter 'generatePremInvoice' is not null or undefined
159
+ assertParamExists('generatePremInvoiceDivision', 'generatePremInvoice', generatePremInvoice)
160
+ const localVarPath = `/generate-division-invoice`;
154
161
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
155
162
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
156
163
  let baseOptions;
@@ -158,7 +165,7 @@ export const PremiumInvoicesApiAxiosParamCreator = function (configuration?: Con
158
165
  baseOptions = configuration.baseOptions;
159
166
  }
160
167
 
161
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
168
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
162
169
  const localVarHeaderParameter = {} as any;
163
170
  const localVarQueryParameter = {} as any;
164
171
 
@@ -175,9 +182,12 @@ export const PremiumInvoicesApiAxiosParamCreator = function (configuration?: Con
175
182
 
176
183
 
177
184
 
185
+ localVarHeaderParameter['Content-Type'] = 'application/json';
186
+
178
187
  setSearchParams(localVarUrlObj, localVarQueryParameter);
179
188
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
180
189
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
190
+ localVarRequestOptions.data = serializeDataIfNeeded(generatePremInvoice, localVarRequestOptions, configuration)
181
191
 
182
192
  return {
183
193
  url: toPathString(localVarUrlObj),
@@ -185,22 +195,19 @@ export const PremiumInvoicesApiAxiosParamCreator = function (configuration?: Con
185
195
  };
186
196
  },
187
197
  /**
188
- * Gets PremInvoice Summary for the specified group id and invoice year. First PremInvoiceSelfAdmin table is checked for the group id, if found the values are aggregated from come from PremInvoiceSelfAdmin; if the group is not found in PremInvoiceSelfAdmin, the PremInvoiceSubscriber table is checked for this group. If not present in either table, an error is returned.
189
- * @summary Get PremInvoice Group Summary
198
+ * Creates a new Premium Billing Invoice for the selected Group.
199
+ * @summary Generate Group Invoice
190
200
  * @param {string} vbasoftwareDatabase Target database
191
- * @param {string} groupId Group ID
192
- * @param {number} invoiceYear Invoice Year
201
+ * @param {GeneratePremInvoice} generatePremInvoice
193
202
  * @param {*} [options] Override http request option.
194
203
  * @throws {RequiredError}
195
204
  */
196
- getPremInvoiceGroupSummary: async (vbasoftwareDatabase: string, groupId: string, invoiceYear: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
205
+ generatePremInvoiceGroup: async (vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
197
206
  // verify required parameter 'vbasoftwareDatabase' is not null or undefined
198
- assertParamExists('getPremInvoiceGroupSummary', 'vbasoftwareDatabase', vbasoftwareDatabase)
199
- // verify required parameter 'groupId' is not null or undefined
200
- assertParamExists('getPremInvoiceGroupSummary', 'groupId', groupId)
201
- // verify required parameter 'invoiceYear' is not null or undefined
202
- assertParamExists('getPremInvoiceGroupSummary', 'invoiceYear', invoiceYear)
203
- const localVarPath = `/premium-invoices-group-summary`;
207
+ assertParamExists('generatePremInvoiceGroup', 'vbasoftwareDatabase', vbasoftwareDatabase)
208
+ // verify required parameter 'generatePremInvoice' is not null or undefined
209
+ assertParamExists('generatePremInvoiceGroup', 'generatePremInvoice', generatePremInvoice)
210
+ const localVarPath = `/generate-group-invoice`;
204
211
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
205
212
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
206
213
  let baseOptions;
@@ -208,7 +215,7 @@ export const PremiumInvoicesApiAxiosParamCreator = function (configuration?: Con
208
215
  baseOptions = configuration.baseOptions;
209
216
  }
210
217
 
211
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
218
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
212
219
  const localVarHeaderParameter = {} as any;
213
220
  const localVarQueryParameter = {} as any;
214
221
 
@@ -219,23 +226,18 @@ export const PremiumInvoicesApiAxiosParamCreator = function (configuration?: Con
219
226
  // http bearer authentication required
220
227
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
221
228
 
222
- if (groupId !== undefined) {
223
- localVarQueryParameter['groupId'] = groupId;
224
- }
225
-
226
- if (invoiceYear !== undefined) {
227
- localVarQueryParameter['invoiceYear'] = invoiceYear;
228
- }
229
-
230
229
  if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
231
230
  localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
232
231
  }
233
232
 
234
233
 
235
234
 
235
+ localVarHeaderParameter['Content-Type'] = 'application/json';
236
+
236
237
  setSearchParams(localVarUrlObj, localVarQueryParameter);
237
238
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
238
239
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
240
+ localVarRequestOptions.data = serializeDataIfNeeded(generatePremInvoice, localVarRequestOptions, configuration)
239
241
 
240
242
  return {
241
243
  url: toPathString(localVarUrlObj),
@@ -243,20 +245,19 @@ export const PremiumInvoicesApiAxiosParamCreator = function (configuration?: Con
243
245
  };
244
246
  },
245
247
  /**
246
- * Gets PremInvoice Summary for the specified invoice. First PremInvoiceSelfAdmin table is checked for the invoice key, if found the values are aggregated from come from PremInvoiceSelfAdmin; if the invoice key is not found in PremInvoiceSelfAdmin, the PremInvoiceSubscriber table is checked. If not present in either table, an error is returned.
247
- * @summary Get PremInvoice Summary
248
+ * 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.
249
+ * @summary Generate Group and Division Invoice
248
250
  * @param {string} vbasoftwareDatabase Target database
249
- * @param {number} invoiceKey Invoice Key
251
+ * @param {GeneratePremInvoice} generatePremInvoice
250
252
  * @param {*} [options] Override http request option.
251
253
  * @throws {RequiredError}
252
254
  */
253
- getPremInvoiceSummary: async (vbasoftwareDatabase: string, invoiceKey: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
255
+ generatePremInvoiceGroupDivision: async (vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
254
256
  // verify required parameter 'vbasoftwareDatabase' is not null or undefined
255
- assertParamExists('getPremInvoiceSummary', 'vbasoftwareDatabase', vbasoftwareDatabase)
256
- // verify required parameter 'invoiceKey' is not null or undefined
257
- assertParamExists('getPremInvoiceSummary', 'invoiceKey', invoiceKey)
258
- const localVarPath = `/premium-invoices/{invoiceKey}/summary`
259
- .replace(`{${"invoiceKey"}}`, encodeURIComponent(String(invoiceKey)));
257
+ assertParamExists('generatePremInvoiceGroupDivision', 'vbasoftwareDatabase', vbasoftwareDatabase)
258
+ // verify required parameter 'generatePremInvoice' is not null or undefined
259
+ assertParamExists('generatePremInvoiceGroupDivision', 'generatePremInvoice', generatePremInvoice)
260
+ const localVarPath = `/generate-group-division-invoice`;
260
261
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
261
262
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
262
263
  let baseOptions;
@@ -264,7 +265,7 @@ export const PremiumInvoicesApiAxiosParamCreator = function (configuration?: Con
264
265
  baseOptions = configuration.baseOptions;
265
266
  }
266
267
 
267
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
268
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
268
269
  const localVarHeaderParameter = {} as any;
269
270
  const localVarQueryParameter = {} as any;
270
271
 
@@ -281,9 +282,12 @@ export const PremiumInvoicesApiAxiosParamCreator = function (configuration?: Con
281
282
 
282
283
 
283
284
 
285
+ localVarHeaderParameter['Content-Type'] = 'application/json';
286
+
284
287
  setSearchParams(localVarUrlObj, localVarQueryParameter);
285
288
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
286
289
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
290
+ localVarRequestOptions.data = serializeDataIfNeeded(generatePremInvoice, localVarRequestOptions, configuration)
287
291
 
288
292
  return {
289
293
  url: toPathString(localVarUrlObj),
@@ -291,19 +295,19 @@ export const PremiumInvoicesApiAxiosParamCreator = function (configuration?: Con
291
295
  };
292
296
  },
293
297
  /**
294
- * Lists all PremInvoice.
295
- * @summary List PremInvoice
298
+ * Creates a new Self-Admin Invoice for the selected Group/Division.
299
+ * @summary Generate Self-Admin Division Invoice
296
300
  * @param {string} vbasoftwareDatabase Target database
297
- * @param {number} [page] Page
298
- * @param {number} [pageSize] Page Size
299
- * @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \&#39;Property1:desc,Property2:asc,Property3:asc\&#39; sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
301
+ * @param {GeneratePremInvoice} generatePremInvoice
300
302
  * @param {*} [options] Override http request option.
301
303
  * @throws {RequiredError}
302
304
  */
303
- listPremInvoice: async (vbasoftwareDatabase: string, page?: number, pageSize?: number, sortBy?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
305
+ generatePremInvoiceSelfAdminDivision: async (vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
304
306
  // verify required parameter 'vbasoftwareDatabase' is not null or undefined
305
- assertParamExists('listPremInvoice', 'vbasoftwareDatabase', vbasoftwareDatabase)
306
- const localVarPath = `/premium-invoices`;
307
+ assertParamExists('generatePremInvoiceSelfAdminDivision', 'vbasoftwareDatabase', vbasoftwareDatabase)
308
+ // verify required parameter 'generatePremInvoice' is not null or undefined
309
+ assertParamExists('generatePremInvoiceSelfAdminDivision', 'generatePremInvoice', generatePremInvoice)
310
+ const localVarPath = `/generate-self-admin-division-invoice`;
307
311
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
308
312
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
309
313
  let baseOptions;
@@ -311,7 +315,7 @@ export const PremiumInvoicesApiAxiosParamCreator = function (configuration?: Con
311
315
  baseOptions = configuration.baseOptions;
312
316
  }
313
317
 
314
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
318
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
315
319
  const localVarHeaderParameter = {} as any;
316
320
  const localVarQueryParameter = {} as any;
317
321
 
@@ -322,27 +326,18 @@ export const PremiumInvoicesApiAxiosParamCreator = function (configuration?: Con
322
326
  // http bearer authentication required
323
327
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
324
328
 
325
- if (page !== undefined) {
326
- localVarQueryParameter['page'] = page;
327
- }
328
-
329
- if (pageSize !== undefined) {
330
- localVarQueryParameter['pageSize'] = pageSize;
331
- }
332
-
333
- if (sortBy !== undefined) {
334
- localVarQueryParameter['sortBy'] = sortBy;
335
- }
336
-
337
329
  if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
338
330
  localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
339
331
  }
340
332
 
341
333
 
342
334
 
335
+ localVarHeaderParameter['Content-Type'] = 'application/json';
336
+
343
337
  setSearchParams(localVarUrlObj, localVarQueryParameter);
344
338
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
345
339
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
340
+ localVarRequestOptions.data = serializeDataIfNeeded(generatePremInvoice, localVarRequestOptions, configuration)
346
341
 
347
342
  return {
348
343
  url: toPathString(localVarUrlObj),
@@ -350,21 +345,19 @@ export const PremiumInvoicesApiAxiosParamCreator = function (configuration?: Con
350
345
  };
351
346
  },
352
347
  /**
353
- * Gets a \'Slim\' list of PremInvoices. The Slim model has a limited subset of fields intended for quick loading. You may provide the GroupID and/or Invoice Year to filter the list to include only those Invoices in which the Group/Invoice Year match an invoice with the same Group/Invoice Year wihtin the PremInvoiceSubscriber and PremInvoiceSelfAdmin tables.
354
- * @summary List PremInvoiceSlim
348
+ * Creates a new Self-Admin Invoice for the selected Group.
349
+ * @summary Generate Self-Admin Group Invoice
355
350
  * @param {string} vbasoftwareDatabase Target database
356
- * @param {string} [groupId] Group ID
357
- * @param {number} [invoiceYear] Invoice Year
358
- * @param {number} [page] Page
359
- * @param {number} [pageSize] Page Size
360
- * @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \&#39;Property1:desc,Property2:asc,Property3:asc\&#39; sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
351
+ * @param {GeneratePremInvoice} generatePremInvoice
361
352
  * @param {*} [options] Override http request option.
362
353
  * @throws {RequiredError}
363
354
  */
364
- listPremInvoiceSlim: async (vbasoftwareDatabase: string, groupId?: string, invoiceYear?: number, page?: number, pageSize?: number, sortBy?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
355
+ generatePremInvoiceSelfAdminGroup: async (vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
365
356
  // verify required parameter 'vbasoftwareDatabase' is not null or undefined
366
- assertParamExists('listPremInvoiceSlim', 'vbasoftwareDatabase', vbasoftwareDatabase)
367
- const localVarPath = `/premium-invoices-slim`;
357
+ assertParamExists('generatePremInvoiceSelfAdminGroup', 'vbasoftwareDatabase', vbasoftwareDatabase)
358
+ // verify required parameter 'generatePremInvoice' is not null or undefined
359
+ assertParamExists('generatePremInvoiceSelfAdminGroup', 'generatePremInvoice', generatePremInvoice)
360
+ const localVarPath = `/generate-self-admin-group-invoice`;
368
361
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
369
362
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
370
363
  let baseOptions;
@@ -372,7 +365,7 @@ export const PremiumInvoicesApiAxiosParamCreator = function (configuration?: Con
372
365
  baseOptions = configuration.baseOptions;
373
366
  }
374
367
 
375
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
368
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
376
369
  const localVarHeaderParameter = {} as any;
377
370
  const localVarQueryParameter = {} as any;
378
371
 
@@ -383,35 +376,18 @@ export const PremiumInvoicesApiAxiosParamCreator = function (configuration?: Con
383
376
  // http bearer authentication required
384
377
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
385
378
 
386
- if (groupId !== undefined) {
387
- localVarQueryParameter['groupId'] = groupId;
388
- }
389
-
390
- if (invoiceYear !== undefined) {
391
- localVarQueryParameter['invoiceYear'] = invoiceYear;
392
- }
393
-
394
- if (page !== undefined) {
395
- localVarQueryParameter['page'] = page;
396
- }
397
-
398
- if (pageSize !== undefined) {
399
- localVarQueryParameter['pageSize'] = pageSize;
400
- }
401
-
402
- if (sortBy !== undefined) {
403
- localVarQueryParameter['sortBy'] = sortBy;
404
- }
405
-
406
379
  if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
407
380
  localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
408
381
  }
409
382
 
410
383
 
411
384
 
385
+ localVarHeaderParameter['Content-Type'] = 'application/json';
386
+
412
387
  setSearchParams(localVarUrlObj, localVarQueryParameter);
413
388
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
414
389
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
390
+ localVarRequestOptions.data = serializeDataIfNeeded(generatePremInvoice, localVarRequestOptions, configuration)
415
391
 
416
392
  return {
417
393
  url: toPathString(localVarUrlObj),
@@ -419,19 +395,19 @@ export const PremiumInvoicesApiAxiosParamCreator = function (configuration?: Con
419
395
  };
420
396
  },
421
397
  /**
422
- * Create or Update multiple PremInvoice at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
423
- * @summary Create or Update Batch PremInvoice
398
+ * Creates a new Premium Billing Invoice for the selected Subscriber.
399
+ * @summary Generate Subscriber Invoice
424
400
  * @param {string} vbasoftwareDatabase Target database
425
- * @param {Array<PremInvoice>} premInvoice
401
+ * @param {GeneratePremInvoice} generatePremInvoice
426
402
  * @param {*} [options] Override http request option.
427
403
  * @throws {RequiredError}
428
404
  */
429
- updateBatchPremInvoice: async (vbasoftwareDatabase: string, premInvoice: Array<PremInvoice>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
405
+ generatePremInvoiceSubscriber: async (vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
430
406
  // verify required parameter 'vbasoftwareDatabase' is not null or undefined
431
- assertParamExists('updateBatchPremInvoice', 'vbasoftwareDatabase', vbasoftwareDatabase)
432
- // verify required parameter 'premInvoice' is not null or undefined
433
- assertParamExists('updateBatchPremInvoice', 'premInvoice', premInvoice)
434
- const localVarPath = `/premium-invoices-batch`;
407
+ assertParamExists('generatePremInvoiceSubscriber', 'vbasoftwareDatabase', vbasoftwareDatabase)
408
+ // verify required parameter 'generatePremInvoice' is not null or undefined
409
+ assertParamExists('generatePremInvoiceSubscriber', 'generatePremInvoice', generatePremInvoice)
410
+ const localVarPath = `/generate-subscriber-invoice`;
435
411
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
436
412
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
437
413
  let baseOptions;
@@ -439,7 +415,7 @@ export const PremiumInvoicesApiAxiosParamCreator = function (configuration?: Con
439
415
  baseOptions = configuration.baseOptions;
440
416
  }
441
417
 
442
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
418
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
443
419
  const localVarHeaderParameter = {} as any;
444
420
  const localVarQueryParameter = {} as any;
445
421
 
@@ -461,7 +437,7 @@ export const PremiumInvoicesApiAxiosParamCreator = function (configuration?: Con
461
437
  setSearchParams(localVarUrlObj, localVarQueryParameter);
462
438
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
463
439
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
464
- localVarRequestOptions.data = serializeDataIfNeeded(premInvoice, localVarRequestOptions, configuration)
440
+ localVarRequestOptions.data = serializeDataIfNeeded(generatePremInvoice, localVarRequestOptions, configuration)
465
441
 
466
442
  return {
467
443
  url: toPathString(localVarUrlObj),
@@ -469,21 +445,18 @@ export const PremiumInvoicesApiAxiosParamCreator = function (configuration?: Con
469
445
  };
470
446
  },
471
447
  /**
472
- * Updates a specific PremInvoice.
473
- * @summary Update PremInvoice
448
+ * Gets PremInvoice
449
+ * @summary Get PremInvoice
474
450
  * @param {string} vbasoftwareDatabase Target database
475
451
  * @param {number} invoiceKey Invoice Key
476
- * @param {PremInvoice} premInvoice
477
452
  * @param {*} [options] Override http request option.
478
453
  * @throws {RequiredError}
479
454
  */
480
- updatePremInvoice: async (vbasoftwareDatabase: string, invoiceKey: number, premInvoice: PremInvoice, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
455
+ getPremInvoice: async (vbasoftwareDatabase: string, invoiceKey: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
481
456
  // verify required parameter 'vbasoftwareDatabase' is not null or undefined
482
- assertParamExists('updatePremInvoice', 'vbasoftwareDatabase', vbasoftwareDatabase)
457
+ assertParamExists('getPremInvoice', 'vbasoftwareDatabase', vbasoftwareDatabase)
483
458
  // verify required parameter 'invoiceKey' is not null or undefined
484
- assertParamExists('updatePremInvoice', 'invoiceKey', invoiceKey)
485
- // verify required parameter 'premInvoice' is not null or undefined
486
- assertParamExists('updatePremInvoice', 'premInvoice', premInvoice)
459
+ assertParamExists('getPremInvoice', 'invoiceKey', invoiceKey)
487
460
  const localVarPath = `/premium-invoices/{invoiceKey}`
488
461
  .replace(`{${"invoiceKey"}}`, encodeURIComponent(String(invoiceKey)));
489
462
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -493,7 +466,7 @@ export const PremiumInvoicesApiAxiosParamCreator = function (configuration?: Con
493
466
  baseOptions = configuration.baseOptions;
494
467
  }
495
468
 
496
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
469
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
497
470
  const localVarHeaderParameter = {} as any;
498
471
  const localVarQueryParameter = {} as any;
499
472
 
@@ -510,64 +483,15 @@ export const PremiumInvoicesApiAxiosParamCreator = function (configuration?: Con
510
483
 
511
484
 
512
485
 
513
- localVarHeaderParameter['Content-Type'] = 'application/json';
514
-
515
486
  setSearchParams(localVarUrlObj, localVarQueryParameter);
516
487
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
517
488
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
518
- localVarRequestOptions.data = serializeDataIfNeeded(premInvoice, localVarRequestOptions, configuration)
519
489
 
520
490
  return {
521
491
  url: toPathString(localVarUrlObj),
522
492
  options: localVarRequestOptions,
523
493
  };
524
494
  },
525
- }
526
- };
527
-
528
- /**
529
- * PremiumInvoicesApi - functional programming interface
530
- * @export
531
- */
532
- export const PremiumInvoicesApiFp = function(configuration?: Configuration) {
533
- const localVarAxiosParamCreator = PremiumInvoicesApiAxiosParamCreator(configuration)
534
- return {
535
- /**
536
- * Creates a new PremInvoice
537
- * @summary Create PremInvoice
538
- * @param {string} vbasoftwareDatabase Target database
539
- * @param {PremInvoice} premInvoice
540
- * @param {*} [options] Override http request option.
541
- * @throws {RequiredError}
542
- */
543
- async createPremInvoice(vbasoftwareDatabase: string, premInvoice: PremInvoice, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PremInvoiceVBAResponse>> {
544
- const localVarAxiosArgs = await localVarAxiosParamCreator.createPremInvoice(vbasoftwareDatabase, premInvoice, options);
545
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
546
- },
547
- /**
548
- * Deletes an PremInvoice
549
- * @summary Delete PremInvoice
550
- * @param {string} vbasoftwareDatabase Target database
551
- * @param {number} invoiceKey Invoice Key
552
- * @param {*} [options] Override http request option.
553
- * @throws {RequiredError}
554
- */
555
- async deletePremInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
556
- const localVarAxiosArgs = await localVarAxiosParamCreator.deletePremInvoice(vbasoftwareDatabase, invoiceKey, options);
557
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
558
- },
559
- /**
560
- * Gets PremInvoice
561
- * @summary Get PremInvoice
562
- * @param {string} vbasoftwareDatabase Target database
563
- * @param {number} invoiceKey Invoice Key
564
- * @param {*} [options] Override http request option.
565
- * @throws {RequiredError}
566
- */
567
- async getPremInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PremInvoiceVBAResponse>> {
568
- const localVarAxiosArgs = await localVarAxiosParamCreator.getPremInvoice(vbasoftwareDatabase, invoiceKey, options);
569
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
570
- },
571
495
  /**
572
496
  * Gets PremInvoice Summary for the specified group id and invoice year. First PremInvoiceSelfAdmin table is checked for the group id, if found the values are aggregated from come from PremInvoiceSelfAdmin; if the group is not found in PremInvoiceSelfAdmin, the PremInvoiceSubscriber table is checked for this group. If not present in either table, an error is returned.
573
497
  * @summary Get PremInvoice Group Summary
@@ -577,9 +501,54 @@ export const PremiumInvoicesApiFp = function(configuration?: Configuration) {
577
501
  * @param {*} [options] Override http request option.
578
502
  * @throws {RequiredError}
579
503
  */
580
- async getPremInvoiceGroupSummary(vbasoftwareDatabase: string, groupId: string, invoiceYear: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PremInvoiceGroupSummaryVBAResponse>> {
581
- const localVarAxiosArgs = await localVarAxiosParamCreator.getPremInvoiceGroupSummary(vbasoftwareDatabase, groupId, invoiceYear, options);
582
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
504
+ getPremInvoiceGroupSummary: async (vbasoftwareDatabase: string, groupId: string, invoiceYear: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
505
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
506
+ assertParamExists('getPremInvoiceGroupSummary', 'vbasoftwareDatabase', vbasoftwareDatabase)
507
+ // verify required parameter 'groupId' is not null or undefined
508
+ assertParamExists('getPremInvoiceGroupSummary', 'groupId', groupId)
509
+ // verify required parameter 'invoiceYear' is not null or undefined
510
+ assertParamExists('getPremInvoiceGroupSummary', 'invoiceYear', invoiceYear)
511
+ const localVarPath = `/premium-invoices-group-summary`;
512
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
513
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
514
+ let baseOptions;
515
+ if (configuration) {
516
+ baseOptions = configuration.baseOptions;
517
+ }
518
+
519
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
520
+ const localVarHeaderParameter = {} as any;
521
+ const localVarQueryParameter = {} as any;
522
+
523
+ // authentication apiKeyAuth required
524
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
525
+
526
+ // authentication bearerAuth required
527
+ // http bearer authentication required
528
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
529
+
530
+ if (groupId !== undefined) {
531
+ localVarQueryParameter['groupId'] = groupId;
532
+ }
533
+
534
+ if (invoiceYear !== undefined) {
535
+ localVarQueryParameter['invoiceYear'] = invoiceYear;
536
+ }
537
+
538
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
539
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
540
+ }
541
+
542
+
543
+
544
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
545
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
546
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
547
+
548
+ return {
549
+ url: toPathString(localVarUrlObj),
550
+ options: localVarRequestOptions,
551
+ };
583
552
  },
584
553
  /**
585
554
  * Gets PremInvoice Summary for the specified invoice. First PremInvoiceSelfAdmin table is checked for the invoice key, if found the values are aggregated from come from PremInvoiceSelfAdmin; if the invoice key is not found in PremInvoiceSelfAdmin, the PremInvoiceSubscriber table is checked. If not present in either table, an error is returned.
@@ -589,25 +558,852 @@ export const PremiumInvoicesApiFp = function(configuration?: Configuration) {
589
558
  * @param {*} [options] Override http request option.
590
559
  * @throws {RequiredError}
591
560
  */
592
- async getPremInvoiceSummary(vbasoftwareDatabase: string, invoiceKey: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PremInvoiceGroupSummaryVBAResponse>> {
593
- const localVarAxiosArgs = await localVarAxiosParamCreator.getPremInvoiceSummary(vbasoftwareDatabase, invoiceKey, options);
594
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
595
- },
596
- /**
597
- * Lists all PremInvoice.
598
- * @summary List PremInvoice
599
- * @param {string} vbasoftwareDatabase Target database
600
- * @param {number} [page] Page
601
- * @param {number} [pageSize] Page Size
602
- * @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \&#39;Property1:desc,Property2:asc,Property3:asc\&#39; sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
603
- * @param {*} [options] Override http request option.
604
- * @throws {RequiredError}
605
- */
606
- async listPremInvoice(vbasoftwareDatabase: string, page?: number, pageSize?: number, sortBy?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PremInvoiceListVBAResponse>> {
607
- const localVarAxiosArgs = await localVarAxiosParamCreator.listPremInvoice(vbasoftwareDatabase, page, pageSize, sortBy, options);
608
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
609
- },
610
- /**
561
+ getPremInvoiceSummary: async (vbasoftwareDatabase: string, invoiceKey: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
562
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
563
+ assertParamExists('getPremInvoiceSummary', 'vbasoftwareDatabase', vbasoftwareDatabase)
564
+ // verify required parameter 'invoiceKey' is not null or undefined
565
+ assertParamExists('getPremInvoiceSummary', 'invoiceKey', invoiceKey)
566
+ const localVarPath = `/premium-invoices/{invoiceKey}/summary`
567
+ .replace(`{${"invoiceKey"}}`, encodeURIComponent(String(invoiceKey)));
568
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
569
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
570
+ let baseOptions;
571
+ if (configuration) {
572
+ baseOptions = configuration.baseOptions;
573
+ }
574
+
575
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
576
+ const localVarHeaderParameter = {} as any;
577
+ const localVarQueryParameter = {} as any;
578
+
579
+ // authentication apiKeyAuth required
580
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
581
+
582
+ // authentication bearerAuth required
583
+ // http bearer authentication required
584
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
585
+
586
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
587
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
588
+ }
589
+
590
+
591
+
592
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
593
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
594
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
595
+
596
+ return {
597
+ url: toPathString(localVarUrlObj),
598
+ options: localVarRequestOptions,
599
+ };
600
+ },
601
+ /**
602
+ * Lists all PremInvoice.
603
+ * @summary List PremInvoice
604
+ * @param {string} vbasoftwareDatabase Target database
605
+ * @param {number} [page] Page
606
+ * @param {number} [pageSize] Page Size
607
+ * @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \&#39;Property1:desc,Property2:asc,Property3:asc\&#39; sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
608
+ * @param {*} [options] Override http request option.
609
+ * @throws {RequiredError}
610
+ */
611
+ listPremInvoice: async (vbasoftwareDatabase: string, page?: number, pageSize?: number, sortBy?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
612
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
613
+ assertParamExists('listPremInvoice', 'vbasoftwareDatabase', vbasoftwareDatabase)
614
+ const localVarPath = `/premium-invoices`;
615
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
616
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
617
+ let baseOptions;
618
+ if (configuration) {
619
+ baseOptions = configuration.baseOptions;
620
+ }
621
+
622
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
623
+ const localVarHeaderParameter = {} as any;
624
+ const localVarQueryParameter = {} as any;
625
+
626
+ // authentication apiKeyAuth required
627
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
628
+
629
+ // authentication bearerAuth required
630
+ // http bearer authentication required
631
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
632
+
633
+ if (page !== undefined) {
634
+ localVarQueryParameter['page'] = page;
635
+ }
636
+
637
+ if (pageSize !== undefined) {
638
+ localVarQueryParameter['pageSize'] = pageSize;
639
+ }
640
+
641
+ if (sortBy !== undefined) {
642
+ localVarQueryParameter['sortBy'] = sortBy;
643
+ }
644
+
645
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
646
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
647
+ }
648
+
649
+
650
+
651
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
652
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
653
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
654
+
655
+ return {
656
+ url: toPathString(localVarUrlObj),
657
+ options: localVarRequestOptions,
658
+ };
659
+ },
660
+ /**
661
+ * List of Invoices to be generated based on the selected Invoice Date.
662
+ * @summary List Invoices to be Generated
663
+ * @param {string} vbasoftwareDatabase Target database
664
+ * @param {string} invoiceDate Invoice Date
665
+ * @param {*} [options] Override http request option.
666
+ * @throws {RequiredError}
667
+ */
668
+ listPremInvoiceGenerate: async (vbasoftwareDatabase: string, invoiceDate: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
669
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
670
+ assertParamExists('listPremInvoiceGenerate', 'vbasoftwareDatabase', vbasoftwareDatabase)
671
+ // verify required parameter 'invoiceDate' is not null or undefined
672
+ assertParamExists('listPremInvoiceGenerate', 'invoiceDate', invoiceDate)
673
+ const localVarPath = `/list-generate-bill/{invoiceDate}`
674
+ .replace(`{${"invoiceDate"}}`, encodeURIComponent(String(invoiceDate)));
675
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
676
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
677
+ let baseOptions;
678
+ if (configuration) {
679
+ baseOptions = configuration.baseOptions;
680
+ }
681
+
682
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
683
+ const localVarHeaderParameter = {} as any;
684
+ const localVarQueryParameter = {} as any;
685
+
686
+ // authentication apiKeyAuth required
687
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
688
+
689
+ // authentication bearerAuth required
690
+ // http bearer authentication required
691
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
692
+
693
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
694
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
695
+ }
696
+
697
+
698
+
699
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
700
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
701
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
702
+
703
+ return {
704
+ url: toPathString(localVarUrlObj),
705
+ options: localVarRequestOptions,
706
+ };
707
+ },
708
+ /**
709
+ * List of Self-Admin Invoices to be generated based on the selected Invoice Date.
710
+ * @summary List Self-Admin Invoices to be Generated
711
+ * @param {string} vbasoftwareDatabase Target database
712
+ * @param {string} invoiceDate Invoice Date
713
+ * @param {*} [options] Override http request option.
714
+ * @throws {RequiredError}
715
+ */
716
+ listPremInvoiceGenerateSelfAdmin: async (vbasoftwareDatabase: string, invoiceDate: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
717
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
718
+ assertParamExists('listPremInvoiceGenerateSelfAdmin', 'vbasoftwareDatabase', vbasoftwareDatabase)
719
+ // verify required parameter 'invoiceDate' is not null or undefined
720
+ assertParamExists('listPremInvoiceGenerateSelfAdmin', 'invoiceDate', invoiceDate)
721
+ const localVarPath = `/list-generate-self-admin/{invoiceDate}`
722
+ .replace(`{${"invoiceDate"}}`, encodeURIComponent(String(invoiceDate)));
723
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
724
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
725
+ let baseOptions;
726
+ if (configuration) {
727
+ baseOptions = configuration.baseOptions;
728
+ }
729
+
730
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
731
+ const localVarHeaderParameter = {} as any;
732
+ const localVarQueryParameter = {} as any;
733
+
734
+ // authentication apiKeyAuth required
735
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
736
+
737
+ // authentication bearerAuth required
738
+ // http bearer authentication required
739
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
740
+
741
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
742
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
743
+ }
744
+
745
+
746
+
747
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
748
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
749
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
750
+
751
+ return {
752
+ url: toPathString(localVarUrlObj),
753
+ options: localVarRequestOptions,
754
+ };
755
+ },
756
+ /**
757
+ * Gets a \'Slim\' list of PremInvoices. The Slim model has a limited subset of fields intended for quick loading. You may provide the GroupID and/or Invoice Year to filter the list to include only those Invoices in which the Group/Invoice Year match an invoice with the same Group/Invoice Year wihtin the PremInvoiceSubscriber and PremInvoiceSelfAdmin tables.
758
+ * @summary List PremInvoiceSlim
759
+ * @param {string} vbasoftwareDatabase Target database
760
+ * @param {string} [groupId] Group ID
761
+ * @param {number} [invoiceYear] Invoice Year
762
+ * @param {number} [page] Page
763
+ * @param {number} [pageSize] Page Size
764
+ * @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \&#39;Property1:desc,Property2:asc,Property3:asc\&#39; sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
765
+ * @param {*} [options] Override http request option.
766
+ * @throws {RequiredError}
767
+ */
768
+ listPremInvoiceSlim: async (vbasoftwareDatabase: string, groupId?: string, invoiceYear?: number, page?: number, pageSize?: number, sortBy?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
769
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
770
+ assertParamExists('listPremInvoiceSlim', 'vbasoftwareDatabase', vbasoftwareDatabase)
771
+ const localVarPath = `/premium-invoices-slim`;
772
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
773
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
774
+ let baseOptions;
775
+ if (configuration) {
776
+ baseOptions = configuration.baseOptions;
777
+ }
778
+
779
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
780
+ const localVarHeaderParameter = {} as any;
781
+ const localVarQueryParameter = {} as any;
782
+
783
+ // authentication apiKeyAuth required
784
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
785
+
786
+ // authentication bearerAuth required
787
+ // http bearer authentication required
788
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
789
+
790
+ if (groupId !== undefined) {
791
+ localVarQueryParameter['groupId'] = groupId;
792
+ }
793
+
794
+ if (invoiceYear !== undefined) {
795
+ localVarQueryParameter['invoiceYear'] = invoiceYear;
796
+ }
797
+
798
+ if (page !== undefined) {
799
+ localVarQueryParameter['page'] = page;
800
+ }
801
+
802
+ if (pageSize !== undefined) {
803
+ localVarQueryParameter['pageSize'] = pageSize;
804
+ }
805
+
806
+ if (sortBy !== undefined) {
807
+ localVarQueryParameter['sortBy'] = sortBy;
808
+ }
809
+
810
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
811
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
812
+ }
813
+
814
+
815
+
816
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
817
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
818
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
819
+
820
+ return {
821
+ url: toPathString(localVarUrlObj),
822
+ options: localVarRequestOptions,
823
+ };
824
+ },
825
+ /**
826
+ * PremInvoice Apply Payments by Header Adjustment
827
+ * @summary PremInvoice Apply Payments by Header Adjustment
828
+ * @param {string} vbasoftwareDatabase Target database
829
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
830
+ * @param {*} [options] Override http request option.
831
+ * @throws {RequiredError}
832
+ */
833
+ premInvoiceApplyPaymentHeaderAdjustment: async (vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
834
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
835
+ assertParamExists('premInvoiceApplyPaymentHeaderAdjustment', 'vbasoftwareDatabase', vbasoftwareDatabase)
836
+ // verify required parameter 'premInvoiceApplyPayment' is not null or undefined
837
+ assertParamExists('premInvoiceApplyPaymentHeaderAdjustment', 'premInvoiceApplyPayment', premInvoiceApplyPayment)
838
+ const localVarPath = `/premium-invoice-apply-payment-adj`;
839
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
840
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
841
+ let baseOptions;
842
+ if (configuration) {
843
+ baseOptions = configuration.baseOptions;
844
+ }
845
+
846
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
847
+ const localVarHeaderParameter = {} as any;
848
+ const localVarQueryParameter = {} as any;
849
+
850
+ // authentication apiKeyAuth required
851
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
852
+
853
+ // authentication bearerAuth required
854
+ // http bearer authentication required
855
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
856
+
857
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
858
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
859
+ }
860
+
861
+
862
+
863
+ localVarHeaderParameter['Content-Type'] = 'application/json';
864
+
865
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
866
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
867
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
868
+ localVarRequestOptions.data = serializeDataIfNeeded(premInvoiceApplyPayment, localVarRequestOptions, configuration)
869
+
870
+ return {
871
+ url: toPathString(localVarUrlObj),
872
+ options: localVarRequestOptions,
873
+ };
874
+ },
875
+ /**
876
+ * PremInvoice Apply Payments by Subscriber
877
+ * @summary PremInvoice Apply Payments by Subscriber
878
+ * @param {string} vbasoftwareDatabase Target database
879
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
880
+ * @param {*} [options] Override http request option.
881
+ * @throws {RequiredError}
882
+ */
883
+ premInvoiceApplyPaymentSubscriber: async (vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
884
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
885
+ assertParamExists('premInvoiceApplyPaymentSubscriber', 'vbasoftwareDatabase', vbasoftwareDatabase)
886
+ // verify required parameter 'premInvoiceApplyPayment' is not null or undefined
887
+ assertParamExists('premInvoiceApplyPaymentSubscriber', 'premInvoiceApplyPayment', premInvoiceApplyPayment)
888
+ const localVarPath = `/premium-invoice-apply-payment-sub`;
889
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
890
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
891
+ let baseOptions;
892
+ if (configuration) {
893
+ baseOptions = configuration.baseOptions;
894
+ }
895
+
896
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
897
+ const localVarHeaderParameter = {} as any;
898
+ const localVarQueryParameter = {} as any;
899
+
900
+ // authentication apiKeyAuth required
901
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
902
+
903
+ // authentication bearerAuth required
904
+ // http bearer authentication required
905
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
906
+
907
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
908
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
909
+ }
910
+
911
+
912
+
913
+ localVarHeaderParameter['Content-Type'] = 'application/json';
914
+
915
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
916
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
917
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
918
+ localVarRequestOptions.data = serializeDataIfNeeded(premInvoiceApplyPayment, localVarRequestOptions, configuration)
919
+
920
+ return {
921
+ url: toPathString(localVarUrlObj),
922
+ options: localVarRequestOptions,
923
+ };
924
+ },
925
+ /**
926
+ * PremInvoice Apply Payments by Subscriber and Payor ID
927
+ * @summary PremInvoice Apply Payments by Subscriber and Payor ID
928
+ * @param {string} vbasoftwareDatabase Target database
929
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
930
+ * @param {*} [options] Override http request option.
931
+ * @throws {RequiredError}
932
+ */
933
+ premInvoiceApplyPaymentSubscriberPayorID: async (vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
934
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
935
+ assertParamExists('premInvoiceApplyPaymentSubscriberPayorID', 'vbasoftwareDatabase', vbasoftwareDatabase)
936
+ // verify required parameter 'premInvoiceApplyPayment' is not null or undefined
937
+ assertParamExists('premInvoiceApplyPaymentSubscriberPayorID', 'premInvoiceApplyPayment', premInvoiceApplyPayment)
938
+ const localVarPath = `/premium-invoice-apply-payment-sub-payor_id`;
939
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
940
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
941
+ let baseOptions;
942
+ if (configuration) {
943
+ baseOptions = configuration.baseOptions;
944
+ }
945
+
946
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
947
+ const localVarHeaderParameter = {} as any;
948
+ const localVarQueryParameter = {} as any;
949
+
950
+ // authentication apiKeyAuth required
951
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
952
+
953
+ // authentication bearerAuth required
954
+ // http bearer authentication required
955
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
956
+
957
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
958
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
959
+ }
960
+
961
+
962
+
963
+ localVarHeaderParameter['Content-Type'] = 'application/json';
964
+
965
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
966
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
967
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
968
+ localVarRequestOptions.data = serializeDataIfNeeded(premInvoiceApplyPayment, localVarRequestOptions, configuration)
969
+
970
+ return {
971
+ url: toPathString(localVarUrlObj),
972
+ options: localVarRequestOptions,
973
+ };
974
+ },
975
+ /**
976
+ * PremInvoice Apply Payments by Subscriber and Plan Type
977
+ * @summary PremInvoice Apply Payments by Subscriber and Plan Type
978
+ * @param {string} vbasoftwareDatabase Target database
979
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
980
+ * @param {*} [options] Override http request option.
981
+ * @throws {RequiredError}
982
+ */
983
+ premInvoiceApplyPaymentSubscriberPlanType: async (vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
984
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
985
+ assertParamExists('premInvoiceApplyPaymentSubscriberPlanType', 'vbasoftwareDatabase', vbasoftwareDatabase)
986
+ // verify required parameter 'premInvoiceApplyPayment' is not null or undefined
987
+ assertParamExists('premInvoiceApplyPaymentSubscriberPlanType', 'premInvoiceApplyPayment', premInvoiceApplyPayment)
988
+ const localVarPath = `/premium-invoice-apply-payment-sub-plan-type`;
989
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
990
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
991
+ let baseOptions;
992
+ if (configuration) {
993
+ baseOptions = configuration.baseOptions;
994
+ }
995
+
996
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
997
+ const localVarHeaderParameter = {} as any;
998
+ const localVarQueryParameter = {} as any;
999
+
1000
+ // authentication apiKeyAuth required
1001
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
1002
+
1003
+ // authentication bearerAuth required
1004
+ // http bearer authentication required
1005
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1006
+
1007
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
1008
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
1009
+ }
1010
+
1011
+
1012
+
1013
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1014
+
1015
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1016
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1017
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1018
+ localVarRequestOptions.data = serializeDataIfNeeded(premInvoiceApplyPayment, localVarRequestOptions, configuration)
1019
+
1020
+ return {
1021
+ url: toPathString(localVarUrlObj),
1022
+ options: localVarRequestOptions,
1023
+ };
1024
+ },
1025
+ /**
1026
+ * Auto-Apply all payements to the selected invoice.
1027
+ * @summary PremInvoice Auto-Apply
1028
+ * @param {string} vbasoftwareDatabase Target database
1029
+ * @param {number} invoiceKey Invoice Key
1030
+ * @param {*} [options] Override http request option.
1031
+ * @throws {RequiredError}
1032
+ */
1033
+ premInvoiceAutoApply: async (vbasoftwareDatabase: string, invoiceKey: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1034
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
1035
+ assertParamExists('premInvoiceAutoApply', 'vbasoftwareDatabase', vbasoftwareDatabase)
1036
+ // verify required parameter 'invoiceKey' is not null or undefined
1037
+ assertParamExists('premInvoiceAutoApply', 'invoiceKey', invoiceKey)
1038
+ const localVarPath = `/premium-invoices/{invoiceKey}/auto-apply`
1039
+ .replace(`{${"invoiceKey"}}`, encodeURIComponent(String(invoiceKey)));
1040
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1041
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1042
+ let baseOptions;
1043
+ if (configuration) {
1044
+ baseOptions = configuration.baseOptions;
1045
+ }
1046
+
1047
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
1048
+ const localVarHeaderParameter = {} as any;
1049
+ const localVarQueryParameter = {} as any;
1050
+
1051
+ // authentication apiKeyAuth required
1052
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
1053
+
1054
+ // authentication bearerAuth required
1055
+ // http bearer authentication required
1056
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1057
+
1058
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
1059
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
1060
+ }
1061
+
1062
+
1063
+
1064
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1065
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1066
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1067
+
1068
+ return {
1069
+ url: toPathString(localVarUrlObj),
1070
+ options: localVarRequestOptions,
1071
+ };
1072
+ },
1073
+ /**
1074
+ * Auto-Apply all payements to the selected Self-Admin invoice.
1075
+ * @summary PremInvoice Auto-Apply for Self-Admin
1076
+ * @param {string} vbasoftwareDatabase Target database
1077
+ * @param {number} invoiceKey Invoice Key
1078
+ * @param {*} [options] Override http request option.
1079
+ * @throws {RequiredError}
1080
+ */
1081
+ premInvoiceAutoApplySelfAdmin: async (vbasoftwareDatabase: string, invoiceKey: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1082
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
1083
+ assertParamExists('premInvoiceAutoApplySelfAdmin', 'vbasoftwareDatabase', vbasoftwareDatabase)
1084
+ // verify required parameter 'invoiceKey' is not null or undefined
1085
+ assertParamExists('premInvoiceAutoApplySelfAdmin', 'invoiceKey', invoiceKey)
1086
+ const localVarPath = `/premium-invoices/{invoiceKey}/auto-apply-self-admin`
1087
+ .replace(`{${"invoiceKey"}}`, encodeURIComponent(String(invoiceKey)));
1088
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1089
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1090
+ let baseOptions;
1091
+ if (configuration) {
1092
+ baseOptions = configuration.baseOptions;
1093
+ }
1094
+
1095
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
1096
+ const localVarHeaderParameter = {} as any;
1097
+ const localVarQueryParameter = {} as any;
1098
+
1099
+ // authentication apiKeyAuth required
1100
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
1101
+
1102
+ // authentication bearerAuth required
1103
+ // http bearer authentication required
1104
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1105
+
1106
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
1107
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
1108
+ }
1109
+
1110
+
1111
+
1112
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1113
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1114
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1115
+
1116
+ return {
1117
+ url: toPathString(localVarUrlObj),
1118
+ options: localVarRequestOptions,
1119
+ };
1120
+ },
1121
+ /**
1122
+ * Create or Update multiple PremInvoice at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
1123
+ * @summary Create or Update Batch PremInvoice
1124
+ * @param {string} vbasoftwareDatabase Target database
1125
+ * @param {Array<PremInvoice>} premInvoice
1126
+ * @param {*} [options] Override http request option.
1127
+ * @throws {RequiredError}
1128
+ */
1129
+ updateBatchPremInvoice: async (vbasoftwareDatabase: string, premInvoice: Array<PremInvoice>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1130
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
1131
+ assertParamExists('updateBatchPremInvoice', 'vbasoftwareDatabase', vbasoftwareDatabase)
1132
+ // verify required parameter 'premInvoice' is not null or undefined
1133
+ assertParamExists('updateBatchPremInvoice', 'premInvoice', premInvoice)
1134
+ const localVarPath = `/premium-invoices-batch`;
1135
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1136
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1137
+ let baseOptions;
1138
+ if (configuration) {
1139
+ baseOptions = configuration.baseOptions;
1140
+ }
1141
+
1142
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
1143
+ const localVarHeaderParameter = {} as any;
1144
+ const localVarQueryParameter = {} as any;
1145
+
1146
+ // authentication apiKeyAuth required
1147
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
1148
+
1149
+ // authentication bearerAuth required
1150
+ // http bearer authentication required
1151
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1152
+
1153
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
1154
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
1155
+ }
1156
+
1157
+
1158
+
1159
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1160
+
1161
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1162
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1163
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1164
+ localVarRequestOptions.data = serializeDataIfNeeded(premInvoice, localVarRequestOptions, configuration)
1165
+
1166
+ return {
1167
+ url: toPathString(localVarUrlObj),
1168
+ options: localVarRequestOptions,
1169
+ };
1170
+ },
1171
+ /**
1172
+ * Updates a specific PremInvoice.
1173
+ * @summary Update PremInvoice
1174
+ * @param {string} vbasoftwareDatabase Target database
1175
+ * @param {number} invoiceKey Invoice Key
1176
+ * @param {PremInvoice} premInvoice
1177
+ * @param {*} [options] Override http request option.
1178
+ * @throws {RequiredError}
1179
+ */
1180
+ updatePremInvoice: async (vbasoftwareDatabase: string, invoiceKey: number, premInvoice: PremInvoice, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1181
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
1182
+ assertParamExists('updatePremInvoice', 'vbasoftwareDatabase', vbasoftwareDatabase)
1183
+ // verify required parameter 'invoiceKey' is not null or undefined
1184
+ assertParamExists('updatePremInvoice', 'invoiceKey', invoiceKey)
1185
+ // verify required parameter 'premInvoice' is not null or undefined
1186
+ assertParamExists('updatePremInvoice', 'premInvoice', premInvoice)
1187
+ const localVarPath = `/premium-invoices/{invoiceKey}`
1188
+ .replace(`{${"invoiceKey"}}`, encodeURIComponent(String(invoiceKey)));
1189
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1190
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1191
+ let baseOptions;
1192
+ if (configuration) {
1193
+ baseOptions = configuration.baseOptions;
1194
+ }
1195
+
1196
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
1197
+ const localVarHeaderParameter = {} as any;
1198
+ const localVarQueryParameter = {} as any;
1199
+
1200
+ // authentication apiKeyAuth required
1201
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
1202
+
1203
+ // authentication bearerAuth required
1204
+ // http bearer authentication required
1205
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1206
+
1207
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
1208
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
1209
+ }
1210
+
1211
+
1212
+
1213
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1214
+
1215
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1216
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1217
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1218
+ localVarRequestOptions.data = serializeDataIfNeeded(premInvoice, localVarRequestOptions, configuration)
1219
+
1220
+ return {
1221
+ url: toPathString(localVarUrlObj),
1222
+ options: localVarRequestOptions,
1223
+ };
1224
+ },
1225
+ }
1226
+ };
1227
+
1228
+ /**
1229
+ * PremiumInvoicesApi - functional programming interface
1230
+ * @export
1231
+ */
1232
+ export const PremiumInvoicesApiFp = function(configuration?: Configuration) {
1233
+ const localVarAxiosParamCreator = PremiumInvoicesApiAxiosParamCreator(configuration)
1234
+ return {
1235
+ /**
1236
+ * Creates a new PremInvoice
1237
+ * @summary Create PremInvoice
1238
+ * @param {string} vbasoftwareDatabase Target database
1239
+ * @param {PremInvoice} premInvoice
1240
+ * @param {*} [options] Override http request option.
1241
+ * @throws {RequiredError}
1242
+ */
1243
+ async createPremInvoice(vbasoftwareDatabase: string, premInvoice: PremInvoice, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PremInvoiceVBAResponse>> {
1244
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createPremInvoice(vbasoftwareDatabase, premInvoice, options);
1245
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1246
+ },
1247
+ /**
1248
+ * Deletes an PremInvoice
1249
+ * @summary Delete PremInvoice
1250
+ * @param {string} vbasoftwareDatabase Target database
1251
+ * @param {number} invoiceKey Invoice Key
1252
+ * @param {*} [options] Override http request option.
1253
+ * @throws {RequiredError}
1254
+ */
1255
+ async deletePremInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1256
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deletePremInvoice(vbasoftwareDatabase, invoiceKey, options);
1257
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1258
+ },
1259
+ /**
1260
+ * Creates a new Premium Billing Invoice for the selected Group/Division.
1261
+ * @summary Generate Division Invoice
1262
+ * @param {string} vbasoftwareDatabase Target database
1263
+ * @param {GeneratePremInvoice} generatePremInvoice
1264
+ * @param {*} [options] Override http request option.
1265
+ * @throws {RequiredError}
1266
+ */
1267
+ async generatePremInvoiceDivision(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PremInvoiceVBAResponse>> {
1268
+ const localVarAxiosArgs = await localVarAxiosParamCreator.generatePremInvoiceDivision(vbasoftwareDatabase, generatePremInvoice, options);
1269
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1270
+ },
1271
+ /**
1272
+ * Creates a new Premium Billing Invoice for the selected Group.
1273
+ * @summary Generate Group Invoice
1274
+ * @param {string} vbasoftwareDatabase Target database
1275
+ * @param {GeneratePremInvoice} generatePremInvoice
1276
+ * @param {*} [options] Override http request option.
1277
+ * @throws {RequiredError}
1278
+ */
1279
+ async generatePremInvoiceGroup(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PremInvoiceVBAResponse>> {
1280
+ const localVarAxiosArgs = await localVarAxiosParamCreator.generatePremInvoiceGroup(vbasoftwareDatabase, generatePremInvoice, options);
1281
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1282
+ },
1283
+ /**
1284
+ * 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.
1285
+ * @summary Generate Group and Division Invoice
1286
+ * @param {string} vbasoftwareDatabase Target database
1287
+ * @param {GeneratePremInvoice} generatePremInvoice
1288
+ * @param {*} [options] Override http request option.
1289
+ * @throws {RequiredError}
1290
+ */
1291
+ async generatePremInvoiceGroupDivision(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1292
+ const localVarAxiosArgs = await localVarAxiosParamCreator.generatePremInvoiceGroupDivision(vbasoftwareDatabase, generatePremInvoice, options);
1293
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1294
+ },
1295
+ /**
1296
+ * Creates a new Self-Admin Invoice for the selected Group/Division.
1297
+ * @summary Generate Self-Admin Division Invoice
1298
+ * @param {string} vbasoftwareDatabase Target database
1299
+ * @param {GeneratePremInvoice} generatePremInvoice
1300
+ * @param {*} [options] Override http request option.
1301
+ * @throws {RequiredError}
1302
+ */
1303
+ async generatePremInvoiceSelfAdminDivision(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PremInvoiceVBAResponse>> {
1304
+ const localVarAxiosArgs = await localVarAxiosParamCreator.generatePremInvoiceSelfAdminDivision(vbasoftwareDatabase, generatePremInvoice, options);
1305
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1306
+ },
1307
+ /**
1308
+ * Creates a new Self-Admin Invoice for the selected Group.
1309
+ * @summary Generate Self-Admin Group Invoice
1310
+ * @param {string} vbasoftwareDatabase Target database
1311
+ * @param {GeneratePremInvoice} generatePremInvoice
1312
+ * @param {*} [options] Override http request option.
1313
+ * @throws {RequiredError}
1314
+ */
1315
+ async generatePremInvoiceSelfAdminGroup(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PremInvoiceVBAResponse>> {
1316
+ const localVarAxiosArgs = await localVarAxiosParamCreator.generatePremInvoiceSelfAdminGroup(vbasoftwareDatabase, generatePremInvoice, options);
1317
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1318
+ },
1319
+ /**
1320
+ * Creates a new Premium Billing Invoice for the selected Subscriber.
1321
+ * @summary Generate Subscriber Invoice
1322
+ * @param {string} vbasoftwareDatabase Target database
1323
+ * @param {GeneratePremInvoice} generatePremInvoice
1324
+ * @param {*} [options] Override http request option.
1325
+ * @throws {RequiredError}
1326
+ */
1327
+ async generatePremInvoiceSubscriber(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PremInvoiceVBAResponse>> {
1328
+ const localVarAxiosArgs = await localVarAxiosParamCreator.generatePremInvoiceSubscriber(vbasoftwareDatabase, generatePremInvoice, options);
1329
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1330
+ },
1331
+ /**
1332
+ * Gets PremInvoice
1333
+ * @summary Get PremInvoice
1334
+ * @param {string} vbasoftwareDatabase Target database
1335
+ * @param {number} invoiceKey Invoice Key
1336
+ * @param {*} [options] Override http request option.
1337
+ * @throws {RequiredError}
1338
+ */
1339
+ async getPremInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PremInvoiceVBAResponse>> {
1340
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPremInvoice(vbasoftwareDatabase, invoiceKey, options);
1341
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1342
+ },
1343
+ /**
1344
+ * Gets PremInvoice Summary for the specified group id and invoice year. First PremInvoiceSelfAdmin table is checked for the group id, if found the values are aggregated from come from PremInvoiceSelfAdmin; if the group is not found in PremInvoiceSelfAdmin, the PremInvoiceSubscriber table is checked for this group. If not present in either table, an error is returned.
1345
+ * @summary Get PremInvoice Group Summary
1346
+ * @param {string} vbasoftwareDatabase Target database
1347
+ * @param {string} groupId Group ID
1348
+ * @param {number} invoiceYear Invoice Year
1349
+ * @param {*} [options] Override http request option.
1350
+ * @throws {RequiredError}
1351
+ */
1352
+ async getPremInvoiceGroupSummary(vbasoftwareDatabase: string, groupId: string, invoiceYear: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PremInvoiceGroupSummaryVBAResponse>> {
1353
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPremInvoiceGroupSummary(vbasoftwareDatabase, groupId, invoiceYear, options);
1354
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1355
+ },
1356
+ /**
1357
+ * Gets PremInvoice Summary for the specified invoice. First PremInvoiceSelfAdmin table is checked for the invoice key, if found the values are aggregated from come from PremInvoiceSelfAdmin; if the invoice key is not found in PremInvoiceSelfAdmin, the PremInvoiceSubscriber table is checked. If not present in either table, an error is returned.
1358
+ * @summary Get PremInvoice Summary
1359
+ * @param {string} vbasoftwareDatabase Target database
1360
+ * @param {number} invoiceKey Invoice Key
1361
+ * @param {*} [options] Override http request option.
1362
+ * @throws {RequiredError}
1363
+ */
1364
+ async getPremInvoiceSummary(vbasoftwareDatabase: string, invoiceKey: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PremInvoiceGroupSummaryVBAResponse>> {
1365
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPremInvoiceSummary(vbasoftwareDatabase, invoiceKey, options);
1366
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1367
+ },
1368
+ /**
1369
+ * Lists all PremInvoice.
1370
+ * @summary List PremInvoice
1371
+ * @param {string} vbasoftwareDatabase Target database
1372
+ * @param {number} [page] Page
1373
+ * @param {number} [pageSize] Page Size
1374
+ * @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \&#39;Property1:desc,Property2:asc,Property3:asc\&#39; sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
1375
+ * @param {*} [options] Override http request option.
1376
+ * @throws {RequiredError}
1377
+ */
1378
+ async listPremInvoice(vbasoftwareDatabase: string, page?: number, pageSize?: number, sortBy?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PremInvoiceListVBAResponse>> {
1379
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPremInvoice(vbasoftwareDatabase, page, pageSize, sortBy, options);
1380
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1381
+ },
1382
+ /**
1383
+ * List of Invoices to be generated based on the selected Invoice Date.
1384
+ * @summary List Invoices to be Generated
1385
+ * @param {string} vbasoftwareDatabase Target database
1386
+ * @param {string} invoiceDate Invoice Date
1387
+ * @param {*} [options] Override http request option.
1388
+ * @throws {RequiredError}
1389
+ */
1390
+ async listPremInvoiceGenerate(vbasoftwareDatabase: string, invoiceDate: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PremInvoiceGenerateInvListListVBAResponse>> {
1391
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPremInvoiceGenerate(vbasoftwareDatabase, invoiceDate, options);
1392
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1393
+ },
1394
+ /**
1395
+ * List of Self-Admin Invoices to be generated based on the selected Invoice Date.
1396
+ * @summary List Self-Admin Invoices to be Generated
1397
+ * @param {string} vbasoftwareDatabase Target database
1398
+ * @param {string} invoiceDate Invoice Date
1399
+ * @param {*} [options] Override http request option.
1400
+ * @throws {RequiredError}
1401
+ */
1402
+ async listPremInvoiceGenerateSelfAdmin(vbasoftwareDatabase: string, invoiceDate: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PremInvoiceGenerateSelfAdminInvListListVBAResponse>> {
1403
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPremInvoiceGenerateSelfAdmin(vbasoftwareDatabase, invoiceDate, options);
1404
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1405
+ },
1406
+ /**
611
1407
  * Gets a \'Slim\' list of PremInvoices. The Slim model has a limited subset of fields intended for quick loading. You may provide the GroupID and/or Invoice Year to filter the list to include only those Invoices in which the Group/Invoice Year match an invoice with the same Group/Invoice Year wihtin the PremInvoiceSubscriber and PremInvoiceSelfAdmin tables.
612
1408
  * @summary List PremInvoiceSlim
613
1409
  * @param {string} vbasoftwareDatabase Target database
@@ -623,6 +1419,78 @@ export const PremiumInvoicesApiFp = function(configuration?: Configuration) {
623
1419
  const localVarAxiosArgs = await localVarAxiosParamCreator.listPremInvoiceSlim(vbasoftwareDatabase, groupId, invoiceYear, page, pageSize, sortBy, options);
624
1420
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
625
1421
  },
1422
+ /**
1423
+ * PremInvoice Apply Payments by Header Adjustment
1424
+ * @summary PremInvoice Apply Payments by Header Adjustment
1425
+ * @param {string} vbasoftwareDatabase Target database
1426
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
1427
+ * @param {*} [options] Override http request option.
1428
+ * @throws {RequiredError}
1429
+ */
1430
+ async premInvoiceApplyPaymentHeaderAdjustment(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1431
+ const localVarAxiosArgs = await localVarAxiosParamCreator.premInvoiceApplyPaymentHeaderAdjustment(vbasoftwareDatabase, premInvoiceApplyPayment, options);
1432
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1433
+ },
1434
+ /**
1435
+ * PremInvoice Apply Payments by Subscriber
1436
+ * @summary PremInvoice Apply Payments by Subscriber
1437
+ * @param {string} vbasoftwareDatabase Target database
1438
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
1439
+ * @param {*} [options] Override http request option.
1440
+ * @throws {RequiredError}
1441
+ */
1442
+ async premInvoiceApplyPaymentSubscriber(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1443
+ const localVarAxiosArgs = await localVarAxiosParamCreator.premInvoiceApplyPaymentSubscriber(vbasoftwareDatabase, premInvoiceApplyPayment, options);
1444
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1445
+ },
1446
+ /**
1447
+ * PremInvoice Apply Payments by Subscriber and Payor ID
1448
+ * @summary PremInvoice Apply Payments by Subscriber and Payor ID
1449
+ * @param {string} vbasoftwareDatabase Target database
1450
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
1451
+ * @param {*} [options] Override http request option.
1452
+ * @throws {RequiredError}
1453
+ */
1454
+ async premInvoiceApplyPaymentSubscriberPayorID(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1455
+ const localVarAxiosArgs = await localVarAxiosParamCreator.premInvoiceApplyPaymentSubscriberPayorID(vbasoftwareDatabase, premInvoiceApplyPayment, options);
1456
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1457
+ },
1458
+ /**
1459
+ * PremInvoice Apply Payments by Subscriber and Plan Type
1460
+ * @summary PremInvoice Apply Payments by Subscriber and Plan Type
1461
+ * @param {string} vbasoftwareDatabase Target database
1462
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
1463
+ * @param {*} [options] Override http request option.
1464
+ * @throws {RequiredError}
1465
+ */
1466
+ async premInvoiceApplyPaymentSubscriberPlanType(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1467
+ const localVarAxiosArgs = await localVarAxiosParamCreator.premInvoiceApplyPaymentSubscriberPlanType(vbasoftwareDatabase, premInvoiceApplyPayment, options);
1468
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1469
+ },
1470
+ /**
1471
+ * Auto-Apply all payements to the selected invoice.
1472
+ * @summary PremInvoice Auto-Apply
1473
+ * @param {string} vbasoftwareDatabase Target database
1474
+ * @param {number} invoiceKey Invoice Key
1475
+ * @param {*} [options] Override http request option.
1476
+ * @throws {RequiredError}
1477
+ */
1478
+ async premInvoiceAutoApply(vbasoftwareDatabase: string, invoiceKey: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1479
+ const localVarAxiosArgs = await localVarAxiosParamCreator.premInvoiceAutoApply(vbasoftwareDatabase, invoiceKey, options);
1480
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1481
+ },
1482
+ /**
1483
+ * Auto-Apply all payements to the selected Self-Admin invoice.
1484
+ * @summary PremInvoice Auto-Apply for Self-Admin
1485
+ * @param {string} vbasoftwareDatabase Target database
1486
+ * @param {number} invoiceKey Invoice Key
1487
+ * @param {*} [options] Override http request option.
1488
+ * @throws {RequiredError}
1489
+ */
1490
+ async premInvoiceAutoApplySelfAdmin(vbasoftwareDatabase: string, invoiceKey: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1491
+ const localVarAxiosArgs = await localVarAxiosParamCreator.premInvoiceAutoApplySelfAdmin(vbasoftwareDatabase, invoiceKey, options);
1492
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1493
+ },
626
1494
  /**
627
1495
  * Create or Update multiple PremInvoice at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
628
1496
  * @summary Create or Update Batch PremInvoice
@@ -670,77 +1538,231 @@ export const PremiumInvoicesApiFactory = function (configuration?: Configuration
670
1538
  return localVarFp.createPremInvoice(vbasoftwareDatabase, premInvoice, options).then((request) => request(axios, basePath));
671
1539
  },
672
1540
  /**
673
- * Deletes an PremInvoice
674
- * @summary Delete PremInvoice
1541
+ * Deletes an PremInvoice
1542
+ * @summary Delete PremInvoice
1543
+ * @param {string} vbasoftwareDatabase Target database
1544
+ * @param {number} invoiceKey Invoice Key
1545
+ * @param {*} [options] Override http request option.
1546
+ * @throws {RequiredError}
1547
+ */
1548
+ deletePremInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: any): AxiosPromise<void> {
1549
+ return localVarFp.deletePremInvoice(vbasoftwareDatabase, invoiceKey, options).then((request) => request(axios, basePath));
1550
+ },
1551
+ /**
1552
+ * Creates a new Premium Billing Invoice for the selected Group/Division.
1553
+ * @summary Generate Division Invoice
1554
+ * @param {string} vbasoftwareDatabase Target database
1555
+ * @param {GeneratePremInvoice} generatePremInvoice
1556
+ * @param {*} [options] Override http request option.
1557
+ * @throws {RequiredError}
1558
+ */
1559
+ generatePremInvoiceDivision(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: any): AxiosPromise<PremInvoiceVBAResponse> {
1560
+ return localVarFp.generatePremInvoiceDivision(vbasoftwareDatabase, generatePremInvoice, options).then((request) => request(axios, basePath));
1561
+ },
1562
+ /**
1563
+ * Creates a new Premium Billing Invoice for the selected Group.
1564
+ * @summary Generate Group Invoice
1565
+ * @param {string} vbasoftwareDatabase Target database
1566
+ * @param {GeneratePremInvoice} generatePremInvoice
1567
+ * @param {*} [options] Override http request option.
1568
+ * @throws {RequiredError}
1569
+ */
1570
+ generatePremInvoiceGroup(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: any): AxiosPromise<PremInvoiceVBAResponse> {
1571
+ return localVarFp.generatePremInvoiceGroup(vbasoftwareDatabase, generatePremInvoice, options).then((request) => request(axios, basePath));
1572
+ },
1573
+ /**
1574
+ * 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.
1575
+ * @summary Generate Group and Division Invoice
1576
+ * @param {string} vbasoftwareDatabase Target database
1577
+ * @param {GeneratePremInvoice} generatePremInvoice
1578
+ * @param {*} [options] Override http request option.
1579
+ * @throws {RequiredError}
1580
+ */
1581
+ generatePremInvoiceGroupDivision(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: any): AxiosPromise<void> {
1582
+ return localVarFp.generatePremInvoiceGroupDivision(vbasoftwareDatabase, generatePremInvoice, options).then((request) => request(axios, basePath));
1583
+ },
1584
+ /**
1585
+ * Creates a new Self-Admin Invoice for the selected Group/Division.
1586
+ * @summary Generate Self-Admin Division Invoice
1587
+ * @param {string} vbasoftwareDatabase Target database
1588
+ * @param {GeneratePremInvoice} generatePremInvoice
1589
+ * @param {*} [options] Override http request option.
1590
+ * @throws {RequiredError}
1591
+ */
1592
+ generatePremInvoiceSelfAdminDivision(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: any): AxiosPromise<PremInvoiceVBAResponse> {
1593
+ return localVarFp.generatePremInvoiceSelfAdminDivision(vbasoftwareDatabase, generatePremInvoice, options).then((request) => request(axios, basePath));
1594
+ },
1595
+ /**
1596
+ * Creates a new Self-Admin Invoice for the selected Group.
1597
+ * @summary Generate Self-Admin Group Invoice
1598
+ * @param {string} vbasoftwareDatabase Target database
1599
+ * @param {GeneratePremInvoice} generatePremInvoice
1600
+ * @param {*} [options] Override http request option.
1601
+ * @throws {RequiredError}
1602
+ */
1603
+ generatePremInvoiceSelfAdminGroup(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: any): AxiosPromise<PremInvoiceVBAResponse> {
1604
+ return localVarFp.generatePremInvoiceSelfAdminGroup(vbasoftwareDatabase, generatePremInvoice, options).then((request) => request(axios, basePath));
1605
+ },
1606
+ /**
1607
+ * Creates a new Premium Billing Invoice for the selected Subscriber.
1608
+ * @summary Generate Subscriber Invoice
1609
+ * @param {string} vbasoftwareDatabase Target database
1610
+ * @param {GeneratePremInvoice} generatePremInvoice
1611
+ * @param {*} [options] Override http request option.
1612
+ * @throws {RequiredError}
1613
+ */
1614
+ generatePremInvoiceSubscriber(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: any): AxiosPromise<PremInvoiceVBAResponse> {
1615
+ return localVarFp.generatePremInvoiceSubscriber(vbasoftwareDatabase, generatePremInvoice, options).then((request) => request(axios, basePath));
1616
+ },
1617
+ /**
1618
+ * Gets PremInvoice
1619
+ * @summary Get PremInvoice
1620
+ * @param {string} vbasoftwareDatabase Target database
1621
+ * @param {number} invoiceKey Invoice Key
1622
+ * @param {*} [options] Override http request option.
1623
+ * @throws {RequiredError}
1624
+ */
1625
+ getPremInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: any): AxiosPromise<PremInvoiceVBAResponse> {
1626
+ return localVarFp.getPremInvoice(vbasoftwareDatabase, invoiceKey, options).then((request) => request(axios, basePath));
1627
+ },
1628
+ /**
1629
+ * Gets PremInvoice Summary for the specified group id and invoice year. First PremInvoiceSelfAdmin table is checked for the group id, if found the values are aggregated from come from PremInvoiceSelfAdmin; if the group is not found in PremInvoiceSelfAdmin, the PremInvoiceSubscriber table is checked for this group. If not present in either table, an error is returned.
1630
+ * @summary Get PremInvoice Group Summary
1631
+ * @param {string} vbasoftwareDatabase Target database
1632
+ * @param {string} groupId Group ID
1633
+ * @param {number} invoiceYear Invoice Year
1634
+ * @param {*} [options] Override http request option.
1635
+ * @throws {RequiredError}
1636
+ */
1637
+ getPremInvoiceGroupSummary(vbasoftwareDatabase: string, groupId: string, invoiceYear: number, options?: any): AxiosPromise<PremInvoiceGroupSummaryVBAResponse> {
1638
+ return localVarFp.getPremInvoiceGroupSummary(vbasoftwareDatabase, groupId, invoiceYear, options).then((request) => request(axios, basePath));
1639
+ },
1640
+ /**
1641
+ * Gets PremInvoice Summary for the specified invoice. First PremInvoiceSelfAdmin table is checked for the invoice key, if found the values are aggregated from come from PremInvoiceSelfAdmin; if the invoice key is not found in PremInvoiceSelfAdmin, the PremInvoiceSubscriber table is checked. If not present in either table, an error is returned.
1642
+ * @summary Get PremInvoice Summary
1643
+ * @param {string} vbasoftwareDatabase Target database
1644
+ * @param {number} invoiceKey Invoice Key
1645
+ * @param {*} [options] Override http request option.
1646
+ * @throws {RequiredError}
1647
+ */
1648
+ getPremInvoiceSummary(vbasoftwareDatabase: string, invoiceKey: number, options?: any): AxiosPromise<PremInvoiceGroupSummaryVBAResponse> {
1649
+ return localVarFp.getPremInvoiceSummary(vbasoftwareDatabase, invoiceKey, options).then((request) => request(axios, basePath));
1650
+ },
1651
+ /**
1652
+ * Lists all PremInvoice.
1653
+ * @summary List PremInvoice
1654
+ * @param {string} vbasoftwareDatabase Target database
1655
+ * @param {number} [page] Page
1656
+ * @param {number} [pageSize] Page Size
1657
+ * @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \&#39;Property1:desc,Property2:asc,Property3:asc\&#39; sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
1658
+ * @param {*} [options] Override http request option.
1659
+ * @throws {RequiredError}
1660
+ */
1661
+ listPremInvoice(vbasoftwareDatabase: string, page?: number, pageSize?: number, sortBy?: string, options?: any): AxiosPromise<PremInvoiceListVBAResponse> {
1662
+ return localVarFp.listPremInvoice(vbasoftwareDatabase, page, pageSize, sortBy, options).then((request) => request(axios, basePath));
1663
+ },
1664
+ /**
1665
+ * List of Invoices to be generated based on the selected Invoice Date.
1666
+ * @summary List Invoices to be Generated
1667
+ * @param {string} vbasoftwareDatabase Target database
1668
+ * @param {string} invoiceDate Invoice Date
1669
+ * @param {*} [options] Override http request option.
1670
+ * @throws {RequiredError}
1671
+ */
1672
+ listPremInvoiceGenerate(vbasoftwareDatabase: string, invoiceDate: string, options?: any): AxiosPromise<PremInvoiceGenerateInvListListVBAResponse> {
1673
+ return localVarFp.listPremInvoiceGenerate(vbasoftwareDatabase, invoiceDate, options).then((request) => request(axios, basePath));
1674
+ },
1675
+ /**
1676
+ * List of Self-Admin Invoices to be generated based on the selected Invoice Date.
1677
+ * @summary List Self-Admin Invoices to be Generated
1678
+ * @param {string} vbasoftwareDatabase Target database
1679
+ * @param {string} invoiceDate Invoice Date
1680
+ * @param {*} [options] Override http request option.
1681
+ * @throws {RequiredError}
1682
+ */
1683
+ listPremInvoiceGenerateSelfAdmin(vbasoftwareDatabase: string, invoiceDate: string, options?: any): AxiosPromise<PremInvoiceGenerateSelfAdminInvListListVBAResponse> {
1684
+ return localVarFp.listPremInvoiceGenerateSelfAdmin(vbasoftwareDatabase, invoiceDate, options).then((request) => request(axios, basePath));
1685
+ },
1686
+ /**
1687
+ * Gets a \'Slim\' list of PremInvoices. The Slim model has a limited subset of fields intended for quick loading. You may provide the GroupID and/or Invoice Year to filter the list to include only those Invoices in which the Group/Invoice Year match an invoice with the same Group/Invoice Year wihtin the PremInvoiceSubscriber and PremInvoiceSelfAdmin tables.
1688
+ * @summary List PremInvoiceSlim
1689
+ * @param {string} vbasoftwareDatabase Target database
1690
+ * @param {string} [groupId] Group ID
1691
+ * @param {number} [invoiceYear] Invoice Year
1692
+ * @param {number} [page] Page
1693
+ * @param {number} [pageSize] Page Size
1694
+ * @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \&#39;Property1:desc,Property2:asc,Property3:asc\&#39; sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
1695
+ * @param {*} [options] Override http request option.
1696
+ * @throws {RequiredError}
1697
+ */
1698
+ listPremInvoiceSlim(vbasoftwareDatabase: string, groupId?: string, invoiceYear?: number, page?: number, pageSize?: number, sortBy?: string, options?: any): AxiosPromise<PremInvoiceSlimListVBAResponse> {
1699
+ return localVarFp.listPremInvoiceSlim(vbasoftwareDatabase, groupId, invoiceYear, page, pageSize, sortBy, options).then((request) => request(axios, basePath));
1700
+ },
1701
+ /**
1702
+ * PremInvoice Apply Payments by Header Adjustment
1703
+ * @summary PremInvoice Apply Payments by Header Adjustment
675
1704
  * @param {string} vbasoftwareDatabase Target database
676
- * @param {number} invoiceKey Invoice Key
1705
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
677
1706
  * @param {*} [options] Override http request option.
678
1707
  * @throws {RequiredError}
679
1708
  */
680
- deletePremInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: any): AxiosPromise<void> {
681
- return localVarFp.deletePremInvoice(vbasoftwareDatabase, invoiceKey, options).then((request) => request(axios, basePath));
1709
+ premInvoiceApplyPaymentHeaderAdjustment(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: any): AxiosPromise<void> {
1710
+ return localVarFp.premInvoiceApplyPaymentHeaderAdjustment(vbasoftwareDatabase, premInvoiceApplyPayment, options).then((request) => request(axios, basePath));
682
1711
  },
683
1712
  /**
684
- * Gets PremInvoice
685
- * @summary Get PremInvoice
1713
+ * PremInvoice Apply Payments by Subscriber
1714
+ * @summary PremInvoice Apply Payments by Subscriber
686
1715
  * @param {string} vbasoftwareDatabase Target database
687
- * @param {number} invoiceKey Invoice Key
1716
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
688
1717
  * @param {*} [options] Override http request option.
689
1718
  * @throws {RequiredError}
690
1719
  */
691
- getPremInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: any): AxiosPromise<PremInvoiceVBAResponse> {
692
- return localVarFp.getPremInvoice(vbasoftwareDatabase, invoiceKey, options).then((request) => request(axios, basePath));
1720
+ premInvoiceApplyPaymentSubscriber(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: any): AxiosPromise<void> {
1721
+ return localVarFp.premInvoiceApplyPaymentSubscriber(vbasoftwareDatabase, premInvoiceApplyPayment, options).then((request) => request(axios, basePath));
693
1722
  },
694
1723
  /**
695
- * Gets PremInvoice Summary for the specified group id and invoice year. First PremInvoiceSelfAdmin table is checked for the group id, if found the values are aggregated from come from PremInvoiceSelfAdmin; if the group is not found in PremInvoiceSelfAdmin, the PremInvoiceSubscriber table is checked for this group. If not present in either table, an error is returned.
696
- * @summary Get PremInvoice Group Summary
1724
+ * PremInvoice Apply Payments by Subscriber and Payor ID
1725
+ * @summary PremInvoice Apply Payments by Subscriber and Payor ID
697
1726
  * @param {string} vbasoftwareDatabase Target database
698
- * @param {string} groupId Group ID
699
- * @param {number} invoiceYear Invoice Year
1727
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
700
1728
  * @param {*} [options] Override http request option.
701
1729
  * @throws {RequiredError}
702
1730
  */
703
- getPremInvoiceGroupSummary(vbasoftwareDatabase: string, groupId: string, invoiceYear: number, options?: any): AxiosPromise<PremInvoiceGroupSummaryVBAResponse> {
704
- return localVarFp.getPremInvoiceGroupSummary(vbasoftwareDatabase, groupId, invoiceYear, options).then((request) => request(axios, basePath));
1731
+ premInvoiceApplyPaymentSubscriberPayorID(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: any): AxiosPromise<void> {
1732
+ return localVarFp.premInvoiceApplyPaymentSubscriberPayorID(vbasoftwareDatabase, premInvoiceApplyPayment, options).then((request) => request(axios, basePath));
705
1733
  },
706
1734
  /**
707
- * Gets PremInvoice Summary for the specified invoice. First PremInvoiceSelfAdmin table is checked for the invoice key, if found the values are aggregated from come from PremInvoiceSelfAdmin; if the invoice key is not found in PremInvoiceSelfAdmin, the PremInvoiceSubscriber table is checked. If not present in either table, an error is returned.
708
- * @summary Get PremInvoice Summary
1735
+ * PremInvoice Apply Payments by Subscriber and Plan Type
1736
+ * @summary PremInvoice Apply Payments by Subscriber and Plan Type
709
1737
  * @param {string} vbasoftwareDatabase Target database
710
- * @param {number} invoiceKey Invoice Key
1738
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
711
1739
  * @param {*} [options] Override http request option.
712
1740
  * @throws {RequiredError}
713
1741
  */
714
- getPremInvoiceSummary(vbasoftwareDatabase: string, invoiceKey: number, options?: any): AxiosPromise<PremInvoiceGroupSummaryVBAResponse> {
715
- return localVarFp.getPremInvoiceSummary(vbasoftwareDatabase, invoiceKey, options).then((request) => request(axios, basePath));
1742
+ premInvoiceApplyPaymentSubscriberPlanType(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: any): AxiosPromise<void> {
1743
+ return localVarFp.premInvoiceApplyPaymentSubscriberPlanType(vbasoftwareDatabase, premInvoiceApplyPayment, options).then((request) => request(axios, basePath));
716
1744
  },
717
1745
  /**
718
- * Lists all PremInvoice.
719
- * @summary List PremInvoice
1746
+ * Auto-Apply all payements to the selected invoice.
1747
+ * @summary PremInvoice Auto-Apply
720
1748
  * @param {string} vbasoftwareDatabase Target database
721
- * @param {number} [page] Page
722
- * @param {number} [pageSize] Page Size
723
- * @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \&#39;Property1:desc,Property2:asc,Property3:asc\&#39; sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
1749
+ * @param {number} invoiceKey Invoice Key
724
1750
  * @param {*} [options] Override http request option.
725
1751
  * @throws {RequiredError}
726
1752
  */
727
- listPremInvoice(vbasoftwareDatabase: string, page?: number, pageSize?: number, sortBy?: string, options?: any): AxiosPromise<PremInvoiceListVBAResponse> {
728
- return localVarFp.listPremInvoice(vbasoftwareDatabase, page, pageSize, sortBy, options).then((request) => request(axios, basePath));
1753
+ premInvoiceAutoApply(vbasoftwareDatabase: string, invoiceKey: number, options?: any): AxiosPromise<void> {
1754
+ return localVarFp.premInvoiceAutoApply(vbasoftwareDatabase, invoiceKey, options).then((request) => request(axios, basePath));
729
1755
  },
730
1756
  /**
731
- * Gets a \'Slim\' list of PremInvoices. The Slim model has a limited subset of fields intended for quick loading. You may provide the GroupID and/or Invoice Year to filter the list to include only those Invoices in which the Group/Invoice Year match an invoice with the same Group/Invoice Year wihtin the PremInvoiceSubscriber and PremInvoiceSelfAdmin tables.
732
- * @summary List PremInvoiceSlim
1757
+ * Auto-Apply all payements to the selected Self-Admin invoice.
1758
+ * @summary PremInvoice Auto-Apply for Self-Admin
733
1759
  * @param {string} vbasoftwareDatabase Target database
734
- * @param {string} [groupId] Group ID
735
- * @param {number} [invoiceYear] Invoice Year
736
- * @param {number} [page] Page
737
- * @param {number} [pageSize] Page Size
738
- * @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \&#39;Property1:desc,Property2:asc,Property3:asc\&#39; sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
1760
+ * @param {number} invoiceKey Invoice Key
739
1761
  * @param {*} [options] Override http request option.
740
1762
  * @throws {RequiredError}
741
1763
  */
742
- listPremInvoiceSlim(vbasoftwareDatabase: string, groupId?: string, invoiceYear?: number, page?: number, pageSize?: number, sortBy?: string, options?: any): AxiosPromise<PremInvoiceSlimListVBAResponse> {
743
- return localVarFp.listPremInvoiceSlim(vbasoftwareDatabase, groupId, invoiceYear, page, pageSize, sortBy, options).then((request) => request(axios, basePath));
1764
+ premInvoiceAutoApplySelfAdmin(vbasoftwareDatabase: string, invoiceKey: number, options?: any): AxiosPromise<void> {
1765
+ return localVarFp.premInvoiceAutoApplySelfAdmin(vbasoftwareDatabase, invoiceKey, options).then((request) => request(axios, basePath));
744
1766
  },
745
1767
  /**
746
1768
  * Create or Update multiple PremInvoice at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
@@ -796,6 +1818,72 @@ export interface PremiumInvoicesApiInterface {
796
1818
  */
797
1819
  deletePremInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: AxiosRequestConfig): AxiosPromise<void>;
798
1820
 
1821
+ /**
1822
+ * Creates a new Premium Billing Invoice for the selected Group/Division.
1823
+ * @summary Generate Division Invoice
1824
+ * @param {string} vbasoftwareDatabase Target database
1825
+ * @param {GeneratePremInvoice} generatePremInvoice
1826
+ * @param {*} [options] Override http request option.
1827
+ * @throws {RequiredError}
1828
+ * @memberof PremiumInvoicesApiInterface
1829
+ */
1830
+ generatePremInvoiceDivision(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: AxiosRequestConfig): AxiosPromise<PremInvoiceVBAResponse>;
1831
+
1832
+ /**
1833
+ * Creates a new Premium Billing Invoice for the selected Group.
1834
+ * @summary Generate Group Invoice
1835
+ * @param {string} vbasoftwareDatabase Target database
1836
+ * @param {GeneratePremInvoice} generatePremInvoice
1837
+ * @param {*} [options] Override http request option.
1838
+ * @throws {RequiredError}
1839
+ * @memberof PremiumInvoicesApiInterface
1840
+ */
1841
+ generatePremInvoiceGroup(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: AxiosRequestConfig): AxiosPromise<PremInvoiceVBAResponse>;
1842
+
1843
+ /**
1844
+ * 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.
1845
+ * @summary Generate Group and Division Invoice
1846
+ * @param {string} vbasoftwareDatabase Target database
1847
+ * @param {GeneratePremInvoice} generatePremInvoice
1848
+ * @param {*} [options] Override http request option.
1849
+ * @throws {RequiredError}
1850
+ * @memberof PremiumInvoicesApiInterface
1851
+ */
1852
+ generatePremInvoiceGroupDivision(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: AxiosRequestConfig): AxiosPromise<void>;
1853
+
1854
+ /**
1855
+ * Creates a new Self-Admin Invoice for the selected Group/Division.
1856
+ * @summary Generate Self-Admin Division Invoice
1857
+ * @param {string} vbasoftwareDatabase Target database
1858
+ * @param {GeneratePremInvoice} generatePremInvoice
1859
+ * @param {*} [options] Override http request option.
1860
+ * @throws {RequiredError}
1861
+ * @memberof PremiumInvoicesApiInterface
1862
+ */
1863
+ generatePremInvoiceSelfAdminDivision(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: AxiosRequestConfig): AxiosPromise<PremInvoiceVBAResponse>;
1864
+
1865
+ /**
1866
+ * Creates a new Self-Admin Invoice for the selected Group.
1867
+ * @summary Generate Self-Admin Group Invoice
1868
+ * @param {string} vbasoftwareDatabase Target database
1869
+ * @param {GeneratePremInvoice} generatePremInvoice
1870
+ * @param {*} [options] Override http request option.
1871
+ * @throws {RequiredError}
1872
+ * @memberof PremiumInvoicesApiInterface
1873
+ */
1874
+ generatePremInvoiceSelfAdminGroup(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: AxiosRequestConfig): AxiosPromise<PremInvoiceVBAResponse>;
1875
+
1876
+ /**
1877
+ * Creates a new Premium Billing Invoice for the selected Subscriber.
1878
+ * @summary Generate Subscriber Invoice
1879
+ * @param {string} vbasoftwareDatabase Target database
1880
+ * @param {GeneratePremInvoice} generatePremInvoice
1881
+ * @param {*} [options] Override http request option.
1882
+ * @throws {RequiredError}
1883
+ * @memberof PremiumInvoicesApiInterface
1884
+ */
1885
+ generatePremInvoiceSubscriber(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: AxiosRequestConfig): AxiosPromise<PremInvoiceVBAResponse>;
1886
+
799
1887
  /**
800
1888
  * Gets PremInvoice
801
1889
  * @summary Get PremInvoice
@@ -843,6 +1931,28 @@ export interface PremiumInvoicesApiInterface {
843
1931
  */
844
1932
  listPremInvoice(vbasoftwareDatabase: string, page?: number, pageSize?: number, sortBy?: string, options?: AxiosRequestConfig): AxiosPromise<PremInvoiceListVBAResponse>;
845
1933
 
1934
+ /**
1935
+ * List of Invoices to be generated based on the selected Invoice Date.
1936
+ * @summary List Invoices to be Generated
1937
+ * @param {string} vbasoftwareDatabase Target database
1938
+ * @param {string} invoiceDate Invoice Date
1939
+ * @param {*} [options] Override http request option.
1940
+ * @throws {RequiredError}
1941
+ * @memberof PremiumInvoicesApiInterface
1942
+ */
1943
+ listPremInvoiceGenerate(vbasoftwareDatabase: string, invoiceDate: string, options?: AxiosRequestConfig): AxiosPromise<PremInvoiceGenerateInvListListVBAResponse>;
1944
+
1945
+ /**
1946
+ * List of Self-Admin Invoices to be generated based on the selected Invoice Date.
1947
+ * @summary List Self-Admin Invoices to be Generated
1948
+ * @param {string} vbasoftwareDatabase Target database
1949
+ * @param {string} invoiceDate Invoice Date
1950
+ * @param {*} [options] Override http request option.
1951
+ * @throws {RequiredError}
1952
+ * @memberof PremiumInvoicesApiInterface
1953
+ */
1954
+ listPremInvoiceGenerateSelfAdmin(vbasoftwareDatabase: string, invoiceDate: string, options?: AxiosRequestConfig): AxiosPromise<PremInvoiceGenerateSelfAdminInvListListVBAResponse>;
1955
+
846
1956
  /**
847
1957
  * Gets a \'Slim\' list of PremInvoices. The Slim model has a limited subset of fields intended for quick loading. You may provide the GroupID and/or Invoice Year to filter the list to include only those Invoices in which the Group/Invoice Year match an invoice with the same Group/Invoice Year wihtin the PremInvoiceSubscriber and PremInvoiceSelfAdmin tables.
848
1958
  * @summary List PremInvoiceSlim
@@ -858,6 +1968,72 @@ export interface PremiumInvoicesApiInterface {
858
1968
  */
859
1969
  listPremInvoiceSlim(vbasoftwareDatabase: string, groupId?: string, invoiceYear?: number, page?: number, pageSize?: number, sortBy?: string, options?: AxiosRequestConfig): AxiosPromise<PremInvoiceSlimListVBAResponse>;
860
1970
 
1971
+ /**
1972
+ * PremInvoice Apply Payments by Header Adjustment
1973
+ * @summary PremInvoice Apply Payments by Header Adjustment
1974
+ * @param {string} vbasoftwareDatabase Target database
1975
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
1976
+ * @param {*} [options] Override http request option.
1977
+ * @throws {RequiredError}
1978
+ * @memberof PremiumInvoicesApiInterface
1979
+ */
1980
+ premInvoiceApplyPaymentHeaderAdjustment(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: AxiosRequestConfig): AxiosPromise<void>;
1981
+
1982
+ /**
1983
+ * PremInvoice Apply Payments by Subscriber
1984
+ * @summary PremInvoice Apply Payments by Subscriber
1985
+ * @param {string} vbasoftwareDatabase Target database
1986
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
1987
+ * @param {*} [options] Override http request option.
1988
+ * @throws {RequiredError}
1989
+ * @memberof PremiumInvoicesApiInterface
1990
+ */
1991
+ premInvoiceApplyPaymentSubscriber(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: AxiosRequestConfig): AxiosPromise<void>;
1992
+
1993
+ /**
1994
+ * PremInvoice Apply Payments by Subscriber and Payor ID
1995
+ * @summary PremInvoice Apply Payments by Subscriber and Payor ID
1996
+ * @param {string} vbasoftwareDatabase Target database
1997
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
1998
+ * @param {*} [options] Override http request option.
1999
+ * @throws {RequiredError}
2000
+ * @memberof PremiumInvoicesApiInterface
2001
+ */
2002
+ premInvoiceApplyPaymentSubscriberPayorID(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: AxiosRequestConfig): AxiosPromise<void>;
2003
+
2004
+ /**
2005
+ * PremInvoice Apply Payments by Subscriber and Plan Type
2006
+ * @summary PremInvoice Apply Payments by Subscriber and Plan Type
2007
+ * @param {string} vbasoftwareDatabase Target database
2008
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
2009
+ * @param {*} [options] Override http request option.
2010
+ * @throws {RequiredError}
2011
+ * @memberof PremiumInvoicesApiInterface
2012
+ */
2013
+ premInvoiceApplyPaymentSubscriberPlanType(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: AxiosRequestConfig): AxiosPromise<void>;
2014
+
2015
+ /**
2016
+ * Auto-Apply all payements to the selected invoice.
2017
+ * @summary PremInvoice Auto-Apply
2018
+ * @param {string} vbasoftwareDatabase Target database
2019
+ * @param {number} invoiceKey Invoice Key
2020
+ * @param {*} [options] Override http request option.
2021
+ * @throws {RequiredError}
2022
+ * @memberof PremiumInvoicesApiInterface
2023
+ */
2024
+ premInvoiceAutoApply(vbasoftwareDatabase: string, invoiceKey: number, options?: AxiosRequestConfig): AxiosPromise<void>;
2025
+
2026
+ /**
2027
+ * Auto-Apply all payements to the selected Self-Admin invoice.
2028
+ * @summary PremInvoice Auto-Apply for Self-Admin
2029
+ * @param {string} vbasoftwareDatabase Target database
2030
+ * @param {number} invoiceKey Invoice Key
2031
+ * @param {*} [options] Override http request option.
2032
+ * @throws {RequiredError}
2033
+ * @memberof PremiumInvoicesApiInterface
2034
+ */
2035
+ premInvoiceAutoApplySelfAdmin(vbasoftwareDatabase: string, invoiceKey: number, options?: AxiosRequestConfig): AxiosPromise<void>;
2036
+
861
2037
  /**
862
2038
  * Create or Update multiple PremInvoice at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
863
2039
  * @summary Create or Update Batch PremInvoice
@@ -916,6 +2092,84 @@ export class PremiumInvoicesApi extends BaseAPI implements PremiumInvoicesApiInt
916
2092
  return PremiumInvoicesApiFp(this.configuration).deletePremInvoice(vbasoftwareDatabase, invoiceKey, options).then((request) => request(this.axios, this.basePath));
917
2093
  }
918
2094
 
2095
+ /**
2096
+ * Creates a new Premium Billing Invoice for the selected Group/Division.
2097
+ * @summary Generate Division Invoice
2098
+ * @param {string} vbasoftwareDatabase Target database
2099
+ * @param {GeneratePremInvoice} generatePremInvoice
2100
+ * @param {*} [options] Override http request option.
2101
+ * @throws {RequiredError}
2102
+ * @memberof PremiumInvoicesApi
2103
+ */
2104
+ public generatePremInvoiceDivision(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: AxiosRequestConfig) {
2105
+ return PremiumInvoicesApiFp(this.configuration).generatePremInvoiceDivision(vbasoftwareDatabase, generatePremInvoice, options).then((request) => request(this.axios, this.basePath));
2106
+ }
2107
+
2108
+ /**
2109
+ * Creates a new Premium Billing Invoice for the selected Group.
2110
+ * @summary Generate Group Invoice
2111
+ * @param {string} vbasoftwareDatabase Target database
2112
+ * @param {GeneratePremInvoice} generatePremInvoice
2113
+ * @param {*} [options] Override http request option.
2114
+ * @throws {RequiredError}
2115
+ * @memberof PremiumInvoicesApi
2116
+ */
2117
+ public generatePremInvoiceGroup(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: AxiosRequestConfig) {
2118
+ return PremiumInvoicesApiFp(this.configuration).generatePremInvoiceGroup(vbasoftwareDatabase, generatePremInvoice, options).then((request) => request(this.axios, this.basePath));
2119
+ }
2120
+
2121
+ /**
2122
+ * 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.
2123
+ * @summary Generate Group and Division Invoice
2124
+ * @param {string} vbasoftwareDatabase Target database
2125
+ * @param {GeneratePremInvoice} generatePremInvoice
2126
+ * @param {*} [options] Override http request option.
2127
+ * @throws {RequiredError}
2128
+ * @memberof PremiumInvoicesApi
2129
+ */
2130
+ public generatePremInvoiceGroupDivision(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: AxiosRequestConfig) {
2131
+ return PremiumInvoicesApiFp(this.configuration).generatePremInvoiceGroupDivision(vbasoftwareDatabase, generatePremInvoice, options).then((request) => request(this.axios, this.basePath));
2132
+ }
2133
+
2134
+ /**
2135
+ * Creates a new Self-Admin Invoice for the selected Group/Division.
2136
+ * @summary Generate Self-Admin Division Invoice
2137
+ * @param {string} vbasoftwareDatabase Target database
2138
+ * @param {GeneratePremInvoice} generatePremInvoice
2139
+ * @param {*} [options] Override http request option.
2140
+ * @throws {RequiredError}
2141
+ * @memberof PremiumInvoicesApi
2142
+ */
2143
+ public generatePremInvoiceSelfAdminDivision(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: AxiosRequestConfig) {
2144
+ return PremiumInvoicesApiFp(this.configuration).generatePremInvoiceSelfAdminDivision(vbasoftwareDatabase, generatePremInvoice, options).then((request) => request(this.axios, this.basePath));
2145
+ }
2146
+
2147
+ /**
2148
+ * Creates a new Self-Admin Invoice for the selected Group.
2149
+ * @summary Generate Self-Admin Group Invoice
2150
+ * @param {string} vbasoftwareDatabase Target database
2151
+ * @param {GeneratePremInvoice} generatePremInvoice
2152
+ * @param {*} [options] Override http request option.
2153
+ * @throws {RequiredError}
2154
+ * @memberof PremiumInvoicesApi
2155
+ */
2156
+ public generatePremInvoiceSelfAdminGroup(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: AxiosRequestConfig) {
2157
+ return PremiumInvoicesApiFp(this.configuration).generatePremInvoiceSelfAdminGroup(vbasoftwareDatabase, generatePremInvoice, options).then((request) => request(this.axios, this.basePath));
2158
+ }
2159
+
2160
+ /**
2161
+ * Creates a new Premium Billing Invoice for the selected Subscriber.
2162
+ * @summary Generate Subscriber Invoice
2163
+ * @param {string} vbasoftwareDatabase Target database
2164
+ * @param {GeneratePremInvoice} generatePremInvoice
2165
+ * @param {*} [options] Override http request option.
2166
+ * @throws {RequiredError}
2167
+ * @memberof PremiumInvoicesApi
2168
+ */
2169
+ public generatePremInvoiceSubscriber(vbasoftwareDatabase: string, generatePremInvoice: GeneratePremInvoice, options?: AxiosRequestConfig) {
2170
+ return PremiumInvoicesApiFp(this.configuration).generatePremInvoiceSubscriber(vbasoftwareDatabase, generatePremInvoice, options).then((request) => request(this.axios, this.basePath));
2171
+ }
2172
+
919
2173
  /**
920
2174
  * Gets PremInvoice
921
2175
  * @summary Get PremInvoice
@@ -971,6 +2225,32 @@ export class PremiumInvoicesApi extends BaseAPI implements PremiumInvoicesApiInt
971
2225
  return PremiumInvoicesApiFp(this.configuration).listPremInvoice(vbasoftwareDatabase, page, pageSize, sortBy, options).then((request) => request(this.axios, this.basePath));
972
2226
  }
973
2227
 
2228
+ /**
2229
+ * List of Invoices to be generated based on the selected Invoice Date.
2230
+ * @summary List Invoices to be Generated
2231
+ * @param {string} vbasoftwareDatabase Target database
2232
+ * @param {string} invoiceDate Invoice Date
2233
+ * @param {*} [options] Override http request option.
2234
+ * @throws {RequiredError}
2235
+ * @memberof PremiumInvoicesApi
2236
+ */
2237
+ public listPremInvoiceGenerate(vbasoftwareDatabase: string, invoiceDate: string, options?: AxiosRequestConfig) {
2238
+ return PremiumInvoicesApiFp(this.configuration).listPremInvoiceGenerate(vbasoftwareDatabase, invoiceDate, options).then((request) => request(this.axios, this.basePath));
2239
+ }
2240
+
2241
+ /**
2242
+ * List of Self-Admin Invoices to be generated based on the selected Invoice Date.
2243
+ * @summary List Self-Admin Invoices to be Generated
2244
+ * @param {string} vbasoftwareDatabase Target database
2245
+ * @param {string} invoiceDate Invoice Date
2246
+ * @param {*} [options] Override http request option.
2247
+ * @throws {RequiredError}
2248
+ * @memberof PremiumInvoicesApi
2249
+ */
2250
+ public listPremInvoiceGenerateSelfAdmin(vbasoftwareDatabase: string, invoiceDate: string, options?: AxiosRequestConfig) {
2251
+ return PremiumInvoicesApiFp(this.configuration).listPremInvoiceGenerateSelfAdmin(vbasoftwareDatabase, invoiceDate, options).then((request) => request(this.axios, this.basePath));
2252
+ }
2253
+
974
2254
  /**
975
2255
  * Gets a \'Slim\' list of PremInvoices. The Slim model has a limited subset of fields intended for quick loading. You may provide the GroupID and/or Invoice Year to filter the list to include only those Invoices in which the Group/Invoice Year match an invoice with the same Group/Invoice Year wihtin the PremInvoiceSubscriber and PremInvoiceSelfAdmin tables.
976
2256
  * @summary List PremInvoiceSlim
@@ -988,6 +2268,84 @@ export class PremiumInvoicesApi extends BaseAPI implements PremiumInvoicesApiInt
988
2268
  return PremiumInvoicesApiFp(this.configuration).listPremInvoiceSlim(vbasoftwareDatabase, groupId, invoiceYear, page, pageSize, sortBy, options).then((request) => request(this.axios, this.basePath));
989
2269
  }
990
2270
 
2271
+ /**
2272
+ * PremInvoice Apply Payments by Header Adjustment
2273
+ * @summary PremInvoice Apply Payments by Header Adjustment
2274
+ * @param {string} vbasoftwareDatabase Target database
2275
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
2276
+ * @param {*} [options] Override http request option.
2277
+ * @throws {RequiredError}
2278
+ * @memberof PremiumInvoicesApi
2279
+ */
2280
+ public premInvoiceApplyPaymentHeaderAdjustment(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: AxiosRequestConfig) {
2281
+ return PremiumInvoicesApiFp(this.configuration).premInvoiceApplyPaymentHeaderAdjustment(vbasoftwareDatabase, premInvoiceApplyPayment, options).then((request) => request(this.axios, this.basePath));
2282
+ }
2283
+
2284
+ /**
2285
+ * PremInvoice Apply Payments by Subscriber
2286
+ * @summary PremInvoice Apply Payments by Subscriber
2287
+ * @param {string} vbasoftwareDatabase Target database
2288
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
2289
+ * @param {*} [options] Override http request option.
2290
+ * @throws {RequiredError}
2291
+ * @memberof PremiumInvoicesApi
2292
+ */
2293
+ public premInvoiceApplyPaymentSubscriber(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: AxiosRequestConfig) {
2294
+ return PremiumInvoicesApiFp(this.configuration).premInvoiceApplyPaymentSubscriber(vbasoftwareDatabase, premInvoiceApplyPayment, options).then((request) => request(this.axios, this.basePath));
2295
+ }
2296
+
2297
+ /**
2298
+ * PremInvoice Apply Payments by Subscriber and Payor ID
2299
+ * @summary PremInvoice Apply Payments by Subscriber and Payor ID
2300
+ * @param {string} vbasoftwareDatabase Target database
2301
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
2302
+ * @param {*} [options] Override http request option.
2303
+ * @throws {RequiredError}
2304
+ * @memberof PremiumInvoicesApi
2305
+ */
2306
+ public premInvoiceApplyPaymentSubscriberPayorID(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: AxiosRequestConfig) {
2307
+ return PremiumInvoicesApiFp(this.configuration).premInvoiceApplyPaymentSubscriberPayorID(vbasoftwareDatabase, premInvoiceApplyPayment, options).then((request) => request(this.axios, this.basePath));
2308
+ }
2309
+
2310
+ /**
2311
+ * PremInvoice Apply Payments by Subscriber and Plan Type
2312
+ * @summary PremInvoice Apply Payments by Subscriber and Plan Type
2313
+ * @param {string} vbasoftwareDatabase Target database
2314
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
2315
+ * @param {*} [options] Override http request option.
2316
+ * @throws {RequiredError}
2317
+ * @memberof PremiumInvoicesApi
2318
+ */
2319
+ public premInvoiceApplyPaymentSubscriberPlanType(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: AxiosRequestConfig) {
2320
+ return PremiumInvoicesApiFp(this.configuration).premInvoiceApplyPaymentSubscriberPlanType(vbasoftwareDatabase, premInvoiceApplyPayment, options).then((request) => request(this.axios, this.basePath));
2321
+ }
2322
+
2323
+ /**
2324
+ * Auto-Apply all payements to the selected invoice.
2325
+ * @summary PremInvoice Auto-Apply
2326
+ * @param {string} vbasoftwareDatabase Target database
2327
+ * @param {number} invoiceKey Invoice Key
2328
+ * @param {*} [options] Override http request option.
2329
+ * @throws {RequiredError}
2330
+ * @memberof PremiumInvoicesApi
2331
+ */
2332
+ public premInvoiceAutoApply(vbasoftwareDatabase: string, invoiceKey: number, options?: AxiosRequestConfig) {
2333
+ return PremiumInvoicesApiFp(this.configuration).premInvoiceAutoApply(vbasoftwareDatabase, invoiceKey, options).then((request) => request(this.axios, this.basePath));
2334
+ }
2335
+
2336
+ /**
2337
+ * Auto-Apply all payements to the selected Self-Admin invoice.
2338
+ * @summary PremInvoice Auto-Apply for Self-Admin
2339
+ * @param {string} vbasoftwareDatabase Target database
2340
+ * @param {number} invoiceKey Invoice Key
2341
+ * @param {*} [options] Override http request option.
2342
+ * @throws {RequiredError}
2343
+ * @memberof PremiumInvoicesApi
2344
+ */
2345
+ public premInvoiceAutoApplySelfAdmin(vbasoftwareDatabase: string, invoiceKey: number, options?: AxiosRequestConfig) {
2346
+ return PremiumInvoicesApiFp(this.configuration).premInvoiceAutoApplySelfAdmin(vbasoftwareDatabase, invoiceKey, options).then((request) => request(this.axios, this.basePath));
2347
+ }
2348
+
991
2349
  /**
992
2350
  * Create or Update multiple PremInvoice at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
993
2351
  * @summary Create or Update Batch PremInvoice