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
@@ -98,16 +98,11 @@ class V1 {
98
98
  * planType: "09",
99
99
  * type: "01",
100
100
  * period: {},
101
- * insuranceCardImageLocator: "string"
101
+ * insuranceCardImageLocator: "string",
102
+ * payerPlanGroupId: CandidApi.preEncounter.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
102
103
  * },
103
104
  * verified: true,
104
- * eligibilityChecks: [{
105
- * checkId: "string",
106
- * serviceCode: "1",
107
- * status: "COMPLETED",
108
- * initiatedBy: CandidApi.preEncounter.UserId("string"),
109
- * initiatedAt: "2024-01-15T09:30:00Z"
110
- * }],
105
+ * eligibilityChecks: [],
111
106
  * latestEligibilityCheck: {
112
107
  * checkId: "string",
113
108
  * status: "ACTIVE",
@@ -122,7 +117,7 @@ class V1 {
122
117
  const _response = yield core.fetcher({
123
118
  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, "/coverages/v1"),
124
119
  method: "POST",
125
- 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),
120
+ 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),
126
121
  contentType: "application/json",
127
122
  requestType: "json",
128
123
  body: serializers.preEncounter.coverages.v1.MutableCoverage.jsonOrThrow(request, {
@@ -191,16 +186,11 @@ class V1 {
191
186
  * planType: "09",
192
187
  * type: "01",
193
188
  * period: {},
194
- * insuranceCardImageLocator: "string"
189
+ * insuranceCardImageLocator: "string",
190
+ * payerPlanGroupId: CandidApi.preEncounter.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
195
191
  * },
196
192
  * verified: true,
197
- * eligibilityChecks: [{
198
- * checkId: "string",
199
- * serviceCode: "1",
200
- * status: "COMPLETED",
201
- * initiatedBy: CandidApi.preEncounter.UserId("string"),
202
- * initiatedAt: "2024-01-15T09:30:00Z"
203
- * }],
193
+ * eligibilityChecks: [],
204
194
  * latestEligibilityCheck: {
205
195
  * checkId: "string",
206
196
  * status: "ACTIVE",
@@ -215,7 +205,7 @@ class V1 {
215
205
  const _response = yield core.fetcher({
216
206
  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, `/coverages/v1/${encodeURIComponent(serializers.preEncounter.CoverageId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
217
207
  method: "PUT",
218
- 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),
208
+ 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),
219
209
  contentType: "application/json",
220
210
  requestType: "json",
221
211
  body: serializers.preEncounter.coverages.v1.MutableCoverage.jsonOrThrow(request, {
@@ -257,6 +247,79 @@ class V1 {
257
247
  };
258
248
  });
259
249
  }
250
+ /**
251
+ * Returns a page of Coverages based on the search criteria.
252
+ *
253
+ * @param {CandidApi.preEncounter.coverages.v1.CoverageGetMultiPaginatedRequest} request
254
+ * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
255
+ *
256
+ * @example
257
+ * await client.preEncounter.coverages.v1.getMultiPaginated({
258
+ * patientId: "string",
259
+ * payerPlanGroupId: "string",
260
+ * pageToken: CandidApi.preEncounter.PageToken("string"),
261
+ * limit: 1
262
+ * })
263
+ */
264
+ getMultiPaginated() {
265
+ return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
266
+ var _a, _b, _c;
267
+ const { patientId, payerPlanGroupId, pageToken, limit } = request;
268
+ const _queryParams = {};
269
+ if (patientId != null) {
270
+ _queryParams["patient_id"] = patientId;
271
+ }
272
+ if (payerPlanGroupId != null) {
273
+ _queryParams["payer_plan_group_id"] = payerPlanGroupId;
274
+ }
275
+ if (pageToken != null) {
276
+ _queryParams["page_token"] = pageToken;
277
+ }
278
+ if (limit != null) {
279
+ _queryParams["limit"] = limit.toString();
280
+ }
281
+ const _response = yield core.fetcher({
282
+ 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, "/coverages/v1/get-multi-paginated"),
283
+ method: "GET",
284
+ 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),
285
+ contentType: "application/json",
286
+ queryParameters: _queryParams,
287
+ requestType: "json",
288
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
289
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
290
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
291
+ });
292
+ if (_response.ok) {
293
+ return {
294
+ ok: true,
295
+ body: serializers.preEncounter.coverages.v1.CoveragesPage.parseOrThrow(_response.body, {
296
+ unrecognizedObjectKeys: "passthrough",
297
+ allowUnrecognizedUnionMembers: true,
298
+ allowUnrecognizedEnumValues: true,
299
+ breadcrumbsPrefix: ["response"],
300
+ }),
301
+ };
302
+ }
303
+ if (_response.error.reason === "status-code") {
304
+ switch ((_c = _response.error.body) === null || _c === void 0 ? void 0 : _c.errorName) {
305
+ case "BadRequestError":
306
+ return {
307
+ ok: false,
308
+ error: serializers.preEncounter.coverages.v1.getMultiPaginated.Error.parseOrThrow(_response.error.body, {
309
+ unrecognizedObjectKeys: "passthrough",
310
+ allowUnrecognizedUnionMembers: true,
311
+ allowUnrecognizedEnumValues: true,
312
+ breadcrumbsPrefix: ["response"],
313
+ }),
314
+ };
315
+ }
316
+ }
317
+ return {
318
+ ok: false,
319
+ error: CandidApi.preEncounter.coverages.v1.getMultiPaginated.Error._unknown(_response.error),
320
+ };
321
+ });
322
+ }
260
323
  /**
261
324
  * gets a specific Coverage
262
325
  *
@@ -272,7 +335,7 @@ class V1 {
272
335
  const _response = yield core.fetcher({
273
336
  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, `/coverages/v1/${encodeURIComponent(serializers.preEncounter.CoverageId.jsonOrThrow(id))}`),
274
337
  method: "GET",
275
- 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),
338
+ 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),
276
339
  contentType: "application/json",
277
340
  requestType: "json",
278
341
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -311,7 +374,7 @@ class V1 {
311
374
  const _response = yield core.fetcher({
312
375
  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, `/coverages/v1/${encodeURIComponent(serializers.preEncounter.CoverageId.jsonOrThrow(id))}/history`),
313
376
  method: "GET",
314
- 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),
377
+ 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),
315
378
  contentType: "application/json",
316
379
  requestType: "json",
317
380
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -371,7 +434,7 @@ class V1 {
371
434
  const _response = yield core.fetcher({
372
435
  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, "/coverages/v1"),
373
436
  method: "GET",
374
- 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),
437
+ 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),
375
438
  contentType: "application/json",
376
439
  queryParameters: _queryParams,
377
440
  requestType: "json",
@@ -416,7 +479,7 @@ class V1 {
416
479
  const _response = yield core.fetcher({
417
480
  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, "/coverages/v1/updates/scan"),
418
481
  method: "GET",
419
- 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),
482
+ 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),
420
483
  contentType: "application/json",
421
484
  queryParameters: _queryParams,
422
485
  requestType: "json",
@@ -461,7 +524,7 @@ class V1 {
461
524
  const _response = yield core.fetcher({
462
525
  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, `/coverages/v1/${encodeURIComponent(serializers.preEncounter.CoverageId.jsonOrThrow(id))}/eligibility`),
463
526
  method: "POST",
464
- 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),
527
+ 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),
465
528
  contentType: "application/json",
466
529
  requestType: "json",
467
530
  body: serializers.preEncounter.coverages.v1.CheckEligibilityRequest.jsonOrThrow(request, {
@@ -504,7 +567,7 @@ class V1 {
504
567
  const _response = yield core.fetcher({
505
568
  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, `/coverages/v1/${encodeURIComponent(serializers.preEncounter.CoverageId.jsonOrThrow(id))}/eligibility/${encodeURIComponent(checkId)}`),
506
569
  method: "GET",
507
- 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),
570
+ 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),
508
571
  contentType: "application/json",
509
572
  requestType: "json",
510
573
  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.coverages.v1.getMultiPaginated.Error.BadRequestError | CandidApi.preEncounter.coverages.v1.getMultiPaginated.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.coverages.v1.getMultiPaginated.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.coverages.v1.getMultiPaginated.Error.BadRequestError;
26
+ readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.coverages.v1.getMultiPaginated.Error._Unknown;
27
+ readonly _visit: <_Result>(value: CandidApi.preEncounter.coverages.v1.getMultiPaginated.Error, visitor: CandidApi.preEncounter.coverages.v1.getMultiPaginated.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.coverages.v1.getMultiPaginated.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.coverages.v1.getMultiPaginated.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,6 +1,7 @@
1
1
  export * from "./requests";
2
2
  export * as create from "./create";
3
3
  export * as update from "./update";
4
+ export * as getMultiPaginated from "./getMultiPaginated";
4
5
  export * as get from "./get";
5
6
  export * as getHistory from "./getHistory";
6
7
  export * as getMulti from "./getMulti";
@@ -36,10 +36,11 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.getEligibility = exports.checkEligibility = exports.scan = exports.getMulti = exports.getHistory = exports.get = exports.update = exports.create = void 0;
39
+ exports.getEligibility = exports.checkEligibility = exports.scan = exports.getMulti = exports.getHistory = exports.get = exports.getMultiPaginated = exports.update = exports.create = void 0;
40
40
  __exportStar(require("./requests"), exports);
41
41
  exports.create = __importStar(require("./create"));
42
42
  exports.update = __importStar(require("./update"));
43
+ exports.getMultiPaginated = __importStar(require("./getMultiPaginated"));
43
44
  exports.get = __importStar(require("./get"));
44
45
  exports.getHistory = __importStar(require("./getHistory"));
45
46
  exports.getMulti = __importStar(require("./getMulti"));
@@ -0,0 +1,22 @@
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
+ * patientId: "string",
9
+ * payerPlanGroupId: "string",
10
+ * pageToken: CandidApi.preEncounter.PageToken("string"),
11
+ * limit: 1
12
+ * }
13
+ */
14
+ export interface CoverageGetMultiPaginatedRequest {
15
+ patientId?: string;
16
+ payerPlanGroupId?: string;
17
+ pageToken?: CandidApi.preEncounter.PageToken;
18
+ /**
19
+ * Must be between 0 and 1000. Defaults to 100
20
+ */
21
+ limit?: number;
22
+ }
@@ -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 });
@@ -1,3 +1,4 @@
1
+ export { type CoverageGetMultiPaginatedRequest } from "./CoverageGetMultiPaginatedRequest";
1
2
  export { type CoverageGetMultiRequest } from "./CoverageGetMultiRequest";
2
3
  export { type CoverageScanRequest } from "./CoverageScanRequest";
3
4
  export { type CheckEligibilityRequest } from "./CheckEligibilityRequest";
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface Address {
5
+ address1?: string;
6
+ address2?: string;
7
+ city?: string;
8
+ state?: string;
9
+ postalCode?: string;
10
+ countryCode?: string;
11
+ countrySubDivisionCode?: string;
12
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -7,4 +7,5 @@ export interface BenefitsRelatedEntity {
7
7
  entityType?: string;
8
8
  entityName?: string;
9
9
  contactInformation?: CandidApi.preEncounter.coverages.v1.RelatedEntityContact[];
10
+ serviceTypeCodes?: CandidApi.preEncounter.coverages.v1.ServiceTypeCode[];
10
11
  }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../../../index";
5
+ export interface CoveragesPage extends CandidApi.preEncounter.ResourcePage {
6
+ items: CandidApi.preEncounter.coverages.v1.Coverage[];
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../../../index";
5
+ export interface ExpandedMemberInfo {
6
+ memberId?: string;
7
+ groupNumber?: string;
8
+ firstName?: string;
9
+ middleName?: string;
10
+ lastName?: string;
11
+ dateOfBirth?: string;
12
+ gender?: string;
13
+ address?: CandidApi.preEncounter.coverages.v1.Address;
14
+ }
@@ -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 });
@@ -13,4 +13,6 @@ export interface InsurancePlan {
13
13
  type?: CandidApi.preEncounter.coverages.v1.InsuranceTypeCode;
14
14
  period?: CandidApi.preEncounter.Period;
15
15
  insuranceCardImageLocator?: string;
16
+ /** The ID of the Candid configured payer plan group associated with this coverage */
17
+ payerPlanGroupId?: CandidApi.preEncounter.PayerPlanGroupId;
16
18
  }
@@ -179,6 +179,9 @@ export type InsuranceTypeCode =
179
179
  /**
180
180
  * Other */
181
181
  | "OT"
182
+ /**
183
+ * Property Insurance - Personal */
184
+ | "PE"
182
185
  /**
183
186
  * Personal */
184
187
  | "PL"
@@ -271,6 +274,7 @@ export declare const InsuranceTypeCode: {
271
274
  readonly Cmv: "MV";
272
275
  readonly Coa: "OA";
273
276
  readonly Cot: "OT";
277
+ readonly Cpe: "PE";
274
278
  readonly Cpl: "PL";
275
279
  readonly Cpp: "PP";
276
280
  readonly Cpr: "PR";
@@ -63,6 +63,7 @@ exports.InsuranceTypeCode = {
63
63
  Cmv: "MV",
64
64
  Coa: "OA",
65
65
  Cot: "OT",
66
+ Cpe: "PE",
66
67
  Cpl: "PL",
67
68
  Cpp: "PP",
68
69
  Cpr: "PR",
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface MemberInfo {
5
+ memberId: string;
6
+ firstName: string;
7
+ lastName: string;
8
+ dateOfBirth: string;
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -3,6 +3,7 @@
3
3
  */
4
4
  import * as CandidApi from "../../../../../../../index";
5
5
  export interface PlanMetadata {
6
+ payerName?: string;
6
7
  insuranceType?: string;
7
8
  insuranceTypeCode?: string;
8
9
  planName?: string;
@@ -11,4 +12,6 @@ export interface PlanMetadata {
11
12
  startDate?: string;
12
13
  endDate?: string;
13
14
  planDates?: CandidApi.preEncounter.coverages.v1.PlanDate[];
15
+ subscriber?: CandidApi.preEncounter.coverages.v1.ExpandedMemberInfo;
16
+ dependent?: CandidApi.preEncounter.coverages.v1.ExpandedMemberInfo;
14
17
  }
@@ -1,3 +1,4 @@
1
+ export * from "./CoveragesPage";
1
2
  export * from "./LatestEligibilityCheck";
2
3
  export * from "./EligibilityCheckMetadata";
3
4
  export * from "./CoverageEligibilityCheckResponse";
@@ -17,6 +18,9 @@ export * from "./EligibilityStatus";
17
18
  export * from "./CoverageLevel";
18
19
  export * from "./CoverageValueUnit";
19
20
  export * from "./Subscriber";
21
+ export * from "./MemberInfo";
22
+ export * from "./Address";
23
+ export * from "./ExpandedMemberInfo";
20
24
  export * from "./CoverageStatus";
21
25
  export * from "./NetworkType";
22
26
  export * from "./InsurancePlan";
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./CoveragesPage"), exports);
17
18
  __exportStar(require("./LatestEligibilityCheck"), exports);
18
19
  __exportStar(require("./EligibilityCheckMetadata"), exports);
19
20
  __exportStar(require("./CoverageEligibilityCheckResponse"), exports);
@@ -33,6 +34,9 @@ __exportStar(require("./EligibilityStatus"), exports);
33
34
  __exportStar(require("./CoverageLevel"), exports);
34
35
  __exportStar(require("./CoverageValueUnit"), exports);
35
36
  __exportStar(require("./Subscriber"), exports);
37
+ __exportStar(require("./MemberInfo"), exports);
38
+ __exportStar(require("./Address"), exports);
39
+ __exportStar(require("./ExpandedMemberInfo"), exports);
36
40
  __exportStar(require("./CoverageStatus"), exports);
37
41
  __exportStar(require("./NetworkType"), exports);
38
42
  __exportStar(require("./InsurancePlan"), exports);
@@ -0,0 +1,30 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as environments from "../../../../../../environments";
5
+ import * as core from "../../../../../../core";
6
+ import { V1 } from "../resources/v1/client/Client";
7
+ export declare namespace EligibilityChecks {
8
+ interface Options {
9
+ environment?: core.Supplier<environments.CandidApiEnvironment | environments.CandidApiEnvironmentUrls>;
10
+ /** Specify a custom URL to connect the client to. */
11
+ baseUrl?: core.Supplier<string>;
12
+ token?: core.Supplier<core.BearerToken | undefined>;
13
+ }
14
+ interface RequestOptions {
15
+ /** The maximum time to wait for a response in seconds. */
16
+ timeoutInSeconds?: number;
17
+ /** The number of times to retry the request. Defaults to 2. */
18
+ maxRetries?: number;
19
+ /** A hook to abort the request. */
20
+ abortSignal?: AbortSignal;
21
+ /** Additional headers to include in the request. */
22
+ headers?: Record<string, string>;
23
+ }
24
+ }
25
+ export declare class EligibilityChecks {
26
+ protected readonly _options: EligibilityChecks.Options;
27
+ protected _v1: V1 | undefined;
28
+ constructor(_options?: EligibilityChecks.Options);
29
+ get v1(): V1;
30
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.EligibilityChecks = void 0;
7
+ const Client_1 = require("../resources/v1/client/Client");
8
+ class EligibilityChecks {
9
+ constructor(_options = {}) {
10
+ this._options = _options;
11
+ }
12
+ get v1() {
13
+ var _a;
14
+ return ((_a = this._v1) !== null && _a !== void 0 ? _a : (this._v1 = new Client_1.V1(this._options)));
15
+ }
16
+ }
17
+ exports.EligibilityChecks = EligibilityChecks;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export * from "./resources";
2
+ export * from "./client";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./resources"), exports);
18
+ __exportStar(require("./client"), exports);
@@ -0,0 +1 @@
1
+ export * as v1 from "./v1";