candidhealth 0.7.1 → 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 (685) hide show
  1. package/Client.d.ts +6 -3
  2. package/Client.js +19 -14
  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/ResourcePage.d.ts +7 -0
  8. package/api/resources/commons/types/index.d.ts +1 -0
  9. package/api/resources/commons/types/index.js +1 -0
  10. package/api/resources/eligibility/resources/v2/client/Client.js +1 -1
  11. package/api/resources/encounters/resources/v4/client/Client.js +4 -4
  12. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +8 -0
  13. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +1 -0
  14. package/api/resources/encounters/resources/v4/types/EncounterSubmissionOriginType.d.ts +8 -0
  15. package/api/resources/encounters/resources/v4/types/EncounterSubmissionOriginType.js +10 -0
  16. package/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
  17. package/api/resources/encounters/resources/v4/types/index.js +1 -0
  18. package/api/resources/expectedNetworkStatus/client/Client.d.ts +3 -0
  19. package/api/resources/expectedNetworkStatus/client/Client.js +5 -0
  20. package/api/resources/expectedNetworkStatus/resources/index.d.ts +1 -0
  21. package/api/resources/expectedNetworkStatus/resources/index.js +2 -1
  22. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  23. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +33 -0
  24. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +163 -0
  25. package/api/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.d.ts +34 -0
  26. package/api/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.js +69 -0
  27. package/api/resources/expectedNetworkStatus/resources/v2/client/computeForRenderingProvider.d.ts +34 -0
  28. package/api/resources/expectedNetworkStatus/resources/v2/client/computeForRenderingProvider.js +69 -0
  29. package/api/resources/expectedNetworkStatus/resources/v2/client/index.d.ts +2 -0
  30. package/api/resources/expectedNetworkStatus/resources/v2/client/index.js +28 -0
  31. package/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.d.ts +31 -0
  32. package/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.d.ts +9 -0
  33. package/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.d.ts +16 -0
  34. package/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.d.ts +6 -0
  35. package/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.d.ts +31 -0
  36. package/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.d.ts +8 -0
  37. package/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.d.ts +12 -0
  38. package/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.d.ts +16 -0
  39. package/api/resources/expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.d.ts +9 -0
  40. package/api/resources/expectedNetworkStatus/resources/v2/types/InNetworkStatus.d.ts +8 -0
  41. package/api/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +9 -0
  42. package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +10 -0
  43. package/api/resources/expectedNetworkStatus/resources/v2/types/LineOfBusiness.d.ts +9 -0
  44. package/api/resources/expectedNetworkStatus/resources/v2/types/LineOfBusiness.js +11 -0
  45. package/api/resources/expectedNetworkStatus/resources/v2/types/NetworkStatusCheckId.d.ts +8 -0
  46. package/api/resources/expectedNetworkStatus/resources/v2/types/NetworkStatusCheckId.js +10 -0
  47. package/api/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +9 -0
  48. package/api/resources/expectedNetworkStatus/resources/v2/types/ServiceType.d.ts +47 -0
  49. package/api/resources/expectedNetworkStatus/resources/v2/types/ServiceType.js +49 -0
  50. package/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +16 -0
  51. package/api/resources/expectedNetworkStatus/resources/v2/types/index.js +32 -0
  52. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  53. package/api/resources/financials/types/Allocation.d.ts +1 -1
  54. package/api/resources/financials/types/AllocationCreate.d.ts +1 -1
  55. package/api/resources/financials/types/{AllocationRecipient.d.ts → AllocationTarget.d.ts} +2 -2
  56. package/api/resources/financials/types/{AllocationRecipientCreate.d.ts → AllocationTargetCreate.d.ts} +2 -2
  57. package/api/resources/financials/types/index.d.ts +2 -4
  58. package/api/resources/financials/types/index.js +2 -4
  59. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  60. package/api/resources/index.d.ts +2 -1
  61. package/api/resources/index.js +3 -2
  62. package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/client/Client.d.ts +4 -4
  63. package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/client/Client.js +3 -3
  64. package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/client/Client.d.ts +3 -3
  65. package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/client/Client.js +12 -12
  66. package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/client/create.d.ts +4 -4
  67. package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/client/create.js +1 -1
  68. package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/client/delete.d.ts +4 -4
  69. package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/client/delete.js +1 -1
  70. package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/client/get.d.ts +4 -4
  71. package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/client/get.js +1 -1
  72. package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ClaimAdjudication.d.ts +2 -2
  73. package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjudicationCreate.d.ts +2 -2
  74. package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/types/InsuranceAdjudication.d.ts +2 -2
  75. package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -1
  76. package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationId.d.ts +2 -2
  77. package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudication.d.ts +3 -3
  78. package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +2 -2
  79. package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationId.d.ts +2 -2
  80. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +3 -3
  81. package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +2 -1
  82. package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +2 -1
  83. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  84. package/api/resources/organizationServiceFacilities/client/Client.d.ts +18 -0
  85. package/api/resources/organizationServiceFacilities/client/Client.js +18 -0
  86. package/api/resources/organizationServiceFacilities/resources/index.d.ts +1 -0
  87. package/api/resources/organizationServiceFacilities/resources/index.js +27 -0
  88. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +22 -0
  89. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +263 -0
  90. package/api/resources/organizationServiceFacilities/resources/v2/client/create.d.ts +28 -0
  91. package/api/resources/organizationServiceFacilities/resources/v2/client/create.js +58 -0
  92. package/api/resources/organizationServiceFacilities/resources/v2/client/delete.d.ts +28 -0
  93. package/api/resources/organizationServiceFacilities/resources/v2/client/delete.js +58 -0
  94. package/api/resources/organizationServiceFacilities/resources/v2/client/get.d.ts +28 -0
  95. package/api/resources/organizationServiceFacilities/resources/v2/client/get.js +58 -0
  96. package/api/resources/organizationServiceFacilities/resources/v2/client/getMulti.d.ts +22 -0
  97. package/api/resources/organizationServiceFacilities/resources/v2/client/getMulti.js +47 -0
  98. package/api/resources/organizationServiceFacilities/resources/v2/client/index.d.ts +6 -0
  99. package/api/resources/organizationServiceFacilities/resources/v2/client/index.js +35 -0
  100. package/api/resources/organizationServiceFacilities/resources/v2/client/requests/GetAllOrganizationServiceFacilitiesRequest.d.ts +18 -0
  101. package/api/resources/organizationServiceFacilities/resources/v2/client/requests/GetAllOrganizationServiceFacilitiesRequest.js +5 -0
  102. package/api/resources/organizationServiceFacilities/resources/v2/client/requests/index.d.ts +1 -0
  103. package/api/resources/organizationServiceFacilities/resources/v2/client/requests/index.js +2 -0
  104. package/api/resources/organizationServiceFacilities/resources/v2/client/update.d.ts +34 -0
  105. package/api/resources/organizationServiceFacilities/resources/v2/client/update.js +69 -0
  106. package/api/resources/organizationServiceFacilities/resources/v2/index.d.ts +2 -0
  107. package/api/resources/organizationServiceFacilities/resources/v2/index.js +18 -0
  108. package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +50 -0
  109. package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.js +5 -0
  110. package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +48 -0
  111. package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.js +5 -0
  112. package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityId.d.ts +12 -0
  113. package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityId.js +10 -0
  114. package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityPage.d.ts +32 -0
  115. package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityPage.js +5 -0
  116. package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +48 -0
  117. package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.js +5 -0
  118. package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityMode.d.ts +18 -0
  119. package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityMode.js +10 -0
  120. package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityOperationalStatus.d.ts +34 -0
  121. package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityOperationalStatus.js +14 -0
  122. package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +66 -0
  123. package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.js +22 -0
  124. package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityStatus.d.ts +22 -0
  125. package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityStatus.js +11 -0
  126. package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +502 -0
  127. package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.js +131 -0
  128. package/api/resources/organizationServiceFacilities/resources/v2/types/index.d.ts +10 -0
  129. package/api/resources/organizationServiceFacilities/resources/v2/types/index.js +26 -0
  130. package/api/resources/patientPayments/resources/v4/client/Client.js +3 -3
  131. package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +2 -2
  132. package/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +1 -0
  133. package/api/resources/patientRefunds/resources/v1/client/Client.js +3 -3
  134. package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +3 -2
  135. package/api/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -0
  136. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  137. package/api/resources/writeOffs/resources/v1/client/Client.js +3 -3
  138. package/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +1 -1
  139. package/api/resources/x12/resources/v1/types/Carc.d.ts +29 -1
  140. package/api/resources/x12/resources/v1/types/Carc.js +28 -0
  141. package/dist/Client.d.ts +6 -3
  142. package/dist/Client.js +19 -14
  143. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  144. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  145. package/dist/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +2 -2
  146. package/dist/api/resources/commons/types/OrganizationNotAuthorizedErrorMessage.d.ts +6 -0
  147. package/dist/api/resources/commons/types/OrganizationNotAuthorizedErrorMessage.js +5 -0
  148. package/dist/api/resources/commons/types/ResourcePage.d.ts +7 -0
  149. package/dist/api/resources/commons/types/index.d.ts +1 -0
  150. package/dist/api/resources/commons/types/index.js +1 -0
  151. package/dist/api/resources/eligibility/resources/v2/client/Client.js +1 -1
  152. package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
  153. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +8 -0
  154. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +1 -0
  155. package/dist/api/resources/encounters/resources/v4/types/EncounterSubmissionOriginType.d.ts +8 -0
  156. package/dist/api/resources/encounters/resources/v4/types/EncounterSubmissionOriginType.js +10 -0
  157. package/dist/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
  158. package/dist/api/resources/encounters/resources/v4/types/index.js +1 -0
  159. package/dist/api/resources/expectedNetworkStatus/client/Client.d.ts +3 -0
  160. package/dist/api/resources/expectedNetworkStatus/client/Client.js +5 -0
  161. package/dist/api/resources/expectedNetworkStatus/resources/index.d.ts +1 -0
  162. package/dist/api/resources/expectedNetworkStatus/resources/index.js +2 -1
  163. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  164. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +33 -0
  165. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +163 -0
  166. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.d.ts +34 -0
  167. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.js +69 -0
  168. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/computeForRenderingProvider.d.ts +34 -0
  169. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/computeForRenderingProvider.js +69 -0
  170. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/index.d.ts +2 -0
  171. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/index.js +28 -0
  172. package/dist/api/resources/expectedNetworkStatus/resources/v2/index.d.ts +2 -0
  173. package/dist/api/resources/expectedNetworkStatus/resources/v2/index.js +18 -0
  174. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.d.ts +31 -0
  175. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.js +5 -0
  176. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.d.ts +9 -0
  177. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.js +5 -0
  178. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.d.ts +16 -0
  179. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.js +5 -0
  180. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.d.ts +6 -0
  181. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.js +5 -0
  182. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.d.ts +31 -0
  183. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.js +5 -0
  184. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.d.ts +8 -0
  185. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.js +5 -0
  186. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.d.ts +12 -0
  187. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.js +5 -0
  188. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.d.ts +16 -0
  189. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.js +5 -0
  190. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.d.ts +9 -0
  191. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.js +5 -0
  192. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InNetworkStatus.d.ts +8 -0
  193. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InNetworkStatus.js +5 -0
  194. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +9 -0
  195. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.js +5 -0
  196. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +10 -0
  197. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.js +5 -0
  198. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/LineOfBusiness.d.ts +9 -0
  199. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/LineOfBusiness.js +11 -0
  200. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/NetworkStatusCheckId.d.ts +8 -0
  201. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/NetworkStatusCheckId.js +10 -0
  202. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +9 -0
  203. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.js +5 -0
  204. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ServiceType.d.ts +47 -0
  205. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ServiceType.js +49 -0
  206. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +16 -0
  207. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.js +32 -0
  208. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  209. package/dist/api/resources/financials/types/Allocation.d.ts +1 -1
  210. package/dist/api/resources/financials/types/AllocationCreate.d.ts +1 -1
  211. package/dist/api/resources/financials/types/{AllocationRecipient.d.ts → AllocationTarget.d.ts} +2 -2
  212. package/dist/api/resources/financials/types/AllocationTarget.js +5 -0
  213. package/dist/api/resources/financials/types/{AllocationRecipientCreate.d.ts → AllocationTargetCreate.d.ts} +2 -2
  214. package/dist/api/resources/financials/types/AllocationTargetCreate.js +5 -0
  215. package/dist/api/resources/financials/types/index.d.ts +2 -4
  216. package/dist/api/resources/financials/types/index.js +2 -4
  217. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  218. package/dist/api/resources/index.d.ts +2 -1
  219. package/dist/api/resources/index.js +3 -2
  220. package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/client/Client.d.ts +4 -4
  221. package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/client/Client.js +3 -3
  222. package/dist/api/resources/insuranceAdjudications/client/index.d.ts +1 -0
  223. package/dist/api/resources/insuranceAdjudications/client/index.js +2 -0
  224. package/dist/api/resources/insuranceAdjudications/index.d.ts +2 -0
  225. package/dist/api/resources/insuranceAdjudications/index.js +18 -0
  226. package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/resources/v1/client/Client.d.ts +3 -3
  227. package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/client/Client.js +12 -12
  228. package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/resources/v1/client/create.d.ts +4 -4
  229. package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/resources/v1/client/create.js +1 -1
  230. package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/client/delete.d.ts +4 -4
  231. package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/resources/v1/client/delete.js +1 -1
  232. package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/resources/v1/client/get.d.ts +4 -4
  233. package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/resources/v1/client/get.js +1 -1
  234. package/dist/api/resources/insuranceAdjudications/resources/v1/index.d.ts +2 -0
  235. package/dist/api/resources/insuranceAdjudications/resources/v1/index.js +18 -0
  236. package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ClaimAdjudication.d.ts +2 -2
  237. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +5 -0
  238. package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjudicationCreate.d.ts +2 -2
  239. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +5 -0
  240. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjustmentReasonCode.js +5 -0
  241. package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/resources/v1/types/InsuranceAdjudication.d.ts +2 -2
  242. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +5 -0
  243. package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -1
  244. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +5 -0
  245. package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationId.d.ts +2 -2
  246. package/dist/api/resources/insuranceAdjudications/resources/v1/types/RemittanceAdviceRemarkCode.js +5 -0
  247. package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudication.d.ts +3 -3
  248. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +5 -0
  249. package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +2 -2
  250. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.js +5 -0
  251. package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationId.d.ts +2 -2
  252. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +3 -3
  253. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +2 -1
  254. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +2 -1
  255. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  256. package/dist/api/resources/organizationServiceFacilities/client/Client.d.ts +18 -0
  257. package/dist/api/resources/organizationServiceFacilities/client/Client.js +18 -0
  258. package/dist/api/resources/organizationServiceFacilities/client/index.d.ts +1 -0
  259. package/dist/api/resources/organizationServiceFacilities/client/index.js +2 -0
  260. package/dist/api/resources/organizationServiceFacilities/index.d.ts +2 -0
  261. package/dist/api/resources/organizationServiceFacilities/index.js +18 -0
  262. package/dist/api/resources/organizationServiceFacilities/resources/index.d.ts +1 -0
  263. package/dist/api/resources/organizationServiceFacilities/resources/index.js +27 -0
  264. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +22 -0
  265. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +263 -0
  266. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/create.d.ts +28 -0
  267. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/create.js +58 -0
  268. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/delete.d.ts +28 -0
  269. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/delete.js +58 -0
  270. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/get.d.ts +28 -0
  271. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/get.js +58 -0
  272. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/getMulti.d.ts +22 -0
  273. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/getMulti.js +47 -0
  274. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/index.d.ts +6 -0
  275. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/index.js +35 -0
  276. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/requests/GetAllOrganizationServiceFacilitiesRequest.d.ts +18 -0
  277. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/requests/GetAllOrganizationServiceFacilitiesRequest.js +5 -0
  278. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/requests/index.d.ts +1 -0
  279. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/requests/index.js +2 -0
  280. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/update.d.ts +34 -0
  281. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/update.js +69 -0
  282. package/dist/api/resources/organizationServiceFacilities/resources/v2/index.d.ts +2 -0
  283. package/dist/api/resources/organizationServiceFacilities/resources/v2/index.js +18 -0
  284. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +50 -0
  285. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.js +5 -0
  286. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +48 -0
  287. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.js +5 -0
  288. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityId.d.ts +12 -0
  289. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityId.js +10 -0
  290. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityPage.d.ts +32 -0
  291. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityPage.js +5 -0
  292. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +48 -0
  293. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.js +5 -0
  294. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityMode.d.ts +18 -0
  295. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityMode.js +10 -0
  296. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityOperationalStatus.d.ts +34 -0
  297. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityOperationalStatus.js +14 -0
  298. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +66 -0
  299. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.js +22 -0
  300. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityStatus.d.ts +22 -0
  301. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityStatus.js +11 -0
  302. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +502 -0
  303. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.js +131 -0
  304. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/index.d.ts +10 -0
  305. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/index.js +26 -0
  306. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +3 -3
  307. package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +2 -2
  308. package/dist/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +1 -0
  309. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +3 -3
  310. package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +3 -2
  311. package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -0
  312. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  313. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +3 -3
  314. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +1 -1
  315. package/dist/api/resources/x12/resources/v1/types/Carc.d.ts +29 -1
  316. package/dist/api/resources/x12/resources/v1/types/Carc.js +28 -0
  317. package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +2 -2
  318. package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.js +6 -2
  319. package/dist/serialization/resources/commons/types/OrganizationNotAuthorizedErrorMessage.d.ts +12 -0
  320. package/dist/serialization/resources/commons/types/OrganizationNotAuthorizedErrorMessage.js +33 -0
  321. package/dist/serialization/resources/commons/types/index.d.ts +1 -0
  322. package/dist/serialization/resources/commons/types/index.js +1 -0
  323. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  324. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  325. package/dist/serialization/resources/encounters/resources/v4/types/EncounterSubmissionOriginType.d.ts +10 -0
  326. package/dist/serialization/resources/encounters/resources/v4/types/EncounterSubmissionOriginType.js +31 -0
  327. package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
  328. package/dist/serialization/resources/encounters/resources/v4/types/index.js +1 -0
  329. package/dist/serialization/resources/expectedNetworkStatus/resources/index.d.ts +1 -0
  330. package/dist/serialization/resources/expectedNetworkStatus/resources/index.js +2 -1
  331. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.d.ts +18 -0
  332. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.js +51 -0
  333. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/client/computeForRenderingProvider.d.ts +18 -0
  334. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/client/computeForRenderingProvider.js +51 -0
  335. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/client/index.d.ts +2 -0
  336. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/client/index.js +28 -0
  337. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/index.d.ts +2 -0
  338. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/index.js +18 -0
  339. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.d.ts +18 -0
  340. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.js +39 -0
  341. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.d.ts +13 -0
  342. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.js +34 -0
  343. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.d.ts +19 -0
  344. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.js +40 -0
  345. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.d.ts +12 -0
  346. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.js +33 -0
  347. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.d.ts +18 -0
  348. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.js +39 -0
  349. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.d.ts +13 -0
  350. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.js +34 -0
  351. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.d.ts +14 -0
  352. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.js +35 -0
  353. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.d.ts +19 -0
  354. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.js +40 -0
  355. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.d.ts +14 -0
  356. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.js +35 -0
  357. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InNetworkStatus.d.ts +13 -0
  358. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InNetworkStatus.js +34 -0
  359. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +14 -0
  360. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.js +37 -0
  361. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +13 -0
  362. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.js +34 -0
  363. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/LineOfBusiness.d.ts +10 -0
  364. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/LineOfBusiness.js +31 -0
  365. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/NetworkStatusCheckId.d.ts +10 -0
  366. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/NetworkStatusCheckId.js +35 -0
  367. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +14 -0
  368. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.js +35 -0
  369. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ServiceType.d.ts +10 -0
  370. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ServiceType.js +73 -0
  371. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +16 -0
  372. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +32 -0
  373. package/dist/serialization/resources/financials/types/Allocation.d.ts +1 -1
  374. package/dist/serialization/resources/financials/types/Allocation.js +1 -1
  375. package/dist/serialization/resources/financials/types/AllocationCreate.d.ts +1 -1
  376. package/dist/serialization/resources/financials/types/AllocationCreate.js +1 -1
  377. package/{serialization/resources/financials/types/AllocationRecipient.d.ts → dist/serialization/resources/financials/types/AllocationTarget.d.ts} +3 -3
  378. package/dist/serialization/resources/financials/types/{AllocationRecipient.js → AllocationTarget.js} +2 -2
  379. package/{serialization/resources/financials/types/AllocationRecipientCreate.d.ts → dist/serialization/resources/financials/types/AllocationTargetCreate.d.ts} +3 -3
  380. package/dist/serialization/resources/financials/types/{AllocationRecipientCreate.js → AllocationTargetCreate.js} +2 -2
  381. package/dist/serialization/resources/financials/types/index.d.ts +2 -4
  382. package/dist/serialization/resources/financials/types/index.js +2 -4
  383. package/dist/serialization/resources/index.d.ts +2 -1
  384. package/dist/serialization/resources/index.js +3 -2
  385. package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjudication.d.ts +3 -3
  386. package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ClaimAdjudication.js +2 -2
  387. package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjudicationCreate.d.ts +3 -3
  388. package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ClaimAdjudicationCreate.js +2 -2
  389. package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +1 -1
  390. package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudication.d.ts +3 -3
  391. package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/InsuranceAdjudication.js +2 -2
  392. package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -2
  393. package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationCreate.js +1 -1
  394. package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationId.d.ts +1 -1
  395. package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationId.js +1 -1
  396. package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +1 -1
  397. package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudication.d.ts +4 -4
  398. package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudication.js +3 -3
  399. package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +3 -3
  400. package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationCreate.js +2 -2
  401. package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationId.d.ts +1 -1
  402. package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationId.js +1 -1
  403. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +2 -1
  404. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +2 -1
  405. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +2 -1
  406. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +2 -1
  407. package/dist/serialization/resources/organizationServiceFacilities/resources/index.d.ts +1 -0
  408. package/dist/serialization/resources/organizationServiceFacilities/resources/index.js +27 -0
  409. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/create.d.ts +14 -0
  410. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/create.js +46 -0
  411. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/delete.d.ts +14 -0
  412. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/delete.js +46 -0
  413. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/get.d.ts +14 -0
  414. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/get.js +46 -0
  415. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/index.d.ts +4 -0
  416. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/index.js +30 -0
  417. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/update.d.ts +18 -0
  418. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/update.js +51 -0
  419. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/index.d.ts +2 -0
  420. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/index.js +18 -0
  421. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +22 -0
  422. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.js +53 -0
  423. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +21 -0
  424. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.js +52 -0
  425. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityId.d.ts +10 -0
  426. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityId.js +35 -0
  427. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityPage.d.ts +12 -0
  428. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityPage.js +35 -0
  429. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +21 -0
  430. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.js +54 -0
  431. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityMode.d.ts +10 -0
  432. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityMode.js +31 -0
  433. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityOperationalStatus.d.ts +10 -0
  434. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityOperationalStatus.js +31 -0
  435. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +10 -0
  436. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.js +31 -0
  437. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityStatus.d.ts +10 -0
  438. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityStatus.js +31 -0
  439. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +10 -0
  440. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.js +155 -0
  441. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/index.d.ts +10 -0
  442. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/index.js +26 -0
  443. package/dist/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +2 -2
  444. package/dist/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.js +2 -2
  445. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +1 -0
  446. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +1 -0
  447. package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +3 -2
  448. package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.js +3 -2
  449. package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -0
  450. package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.js +2 -0
  451. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +1 -1
  452. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +1 -1
  453. package/dist/serialization/resources/x12/resources/v1/types/Carc.d.ts +1 -1
  454. package/dist/serialization/resources/x12/resources/v1/types/Carc.js +28 -0
  455. package/package.json +1 -1
  456. package/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +2 -2
  457. package/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.js +6 -2
  458. package/serialization/resources/commons/types/OrganizationNotAuthorizedErrorMessage.d.ts +12 -0
  459. package/serialization/resources/commons/types/OrganizationNotAuthorizedErrorMessage.js +33 -0
  460. package/serialization/resources/commons/types/index.d.ts +1 -0
  461. package/serialization/resources/commons/types/index.js +1 -0
  462. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  463. package/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  464. package/serialization/resources/encounters/resources/v4/types/EncounterSubmissionOriginType.d.ts +10 -0
  465. package/serialization/resources/encounters/resources/v4/types/EncounterSubmissionOriginType.js +31 -0
  466. package/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
  467. package/serialization/resources/encounters/resources/v4/types/index.js +1 -0
  468. package/serialization/resources/expectedNetworkStatus/resources/index.d.ts +1 -0
  469. package/serialization/resources/expectedNetworkStatus/resources/index.js +2 -1
  470. package/serialization/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.d.ts +18 -0
  471. package/serialization/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.js +51 -0
  472. package/serialization/resources/expectedNetworkStatus/resources/v2/client/computeForRenderingProvider.d.ts +18 -0
  473. package/serialization/resources/expectedNetworkStatus/resources/v2/client/computeForRenderingProvider.js +51 -0
  474. package/serialization/resources/expectedNetworkStatus/resources/v2/client/index.d.ts +2 -0
  475. package/serialization/resources/expectedNetworkStatus/resources/v2/client/index.js +28 -0
  476. package/serialization/resources/expectedNetworkStatus/resources/v2/index.d.ts +2 -0
  477. package/serialization/resources/expectedNetworkStatus/resources/v2/index.js +18 -0
  478. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.d.ts +18 -0
  479. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.js +39 -0
  480. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.d.ts +13 -0
  481. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.js +34 -0
  482. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.d.ts +19 -0
  483. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.js +40 -0
  484. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.d.ts +12 -0
  485. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.js +33 -0
  486. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.d.ts +18 -0
  487. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.js +39 -0
  488. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.d.ts +13 -0
  489. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.js +34 -0
  490. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.d.ts +14 -0
  491. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.js +35 -0
  492. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.d.ts +19 -0
  493. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.js +40 -0
  494. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.d.ts +14 -0
  495. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.js +35 -0
  496. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InNetworkStatus.d.ts +13 -0
  497. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InNetworkStatus.js +34 -0
  498. package/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +14 -0
  499. package/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.js +37 -0
  500. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +13 -0
  501. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.js +34 -0
  502. package/serialization/resources/expectedNetworkStatus/resources/v2/types/LineOfBusiness.d.ts +10 -0
  503. package/serialization/resources/expectedNetworkStatus/resources/v2/types/LineOfBusiness.js +31 -0
  504. package/serialization/resources/expectedNetworkStatus/resources/v2/types/NetworkStatusCheckId.d.ts +10 -0
  505. package/serialization/resources/expectedNetworkStatus/resources/v2/types/NetworkStatusCheckId.js +35 -0
  506. package/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +14 -0
  507. package/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.js +35 -0
  508. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ServiceType.d.ts +10 -0
  509. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ServiceType.js +73 -0
  510. package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +16 -0
  511. package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +32 -0
  512. package/serialization/resources/financials/types/Allocation.d.ts +1 -1
  513. package/serialization/resources/financials/types/Allocation.js +1 -1
  514. package/serialization/resources/financials/types/AllocationCreate.d.ts +1 -1
  515. package/serialization/resources/financials/types/AllocationCreate.js +1 -1
  516. package/{dist/serialization/resources/financials/types/AllocationRecipient.d.ts → serialization/resources/financials/types/AllocationTarget.d.ts} +3 -3
  517. package/serialization/resources/financials/types/{AllocationRecipient.js → AllocationTarget.js} +2 -2
  518. package/{dist/serialization/resources/financials/types/AllocationRecipientCreate.d.ts → serialization/resources/financials/types/AllocationTargetCreate.d.ts} +3 -3
  519. package/serialization/resources/financials/types/{AllocationRecipientCreate.js → AllocationTargetCreate.js} +2 -2
  520. package/serialization/resources/financials/types/index.d.ts +2 -4
  521. package/serialization/resources/financials/types/index.js +2 -4
  522. package/serialization/resources/index.d.ts +2 -1
  523. package/serialization/resources/index.js +3 -2
  524. package/serialization/resources/insuranceAdjudications/index.d.ts +1 -0
  525. package/serialization/resources/insuranceAdjudications/index.js +17 -0
  526. package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjudication.d.ts +3 -3
  527. package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ClaimAdjudication.js +2 -2
  528. package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjudicationCreate.d.ts +3 -3
  529. package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ClaimAdjudicationCreate.js +2 -2
  530. package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +1 -1
  531. package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudication.d.ts +3 -3
  532. package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/InsuranceAdjudication.js +2 -2
  533. package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -2
  534. package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationCreate.js +1 -1
  535. package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationId.d.ts +1 -1
  536. package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationId.js +1 -1
  537. package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +1 -1
  538. package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudication.d.ts +4 -4
  539. package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudication.js +3 -3
  540. package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +3 -3
  541. package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationCreate.js +2 -2
  542. package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationId.d.ts +1 -1
  543. package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationId.js +1 -1
  544. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +2 -1
  545. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +2 -1
  546. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +2 -1
  547. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +2 -1
  548. package/serialization/resources/organizationServiceFacilities/index.d.ts +1 -0
  549. package/serialization/resources/organizationServiceFacilities/index.js +17 -0
  550. package/serialization/resources/organizationServiceFacilities/resources/index.d.ts +1 -0
  551. package/serialization/resources/organizationServiceFacilities/resources/index.js +27 -0
  552. package/serialization/resources/organizationServiceFacilities/resources/v2/client/create.d.ts +14 -0
  553. package/serialization/resources/organizationServiceFacilities/resources/v2/client/create.js +46 -0
  554. package/serialization/resources/organizationServiceFacilities/resources/v2/client/delete.d.ts +14 -0
  555. package/serialization/resources/organizationServiceFacilities/resources/v2/client/delete.js +46 -0
  556. package/serialization/resources/organizationServiceFacilities/resources/v2/client/get.d.ts +14 -0
  557. package/serialization/resources/organizationServiceFacilities/resources/v2/client/get.js +46 -0
  558. package/serialization/resources/organizationServiceFacilities/resources/v2/client/index.d.ts +4 -0
  559. package/serialization/resources/organizationServiceFacilities/resources/v2/client/index.js +30 -0
  560. package/serialization/resources/organizationServiceFacilities/resources/v2/client/update.d.ts +18 -0
  561. package/serialization/resources/organizationServiceFacilities/resources/v2/client/update.js +51 -0
  562. package/serialization/resources/organizationServiceFacilities/resources/v2/index.d.ts +2 -0
  563. package/serialization/resources/organizationServiceFacilities/resources/v2/index.js +18 -0
  564. package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +22 -0
  565. package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.js +53 -0
  566. package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +21 -0
  567. package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.js +52 -0
  568. package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityId.d.ts +10 -0
  569. package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityId.js +35 -0
  570. package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityPage.d.ts +12 -0
  571. package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityPage.js +35 -0
  572. package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +21 -0
  573. package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.js +54 -0
  574. package/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityMode.d.ts +10 -0
  575. package/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityMode.js +31 -0
  576. package/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityOperationalStatus.d.ts +10 -0
  577. package/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityOperationalStatus.js +31 -0
  578. package/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +10 -0
  579. package/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.js +31 -0
  580. package/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityStatus.d.ts +10 -0
  581. package/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityStatus.js +31 -0
  582. package/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +10 -0
  583. package/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.js +155 -0
  584. package/serialization/resources/organizationServiceFacilities/resources/v2/types/index.d.ts +10 -0
  585. package/serialization/resources/organizationServiceFacilities/resources/v2/types/index.js +26 -0
  586. package/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +2 -2
  587. package/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.js +2 -2
  588. package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +1 -0
  589. package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +1 -0
  590. package/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +3 -2
  591. package/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.js +3 -2
  592. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -0
  593. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.js +2 -0
  594. package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +1 -1
  595. package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +1 -1
  596. package/serialization/resources/x12/resources/v1/types/Carc.d.ts +1 -1
  597. package/serialization/resources/x12/resources/v1/types/Carc.js +28 -0
  598. package/api/resources/financials/types/RefundAllocation.d.ts +0 -8
  599. package/api/resources/financials/types/RefundAllocationCreate.d.ts +0 -8
  600. package/dist/api/resources/financials/types/RefundAllocation.d.ts +0 -8
  601. package/dist/api/resources/financials/types/RefundAllocationCreate.d.ts +0 -8
  602. package/dist/serialization/resources/financials/types/RefundAllocation.d.ts +0 -13
  603. package/dist/serialization/resources/financials/types/RefundAllocation.js +0 -34
  604. package/dist/serialization/resources/financials/types/RefundAllocationCreate.d.ts +0 -13
  605. package/dist/serialization/resources/financials/types/RefundAllocationCreate.js +0 -34
  606. package/serialization/resources/financials/types/RefundAllocation.d.ts +0 -13
  607. package/serialization/resources/financials/types/RefundAllocation.js +0 -34
  608. package/serialization/resources/financials/types/RefundAllocationCreate.d.ts +0 -13
  609. package/serialization/resources/financials/types/RefundAllocationCreate.js +0 -34
  610. /package/api/resources/{financials/types/AllocationRecipient.js → commons/types/OrganizationNotAuthorizedErrorMessage.js} +0 -0
  611. /package/api/resources/{insuranceAdjudication/resources/v1 → expectedNetworkStatus/resources/v2}/index.d.ts +0 -0
  612. /package/api/resources/{insuranceAdjudication/resources/v1 → expectedNetworkStatus/resources/v2}/index.js +0 -0
  613. /package/api/resources/{financials/types/AllocationRecipientCreate.js → expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.js} +0 -0
  614. /package/api/resources/{financials/types/RefundAllocation.js → expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.js} +0 -0
  615. /package/api/resources/{financials/types/RefundAllocationCreate.js → expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.js} +0 -0
  616. /package/api/resources/{insuranceAdjudication/resources/v1/types/ClaimAdjudication.js → expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.js} +0 -0
  617. /package/api/resources/{insuranceAdjudication/resources/v1/types/ClaimAdjudicationCreate.js → expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.js} +0 -0
  618. /package/api/resources/{insuranceAdjudication/resources/v1/types/ClaimAdjustmentReasonCode.js → expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.js} +0 -0
  619. /package/api/resources/{insuranceAdjudication/resources/v1/types/InsuranceAdjudication.js → expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.js} +0 -0
  620. /package/api/resources/{insuranceAdjudication/resources/v1/types/InsuranceAdjudicationCreate.js → expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.js} +0 -0
  621. /package/api/resources/{insuranceAdjudication/resources/v1/types/RemittanceAdviceRemarkCode.js → expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.js} +0 -0
  622. /package/api/resources/{insuranceAdjudication/resources/v1/types/ServiceLineAdjudication.js → expectedNetworkStatus/resources/v2/types/InNetworkStatus.js} +0 -0
  623. /package/api/resources/{insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationCreate.js → expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.js} +0 -0
  624. /package/{dist/api/resources/financials/types/AllocationRecipient.js → api/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.js} +0 -0
  625. /package/{dist/api/resources/financials/types/AllocationRecipientCreate.js → api/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.js} +0 -0
  626. /package/{dist/api/resources/financials/types/RefundAllocation.js → api/resources/financials/types/AllocationTarget.js} +0 -0
  627. /package/{dist/api/resources/financials/types/RefundAllocationCreate.js → api/resources/financials/types/AllocationTargetCreate.js} +0 -0
  628. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/client/index.d.ts +0 -0
  629. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/client/index.js +0 -0
  630. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/index.d.ts +0 -0
  631. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/index.js +0 -0
  632. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/index.d.ts +0 -0
  633. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/index.js +0 -0
  634. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/client/index.d.ts +0 -0
  635. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/client/index.js +0 -0
  636. /package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/index.d.ts +0 -0
  637. /package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/index.js +0 -0
  638. /package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjudication.js +0 -0
  639. /package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjudicationCreate.js +0 -0
  640. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +0 -0
  641. /package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjustmentReasonCode.js +0 -0
  642. /package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/types/InsuranceAdjudication.js +0 -0
  643. /package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationCreate.js +0 -0
  644. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationId.js +0 -0
  645. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +0 -0
  646. /package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/types/RemittanceAdviceRemarkCode.js +0 -0
  647. /package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudication.js +0 -0
  648. /package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationCreate.js +0 -0
  649. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationId.js +0 -0
  650. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/index.d.ts +0 -0
  651. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/index.js +0 -0
  652. /package/{dist/api/resources/insuranceAdjudication → api/resources/organizationServiceFacilities}/client/index.d.ts +0 -0
  653. /package/{dist/api/resources/insuranceAdjudication → api/resources/organizationServiceFacilities}/client/index.js +0 -0
  654. /package/{dist/api/resources/insuranceAdjudication → api/resources/organizationServiceFacilities}/index.d.ts +0 -0
  655. /package/{dist/api/resources/insuranceAdjudication → api/resources/organizationServiceFacilities}/index.js +0 -0
  656. /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/index.d.ts +0 -0
  657. /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/index.js +0 -0
  658. /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/client/index.d.ts +0 -0
  659. /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/client/index.js +0 -0
  660. /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +0 -0
  661. /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationId.js +0 -0
  662. /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +0 -0
  663. /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationId.js +0 -0
  664. /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/index.d.ts +0 -0
  665. /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/index.js +0 -0
  666. /package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/index.d.ts +0 -0
  667. /package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/index.js +0 -0
  668. /package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/index.d.ts +0 -0
  669. /package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/index.js +0 -0
  670. /package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/index.d.ts +0 -0
  671. /package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/index.js +0 -0
  672. /package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ClaimAdjustmentReasonCode.js +0 -0
  673. /package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/RemittanceAdviceRemarkCode.js +0 -0
  674. /package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/index.d.ts +0 -0
  675. /package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/index.js +0 -0
  676. /package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/organizationServiceFacilities}/index.d.ts +0 -0
  677. /package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/organizationServiceFacilities}/index.js +0 -0
  678. /package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/index.d.ts +0 -0
  679. /package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/index.js +0 -0
  680. /package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/index.d.ts +0 -0
  681. /package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/index.js +0 -0
  682. /package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ClaimAdjustmentReasonCode.js +0 -0
  683. /package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/RemittanceAdviceRemarkCode.js +0 -0
  684. /package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/index.d.ts +0 -0
  685. /package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/index.js +0 -0
@@ -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.7.1",
56
+ "X-Fern-SDK-Version": "0.9.0",
57
57
  },
58
58
  contentType: "application/json",
59
59
  body: await serializers.expectedNetworkStatus.v1.ExpectedNetworkStatusRequest.jsonOrThrow(request, {
@@ -0,0 +1,33 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as environments from "../../../../../../environments";
5
+ import * as core from "../../../../../../core";
6
+ import * as CandidApi from "../../../../..";
7
+ export declare namespace V2 {
8
+ interface Options {
9
+ environment?: environments.CandidApiEnvironment | string;
10
+ token?: core.Supplier<core.BearerToken | undefined>;
11
+ }
12
+ }
13
+ export declare class V2 {
14
+ protected readonly options: V2.Options;
15
+ constructor(options: V2.Options);
16
+ /**
17
+ * Computes the expected network status for a given rendering provider.
18
+ * This endpoint is not available to all customers. Reach out to the Candid sales team
19
+ * to discuss enabling this endpoint if it is not available for your organization.
20
+ * **This endpoint is incubating.**
21
+ *
22
+ */
23
+ computeForRenderingProvider(renderingProviderId: CandidApi.organizationProviders.v2.OrganizationProviderId, request: CandidApi.expectedNetworkStatus.v2.ExpectedNetworkStatusRequestV2): Promise<core.APIResponse<CandidApi.expectedNetworkStatus.v2.ExpectedNetworkStatusResponseV2, CandidApi.expectedNetworkStatus.v2.computeForRenderingProvider.Error>>;
24
+ /**
25
+ * Computes all the in network providers for a given set of inputs.
26
+ * This endpoint is not available to all customers. Reach out to the Candid sales team
27
+ * to discuss enabling this endpoint if it is not available for your organization.
28
+ * **This endpoint is incubating.**
29
+ *
30
+ */
31
+ computeAllInNetworkProviders(request: CandidApi.expectedNetworkStatus.v2.ComputeAllInNetworkProvidersRequest): Promise<core.APIResponse<CandidApi.expectedNetworkStatus.v2.ComputeAllInNetworkProvidersResponse, CandidApi.expectedNetworkStatus.v2.computeAllInNetworkProviders.Error>>;
32
+ protected _getAuthorizationHeader(): Promise<string | undefined>;
33
+ }
@@ -0,0 +1,163 @@
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
+ var __importDefault = (this && this.__importDefault) || function (mod) {
29
+ return (mod && mod.__esModule) ? mod : { "default": mod };
30
+ };
31
+ Object.defineProperty(exports, "__esModule", { value: true });
32
+ exports.V2 = void 0;
33
+ const environments = __importStar(require("../../../../../../environments"));
34
+ const core = __importStar(require("../../../../../../core"));
35
+ const CandidApi = __importStar(require("../../../../.."));
36
+ const serializers = __importStar(require("../../../../../../serialization"));
37
+ const url_join_1 = __importDefault(require("url-join"));
38
+ class V2 {
39
+ options;
40
+ constructor(options) {
41
+ this.options = options;
42
+ }
43
+ /**
44
+ * Computes the expected network status for a given rendering provider.
45
+ * This endpoint is not available to all customers. Reach out to the Candid sales team
46
+ * to discuss enabling this endpoint if it is not available for your organization.
47
+ * **This endpoint is incubating.**
48
+ *
49
+ */
50
+ async computeForRenderingProvider(renderingProviderId, request) {
51
+ const _response = await core.fetcher({
52
+ url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, `/api/expected-network-status/v2/compute/${await serializers.organizationProviders.v2.OrganizationProviderId.jsonOrThrow(renderingProviderId)}`),
53
+ method: "POST",
54
+ headers: {
55
+ Authorization: await this._getAuthorizationHeader(),
56
+ "X-Fern-Language": "JavaScript",
57
+ "X-Fern-SDK-Name": "candidhealth",
58
+ "X-Fern-SDK-Version": "0.9.0",
59
+ },
60
+ contentType: "application/json",
61
+ body: await serializers.expectedNetworkStatus.v2.ExpectedNetworkStatusRequestV2.jsonOrThrow(request, {
62
+ unrecognizedObjectKeys: "strip",
63
+ }),
64
+ timeoutMs: 60000,
65
+ });
66
+ if (_response.ok) {
67
+ return {
68
+ ok: true,
69
+ body: await serializers.expectedNetworkStatus.v2.ExpectedNetworkStatusResponseV2.parseOrThrow(_response.body, {
70
+ unrecognizedObjectKeys: "passthrough",
71
+ allowUnrecognizedUnionMembers: true,
72
+ allowUnrecognizedEnumValues: true,
73
+ breadcrumbsPrefix: ["response"],
74
+ }),
75
+ };
76
+ }
77
+ if (_response.error.reason === "status-code") {
78
+ switch (_response.error.body
79
+ ?.errorName) {
80
+ case "ExpectedNetworkStatusCheckError":
81
+ case "OrganizationNotAuthorizedError":
82
+ return {
83
+ ok: false,
84
+ error: await serializers.expectedNetworkStatus.v2.computeForRenderingProvider.Error.parseOrThrow(_response.error
85
+ .body, {
86
+ unrecognizedObjectKeys: "passthrough",
87
+ allowUnrecognizedUnionMembers: true,
88
+ allowUnrecognizedEnumValues: true,
89
+ breadcrumbsPrefix: ["response"],
90
+ }),
91
+ };
92
+ }
93
+ }
94
+ return {
95
+ ok: false,
96
+ error: CandidApi.expectedNetworkStatus.v2.computeForRenderingProvider.Error._unknown(_response.error),
97
+ };
98
+ }
99
+ /**
100
+ * Computes all the in network providers for a given set of inputs.
101
+ * This endpoint is not available to all customers. Reach out to the Candid sales team
102
+ * to discuss enabling this endpoint if it is not available for your organization.
103
+ * **This endpoint is incubating.**
104
+ *
105
+ */
106
+ async computeAllInNetworkProviders(request) {
107
+ const _response = await core.fetcher({
108
+ url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, "/api/expected-network-status/v2/compute"),
109
+ method: "POST",
110
+ headers: {
111
+ Authorization: await this._getAuthorizationHeader(),
112
+ "X-Fern-Language": "JavaScript",
113
+ "X-Fern-SDK-Name": "candidhealth",
114
+ "X-Fern-SDK-Version": "0.9.0",
115
+ },
116
+ contentType: "application/json",
117
+ body: await serializers.expectedNetworkStatus.v2.ComputeAllInNetworkProvidersRequest.jsonOrThrow(request, {
118
+ unrecognizedObjectKeys: "strip",
119
+ }),
120
+ timeoutMs: 60000,
121
+ });
122
+ if (_response.ok) {
123
+ return {
124
+ ok: true,
125
+ body: await serializers.expectedNetworkStatus.v2.ComputeAllInNetworkProvidersResponse.parseOrThrow(_response.body, {
126
+ unrecognizedObjectKeys: "passthrough",
127
+ allowUnrecognizedUnionMembers: true,
128
+ allowUnrecognizedEnumValues: true,
129
+ breadcrumbsPrefix: ["response"],
130
+ }),
131
+ };
132
+ }
133
+ if (_response.error.reason === "status-code") {
134
+ switch (_response.error.body
135
+ ?.errorName) {
136
+ case "ExpectedNetworkStatusCheckError":
137
+ case "OrganizationNotAuthorizedError":
138
+ return {
139
+ ok: false,
140
+ error: await serializers.expectedNetworkStatus.v2.computeAllInNetworkProviders.Error.parseOrThrow(_response.error
141
+ .body, {
142
+ unrecognizedObjectKeys: "passthrough",
143
+ allowUnrecognizedUnionMembers: true,
144
+ allowUnrecognizedEnumValues: true,
145
+ breadcrumbsPrefix: ["response"],
146
+ }),
147
+ };
148
+ }
149
+ }
150
+ return {
151
+ ok: false,
152
+ error: CandidApi.expectedNetworkStatus.v2.computeAllInNetworkProviders.Error._unknown(_response.error),
153
+ };
154
+ }
155
+ async _getAuthorizationHeader() {
156
+ const bearer = await core.Supplier.get(this.options.token);
157
+ if (bearer != null) {
158
+ return `Bearer ${bearer}`;
159
+ }
160
+ return undefined;
161
+ }
162
+ }
163
+ exports.V2 = V2;
@@ -0,0 +1,34 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../..";
5
+ import * as core from "../../../../../../core";
6
+ export declare type Error = CandidApi.expectedNetworkStatus.v2.computeAllInNetworkProviders.Error.ExpectedNetworkStatusCheckError | CandidApi.expectedNetworkStatus.v2.computeAllInNetworkProviders.Error.OrganizationNotAuthorizedError | CandidApi.expectedNetworkStatus.v2.computeAllInNetworkProviders.Error._Unknown;
7
+ export declare namespace Error {
8
+ interface ExpectedNetworkStatusCheckError extends _Utils {
9
+ errorName: "ExpectedNetworkStatusCheckError";
10
+ content: CandidApi.expectedNetworkStatus.v2.ExpectedNetworkStatusCheckErrorMessage;
11
+ }
12
+ interface OrganizationNotAuthorizedError extends _Utils {
13
+ errorName: "OrganizationNotAuthorizedError";
14
+ content: CandidApi.OrganizationNotAuthorizedErrorMessage;
15
+ }
16
+ interface _Unknown extends _Utils {
17
+ errorName: void;
18
+ content: core.Fetcher.Error;
19
+ }
20
+ interface _Utils {
21
+ _visit: <_Result>(visitor: CandidApi.expectedNetworkStatus.v2.computeAllInNetworkProviders.Error._Visitor<_Result>) => _Result;
22
+ }
23
+ interface _Visitor<_Result> {
24
+ expectedNetworkStatusCheckError: (value: CandidApi.expectedNetworkStatus.v2.ExpectedNetworkStatusCheckErrorMessage) => _Result;
25
+ organizationNotAuthorizedError: (value: CandidApi.OrganizationNotAuthorizedErrorMessage) => _Result;
26
+ _other: (value: core.Fetcher.Error) => _Result;
27
+ }
28
+ }
29
+ export declare const Error: {
30
+ readonly expectedNetworkStatusCheckError: (value: CandidApi.expectedNetworkStatus.v2.ExpectedNetworkStatusCheckErrorMessage) => CandidApi.expectedNetworkStatus.v2.computeAllInNetworkProviders.Error.ExpectedNetworkStatusCheckError;
31
+ readonly organizationNotAuthorizedError: (value: CandidApi.OrganizationNotAuthorizedErrorMessage) => CandidApi.expectedNetworkStatus.v2.computeAllInNetworkProviders.Error.OrganizationNotAuthorizedError;
32
+ readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.expectedNetworkStatus.v2.computeAllInNetworkProviders.Error._Unknown;
33
+ readonly _visit: <_Result>(value: CandidApi.expectedNetworkStatus.v2.computeAllInNetworkProviders.Error, visitor: CandidApi.expectedNetworkStatus.v2.computeAllInNetworkProviders.Error._Visitor<_Result>) => _Result;
34
+ };
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.Error = void 0;
30
+ const CandidApi = __importStar(require("../../../../.."));
31
+ exports.Error = {
32
+ expectedNetworkStatusCheckError: (value) => {
33
+ return {
34
+ content: value,
35
+ errorName: "ExpectedNetworkStatusCheckError",
36
+ _visit: function (visitor) {
37
+ return CandidApi.expectedNetworkStatus.v2.computeAllInNetworkProviders.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.computeAllInNetworkProviders.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.computeAllInNetworkProviders.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,34 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../..";
5
+ import * as core from "../../../../../../core";
6
+ export declare type Error = CandidApi.expectedNetworkStatus.v2.computeForRenderingProvider.Error.ExpectedNetworkStatusCheckError | CandidApi.expectedNetworkStatus.v2.computeForRenderingProvider.Error.OrganizationNotAuthorizedError | CandidApi.expectedNetworkStatus.v2.computeForRenderingProvider.Error._Unknown;
7
+ export declare namespace Error {
8
+ interface ExpectedNetworkStatusCheckError extends _Utils {
9
+ errorName: "ExpectedNetworkStatusCheckError";
10
+ content: CandidApi.expectedNetworkStatus.v2.ExpectedNetworkStatusCheckErrorMessage;
11
+ }
12
+ interface OrganizationNotAuthorizedError extends _Utils {
13
+ errorName: "OrganizationNotAuthorizedError";
14
+ content: CandidApi.OrganizationNotAuthorizedErrorMessage;
15
+ }
16
+ interface _Unknown extends _Utils {
17
+ errorName: void;
18
+ content: core.Fetcher.Error;
19
+ }
20
+ interface _Utils {
21
+ _visit: <_Result>(visitor: CandidApi.expectedNetworkStatus.v2.computeForRenderingProvider.Error._Visitor<_Result>) => _Result;
22
+ }
23
+ interface _Visitor<_Result> {
24
+ expectedNetworkStatusCheckError: (value: CandidApi.expectedNetworkStatus.v2.ExpectedNetworkStatusCheckErrorMessage) => _Result;
25
+ organizationNotAuthorizedError: (value: CandidApi.OrganizationNotAuthorizedErrorMessage) => _Result;
26
+ _other: (value: core.Fetcher.Error) => _Result;
27
+ }
28
+ }
29
+ export declare const Error: {
30
+ readonly expectedNetworkStatusCheckError: (value: CandidApi.expectedNetworkStatus.v2.ExpectedNetworkStatusCheckErrorMessage) => CandidApi.expectedNetworkStatus.v2.computeForRenderingProvider.Error.ExpectedNetworkStatusCheckError;
31
+ readonly organizationNotAuthorizedError: (value: CandidApi.OrganizationNotAuthorizedErrorMessage) => CandidApi.expectedNetworkStatus.v2.computeForRenderingProvider.Error.OrganizationNotAuthorizedError;
32
+ readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.expectedNetworkStatus.v2.computeForRenderingProvider.Error._Unknown;
33
+ readonly _visit: <_Result>(value: CandidApi.expectedNetworkStatus.v2.computeForRenderingProvider.Error, visitor: CandidApi.expectedNetworkStatus.v2.computeForRenderingProvider.Error._Visitor<_Result>) => _Result;
34
+ };
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.Error = void 0;
30
+ const CandidApi = __importStar(require("../../../../.."));
31
+ exports.Error = {
32
+ 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,2 @@
1
+ export * from "./types";
2
+ export * from "./client";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
18
+ __exportStar(require("./client"), exports);
@@ -0,0 +1,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,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,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,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,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,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,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,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,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,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../..";
5
+ export interface ExpectedNetworkStatusResponseV2 {
6
+ networkStatusCheckId: CandidApi.expectedNetworkStatus.v2.NetworkStatusCheckId;
7
+ networkStatus: CandidApi.expectedNetworkStatus.v2.ExpectedNetworkStatusV2;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,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,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 });