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
@@ -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 { UniversalServiceIdentifier } from "./UniversalServiceIdentifier";
8
+ export declare const Service: core.serialization.ObjectSchema<serializers.preEncounter.appointments.v1.Service.Raw, CandidApi.preEncounter.appointments.v1.Service>;
9
+ export declare namespace Service {
10
+ interface Raw {
11
+ universal_service_identifier?: UniversalServiceIdentifier.Raw | null;
12
+ start_timestamp?: string | null;
13
+ }
14
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.Service = void 0;
30
+ const core = __importStar(require("../../../../../../../../core"));
31
+ const UniversalServiceIdentifier_1 = require("./UniversalServiceIdentifier");
32
+ exports.Service = core.serialization.object({
33
+ universalServiceIdentifier: core.serialization.property("universal_service_identifier", UniversalServiceIdentifier_1.UniversalServiceIdentifier.optional()),
34
+ startTimestamp: core.serialization.property("start_timestamp", core.serialization.date().optional()),
35
+ });
@@ -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 UniversalServiceIdentifier: core.serialization.Schema<serializers.preEncounter.appointments.v1.UniversalServiceIdentifier.Raw, CandidApi.preEncounter.appointments.v1.UniversalServiceIdentifier>;
8
+ export declare namespace UniversalServiceIdentifier {
9
+ type Raw = "MD_Visit" | "Treatment" | "Tests" | "Activity";
10
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.UniversalServiceIdentifier = void 0;
30
+ const core = __importStar(require("../../../../../../../../core"));
31
+ exports.UniversalServiceIdentifier = core.serialization.enum_(["MD_Visit", "Treatment", "Tests", "Activity"]);
@@ -0,0 +1,9 @@
1
+ export * from "./AppointmentId";
2
+ export * from "./AppointmentWorkQueue";
3
+ export * from "./AppointmentSortField";
4
+ export * from "./UniversalServiceIdentifier";
5
+ export * from "./AppointmentReason";
6
+ export * from "./AppointmentType";
7
+ export * from "./Service";
8
+ export * from "./MutableAppointment";
9
+ export * from "./Appointment";
@@ -0,0 +1,25 @@
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("./AppointmentId"), exports);
18
+ __exportStar(require("./AppointmentWorkQueue"), exports);
19
+ __exportStar(require("./AppointmentSortField"), exports);
20
+ __exportStar(require("./UniversalServiceIdentifier"), exports);
21
+ __exportStar(require("./AppointmentReason"), exports);
22
+ __exportStar(require("./AppointmentType"), exports);
23
+ __exportStar(require("./Service"), exports);
24
+ __exportStar(require("./MutableAppointment"), exports);
25
+ __exportStar(require("./Appointment"), exports);
@@ -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 CanonicalProviderId: core.serialization.Schema<serializers.preEncounter.CanonicalProviderId.Raw, CandidApi.preEncounter.CanonicalProviderId>;
8
+ export declare namespace CanonicalProviderId {
9
+ type Raw = string;
10
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.CanonicalProviderId = void 0;
30
+ const CandidApi = __importStar(require("../../../../../../api/index"));
31
+ const core = __importStar(require("../../../../../../core"));
32
+ exports.CanonicalProviderId = core.serialization.string().transform({
33
+ transform: CandidApi.preEncounter.CanonicalProviderId,
34
+ untransform: (value) => value,
35
+ });
@@ -9,6 +9,7 @@ import { ExternalProviderType } from "./ExternalProviderType";
9
9
  import { ContactPoint } from "./ContactPoint";
10
10
  import { Address } from "./Address";
11
11
  import { Period } from "./Period";
12
+ import { CanonicalProviderId } from "./CanonicalProviderId";
12
13
  export declare const ExternalProvider: core.serialization.ObjectSchema<serializers.preEncounter.ExternalProvider.Raw, CandidApi.preEncounter.ExternalProvider>;
13
14
  export declare namespace ExternalProvider {
14
15
  interface Raw {
@@ -18,5 +19,6 @@ export declare namespace ExternalProvider {
18
19
  telecoms: ContactPoint.Raw[];
19
20
  addresses: Address.Raw[];
20
21
  period?: Period.Raw | null;
22
+ canonical_id?: CanonicalProviderId.Raw | null;
21
23
  }
22
24
  }
@@ -33,6 +33,7 @@ const ExternalProviderType_1 = require("./ExternalProviderType");
33
33
  const ContactPoint_1 = require("./ContactPoint");
34
34
  const Address_1 = require("./Address");
35
35
  const Period_1 = require("./Period");
36
+ const CanonicalProviderId_1 = require("./CanonicalProviderId");
36
37
  exports.ExternalProvider = core.serialization.object({
37
38
  name: HumanName_1.HumanName,
38
39
  type: ExternalProviderType_1.ExternalProviderType.optional(),
@@ -40,4 +41,5 @@ exports.ExternalProvider = core.serialization.object({
40
41
  telecoms: core.serialization.list(ContactPoint_1.ContactPoint),
41
42
  addresses: core.serialization.list(Address_1.Address),
42
43
  period: Period_1.Period.optional(),
44
+ canonicalId: core.serialization.property("canonical_id", CanonicalProviderId_1.CanonicalProviderId.optional()),
43
45
  });
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
7
  export declare const ExternalProviderType: core.serialization.Schema<serializers.preEncounter.ExternalProviderType.Raw, CandidApi.preEncounter.ExternalProviderType>;
8
8
  export declare namespace ExternalProviderType {
9
- type Raw = "PRIMARY" | "REFERRING";
9
+ type Raw = "PRIMARY" | "REFERRING" | "ATTENDING";
10
10
  }
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.ExternalProviderType = void 0;
30
30
  const core = __importStar(require("../../../../../../core"));
31
- exports.ExternalProviderType = core.serialization.enum_(["PRIMARY", "REFERRING"]);
31
+ exports.ExternalProviderType = core.serialization.enum_(["PRIMARY", "REFERRING", "ATTENDING"]);
@@ -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 PageToken: core.serialization.Schema<serializers.preEncounter.PageToken.Raw, CandidApi.preEncounter.PageToken>;
8
+ export declare namespace PageToken {
9
+ type Raw = string;
10
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.PageToken = void 0;
30
+ const CandidApi = __importStar(require("../../../../../../api/index"));
31
+ const core = __importStar(require("../../../../../../core"));
32
+ exports.PageToken = core.serialization.string().transform({
33
+ transform: CandidApi.preEncounter.PageToken,
34
+ untransform: (value) => value,
35
+ });
@@ -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 { PageToken } from "./PageToken";
8
+ export declare const ResourcePage: core.serialization.ObjectSchema<serializers.preEncounter.ResourcePage.Raw, CandidApi.preEncounter.ResourcePage>;
9
+ export declare namespace ResourcePage {
10
+ interface Raw {
11
+ next_page_token?: PageToken.Raw | null;
12
+ prev_page_token?: PageToken.Raw | null;
13
+ }
14
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.ResourcePage = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ const PageToken_1 = require("./PageToken");
32
+ exports.ResourcePage = core.serialization.object({
33
+ nextPageToken: core.serialization.property("next_page_token", PageToken_1.PageToken.optional()),
34
+ prevPageToken: core.serialization.property("prev_page_token", PageToken_1.PageToken.optional()),
35
+ });
@@ -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 SortDirection: core.serialization.Schema<serializers.preEncounter.SortDirection.Raw, CandidApi.preEncounter.SortDirection>;
8
+ export declare namespace SortDirection {
9
+ type Raw = "asc" | "desc";
10
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.SortDirection = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.SortDirection = core.serialization.enum_(["asc", "desc"]);
@@ -1,6 +1,7 @@
1
1
  export * from "./OrganizationId";
2
2
  export * from "./UserId";
3
3
  export * from "./PayerId";
4
+ export * from "./CanonicalProviderId";
4
5
  export * from "./Relationship";
5
6
  export * from "./Gender";
6
7
  export * from "./Sex";
@@ -15,8 +16,11 @@ export * from "./Address";
15
16
  export * from "./Period";
16
17
  export * from "./ContactPointUse";
17
18
  export * from "./ContactPoint";
19
+ export * from "./PageToken";
20
+ export * from "./ResourcePage";
18
21
  export * from "./ErrorBase";
19
22
  export * from "./NotFoundErrorBody";
20
23
  export * from "./VersionConflictErrorBody";
21
24
  export * from "./ExternalProviderType";
22
25
  export * from "./ExternalProvider";
26
+ export * from "./SortDirection";
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./OrganizationId"), exports);
18
18
  __exportStar(require("./UserId"), exports);
19
19
  __exportStar(require("./PayerId"), exports);
20
+ __exportStar(require("./CanonicalProviderId"), exports);
20
21
  __exportStar(require("./Relationship"), exports);
21
22
  __exportStar(require("./Gender"), exports);
22
23
  __exportStar(require("./Sex"), exports);
@@ -31,8 +32,11 @@ __exportStar(require("./Address"), exports);
31
32
  __exportStar(require("./Period"), exports);
32
33
  __exportStar(require("./ContactPointUse"), exports);
33
34
  __exportStar(require("./ContactPoint"), exports);
35
+ __exportStar(require("./PageToken"), exports);
36
+ __exportStar(require("./ResourcePage"), exports);
34
37
  __exportStar(require("./ErrorBase"), exports);
35
38
  __exportStar(require("./NotFoundErrorBody"), exports);
36
39
  __exportStar(require("./VersionConflictErrorBody"), exports);
37
40
  __exportStar(require("./ExternalProviderType"), exports);
38
41
  __exportStar(require("./ExternalProvider"), exports);
42
+ __exportStar(require("./SortDirection"), exports);
@@ -2,3 +2,4 @@ export * as update from "./update";
2
2
  export * as getHistory from "./getHistory";
3
3
  export * as getMulti from "./getMulti";
4
4
  export * as scan from "./scan";
5
+ export * from "./requests";
@@ -22,9 +22,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
22
22
  __setModuleDefault(result, mod);
23
23
  return result;
24
24
  };
25
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
+ };
25
28
  Object.defineProperty(exports, "__esModule", { value: true });
26
29
  exports.scan = exports.getMulti = exports.getHistory = exports.update = void 0;
27
30
  exports.update = __importStar(require("./update"));
28
31
  exports.getHistory = __importStar(require("./getHistory"));
29
32
  exports.getMulti = __importStar(require("./getMulti"));
30
33
  exports.scan = __importStar(require("./scan"));
34
+ __exportStar(require("./requests"), 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 { ServiceTypeCode } from "../../types/ServiceTypeCode";
8
+ export declare const CheckEligibilityRequest: core.serialization.Schema<serializers.preEncounter.coverages.v1.CheckEligibilityRequest.Raw, CandidApi.preEncounter.coverages.v1.CheckEligibilityRequest>;
9
+ export declare namespace CheckEligibilityRequest {
10
+ interface Raw {
11
+ service_code: ServiceTypeCode.Raw;
12
+ date_of_service: string;
13
+ npi: string;
14
+ }
15
+ }
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.CheckEligibilityRequest = void 0;
30
+ const core = __importStar(require("../../../../../../../../../core"));
31
+ const ServiceTypeCode_1 = require("../../types/ServiceTypeCode");
32
+ exports.CheckEligibilityRequest = core.serialization.object({
33
+ serviceCode: core.serialization.property("service_code", ServiceTypeCode_1.ServiceTypeCode),
34
+ dateOfService: core.serialization.property("date_of_service", core.serialization.string()),
35
+ npi: core.serialization.string(),
36
+ });
@@ -0,0 +1 @@
1
+ export { CheckEligibilityRequest } from "./CheckEligibilityRequest";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CheckEligibilityRequest = void 0;
4
+ var CheckEligibilityRequest_1 = require("./CheckEligibilityRequest");
5
+ Object.defineProperty(exports, "CheckEligibilityRequest", { enumerable: true, get: function () { return CheckEligibilityRequest_1.CheckEligibilityRequest; } });
@@ -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 { PlanCoverage } from "./PlanCoverage";
8
+ import { ServiceCoverage } from "./ServiceCoverage";
9
+ export declare const CoverageBenefits: core.serialization.ObjectSchema<serializers.preEncounter.coverages.v1.CoverageBenefits.Raw, CandidApi.preEncounter.coverages.v1.CoverageBenefits>;
10
+ export declare namespace CoverageBenefits {
11
+ interface Raw {
12
+ plan_coverage?: PlanCoverage.Raw | null;
13
+ service_specific_coverage?: ServiceCoverage.Raw[] | null;
14
+ }
15
+ }
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.CoverageBenefits = void 0;
30
+ const core = __importStar(require("../../../../../../../../core"));
31
+ const PlanCoverage_1 = require("./PlanCoverage");
32
+ const ServiceCoverage_1 = require("./ServiceCoverage");
33
+ exports.CoverageBenefits = core.serialization.object({
34
+ planCoverage: core.serialization.property("plan_coverage", PlanCoverage_1.PlanCoverage.optional()),
35
+ serviceSpecificCoverage: core.serialization.property("service_specific_coverage", core.serialization.list(ServiceCoverage_1.ServiceCoverage).optional()),
36
+ });
@@ -0,0 +1,16 @@
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 { EligibilityCheckMetadata } from "./EligibilityCheckMetadata";
8
+ import { EligibilityCheck } from "./EligibilityCheck";
9
+ export declare const CoverageEligibilityCheckResponse: core.serialization.ObjectSchema<serializers.preEncounter.coverages.v1.CoverageEligibilityCheckResponse.Raw, CandidApi.preEncounter.coverages.v1.CoverageEligibilityCheckResponse>;
10
+ export declare namespace CoverageEligibilityCheckResponse {
11
+ interface Raw {
12
+ metadata: EligibilityCheckMetadata.Raw;
13
+ error?: string | null;
14
+ check?: EligibilityCheck.Raw | null;
15
+ }
16
+ }
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.CoverageEligibilityCheckResponse = void 0;
30
+ const core = __importStar(require("../../../../../../../../core"));
31
+ const EligibilityCheckMetadata_1 = require("./EligibilityCheckMetadata");
32
+ const EligibilityCheck_1 = require("./EligibilityCheck");
33
+ exports.CoverageEligibilityCheckResponse = core.serialization.object({
34
+ metadata: EligibilityCheckMetadata_1.EligibilityCheckMetadata,
35
+ error: core.serialization.string().optional(),
36
+ check: EligibilityCheck_1.EligibilityCheck.optional(),
37
+ });
@@ -0,0 +1,13 @@
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 CoverageValue: core.serialization.ObjectSchema<serializers.preEncounter.coverages.v1.CoverageValue.Raw, CandidApi.preEncounter.coverages.v1.CoverageValue>;
8
+ export declare namespace CoverageValue {
9
+ interface Raw {
10
+ family?: number | null;
11
+ individual?: number | null;
12
+ }
13
+ }