candidhealth 0.24.5 → 0.25.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 (266) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +13 -8
  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/commons/types/AppointmentId.d.ts +8 -0
  6. package/api/resources/commons/types/AppointmentId.js +10 -0
  7. package/api/resources/commons/types/index.d.ts +1 -0
  8. package/api/resources/commons/types/index.js +1 -0
  9. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  10. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  11. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  12. package/api/resources/encounters/resources/v4/client/Client.js +4 -4
  13. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  14. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  15. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  16. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  17. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  18. package/api/resources/financials/types/AllocationTarget.d.ts +4 -1
  19. package/api/resources/financials/types/AllocationTargetCreate.d.ts +5 -1
  20. package/api/resources/financials/types/AppointmentAllocationTarget.d.ts +7 -0
  21. package/api/resources/financials/types/index.d.ts +1 -0
  22. package/api/resources/financials/types/index.js +1 -0
  23. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  24. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  25. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  26. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  27. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  28. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  29. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  30. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  31. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  32. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  33. package/api/resources/preEncounter/resources/{patients/resources/v1 → common}/types/ExternalProvider.d.ts +3 -2
  34. package/api/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts +8 -0
  35. package/api/resources/preEncounter/resources/common/types/ExternalProviderType.js +10 -0
  36. package/api/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  37. package/api/resources/preEncounter/resources/common/types/index.js +2 -0
  38. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +6 -4
  39. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +12 -10
  40. package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +2 -1
  41. package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +289 -0
  42. package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +78 -0
  43. package/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +21 -1
  44. package/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +5 -0
  45. package/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -1
  46. package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +1 -0
  47. package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +1 -0
  48. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +2 -16
  49. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +9 -23
  50. package/api/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +0 -1
  51. package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +4 -4
  52. package/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +0 -1
  53. package/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +0 -1
  54. package/api/resources/serviceFacility/client/Client.js +1 -1
  55. package/api/resources/serviceLines/client/Client.d.ts +26 -0
  56. package/api/resources/serviceLines/client/Client.js +17 -0
  57. package/api/resources/serviceLines/client/index.d.ts +1 -0
  58. package/api/resources/serviceLines/client/index.js +2 -0
  59. package/api/resources/serviceLines/index.d.ts +1 -0
  60. package/api/resources/serviceLines/index.js +1 -0
  61. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +92 -0
  62. package/api/resources/serviceLines/resources/v2/client/Client.js +238 -0
  63. package/api/resources/serviceLines/resources/v2/client/create.d.ts +28 -0
  64. package/api/resources/serviceLines/resources/v2/client/create.js +58 -0
  65. package/api/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
  66. package/api/resources/serviceLines/resources/v2/client/index.js +28 -0
  67. package/api/resources/serviceLines/resources/v2/client/update.d.ts +40 -0
  68. package/api/resources/serviceLines/resources/v2/client/update.js +80 -0
  69. package/api/resources/serviceLines/resources/v2/index.d.ts +1 -0
  70. package/api/resources/serviceLines/resources/v2/index.js +1 -0
  71. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +36 -0
  72. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +5 -0
  73. package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +37 -0
  74. package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +5 -0
  75. package/api/resources/serviceLines/resources/v2/types/index.d.ts +2 -0
  76. package/api/resources/serviceLines/resources/v2/types/index.js +2 -0
  77. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  78. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  79. package/api/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +2 -0
  80. package/dist/Client.d.ts +3 -0
  81. package/dist/Client.js +13 -8
  82. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  83. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  84. package/dist/api/resources/commons/types/AppointmentId.d.ts +8 -0
  85. package/dist/api/resources/commons/types/AppointmentId.js +10 -0
  86. package/dist/api/resources/commons/types/index.d.ts +1 -0
  87. package/dist/api/resources/commons/types/index.js +1 -0
  88. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  89. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  90. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  91. package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
  92. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  93. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  94. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  95. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  96. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  97. package/dist/api/resources/financials/types/AllocationTarget.d.ts +4 -1
  98. package/dist/api/resources/financials/types/AllocationTargetCreate.d.ts +5 -1
  99. package/dist/api/resources/financials/types/AppointmentAllocationTarget.d.ts +7 -0
  100. package/dist/api/resources/financials/types/AppointmentAllocationTarget.js +5 -0
  101. package/dist/api/resources/financials/types/index.d.ts +1 -0
  102. package/dist/api/resources/financials/types/index.js +1 -0
  103. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  104. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  105. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  106. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  107. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  108. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  109. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  110. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  111. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  112. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  113. package/dist/api/resources/preEncounter/resources/{patients/resources/v1 → common}/types/ExternalProvider.d.ts +3 -2
  114. package/dist/api/resources/preEncounter/resources/common/types/ExternalProvider.js +5 -0
  115. package/dist/api/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts +8 -0
  116. package/dist/api/resources/preEncounter/resources/common/types/ExternalProviderType.js +10 -0
  117. package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  118. package/dist/api/resources/preEncounter/resources/common/types/index.js +2 -0
  119. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +6 -4
  120. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +12 -10
  121. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +2 -1
  122. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +289 -0
  123. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +78 -0
  124. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +21 -1
  125. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +5 -0
  126. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -1
  127. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +1 -0
  128. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +1 -0
  129. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +2 -16
  130. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +9 -23
  131. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +0 -1
  132. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +4 -4
  133. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +0 -1
  134. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +0 -1
  135. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  136. package/dist/api/resources/serviceLines/client/Client.d.ts +26 -0
  137. package/dist/api/resources/serviceLines/client/Client.js +17 -0
  138. package/dist/api/resources/serviceLines/client/index.d.ts +1 -0
  139. package/dist/api/resources/serviceLines/client/index.js +2 -0
  140. package/dist/api/resources/serviceLines/index.d.ts +1 -0
  141. package/dist/api/resources/serviceLines/index.js +1 -0
  142. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +92 -0
  143. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +238 -0
  144. package/dist/api/resources/serviceLines/resources/v2/client/create.d.ts +28 -0
  145. package/dist/api/resources/serviceLines/resources/v2/client/create.js +58 -0
  146. package/dist/api/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
  147. package/dist/api/resources/serviceLines/resources/v2/client/index.js +28 -0
  148. package/dist/api/resources/serviceLines/resources/v2/client/update.d.ts +40 -0
  149. package/dist/api/resources/serviceLines/resources/v2/client/update.js +80 -0
  150. package/dist/api/resources/serviceLines/resources/v2/index.d.ts +1 -0
  151. package/dist/api/resources/serviceLines/resources/v2/index.js +1 -0
  152. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +36 -0
  153. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +5 -0
  154. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +37 -0
  155. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +5 -0
  156. package/dist/api/resources/serviceLines/resources/v2/types/index.d.ts +2 -0
  157. package/dist/api/resources/serviceLines/resources/v2/types/index.js +2 -0
  158. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  159. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  160. package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +2 -0
  161. package/dist/serialization/resources/commons/types/AppointmentId.d.ts +10 -0
  162. package/dist/serialization/resources/commons/types/AppointmentId.js +35 -0
  163. package/dist/serialization/resources/commons/types/index.d.ts +1 -0
  164. package/dist/serialization/resources/commons/types/index.js +1 -0
  165. package/dist/serialization/resources/financials/types/AllocationTarget.d.ts +5 -1
  166. package/dist/serialization/resources/financials/types/AllocationTarget.js +2 -0
  167. package/dist/serialization/resources/financials/types/AllocationTargetCreate.d.ts +6 -1
  168. package/dist/serialization/resources/financials/types/AllocationTargetCreate.js +4 -0
  169. package/dist/serialization/resources/financials/types/AppointmentAllocationTarget.d.ts +13 -0
  170. package/dist/serialization/resources/financials/types/AppointmentAllocationTarget.js +34 -0
  171. package/dist/serialization/resources/financials/types/index.d.ts +1 -0
  172. package/dist/serialization/resources/financials/types/index.js +1 -0
  173. package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +22 -0
  174. package/dist/serialization/resources/preEncounter/resources/{patients/resources/v1 → common}/types/ExternalProvider.js +8 -6
  175. package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts +10 -0
  176. package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.js +31 -0
  177. package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  178. package/dist/serialization/resources/preEncounter/resources/common/types/index.js +2 -0
  179. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +3 -1
  180. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.js +3 -1
  181. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +10 -0
  182. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +102 -0
  183. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +1 -1
  184. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +5 -0
  185. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +2 -2
  186. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +2 -2
  187. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +1 -0
  188. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +1 -0
  189. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +0 -2
  190. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.js +0 -2
  191. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -3
  192. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +3 -3
  193. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +0 -1
  194. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +0 -1
  195. package/dist/serialization/resources/serviceLines/resources/v2/client/create.d.ts +15 -0
  196. package/dist/serialization/resources/serviceLines/resources/v2/client/create.js +61 -0
  197. package/dist/serialization/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
  198. package/dist/serialization/resources/serviceLines/resources/v2/client/index.js +28 -0
  199. package/dist/serialization/resources/serviceLines/resources/v2/client/update.d.ts +25 -0
  200. package/dist/serialization/resources/serviceLines/resources/v2/client/update.js +73 -0
  201. package/dist/serialization/resources/serviceLines/resources/v2/index.d.ts +1 -0
  202. package/dist/serialization/resources/serviceLines/resources/v2/index.js +1 -0
  203. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +43 -0
  204. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +64 -0
  205. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +42 -0
  206. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +63 -0
  207. package/dist/serialization/resources/serviceLines/resources/v2/types/index.d.ts +2 -0
  208. package/dist/serialization/resources/serviceLines/resources/v2/types/index.js +2 -0
  209. package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +4 -0
  210. package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.js +4 -0
  211. package/package.json +1 -1
  212. package/reference.md +164 -24
  213. package/serialization/resources/commons/types/AppointmentId.d.ts +10 -0
  214. package/serialization/resources/commons/types/AppointmentId.js +35 -0
  215. package/serialization/resources/commons/types/index.d.ts +1 -0
  216. package/serialization/resources/commons/types/index.js +1 -0
  217. package/serialization/resources/financials/types/AllocationTarget.d.ts +5 -1
  218. package/serialization/resources/financials/types/AllocationTarget.js +2 -0
  219. package/serialization/resources/financials/types/AllocationTargetCreate.d.ts +6 -1
  220. package/serialization/resources/financials/types/AllocationTargetCreate.js +4 -0
  221. package/serialization/resources/financials/types/AppointmentAllocationTarget.d.ts +13 -0
  222. package/serialization/resources/financials/types/AppointmentAllocationTarget.js +34 -0
  223. package/serialization/resources/financials/types/index.d.ts +1 -0
  224. package/serialization/resources/financials/types/index.js +1 -0
  225. package/serialization/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +22 -0
  226. package/serialization/resources/preEncounter/resources/{patients/resources/v1 → common}/types/ExternalProvider.js +8 -6
  227. package/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts +10 -0
  228. package/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.js +31 -0
  229. package/serialization/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  230. package/serialization/resources/preEncounter/resources/common/types/index.js +2 -0
  231. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +3 -1
  232. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.js +3 -1
  233. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +10 -0
  234. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +102 -0
  235. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +1 -1
  236. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +5 -0
  237. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +2 -2
  238. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +2 -2
  239. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +1 -0
  240. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +1 -0
  241. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +0 -2
  242. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.js +0 -2
  243. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -3
  244. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +3 -3
  245. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +0 -1
  246. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +0 -1
  247. package/serialization/resources/serviceLines/resources/v2/client/create.d.ts +15 -0
  248. package/serialization/resources/serviceLines/resources/v2/client/create.js +61 -0
  249. package/serialization/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
  250. package/serialization/resources/serviceLines/resources/v2/client/index.js +28 -0
  251. package/serialization/resources/serviceLines/resources/v2/client/update.d.ts +25 -0
  252. package/serialization/resources/serviceLines/resources/v2/client/update.js +73 -0
  253. package/serialization/resources/serviceLines/resources/v2/index.d.ts +1 -0
  254. package/serialization/resources/serviceLines/resources/v2/index.js +1 -0
  255. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +43 -0
  256. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +64 -0
  257. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +42 -0
  258. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +63 -0
  259. package/serialization/resources/serviceLines/resources/v2/types/index.d.ts +2 -0
  260. package/serialization/resources/serviceLines/resources/v2/types/index.js +2 -0
  261. package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +4 -0
  262. package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.js +4 -0
  263. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/ExternalProvider.d.ts +0 -20
  264. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/ExternalProvider.d.ts +0 -20
  265. /package/api/resources/{preEncounter/resources/patients/resources/v1/types/ExternalProvider.js → financials/types/AppointmentAllocationTarget.js} +0 -0
  266. /package/{dist/api/resources/preEncounter/resources/patients/resources/v1 → api/resources/preEncounter/resources/common}/types/ExternalProvider.js +0 -0
@@ -104,7 +104,7 @@ class V1 {
104
104
  Authorization: yield this._getAuthorizationHeader(),
105
105
  "X-Fern-Language": "JavaScript",
106
106
  "X-Fern-SDK-Name": "candidhealth",
107
- "X-Fern-SDK-Version": "0.24.5",
107
+ "X-Fern-SDK-Version": "0.25.0",
108
108
  "X-Fern-Runtime": core.RUNTIME.type,
109
109
  "X-Fern-Runtime-Version": core.RUNTIME.version,
110
110
  },
@@ -168,7 +168,7 @@ class V1 {
168
168
  Authorization: yield this._getAuthorizationHeader(),
169
169
  "X-Fern-Language": "JavaScript",
170
170
  "X-Fern-SDK-Name": "candidhealth",
171
- "X-Fern-SDK-Version": "0.24.5",
171
+ "X-Fern-SDK-Version": "0.25.0",
172
172
  "X-Fern-Runtime": core.RUNTIME.type,
173
173
  "X-Fern-Runtime-Version": core.RUNTIME.version,
174
174
  },
@@ -241,7 +241,7 @@ class V1 {
241
241
  Authorization: yield this._getAuthorizationHeader(),
242
242
  "X-Fern-Language": "JavaScript",
243
243
  "X-Fern-SDK-Name": "candidhealth",
244
- "X-Fern-SDK-Version": "0.24.5",
244
+ "X-Fern-SDK-Version": "0.25.0",
245
245
  "X-Fern-Runtime": core.RUNTIME.type,
246
246
  "X-Fern-Runtime-Version": core.RUNTIME.version,
247
247
  },
@@ -319,7 +319,7 @@ class V1 {
319
319
  Authorization: yield this._getAuthorizationHeader(),
320
320
  "X-Fern-Language": "JavaScript",
321
321
  "X-Fern-SDK-Name": "candidhealth",
322
- "X-Fern-SDK-Version": "0.24.5",
322
+ "X-Fern-SDK-Version": "0.25.0",
323
323
  "X-Fern-Runtime": core.RUNTIME.type,
324
324
  "X-Fern-Runtime-Version": core.RUNTIME.version,
325
325
  },
@@ -387,7 +387,7 @@ class V1 {
387
387
  Authorization: yield this._getAuthorizationHeader(),
388
388
  "X-Fern-Language": "JavaScript",
389
389
  "X-Fern-SDK-Name": "candidhealth",
390
- "X-Fern-SDK-Version": "0.24.5",
390
+ "X-Fern-SDK-Version": "0.25.0",
391
391
  "X-Fern-Runtime": core.RUNTIME.type,
392
392
  "X-Fern-Runtime-Version": core.RUNTIME.version,
393
393
  },
@@ -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.24.5",
69
+ "X-Fern-SDK-Version": "0.25.0",
70
70
  "X-Fern-Runtime": core.RUNTIME.type,
71
71
  "X-Fern-Runtime-Version": core.RUNTIME.version,
72
72
  },
@@ -156,7 +156,7 @@ class V3 {
156
156
  Authorization: yield this._getAuthorizationHeader(),
157
157
  "X-Fern-Language": "JavaScript",
158
158
  "X-Fern-SDK-Name": "candidhealth",
159
- "X-Fern-SDK-Version": "0.24.5",
159
+ "X-Fern-SDK-Version": "0.25.0",
160
160
  "X-Fern-Runtime": core.RUNTIME.type,
161
161
  "X-Fern-Runtime-Version": core.RUNTIME.version,
162
162
  },
@@ -227,7 +227,7 @@ class V3 {
227
227
  Authorization: yield this._getAuthorizationHeader(),
228
228
  "X-Fern-Language": "JavaScript",
229
229
  "X-Fern-SDK-Name": "candidhealth",
230
- "X-Fern-SDK-Version": "0.24.5",
230
+ "X-Fern-SDK-Version": "0.25.0",
231
231
  "X-Fern-Runtime": core.RUNTIME.type,
232
232
  "X-Fern-Runtime-Version": core.RUNTIME.version,
233
233
  },
@@ -318,7 +318,7 @@ class V3 {
318
318
  Authorization: yield this._getAuthorizationHeader(),
319
319
  "X-Fern-Language": "JavaScript",
320
320
  "X-Fern-SDK-Name": "candidhealth",
321
- "X-Fern-SDK-Version": "0.24.5",
321
+ "X-Fern-SDK-Version": "0.25.0",
322
322
  "X-Fern-Runtime": core.RUNTIME.type,
323
323
  "X-Fern-Runtime-Version": core.RUNTIME.version,
324
324
  },
@@ -66,7 +66,7 @@ class V2 {
66
66
  Authorization: yield this._getAuthorizationHeader(),
67
67
  "X-Fern-Language": "JavaScript",
68
68
  "X-Fern-SDK-Name": "candidhealth",
69
- "X-Fern-SDK-Version": "0.24.5",
69
+ "X-Fern-SDK-Version": "0.25.0",
70
70
  "X-Fern-Runtime": core.RUNTIME.type,
71
71
  "X-Fern-Runtime-Version": core.RUNTIME.version,
72
72
  },
@@ -140,7 +140,7 @@ class V2 {
140
140
  Authorization: yield this._getAuthorizationHeader(),
141
141
  "X-Fern-Language": "JavaScript",
142
142
  "X-Fern-SDK-Name": "candidhealth",
143
- "X-Fern-SDK-Version": "0.24.5",
143
+ "X-Fern-SDK-Version": "0.25.0",
144
144
  "X-Fern-Runtime": core.RUNTIME.type,
145
145
  "X-Fern-Runtime-Version": core.RUNTIME.version,
146
146
  },
@@ -204,7 +204,7 @@ class V2 {
204
204
  Authorization: yield this._getAuthorizationHeader(),
205
205
  "X-Fern-Language": "JavaScript",
206
206
  "X-Fern-SDK-Name": "candidhealth",
207
- "X-Fern-SDK-Version": "0.24.5",
207
+ "X-Fern-SDK-Version": "0.25.0",
208
208
  "X-Fern-Runtime": core.RUNTIME.type,
209
209
  "X-Fern-Runtime-Version": core.RUNTIME.version,
210
210
  },
@@ -285,7 +285,7 @@ class V2 {
285
285
  Authorization: yield this._getAuthorizationHeader(),
286
286
  "X-Fern-Language": "JavaScript",
287
287
  "X-Fern-SDK-Name": "candidhealth",
288
- "X-Fern-SDK-Version": "0.24.5",
288
+ "X-Fern-SDK-Version": "0.25.0",
289
289
  "X-Fern-Runtime": core.RUNTIME.type,
290
290
  "X-Fern-Runtime-Version": core.RUNTIME.version,
291
291
  },
@@ -348,7 +348,7 @@ class V2 {
348
348
  Authorization: yield this._getAuthorizationHeader(),
349
349
  "X-Fern-Language": "JavaScript",
350
350
  "X-Fern-SDK-Name": "candidhealth",
351
- "X-Fern-SDK-Version": "0.24.5",
351
+ "X-Fern-SDK-Version": "0.25.0",
352
352
  "X-Fern-Runtime": core.RUNTIME.type,
353
353
  "X-Fern-Runtime-Version": core.RUNTIME.version,
354
354
  },
@@ -121,7 +121,7 @@ class V4 {
121
121
  Authorization: yield this._getAuthorizationHeader(),
122
122
  "X-Fern-Language": "JavaScript",
123
123
  "X-Fern-SDK-Name": "candidhealth",
124
- "X-Fern-SDK-Version": "0.24.5",
124
+ "X-Fern-SDK-Version": "0.25.0",
125
125
  "X-Fern-Runtime": core.RUNTIME.type,
126
126
  "X-Fern-Runtime-Version": core.RUNTIME.version,
127
127
  },
@@ -184,7 +184,7 @@ class V4 {
184
184
  Authorization: yield this._getAuthorizationHeader(),
185
185
  "X-Fern-Language": "JavaScript",
186
186
  "X-Fern-SDK-Name": "candidhealth",
187
- "X-Fern-SDK-Version": "0.24.5",
187
+ "X-Fern-SDK-Version": "0.25.0",
188
188
  "X-Fern-Runtime": core.RUNTIME.type,
189
189
  "X-Fern-Runtime-Version": core.RUNTIME.version,
190
190
  },
@@ -261,7 +261,7 @@ class V4 {
261
261
  Authorization: yield this._getAuthorizationHeader(),
262
262
  "X-Fern-Language": "JavaScript",
263
263
  "X-Fern-SDK-Name": "candidhealth",
264
- "X-Fern-SDK-Version": "0.24.5",
264
+ "X-Fern-SDK-Version": "0.25.0",
265
265
  "X-Fern-Runtime": core.RUNTIME.type,
266
266
  "X-Fern-Runtime-Version": core.RUNTIME.version,
267
267
  },
@@ -338,7 +338,7 @@ class V4 {
338
338
  Authorization: yield this._getAuthorizationHeader(),
339
339
  "X-Fern-Language": "JavaScript",
340
340
  "X-Fern-SDK-Name": "candidhealth",
341
- "X-Fern-SDK-Version": "0.24.5",
341
+ "X-Fern-SDK-Version": "0.25.0",
342
342
  "X-Fern-Runtime": core.RUNTIME.type,
343
343
  "X-Fern-Runtime-Version": core.RUNTIME.version,
344
344
  },
@@ -404,7 +404,7 @@ class V4 {
404
404
  Authorization: yield this._getAuthorizationHeader(),
405
405
  "X-Fern-Language": "JavaScript",
406
406
  "X-Fern-SDK-Name": "candidhealth",
407
- "X-Fern-SDK-Version": "0.24.5",
407
+ "X-Fern-SDK-Version": "0.25.0",
408
408
  "X-Fern-Runtime": core.RUNTIME.type,
409
409
  "X-Fern-Runtime-Version": core.RUNTIME.version,
410
410
  },
@@ -121,7 +121,7 @@ class V1 {
121
121
  Authorization: yield this._getAuthorizationHeader(),
122
122
  "X-Fern-Language": "JavaScript",
123
123
  "X-Fern-SDK-Name": "candidhealth",
124
- "X-Fern-SDK-Version": "0.24.5",
124
+ "X-Fern-SDK-Version": "0.25.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.24.5",
187
+ "X-Fern-SDK-Version": "0.25.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.24.5",
265
+ "X-Fern-SDK-Version": "0.25.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.24.5",
346
+ "X-Fern-SDK-Version": "0.25.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.24.5",
412
+ "X-Fern-SDK-Version": "0.25.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.24.5",
69
+ "X-Fern-SDK-Version": "0.25.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.24.5",
129
+ "X-Fern-SDK-Version": "0.25.0",
130
130
  "X-Fern-Runtime": core.RUNTIME.type,
131
131
  "X-Fern-Runtime-Version": core.RUNTIME.version,
132
132
  },
@@ -1,10 +1,11 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as CandidApi from "../../../../../../../index";
4
+ import * as CandidApi from "../../../../../index";
5
5
  export interface ExternalProvider {
6
6
  name: CandidApi.preEncounter.HumanName;
7
- npi: string;
7
+ type?: CandidApi.preEncounter.ExternalProviderType;
8
+ npi?: string;
8
9
  telecoms: CandidApi.preEncounter.ContactPoint[];
9
10
  addresses: CandidApi.preEncounter.Address[];
10
11
  period?: CandidApi.preEncounter.Period;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type ExternalProviderType = "PRIMARY" | "REFERRING";
5
+ export declare const ExternalProviderType: {
6
+ readonly Primary: "PRIMARY";
7
+ readonly Referring: "REFERRING";
8
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.ExternalProviderType = void 0;
7
+ exports.ExternalProviderType = {
8
+ Primary: "PRIMARY",
9
+ Referring: "REFERRING",
10
+ };
@@ -18,3 +18,5 @@ export * from "./ContactPoint";
18
18
  export * from "./ErrorBase";
19
19
  export * from "./NotFoundErrorBody";
20
20
  export * from "./VersionConflictErrorBody";
21
+ export * from "./ExternalProviderType";
22
+ export * from "./ExternalProvider";
@@ -34,3 +34,5 @@ __exportStar(require("./ContactPoint"), exports);
34
34
  __exportStar(require("./ErrorBase"), exports);
35
35
  __exportStar(require("./NotFoundErrorBody"), exports);
36
36
  __exportStar(require("./VersionConflictErrorBody"), exports);
37
+ __exportStar(require("./ExternalProviderType"), exports);
38
+ __exportStar(require("./ExternalProvider"), exports);
@@ -33,7 +33,7 @@ export declare class V1 {
33
33
  * subscriber: {
34
34
  * name: {},
35
35
  * dateOfBirth: "2023-01-15",
36
- * gender: CandidApi.preEncounter.Gender.Man
36
+ * biologicalSex: CandidApi.preEncounter.Sex.Female
37
37
  * },
38
38
  * relationship: CandidApi.preEncounter.Relationship.Self,
39
39
  * patient: CandidApi.preEncounter.patients.v1.PatientId("string"),
@@ -43,7 +43,8 @@ export declare class V1 {
43
43
  * payerName: "string",
44
44
  * groupNumber: "string",
45
45
  * name: "string",
46
- * type: CandidApi.preEncounter.coverages.v1.NetworkType.Ppo,
46
+ * planType: CandidApi.preEncounter.coverages.v1.NetworkType.SelfPay,
47
+ * type: CandidApi.preEncounter.coverages.v1.InsuranceTypeCode.C01,
47
48
  * period: {},
48
49
  * insuranceCardImageLocator: "string"
49
50
  * },
@@ -65,7 +66,7 @@ export declare class V1 {
65
66
  * subscriber: {
66
67
  * name: {},
67
68
  * dateOfBirth: "2023-01-15",
68
- * gender: CandidApi.preEncounter.Gender.Man
69
+ * biologicalSex: CandidApi.preEncounter.Sex.Female
69
70
  * },
70
71
  * relationship: CandidApi.preEncounter.Relationship.Self,
71
72
  * patient: CandidApi.preEncounter.patients.v1.PatientId("string"),
@@ -75,7 +76,8 @@ export declare class V1 {
75
76
  * payerName: "string",
76
77
  * groupNumber: "string",
77
78
  * name: "string",
78
- * type: CandidApi.preEncounter.coverages.v1.NetworkType.Ppo,
79
+ * planType: CandidApi.preEncounter.coverages.v1.NetworkType.SelfPay,
80
+ * type: CandidApi.preEncounter.coverages.v1.InsuranceTypeCode.C01,
79
81
  * period: {},
80
82
  * insuranceCardImageLocator: "string"
81
83
  * },
@@ -60,7 +60,7 @@ class V1 {
60
60
  * subscriber: {
61
61
  * name: {},
62
62
  * dateOfBirth: "2023-01-15",
63
- * gender: CandidApi.preEncounter.Gender.Man
63
+ * biologicalSex: CandidApi.preEncounter.Sex.Female
64
64
  * },
65
65
  * relationship: CandidApi.preEncounter.Relationship.Self,
66
66
  * patient: CandidApi.preEncounter.patients.v1.PatientId("string"),
@@ -70,7 +70,8 @@ class V1 {
70
70
  * payerName: "string",
71
71
  * groupNumber: "string",
72
72
  * name: "string",
73
- * type: CandidApi.preEncounter.coverages.v1.NetworkType.Ppo,
73
+ * planType: CandidApi.preEncounter.coverages.v1.NetworkType.SelfPay,
74
+ * type: CandidApi.preEncounter.coverages.v1.InsuranceTypeCode.C01,
74
75
  * period: {},
75
76
  * insuranceCardImageLocator: "string"
76
77
  * },
@@ -88,7 +89,7 @@ class V1 {
88
89
  Authorization: yield this._getAuthorizationHeader(),
89
90
  "X-Fern-Language": "JavaScript",
90
91
  "X-Fern-SDK-Name": "candidhealth",
91
- "X-Fern-SDK-Version": "0.24.5",
92
+ "X-Fern-SDK-Version": "0.25.0",
92
93
  "X-Fern-Runtime": core.RUNTIME.type,
93
94
  "X-Fern-Runtime-Version": core.RUNTIME.version,
94
95
  },
@@ -132,7 +133,7 @@ class V1 {
132
133
  * subscriber: {
133
134
  * name: {},
134
135
  * dateOfBirth: "2023-01-15",
135
- * gender: CandidApi.preEncounter.Gender.Man
136
+ * biologicalSex: CandidApi.preEncounter.Sex.Female
136
137
  * },
137
138
  * relationship: CandidApi.preEncounter.Relationship.Self,
138
139
  * patient: CandidApi.preEncounter.patients.v1.PatientId("string"),
@@ -142,7 +143,8 @@ class V1 {
142
143
  * payerName: "string",
143
144
  * groupNumber: "string",
144
145
  * name: "string",
145
- * type: CandidApi.preEncounter.coverages.v1.NetworkType.Ppo,
146
+ * planType: CandidApi.preEncounter.coverages.v1.NetworkType.SelfPay,
147
+ * type: CandidApi.preEncounter.coverages.v1.InsuranceTypeCode.C01,
146
148
  * period: {},
147
149
  * insuranceCardImageLocator: "string"
148
150
  * },
@@ -160,7 +162,7 @@ class V1 {
160
162
  Authorization: yield this._getAuthorizationHeader(),
161
163
  "X-Fern-Language": "JavaScript",
162
164
  "X-Fern-SDK-Name": "candidhealth",
163
- "X-Fern-SDK-Version": "0.24.5",
165
+ "X-Fern-SDK-Version": "0.25.0",
164
166
  "X-Fern-Runtime": core.RUNTIME.type,
165
167
  "X-Fern-Runtime-Version": core.RUNTIME.version,
166
168
  },
@@ -225,7 +227,7 @@ class V1 {
225
227
  Authorization: yield this._getAuthorizationHeader(),
226
228
  "X-Fern-Language": "JavaScript",
227
229
  "X-Fern-SDK-Name": "candidhealth",
228
- "X-Fern-SDK-Version": "0.24.5",
230
+ "X-Fern-SDK-Version": "0.25.0",
229
231
  "X-Fern-Runtime": core.RUNTIME.type,
230
232
  "X-Fern-Runtime-Version": core.RUNTIME.version,
231
233
  },
@@ -272,7 +274,7 @@ class V1 {
272
274
  Authorization: yield this._getAuthorizationHeader(),
273
275
  "X-Fern-Language": "JavaScript",
274
276
  "X-Fern-SDK-Name": "candidhealth",
275
- "X-Fern-SDK-Version": "0.24.5",
277
+ "X-Fern-SDK-Version": "0.25.0",
276
278
  "X-Fern-Runtime": core.RUNTIME.type,
277
279
  "X-Fern-Runtime-Version": core.RUNTIME.version,
278
280
  },
@@ -340,7 +342,7 @@ class V1 {
340
342
  Authorization: yield this._getAuthorizationHeader(),
341
343
  "X-Fern-Language": "JavaScript",
342
344
  "X-Fern-SDK-Name": "candidhealth",
343
- "X-Fern-SDK-Version": "0.24.5",
345
+ "X-Fern-SDK-Version": "0.25.0",
344
346
  "X-Fern-Runtime": core.RUNTIME.type,
345
347
  "X-Fern-Runtime-Version": core.RUNTIME.version,
346
348
  },
@@ -393,7 +395,7 @@ class V1 {
393
395
  Authorization: yield this._getAuthorizationHeader(),
394
396
  "X-Fern-Language": "JavaScript",
395
397
  "X-Fern-SDK-Name": "candidhealth",
396
- "X-Fern-SDK-Version": "0.24.5",
398
+ "X-Fern-SDK-Version": "0.25.0",
397
399
  "X-Fern-Runtime": core.RUNTIME.type,
398
400
  "X-Fern-Runtime-Version": core.RUNTIME.version,
399
401
  },
@@ -8,7 +8,8 @@ export interface InsurancePlan {
8
8
  payerName: string;
9
9
  groupNumber?: string;
10
10
  name?: string;
11
- type?: CandidApi.preEncounter.coverages.v1.NetworkType;
11
+ planType?: CandidApi.preEncounter.coverages.v1.NetworkType;
12
+ type?: CandidApi.preEncounter.coverages.v1.InsuranceTypeCode;
12
13
  period?: CandidApi.preEncounter.Period;
13
14
  insuranceCardImageLocator?: string;
14
15
  }