candidhealth 0.8.0 → 0.9.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 (509) hide show
  1. package/Client.d.ts +3 -3
  2. package/Client.js +4 -4
  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/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +2 -2
  6. package/api/resources/commons/types/OrganizationNotAuthorizedErrorMessage.d.ts +6 -0
  7. package/api/resources/commons/types/index.d.ts +1 -0
  8. package/api/resources/commons/types/index.js +1 -0
  9. package/api/resources/eligibility/resources/v2/client/Client.js +1 -1
  10. package/api/resources/encounters/resources/v4/client/Client.js +4 -4
  11. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +8 -0
  12. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +1 -0
  13. package/api/resources/encounters/resources/v4/types/EncounterSubmissionOriginType.d.ts +8 -0
  14. package/api/resources/encounters/resources/v4/types/EncounterSubmissionOriginType.js +10 -0
  15. package/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
  16. package/api/resources/encounters/resources/v4/types/index.js +1 -0
  17. package/api/resources/expectedNetworkStatus/client/Client.d.ts +3 -0
  18. package/api/resources/expectedNetworkStatus/client/Client.js +5 -0
  19. package/api/resources/expectedNetworkStatus/resources/index.d.ts +1 -0
  20. package/api/resources/expectedNetworkStatus/resources/index.js +2 -1
  21. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  22. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +33 -0
  23. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +163 -0
  24. package/api/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.d.ts +34 -0
  25. package/api/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.js +69 -0
  26. package/api/resources/expectedNetworkStatus/resources/v2/client/computeForRenderingProvider.d.ts +34 -0
  27. package/api/resources/expectedNetworkStatus/resources/v2/client/computeForRenderingProvider.js +69 -0
  28. package/api/resources/expectedNetworkStatus/resources/v2/client/index.d.ts +2 -0
  29. package/api/resources/expectedNetworkStatus/resources/v2/client/index.js +28 -0
  30. package/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.d.ts +31 -0
  31. package/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.d.ts +9 -0
  32. package/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.d.ts +16 -0
  33. package/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.d.ts +6 -0
  34. package/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.d.ts +31 -0
  35. package/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.d.ts +8 -0
  36. package/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.d.ts +12 -0
  37. package/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.d.ts +16 -0
  38. package/api/resources/expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.d.ts +9 -0
  39. package/api/resources/expectedNetworkStatus/resources/v2/types/InNetworkStatus.d.ts +8 -0
  40. package/api/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +9 -0
  41. package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +10 -0
  42. package/api/resources/expectedNetworkStatus/resources/v2/types/LineOfBusiness.d.ts +9 -0
  43. package/api/resources/expectedNetworkStatus/resources/v2/types/LineOfBusiness.js +11 -0
  44. package/api/resources/expectedNetworkStatus/resources/v2/types/NetworkStatusCheckId.d.ts +8 -0
  45. package/api/resources/expectedNetworkStatus/resources/v2/types/NetworkStatusCheckId.js +10 -0
  46. package/api/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +9 -0
  47. package/api/resources/expectedNetworkStatus/resources/v2/types/ServiceType.d.ts +47 -0
  48. package/api/resources/expectedNetworkStatus/resources/v2/types/ServiceType.js +49 -0
  49. package/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +16 -0
  50. package/api/resources/expectedNetworkStatus/resources/v2/types/index.js +32 -0
  51. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  52. package/api/resources/financials/types/Allocation.d.ts +1 -1
  53. package/api/resources/financials/types/AllocationCreate.d.ts +1 -1
  54. package/api/resources/financials/types/{AllocationRecipient.d.ts → AllocationTarget.d.ts} +2 -2
  55. package/api/resources/financials/types/{AllocationRecipientCreate.d.ts → AllocationTargetCreate.d.ts} +2 -2
  56. package/api/resources/financials/types/index.d.ts +2 -4
  57. package/api/resources/financials/types/index.js +2 -4
  58. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  59. package/api/resources/index.d.ts +1 -1
  60. package/api/resources/index.js +2 -2
  61. package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/client/Client.d.ts +4 -4
  62. package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/client/Client.js +3 -3
  63. package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/client/Client.d.ts +3 -3
  64. package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/client/Client.js +12 -12
  65. package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/client/create.d.ts +4 -4
  66. package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/client/create.js +1 -1
  67. package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/client/delete.d.ts +4 -4
  68. package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/client/delete.js +1 -1
  69. package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/client/get.d.ts +4 -4
  70. package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/client/get.js +1 -1
  71. package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ClaimAdjudication.d.ts +2 -2
  72. package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjudicationCreate.d.ts +2 -2
  73. package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/types/InsuranceAdjudication.d.ts +2 -2
  74. package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -1
  75. package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationId.d.ts +2 -2
  76. package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudication.d.ts +3 -3
  77. package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +2 -2
  78. package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationId.d.ts +2 -2
  79. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +3 -3
  80. package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +2 -1
  81. package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +2 -1
  82. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  83. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  84. package/api/resources/patientPayments/resources/v4/client/Client.js +3 -3
  85. package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +2 -2
  86. package/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +1 -0
  87. package/api/resources/patientRefunds/resources/v1/client/Client.js +3 -3
  88. package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +3 -2
  89. package/api/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -0
  90. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  91. package/api/resources/writeOffs/resources/v1/client/Client.js +3 -3
  92. package/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +1 -1
  93. package/api/resources/x12/resources/v1/types/Carc.d.ts +29 -1
  94. package/api/resources/x12/resources/v1/types/Carc.js +28 -0
  95. package/dist/Client.d.ts +3 -3
  96. package/dist/Client.js +4 -4
  97. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  98. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  99. package/dist/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +2 -2
  100. package/dist/api/resources/commons/types/OrganizationNotAuthorizedErrorMessage.d.ts +6 -0
  101. package/dist/api/resources/commons/types/OrganizationNotAuthorizedErrorMessage.js +5 -0
  102. package/dist/api/resources/commons/types/index.d.ts +1 -0
  103. package/dist/api/resources/commons/types/index.js +1 -0
  104. package/dist/api/resources/eligibility/resources/v2/client/Client.js +1 -1
  105. package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
  106. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +8 -0
  107. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +1 -0
  108. package/dist/api/resources/encounters/resources/v4/types/EncounterSubmissionOriginType.d.ts +8 -0
  109. package/dist/api/resources/encounters/resources/v4/types/EncounterSubmissionOriginType.js +10 -0
  110. package/dist/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
  111. package/dist/api/resources/encounters/resources/v4/types/index.js +1 -0
  112. package/dist/api/resources/expectedNetworkStatus/client/Client.d.ts +3 -0
  113. package/dist/api/resources/expectedNetworkStatus/client/Client.js +5 -0
  114. package/dist/api/resources/expectedNetworkStatus/resources/index.d.ts +1 -0
  115. package/dist/api/resources/expectedNetworkStatus/resources/index.js +2 -1
  116. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  117. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +33 -0
  118. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +163 -0
  119. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.d.ts +34 -0
  120. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.js +69 -0
  121. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/computeForRenderingProvider.d.ts +34 -0
  122. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/computeForRenderingProvider.js +69 -0
  123. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/index.d.ts +2 -0
  124. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/index.js +28 -0
  125. package/dist/api/resources/expectedNetworkStatus/resources/v2/index.d.ts +2 -0
  126. package/dist/api/resources/expectedNetworkStatus/resources/v2/index.js +18 -0
  127. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.d.ts +31 -0
  128. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.js +5 -0
  129. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.d.ts +9 -0
  130. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.js +5 -0
  131. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.d.ts +16 -0
  132. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.js +5 -0
  133. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.d.ts +6 -0
  134. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.js +5 -0
  135. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.d.ts +31 -0
  136. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.js +5 -0
  137. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.d.ts +8 -0
  138. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.js +5 -0
  139. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.d.ts +12 -0
  140. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.js +5 -0
  141. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.d.ts +16 -0
  142. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.js +5 -0
  143. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.d.ts +9 -0
  144. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.js +5 -0
  145. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InNetworkStatus.d.ts +8 -0
  146. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InNetworkStatus.js +5 -0
  147. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +9 -0
  148. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.js +5 -0
  149. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +10 -0
  150. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.js +5 -0
  151. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/LineOfBusiness.d.ts +9 -0
  152. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/LineOfBusiness.js +11 -0
  153. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/NetworkStatusCheckId.d.ts +8 -0
  154. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/NetworkStatusCheckId.js +10 -0
  155. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +9 -0
  156. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.js +5 -0
  157. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ServiceType.d.ts +47 -0
  158. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ServiceType.js +49 -0
  159. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +16 -0
  160. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.js +32 -0
  161. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  162. package/dist/api/resources/financials/types/Allocation.d.ts +1 -1
  163. package/dist/api/resources/financials/types/AllocationCreate.d.ts +1 -1
  164. package/dist/api/resources/financials/types/{AllocationRecipient.d.ts → AllocationTarget.d.ts} +2 -2
  165. package/dist/api/resources/financials/types/AllocationTarget.js +5 -0
  166. package/dist/api/resources/financials/types/{AllocationRecipientCreate.d.ts → AllocationTargetCreate.d.ts} +2 -2
  167. package/dist/api/resources/financials/types/AllocationTargetCreate.js +5 -0
  168. package/dist/api/resources/financials/types/index.d.ts +2 -4
  169. package/dist/api/resources/financials/types/index.js +2 -4
  170. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  171. package/dist/api/resources/index.d.ts +1 -1
  172. package/dist/api/resources/index.js +2 -2
  173. package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/client/Client.d.ts +4 -4
  174. package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/client/Client.js +3 -3
  175. package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/resources/v1/client/Client.d.ts +3 -3
  176. package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/client/Client.js +12 -12
  177. package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/resources/v1/client/create.d.ts +4 -4
  178. package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/resources/v1/client/create.js +1 -1
  179. package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/client/delete.d.ts +4 -4
  180. package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/resources/v1/client/delete.js +1 -1
  181. package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/resources/v1/client/get.d.ts +4 -4
  182. package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/resources/v1/client/get.js +1 -1
  183. package/dist/api/resources/insuranceAdjudications/resources/v1/index.d.ts +2 -0
  184. package/dist/api/resources/insuranceAdjudications/resources/v1/index.js +18 -0
  185. package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ClaimAdjudication.d.ts +2 -2
  186. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +5 -0
  187. package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjudicationCreate.d.ts +2 -2
  188. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +5 -0
  189. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjustmentReasonCode.js +5 -0
  190. package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/resources/v1/types/InsuranceAdjudication.d.ts +2 -2
  191. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +5 -0
  192. package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -1
  193. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +5 -0
  194. package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationId.d.ts +2 -2
  195. package/dist/api/resources/insuranceAdjudications/resources/v1/types/RemittanceAdviceRemarkCode.js +5 -0
  196. package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudication.d.ts +3 -3
  197. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +5 -0
  198. package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +2 -2
  199. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.js +5 -0
  200. package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationId.d.ts +2 -2
  201. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +3 -3
  202. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +2 -1
  203. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +2 -1
  204. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  205. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  206. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +3 -3
  207. package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +2 -2
  208. package/dist/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +1 -0
  209. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +3 -3
  210. package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +3 -2
  211. package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -0
  212. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  213. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +3 -3
  214. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +1 -1
  215. package/dist/api/resources/x12/resources/v1/types/Carc.d.ts +29 -1
  216. package/dist/api/resources/x12/resources/v1/types/Carc.js +28 -0
  217. package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +2 -2
  218. package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.js +6 -2
  219. package/dist/serialization/resources/commons/types/OrganizationNotAuthorizedErrorMessage.d.ts +12 -0
  220. package/dist/serialization/resources/commons/types/OrganizationNotAuthorizedErrorMessage.js +33 -0
  221. package/dist/serialization/resources/commons/types/index.d.ts +1 -0
  222. package/dist/serialization/resources/commons/types/index.js +1 -0
  223. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  224. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  225. package/dist/serialization/resources/encounters/resources/v4/types/EncounterSubmissionOriginType.d.ts +10 -0
  226. package/dist/serialization/resources/encounters/resources/v4/types/EncounterSubmissionOriginType.js +31 -0
  227. package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
  228. package/dist/serialization/resources/encounters/resources/v4/types/index.js +1 -0
  229. package/dist/serialization/resources/expectedNetworkStatus/resources/index.d.ts +1 -0
  230. package/dist/serialization/resources/expectedNetworkStatus/resources/index.js +2 -1
  231. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.d.ts +18 -0
  232. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.js +51 -0
  233. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/client/computeForRenderingProvider.d.ts +18 -0
  234. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/client/computeForRenderingProvider.js +51 -0
  235. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/client/index.d.ts +2 -0
  236. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/client/index.js +28 -0
  237. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/index.d.ts +2 -0
  238. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/index.js +18 -0
  239. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.d.ts +18 -0
  240. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.js +39 -0
  241. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.d.ts +13 -0
  242. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.js +34 -0
  243. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.d.ts +19 -0
  244. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.js +40 -0
  245. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.d.ts +12 -0
  246. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.js +33 -0
  247. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.d.ts +18 -0
  248. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.js +39 -0
  249. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.d.ts +13 -0
  250. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.js +34 -0
  251. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.d.ts +14 -0
  252. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.js +35 -0
  253. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.d.ts +19 -0
  254. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.js +40 -0
  255. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.d.ts +14 -0
  256. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.js +35 -0
  257. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InNetworkStatus.d.ts +13 -0
  258. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InNetworkStatus.js +34 -0
  259. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +14 -0
  260. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.js +37 -0
  261. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +13 -0
  262. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.js +34 -0
  263. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/LineOfBusiness.d.ts +10 -0
  264. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/LineOfBusiness.js +31 -0
  265. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/NetworkStatusCheckId.d.ts +10 -0
  266. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/NetworkStatusCheckId.js +35 -0
  267. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +14 -0
  268. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.js +35 -0
  269. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ServiceType.d.ts +10 -0
  270. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ServiceType.js +73 -0
  271. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +16 -0
  272. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +32 -0
  273. package/dist/serialization/resources/financials/types/Allocation.d.ts +1 -1
  274. package/dist/serialization/resources/financials/types/Allocation.js +1 -1
  275. package/dist/serialization/resources/financials/types/AllocationCreate.d.ts +1 -1
  276. package/dist/serialization/resources/financials/types/AllocationCreate.js +1 -1
  277. package/{serialization/resources/financials/types/AllocationRecipient.d.ts → dist/serialization/resources/financials/types/AllocationTarget.d.ts} +3 -3
  278. package/dist/serialization/resources/financials/types/{AllocationRecipient.js → AllocationTarget.js} +2 -2
  279. package/{serialization/resources/financials/types/AllocationRecipientCreate.d.ts → dist/serialization/resources/financials/types/AllocationTargetCreate.d.ts} +3 -3
  280. package/dist/serialization/resources/financials/types/{AllocationRecipientCreate.js → AllocationTargetCreate.js} +2 -2
  281. package/dist/serialization/resources/financials/types/index.d.ts +2 -4
  282. package/dist/serialization/resources/financials/types/index.js +2 -4
  283. package/dist/serialization/resources/index.d.ts +1 -1
  284. package/dist/serialization/resources/index.js +2 -2
  285. package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjudication.d.ts +3 -3
  286. package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ClaimAdjudication.js +2 -2
  287. package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjudicationCreate.d.ts +3 -3
  288. package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ClaimAdjudicationCreate.js +2 -2
  289. package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +1 -1
  290. package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudication.d.ts +3 -3
  291. package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/InsuranceAdjudication.js +2 -2
  292. package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -2
  293. package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationCreate.js +1 -1
  294. package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationId.d.ts +1 -1
  295. package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationId.js +1 -1
  296. package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +1 -1
  297. package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudication.d.ts +4 -4
  298. package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudication.js +3 -3
  299. package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +3 -3
  300. package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationCreate.js +2 -2
  301. package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationId.d.ts +1 -1
  302. package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationId.js +1 -1
  303. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +2 -1
  304. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +2 -1
  305. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +2 -1
  306. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +2 -1
  307. package/dist/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +2 -2
  308. package/dist/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.js +2 -2
  309. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +1 -0
  310. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +1 -0
  311. package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +3 -2
  312. package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.js +3 -2
  313. package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -0
  314. package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.js +2 -0
  315. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +1 -1
  316. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +1 -1
  317. package/dist/serialization/resources/x12/resources/v1/types/Carc.d.ts +1 -1
  318. package/dist/serialization/resources/x12/resources/v1/types/Carc.js +28 -0
  319. package/package.json +1 -1
  320. package/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +2 -2
  321. package/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.js +6 -2
  322. package/serialization/resources/commons/types/OrganizationNotAuthorizedErrorMessage.d.ts +12 -0
  323. package/serialization/resources/commons/types/OrganizationNotAuthorizedErrorMessage.js +33 -0
  324. package/serialization/resources/commons/types/index.d.ts +1 -0
  325. package/serialization/resources/commons/types/index.js +1 -0
  326. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  327. package/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  328. package/serialization/resources/encounters/resources/v4/types/EncounterSubmissionOriginType.d.ts +10 -0
  329. package/serialization/resources/encounters/resources/v4/types/EncounterSubmissionOriginType.js +31 -0
  330. package/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
  331. package/serialization/resources/encounters/resources/v4/types/index.js +1 -0
  332. package/serialization/resources/expectedNetworkStatus/resources/index.d.ts +1 -0
  333. package/serialization/resources/expectedNetworkStatus/resources/index.js +2 -1
  334. package/serialization/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.d.ts +18 -0
  335. package/serialization/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.js +51 -0
  336. package/serialization/resources/expectedNetworkStatus/resources/v2/client/computeForRenderingProvider.d.ts +18 -0
  337. package/serialization/resources/expectedNetworkStatus/resources/v2/client/computeForRenderingProvider.js +51 -0
  338. package/serialization/resources/expectedNetworkStatus/resources/v2/client/index.d.ts +2 -0
  339. package/serialization/resources/expectedNetworkStatus/resources/v2/client/index.js +28 -0
  340. package/serialization/resources/expectedNetworkStatus/resources/v2/index.d.ts +2 -0
  341. package/serialization/resources/expectedNetworkStatus/resources/v2/index.js +18 -0
  342. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.d.ts +18 -0
  343. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.js +39 -0
  344. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.d.ts +13 -0
  345. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.js +34 -0
  346. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.d.ts +19 -0
  347. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.js +40 -0
  348. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.d.ts +12 -0
  349. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.js +33 -0
  350. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.d.ts +18 -0
  351. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.js +39 -0
  352. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.d.ts +13 -0
  353. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.js +34 -0
  354. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.d.ts +14 -0
  355. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.js +35 -0
  356. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.d.ts +19 -0
  357. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.js +40 -0
  358. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.d.ts +14 -0
  359. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.js +35 -0
  360. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InNetworkStatus.d.ts +13 -0
  361. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InNetworkStatus.js +34 -0
  362. package/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +14 -0
  363. package/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.js +37 -0
  364. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +13 -0
  365. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.js +34 -0
  366. package/serialization/resources/expectedNetworkStatus/resources/v2/types/LineOfBusiness.d.ts +10 -0
  367. package/serialization/resources/expectedNetworkStatus/resources/v2/types/LineOfBusiness.js +31 -0
  368. package/serialization/resources/expectedNetworkStatus/resources/v2/types/NetworkStatusCheckId.d.ts +10 -0
  369. package/serialization/resources/expectedNetworkStatus/resources/v2/types/NetworkStatusCheckId.js +35 -0
  370. package/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +14 -0
  371. package/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.js +35 -0
  372. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ServiceType.d.ts +10 -0
  373. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ServiceType.js +73 -0
  374. package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +16 -0
  375. package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +32 -0
  376. package/serialization/resources/financials/types/Allocation.d.ts +1 -1
  377. package/serialization/resources/financials/types/Allocation.js +1 -1
  378. package/serialization/resources/financials/types/AllocationCreate.d.ts +1 -1
  379. package/serialization/resources/financials/types/AllocationCreate.js +1 -1
  380. package/{dist/serialization/resources/financials/types/AllocationRecipient.d.ts → serialization/resources/financials/types/AllocationTarget.d.ts} +3 -3
  381. package/serialization/resources/financials/types/{AllocationRecipient.js → AllocationTarget.js} +2 -2
  382. package/{dist/serialization/resources/financials/types/AllocationRecipientCreate.d.ts → serialization/resources/financials/types/AllocationTargetCreate.d.ts} +3 -3
  383. package/serialization/resources/financials/types/{AllocationRecipientCreate.js → AllocationTargetCreate.js} +2 -2
  384. package/serialization/resources/financials/types/index.d.ts +2 -4
  385. package/serialization/resources/financials/types/index.js +2 -4
  386. package/serialization/resources/index.d.ts +1 -1
  387. package/serialization/resources/index.js +2 -2
  388. package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjudication.d.ts +3 -3
  389. package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ClaimAdjudication.js +2 -2
  390. package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjudicationCreate.d.ts +3 -3
  391. package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ClaimAdjudicationCreate.js +2 -2
  392. package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +1 -1
  393. package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudication.d.ts +3 -3
  394. package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/InsuranceAdjudication.js +2 -2
  395. package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -2
  396. package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationCreate.js +1 -1
  397. package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationId.d.ts +1 -1
  398. package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationId.js +1 -1
  399. package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +1 -1
  400. package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudication.d.ts +4 -4
  401. package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudication.js +3 -3
  402. package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +3 -3
  403. package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationCreate.js +2 -2
  404. package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationId.d.ts +1 -1
  405. package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationId.js +1 -1
  406. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +2 -1
  407. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +2 -1
  408. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +2 -1
  409. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +2 -1
  410. package/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +2 -2
  411. package/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.js +2 -2
  412. package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +1 -0
  413. package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +1 -0
  414. package/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +3 -2
  415. package/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.js +3 -2
  416. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -0
  417. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.js +2 -0
  418. package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +1 -1
  419. package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +1 -1
  420. package/serialization/resources/x12/resources/v1/types/Carc.d.ts +1 -1
  421. package/serialization/resources/x12/resources/v1/types/Carc.js +28 -0
  422. package/api/resources/financials/types/RefundAllocation.d.ts +0 -8
  423. package/api/resources/financials/types/RefundAllocationCreate.d.ts +0 -8
  424. package/dist/api/resources/financials/types/RefundAllocation.d.ts +0 -8
  425. package/dist/api/resources/financials/types/RefundAllocationCreate.d.ts +0 -8
  426. package/dist/serialization/resources/financials/types/RefundAllocation.d.ts +0 -13
  427. package/dist/serialization/resources/financials/types/RefundAllocation.js +0 -34
  428. package/dist/serialization/resources/financials/types/RefundAllocationCreate.d.ts +0 -13
  429. package/dist/serialization/resources/financials/types/RefundAllocationCreate.js +0 -34
  430. package/serialization/resources/financials/types/RefundAllocation.d.ts +0 -13
  431. package/serialization/resources/financials/types/RefundAllocation.js +0 -34
  432. package/serialization/resources/financials/types/RefundAllocationCreate.d.ts +0 -13
  433. package/serialization/resources/financials/types/RefundAllocationCreate.js +0 -34
  434. /package/api/resources/{financials/types/AllocationRecipient.js → commons/types/OrganizationNotAuthorizedErrorMessage.js} +0 -0
  435. /package/api/resources/{insuranceAdjudication/resources/v1 → expectedNetworkStatus/resources/v2}/index.d.ts +0 -0
  436. /package/api/resources/{insuranceAdjudication/resources/v1 → expectedNetworkStatus/resources/v2}/index.js +0 -0
  437. /package/api/resources/{financials/types/AllocationRecipientCreate.js → expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.js} +0 -0
  438. /package/api/resources/{financials/types/RefundAllocation.js → expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.js} +0 -0
  439. /package/api/resources/{financials/types/RefundAllocationCreate.js → expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.js} +0 -0
  440. /package/api/resources/{insuranceAdjudication/resources/v1/types/ClaimAdjudication.js → expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.js} +0 -0
  441. /package/api/resources/{insuranceAdjudication/resources/v1/types/ClaimAdjudicationCreate.js → expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.js} +0 -0
  442. /package/api/resources/{insuranceAdjudication/resources/v1/types/ClaimAdjustmentReasonCode.js → expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.js} +0 -0
  443. /package/api/resources/{insuranceAdjudication/resources/v1/types/InsuranceAdjudication.js → expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.js} +0 -0
  444. /package/api/resources/{insuranceAdjudication/resources/v1/types/InsuranceAdjudicationCreate.js → expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.js} +0 -0
  445. /package/api/resources/{insuranceAdjudication/resources/v1/types/RemittanceAdviceRemarkCode.js → expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.js} +0 -0
  446. /package/api/resources/{insuranceAdjudication/resources/v1/types/ServiceLineAdjudication.js → expectedNetworkStatus/resources/v2/types/InNetworkStatus.js} +0 -0
  447. /package/api/resources/{insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationCreate.js → expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.js} +0 -0
  448. /package/{dist/api/resources/financials/types/AllocationRecipient.js → api/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.js} +0 -0
  449. /package/{dist/api/resources/financials/types/AllocationRecipientCreate.js → api/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.js} +0 -0
  450. /package/{dist/api/resources/financials/types/RefundAllocation.js → api/resources/financials/types/AllocationTarget.js} +0 -0
  451. /package/{dist/api/resources/financials/types/RefundAllocationCreate.js → api/resources/financials/types/AllocationTargetCreate.js} +0 -0
  452. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/client/index.d.ts +0 -0
  453. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/client/index.js +0 -0
  454. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/index.d.ts +0 -0
  455. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/index.js +0 -0
  456. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/index.d.ts +0 -0
  457. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/index.js +0 -0
  458. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/client/index.d.ts +0 -0
  459. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/client/index.js +0 -0
  460. /package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/index.d.ts +0 -0
  461. /package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/index.js +0 -0
  462. /package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjudication.js +0 -0
  463. /package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjudicationCreate.js +0 -0
  464. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +0 -0
  465. /package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjustmentReasonCode.js +0 -0
  466. /package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/types/InsuranceAdjudication.js +0 -0
  467. /package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationCreate.js +0 -0
  468. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationId.js +0 -0
  469. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +0 -0
  470. /package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/types/RemittanceAdviceRemarkCode.js +0 -0
  471. /package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudication.js +0 -0
  472. /package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationCreate.js +0 -0
  473. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationId.js +0 -0
  474. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/index.d.ts +0 -0
  475. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/index.js +0 -0
  476. /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/client/index.d.ts +0 -0
  477. /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/client/index.js +0 -0
  478. /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/index.d.ts +0 -0
  479. /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/index.js +0 -0
  480. /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/index.d.ts +0 -0
  481. /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/index.js +0 -0
  482. /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/client/index.d.ts +0 -0
  483. /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/client/index.js +0 -0
  484. /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +0 -0
  485. /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationId.js +0 -0
  486. /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +0 -0
  487. /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationId.js +0 -0
  488. /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/index.d.ts +0 -0
  489. /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/index.js +0 -0
  490. /package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/index.d.ts +0 -0
  491. /package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/index.js +0 -0
  492. /package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/index.d.ts +0 -0
  493. /package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/index.js +0 -0
  494. /package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/index.d.ts +0 -0
  495. /package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/index.js +0 -0
  496. /package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ClaimAdjustmentReasonCode.js +0 -0
  497. /package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/RemittanceAdviceRemarkCode.js +0 -0
  498. /package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/index.d.ts +0 -0
  499. /package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/index.js +0 -0
  500. /package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/index.d.ts +0 -0
  501. /package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/index.js +0 -0
  502. /package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/index.d.ts +0 -0
  503. /package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/index.js +0 -0
  504. /package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/index.d.ts +0 -0
  505. /package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/index.js +0 -0
  506. /package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ClaimAdjustmentReasonCode.js +0 -0
  507. /package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/RemittanceAdviceRemarkCode.js +0 -0
  508. /package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/index.d.ts +0 -0
  509. /package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/index.js +0 -0
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.Error = void 0;
30
+ const CandidApi = __importStar(require("../../../../.."));
31
+ exports.Error = {
32
+ expectedNetworkStatusCheckError: (value) => {
33
+ return {
34
+ content: value,
35
+ errorName: "ExpectedNetworkStatusCheckError",
36
+ _visit: function (visitor) {
37
+ return CandidApi.expectedNetworkStatus.v2.computeForRenderingProvider.Error._visit(this, visitor);
38
+ },
39
+ };
40
+ },
41
+ organizationNotAuthorizedError: (value) => {
42
+ return {
43
+ content: value,
44
+ errorName: "OrganizationNotAuthorizedError",
45
+ _visit: function (visitor) {
46
+ return CandidApi.expectedNetworkStatus.v2.computeForRenderingProvider.Error._visit(this, visitor);
47
+ },
48
+ };
49
+ },
50
+ _unknown: (fetcherError) => {
51
+ return {
52
+ errorName: undefined,
53
+ content: fetcherError,
54
+ _visit: function (visitor) {
55
+ return CandidApi.expectedNetworkStatus.v2.computeForRenderingProvider.Error._visit(this, visitor);
56
+ },
57
+ };
58
+ },
59
+ _visit: (value, visitor) => {
60
+ switch (value.errorName) {
61
+ case "ExpectedNetworkStatusCheckError":
62
+ return visitor.expectedNetworkStatusCheckError(value.content);
63
+ case "OrganizationNotAuthorizedError":
64
+ return visitor.organizationNotAuthorizedError(value.content);
65
+ default:
66
+ return visitor._other(value);
67
+ }
68
+ },
69
+ };
@@ -0,0 +1,2 @@
1
+ export * as computeForRenderingProvider from "./computeForRenderingProvider";
2
+ export * as computeAllInNetworkProviders from "./computeAllInNetworkProviders";
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.computeAllInNetworkProviders = exports.computeForRenderingProvider = void 0;
27
+ exports.computeForRenderingProvider = __importStar(require("./computeForRenderingProvider"));
28
+ exports.computeAllInNetworkProviders = __importStar(require("./computeAllInNetworkProviders"));
@@ -0,0 +1,31 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../..";
5
+ export interface ComputeAllInNetworkProvidersRequest {
6
+ /**
7
+ * For some payers, payer routing depends on whether the rendered service qualifies as a behavioral health visit
8
+ * (e.g. Blue Shield of California routes to Magellan for behavioral health visits).
9
+ *
10
+ * For post appointment payer routing, Candid uses a CPT code list to determine whether the appointment qualifies as a
11
+ * behavioral health visit
12
+ * (see “Inputs: Service Type” in the appendix for list of qualifying CPT codes and behavioral health routing logic).
13
+ * Since CPT codes are not available pre-appointment, the service type input is used to determine whether the appointment is expected
14
+ * to qualify as behavioral health.
15
+ *
16
+ */
17
+ serviceType: CandidApi.expectedNetworkStatus.v2.ServiceType;
18
+ /** Expected place of service */
19
+ placeOfServiceCode: CandidApi.FacilityTypeCode;
20
+ /**
21
+ * Information present on the patient's insurance card
22
+ *
23
+ */
24
+ subscriberInformation: CandidApi.expectedNetworkStatus.v2.ExpectedNetworkStatusSubscriberInformation;
25
+ patientAddress: CandidApi.StreetAddressShortZip;
26
+ billingProviderId: CandidApi.organizationProviders.v2.OrganizationProviderId;
27
+ /** The id of the service facility where the appointment will be rendered */
28
+ organizationServiceFacilityId: CandidApi.organizationServiceFacilities.v2.OrganizationServiceFacilityId;
29
+ /** Expected date of service */
30
+ dateOfService: string;
31
+ }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../..";
5
+ export interface ComputeAllInNetworkProvidersResponse {
6
+ computedNetworkStatus: CandidApi.expectedNetworkStatus.v2.ComputeAllInNetworkRenderingProvidersResult;
7
+ /** Unique network status check ID for this request */
8
+ networkStatusCheckId: CandidApi.expectedNetworkStatus.v2.NetworkStatusCheckId;
9
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../..";
5
+ export declare type ComputeAllInNetworkRenderingProvidersResult = CandidApi.expectedNetworkStatus.v2.ComputeAllInNetworkRenderingProvidersResult.RenderingProviders | CandidApi.expectedNetworkStatus.v2.ComputeAllInNetworkRenderingProvidersResult.Indeterminate | CandidApi.expectedNetworkStatus.v2.ComputeAllInNetworkRenderingProvidersResult.OutOfNetwork;
6
+ export declare namespace ComputeAllInNetworkRenderingProvidersResult {
7
+ interface RenderingProviders extends CandidApi.expectedNetworkStatus.v2.InNetworkRenderingProvidersDetail {
8
+ type: "rendering_providers";
9
+ }
10
+ interface Indeterminate extends CandidApi.expectedNetworkStatus.v2.IndeterminateNetworkStatus {
11
+ type: "indeterminate";
12
+ }
13
+ interface OutOfNetwork extends CandidApi.expectedNetworkStatus.v2.OutOfNetworkStatus {
14
+ type: "out_of_network";
15
+ }
16
+ }
@@ -0,0 +1,6 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface ExpectedNetworkStatusCheckErrorMessage {
5
+ message: string;
6
+ }
@@ -0,0 +1,31 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../..";
5
+ export interface ExpectedNetworkStatusRequestV2 {
6
+ /**
7
+ * For some payers, payer routing depends on whether the rendered service qualifies as a behavioral health visit
8
+ * (e.g. Blue Shield of California routes to Magellan for behavioral health visits).
9
+ *
10
+ * For post appointment payer routing, Candid uses a CPT code list to determine whether the appointment qualifies as a
11
+ * behavioral health visit
12
+ * (see “Inputs: Service Type” in the appendix for list of qualifying CPT codes and behavioral health routing logic).
13
+ * Since CPT codes are not available pre-appointment, the service type input is used to determine whether the appointment is expected
14
+ * to qualify as behavioral health.
15
+ *
16
+ */
17
+ serviceType: CandidApi.expectedNetworkStatus.v2.ServiceType;
18
+ /** Expected place of service */
19
+ placeOfServiceCode: CandidApi.FacilityTypeCode;
20
+ /**
21
+ * Information present on the patient's insurance card
22
+ *
23
+ */
24
+ subscriberInformation: CandidApi.expectedNetworkStatus.v2.ExpectedNetworkStatusSubscriberInformation;
25
+ patientAddress: CandidApi.StreetAddressShortZip;
26
+ billingProviderId: CandidApi.organizationProviders.v2.OrganizationProviderId;
27
+ /** The id of the service facility where the appointment will be rendered */
28
+ organizationServiceFacilityId: CandidApi.organizationServiceFacilities.v2.OrganizationServiceFacilityId;
29
+ /** Expected date of service */
30
+ dateOfService: string;
31
+ }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../..";
5
+ export interface ExpectedNetworkStatusResponseV2 {
6
+ networkStatusCheckId: CandidApi.expectedNetworkStatus.v2.NetworkStatusCheckId;
7
+ networkStatus: CandidApi.expectedNetworkStatus.v2.ExpectedNetworkStatusV2;
8
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../..";
5
+ export interface ExpectedNetworkStatusSubscriberInformation {
6
+ /** The UUID that corresponds with the payer on the patient’s insurance card */
7
+ payerUuid: CandidApi.payers.v3.PayerUuid;
8
+ /** The member_id on the patient’s insurance card */
9
+ memberId: string;
10
+ /** The insurance information on the patient's insurance card */
11
+ insuranceType: CandidApi.expectedNetworkStatus.v2.InsuranceType;
12
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../..";
5
+ export declare type ExpectedNetworkStatusV2 = CandidApi.expectedNetworkStatus.v2.ExpectedNetworkStatusV2.InNetwork | CandidApi.expectedNetworkStatus.v2.ExpectedNetworkStatusV2.OutOfNetwork | CandidApi.expectedNetworkStatus.v2.ExpectedNetworkStatusV2.Indeterminate;
6
+ export declare namespace ExpectedNetworkStatusV2 {
7
+ interface InNetwork extends CandidApi.expectedNetworkStatus.v2.InNetworkStatus {
8
+ type: "in_network";
9
+ }
10
+ interface OutOfNetwork extends CandidApi.expectedNetworkStatus.v2.OutOfNetworkStatus {
11
+ type: "out_of_network";
12
+ }
13
+ interface Indeterminate extends CandidApi.expectedNetworkStatus.v2.IndeterminateNetworkStatus {
14
+ type: "indeterminate";
15
+ }
16
+ }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../..";
5
+ export interface InNetworkRenderingProvidersDetail {
6
+ renderingProviders: CandidApi.organizationProviders.v2.OrganizationProviderId[];
7
+ routedPayerUuid: CandidApi.payers.v3.PayerUuid;
8
+ routedBillingProviderId: CandidApi.organizationProviders.v2.OrganizationProviderId;
9
+ }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../..";
5
+ export interface InNetworkStatus {
6
+ routedPayerUuid: CandidApi.payers.v3.PayerUuid;
7
+ routedBillingProviderId: CandidApi.organizationProviders.v2.OrganizationProviderId;
8
+ }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../..";
5
+ export interface IndeterminateNetworkStatus {
6
+ explanation: string;
7
+ routedPayerUuid?: CandidApi.payers.v3.PayerUuid;
8
+ routedBillingProviderId?: CandidApi.organizationProviders.v2.OrganizationProviderId;
9
+ }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../..";
5
+ export interface InsuranceType {
6
+ /** The line of business associated with the patient’s insurance */
7
+ lineOfBusiness: CandidApi.expectedNetworkStatus.v2.LineOfBusiness;
8
+ /** The Insurance Type Code associated with the patient’s insurance plan. */
9
+ insuranceTypeCodes: CandidApi.InsuranceTypeCode[];
10
+ }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type LineOfBusiness = "medicare" | "medicaid" | "commercial";
5
+ export declare const LineOfBusiness: {
6
+ readonly Medicare: "medicare";
7
+ readonly Medicaid: "medicaid";
8
+ readonly Commercial: "commercial";
9
+ };
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.LineOfBusiness = void 0;
7
+ exports.LineOfBusiness = {
8
+ Medicare: "medicare",
9
+ Medicaid: "medicaid",
10
+ Commercial: "commercial",
11
+ };
@@ -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 NetworkStatusCheckId = string & {
6
+ expectedNetworkStatus_v2_NetworkStatusCheckId: void;
7
+ };
8
+ export declare function NetworkStatusCheckId(value: string): CandidApi.expectedNetworkStatus.v2.NetworkStatusCheckId;
@@ -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.NetworkStatusCheckId = void 0;
7
+ function NetworkStatusCheckId(value) {
8
+ return value;
9
+ }
10
+ exports.NetworkStatusCheckId = NetworkStatusCheckId;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../..";
5
+ export interface OutOfNetworkStatus {
6
+ explanation: string;
7
+ routedPayerUuid: CandidApi.payers.v3.PayerUuid;
8
+ routedBillingProviderId: CandidApi.organizationProviders.v2.OrganizationProviderId;
9
+ }
@@ -0,0 +1,47 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type ServiceType = "new_patient_video_appt" | "new_patient_prev_video_appt" | "new_patient_office_appt" | "established_patient_video_appt" | "established_patient_prev_video_appt" | "established_patient_office_appt" | "patient_portal_with_qualified_physician" | "patient_portal_with_non_qualified_physician" | "group_therapy" | "phone_appt" | "annual_wellness_visit" | "remote_patient_monitoring" | "diagnostic" | "cardiac_monitoring" | "cardiac_codes" | "psychotherapy" | "phone_therapy" | "alcohol_abuse" | "smoking_cessation" | "speech_therapy" | "home_visit" | "medical_nutrition_therapy" | "nutritional_counseling" | "dietitian_visit" | "preventative_medicine_counseling" | "chronic_care" | "advance_care" | "collaborative_care_management" | "abortion_care" | "abortion_drugs" | "remote_therapeutic_monitoring" | "principal_care_mgmt" | "other_em" | "telehealth_oud" | "substance_abuse_treatment" | "acupuncture" | "physical_therapy" | "lactation_consulting" | "sleep_study" | "cms_telehealth_codes" | "cms_telehealth_audio_codes";
5
+ export declare const ServiceType: {
6
+ readonly NewPatientVideoAppt: "new_patient_video_appt";
7
+ readonly NewPatientPrevVideoAppt: "new_patient_prev_video_appt";
8
+ readonly NewPatientOfficeAppt: "new_patient_office_appt";
9
+ readonly EstablishedPatientVideoAppt: "established_patient_video_appt";
10
+ readonly EstablishedPatientPrevVideoAppt: "established_patient_prev_video_appt";
11
+ readonly EstablishedPatientOfficeAppt: "established_patient_office_appt";
12
+ readonly PatientPortalWithQualifiedPhysician: "patient_portal_with_qualified_physician";
13
+ readonly PatientPortalWithNonQualifiedPhysician: "patient_portal_with_non_qualified_physician";
14
+ readonly GroupTherapy: "group_therapy";
15
+ readonly PhoneAppt: "phone_appt";
16
+ readonly AnnualWellnessVisit: "annual_wellness_visit";
17
+ readonly RemotePatientMonitoring: "remote_patient_monitoring";
18
+ readonly Diagnostic: "diagnostic";
19
+ readonly CardiacMonitoring: "cardiac_monitoring";
20
+ readonly CardiacCodes: "cardiac_codes";
21
+ readonly Psychotherapy: "psychotherapy";
22
+ readonly PhoneTherapy: "phone_therapy";
23
+ readonly AlcoholAbuse: "alcohol_abuse";
24
+ readonly SmokingCessation: "smoking_cessation";
25
+ readonly SpeechTherapy: "speech_therapy";
26
+ readonly HomeVisit: "home_visit";
27
+ readonly MedicalNutritionTherapy: "medical_nutrition_therapy";
28
+ readonly NutritionalCounseling: "nutritional_counseling";
29
+ readonly DietitianVisit: "dietitian_visit";
30
+ readonly PreventativeMedicineCounseling: "preventative_medicine_counseling";
31
+ readonly ChronicCare: "chronic_care";
32
+ readonly AdvanceCare: "advance_care";
33
+ readonly CollaborativeCareManagement: "collaborative_care_management";
34
+ readonly AbortionCare: "abortion_care";
35
+ readonly AbortionDrugs: "abortion_drugs";
36
+ readonly RemoteTherapeuticMonitoring: "remote_therapeutic_monitoring";
37
+ readonly PrincipalCareMgmt: "principal_care_mgmt";
38
+ readonly OtherEm: "other_em";
39
+ readonly TelehealthOud: "telehealth_oud";
40
+ readonly SubstanceAbuseTreatment: "substance_abuse_treatment";
41
+ readonly Acupuncture: "acupuncture";
42
+ readonly PhysicalTherapy: "physical_therapy";
43
+ readonly LactationConsulting: "lactation_consulting";
44
+ readonly SleepStudy: "sleep_study";
45
+ readonly CmsTelehealthCodes: "cms_telehealth_codes";
46
+ readonly CmsTelehealthAudioCodes: "cms_telehealth_audio_codes";
47
+ };
@@ -0,0 +1,49 @@
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.ServiceType = void 0;
7
+ exports.ServiceType = {
8
+ NewPatientVideoAppt: "new_patient_video_appt",
9
+ NewPatientPrevVideoAppt: "new_patient_prev_video_appt",
10
+ NewPatientOfficeAppt: "new_patient_office_appt",
11
+ EstablishedPatientVideoAppt: "established_patient_video_appt",
12
+ EstablishedPatientPrevVideoAppt: "established_patient_prev_video_appt",
13
+ EstablishedPatientOfficeAppt: "established_patient_office_appt",
14
+ PatientPortalWithQualifiedPhysician: "patient_portal_with_qualified_physician",
15
+ PatientPortalWithNonQualifiedPhysician: "patient_portal_with_non_qualified_physician",
16
+ GroupTherapy: "group_therapy",
17
+ PhoneAppt: "phone_appt",
18
+ AnnualWellnessVisit: "annual_wellness_visit",
19
+ RemotePatientMonitoring: "remote_patient_monitoring",
20
+ Diagnostic: "diagnostic",
21
+ CardiacMonitoring: "cardiac_monitoring",
22
+ CardiacCodes: "cardiac_codes",
23
+ Psychotherapy: "psychotherapy",
24
+ PhoneTherapy: "phone_therapy",
25
+ AlcoholAbuse: "alcohol_abuse",
26
+ SmokingCessation: "smoking_cessation",
27
+ SpeechTherapy: "speech_therapy",
28
+ HomeVisit: "home_visit",
29
+ MedicalNutritionTherapy: "medical_nutrition_therapy",
30
+ NutritionalCounseling: "nutritional_counseling",
31
+ DietitianVisit: "dietitian_visit",
32
+ PreventativeMedicineCounseling: "preventative_medicine_counseling",
33
+ ChronicCare: "chronic_care",
34
+ AdvanceCare: "advance_care",
35
+ CollaborativeCareManagement: "collaborative_care_management",
36
+ AbortionCare: "abortion_care",
37
+ AbortionDrugs: "abortion_drugs",
38
+ RemoteTherapeuticMonitoring: "remote_therapeutic_monitoring",
39
+ PrincipalCareMgmt: "principal_care_mgmt",
40
+ OtherEm: "other_em",
41
+ TelehealthOud: "telehealth_oud",
42
+ SubstanceAbuseTreatment: "substance_abuse_treatment",
43
+ Acupuncture: "acupuncture",
44
+ PhysicalTherapy: "physical_therapy",
45
+ LactationConsulting: "lactation_consulting",
46
+ SleepStudy: "sleep_study",
47
+ CmsTelehealthCodes: "cms_telehealth_codes",
48
+ CmsTelehealthAudioCodes: "cms_telehealth_audio_codes",
49
+ };
@@ -0,0 +1,16 @@
1
+ export * from "./NetworkStatusCheckId";
2
+ export * from "./LineOfBusiness";
3
+ export * from "./InsuranceType";
4
+ export * from "./ServiceType";
5
+ export * from "./ExpectedNetworkStatusRequestV2";
6
+ export * from "./ComputeAllInNetworkProvidersRequest";
7
+ export * from "./ExpectedNetworkStatusSubscriberInformation";
8
+ export * from "./InNetworkRenderingProvidersDetail";
9
+ export * from "./IndeterminateNetworkStatus";
10
+ export * from "./InNetworkStatus";
11
+ export * from "./OutOfNetworkStatus";
12
+ export * from "./ComputeAllInNetworkRenderingProvidersResult";
13
+ export * from "./ComputeAllInNetworkProvidersResponse";
14
+ export * from "./ExpectedNetworkStatusV2";
15
+ export * from "./ExpectedNetworkStatusResponseV2";
16
+ export * from "./ExpectedNetworkStatusCheckErrorMessage";
@@ -0,0 +1,32 @@
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("./NetworkStatusCheckId"), exports);
18
+ __exportStar(require("./LineOfBusiness"), exports);
19
+ __exportStar(require("./InsuranceType"), exports);
20
+ __exportStar(require("./ServiceType"), exports);
21
+ __exportStar(require("./ExpectedNetworkStatusRequestV2"), exports);
22
+ __exportStar(require("./ComputeAllInNetworkProvidersRequest"), exports);
23
+ __exportStar(require("./ExpectedNetworkStatusSubscriberInformation"), exports);
24
+ __exportStar(require("./InNetworkRenderingProvidersDetail"), exports);
25
+ __exportStar(require("./IndeterminateNetworkStatus"), exports);
26
+ __exportStar(require("./InNetworkStatus"), exports);
27
+ __exportStar(require("./OutOfNetworkStatus"), exports);
28
+ __exportStar(require("./ComputeAllInNetworkRenderingProvidersResult"), exports);
29
+ __exportStar(require("./ComputeAllInNetworkProvidersResponse"), exports);
30
+ __exportStar(require("./ExpectedNetworkStatusV2"), exports);
31
+ __exportStar(require("./ExpectedNetworkStatusResponseV2"), exports);
32
+ __exportStar(require("./ExpectedNetworkStatusCheckErrorMessage"), 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.8.0",
71
+ "X-Fern-SDK-Version": "0.9.0",
72
72
  },
73
73
  contentType: "application/json",
74
74
  queryParameters: _queryParams,
@@ -4,5 +4,5 @@
4
4
  import * as CandidApi from "../../..";
5
5
  export interface Allocation {
6
6
  amountCents: number;
7
- recipient: CandidApi.AllocationRecipient;
7
+ target: CandidApi.AllocationTarget;
8
8
  }
@@ -4,5 +4,5 @@
4
4
  import * as CandidApi from "../../..";
5
5
  export interface AllocationCreate {
6
6
  amountCents: number;
7
- recipient: CandidApi.AllocationRecipientCreate;
7
+ target: CandidApi.AllocationTargetCreate;
8
8
  }
@@ -2,8 +2,8 @@
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 AllocationRecipient = CandidApi.AllocationRecipient.ServiceLine | CandidApi.AllocationRecipient.Claim | CandidApi.AllocationRecipient.BillingProviderId;
6
- export declare namespace AllocationRecipient {
5
+ export declare type AllocationTarget = CandidApi.AllocationTarget.ServiceLine | CandidApi.AllocationTarget.Claim | CandidApi.AllocationTarget.BillingProviderId;
6
+ export declare namespace AllocationTarget {
7
7
  interface ServiceLine {
8
8
  type: "service_line";
9
9
  value: CandidApi.ServiceLineId;
@@ -2,8 +2,8 @@
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 AllocationRecipientCreate = CandidApi.AllocationRecipientCreate.ServiceLineById | CandidApi.AllocationRecipientCreate.ClaimById | CandidApi.AllocationRecipientCreate.BillingProviderById;
6
- export declare namespace AllocationRecipientCreate {
5
+ export declare type AllocationTargetCreate = CandidApi.AllocationTargetCreate.ServiceLineById | CandidApi.AllocationTargetCreate.ClaimById | CandidApi.AllocationTargetCreate.BillingProviderById;
6
+ export declare namespace AllocationTargetCreate {
7
7
  interface ServiceLineById {
8
8
  type: "service_line_by_id";
9
9
  value: CandidApi.ServiceLineId;
@@ -1,7 +1,5 @@
1
1
  export * from "./RefundReason";
2
- export * from "./RefundAllocationCreate";
3
2
  export * from "./Allocation";
4
- export * from "./AllocationRecipient";
3
+ export * from "./AllocationTarget";
5
4
  export * from "./AllocationCreate";
6
- export * from "./AllocationRecipientCreate";
7
- export * from "./RefundAllocation";
5
+ export * from "./AllocationTargetCreate";
@@ -15,9 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./RefundReason"), exports);
18
- __exportStar(require("./RefundAllocationCreate"), exports);
19
18
  __exportStar(require("./Allocation"), exports);
20
- __exportStar(require("./AllocationRecipient"), exports);
19
+ __exportStar(require("./AllocationTarget"), exports);
21
20
  __exportStar(require("./AllocationCreate"), exports);
22
- __exportStar(require("./AllocationRecipientCreate"), exports);
23
- __exportStar(require("./RefundAllocation"), exports);
21
+ __exportStar(require("./AllocationTargetCreate"), exports);
@@ -53,7 +53,7 @@ class V1 {
53
53
  Authorization: await this._getAuthorizationHeader(),
54
54
  "X-Fern-Language": "JavaScript",
55
55
  "X-Fern-SDK-Name": "candidhealth",
56
- "X-Fern-SDK-Version": "0.8.0",
56
+ "X-Fern-SDK-Version": "0.9.0",
57
57
  },
58
58
  contentType: "application/json",
59
59
  body: await serializers.guarantor.v1.GuarantorCreate.jsonOrThrow(request, {
@@ -104,7 +104,7 @@ class V1 {
104
104
  Authorization: await this._getAuthorizationHeader(),
105
105
  "X-Fern-Language": "JavaScript",
106
106
  "X-Fern-SDK-Name": "candidhealth",
107
- "X-Fern-SDK-Version": "0.8.0",
107
+ "X-Fern-SDK-Version": "0.9.0",
108
108
  },
109
109
  contentType: "application/json",
110
110
  timeoutMs: 60000,
@@ -138,7 +138,7 @@ class V1 {
138
138
  Authorization: await this._getAuthorizationHeader(),
139
139
  "X-Fern-Language": "JavaScript",
140
140
  "X-Fern-SDK-Name": "candidhealth",
141
- "X-Fern-SDK-Version": "0.8.0",
141
+ "X-Fern-SDK-Version": "0.9.0",
142
142
  },
143
143
  contentType: "application/json",
144
144
  body: await serializers.guarantor.v1.GuarantorUpdate.jsonOrThrow(request, {
@@ -6,7 +6,7 @@ export * as encounters from "./encounters";
6
6
  export * as expectedNetworkStatus from "./expectedNetworkStatus";
7
7
  export * as exports from "./exports";
8
8
  export * as guarantor from "./guarantor";
9
- export * as insuranceAdjudication from "./insuranceAdjudication";
9
+ export * as insuranceAdjudications from "./insuranceAdjudications";
10
10
  export * as insuranceRefunds from "./insuranceRefunds";
11
11
  export * as organizationServiceFacilities from "./organizationServiceFacilities";
12
12
  export * as organizationProviders from "./organizationProviders";
@@ -26,7 +26,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
26
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.eligibility = exports.tags = exports.serviceFacility = exports.invoices = exports.insuranceCard = exports.individual = exports.identifiers = exports.financials = exports.era = exports.diagnoses = exports.contracts = exports.commons = exports.claims = exports.x12 = exports.writeOffs = exports.serviceLines = exports.payers = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.insuranceRefunds = exports.insuranceAdjudication = exports.guarantor = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.claimSubmission = exports.billingNotes = exports.auth = void 0;
29
+ exports.eligibility = exports.tags = exports.serviceFacility = exports.invoices = exports.insuranceCard = exports.individual = exports.identifiers = exports.financials = exports.era = exports.diagnoses = exports.contracts = exports.commons = exports.claims = exports.x12 = exports.writeOffs = exports.serviceLines = exports.payers = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.insuranceRefunds = exports.insuranceAdjudications = exports.guarantor = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.claimSubmission = exports.billingNotes = exports.auth = void 0;
30
30
  exports.auth = __importStar(require("./auth"));
31
31
  exports.billingNotes = __importStar(require("./billingNotes"));
32
32
  exports.claimSubmission = __importStar(require("./claimSubmission"));
@@ -35,7 +35,7 @@ exports.encounters = __importStar(require("./encounters"));
35
35
  exports.expectedNetworkStatus = __importStar(require("./expectedNetworkStatus"));
36
36
  exports.exports = __importStar(require("./exports"));
37
37
  exports.guarantor = __importStar(require("./guarantor"));
38
- exports.insuranceAdjudication = __importStar(require("./insuranceAdjudication"));
38
+ exports.insuranceAdjudications = __importStar(require("./insuranceAdjudications"));
39
39
  exports.insuranceRefunds = __importStar(require("./insuranceRefunds"));
40
40
  exports.organizationServiceFacilities = __importStar(require("./organizationServiceFacilities"));
41
41
  exports.organizationProviders = __importStar(require("./organizationProviders"));