candidhealth 0.42.5 → 0.43.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 (382) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +61 -56
  3. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  4. package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  5. package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +238 -5
  6. package/api/resources/chargeCapture/resources/v1/client/Client.js +253 -23
  7. package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +118 -1
  8. package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +118 -1
  9. package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +6 -11
  10. package/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +1 -1
  11. package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +5 -5
  12. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +8 -16
  13. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +26 -76
  14. package/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +0 -1
  15. package/api/resources/chargeCaptureBundles/resources/v1/client/index.js +1 -2
  16. package/api/resources/chargeCaptureBundles/resources/v1/client/requests/{GetAllChargeCaptureBundlesRequest.d.ts → GetAllChargeCaptureClaimCreationsRequest.d.ts} +17 -17
  17. package/api/resources/chargeCaptureBundles/resources/v1/client/requests/index.d.ts +1 -1
  18. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +20 -0
  19. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.d.ts +7 -0
  20. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.d.ts +7 -0
  21. package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js → api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.js} +2 -2
  22. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.d.ts +15 -0
  23. package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js → api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.js} +2 -2
  24. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.d.ts +15 -0
  25. package/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +5 -5
  26. package/api/resources/chargeCaptureBundles/resources/v1/types/index.js +5 -5
  27. package/api/resources/commons/types/ChargeCaptureClaimCreationId.d.ts +8 -0
  28. package/api/resources/commons/types/ChargeCaptureClaimCreationId.js +9 -0
  29. package/api/resources/commons/types/index.d.ts +1 -2
  30. package/api/resources/commons/types/index.js +1 -2
  31. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  32. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  33. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  34. package/api/resources/diagnoses/client/Client.js +3 -3
  35. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  36. package/api/resources/encounterAttachments/client/Client.d.ts +30 -0
  37. package/api/resources/encounterAttachments/client/Client.js +17 -0
  38. package/api/resources/encounterAttachments/client/index.d.ts +1 -0
  39. package/api/resources/encounterAttachments/client/index.js +2 -0
  40. package/api/resources/encounterAttachments/index.d.ts +2 -0
  41. package/api/resources/encounterAttachments/index.js +18 -0
  42. package/api/resources/encounterAttachments/resources/index.d.ts +1 -0
  43. package/{dist/serialization/resources/chargeCaptureBundles/resources/v1/client → api/resources/encounterAttachments/resources}/index.js +2 -2
  44. package/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +63 -0
  45. package/api/resources/encounterAttachments/resources/v1/client/Client.js +195 -0
  46. package/api/resources/encounterAttachments/resources/v1/client/create.d.ts +22 -0
  47. package/{dist/api/resources/chargeCaptureBundles/resources/v1/client/resubmit.js → api/resources/encounterAttachments/resources/v1/client/create.js} +1 -12
  48. package/api/resources/encounterAttachments/resources/v1/client/delete.d.ts +22 -0
  49. package/api/resources/{chargeCaptureBundles/resources/v1/client/resubmit.js → encounterAttachments/resources/v1/client/delete.js} +1 -12
  50. package/api/resources/encounterAttachments/resources/v1/client/get.d.ts +22 -0
  51. package/api/resources/encounterAttachments/resources/v1/client/get.js +57 -0
  52. package/api/resources/encounterAttachments/resources/v1/client/index.d.ts +4 -0
  53. package/api/resources/encounterAttachments/resources/v1/client/index.js +43 -0
  54. package/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.d.ts +11 -0
  55. package/api/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.d.ts +13 -0
  56. package/api/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +2 -0
  57. package/api/resources/encounterAttachments/resources/v1/client/requests/index.js +2 -0
  58. package/api/resources/encounterAttachments/resources/v1/index.d.ts +2 -0
  59. package/api/resources/encounterAttachments/resources/v1/index.js +18 -0
  60. package/api/resources/encounterAttachments/resources/v1/types/AttachmentId.d.ts +8 -0
  61. package/api/resources/{commons/types/ChargeCaptureBundleId.js → encounterAttachments/resources/v1/types/AttachmentId.js} +2 -2
  62. package/api/resources/encounterAttachments/resources/v1/types/BaseAttachment.d.ts +11 -0
  63. package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +8 -0
  64. package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +7 -0
  65. package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +9 -0
  66. package/api/resources/encounterAttachments/resources/v1/types/index.d.ts +4 -0
  67. package/api/resources/encounterAttachments/resources/v1/types/index.js +20 -0
  68. package/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -66
  69. package/api/resources/encounterProviders/resources/v2/client/Client.js +20 -78
  70. package/api/resources/encounters/resources/v4/client/Client.d.ts +110 -100
  71. package/api/resources/encounters/resources/v4/client/Client.js +115 -105
  72. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +9 -83
  73. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +97 -1
  74. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  75. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  76. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  77. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  78. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  79. package/api/resources/guarantor/resources/v1/client/Client.d.ts +1 -21
  80. package/api/resources/guarantor/resources/v1/client/Client.js +4 -24
  81. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  82. package/api/resources/index.d.ts +1 -0
  83. package/api/resources/index.js +3 -2
  84. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  85. package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  86. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  87. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  88. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  89. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  90. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  91. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  92. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  93. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  94. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  95. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  96. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  97. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  98. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  99. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  100. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  101. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  102. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  103. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  104. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  105. package/api/resources/serviceFacility/client/Client.js +1 -1
  106. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +1 -4
  107. package/api/resources/serviceLines/resources/v2/client/Client.js +4 -7
  108. package/api/resources/superbills/resources/v1/client/Client.js +1 -1
  109. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  110. package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  111. package/core/form-data-utils/FormDataWrapper.d.ts +60 -0
  112. package/core/form-data-utils/FormDataWrapper.js +188 -0
  113. package/core/form-data-utils/index.d.ts +1 -0
  114. package/core/form-data-utils/index.js +17 -0
  115. package/core/index.d.ts +1 -0
  116. package/core/index.js +1 -0
  117. package/dist/Client.d.ts +3 -0
  118. package/dist/Client.js +61 -56
  119. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  120. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  121. package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +238 -5
  122. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +253 -23
  123. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +118 -1
  124. package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +118 -1
  125. package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +6 -11
  126. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +1 -1
  127. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +5 -5
  128. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +8 -16
  129. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +26 -76
  130. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +0 -1
  131. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.js +1 -2
  132. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/{GetAllChargeCaptureBundlesRequest.d.ts → GetAllChargeCaptureClaimCreationsRequest.d.ts} +17 -17
  133. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/index.d.ts +1 -1
  134. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +20 -0
  135. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.d.ts +7 -0
  136. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.js +5 -0
  137. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.d.ts +7 -0
  138. package/{api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js → dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.js} +2 -2
  139. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.d.ts +15 -0
  140. package/{api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js → dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.js} +2 -2
  141. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.d.ts +15 -0
  142. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.js +5 -0
  143. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +5 -5
  144. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.js +5 -5
  145. package/dist/api/resources/commons/types/ChargeCaptureClaimCreationId.d.ts +8 -0
  146. package/dist/api/resources/commons/types/ChargeCaptureClaimCreationId.js +9 -0
  147. package/dist/api/resources/commons/types/index.d.ts +1 -2
  148. package/dist/api/resources/commons/types/index.js +1 -2
  149. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  150. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  151. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  152. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  153. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  154. package/dist/api/resources/encounterAttachments/client/Client.d.ts +30 -0
  155. package/dist/api/resources/encounterAttachments/client/Client.js +17 -0
  156. package/dist/api/resources/encounterAttachments/client/index.d.ts +1 -0
  157. package/dist/api/resources/encounterAttachments/client/index.js +2 -0
  158. package/dist/api/resources/encounterAttachments/index.d.ts +2 -0
  159. package/dist/api/resources/encounterAttachments/index.js +18 -0
  160. package/dist/api/resources/encounterAttachments/resources/index.d.ts +1 -0
  161. package/{serialization/resources/chargeCaptureBundles/resources/v1/client → dist/api/resources/encounterAttachments/resources}/index.js +2 -2
  162. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +63 -0
  163. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +195 -0
  164. package/dist/api/resources/encounterAttachments/resources/v1/client/create.d.ts +22 -0
  165. package/dist/api/resources/encounterAttachments/resources/v1/client/create.js +57 -0
  166. package/dist/api/resources/encounterAttachments/resources/v1/client/delete.d.ts +22 -0
  167. package/dist/api/resources/encounterAttachments/resources/v1/client/delete.js +57 -0
  168. package/dist/api/resources/encounterAttachments/resources/v1/client/get.d.ts +22 -0
  169. package/dist/api/resources/encounterAttachments/resources/v1/client/get.js +57 -0
  170. package/dist/api/resources/encounterAttachments/resources/v1/client/index.d.ts +4 -0
  171. package/dist/api/resources/encounterAttachments/resources/v1/client/index.js +43 -0
  172. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.d.ts +11 -0
  173. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.js +5 -0
  174. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.d.ts +13 -0
  175. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.js +5 -0
  176. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +2 -0
  177. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/index.js +2 -0
  178. package/dist/api/resources/encounterAttachments/resources/v1/index.d.ts +2 -0
  179. package/dist/api/resources/encounterAttachments/resources/v1/index.js +18 -0
  180. package/dist/api/resources/encounterAttachments/resources/v1/types/AttachmentId.d.ts +8 -0
  181. package/dist/api/resources/{commons/types/ChargeCaptureBundleId.js → encounterAttachments/resources/v1/types/AttachmentId.js} +2 -2
  182. package/dist/api/resources/encounterAttachments/resources/v1/types/BaseAttachment.d.ts +11 -0
  183. package/dist/api/resources/encounterAttachments/resources/v1/types/BaseAttachment.js +5 -0
  184. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +8 -0
  185. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js +5 -0
  186. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +7 -0
  187. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +9 -0
  188. package/dist/api/resources/encounterAttachments/resources/v1/types/index.d.ts +4 -0
  189. package/dist/api/resources/encounterAttachments/resources/v1/types/index.js +20 -0
  190. package/dist/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -66
  191. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +20 -78
  192. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +110 -100
  193. package/dist/api/resources/encounters/resources/v4/client/Client.js +115 -105
  194. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +9 -83
  195. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +97 -1
  196. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  197. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  198. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  199. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  200. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  201. package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +1 -21
  202. package/dist/api/resources/guarantor/resources/v1/client/Client.js +4 -24
  203. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  204. package/dist/api/resources/index.d.ts +1 -0
  205. package/dist/api/resources/index.js +3 -2
  206. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  207. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  208. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  209. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  210. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  211. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  212. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  213. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  214. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  215. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  216. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  217. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  218. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  219. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  220. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  221. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  222. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  223. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  224. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  225. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  226. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  227. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  228. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +1 -4
  229. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +4 -7
  230. package/dist/api/resources/superbills/resources/v1/client/Client.js +1 -1
  231. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  232. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  233. package/dist/core/form-data-utils/FormDataWrapper.d.ts +60 -0
  234. package/dist/core/form-data-utils/FormDataWrapper.js +188 -0
  235. package/dist/core/form-data-utils/index.d.ts +1 -0
  236. package/dist/core/form-data-utils/index.js +17 -0
  237. package/dist/core/index.d.ts +1 -0
  238. package/dist/core/index.js +1 -0
  239. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -2
  240. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -2
  241. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +2 -2
  242. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.js +2 -2
  243. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/index.d.ts +0 -1
  244. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/index.js +0 -1
  245. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +20 -0
  246. package/{serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js → dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.js} +6 -8
  247. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.d.ts +14 -0
  248. package/{serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.js → dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.js} +4 -4
  249. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.d.ts +10 -0
  250. package/{serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js → dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.js} +2 -2
  251. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundleStatus.d.ts → ChargeCaptureClaimCreationStatus.d.ts} +2 -2
  252. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.js +41 -0
  253. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.d.ts +16 -0
  254. package/{serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js → dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.js} +5 -5
  255. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +5 -5
  256. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +5 -5
  257. package/dist/serialization/resources/commons/types/{ChargeCaptureBundleId.d.ts → ChargeCaptureClaimCreationId.d.ts} +2 -2
  258. package/{serialization/resources/commons/types/ChargeCaptureBundleId.js → dist/serialization/resources/commons/types/ChargeCaptureClaimCreationId.js} +3 -3
  259. package/dist/serialization/resources/commons/types/index.d.ts +1 -2
  260. package/dist/serialization/resources/commons/types/index.js +1 -2
  261. package/dist/serialization/resources/encounterAttachments/index.d.ts +1 -0
  262. package/dist/serialization/resources/encounterAttachments/index.js +17 -0
  263. package/dist/serialization/resources/encounterAttachments/resources/index.d.ts +1 -0
  264. package/dist/serialization/resources/encounterAttachments/resources/index.js +37 -0
  265. package/dist/serialization/resources/encounterAttachments/resources/v1/client/get.d.ts +11 -0
  266. package/dist/serialization/resources/{chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js → encounterAttachments/resources/v1/client/get.js} +3 -2
  267. package/dist/serialization/resources/encounterAttachments/resources/v1/client/index.d.ts +2 -0
  268. package/dist/serialization/resources/encounterAttachments/resources/v1/client/index.js +41 -0
  269. package/dist/serialization/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.d.ts +13 -0
  270. package/dist/serialization/resources/{commons/types/NotImplementedErrorMessage.js → encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.js} +5 -4
  271. package/dist/serialization/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +1 -0
  272. package/dist/serialization/resources/encounterAttachments/resources/v1/client/requests/index.js +5 -0
  273. package/dist/serialization/resources/encounterAttachments/resources/v1/index.d.ts +2 -0
  274. package/dist/serialization/resources/encounterAttachments/resources/v1/index.js +18 -0
  275. package/dist/serialization/resources/encounterAttachments/resources/v1/types/AttachmentId.d.ts +10 -0
  276. package/dist/serialization/resources/encounterAttachments/resources/v1/types/AttachmentId.js +45 -0
  277. package/dist/serialization/resources/encounterAttachments/resources/v1/types/BaseAttachment.d.ts +18 -0
  278. package/dist/serialization/resources/encounterAttachments/resources/v1/types/BaseAttachment.js +49 -0
  279. package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +16 -0
  280. package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js +49 -0
  281. package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +10 -0
  282. package/dist/serialization/resources/{chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js → encounterAttachments/resources/v1/types/EncounterAttachmentType.js} +2 -2
  283. package/dist/serialization/resources/encounterAttachments/resources/v1/types/index.d.ts +4 -0
  284. package/dist/serialization/resources/encounterAttachments/resources/v1/types/index.js +20 -0
  285. package/dist/serialization/resources/index.d.ts +1 -0
  286. package/dist/serialization/resources/index.js +3 -2
  287. package/dist/version.d.ts +1 -1
  288. package/dist/version.js +1 -1
  289. package/package.json +3 -2
  290. package/reference.md +558 -246
  291. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -2
  292. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -2
  293. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +2 -2
  294. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.js +2 -2
  295. package/serialization/resources/chargeCaptureBundles/resources/v1/index.d.ts +0 -1
  296. package/serialization/resources/chargeCaptureBundles/resources/v1/index.js +0 -1
  297. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +20 -0
  298. package/{dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js → serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.js} +6 -8
  299. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.d.ts +14 -0
  300. package/{dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.js → serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.js} +4 -4
  301. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.d.ts +10 -0
  302. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.js +41 -0
  303. package/serialization/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundleStatus.d.ts → ChargeCaptureClaimCreationStatus.d.ts} +2 -2
  304. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.js +41 -0
  305. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.d.ts +16 -0
  306. package/{dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js → serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.js} +5 -5
  307. package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +5 -5
  308. package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +5 -5
  309. package/serialization/resources/commons/types/{ChargeCaptureBundleId.d.ts → ChargeCaptureClaimCreationId.d.ts} +2 -2
  310. package/{dist/serialization/resources/commons/types/ChargeCaptureBundleId.js → serialization/resources/commons/types/ChargeCaptureClaimCreationId.js} +3 -3
  311. package/serialization/resources/commons/types/index.d.ts +1 -2
  312. package/serialization/resources/commons/types/index.js +1 -2
  313. package/serialization/resources/encounterAttachments/index.d.ts +1 -0
  314. package/serialization/resources/encounterAttachments/index.js +17 -0
  315. package/serialization/resources/encounterAttachments/resources/index.d.ts +1 -0
  316. package/serialization/resources/encounterAttachments/resources/index.js +37 -0
  317. package/serialization/resources/encounterAttachments/resources/v1/client/get.d.ts +11 -0
  318. package/serialization/resources/encounterAttachments/resources/v1/client/get.js +42 -0
  319. package/serialization/resources/encounterAttachments/resources/v1/client/index.d.ts +2 -0
  320. package/serialization/resources/encounterAttachments/resources/v1/client/index.js +41 -0
  321. package/serialization/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.d.ts +13 -0
  322. package/serialization/resources/{commons/types/NotImplementedErrorMessage.js → encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.js} +5 -4
  323. package/serialization/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +1 -0
  324. package/serialization/resources/encounterAttachments/resources/v1/client/requests/index.js +5 -0
  325. package/serialization/resources/encounterAttachments/resources/v1/index.d.ts +2 -0
  326. package/serialization/resources/encounterAttachments/resources/v1/index.js +18 -0
  327. package/serialization/resources/encounterAttachments/resources/v1/types/AttachmentId.d.ts +10 -0
  328. package/serialization/resources/encounterAttachments/resources/v1/types/AttachmentId.js +45 -0
  329. package/serialization/resources/encounterAttachments/resources/v1/types/BaseAttachment.d.ts +18 -0
  330. package/serialization/resources/encounterAttachments/resources/v1/types/BaseAttachment.js +49 -0
  331. package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +16 -0
  332. package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js +49 -0
  333. package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +10 -0
  334. package/serialization/resources/{chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js → encounterAttachments/resources/v1/types/EncounterAttachmentType.js} +2 -2
  335. package/serialization/resources/encounterAttachments/resources/v1/types/index.d.ts +4 -0
  336. package/serialization/resources/encounterAttachments/resources/v1/types/index.js +20 -0
  337. package/serialization/resources/index.d.ts +1 -0
  338. package/serialization/resources/index.js +3 -2
  339. package/version.d.ts +1 -1
  340. package/version.js +1 -1
  341. package/api/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +0 -28
  342. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +0 -22
  343. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +0 -7
  344. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +0 -7
  345. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +0 -15
  346. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +0 -15
  347. package/api/resources/commons/types/ChargeCaptureBundleId.d.ts +0 -8
  348. package/api/resources/commons/types/NotImplementedErrorMessage.d.ts +0 -6
  349. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +0 -28
  350. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +0 -22
  351. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +0 -7
  352. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +0 -7
  353. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +0 -15
  354. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +0 -15
  355. package/dist/api/resources/commons/types/ChargeCaptureBundleId.d.ts +0 -8
  356. package/dist/api/resources/commons/types/NotImplementedErrorMessage.d.ts +0 -6
  357. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +0 -1
  358. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +0 -15
  359. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.js +0 -71
  360. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +0 -22
  361. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +0 -14
  362. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +0 -10
  363. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +0 -16
  364. package/dist/serialization/resources/commons/types/NotImplementedErrorMessage.d.ts +0 -12
  365. package/serialization/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +0 -1
  366. package/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +0 -15
  367. package/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.js +0 -71
  368. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +0 -22
  369. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +0 -14
  370. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +0 -10
  371. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +0 -16
  372. package/serialization/resources/commons/types/NotImplementedErrorMessage.d.ts +0 -12
  373. /package/api/resources/chargeCaptureBundles/resources/v1/client/requests/{GetAllChargeCaptureBundlesRequest.js → GetAllChargeCaptureClaimCreationsRequest.js} +0 -0
  374. /package/api/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundle.js → ChargeCaptureClaimCreation.js} +0 -0
  375. /package/api/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundlePage.js → ChargeCaptureClaimCreationPage.js} +0 -0
  376. /package/api/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundleSummary.js → ChargeCaptureClaimCreationSummary.js} +0 -0
  377. /package/api/resources/{commons/types/NotImplementedErrorMessage.js → encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.js} +0 -0
  378. /package/{dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.js → api/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.js} +0 -0
  379. /package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js → api/resources/encounterAttachments/resources/v1/types/BaseAttachment.js} +0 -0
  380. /package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.js → api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js} +0 -0
  381. /package/dist/api/resources/chargeCaptureBundles/resources/v1/{types/ChargeCaptureBundleSummary.js → client/requests/GetAllChargeCaptureClaimCreationsRequest.js} +0 -0
  382. /package/dist/api/resources/{commons/types/NotImplementedErrorMessage.js → chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.js} +0 -0
@@ -71,7 +71,7 @@ class V3 {
71
71
  const _response = yield core.fetcher({
72
72
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/payers/v3/${encodeURIComponent(serializers.payers.v3.PayerUuid.jsonOrThrow(payerUuid))}`),
73
73
  method: "GET",
74
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
74
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
75
75
  contentType: "application/json",
76
76
  requestType: "json",
77
77
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -123,7 +123,7 @@ class V3 {
123
123
  const _response = yield core.fetcher({
124
124
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/payers/v3"),
125
125
  method: "GET",
126
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
126
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
127
127
  contentType: "application/json",
128
128
  queryParameters: _queryParams,
129
129
  requestType: "json",
@@ -110,7 +110,7 @@ class V1 {
110
110
  const _response = yield core.fetcher({
111
111
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/appointments/v1"),
112
112
  method: "POST",
113
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
113
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
114
114
  contentType: "application/json",
115
115
  requestType: "json",
116
116
  body: serializers.preEncounter.appointments.v1.MutableAppointment.jsonOrThrow(request, {
@@ -192,7 +192,7 @@ class V1 {
192
192
  const _response = yield core.fetcher({
193
193
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/appointments/v1/visits"),
194
194
  method: "GET",
195
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
195
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
196
196
  contentType: "application/json",
197
197
  queryParameters: _queryParams,
198
198
  requestType: "json",
@@ -246,7 +246,7 @@ class V1 {
246
246
  const _response = yield core.fetcher({
247
247
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/appointments/v1/${encodeURIComponent(serializers.preEncounter.AppointmentId.jsonOrThrow(id))}`),
248
248
  method: "GET",
249
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
249
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
250
250
  contentType: "application/json",
251
251
  requestType: "json",
252
252
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -299,7 +299,7 @@ class V1 {
299
299
  const _response = yield core.fetcher({
300
300
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/appointments/v1/${encodeURIComponent(serializers.preEncounter.AppointmentId.jsonOrThrow(id))}/history`),
301
301
  method: "GET",
302
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
302
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
303
303
  contentType: "application/json",
304
304
  requestType: "json",
305
305
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -391,7 +391,7 @@ class V1 {
391
391
  const _response = yield core.fetcher({
392
392
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/appointments/v1/${encodeURIComponent(serializers.preEncounter.AppointmentId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
393
393
  method: "PUT",
394
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
394
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
395
395
  contentType: "application/json",
396
396
  requestType: "json",
397
397
  body: serializers.preEncounter.appointments.v1.MutableAppointment.jsonOrThrow(request, {
@@ -453,7 +453,7 @@ class V1 {
453
453
  const _response = yield core.fetcher({
454
454
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/appointments/v1/updates/scan"),
455
455
  method: "GET",
456
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
456
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
457
457
  contentType: "application/json",
458
458
  queryParameters: _queryParams,
459
459
  requestType: "json",
@@ -494,7 +494,7 @@ class V1 {
494
494
  const _response = yield core.fetcher({
495
495
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/appointments/v1/${encodeURIComponent(serializers.preEncounter.AppointmentId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
496
496
  method: "DELETE",
497
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
497
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
498
498
  contentType: "application/json",
499
499
  requestType: "json",
500
500
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -118,7 +118,7 @@ class V1 {
118
118
  const _response = yield core.fetcher({
119
119
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/coverages/v1"),
120
120
  method: "POST",
121
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
121
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
122
122
  contentType: "application/json",
123
123
  requestType: "json",
124
124
  body: serializers.preEncounter.coverages.v1.MutableCoverage.jsonOrThrow(request, {
@@ -207,7 +207,7 @@ class V1 {
207
207
  const _response = yield core.fetcher({
208
208
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/coverages/v1/${encodeURIComponent(serializers.preEncounter.CoverageId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
209
209
  method: "PUT",
210
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
210
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
211
211
  contentType: "application/json",
212
212
  requestType: "json",
213
213
  body: serializers.preEncounter.coverages.v1.MutableCoverage.jsonOrThrow(request, {
@@ -283,7 +283,7 @@ class V1 {
283
283
  const _response = yield core.fetcher({
284
284
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/coverages/v1/get-multi-paginated"),
285
285
  method: "GET",
286
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
286
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
287
287
  contentType: "application/json",
288
288
  queryParameters: _queryParams,
289
289
  requestType: "json",
@@ -337,7 +337,7 @@ class V1 {
337
337
  const _response = yield core.fetcher({
338
338
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/coverages/v1/${encodeURIComponent(serializers.preEncounter.CoverageId.jsonOrThrow(id))}`),
339
339
  method: "GET",
340
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
340
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
341
341
  contentType: "application/json",
342
342
  requestType: "json",
343
343
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -376,7 +376,7 @@ class V1 {
376
376
  const _response = yield core.fetcher({
377
377
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/coverages/v1/${encodeURIComponent(serializers.preEncounter.CoverageId.jsonOrThrow(id))}/history`),
378
378
  method: "GET",
379
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
379
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
380
380
  contentType: "application/json",
381
381
  requestType: "json",
382
382
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -436,7 +436,7 @@ class V1 {
436
436
  const _response = yield core.fetcher({
437
437
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/coverages/v1"),
438
438
  method: "GET",
439
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
439
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
440
440
  contentType: "application/json",
441
441
  queryParameters: _queryParams,
442
442
  requestType: "json",
@@ -481,7 +481,7 @@ class V1 {
481
481
  const _response = yield core.fetcher({
482
482
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/coverages/v1/updates/scan"),
483
483
  method: "GET",
484
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
484
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
485
485
  contentType: "application/json",
486
486
  queryParameters: _queryParams,
487
487
  requestType: "json",
@@ -527,7 +527,7 @@ class V1 {
527
527
  const _response = yield core.fetcher({
528
528
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/coverages/v1/batch-update-ppg/${encodeURIComponent(serializers.preEncounter.PayerPlanGroupId.jsonOrThrow(ppgId))}`),
529
529
  method: "POST",
530
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
530
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
531
531
  contentType: "application/json",
532
532
  requestType: "json",
533
533
  body: serializers.preEncounter.coverages.v1.PayerPlanGroupFields.jsonOrThrow(request, {
@@ -569,7 +569,7 @@ class V1 {
569
569
  const _response = yield core.fetcher({
570
570
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/coverages/v1/${encodeURIComponent(serializers.preEncounter.CoverageId.jsonOrThrow(id))}/eligibility`),
571
571
  method: "POST",
572
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
572
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
573
573
  contentType: "application/json",
574
574
  requestType: "json",
575
575
  body: serializers.preEncounter.coverages.v1.CheckEligibilityRequest.jsonOrThrow(request, {
@@ -612,7 +612,7 @@ class V1 {
612
612
  const _response = yield core.fetcher({
613
613
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/coverages/v1/${encodeURIComponent(serializers.preEncounter.CoverageId.jsonOrThrow(id))}/eligibility/${encodeURIComponent(checkId)}`),
614
614
  method: "GET",
615
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
615
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
616
616
  contentType: "application/json",
617
617
  requestType: "json",
618
618
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -97,7 +97,7 @@ class V1 {
97
97
  const _response = yield core.fetcher({
98
98
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/eligibility-checks/v1"),
99
99
  method: "POST",
100
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
100
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
101
101
  contentType: "application/json",
102
102
  requestType: "json",
103
103
  body: serializers.preEncounter.eligibilityChecks.v1.EligibilityRequest.jsonOrThrow(request, {
@@ -86,7 +86,7 @@ class V1 {
86
86
  const _response = yield core.fetcher({
87
87
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/images/v1"),
88
88
  method: "POST",
89
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
89
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
90
90
  contentType: "application/json",
91
91
  requestType: "json",
92
92
  body: serializers.preEncounter.images.v1.MutableImage.jsonOrThrow(request, {
@@ -142,7 +142,7 @@ class V1 {
142
142
  const _response = yield core.fetcher({
143
143
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/images/v1/${encodeURIComponent(serializers.preEncounter.images.v1.ImageId.jsonOrThrow(id))}`),
144
144
  method: "GET",
145
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
145
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
146
146
  contentType: "application/json",
147
147
  requestType: "json",
148
148
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -210,7 +210,7 @@ class V1 {
210
210
  const _response = yield core.fetcher({
211
211
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/images/v1/${encodeURIComponent(serializers.preEncounter.images.v1.ImageId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
212
212
  method: "PUT",
213
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
213
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
214
214
  contentType: "application/json",
215
215
  requestType: "json",
216
216
  body: serializers.preEncounter.images.v1.MutableImage.jsonOrThrow(request, {
@@ -268,7 +268,7 @@ class V1 {
268
268
  const _response = yield core.fetcher({
269
269
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/images/v1/${encodeURIComponent(serializers.preEncounter.images.v1.ImageId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
270
270
  method: "DELETE",
271
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
271
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
272
272
  contentType: "application/json",
273
273
  requestType: "json",
274
274
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -328,7 +328,7 @@ class V1 {
328
328
  const _response = yield core.fetcher({
329
329
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/images/v1"),
330
330
  method: "GET",
331
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
331
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
332
332
  contentType: "application/json",
333
333
  queryParameters: _queryParams,
334
334
  requestType: "json",
@@ -98,7 +98,7 @@ class V1 {
98
98
  const _response = yield core.fetcher({
99
99
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/lists/v1/patient"),
100
100
  method: "GET",
101
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
101
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
102
102
  contentType: "application/json",
103
103
  queryParameters: _queryParams,
104
104
  requestType: "json",
@@ -177,7 +177,7 @@ class V1 {
177
177
  const _response = yield core.fetcher({
178
178
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/lists/v1/appointment"),
179
179
  method: "GET",
180
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
180
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
181
181
  contentType: "application/json",
182
182
  queryParameters: _queryParams,
183
183
  requestType: "json",
@@ -73,7 +73,7 @@ class V1 {
73
73
  const _response = yield core.fetcher({
74
74
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/notes/v1/${encodeURIComponent(serializers.preEncounter.NoteId.jsonOrThrow(id))}`),
75
75
  method: "GET",
76
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
76
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
77
77
  contentType: "application/json",
78
78
  requestType: "json",
79
79
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -116,7 +116,7 @@ class V1 {
116
116
  const _response = yield core.fetcher({
117
117
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/notes/v1"),
118
118
  method: "POST",
119
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
119
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
120
120
  contentType: "application/json",
121
121
  requestType: "json",
122
122
  body: serializers.preEncounter.notes.v1.MutableNote.jsonOrThrow(request, {
@@ -164,7 +164,7 @@ class V1 {
164
164
  const _response = yield core.fetcher({
165
165
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/notes/v1/${encodeURIComponent(serializers.preEncounter.NoteId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
166
166
  method: "PUT",
167
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
167
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
168
168
  contentType: "application/json",
169
169
  requestType: "json",
170
170
  body: serializers.preEncounter.notes.v1.MutableNote.jsonOrThrow(request, {
@@ -207,7 +207,7 @@ class V1 {
207
207
  const _response = yield core.fetcher({
208
208
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/notes/v1/${encodeURIComponent(serializers.preEncounter.NoteId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
209
209
  method: "DELETE",
210
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
210
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
211
211
  contentType: "application/json",
212
212
  requestType: "json",
213
213
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -260,7 +260,7 @@ class V1 {
260
260
  const _response = yield core.fetcher({
261
261
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/patients/v1"),
262
262
  method: "POST",
263
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
263
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
264
264
  contentType: "application/json",
265
265
  queryParameters: _queryParams,
266
266
  requestType: "json",
@@ -505,7 +505,7 @@ class V1 {
505
505
  const _response = yield core.fetcher({
506
506
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/patients/v1/with_mrn"),
507
507
  method: "POST",
508
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
508
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
509
509
  contentType: "application/json",
510
510
  queryParameters: _queryParams,
511
511
  requestType: "json",
@@ -588,7 +588,7 @@ class V1 {
588
588
  const _response = yield core.fetcher({
589
589
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/patients/v1/get_multi"),
590
590
  method: "GET",
591
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
591
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
592
592
  contentType: "application/json",
593
593
  queryParameters: _queryParams,
594
594
  requestType: "json",
@@ -633,7 +633,7 @@ class V1 {
633
633
  const _response = yield core.fetcher({
634
634
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/patients/v1/search_providers"),
635
635
  method: "GET",
636
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
636
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
637
637
  contentType: "application/json",
638
638
  queryParameters: _queryParams,
639
639
  requestType: "json",
@@ -673,7 +673,7 @@ class V1 {
673
673
  const _response = yield core.fetcher({
674
674
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/patients/v1/${encodeURIComponent(serializers.preEncounter.PatientId.jsonOrThrow(id))}`),
675
675
  method: "GET",
676
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
676
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
677
677
  contentType: "application/json",
678
678
  requestType: "json",
679
679
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -726,7 +726,7 @@ class V1 {
726
726
  const _response = yield core.fetcher({
727
727
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/patients/v1/${encodeURIComponent(serializers.preEncounter.PatientId.jsonOrThrow(id))}/history`),
728
728
  method: "GET",
729
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
729
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
730
730
  contentType: "application/json",
731
731
  requestType: "json",
732
732
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -960,7 +960,7 @@ class V1 {
960
960
  const _response = yield core.fetcher({
961
961
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/patients/v1/${encodeURIComponent(serializers.preEncounter.PatientId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
962
962
  method: "PUT",
963
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
963
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
964
964
  contentType: "application/json",
965
965
  requestType: "json",
966
966
  body: serializers.preEncounter.patients.v1.MutablePatient.jsonOrThrow(request, {
@@ -1018,7 +1018,7 @@ class V1 {
1018
1018
  const _response = yield core.fetcher({
1019
1019
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/patients/v1/${encodeURIComponent(serializers.preEncounter.PatientId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
1020
1020
  method: "DELETE",
1021
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1021
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1022
1022
  contentType: "application/json",
1023
1023
  requestType: "json",
1024
1024
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1068,7 +1068,7 @@ class V1 {
1068
1068
  const _response = yield core.fetcher({
1069
1069
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/patients/v1/${encodeURIComponent(serializers.preEncounter.PatientId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
1070
1070
  method: "PATCH",
1071
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1071
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1072
1072
  contentType: "application/json",
1073
1073
  requestType: "json",
1074
1074
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1128,7 +1128,7 @@ class V1 {
1128
1128
  const _response = yield core.fetcher({
1129
1129
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/patients/v1"),
1130
1130
  method: "GET",
1131
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1131
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1132
1132
  contentType: "application/json",
1133
1133
  queryParameters: _queryParams,
1134
1134
  requestType: "json",
@@ -1173,7 +1173,7 @@ class V1 {
1173
1173
  const _response = yield core.fetcher({
1174
1174
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/patients/v1/updates/scan"),
1175
1175
  method: "GET",
1176
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1176
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1177
1177
  contentType: "application/json",
1178
1178
  queryParameters: _queryParams,
1179
1179
  requestType: "json",
@@ -73,7 +73,7 @@ class V1 {
73
73
  const _response = yield core.fetcher({
74
74
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/tags/v1/${encodeURIComponent(serializers.preEncounter.TagId.jsonOrThrow(id))}`),
75
75
  method: "GET",
76
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
76
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
77
77
  contentType: "application/json",
78
78
  requestType: "json",
79
79
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -123,7 +123,7 @@ class V1 {
123
123
  const _response = yield core.fetcher({
124
124
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/tags/v1"),
125
125
  method: "GET",
126
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
126
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
127
127
  contentType: "application/json",
128
128
  queryParameters: _queryParams,
129
129
  requestType: "json",
@@ -165,7 +165,7 @@ class V1 {
165
165
  const _response = yield core.fetcher({
166
166
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/tags/v1"),
167
167
  method: "POST",
168
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
168
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
169
169
  contentType: "application/json",
170
170
  requestType: "json",
171
171
  body: serializers.preEncounter.tags.v1.MutableTag.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -209,7 +209,7 @@ class V1 {
209
209
  const _response = yield core.fetcher({
210
210
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/tags/v1/${encodeURIComponent(serializers.preEncounter.TagId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
211
211
  method: "PUT",
212
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
212
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
213
213
  contentType: "application/json",
214
214
  requestType: "json",
215
215
  body: serializers.preEncounter.tags.v1.MutableTag.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -250,7 +250,7 @@ class V1 {
250
250
  const _response = yield core.fetcher({
251
251
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/tags/v1/${encodeURIComponent(serializers.preEncounter.TagId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
252
252
  method: "DELETE",
253
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
253
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
254
254
  contentType: "application/json",
255
255
  requestType: "json",
256
256
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -82,7 +82,7 @@ class ServiceFacility {
82
82
  const _response = yield core.fetcher({
83
83
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/service_facility/v2/${encodeURIComponent(serializers.ServiceFacilityId.jsonOrThrow(serviceFacilityId))}`),
84
84
  method: "PATCH",
85
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
85
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
86
86
  contentType: "application/json",
87
87
  requestType: "json",
88
88
  body: serializers.EncounterServiceFacilityUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -68,10 +68,7 @@ export declare class V2 {
68
68
  * state: "NY",
69
69
  * zipCode: "10001",
70
70
  * zipPlusFourCode: "1234"
71
- * },
72
- * firstName: "string",
73
- * lastName: "string",
74
- * organizationName: "string"
71
+ * }
75
72
  * },
76
73
  * testResults: [{
77
74
  * value: 1.1,
@@ -101,10 +101,7 @@ class V2 {
101
101
  * state: "NY",
102
102
  * zipCode: "10001",
103
103
  * zipPlusFourCode: "1234"
104
- * },
105
- * firstName: "string",
106
- * lastName: "string",
107
- * organizationName: "string"
104
+ * }
108
105
  * },
109
106
  * testResults: [{
110
107
  * value: 1.1,
@@ -120,7 +117,7 @@ class V2 {
120
117
  const _response = yield core.fetcher({
121
118
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/service-lines/v2"),
122
119
  method: "POST",
123
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
120
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
124
121
  contentType: "application/json",
125
122
  requestType: "json",
126
123
  body: serializers.serviceLines.v2.ServiceLineCreateStandalone.jsonOrThrow(request, {
@@ -209,7 +206,7 @@ class V2 {
209
206
  const _response = yield core.fetcher({
210
207
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/service-lines/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}`),
211
208
  method: "PATCH",
212
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
209
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
213
210
  contentType: "application/json",
214
211
  requestType: "json",
215
212
  body: serializers.serviceLines.v2.ServiceLineUpdate.jsonOrThrow(request, {
@@ -265,7 +262,7 @@ class V2 {
265
262
  const _response = yield core.fetcher({
266
263
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/service-lines/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}`),
267
264
  method: "DELETE",
268
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
265
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
269
266
  contentType: "application/json",
270
267
  requestType: "json",
271
268
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,