candidhealth 0.39.6 → 0.39.8

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 (500) hide show
  1. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  2. package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  3. package/api/resources/chargeCapture/resources/v1/client/Client.js +5 -5
  4. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  5. package/api/resources/commons/types/ProcedureModifier.d.ts +5 -1
  6. package/api/resources/commons/types/ProcedureModifier.js +1 -0
  7. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  8. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  9. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  10. package/api/resources/diagnoses/client/Client.js +3 -3
  11. package/api/resources/eligibility/resources/v2/client/Client.d.ts +9 -0
  12. package/api/resources/eligibility/resources/v2/client/Client.js +12 -3
  13. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  14. package/api/resources/encounters/resources/v4/client/Client.js +5 -5
  15. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  16. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  17. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  18. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  19. package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +3 -0
  20. package/api/resources/feeSchedules/resources/v3/client/Client.js +31 -12
  21. package/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +1 -0
  22. package/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +2 -0
  23. package/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +2 -0
  24. package/api/resources/feeSchedules/resources/v3/types/DimensionMatch.d.ts +1 -0
  25. package/api/resources/feeSchedules/resources/v3/types/Dimensions.d.ts +2 -1
  26. package/api/resources/feeSchedules/resources/v3/types/MatchPayerPlanGroups.d.ts +12 -0
  27. package/api/resources/feeSchedules/resources/v3/types/MatchPayerPlanGroups.js +5 -0
  28. package/api/resources/feeSchedules/resources/v3/types/OptionalDimensions.d.ts +1 -0
  29. package/api/resources/feeSchedules/resources/v3/types/PayerPlanGroupDoesNotMatchRatePayerError.d.ts +8 -0
  30. package/api/resources/feeSchedules/resources/v3/types/PayerPlanGroupDoesNotMatchRatePayerError.js +5 -0
  31. package/api/resources/feeSchedules/resources/v3/types/ValidationError.d.ts +7 -1
  32. package/api/resources/feeSchedules/resources/v3/types/index.d.ts +2 -0
  33. package/api/resources/feeSchedules/resources/v3/types/index.js +2 -0
  34. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  35. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  36. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  37. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  38. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  39. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  40. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  41. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  42. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  43. package/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +5 -1
  44. package/api/resources/organizationProviders/resources/v2/types/LicenseType.js +4 -0
  45. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  46. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  47. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  48. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  49. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  50. package/api/resources/preEncounter/client/Client.d.ts +3 -0
  51. package/api/resources/preEncounter/client/Client.js +13 -8
  52. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +20 -2
  53. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +89 -8
  54. package/api/resources/preEncounter/resources/appointments/resources/v1/client/getVisits.d.ts +28 -0
  55. package/api/resources/preEncounter/resources/appointments/resources/v1/client/getVisits.js +68 -0
  56. package/api/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +1 -0
  57. package/api/resources/preEncounter/resources/appointments/resources/v1/client/index.js +2 -1
  58. package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +27 -0
  59. package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.js +5 -0
  60. package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/index.d.ts +1 -0
  61. package/api/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +1 -1
  62. package/api/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +13 -0
  63. package/api/resources/preEncounter/resources/appointments/resources/v1/types/Visit.js +5 -0
  64. package/api/resources/preEncounter/resources/appointments/resources/v1/types/VisitsPage.d.ts +7 -0
  65. package/api/resources/preEncounter/resources/appointments/resources/v1/types/VisitsPage.js +5 -0
  66. package/api/resources/preEncounter/resources/appointments/resources/v1/types/index.d.ts +2 -0
  67. package/api/resources/preEncounter/resources/appointments/resources/v1/types/index.js +2 -0
  68. package/api/resources/preEncounter/resources/common/types/ExternalIdentifier.d.ts +12 -0
  69. package/api/resources/preEncounter/resources/common/types/ExternalIdentifier.js +5 -0
  70. package/api/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -0
  71. package/api/resources/preEncounter/resources/common/types/PayerPlanGroupId.d.ts +11 -0
  72. package/api/resources/preEncounter/resources/common/types/PayerPlanGroupId.js +9 -0
  73. package/api/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  74. package/api/resources/preEncounter/resources/common/types/index.js +2 -0
  75. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +21 -16
  76. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +87 -24
  77. package/api/resources/preEncounter/resources/coverages/resources/v1/client/getMultiPaginated.d.ts +28 -0
  78. package/api/resources/preEncounter/resources/coverages/resources/v1/client/getMultiPaginated.js +68 -0
  79. package/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +1 -0
  80. package/api/resources/preEncounter/resources/coverages/resources/v1/client/index.js +2 -1
  81. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.d.ts +22 -0
  82. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.js +5 -0
  83. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/index.d.ts +1 -0
  84. package/api/resources/preEncounter/resources/coverages/resources/v1/types/Address.d.ts +12 -0
  85. package/api/resources/preEncounter/resources/coverages/resources/v1/types/Address.js +5 -0
  86. package/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitsRelatedEntity.d.ts +1 -0
  87. package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoveragesPage.d.ts +7 -0
  88. package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoveragesPage.js +5 -0
  89. package/api/resources/preEncounter/resources/coverages/resources/v1/types/ExpandedMemberInfo.d.ts +14 -0
  90. package/api/resources/preEncounter/resources/coverages/resources/v1/types/ExpandedMemberInfo.js +5 -0
  91. package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +2 -0
  92. package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +4 -0
  93. package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +1 -0
  94. package/api/resources/preEncounter/resources/coverages/resources/v1/types/MemberInfo.d.ts +9 -0
  95. package/api/resources/preEncounter/resources/coverages/resources/v1/types/MemberInfo.js +5 -0
  96. package/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanMetadata.d.ts +3 -0
  97. package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +4 -0
  98. package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +4 -0
  99. package/api/resources/preEncounter/resources/eligibilityChecks/client/Client.d.ts +30 -0
  100. package/api/resources/preEncounter/resources/eligibilityChecks/client/Client.js +17 -0
  101. package/api/resources/preEncounter/resources/eligibilityChecks/client/index.d.ts +1 -0
  102. package/api/resources/preEncounter/resources/eligibilityChecks/client/index.js +2 -0
  103. package/api/resources/preEncounter/resources/eligibilityChecks/index.d.ts +2 -0
  104. package/api/resources/preEncounter/resources/eligibilityChecks/index.js +18 -0
  105. package/api/resources/preEncounter/resources/eligibilityChecks/resources/index.d.ts +1 -0
  106. package/api/resources/preEncounter/resources/eligibilityChecks/resources/index.js +37 -0
  107. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +63 -0
  108. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +137 -0
  109. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +1 -0
  110. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +37 -0
  111. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/post.d.ts +22 -0
  112. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/post.js +57 -0
  113. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/index.d.ts +2 -0
  114. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/index.js +18 -0
  115. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheck.d.ts +11 -0
  116. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheck.js +5 -0
  117. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.d.ts +17 -0
  118. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.js +5 -0
  119. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityResponse.d.ts +8 -0
  120. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityResponse.js +5 -0
  121. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Encounter.d.ts +12 -0
  122. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Encounter.js +5 -0
  123. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/IndividualProvider.d.ts +8 -0
  124. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/IndividualProvider.js +5 -0
  125. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/OrganizationProvider.d.ts +7 -0
  126. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/OrganizationProvider.js +5 -0
  127. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/ParsedResponse.d.ts +9 -0
  128. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/ParsedResponse.js +5 -0
  129. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Provider.d.ts +5 -0
  130. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Provider.js +5 -0
  131. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/RequestCorrection.d.ts +8 -0
  132. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/RequestCorrection.js +5 -0
  133. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +9 -0
  134. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +25 -0
  135. package/api/resources/preEncounter/resources/index.d.ts +1 -0
  136. package/api/resources/preEncounter/resources/index.js +2 -1
  137. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  138. package/api/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +1 -1
  139. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  140. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +36 -7
  141. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +84 -16
  142. package/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  143. package/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  144. package/api/resources/preEncounter/resources/patients/resources/v1/client/reactivate.d.ts +34 -0
  145. package/api/resources/preEncounter/resources/patients/resources/v1/client/reactivate.js +79 -0
  146. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +8 -2
  147. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +8 -2
  148. package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  149. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  150. package/api/resources/serviceFacility/client/Client.js +1 -1
  151. package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  152. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  153. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  154. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  155. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  156. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +5 -5
  157. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  158. package/dist/api/resources/commons/types/ProcedureModifier.d.ts +5 -1
  159. package/dist/api/resources/commons/types/ProcedureModifier.js +1 -0
  160. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  161. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  162. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  163. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  164. package/dist/api/resources/eligibility/resources/v2/client/Client.d.ts +9 -0
  165. package/dist/api/resources/eligibility/resources/v2/client/Client.js +12 -3
  166. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  167. package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -5
  168. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  169. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  170. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  171. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  172. package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +3 -0
  173. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +31 -12
  174. package/dist/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +1 -0
  175. package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +2 -0
  176. package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +2 -0
  177. package/dist/api/resources/feeSchedules/resources/v3/types/DimensionMatch.d.ts +1 -0
  178. package/dist/api/resources/feeSchedules/resources/v3/types/Dimensions.d.ts +2 -1
  179. package/dist/api/resources/feeSchedules/resources/v3/types/MatchPayerPlanGroups.d.ts +12 -0
  180. package/dist/api/resources/feeSchedules/resources/v3/types/MatchPayerPlanGroups.js +5 -0
  181. package/dist/api/resources/feeSchedules/resources/v3/types/OptionalDimensions.d.ts +1 -0
  182. package/dist/api/resources/feeSchedules/resources/v3/types/PayerPlanGroupDoesNotMatchRatePayerError.d.ts +8 -0
  183. package/dist/api/resources/feeSchedules/resources/v3/types/PayerPlanGroupDoesNotMatchRatePayerError.js +5 -0
  184. package/dist/api/resources/feeSchedules/resources/v3/types/ValidationError.d.ts +7 -1
  185. package/dist/api/resources/feeSchedules/resources/v3/types/index.d.ts +2 -0
  186. package/dist/api/resources/feeSchedules/resources/v3/types/index.js +2 -0
  187. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  188. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  189. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  190. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  191. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  192. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  193. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  194. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  195. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  196. package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +5 -1
  197. package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.js +4 -0
  198. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  199. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  200. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  201. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  202. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  203. package/dist/api/resources/preEncounter/client/Client.d.ts +3 -0
  204. package/dist/api/resources/preEncounter/client/Client.js +13 -8
  205. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +20 -2
  206. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +89 -8
  207. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/getVisits.d.ts +28 -0
  208. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/getVisits.js +68 -0
  209. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +1 -0
  210. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/index.js +2 -1
  211. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +27 -0
  212. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.js +5 -0
  213. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/index.d.ts +1 -0
  214. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +1 -1
  215. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +13 -0
  216. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/Visit.js +5 -0
  217. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/VisitsPage.d.ts +7 -0
  218. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/VisitsPage.js +5 -0
  219. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/index.d.ts +2 -0
  220. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/index.js +2 -0
  221. package/dist/api/resources/preEncounter/resources/common/types/ExternalIdentifier.d.ts +12 -0
  222. package/dist/api/resources/preEncounter/resources/common/types/ExternalIdentifier.js +5 -0
  223. package/dist/api/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -0
  224. package/dist/api/resources/preEncounter/resources/common/types/PayerPlanGroupId.d.ts +11 -0
  225. package/dist/api/resources/preEncounter/resources/common/types/PayerPlanGroupId.js +9 -0
  226. package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  227. package/dist/api/resources/preEncounter/resources/common/types/index.js +2 -0
  228. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +21 -16
  229. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +87 -24
  230. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/getMultiPaginated.d.ts +28 -0
  231. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/getMultiPaginated.js +68 -0
  232. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +1 -0
  233. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.js +2 -1
  234. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.d.ts +22 -0
  235. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.js +5 -0
  236. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/index.d.ts +1 -0
  237. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/Address.d.ts +12 -0
  238. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/Address.js +5 -0
  239. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitsRelatedEntity.d.ts +1 -0
  240. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoveragesPage.d.ts +7 -0
  241. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoveragesPage.js +5 -0
  242. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/ExpandedMemberInfo.d.ts +14 -0
  243. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/ExpandedMemberInfo.js +5 -0
  244. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +2 -0
  245. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +4 -0
  246. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +1 -0
  247. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/MemberInfo.d.ts +9 -0
  248. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/MemberInfo.js +5 -0
  249. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanMetadata.d.ts +3 -0
  250. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +4 -0
  251. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +4 -0
  252. package/dist/api/resources/preEncounter/resources/eligibilityChecks/client/Client.d.ts +30 -0
  253. package/dist/api/resources/preEncounter/resources/eligibilityChecks/client/Client.js +17 -0
  254. package/dist/api/resources/preEncounter/resources/eligibilityChecks/client/index.d.ts +1 -0
  255. package/dist/api/resources/preEncounter/resources/eligibilityChecks/client/index.js +2 -0
  256. package/dist/api/resources/preEncounter/resources/eligibilityChecks/index.d.ts +2 -0
  257. package/dist/api/resources/preEncounter/resources/eligibilityChecks/index.js +18 -0
  258. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/index.d.ts +1 -0
  259. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/index.js +37 -0
  260. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +63 -0
  261. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +137 -0
  262. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +1 -0
  263. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +37 -0
  264. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/post.d.ts +22 -0
  265. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/post.js +57 -0
  266. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/index.d.ts +2 -0
  267. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/index.js +18 -0
  268. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheck.d.ts +11 -0
  269. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheck.js +5 -0
  270. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.d.ts +17 -0
  271. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.js +5 -0
  272. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityResponse.d.ts +8 -0
  273. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityResponse.js +5 -0
  274. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Encounter.d.ts +12 -0
  275. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Encounter.js +5 -0
  276. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/IndividualProvider.d.ts +8 -0
  277. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/IndividualProvider.js +5 -0
  278. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/OrganizationProvider.d.ts +7 -0
  279. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/OrganizationProvider.js +5 -0
  280. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/ParsedResponse.d.ts +9 -0
  281. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/ParsedResponse.js +5 -0
  282. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Provider.d.ts +5 -0
  283. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Provider.js +5 -0
  284. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/RequestCorrection.d.ts +8 -0
  285. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/RequestCorrection.js +5 -0
  286. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +9 -0
  287. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +25 -0
  288. package/dist/api/resources/preEncounter/resources/index.d.ts +1 -0
  289. package/dist/api/resources/preEncounter/resources/index.js +2 -1
  290. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  291. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +1 -1
  292. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  293. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +36 -7
  294. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +84 -16
  295. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  296. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  297. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/reactivate.d.ts +34 -0
  298. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/reactivate.js +79 -0
  299. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +8 -2
  300. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +8 -2
  301. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  302. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  303. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  304. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  305. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  306. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  307. package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  308. package/dist/serialization/resources/commons/types/ProcedureModifier.js +1 -0
  309. package/dist/serialization/resources/feeSchedules/resources/v3/types/DimensionMatch.d.ts +2 -0
  310. package/dist/serialization/resources/feeSchedules/resources/v3/types/DimensionMatch.js +2 -0
  311. package/dist/serialization/resources/feeSchedules/resources/v3/types/Dimensions.d.ts +2 -0
  312. package/dist/serialization/resources/feeSchedules/resources/v3/types/Dimensions.js +2 -0
  313. package/dist/serialization/resources/feeSchedules/resources/v3/types/MatchPayerPlanGroups.d.ts +15 -0
  314. package/dist/serialization/resources/feeSchedules/resources/v3/types/MatchPayerPlanGroups.js +46 -0
  315. package/dist/serialization/resources/feeSchedules/resources/v3/types/OptionalDimensions.d.ts +2 -0
  316. package/dist/serialization/resources/feeSchedules/resources/v3/types/OptionalDimensions.js +2 -0
  317. package/dist/serialization/resources/feeSchedules/resources/v3/types/PayerPlanGroupDoesNotMatchRatePayerError.d.ts +14 -0
  318. package/dist/serialization/resources/feeSchedules/resources/v3/types/PayerPlanGroupDoesNotMatchRatePayerError.js +45 -0
  319. package/dist/serialization/resources/feeSchedules/resources/v3/types/ValidationError.d.ts +8 -1
  320. package/dist/serialization/resources/feeSchedules/resources/v3/types/ValidationError.js +3 -0
  321. package/dist/serialization/resources/feeSchedules/resources/v3/types/index.d.ts +2 -0
  322. package/dist/serialization/resources/feeSchedules/resources/v3/types/index.js +2 -0
  323. package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
  324. package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +4 -0
  325. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getVisits.d.ts +15 -0
  326. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getVisits.js +71 -0
  327. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +1 -0
  328. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.js +2 -1
  329. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +18 -0
  330. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.js +49 -0
  331. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/VisitsPage.d.ts +14 -0
  332. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/VisitsPage.js +47 -0
  333. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/index.d.ts +2 -0
  334. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/index.js +2 -0
  335. package/dist/serialization/resources/preEncounter/resources/common/types/ExternalIdentifier.d.ts +15 -0
  336. package/dist/serialization/resources/preEncounter/resources/common/types/ExternalIdentifier.js +46 -0
  337. package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -0
  338. package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProvider.js +1 -0
  339. package/dist/serialization/resources/preEncounter/resources/common/types/PayerPlanGroupId.d.ts +10 -0
  340. package/dist/serialization/resources/preEncounter/resources/common/types/PayerPlanGroupId.js +45 -0
  341. package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  342. package/dist/serialization/resources/preEncounter/resources/common/types/index.js +2 -0
  343. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getMultiPaginated.d.ts +15 -0
  344. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getMultiPaginated.js +71 -0
  345. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +1 -0
  346. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/index.js +2 -1
  347. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Address.d.ts +18 -0
  348. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Address.js +49 -0
  349. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitsRelatedEntity.d.ts +2 -0
  350. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitsRelatedEntity.js +2 -0
  351. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoveragesPage.d.ts +14 -0
  352. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoveragesPage.js +47 -0
  353. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ExpandedMemberInfo.d.ts +20 -0
  354. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ExpandedMemberInfo.js +51 -0
  355. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +2 -0
  356. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.js +2 -0
  357. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +1 -1
  358. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +1 -0
  359. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MemberInfo.d.ts +15 -0
  360. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MemberInfo.js +46 -0
  361. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanMetadata.d.ts +4 -0
  362. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanMetadata.js +4 -0
  363. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +4 -0
  364. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +4 -0
  365. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/index.d.ts +1 -0
  366. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/index.js +17 -0
  367. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/index.d.ts +1 -0
  368. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/index.js +37 -0
  369. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/index.d.ts +1 -0
  370. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/index.js +17 -0
  371. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheck.d.ts +19 -0
  372. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheck.js +50 -0
  373. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.d.ts +19 -0
  374. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.js +50 -0
  375. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityResponse.d.ts +11 -0
  376. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityResponse.js +8 -0
  377. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Encounter.d.ts +13 -0
  378. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Encounter.js +44 -0
  379. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/IndividualProvider.d.ts +14 -0
  380. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/IndividualProvider.js +45 -0
  381. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/OrganizationProvider.d.ts +13 -0
  382. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/OrganizationProvider.js +44 -0
  383. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/ParsedResponse.d.ts +17 -0
  384. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/ParsedResponse.js +48 -0
  385. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Provider.d.ts +12 -0
  386. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Provider.js +43 -0
  387. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/RequestCorrection.d.ts +14 -0
  388. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/RequestCorrection.js +45 -0
  389. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +9 -0
  390. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +25 -0
  391. package/dist/serialization/resources/preEncounter/resources/index.d.ts +1 -0
  392. package/dist/serialization/resources/preEncounter/resources/index.js +2 -1
  393. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +2 -2
  394. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.js +2 -2
  395. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  396. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  397. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/reactivate.d.ts +20 -0
  398. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/reactivate.js +77 -0
  399. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  400. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +2 -0
  401. package/dist/version.d.ts +1 -1
  402. package/dist/version.js +1 -1
  403. package/package.json +1 -1
  404. package/reference.md +340 -19
  405. package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  406. package/serialization/resources/commons/types/ProcedureModifier.js +1 -0
  407. package/serialization/resources/feeSchedules/resources/v3/types/DimensionMatch.d.ts +2 -0
  408. package/serialization/resources/feeSchedules/resources/v3/types/DimensionMatch.js +2 -0
  409. package/serialization/resources/feeSchedules/resources/v3/types/Dimensions.d.ts +2 -0
  410. package/serialization/resources/feeSchedules/resources/v3/types/Dimensions.js +2 -0
  411. package/serialization/resources/feeSchedules/resources/v3/types/MatchPayerPlanGroups.d.ts +15 -0
  412. package/serialization/resources/feeSchedules/resources/v3/types/MatchPayerPlanGroups.js +46 -0
  413. package/serialization/resources/feeSchedules/resources/v3/types/OptionalDimensions.d.ts +2 -0
  414. package/serialization/resources/feeSchedules/resources/v3/types/OptionalDimensions.js +2 -0
  415. package/serialization/resources/feeSchedules/resources/v3/types/PayerPlanGroupDoesNotMatchRatePayerError.d.ts +14 -0
  416. package/serialization/resources/feeSchedules/resources/v3/types/PayerPlanGroupDoesNotMatchRatePayerError.js +45 -0
  417. package/serialization/resources/feeSchedules/resources/v3/types/ValidationError.d.ts +8 -1
  418. package/serialization/resources/feeSchedules/resources/v3/types/ValidationError.js +3 -0
  419. package/serialization/resources/feeSchedules/resources/v3/types/index.d.ts +2 -0
  420. package/serialization/resources/feeSchedules/resources/v3/types/index.js +2 -0
  421. package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
  422. package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +4 -0
  423. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getVisits.d.ts +15 -0
  424. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getVisits.js +71 -0
  425. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +1 -0
  426. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.js +2 -1
  427. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +18 -0
  428. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.js +49 -0
  429. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/VisitsPage.d.ts +14 -0
  430. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/VisitsPage.js +47 -0
  431. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/index.d.ts +2 -0
  432. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/index.js +2 -0
  433. package/serialization/resources/preEncounter/resources/common/types/ExternalIdentifier.d.ts +15 -0
  434. package/serialization/resources/preEncounter/resources/common/types/ExternalIdentifier.js +46 -0
  435. package/serialization/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -0
  436. package/serialization/resources/preEncounter/resources/common/types/ExternalProvider.js +1 -0
  437. package/serialization/resources/preEncounter/resources/common/types/PayerPlanGroupId.d.ts +10 -0
  438. package/serialization/resources/preEncounter/resources/common/types/PayerPlanGroupId.js +45 -0
  439. package/serialization/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  440. package/serialization/resources/preEncounter/resources/common/types/index.js +2 -0
  441. package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getMultiPaginated.d.ts +15 -0
  442. package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getMultiPaginated.js +71 -0
  443. package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +1 -0
  444. package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/index.js +2 -1
  445. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Address.d.ts +18 -0
  446. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Address.js +49 -0
  447. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitsRelatedEntity.d.ts +2 -0
  448. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitsRelatedEntity.js +2 -0
  449. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoveragesPage.d.ts +14 -0
  450. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoveragesPage.js +47 -0
  451. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ExpandedMemberInfo.d.ts +20 -0
  452. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ExpandedMemberInfo.js +51 -0
  453. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +2 -0
  454. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.js +2 -0
  455. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +1 -1
  456. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +1 -0
  457. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MemberInfo.d.ts +15 -0
  458. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MemberInfo.js +46 -0
  459. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanMetadata.d.ts +4 -0
  460. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanMetadata.js +4 -0
  461. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +4 -0
  462. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +4 -0
  463. package/serialization/resources/preEncounter/resources/eligibilityChecks/index.d.ts +1 -0
  464. package/serialization/resources/preEncounter/resources/eligibilityChecks/index.js +17 -0
  465. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/index.d.ts +1 -0
  466. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/index.js +37 -0
  467. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/index.d.ts +1 -0
  468. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/index.js +17 -0
  469. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheck.d.ts +19 -0
  470. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheck.js +50 -0
  471. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.d.ts +19 -0
  472. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.js +50 -0
  473. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityResponse.d.ts +11 -0
  474. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityResponse.js +8 -0
  475. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Encounter.d.ts +13 -0
  476. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Encounter.js +44 -0
  477. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/IndividualProvider.d.ts +14 -0
  478. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/IndividualProvider.js +45 -0
  479. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/OrganizationProvider.d.ts +13 -0
  480. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/OrganizationProvider.js +44 -0
  481. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/ParsedResponse.d.ts +17 -0
  482. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/ParsedResponse.js +48 -0
  483. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Provider.d.ts +12 -0
  484. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Provider.js +43 -0
  485. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/RequestCorrection.d.ts +14 -0
  486. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/RequestCorrection.js +45 -0
  487. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +9 -0
  488. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +25 -0
  489. package/serialization/resources/preEncounter/resources/index.d.ts +1 -0
  490. package/serialization/resources/preEncounter/resources/index.js +2 -1
  491. package/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +2 -2
  492. package/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.js +2 -2
  493. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  494. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  495. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/reactivate.d.ts +20 -0
  496. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/reactivate.js +77 -0
  497. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  498. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +2 -0
  499. package/version.d.ts +1 -1
  500. package/version.js +1 -1
@@ -71,7 +71,7 @@ class V2 {
71
71
  const _response = yield core.fetcher({
72
72
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/organization-service-facilities/v2/${encodeURIComponent(serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityId.jsonOrThrow(organizationServiceFacilityId))}`),
73
73
  method: "GET",
74
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.6", "User-Agent": "candidhealth/0.39.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
74
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
75
75
  contentType: "application/json",
76
76
  requestType: "json",
77
77
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -137,7 +137,7 @@ class V2 {
137
137
  const _response = yield core.fetcher({
138
138
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/organization-service-facilities/v2"),
139
139
  method: "GET",
140
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.6", "User-Agent": "candidhealth/0.39.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
140
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
141
141
  contentType: "application/json",
142
142
  queryParameters: _queryParams,
143
143
  requestType: "json",
@@ -193,7 +193,7 @@ class V2 {
193
193
  const _response = yield core.fetcher({
194
194
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/organization-service-facilities/v2"),
195
195
  method: "POST",
196
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.6", "User-Agent": "candidhealth/0.39.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
196
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
197
197
  contentType: "application/json",
198
198
  requestType: "json",
199
199
  body: serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityCreate.jsonOrThrow(request, {
@@ -266,7 +266,7 @@ class V2 {
266
266
  const _response = yield core.fetcher({
267
267
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/organization-service-facilities/v2/${encodeURIComponent(serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityId.jsonOrThrow(organizationServiceFacilityId))}`),
268
268
  method: "PATCH",
269
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.6", "User-Agent": "candidhealth/0.39.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
269
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
270
270
  contentType: "application/json",
271
271
  requestType: "json",
272
272
  body: serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityUpdate.jsonOrThrow(request, {
@@ -321,7 +321,7 @@ class V2 {
321
321
  const _response = yield core.fetcher({
322
322
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/organization-service-facilities/v2/${encodeURIComponent(serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityId.jsonOrThrow(organizationServiceFacilityId))}`),
323
323
  method: "DELETE",
324
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.6", "User-Agent": "candidhealth/0.39.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
324
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
325
325
  contentType: "application/json",
326
326
  requestType: "json",
327
327
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -132,7 +132,7 @@ class V4 {
132
132
  const _response = yield core.fetcher({
133
133
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/patient-payments/v4"),
134
134
  method: "GET",
135
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.6", "User-Agent": "candidhealth/0.39.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
135
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
136
136
  contentType: "application/json",
137
137
  queryParameters: _queryParams,
138
138
  requestType: "json",
@@ -187,7 +187,7 @@ class V4 {
187
187
  const _response = yield core.fetcher({
188
188
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/patient-payments/v4/${encodeURIComponent(serializers.patientPayments.v4.PatientPaymentId.jsonOrThrow(patientPaymentId))}`),
189
189
  method: "GET",
190
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.6", "User-Agent": "candidhealth/0.39.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
190
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
191
191
  contentType: "application/json",
192
192
  requestType: "json",
193
193
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -256,7 +256,7 @@ class V4 {
256
256
  const _response = yield core.fetcher({
257
257
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/patient-payments/v4"),
258
258
  method: "POST",
259
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.6", "User-Agent": "candidhealth/0.39.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
259
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
260
260
  contentType: "application/json",
261
261
  requestType: "json",
262
262
  body: serializers.patientPayments.v4.PatientPaymentCreate.jsonOrThrow(request, {
@@ -325,7 +325,7 @@ class V4 {
325
325
  const _response = yield core.fetcher({
326
326
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/patient-payments/v4/${encodeURIComponent(serializers.patientPayments.v4.PatientPaymentId.jsonOrThrow(patientPaymentId))}`),
327
327
  method: "PATCH",
328
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.6", "User-Agent": "candidhealth/0.39.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
328
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
329
329
  contentType: "application/json",
330
330
  requestType: "json",
331
331
  body: serializers.patientPayments.v4.PatientPaymentUpdate.jsonOrThrow(request, {
@@ -383,7 +383,7 @@ class V4 {
383
383
  const _response = yield core.fetcher({
384
384
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/patient-payments/v4/${encodeURIComponent(serializers.patientPayments.v4.PatientPaymentId.jsonOrThrow(patientPaymentId))}`),
385
385
  method: "DELETE",
386
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.6", "User-Agent": "candidhealth/0.39.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
386
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
387
387
  contentType: "application/json",
388
388
  requestType: "json",
389
389
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -132,7 +132,7 @@ class V1 {
132
132
  const _response = yield core.fetcher({
133
133
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/patient-refunds/v1"),
134
134
  method: "GET",
135
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.6", "User-Agent": "candidhealth/0.39.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
135
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
136
136
  contentType: "application/json",
137
137
  queryParameters: _queryParams,
138
138
  requestType: "json",
@@ -187,7 +187,7 @@ class V1 {
187
187
  const _response = yield core.fetcher({
188
188
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/patient-refunds/v1/${encodeURIComponent(serializers.patientRefunds.v1.PatientRefundId.jsonOrThrow(patientRefundId))}`),
189
189
  method: "GET",
190
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.6", "User-Agent": "candidhealth/0.39.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
190
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
191
191
  contentType: "application/json",
192
192
  requestType: "json",
193
193
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -257,7 +257,7 @@ class V1 {
257
257
  const _response = yield core.fetcher({
258
258
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/patient-refunds/v1"),
259
259
  method: "POST",
260
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.6", "User-Agent": "candidhealth/0.39.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
260
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
261
261
  contentType: "application/json",
262
262
  requestType: "json",
263
263
  body: serializers.patientRefunds.v1.PatientRefundCreate.jsonOrThrow(request, {
@@ -330,7 +330,7 @@ class V1 {
330
330
  const _response = yield core.fetcher({
331
331
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/patient-refunds/v1/${encodeURIComponent(serializers.patientRefunds.v1.PatientRefundId.jsonOrThrow(patientRefundId))}`),
332
332
  method: "PATCH",
333
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.6", "User-Agent": "candidhealth/0.39.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
333
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
334
334
  contentType: "application/json",
335
335
  requestType: "json",
336
336
  body: serializers.patientRefunds.v1.PatientRefundUpdate.jsonOrThrow(request, {
@@ -388,7 +388,7 @@ class V1 {
388
388
  const _response = yield core.fetcher({
389
389
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/patient-refunds/v1/${encodeURIComponent(serializers.patientRefunds.v1.PatientRefundId.jsonOrThrow(patientRefundId))}`),
390
390
  method: "DELETE",
391
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.6", "User-Agent": "candidhealth/0.39.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
391
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
392
392
  contentType: "application/json",
393
393
  requestType: "json",
394
394
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -71,7 +71,7 @@ class V3 {
71
71
  const _response = yield core.fetcher({
72
72
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/payers/v3/${encodeURIComponent(serializers.payers.v3.PayerUuid.jsonOrThrow(payerUuid))}`),
73
73
  method: "GET",
74
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.6", "User-Agent": "candidhealth/0.39.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
74
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
75
75
  contentType: "application/json",
76
76
  requestType: "json",
77
77
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -123,7 +123,7 @@ class V3 {
123
123
  const _response = yield core.fetcher({
124
124
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/payers/v3"),
125
125
  method: "GET",
126
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.6", "User-Agent": "candidhealth/0.39.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
126
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
127
127
  contentType: "application/json",
128
128
  queryParameters: _queryParams,
129
129
  requestType: "json",
@@ -5,6 +5,7 @@ import * as environments from "../../../../environments";
5
5
  import * as core from "../../../../core";
6
6
  import { Appointments } from "../resources/appointments/client/Client";
7
7
  import { Coverages } from "../resources/coverages/client/Client";
8
+ import { EligibilityChecks } from "../resources/eligibilityChecks/client/Client";
8
9
  import { Lists } from "../resources/lists/client/Client";
9
10
  import { Notes } from "../resources/notes/client/Client";
10
11
  import { Patients } from "../resources/patients/client/Client";
@@ -31,6 +32,7 @@ export declare class PreEncounter {
31
32
  protected readonly _options: PreEncounter.Options;
32
33
  protected _appointments: Appointments | undefined;
33
34
  protected _coverages: Coverages | undefined;
35
+ protected _eligibilityChecks: EligibilityChecks | undefined;
34
36
  protected _lists: Lists | undefined;
35
37
  protected _notes: Notes | undefined;
36
38
  protected _patients: Patients | undefined;
@@ -38,6 +40,7 @@ export declare class PreEncounter {
38
40
  constructor(_options?: PreEncounter.Options);
39
41
  get appointments(): Appointments;
40
42
  get coverages(): Coverages;
43
+ get eligibilityChecks(): EligibilityChecks;
41
44
  get lists(): Lists;
42
45
  get notes(): Notes;
43
46
  get patients(): Patients;
@@ -6,10 +6,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.PreEncounter = void 0;
7
7
  const Client_1 = require("../resources/appointments/client/Client");
8
8
  const Client_2 = require("../resources/coverages/client/Client");
9
- const Client_3 = require("../resources/lists/client/Client");
10
- const Client_4 = require("../resources/notes/client/Client");
11
- const Client_5 = require("../resources/patients/client/Client");
12
- const Client_6 = require("../resources/tags/client/Client");
9
+ const Client_3 = require("../resources/eligibilityChecks/client/Client");
10
+ const Client_4 = require("../resources/lists/client/Client");
11
+ const Client_5 = require("../resources/notes/client/Client");
12
+ const Client_6 = require("../resources/patients/client/Client");
13
+ const Client_7 = require("../resources/tags/client/Client");
13
14
  class PreEncounter {
14
15
  constructor(_options = {}) {
15
16
  this._options = _options;
@@ -22,21 +23,25 @@ class PreEncounter {
22
23
  var _a;
23
24
  return ((_a = this._coverages) !== null && _a !== void 0 ? _a : (this._coverages = new Client_2.Coverages(this._options)));
24
25
  }
26
+ get eligibilityChecks() {
27
+ var _a;
28
+ return ((_a = this._eligibilityChecks) !== null && _a !== void 0 ? _a : (this._eligibilityChecks = new Client_3.EligibilityChecks(this._options)));
29
+ }
25
30
  get lists() {
26
31
  var _a;
27
- return ((_a = this._lists) !== null && _a !== void 0 ? _a : (this._lists = new Client_3.Lists(this._options)));
32
+ return ((_a = this._lists) !== null && _a !== void 0 ? _a : (this._lists = new Client_4.Lists(this._options)));
28
33
  }
29
34
  get notes() {
30
35
  var _a;
31
- return ((_a = this._notes) !== null && _a !== void 0 ? _a : (this._notes = new Client_4.Notes(this._options)));
36
+ return ((_a = this._notes) !== null && _a !== void 0 ? _a : (this._notes = new Client_5.Notes(this._options)));
32
37
  }
33
38
  get patients() {
34
39
  var _a;
35
- return ((_a = this._patients) !== null && _a !== void 0 ? _a : (this._patients = new Client_5.Patients(this._options)));
40
+ return ((_a = this._patients) !== null && _a !== void 0 ? _a : (this._patients = new Client_6.Patients(this._options)));
36
41
  }
37
42
  get tags() {
38
43
  var _a;
39
- return ((_a = this._tags) !== null && _a !== void 0 ? _a : (this._tags = new Client_6.Tags(this._options)));
44
+ return ((_a = this._tags) !== null && _a !== void 0 ? _a : (this._tags = new Client_7.Tags(this._options)));
40
45
  }
41
46
  }
42
47
  exports.PreEncounter = PreEncounter;
@@ -57,7 +57,8 @@ export declare class V1 {
57
57
  * }],
58
58
  * addresses: [],
59
59
  * period: {},
60
- * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
60
+ * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string"),
61
+ * fax: "string"
61
62
  * },
62
63
  * estimatedCopayCents: 1,
63
64
  * estimatedPatientResponsibilityCents: 1,
@@ -70,6 +71,22 @@ export declare class V1 {
70
71
  * })
71
72
  */
72
73
  create(request: CandidApi.preEncounter.appointments.v1.MutableAppointment, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.appointments.v1.Appointment, CandidApi.preEncounter.appointments.v1.create.Error>>;
74
+ /**
75
+ * Gets all Visits within a given time range. The return list is ordered by start_time ascending.
76
+ *
77
+ * @param {CandidApi.preEncounter.appointments.v1.VisitsRequest} request
78
+ * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
79
+ *
80
+ * @example
81
+ * await client.preEncounter.appointments.v1.getVisits({
82
+ * pageToken: CandidApi.preEncounter.PageToken("string"),
83
+ * limit: 1,
84
+ * sortField: CandidApi.preEncounter.lists.v1.SortFieldString("string"),
85
+ * sortDirection: "asc",
86
+ * filters: CandidApi.preEncounter.lists.v1.FilterQueryString("string")
87
+ * })
88
+ */
89
+ getVisits(request?: CandidApi.preEncounter.appointments.v1.VisitsRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.appointments.v1.VisitsPage, CandidApi.preEncounter.appointments.v1.getVisits.Error>>;
73
90
  /**
74
91
  * Gets an appointment.
75
92
  *
@@ -124,7 +141,8 @@ export declare class V1 {
124
141
  * }],
125
142
  * addresses: [],
126
143
  * period: {},
127
- * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
144
+ * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string"),
145
+ * fax: "string"
128
146
  * },
129
147
  * estimatedCopayCents: 1,
130
148
  * estimatedPatientResponsibilityCents: 1,
@@ -90,7 +90,8 @@ class V1 {
90
90
  * }],
91
91
  * addresses: [],
92
92
  * period: {},
93
- * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
93
+ * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string"),
94
+ * fax: "string"
94
95
  * },
95
96
  * estimatedCopayCents: 1,
96
97
  * estimatedPatientResponsibilityCents: 1,
@@ -108,7 +109,7 @@ class V1 {
108
109
  const _response = yield core.fetcher({
109
110
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/appointments/v1"),
110
111
  method: "POST",
111
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.6", "User-Agent": "candidhealth/0.39.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
112
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
112
113
  contentType: "application/json",
113
114
  requestType: "json",
114
115
  body: serializers.preEncounter.appointments.v1.MutableAppointment.jsonOrThrow(request, {
@@ -150,6 +151,85 @@ class V1 {
150
151
  };
151
152
  });
152
153
  }
154
+ /**
155
+ * Gets all Visits within a given time range. The return list is ordered by start_time ascending.
156
+ *
157
+ * @param {CandidApi.preEncounter.appointments.v1.VisitsRequest} request
158
+ * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
159
+ *
160
+ * @example
161
+ * await client.preEncounter.appointments.v1.getVisits({
162
+ * pageToken: CandidApi.preEncounter.PageToken("string"),
163
+ * limit: 1,
164
+ * sortField: CandidApi.preEncounter.lists.v1.SortFieldString("string"),
165
+ * sortDirection: "asc",
166
+ * filters: CandidApi.preEncounter.lists.v1.FilterQueryString("string")
167
+ * })
168
+ */
169
+ getVisits() {
170
+ return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
171
+ var _a, _b, _c;
172
+ const { pageToken, limit, sortField, sortDirection, filters } = request;
173
+ const _queryParams = {};
174
+ if (pageToken != null) {
175
+ _queryParams["page_token"] = pageToken;
176
+ }
177
+ if (limit != null) {
178
+ _queryParams["limit"] = limit.toString();
179
+ }
180
+ if (sortField != null) {
181
+ _queryParams["sort_field"] = sortField;
182
+ }
183
+ if (sortDirection != null) {
184
+ _queryParams["sort_direction"] = serializers.preEncounter.SortDirection.jsonOrThrow(sortDirection, {
185
+ unrecognizedObjectKeys: "strip",
186
+ });
187
+ }
188
+ if (filters != null) {
189
+ _queryParams["filters"] = filters;
190
+ }
191
+ const _response = yield core.fetcher({
192
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/appointments/v1/visits"),
193
+ method: "GET",
194
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
195
+ contentType: "application/json",
196
+ queryParameters: _queryParams,
197
+ requestType: "json",
198
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
199
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
200
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
201
+ });
202
+ if (_response.ok) {
203
+ return {
204
+ ok: true,
205
+ body: serializers.preEncounter.appointments.v1.VisitsPage.parseOrThrow(_response.body, {
206
+ unrecognizedObjectKeys: "passthrough",
207
+ allowUnrecognizedUnionMembers: true,
208
+ allowUnrecognizedEnumValues: true,
209
+ breadcrumbsPrefix: ["response"],
210
+ }),
211
+ };
212
+ }
213
+ if (_response.error.reason === "status-code") {
214
+ switch ((_c = _response.error.body) === null || _c === void 0 ? void 0 : _c.errorName) {
215
+ case "BadRequestError":
216
+ return {
217
+ ok: false,
218
+ error: serializers.preEncounter.appointments.v1.getVisits.Error.parseOrThrow(_response.error.body, {
219
+ unrecognizedObjectKeys: "passthrough",
220
+ allowUnrecognizedUnionMembers: true,
221
+ allowUnrecognizedEnumValues: true,
222
+ breadcrumbsPrefix: ["response"],
223
+ }),
224
+ };
225
+ }
226
+ }
227
+ return {
228
+ ok: false,
229
+ error: CandidApi.preEncounter.appointments.v1.getVisits.Error._unknown(_response.error),
230
+ };
231
+ });
232
+ }
153
233
  /**
154
234
  * Gets an appointment.
155
235
  *
@@ -165,7 +245,7 @@ class V1 {
165
245
  const _response = yield core.fetcher({
166
246
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/appointments/v1/${encodeURIComponent(serializers.preEncounter.AppointmentId.jsonOrThrow(id))}`),
167
247
  method: "GET",
168
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.6", "User-Agent": "candidhealth/0.39.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
248
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
169
249
  contentType: "application/json",
170
250
  requestType: "json",
171
251
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -218,7 +298,7 @@ class V1 {
218
298
  const _response = yield core.fetcher({
219
299
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/appointments/v1/${encodeURIComponent(serializers.preEncounter.AppointmentId.jsonOrThrow(id))}/history`),
220
300
  method: "GET",
221
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.6", "User-Agent": "candidhealth/0.39.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
301
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
222
302
  contentType: "application/json",
223
303
  requestType: "json",
224
304
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -290,7 +370,8 @@ class V1 {
290
370
  * }],
291
371
  * addresses: [],
292
372
  * period: {},
293
- * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
373
+ * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string"),
374
+ * fax: "string"
294
375
  * },
295
376
  * estimatedCopayCents: 1,
296
377
  * estimatedPatientResponsibilityCents: 1,
@@ -308,7 +389,7 @@ class V1 {
308
389
  const _response = yield core.fetcher({
309
390
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/appointments/v1/${encodeURIComponent(serializers.preEncounter.AppointmentId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
310
391
  method: "PUT",
311
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.6", "User-Agent": "candidhealth/0.39.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
392
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
312
393
  contentType: "application/json",
313
394
  requestType: "json",
314
395
  body: serializers.preEncounter.appointments.v1.MutableAppointment.jsonOrThrow(request, {
@@ -370,7 +451,7 @@ class V1 {
370
451
  const _response = yield core.fetcher({
371
452
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/appointments/v1/updates/scan"),
372
453
  method: "GET",
373
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.6", "User-Agent": "candidhealth/0.39.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
454
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
374
455
  contentType: "application/json",
375
456
  queryParameters: _queryParams,
376
457
  requestType: "json",
@@ -411,7 +492,7 @@ class V1 {
411
492
  const _response = yield core.fetcher({
412
493
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/appointments/v1/${encodeURIComponent(serializers.preEncounter.AppointmentId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
413
494
  method: "DELETE",
414
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.6", "User-Agent": "candidhealth/0.39.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
495
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
415
496
  contentType: "application/json",
416
497
  requestType: "json",
417
498
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -0,0 +1,28 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../../../index";
5
+ import * as core from "../../../../../../../../core";
6
+ export type Error = CandidApi.preEncounter.appointments.v1.getVisits.Error.BadRequestError | CandidApi.preEncounter.appointments.v1.getVisits.Error._Unknown;
7
+ export declare namespace Error {
8
+ interface BadRequestError extends _Utils {
9
+ errorName: "BadRequestError";
10
+ content: CandidApi.preEncounter.ErrorBase4Xx;
11
+ }
12
+ interface _Unknown extends _Utils {
13
+ errorName: void;
14
+ content: core.Fetcher.Error;
15
+ }
16
+ interface _Utils {
17
+ _visit: <_Result>(visitor: CandidApi.preEncounter.appointments.v1.getVisits.Error._Visitor<_Result>) => _Result;
18
+ }
19
+ interface _Visitor<_Result> {
20
+ badRequestError: (value: CandidApi.preEncounter.ErrorBase4Xx) => _Result;
21
+ _other: (value: core.Fetcher.Error) => _Result;
22
+ }
23
+ }
24
+ export declare const Error: {
25
+ readonly badRequestError: (value: CandidApi.preEncounter.ErrorBase4Xx) => CandidApi.preEncounter.appointments.v1.getVisits.Error.BadRequestError;
26
+ readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.appointments.v1.getVisits.Error._Unknown;
27
+ readonly _visit: <_Result>(value: CandidApi.preEncounter.appointments.v1.getVisits.Error, visitor: CandidApi.preEncounter.appointments.v1.getVisits.Error._Visitor<_Result>) => _Result;
28
+ };
@@ -0,0 +1,68 @@
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 () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.Error = void 0;
40
+ const CandidApi = __importStar(require("../../../../../../../index"));
41
+ exports.Error = {
42
+ badRequestError: (value) => {
43
+ return {
44
+ content: value,
45
+ errorName: "BadRequestError",
46
+ _visit: function (visitor) {
47
+ return CandidApi.preEncounter.appointments.v1.getVisits.Error._visit(this, visitor);
48
+ },
49
+ };
50
+ },
51
+ _unknown: (fetcherError) => {
52
+ return {
53
+ errorName: undefined,
54
+ content: fetcherError,
55
+ _visit: function (visitor) {
56
+ return CandidApi.preEncounter.appointments.v1.getVisits.Error._visit(this, visitor);
57
+ },
58
+ };
59
+ },
60
+ _visit: (value, visitor) => {
61
+ switch (value.errorName) {
62
+ case "BadRequestError":
63
+ return visitor.badRequestError(value.content);
64
+ default:
65
+ return visitor._other(value);
66
+ }
67
+ },
68
+ };
@@ -1,5 +1,6 @@
1
1
  export * from "./requests";
2
2
  export * as create from "./create";
3
+ export * as getVisits from "./getVisits";
3
4
  export * as get from "./get";
4
5
  export * as getHistory from "./getHistory";
5
6
  export * as update from "./update";
@@ -36,9 +36,10 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.deactivate = exports.scan = exports.update = exports.getHistory = exports.get = exports.create = void 0;
39
+ exports.deactivate = exports.scan = exports.update = exports.getHistory = exports.get = exports.getVisits = exports.create = void 0;
40
40
  __exportStar(require("./requests"), exports);
41
41
  exports.create = __importStar(require("./create"));
42
+ exports.getVisits = __importStar(require("./getVisits"));
42
43
  exports.get = __importStar(require("./get"));
43
44
  exports.getHistory = __importStar(require("./getHistory"));
44
45
  exports.update = __importStar(require("./update"));
@@ -0,0 +1,27 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../../../../index";
5
+ /**
6
+ * @example
7
+ * {
8
+ * pageToken: CandidApi.preEncounter.PageToken("string"),
9
+ * limit: 1,
10
+ * sortField: CandidApi.preEncounter.lists.v1.SortFieldString("string"),
11
+ * sortDirection: "asc",
12
+ * filters: CandidApi.preEncounter.lists.v1.FilterQueryString("string")
13
+ * }
14
+ */
15
+ export interface VisitsRequest {
16
+ pageToken?: CandidApi.preEncounter.PageToken;
17
+ limit?: number;
18
+ /**
19
+ * Defaults to appointment.start_time.
20
+ */
21
+ sortField?: CandidApi.preEncounter.lists.v1.SortFieldString;
22
+ /**
23
+ * Defaults to ascending.
24
+ */
25
+ sortDirection?: CandidApi.preEncounter.SortDirection;
26
+ filters?: CandidApi.preEncounter.lists.v1.FilterQueryString;
27
+ }
@@ -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 });