candidhealth 0.42.5 → 0.43.1

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 (410) 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 +5 -6
  6. package/api/resources/chargeCapture/resources/v1/client/Client.js +25 -28
  7. package/api/resources/chargeCapture/resources/v1/client/create.d.ts +7 -1
  8. package/api/resources/chargeCapture/resources/v1/client/create.js +11 -0
  9. package/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
  10. package/api/resources/chargeCapture/resources/v1/client/index.js +2 -2
  11. package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +8 -0
  12. package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +6 -11
  13. package/api/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.d.ts → updatePostBilledChanges.d.ts} +6 -6
  14. package/{dist/api/resources/chargeCapture/resources/v1/client/updatePostBilledChange.js → api/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.js} +3 -3
  15. package/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +1 -1
  16. package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +5 -5
  17. package/api/resources/{commons/types/NotImplementedErrorMessage.d.ts → chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts} +1 -1
  18. package/api/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
  19. package/api/resources/chargeCapture/resources/v1/types/index.js +1 -0
  20. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +8 -16
  21. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +26 -76
  22. package/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +0 -1
  23. package/api/resources/chargeCaptureBundles/resources/v1/client/index.js +1 -2
  24. package/api/resources/chargeCaptureBundles/resources/v1/client/requests/{GetAllChargeCaptureBundlesRequest.d.ts → GetAllChargeCaptureClaimCreationsRequest.d.ts} +17 -17
  25. package/api/resources/chargeCaptureBundles/resources/v1/client/requests/index.d.ts +1 -1
  26. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +22 -0
  27. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.d.ts +7 -0
  28. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.d.ts +7 -0
  29. package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js → api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.js} +2 -2
  30. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.d.ts +15 -0
  31. package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js → api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.js} +2 -2
  32. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.d.ts +15 -0
  33. package/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +5 -5
  34. package/api/resources/chargeCaptureBundles/resources/v1/types/index.js +5 -5
  35. package/api/resources/commons/types/ChargeCaptureClaimCreationId.d.ts +8 -0
  36. package/api/resources/commons/types/ChargeCaptureClaimCreationId.js +9 -0
  37. package/api/resources/commons/types/index.d.ts +1 -2
  38. package/api/resources/commons/types/index.js +1 -2
  39. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  40. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  41. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  42. package/api/resources/diagnoses/client/Client.js +3 -3
  43. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  44. package/api/resources/encounterAttachments/client/Client.d.ts +30 -0
  45. package/api/resources/encounterAttachments/client/Client.js +17 -0
  46. package/api/resources/encounterAttachments/client/index.d.ts +1 -0
  47. package/api/resources/encounterAttachments/client/index.js +2 -0
  48. package/api/resources/encounterAttachments/index.d.ts +2 -0
  49. package/api/resources/encounterAttachments/index.js +18 -0
  50. package/api/resources/encounterAttachments/resources/index.d.ts +1 -0
  51. package/{dist/serialization/resources/chargeCaptureBundles/resources/v1/client → api/resources/encounterAttachments/resources}/index.js +2 -2
  52. package/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +63 -0
  53. package/api/resources/encounterAttachments/resources/v1/client/Client.js +195 -0
  54. package/api/resources/encounterAttachments/resources/v1/client/create.d.ts +22 -0
  55. package/{dist/api/resources/chargeCaptureBundles/resources/v1/client/resubmit.js → api/resources/encounterAttachments/resources/v1/client/create.js} +1 -12
  56. package/api/resources/encounterAttachments/resources/v1/client/delete.d.ts +22 -0
  57. package/api/resources/{chargeCaptureBundles/resources/v1/client/resubmit.js → encounterAttachments/resources/v1/client/delete.js} +1 -12
  58. package/api/resources/encounterAttachments/resources/v1/client/get.d.ts +22 -0
  59. package/api/resources/encounterAttachments/resources/v1/client/get.js +57 -0
  60. package/api/resources/encounterAttachments/resources/v1/client/index.d.ts +4 -0
  61. package/api/resources/encounterAttachments/resources/v1/client/index.js +43 -0
  62. package/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.d.ts +11 -0
  63. package/api/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.d.ts +13 -0
  64. package/api/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +2 -0
  65. package/api/resources/encounterAttachments/resources/v1/client/requests/index.js +2 -0
  66. package/api/resources/encounterAttachments/resources/v1/index.d.ts +2 -0
  67. package/api/resources/encounterAttachments/resources/v1/index.js +18 -0
  68. package/api/resources/encounterAttachments/resources/v1/types/AttachmentId.d.ts +8 -0
  69. package/api/resources/{commons/types/ChargeCaptureBundleId.js → encounterAttachments/resources/v1/types/AttachmentId.js} +2 -2
  70. package/api/resources/encounterAttachments/resources/v1/types/BaseAttachment.d.ts +11 -0
  71. package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +8 -0
  72. package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +9 -0
  73. package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +11 -0
  74. package/api/resources/encounterAttachments/resources/v1/types/index.d.ts +4 -0
  75. package/api/resources/encounterAttachments/resources/v1/types/index.js +20 -0
  76. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  77. package/api/resources/encounters/resources/v4/client/Client.js +5 -5
  78. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  79. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  80. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  81. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  82. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  83. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  84. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  85. package/api/resources/index.d.ts +1 -0
  86. package/api/resources/index.js +3 -2
  87. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  88. package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  89. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  90. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  91. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  92. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  93. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  94. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  95. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  96. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  97. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  98. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  99. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  100. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  101. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  102. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  103. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  104. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  105. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  106. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  107. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  108. package/api/resources/serviceFacility/client/Client.js +1 -1
  109. package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  110. package/api/resources/superbills/resources/v1/client/Client.js +1 -1
  111. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  112. package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  113. package/core/form-data-utils/FormDataWrapper.d.ts +60 -0
  114. package/core/form-data-utils/FormDataWrapper.js +188 -0
  115. package/core/form-data-utils/index.d.ts +1 -0
  116. package/core/form-data-utils/index.js +17 -0
  117. package/core/index.d.ts +1 -0
  118. package/core/index.js +1 -0
  119. package/dist/Client.d.ts +3 -0
  120. package/dist/Client.js +61 -56
  121. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  122. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  123. package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -6
  124. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +25 -28
  125. package/dist/api/resources/chargeCapture/resources/v1/client/create.d.ts +7 -1
  126. package/dist/api/resources/chargeCapture/resources/v1/client/create.js +11 -0
  127. package/dist/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
  128. package/dist/api/resources/chargeCapture/resources/v1/client/index.js +2 -2
  129. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +8 -0
  130. package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +6 -11
  131. package/dist/api/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.d.ts → updatePostBilledChanges.d.ts} +6 -6
  132. package/{api/resources/chargeCapture/resources/v1/client/updatePostBilledChange.js → dist/api/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.js} +3 -3
  133. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +1 -1
  134. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +5 -5
  135. package/dist/api/resources/{commons/types/NotImplementedErrorMessage.d.ts → chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts} +1 -1
  136. package/dist/api/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
  137. package/dist/api/resources/chargeCapture/resources/v1/types/index.js +1 -0
  138. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +8 -16
  139. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +26 -76
  140. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +0 -1
  141. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.js +1 -2
  142. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/{GetAllChargeCaptureBundlesRequest.d.ts → GetAllChargeCaptureClaimCreationsRequest.d.ts} +17 -17
  143. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.js +5 -0
  144. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/index.d.ts +1 -1
  145. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +22 -0
  146. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.js +5 -0
  147. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.d.ts +7 -0
  148. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.js +5 -0
  149. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.d.ts +7 -0
  150. package/{api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js → dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.js} +2 -2
  151. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.d.ts +15 -0
  152. package/{api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js → dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.js} +2 -2
  153. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.d.ts +15 -0
  154. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.js +5 -0
  155. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +5 -5
  156. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.js +5 -5
  157. package/dist/api/resources/commons/types/ChargeCaptureClaimCreationId.d.ts +8 -0
  158. package/dist/api/resources/commons/types/ChargeCaptureClaimCreationId.js +9 -0
  159. package/dist/api/resources/commons/types/index.d.ts +1 -2
  160. package/dist/api/resources/commons/types/index.js +1 -2
  161. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  162. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  163. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  164. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  165. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  166. package/dist/api/resources/encounterAttachments/client/Client.d.ts +30 -0
  167. package/dist/api/resources/encounterAttachments/client/Client.js +17 -0
  168. package/dist/api/resources/encounterAttachments/client/index.d.ts +1 -0
  169. package/dist/api/resources/encounterAttachments/client/index.js +2 -0
  170. package/dist/api/resources/encounterAttachments/index.d.ts +2 -0
  171. package/dist/api/resources/encounterAttachments/index.js +18 -0
  172. package/dist/api/resources/encounterAttachments/resources/index.d.ts +1 -0
  173. package/{serialization/resources/chargeCaptureBundles/resources/v1/client → dist/api/resources/encounterAttachments/resources}/index.js +2 -2
  174. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +63 -0
  175. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +195 -0
  176. package/dist/api/resources/encounterAttachments/resources/v1/client/create.d.ts +22 -0
  177. package/dist/api/resources/encounterAttachments/resources/v1/client/create.js +57 -0
  178. package/dist/api/resources/encounterAttachments/resources/v1/client/delete.d.ts +22 -0
  179. package/dist/api/resources/encounterAttachments/resources/v1/client/delete.js +57 -0
  180. package/dist/api/resources/encounterAttachments/resources/v1/client/get.d.ts +22 -0
  181. package/dist/api/resources/encounterAttachments/resources/v1/client/get.js +57 -0
  182. package/dist/api/resources/encounterAttachments/resources/v1/client/index.d.ts +4 -0
  183. package/dist/api/resources/encounterAttachments/resources/v1/client/index.js +43 -0
  184. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.d.ts +11 -0
  185. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.js +5 -0
  186. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.d.ts +13 -0
  187. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.js +5 -0
  188. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +2 -0
  189. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/index.js +2 -0
  190. package/dist/api/resources/encounterAttachments/resources/v1/index.d.ts +2 -0
  191. package/dist/api/resources/encounterAttachments/resources/v1/index.js +18 -0
  192. package/dist/api/resources/encounterAttachments/resources/v1/types/AttachmentId.d.ts +8 -0
  193. package/dist/api/resources/{commons/types/ChargeCaptureBundleId.js → encounterAttachments/resources/v1/types/AttachmentId.js} +2 -2
  194. package/dist/api/resources/encounterAttachments/resources/v1/types/BaseAttachment.d.ts +11 -0
  195. package/dist/api/resources/encounterAttachments/resources/v1/types/BaseAttachment.js +5 -0
  196. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +8 -0
  197. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js +5 -0
  198. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +9 -0
  199. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +11 -0
  200. package/dist/api/resources/encounterAttachments/resources/v1/types/index.d.ts +4 -0
  201. package/dist/api/resources/encounterAttachments/resources/v1/types/index.js +20 -0
  202. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  203. package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -5
  204. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  205. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  206. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  207. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  208. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  209. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  210. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  211. package/dist/api/resources/index.d.ts +1 -0
  212. package/dist/api/resources/index.js +3 -2
  213. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  214. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  215. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  216. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  217. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  218. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  219. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  220. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  221. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  222. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  223. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  224. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  225. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  226. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  227. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  228. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  229. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  230. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  231. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  232. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  233. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  234. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  235. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  236. package/dist/api/resources/superbills/resources/v1/client/Client.js +1 -1
  237. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  238. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  239. package/dist/core/form-data-utils/FormDataWrapper.d.ts +60 -0
  240. package/dist/core/form-data-utils/FormDataWrapper.js +188 -0
  241. package/dist/core/form-data-utils/index.d.ts +1 -0
  242. package/dist/core/form-data-utils/index.js +17 -0
  243. package/dist/core/index.d.ts +1 -0
  244. package/dist/core/index.js +1 -0
  245. package/dist/serialization/resources/chargeCapture/resources/v1/client/create.d.ts +6 -1
  246. package/dist/serialization/resources/chargeCapture/resources/v1/client/create.js +6 -0
  247. package/dist/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
  248. package/dist/serialization/resources/chargeCapture/resources/v1/client/index.js +2 -2
  249. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +2 -0
  250. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.js +2 -0
  251. package/{serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChange.d.ts → dist/serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.d.ts} +6 -1
  252. package/{serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChange.js → dist/serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.js} +5 -3
  253. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -2
  254. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -2
  255. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +2 -2
  256. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.js +2 -2
  257. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +12 -0
  258. package/{serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js → dist/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js} +4 -2
  259. package/dist/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
  260. package/dist/serialization/resources/chargeCapture/resources/v1/types/index.js +1 -0
  261. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/index.d.ts +0 -1
  262. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/index.js +0 -1
  263. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +22 -0
  264. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundle.js → ChargeCaptureClaimCreation.js} +9 -9
  265. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.d.ts +14 -0
  266. package/{serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.js → dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.js} +4 -4
  267. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.d.ts +10 -0
  268. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundleStatus.js → ChargeCaptureClaimCreationSortField.js} +2 -2
  269. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundleStatus.d.ts → ChargeCaptureClaimCreationStatus.d.ts} +2 -2
  270. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.js +41 -0
  271. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.d.ts +16 -0
  272. package/{serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js → dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.js} +5 -5
  273. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +5 -5
  274. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +5 -5
  275. package/dist/serialization/resources/commons/types/{ChargeCaptureBundleId.d.ts → ChargeCaptureClaimCreationId.d.ts} +2 -2
  276. package/dist/serialization/resources/commons/types/{ChargeCaptureBundleId.js → ChargeCaptureClaimCreationId.js} +3 -3
  277. package/dist/serialization/resources/commons/types/index.d.ts +1 -2
  278. package/dist/serialization/resources/commons/types/index.js +1 -2
  279. package/dist/serialization/resources/encounterAttachments/index.d.ts +1 -0
  280. package/dist/serialization/resources/encounterAttachments/index.js +17 -0
  281. package/dist/serialization/resources/encounterAttachments/resources/index.d.ts +1 -0
  282. package/dist/serialization/resources/encounterAttachments/resources/index.js +37 -0
  283. package/dist/serialization/resources/encounterAttachments/resources/v1/client/get.d.ts +11 -0
  284. package/dist/serialization/resources/encounterAttachments/resources/v1/client/get.js +42 -0
  285. package/dist/serialization/resources/encounterAttachments/resources/v1/client/index.d.ts +2 -0
  286. package/dist/serialization/resources/encounterAttachments/resources/v1/client/index.js +41 -0
  287. package/dist/serialization/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.d.ts +13 -0
  288. package/dist/serialization/resources/{commons/types/NotImplementedErrorMessage.js → encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.js} +5 -4
  289. package/dist/serialization/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +1 -0
  290. package/dist/serialization/resources/encounterAttachments/resources/v1/client/requests/index.js +5 -0
  291. package/dist/serialization/resources/encounterAttachments/resources/v1/index.d.ts +2 -0
  292. package/dist/serialization/resources/encounterAttachments/resources/v1/index.js +18 -0
  293. package/dist/serialization/resources/encounterAttachments/resources/v1/types/AttachmentId.d.ts +10 -0
  294. package/dist/serialization/resources/encounterAttachments/resources/v1/types/AttachmentId.js +45 -0
  295. package/dist/serialization/resources/encounterAttachments/resources/v1/types/BaseAttachment.d.ts +18 -0
  296. package/dist/serialization/resources/encounterAttachments/resources/v1/types/BaseAttachment.js +49 -0
  297. package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +16 -0
  298. package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js +49 -0
  299. package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +10 -0
  300. package/{serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js → dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js} +2 -2
  301. package/dist/serialization/resources/encounterAttachments/resources/v1/types/index.d.ts +4 -0
  302. package/dist/serialization/resources/encounterAttachments/resources/v1/types/index.js +20 -0
  303. package/dist/serialization/resources/index.d.ts +1 -0
  304. package/dist/serialization/resources/index.js +3 -2
  305. package/dist/version.d.ts +1 -1
  306. package/dist/version.js +1 -1
  307. package/package.json +3 -2
  308. package/reference.md +209 -74
  309. package/serialization/resources/chargeCapture/resources/v1/client/create.d.ts +6 -1
  310. package/serialization/resources/chargeCapture/resources/v1/client/create.js +6 -0
  311. package/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
  312. package/serialization/resources/chargeCapture/resources/v1/client/index.js +2 -2
  313. package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +2 -0
  314. package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.js +2 -0
  315. package/{dist/serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChange.d.ts → serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.d.ts} +6 -1
  316. package/{dist/serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChange.js → serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.js} +5 -3
  317. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -2
  318. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -2
  319. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +2 -2
  320. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.js +2 -2
  321. package/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +12 -0
  322. package/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js +43 -0
  323. package/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
  324. package/serialization/resources/chargeCapture/resources/v1/types/index.js +1 -0
  325. package/serialization/resources/chargeCaptureBundles/resources/v1/index.d.ts +0 -1
  326. package/serialization/resources/chargeCaptureBundles/resources/v1/index.js +0 -1
  327. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +22 -0
  328. package/serialization/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundle.js → ChargeCaptureClaimCreation.js} +9 -9
  329. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.d.ts +14 -0
  330. package/{dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.js → serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.js} +4 -4
  331. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.d.ts +10 -0
  332. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.js +41 -0
  333. package/serialization/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundleStatus.d.ts → ChargeCaptureClaimCreationStatus.d.ts} +2 -2
  334. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.js +41 -0
  335. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.d.ts +16 -0
  336. package/{dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js → serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.js} +5 -5
  337. package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +5 -5
  338. package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +5 -5
  339. package/serialization/resources/commons/types/{ChargeCaptureBundleId.d.ts → ChargeCaptureClaimCreationId.d.ts} +2 -2
  340. package/serialization/resources/commons/types/{ChargeCaptureBundleId.js → ChargeCaptureClaimCreationId.js} +3 -3
  341. package/serialization/resources/commons/types/index.d.ts +1 -2
  342. package/serialization/resources/commons/types/index.js +1 -2
  343. package/serialization/resources/encounterAttachments/index.d.ts +1 -0
  344. package/serialization/resources/encounterAttachments/index.js +17 -0
  345. package/serialization/resources/encounterAttachments/resources/index.d.ts +1 -0
  346. package/serialization/resources/encounterAttachments/resources/index.js +37 -0
  347. package/serialization/resources/encounterAttachments/resources/v1/client/get.d.ts +11 -0
  348. package/serialization/resources/encounterAttachments/resources/v1/client/get.js +42 -0
  349. package/serialization/resources/encounterAttachments/resources/v1/client/index.d.ts +2 -0
  350. package/serialization/resources/encounterAttachments/resources/v1/client/index.js +41 -0
  351. package/serialization/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.d.ts +13 -0
  352. package/serialization/resources/{commons/types/NotImplementedErrorMessage.js → encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.js} +5 -4
  353. package/serialization/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +1 -0
  354. package/serialization/resources/encounterAttachments/resources/v1/client/requests/index.js +5 -0
  355. package/serialization/resources/encounterAttachments/resources/v1/index.d.ts +2 -0
  356. package/serialization/resources/encounterAttachments/resources/v1/index.js +18 -0
  357. package/serialization/resources/encounterAttachments/resources/v1/types/AttachmentId.d.ts +10 -0
  358. package/serialization/resources/encounterAttachments/resources/v1/types/AttachmentId.js +45 -0
  359. package/serialization/resources/encounterAttachments/resources/v1/types/BaseAttachment.d.ts +18 -0
  360. package/serialization/resources/encounterAttachments/resources/v1/types/BaseAttachment.js +49 -0
  361. package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +16 -0
  362. package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js +49 -0
  363. package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +10 -0
  364. package/{dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js → serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js} +2 -2
  365. package/serialization/resources/encounterAttachments/resources/v1/types/index.d.ts +4 -0
  366. package/serialization/resources/encounterAttachments/resources/v1/types/index.js +20 -0
  367. package/serialization/resources/index.d.ts +1 -0
  368. package/serialization/resources/index.js +3 -2
  369. package/version.d.ts +1 -1
  370. package/version.js +1 -1
  371. package/api/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +0 -28
  372. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +0 -22
  373. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +0 -7
  374. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +0 -7
  375. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +0 -15
  376. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +0 -15
  377. package/api/resources/commons/types/ChargeCaptureBundleId.d.ts +0 -8
  378. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +0 -28
  379. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +0 -22
  380. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +0 -7
  381. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +0 -7
  382. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +0 -15
  383. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +0 -15
  384. package/dist/api/resources/commons/types/ChargeCaptureBundleId.d.ts +0 -8
  385. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +0 -1
  386. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +0 -15
  387. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.js +0 -71
  388. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +0 -22
  389. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +0 -14
  390. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +0 -10
  391. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +0 -16
  392. package/dist/serialization/resources/commons/types/NotImplementedErrorMessage.d.ts +0 -12
  393. package/serialization/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +0 -1
  394. package/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +0 -15
  395. package/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.js +0 -71
  396. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +0 -22
  397. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +0 -14
  398. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +0 -10
  399. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +0 -16
  400. package/serialization/resources/commons/types/NotImplementedErrorMessage.d.ts +0 -12
  401. /package/api/resources/{chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.js → chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js} +0 -0
  402. /package/api/resources/chargeCaptureBundles/resources/v1/{types/ChargeCaptureBundle.js → client/requests/GetAllChargeCaptureClaimCreationsRequest.js} +0 -0
  403. /package/api/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundlePage.js → ChargeCaptureClaimCreation.js} +0 -0
  404. /package/api/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundleSummary.js → ChargeCaptureClaimCreationPage.js} +0 -0
  405. /package/api/resources/{commons/types/NotImplementedErrorMessage.js → chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.js} +0 -0
  406. /package/{dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.js → api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.js} +0 -0
  407. /package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js → api/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.js} +0 -0
  408. /package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.js → api/resources/encounterAttachments/resources/v1/types/BaseAttachment.js} +0 -0
  409. /package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js → api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js} +0 -0
  410. /package/dist/api/resources/{commons/types/NotImplementedErrorMessage.js → chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js} +0 -0
@@ -90,7 +90,7 @@ class V1 {
90
90
  const _response = yield core.fetcher({
91
91
  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/medication-dispense/v1"),
92
92
  method: "POST",
93
- 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),
93
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
94
94
  contentType: "application/json",
95
95
  requestType: "json",
96
96
  body: serializers.medicationDispense.v1.MedicationDispenseCreate.jsonOrThrow(request, {
@@ -114,7 +114,7 @@ class V1 {
114
114
  const _response = yield core.fetcher({
115
115
  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/non-insurance-payer-payments/v1"),
116
116
  method: "GET",
117
- 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),
117
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
118
118
  contentType: "application/json",
119
119
  queryParameters: _queryParams,
120
120
  requestType: "json",
@@ -168,7 +168,7 @@ class V1 {
168
168
  const _response = yield core.fetcher({
169
169
  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/non-insurance-payer-payments/v1/${encodeURIComponent(serializers.nonInsurancePayerPayments.v1.NonInsurancePayerPaymentId.jsonOrThrow(nonInsurancePayerPaymentId))}`),
170
170
  method: "GET",
171
- 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),
171
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
172
172
  contentType: "application/json",
173
173
  requestType: "json",
174
174
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -233,7 +233,7 @@ class V1 {
233
233
  const _response = yield core.fetcher({
234
234
  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/non-insurance-payer-payments/v1"),
235
235
  method: "POST",
236
- 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),
236
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
237
237
  contentType: "application/json",
238
238
  requestType: "json",
239
239
  body: serializers.nonInsurancePayerPayments.v1.NonInsurancePayerPaymentCreate.jsonOrThrow(request, {
@@ -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).candidApi, `/api/non-insurance-payer-payments/v1/${encodeURIComponent(serializers.nonInsurancePayerPayments.v1.NonInsurancePayerPaymentId.jsonOrThrow(nonInsurancePayerPaymentId))}`),
301
301
  method: "PATCH",
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.1", "User-Agent": "candidhealth/0.43.1", "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
  body: serializers.nonInsurancePayerPayments.v1.UpdateNonInsurancePayerPaymentRequest.jsonOrThrow(request, {
@@ -356,7 +356,7 @@ class V1 {
356
356
  const _response = yield core.fetcher({
357
357
  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/non-insurance-payer-payments/v1/${encodeURIComponent(serializers.nonInsurancePayerPayments.v1.NonInsurancePayerPaymentId.jsonOrThrow(nonInsurancePayerPaymentId))}`),
358
358
  method: "DELETE",
359
- 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),
359
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
360
360
  contentType: "application/json",
361
361
  requestType: "json",
362
362
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -111,7 +111,7 @@ class V1 {
111
111
  const _response = yield core.fetcher({
112
112
  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/non-insurance-payer-refunds/v1"),
113
113
  method: "GET",
114
- 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),
114
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
115
115
  contentType: "application/json",
116
116
  queryParameters: _queryParams,
117
117
  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).candidApi, `/api/non-insurance-payer-refunds/v1/${encodeURIComponent(serializers.nonInsurancePayerRefunds.v1.NonInsurancePayerRefundId.jsonOrThrow(nonInsurancePayerRefundId))}`),
167
167
  method: "GET",
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.1", "User-Agent": "candidhealth/0.43.1", "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
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -235,7 +235,7 @@ class V1 {
235
235
  const _response = yield core.fetcher({
236
236
  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/non-insurance-payer-refunds/v1"),
237
237
  method: "POST",
238
- 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),
238
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
239
239
  contentType: "application/json",
240
240
  requestType: "json",
241
241
  body: serializers.nonInsurancePayerRefunds.v1.NonInsurancePayerRefundCreate.jsonOrThrow(request, {
@@ -308,7 +308,7 @@ class V1 {
308
308
  const _response = yield core.fetcher({
309
309
  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/non-insurance-payer-refunds/v1/${encodeURIComponent(serializers.nonInsurancePayerRefunds.v1.NonInsurancePayerRefundId.jsonOrThrow(nonInsurancePayerRefundId))}`),
310
310
  method: "PATCH",
311
- 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),
311
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
312
312
  contentType: "application/json",
313
313
  requestType: "json",
314
314
  body: serializers.nonInsurancePayerRefunds.v1.NonInsurancePayerRefundUpdate.jsonOrThrow(request, {
@@ -365,7 +365,7 @@ class V1 {
365
365
  const _response = yield core.fetcher({
366
366
  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/non-insurance-payer-refunds/v1/${encodeURIComponent(serializers.nonInsurancePayerRefunds.v1.NonInsurancePayerRefundId.jsonOrThrow(nonInsurancePayerRefundId))}`),
367
367
  method: "DELETE",
368
- 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),
368
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
369
369
  contentType: "application/json",
370
370
  requestType: "json",
371
371
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -88,7 +88,7 @@ class V1 {
88
88
  const _response = yield core.fetcher({
89
89
  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/non-insurance-payers/v1"),
90
90
  method: "POST",
91
- 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),
91
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
92
92
  contentType: "application/json",
93
93
  requestType: "json",
94
94
  body: serializers.nonInsurancePayers.v1.CreateNonInsurancePayerRequest.jsonOrThrow(request, {
@@ -146,7 +146,7 @@ class V1 {
146
146
  const _response = yield core.fetcher({
147
147
  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/non-insurance-payers/v1/${encodeURIComponent(serializers.nonInsurancePayers.v1.NonInsurancePayerId.jsonOrThrow(nonInsurancePayerId))}/toggle_enablement`),
148
148
  method: "PATCH",
149
- 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),
149
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
150
150
  contentType: "application/json",
151
151
  requestType: "json",
152
152
  body: serializers.nonInsurancePayers.v1.ToggleNonInsurancePayerEnablementRequest.jsonOrThrow(request, {
@@ -235,7 +235,7 @@ class V1 {
235
235
  const _response = yield core.fetcher({
236
236
  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/non-insurance-payers/v1"),
237
237
  method: "GET",
238
- 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),
238
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
239
239
  contentType: "application/json",
240
240
  queryParameters: _queryParams,
241
241
  requestType: "json",
@@ -287,7 +287,7 @@ class V1 {
287
287
  const _response = yield core.fetcher({
288
288
  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/non-insurance-payers/v1/${encodeURIComponent(serializers.nonInsurancePayers.v1.NonInsurancePayerId.jsonOrThrow(nonInsurancePayerId))}`),
289
289
  method: "GET",
290
- 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),
290
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
291
291
  contentType: "application/json",
292
292
  requestType: "json",
293
293
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -350,7 +350,7 @@ class V1 {
350
350
  const _response = yield core.fetcher({
351
351
  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/non-insurance-payers/v1/${encodeURIComponent(serializers.nonInsurancePayers.v1.NonInsurancePayerId.jsonOrThrow(nonInsurancePayerId))}`),
352
352
  method: "PATCH",
353
- 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),
353
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
354
354
  contentType: "application/json",
355
355
  requestType: "json",
356
356
  body: serializers.nonInsurancePayers.v1.NonInsurancePayerUpdateRequest.jsonOrThrow(request, {
@@ -405,7 +405,7 @@ class V1 {
405
405
  const _response = yield core.fetcher({
406
406
  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/non-insurance-payers/v1/${encodeURIComponent(serializers.nonInsurancePayers.v1.NonInsurancePayerId.jsonOrThrow(nonInsurancePayerId))}`),
407
407
  method: "DELETE",
408
- 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),
408
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
409
409
  contentType: "application/json",
410
410
  requestType: "json",
411
411
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -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/organization-providers/v3/${encodeURIComponent(serializers.organizationProviders.v2.OrganizationProviderId.jsonOrThrow(organizationProviderId))}`),
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.1", "User-Agent": "candidhealth/0.43.1", "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,
@@ -153,7 +153,7 @@ class V3 {
153
153
  const _response = yield core.fetcher({
154
154
  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/organization-providers/v3"),
155
155
  method: "GET",
156
- 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),
156
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
157
157
  contentType: "application/json",
158
158
  queryParameters: _queryParams,
159
159
  requestType: "json",
@@ -224,7 +224,7 @@ class V3 {
224
224
  const _response = yield core.fetcher({
225
225
  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/organization-providers/v3"),
226
226
  method: "POST",
227
- 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),
227
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
228
228
  contentType: "application/json",
229
229
  requestType: "json",
230
230
  body: serializers.organizationProviders.v3.OrganizationProviderCreateV2.jsonOrThrow(request, {
@@ -314,7 +314,7 @@ class V3 {
314
314
  const _response = yield core.fetcher({
315
315
  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/organization-providers/v3/${encodeURIComponent(serializers.organizationProviders.v2.OrganizationProviderId.jsonOrThrow(organizationProviderId))}`),
316
316
  method: "PATCH",
317
- 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),
317
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
318
318
  contentType: "application/json",
319
319
  requestType: "json",
320
320
  body: serializers.organizationProviders.v3.OrganizationProviderUpdateV2.jsonOrThrow(request, {
@@ -71,7 +71,7 @@ class V2 {
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/organization-service-facilities/v2/${encodeURIComponent(serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityId.jsonOrThrow(organizationServiceFacilityId))}`),
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.1", "User-Agent": "candidhealth/0.43.1", "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,
@@ -137,7 +137,7 @@ class V2 {
137
137
  const _response = yield core.fetcher({
138
138
  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/organization-service-facilities/v2"),
139
139
  method: "GET",
140
- 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),
140
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
141
141
  contentType: "application/json",
142
142
  queryParameters: _queryParams,
143
143
  requestType: "json",
@@ -193,7 +193,7 @@ class V2 {
193
193
  const _response = yield core.fetcher({
194
194
  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/organization-service-facilities/v2"),
195
195
  method: "POST",
196
- 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),
196
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
197
197
  contentType: "application/json",
198
198
  requestType: "json",
199
199
  body: serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityCreate.jsonOrThrow(request, {
@@ -266,7 +266,7 @@ class V2 {
266
266
  const _response = yield core.fetcher({
267
267
  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/organization-service-facilities/v2/${encodeURIComponent(serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityId.jsonOrThrow(organizationServiceFacilityId))}`),
268
268
  method: "PATCH",
269
- 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),
269
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
270
270
  contentType: "application/json",
271
271
  requestType: "json",
272
272
  body: serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityUpdate.jsonOrThrow(request, {
@@ -321,7 +321,7 @@ class V2 {
321
321
  const _response = yield core.fetcher({
322
322
  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/organization-service-facilities/v2/${encodeURIComponent(serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityId.jsonOrThrow(organizationServiceFacilityId))}`),
323
323
  method: "DELETE",
324
- 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),
324
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
325
325
  contentType: "application/json",
326
326
  requestType: "json",
327
327
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -132,7 +132,7 @@ class V4 {
132
132
  const _response = yield core.fetcher({
133
133
  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/patient-payments/v4"),
134
134
  method: "GET",
135
- 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),
135
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
136
136
  contentType: "application/json",
137
137
  queryParameters: _queryParams,
138
138
  requestType: "json",
@@ -187,7 +187,7 @@ class V4 {
187
187
  const _response = yield core.fetcher({
188
188
  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/patient-payments/v4/${encodeURIComponent(serializers.patientPayments.v4.PatientPaymentId.jsonOrThrow(patientPaymentId))}`),
189
189
  method: "GET",
190
- 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),
190
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
191
191
  contentType: "application/json",
192
192
  requestType: "json",
193
193
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -256,7 +256,7 @@ class V4 {
256
256
  const _response = yield core.fetcher({
257
257
  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/patient-payments/v4"),
258
258
  method: "POST",
259
- 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),
259
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
260
260
  contentType: "application/json",
261
261
  requestType: "json",
262
262
  body: serializers.patientPayments.v4.PatientPaymentCreate.jsonOrThrow(request, {
@@ -325,7 +325,7 @@ class V4 {
325
325
  const _response = yield core.fetcher({
326
326
  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/patient-payments/v4/${encodeURIComponent(serializers.patientPayments.v4.PatientPaymentId.jsonOrThrow(patientPaymentId))}`),
327
327
  method: "PATCH",
328
- 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),
328
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
329
329
  contentType: "application/json",
330
330
  requestType: "json",
331
331
  body: serializers.patientPayments.v4.PatientPaymentUpdate.jsonOrThrow(request, {
@@ -383,7 +383,7 @@ class V4 {
383
383
  const _response = yield core.fetcher({
384
384
  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/patient-payments/v4/${encodeURIComponent(serializers.patientPayments.v4.PatientPaymentId.jsonOrThrow(patientPaymentId))}`),
385
385
  method: "DELETE",
386
- 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),
386
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
387
387
  contentType: "application/json",
388
388
  requestType: "json",
389
389
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -132,7 +132,7 @@ class V1 {
132
132
  const _response = yield core.fetcher({
133
133
  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/patient-refunds/v1"),
134
134
  method: "GET",
135
- 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),
135
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
136
136
  contentType: "application/json",
137
137
  queryParameters: _queryParams,
138
138
  requestType: "json",
@@ -187,7 +187,7 @@ class V1 {
187
187
  const _response = yield core.fetcher({
188
188
  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/patient-refunds/v1/${encodeURIComponent(serializers.patientRefunds.v1.PatientRefundId.jsonOrThrow(patientRefundId))}`),
189
189
  method: "GET",
190
- 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),
190
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
191
191
  contentType: "application/json",
192
192
  requestType: "json",
193
193
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -257,7 +257,7 @@ class V1 {
257
257
  const _response = yield core.fetcher({
258
258
  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/patient-refunds/v1"),
259
259
  method: "POST",
260
- 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),
260
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
261
261
  contentType: "application/json",
262
262
  requestType: "json",
263
263
  body: serializers.patientRefunds.v1.PatientRefundCreate.jsonOrThrow(request, {
@@ -330,7 +330,7 @@ class V1 {
330
330
  const _response = yield core.fetcher({
331
331
  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/patient-refunds/v1/${encodeURIComponent(serializers.patientRefunds.v1.PatientRefundId.jsonOrThrow(patientRefundId))}`),
332
332
  method: "PATCH",
333
- 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),
333
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
334
334
  contentType: "application/json",
335
335
  requestType: "json",
336
336
  body: serializers.patientRefunds.v1.PatientRefundUpdate.jsonOrThrow(request, {
@@ -388,7 +388,7 @@ class V1 {
388
388
  const _response = yield core.fetcher({
389
389
  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/patient-refunds/v1/${encodeURIComponent(serializers.patientRefunds.v1.PatientRefundId.jsonOrThrow(patientRefundId))}`),
390
390
  method: "DELETE",
391
- 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),
391
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
392
392
  contentType: "application/json",
393
393
  requestType: "json",
394
394
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -151,7 +151,7 @@ class V1 {
151
151
  const _response = yield core.fetcher({
152
152
  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/payer-plan-groups/v1"),
153
153
  method: "GET",
154
- 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),
154
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
155
155
  contentType: "application/json",
156
156
  queryParameters: _queryParams,
157
157
  requestType: "json",
@@ -205,7 +205,7 @@ class V1 {
205
205
  const _response = yield core.fetcher({
206
206
  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/payer-plan-groups/v1/${encodeURIComponent(serializers.PayerPlanGroupId.jsonOrThrow(payerPlanGroupId))}`),
207
207
  method: "GET",
208
- 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),
208
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
209
209
  contentType: "application/json",
210
210
  requestType: "json",
211
211
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -263,7 +263,7 @@ class V1 {
263
263
  const _response = yield core.fetcher({
264
264
  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/payer-plan-groups/v1"),
265
265
  method: "POST",
266
- 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),
266
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
267
267
  contentType: "application/json",
268
268
  requestType: "json",
269
269
  body: serializers.payerPlanGroups.v1.MutablePayerPlanGroup.jsonOrThrow(request, {
@@ -325,7 +325,7 @@ class V1 {
325
325
  const _response = yield core.fetcher({
326
326
  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/payer-plan-groups/v1/${encodeURIComponent(serializers.PayerPlanGroupId.jsonOrThrow(payerPlanGroupId))}`),
327
327
  method: "PUT",
328
- 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),
328
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
329
329
  contentType: "application/json",
330
330
  requestType: "json",
331
331
  body: serializers.payerPlanGroups.v1.MutablePayerPlanGroup.jsonOrThrow(request, {
@@ -383,7 +383,7 @@ class V1 {
383
383
  const _response = yield core.fetcher({
384
384
  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/payer-plan-groups/v1/${encodeURIComponent(serializers.PayerPlanGroupId.jsonOrThrow(payerPlanGroupId))}`),
385
385
  method: "PATCH",
386
- 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),
386
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
387
387
  contentType: "application/json",
388
388
  requestType: "json",
389
389
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -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.1", "User-Agent": "candidhealth/0.43.1", "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.1", "User-Agent": "candidhealth/0.43.1", "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.1", "User-Agent": "candidhealth/0.43.1", "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.1", "User-Agent": "candidhealth/0.43.1", "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.1", "User-Agent": "candidhealth/0.43.1", "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.1", "User-Agent": "candidhealth/0.43.1", "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.1", "User-Agent": "candidhealth/0.43.1", "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.1", "User-Agent": "candidhealth/0.43.1", "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.1", "User-Agent": "candidhealth/0.43.1", "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,