candidhealth 0.26.1 → 0.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (602) hide show
  1. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  2. package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  3. package/api/resources/claims/types/Claim.d.ts +37 -0
  4. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  5. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  6. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  7. package/api/resources/encounters/resources/v4/client/Client.js +4 -4
  8. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +37 -0
  9. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +37 -0
  10. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  11. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  12. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  13. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  14. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  15. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  16. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  17. package/api/resources/index.d.ts +1 -0
  18. package/api/resources/index.js +1 -0
  19. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  20. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  21. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  22. package/api/resources/invoices/index.d.ts +1 -0
  23. package/api/resources/invoices/index.js +1 -0
  24. package/api/resources/invoices/types/Invoice.d.ts +19 -0
  25. package/api/resources/invoices/types/InvoiceItem.d.ts +8 -0
  26. package/api/resources/invoices/types/InvoiceStatus.d.ts +12 -0
  27. package/api/resources/invoices/types/InvoiceStatus.js +14 -0
  28. package/api/resources/invoices/types/index.d.ts +3 -0
  29. package/api/resources/invoices/types/index.js +19 -0
  30. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  31. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  32. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  33. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  34. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  35. package/api/resources/preEncounter/client/Client.d.ts +3 -0
  36. package/api/resources/preEncounter/client/Client.js +9 -4
  37. package/api/resources/preEncounter/resources/appointments/client/Client.d.ts +26 -0
  38. package/api/resources/preEncounter/resources/appointments/client/Client.js +17 -0
  39. package/api/resources/preEncounter/resources/appointments/client/index.d.ts +1 -0
  40. package/api/resources/preEncounter/resources/appointments/client/index.js +2 -0
  41. package/api/resources/preEncounter/resources/appointments/index.d.ts +2 -0
  42. package/api/resources/preEncounter/resources/appointments/index.js +18 -0
  43. package/api/resources/preEncounter/resources/appointments/resources/index.d.ts +1 -0
  44. package/api/resources/preEncounter/resources/appointments/resources/index.js +27 -0
  45. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +132 -0
  46. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +493 -0
  47. package/api/resources/preEncounter/resources/appointments/resources/v1/client/create.d.ts +28 -0
  48. package/api/resources/preEncounter/resources/appointments/resources/v1/client/create.js +58 -0
  49. package/api/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.d.ts +34 -0
  50. package/api/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.js +69 -0
  51. package/api/resources/preEncounter/resources/appointments/resources/v1/client/get.d.ts +28 -0
  52. package/api/resources/preEncounter/resources/appointments/resources/v1/client/get.js +58 -0
  53. package/api/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.d.ts +28 -0
  54. package/api/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.js +58 -0
  55. package/api/resources/preEncounter/resources/appointments/resources/v1/client/getMulti.d.ts +22 -0
  56. package/api/resources/preEncounter/resources/appointments/resources/v1/client/getMulti.js +47 -0
  57. package/api/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +7 -0
  58. package/api/resources/preEncounter/resources/appointments/resources/v1/client/index.js +36 -0
  59. package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/AppointmentsSearchRequest.d.ts +38 -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/client/requests/index.js +2 -0
  62. package/api/resources/preEncounter/resources/appointments/resources/v1/client/update.d.ts +34 -0
  63. package/api/resources/preEncounter/resources/appointments/resources/v1/client/update.js +69 -0
  64. package/api/resources/preEncounter/resources/appointments/resources/v1/index.d.ts +2 -0
  65. package/api/resources/preEncounter/resources/appointments/resources/v1/index.js +18 -0
  66. package/api/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.d.ts +19 -0
  67. package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentId.d.ts +11 -0
  68. package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentId.js +10 -0
  69. package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentReason.d.ts +11 -0
  70. package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentReason.js +13 -0
  71. package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentSortField.d.ts +8 -0
  72. package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentSortField.js +10 -0
  73. package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentType.d.ts +9 -0
  74. package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentType.js +11 -0
  75. package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.d.ts +9 -0
  76. package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.js +11 -0
  77. package/api/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +32 -0
  78. package/api/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.js +5 -0
  79. package/api/resources/preEncounter/resources/appointments/resources/v1/types/Service.d.ts +9 -0
  80. package/api/resources/preEncounter/resources/appointments/resources/v1/types/Service.js +5 -0
  81. package/api/resources/preEncounter/resources/appointments/resources/v1/types/UniversalServiceIdentifier.d.ts +10 -0
  82. package/api/resources/preEncounter/resources/appointments/resources/v1/types/UniversalServiceIdentifier.js +12 -0
  83. package/api/resources/preEncounter/resources/appointments/resources/v1/types/index.d.ts +9 -0
  84. package/api/resources/preEncounter/resources/appointments/resources/v1/types/index.js +25 -0
  85. package/api/resources/preEncounter/resources/common/types/CanonicalProviderId.d.ts +11 -0
  86. package/api/resources/preEncounter/resources/common/types/CanonicalProviderId.js +10 -0
  87. package/api/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -0
  88. package/api/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts +2 -1
  89. package/api/resources/preEncounter/resources/common/types/ExternalProviderType.js +1 -0
  90. package/api/resources/preEncounter/resources/common/types/PageToken.d.ts +11 -0
  91. package/api/resources/preEncounter/resources/common/types/PageToken.js +10 -0
  92. package/api/resources/preEncounter/resources/common/types/ResourcePage.d.ts +8 -0
  93. package/api/resources/preEncounter/resources/common/types/ResourcePage.js +5 -0
  94. package/api/resources/preEncounter/resources/common/types/SortDirection.d.ts +8 -0
  95. package/api/resources/preEncounter/resources/common/types/SortDirection.js +10 -0
  96. package/api/resources/preEncounter/resources/common/types/index.d.ts +4 -0
  97. package/api/resources/preEncounter/resources/common/types/index.js +4 -0
  98. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +54 -6
  99. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +136 -11
  100. package/api/resources/preEncounter/resources/coverages/resources/v1/client/checkEligibility.d.ts +22 -0
  101. package/api/resources/preEncounter/resources/coverages/resources/v1/client/checkEligibility.js +47 -0
  102. package/api/resources/preEncounter/resources/coverages/resources/v1/client/getEligibility.d.ts +22 -0
  103. package/api/resources/preEncounter/resources/coverages/resources/v1/client/getEligibility.js +47 -0
  104. package/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +2 -0
  105. package/api/resources/preEncounter/resources/coverages/resources/v1/client/index.js +3 -1
  106. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.d.ts +17 -0
  107. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.js +5 -0
  108. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/{GetAllCoveragesRequest.d.ts → CoverageGetMultiRequest.d.ts} +1 -1
  109. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiRequest.js +5 -0
  110. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/index.d.ts +2 -1
  111. package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +8 -0
  112. package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.js +5 -0
  113. package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.d.ts +9 -0
  114. package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.js +5 -0
  115. package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.d.ts +7 -0
  116. package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.js +5 -0
  117. package/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.d.ts +6 -0
  118. package/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.js +5 -0
  119. package/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckMetadata.d.ts +11 -0
  120. package/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckMetadata.js +5 -0
  121. package/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckStatus.d.ts +13 -0
  122. package/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckStatus.js +12 -0
  123. package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +0 -4
  124. package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +0 -1
  125. package/api/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.d.ts +4 -0
  126. package/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverage.d.ts +8 -0
  127. package/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverage.js +5 -0
  128. package/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.d.ts +11 -0
  129. package/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.js +5 -0
  130. package/api/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverage.d.ts +9 -0
  131. package/api/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverage.js +5 -0
  132. package/api/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverageDetails.d.ts +11 -0
  133. package/api/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverageDetails.js +5 -0
  134. package/api/resources/preEncounter/resources/coverages/resources/v1/types/ServiceTypeCode.d.ts +757 -0
  135. package/api/resources/preEncounter/resources/coverages/resources/v1/types/ServiceTypeCode.js +195 -0
  136. package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +11 -0
  137. package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +11 -0
  138. package/api/resources/preEncounter/resources/index.d.ts +1 -0
  139. package/api/resources/preEncounter/resources/index.js +2 -1
  140. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +26 -8
  141. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +90 -17
  142. package/api/resources/preEncounter/resources/patients/resources/v1/client/getMulti.d.ts +22 -0
  143. package/api/resources/preEncounter/resources/patients/resources/v1/client/getMulti.js +47 -0
  144. package/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  145. package/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  146. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.d.ts +17 -0
  147. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.js +5 -0
  148. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +22 -0
  149. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.js +5 -0
  150. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/index.d.ts +2 -1
  151. package/api/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +1 -0
  152. package/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +1 -1
  153. package/api/resources/preEncounter/resources/patients/resources/v1/types/PatientPage.d.ts +7 -0
  154. package/api/resources/preEncounter/resources/patients/resources/v1/types/PatientPage.js +5 -0
  155. package/api/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.d.ts +11 -0
  156. package/api/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.js +10 -0
  157. package/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +2 -0
  158. package/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +2 -0
  159. package/api/resources/serviceFacility/client/Client.js +1 -1
  160. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +8 -0
  161. package/api/resources/serviceLines/resources/v2/client/Client.js +57 -2
  162. package/api/resources/serviceLines/resources/v2/client/delete.d.ts +34 -0
  163. package/api/resources/serviceLines/resources/v2/client/delete.js +69 -0
  164. package/api/resources/serviceLines/resources/v2/client/index.d.ts +1 -0
  165. package/api/resources/serviceLines/resources/v2/client/index.js +2 -1
  166. package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +41 -0
  167. package/api/resources/serviceLines/resources/v2/types/ServiceLineEraData.d.ts +8 -0
  168. package/api/resources/serviceLines/resources/v2/types/ServiceLineEraData.js +5 -0
  169. package/api/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
  170. package/api/resources/serviceLines/resources/v2/types/index.js +1 -0
  171. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  172. package/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.js +5 -5
  173. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.js +5 -5
  174. package/api/resources/thirdPartyPayers/resources/v1/client/Client.js +6 -6
  175. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  176. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  177. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  178. package/dist/api/resources/claims/types/Claim.d.ts +37 -0
  179. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  180. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  181. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  182. package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
  183. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +37 -0
  184. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +37 -0
  185. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  186. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  187. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  188. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  189. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  190. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  191. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  192. package/dist/api/resources/index.d.ts +1 -0
  193. package/dist/api/resources/index.js +1 -0
  194. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  195. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  196. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  197. package/dist/api/resources/invoices/index.d.ts +1 -0
  198. package/dist/api/resources/invoices/index.js +1 -0
  199. package/dist/api/resources/invoices/types/Invoice.d.ts +19 -0
  200. package/dist/api/resources/invoices/types/Invoice.js +5 -0
  201. package/dist/api/resources/invoices/types/InvoiceItem.d.ts +8 -0
  202. package/dist/api/resources/invoices/types/InvoiceItem.js +5 -0
  203. package/dist/api/resources/invoices/types/InvoiceStatus.d.ts +12 -0
  204. package/dist/api/resources/invoices/types/InvoiceStatus.js +14 -0
  205. package/dist/api/resources/invoices/types/index.d.ts +3 -0
  206. package/dist/api/resources/invoices/types/index.js +19 -0
  207. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  208. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  209. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  210. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  211. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  212. package/dist/api/resources/preEncounter/client/Client.d.ts +3 -0
  213. package/dist/api/resources/preEncounter/client/Client.js +9 -4
  214. package/dist/api/resources/preEncounter/resources/appointments/client/Client.d.ts +26 -0
  215. package/dist/api/resources/preEncounter/resources/appointments/client/Client.js +17 -0
  216. package/dist/api/resources/preEncounter/resources/appointments/client/index.d.ts +1 -0
  217. package/dist/api/resources/preEncounter/resources/appointments/client/index.js +2 -0
  218. package/dist/api/resources/preEncounter/resources/appointments/index.d.ts +2 -0
  219. package/dist/api/resources/preEncounter/resources/appointments/index.js +18 -0
  220. package/dist/api/resources/preEncounter/resources/appointments/resources/index.d.ts +1 -0
  221. package/dist/api/resources/preEncounter/resources/appointments/resources/index.js +27 -0
  222. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +132 -0
  223. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +493 -0
  224. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/create.d.ts +28 -0
  225. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/create.js +58 -0
  226. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.d.ts +34 -0
  227. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.js +69 -0
  228. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/get.d.ts +28 -0
  229. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/get.js +58 -0
  230. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.d.ts +28 -0
  231. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.js +58 -0
  232. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/getMulti.d.ts +22 -0
  233. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/getMulti.js +47 -0
  234. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +7 -0
  235. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/index.js +36 -0
  236. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/AppointmentsSearchRequest.d.ts +38 -0
  237. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/AppointmentsSearchRequest.js +5 -0
  238. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/index.d.ts +1 -0
  239. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/index.js +2 -0
  240. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/update.d.ts +34 -0
  241. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/update.js +69 -0
  242. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/index.d.ts +2 -0
  243. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/index.js +18 -0
  244. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.d.ts +19 -0
  245. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.js +5 -0
  246. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentId.d.ts +11 -0
  247. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentId.js +10 -0
  248. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentReason.d.ts +11 -0
  249. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentReason.js +13 -0
  250. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentSortField.d.ts +8 -0
  251. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentSortField.js +10 -0
  252. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentType.d.ts +9 -0
  253. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentType.js +11 -0
  254. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.d.ts +9 -0
  255. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.js +11 -0
  256. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +32 -0
  257. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.js +5 -0
  258. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/Service.d.ts +9 -0
  259. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/Service.js +5 -0
  260. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/UniversalServiceIdentifier.d.ts +10 -0
  261. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/UniversalServiceIdentifier.js +12 -0
  262. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/index.d.ts +9 -0
  263. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/index.js +25 -0
  264. package/dist/api/resources/preEncounter/resources/common/types/CanonicalProviderId.d.ts +11 -0
  265. package/dist/api/resources/preEncounter/resources/common/types/CanonicalProviderId.js +10 -0
  266. package/dist/api/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -0
  267. package/dist/api/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts +2 -1
  268. package/dist/api/resources/preEncounter/resources/common/types/ExternalProviderType.js +1 -0
  269. package/dist/api/resources/preEncounter/resources/common/types/PageToken.d.ts +11 -0
  270. package/dist/api/resources/preEncounter/resources/common/types/PageToken.js +10 -0
  271. package/dist/api/resources/preEncounter/resources/common/types/ResourcePage.d.ts +8 -0
  272. package/dist/api/resources/preEncounter/resources/common/types/ResourcePage.js +5 -0
  273. package/dist/api/resources/preEncounter/resources/common/types/SortDirection.d.ts +8 -0
  274. package/dist/api/resources/preEncounter/resources/common/types/SortDirection.js +10 -0
  275. package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +4 -0
  276. package/dist/api/resources/preEncounter/resources/common/types/index.js +4 -0
  277. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +54 -6
  278. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +136 -11
  279. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/checkEligibility.d.ts +22 -0
  280. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/checkEligibility.js +47 -0
  281. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/getEligibility.d.ts +22 -0
  282. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/getEligibility.js +47 -0
  283. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +2 -0
  284. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.js +3 -1
  285. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.d.ts +17 -0
  286. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.js +5 -0
  287. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/{GetAllCoveragesRequest.d.ts → CoverageGetMultiRequest.d.ts} +1 -1
  288. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiRequest.js +5 -0
  289. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/index.d.ts +2 -1
  290. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +8 -0
  291. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.js +5 -0
  292. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.d.ts +9 -0
  293. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.js +5 -0
  294. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.d.ts +7 -0
  295. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.js +5 -0
  296. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.d.ts +6 -0
  297. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.js +5 -0
  298. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckMetadata.d.ts +11 -0
  299. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckMetadata.js +5 -0
  300. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckStatus.d.ts +13 -0
  301. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckStatus.js +12 -0
  302. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +0 -4
  303. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +0 -1
  304. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.d.ts +4 -0
  305. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverage.d.ts +8 -0
  306. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverage.js +5 -0
  307. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.d.ts +11 -0
  308. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.js +5 -0
  309. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverage.d.ts +9 -0
  310. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverage.js +5 -0
  311. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverageDetails.d.ts +11 -0
  312. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverageDetails.js +5 -0
  313. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/ServiceTypeCode.d.ts +757 -0
  314. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/ServiceTypeCode.js +195 -0
  315. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +11 -0
  316. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +11 -0
  317. package/dist/api/resources/preEncounter/resources/index.d.ts +1 -0
  318. package/dist/api/resources/preEncounter/resources/index.js +2 -1
  319. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +26 -8
  320. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +90 -17
  321. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/getMulti.d.ts +22 -0
  322. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/getMulti.js +47 -0
  323. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  324. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  325. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.d.ts +17 -0
  326. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.js +5 -0
  327. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +22 -0
  328. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.js +5 -0
  329. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/index.d.ts +2 -1
  330. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +1 -0
  331. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +1 -1
  332. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PatientPage.d.ts +7 -0
  333. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PatientPage.js +5 -0
  334. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.d.ts +11 -0
  335. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.js +10 -0
  336. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +2 -0
  337. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +2 -0
  338. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  339. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +8 -0
  340. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +57 -2
  341. package/dist/api/resources/serviceLines/resources/v2/client/delete.d.ts +34 -0
  342. package/dist/api/resources/serviceLines/resources/v2/client/delete.js +69 -0
  343. package/dist/api/resources/serviceLines/resources/v2/client/index.d.ts +1 -0
  344. package/dist/api/resources/serviceLines/resources/v2/client/index.js +2 -1
  345. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +41 -0
  346. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineEraData.d.ts +8 -0
  347. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineEraData.js +5 -0
  348. package/dist/api/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
  349. package/dist/api/resources/serviceLines/resources/v2/types/index.js +1 -0
  350. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  351. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.js +5 -5
  352. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.js +5 -5
  353. package/dist/api/resources/thirdPartyPayers/resources/v1/client/Client.js +6 -6
  354. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  355. package/dist/serialization/resources/index.d.ts +1 -0
  356. package/dist/serialization/resources/index.js +1 -0
  357. package/dist/serialization/resources/invoices/index.d.ts +1 -0
  358. package/dist/serialization/resources/invoices/index.js +1 -0
  359. package/dist/serialization/resources/invoices/types/Invoice.d.ts +30 -0
  360. package/dist/serialization/resources/invoices/types/Invoice.js +51 -0
  361. package/dist/serialization/resources/invoices/types/InvoiceItem.d.ts +14 -0
  362. package/dist/serialization/resources/invoices/types/InvoiceItem.js +35 -0
  363. package/dist/serialization/resources/invoices/types/InvoiceStatus.d.ts +10 -0
  364. package/dist/serialization/resources/invoices/types/InvoiceStatus.js +31 -0
  365. package/dist/serialization/resources/invoices/types/index.d.ts +3 -0
  366. package/dist/serialization/resources/invoices/types/index.js +19 -0
  367. package/dist/serialization/resources/preEncounter/resources/appointments/index.d.ts +1 -0
  368. package/dist/serialization/resources/preEncounter/resources/appointments/index.js +17 -0
  369. package/dist/serialization/resources/preEncounter/resources/appointments/resources/index.d.ts +1 -0
  370. package/dist/serialization/resources/preEncounter/resources/appointments/resources/index.js +27 -0
  371. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/create.d.ts +15 -0
  372. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/create.js +61 -0
  373. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.d.ts +20 -0
  374. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.js +67 -0
  375. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/get.d.ts +15 -0
  376. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/get.js +61 -0
  377. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.d.ts +20 -0
  378. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.js +63 -0
  379. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getMulti.d.ts +11 -0
  380. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getMulti.js +32 -0
  381. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +6 -0
  382. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.js +32 -0
  383. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/update.d.ts +20 -0
  384. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/update.js +67 -0
  385. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/index.d.ts +2 -0
  386. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/index.js +18 -0
  387. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.d.ts +21 -0
  388. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.js +44 -0
  389. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentId.d.ts +10 -0
  390. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentId.js +35 -0
  391. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentReason.d.ts +10 -0
  392. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentReason.js +31 -0
  393. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentSortField.d.ts +10 -0
  394. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentSortField.js +31 -0
  395. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentType.d.ts +10 -0
  396. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentType.js +31 -0
  397. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.d.ts +10 -0
  398. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.js +31 -0
  399. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +30 -0
  400. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.js +51 -0
  401. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Service.d.ts +14 -0
  402. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Service.js +35 -0
  403. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/UniversalServiceIdentifier.d.ts +10 -0
  404. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/UniversalServiceIdentifier.js +31 -0
  405. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/index.d.ts +9 -0
  406. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/index.js +25 -0
  407. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalProviderId.d.ts +10 -0
  408. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalProviderId.js +35 -0
  409. package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +2 -0
  410. package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProvider.js +2 -0
  411. package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts +1 -1
  412. package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.js +1 -1
  413. package/dist/serialization/resources/preEncounter/resources/common/types/PageToken.d.ts +10 -0
  414. package/dist/serialization/resources/preEncounter/resources/common/types/PageToken.js +35 -0
  415. package/dist/serialization/resources/preEncounter/resources/common/types/ResourcePage.d.ts +14 -0
  416. package/dist/serialization/resources/preEncounter/resources/common/types/ResourcePage.js +35 -0
  417. package/dist/serialization/resources/preEncounter/resources/common/types/SortDirection.d.ts +10 -0
  418. package/dist/serialization/resources/preEncounter/resources/common/types/SortDirection.js +31 -0
  419. package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +4 -0
  420. package/dist/serialization/resources/preEncounter/resources/common/types/index.js +4 -0
  421. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +1 -0
  422. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/index.js +4 -0
  423. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.d.ts +15 -0
  424. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.js +36 -0
  425. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/requests/index.d.ts +1 -0
  426. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/requests/index.js +5 -0
  427. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +15 -0
  428. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.js +36 -0
  429. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.d.ts +16 -0
  430. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.js +37 -0
  431. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.d.ts +13 -0
  432. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.js +34 -0
  433. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.d.ts +12 -0
  434. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.js +33 -0
  435. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckMetadata.d.ts +19 -0
  436. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckMetadata.js +40 -0
  437. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckStatus.d.ts +10 -0
  438. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckStatus.js +31 -0
  439. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +1 -1
  440. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +0 -1
  441. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.d.ts +4 -0
  442. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.js +4 -0
  443. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverage.d.ts +14 -0
  444. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverage.js +35 -0
  445. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.d.ts +17 -0
  446. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.js +38 -0
  447. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverage.d.ts +16 -0
  448. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverage.js +37 -0
  449. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverageDetails.d.ts +17 -0
  450. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverageDetails.js +38 -0
  451. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceTypeCode.d.ts +10 -0
  452. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceTypeCode.js +219 -0
  453. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +11 -0
  454. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +11 -0
  455. package/dist/serialization/resources/preEncounter/resources/index.d.ts +1 -0
  456. package/dist/serialization/resources/preEncounter/resources/index.js +2 -1
  457. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +1 -0
  458. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.js +1 -0
  459. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientPage.d.ts +14 -0
  460. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientPage.js +37 -0
  461. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.d.ts +10 -0
  462. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.js +35 -0
  463. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +2 -0
  464. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +2 -0
  465. package/dist/serialization/resources/serviceLines/resources/v2/client/delete.d.ts +20 -0
  466. package/dist/serialization/resources/serviceLines/resources/v2/client/delete.js +67 -0
  467. package/dist/serialization/resources/serviceLines/resources/v2/client/index.d.ts +1 -0
  468. package/dist/serialization/resources/serviceLines/resources/v2/client/index.js +2 -1
  469. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +6 -0
  470. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +6 -0
  471. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineEraData.d.ts +14 -0
  472. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineEraData.js +35 -0
  473. package/dist/serialization/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
  474. package/dist/serialization/resources/serviceLines/resources/v2/types/index.js +1 -0
  475. package/package.json +1 -1
  476. package/reference.md +879 -133
  477. package/serialization/resources/index.d.ts +1 -0
  478. package/serialization/resources/index.js +1 -0
  479. package/serialization/resources/invoices/index.d.ts +1 -0
  480. package/serialization/resources/invoices/index.js +1 -0
  481. package/serialization/resources/invoices/types/Invoice.d.ts +30 -0
  482. package/serialization/resources/invoices/types/Invoice.js +51 -0
  483. package/serialization/resources/invoices/types/InvoiceItem.d.ts +14 -0
  484. package/serialization/resources/invoices/types/InvoiceItem.js +35 -0
  485. package/serialization/resources/invoices/types/InvoiceStatus.d.ts +10 -0
  486. package/serialization/resources/invoices/types/InvoiceStatus.js +31 -0
  487. package/serialization/resources/invoices/types/index.d.ts +3 -0
  488. package/serialization/resources/invoices/types/index.js +19 -0
  489. package/serialization/resources/preEncounter/resources/appointments/index.d.ts +1 -0
  490. package/serialization/resources/preEncounter/resources/appointments/index.js +17 -0
  491. package/serialization/resources/preEncounter/resources/appointments/resources/index.d.ts +1 -0
  492. package/serialization/resources/preEncounter/resources/appointments/resources/index.js +27 -0
  493. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/create.d.ts +15 -0
  494. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/create.js +61 -0
  495. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.d.ts +20 -0
  496. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.js +67 -0
  497. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/get.d.ts +15 -0
  498. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/get.js +61 -0
  499. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.d.ts +20 -0
  500. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.js +63 -0
  501. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getMulti.d.ts +11 -0
  502. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getMulti.js +32 -0
  503. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +6 -0
  504. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.js +32 -0
  505. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/update.d.ts +20 -0
  506. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/update.js +67 -0
  507. package/serialization/resources/preEncounter/resources/appointments/resources/v1/index.d.ts +2 -0
  508. package/serialization/resources/preEncounter/resources/appointments/resources/v1/index.js +18 -0
  509. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.d.ts +21 -0
  510. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.js +44 -0
  511. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentId.d.ts +10 -0
  512. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentId.js +35 -0
  513. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentReason.d.ts +10 -0
  514. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentReason.js +31 -0
  515. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentSortField.d.ts +10 -0
  516. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentSortField.js +31 -0
  517. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentType.d.ts +10 -0
  518. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentType.js +31 -0
  519. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.d.ts +10 -0
  520. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.js +31 -0
  521. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +30 -0
  522. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.js +51 -0
  523. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Service.d.ts +14 -0
  524. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Service.js +35 -0
  525. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/UniversalServiceIdentifier.d.ts +10 -0
  526. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/UniversalServiceIdentifier.js +31 -0
  527. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/index.d.ts +9 -0
  528. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/index.js +25 -0
  529. package/serialization/resources/preEncounter/resources/common/types/CanonicalProviderId.d.ts +10 -0
  530. package/serialization/resources/preEncounter/resources/common/types/CanonicalProviderId.js +35 -0
  531. package/serialization/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +2 -0
  532. package/serialization/resources/preEncounter/resources/common/types/ExternalProvider.js +2 -0
  533. package/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts +1 -1
  534. package/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.js +1 -1
  535. package/serialization/resources/preEncounter/resources/common/types/PageToken.d.ts +10 -0
  536. package/serialization/resources/preEncounter/resources/common/types/PageToken.js +35 -0
  537. package/serialization/resources/preEncounter/resources/common/types/ResourcePage.d.ts +14 -0
  538. package/serialization/resources/preEncounter/resources/common/types/ResourcePage.js +35 -0
  539. package/serialization/resources/preEncounter/resources/common/types/SortDirection.d.ts +10 -0
  540. package/serialization/resources/preEncounter/resources/common/types/SortDirection.js +31 -0
  541. package/serialization/resources/preEncounter/resources/common/types/index.d.ts +4 -0
  542. package/serialization/resources/preEncounter/resources/common/types/index.js +4 -0
  543. package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +1 -0
  544. package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/index.js +4 -0
  545. package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.d.ts +15 -0
  546. package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.js +36 -0
  547. package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/requests/index.d.ts +1 -0
  548. package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/requests/index.js +5 -0
  549. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +15 -0
  550. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.js +36 -0
  551. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.d.ts +16 -0
  552. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.js +37 -0
  553. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.d.ts +13 -0
  554. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.js +34 -0
  555. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.d.ts +12 -0
  556. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.js +33 -0
  557. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckMetadata.d.ts +19 -0
  558. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckMetadata.js +40 -0
  559. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckStatus.d.ts +10 -0
  560. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckStatus.js +31 -0
  561. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +1 -1
  562. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +0 -1
  563. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.d.ts +4 -0
  564. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.js +4 -0
  565. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverage.d.ts +14 -0
  566. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverage.js +35 -0
  567. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.d.ts +17 -0
  568. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.js +38 -0
  569. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverage.d.ts +16 -0
  570. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverage.js +37 -0
  571. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverageDetails.d.ts +17 -0
  572. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverageDetails.js +38 -0
  573. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceTypeCode.d.ts +10 -0
  574. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceTypeCode.js +219 -0
  575. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +11 -0
  576. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +11 -0
  577. package/serialization/resources/preEncounter/resources/index.d.ts +1 -0
  578. package/serialization/resources/preEncounter/resources/index.js +2 -1
  579. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +1 -0
  580. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.js +1 -0
  581. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientPage.d.ts +14 -0
  582. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientPage.js +37 -0
  583. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.d.ts +10 -0
  584. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.js +35 -0
  585. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +2 -0
  586. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +2 -0
  587. package/serialization/resources/serviceLines/resources/v2/client/delete.d.ts +20 -0
  588. package/serialization/resources/serviceLines/resources/v2/client/delete.js +67 -0
  589. package/serialization/resources/serviceLines/resources/v2/client/index.d.ts +1 -0
  590. package/serialization/resources/serviceLines/resources/v2/client/index.js +2 -1
  591. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +6 -0
  592. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +6 -0
  593. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineEraData.d.ts +14 -0
  594. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineEraData.js +35 -0
  595. package/serialization/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
  596. package/serialization/resources/serviceLines/resources/v2/types/index.js +1 -0
  597. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequest.d.ts +0 -12
  598. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequest.d.ts +0 -12
  599. /package/api/resources/{preEncounter/resources/coverages/resources/v1/client/requests/GetAllCoveragesRequest.js → invoices/types/Invoice.js} +0 -0
  600. /package/api/resources/{preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequest.js → invoices/types/InvoiceItem.js} +0 -0
  601. /package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/GetAllCoveragesRequest.js → api/resources/preEncounter/resources/appointments/resources/v1/client/requests/AppointmentsSearchRequest.js} +0 -0
  602. /package/{dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequest.js → api/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.js} +0 -0
@@ -104,7 +104,7 @@ class V1 {
104
104
  Authorization: yield this._getAuthorizationHeader(),
105
105
  "X-Fern-Language": "JavaScript",
106
106
  "X-Fern-SDK-Name": "candidhealth",
107
- "X-Fern-SDK-Version": "0.26.1",
107
+ "X-Fern-SDK-Version": "0.28.0",
108
108
  "X-Fern-Runtime": core.RUNTIME.type,
109
109
  "X-Fern-Runtime-Version": core.RUNTIME.version,
110
110
  },
@@ -168,7 +168,7 @@ class V1 {
168
168
  Authorization: yield this._getAuthorizationHeader(),
169
169
  "X-Fern-Language": "JavaScript",
170
170
  "X-Fern-SDK-Name": "candidhealth",
171
- "X-Fern-SDK-Version": "0.26.1",
171
+ "X-Fern-SDK-Version": "0.28.0",
172
172
  "X-Fern-Runtime": core.RUNTIME.type,
173
173
  "X-Fern-Runtime-Version": core.RUNTIME.version,
174
174
  },
@@ -241,7 +241,7 @@ class V1 {
241
241
  Authorization: yield this._getAuthorizationHeader(),
242
242
  "X-Fern-Language": "JavaScript",
243
243
  "X-Fern-SDK-Name": "candidhealth",
244
- "X-Fern-SDK-Version": "0.26.1",
244
+ "X-Fern-SDK-Version": "0.28.0",
245
245
  "X-Fern-Runtime": core.RUNTIME.type,
246
246
  "X-Fern-Runtime-Version": core.RUNTIME.version,
247
247
  },
@@ -319,7 +319,7 @@ class V1 {
319
319
  Authorization: yield this._getAuthorizationHeader(),
320
320
  "X-Fern-Language": "JavaScript",
321
321
  "X-Fern-SDK-Name": "candidhealth",
322
- "X-Fern-SDK-Version": "0.26.1",
322
+ "X-Fern-SDK-Version": "0.28.0",
323
323
  "X-Fern-Runtime": core.RUNTIME.type,
324
324
  "X-Fern-Runtime-Version": core.RUNTIME.version,
325
325
  },
@@ -387,7 +387,7 @@ class V1 {
387
387
  Authorization: yield this._getAuthorizationHeader(),
388
388
  "X-Fern-Language": "JavaScript",
389
389
  "X-Fern-SDK-Name": "candidhealth",
390
- "X-Fern-SDK-Version": "0.26.1",
390
+ "X-Fern-SDK-Version": "0.28.0",
391
391
  "X-Fern-Runtime": core.RUNTIME.type,
392
392
  "X-Fern-Runtime-Version": core.RUNTIME.version,
393
393
  },
@@ -1 +1,2 @@
1
1
  export * from "./resources";
2
+ export * from "./types";
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./resources"), exports);
18
+ __exportStar(require("./types"), exports);
@@ -0,0 +1,19 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../index";
5
+ export interface Invoice {
6
+ id: CandidApi.InvoiceId;
7
+ createdAt: Date;
8
+ updatedAt: Date;
9
+ organzationId: CandidApi.OrganizationId;
10
+ sourceId: string;
11
+ sourceCustomerId: string;
12
+ patientExternalId: CandidApi.PatientExternalId;
13
+ note?: string;
14
+ dueDate: CandidApi.Date_;
15
+ status: CandidApi.InvoiceStatus;
16
+ url?: string;
17
+ customerInvoiceUrl?: string;
18
+ items: CandidApi.InvoiceItem[];
19
+ }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../index";
5
+ export interface InvoiceItem {
6
+ serviceLineId: CandidApi.ServiceLineId;
7
+ amountCents: number;
8
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type InvoiceStatus = "draft" | "open" | "paid" | "void" | "uncollectible" | "held";
5
+ export declare const InvoiceStatus: {
6
+ readonly Draft: "draft";
7
+ readonly Open: "open";
8
+ readonly Paid: "paid";
9
+ readonly Void: "void";
10
+ readonly Uncollectible: "uncollectible";
11
+ readonly Held: "held";
12
+ };
@@ -0,0 +1,14 @@
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.InvoiceStatus = void 0;
7
+ exports.InvoiceStatus = {
8
+ Draft: "draft",
9
+ Open: "open",
10
+ Paid: "paid",
11
+ Void: "void",
12
+ Uncollectible: "uncollectible",
13
+ Held: "held",
14
+ };
@@ -0,0 +1,3 @@
1
+ export * from "./Invoice";
2
+ export * from "./InvoiceItem";
3
+ export * from "./InvoiceStatus";
@@ -0,0 +1,19 @@
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("./Invoice"), exports);
18
+ __exportStar(require("./InvoiceItem"), exports);
19
+ __exportStar(require("./InvoiceStatus"), exports);
@@ -66,7 +66,7 @@ class V3 {
66
66
  Authorization: yield this._getAuthorizationHeader(),
67
67
  "X-Fern-Language": "JavaScript",
68
68
  "X-Fern-SDK-Name": "candidhealth",
69
- "X-Fern-SDK-Version": "0.26.1",
69
+ "X-Fern-SDK-Version": "0.28.0",
70
70
  "X-Fern-Runtime": core.RUNTIME.type,
71
71
  "X-Fern-Runtime-Version": core.RUNTIME.version,
72
72
  },
@@ -156,7 +156,7 @@ class V3 {
156
156
  Authorization: yield this._getAuthorizationHeader(),
157
157
  "X-Fern-Language": "JavaScript",
158
158
  "X-Fern-SDK-Name": "candidhealth",
159
- "X-Fern-SDK-Version": "0.26.1",
159
+ "X-Fern-SDK-Version": "0.28.0",
160
160
  "X-Fern-Runtime": core.RUNTIME.type,
161
161
  "X-Fern-Runtime-Version": core.RUNTIME.version,
162
162
  },
@@ -227,7 +227,7 @@ class V3 {
227
227
  Authorization: yield this._getAuthorizationHeader(),
228
228
  "X-Fern-Language": "JavaScript",
229
229
  "X-Fern-SDK-Name": "candidhealth",
230
- "X-Fern-SDK-Version": "0.26.1",
230
+ "X-Fern-SDK-Version": "0.28.0",
231
231
  "X-Fern-Runtime": core.RUNTIME.type,
232
232
  "X-Fern-Runtime-Version": core.RUNTIME.version,
233
233
  },
@@ -318,7 +318,7 @@ class V3 {
318
318
  Authorization: yield this._getAuthorizationHeader(),
319
319
  "X-Fern-Language": "JavaScript",
320
320
  "X-Fern-SDK-Name": "candidhealth",
321
- "X-Fern-SDK-Version": "0.26.1",
321
+ "X-Fern-SDK-Version": "0.28.0",
322
322
  "X-Fern-Runtime": core.RUNTIME.type,
323
323
  "X-Fern-Runtime-Version": core.RUNTIME.version,
324
324
  },
@@ -66,7 +66,7 @@ class V2 {
66
66
  Authorization: yield this._getAuthorizationHeader(),
67
67
  "X-Fern-Language": "JavaScript",
68
68
  "X-Fern-SDK-Name": "candidhealth",
69
- "X-Fern-SDK-Version": "0.26.1",
69
+ "X-Fern-SDK-Version": "0.28.0",
70
70
  "X-Fern-Runtime": core.RUNTIME.type,
71
71
  "X-Fern-Runtime-Version": core.RUNTIME.version,
72
72
  },
@@ -140,7 +140,7 @@ class V2 {
140
140
  Authorization: yield this._getAuthorizationHeader(),
141
141
  "X-Fern-Language": "JavaScript",
142
142
  "X-Fern-SDK-Name": "candidhealth",
143
- "X-Fern-SDK-Version": "0.26.1",
143
+ "X-Fern-SDK-Version": "0.28.0",
144
144
  "X-Fern-Runtime": core.RUNTIME.type,
145
145
  "X-Fern-Runtime-Version": core.RUNTIME.version,
146
146
  },
@@ -204,7 +204,7 @@ class V2 {
204
204
  Authorization: yield this._getAuthorizationHeader(),
205
205
  "X-Fern-Language": "JavaScript",
206
206
  "X-Fern-SDK-Name": "candidhealth",
207
- "X-Fern-SDK-Version": "0.26.1",
207
+ "X-Fern-SDK-Version": "0.28.0",
208
208
  "X-Fern-Runtime": core.RUNTIME.type,
209
209
  "X-Fern-Runtime-Version": core.RUNTIME.version,
210
210
  },
@@ -285,7 +285,7 @@ class V2 {
285
285
  Authorization: yield this._getAuthorizationHeader(),
286
286
  "X-Fern-Language": "JavaScript",
287
287
  "X-Fern-SDK-Name": "candidhealth",
288
- "X-Fern-SDK-Version": "0.26.1",
288
+ "X-Fern-SDK-Version": "0.28.0",
289
289
  "X-Fern-Runtime": core.RUNTIME.type,
290
290
  "X-Fern-Runtime-Version": core.RUNTIME.version,
291
291
  },
@@ -348,7 +348,7 @@ class V2 {
348
348
  Authorization: yield this._getAuthorizationHeader(),
349
349
  "X-Fern-Language": "JavaScript",
350
350
  "X-Fern-SDK-Name": "candidhealth",
351
- "X-Fern-SDK-Version": "0.26.1",
351
+ "X-Fern-SDK-Version": "0.28.0",
352
352
  "X-Fern-Runtime": core.RUNTIME.type,
353
353
  "X-Fern-Runtime-Version": core.RUNTIME.version,
354
354
  },
@@ -121,7 +121,7 @@ class V4 {
121
121
  Authorization: yield this._getAuthorizationHeader(),
122
122
  "X-Fern-Language": "JavaScript",
123
123
  "X-Fern-SDK-Name": "candidhealth",
124
- "X-Fern-SDK-Version": "0.26.1",
124
+ "X-Fern-SDK-Version": "0.28.0",
125
125
  "X-Fern-Runtime": core.RUNTIME.type,
126
126
  "X-Fern-Runtime-Version": core.RUNTIME.version,
127
127
  },
@@ -184,7 +184,7 @@ class V4 {
184
184
  Authorization: yield this._getAuthorizationHeader(),
185
185
  "X-Fern-Language": "JavaScript",
186
186
  "X-Fern-SDK-Name": "candidhealth",
187
- "X-Fern-SDK-Version": "0.26.1",
187
+ "X-Fern-SDK-Version": "0.28.0",
188
188
  "X-Fern-Runtime": core.RUNTIME.type,
189
189
  "X-Fern-Runtime-Version": core.RUNTIME.version,
190
190
  },
@@ -261,7 +261,7 @@ class V4 {
261
261
  Authorization: yield this._getAuthorizationHeader(),
262
262
  "X-Fern-Language": "JavaScript",
263
263
  "X-Fern-SDK-Name": "candidhealth",
264
- "X-Fern-SDK-Version": "0.26.1",
264
+ "X-Fern-SDK-Version": "0.28.0",
265
265
  "X-Fern-Runtime": core.RUNTIME.type,
266
266
  "X-Fern-Runtime-Version": core.RUNTIME.version,
267
267
  },
@@ -338,7 +338,7 @@ class V4 {
338
338
  Authorization: yield this._getAuthorizationHeader(),
339
339
  "X-Fern-Language": "JavaScript",
340
340
  "X-Fern-SDK-Name": "candidhealth",
341
- "X-Fern-SDK-Version": "0.26.1",
341
+ "X-Fern-SDK-Version": "0.28.0",
342
342
  "X-Fern-Runtime": core.RUNTIME.type,
343
343
  "X-Fern-Runtime-Version": core.RUNTIME.version,
344
344
  },
@@ -404,7 +404,7 @@ class V4 {
404
404
  Authorization: yield this._getAuthorizationHeader(),
405
405
  "X-Fern-Language": "JavaScript",
406
406
  "X-Fern-SDK-Name": "candidhealth",
407
- "X-Fern-SDK-Version": "0.26.1",
407
+ "X-Fern-SDK-Version": "0.28.0",
408
408
  "X-Fern-Runtime": core.RUNTIME.type,
409
409
  "X-Fern-Runtime-Version": core.RUNTIME.version,
410
410
  },
@@ -121,7 +121,7 @@ class V1 {
121
121
  Authorization: yield this._getAuthorizationHeader(),
122
122
  "X-Fern-Language": "JavaScript",
123
123
  "X-Fern-SDK-Name": "candidhealth",
124
- "X-Fern-SDK-Version": "0.26.1",
124
+ "X-Fern-SDK-Version": "0.28.0",
125
125
  "X-Fern-Runtime": core.RUNTIME.type,
126
126
  "X-Fern-Runtime-Version": core.RUNTIME.version,
127
127
  },
@@ -184,7 +184,7 @@ class V1 {
184
184
  Authorization: yield this._getAuthorizationHeader(),
185
185
  "X-Fern-Language": "JavaScript",
186
186
  "X-Fern-SDK-Name": "candidhealth",
187
- "X-Fern-SDK-Version": "0.26.1",
187
+ "X-Fern-SDK-Version": "0.28.0",
188
188
  "X-Fern-Runtime": core.RUNTIME.type,
189
189
  "X-Fern-Runtime-Version": core.RUNTIME.version,
190
190
  },
@@ -262,7 +262,7 @@ class V1 {
262
262
  Authorization: yield this._getAuthorizationHeader(),
263
263
  "X-Fern-Language": "JavaScript",
264
264
  "X-Fern-SDK-Name": "candidhealth",
265
- "X-Fern-SDK-Version": "0.26.1",
265
+ "X-Fern-SDK-Version": "0.28.0",
266
266
  "X-Fern-Runtime": core.RUNTIME.type,
267
267
  "X-Fern-Runtime-Version": core.RUNTIME.version,
268
268
  },
@@ -343,7 +343,7 @@ class V1 {
343
343
  Authorization: yield this._getAuthorizationHeader(),
344
344
  "X-Fern-Language": "JavaScript",
345
345
  "X-Fern-SDK-Name": "candidhealth",
346
- "X-Fern-SDK-Version": "0.26.1",
346
+ "X-Fern-SDK-Version": "0.28.0",
347
347
  "X-Fern-Runtime": core.RUNTIME.type,
348
348
  "X-Fern-Runtime-Version": core.RUNTIME.version,
349
349
  },
@@ -409,7 +409,7 @@ class V1 {
409
409
  Authorization: yield this._getAuthorizationHeader(),
410
410
  "X-Fern-Language": "JavaScript",
411
411
  "X-Fern-SDK-Name": "candidhealth",
412
- "X-Fern-SDK-Version": "0.26.1",
412
+ "X-Fern-SDK-Version": "0.28.0",
413
413
  "X-Fern-Runtime": core.RUNTIME.type,
414
414
  "X-Fern-Runtime-Version": core.RUNTIME.version,
415
415
  },
@@ -66,7 +66,7 @@ class V3 {
66
66
  Authorization: yield this._getAuthorizationHeader(),
67
67
  "X-Fern-Language": "JavaScript",
68
68
  "X-Fern-SDK-Name": "candidhealth",
69
- "X-Fern-SDK-Version": "0.26.1",
69
+ "X-Fern-SDK-Version": "0.28.0",
70
70
  "X-Fern-Runtime": core.RUNTIME.type,
71
71
  "X-Fern-Runtime-Version": core.RUNTIME.version,
72
72
  },
@@ -126,7 +126,7 @@ class V3 {
126
126
  Authorization: yield this._getAuthorizationHeader(),
127
127
  "X-Fern-Language": "JavaScript",
128
128
  "X-Fern-SDK-Name": "candidhealth",
129
- "X-Fern-SDK-Version": "0.26.1",
129
+ "X-Fern-SDK-Version": "0.28.0",
130
130
  "X-Fern-Runtime": core.RUNTIME.type,
131
131
  "X-Fern-Runtime-Version": core.RUNTIME.version,
132
132
  },
@@ -3,6 +3,7 @@
3
3
  */
4
4
  import * as environments from "../../../../environments";
5
5
  import * as core from "../../../../core";
6
+ import { Appointments } from "../resources/appointments/client/Client";
6
7
  import { Coverages } from "../resources/coverages/client/Client";
7
8
  import { Patients } from "../resources/patients/client/Client";
8
9
  export declare namespace PreEncounter {
@@ -22,6 +23,8 @@ export declare namespace PreEncounter {
22
23
  export declare class PreEncounter {
23
24
  protected readonly _options: PreEncounter.Options;
24
25
  constructor(_options?: PreEncounter.Options);
26
+ protected _appointments: Appointments | undefined;
27
+ get appointments(): Appointments;
25
28
  protected _coverages: Coverages | undefined;
26
29
  get coverages(): Coverages;
27
30
  protected _patients: Patients | undefined;
@@ -4,19 +4,24 @@
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.PreEncounter = void 0;
7
- const Client_1 = require("../resources/coverages/client/Client");
8
- const Client_2 = require("../resources/patients/client/Client");
7
+ const Client_1 = require("../resources/appointments/client/Client");
8
+ const Client_2 = require("../resources/coverages/client/Client");
9
+ const Client_3 = require("../resources/patients/client/Client");
9
10
  class PreEncounter {
10
11
  constructor(_options = {}) {
11
12
  this._options = _options;
12
13
  }
14
+ get appointments() {
15
+ var _a;
16
+ return ((_a = this._appointments) !== null && _a !== void 0 ? _a : (this._appointments = new Client_1.Appointments(this._options)));
17
+ }
13
18
  get coverages() {
14
19
  var _a;
15
- return ((_a = this._coverages) !== null && _a !== void 0 ? _a : (this._coverages = new Client_1.Coverages(this._options)));
20
+ return ((_a = this._coverages) !== null && _a !== void 0 ? _a : (this._coverages = new Client_2.Coverages(this._options)));
16
21
  }
17
22
  get patients() {
18
23
  var _a;
19
- return ((_a = this._patients) !== null && _a !== void 0 ? _a : (this._patients = new Client_2.Patients(this._options)));
24
+ return ((_a = this._patients) !== null && _a !== void 0 ? _a : (this._patients = new Client_3.Patients(this._options)));
20
25
  }
21
26
  }
22
27
  exports.PreEncounter = PreEncounter;
@@ -0,0 +1,26 @@
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 Appointments {
8
+ interface Options {
9
+ environment?: core.Supplier<environments.CandidApiEnvironment | environments.CandidApiEnvironmentUrls>;
10
+ token?: core.Supplier<core.BearerToken | undefined>;
11
+ }
12
+ interface RequestOptions {
13
+ /** The maximum time to wait for a response in seconds. */
14
+ timeoutInSeconds?: number;
15
+ /** The number of times to retry the request. Defaults to 2. */
16
+ maxRetries?: number;
17
+ /** A hook to abort the request. */
18
+ abortSignal?: AbortSignal;
19
+ }
20
+ }
21
+ export declare class Appointments {
22
+ protected readonly _options: Appointments.Options;
23
+ constructor(_options?: Appointments.Options);
24
+ protected _v1: V1 | undefined;
25
+ get v1(): V1;
26
+ }
@@ -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.Appointments = void 0;
7
+ const Client_1 = require("../resources/v1/client/Client");
8
+ class Appointments {
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.Appointments = Appointments;
@@ -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";
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.v1 = void 0;
27
+ exports.v1 = __importStar(require("./v1"));
@@ -0,0 +1,132 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as environments from "../../../../../../../../environments";
5
+ import * as core from "../../../../../../../../core";
6
+ import * as CandidApi from "../../../../../../../index";
7
+ export declare namespace V1 {
8
+ interface Options {
9
+ environment?: core.Supplier<environments.CandidApiEnvironment | environments.CandidApiEnvironmentUrls>;
10
+ token?: core.Supplier<core.BearerToken | undefined>;
11
+ }
12
+ interface RequestOptions {
13
+ /** The maximum time to wait for a response in seconds. */
14
+ timeoutInSeconds?: number;
15
+ /** The number of times to retry the request. Defaults to 2. */
16
+ maxRetries?: number;
17
+ /** A hook to abort the request. */
18
+ abortSignal?: AbortSignal;
19
+ }
20
+ }
21
+ export declare class V1 {
22
+ protected readonly _options: V1.Options;
23
+ constructor(_options?: V1.Options);
24
+ /**
25
+ * Adds an appointment. VersionConflictError is returned when the placer_appointment_id is already in use.
26
+ *
27
+ * @param {CandidApi.preEncounter.appointments.v1.MutableAppointment} request
28
+ * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
29
+ *
30
+ * @example
31
+ * await client.preEncounter.appointments.v1.create({
32
+ * patientId: CandidApi.preEncounter.patients.v1.PatientId("string"),
33
+ * checkedIn: true,
34
+ * assignedPatientLocation: "string",
35
+ * attendingDoctor: {},
36
+ * referringDoctor: {},
37
+ * startTimestamp: new Date("2024-01-15T09:30:00.000Z"),
38
+ * serviceDuration: 1,
39
+ * services: [{
40
+ * universalServiceIdentifier: CandidApi.preEncounter.appointments.v1.UniversalServiceIdentifier.MdVisit,
41
+ * startTimestamp: new Date("2024-01-15T09:30:00.000Z")
42
+ * }],
43
+ * placerAppointmentId: "string",
44
+ * appointmentReason: CandidApi.preEncounter.appointments.v1.AppointmentReason.Checkup,
45
+ * appointmentType: CandidApi.preEncounter.appointments.v1.AppointmentType.Complete,
46
+ * locationResourceId: "string",
47
+ * workQueue: CandidApi.preEncounter.appointments.v1.AppointmentWorkQueue.EmergentIssue
48
+ * })
49
+ */
50
+ create(request: CandidApi.preEncounter.appointments.v1.MutableAppointment, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.appointments.v1.Appointment, CandidApi.preEncounter.appointments.v1.create.Error>>;
51
+ /**
52
+ * Gets an appointment.
53
+ *
54
+ * @param {CandidApi.preEncounter.appointments.v1.AppointmentId} id
55
+ * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
56
+ *
57
+ * @example
58
+ * await client.preEncounter.appointments.v1.get(CandidApi.preEncounter.appointments.v1.AppointmentId("string"))
59
+ */
60
+ get(id: CandidApi.preEncounter.appointments.v1.AppointmentId, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.appointments.v1.Appointment, CandidApi.preEncounter.appointments.v1.get.Error>>;
61
+ /**
62
+ * Gets an appointment along with it's full history. The return list is ordered by version ascending.
63
+ *
64
+ * @param {CandidApi.preEncounter.appointments.v1.AppointmentId} id
65
+ * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
66
+ *
67
+ * @example
68
+ * await client.preEncounter.appointments.v1.getHistory(CandidApi.preEncounter.appointments.v1.AppointmentId("string"))
69
+ */
70
+ getHistory(id: CandidApi.preEncounter.appointments.v1.AppointmentId, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.appointments.v1.Appointment[], CandidApi.preEncounter.appointments.v1.getHistory.Error>>;
71
+ /**
72
+ * Updates an appointment. The path must contain the most recent version to prevent race conditions. Updating historic versions is not supported.
73
+ *
74
+ * @param {CandidApi.preEncounter.appointments.v1.AppointmentId} id
75
+ * @param {string} version
76
+ * @param {CandidApi.preEncounter.appointments.v1.MutableAppointment} request
77
+ * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
78
+ *
79
+ * @example
80
+ * await client.preEncounter.appointments.v1.update(CandidApi.preEncounter.appointments.v1.AppointmentId("string"), "string", {
81
+ * patientId: CandidApi.preEncounter.patients.v1.PatientId("string"),
82
+ * checkedIn: true,
83
+ * assignedPatientLocation: "string",
84
+ * attendingDoctor: {},
85
+ * referringDoctor: {},
86
+ * startTimestamp: new Date("2024-01-15T09:30:00.000Z"),
87
+ * serviceDuration: 1,
88
+ * services: [{
89
+ * universalServiceIdentifier: CandidApi.preEncounter.appointments.v1.UniversalServiceIdentifier.MdVisit,
90
+ * startTimestamp: new Date("2024-01-15T09:30:00.000Z")
91
+ * }],
92
+ * placerAppointmentId: "string",
93
+ * appointmentReason: CandidApi.preEncounter.appointments.v1.AppointmentReason.Checkup,
94
+ * appointmentType: CandidApi.preEncounter.appointments.v1.AppointmentType.Complete,
95
+ * locationResourceId: "string",
96
+ * workQueue: CandidApi.preEncounter.appointments.v1.AppointmentWorkQueue.EmergentIssue
97
+ * })
98
+ */
99
+ update(id: CandidApi.preEncounter.appointments.v1.AppointmentId, version: string, request: CandidApi.preEncounter.appointments.v1.MutableAppointment, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.appointments.v1.Appointment, CandidApi.preEncounter.appointments.v1.update.Error>>;
100
+ /**
101
+ * Sets an appointment as deactivated. The path must contain the most recent version to prevent race conditions. Deactivating historic versions is not supported. Subsequent updates via PUT to the appointment will "reactivate" the appointment and set the deactivated flag to false.
102
+ *
103
+ * @param {CandidApi.preEncounter.appointments.v1.AppointmentId} id
104
+ * @param {string} version
105
+ * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
106
+ *
107
+ * @example
108
+ * await client.preEncounter.appointments.v1.deactivate(CandidApi.preEncounter.appointments.v1.AppointmentId("string"), "string")
109
+ */
110
+ deactivate(id: CandidApi.preEncounter.appointments.v1.AppointmentId, version: string, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<void, CandidApi.preEncounter.appointments.v1.deactivate.Error>>;
111
+ /**
112
+ * Searches for appointments that match the query parameters.
113
+ *
114
+ * @param {CandidApi.preEncounter.appointments.v1.AppointmentsSearchRequest} request
115
+ * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
116
+ *
117
+ * @example
118
+ * await client.preEncounter.appointments.v1.getMulti({
119
+ * checkedIn: true,
120
+ * patientId: CandidApi.preEncounter.patients.v1.PatientId("string"),
121
+ * minStartTimestamp: new Date("2024-01-15T09:30:00.000Z"),
122
+ * maxStartTimestamp: new Date("2024-01-15T09:30:00.000Z"),
123
+ * placerAppointmentId: "string",
124
+ * workQueue: CandidApi.preEncounter.appointments.v1.AppointmentWorkQueue.EmergentIssue,
125
+ * sortField: CandidApi.preEncounter.appointments.v1.AppointmentSortField.StartTimestamp,
126
+ * sortDirection: CandidApi.preEncounter.SortDirection.Asc,
127
+ * limit: 1
128
+ * })
129
+ */
130
+ getMulti(request?: CandidApi.preEncounter.appointments.v1.AppointmentsSearchRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.appointments.v1.Appointment[], CandidApi.preEncounter.appointments.v1.getMulti.Error>>;
131
+ protected _getAuthorizationHeader(): Promise<string | undefined>;
132
+ }