candidhealth 0.24.7 → 0.26.0

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 (672) hide show
  1. package/Client.d.ts +12 -0
  2. package/Client.js +28 -8
  3. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  4. package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  5. package/api/resources/commons/types/AppointmentId.d.ts +8 -0
  6. package/api/resources/commons/types/AppointmentId.js +10 -0
  7. package/api/resources/commons/types/index.d.ts +1 -0
  8. package/api/resources/commons/types/index.js +1 -0
  9. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  10. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  11. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  12. package/api/resources/encounters/resources/v4/client/Client.js +4 -4
  13. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  14. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  15. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  16. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  17. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  18. package/api/resources/financials/types/AllocationTarget.d.ts +4 -1
  19. package/api/resources/financials/types/AllocationTargetCreate.d.ts +5 -1
  20. package/api/resources/financials/types/AppointmentAllocationTarget.d.ts +7 -0
  21. package/api/resources/financials/types/AppointmentAllocationTarget.js +5 -0
  22. package/api/resources/financials/types/index.d.ts +1 -0
  23. package/api/resources/financials/types/index.js +1 -0
  24. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  25. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  26. package/api/resources/index.d.ts +3 -0
  27. package/api/resources/index.js +4 -1
  28. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  29. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  30. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  31. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  32. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  33. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  34. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  35. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  36. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +6 -6
  37. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +7 -7
  38. package/api/resources/serviceFacility/client/Client.js +1 -1
  39. package/api/resources/serviceLines/client/Client.d.ts +26 -0
  40. package/api/resources/serviceLines/client/Client.js +17 -0
  41. package/api/resources/serviceLines/client/index.d.ts +1 -0
  42. package/api/resources/serviceLines/client/index.js +2 -0
  43. package/api/resources/serviceLines/index.d.ts +1 -0
  44. package/api/resources/serviceLines/index.js +1 -0
  45. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +92 -0
  46. package/api/resources/serviceLines/resources/v2/client/Client.js +238 -0
  47. package/api/resources/serviceLines/resources/v2/client/create.d.ts +28 -0
  48. package/api/resources/serviceLines/resources/v2/client/create.js +58 -0
  49. package/api/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
  50. package/api/resources/serviceLines/resources/v2/client/index.js +28 -0
  51. package/api/resources/serviceLines/resources/v2/client/update.d.ts +40 -0
  52. package/api/resources/serviceLines/resources/v2/client/update.js +80 -0
  53. package/api/resources/serviceLines/resources/v2/index.d.ts +1 -0
  54. package/api/resources/serviceLines/resources/v2/index.js +1 -0
  55. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +36 -0
  56. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +5 -0
  57. package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +37 -0
  58. package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +5 -0
  59. package/api/resources/serviceLines/resources/v2/types/index.d.ts +2 -0
  60. package/api/resources/serviceLines/resources/v2/types/index.js +2 -0
  61. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  62. package/api/resources/thirdPartyPayerPayments/client/Client.d.ts +26 -0
  63. package/api/resources/thirdPartyPayerPayments/client/Client.js +17 -0
  64. package/api/resources/thirdPartyPayerPayments/client/index.d.ts +1 -0
  65. package/api/resources/thirdPartyPayerPayments/client/index.js +2 -0
  66. package/api/resources/thirdPartyPayerPayments/index.d.ts +2 -0
  67. package/api/resources/thirdPartyPayerPayments/index.js +18 -0
  68. package/api/resources/thirdPartyPayerPayments/resources/index.d.ts +1 -0
  69. package/api/resources/thirdPartyPayerPayments/resources/index.js +27 -0
  70. package/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.d.ts +98 -0
  71. package/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.js +422 -0
  72. package/api/resources/thirdPartyPayerPayments/resources/v1/client/create.d.ts +34 -0
  73. package/api/resources/thirdPartyPayerPayments/resources/v1/client/create.js +69 -0
  74. package/api/resources/thirdPartyPayerPayments/resources/v1/client/delete.d.ts +34 -0
  75. package/api/resources/thirdPartyPayerPayments/resources/v1/client/delete.js +69 -0
  76. package/api/resources/thirdPartyPayerPayments/resources/v1/client/get.d.ts +28 -0
  77. package/api/resources/thirdPartyPayerPayments/resources/v1/client/get.js +58 -0
  78. package/api/resources/thirdPartyPayerPayments/resources/v1/client/getMulti.d.ts +28 -0
  79. package/api/resources/thirdPartyPayerPayments/resources/v1/client/getMulti.js +58 -0
  80. package/api/resources/thirdPartyPayerPayments/resources/v1/client/index.d.ts +6 -0
  81. package/api/resources/thirdPartyPayerPayments/resources/v1/client/index.js +35 -0
  82. package/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/GetMultiThirdPartyPayerPaymentRequest.d.ts +34 -0
  83. package/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/GetMultiThirdPartyPayerPaymentRequest.js +5 -0
  84. package/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/UpdateThirdPartyPayerPaymentRequest.d.ts +23 -0
  85. package/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/UpdateThirdPartyPayerPaymentRequest.js +5 -0
  86. package/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/index.d.ts +2 -0
  87. package/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/index.js +2 -0
  88. package/api/resources/thirdPartyPayerPayments/resources/v1/client/update.d.ts +34 -0
  89. package/api/resources/thirdPartyPayerPayments/resources/v1/client/update.js +69 -0
  90. package/api/resources/thirdPartyPayerPayments/resources/v1/index.d.ts +2 -0
  91. package/api/resources/thirdPartyPayerPayments/resources/v1/index.js +18 -0
  92. package/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPayment.d.ts +14 -0
  93. package/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPayment.js +5 -0
  94. package/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentCreate.d.ts +13 -0
  95. package/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentCreate.js +5 -0
  96. package/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentId.d.ts +8 -0
  97. package/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentId.js +10 -0
  98. package/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentSortField.d.ts +8 -0
  99. package/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentSortField.js +10 -0
  100. package/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentsPage.d.ts +7 -0
  101. package/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentsPage.js +5 -0
  102. package/api/resources/thirdPartyPayerPayments/resources/v1/types/index.d.ts +5 -0
  103. package/api/resources/thirdPartyPayerPayments/resources/v1/types/index.js +21 -0
  104. package/api/resources/thirdPartyPayerRefunds/client/Client.d.ts +26 -0
  105. package/api/resources/thirdPartyPayerRefunds/client/Client.js +17 -0
  106. package/api/resources/thirdPartyPayerRefunds/client/index.d.ts +1 -0
  107. package/api/resources/thirdPartyPayerRefunds/client/index.js +2 -0
  108. package/api/resources/thirdPartyPayerRefunds/index.d.ts +2 -0
  109. package/api/resources/thirdPartyPayerRefunds/index.js +18 -0
  110. package/api/resources/thirdPartyPayerRefunds/resources/index.d.ts +1 -0
  111. package/api/resources/thirdPartyPayerRefunds/resources/index.js +27 -0
  112. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.d.ts +109 -0
  113. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.js +433 -0
  114. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/create.d.ts +34 -0
  115. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/create.js +69 -0
  116. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/delete.d.ts +34 -0
  117. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/delete.js +69 -0
  118. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/get.d.ts +28 -0
  119. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/get.js +58 -0
  120. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/getMulti.d.ts +28 -0
  121. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/getMulti.js +58 -0
  122. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/index.d.ts +6 -0
  123. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/index.js +35 -0
  124. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/GetMultiThirdPartyPayerRefundsRequest.d.ts +34 -0
  125. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/GetMultiThirdPartyPayerRefundsRequest.js +5 -0
  126. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/ThirdPartyPayerRefundUpdate.d.ts +28 -0
  127. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/ThirdPartyPayerRefundUpdate.js +5 -0
  128. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/index.d.ts +2 -0
  129. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/index.js +2 -0
  130. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/update.d.ts +34 -0
  131. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/update.js +69 -0
  132. package/api/resources/thirdPartyPayerRefunds/resources/v1/index.d.ts +2 -0
  133. package/api/resources/thirdPartyPayerRefunds/resources/v1/index.js +18 -0
  134. package/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefund.d.ts +14 -0
  135. package/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefund.js +5 -0
  136. package/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundCreate.d.ts +13 -0
  137. package/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundCreate.js +5 -0
  138. package/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundId.d.ts +8 -0
  139. package/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundId.js +10 -0
  140. package/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundSortField.d.ts +8 -0
  141. package/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundSortField.js +10 -0
  142. package/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundsPage.d.ts +7 -0
  143. package/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundsPage.js +5 -0
  144. package/api/resources/thirdPartyPayerRefunds/resources/v1/types/index.d.ts +5 -0
  145. package/api/resources/thirdPartyPayerRefunds/resources/v1/types/index.js +21 -0
  146. package/api/resources/thirdPartyPayers/client/Client.d.ts +26 -0
  147. package/api/resources/thirdPartyPayers/client/Client.js +17 -0
  148. package/api/resources/thirdPartyPayers/client/index.d.ts +1 -0
  149. package/api/resources/thirdPartyPayers/client/index.js +2 -0
  150. package/api/resources/thirdPartyPayers/index.d.ts +2 -0
  151. package/api/resources/thirdPartyPayers/index.js +18 -0
  152. package/api/resources/thirdPartyPayers/resources/index.d.ts +1 -0
  153. package/api/resources/thirdPartyPayers/resources/index.js +27 -0
  154. package/api/resources/thirdPartyPayers/resources/v1/client/Client.d.ts +97 -0
  155. package/api/resources/thirdPartyPayers/resources/v1/client/Client.js +469 -0
  156. package/api/resources/thirdPartyPayers/resources/v1/client/create.d.ts +34 -0
  157. package/api/resources/thirdPartyPayers/resources/v1/client/create.js +69 -0
  158. package/api/resources/thirdPartyPayers/resources/v1/client/delete.d.ts +28 -0
  159. package/api/resources/thirdPartyPayers/resources/v1/client/delete.js +58 -0
  160. package/api/resources/thirdPartyPayers/resources/v1/client/get.d.ts +28 -0
  161. package/api/resources/thirdPartyPayers/resources/v1/client/get.js +58 -0
  162. package/api/resources/thirdPartyPayers/resources/v1/client/getMulti.d.ts +28 -0
  163. package/api/resources/thirdPartyPayers/resources/v1/client/getMulti.js +58 -0
  164. package/api/resources/thirdPartyPayers/resources/v1/client/index.d.ts +7 -0
  165. package/api/resources/thirdPartyPayers/resources/v1/client/index.js +36 -0
  166. package/api/resources/thirdPartyPayers/resources/v1/client/requests/GetMultiThirdPartyPayersRequest.d.ts +28 -0
  167. package/api/resources/thirdPartyPayers/resources/v1/client/requests/GetMultiThirdPartyPayersRequest.js +5 -0
  168. package/api/resources/thirdPartyPayers/resources/v1/client/requests/index.d.ts +1 -0
  169. package/api/resources/thirdPartyPayers/resources/v1/client/requests/index.js +2 -0
  170. package/api/resources/thirdPartyPayers/resources/v1/client/toggleEnablement.d.ts +28 -0
  171. package/api/resources/thirdPartyPayers/resources/v1/client/toggleEnablement.js +58 -0
  172. package/api/resources/thirdPartyPayers/resources/v1/client/update.d.ts +34 -0
  173. package/api/resources/thirdPartyPayers/resources/v1/client/update.js +69 -0
  174. package/api/resources/thirdPartyPayers/resources/v1/index.d.ts +2 -0
  175. package/api/resources/thirdPartyPayers/resources/v1/index.js +18 -0
  176. package/api/resources/thirdPartyPayers/resources/v1/types/CreateThirdPartyPayerRequest.d.ts +11 -0
  177. package/api/resources/thirdPartyPayers/resources/v1/types/CreateThirdPartyPayerRequest.js +5 -0
  178. package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayer.d.ts +11 -0
  179. package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayer.js +5 -0
  180. package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerCategoryUpdate.d.ts +17 -0
  181. package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerCategoryUpdate.js +5 -0
  182. package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerDescriptionUpdate.d.ts +17 -0
  183. package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerDescriptionUpdate.js +5 -0
  184. package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerId.d.ts +8 -0
  185. package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerId.js +10 -0
  186. package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerPage.d.ts +7 -0
  187. package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerPage.js +5 -0
  188. package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerSortField.d.ts +10 -0
  189. package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerSortField.js +12 -0
  190. package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerUpdateRequest.d.ts +10 -0
  191. package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerUpdateRequest.js +5 -0
  192. package/api/resources/thirdPartyPayers/resources/v1/types/ToggleThirdPartyPayerEnablementRequest.d.ts +6 -0
  193. package/api/resources/thirdPartyPayers/resources/v1/types/ToggleThirdPartyPayerEnablementRequest.js +5 -0
  194. package/api/resources/thirdPartyPayers/resources/v1/types/index.d.ts +9 -0
  195. package/api/resources/thirdPartyPayers/resources/v1/types/index.js +25 -0
  196. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  197. package/api/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +2 -0
  198. package/dist/Client.d.ts +12 -0
  199. package/dist/Client.js +28 -8
  200. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  201. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  202. package/dist/api/resources/commons/types/AppointmentId.d.ts +8 -0
  203. package/dist/api/resources/commons/types/AppointmentId.js +10 -0
  204. package/dist/api/resources/commons/types/index.d.ts +1 -0
  205. package/dist/api/resources/commons/types/index.js +1 -0
  206. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  207. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  208. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  209. package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
  210. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  211. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  212. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  213. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  214. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  215. package/dist/api/resources/financials/types/AllocationTarget.d.ts +4 -1
  216. package/dist/api/resources/financials/types/AllocationTargetCreate.d.ts +5 -1
  217. package/dist/api/resources/financials/types/AppointmentAllocationTarget.d.ts +7 -0
  218. package/dist/api/resources/financials/types/AppointmentAllocationTarget.js +5 -0
  219. package/dist/api/resources/financials/types/index.d.ts +1 -0
  220. package/dist/api/resources/financials/types/index.js +1 -0
  221. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  222. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  223. package/dist/api/resources/index.d.ts +3 -0
  224. package/dist/api/resources/index.js +4 -1
  225. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  226. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  227. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  228. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  229. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  230. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  231. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  232. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  233. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +6 -6
  234. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +7 -7
  235. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  236. package/dist/api/resources/serviceLines/client/Client.d.ts +26 -0
  237. package/dist/api/resources/serviceLines/client/Client.js +17 -0
  238. package/dist/api/resources/serviceLines/client/index.d.ts +1 -0
  239. package/dist/api/resources/serviceLines/client/index.js +2 -0
  240. package/dist/api/resources/serviceLines/index.d.ts +1 -0
  241. package/dist/api/resources/serviceLines/index.js +1 -0
  242. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +92 -0
  243. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +238 -0
  244. package/dist/api/resources/serviceLines/resources/v2/client/create.d.ts +28 -0
  245. package/dist/api/resources/serviceLines/resources/v2/client/create.js +58 -0
  246. package/dist/api/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
  247. package/dist/api/resources/serviceLines/resources/v2/client/index.js +28 -0
  248. package/dist/api/resources/serviceLines/resources/v2/client/update.d.ts +40 -0
  249. package/dist/api/resources/serviceLines/resources/v2/client/update.js +80 -0
  250. package/dist/api/resources/serviceLines/resources/v2/index.d.ts +1 -0
  251. package/dist/api/resources/serviceLines/resources/v2/index.js +1 -0
  252. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +36 -0
  253. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +5 -0
  254. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +37 -0
  255. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +5 -0
  256. package/dist/api/resources/serviceLines/resources/v2/types/index.d.ts +2 -0
  257. package/dist/api/resources/serviceLines/resources/v2/types/index.js +2 -0
  258. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  259. package/dist/api/resources/thirdPartyPayerPayments/client/Client.d.ts +26 -0
  260. package/dist/api/resources/thirdPartyPayerPayments/client/Client.js +17 -0
  261. package/dist/api/resources/thirdPartyPayerPayments/client/index.d.ts +1 -0
  262. package/dist/api/resources/thirdPartyPayerPayments/client/index.js +2 -0
  263. package/dist/api/resources/thirdPartyPayerPayments/index.d.ts +2 -0
  264. package/dist/api/resources/thirdPartyPayerPayments/index.js +18 -0
  265. package/dist/api/resources/thirdPartyPayerPayments/resources/index.d.ts +1 -0
  266. package/dist/api/resources/thirdPartyPayerPayments/resources/index.js +27 -0
  267. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.d.ts +98 -0
  268. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.js +422 -0
  269. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/create.d.ts +34 -0
  270. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/create.js +69 -0
  271. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/delete.d.ts +34 -0
  272. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/delete.js +69 -0
  273. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/get.d.ts +28 -0
  274. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/get.js +58 -0
  275. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/getMulti.d.ts +28 -0
  276. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/getMulti.js +58 -0
  277. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/index.d.ts +6 -0
  278. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/index.js +35 -0
  279. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/GetMultiThirdPartyPayerPaymentRequest.d.ts +34 -0
  280. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/GetMultiThirdPartyPayerPaymentRequest.js +5 -0
  281. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/UpdateThirdPartyPayerPaymentRequest.d.ts +23 -0
  282. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/UpdateThirdPartyPayerPaymentRequest.js +5 -0
  283. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/index.d.ts +2 -0
  284. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/index.js +2 -0
  285. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/update.d.ts +34 -0
  286. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/update.js +69 -0
  287. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/index.d.ts +2 -0
  288. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/index.js +18 -0
  289. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPayment.d.ts +14 -0
  290. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPayment.js +5 -0
  291. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentCreate.d.ts +13 -0
  292. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentCreate.js +5 -0
  293. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentId.d.ts +8 -0
  294. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentId.js +10 -0
  295. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentSortField.d.ts +8 -0
  296. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentSortField.js +10 -0
  297. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentsPage.d.ts +7 -0
  298. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentsPage.js +5 -0
  299. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/index.d.ts +5 -0
  300. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/index.js +21 -0
  301. package/dist/api/resources/thirdPartyPayerRefunds/client/Client.d.ts +26 -0
  302. package/dist/api/resources/thirdPartyPayerRefunds/client/Client.js +17 -0
  303. package/dist/api/resources/thirdPartyPayerRefunds/client/index.d.ts +1 -0
  304. package/dist/api/resources/thirdPartyPayerRefunds/client/index.js +2 -0
  305. package/dist/api/resources/thirdPartyPayerRefunds/index.d.ts +2 -0
  306. package/dist/api/resources/thirdPartyPayerRefunds/index.js +18 -0
  307. package/dist/api/resources/thirdPartyPayerRefunds/resources/index.d.ts +1 -0
  308. package/dist/api/resources/thirdPartyPayerRefunds/resources/index.js +27 -0
  309. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.d.ts +109 -0
  310. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.js +433 -0
  311. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/create.d.ts +34 -0
  312. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/create.js +69 -0
  313. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/delete.d.ts +34 -0
  314. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/delete.js +69 -0
  315. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/get.d.ts +28 -0
  316. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/get.js +58 -0
  317. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/getMulti.d.ts +28 -0
  318. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/getMulti.js +58 -0
  319. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/index.d.ts +6 -0
  320. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/index.js +35 -0
  321. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/GetMultiThirdPartyPayerRefundsRequest.d.ts +34 -0
  322. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/GetMultiThirdPartyPayerRefundsRequest.js +5 -0
  323. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/ThirdPartyPayerRefundUpdate.d.ts +28 -0
  324. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/ThirdPartyPayerRefundUpdate.js +5 -0
  325. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/index.d.ts +2 -0
  326. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/index.js +2 -0
  327. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/update.d.ts +34 -0
  328. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/update.js +69 -0
  329. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/index.d.ts +2 -0
  330. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/index.js +18 -0
  331. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefund.d.ts +14 -0
  332. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefund.js +5 -0
  333. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundCreate.d.ts +13 -0
  334. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundCreate.js +5 -0
  335. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundId.d.ts +8 -0
  336. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundId.js +10 -0
  337. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundSortField.d.ts +8 -0
  338. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundSortField.js +10 -0
  339. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundsPage.d.ts +7 -0
  340. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundsPage.js +5 -0
  341. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/index.d.ts +5 -0
  342. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/index.js +21 -0
  343. package/dist/api/resources/thirdPartyPayers/client/Client.d.ts +26 -0
  344. package/dist/api/resources/thirdPartyPayers/client/Client.js +17 -0
  345. package/dist/api/resources/thirdPartyPayers/client/index.d.ts +1 -0
  346. package/dist/api/resources/thirdPartyPayers/client/index.js +2 -0
  347. package/dist/api/resources/thirdPartyPayers/index.d.ts +2 -0
  348. package/dist/api/resources/thirdPartyPayers/index.js +18 -0
  349. package/dist/api/resources/thirdPartyPayers/resources/index.d.ts +1 -0
  350. package/dist/api/resources/thirdPartyPayers/resources/index.js +27 -0
  351. package/dist/api/resources/thirdPartyPayers/resources/v1/client/Client.d.ts +97 -0
  352. package/dist/api/resources/thirdPartyPayers/resources/v1/client/Client.js +469 -0
  353. package/dist/api/resources/thirdPartyPayers/resources/v1/client/create.d.ts +34 -0
  354. package/dist/api/resources/thirdPartyPayers/resources/v1/client/create.js +69 -0
  355. package/dist/api/resources/thirdPartyPayers/resources/v1/client/delete.d.ts +28 -0
  356. package/dist/api/resources/thirdPartyPayers/resources/v1/client/delete.js +58 -0
  357. package/dist/api/resources/thirdPartyPayers/resources/v1/client/get.d.ts +28 -0
  358. package/dist/api/resources/thirdPartyPayers/resources/v1/client/get.js +58 -0
  359. package/dist/api/resources/thirdPartyPayers/resources/v1/client/getMulti.d.ts +28 -0
  360. package/dist/api/resources/thirdPartyPayers/resources/v1/client/getMulti.js +58 -0
  361. package/dist/api/resources/thirdPartyPayers/resources/v1/client/index.d.ts +7 -0
  362. package/dist/api/resources/thirdPartyPayers/resources/v1/client/index.js +36 -0
  363. package/dist/api/resources/thirdPartyPayers/resources/v1/client/requests/GetMultiThirdPartyPayersRequest.d.ts +28 -0
  364. package/dist/api/resources/thirdPartyPayers/resources/v1/client/requests/GetMultiThirdPartyPayersRequest.js +5 -0
  365. package/dist/api/resources/thirdPartyPayers/resources/v1/client/requests/index.d.ts +1 -0
  366. package/dist/api/resources/thirdPartyPayers/resources/v1/client/requests/index.js +2 -0
  367. package/dist/api/resources/thirdPartyPayers/resources/v1/client/toggleEnablement.d.ts +28 -0
  368. package/dist/api/resources/thirdPartyPayers/resources/v1/client/toggleEnablement.js +58 -0
  369. package/dist/api/resources/thirdPartyPayers/resources/v1/client/update.d.ts +34 -0
  370. package/dist/api/resources/thirdPartyPayers/resources/v1/client/update.js +69 -0
  371. package/dist/api/resources/thirdPartyPayers/resources/v1/index.d.ts +2 -0
  372. package/dist/api/resources/thirdPartyPayers/resources/v1/index.js +18 -0
  373. package/dist/api/resources/thirdPartyPayers/resources/v1/types/CreateThirdPartyPayerRequest.d.ts +11 -0
  374. package/dist/api/resources/thirdPartyPayers/resources/v1/types/CreateThirdPartyPayerRequest.js +5 -0
  375. package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayer.d.ts +11 -0
  376. package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayer.js +5 -0
  377. package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerCategoryUpdate.d.ts +17 -0
  378. package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerCategoryUpdate.js +5 -0
  379. package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerDescriptionUpdate.d.ts +17 -0
  380. package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerDescriptionUpdate.js +5 -0
  381. package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerId.d.ts +8 -0
  382. package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerId.js +10 -0
  383. package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerPage.d.ts +7 -0
  384. package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerPage.js +5 -0
  385. package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerSortField.d.ts +10 -0
  386. package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerSortField.js +12 -0
  387. package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerUpdateRequest.d.ts +10 -0
  388. package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerUpdateRequest.js +5 -0
  389. package/dist/api/resources/thirdPartyPayers/resources/v1/types/ToggleThirdPartyPayerEnablementRequest.d.ts +6 -0
  390. package/dist/api/resources/thirdPartyPayers/resources/v1/types/ToggleThirdPartyPayerEnablementRequest.js +5 -0
  391. package/dist/api/resources/thirdPartyPayers/resources/v1/types/index.d.ts +9 -0
  392. package/dist/api/resources/thirdPartyPayers/resources/v1/types/index.js +25 -0
  393. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  394. package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +2 -0
  395. package/dist/serialization/resources/commons/types/AppointmentId.d.ts +10 -0
  396. package/dist/serialization/resources/commons/types/AppointmentId.js +35 -0
  397. package/dist/serialization/resources/commons/types/index.d.ts +1 -0
  398. package/dist/serialization/resources/commons/types/index.js +1 -0
  399. package/dist/serialization/resources/financials/types/AllocationTarget.d.ts +5 -1
  400. package/dist/serialization/resources/financials/types/AllocationTarget.js +2 -0
  401. package/dist/serialization/resources/financials/types/AllocationTargetCreate.d.ts +6 -1
  402. package/dist/serialization/resources/financials/types/AllocationTargetCreate.js +4 -0
  403. package/dist/serialization/resources/financials/types/AppointmentAllocationTarget.d.ts +13 -0
  404. package/dist/serialization/resources/financials/types/AppointmentAllocationTarget.js +34 -0
  405. package/dist/serialization/resources/financials/types/index.d.ts +1 -0
  406. package/dist/serialization/resources/financials/types/index.js +1 -0
  407. package/dist/serialization/resources/index.d.ts +3 -0
  408. package/dist/serialization/resources/index.js +4 -1
  409. package/dist/serialization/resources/serviceLines/resources/v2/client/create.d.ts +15 -0
  410. package/dist/serialization/resources/serviceLines/resources/v2/client/create.js +61 -0
  411. package/dist/serialization/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
  412. package/dist/serialization/resources/serviceLines/resources/v2/client/index.js +28 -0
  413. package/dist/serialization/resources/serviceLines/resources/v2/client/update.d.ts +25 -0
  414. package/dist/serialization/resources/serviceLines/resources/v2/client/update.js +73 -0
  415. package/dist/serialization/resources/serviceLines/resources/v2/index.d.ts +1 -0
  416. package/dist/serialization/resources/serviceLines/resources/v2/index.js +1 -0
  417. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +43 -0
  418. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +64 -0
  419. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +42 -0
  420. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +63 -0
  421. package/dist/serialization/resources/serviceLines/resources/v2/types/index.d.ts +2 -0
  422. package/dist/serialization/resources/serviceLines/resources/v2/types/index.js +2 -0
  423. package/dist/serialization/resources/thirdPartyPayerPayments/index.d.ts +1 -0
  424. package/dist/serialization/resources/thirdPartyPayerPayments/index.js +17 -0
  425. package/dist/serialization/resources/thirdPartyPayerPayments/resources/index.d.ts +1 -0
  426. package/dist/serialization/resources/thirdPartyPayerPayments/resources/index.js +27 -0
  427. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/create.d.ts +20 -0
  428. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/create.js +67 -0
  429. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/delete.d.ts +20 -0
  430. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/delete.js +67 -0
  431. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/get.d.ts +15 -0
  432. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/get.js +61 -0
  433. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/getMulti.d.ts +15 -0
  434. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/getMulti.js +61 -0
  435. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/index.d.ts +6 -0
  436. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/index.js +35 -0
  437. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/requests/UpdateThirdPartyPayerPaymentRequest.d.ts +16 -0
  438. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/requests/UpdateThirdPartyPayerPaymentRequest.js +37 -0
  439. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/requests/index.d.ts +1 -0
  440. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/requests/index.js +5 -0
  441. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/update.d.ts +20 -0
  442. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/update.js +67 -0
  443. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/index.d.ts +2 -0
  444. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/index.js +18 -0
  445. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPayment.d.ts +23 -0
  446. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPayment.js +44 -0
  447. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentCreate.d.ts +21 -0
  448. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentCreate.js +42 -0
  449. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentId.d.ts +10 -0
  450. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentId.js +35 -0
  451. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentSortField.d.ts +10 -0
  452. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentSortField.js +31 -0
  453. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentsPage.d.ts +14 -0
  454. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentsPage.js +37 -0
  455. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/index.d.ts +5 -0
  456. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/index.js +21 -0
  457. package/dist/serialization/resources/thirdPartyPayerRefunds/index.d.ts +1 -0
  458. package/dist/serialization/resources/thirdPartyPayerRefunds/index.js +17 -0
  459. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/index.d.ts +1 -0
  460. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/index.js +27 -0
  461. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/create.d.ts +20 -0
  462. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/create.js +67 -0
  463. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/delete.d.ts +20 -0
  464. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/delete.js +67 -0
  465. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/get.d.ts +15 -0
  466. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/get.js +61 -0
  467. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/getMulti.d.ts +15 -0
  468. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/getMulti.js +61 -0
  469. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/index.d.ts +6 -0
  470. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/index.js +35 -0
  471. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/requests/ThirdPartyPayerRefundUpdate.d.ts +18 -0
  472. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/requests/ThirdPartyPayerRefundUpdate.js +39 -0
  473. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/requests/index.d.ts +1 -0
  474. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/requests/index.js +5 -0
  475. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/update.d.ts +20 -0
  476. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/update.js +67 -0
  477. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/index.d.ts +2 -0
  478. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/index.js +18 -0
  479. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefund.d.ts +24 -0
  480. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefund.js +45 -0
  481. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundCreate.d.ts +22 -0
  482. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundCreate.js +43 -0
  483. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundId.d.ts +10 -0
  484. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundId.js +35 -0
  485. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundSortField.d.ts +10 -0
  486. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundSortField.js +31 -0
  487. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundsPage.d.ts +14 -0
  488. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundsPage.js +37 -0
  489. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/index.d.ts +5 -0
  490. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/index.js +21 -0
  491. package/dist/serialization/resources/thirdPartyPayers/index.d.ts +1 -0
  492. package/dist/serialization/resources/thirdPartyPayers/index.js +17 -0
  493. package/dist/serialization/resources/thirdPartyPayers/resources/index.d.ts +1 -0
  494. package/dist/serialization/resources/thirdPartyPayers/resources/index.js +27 -0
  495. package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/create.d.ts +20 -0
  496. package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/create.js +67 -0
  497. package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/delete.d.ts +15 -0
  498. package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/delete.js +61 -0
  499. package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/get.d.ts +15 -0
  500. package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/get.js +61 -0
  501. package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/getMulti.d.ts +15 -0
  502. package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/getMulti.js +61 -0
  503. package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/index.d.ts +6 -0
  504. package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/index.js +32 -0
  505. package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/toggleEnablement.d.ts +15 -0
  506. package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/toggleEnablement.js +61 -0
  507. package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/update.d.ts +20 -0
  508. package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/update.js +67 -0
  509. package/dist/serialization/resources/thirdPartyPayers/resources/v1/index.d.ts +2 -0
  510. package/dist/serialization/resources/thirdPartyPayers/resources/v1/index.js +18 -0
  511. package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/CreateThirdPartyPayerRequest.d.ts +14 -0
  512. package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/CreateThirdPartyPayerRequest.js +35 -0
  513. package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayer.d.ts +17 -0
  514. package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayer.js +38 -0
  515. package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerCategoryUpdate.d.ts +17 -0
  516. package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerCategoryUpdate.js +41 -0
  517. package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerDescriptionUpdate.d.ts +17 -0
  518. package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerDescriptionUpdate.js +41 -0
  519. package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerId.d.ts +10 -0
  520. package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerId.js +35 -0
  521. package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerPage.d.ts +14 -0
  522. package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerPage.js +37 -0
  523. package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerSortField.d.ts +10 -0
  524. package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerSortField.js +31 -0
  525. package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerUpdateRequest.d.ts +16 -0
  526. package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerUpdateRequest.js +37 -0
  527. package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ToggleThirdPartyPayerEnablementRequest.d.ts +12 -0
  528. package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ToggleThirdPartyPayerEnablementRequest.js +33 -0
  529. package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/index.d.ts +9 -0
  530. package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/index.js +25 -0
  531. package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +4 -0
  532. package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.js +4 -0
  533. package/package.json +1 -1
  534. package/reference.md +1173 -0
  535. package/serialization/resources/commons/types/AppointmentId.d.ts +10 -0
  536. package/serialization/resources/commons/types/AppointmentId.js +35 -0
  537. package/serialization/resources/commons/types/index.d.ts +1 -0
  538. package/serialization/resources/commons/types/index.js +1 -0
  539. package/serialization/resources/financials/types/AllocationTarget.d.ts +5 -1
  540. package/serialization/resources/financials/types/AllocationTarget.js +2 -0
  541. package/serialization/resources/financials/types/AllocationTargetCreate.d.ts +6 -1
  542. package/serialization/resources/financials/types/AllocationTargetCreate.js +4 -0
  543. package/serialization/resources/financials/types/AppointmentAllocationTarget.d.ts +13 -0
  544. package/serialization/resources/financials/types/AppointmentAllocationTarget.js +34 -0
  545. package/serialization/resources/financials/types/index.d.ts +1 -0
  546. package/serialization/resources/financials/types/index.js +1 -0
  547. package/serialization/resources/index.d.ts +3 -0
  548. package/serialization/resources/index.js +4 -1
  549. package/serialization/resources/serviceLines/resources/v2/client/create.d.ts +15 -0
  550. package/serialization/resources/serviceLines/resources/v2/client/create.js +61 -0
  551. package/serialization/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
  552. package/serialization/resources/serviceLines/resources/v2/client/index.js +28 -0
  553. package/serialization/resources/serviceLines/resources/v2/client/update.d.ts +25 -0
  554. package/serialization/resources/serviceLines/resources/v2/client/update.js +73 -0
  555. package/serialization/resources/serviceLines/resources/v2/index.d.ts +1 -0
  556. package/serialization/resources/serviceLines/resources/v2/index.js +1 -0
  557. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +43 -0
  558. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +64 -0
  559. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +42 -0
  560. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +63 -0
  561. package/serialization/resources/serviceLines/resources/v2/types/index.d.ts +2 -0
  562. package/serialization/resources/serviceLines/resources/v2/types/index.js +2 -0
  563. package/serialization/resources/thirdPartyPayerPayments/index.d.ts +1 -0
  564. package/serialization/resources/thirdPartyPayerPayments/index.js +17 -0
  565. package/serialization/resources/thirdPartyPayerPayments/resources/index.d.ts +1 -0
  566. package/serialization/resources/thirdPartyPayerPayments/resources/index.js +27 -0
  567. package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/create.d.ts +20 -0
  568. package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/create.js +67 -0
  569. package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/delete.d.ts +20 -0
  570. package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/delete.js +67 -0
  571. package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/get.d.ts +15 -0
  572. package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/get.js +61 -0
  573. package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/getMulti.d.ts +15 -0
  574. package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/getMulti.js +61 -0
  575. package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/index.d.ts +6 -0
  576. package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/index.js +35 -0
  577. package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/requests/UpdateThirdPartyPayerPaymentRequest.d.ts +16 -0
  578. package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/requests/UpdateThirdPartyPayerPaymentRequest.js +37 -0
  579. package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/requests/index.d.ts +1 -0
  580. package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/requests/index.js +5 -0
  581. package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/update.d.ts +20 -0
  582. package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/update.js +67 -0
  583. package/serialization/resources/thirdPartyPayerPayments/resources/v1/index.d.ts +2 -0
  584. package/serialization/resources/thirdPartyPayerPayments/resources/v1/index.js +18 -0
  585. package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPayment.d.ts +23 -0
  586. package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPayment.js +44 -0
  587. package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentCreate.d.ts +21 -0
  588. package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentCreate.js +42 -0
  589. package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentId.d.ts +10 -0
  590. package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentId.js +35 -0
  591. package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentSortField.d.ts +10 -0
  592. package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentSortField.js +31 -0
  593. package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentsPage.d.ts +14 -0
  594. package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentsPage.js +37 -0
  595. package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/index.d.ts +5 -0
  596. package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/index.js +21 -0
  597. package/serialization/resources/thirdPartyPayerRefunds/index.d.ts +1 -0
  598. package/serialization/resources/thirdPartyPayerRefunds/index.js +17 -0
  599. package/serialization/resources/thirdPartyPayerRefunds/resources/index.d.ts +1 -0
  600. package/serialization/resources/thirdPartyPayerRefunds/resources/index.js +27 -0
  601. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/create.d.ts +20 -0
  602. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/create.js +67 -0
  603. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/delete.d.ts +20 -0
  604. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/delete.js +67 -0
  605. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/get.d.ts +15 -0
  606. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/get.js +61 -0
  607. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/getMulti.d.ts +15 -0
  608. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/getMulti.js +61 -0
  609. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/index.d.ts +6 -0
  610. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/index.js +35 -0
  611. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/requests/ThirdPartyPayerRefundUpdate.d.ts +18 -0
  612. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/requests/ThirdPartyPayerRefundUpdate.js +39 -0
  613. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/requests/index.d.ts +1 -0
  614. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/requests/index.js +5 -0
  615. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/update.d.ts +20 -0
  616. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/update.js +67 -0
  617. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/index.d.ts +2 -0
  618. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/index.js +18 -0
  619. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefund.d.ts +24 -0
  620. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefund.js +45 -0
  621. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundCreate.d.ts +22 -0
  622. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundCreate.js +43 -0
  623. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundId.d.ts +10 -0
  624. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundId.js +35 -0
  625. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundSortField.d.ts +10 -0
  626. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundSortField.js +31 -0
  627. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundsPage.d.ts +14 -0
  628. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundsPage.js +37 -0
  629. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/index.d.ts +5 -0
  630. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/index.js +21 -0
  631. package/serialization/resources/thirdPartyPayers/index.d.ts +1 -0
  632. package/serialization/resources/thirdPartyPayers/index.js +17 -0
  633. package/serialization/resources/thirdPartyPayers/resources/index.d.ts +1 -0
  634. package/serialization/resources/thirdPartyPayers/resources/index.js +27 -0
  635. package/serialization/resources/thirdPartyPayers/resources/v1/client/create.d.ts +20 -0
  636. package/serialization/resources/thirdPartyPayers/resources/v1/client/create.js +67 -0
  637. package/serialization/resources/thirdPartyPayers/resources/v1/client/delete.d.ts +15 -0
  638. package/serialization/resources/thirdPartyPayers/resources/v1/client/delete.js +61 -0
  639. package/serialization/resources/thirdPartyPayers/resources/v1/client/get.d.ts +15 -0
  640. package/serialization/resources/thirdPartyPayers/resources/v1/client/get.js +61 -0
  641. package/serialization/resources/thirdPartyPayers/resources/v1/client/getMulti.d.ts +15 -0
  642. package/serialization/resources/thirdPartyPayers/resources/v1/client/getMulti.js +61 -0
  643. package/serialization/resources/thirdPartyPayers/resources/v1/client/index.d.ts +6 -0
  644. package/serialization/resources/thirdPartyPayers/resources/v1/client/index.js +32 -0
  645. package/serialization/resources/thirdPartyPayers/resources/v1/client/toggleEnablement.d.ts +15 -0
  646. package/serialization/resources/thirdPartyPayers/resources/v1/client/toggleEnablement.js +61 -0
  647. package/serialization/resources/thirdPartyPayers/resources/v1/client/update.d.ts +20 -0
  648. package/serialization/resources/thirdPartyPayers/resources/v1/client/update.js +67 -0
  649. package/serialization/resources/thirdPartyPayers/resources/v1/index.d.ts +2 -0
  650. package/serialization/resources/thirdPartyPayers/resources/v1/index.js +18 -0
  651. package/serialization/resources/thirdPartyPayers/resources/v1/types/CreateThirdPartyPayerRequest.d.ts +14 -0
  652. package/serialization/resources/thirdPartyPayers/resources/v1/types/CreateThirdPartyPayerRequest.js +35 -0
  653. package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayer.d.ts +17 -0
  654. package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayer.js +38 -0
  655. package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerCategoryUpdate.d.ts +17 -0
  656. package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerCategoryUpdate.js +41 -0
  657. package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerDescriptionUpdate.d.ts +17 -0
  658. package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerDescriptionUpdate.js +41 -0
  659. package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerId.d.ts +10 -0
  660. package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerId.js +35 -0
  661. package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerPage.d.ts +14 -0
  662. package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerPage.js +37 -0
  663. package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerSortField.d.ts +10 -0
  664. package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerSortField.js +31 -0
  665. package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerUpdateRequest.d.ts +16 -0
  666. package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerUpdateRequest.js +37 -0
  667. package/serialization/resources/thirdPartyPayers/resources/v1/types/ToggleThirdPartyPayerEnablementRequest.d.ts +12 -0
  668. package/serialization/resources/thirdPartyPayers/resources/v1/types/ToggleThirdPartyPayerEnablementRequest.js +33 -0
  669. package/serialization/resources/thirdPartyPayers/resources/v1/types/index.d.ts +9 -0
  670. package/serialization/resources/thirdPartyPayers/resources/v1/types/index.js +25 -0
  671. package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +4 -0
  672. package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.js +4 -0
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as CandidApi from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ export declare const AppointmentId: core.serialization.Schema<serializers.AppointmentId.Raw, CandidApi.AppointmentId>;
8
+ export declare namespace AppointmentId {
9
+ type Raw = string;
10
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.AppointmentId = void 0;
30
+ const CandidApi = __importStar(require("../../../../api/index"));
31
+ const core = __importStar(require("../../../../core"));
32
+ exports.AppointmentId = core.serialization.string().transform({
33
+ transform: CandidApi.AppointmentId,
34
+ untransform: (value) => value,
35
+ });
@@ -1,6 +1,7 @@
1
1
  export * from "./EncounterId";
2
2
  export * from "./OrganizationId";
3
3
  export * from "./ClaimId";
4
+ export * from "./AppointmentId";
4
5
  export * from "./ServiceLineId";
5
6
  export * from "./PatientExternalId";
6
7
  export * from "./EncounterExternalId";
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./EncounterId"), exports);
18
18
  __exportStar(require("./OrganizationId"), exports);
19
19
  __exportStar(require("./ClaimId"), exports);
20
+ __exportStar(require("./AppointmentId"), exports);
20
21
  __exportStar(require("./ServiceLineId"), exports);
21
22
  __exportStar(require("./PatientExternalId"), exports);
22
23
  __exportStar(require("./EncounterExternalId"), exports);
@@ -7,9 +7,10 @@ import * as core from "../../../../core";
7
7
  import { ServiceLineAllocationTarget } from "./ServiceLineAllocationTarget";
8
8
  import { ClaimAllocationTarget } from "./ClaimAllocationTarget";
9
9
  import { BillingProviderAllocationTarget } from "./BillingProviderAllocationTarget";
10
+ import { AppointmentAllocationTarget } from "./AppointmentAllocationTarget";
10
11
  export declare const AllocationTarget: core.serialization.Schema<serializers.AllocationTarget.Raw, CandidApi.AllocationTarget>;
11
12
  export declare namespace AllocationTarget {
12
- type Raw = AllocationTarget.ServiceLine | AllocationTarget.Claim | AllocationTarget.BillingProviderId | AllocationTarget.Unattributed;
13
+ type Raw = AllocationTarget.ServiceLine | AllocationTarget.Claim | AllocationTarget.BillingProviderId | AllocationTarget.Appointment | AllocationTarget.Unattributed;
13
14
  interface ServiceLine extends ServiceLineAllocationTarget.Raw {
14
15
  type: "service_line";
15
16
  }
@@ -19,6 +20,9 @@ export declare namespace AllocationTarget {
19
20
  interface BillingProviderId extends BillingProviderAllocationTarget.Raw {
20
21
  type: "billing_provider_id";
21
22
  }
23
+ interface Appointment extends AppointmentAllocationTarget.Raw {
24
+ type: "appointment";
25
+ }
22
26
  interface Unattributed {
23
27
  type: "unattributed";
24
28
  }
@@ -31,11 +31,13 @@ const core = __importStar(require("../../../../core"));
31
31
  const ServiceLineAllocationTarget_1 = require("./ServiceLineAllocationTarget");
32
32
  const ClaimAllocationTarget_1 = require("./ClaimAllocationTarget");
33
33
  const BillingProviderAllocationTarget_1 = require("./BillingProviderAllocationTarget");
34
+ const AppointmentAllocationTarget_1 = require("./AppointmentAllocationTarget");
34
35
  exports.AllocationTarget = core.serialization
35
36
  .union("type", {
36
37
  service_line: ServiceLineAllocationTarget_1.ServiceLineAllocationTarget,
37
38
  claim: ClaimAllocationTarget_1.ClaimAllocationTarget,
38
39
  billing_provider_id: BillingProviderAllocationTarget_1.BillingProviderAllocationTarget,
40
+ appointment: AppointmentAllocationTarget_1.AppointmentAllocationTarget,
39
41
  unattributed: core.serialization.object({}),
40
42
  })
41
43
  .transform({
@@ -8,9 +8,10 @@ import { ServiceLineId } from "../../commons/types/ServiceLineId";
8
8
  import { ClaimId } from "../../commons/types/ClaimId";
9
9
  import { EncounterExternalId } from "../../commons/types/EncounterExternalId";
10
10
  import { ProviderId } from "../../commons/types/ProviderId";
11
+ import { AppointmentId } from "../../commons/types/AppointmentId";
11
12
  export declare const AllocationTargetCreate: core.serialization.Schema<serializers.AllocationTargetCreate.Raw, CandidApi.AllocationTargetCreate>;
12
13
  export declare namespace AllocationTargetCreate {
13
- type Raw = AllocationTargetCreate.ServiceLineById | AllocationTargetCreate.ClaimById | AllocationTargetCreate.ClaimByEncounterExternalId | AllocationTargetCreate.BillingProviderById | AllocationTargetCreate.Unattributed;
14
+ type Raw = AllocationTargetCreate.ServiceLineById | AllocationTargetCreate.ClaimById | AllocationTargetCreate.ClaimByEncounterExternalId | AllocationTargetCreate.BillingProviderById | AllocationTargetCreate.AppointmentById | AllocationTargetCreate.Unattributed;
14
15
  interface ServiceLineById {
15
16
  type: "service_line_by_id";
16
17
  value: ServiceLineId.Raw;
@@ -27,6 +28,10 @@ export declare namespace AllocationTargetCreate {
27
28
  type: "billing_provider_by_id";
28
29
  value: ProviderId.Raw;
29
30
  }
31
+ interface AppointmentById {
32
+ type: "appointment_by_id";
33
+ value: AppointmentId.Raw;
34
+ }
30
35
  interface Unattributed {
31
36
  type: "unattributed";
32
37
  }
@@ -32,6 +32,7 @@ const ServiceLineId_1 = require("../../commons/types/ServiceLineId");
32
32
  const ClaimId_1 = require("../../commons/types/ClaimId");
33
33
  const EncounterExternalId_1 = require("../../commons/types/EncounterExternalId");
34
34
  const ProviderId_1 = require("../../commons/types/ProviderId");
35
+ const AppointmentId_1 = require("../../commons/types/AppointmentId");
35
36
  exports.AllocationTargetCreate = core.serialization
36
37
  .union("type", {
37
38
  service_line_by_id: core.serialization.object({
@@ -46,6 +47,9 @@ exports.AllocationTargetCreate = core.serialization
46
47
  billing_provider_by_id: core.serialization.object({
47
48
  value: ProviderId_1.ProviderId,
48
49
  }),
50
+ appointment_by_id: core.serialization.object({
51
+ value: AppointmentId_1.AppointmentId,
52
+ }),
49
53
  unattributed: core.serialization.object({}),
50
54
  })
51
55
  .transform({
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as CandidApi from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ import { AppointmentId } from "../../commons/types/AppointmentId";
8
+ export declare const AppointmentAllocationTarget: core.serialization.ObjectSchema<serializers.AppointmentAllocationTarget.Raw, CandidApi.AppointmentAllocationTarget>;
9
+ export declare namespace AppointmentAllocationTarget {
10
+ interface Raw {
11
+ appointment_id: AppointmentId.Raw;
12
+ }
13
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.AppointmentAllocationTarget = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ const AppointmentId_1 = require("../../commons/types/AppointmentId");
32
+ exports.AppointmentAllocationTarget = core.serialization.object({
33
+ appointmentId: core.serialization.property("appointment_id", AppointmentId_1.AppointmentId),
34
+ });
@@ -4,6 +4,7 @@ export * from "./Allocation";
4
4
  export * from "./ServiceLineAllocationTarget";
5
5
  export * from "./ClaimAllocationTarget";
6
6
  export * from "./BillingProviderAllocationTarget";
7
+ export * from "./AppointmentAllocationTarget";
7
8
  export * from "./AllocationTarget";
8
9
  export * from "./AllocationCreate";
9
10
  export * from "./AllocationTargetCreate";
@@ -20,6 +20,7 @@ __exportStar(require("./Allocation"), exports);
20
20
  __exportStar(require("./ServiceLineAllocationTarget"), exports);
21
21
  __exportStar(require("./ClaimAllocationTarget"), exports);
22
22
  __exportStar(require("./BillingProviderAllocationTarget"), exports);
23
+ __exportStar(require("./AppointmentAllocationTarget"), exports);
23
24
  __exportStar(require("./AllocationTarget"), exports);
24
25
  __exportStar(require("./AllocationCreate"), exports);
25
26
  __exportStar(require("./AllocationTargetCreate"), exports);
@@ -26,6 +26,9 @@ export * as payers from "./payers";
26
26
  export * as remits from "./remits";
27
27
  export * as serviceLines from "./serviceLines";
28
28
  export * as tasks from "./tasks";
29
+ export * as thirdPartyPayerPayments from "./thirdPartyPayerPayments";
30
+ export * as thirdPartyPayerRefunds from "./thirdPartyPayerRefunds";
31
+ export * as thirdPartyPayers from "./thirdPartyPayers";
29
32
  export * as writeOffs from "./writeOffs";
30
33
  export * as x12 from "./x12";
31
34
  export * as preEncounter from "./preEncounter";
@@ -26,7 +26,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
26
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.eligibility = exports.tags = exports.serviceFacility = exports.paymentAccountConfigs = exports.individual = exports.identifiers = exports.financials = exports.era = exports.eraCommons = exports.diagnoses = exports.claims = exports.preEncounter = exports.x12 = exports.writeOffs = exports.tasks = exports.serviceLines = exports.remits = exports.payers = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.invoices = exports.insuranceRefunds = exports.insurancePayments = exports.insuranceCards = exports.insuranceAdjudications = exports.importInvoice = exports.guarantor = exports.externalPaymentAccountConfig = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.customSchemas = exports.contracts = exports.claimSubmission = exports.billingNotes = exports.auth = exports.commons = exports.feeSchedules = void 0;
29
+ exports.eligibility = exports.tags = exports.serviceFacility = exports.paymentAccountConfigs = exports.individual = exports.identifiers = exports.financials = exports.era = exports.eraCommons = exports.diagnoses = exports.claims = exports.preEncounter = exports.x12 = exports.writeOffs = exports.thirdPartyPayers = exports.thirdPartyPayerRefunds = exports.thirdPartyPayerPayments = exports.tasks = exports.serviceLines = exports.remits = exports.payers = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.invoices = exports.insuranceRefunds = exports.insurancePayments = exports.insuranceCards = exports.insuranceAdjudications = exports.importInvoice = exports.guarantor = exports.externalPaymentAccountConfig = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.customSchemas = exports.contracts = exports.claimSubmission = exports.billingNotes = exports.auth = exports.commons = exports.feeSchedules = void 0;
30
30
  exports.feeSchedules = __importStar(require("./feeSchedules"));
31
31
  exports.commons = __importStar(require("./commons"));
32
32
  __exportStar(require("./commons/errors"), exports);
@@ -55,6 +55,9 @@ exports.payers = __importStar(require("./payers"));
55
55
  exports.remits = __importStar(require("./remits"));
56
56
  exports.serviceLines = __importStar(require("./serviceLines"));
57
57
  exports.tasks = __importStar(require("./tasks"));
58
+ exports.thirdPartyPayerPayments = __importStar(require("./thirdPartyPayerPayments"));
59
+ exports.thirdPartyPayerRefunds = __importStar(require("./thirdPartyPayerRefunds"));
60
+ exports.thirdPartyPayers = __importStar(require("./thirdPartyPayers"));
58
61
  exports.writeOffs = __importStar(require("./writeOffs"));
59
62
  exports.x12 = __importStar(require("./x12"));
60
63
  exports.preEncounter = __importStar(require("./preEncounter"));
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
8
+ export declare const Error: core.serialization.Schema<serializers.serviceLines.v2.create.Error.Raw, CandidApi.serviceLines.v2.create.Error>;
9
+ export declare namespace Error {
10
+ type Raw = Error.HttpRequestValidationError;
11
+ interface HttpRequestValidationError {
12
+ errorName: "HttpRequestValidationError";
13
+ content: RequestValidationError.Raw;
14
+ }
15
+ }
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ var __rest = (this && this.__rest) || function (s, e) {
29
+ var t = {};
30
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
31
+ t[p] = s[p];
32
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
33
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
34
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
35
+ t[p[i]] = s[p[i]];
36
+ }
37
+ return t;
38
+ };
39
+ Object.defineProperty(exports, "__esModule", { value: true });
40
+ exports.Error = void 0;
41
+ const CandidApi = __importStar(require("../../../../../../api/index"));
42
+ const core = __importStar(require("../../../../../../core"));
43
+ const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
44
+ exports.Error = core.serialization
45
+ .union("errorName", {
46
+ HttpRequestValidationError: core.serialization.object({
47
+ content: RequestValidationError_1.RequestValidationError,
48
+ }),
49
+ })
50
+ .transform({
51
+ transform: (value) => {
52
+ switch (value.errorName) {
53
+ case "HttpRequestValidationError":
54
+ return CandidApi.serviceLines.v2.create.Error.httpRequestValidationError(value.content);
55
+ }
56
+ },
57
+ untransform: (_a) => {
58
+ var { _visit } = _a, value = __rest(_a, ["_visit"]);
59
+ return value;
60
+ },
61
+ });
@@ -0,0 +1,2 @@
1
+ export * as create from "./create";
2
+ export * as update from "./update";
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.update = exports.create = void 0;
27
+ exports.create = __importStar(require("./create"));
28
+ exports.update = __importStar(require("./update"));
@@ -0,0 +1,25 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
8
+ import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
9
+ import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
10
+ export declare const Error: core.serialization.Schema<serializers.serviceLines.v2.update.Error.Raw, CandidApi.serviceLines.v2.update.Error>;
11
+ export declare namespace Error {
12
+ type Raw = Error.EntityNotFoundError | Error.UnauthorizedError | Error.HttpRequestValidationError;
13
+ interface EntityNotFoundError {
14
+ errorName: "EntityNotFoundError";
15
+ content: EntityNotFoundErrorMessage.Raw;
16
+ }
17
+ interface UnauthorizedError {
18
+ errorName: "UnauthorizedError";
19
+ content: UnauthorizedErrorMessage.Raw;
20
+ }
21
+ interface HttpRequestValidationError {
22
+ errorName: "HttpRequestValidationError";
23
+ content: RequestValidationError.Raw;
24
+ }
25
+ }
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ var __rest = (this && this.__rest) || function (s, e) {
29
+ var t = {};
30
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
31
+ t[p] = s[p];
32
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
33
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
34
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
35
+ t[p[i]] = s[p[i]];
36
+ }
37
+ return t;
38
+ };
39
+ Object.defineProperty(exports, "__esModule", { value: true });
40
+ exports.Error = void 0;
41
+ const CandidApi = __importStar(require("../../../../../../api/index"));
42
+ const core = __importStar(require("../../../../../../core"));
43
+ const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
44
+ const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
45
+ const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
46
+ exports.Error = core.serialization
47
+ .union("errorName", {
48
+ EntityNotFoundError: core.serialization.object({
49
+ content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
50
+ }),
51
+ UnauthorizedError: core.serialization.object({
52
+ content: UnauthorizedErrorMessage_1.UnauthorizedErrorMessage,
53
+ }),
54
+ HttpRequestValidationError: core.serialization.object({
55
+ content: RequestValidationError_1.RequestValidationError,
56
+ }),
57
+ })
58
+ .transform({
59
+ transform: (value) => {
60
+ switch (value.errorName) {
61
+ case "EntityNotFoundError":
62
+ return CandidApi.serviceLines.v2.update.Error.entityNotFoundError(value.content);
63
+ case "UnauthorizedError":
64
+ return CandidApi.serviceLines.v2.update.Error.unauthorizedError(value.content);
65
+ case "HttpRequestValidationError":
66
+ return CandidApi.serviceLines.v2.update.Error.httpRequestValidationError(value.content);
67
+ }
68
+ },
69
+ untransform: (_a) => {
70
+ var { _visit } = _a, value = __rest(_a, ["_visit"]);
71
+ return value;
72
+ },
73
+ });
@@ -1 +1,2 @@
1
1
  export * from "./types";
2
+ export * from "./client";
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./types"), exports);
18
+ __exportStar(require("./client"), exports);
@@ -0,0 +1,43 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ import { ProcedureModifier } from "../../../../commons/types/ProcedureModifier";
8
+ import { DiagnosisId } from "../../../../diagnoses/types/DiagnosisId";
9
+ import { ServiceLineAdjustment } from "./ServiceLineAdjustment";
10
+ import { ServiceLineDenialReason } from "./ServiceLineDenialReason";
11
+ import { FacilityTypeCode } from "../../../../commons/types/FacilityTypeCode";
12
+ import { Decimal } from "../../../../commons/types/Decimal";
13
+ import { ServiceLineUnits } from "../../../../commons/types/ServiceLineUnits";
14
+ import { ClaimId } from "../../../../commons/types/ClaimId";
15
+ export declare const ServiceLineCreateStandalone: core.serialization.ObjectSchema<serializers.serviceLines.v2.ServiceLineCreateStandalone.Raw, CandidApi.serviceLines.v2.ServiceLineCreateStandalone>;
16
+ export declare namespace ServiceLineCreateStandalone {
17
+ interface Raw {
18
+ modifiers?: ProcedureModifier.Raw[] | null;
19
+ charge_amount_cents?: number | null;
20
+ allowed_amount_cents?: number | null;
21
+ insurance_balance_cents?: number | null;
22
+ patient_balance_cents?: number | null;
23
+ primary_paid_amount_cents?: number | null;
24
+ secondary_paid_amount_cents?: number | null;
25
+ tertiary_paid_amount_cents?: number | null;
26
+ patient_responsibility_cents?: number | null;
27
+ diagnosis_id_zero?: DiagnosisId.Raw | null;
28
+ diagnosis_id_one?: DiagnosisId.Raw | null;
29
+ diagnosis_id_two?: DiagnosisId.Raw | null;
30
+ diagnosis_id_three?: DiagnosisId.Raw | null;
31
+ service_line_manual_adjustments?: ServiceLineAdjustment.Raw[] | null;
32
+ denial_reason?: ServiceLineDenialReason.Raw | null;
33
+ place_of_service_code?: FacilityTypeCode.Raw | null;
34
+ place_of_service_code_as_submitted?: FacilityTypeCode.Raw | null;
35
+ procedure_code: string;
36
+ quantity: Decimal.Raw;
37
+ units: ServiceLineUnits.Raw;
38
+ claim_id: ClaimId.Raw;
39
+ description?: string | null;
40
+ date_of_service?: string | null;
41
+ end_date_of_service?: string | null;
42
+ }
43
+ }
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.ServiceLineCreateStandalone = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ const ProcedureModifier_1 = require("../../../../commons/types/ProcedureModifier");
32
+ const DiagnosisId_1 = require("../../../../diagnoses/types/DiagnosisId");
33
+ const ServiceLineAdjustment_1 = require("./ServiceLineAdjustment");
34
+ const ServiceLineDenialReason_1 = require("./ServiceLineDenialReason");
35
+ const FacilityTypeCode_1 = require("../../../../commons/types/FacilityTypeCode");
36
+ const Decimal_1 = require("../../../../commons/types/Decimal");
37
+ const ServiceLineUnits_1 = require("../../../../commons/types/ServiceLineUnits");
38
+ const ClaimId_1 = require("../../../../commons/types/ClaimId");
39
+ exports.ServiceLineCreateStandalone = core.serialization.object({
40
+ modifiers: core.serialization.list(ProcedureModifier_1.ProcedureModifier).optional(),
41
+ chargeAmountCents: core.serialization.property("charge_amount_cents", core.serialization.number().optional()),
42
+ allowedAmountCents: core.serialization.property("allowed_amount_cents", core.serialization.number().optional()),
43
+ insuranceBalanceCents: core.serialization.property("insurance_balance_cents", core.serialization.number().optional()),
44
+ patientBalanceCents: core.serialization.property("patient_balance_cents", core.serialization.number().optional()),
45
+ primaryPaidAmountCents: core.serialization.property("primary_paid_amount_cents", core.serialization.number().optional()),
46
+ secondaryPaidAmountCents: core.serialization.property("secondary_paid_amount_cents", core.serialization.number().optional()),
47
+ tertiaryPaidAmountCents: core.serialization.property("tertiary_paid_amount_cents", core.serialization.number().optional()),
48
+ patientResponsibilityCents: core.serialization.property("patient_responsibility_cents", core.serialization.number().optional()),
49
+ diagnosisIdZero: core.serialization.property("diagnosis_id_zero", DiagnosisId_1.DiagnosisId.optional()),
50
+ diagnosisIdOne: core.serialization.property("diagnosis_id_one", DiagnosisId_1.DiagnosisId.optional()),
51
+ diagnosisIdTwo: core.serialization.property("diagnosis_id_two", DiagnosisId_1.DiagnosisId.optional()),
52
+ diagnosisIdThree: core.serialization.property("diagnosis_id_three", DiagnosisId_1.DiagnosisId.optional()),
53
+ serviceLineManualAdjustments: core.serialization.property("service_line_manual_adjustments", core.serialization.list(ServiceLineAdjustment_1.ServiceLineAdjustment).optional()),
54
+ denialReason: core.serialization.property("denial_reason", ServiceLineDenialReason_1.ServiceLineDenialReason.optional()),
55
+ placeOfServiceCode: core.serialization.property("place_of_service_code", FacilityTypeCode_1.FacilityTypeCode.optional()),
56
+ placeOfServiceCodeAsSubmitted: core.serialization.property("place_of_service_code_as_submitted", FacilityTypeCode_1.FacilityTypeCode.optional()),
57
+ procedureCode: core.serialization.property("procedure_code", core.serialization.string()),
58
+ quantity: Decimal_1.Decimal,
59
+ units: ServiceLineUnits_1.ServiceLineUnits,
60
+ claimId: core.serialization.property("claim_id", ClaimId_1.ClaimId),
61
+ description: core.serialization.string().optional(),
62
+ dateOfService: core.serialization.property("date_of_service", core.serialization.string().optional()),
63
+ endDateOfService: core.serialization.property("end_date_of_service", core.serialization.string().optional()),
64
+ });
@@ -0,0 +1,42 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ import { ProcedureModifier } from "../../../../commons/types/ProcedureModifier";
8
+ import { DiagnosisId } from "../../../../diagnoses/types/DiagnosisId";
9
+ import { ServiceLineAdjustment } from "./ServiceLineAdjustment";
10
+ import { ServiceLineDenialReason } from "./ServiceLineDenialReason";
11
+ import { FacilityTypeCode } from "../../../../commons/types/FacilityTypeCode";
12
+ import { ServiceLineUnits } from "../../../../commons/types/ServiceLineUnits";
13
+ import { Decimal } from "../../../../commons/types/Decimal";
14
+ export declare const ServiceLineUpdate: core.serialization.ObjectSchema<serializers.serviceLines.v2.ServiceLineUpdate.Raw, CandidApi.serviceLines.v2.ServiceLineUpdate>;
15
+ export declare namespace ServiceLineUpdate {
16
+ interface Raw {
17
+ edit_reason?: string | null;
18
+ modifiers?: ProcedureModifier.Raw[] | null;
19
+ charge_amount_cents?: number | null;
20
+ allowed_amount_cents?: number | null;
21
+ insurance_balance_cents?: number | null;
22
+ patient_balance_cents?: number | null;
23
+ primary_paid_amount_cents?: number | null;
24
+ secondary_paid_amount_cents?: number | null;
25
+ tertiary_paid_amount_cents?: number | null;
26
+ patient_responsibility_cents?: number | null;
27
+ diagnosis_id_zero?: DiagnosisId.Raw | null;
28
+ diagnosis_id_one?: DiagnosisId.Raw | null;
29
+ diagnosis_id_two?: DiagnosisId.Raw | null;
30
+ diagnosis_id_three?: DiagnosisId.Raw | null;
31
+ service_line_manual_adjustments?: ServiceLineAdjustment.Raw[] | null;
32
+ denial_reason?: ServiceLineDenialReason.Raw | null;
33
+ place_of_service_code?: FacilityTypeCode.Raw | null;
34
+ place_of_service_code_as_submitted?: FacilityTypeCode.Raw | null;
35
+ units?: ServiceLineUnits.Raw | null;
36
+ procedure_code?: string | null;
37
+ quantity?: Decimal.Raw | null;
38
+ description?: string | null;
39
+ date_of_service?: string | null;
40
+ end_date_of_service?: string | null;
41
+ }
42
+ }