candidhealth 0.15.0 → 0.16.1

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 (289) 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/era/types/EraNotFullyProcessedErrorMessage.d.ts +8 -0
  9. package/api/resources/era/types/EraNotFullyProcessedErrorMessage.js +5 -0
  10. package/api/resources/era/types/index.d.ts +1 -0
  11. package/api/resources/era/types/index.js +1 -0
  12. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  13. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  14. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  15. package/api/resources/financials/types/AllocationCreate.d.ts +5 -0
  16. package/api/resources/financials/types/AllocationTarget.d.ts +8 -6
  17. package/api/resources/financials/types/AllocationTargetCreate.d.ts +5 -0
  18. package/api/resources/financials/types/BillingProviderAllocationTarget.d.ts +7 -0
  19. package/api/resources/financials/types/BillingProviderAllocationTarget.js +5 -0
  20. package/api/resources/financials/types/ClaimAllocationTarget.d.ts +8 -0
  21. package/api/resources/financials/types/ClaimAllocationTarget.js +5 -0
  22. package/api/resources/financials/types/ServiceLineAllocationTarget.d.ts +9 -0
  23. package/api/resources/financials/types/ServiceLineAllocationTarget.js +5 -0
  24. package/api/resources/financials/types/index.d.ts +3 -0
  25. package/api/resources/financials/types/index.js +3 -0
  26. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  27. package/api/resources/index.d.ts +1 -0
  28. package/api/resources/index.js +2 -1
  29. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +17 -3
  30. package/api/resources/insuranceAdjudications/resources/v1/client/create.d.ts +7 -1
  31. package/api/resources/insuranceAdjudications/resources/v1/client/create.js +11 -0
  32. package/api/resources/insurancePayments/client/Client.d.ts +18 -0
  33. package/api/resources/insurancePayments/client/Client.js +18 -0
  34. package/api/resources/insurancePayments/client/index.d.ts +1 -0
  35. package/api/resources/insurancePayments/client/index.js +2 -0
  36. package/api/resources/insurancePayments/index.d.ts +2 -0
  37. package/api/resources/insurancePayments/index.js +18 -0
  38. package/api/resources/insurancePayments/resources/index.d.ts +1 -0
  39. package/api/resources/insurancePayments/resources/index.js +27 -0
  40. package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +48 -0
  41. package/api/resources/insurancePayments/resources/v1/client/Client.js +325 -0
  42. package/api/resources/insurancePayments/resources/v1/client/create.d.ts +28 -0
  43. package/api/resources/insurancePayments/resources/v1/client/create.js +58 -0
  44. package/api/resources/insurancePayments/resources/v1/client/delete.d.ts +34 -0
  45. package/api/resources/insurancePayments/resources/v1/client/delete.js +69 -0
  46. package/api/resources/insurancePayments/resources/v1/client/get.d.ts +34 -0
  47. package/api/resources/insurancePayments/resources/v1/client/get.js +69 -0
  48. package/api/resources/insurancePayments/resources/v1/client/getMulti.d.ts +34 -0
  49. package/api/resources/insurancePayments/resources/v1/client/getMulti.js +69 -0
  50. package/api/resources/insurancePayments/resources/v1/client/index.d.ts +6 -0
  51. package/api/resources/insurancePayments/resources/v1/client/index.js +35 -0
  52. package/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +23 -0
  53. package/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.js +5 -0
  54. package/api/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.d.ts +8 -0
  55. package/api/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.js +5 -0
  56. package/api/resources/insurancePayments/resources/v1/client/requests/index.d.ts +2 -0
  57. package/api/resources/insurancePayments/resources/v1/client/requests/index.js +2 -0
  58. package/api/resources/insurancePayments/resources/v1/client/update.d.ts +34 -0
  59. package/api/resources/insurancePayments/resources/v1/client/update.js +69 -0
  60. package/api/resources/insurancePayments/resources/v1/index.d.ts +2 -0
  61. package/api/resources/insurancePayments/resources/v1/index.js +18 -0
  62. package/api/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +12 -0
  63. package/api/resources/insurancePayments/resources/v1/types/InsurancePayment.js +5 -0
  64. package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.d.ts +11 -0
  65. package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.js +5 -0
  66. package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentId.d.ts +8 -0
  67. package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentId.js +10 -0
  68. package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts +9 -0
  69. package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.js +11 -0
  70. package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.d.ts +7 -0
  71. package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.js +5 -0
  72. package/api/resources/insurancePayments/resources/v1/types/index.d.ts +5 -0
  73. package/api/resources/insurancePayments/resources/v1/types/index.js +21 -0
  74. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  75. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  76. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  77. package/api/resources/patientPayments/resources/v4/client/Client.js +9 -6
  78. package/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +4 -0
  79. package/api/resources/patientRefunds/resources/v1/client/Client.js +9 -6
  80. package/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +4 -0
  81. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  82. package/api/resources/serviceFacility/client/Client.js +1 -1
  83. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  84. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  85. package/api/resources/x12/resources/v1/types/Carc.d.ts +109 -1
  86. package/api/resources/x12/resources/v1/types/Carc.js +108 -0
  87. package/dist/Client.d.ts +3 -0
  88. package/dist/Client.js +23 -18
  89. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  90. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  91. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  92. package/dist/api/resources/eligibility/resources/v2/client/Client.js +1 -1
  93. package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
  94. package/dist/api/resources/era/types/EraNotFullyProcessedErrorMessage.d.ts +8 -0
  95. package/dist/api/resources/era/types/EraNotFullyProcessedErrorMessage.js +5 -0
  96. package/dist/api/resources/era/types/index.d.ts +1 -0
  97. package/dist/api/resources/era/types/index.js +1 -0
  98. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  99. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  100. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  101. package/dist/api/resources/financials/types/AllocationCreate.d.ts +5 -0
  102. package/dist/api/resources/financials/types/AllocationTarget.d.ts +8 -6
  103. package/dist/api/resources/financials/types/AllocationTargetCreate.d.ts +5 -0
  104. package/dist/api/resources/financials/types/BillingProviderAllocationTarget.d.ts +7 -0
  105. package/dist/api/resources/financials/types/BillingProviderAllocationTarget.js +5 -0
  106. package/dist/api/resources/financials/types/ClaimAllocationTarget.d.ts +8 -0
  107. package/dist/api/resources/financials/types/ClaimAllocationTarget.js +5 -0
  108. package/dist/api/resources/financials/types/ServiceLineAllocationTarget.d.ts +9 -0
  109. package/dist/api/resources/financials/types/ServiceLineAllocationTarget.js +5 -0
  110. package/dist/api/resources/financials/types/index.d.ts +3 -0
  111. package/dist/api/resources/financials/types/index.js +3 -0
  112. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  113. package/dist/api/resources/index.d.ts +1 -0
  114. package/dist/api/resources/index.js +2 -1
  115. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +17 -3
  116. package/dist/api/resources/insuranceAdjudications/resources/v1/client/create.d.ts +7 -1
  117. package/dist/api/resources/insuranceAdjudications/resources/v1/client/create.js +11 -0
  118. package/dist/api/resources/insurancePayments/client/Client.d.ts +18 -0
  119. package/dist/api/resources/insurancePayments/client/Client.js +18 -0
  120. package/dist/api/resources/insurancePayments/client/index.d.ts +1 -0
  121. package/dist/api/resources/insurancePayments/client/index.js +2 -0
  122. package/dist/api/resources/insurancePayments/index.d.ts +2 -0
  123. package/dist/api/resources/insurancePayments/index.js +18 -0
  124. package/dist/api/resources/insurancePayments/resources/index.d.ts +1 -0
  125. package/dist/api/resources/insurancePayments/resources/index.js +27 -0
  126. package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +48 -0
  127. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +325 -0
  128. package/dist/api/resources/insurancePayments/resources/v1/client/create.d.ts +28 -0
  129. package/dist/api/resources/insurancePayments/resources/v1/client/create.js +58 -0
  130. package/dist/api/resources/insurancePayments/resources/v1/client/delete.d.ts +34 -0
  131. package/dist/api/resources/insurancePayments/resources/v1/client/delete.js +69 -0
  132. package/dist/api/resources/insurancePayments/resources/v1/client/get.d.ts +34 -0
  133. package/dist/api/resources/insurancePayments/resources/v1/client/get.js +69 -0
  134. package/dist/api/resources/insurancePayments/resources/v1/client/getMulti.d.ts +34 -0
  135. package/dist/api/resources/insurancePayments/resources/v1/client/getMulti.js +69 -0
  136. package/dist/api/resources/insurancePayments/resources/v1/client/index.d.ts +6 -0
  137. package/dist/api/resources/insurancePayments/resources/v1/client/index.js +35 -0
  138. package/dist/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +23 -0
  139. package/dist/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.js +5 -0
  140. package/dist/api/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.d.ts +8 -0
  141. package/dist/api/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.js +5 -0
  142. package/dist/api/resources/insurancePayments/resources/v1/client/requests/index.d.ts +2 -0
  143. package/dist/api/resources/insurancePayments/resources/v1/client/requests/index.js +2 -0
  144. package/dist/api/resources/insurancePayments/resources/v1/client/update.d.ts +34 -0
  145. package/dist/api/resources/insurancePayments/resources/v1/client/update.js +69 -0
  146. package/dist/api/resources/insurancePayments/resources/v1/index.d.ts +2 -0
  147. package/dist/api/resources/insurancePayments/resources/v1/index.js +18 -0
  148. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +12 -0
  149. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePayment.js +5 -0
  150. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.d.ts +11 -0
  151. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.js +5 -0
  152. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentId.d.ts +8 -0
  153. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentId.js +10 -0
  154. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts +9 -0
  155. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.js +11 -0
  156. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.d.ts +7 -0
  157. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.js +5 -0
  158. package/dist/api/resources/insurancePayments/resources/v1/types/index.d.ts +5 -0
  159. package/dist/api/resources/insurancePayments/resources/v1/types/index.js +21 -0
  160. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  161. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  162. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  163. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +9 -6
  164. package/dist/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +4 -0
  165. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +9 -6
  166. package/dist/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +4 -0
  167. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  168. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  169. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  170. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  171. package/dist/api/resources/x12/resources/v1/types/Carc.d.ts +109 -1
  172. package/dist/api/resources/x12/resources/v1/types/Carc.js +108 -0
  173. package/dist/serialization/resources/era/types/EraNotFullyProcessedErrorMessage.d.ts +13 -0
  174. package/dist/serialization/resources/era/types/EraNotFullyProcessedErrorMessage.js +34 -0
  175. package/dist/serialization/resources/era/types/index.d.ts +1 -0
  176. package/dist/serialization/resources/era/types/index.js +1 -0
  177. package/dist/serialization/resources/financials/types/AllocationTarget.d.ts +3 -6
  178. package/dist/serialization/resources/financials/types/AllocationTarget.js +3 -9
  179. package/dist/serialization/resources/financials/types/BillingProviderAllocationTarget.d.ts +12 -0
  180. package/dist/serialization/resources/financials/types/BillingProviderAllocationTarget.js +33 -0
  181. package/dist/serialization/resources/financials/types/ClaimAllocationTarget.d.ts +13 -0
  182. package/dist/serialization/resources/financials/types/ClaimAllocationTarget.js +34 -0
  183. package/dist/serialization/resources/financials/types/ServiceLineAllocationTarget.d.ts +14 -0
  184. package/dist/serialization/resources/financials/types/ServiceLineAllocationTarget.js +35 -0
  185. package/dist/serialization/resources/financials/types/index.d.ts +3 -0
  186. package/dist/serialization/resources/financials/types/index.js +3 -0
  187. package/dist/serialization/resources/index.d.ts +1 -0
  188. package/dist/serialization/resources/index.js +2 -1
  189. package/dist/serialization/resources/insuranceAdjudications/resources/v1/client/create.d.ts +14 -0
  190. package/dist/serialization/resources/insuranceAdjudications/resources/v1/client/create.js +46 -0
  191. package/dist/serialization/resources/insuranceAdjudications/resources/v1/client/index.d.ts +1 -0
  192. package/dist/serialization/resources/insuranceAdjudications/resources/v1/client/index.js +27 -0
  193. package/dist/serialization/resources/insuranceAdjudications/resources/v1/index.d.ts +1 -0
  194. package/dist/serialization/resources/insuranceAdjudications/resources/v1/index.js +1 -0
  195. package/dist/serialization/resources/insurancePayments/index.d.ts +1 -0
  196. package/dist/serialization/resources/insurancePayments/index.js +17 -0
  197. package/dist/serialization/resources/insurancePayments/resources/index.d.ts +1 -0
  198. package/dist/serialization/resources/insurancePayments/resources/index.js +27 -0
  199. package/dist/serialization/resources/insurancePayments/resources/v1/client/create.d.ts +14 -0
  200. package/dist/serialization/resources/insurancePayments/resources/v1/client/create.js +46 -0
  201. package/dist/serialization/resources/insurancePayments/resources/v1/client/delete.d.ts +18 -0
  202. package/dist/serialization/resources/insurancePayments/resources/v1/client/delete.js +51 -0
  203. package/dist/serialization/resources/insurancePayments/resources/v1/client/get.d.ts +18 -0
  204. package/dist/serialization/resources/insurancePayments/resources/v1/client/get.js +51 -0
  205. package/dist/serialization/resources/insurancePayments/resources/v1/client/getMulti.d.ts +18 -0
  206. package/dist/serialization/resources/insurancePayments/resources/v1/client/getMulti.js +51 -0
  207. package/dist/serialization/resources/insurancePayments/resources/v1/client/index.d.ts +6 -0
  208. package/dist/serialization/resources/insurancePayments/resources/v1/client/index.js +35 -0
  209. package/dist/serialization/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.d.ts +13 -0
  210. package/dist/serialization/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.js +34 -0
  211. package/dist/serialization/resources/insurancePayments/resources/v1/client/requests/index.d.ts +1 -0
  212. package/dist/serialization/resources/insurancePayments/resources/v1/client/requests/index.js +5 -0
  213. package/dist/serialization/resources/insurancePayments/resources/v1/client/update.d.ts +18 -0
  214. package/dist/serialization/resources/insurancePayments/resources/v1/client/update.js +51 -0
  215. package/dist/serialization/resources/insurancePayments/resources/v1/index.d.ts +2 -0
  216. package/dist/serialization/resources/insurancePayments/resources/v1/index.js +18 -0
  217. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +17 -0
  218. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePayment.js +38 -0
  219. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.d.ts +16 -0
  220. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.js +37 -0
  221. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentId.d.ts +10 -0
  222. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentId.js +35 -0
  223. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts +10 -0
  224. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.js +31 -0
  225. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.d.ts +12 -0
  226. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.js +35 -0
  227. package/dist/serialization/resources/insurancePayments/resources/v1/types/index.d.ts +5 -0
  228. package/dist/serialization/resources/insurancePayments/resources/v1/types/index.js +21 -0
  229. package/dist/serialization/resources/x12/resources/v1/types/Carc.d.ts +1 -1
  230. package/dist/serialization/resources/x12/resources/v1/types/Carc.js +108 -0
  231. package/package.json +1 -1
  232. package/serialization/resources/era/types/EraNotFullyProcessedErrorMessage.d.ts +13 -0
  233. package/serialization/resources/era/types/EraNotFullyProcessedErrorMessage.js +34 -0
  234. package/serialization/resources/era/types/index.d.ts +1 -0
  235. package/serialization/resources/era/types/index.js +1 -0
  236. package/serialization/resources/financials/types/AllocationTarget.d.ts +3 -6
  237. package/serialization/resources/financials/types/AllocationTarget.js +3 -9
  238. package/serialization/resources/financials/types/BillingProviderAllocationTarget.d.ts +12 -0
  239. package/serialization/resources/financials/types/BillingProviderAllocationTarget.js +33 -0
  240. package/serialization/resources/financials/types/ClaimAllocationTarget.d.ts +13 -0
  241. package/serialization/resources/financials/types/ClaimAllocationTarget.js +34 -0
  242. package/serialization/resources/financials/types/ServiceLineAllocationTarget.d.ts +14 -0
  243. package/serialization/resources/financials/types/ServiceLineAllocationTarget.js +35 -0
  244. package/serialization/resources/financials/types/index.d.ts +3 -0
  245. package/serialization/resources/financials/types/index.js +3 -0
  246. package/serialization/resources/index.d.ts +1 -0
  247. package/serialization/resources/index.js +2 -1
  248. package/serialization/resources/insuranceAdjudications/resources/v1/client/create.d.ts +14 -0
  249. package/serialization/resources/insuranceAdjudications/resources/v1/client/create.js +46 -0
  250. package/serialization/resources/insuranceAdjudications/resources/v1/client/index.d.ts +1 -0
  251. package/serialization/resources/insuranceAdjudications/resources/v1/client/index.js +27 -0
  252. package/serialization/resources/insuranceAdjudications/resources/v1/index.d.ts +1 -0
  253. package/serialization/resources/insuranceAdjudications/resources/v1/index.js +1 -0
  254. package/serialization/resources/insurancePayments/index.d.ts +1 -0
  255. package/serialization/resources/insurancePayments/index.js +17 -0
  256. package/serialization/resources/insurancePayments/resources/index.d.ts +1 -0
  257. package/serialization/resources/insurancePayments/resources/index.js +27 -0
  258. package/serialization/resources/insurancePayments/resources/v1/client/create.d.ts +14 -0
  259. package/serialization/resources/insurancePayments/resources/v1/client/create.js +46 -0
  260. package/serialization/resources/insurancePayments/resources/v1/client/delete.d.ts +18 -0
  261. package/serialization/resources/insurancePayments/resources/v1/client/delete.js +51 -0
  262. package/serialization/resources/insurancePayments/resources/v1/client/get.d.ts +18 -0
  263. package/serialization/resources/insurancePayments/resources/v1/client/get.js +51 -0
  264. package/serialization/resources/insurancePayments/resources/v1/client/getMulti.d.ts +18 -0
  265. package/serialization/resources/insurancePayments/resources/v1/client/getMulti.js +51 -0
  266. package/serialization/resources/insurancePayments/resources/v1/client/index.d.ts +6 -0
  267. package/serialization/resources/insurancePayments/resources/v1/client/index.js +35 -0
  268. package/serialization/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.d.ts +13 -0
  269. package/serialization/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.js +34 -0
  270. package/serialization/resources/insurancePayments/resources/v1/client/requests/index.d.ts +1 -0
  271. package/serialization/resources/insurancePayments/resources/v1/client/requests/index.js +5 -0
  272. package/serialization/resources/insurancePayments/resources/v1/client/update.d.ts +18 -0
  273. package/serialization/resources/insurancePayments/resources/v1/client/update.js +51 -0
  274. package/serialization/resources/insurancePayments/resources/v1/index.d.ts +2 -0
  275. package/serialization/resources/insurancePayments/resources/v1/index.js +18 -0
  276. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +17 -0
  277. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePayment.js +38 -0
  278. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.d.ts +16 -0
  279. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.js +37 -0
  280. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentId.d.ts +10 -0
  281. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentId.js +35 -0
  282. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts +10 -0
  283. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.js +31 -0
  284. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.d.ts +12 -0
  285. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.js +35 -0
  286. package/serialization/resources/insurancePayments/resources/v1/types/index.d.ts +5 -0
  287. package/serialization/resources/insurancePayments/resources/v1/types/index.js +21 -0
  288. package/serialization/resources/x12/resources/v1/types/Carc.d.ts +1 -1
  289. package/serialization/resources/x12/resources/v1/types/Carc.js +108 -0
@@ -0,0 +1,31 @@
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.InsurancePaymentSortField = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.InsurancePaymentSortField = core.serialization.enum_(["amount_cents", "payment_timestamp", "payment_note"]);
@@ -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 InsurancePaymentsPage: core.serialization.ObjectSchema<serializers.insurancePayments.v1.InsurancePaymentsPage.Raw, CandidApi.insurancePayments.v1.InsurancePaymentsPage>;
8
+ export declare namespace InsurancePaymentsPage {
9
+ interface Raw extends serializers.ResourcePage.Raw {
10
+ items: serializers.insurancePayments.v1.InsurancePayment.Raw[];
11
+ }
12
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.InsurancePaymentsPage = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.InsurancePaymentsPage = core.serialization
32
+ .object({
33
+ items: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).insurancePayments.v1.InsurancePayment)),
34
+ })
35
+ .extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ResourcePage));
@@ -0,0 +1,5 @@
1
+ export * from "./InsurancePaymentId";
2
+ export * from "./InsurancePayment";
3
+ export * from "./InsurancePaymentCreate";
4
+ export * from "./InsurancePaymentsPage";
5
+ export * from "./InsurancePaymentSortField";
@@ -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);
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../../../api";
6
6
  import * as core from "../../../../../../core";
7
7
  export declare const Carc: core.serialization.Schema<serializers.x12.v1.Carc.Raw, CandidApi.x12.v1.Carc>;
8
8
  export declare namespace Carc {
9
- type Raw = "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";
9
+ type Raw = "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" | "17" | "25" | "28" | "30" | "36" | "37" | "38" | "41" | "42" | "43" | "46" | "47" | "48" | "52" | "57" | "62" | "63" | "64" | "65" | "67" | "68" | "71" | "72" | "73" | "77" | "79" | "80" | "81" | "82" | "83" | "84" | "86" | "87" | "88" | "92" | "93" | "98" | "99" | "113" | "120" | "123" | "124" | "126" | "127" | "138" | "141" | "145" | "156" | "162" | "165" | "168" | "191" | "196" | "214" | "217" | "218" | "220" | "221" | "230" | "244" | "255" | "A2" | "A3" | "A4" | "A7" | "B2" | "B3" | "B5" | "B6" | "B17" | "B18" | "B19" | "B21" | "D1" | "D2" | "D3" | "D4" | "D5" | "D6" | "D7" | "D8" | "D9" | "D10" | "D11" | "D12" | "D14" | "D15" | "D16" | "D17" | "D18" | "D19" | "D20" | "D21" | "D22" | "D23" | "W1" | "W2" | "W3" | "W4" | "W5" | "W6" | "W7" | "W8" | "W9" | "Y1" | "Y2" | "Y3";
10
10
  }
@@ -110,6 +110,7 @@ exports.Carc = core.serialization.enum_([
110
110
  "119",
111
111
  "121",
112
112
  "122",
113
+ "125",
113
114
  "128",
114
115
  "129",
115
116
  "130",
@@ -323,4 +324,111 @@ exports.Carc = core.serialization.enum_([
323
324
  "P30",
324
325
  "P31",
325
326
  "P32",
327
+ "17",
328
+ "25",
329
+ "28",
330
+ "30",
331
+ "36",
332
+ "37",
333
+ "38",
334
+ "41",
335
+ "42",
336
+ "43",
337
+ "46",
338
+ "47",
339
+ "48",
340
+ "52",
341
+ "57",
342
+ "62",
343
+ "63",
344
+ "64",
345
+ "65",
346
+ "67",
347
+ "68",
348
+ "71",
349
+ "72",
350
+ "73",
351
+ "77",
352
+ "79",
353
+ "80",
354
+ "81",
355
+ "82",
356
+ "83",
357
+ "84",
358
+ "86",
359
+ "87",
360
+ "88",
361
+ "92",
362
+ "93",
363
+ "98",
364
+ "99",
365
+ "113",
366
+ "120",
367
+ "123",
368
+ "124",
369
+ "126",
370
+ "127",
371
+ "138",
372
+ "141",
373
+ "145",
374
+ "156",
375
+ "162",
376
+ "165",
377
+ "168",
378
+ "191",
379
+ "196",
380
+ "214",
381
+ "217",
382
+ "218",
383
+ "220",
384
+ "221",
385
+ "230",
386
+ "244",
387
+ "255",
388
+ "A2",
389
+ "A3",
390
+ "A4",
391
+ "A7",
392
+ "B2",
393
+ "B3",
394
+ "B5",
395
+ "B6",
396
+ "B17",
397
+ "B18",
398
+ "B19",
399
+ "B21",
400
+ "D1",
401
+ "D2",
402
+ "D3",
403
+ "D4",
404
+ "D5",
405
+ "D6",
406
+ "D7",
407
+ "D8",
408
+ "D9",
409
+ "D10",
410
+ "D11",
411
+ "D12",
412
+ "D14",
413
+ "D15",
414
+ "D16",
415
+ "D17",
416
+ "D18",
417
+ "D19",
418
+ "D20",
419
+ "D21",
420
+ "D22",
421
+ "D23",
422
+ "W1",
423
+ "W2",
424
+ "W3",
425
+ "W4",
426
+ "W5",
427
+ "W6",
428
+ "W7",
429
+ "W8",
430
+ "W9",
431
+ "Y1",
432
+ "Y2",
433
+ "Y3",
326
434
  ]);