candidhealth 0.10.0 → 0.11.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 (468) hide show
  1. package/README.md +1 -0
  2. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  3. package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  4. package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +8 -1
  5. package/api/resources/claims/types/ClaimStatus.d.ts +2 -1
  6. package/api/resources/claims/types/ClaimStatus.js +1 -0
  7. package/api/resources/commons/types/SortDirection.d.ts +12 -0
  8. package/api/resources/commons/types/SortDirection.js +10 -0
  9. package/api/resources/commons/types/TaxId.d.ts +8 -0
  10. package/api/resources/commons/types/TaxId.js +10 -0
  11. package/api/resources/commons/types/index.d.ts +2 -0
  12. package/api/resources/commons/types/index.js +2 -0
  13. package/api/resources/eligibility/resources/v2/client/Client.js +1 -1
  14. package/api/resources/encounters/resources/v4/client/Client.js +4 -4
  15. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
  16. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +36 -0
  17. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +5 -1
  18. package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +36 -0
  19. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +5 -1
  20. package/api/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.d.ts +39 -0
  21. package/api/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.js +15 -0
  22. package/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
  23. package/api/resources/encounters/resources/v4/types/index.js +1 -0
  24. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +0 -1
  25. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -2
  26. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +0 -2
  27. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -4
  28. package/api/resources/expectedNetworkStatus/resources/v2/types/Explanation.d.ts +14 -0
  29. package/api/resources/expectedNetworkStatus/resources/v2/types/Explanation.js +16 -0
  30. package/api/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +2 -1
  31. package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +1 -2
  32. package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +29 -0
  33. package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +5 -0
  34. package/api/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +1 -1
  35. package/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +2 -0
  36. package/api/resources/expectedNetworkStatus/resources/v2/types/index.js +2 -0
  37. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  38. package/api/resources/financials/types/AllocationTarget.d.ts +4 -1
  39. package/api/resources/financials/types/AllocationTargetCreate.d.ts +4 -1
  40. package/api/resources/financials/types/PatientTransactionSource.d.ts +13 -0
  41. package/api/resources/financials/types/PatientTransactionSource.js +15 -0
  42. package/api/resources/financials/types/index.d.ts +1 -0
  43. package/api/resources/financials/types/index.js +1 -0
  44. package/api/resources/guarantor/resources/v1/client/Client.d.ts +0 -3
  45. package/api/resources/guarantor/resources/v1/client/Client.js +3 -6
  46. package/api/resources/index.d.ts +1 -0
  47. package/api/resources/index.js +2 -1
  48. package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +0 -3
  49. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -6
  50. package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +1 -0
  51. package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -0
  52. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +0 -1
  53. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -2
  54. package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +0 -3
  55. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +3 -6
  56. package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +1 -1
  57. package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +1 -1
  58. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  59. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  60. package/api/resources/patientPayments/resources/v4/client/Client.d.ts +6 -3
  61. package/api/resources/patientPayments/resources/v4/client/Client.js +76 -7
  62. package/api/resources/patientPayments/resources/v4/client/getMulti.d.ts +22 -0
  63. package/api/resources/patientPayments/resources/v4/client/getMulti.js +47 -0
  64. package/api/resources/patientPayments/resources/v4/client/index.d.ts +1 -0
  65. package/api/resources/patientPayments/resources/v4/client/index.js +2 -1
  66. package/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +24 -0
  67. package/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.js +5 -0
  68. package/api/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
  69. package/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -1
  70. package/api/resources/patientPayments/resources/v4/types/PatientPaymentSortField.d.ts +10 -0
  71. package/api/resources/patientPayments/resources/v4/types/PatientPaymentSortField.js +12 -0
  72. package/api/resources/patientPayments/resources/v4/types/PatientPaymentsPage.d.ts +7 -0
  73. package/api/resources/patientPayments/resources/v4/types/PatientPaymentsPage.js +5 -0
  74. package/api/resources/patientPayments/resources/v4/types/index.d.ts +2 -0
  75. package/api/resources/patientPayments/resources/v4/types/index.js +2 -0
  76. package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +6 -3
  77. package/api/resources/patientRefunds/resources/v1/client/Client.js +76 -7
  78. package/api/resources/patientRefunds/resources/v1/client/getMulti.d.ts +22 -0
  79. package/api/resources/patientRefunds/resources/v1/client/getMulti.js +47 -0
  80. package/api/resources/patientRefunds/resources/v1/client/index.d.ts +1 -0
  81. package/api/resources/patientRefunds/resources/v1/client/index.js +2 -1
  82. package/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +24 -0
  83. package/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.js +5 -0
  84. package/api/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
  85. package/api/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -1
  86. package/api/resources/patientRefunds/resources/v1/types/PatientRefundSortField.d.ts +11 -0
  87. package/api/resources/patientRefunds/resources/v1/types/PatientRefundSortField.js +13 -0
  88. package/api/resources/patientRefunds/resources/v1/types/PatientRefundsPage.d.ts +7 -0
  89. package/api/resources/patientRefunds/resources/v1/types/PatientRefundsPage.js +5 -0
  90. package/api/resources/patientRefunds/resources/v1/types/index.d.ts +2 -0
  91. package/api/resources/patientRefunds/resources/v1/types/index.js +2 -0
  92. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  93. package/api/resources/payers/resources/v3/types/PayerIdentifier.d.ts +14 -0
  94. package/api/resources/payers/resources/v3/types/PayerIdentifier.js +5 -0
  95. package/api/resources/payers/resources/v3/types/PayerInfo.d.ts +8 -0
  96. package/api/resources/payers/resources/v3/types/PayerInfo.js +5 -0
  97. package/api/resources/payers/resources/v3/types/PayerName.d.ts +8 -0
  98. package/api/resources/payers/resources/v3/types/PayerName.js +10 -0
  99. package/api/resources/payers/resources/v3/types/index.d.ts +3 -0
  100. package/api/resources/payers/resources/v3/types/index.js +3 -0
  101. package/api/resources/remits/index.d.ts +1 -0
  102. package/api/resources/remits/index.js +17 -0
  103. package/api/resources/remits/resources/index.d.ts +1 -0
  104. package/api/resources/remits/resources/index.js +27 -0
  105. package/api/resources/remits/resources/v1/index.d.ts +1 -0
  106. package/api/resources/remits/resources/v1/index.js +17 -0
  107. package/api/resources/remits/resources/v1/types/Payee.d.ts +8 -0
  108. package/api/resources/remits/resources/v1/types/Payee.js +5 -0
  109. package/api/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +19 -0
  110. package/api/resources/remits/resources/v1/types/PayeeIdentifier.js +5 -0
  111. package/api/resources/remits/resources/v1/types/index.d.ts +2 -0
  112. package/api/resources/remits/resources/v1/types/index.js +18 -0
  113. package/api/resources/tasks/resources/v3/client/Client.d.ts +0 -20
  114. package/api/resources/tasks/resources/v3/client/Client.js +5 -25
  115. package/api/resources/writeOffs/resources/v1/client/Client.d.ts +7 -4
  116. package/api/resources/writeOffs/resources/v1/client/Client.js +61 -8
  117. package/api/resources/writeOffs/resources/v1/client/getMulti.d.ts +22 -0
  118. package/api/resources/writeOffs/resources/v1/client/getMulti.js +47 -0
  119. package/api/resources/writeOffs/resources/v1/client/index.d.ts +1 -0
  120. package/api/resources/writeOffs/resources/v1/client/index.js +2 -1
  121. package/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +21 -0
  122. package/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.js +5 -0
  123. package/api/resources/writeOffs/resources/v1/client/requests/index.d.ts +1 -0
  124. package/api/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.d.ts +7 -0
  125. package/api/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js +5 -0
  126. package/api/resources/writeOffs/resources/v1/types/WriteOff.d.ts +2 -1
  127. package/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +2 -1
  128. package/api/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +10 -0
  129. package/api/resources/writeOffs/resources/v1/types/WriteOffSortField.js +12 -0
  130. package/api/resources/writeOffs/resources/v1/types/WriteOffsPage.d.ts +7 -0
  131. package/api/resources/writeOffs/resources/v1/types/WriteOffsPage.js +5 -0
  132. package/api/resources/writeOffs/resources/v1/types/index.d.ts +3 -0
  133. package/api/resources/writeOffs/resources/v1/types/index.js +3 -0
  134. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  135. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  136. package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +8 -1
  137. package/dist/api/resources/claims/types/ClaimStatus.d.ts +2 -1
  138. package/dist/api/resources/claims/types/ClaimStatus.js +1 -0
  139. package/dist/api/resources/commons/types/SortDirection.d.ts +12 -0
  140. package/dist/api/resources/commons/types/SortDirection.js +10 -0
  141. package/dist/api/resources/commons/types/TaxId.d.ts +8 -0
  142. package/dist/api/resources/commons/types/TaxId.js +10 -0
  143. package/dist/api/resources/commons/types/index.d.ts +2 -0
  144. package/dist/api/resources/commons/types/index.js +2 -0
  145. package/dist/api/resources/eligibility/resources/v2/client/Client.js +1 -1
  146. package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
  147. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
  148. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +36 -0
  149. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +5 -1
  150. package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +36 -0
  151. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +5 -1
  152. package/dist/api/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.d.ts +39 -0
  153. package/dist/api/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.js +15 -0
  154. package/dist/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
  155. package/dist/api/resources/encounters/resources/v4/types/index.js +1 -0
  156. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +0 -1
  157. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -2
  158. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +0 -2
  159. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -4
  160. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/Explanation.d.ts +14 -0
  161. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/Explanation.js +16 -0
  162. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +2 -1
  163. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +1 -2
  164. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +29 -0
  165. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +5 -0
  166. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +1 -1
  167. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +2 -0
  168. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.js +2 -0
  169. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  170. package/dist/api/resources/financials/types/AllocationTarget.d.ts +4 -1
  171. package/dist/api/resources/financials/types/AllocationTargetCreate.d.ts +4 -1
  172. package/dist/api/resources/financials/types/PatientTransactionSource.d.ts +13 -0
  173. package/dist/api/resources/financials/types/PatientTransactionSource.js +15 -0
  174. package/dist/api/resources/financials/types/index.d.ts +1 -0
  175. package/dist/api/resources/financials/types/index.js +1 -0
  176. package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +0 -3
  177. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -6
  178. package/dist/api/resources/index.d.ts +1 -0
  179. package/dist/api/resources/index.js +2 -1
  180. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +0 -3
  181. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -6
  182. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +1 -0
  183. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -0
  184. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +0 -1
  185. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -2
  186. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +0 -3
  187. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +3 -6
  188. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +1 -1
  189. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +1 -1
  190. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  191. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  192. package/dist/api/resources/patientPayments/resources/v4/client/Client.d.ts +6 -3
  193. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +76 -7
  194. package/dist/api/resources/patientPayments/resources/v4/client/getMulti.d.ts +22 -0
  195. package/dist/api/resources/patientPayments/resources/v4/client/getMulti.js +47 -0
  196. package/dist/api/resources/patientPayments/resources/v4/client/index.d.ts +1 -0
  197. package/dist/api/resources/patientPayments/resources/v4/client/index.js +2 -1
  198. package/dist/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +24 -0
  199. package/dist/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.js +5 -0
  200. package/dist/api/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
  201. package/dist/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -1
  202. package/dist/api/resources/patientPayments/resources/v4/types/PatientPaymentSortField.d.ts +10 -0
  203. package/dist/api/resources/patientPayments/resources/v4/types/PatientPaymentSortField.js +12 -0
  204. package/dist/api/resources/patientPayments/resources/v4/types/PatientPaymentsPage.d.ts +7 -0
  205. package/dist/api/resources/patientPayments/resources/v4/types/PatientPaymentsPage.js +5 -0
  206. package/dist/api/resources/patientPayments/resources/v4/types/index.d.ts +2 -0
  207. package/dist/api/resources/patientPayments/resources/v4/types/index.js +2 -0
  208. package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +6 -3
  209. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +76 -7
  210. package/dist/api/resources/patientRefunds/resources/v1/client/getMulti.d.ts +22 -0
  211. package/dist/api/resources/patientRefunds/resources/v1/client/getMulti.js +47 -0
  212. package/dist/api/resources/patientRefunds/resources/v1/client/index.d.ts +1 -0
  213. package/dist/api/resources/patientRefunds/resources/v1/client/index.js +2 -1
  214. package/dist/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +24 -0
  215. package/dist/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.js +5 -0
  216. package/dist/api/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
  217. package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -1
  218. package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefundSortField.d.ts +11 -0
  219. package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefundSortField.js +13 -0
  220. package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefundsPage.d.ts +7 -0
  221. package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefundsPage.js +5 -0
  222. package/dist/api/resources/patientRefunds/resources/v1/types/index.d.ts +2 -0
  223. package/dist/api/resources/patientRefunds/resources/v1/types/index.js +2 -0
  224. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  225. package/dist/api/resources/payers/resources/v3/types/PayerIdentifier.d.ts +14 -0
  226. package/dist/api/resources/payers/resources/v3/types/PayerIdentifier.js +5 -0
  227. package/dist/api/resources/payers/resources/v3/types/PayerInfo.d.ts +8 -0
  228. package/dist/api/resources/payers/resources/v3/types/PayerInfo.js +5 -0
  229. package/dist/api/resources/payers/resources/v3/types/PayerName.d.ts +8 -0
  230. package/dist/api/resources/payers/resources/v3/types/PayerName.js +10 -0
  231. package/dist/api/resources/payers/resources/v3/types/index.d.ts +3 -0
  232. package/dist/api/resources/payers/resources/v3/types/index.js +3 -0
  233. package/dist/api/resources/remits/index.d.ts +1 -0
  234. package/dist/api/resources/remits/index.js +17 -0
  235. package/dist/api/resources/remits/resources/index.d.ts +1 -0
  236. package/dist/api/resources/remits/resources/index.js +27 -0
  237. package/dist/api/resources/remits/resources/v1/index.d.ts +1 -0
  238. package/dist/api/resources/remits/resources/v1/index.js +17 -0
  239. package/dist/api/resources/remits/resources/v1/types/Payee.d.ts +8 -0
  240. package/dist/api/resources/remits/resources/v1/types/Payee.js +5 -0
  241. package/dist/api/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +19 -0
  242. package/dist/api/resources/remits/resources/v1/types/PayeeIdentifier.js +5 -0
  243. package/dist/api/resources/remits/resources/v1/types/index.d.ts +2 -0
  244. package/dist/api/resources/remits/resources/v1/types/index.js +18 -0
  245. package/dist/api/resources/tasks/resources/v3/client/Client.d.ts +0 -20
  246. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -25
  247. package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +7 -4
  248. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +61 -8
  249. package/dist/api/resources/writeOffs/resources/v1/client/getMulti.d.ts +22 -0
  250. package/dist/api/resources/writeOffs/resources/v1/client/getMulti.js +47 -0
  251. package/dist/api/resources/writeOffs/resources/v1/client/index.d.ts +1 -0
  252. package/dist/api/resources/writeOffs/resources/v1/client/index.js +2 -1
  253. package/dist/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +21 -0
  254. package/dist/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.js +5 -0
  255. package/dist/api/resources/writeOffs/resources/v1/client/requests/index.d.ts +1 -0
  256. package/dist/api/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.d.ts +7 -0
  257. package/dist/api/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js +5 -0
  258. package/dist/api/resources/writeOffs/resources/v1/types/WriteOff.d.ts +2 -1
  259. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +2 -1
  260. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +10 -0
  261. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffSortField.js +12 -0
  262. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffsPage.d.ts +7 -0
  263. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffsPage.js +5 -0
  264. package/dist/api/resources/writeOffs/resources/v1/types/index.d.ts +3 -0
  265. package/dist/api/resources/writeOffs/resources/v1/types/index.js +3 -0
  266. package/dist/serialization/resources/claims/types/ClaimStatus.d.ts +1 -1
  267. package/dist/serialization/resources/claims/types/ClaimStatus.js +1 -0
  268. package/dist/serialization/resources/commons/types/SortDirection.d.ts +10 -0
  269. package/dist/serialization/resources/commons/types/SortDirection.js +31 -0
  270. package/dist/serialization/resources/commons/types/TaxId.d.ts +10 -0
  271. package/dist/serialization/resources/commons/types/TaxId.js +37 -0
  272. package/dist/serialization/resources/commons/types/index.d.ts +2 -0
  273. package/dist/serialization/resources/commons/types/index.js +2 -0
  274. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +5 -0
  275. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +7 -0
  276. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +5 -0
  277. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.js +7 -0
  278. package/dist/serialization/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.d.ts +10 -0
  279. package/dist/serialization/resources/{writeOffs/resources/v1/client/create.js → encounters/resources/v4/types/ServiceAuthorizationExceptionCode.js} +2 -2
  280. package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
  281. package/dist/serialization/resources/encounters/resources/v4/types/index.js +1 -0
  282. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/Explanation.d.ts +10 -0
  283. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/Explanation.js +40 -0
  284. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +2 -1
  285. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.js +2 -1
  286. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +1 -1
  287. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.js +1 -1
  288. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +20 -0
  289. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +42 -0
  290. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +1 -1
  291. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.js +1 -1
  292. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +2 -0
  293. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +2 -0
  294. package/dist/serialization/resources/financials/types/AllocationTarget.d.ts +4 -1
  295. package/dist/serialization/resources/financials/types/AllocationTarget.js +1 -0
  296. package/dist/serialization/resources/financials/types/AllocationTargetCreate.d.ts +4 -1
  297. package/dist/serialization/resources/financials/types/AllocationTargetCreate.js +1 -0
  298. package/dist/serialization/resources/financials/types/PatientTransactionSource.d.ts +10 -0
  299. package/dist/serialization/resources/financials/types/PatientTransactionSource.js +31 -0
  300. package/dist/serialization/resources/financials/types/index.d.ts +1 -0
  301. package/dist/serialization/resources/financials/types/index.js +1 -0
  302. package/dist/serialization/resources/index.d.ts +1 -0
  303. package/dist/serialization/resources/index.js +2 -1
  304. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +1 -0
  305. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +1 -0
  306. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -0
  307. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +1 -0
  308. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +0 -1
  309. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +0 -1
  310. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -2
  311. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +2 -2
  312. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +1 -1
  313. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +1 -1
  314. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +1 -1
  315. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +1 -1
  316. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -1
  317. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +2 -1
  318. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPaymentSortField.d.ts +10 -0
  319. package/{serialization/resources/writeOffs/resources/v1/client/create.js → dist/serialization/resources/patientPayments/resources/v4/types/PatientPaymentSortField.js} +2 -2
  320. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPaymentsPage.d.ts +12 -0
  321. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPaymentsPage.js +35 -0
  322. package/dist/serialization/resources/patientPayments/resources/v4/types/index.d.ts +2 -0
  323. package/dist/serialization/resources/patientPayments/resources/v4/types/index.js +2 -0
  324. package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -1
  325. package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.js +2 -1
  326. package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefundSortField.d.ts +10 -0
  327. package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefundSortField.js +31 -0
  328. package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefundsPage.d.ts +12 -0
  329. package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefundsPage.js +35 -0
  330. package/dist/serialization/resources/patientRefunds/resources/v1/types/index.d.ts +2 -0
  331. package/dist/serialization/resources/patientRefunds/resources/v1/types/index.js +2 -0
  332. package/dist/serialization/resources/payers/resources/v3/types/PayerIdentifier.d.ts +17 -0
  333. package/dist/serialization/resources/payers/resources/v3/types/PayerIdentifier.js +41 -0
  334. package/dist/serialization/resources/payers/resources/v3/types/PayerInfo.d.ts +13 -0
  335. package/dist/serialization/resources/payers/resources/v3/types/PayerInfo.js +34 -0
  336. package/dist/serialization/resources/payers/resources/v3/types/PayerName.d.ts +10 -0
  337. package/dist/serialization/resources/payers/resources/v3/types/PayerName.js +35 -0
  338. package/dist/serialization/resources/payers/resources/v3/types/index.d.ts +3 -0
  339. package/dist/serialization/resources/payers/resources/v3/types/index.js +3 -0
  340. package/dist/serialization/resources/remits/index.d.ts +1 -0
  341. package/dist/serialization/resources/remits/index.js +17 -0
  342. package/dist/serialization/resources/remits/resources/index.d.ts +1 -0
  343. package/dist/serialization/resources/remits/resources/index.js +27 -0
  344. package/dist/serialization/resources/remits/resources/v1/index.d.ts +1 -0
  345. package/dist/serialization/resources/remits/resources/v1/index.js +17 -0
  346. package/dist/serialization/resources/remits/resources/v1/types/Payee.d.ts +13 -0
  347. package/dist/serialization/resources/remits/resources/v1/types/Payee.js +34 -0
  348. package/dist/serialization/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +22 -0
  349. package/dist/serialization/resources/remits/resources/v1/types/PayeeIdentifier.js +46 -0
  350. package/dist/serialization/resources/remits/resources/v1/types/index.d.ts +2 -0
  351. package/dist/serialization/resources/remits/resources/v1/types/index.js +18 -0
  352. package/dist/serialization/resources/writeOffs/resources/v1/client/index.d.ts +0 -1
  353. package/dist/serialization/resources/writeOffs/resources/v1/client/index.js +0 -14
  354. package/dist/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.d.ts +12 -0
  355. package/dist/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js +33 -0
  356. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOff.d.ts +2 -1
  357. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOff.js +2 -1
  358. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +2 -1
  359. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +2 -1
  360. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +10 -0
  361. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.js +31 -0
  362. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffsPage.d.ts +12 -0
  363. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffsPage.js +35 -0
  364. package/dist/serialization/resources/writeOffs/resources/v1/types/index.d.ts +3 -0
  365. package/dist/serialization/resources/writeOffs/resources/v1/types/index.js +3 -0
  366. package/package.json +1 -1
  367. package/serialization/resources/claims/types/ClaimStatus.d.ts +1 -1
  368. package/serialization/resources/claims/types/ClaimStatus.js +1 -0
  369. package/serialization/resources/commons/types/SortDirection.d.ts +10 -0
  370. package/serialization/resources/commons/types/SortDirection.js +31 -0
  371. package/serialization/resources/commons/types/TaxId.d.ts +10 -0
  372. package/serialization/resources/commons/types/TaxId.js +37 -0
  373. package/serialization/resources/commons/types/index.d.ts +2 -0
  374. package/serialization/resources/commons/types/index.js +2 -0
  375. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +5 -0
  376. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +7 -0
  377. package/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +5 -0
  378. package/serialization/resources/encounters/resources/v4/types/EncounterBase.js +7 -0
  379. package/serialization/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.d.ts +10 -0
  380. package/serialization/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.js +31 -0
  381. package/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
  382. package/serialization/resources/encounters/resources/v4/types/index.js +1 -0
  383. package/serialization/resources/expectedNetworkStatus/resources/v2/types/Explanation.d.ts +10 -0
  384. package/serialization/resources/expectedNetworkStatus/resources/v2/types/Explanation.js +40 -0
  385. package/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +2 -1
  386. package/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.js +2 -1
  387. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +1 -1
  388. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.js +1 -1
  389. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +20 -0
  390. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +42 -0
  391. package/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +1 -1
  392. package/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.js +1 -1
  393. package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +2 -0
  394. package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +2 -0
  395. package/serialization/resources/financials/types/AllocationTarget.d.ts +4 -1
  396. package/serialization/resources/financials/types/AllocationTarget.js +1 -0
  397. package/serialization/resources/financials/types/AllocationTargetCreate.d.ts +4 -1
  398. package/serialization/resources/financials/types/AllocationTargetCreate.js +1 -0
  399. package/serialization/resources/financials/types/PatientTransactionSource.d.ts +10 -0
  400. package/serialization/resources/financials/types/PatientTransactionSource.js +31 -0
  401. package/serialization/resources/financials/types/index.d.ts +1 -0
  402. package/serialization/resources/financials/types/index.js +1 -0
  403. package/serialization/resources/index.d.ts +1 -0
  404. package/serialization/resources/index.js +2 -1
  405. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +1 -0
  406. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +1 -0
  407. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -0
  408. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +1 -0
  409. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +0 -1
  410. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +0 -1
  411. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -2
  412. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +2 -2
  413. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +1 -1
  414. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +1 -1
  415. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +1 -1
  416. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +1 -1
  417. package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -1
  418. package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +2 -1
  419. package/serialization/resources/patientPayments/resources/v4/types/PatientPaymentSortField.d.ts +10 -0
  420. package/serialization/resources/patientPayments/resources/v4/types/PatientPaymentSortField.js +31 -0
  421. package/serialization/resources/patientPayments/resources/v4/types/PatientPaymentsPage.d.ts +12 -0
  422. package/serialization/resources/patientPayments/resources/v4/types/PatientPaymentsPage.js +35 -0
  423. package/serialization/resources/patientPayments/resources/v4/types/index.d.ts +2 -0
  424. package/serialization/resources/patientPayments/resources/v4/types/index.js +2 -0
  425. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -1
  426. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.js +2 -1
  427. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefundSortField.d.ts +10 -0
  428. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefundSortField.js +31 -0
  429. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefundsPage.d.ts +12 -0
  430. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefundsPage.js +35 -0
  431. package/serialization/resources/patientRefunds/resources/v1/types/index.d.ts +2 -0
  432. package/serialization/resources/patientRefunds/resources/v1/types/index.js +2 -0
  433. package/serialization/resources/payers/resources/v3/types/PayerIdentifier.d.ts +17 -0
  434. package/serialization/resources/payers/resources/v3/types/PayerIdentifier.js +41 -0
  435. package/serialization/resources/payers/resources/v3/types/PayerInfo.d.ts +13 -0
  436. package/serialization/resources/payers/resources/v3/types/PayerInfo.js +34 -0
  437. package/serialization/resources/payers/resources/v3/types/PayerName.d.ts +10 -0
  438. package/serialization/resources/payers/resources/v3/types/PayerName.js +35 -0
  439. package/serialization/resources/payers/resources/v3/types/index.d.ts +3 -0
  440. package/serialization/resources/payers/resources/v3/types/index.js +3 -0
  441. package/serialization/resources/remits/index.d.ts +1 -0
  442. package/serialization/resources/remits/index.js +17 -0
  443. package/serialization/resources/remits/resources/index.d.ts +1 -0
  444. package/serialization/resources/remits/resources/index.js +27 -0
  445. package/serialization/resources/remits/resources/v1/index.d.ts +1 -0
  446. package/serialization/resources/remits/resources/v1/index.js +17 -0
  447. package/serialization/resources/remits/resources/v1/types/Payee.d.ts +13 -0
  448. package/serialization/resources/remits/resources/v1/types/Payee.js +34 -0
  449. package/serialization/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +22 -0
  450. package/serialization/resources/remits/resources/v1/types/PayeeIdentifier.js +46 -0
  451. package/serialization/resources/remits/resources/v1/types/index.d.ts +2 -0
  452. package/serialization/resources/remits/resources/v1/types/index.js +18 -0
  453. package/serialization/resources/writeOffs/resources/v1/client/index.d.ts +0 -1
  454. package/serialization/resources/writeOffs/resources/v1/client/index.js +0 -14
  455. package/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.d.ts +12 -0
  456. package/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js +33 -0
  457. package/serialization/resources/writeOffs/resources/v1/types/WriteOff.d.ts +2 -1
  458. package/serialization/resources/writeOffs/resources/v1/types/WriteOff.js +2 -1
  459. package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +2 -1
  460. package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +2 -1
  461. package/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +10 -0
  462. package/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.js +31 -0
  463. package/serialization/resources/writeOffs/resources/v1/types/WriteOffsPage.d.ts +12 -0
  464. package/serialization/resources/writeOffs/resources/v1/types/WriteOffsPage.js +35 -0
  465. package/serialization/resources/writeOffs/resources/v1/types/index.d.ts +3 -0
  466. package/serialization/resources/writeOffs/resources/v1/types/index.js +3 -0
  467. package/dist/serialization/resources/writeOffs/resources/v1/client/create.d.ts +0 -10
  468. package/serialization/resources/writeOffs/resources/v1/client/create.d.ts +0 -10
package/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  ## candid-node: A [Candid Health](https://joincandidhealth.com) TypeScript client
2
2
 
3
3
  [![npm](https://img.shields.io/npm/v/candidhealth)](https://www.npmjs.com/package/candidhealth)
4
+ [![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-SDK%20generated%20by%20Fern-brightgreen)](https://buildwithfern.com/?utm_source=candidhealth/candid-node/readme)
4
5
 
5
6
  ### Installation
6
7
 
@@ -62,7 +62,7 @@ class V2 {
62
62
  Authorization: await this._getAuthorizationHeader(),
63
63
  "X-Fern-Language": "JavaScript",
64
64
  "X-Fern-SDK-Name": "candidhealth",
65
- "X-Fern-SDK-Version": "0.10.0",
65
+ "X-Fern-SDK-Version": "0.11.0",
66
66
  },
67
67
  contentType: "application/json",
68
68
  body: await serializers.auth.v2.AuthGetTokenRequest.jsonOrThrow(request, {
@@ -48,7 +48,7 @@ class V2 {
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.10.0",
51
+ "X-Fern-SDK-Version": "0.11.0",
52
52
  },
53
53
  contentType: "application/json",
54
54
  body: await serializers.billingNotes.v2.StandaloneBillingNoteCreate.jsonOrThrow(request, {
@@ -17,6 +17,13 @@ import * as CandidApi from "../../../../..";
17
17
  * payerResponsibility: CandidApi.ClaimSubmissionPayerResponsibilityType.Primary
18
18
  * }]
19
19
  * }
20
+ *
21
+ * @example
22
+ * {
23
+ * claimCreatedAt: new Date("2023-01-01T12:00:00.000Z"),
24
+ * patientControlNumber: "PATIENT_CONTROL_NUMBER",
25
+ * submissionRecords: []
26
+ * }
20
27
  */
21
28
  export interface ExternalClaimSubmissionCreate {
22
29
  /** When the claim was created in the external system. */
@@ -25,7 +32,7 @@ export interface ExternalClaimSubmissionCreate {
25
32
  patientControlNumber: string;
26
33
  /**
27
34
  * A successful claim submission record will be created for each value provided.
28
- * Must contain at least one item.
35
+ * An empty list may be provided for cases where the claim originated in an external system but was never submitted to a payer.
29
36
  *
30
37
  */
31
38
  submissionRecords: CandidApi.claimSubmission.v1.ClaimSubmissionRecordCreate[];
@@ -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 ClaimStatus = "biller_received" | "coded" | "submitted_to_payer" | "missing_information" | "not_billable" | "waiting_for_provider" | "era_received" | "rejected" | "denied" | "paid" | "paid_incorrectly" | "finalized_paid" | "finalized_denied" | "held_by_customer";
4
+ export declare type ClaimStatus = "biller_received" | "coded" | "submitted_to_payer" | "missing_information" | "not_billable" | "waiting_for_provider" | "era_received" | "rejected" | "denied" | "paid" | "paid_incorrectly" | "finalized_paid" | "finalized_denied" | "held_by_customer" | "era_requires_review";
5
5
  export declare const ClaimStatus: {
6
6
  readonly BillerReceived: "biller_received";
7
7
  readonly Coded: "coded";
@@ -17,4 +17,5 @@ export declare const ClaimStatus: {
17
17
  readonly FinalizedPaid: "finalized_paid";
18
18
  readonly FinalizedDenied: "finalized_denied";
19
19
  readonly HeldByCustomer: "held_by_customer";
20
+ readonly EraRequiresReview: "era_requires_review";
20
21
  };
@@ -19,4 +19,5 @@ exports.ClaimStatus = {
19
19
  FinalizedPaid: "finalized_paid",
20
20
  FinalizedDenied: "finalized_denied",
21
21
  HeldByCustomer: "held_by_customer",
22
+ EraRequiresReview: "era_requires_review",
22
23
  };
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * CandidApi.SortDirection.Asc
7
+ */
8
+ export declare type SortDirection = "asc" | "desc";
9
+ export declare const SortDirection: {
10
+ readonly Asc: "asc";
11
+ readonly Desc: "desc";
12
+ };
@@ -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.SortDirection = void 0;
7
+ exports.SortDirection = {
8
+ Asc: "asc",
9
+ Desc: "desc",
10
+ };
@@ -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 TaxId = string & {
6
+ TaxId: void;
7
+ };
8
+ export declare function TaxId(value: string): CandidApi.TaxId;
@@ -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.TaxId = void 0;
7
+ function TaxId(value) {
8
+ return value;
9
+ }
10
+ exports.TaxId = TaxId;
@@ -5,6 +5,7 @@ export * from "./ServiceLineId";
5
5
  export * from "./PatientExternalId";
6
6
  export * from "./EncounterExternalId";
7
7
  export * from "./Npi";
8
+ export * from "./TaxId";
8
9
  export * from "./WorkQueueId";
9
10
  export * from "./UserId";
10
11
  export * from "./TaskId";
@@ -14,6 +15,7 @@ export * from "./ProviderId";
14
15
  export * from "./InvoiceId";
15
16
  export * from "./LinkUrl";
16
17
  export * from "./PageToken";
18
+ export * from "./SortDirection";
17
19
  export * from "./Date_";
18
20
  export * from "./DateRangeOptionalEnd";
19
21
  export * from "./Decimal";
@@ -21,6 +21,7 @@ __exportStar(require("./ServiceLineId"), exports);
21
21
  __exportStar(require("./PatientExternalId"), exports);
22
22
  __exportStar(require("./EncounterExternalId"), exports);
23
23
  __exportStar(require("./Npi"), exports);
24
+ __exportStar(require("./TaxId"), exports);
24
25
  __exportStar(require("./WorkQueueId"), exports);
25
26
  __exportStar(require("./UserId"), exports);
26
27
  __exportStar(require("./TaskId"), exports);
@@ -30,6 +31,7 @@ __exportStar(require("./ProviderId"), exports);
30
31
  __exportStar(require("./InvoiceId"), exports);
31
32
  __exportStar(require("./LinkUrl"), exports);
32
33
  __exportStar(require("./PageToken"), exports);
34
+ __exportStar(require("./SortDirection"), exports);
33
35
  __exportStar(require("./Date_"), exports);
34
36
  __exportStar(require("./DateRangeOptionalEnd"), exports);
35
37
  __exportStar(require("./Decimal"), exports);
@@ -65,7 +65,7 @@ class V2 {
65
65
  Authorization: await this._getAuthorizationHeader(),
66
66
  "X-Fern-Language": "JavaScript",
67
67
  "X-Fern-SDK-Name": "candidhealth",
68
- "X-Fern-SDK-Version": "0.10.0",
68
+ "X-Fern-SDK-Version": "0.11.0",
69
69
  },
70
70
  contentType: "application/json",
71
71
  body: request,
@@ -103,7 +103,7 @@ class V4 {
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.10.0",
106
+ "X-Fern-SDK-Version": "0.11.0",
107
107
  },
108
108
  contentType: "application/json",
109
109
  queryParameters: _queryParams,
@@ -133,7 +133,7 @@ class V4 {
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.10.0",
136
+ "X-Fern-SDK-Version": "0.11.0",
137
137
  },
138
138
  contentType: "application/json",
139
139
  timeoutMs: 60000,
@@ -162,7 +162,7 @@ class V4 {
162
162
  Authorization: await this._getAuthorizationHeader(),
163
163
  "X-Fern-Language": "JavaScript",
164
164
  "X-Fern-SDK-Name": "candidhealth",
165
- "X-Fern-SDK-Version": "0.10.0",
165
+ "X-Fern-SDK-Version": "0.11.0",
166
166
  },
167
167
  contentType: "application/json",
168
168
  body: await serializers.encounters.v4.EncounterCreate.jsonOrThrow(request, {
@@ -212,7 +212,7 @@ class V4 {
212
212
  Authorization: await this._getAuthorizationHeader(),
213
213
  "X-Fern-Language": "JavaScript",
214
214
  "X-Fern-SDK-Name": "candidhealth",
215
- "X-Fern-SDK-Version": "0.10.0",
215
+ "X-Fern-SDK-Version": "0.11.0",
216
216
  },
217
217
  contentType: "application/json",
218
218
  body: await serializers.encounters.v4.EncounterUpdate.jsonOrThrow(request, {
@@ -80,7 +80,7 @@ export interface EncounterCreate extends CandidApi.encounters.v4.EncounterBase {
80
80
  */
81
81
  guarantor?: CandidApi.guarantor.v1.GuarantorCreate;
82
82
  /**
83
- * ***This field is incubating.***
83
+ * ***This field is in beta.***
84
84
  * To be included for claims that have been submitted outside of Candid.
85
85
  * Candid supports posting remits and payments to these claims and working them in-platform (e.g. editing, resubmitting).
86
86
  *
@@ -84,4 +84,40 @@ export interface EncounterUpdate {
84
84
  *
85
85
  */
86
86
  additionalInformation?: string;
87
+ /**
88
+ * 837p Loop2300 REF*4N
89
+ * Required when mandated by government law or regulation to obtain authorization for specific service(s) but, for the
90
+ * reasons listed in one of the enum values of ServiceAuthorizationExceptionCode, the service was performed without
91
+ * obtaining the authorization.
92
+ *
93
+ */
94
+ serviceAuthorizationExceptionCode?: CandidApi.encounters.v4.ServiceAuthorizationExceptionCode;
95
+ /**
96
+ * 837p Loop2300 DTP*435, CMS-1500 Box 18
97
+ * Required on all ambulance claims when the patient was known to be admitted to the hospital.
98
+ * OR
99
+ * Required on all claims involving inpatient medical visits.
100
+ *
101
+ */
102
+ admissionDate?: CandidApi.Date_;
103
+ /**
104
+ * 837p Loop2300 DTP*096, CMS-1500 Box 18
105
+ * Required for inpatient claims when the patient was discharged from the facility and the discharge date is known.
106
+ *
107
+ */
108
+ dischargeDate?: CandidApi.Date_;
109
+ /**
110
+ * 837p Loop2300 DTP*431, CMS-1500 Box 14
111
+ * Required for the initial medical service or visit performed in response to a medical emergency when the date is available and is different than the date of service.
112
+ * OR
113
+ * This date is the onset of acute symptoms for the current illness or condition.
114
+ *
115
+ */
116
+ onsetOfCurrentIllnessOrSymptomDate?: CandidApi.Date_;
117
+ /**
118
+ * 837p Loop2300 DTP*484, CMS-1500 Box 14
119
+ * Required when, in the judgment of the provider, the services on this claim are related to the patient's pregnancy.
120
+ *
121
+ */
122
+ lastMenstrualPeriodDate?: CandidApi.Date_;
87
123
  }
@@ -368,7 +368,11 @@ import * as CandidApi from "../../../../..";
368
368
  * },
369
369
  * synchronicity: CandidApi.encounters.v4.SynchronicityType.Synchronous,
370
370
  * billableStatus: CandidApi.encounters.v4.BillableStatusType.Billable,
371
- * responsibleParty: CandidApi.encounters.v4.ResponsiblePartyType.InsurancePay
371
+ * responsibleParty: CandidApi.encounters.v4.ResponsiblePartyType.InsurancePay,
372
+ * serviceAuthorizationExceptionCode: CandidApi.encounters.v4.ServiceAuthorizationExceptionCode.C1,
373
+ * admissionDate: CandidApi.Date_("2023-01-01"),
374
+ * dischargeDate: CandidApi.Date_("2023-01-05"),
375
+ * onsetOfCurrentIllnessOrSymptomDate: CandidApi.Date_("2023-01-01")
372
376
  * }
373
377
  */
374
378
  export interface Encounter extends CandidApi.encounters.v4.EncounterBase {
@@ -86,4 +86,40 @@ export interface EncounterBase {
86
86
  *
87
87
  */
88
88
  additionalInformation?: string;
89
+ /**
90
+ * 837p Loop2300 REF*4N
91
+ * Required when mandated by government law or regulation to obtain authorization for specific service(s) but, for the
92
+ * reasons listed in one of the enum values of ServiceAuthorizationExceptionCode, the service was performed without
93
+ * obtaining the authorization.
94
+ *
95
+ */
96
+ serviceAuthorizationExceptionCode?: CandidApi.encounters.v4.ServiceAuthorizationExceptionCode;
97
+ /**
98
+ * 837p Loop2300 DTP*435, CMS-1500 Box 18
99
+ * Required on all ambulance claims when the patient was known to be admitted to the hospital.
100
+ * OR
101
+ * Required on all claims involving inpatient medical visits.
102
+ *
103
+ */
104
+ admissionDate?: CandidApi.Date_;
105
+ /**
106
+ * 837p Loop2300 DTP*096, CMS-1500 Box 18
107
+ * Required for inpatient claims when the patient was discharged from the facility and the discharge date is known.
108
+ *
109
+ */
110
+ dischargeDate?: CandidApi.Date_;
111
+ /**
112
+ * 837p Loop2300 DTP*431, CMS-1500 Box 14
113
+ * Required for the initial medical service or visit performed in response to a medical emergency when the date is available and is different than the date of service.
114
+ * OR
115
+ * This date is the onset of acute symptoms for the current illness or condition.
116
+ *
117
+ */
118
+ onsetOfCurrentIllnessOrSymptomDate?: CandidApi.Date_;
119
+ /**
120
+ * 837p Loop2300 DTP*484, CMS-1500 Box 14
121
+ * Required when, in the judgment of the provider, the services on this claim are related to the patient's pregnancy.
122
+ *
123
+ */
124
+ lastMenstrualPeriodDate?: CandidApi.Date_;
89
125
  }
@@ -369,7 +369,11 @@ import * as CandidApi from "../../../../..";
369
369
  * },
370
370
  * synchronicity: CandidApi.encounters.v4.SynchronicityType.Synchronous,
371
371
  * billableStatus: CandidApi.encounters.v4.BillableStatusType.Billable,
372
- * responsibleParty: CandidApi.encounters.v4.ResponsiblePartyType.InsurancePay
372
+ * responsibleParty: CandidApi.encounters.v4.ResponsiblePartyType.InsurancePay,
373
+ * serviceAuthorizationExceptionCode: CandidApi.encounters.v4.ServiceAuthorizationExceptionCode.C1,
374
+ * admissionDate: CandidApi.Date_("2023-01-01"),
375
+ * dischargeDate: CandidApi.Date_("2023-01-05"),
376
+ * onsetOfCurrentIllnessOrSymptomDate: CandidApi.Date_("2023-01-01")
373
377
  * }]
374
378
  * }
375
379
  */
@@ -0,0 +1,39 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Required when mandated by government law or regulation to obtain authorization for specific service(s) but, for the
6
+ * reasons listed in one of the enum values, the service was performed without obtaining the authorization.
7
+ *
8
+ */
9
+ export declare type ServiceAuthorizationExceptionCode =
10
+ /**
11
+ * Immediate/Urgent Care */
12
+ "1"
13
+ /**
14
+ * Services Rendered in a Retroactive Period */
15
+ | "2"
16
+ /**
17
+ * Emergency Care */
18
+ | "3"
19
+ /**
20
+ * Client has Temporary Medicaid */
21
+ | "4"
22
+ /**
23
+ * Request from County for Second Opinion to Determine if Recipient Can Work */
24
+ | "5"
25
+ /**
26
+ * Request for Override Pending */
27
+ | "6"
28
+ /**
29
+ * Special Handling */
30
+ | "7";
31
+ export declare const ServiceAuthorizationExceptionCode: {
32
+ readonly C1: "1";
33
+ readonly C2: "2";
34
+ readonly C3: "3";
35
+ readonly C4: "4";
36
+ readonly C5: "5";
37
+ readonly C6: "6";
38
+ readonly C7: "7";
39
+ };
@@ -0,0 +1,15 @@
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.ServiceAuthorizationExceptionCode = void 0;
7
+ exports.ServiceAuthorizationExceptionCode = {
8
+ C1: "1",
9
+ C2: "2",
10
+ C3: "3",
11
+ C4: "4",
12
+ C5: "5",
13
+ C6: "6",
14
+ C7: "7",
15
+ };
@@ -30,3 +30,4 @@ export * from "./IntakeFollowUpId";
30
30
  export * from "./EncounterExternalIdUniquenessErrorType";
31
31
  export * from "./EncounterGuarantorMissingContactInfoErrorType";
32
32
  export * from "./CashPayPayerErrorMessage";
33
+ export * from "./ServiceAuthorizationExceptionCode";
@@ -46,3 +46,4 @@ __exportStar(require("./IntakeFollowUpId"), exports);
46
46
  __exportStar(require("./EncounterExternalIdUniquenessErrorType"), exports);
47
47
  __exportStar(require("./EncounterGuarantorMissingContactInfoErrorType"), exports);
48
48
  __exportStar(require("./CashPayPayerErrorMessage"), exports);
49
+ __exportStar(require("./ServiceAuthorizationExceptionCode"), exports);
@@ -14,7 +14,6 @@ export declare class V1 {
14
14
  protected readonly options: V1.Options;
15
15
  constructor(options: V1.Options);
16
16
  /**
17
- * **This endpoint is incubating.**
18
17
  * Computes the expected network status given the provided information.
19
18
  *
20
19
  */
@@ -41,7 +41,6 @@ class V1 {
41
41
  this.options = options;
42
42
  }
43
43
  /**
44
- * **This endpoint is incubating.**
45
44
  * Computes the expected network status given the provided information.
46
45
  *
47
46
  */
@@ -53,7 +52,7 @@ class V1 {
53
52
  Authorization: await this._getAuthorizationHeader(),
54
53
  "X-Fern-Language": "JavaScript",
55
54
  "X-Fern-SDK-Name": "candidhealth",
56
- "X-Fern-SDK-Version": "0.10.0",
55
+ "X-Fern-SDK-Version": "0.11.0",
57
56
  },
58
57
  contentType: "application/json",
59
58
  body: await serializers.expectedNetworkStatus.v1.ExpectedNetworkStatusRequest.jsonOrThrow(request, {
@@ -17,7 +17,6 @@ export declare class V2 {
17
17
  * Computes the expected network status for a given rendering provider.
18
18
  * This endpoint is not available to all customers. Reach out to the Candid sales team
19
19
  * to discuss enabling this endpoint if it is not available for your organization.
20
- * **This endpoint is incubating.**
21
20
  *
22
21
  */
23
22
  computeForRenderingProvider(renderingProviderId: CandidApi.organizationProviders.v2.OrganizationProviderId, request: CandidApi.expectedNetworkStatus.v2.ExpectedNetworkStatusRequestV2): Promise<core.APIResponse<CandidApi.expectedNetworkStatus.v2.ExpectedNetworkStatusResponseV2, CandidApi.expectedNetworkStatus.v2.computeForRenderingProvider.Error>>;
@@ -25,7 +24,6 @@ export declare class V2 {
25
24
  * Computes all the in network providers for a given set of inputs.
26
25
  * This endpoint is not available to all customers. Reach out to the Candid sales team
27
26
  * to discuss enabling this endpoint if it is not available for your organization.
28
- * **This endpoint is incubating.**
29
27
  *
30
28
  */
31
29
  computeAllInNetworkProviders(request: CandidApi.expectedNetworkStatus.v2.ComputeAllInNetworkProvidersRequest): Promise<core.APIResponse<CandidApi.expectedNetworkStatus.v2.ComputeAllInNetworkProvidersResponse, CandidApi.expectedNetworkStatus.v2.computeAllInNetworkProviders.Error>>;
@@ -44,7 +44,6 @@ class V2 {
44
44
  * Computes the expected network status for a given rendering provider.
45
45
  * This endpoint is not available to all customers. Reach out to the Candid sales team
46
46
  * to discuss enabling this endpoint if it is not available for your organization.
47
- * **This endpoint is incubating.**
48
47
  *
49
48
  */
50
49
  async computeForRenderingProvider(renderingProviderId, request) {
@@ -55,7 +54,7 @@ class V2 {
55
54
  Authorization: await this._getAuthorizationHeader(),
56
55
  "X-Fern-Language": "JavaScript",
57
56
  "X-Fern-SDK-Name": "candidhealth",
58
- "X-Fern-SDK-Version": "0.10.0",
57
+ "X-Fern-SDK-Version": "0.11.0",
59
58
  },
60
59
  contentType: "application/json",
61
60
  body: await serializers.expectedNetworkStatus.v2.ExpectedNetworkStatusRequestV2.jsonOrThrow(request, {
@@ -100,7 +99,6 @@ class V2 {
100
99
  * Computes all the in network providers for a given set of inputs.
101
100
  * This endpoint is not available to all customers. Reach out to the Candid sales team
102
101
  * to discuss enabling this endpoint if it is not available for your organization.
103
- * **This endpoint is incubating.**
104
102
  *
105
103
  */
106
104
  async computeAllInNetworkProviders(request) {
@@ -111,7 +109,7 @@ class V2 {
111
109
  Authorization: await this._getAuthorizationHeader(),
112
110
  "X-Fern-Language": "JavaScript",
113
111
  "X-Fern-SDK-Name": "candidhealth",
114
- "X-Fern-SDK-Version": "0.10.0",
112
+ "X-Fern-SDK-Version": "0.11.0",
115
113
  },
116
114
  contentType: "application/json",
117
115
  body: await serializers.expectedNetworkStatus.v2.ComputeAllInNetworkProvidersRequest.jsonOrThrow(request, {
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type Explanation = "Payer Routing and/or Billing Provider Routing Failed" | "No Effective Contract with Payer" | "No Effective Contract with Billing Provider" | "No Effective Contract with Covered Geography" | "No Effective Contract with Line of Business" | "No Effective Contract with Insurance Type" | "No Effective Contract with Rendering Provider" | "Rendering Provider Not Credentialed";
5
+ export declare const Explanation: {
6
+ readonly RoutingFailed: "Payer Routing and/or Billing Provider Routing Failed";
7
+ readonly PayerMatchFailed: "No Effective Contract with Payer";
8
+ readonly BillingProviderMatchFailed: "No Effective Contract with Billing Provider";
9
+ readonly CoveredGeographyMatchFailed: "No Effective Contract with Covered Geography";
10
+ readonly LineOfBusinessMatchFailed: "No Effective Contract with Line of Business";
11
+ readonly InsuranceTypeMatchFailed: "No Effective Contract with Insurance Type";
12
+ readonly RenderingProviderMatchFailed: "No Effective Contract with Rendering Provider";
13
+ readonly RenderingProviderCredentialingCheckFailed: "Rendering Provider Not Credentialed";
14
+ };
@@ -0,0 +1,16 @@
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.Explanation = void 0;
7
+ exports.Explanation = {
8
+ RoutingFailed: "Payer Routing and/or Billing Provider Routing Failed",
9
+ PayerMatchFailed: "No Effective Contract with Payer",
10
+ BillingProviderMatchFailed: "No Effective Contract with Billing Provider",
11
+ CoveredGeographyMatchFailed: "No Effective Contract with Covered Geography",
12
+ LineOfBusinessMatchFailed: "No Effective Contract with Line of Business",
13
+ InsuranceTypeMatchFailed: "No Effective Contract with Insurance Type",
14
+ RenderingProviderMatchFailed: "No Effective Contract with Rendering Provider",
15
+ RenderingProviderCredentialingCheckFailed: "Rendering Provider Not Credentialed",
16
+ };
@@ -3,7 +3,8 @@
3
3
  */
4
4
  import * as CandidApi from "../../../../..";
5
5
  export interface IndeterminateNetworkStatus {
6
- explanation: string;
6
+ error: string;
7
+ explanation: CandidApi.expectedNetworkStatus.v2.Explanation;
7
8
  routedPayerUuid?: CandidApi.payers.v3.PayerUuid;
8
9
  routedBillingProviderId?: CandidApi.organizationProviders.v2.OrganizationProviderId;
9
10
  }
@@ -5,6 +5,5 @@ import * as CandidApi from "../../../../..";
5
5
  export interface InsuranceType {
6
6
  /** The line of business associated with the patient’s insurance */
7
7
  lineOfBusiness: CandidApi.expectedNetworkStatus.v2.LineOfBusiness;
8
- /** The Insurance Type Code associated with the patient’s insurance plan. */
9
- insuranceTypeCodes: CandidApi.InsuranceTypeCode[];
8
+ insuranceTypeCodes: CandidApi.expectedNetworkStatus.v2.InsuranceTypeCodes;
10
9
  }
@@ -0,0 +1,29 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../..";
5
+ export declare type InsuranceTypeCodes =
6
+ /**
7
+ * Match contracts on the provided insurance type code during the expected network status check.
8
+ * */
9
+ CandidApi.expectedNetworkStatus.v2.InsuranceTypeCodes.InsuranceTypeCode
10
+ /**
11
+ * Provide this if the insurance type code is unknown; causes the expected network status check to return indeterminate response.
12
+ * */
13
+ | CandidApi.expectedNetworkStatus.v2.InsuranceTypeCodes.UnknownInsuranceTypeCode
14
+ /**
15
+ * Skips the insurance type validation when matching contracts in the expected network status check.
16
+ * */
17
+ | CandidApi.expectedNetworkStatus.v2.InsuranceTypeCodes.NotApplicable;
18
+ export declare namespace InsuranceTypeCodes {
19
+ interface InsuranceTypeCode {
20
+ type: "insurance_type_code";
21
+ value: CandidApi.InsuranceTypeCode;
22
+ }
23
+ interface UnknownInsuranceTypeCode {
24
+ type: "unknown_insurance_type_code";
25
+ }
26
+ interface NotApplicable {
27
+ type: "not_applicable";
28
+ }
29
+ }
@@ -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 });
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import * as CandidApi from "../../../../..";
5
5
  export interface OutOfNetworkStatus {
6
- explanation: string;
6
+ explanation: CandidApi.expectedNetworkStatus.v2.Explanation;
7
7
  routedPayerUuid: CandidApi.payers.v3.PayerUuid;
8
8
  routedBillingProviderId: CandidApi.organizationProviders.v2.OrganizationProviderId;
9
9
  }
@@ -1,6 +1,8 @@
1
1
  export * from "./NetworkStatusCheckId";
2
2
  export * from "./LineOfBusiness";
3
+ export * from "./InsuranceTypeCodes";
3
4
  export * from "./InsuranceType";
5
+ export * from "./Explanation";
4
6
  export * from "./ServiceType";
5
7
  export * from "./ExpectedNetworkStatusRequestV2";
6
8
  export * from "./ComputeAllInNetworkProvidersRequest";
@@ -16,7 +16,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./NetworkStatusCheckId"), exports);
18
18
  __exportStar(require("./LineOfBusiness"), exports);
19
+ __exportStar(require("./InsuranceTypeCodes"), exports);
19
20
  __exportStar(require("./InsuranceType"), exports);
21
+ __exportStar(require("./Explanation"), exports);
20
22
  __exportStar(require("./ServiceType"), exports);
21
23
  __exportStar(require("./ExpectedNetworkStatusRequestV2"), exports);
22
24
  __exportStar(require("./ComputeAllInNetworkProvidersRequest"), exports);
@@ -68,7 +68,7 @@ class V3 {
68
68
  Authorization: await this._getAuthorizationHeader(),
69
69
  "X-Fern-Language": "JavaScript",
70
70
  "X-Fern-SDK-Name": "candidhealth",
71
- "X-Fern-SDK-Version": "0.10.0",
71
+ "X-Fern-SDK-Version": "0.11.0",
72
72
  },
73
73
  contentType: "application/json",
74
74
  queryParameters: _queryParams,
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as CandidApi from "../../..";
5
- export declare type AllocationTarget = CandidApi.AllocationTarget.ServiceLine | CandidApi.AllocationTarget.Claim | CandidApi.AllocationTarget.BillingProviderId;
5
+ export declare type AllocationTarget = CandidApi.AllocationTarget.ServiceLine | CandidApi.AllocationTarget.Claim | CandidApi.AllocationTarget.BillingProviderId | CandidApi.AllocationTarget.Unattributed;
6
6
  export declare namespace AllocationTarget {
7
7
  interface ServiceLine {
8
8
  type: "service_line";
@@ -16,4 +16,7 @@ export declare namespace AllocationTarget {
16
16
  type: "billing_provider_id";
17
17
  value: CandidApi.ProviderId;
18
18
  }
19
+ interface Unattributed {
20
+ type: "unattributed";
21
+ }
19
22
  }