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,34 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../..";
5
+ import * as core from "../../../../../../core";
6
+ export declare type Error = CandidApi.insurancePayments.v1.delete.Error.EntityNotFoundError | CandidApi.insurancePayments.v1.delete.Error.UnauthorizedError | CandidApi.insurancePayments.v1.delete.Error._Unknown;
7
+ export declare namespace Error {
8
+ interface EntityNotFoundError extends _Utils {
9
+ errorName: "EntityNotFoundError";
10
+ content: CandidApi.EntityNotFoundErrorMessage;
11
+ }
12
+ interface UnauthorizedError extends _Utils {
13
+ errorName: "UnauthorizedError";
14
+ content: CandidApi.UnauthorizedErrorMessage;
15
+ }
16
+ interface _Unknown extends _Utils {
17
+ errorName: void;
18
+ content: core.Fetcher.Error;
19
+ }
20
+ interface _Utils {
21
+ _visit: <_Result>(visitor: CandidApi.insurancePayments.v1.delete.Error._Visitor<_Result>) => _Result;
22
+ }
23
+ interface _Visitor<_Result> {
24
+ entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
25
+ unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => _Result;
26
+ _other: (value: core.Fetcher.Error) => _Result;
27
+ }
28
+ }
29
+ export declare const Error: {
30
+ readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.insurancePayments.v1.delete.Error.EntityNotFoundError;
31
+ readonly unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => CandidApi.insurancePayments.v1.delete.Error.UnauthorizedError;
32
+ readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.insurancePayments.v1.delete.Error._Unknown;
33
+ readonly _visit: <_Result>(value: CandidApi.insurancePayments.v1.delete.Error, visitor: CandidApi.insurancePayments.v1.delete.Error._Visitor<_Result>) => _Result;
34
+ };
@@ -0,0 +1,69 @@
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.Error = void 0;
30
+ const CandidApi = __importStar(require("../../../../.."));
31
+ exports.Error = {
32
+ entityNotFoundError: (value) => {
33
+ return {
34
+ content: value,
35
+ errorName: "EntityNotFoundError",
36
+ _visit: function (visitor) {
37
+ return CandidApi.insurancePayments.v1.delete.Error._visit(this, visitor);
38
+ },
39
+ };
40
+ },
41
+ unauthorizedError: (value) => {
42
+ return {
43
+ content: value,
44
+ errorName: "UnauthorizedError",
45
+ _visit: function (visitor) {
46
+ return CandidApi.insurancePayments.v1.delete.Error._visit(this, visitor);
47
+ },
48
+ };
49
+ },
50
+ _unknown: (fetcherError) => {
51
+ return {
52
+ errorName: undefined,
53
+ content: fetcherError,
54
+ _visit: function (visitor) {
55
+ return CandidApi.insurancePayments.v1.delete.Error._visit(this, visitor);
56
+ },
57
+ };
58
+ },
59
+ _visit: (value, visitor) => {
60
+ switch (value.errorName) {
61
+ case "EntityNotFoundError":
62
+ return visitor.entityNotFoundError(value.content);
63
+ case "UnauthorizedError":
64
+ return visitor.unauthorizedError(value.content);
65
+ default:
66
+ return visitor._other(value);
67
+ }
68
+ },
69
+ };
@@ -0,0 +1,34 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../..";
5
+ import * as core from "../../../../../../core";
6
+ export declare type Error = CandidApi.insurancePayments.v1.get.Error.EntityNotFoundError | CandidApi.insurancePayments.v1.get.Error.UnauthorizedError | CandidApi.insurancePayments.v1.get.Error._Unknown;
7
+ export declare namespace Error {
8
+ interface EntityNotFoundError extends _Utils {
9
+ errorName: "EntityNotFoundError";
10
+ content: CandidApi.EntityNotFoundErrorMessage;
11
+ }
12
+ interface UnauthorizedError extends _Utils {
13
+ errorName: "UnauthorizedError";
14
+ content: CandidApi.UnauthorizedErrorMessage;
15
+ }
16
+ interface _Unknown extends _Utils {
17
+ errorName: void;
18
+ content: core.Fetcher.Error;
19
+ }
20
+ interface _Utils {
21
+ _visit: <_Result>(visitor: CandidApi.insurancePayments.v1.get.Error._Visitor<_Result>) => _Result;
22
+ }
23
+ interface _Visitor<_Result> {
24
+ entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
25
+ unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => _Result;
26
+ _other: (value: core.Fetcher.Error) => _Result;
27
+ }
28
+ }
29
+ export declare const Error: {
30
+ readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.insurancePayments.v1.get.Error.EntityNotFoundError;
31
+ readonly unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => CandidApi.insurancePayments.v1.get.Error.UnauthorizedError;
32
+ readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.insurancePayments.v1.get.Error._Unknown;
33
+ readonly _visit: <_Result>(value: CandidApi.insurancePayments.v1.get.Error, visitor: CandidApi.insurancePayments.v1.get.Error._Visitor<_Result>) => _Result;
34
+ };
@@ -0,0 +1,69 @@
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.Error = void 0;
30
+ const CandidApi = __importStar(require("../../../../.."));
31
+ exports.Error = {
32
+ entityNotFoundError: (value) => {
33
+ return {
34
+ content: value,
35
+ errorName: "EntityNotFoundError",
36
+ _visit: function (visitor) {
37
+ return CandidApi.insurancePayments.v1.get.Error._visit(this, visitor);
38
+ },
39
+ };
40
+ },
41
+ unauthorizedError: (value) => {
42
+ return {
43
+ content: value,
44
+ errorName: "UnauthorizedError",
45
+ _visit: function (visitor) {
46
+ return CandidApi.insurancePayments.v1.get.Error._visit(this, visitor);
47
+ },
48
+ };
49
+ },
50
+ _unknown: (fetcherError) => {
51
+ return {
52
+ errorName: undefined,
53
+ content: fetcherError,
54
+ _visit: function (visitor) {
55
+ return CandidApi.insurancePayments.v1.get.Error._visit(this, visitor);
56
+ },
57
+ };
58
+ },
59
+ _visit: (value, visitor) => {
60
+ switch (value.errorName) {
61
+ case "EntityNotFoundError":
62
+ return visitor.entityNotFoundError(value.content);
63
+ case "UnauthorizedError":
64
+ return visitor.unauthorizedError(value.content);
65
+ default:
66
+ return visitor._other(value);
67
+ }
68
+ },
69
+ };
@@ -0,0 +1,34 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../..";
5
+ import * as core from "../../../../../../core";
6
+ export declare type Error = CandidApi.insurancePayments.v1.getMulti.Error.UnauthorizedError | CandidApi.insurancePayments.v1.getMulti.Error.UnprocessableEntityError | CandidApi.insurancePayments.v1.getMulti.Error._Unknown;
7
+ export declare namespace Error {
8
+ interface UnauthorizedError extends _Utils {
9
+ errorName: "UnauthorizedError";
10
+ content: CandidApi.UnauthorizedErrorMessage;
11
+ }
12
+ interface UnprocessableEntityError extends _Utils {
13
+ errorName: "UnprocessableEntityError";
14
+ content: CandidApi.UnprocessableEntityErrorMessage;
15
+ }
16
+ interface _Unknown extends _Utils {
17
+ errorName: void;
18
+ content: core.Fetcher.Error;
19
+ }
20
+ interface _Utils {
21
+ _visit: <_Result>(visitor: CandidApi.insurancePayments.v1.getMulti.Error._Visitor<_Result>) => _Result;
22
+ }
23
+ interface _Visitor<_Result> {
24
+ unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => _Result;
25
+ unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
26
+ _other: (value: core.Fetcher.Error) => _Result;
27
+ }
28
+ }
29
+ export declare const Error: {
30
+ readonly unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => CandidApi.insurancePayments.v1.getMulti.Error.UnauthorizedError;
31
+ readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.insurancePayments.v1.getMulti.Error.UnprocessableEntityError;
32
+ readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.insurancePayments.v1.getMulti.Error._Unknown;
33
+ readonly _visit: <_Result>(value: CandidApi.insurancePayments.v1.getMulti.Error, visitor: CandidApi.insurancePayments.v1.getMulti.Error._Visitor<_Result>) => _Result;
34
+ };
@@ -0,0 +1,69 @@
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.Error = void 0;
30
+ const CandidApi = __importStar(require("../../../../.."));
31
+ exports.Error = {
32
+ unauthorizedError: (value) => {
33
+ return {
34
+ content: value,
35
+ errorName: "UnauthorizedError",
36
+ _visit: function (visitor) {
37
+ return CandidApi.insurancePayments.v1.getMulti.Error._visit(this, visitor);
38
+ },
39
+ };
40
+ },
41
+ unprocessableEntityError: (value) => {
42
+ return {
43
+ content: value,
44
+ errorName: "UnprocessableEntityError",
45
+ _visit: function (visitor) {
46
+ return CandidApi.insurancePayments.v1.getMulti.Error._visit(this, visitor);
47
+ },
48
+ };
49
+ },
50
+ _unknown: (fetcherError) => {
51
+ return {
52
+ errorName: undefined,
53
+ content: fetcherError,
54
+ _visit: function (visitor) {
55
+ return CandidApi.insurancePayments.v1.getMulti.Error._visit(this, visitor);
56
+ },
57
+ };
58
+ },
59
+ _visit: (value, visitor) => {
60
+ switch (value.errorName) {
61
+ case "UnauthorizedError":
62
+ return visitor.unauthorizedError(value.content);
63
+ case "UnprocessableEntityError":
64
+ return visitor.unprocessableEntityError(value.content);
65
+ default:
66
+ return visitor._other(value);
67
+ }
68
+ },
69
+ };
@@ -0,0 +1,6 @@
1
+ export * from "./requests";
2
+ export * as getMulti from "./getMulti";
3
+ export * as get from "./get";
4
+ export * as create from "./create";
5
+ export * as update from "./update";
6
+ export * as delete from "./delete";
@@ -0,0 +1,35 @@
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
19
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
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.delete = exports.update = exports.create = exports.get = exports.getMulti = void 0;
30
+ __exportStar(require("./requests"), exports);
31
+ exports.getMulti = __importStar(require("./getMulti"));
32
+ exports.get = __importStar(require("./get"));
33
+ exports.create = __importStar(require("./create"));
34
+ exports.update = __importStar(require("./update"));
35
+ exports.delete = __importStar(require("./delete"));
@@ -0,0 +1,23 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../..";
5
+ export interface GetMultiInsurancePaymentRequest {
6
+ /**
7
+ * Defaults to 100. The value must be greater than 0 and less than 1000.
8
+ */
9
+ limit?: number;
10
+ payerUuid?: CandidApi.payers.v3.PayerUuid;
11
+ claimId?: CandidApi.ClaimId;
12
+ serviceLineId?: CandidApi.ServiceLineId;
13
+ billingProviderId?: CandidApi.ProviderId;
14
+ /**
15
+ * Defaults to payment_timestamp
16
+ */
17
+ sort?: CandidApi.insurancePayments.v1.InsurancePaymentSortField;
18
+ /**
19
+ * Sort direction. Defaults to descending order if not provided.
20
+ */
21
+ sortDirection?: CandidApi.SortDirection;
22
+ pageToken?: CandidApi.PageToken;
23
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../..";
5
+ export interface InsurancePaymentUpdate {
6
+ paymentTimestamp?: Date;
7
+ paymentNote?: CandidApi.NoteUpdate;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export { GetMultiInsurancePaymentRequest } from "./GetMultiInsurancePaymentRequest";
2
+ export { InsurancePaymentUpdate } from "./InsurancePaymentUpdate";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,34 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../..";
5
+ import * as core from "../../../../../../core";
6
+ export declare type Error = CandidApi.insurancePayments.v1.update.Error.EntityNotFoundError | CandidApi.insurancePayments.v1.update.Error.UnauthorizedError | CandidApi.insurancePayments.v1.update.Error._Unknown;
7
+ export declare namespace Error {
8
+ interface EntityNotFoundError extends _Utils {
9
+ errorName: "EntityNotFoundError";
10
+ content: CandidApi.EntityNotFoundErrorMessage;
11
+ }
12
+ interface UnauthorizedError extends _Utils {
13
+ errorName: "UnauthorizedError";
14
+ content: CandidApi.UnauthorizedErrorMessage;
15
+ }
16
+ interface _Unknown extends _Utils {
17
+ errorName: void;
18
+ content: core.Fetcher.Error;
19
+ }
20
+ interface _Utils {
21
+ _visit: <_Result>(visitor: CandidApi.insurancePayments.v1.update.Error._Visitor<_Result>) => _Result;
22
+ }
23
+ interface _Visitor<_Result> {
24
+ entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
25
+ unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => _Result;
26
+ _other: (value: core.Fetcher.Error) => _Result;
27
+ }
28
+ }
29
+ export declare const Error: {
30
+ readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.insurancePayments.v1.update.Error.EntityNotFoundError;
31
+ readonly unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => CandidApi.insurancePayments.v1.update.Error.UnauthorizedError;
32
+ readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.insurancePayments.v1.update.Error._Unknown;
33
+ readonly _visit: <_Result>(value: CandidApi.insurancePayments.v1.update.Error, visitor: CandidApi.insurancePayments.v1.update.Error._Visitor<_Result>) => _Result;
34
+ };
@@ -0,0 +1,69 @@
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.Error = void 0;
30
+ const CandidApi = __importStar(require("../../../../.."));
31
+ exports.Error = {
32
+ entityNotFoundError: (value) => {
33
+ return {
34
+ content: value,
35
+ errorName: "EntityNotFoundError",
36
+ _visit: function (visitor) {
37
+ return CandidApi.insurancePayments.v1.update.Error._visit(this, visitor);
38
+ },
39
+ };
40
+ },
41
+ unauthorizedError: (value) => {
42
+ return {
43
+ content: value,
44
+ errorName: "UnauthorizedError",
45
+ _visit: function (visitor) {
46
+ return CandidApi.insurancePayments.v1.update.Error._visit(this, visitor);
47
+ },
48
+ };
49
+ },
50
+ _unknown: (fetcherError) => {
51
+ return {
52
+ errorName: undefined,
53
+ content: fetcherError,
54
+ _visit: function (visitor) {
55
+ return CandidApi.insurancePayments.v1.update.Error._visit(this, visitor);
56
+ },
57
+ };
58
+ },
59
+ _visit: (value, visitor) => {
60
+ switch (value.errorName) {
61
+ case "EntityNotFoundError":
62
+ return visitor.entityNotFoundError(value.content);
63
+ case "UnauthorizedError":
64
+ return visitor.unauthorizedError(value.content);
65
+ default:
66
+ return visitor._other(value);
67
+ }
68
+ },
69
+ };
@@ -0,0 +1,2 @@
1
+ export * from "./types";
2
+ export * from "./client";
@@ -0,0 +1,18 @@
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("./types"), exports);
18
+ __exportStar(require("./client"), exports);
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../..";
5
+ export interface InsurancePayment {
6
+ insurancePaymentId: CandidApi.insurancePayments.v1.InsurancePaymentId;
7
+ payer: CandidApi.payers.v3.Payer;
8
+ amountCents: number;
9
+ paymentTimestamp?: Date;
10
+ paymentNote?: string;
11
+ allocations: CandidApi.Allocation[];
12
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../..";
5
+ export interface InsurancePaymentCreate {
6
+ payerIdentifier: CandidApi.payers.v3.PayerIdentifier;
7
+ amountCents: number;
8
+ paymentTimestamp?: Date;
9
+ paymentNote?: string;
10
+ allocations: CandidApi.AllocationCreate[];
11
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../..";
5
+ export declare type InsurancePaymentId = string & {
6
+ insurancePayments_v1_InsurancePaymentId: void;
7
+ };
8
+ export declare function InsurancePaymentId(value: string): CandidApi.insurancePayments.v1.InsurancePaymentId;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.InsurancePaymentId = void 0;
7
+ function InsurancePaymentId(value) {
8
+ return value;
9
+ }
10
+ exports.InsurancePaymentId = InsurancePaymentId;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type InsurancePaymentSortField = "amount_cents" | "payment_timestamp" | "payment_note";
5
+ export declare const InsurancePaymentSortField: {
6
+ readonly AmountCents: "amount_cents";
7
+ readonly PaymentTimestamp: "payment_timestamp";
8
+ readonly PaymentNote: "payment_note";
9
+ };
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.InsurancePaymentSortField = void 0;
7
+ exports.InsurancePaymentSortField = {
8
+ AmountCents: "amount_cents",
9
+ PaymentTimestamp: "payment_timestamp",
10
+ PaymentNote: "payment_note",
11
+ };
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../..";
5
+ export interface InsurancePaymentsPage extends CandidApi.ResourcePage {
6
+ items: CandidApi.insurancePayments.v1.InsurancePayment[];
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export * from "./InsurancePaymentId";
2
+ export * from "./InsurancePayment";
3
+ export * from "./InsurancePaymentCreate";
4
+ export * from "./InsurancePaymentsPage";
5
+ export * from "./InsurancePaymentSortField";