candidhealth 0.30.0 → 0.32.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 (290) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +37 -32
  3. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  4. package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  5. package/api/resources/contracts/resources/v2/client/Client.d.ts +8 -1
  6. package/api/resources/contracts/resources/v2/client/Client.js +13 -6
  7. package/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +8 -1
  8. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  9. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  10. package/api/resources/encounters/resources/v4/client/Client.d.ts +32 -50
  11. package/api/resources/encounters/resources/v4/client/Client.js +36 -54
  12. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +16 -50
  13. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +22 -2
  14. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +7 -0
  15. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +7 -0
  16. package/api/resources/encounters/resources/v4/types/VitalsUpdate.d.ts +24 -0
  17. package/api/resources/encounters/resources/v4/types/VitalsUpdate.js +5 -0
  18. package/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
  19. package/api/resources/encounters/resources/v4/types/index.js +1 -0
  20. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  21. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +22 -2
  22. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +24 -4
  23. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  24. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  25. package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +1 -1
  26. package/api/resources/feeSchedules/resources/v3/client/Client.js +11 -11
  27. package/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +1 -1
  28. package/api/resources/feeSchedules/resources/v3/types/RateEntry.d.ts +1 -1
  29. package/api/resources/financials/types/AllocationTargetCreate.d.ts +3 -4
  30. package/api/resources/financials/types/AppointmentAllocationTarget.d.ts +1 -0
  31. package/api/resources/financials/types/AppointmentByIdAndPatientExternalId.d.ts +8 -0
  32. package/api/resources/financials/types/AppointmentByIdAndPatientExternalId.js +5 -0
  33. package/api/resources/financials/types/index.d.ts +1 -0
  34. package/api/resources/financials/types/index.js +1 -0
  35. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  36. package/api/resources/importInvoice/resources/v1/client/Client.d.ts +14 -2
  37. package/api/resources/importInvoice/resources/v1/client/Client.js +34 -7
  38. package/api/resources/importInvoice/resources/v1/client/importInvoice.d.ts +13 -1
  39. package/api/resources/importInvoice/resources/v1/client/importInvoice.js +22 -0
  40. package/api/resources/index.d.ts +1 -0
  41. package/api/resources/index.js +2 -1
  42. package/api/resources/individual/types/Patient.d.ts +8 -0
  43. package/api/resources/individual/types/PatientCreate.d.ts +1 -0
  44. package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +27 -2
  45. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +30 -5
  46. package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +7 -1
  47. package/api/resources/insurancePayments/resources/v1/client/Client.js +12 -6
  48. package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +7 -1
  49. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +12 -6
  50. package/api/resources/medicationDispense/client/Client.d.ts +26 -0
  51. package/api/resources/medicationDispense/client/Client.js +17 -0
  52. package/api/resources/medicationDispense/client/index.d.ts +1 -0
  53. package/api/resources/medicationDispense/client/index.js +2 -0
  54. package/api/resources/medicationDispense/index.d.ts +2 -0
  55. package/api/resources/medicationDispense/index.js +18 -0
  56. package/api/resources/medicationDispense/resources/index.d.ts +1 -0
  57. package/api/resources/medicationDispense/resources/index.js +27 -0
  58. package/api/resources/medicationDispense/resources/v1/client/Client.d.ts +51 -0
  59. package/api/resources/medicationDispense/resources/v1/client/Client.js +145 -0
  60. package/api/resources/medicationDispense/resources/v1/client/create.d.ts +52 -0
  61. package/api/resources/medicationDispense/resources/v1/client/create.js +102 -0
  62. package/api/resources/medicationDispense/resources/v1/client/index.d.ts +1 -0
  63. package/api/resources/medicationDispense/resources/v1/client/index.js +27 -0
  64. package/api/resources/medicationDispense/resources/v1/index.d.ts +2 -0
  65. package/api/resources/medicationDispense/resources/v1/index.js +18 -0
  66. package/api/resources/medicationDispense/resources/v1/types/MedicationDispenseCreate.d.ts +15 -0
  67. package/api/resources/medicationDispense/resources/v1/types/MedicationDispenseCreate.js +5 -0
  68. package/api/resources/medicationDispense/resources/v1/types/index.d.ts +1 -0
  69. package/api/resources/medicationDispense/resources/v1/types/index.js +17 -0
  70. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +7 -1
  71. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +12 -6
  72. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +7 -1
  73. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +12 -6
  74. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  75. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +10 -0
  76. package/api/resources/organizationProviders/resources/v3/client/Client.d.ts +23 -2
  77. package/api/resources/organizationProviders/resources/v3/client/Client.js +27 -6
  78. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  79. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  80. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  81. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  82. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +144 -4
  83. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +150 -10
  84. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +54 -8
  85. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +62 -16
  86. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +456 -33
  87. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +465 -42
  88. package/api/resources/serviceFacility/client/Client.js +1 -1
  89. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +15 -2
  90. package/api/resources/serviceLines/resources/v2/client/Client.js +18 -5
  91. package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -3
  92. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +0 -17
  93. package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -0
  94. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  95. package/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.d.ts +7 -1
  96. package/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.js +12 -6
  97. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.d.ts +7 -1
  98. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.js +12 -6
  99. package/api/resources/thirdPartyPayers/resources/v1/client/Client.js +6 -6
  100. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  101. package/dist/Client.d.ts +3 -0
  102. package/dist/Client.js +37 -32
  103. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  104. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  105. package/dist/api/resources/contracts/resources/v2/client/Client.d.ts +8 -1
  106. package/dist/api/resources/contracts/resources/v2/client/Client.js +13 -6
  107. package/dist/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +8 -1
  108. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  109. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  110. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +32 -50
  111. package/dist/api/resources/encounters/resources/v4/client/Client.js +36 -54
  112. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +16 -50
  113. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +22 -2
  114. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +7 -0
  115. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +7 -0
  116. package/dist/api/resources/encounters/resources/v4/types/VitalsUpdate.d.ts +24 -0
  117. package/dist/api/resources/encounters/resources/v4/types/VitalsUpdate.js +5 -0
  118. package/dist/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
  119. package/dist/api/resources/encounters/resources/v4/types/index.js +1 -0
  120. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  121. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +22 -2
  122. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +24 -4
  123. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  124. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  125. package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +1 -1
  126. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +11 -11
  127. package/dist/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +1 -1
  128. package/dist/api/resources/feeSchedules/resources/v3/types/RateEntry.d.ts +1 -1
  129. package/dist/api/resources/financials/types/AllocationTargetCreate.d.ts +3 -4
  130. package/dist/api/resources/financials/types/AppointmentAllocationTarget.d.ts +1 -0
  131. package/dist/api/resources/financials/types/AppointmentByIdAndPatientExternalId.d.ts +8 -0
  132. package/dist/api/resources/financials/types/AppointmentByIdAndPatientExternalId.js +5 -0
  133. package/dist/api/resources/financials/types/index.d.ts +1 -0
  134. package/dist/api/resources/financials/types/index.js +1 -0
  135. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  136. package/dist/api/resources/importInvoice/resources/v1/client/Client.d.ts +14 -2
  137. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +34 -7
  138. package/dist/api/resources/importInvoice/resources/v1/client/importInvoice.d.ts +13 -1
  139. package/dist/api/resources/importInvoice/resources/v1/client/importInvoice.js +22 -0
  140. package/dist/api/resources/index.d.ts +1 -0
  141. package/dist/api/resources/index.js +2 -1
  142. package/dist/api/resources/individual/types/Patient.d.ts +8 -0
  143. package/dist/api/resources/individual/types/PatientCreate.d.ts +1 -0
  144. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +27 -2
  145. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +30 -5
  146. package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +7 -1
  147. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +12 -6
  148. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +7 -1
  149. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +12 -6
  150. package/dist/api/resources/medicationDispense/client/Client.d.ts +26 -0
  151. package/dist/api/resources/medicationDispense/client/Client.js +17 -0
  152. package/dist/api/resources/medicationDispense/client/index.d.ts +1 -0
  153. package/dist/api/resources/medicationDispense/client/index.js +2 -0
  154. package/dist/api/resources/medicationDispense/index.d.ts +2 -0
  155. package/dist/api/resources/medicationDispense/index.js +18 -0
  156. package/dist/api/resources/medicationDispense/resources/index.d.ts +1 -0
  157. package/dist/api/resources/medicationDispense/resources/index.js +27 -0
  158. package/dist/api/resources/medicationDispense/resources/v1/client/Client.d.ts +51 -0
  159. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +145 -0
  160. package/dist/api/resources/medicationDispense/resources/v1/client/create.d.ts +52 -0
  161. package/dist/api/resources/medicationDispense/resources/v1/client/create.js +102 -0
  162. package/dist/api/resources/medicationDispense/resources/v1/client/index.d.ts +1 -0
  163. package/dist/api/resources/medicationDispense/resources/v1/client/index.js +27 -0
  164. package/dist/api/resources/medicationDispense/resources/v1/index.d.ts +2 -0
  165. package/dist/api/resources/medicationDispense/resources/v1/index.js +18 -0
  166. package/dist/api/resources/medicationDispense/resources/v1/types/MedicationDispenseCreate.d.ts +15 -0
  167. package/dist/api/resources/medicationDispense/resources/v1/types/MedicationDispenseCreate.js +5 -0
  168. package/dist/api/resources/medicationDispense/resources/v1/types/index.d.ts +1 -0
  169. package/dist/api/resources/medicationDispense/resources/v1/types/index.js +17 -0
  170. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +7 -1
  171. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +12 -6
  172. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +7 -1
  173. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +12 -6
  174. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  175. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +10 -0
  176. package/dist/api/resources/organizationProviders/resources/v3/client/Client.d.ts +23 -2
  177. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +27 -6
  178. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  179. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  180. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  181. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  182. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +144 -4
  183. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +150 -10
  184. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +54 -8
  185. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +62 -16
  186. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +456 -33
  187. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +465 -42
  188. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  189. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +15 -2
  190. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +18 -5
  191. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -3
  192. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +0 -17
  193. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -0
  194. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  195. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.d.ts +7 -1
  196. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.js +12 -6
  197. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.d.ts +7 -1
  198. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.js +12 -6
  199. package/dist/api/resources/thirdPartyPayers/resources/v1/client/Client.js +6 -6
  200. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  201. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
  202. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +2 -0
  203. package/dist/serialization/resources/encounters/resources/v4/types/VitalsUpdate.d.ts +18 -0
  204. package/dist/serialization/resources/encounters/resources/v4/types/VitalsUpdate.js +39 -0
  205. package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
  206. package/dist/serialization/resources/encounters/resources/v4/types/index.js +1 -0
  207. package/dist/serialization/resources/financials/types/AllocationTargetCreate.d.ts +4 -5
  208. package/dist/serialization/resources/financials/types/AllocationTargetCreate.js +2 -4
  209. package/dist/serialization/resources/financials/types/AppointmentAllocationTarget.d.ts +2 -0
  210. package/dist/serialization/resources/financials/types/AppointmentAllocationTarget.js +2 -0
  211. package/dist/serialization/resources/financials/types/AppointmentByIdAndPatientExternalId.d.ts +15 -0
  212. package/dist/serialization/resources/financials/types/AppointmentByIdAndPatientExternalId.js +36 -0
  213. package/dist/serialization/resources/financials/types/index.d.ts +1 -0
  214. package/dist/serialization/resources/financials/types/index.js +1 -0
  215. package/dist/serialization/resources/importInvoice/resources/v1/client/importInvoice.d.ts +20 -0
  216. package/dist/serialization/resources/importInvoice/resources/v1/client/importInvoice.js +67 -0
  217. package/dist/serialization/resources/importInvoice/resources/v1/client/index.d.ts +1 -0
  218. package/dist/serialization/resources/importInvoice/resources/v1/client/index.js +2 -1
  219. package/dist/serialization/resources/index.d.ts +1 -0
  220. package/dist/serialization/resources/index.js +2 -1
  221. package/dist/serialization/resources/individual/types/Patient.d.ts +2 -0
  222. package/dist/serialization/resources/individual/types/Patient.js +2 -0
  223. package/dist/serialization/resources/individual/types/PatientCreate.d.ts +2 -0
  224. package/dist/serialization/resources/individual/types/PatientCreate.js +2 -0
  225. package/dist/serialization/resources/medicationDispense/index.d.ts +1 -0
  226. package/dist/serialization/resources/medicationDispense/index.js +17 -0
  227. package/dist/serialization/resources/medicationDispense/resources/index.d.ts +1 -0
  228. package/dist/serialization/resources/medicationDispense/resources/index.js +27 -0
  229. package/dist/serialization/resources/medicationDispense/resources/v1/client/create.d.ts +35 -0
  230. package/dist/serialization/resources/medicationDispense/resources/v1/client/create.js +85 -0
  231. package/dist/serialization/resources/medicationDispense/resources/v1/client/index.d.ts +1 -0
  232. package/dist/serialization/resources/medicationDispense/resources/v1/client/index.js +27 -0
  233. package/dist/serialization/resources/medicationDispense/resources/v1/index.d.ts +2 -0
  234. package/dist/serialization/resources/medicationDispense/resources/v1/index.js +18 -0
  235. package/dist/serialization/resources/medicationDispense/resources/v1/types/MedicationDispenseCreate.d.ts +24 -0
  236. package/dist/serialization/resources/medicationDispense/resources/v1/types/MedicationDispenseCreate.js +45 -0
  237. package/dist/serialization/resources/medicationDispense/resources/v1/types/index.d.ts +1 -0
  238. package/dist/serialization/resources/medicationDispense/resources/v1/types/index.js +17 -0
  239. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -3
  240. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +2 -3
  241. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +0 -6
  242. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +0 -6
  243. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -0
  244. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +2 -0
  245. package/package.json +1 -1
  246. package/reference.md +994 -111
  247. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
  248. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +2 -0
  249. package/serialization/resources/encounters/resources/v4/types/VitalsUpdate.d.ts +18 -0
  250. package/serialization/resources/encounters/resources/v4/types/VitalsUpdate.js +39 -0
  251. package/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
  252. package/serialization/resources/encounters/resources/v4/types/index.js +1 -0
  253. package/serialization/resources/financials/types/AllocationTargetCreate.d.ts +4 -5
  254. package/serialization/resources/financials/types/AllocationTargetCreate.js +2 -4
  255. package/serialization/resources/financials/types/AppointmentAllocationTarget.d.ts +2 -0
  256. package/serialization/resources/financials/types/AppointmentAllocationTarget.js +2 -0
  257. package/serialization/resources/financials/types/AppointmentByIdAndPatientExternalId.d.ts +15 -0
  258. package/serialization/resources/financials/types/AppointmentByIdAndPatientExternalId.js +36 -0
  259. package/serialization/resources/financials/types/index.d.ts +1 -0
  260. package/serialization/resources/financials/types/index.js +1 -0
  261. package/serialization/resources/importInvoice/resources/v1/client/importInvoice.d.ts +20 -0
  262. package/serialization/resources/importInvoice/resources/v1/client/importInvoice.js +67 -0
  263. package/serialization/resources/importInvoice/resources/v1/client/index.d.ts +1 -0
  264. package/serialization/resources/importInvoice/resources/v1/client/index.js +2 -1
  265. package/serialization/resources/index.d.ts +1 -0
  266. package/serialization/resources/index.js +2 -1
  267. package/serialization/resources/individual/types/Patient.d.ts +2 -0
  268. package/serialization/resources/individual/types/Patient.js +2 -0
  269. package/serialization/resources/individual/types/PatientCreate.d.ts +2 -0
  270. package/serialization/resources/individual/types/PatientCreate.js +2 -0
  271. package/serialization/resources/medicationDispense/index.d.ts +1 -0
  272. package/serialization/resources/medicationDispense/index.js +17 -0
  273. package/serialization/resources/medicationDispense/resources/index.d.ts +1 -0
  274. package/serialization/resources/medicationDispense/resources/index.js +27 -0
  275. package/serialization/resources/medicationDispense/resources/v1/client/create.d.ts +35 -0
  276. package/serialization/resources/medicationDispense/resources/v1/client/create.js +85 -0
  277. package/serialization/resources/medicationDispense/resources/v1/client/index.d.ts +1 -0
  278. package/serialization/resources/medicationDispense/resources/v1/client/index.js +27 -0
  279. package/serialization/resources/medicationDispense/resources/v1/index.d.ts +2 -0
  280. package/serialization/resources/medicationDispense/resources/v1/index.js +18 -0
  281. package/serialization/resources/medicationDispense/resources/v1/types/MedicationDispenseCreate.d.ts +24 -0
  282. package/serialization/resources/medicationDispense/resources/v1/types/MedicationDispenseCreate.js +45 -0
  283. package/serialization/resources/medicationDispense/resources/v1/types/index.d.ts +1 -0
  284. package/serialization/resources/medicationDispense/resources/v1/types/index.js +17 -0
  285. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -3
  286. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +2 -3
  287. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +0 -6
  288. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +0 -6
  289. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -0
  290. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +2 -0
@@ -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.30.0",
124
+ "X-Fern-SDK-Version": "0.32.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.30.0",
187
+ "X-Fern-SDK-Version": "0.32.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.30.0",
265
+ "X-Fern-SDK-Version": "0.32.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.30.0",
346
+ "X-Fern-SDK-Version": "0.32.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.30.0",
412
+ "X-Fern-SDK-Version": "0.32.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.30.0",
69
+ "X-Fern-SDK-Version": "0.32.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.30.0",
129
+ "X-Fern-SDK-Version": "0.32.0",
130
130
  "X-Fern-Runtime": core.RUNTIME.type,
131
131
  "X-Fern-Runtime-Version": core.RUNTIME.version,
132
132
  },
@@ -32,8 +32,78 @@ export declare class V1 {
32
32
  * patientId: CandidApi.preEncounter.patients.v1.PatientId("string"),
33
33
  * checkedIn: true,
34
34
  * assignedPatientLocation: "string",
35
- * attendingDoctor: {},
36
- * referringDoctor: {},
35
+ * attendingDoctor: {
36
+ * name: {
37
+ * family: "string",
38
+ * given: ["string"],
39
+ * use: CandidApi.preEncounter.NameUse.Usual,
40
+ * period: {
41
+ * start: {
42
+ * "key": "value"
43
+ * },
44
+ * end: {
45
+ * "key": "value"
46
+ * }
47
+ * }
48
+ * },
49
+ * type: CandidApi.preEncounter.ExternalProviderType.Primary,
50
+ * npi: "string",
51
+ * telecoms: [{
52
+ * value: "string",
53
+ * use: CandidApi.preEncounter.ContactPointUse.Home,
54
+ * period: {
55
+ * "key": "value"
56
+ * }
57
+ * }],
58
+ * addresses: [{
59
+ * "key": "value"
60
+ * }],
61
+ * period: {
62
+ * start: {
63
+ * "key": "value"
64
+ * },
65
+ * end: {
66
+ * "key": "value"
67
+ * }
68
+ * },
69
+ * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
70
+ * },
71
+ * referringDoctor: {
72
+ * name: {
73
+ * family: "string",
74
+ * given: ["string"],
75
+ * use: CandidApi.preEncounter.NameUse.Usual,
76
+ * period: {
77
+ * start: {
78
+ * "key": "value"
79
+ * },
80
+ * end: {
81
+ * "key": "value"
82
+ * }
83
+ * }
84
+ * },
85
+ * type: CandidApi.preEncounter.ExternalProviderType.Primary,
86
+ * npi: "string",
87
+ * telecoms: [{
88
+ * value: "string",
89
+ * use: CandidApi.preEncounter.ContactPointUse.Home,
90
+ * period: {
91
+ * "key": "value"
92
+ * }
93
+ * }],
94
+ * addresses: [{
95
+ * "key": "value"
96
+ * }],
97
+ * period: {
98
+ * start: {
99
+ * "key": "value"
100
+ * },
101
+ * end: {
102
+ * "key": "value"
103
+ * }
104
+ * },
105
+ * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
106
+ * },
37
107
  * startTimestamp: new Date("2024-01-15T09:30:00.000Z"),
38
108
  * serviceDuration: 1,
39
109
  * services: [{
@@ -81,8 +151,78 @@ export declare class V1 {
81
151
  * patientId: CandidApi.preEncounter.patients.v1.PatientId("string"),
82
152
  * checkedIn: true,
83
153
  * assignedPatientLocation: "string",
84
- * attendingDoctor: {},
85
- * referringDoctor: {},
154
+ * attendingDoctor: {
155
+ * name: {
156
+ * family: "string",
157
+ * given: ["string"],
158
+ * use: CandidApi.preEncounter.NameUse.Usual,
159
+ * period: {
160
+ * start: {
161
+ * "key": "value"
162
+ * },
163
+ * end: {
164
+ * "key": "value"
165
+ * }
166
+ * }
167
+ * },
168
+ * type: CandidApi.preEncounter.ExternalProviderType.Primary,
169
+ * npi: "string",
170
+ * telecoms: [{
171
+ * value: "string",
172
+ * use: CandidApi.preEncounter.ContactPointUse.Home,
173
+ * period: {
174
+ * "key": "value"
175
+ * }
176
+ * }],
177
+ * addresses: [{
178
+ * "key": "value"
179
+ * }],
180
+ * period: {
181
+ * start: {
182
+ * "key": "value"
183
+ * },
184
+ * end: {
185
+ * "key": "value"
186
+ * }
187
+ * },
188
+ * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
189
+ * },
190
+ * referringDoctor: {
191
+ * name: {
192
+ * family: "string",
193
+ * given: ["string"],
194
+ * use: CandidApi.preEncounter.NameUse.Usual,
195
+ * period: {
196
+ * start: {
197
+ * "key": "value"
198
+ * },
199
+ * end: {
200
+ * "key": "value"
201
+ * }
202
+ * }
203
+ * },
204
+ * type: CandidApi.preEncounter.ExternalProviderType.Primary,
205
+ * npi: "string",
206
+ * telecoms: [{
207
+ * value: "string",
208
+ * use: CandidApi.preEncounter.ContactPointUse.Home,
209
+ * period: {
210
+ * "key": "value"
211
+ * }
212
+ * }],
213
+ * addresses: [{
214
+ * "key": "value"
215
+ * }],
216
+ * period: {
217
+ * start: {
218
+ * "key": "value"
219
+ * },
220
+ * end: {
221
+ * "key": "value"
222
+ * }
223
+ * },
224
+ * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
225
+ * },
86
226
  * startTimestamp: new Date("2024-01-15T09:30:00.000Z"),
87
227
  * serviceDuration: 1,
88
228
  * services: [{
@@ -59,8 +59,78 @@ class V1 {
59
59
  * patientId: CandidApi.preEncounter.patients.v1.PatientId("string"),
60
60
  * checkedIn: true,
61
61
  * assignedPatientLocation: "string",
62
- * attendingDoctor: {},
63
- * referringDoctor: {},
62
+ * attendingDoctor: {
63
+ * name: {
64
+ * family: "string",
65
+ * given: ["string"],
66
+ * use: CandidApi.preEncounter.NameUse.Usual,
67
+ * period: {
68
+ * start: {
69
+ * "key": "value"
70
+ * },
71
+ * end: {
72
+ * "key": "value"
73
+ * }
74
+ * }
75
+ * },
76
+ * type: CandidApi.preEncounter.ExternalProviderType.Primary,
77
+ * npi: "string",
78
+ * telecoms: [{
79
+ * value: "string",
80
+ * use: CandidApi.preEncounter.ContactPointUse.Home,
81
+ * period: {
82
+ * "key": "value"
83
+ * }
84
+ * }],
85
+ * addresses: [{
86
+ * "key": "value"
87
+ * }],
88
+ * period: {
89
+ * start: {
90
+ * "key": "value"
91
+ * },
92
+ * end: {
93
+ * "key": "value"
94
+ * }
95
+ * },
96
+ * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
97
+ * },
98
+ * referringDoctor: {
99
+ * name: {
100
+ * family: "string",
101
+ * given: ["string"],
102
+ * use: CandidApi.preEncounter.NameUse.Usual,
103
+ * period: {
104
+ * start: {
105
+ * "key": "value"
106
+ * },
107
+ * end: {
108
+ * "key": "value"
109
+ * }
110
+ * }
111
+ * },
112
+ * type: CandidApi.preEncounter.ExternalProviderType.Primary,
113
+ * npi: "string",
114
+ * telecoms: [{
115
+ * value: "string",
116
+ * use: CandidApi.preEncounter.ContactPointUse.Home,
117
+ * period: {
118
+ * "key": "value"
119
+ * }
120
+ * }],
121
+ * addresses: [{
122
+ * "key": "value"
123
+ * }],
124
+ * period: {
125
+ * start: {
126
+ * "key": "value"
127
+ * },
128
+ * end: {
129
+ * "key": "value"
130
+ * }
131
+ * },
132
+ * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
133
+ * },
64
134
  * startTimestamp: new Date("2024-01-15T09:30:00.000Z"),
65
135
  * serviceDuration: 1,
66
136
  * services: [{
@@ -85,7 +155,7 @@ class V1 {
85
155
  Authorization: yield this._getAuthorizationHeader(),
86
156
  "X-Fern-Language": "JavaScript",
87
157
  "X-Fern-SDK-Name": "candidhealth",
88
- "X-Fern-SDK-Version": "0.30.0",
158
+ "X-Fern-SDK-Version": "0.32.0",
89
159
  "X-Fern-Runtime": core.RUNTIME.type,
90
160
  "X-Fern-Runtime-Version": core.RUNTIME.version,
91
161
  },
@@ -149,7 +219,7 @@ class V1 {
149
219
  Authorization: yield this._getAuthorizationHeader(),
150
220
  "X-Fern-Language": "JavaScript",
151
221
  "X-Fern-SDK-Name": "candidhealth",
152
- "X-Fern-SDK-Version": "0.30.0",
222
+ "X-Fern-SDK-Version": "0.32.0",
153
223
  "X-Fern-Runtime": core.RUNTIME.type,
154
224
  "X-Fern-Runtime-Version": core.RUNTIME.version,
155
225
  },
@@ -210,7 +280,7 @@ class V1 {
210
280
  Authorization: yield this._getAuthorizationHeader(),
211
281
  "X-Fern-Language": "JavaScript",
212
282
  "X-Fern-SDK-Name": "candidhealth",
213
- "X-Fern-SDK-Version": "0.30.0",
283
+ "X-Fern-SDK-Version": "0.32.0",
214
284
  "X-Fern-Runtime": core.RUNTIME.type,
215
285
  "X-Fern-Runtime-Version": core.RUNTIME.version,
216
286
  },
@@ -264,8 +334,78 @@ class V1 {
264
334
  * patientId: CandidApi.preEncounter.patients.v1.PatientId("string"),
265
335
  * checkedIn: true,
266
336
  * assignedPatientLocation: "string",
267
- * attendingDoctor: {},
268
- * referringDoctor: {},
337
+ * attendingDoctor: {
338
+ * name: {
339
+ * family: "string",
340
+ * given: ["string"],
341
+ * use: CandidApi.preEncounter.NameUse.Usual,
342
+ * period: {
343
+ * start: {
344
+ * "key": "value"
345
+ * },
346
+ * end: {
347
+ * "key": "value"
348
+ * }
349
+ * }
350
+ * },
351
+ * type: CandidApi.preEncounter.ExternalProviderType.Primary,
352
+ * npi: "string",
353
+ * telecoms: [{
354
+ * value: "string",
355
+ * use: CandidApi.preEncounter.ContactPointUse.Home,
356
+ * period: {
357
+ * "key": "value"
358
+ * }
359
+ * }],
360
+ * addresses: [{
361
+ * "key": "value"
362
+ * }],
363
+ * period: {
364
+ * start: {
365
+ * "key": "value"
366
+ * },
367
+ * end: {
368
+ * "key": "value"
369
+ * }
370
+ * },
371
+ * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
372
+ * },
373
+ * referringDoctor: {
374
+ * name: {
375
+ * family: "string",
376
+ * given: ["string"],
377
+ * use: CandidApi.preEncounter.NameUse.Usual,
378
+ * period: {
379
+ * start: {
380
+ * "key": "value"
381
+ * },
382
+ * end: {
383
+ * "key": "value"
384
+ * }
385
+ * }
386
+ * },
387
+ * type: CandidApi.preEncounter.ExternalProviderType.Primary,
388
+ * npi: "string",
389
+ * telecoms: [{
390
+ * value: "string",
391
+ * use: CandidApi.preEncounter.ContactPointUse.Home,
392
+ * period: {
393
+ * "key": "value"
394
+ * }
395
+ * }],
396
+ * addresses: [{
397
+ * "key": "value"
398
+ * }],
399
+ * period: {
400
+ * start: {
401
+ * "key": "value"
402
+ * },
403
+ * end: {
404
+ * "key": "value"
405
+ * }
406
+ * },
407
+ * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
408
+ * },
269
409
  * startTimestamp: new Date("2024-01-15T09:30:00.000Z"),
270
410
  * serviceDuration: 1,
271
411
  * services: [{
@@ -290,7 +430,7 @@ class V1 {
290
430
  Authorization: yield this._getAuthorizationHeader(),
291
431
  "X-Fern-Language": "JavaScript",
292
432
  "X-Fern-SDK-Name": "candidhealth",
293
- "X-Fern-SDK-Version": "0.30.0",
433
+ "X-Fern-SDK-Version": "0.32.0",
294
434
  "X-Fern-Runtime": core.RUNTIME.type,
295
435
  "X-Fern-Runtime-Version": core.RUNTIME.version,
296
436
  },
@@ -356,7 +496,7 @@ class V1 {
356
496
  Authorization: yield this._getAuthorizationHeader(),
357
497
  "X-Fern-Language": "JavaScript",
358
498
  "X-Fern-SDK-Name": "candidhealth",
359
- "X-Fern-SDK-Version": "0.30.0",
499
+ "X-Fern-SDK-Version": "0.32.0",
360
500
  "X-Fern-Runtime": core.RUNTIME.type,
361
501
  "X-Fern-Runtime-Version": core.RUNTIME.version,
362
502
  },
@@ -452,7 +592,7 @@ class V1 {
452
592
  Authorization: yield this._getAuthorizationHeader(),
453
593
  "X-Fern-Language": "JavaScript",
454
594
  "X-Fern-SDK-Name": "candidhealth",
455
- "X-Fern-SDK-Version": "0.30.0",
595
+ "X-Fern-SDK-Version": "0.32.0",
456
596
  "X-Fern-Runtime": core.RUNTIME.type,
457
597
  "X-Fern-Runtime-Version": core.RUNTIME.version,
458
598
  },
@@ -31,7 +31,19 @@ export declare class V1 {
31
31
  * await client.preEncounter.coverages.v1.create({
32
32
  * status: CandidApi.preEncounter.coverages.v1.CoverageStatus.Active,
33
33
  * subscriber: {
34
- * name: {},
34
+ * name: {
35
+ * family: "string",
36
+ * given: ["string"],
37
+ * use: CandidApi.preEncounter.NameUse.Usual,
38
+ * period: {
39
+ * start: {
40
+ * "key": "value"
41
+ * },
42
+ * end: {
43
+ * "key": "value"
44
+ * }
45
+ * }
46
+ * },
35
47
  * dateOfBirth: "2023-01-15",
36
48
  * biologicalSex: CandidApi.preEncounter.Sex.Female
37
49
  * },
@@ -45,7 +57,14 @@ export declare class V1 {
45
57
  * name: "string",
46
58
  * planType: CandidApi.preEncounter.coverages.v1.NetworkType.SelfPay,
47
59
  * type: CandidApi.preEncounter.coverages.v1.InsuranceTypeCode.C01,
48
- * period: {},
60
+ * period: {
61
+ * start: {
62
+ * "key": "value"
63
+ * },
64
+ * end: {
65
+ * "key": "value"
66
+ * }
67
+ * },
49
68
  * insuranceCardImageLocator: "string"
50
69
  * },
51
70
  * verified: true,
@@ -57,8 +76,12 @@ export declare class V1 {
57
76
  * initiatedAt: new Date("2024-01-15T09:30:00.000Z")
58
77
  * }],
59
78
  * benefits: {
60
- * planCoverage: {},
61
- * serviceSpecificCoverage: [{}]
79
+ * planCoverage: {
80
+ * "key": "value"
81
+ * },
82
+ * serviceSpecificCoverage: {
83
+ * "key": "value"
84
+ * }
62
85
  * }
63
86
  * })
64
87
  */
@@ -75,7 +98,19 @@ export declare class V1 {
75
98
  * await client.preEncounter.coverages.v1.update(CandidApi.preEncounter.coverages.v1.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), "string", {
76
99
  * status: CandidApi.preEncounter.coverages.v1.CoverageStatus.Active,
77
100
  * subscriber: {
78
- * name: {},
101
+ * name: {
102
+ * family: "string",
103
+ * given: ["string"],
104
+ * use: CandidApi.preEncounter.NameUse.Usual,
105
+ * period: {
106
+ * start: {
107
+ * "key": "value"
108
+ * },
109
+ * end: {
110
+ * "key": "value"
111
+ * }
112
+ * }
113
+ * },
79
114
  * dateOfBirth: "2023-01-15",
80
115
  * biologicalSex: CandidApi.preEncounter.Sex.Female
81
116
  * },
@@ -89,7 +124,14 @@ export declare class V1 {
89
124
  * name: "string",
90
125
  * planType: CandidApi.preEncounter.coverages.v1.NetworkType.SelfPay,
91
126
  * type: CandidApi.preEncounter.coverages.v1.InsuranceTypeCode.C01,
92
- * period: {},
127
+ * period: {
128
+ * start: {
129
+ * "key": "value"
130
+ * },
131
+ * end: {
132
+ * "key": "value"
133
+ * }
134
+ * },
93
135
  * insuranceCardImageLocator: "string"
94
136
  * },
95
137
  * verified: true,
@@ -101,8 +143,12 @@ export declare class V1 {
101
143
  * initiatedAt: new Date("2024-01-15T09:30:00.000Z")
102
144
  * }],
103
145
  * benefits: {
104
- * planCoverage: {},
105
- * serviceSpecificCoverage: [{}]
146
+ * planCoverage: {
147
+ * "key": "value"
148
+ * },
149
+ * serviceSpecificCoverage: {
150
+ * "key": "value"
151
+ * }
106
152
  * }
107
153
  * })
108
154
  */