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
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ import { Period } from "./Period";
8
+ export declare const ExternalIdentifier: core.serialization.ObjectSchema<serializers.preEncounter.ExternalIdentifier.Raw, CandidApi.preEncounter.ExternalIdentifier>;
9
+ export declare namespace ExternalIdentifier {
10
+ interface Raw {
11
+ value: string;
12
+ system: string;
13
+ period?: Period.Raw | null;
14
+ }
15
+ }
@@ -0,0 +1,46 @@
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.ExternalIdentifier = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ const Period_1 = require("./Period");
42
+ exports.ExternalIdentifier = core.serialization.object({
43
+ value: core.serialization.string(),
44
+ system: core.serialization.string(),
45
+ period: Period_1.Period.optional(),
46
+ });
@@ -20,5 +20,6 @@ export declare namespace ExternalProvider {
20
20
  addresses?: Address.Raw[] | null;
21
21
  period?: Period.Raw | null;
22
22
  canonical_id?: CanonicalProviderId.Raw | null;
23
+ fax?: string | null;
23
24
  }
24
25
  }
@@ -52,4 +52,5 @@ exports.ExternalProvider = core.serialization.object({
52
52
  addresses: core.serialization.list(Address_1.Address).optional(),
53
53
  period: Period_1.Period.optional(),
54
54
  canonicalId: core.serialization.property("canonical_id", CanonicalProviderId_1.CanonicalProviderId.optional()),
55
+ fax: core.serialization.string().optional(),
55
56
  });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ export declare const PayerPlanGroupId: core.serialization.Schema<serializers.preEncounter.PayerPlanGroupId.Raw, CandidApi.preEncounter.PayerPlanGroupId>;
8
+ export declare namespace PayerPlanGroupId {
9
+ type Raw = string;
10
+ }
@@ -0,0 +1,45 @@
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.PayerPlanGroupId = void 0;
40
+ const CandidApi = __importStar(require("../../../../../../api/index"));
41
+ const core = __importStar(require("../../../../../../core"));
42
+ exports.PayerPlanGroupId = core.serialization.string().transform({
43
+ transform: CandidApi.preEncounter.PayerPlanGroupId,
44
+ untransform: (value) => value,
45
+ });
@@ -4,10 +4,12 @@ export * from "./BaseModel";
4
4
  export * from "./PayerId";
5
5
  export * from "./PatientId";
6
6
  export * from "./CoverageId";
7
+ export * from "./PayerPlanGroupId";
7
8
  export * from "./AppointmentId";
8
9
  export * from "./NoteId";
9
10
  export * from "./TagId";
10
11
  export * from "./CanonicalProviderId";
12
+ export * from "./ExternalIdentifier";
11
13
  export * from "./CanonicalNonInsurancePayerAssociation";
12
14
  export * from "./CanonicalNonInsurancePayerId";
13
15
  export * from "./Relationship";
@@ -20,10 +20,12 @@ __exportStar(require("./BaseModel"), exports);
20
20
  __exportStar(require("./PayerId"), exports);
21
21
  __exportStar(require("./PatientId"), exports);
22
22
  __exportStar(require("./CoverageId"), exports);
23
+ __exportStar(require("./PayerPlanGroupId"), exports);
23
24
  __exportStar(require("./AppointmentId"), exports);
24
25
  __exportStar(require("./NoteId"), exports);
25
26
  __exportStar(require("./TagId"), exports);
26
27
  __exportStar(require("./CanonicalProviderId"), exports);
28
+ __exportStar(require("./ExternalIdentifier"), exports);
27
29
  __exportStar(require("./CanonicalNonInsurancePayerAssociation"), exports);
28
30
  __exportStar(require("./CanonicalNonInsurancePayerId"), exports);
29
31
  __exportStar(require("./Relationship"), exports);
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../index";
5
+ import * as CandidApi from "../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../core";
7
+ import { ErrorBase4Xx } from "../../../../common/types/ErrorBase4Xx";
8
+ export declare const Error: core.serialization.Schema<serializers.preEncounter.coverages.v1.getMultiPaginated.Error.Raw, CandidApi.preEncounter.coverages.v1.getMultiPaginated.Error>;
9
+ export declare namespace Error {
10
+ type Raw = Error.BadRequestError;
11
+ interface BadRequestError {
12
+ errorName: "BadRequestError";
13
+ content: ErrorBase4Xx.Raw;
14
+ }
15
+ }
@@ -0,0 +1,71 @@
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
+ var __rest = (this && this.__rest) || function (s, e) {
39
+ var t = {};
40
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
41
+ t[p] = s[p];
42
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
43
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
44
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
45
+ t[p[i]] = s[p[i]];
46
+ }
47
+ return t;
48
+ };
49
+ Object.defineProperty(exports, "__esModule", { value: true });
50
+ exports.Error = void 0;
51
+ const CandidApi = __importStar(require("../../../../../../../../api/index"));
52
+ const core = __importStar(require("../../../../../../../../core"));
53
+ const ErrorBase4Xx_1 = require("../../../../common/types/ErrorBase4Xx");
54
+ exports.Error = core.serialization
55
+ .union("errorName", {
56
+ BadRequestError: core.serialization.object({
57
+ content: ErrorBase4Xx_1.ErrorBase4Xx,
58
+ }),
59
+ })
60
+ .transform({
61
+ transform: (value) => {
62
+ switch (value.errorName) {
63
+ case "BadRequestError":
64
+ return CandidApi.preEncounter.coverages.v1.getMultiPaginated.Error.badRequestError(value.content);
65
+ }
66
+ },
67
+ untransform: (_a) => {
68
+ var { _visit } = _a, value = __rest(_a, ["_visit"]);
69
+ return value;
70
+ },
71
+ });
@@ -1,4 +1,5 @@
1
1
  export * as update from "./update";
2
+ export * as getMultiPaginated from "./getMultiPaginated";
2
3
  export * as getHistory from "./getHistory";
3
4
  export * as getMulti from "./getMulti";
4
5
  export * as scan from "./scan";
@@ -36,8 +36,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.scan = exports.getMulti = exports.getHistory = exports.update = void 0;
39
+ exports.scan = exports.getMulti = exports.getHistory = exports.getMultiPaginated = exports.update = void 0;
40
40
  exports.update = __importStar(require("./update"));
41
+ exports.getMultiPaginated = __importStar(require("./getMultiPaginated"));
41
42
  exports.getHistory = __importStar(require("./getHistory"));
42
43
  exports.getMulti = __importStar(require("./getMulti"));
43
44
  exports.scan = __importStar(require("./scan"));
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../index";
5
+ import * as CandidApi from "../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../core";
7
+ export declare const Address: core.serialization.ObjectSchema<serializers.preEncounter.coverages.v1.Address.Raw, CandidApi.preEncounter.coverages.v1.Address>;
8
+ export declare namespace Address {
9
+ interface Raw {
10
+ address1?: string | null;
11
+ address2?: string | null;
12
+ city?: string | null;
13
+ state?: string | null;
14
+ postal_code?: string | null;
15
+ country_code?: string | null;
16
+ country_sub_division_code?: string | null;
17
+ }
18
+ }
@@ -0,0 +1,49 @@
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.Address = void 0;
40
+ const core = __importStar(require("../../../../../../../../core"));
41
+ exports.Address = core.serialization.object({
42
+ address1: core.serialization.string().optional(),
43
+ address2: core.serialization.string().optional(),
44
+ city: core.serialization.string().optional(),
45
+ state: core.serialization.string().optional(),
46
+ postalCode: core.serialization.property("postal_code", core.serialization.string().optional()),
47
+ countryCode: core.serialization.property("country_code", core.serialization.string().optional()),
48
+ countrySubDivisionCode: core.serialization.property("country_sub_division_code", core.serialization.string().optional()),
49
+ });
@@ -5,6 +5,7 @@ import * as serializers from "../../../../../../../index";
5
5
  import * as CandidApi from "../../../../../../../../api/index";
6
6
  import * as core from "../../../../../../../../core";
7
7
  import { RelatedEntityContact } from "./RelatedEntityContact";
8
+ import { ServiceTypeCode } from "./ServiceTypeCode";
8
9
  export declare const BenefitsRelatedEntity: core.serialization.ObjectSchema<serializers.preEncounter.coverages.v1.BenefitsRelatedEntity.Raw, CandidApi.preEncounter.coverages.v1.BenefitsRelatedEntity>;
9
10
  export declare namespace BenefitsRelatedEntity {
10
11
  interface Raw {
@@ -12,5 +13,6 @@ export declare namespace BenefitsRelatedEntity {
12
13
  entityType?: string | null;
13
14
  entityName?: string | null;
14
15
  contactInformation?: RelatedEntityContact.Raw[] | null;
16
+ serviceTypeCodes?: ServiceTypeCode.Raw[] | null;
15
17
  }
16
18
  }
@@ -39,9 +39,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.BenefitsRelatedEntity = void 0;
40
40
  const core = __importStar(require("../../../../../../../../core"));
41
41
  const RelatedEntityContact_1 = require("./RelatedEntityContact");
42
+ const ServiceTypeCode_1 = require("./ServiceTypeCode");
42
43
  exports.BenefitsRelatedEntity = core.serialization.object({
43
44
  entityIdentifier: core.serialization.string().optional(),
44
45
  entityType: core.serialization.string().optional(),
45
46
  entityName: core.serialization.string().optional(),
46
47
  contactInformation: core.serialization.list(RelatedEntityContact_1.RelatedEntityContact).optional(),
48
+ serviceTypeCodes: core.serialization.list(ServiceTypeCode_1.ServiceTypeCode).optional(),
47
49
  });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../index";
5
+ import * as CandidApi from "../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../core";
7
+ import { Coverage } from "./Coverage";
8
+ import { ResourcePage } from "../../../../common/types/ResourcePage";
9
+ export declare const CoveragesPage: core.serialization.ObjectSchema<serializers.preEncounter.coverages.v1.CoveragesPage.Raw, CandidApi.preEncounter.coverages.v1.CoveragesPage>;
10
+ export declare namespace CoveragesPage {
11
+ interface Raw extends ResourcePage.Raw {
12
+ items: Coverage.Raw[];
13
+ }
14
+ }
@@ -0,0 +1,47 @@
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.CoveragesPage = void 0;
40
+ const core = __importStar(require("../../../../../../../../core"));
41
+ const Coverage_1 = require("./Coverage");
42
+ const ResourcePage_1 = require("../../../../common/types/ResourcePage");
43
+ exports.CoveragesPage = core.serialization
44
+ .object({
45
+ items: core.serialization.list(Coverage_1.Coverage),
46
+ })
47
+ .extend(ResourcePage_1.ResourcePage);
@@ -0,0 +1,20 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../index";
5
+ import * as CandidApi from "../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../core";
7
+ import { Address } from "./Address";
8
+ export declare const ExpandedMemberInfo: core.serialization.ObjectSchema<serializers.preEncounter.coverages.v1.ExpandedMemberInfo.Raw, CandidApi.preEncounter.coverages.v1.ExpandedMemberInfo>;
9
+ export declare namespace ExpandedMemberInfo {
10
+ interface Raw {
11
+ member_id?: string | null;
12
+ group_number?: string | null;
13
+ first_name?: string | null;
14
+ middle_name?: string | null;
15
+ last_name?: string | null;
16
+ date_of_birth?: string | null;
17
+ gender?: string | null;
18
+ address?: Address.Raw | null;
19
+ }
20
+ }
@@ -0,0 +1,51 @@
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.ExpandedMemberInfo = void 0;
40
+ const core = __importStar(require("../../../../../../../../core"));
41
+ const Address_1 = require("./Address");
42
+ exports.ExpandedMemberInfo = core.serialization.object({
43
+ memberId: core.serialization.property("member_id", core.serialization.string().optional()),
44
+ groupNumber: core.serialization.property("group_number", core.serialization.string().optional()),
45
+ firstName: core.serialization.property("first_name", core.serialization.string().optional()),
46
+ middleName: core.serialization.property("middle_name", core.serialization.string().optional()),
47
+ lastName: core.serialization.property("last_name", core.serialization.string().optional()),
48
+ dateOfBirth: core.serialization.property("date_of_birth", core.serialization.string().optional()),
49
+ gender: core.serialization.string().optional(),
50
+ address: Address_1.Address.optional(),
51
+ });
@@ -9,6 +9,7 @@ import { AdditionalPayerInformation } from "../../../../common/types/AdditionalP
9
9
  import { NetworkType } from "./NetworkType";
10
10
  import { InsuranceTypeCode } from "./InsuranceTypeCode";
11
11
  import { Period } from "../../../../common/types/Period";
12
+ import { PayerPlanGroupId } from "../../../../common/types/PayerPlanGroupId";
12
13
  export declare const InsurancePlan: core.serialization.ObjectSchema<serializers.preEncounter.coverages.v1.InsurancePlan.Raw, CandidApi.preEncounter.coverages.v1.InsurancePlan>;
13
14
  export declare namespace InsurancePlan {
14
15
  interface Raw {
@@ -22,5 +23,6 @@ export declare namespace InsurancePlan {
22
23
  type?: InsuranceTypeCode.Raw | null;
23
24
  period?: Period.Raw | null;
24
25
  insurance_card_image_locator?: string | null;
26
+ payer_plan_group_id?: PayerPlanGroupId.Raw | null;
25
27
  }
26
28
  }
@@ -43,6 +43,7 @@ const AdditionalPayerInformation_1 = require("../../../../common/types/Additiona
43
43
  const NetworkType_1 = require("./NetworkType");
44
44
  const InsuranceTypeCode_1 = require("./InsuranceTypeCode");
45
45
  const Period_1 = require("../../../../common/types/Period");
46
+ const PayerPlanGroupId_1 = require("../../../../common/types/PayerPlanGroupId");
46
47
  exports.InsurancePlan = core.serialization.object({
47
48
  memberId: core.serialization.property("member_id", core.serialization.string()),
48
49
  payerId: core.serialization.property("payer_id", PayerId_1.PayerId),
@@ -54,4 +55,5 @@ exports.InsurancePlan = core.serialization.object({
54
55
  type: InsuranceTypeCode_1.InsuranceTypeCode.optional(),
55
56
  period: Period_1.Period.optional(),
56
57
  insuranceCardImageLocator: core.serialization.property("insurance_card_image_locator", core.serialization.string().optional()),
58
+ payerPlanGroupId: core.serialization.property("payer_plan_group_id", PayerPlanGroupId_1.PayerPlanGroupId.optional()),
57
59
  });
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../../../../../api/index";
6
6
  import * as core from "../../../../../../../../core";
7
7
  export declare const InsuranceTypeCode: core.serialization.Schema<serializers.preEncounter.coverages.v1.InsuranceTypeCode.Raw, CandidApi.preEncounter.coverages.v1.InsuranceTypeCode>;
8
8
  export declare namespace InsuranceTypeCode {
9
- type Raw = "01" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19" | "41" | "42" | "43" | "47" | "AP" | "C1" | "CO" | "CP" | "D" | "DB" | "E" | "EP" | "FF" | "GP" | "HA" | "HB" | "HD" | "HG" | "HM" | "HN" | "HP" | "HS" | "IN" | "IP" | "LC" | "LD" | "LI" | "LT" | "M" | "MA" | "MB" | "MC" | "MD" | "ME" | "MF" | "MH" | "MI" | "MJ" | "MK" | "ML" | "MM" | "MN" | "MO" | "MP" | "MR" | "MT" | "MV" | "OA" | "OT" | "PL" | "PP" | "PR" | "PS" | "QM" | "RP" | "SP" | "TF" | "U" | "WC" | "WU";
9
+ type Raw = "01" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19" | "41" | "42" | "43" | "47" | "AP" | "C1" | "CO" | "CP" | "D" | "DB" | "E" | "EP" | "FF" | "GP" | "HA" | "HB" | "HD" | "HG" | "HM" | "HN" | "HP" | "HS" | "IN" | "IP" | "LC" | "LD" | "LI" | "LT" | "M" | "MA" | "MB" | "MC" | "MD" | "ME" | "MF" | "MH" | "MI" | "MJ" | "MK" | "ML" | "MM" | "MN" | "MO" | "MP" | "MR" | "MT" | "MV" | "OA" | "OT" | "PE" | "PL" | "PP" | "PR" | "PS" | "QM" | "RP" | "SP" | "TF" | "U" | "WC" | "WU";
10
10
  }
@@ -97,6 +97,7 @@ exports.InsuranceTypeCode = core.serialization.enum_([
97
97
  "MV",
98
98
  "OA",
99
99
  "OT",
100
+ "PE",
100
101
  "PL",
101
102
  "PP",
102
103
  "PR",
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../index";
5
+ import * as CandidApi from "../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../core";
7
+ export declare const MemberInfo: core.serialization.ObjectSchema<serializers.preEncounter.coverages.v1.MemberInfo.Raw, CandidApi.preEncounter.coverages.v1.MemberInfo>;
8
+ export declare namespace MemberInfo {
9
+ interface Raw {
10
+ member_id: string;
11
+ first_name: string;
12
+ last_name: string;
13
+ date_of_birth: string;
14
+ }
15
+ }
@@ -0,0 +1,46 @@
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.MemberInfo = void 0;
40
+ const core = __importStar(require("../../../../../../../../core"));
41
+ exports.MemberInfo = core.serialization.object({
42
+ memberId: core.serialization.property("member_id", core.serialization.string()),
43
+ firstName: core.serialization.property("first_name", core.serialization.string()),
44
+ lastName: core.serialization.property("last_name", core.serialization.string()),
45
+ dateOfBirth: core.serialization.property("date_of_birth", core.serialization.string()),
46
+ });
@@ -5,9 +5,11 @@ import * as serializers from "../../../../../../../index";
5
5
  import * as CandidApi from "../../../../../../../../api/index";
6
6
  import * as core from "../../../../../../../../core";
7
7
  import { PlanDate } from "./PlanDate";
8
+ import { ExpandedMemberInfo } from "./ExpandedMemberInfo";
8
9
  export declare const PlanMetadata: core.serialization.ObjectSchema<serializers.preEncounter.coverages.v1.PlanMetadata.Raw, CandidApi.preEncounter.coverages.v1.PlanMetadata>;
9
10
  export declare namespace PlanMetadata {
10
11
  interface Raw {
12
+ payer_name?: string | null;
11
13
  insurance_type?: string | null;
12
14
  insurance_type_code?: string | null;
13
15
  plan_name?: string | null;
@@ -16,5 +18,7 @@ export declare namespace PlanMetadata {
16
18
  start_date?: string | null;
17
19
  end_date?: string | null;
18
20
  plan_dates?: PlanDate.Raw[] | null;
21
+ subscriber?: ExpandedMemberInfo.Raw | null;
22
+ dependent?: ExpandedMemberInfo.Raw | null;
19
23
  }
20
24
  }