candidhealth 0.15.0 → 0.16.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 (257) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +23 -18
  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/contracts/resources/v2/client/Client.js +5 -5
  6. package/api/resources/eligibility/resources/v2/client/Client.js +1 -1
  7. package/api/resources/encounters/resources/v4/client/Client.js +4 -4
  8. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  9. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  10. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  11. package/api/resources/financials/types/AllocationCreate.d.ts +5 -0
  12. package/api/resources/financials/types/AllocationTarget.d.ts +8 -6
  13. package/api/resources/financials/types/AllocationTargetCreate.d.ts +5 -0
  14. package/api/resources/financials/types/BillingProviderAllocationTarget.d.ts +7 -0
  15. package/api/resources/financials/types/BillingProviderAllocationTarget.js +5 -0
  16. package/api/resources/financials/types/ClaimAllocationTarget.d.ts +8 -0
  17. package/api/resources/financials/types/ClaimAllocationTarget.js +5 -0
  18. package/api/resources/financials/types/ServiceLineAllocationTarget.d.ts +9 -0
  19. package/api/resources/financials/types/ServiceLineAllocationTarget.js +5 -0
  20. package/api/resources/financials/types/index.d.ts +3 -0
  21. package/api/resources/financials/types/index.js +3 -0
  22. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  23. package/api/resources/index.d.ts +1 -0
  24. package/api/resources/index.js +2 -1
  25. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  26. package/api/resources/insurancePayments/client/Client.d.ts +18 -0
  27. package/api/resources/insurancePayments/client/Client.js +18 -0
  28. package/api/resources/insurancePayments/client/index.d.ts +1 -0
  29. package/api/resources/insurancePayments/client/index.js +2 -0
  30. package/api/resources/insurancePayments/index.d.ts +2 -0
  31. package/api/resources/insurancePayments/index.js +18 -0
  32. package/api/resources/insurancePayments/resources/index.d.ts +1 -0
  33. package/api/resources/insurancePayments/resources/index.js +27 -0
  34. package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +48 -0
  35. package/api/resources/insurancePayments/resources/v1/client/Client.js +325 -0
  36. package/api/resources/insurancePayments/resources/v1/client/create.d.ts +28 -0
  37. package/api/resources/insurancePayments/resources/v1/client/create.js +58 -0
  38. package/api/resources/insurancePayments/resources/v1/client/delete.d.ts +34 -0
  39. package/api/resources/insurancePayments/resources/v1/client/delete.js +69 -0
  40. package/api/resources/insurancePayments/resources/v1/client/get.d.ts +34 -0
  41. package/api/resources/insurancePayments/resources/v1/client/get.js +69 -0
  42. package/api/resources/insurancePayments/resources/v1/client/getMulti.d.ts +34 -0
  43. package/api/resources/insurancePayments/resources/v1/client/getMulti.js +69 -0
  44. package/api/resources/insurancePayments/resources/v1/client/index.d.ts +6 -0
  45. package/api/resources/insurancePayments/resources/v1/client/index.js +35 -0
  46. package/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +23 -0
  47. package/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.js +5 -0
  48. package/api/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.d.ts +8 -0
  49. package/api/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.js +5 -0
  50. package/api/resources/insurancePayments/resources/v1/client/requests/index.d.ts +2 -0
  51. package/api/resources/insurancePayments/resources/v1/client/requests/index.js +2 -0
  52. package/api/resources/insurancePayments/resources/v1/client/update.d.ts +34 -0
  53. package/api/resources/insurancePayments/resources/v1/client/update.js +69 -0
  54. package/api/resources/insurancePayments/resources/v1/index.d.ts +2 -0
  55. package/api/resources/insurancePayments/resources/v1/index.js +18 -0
  56. package/api/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +12 -0
  57. package/api/resources/insurancePayments/resources/v1/types/InsurancePayment.js +5 -0
  58. package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.d.ts +11 -0
  59. package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.js +5 -0
  60. package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentId.d.ts +8 -0
  61. package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentId.js +10 -0
  62. package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts +9 -0
  63. package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.js +11 -0
  64. package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.d.ts +7 -0
  65. package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.js +5 -0
  66. package/api/resources/insurancePayments/resources/v1/types/index.d.ts +5 -0
  67. package/api/resources/insurancePayments/resources/v1/types/index.js +21 -0
  68. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  69. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  70. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  71. package/api/resources/patientPayments/resources/v4/client/Client.js +9 -6
  72. package/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +4 -0
  73. package/api/resources/patientRefunds/resources/v1/client/Client.js +9 -6
  74. package/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +4 -0
  75. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  76. package/api/resources/serviceFacility/client/Client.js +1 -1
  77. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  78. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  79. package/api/resources/x12/resources/v1/types/Carc.d.ts +2 -1
  80. package/api/resources/x12/resources/v1/types/Carc.js +1 -0
  81. package/dist/Client.d.ts +3 -0
  82. package/dist/Client.js +23 -18
  83. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  84. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  85. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  86. package/dist/api/resources/eligibility/resources/v2/client/Client.js +1 -1
  87. package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
  88. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  89. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  90. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  91. package/dist/api/resources/financials/types/AllocationCreate.d.ts +5 -0
  92. package/dist/api/resources/financials/types/AllocationTarget.d.ts +8 -6
  93. package/dist/api/resources/financials/types/AllocationTargetCreate.d.ts +5 -0
  94. package/dist/api/resources/financials/types/BillingProviderAllocationTarget.d.ts +7 -0
  95. package/dist/api/resources/financials/types/BillingProviderAllocationTarget.js +5 -0
  96. package/dist/api/resources/financials/types/ClaimAllocationTarget.d.ts +8 -0
  97. package/dist/api/resources/financials/types/ClaimAllocationTarget.js +5 -0
  98. package/dist/api/resources/financials/types/ServiceLineAllocationTarget.d.ts +9 -0
  99. package/dist/api/resources/financials/types/ServiceLineAllocationTarget.js +5 -0
  100. package/dist/api/resources/financials/types/index.d.ts +3 -0
  101. package/dist/api/resources/financials/types/index.js +3 -0
  102. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  103. package/dist/api/resources/index.d.ts +1 -0
  104. package/dist/api/resources/index.js +2 -1
  105. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  106. package/dist/api/resources/insurancePayments/client/Client.d.ts +18 -0
  107. package/dist/api/resources/insurancePayments/client/Client.js +18 -0
  108. package/dist/api/resources/insurancePayments/client/index.d.ts +1 -0
  109. package/dist/api/resources/insurancePayments/client/index.js +2 -0
  110. package/dist/api/resources/insurancePayments/index.d.ts +2 -0
  111. package/dist/api/resources/insurancePayments/index.js +18 -0
  112. package/dist/api/resources/insurancePayments/resources/index.d.ts +1 -0
  113. package/dist/api/resources/insurancePayments/resources/index.js +27 -0
  114. package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +48 -0
  115. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +325 -0
  116. package/dist/api/resources/insurancePayments/resources/v1/client/create.d.ts +28 -0
  117. package/dist/api/resources/insurancePayments/resources/v1/client/create.js +58 -0
  118. package/dist/api/resources/insurancePayments/resources/v1/client/delete.d.ts +34 -0
  119. package/dist/api/resources/insurancePayments/resources/v1/client/delete.js +69 -0
  120. package/dist/api/resources/insurancePayments/resources/v1/client/get.d.ts +34 -0
  121. package/dist/api/resources/insurancePayments/resources/v1/client/get.js +69 -0
  122. package/dist/api/resources/insurancePayments/resources/v1/client/getMulti.d.ts +34 -0
  123. package/dist/api/resources/insurancePayments/resources/v1/client/getMulti.js +69 -0
  124. package/dist/api/resources/insurancePayments/resources/v1/client/index.d.ts +6 -0
  125. package/dist/api/resources/insurancePayments/resources/v1/client/index.js +35 -0
  126. package/dist/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +23 -0
  127. package/dist/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.js +5 -0
  128. package/dist/api/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.d.ts +8 -0
  129. package/dist/api/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.js +5 -0
  130. package/dist/api/resources/insurancePayments/resources/v1/client/requests/index.d.ts +2 -0
  131. package/dist/api/resources/insurancePayments/resources/v1/client/requests/index.js +2 -0
  132. package/dist/api/resources/insurancePayments/resources/v1/client/update.d.ts +34 -0
  133. package/dist/api/resources/insurancePayments/resources/v1/client/update.js +69 -0
  134. package/dist/api/resources/insurancePayments/resources/v1/index.d.ts +2 -0
  135. package/dist/api/resources/insurancePayments/resources/v1/index.js +18 -0
  136. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +12 -0
  137. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePayment.js +5 -0
  138. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.d.ts +11 -0
  139. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.js +5 -0
  140. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentId.d.ts +8 -0
  141. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentId.js +10 -0
  142. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts +9 -0
  143. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.js +11 -0
  144. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.d.ts +7 -0
  145. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.js +5 -0
  146. package/dist/api/resources/insurancePayments/resources/v1/types/index.d.ts +5 -0
  147. package/dist/api/resources/insurancePayments/resources/v1/types/index.js +21 -0
  148. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  149. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  150. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  151. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +9 -6
  152. package/dist/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +4 -0
  153. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +9 -6
  154. package/dist/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +4 -0
  155. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  156. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  157. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  158. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  159. package/dist/api/resources/x12/resources/v1/types/Carc.d.ts +2 -1
  160. package/dist/api/resources/x12/resources/v1/types/Carc.js +1 -0
  161. package/dist/serialization/resources/financials/types/AllocationTarget.d.ts +3 -6
  162. package/dist/serialization/resources/financials/types/AllocationTarget.js +3 -9
  163. package/dist/serialization/resources/financials/types/BillingProviderAllocationTarget.d.ts +12 -0
  164. package/dist/serialization/resources/financials/types/BillingProviderAllocationTarget.js +33 -0
  165. package/dist/serialization/resources/financials/types/ClaimAllocationTarget.d.ts +13 -0
  166. package/dist/serialization/resources/financials/types/ClaimAllocationTarget.js +34 -0
  167. package/dist/serialization/resources/financials/types/ServiceLineAllocationTarget.d.ts +14 -0
  168. package/dist/serialization/resources/financials/types/ServiceLineAllocationTarget.js +35 -0
  169. package/dist/serialization/resources/financials/types/index.d.ts +3 -0
  170. package/dist/serialization/resources/financials/types/index.js +3 -0
  171. package/dist/serialization/resources/index.d.ts +1 -0
  172. package/dist/serialization/resources/index.js +2 -1
  173. package/dist/serialization/resources/insurancePayments/index.d.ts +1 -0
  174. package/dist/serialization/resources/insurancePayments/index.js +17 -0
  175. package/dist/serialization/resources/insurancePayments/resources/index.d.ts +1 -0
  176. package/dist/serialization/resources/insurancePayments/resources/index.js +27 -0
  177. package/dist/serialization/resources/insurancePayments/resources/v1/client/create.d.ts +14 -0
  178. package/dist/serialization/resources/insurancePayments/resources/v1/client/create.js +46 -0
  179. package/dist/serialization/resources/insurancePayments/resources/v1/client/delete.d.ts +18 -0
  180. package/dist/serialization/resources/insurancePayments/resources/v1/client/delete.js +51 -0
  181. package/dist/serialization/resources/insurancePayments/resources/v1/client/get.d.ts +18 -0
  182. package/dist/serialization/resources/insurancePayments/resources/v1/client/get.js +51 -0
  183. package/dist/serialization/resources/insurancePayments/resources/v1/client/getMulti.d.ts +18 -0
  184. package/dist/serialization/resources/insurancePayments/resources/v1/client/getMulti.js +51 -0
  185. package/dist/serialization/resources/insurancePayments/resources/v1/client/index.d.ts +6 -0
  186. package/dist/serialization/resources/insurancePayments/resources/v1/client/index.js +35 -0
  187. package/dist/serialization/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.d.ts +13 -0
  188. package/dist/serialization/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.js +34 -0
  189. package/dist/serialization/resources/insurancePayments/resources/v1/client/requests/index.d.ts +1 -0
  190. package/dist/serialization/resources/insurancePayments/resources/v1/client/requests/index.js +5 -0
  191. package/dist/serialization/resources/insurancePayments/resources/v1/client/update.d.ts +18 -0
  192. package/dist/serialization/resources/insurancePayments/resources/v1/client/update.js +51 -0
  193. package/dist/serialization/resources/insurancePayments/resources/v1/index.d.ts +2 -0
  194. package/dist/serialization/resources/insurancePayments/resources/v1/index.js +18 -0
  195. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +17 -0
  196. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePayment.js +38 -0
  197. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.d.ts +16 -0
  198. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.js +37 -0
  199. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentId.d.ts +10 -0
  200. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentId.js +35 -0
  201. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts +10 -0
  202. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.js +31 -0
  203. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.d.ts +12 -0
  204. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.js +35 -0
  205. package/dist/serialization/resources/insurancePayments/resources/v1/types/index.d.ts +5 -0
  206. package/dist/serialization/resources/insurancePayments/resources/v1/types/index.js +21 -0
  207. package/dist/serialization/resources/x12/resources/v1/types/Carc.d.ts +1 -1
  208. package/dist/serialization/resources/x12/resources/v1/types/Carc.js +1 -0
  209. package/package.json +1 -1
  210. package/serialization/resources/financials/types/AllocationTarget.d.ts +3 -6
  211. package/serialization/resources/financials/types/AllocationTarget.js +3 -9
  212. package/serialization/resources/financials/types/BillingProviderAllocationTarget.d.ts +12 -0
  213. package/serialization/resources/financials/types/BillingProviderAllocationTarget.js +33 -0
  214. package/serialization/resources/financials/types/ClaimAllocationTarget.d.ts +13 -0
  215. package/serialization/resources/financials/types/ClaimAllocationTarget.js +34 -0
  216. package/serialization/resources/financials/types/ServiceLineAllocationTarget.d.ts +14 -0
  217. package/serialization/resources/financials/types/ServiceLineAllocationTarget.js +35 -0
  218. package/serialization/resources/financials/types/index.d.ts +3 -0
  219. package/serialization/resources/financials/types/index.js +3 -0
  220. package/serialization/resources/index.d.ts +1 -0
  221. package/serialization/resources/index.js +2 -1
  222. package/serialization/resources/insurancePayments/index.d.ts +1 -0
  223. package/serialization/resources/insurancePayments/index.js +17 -0
  224. package/serialization/resources/insurancePayments/resources/index.d.ts +1 -0
  225. package/serialization/resources/insurancePayments/resources/index.js +27 -0
  226. package/serialization/resources/insurancePayments/resources/v1/client/create.d.ts +14 -0
  227. package/serialization/resources/insurancePayments/resources/v1/client/create.js +46 -0
  228. package/serialization/resources/insurancePayments/resources/v1/client/delete.d.ts +18 -0
  229. package/serialization/resources/insurancePayments/resources/v1/client/delete.js +51 -0
  230. package/serialization/resources/insurancePayments/resources/v1/client/get.d.ts +18 -0
  231. package/serialization/resources/insurancePayments/resources/v1/client/get.js +51 -0
  232. package/serialization/resources/insurancePayments/resources/v1/client/getMulti.d.ts +18 -0
  233. package/serialization/resources/insurancePayments/resources/v1/client/getMulti.js +51 -0
  234. package/serialization/resources/insurancePayments/resources/v1/client/index.d.ts +6 -0
  235. package/serialization/resources/insurancePayments/resources/v1/client/index.js +35 -0
  236. package/serialization/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.d.ts +13 -0
  237. package/serialization/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.js +34 -0
  238. package/serialization/resources/insurancePayments/resources/v1/client/requests/index.d.ts +1 -0
  239. package/serialization/resources/insurancePayments/resources/v1/client/requests/index.js +5 -0
  240. package/serialization/resources/insurancePayments/resources/v1/client/update.d.ts +18 -0
  241. package/serialization/resources/insurancePayments/resources/v1/client/update.js +51 -0
  242. package/serialization/resources/insurancePayments/resources/v1/index.d.ts +2 -0
  243. package/serialization/resources/insurancePayments/resources/v1/index.js +18 -0
  244. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +17 -0
  245. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePayment.js +38 -0
  246. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.d.ts +16 -0
  247. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.js +37 -0
  248. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentId.d.ts +10 -0
  249. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentId.js +35 -0
  250. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts +10 -0
  251. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.js +31 -0
  252. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.d.ts +12 -0
  253. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.js +35 -0
  254. package/serialization/resources/insurancePayments/resources/v1/types/index.d.ts +5 -0
  255. package/serialization/resources/insurancePayments/resources/v1/types/index.js +21 -0
  256. package/serialization/resources/x12/resources/v1/types/Carc.d.ts +1 -1
  257. package/serialization/resources/x12/resources/v1/types/Carc.js +1 -0
@@ -0,0 +1,21 @@
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./InsurancePaymentId"), exports);
18
+ __exportStar(require("./InsurancePayment"), exports);
19
+ __exportStar(require("./InsurancePaymentCreate"), exports);
20
+ __exportStar(require("./InsurancePaymentsPage"), exports);
21
+ __exportStar(require("./InsurancePaymentSortField"), exports);
@@ -80,7 +80,7 @@ class V1 {
80
80
  Authorization: await this._getAuthorizationHeader(),
81
81
  "X-Fern-Language": "JavaScript",
82
82
  "X-Fern-SDK-Name": "candidhealth",
83
- "X-Fern-SDK-Version": "0.15.0",
83
+ "X-Fern-SDK-Version": "0.16.0",
84
84
  },
85
85
  contentType: "application/json",
86
86
  queryParameters: _queryParams,
@@ -115,7 +115,7 @@ class V1 {
115
115
  Authorization: await this._getAuthorizationHeader(),
116
116
  "X-Fern-Language": "JavaScript",
117
117
  "X-Fern-SDK-Name": "candidhealth",
118
- "X-Fern-SDK-Version": "0.15.0",
118
+ "X-Fern-SDK-Version": "0.16.0",
119
119
  },
120
120
  contentType: "application/json",
121
121
  timeoutMs: 60000,
@@ -150,7 +150,7 @@ class V1 {
150
150
  Authorization: await this._getAuthorizationHeader(),
151
151
  "X-Fern-Language": "JavaScript",
152
152
  "X-Fern-SDK-Name": "candidhealth",
153
- "X-Fern-SDK-Version": "0.15.0",
153
+ "X-Fern-SDK-Version": "0.16.0",
154
154
  },
155
155
  contentType: "application/json",
156
156
  body: await serializers.insuranceRefunds.v1.InsuranceRefundCreate.jsonOrThrow(request, {
@@ -187,7 +187,7 @@ class V1 {
187
187
  Authorization: await this._getAuthorizationHeader(),
188
188
  "X-Fern-Language": "JavaScript",
189
189
  "X-Fern-SDK-Name": "candidhealth",
190
- "X-Fern-SDK-Version": "0.15.0",
190
+ "X-Fern-SDK-Version": "0.16.0",
191
191
  },
192
192
  contentType: "application/json",
193
193
  body: await serializers.insuranceRefunds.v1.InsuranceRefundUpdate.jsonOrThrow(request, {
@@ -225,7 +225,7 @@ class V1 {
225
225
  Authorization: await this._getAuthorizationHeader(),
226
226
  "X-Fern-Language": "JavaScript",
227
227
  "X-Fern-SDK-Name": "candidhealth",
228
- "X-Fern-SDK-Version": "0.15.0",
228
+ "X-Fern-SDK-Version": "0.16.0",
229
229
  },
230
230
  contentType: "application/json",
231
231
  timeoutMs: 60000,
@@ -49,7 +49,7 @@ class V3 {
49
49
  Authorization: await this._getAuthorizationHeader(),
50
50
  "X-Fern-Language": "JavaScript",
51
51
  "X-Fern-SDK-Name": "candidhealth",
52
- "X-Fern-SDK-Version": "0.15.0",
52
+ "X-Fern-SDK-Version": "0.16.0",
53
53
  },
54
54
  contentType: "application/json",
55
55
  timeoutMs: 60000,
@@ -115,7 +115,7 @@ class V3 {
115
115
  Authorization: await this._getAuthorizationHeader(),
116
116
  "X-Fern-Language": "JavaScript",
117
117
  "X-Fern-SDK-Name": "candidhealth",
118
- "X-Fern-SDK-Version": "0.15.0",
118
+ "X-Fern-SDK-Version": "0.16.0",
119
119
  },
120
120
  contentType: "application/json",
121
121
  queryParameters: _queryParams,
@@ -145,7 +145,7 @@ class V3 {
145
145
  Authorization: await this._getAuthorizationHeader(),
146
146
  "X-Fern-Language": "JavaScript",
147
147
  "X-Fern-SDK-Name": "candidhealth",
148
- "X-Fern-SDK-Version": "0.15.0",
148
+ "X-Fern-SDK-Version": "0.16.0",
149
149
  },
150
150
  contentType: "application/json",
151
151
  body: await serializers.organizationProviders.v3.OrganizationProviderCreateV2.jsonOrThrow(request, {
@@ -192,7 +192,7 @@ class V3 {
192
192
  Authorization: await this._getAuthorizationHeader(),
193
193
  "X-Fern-Language": "JavaScript",
194
194
  "X-Fern-SDK-Name": "candidhealth",
195
- "X-Fern-SDK-Version": "0.15.0",
195
+ "X-Fern-SDK-Version": "0.16.0",
196
196
  },
197
197
  contentType: "application/json",
198
198
  body: await serializers.organizationProviders.v3.OrganizationProviderUpdateV2.jsonOrThrow(request, {
@@ -49,7 +49,7 @@ class V2 {
49
49
  Authorization: await this._getAuthorizationHeader(),
50
50
  "X-Fern-Language": "JavaScript",
51
51
  "X-Fern-SDK-Name": "candidhealth",
52
- "X-Fern-SDK-Version": "0.15.0",
52
+ "X-Fern-SDK-Version": "0.16.0",
53
53
  },
54
54
  contentType: "application/json",
55
55
  timeoutMs: 60000,
@@ -103,7 +103,7 @@ class V2 {
103
103
  Authorization: await this._getAuthorizationHeader(),
104
104
  "X-Fern-Language": "JavaScript",
105
105
  "X-Fern-SDK-Name": "candidhealth",
106
- "X-Fern-SDK-Version": "0.15.0",
106
+ "X-Fern-SDK-Version": "0.16.0",
107
107
  },
108
108
  contentType: "application/json",
109
109
  queryParameters: _queryParams,
@@ -133,7 +133,7 @@ class V2 {
133
133
  Authorization: await this._getAuthorizationHeader(),
134
134
  "X-Fern-Language": "JavaScript",
135
135
  "X-Fern-SDK-Name": "candidhealth",
136
- "X-Fern-SDK-Version": "0.15.0",
136
+ "X-Fern-SDK-Version": "0.16.0",
137
137
  },
138
138
  contentType: "application/json",
139
139
  body: await serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -177,7 +177,7 @@ class V2 {
177
177
  Authorization: await this._getAuthorizationHeader(),
178
178
  "X-Fern-Language": "JavaScript",
179
179
  "X-Fern-SDK-Name": "candidhealth",
180
- "X-Fern-SDK-Version": "0.15.0",
180
+ "X-Fern-SDK-Version": "0.16.0",
181
181
  },
182
182
  contentType: "application/json",
183
183
  body: await serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -222,7 +222,7 @@ class V2 {
222
222
  Authorization: await this._getAuthorizationHeader(),
223
223
  "X-Fern-Language": "JavaScript",
224
224
  "X-Fern-SDK-Name": "candidhealth",
225
- "X-Fern-SDK-Version": "0.15.0",
225
+ "X-Fern-SDK-Version": "0.16.0",
226
226
  },
227
227
  contentType: "application/json",
228
228
  timeoutMs: 60000,
@@ -47,7 +47,7 @@ class V4 {
47
47
  *
48
48
  */
49
49
  async getMulti(request = {}) {
50
- const { limit, patientExternalId, claimId, serviceLineId, billingProviderId, invoiceId, sources, sort, sortDirection, pageToken, } = request;
50
+ const { limit, patientExternalId, claimId, serviceLineId, billingProviderId, unattributed, invoiceId, sources, sort, sortDirection, pageToken, } = request;
51
51
  const _queryParams = new url_search_params_1.default();
52
52
  if (limit != null) {
53
53
  _queryParams.append("limit", limit.toString());
@@ -64,6 +64,9 @@ class V4 {
64
64
  if (billingProviderId != null) {
65
65
  _queryParams.append("billing_provider_id", billingProviderId);
66
66
  }
67
+ if (unattributed != null) {
68
+ _queryParams.append("unattributed", unattributed.toString());
69
+ }
67
70
  if (invoiceId != null) {
68
71
  _queryParams.append("invoice_id", invoiceId);
69
72
  }
@@ -93,7 +96,7 @@ class V4 {
93
96
  Authorization: await this._getAuthorizationHeader(),
94
97
  "X-Fern-Language": "JavaScript",
95
98
  "X-Fern-SDK-Name": "candidhealth",
96
- "X-Fern-SDK-Version": "0.15.0",
99
+ "X-Fern-SDK-Version": "0.16.0",
97
100
  },
98
101
  contentType: "application/json",
99
102
  queryParameters: _queryParams,
@@ -127,7 +130,7 @@ class V4 {
127
130
  Authorization: await this._getAuthorizationHeader(),
128
131
  "X-Fern-Language": "JavaScript",
129
132
  "X-Fern-SDK-Name": "candidhealth",
130
- "X-Fern-SDK-Version": "0.15.0",
133
+ "X-Fern-SDK-Version": "0.16.0",
131
134
  },
132
135
  contentType: "application/json",
133
136
  timeoutMs: 60000,
@@ -162,7 +165,7 @@ class V4 {
162
165
  Authorization: await this._getAuthorizationHeader(),
163
166
  "X-Fern-Language": "JavaScript",
164
167
  "X-Fern-SDK-Name": "candidhealth",
165
- "X-Fern-SDK-Version": "0.15.0",
168
+ "X-Fern-SDK-Version": "0.16.0",
166
169
  },
167
170
  contentType: "application/json",
168
171
  body: await serializers.patientPayments.v4.PatientPaymentCreate.jsonOrThrow(request, {
@@ -198,7 +201,7 @@ class V4 {
198
201
  Authorization: await this._getAuthorizationHeader(),
199
202
  "X-Fern-Language": "JavaScript",
200
203
  "X-Fern-SDK-Name": "candidhealth",
201
- "X-Fern-SDK-Version": "0.15.0",
204
+ "X-Fern-SDK-Version": "0.16.0",
202
205
  },
203
206
  contentType: "application/json",
204
207
  body: await serializers.patientPayments.v4.PatientPaymentUpdate.jsonOrThrow(request, {
@@ -234,7 +237,7 @@ class V4 {
234
237
  Authorization: await this._getAuthorizationHeader(),
235
238
  "X-Fern-Language": "JavaScript",
236
239
  "X-Fern-SDK-Name": "candidhealth",
237
- "X-Fern-SDK-Version": "0.15.0",
240
+ "X-Fern-SDK-Version": "0.16.0",
238
241
  },
239
242
  contentType: "application/json",
240
243
  timeoutMs: 60000,
@@ -11,6 +11,10 @@ export interface GetMultiPatientPaymentsRequest {
11
11
  claimId?: CandidApi.ClaimId;
12
12
  serviceLineId?: CandidApi.ServiceLineId;
13
13
  billingProviderId?: CandidApi.ProviderId;
14
+ /**
15
+ * returns payments with unattributed allocations if set to true
16
+ */
17
+ unattributed?: boolean;
14
18
  invoiceId?: CandidApi.InvoiceId;
15
19
  sources?: CandidApi.PatientTransactionSource | CandidApi.PatientTransactionSource[];
16
20
  /**
@@ -47,7 +47,7 @@ class V1 {
47
47
  *
48
48
  */
49
49
  async getMulti(request = {}) {
50
- const { limit, patientExternalId, claimId, serviceLineId, billingProviderId, invoiceId, sources, sort, sortDirection, pageToken, } = request;
50
+ const { limit, patientExternalId, claimId, serviceLineId, billingProviderId, unattributed, invoiceId, sources, sort, sortDirection, pageToken, } = request;
51
51
  const _queryParams = new url_search_params_1.default();
52
52
  if (limit != null) {
53
53
  _queryParams.append("limit", limit.toString());
@@ -64,6 +64,9 @@ class V1 {
64
64
  if (billingProviderId != null) {
65
65
  _queryParams.append("billing_provider_id", billingProviderId);
66
66
  }
67
+ if (unattributed != null) {
68
+ _queryParams.append("unattributed", unattributed.toString());
69
+ }
67
70
  if (invoiceId != null) {
68
71
  _queryParams.append("invoice_id", invoiceId);
69
72
  }
@@ -93,7 +96,7 @@ class V1 {
93
96
  Authorization: await this._getAuthorizationHeader(),
94
97
  "X-Fern-Language": "JavaScript",
95
98
  "X-Fern-SDK-Name": "candidhealth",
96
- "X-Fern-SDK-Version": "0.15.0",
99
+ "X-Fern-SDK-Version": "0.16.0",
97
100
  },
98
101
  contentType: "application/json",
99
102
  queryParameters: _queryParams,
@@ -127,7 +130,7 @@ class V1 {
127
130
  Authorization: await this._getAuthorizationHeader(),
128
131
  "X-Fern-Language": "JavaScript",
129
132
  "X-Fern-SDK-Name": "candidhealth",
130
- "X-Fern-SDK-Version": "0.15.0",
133
+ "X-Fern-SDK-Version": "0.16.0",
131
134
  },
132
135
  contentType: "application/json",
133
136
  timeoutMs: 60000,
@@ -162,7 +165,7 @@ class V1 {
162
165
  Authorization: await this._getAuthorizationHeader(),
163
166
  "X-Fern-Language": "JavaScript",
164
167
  "X-Fern-SDK-Name": "candidhealth",
165
- "X-Fern-SDK-Version": "0.15.0",
168
+ "X-Fern-SDK-Version": "0.16.0",
166
169
  },
167
170
  contentType: "application/json",
168
171
  body: await serializers.patientRefunds.v1.PatientRefundCreate.jsonOrThrow(request, {
@@ -198,7 +201,7 @@ class V1 {
198
201
  Authorization: await this._getAuthorizationHeader(),
199
202
  "X-Fern-Language": "JavaScript",
200
203
  "X-Fern-SDK-Name": "candidhealth",
201
- "X-Fern-SDK-Version": "0.15.0",
204
+ "X-Fern-SDK-Version": "0.16.0",
202
205
  },
203
206
  contentType: "application/json",
204
207
  body: await serializers.patientRefunds.v1.PatientRefundUpdate.jsonOrThrow(request, {
@@ -234,7 +237,7 @@ class V1 {
234
237
  Authorization: await this._getAuthorizationHeader(),
235
238
  "X-Fern-Language": "JavaScript",
236
239
  "X-Fern-SDK-Name": "candidhealth",
237
- "X-Fern-SDK-Version": "0.15.0",
240
+ "X-Fern-SDK-Version": "0.16.0",
238
241
  },
239
242
  contentType: "application/json",
240
243
  timeoutMs: 60000,
@@ -11,6 +11,10 @@ export interface GetMultiPatientRefundsRequest {
11
11
  claimId?: CandidApi.ClaimId;
12
12
  serviceLineId?: CandidApi.ServiceLineId;
13
13
  billingProviderId?: CandidApi.ProviderId;
14
+ /**
15
+ * returns payments with unattributed allocations if set to true
16
+ */
17
+ unattributed?: boolean;
14
18
  invoiceId?: CandidApi.InvoiceId;
15
19
  sources?: CandidApi.PatientTransactionSource | CandidApi.PatientTransactionSource[];
16
20
  /**
@@ -49,7 +49,7 @@ class V3 {
49
49
  Authorization: await this._getAuthorizationHeader(),
50
50
  "X-Fern-Language": "JavaScript",
51
51
  "X-Fern-SDK-Name": "candidhealth",
52
- "X-Fern-SDK-Version": "0.15.0",
52
+ "X-Fern-SDK-Version": "0.16.0",
53
53
  },
54
54
  contentType: "application/json",
55
55
  timeoutMs: 60000,
@@ -89,7 +89,7 @@ class V3 {
89
89
  Authorization: await this._getAuthorizationHeader(),
90
90
  "X-Fern-Language": "JavaScript",
91
91
  "X-Fern-SDK-Name": "candidhealth",
92
- "X-Fern-SDK-Version": "0.15.0",
92
+ "X-Fern-SDK-Version": "0.16.0",
93
93
  },
94
94
  contentType: "application/json",
95
95
  queryParameters: _queryParams,
@@ -48,7 +48,7 @@ class ServiceFacility {
48
48
  Authorization: await this._getAuthorizationHeader(),
49
49
  "X-Fern-Language": "JavaScript",
50
50
  "X-Fern-SDK-Name": "candidhealth",
51
- "X-Fern-SDK-Version": "0.15.0",
51
+ "X-Fern-SDK-Version": "0.16.0",
52
52
  },
53
53
  contentType: "application/json",
54
54
  body: await serializers.EncounterServiceFacilityUpdate.jsonOrThrow(request, {
@@ -49,7 +49,7 @@ class V3 {
49
49
  Authorization: await this._getAuthorizationHeader(),
50
50
  "X-Fern-Language": "JavaScript",
51
51
  "X-Fern-SDK-Name": "candidhealth",
52
- "X-Fern-SDK-Version": "0.15.0",
52
+ "X-Fern-SDK-Version": "0.16.0",
53
53
  },
54
54
  contentType: "application/json",
55
55
  timeoutMs: 60000,
@@ -119,7 +119,7 @@ class V3 {
119
119
  Authorization: await this._getAuthorizationHeader(),
120
120
  "X-Fern-Language": "JavaScript",
121
121
  "X-Fern-SDK-Name": "candidhealth",
122
- "X-Fern-SDK-Version": "0.15.0",
122
+ "X-Fern-SDK-Version": "0.16.0",
123
123
  },
124
124
  contentType: "application/json",
125
125
  queryParameters: _queryParams,
@@ -163,7 +163,7 @@ class V3 {
163
163
  Authorization: await this._getAuthorizationHeader(),
164
164
  "X-Fern-Language": "JavaScript",
165
165
  "X-Fern-SDK-Name": "candidhealth",
166
- "X-Fern-SDK-Version": "0.15.0",
166
+ "X-Fern-SDK-Version": "0.16.0",
167
167
  },
168
168
  contentType: "application/json",
169
169
  timeoutMs: 60000,
@@ -207,7 +207,7 @@ class V3 {
207
207
  Authorization: await this._getAuthorizationHeader(),
208
208
  "X-Fern-Language": "JavaScript",
209
209
  "X-Fern-SDK-Name": "candidhealth",
210
- "X-Fern-SDK-Version": "0.15.0",
210
+ "X-Fern-SDK-Version": "0.16.0",
211
211
  },
212
212
  contentType: "application/json",
213
213
  body: await serializers.tasks.v3.TaskCreateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -237,7 +237,7 @@ class V3 {
237
237
  Authorization: await this._getAuthorizationHeader(),
238
238
  "X-Fern-Language": "JavaScript",
239
239
  "X-Fern-SDK-Name": "candidhealth",
240
- "X-Fern-SDK-Version": "0.15.0",
240
+ "X-Fern-SDK-Version": "0.16.0",
241
241
  },
242
242
  contentType: "application/json",
243
243
  body: await serializers.tasks.v3.TaskUpdateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -92,7 +92,7 @@ class V1 {
92
92
  Authorization: await this._getAuthorizationHeader(),
93
93
  "X-Fern-Language": "JavaScript",
94
94
  "X-Fern-SDK-Name": "candidhealth",
95
- "X-Fern-SDK-Version": "0.15.0",
95
+ "X-Fern-SDK-Version": "0.16.0",
96
96
  },
97
97
  contentType: "application/json",
98
98
  queryParameters: _queryParams,
@@ -126,7 +126,7 @@ class V1 {
126
126
  Authorization: await this._getAuthorizationHeader(),
127
127
  "X-Fern-Language": "JavaScript",
128
128
  "X-Fern-SDK-Name": "candidhealth",
129
- "X-Fern-SDK-Version": "0.15.0",
129
+ "X-Fern-SDK-Version": "0.16.0",
130
130
  },
131
131
  contentType: "application/json",
132
132
  timeoutMs: 60000,
@@ -161,7 +161,7 @@ class V1 {
161
161
  Authorization: await this._getAuthorizationHeader(),
162
162
  "X-Fern-Language": "JavaScript",
163
163
  "X-Fern-SDK-Name": "candidhealth",
164
- "X-Fern-SDK-Version": "0.15.0",
164
+ "X-Fern-SDK-Version": "0.16.0",
165
165
  },
166
166
  contentType: "application/json",
167
167
  body: await serializers.writeOffs.v1.CreateWriteOffsRequest.jsonOrThrow(request, {
@@ -197,7 +197,7 @@ class V1 {
197
197
  Authorization: await this._getAuthorizationHeader(),
198
198
  "X-Fern-Language": "JavaScript",
199
199
  "X-Fern-SDK-Name": "candidhealth",
200
- "X-Fern-SDK-Version": "0.15.0",
200
+ "X-Fern-SDK-Version": "0.16.0",
201
201
  },
202
202
  contentType: "application/json",
203
203
  timeoutMs: 60000,
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export declare type Carc = "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "16" | "18" | "19" | "20" | "21" | "22" | "23" | "24" | "26" | "27" | "29" | "31" | "32" | "33" | "34" | "35" | "39" | "40" | "44" | "45" | "49" | "50" | "51" | "53" | "54" | "55" | "56" | "58" | "59" | "60" | "61" | "66" | "69" | "70" | "74" | "75" | "76" | "78" | "85" | "89" | "90" | "91" | "94" | "95" | "96" | "97" | "100" | "101" | "102" | "103" | "104" | "105" | "106" | "107" | "108" | "109" | "110" | "111" | "112" | "114" | "115" | "116" | "117" | "118" | "119" | "121" | "122" | "128" | "129" | "130" | "131" | "132" | "133" | "134" | "135" | "136" | "137" | "139" | "140" | "142" | "143" | "144" | "146" | "147" | "148" | "149" | "150" | "151" | "152" | "153" | "154" | "155" | "157" | "158" | "159" | "160" | "161" | "163" | "164" | "166" | "167" | "169" | "170" | "171" | "172" | "173" | "174" | "175" | "176" | "177" | "178" | "179" | "180" | "181" | "182" | "183" | "184" | "185" | "186" | "187" | "188" | "189" | "190" | "192" | "193" | "194" | "195" | "197" | "198" | "199" | "200" | "201" | "202" | "203" | "204" | "205" | "206" | "207" | "208" | "209" | "210" | "211" | "212" | "213" | "215" | "216" | "219" | "222" | "223" | "224" | "225" | "226" | "227" | "228" | "229" | "231" | "232" | "233" | "234" | "235" | "236" | "237" | "238" | "239" | "240" | "241" | "242" | "243" | "245" | "246" | "247" | "248" | "249" | "250" | "251" | "252" | "253" | "254" | "256" | "257" | "258" | "259" | "260" | "261" | "262" | "263" | "264" | "265" | "266" | "267" | "268" | "269" | "270" | "271" | "272" | "273" | "274" | "275" | "276" | "277" | "278" | "279" | "280" | "281" | "282" | "283" | "284" | "285" | "286" | "287" | "288" | "289" | "290" | "291" | "292" | "293" | "294" | "295" | "296" | "297" | "298" | "299" | "300" | "301" | "302" | "303" | "304" | "305" | "A0" | "A1" | "A5" | "A6" | "A8" | "B1" | "B4" | "B7" | "B8" | "B9" | "B10" | "B11" | "B12" | "B13" | "B14" | "B15" | "B16" | "B20" | "B22" | "B23" | "P1" | "P2" | "P3" | "P4" | "P5" | "P6" | "P7" | "P8" | "P9" | "P10" | "P11" | "P12" | "P13" | "P14" | "P15" | "P16" | "P17" | "P18" | "P19" | "P20" | "P21" | "P22" | "P23" | "P24" | "P25" | "P26" | "P27" | "P28" | "P29" | "P30" | "P31" | "P32";
4
+ export declare type Carc = "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "16" | "18" | "19" | "20" | "21" | "22" | "23" | "24" | "26" | "27" | "29" | "31" | "32" | "33" | "34" | "35" | "39" | "40" | "44" | "45" | "49" | "50" | "51" | "53" | "54" | "55" | "56" | "58" | "59" | "60" | "61" | "66" | "69" | "70" | "74" | "75" | "76" | "78" | "85" | "89" | "90" | "91" | "94" | "95" | "96" | "97" | "100" | "101" | "102" | "103" | "104" | "105" | "106" | "107" | "108" | "109" | "110" | "111" | "112" | "114" | "115" | "116" | "117" | "118" | "119" | "121" | "122" | "125" | "128" | "129" | "130" | "131" | "132" | "133" | "134" | "135" | "136" | "137" | "139" | "140" | "142" | "143" | "144" | "146" | "147" | "148" | "149" | "150" | "151" | "152" | "153" | "154" | "155" | "157" | "158" | "159" | "160" | "161" | "163" | "164" | "166" | "167" | "169" | "170" | "171" | "172" | "173" | "174" | "175" | "176" | "177" | "178" | "179" | "180" | "181" | "182" | "183" | "184" | "185" | "186" | "187" | "188" | "189" | "190" | "192" | "193" | "194" | "195" | "197" | "198" | "199" | "200" | "201" | "202" | "203" | "204" | "205" | "206" | "207" | "208" | "209" | "210" | "211" | "212" | "213" | "215" | "216" | "219" | "222" | "223" | "224" | "225" | "226" | "227" | "228" | "229" | "231" | "232" | "233" | "234" | "235" | "236" | "237" | "238" | "239" | "240" | "241" | "242" | "243" | "245" | "246" | "247" | "248" | "249" | "250" | "251" | "252" | "253" | "254" | "256" | "257" | "258" | "259" | "260" | "261" | "262" | "263" | "264" | "265" | "266" | "267" | "268" | "269" | "270" | "271" | "272" | "273" | "274" | "275" | "276" | "277" | "278" | "279" | "280" | "281" | "282" | "283" | "284" | "285" | "286" | "287" | "288" | "289" | "290" | "291" | "292" | "293" | "294" | "295" | "296" | "297" | "298" | "299" | "300" | "301" | "302" | "303" | "304" | "305" | "A0" | "A1" | "A5" | "A6" | "A8" | "B1" | "B4" | "B7" | "B8" | "B9" | "B10" | "B11" | "B12" | "B13" | "B14" | "B15" | "B16" | "B20" | "B22" | "B23" | "P1" | "P2" | "P3" | "P4" | "P5" | "P6" | "P7" | "P8" | "P9" | "P10" | "P11" | "P12" | "P13" | "P14" | "P15" | "P16" | "P17" | "P18" | "P19" | "P20" | "P21" | "P22" | "P23" | "P24" | "P25" | "P26" | "P27" | "P28" | "P29" | "P30" | "P31" | "P32";
5
5
  export declare const Carc: {
6
6
  readonly Carc1: "1";
7
7
  readonly Carc2: "2";
@@ -84,6 +84,7 @@ export declare const Carc: {
84
84
  readonly Carc119: "119";
85
85
  readonly Carc121: "121";
86
86
  readonly Carc122: "122";
87
+ readonly Carc125: "125";
87
88
  readonly Carc128: "128";
88
89
  readonly Carc129: "129";
89
90
  readonly Carc130: "130";
@@ -86,6 +86,7 @@ exports.Carc = {
86
86
  Carc119: "119",
87
87
  Carc121: "121",
88
88
  Carc122: "122",
89
+ Carc125: "125",
89
90
  Carc128: "128",
90
91
  Carc129: "129",
91
92
  Carc130: "130",
@@ -7,17 +7,14 @@ import * as core from "../../../../core";
7
7
  export declare const AllocationTarget: core.serialization.Schema<serializers.AllocationTarget.Raw, CandidApi.AllocationTarget>;
8
8
  export declare namespace AllocationTarget {
9
9
  type Raw = AllocationTarget.ServiceLine | AllocationTarget.Claim | AllocationTarget.BillingProviderId | AllocationTarget.Unattributed;
10
- interface ServiceLine {
10
+ interface ServiceLine extends serializers.ServiceLineAllocationTarget.Raw {
11
11
  type: "service_line";
12
- value: serializers.ServiceLineId.Raw;
13
12
  }
14
- interface Claim {
13
+ interface Claim extends serializers.ClaimAllocationTarget.Raw {
15
14
  type: "claim";
16
- value: serializers.ClaimId.Raw;
17
15
  }
18
- interface BillingProviderId {
16
+ interface BillingProviderId extends serializers.BillingProviderAllocationTarget.Raw {
19
17
  type: "billing_provider_id";
20
- value: serializers.ProviderId.Raw;
21
18
  }
22
19
  interface Unattributed {
23
20
  type: "unattributed";
@@ -30,15 +30,9 @@ exports.AllocationTarget = void 0;
30
30
  const core = __importStar(require("../../../../core"));
31
31
  exports.AllocationTarget = core.serialization
32
32
  .union("type", {
33
- service_line: core.serialization.object({
34
- value: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).ServiceLineId),
35
- }),
36
- claim: core.serialization.object({
37
- value: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).ClaimId),
38
- }),
39
- billing_provider_id: core.serialization.object({
40
- value: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).ProviderId),
41
- }),
33
+ service_line: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).ServiceLineAllocationTarget),
34
+ claim: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).ClaimAllocationTarget),
35
+ billing_provider_id: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).BillingProviderAllocationTarget),
42
36
  unattributed: core.serialization.object({}),
43
37
  })
44
38
  .transform({
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../..";
5
+ import * as CandidApi from "../../../../api";
6
+ import * as core from "../../../../core";
7
+ export declare const BillingProviderAllocationTarget: core.serialization.ObjectSchema<serializers.BillingProviderAllocationTarget.Raw, CandidApi.BillingProviderAllocationTarget>;
8
+ export declare namespace BillingProviderAllocationTarget {
9
+ interface Raw {
10
+ billing_provider_id: serializers.ProviderId.Raw;
11
+ }
12
+ }
@@ -0,0 +1,33 @@
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.BillingProviderAllocationTarget = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.BillingProviderAllocationTarget = core.serialization.object({
32
+ billingProviderId: core.serialization.property("billing_provider_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).ProviderId)),
33
+ });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../..";
5
+ import * as CandidApi from "../../../../api";
6
+ import * as core from "../../../../core";
7
+ export declare const ClaimAllocationTarget: core.serialization.ObjectSchema<serializers.ClaimAllocationTarget.Raw, CandidApi.ClaimAllocationTarget>;
8
+ export declare namespace ClaimAllocationTarget {
9
+ interface Raw {
10
+ claim_id: serializers.ClaimId.Raw;
11
+ encounter_id: serializers.EncounterId.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.ClaimAllocationTarget = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.ClaimAllocationTarget = core.serialization.object({
32
+ claimId: core.serialization.property("claim_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).ClaimId)),
33
+ encounterId: core.serialization.property("encounter_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).EncounterId)),
34
+ });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../..";
5
+ import * as CandidApi from "../../../../api";
6
+ import * as core from "../../../../core";
7
+ export declare const ServiceLineAllocationTarget: core.serialization.ObjectSchema<serializers.ServiceLineAllocationTarget.Raw, CandidApi.ServiceLineAllocationTarget>;
8
+ export declare namespace ServiceLineAllocationTarget {
9
+ interface Raw {
10
+ service_line_id: serializers.ServiceLineId.Raw;
11
+ claim_id: serializers.ClaimId.Raw;
12
+ encounter_id: serializers.EncounterId.Raw;
13
+ }
14
+ }