candidhealth 0.42.5 → 0.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (382) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +61 -56
  3. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  4. package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  5. package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +238 -5
  6. package/api/resources/chargeCapture/resources/v1/client/Client.js +253 -23
  7. package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +118 -1
  8. package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +118 -1
  9. package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +6 -11
  10. package/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +1 -1
  11. package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +5 -5
  12. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +8 -16
  13. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +26 -76
  14. package/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +0 -1
  15. package/api/resources/chargeCaptureBundles/resources/v1/client/index.js +1 -2
  16. package/api/resources/chargeCaptureBundles/resources/v1/client/requests/{GetAllChargeCaptureBundlesRequest.d.ts → GetAllChargeCaptureClaimCreationsRequest.d.ts} +17 -17
  17. package/api/resources/chargeCaptureBundles/resources/v1/client/requests/index.d.ts +1 -1
  18. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +20 -0
  19. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.d.ts +7 -0
  20. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.d.ts +7 -0
  21. package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js → api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.js} +2 -2
  22. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.d.ts +15 -0
  23. package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js → api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.js} +2 -2
  24. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.d.ts +15 -0
  25. package/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +5 -5
  26. package/api/resources/chargeCaptureBundles/resources/v1/types/index.js +5 -5
  27. package/api/resources/commons/types/ChargeCaptureClaimCreationId.d.ts +8 -0
  28. package/api/resources/commons/types/ChargeCaptureClaimCreationId.js +9 -0
  29. package/api/resources/commons/types/index.d.ts +1 -2
  30. package/api/resources/commons/types/index.js +1 -2
  31. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  32. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  33. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  34. package/api/resources/diagnoses/client/Client.js +3 -3
  35. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  36. package/api/resources/encounterAttachments/client/Client.d.ts +30 -0
  37. package/api/resources/encounterAttachments/client/Client.js +17 -0
  38. package/api/resources/encounterAttachments/client/index.d.ts +1 -0
  39. package/api/resources/encounterAttachments/client/index.js +2 -0
  40. package/api/resources/encounterAttachments/index.d.ts +2 -0
  41. package/api/resources/encounterAttachments/index.js +18 -0
  42. package/api/resources/encounterAttachments/resources/index.d.ts +1 -0
  43. package/{dist/serialization/resources/chargeCaptureBundles/resources/v1/client → api/resources/encounterAttachments/resources}/index.js +2 -2
  44. package/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +63 -0
  45. package/api/resources/encounterAttachments/resources/v1/client/Client.js +195 -0
  46. package/api/resources/encounterAttachments/resources/v1/client/create.d.ts +22 -0
  47. package/{dist/api/resources/chargeCaptureBundles/resources/v1/client/resubmit.js → api/resources/encounterAttachments/resources/v1/client/create.js} +1 -12
  48. package/api/resources/encounterAttachments/resources/v1/client/delete.d.ts +22 -0
  49. package/api/resources/{chargeCaptureBundles/resources/v1/client/resubmit.js → encounterAttachments/resources/v1/client/delete.js} +1 -12
  50. package/api/resources/encounterAttachments/resources/v1/client/get.d.ts +22 -0
  51. package/api/resources/encounterAttachments/resources/v1/client/get.js +57 -0
  52. package/api/resources/encounterAttachments/resources/v1/client/index.d.ts +4 -0
  53. package/api/resources/encounterAttachments/resources/v1/client/index.js +43 -0
  54. package/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.d.ts +11 -0
  55. package/api/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.d.ts +13 -0
  56. package/api/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +2 -0
  57. package/api/resources/encounterAttachments/resources/v1/client/requests/index.js +2 -0
  58. package/api/resources/encounterAttachments/resources/v1/index.d.ts +2 -0
  59. package/api/resources/encounterAttachments/resources/v1/index.js +18 -0
  60. package/api/resources/encounterAttachments/resources/v1/types/AttachmentId.d.ts +8 -0
  61. package/api/resources/{commons/types/ChargeCaptureBundleId.js → encounterAttachments/resources/v1/types/AttachmentId.js} +2 -2
  62. package/api/resources/encounterAttachments/resources/v1/types/BaseAttachment.d.ts +11 -0
  63. package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +8 -0
  64. package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +7 -0
  65. package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +9 -0
  66. package/api/resources/encounterAttachments/resources/v1/types/index.d.ts +4 -0
  67. package/api/resources/encounterAttachments/resources/v1/types/index.js +20 -0
  68. package/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -66
  69. package/api/resources/encounterProviders/resources/v2/client/Client.js +20 -78
  70. package/api/resources/encounters/resources/v4/client/Client.d.ts +110 -100
  71. package/api/resources/encounters/resources/v4/client/Client.js +115 -105
  72. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +9 -83
  73. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +97 -1
  74. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  75. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  76. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  77. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  78. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  79. package/api/resources/guarantor/resources/v1/client/Client.d.ts +1 -21
  80. package/api/resources/guarantor/resources/v1/client/Client.js +4 -24
  81. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  82. package/api/resources/index.d.ts +1 -0
  83. package/api/resources/index.js +3 -2
  84. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  85. package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  86. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  87. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  88. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  89. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  90. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  91. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  92. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  93. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  94. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  95. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  96. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  97. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  98. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  99. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  100. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  101. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  102. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  103. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  104. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  105. package/api/resources/serviceFacility/client/Client.js +1 -1
  106. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +1 -4
  107. package/api/resources/serviceLines/resources/v2/client/Client.js +4 -7
  108. package/api/resources/superbills/resources/v1/client/Client.js +1 -1
  109. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  110. package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  111. package/core/form-data-utils/FormDataWrapper.d.ts +60 -0
  112. package/core/form-data-utils/FormDataWrapper.js +188 -0
  113. package/core/form-data-utils/index.d.ts +1 -0
  114. package/core/form-data-utils/index.js +17 -0
  115. package/core/index.d.ts +1 -0
  116. package/core/index.js +1 -0
  117. package/dist/Client.d.ts +3 -0
  118. package/dist/Client.js +61 -56
  119. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  120. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  121. package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +238 -5
  122. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +253 -23
  123. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +118 -1
  124. package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +118 -1
  125. package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +6 -11
  126. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +1 -1
  127. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +5 -5
  128. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +8 -16
  129. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +26 -76
  130. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +0 -1
  131. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.js +1 -2
  132. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/{GetAllChargeCaptureBundlesRequest.d.ts → GetAllChargeCaptureClaimCreationsRequest.d.ts} +17 -17
  133. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/index.d.ts +1 -1
  134. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +20 -0
  135. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.d.ts +7 -0
  136. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.js +5 -0
  137. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.d.ts +7 -0
  138. package/{api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js → dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.js} +2 -2
  139. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.d.ts +15 -0
  140. package/{api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js → dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.js} +2 -2
  141. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.d.ts +15 -0
  142. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.js +5 -0
  143. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +5 -5
  144. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.js +5 -5
  145. package/dist/api/resources/commons/types/ChargeCaptureClaimCreationId.d.ts +8 -0
  146. package/dist/api/resources/commons/types/ChargeCaptureClaimCreationId.js +9 -0
  147. package/dist/api/resources/commons/types/index.d.ts +1 -2
  148. package/dist/api/resources/commons/types/index.js +1 -2
  149. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  150. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  151. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  152. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  153. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  154. package/dist/api/resources/encounterAttachments/client/Client.d.ts +30 -0
  155. package/dist/api/resources/encounterAttachments/client/Client.js +17 -0
  156. package/dist/api/resources/encounterAttachments/client/index.d.ts +1 -0
  157. package/dist/api/resources/encounterAttachments/client/index.js +2 -0
  158. package/dist/api/resources/encounterAttachments/index.d.ts +2 -0
  159. package/dist/api/resources/encounterAttachments/index.js +18 -0
  160. package/dist/api/resources/encounterAttachments/resources/index.d.ts +1 -0
  161. package/{serialization/resources/chargeCaptureBundles/resources/v1/client → dist/api/resources/encounterAttachments/resources}/index.js +2 -2
  162. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +63 -0
  163. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +195 -0
  164. package/dist/api/resources/encounterAttachments/resources/v1/client/create.d.ts +22 -0
  165. package/dist/api/resources/encounterAttachments/resources/v1/client/create.js +57 -0
  166. package/dist/api/resources/encounterAttachments/resources/v1/client/delete.d.ts +22 -0
  167. package/dist/api/resources/encounterAttachments/resources/v1/client/delete.js +57 -0
  168. package/dist/api/resources/encounterAttachments/resources/v1/client/get.d.ts +22 -0
  169. package/dist/api/resources/encounterAttachments/resources/v1/client/get.js +57 -0
  170. package/dist/api/resources/encounterAttachments/resources/v1/client/index.d.ts +4 -0
  171. package/dist/api/resources/encounterAttachments/resources/v1/client/index.js +43 -0
  172. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.d.ts +11 -0
  173. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.js +5 -0
  174. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.d.ts +13 -0
  175. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.js +5 -0
  176. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +2 -0
  177. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/index.js +2 -0
  178. package/dist/api/resources/encounterAttachments/resources/v1/index.d.ts +2 -0
  179. package/dist/api/resources/encounterAttachments/resources/v1/index.js +18 -0
  180. package/dist/api/resources/encounterAttachments/resources/v1/types/AttachmentId.d.ts +8 -0
  181. package/dist/api/resources/{commons/types/ChargeCaptureBundleId.js → encounterAttachments/resources/v1/types/AttachmentId.js} +2 -2
  182. package/dist/api/resources/encounterAttachments/resources/v1/types/BaseAttachment.d.ts +11 -0
  183. package/dist/api/resources/encounterAttachments/resources/v1/types/BaseAttachment.js +5 -0
  184. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +8 -0
  185. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js +5 -0
  186. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +7 -0
  187. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +9 -0
  188. package/dist/api/resources/encounterAttachments/resources/v1/types/index.d.ts +4 -0
  189. package/dist/api/resources/encounterAttachments/resources/v1/types/index.js +20 -0
  190. package/dist/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -66
  191. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +20 -78
  192. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +110 -100
  193. package/dist/api/resources/encounters/resources/v4/client/Client.js +115 -105
  194. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +9 -83
  195. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +97 -1
  196. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  197. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  198. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  199. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  200. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  201. package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +1 -21
  202. package/dist/api/resources/guarantor/resources/v1/client/Client.js +4 -24
  203. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  204. package/dist/api/resources/index.d.ts +1 -0
  205. package/dist/api/resources/index.js +3 -2
  206. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  207. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  208. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  209. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  210. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  211. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  212. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  213. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  214. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  215. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  216. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  217. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  218. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  219. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  220. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  221. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  222. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  223. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  224. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  225. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  226. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  227. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  228. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +1 -4
  229. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +4 -7
  230. package/dist/api/resources/superbills/resources/v1/client/Client.js +1 -1
  231. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  232. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  233. package/dist/core/form-data-utils/FormDataWrapper.d.ts +60 -0
  234. package/dist/core/form-data-utils/FormDataWrapper.js +188 -0
  235. package/dist/core/form-data-utils/index.d.ts +1 -0
  236. package/dist/core/form-data-utils/index.js +17 -0
  237. package/dist/core/index.d.ts +1 -0
  238. package/dist/core/index.js +1 -0
  239. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -2
  240. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -2
  241. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +2 -2
  242. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.js +2 -2
  243. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/index.d.ts +0 -1
  244. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/index.js +0 -1
  245. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +20 -0
  246. package/{serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js → dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.js} +6 -8
  247. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.d.ts +14 -0
  248. package/{serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.js → dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.js} +4 -4
  249. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.d.ts +10 -0
  250. package/{serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js → dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.js} +2 -2
  251. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundleStatus.d.ts → ChargeCaptureClaimCreationStatus.d.ts} +2 -2
  252. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.js +41 -0
  253. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.d.ts +16 -0
  254. package/{serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js → dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.js} +5 -5
  255. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +5 -5
  256. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +5 -5
  257. package/dist/serialization/resources/commons/types/{ChargeCaptureBundleId.d.ts → ChargeCaptureClaimCreationId.d.ts} +2 -2
  258. package/{serialization/resources/commons/types/ChargeCaptureBundleId.js → dist/serialization/resources/commons/types/ChargeCaptureClaimCreationId.js} +3 -3
  259. package/dist/serialization/resources/commons/types/index.d.ts +1 -2
  260. package/dist/serialization/resources/commons/types/index.js +1 -2
  261. package/dist/serialization/resources/encounterAttachments/index.d.ts +1 -0
  262. package/dist/serialization/resources/encounterAttachments/index.js +17 -0
  263. package/dist/serialization/resources/encounterAttachments/resources/index.d.ts +1 -0
  264. package/dist/serialization/resources/encounterAttachments/resources/index.js +37 -0
  265. package/dist/serialization/resources/encounterAttachments/resources/v1/client/get.d.ts +11 -0
  266. package/dist/serialization/resources/{chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js → encounterAttachments/resources/v1/client/get.js} +3 -2
  267. package/dist/serialization/resources/encounterAttachments/resources/v1/client/index.d.ts +2 -0
  268. package/dist/serialization/resources/encounterAttachments/resources/v1/client/index.js +41 -0
  269. package/dist/serialization/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.d.ts +13 -0
  270. package/dist/serialization/resources/{commons/types/NotImplementedErrorMessage.js → encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.js} +5 -4
  271. package/dist/serialization/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +1 -0
  272. package/dist/serialization/resources/encounterAttachments/resources/v1/client/requests/index.js +5 -0
  273. package/dist/serialization/resources/encounterAttachments/resources/v1/index.d.ts +2 -0
  274. package/dist/serialization/resources/encounterAttachments/resources/v1/index.js +18 -0
  275. package/dist/serialization/resources/encounterAttachments/resources/v1/types/AttachmentId.d.ts +10 -0
  276. package/dist/serialization/resources/encounterAttachments/resources/v1/types/AttachmentId.js +45 -0
  277. package/dist/serialization/resources/encounterAttachments/resources/v1/types/BaseAttachment.d.ts +18 -0
  278. package/dist/serialization/resources/encounterAttachments/resources/v1/types/BaseAttachment.js +49 -0
  279. package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +16 -0
  280. package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js +49 -0
  281. package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +10 -0
  282. package/dist/serialization/resources/{chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js → encounterAttachments/resources/v1/types/EncounterAttachmentType.js} +2 -2
  283. package/dist/serialization/resources/encounterAttachments/resources/v1/types/index.d.ts +4 -0
  284. package/dist/serialization/resources/encounterAttachments/resources/v1/types/index.js +20 -0
  285. package/dist/serialization/resources/index.d.ts +1 -0
  286. package/dist/serialization/resources/index.js +3 -2
  287. package/dist/version.d.ts +1 -1
  288. package/dist/version.js +1 -1
  289. package/package.json +3 -2
  290. package/reference.md +558 -246
  291. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -2
  292. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -2
  293. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +2 -2
  294. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.js +2 -2
  295. package/serialization/resources/chargeCaptureBundles/resources/v1/index.d.ts +0 -1
  296. package/serialization/resources/chargeCaptureBundles/resources/v1/index.js +0 -1
  297. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +20 -0
  298. package/{dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js → serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.js} +6 -8
  299. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.d.ts +14 -0
  300. package/{dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.js → serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.js} +4 -4
  301. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.d.ts +10 -0
  302. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.js +41 -0
  303. package/serialization/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundleStatus.d.ts → ChargeCaptureClaimCreationStatus.d.ts} +2 -2
  304. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.js +41 -0
  305. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.d.ts +16 -0
  306. package/{dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js → serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.js} +5 -5
  307. package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +5 -5
  308. package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +5 -5
  309. package/serialization/resources/commons/types/{ChargeCaptureBundleId.d.ts → ChargeCaptureClaimCreationId.d.ts} +2 -2
  310. package/{dist/serialization/resources/commons/types/ChargeCaptureBundleId.js → serialization/resources/commons/types/ChargeCaptureClaimCreationId.js} +3 -3
  311. package/serialization/resources/commons/types/index.d.ts +1 -2
  312. package/serialization/resources/commons/types/index.js +1 -2
  313. package/serialization/resources/encounterAttachments/index.d.ts +1 -0
  314. package/serialization/resources/encounterAttachments/index.js +17 -0
  315. package/serialization/resources/encounterAttachments/resources/index.d.ts +1 -0
  316. package/serialization/resources/encounterAttachments/resources/index.js +37 -0
  317. package/serialization/resources/encounterAttachments/resources/v1/client/get.d.ts +11 -0
  318. package/serialization/resources/encounterAttachments/resources/v1/client/get.js +42 -0
  319. package/serialization/resources/encounterAttachments/resources/v1/client/index.d.ts +2 -0
  320. package/serialization/resources/encounterAttachments/resources/v1/client/index.js +41 -0
  321. package/serialization/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.d.ts +13 -0
  322. package/serialization/resources/{commons/types/NotImplementedErrorMessage.js → encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.js} +5 -4
  323. package/serialization/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +1 -0
  324. package/serialization/resources/encounterAttachments/resources/v1/client/requests/index.js +5 -0
  325. package/serialization/resources/encounterAttachments/resources/v1/index.d.ts +2 -0
  326. package/serialization/resources/encounterAttachments/resources/v1/index.js +18 -0
  327. package/serialization/resources/encounterAttachments/resources/v1/types/AttachmentId.d.ts +10 -0
  328. package/serialization/resources/encounterAttachments/resources/v1/types/AttachmentId.js +45 -0
  329. package/serialization/resources/encounterAttachments/resources/v1/types/BaseAttachment.d.ts +18 -0
  330. package/serialization/resources/encounterAttachments/resources/v1/types/BaseAttachment.js +49 -0
  331. package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +16 -0
  332. package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js +49 -0
  333. package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +10 -0
  334. package/serialization/resources/{chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js → encounterAttachments/resources/v1/types/EncounterAttachmentType.js} +2 -2
  335. package/serialization/resources/encounterAttachments/resources/v1/types/index.d.ts +4 -0
  336. package/serialization/resources/encounterAttachments/resources/v1/types/index.js +20 -0
  337. package/serialization/resources/index.d.ts +1 -0
  338. package/serialization/resources/index.js +3 -2
  339. package/version.d.ts +1 -1
  340. package/version.js +1 -1
  341. package/api/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +0 -28
  342. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +0 -22
  343. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +0 -7
  344. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +0 -7
  345. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +0 -15
  346. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +0 -15
  347. package/api/resources/commons/types/ChargeCaptureBundleId.d.ts +0 -8
  348. package/api/resources/commons/types/NotImplementedErrorMessage.d.ts +0 -6
  349. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +0 -28
  350. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +0 -22
  351. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +0 -7
  352. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +0 -7
  353. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +0 -15
  354. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +0 -15
  355. package/dist/api/resources/commons/types/ChargeCaptureBundleId.d.ts +0 -8
  356. package/dist/api/resources/commons/types/NotImplementedErrorMessage.d.ts +0 -6
  357. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +0 -1
  358. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +0 -15
  359. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.js +0 -71
  360. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +0 -22
  361. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +0 -14
  362. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +0 -10
  363. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +0 -16
  364. package/dist/serialization/resources/commons/types/NotImplementedErrorMessage.d.ts +0 -12
  365. package/serialization/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +0 -1
  366. package/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +0 -15
  367. package/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.js +0 -71
  368. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +0 -22
  369. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +0 -14
  370. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +0 -10
  371. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +0 -16
  372. package/serialization/resources/commons/types/NotImplementedErrorMessage.d.ts +0 -12
  373. /package/api/resources/chargeCaptureBundles/resources/v1/client/requests/{GetAllChargeCaptureBundlesRequest.js → GetAllChargeCaptureClaimCreationsRequest.js} +0 -0
  374. /package/api/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundle.js → ChargeCaptureClaimCreation.js} +0 -0
  375. /package/api/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundlePage.js → ChargeCaptureClaimCreationPage.js} +0 -0
  376. /package/api/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundleSummary.js → ChargeCaptureClaimCreationSummary.js} +0 -0
  377. /package/api/resources/{commons/types/NotImplementedErrorMessage.js → encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.js} +0 -0
  378. /package/{dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.js → api/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.js} +0 -0
  379. /package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js → api/resources/encounterAttachments/resources/v1/types/BaseAttachment.js} +0 -0
  380. /package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.js → api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js} +0 -0
  381. /package/dist/api/resources/chargeCaptureBundles/resources/v1/{types/ChargeCaptureBundleSummary.js → client/requests/GetAllChargeCaptureClaimCreationsRequest.js} +0 -0
  382. /package/dist/api/resources/{commons/types/NotImplementedErrorMessage.js → chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.js} +0 -0
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../index";
5
+ export interface BaseAttachment {
6
+ attachmentId: CandidApi.encounterAttachments.v1.AttachmentId;
7
+ fileName: string;
8
+ description: string;
9
+ contentType: string;
10
+ authedUrl: CandidApi.LinkUrl;
11
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../index";
5
+ export interface EncounterAttachment extends CandidApi.encounterAttachments.v1.BaseAttachment {
6
+ encounterId: CandidApi.EncounterId;
7
+ attachmentType: CandidApi.encounterAttachments.v1.EncounterAttachmentType;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type EncounterAttachmentType = "DOCUMENTATION";
5
+ export declare const EncounterAttachmentType: {
6
+ readonly Documentation: "DOCUMENTATION";
7
+ };
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.EncounterAttachmentType = void 0;
7
+ exports.EncounterAttachmentType = {
8
+ Documentation: "DOCUMENTATION",
9
+ };
@@ -0,0 +1,4 @@
1
+ export * from "./AttachmentId";
2
+ export * from "./BaseAttachment";
3
+ export * from "./EncounterAttachment";
4
+ export * from "./EncounterAttachmentType";
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./AttachmentId"), exports);
18
+ __exportStar(require("./BaseAttachment"), exports);
19
+ __exportStar(require("./EncounterAttachment"), exports);
20
+ __exportStar(require("./EncounterAttachmentType"), exports);
@@ -31,21 +31,7 @@ export declare class V2 {
31
31
  * @param {V2.RequestOptions} requestOptions - Request-specific configuration.
32
32
  *
33
33
  * @example
34
- * await client.encounterProviders.v2.updateReferringProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
35
- * npi: "string",
36
- * taxonomyCode: "string",
37
- * address: {
38
- * address1: "123 Main St",
39
- * address2: "Apt 1",
40
- * city: "New York",
41
- * state: "NY",
42
- * zipCode: "10001",
43
- * zipPlusFourCode: "1234"
44
- * },
45
- * firstName: "string",
46
- * lastName: "string",
47
- * organizationName: "string"
48
- * })
34
+ * await client.encounterProviders.v2.updateReferringProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {})
49
35
  */
50
36
  updateReferringProvider(encounterId: CandidApi.EncounterId, request: CandidApi.encounterProviders.v2.ReferringProviderUpdate, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.encounterProviders.v2.EncounterProvider, CandidApi.encounterProviders.v2.updateReferringProvider.Error>>;
51
37
  /**
@@ -54,22 +40,7 @@ export declare class V2 {
54
40
  * @param {V2.RequestOptions} requestOptions - Request-specific configuration.
55
41
  *
56
42
  * @example
57
- * await client.encounterProviders.v2.updateInitialReferringProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
58
- * npi: "string",
59
- * taxonomyCode: "string",
60
- * address: {
61
- * address1: "123 Main St",
62
- * address2: "Apt 1",
63
- * city: "New York",
64
- * state: "NY",
65
- * zipCode: "10001",
66
- * zipPlusFourCode: "1234"
67
- * },
68
- * qualifier: "DQ",
69
- * firstName: "string",
70
- * lastName: "string",
71
- * organizationName: "string"
72
- * })
43
+ * await client.encounterProviders.v2.updateInitialReferringProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {})
73
44
  */
74
45
  updateInitialReferringProvider(encounterId: CandidApi.EncounterId, request: CandidApi.encounterProviders.v2.InitialReferringProviderUpdate, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.encounterProviders.v2.EncounterProvider, CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error>>;
75
46
  /**
@@ -78,21 +49,7 @@ export declare class V2 {
78
49
  * @param {V2.RequestOptions} requestOptions - Request-specific configuration.
79
50
  *
80
51
  * @example
81
- * await client.encounterProviders.v2.updateSupervisingProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
82
- * npi: "string",
83
- * taxonomyCode: "string",
84
- * address: {
85
- * address1: "123 Main St",
86
- * address2: "Apt 1",
87
- * city: "New York",
88
- * state: "NY",
89
- * zipCode: "10001",
90
- * zipPlusFourCode: "1234"
91
- * },
92
- * firstName: "string",
93
- * lastName: "string",
94
- * organizationName: "string"
95
- * })
52
+ * await client.encounterProviders.v2.updateSupervisingProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {})
96
53
  */
97
54
  updateSupervisingProvider(encounterId: CandidApi.EncounterId, request: CandidApi.encounterProviders.v2.SupervisingProviderUpdate, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.encounterProviders.v2.EncounterProvider, CandidApi.encounterProviders.v2.updateSupervisingProvider.Error>>;
98
55
  /**
@@ -111,10 +68,7 @@ export declare class V2 {
111
68
  * state: "NY",
112
69
  * zipCode: "10001",
113
70
  * zipPlusFourCode: "1234"
114
- * },
115
- * firstName: "string",
116
- * lastName: "string",
117
- * organizationName: "string"
71
+ * }
118
72
  * })
119
73
  */
120
74
  updateOrderingProvider(serviceLineId: CandidApi.ServiceLineId, request: CandidApi.encounterProviders.v2.OrderingProviderUpdate, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.encounterProviders.v2.EncounterProvider, CandidApi.encounterProviders.v2.updateOrderingProvider.Error>>;
@@ -134,10 +88,7 @@ export declare class V2 {
134
88
  * state: "NY",
135
89
  * zipCode: "10001",
136
90
  * zipPlusFourCode: "1234"
137
- * },
138
- * firstName: "string",
139
- * lastName: "string",
140
- * organizationName: "string"
91
+ * }
141
92
  * })
142
93
  */
143
94
  createReferringProvider(encounterId: CandidApi.EncounterId, request: CandidApi.encounterProviders.v2.ReferringProvider, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.encounterProviders.v2.EncounterProvider, CandidApi.encounterProviders.v2.createReferringProvider.Error>>;
@@ -158,10 +109,7 @@ export declare class V2 {
158
109
  * zipCode: "10001",
159
110
  * zipPlusFourCode: "1234"
160
111
  * },
161
- * qualifier: "DQ",
162
- * firstName: "string",
163
- * lastName: "string",
164
- * organizationName: "string"
112
+ * qualifier: "DQ"
165
113
  * })
166
114
  */
167
115
  createInitialReferringProvider(encounterId: CandidApi.EncounterId, request: CandidApi.encounterProviders.v2.InitialReferringProvider, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.encounterProviders.v2.EncounterProvider, CandidApi.encounterProviders.v2.createInitialReferringProvider.Error>>;
@@ -181,10 +129,7 @@ export declare class V2 {
181
129
  * state: "NY",
182
130
  * zipCode: "10001",
183
131
  * zipPlusFourCode: "1234"
184
- * },
185
- * firstName: "string",
186
- * lastName: "string",
187
- * organizationName: "string"
132
+ * }
188
133
  * })
189
134
  */
190
135
  createSupervisingProvider(encounterId: CandidApi.EncounterId, request: CandidApi.encounterProviders.v2.SupervisingProvider, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.encounterProviders.v2.EncounterProvider, CandidApi.encounterProviders.v2.createSupervisingProvider.Error>>;
@@ -204,10 +149,7 @@ export declare class V2 {
204
149
  * state: "NY",
205
150
  * zipCode: "10001",
206
151
  * zipPlusFourCode: "1234"
207
- * },
208
- * firstName: "string",
209
- * lastName: "string",
210
- * organizationName: "string"
152
+ * }
211
153
  * })
212
154
  */
213
155
  createOrderingProvider(serviceLineId: CandidApi.ServiceLineId, request: CandidApi.encounterProviders.v2.OrderingProvider, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.encounterProviders.v2.EncounterProvider, CandidApi.encounterProviders.v2.createOrderingProvider.Error>>;
@@ -64,21 +64,7 @@ class V2 {
64
64
  * @param {V2.RequestOptions} requestOptions - Request-specific configuration.
65
65
  *
66
66
  * @example
67
- * await client.encounterProviders.v2.updateReferringProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
68
- * npi: "string",
69
- * taxonomyCode: "string",
70
- * address: {
71
- * address1: "123 Main St",
72
- * address2: "Apt 1",
73
- * city: "New York",
74
- * state: "NY",
75
- * zipCode: "10001",
76
- * zipPlusFourCode: "1234"
77
- * },
78
- * firstName: "string",
79
- * lastName: "string",
80
- * organizationName: "string"
81
- * })
67
+ * await client.encounterProviders.v2.updateReferringProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {})
82
68
  */
83
69
  updateReferringProvider(encounterId, request, requestOptions) {
84
70
  return __awaiter(this, void 0, void 0, function* () {
@@ -86,7 +72,7 @@ class V2 {
86
72
  const _response = yield core.fetcher({
87
73
  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/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}`),
88
74
  method: "PATCH",
89
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
75
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
90
76
  contentType: "application/json",
91
77
  requestType: "json",
92
78
  body: serializers.encounterProviders.v2.ReferringProviderUpdate.jsonOrThrow(request, {
@@ -134,22 +120,7 @@ class V2 {
134
120
  * @param {V2.RequestOptions} requestOptions - Request-specific configuration.
135
121
  *
136
122
  * @example
137
- * await client.encounterProviders.v2.updateInitialReferringProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
138
- * npi: "string",
139
- * taxonomyCode: "string",
140
- * address: {
141
- * address1: "123 Main St",
142
- * address2: "Apt 1",
143
- * city: "New York",
144
- * state: "NY",
145
- * zipCode: "10001",
146
- * zipPlusFourCode: "1234"
147
- * },
148
- * qualifier: "DQ",
149
- * firstName: "string",
150
- * lastName: "string",
151
- * organizationName: "string"
152
- * })
123
+ * await client.encounterProviders.v2.updateInitialReferringProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {})
153
124
  */
154
125
  updateInitialReferringProvider(encounterId, request, requestOptions) {
155
126
  return __awaiter(this, void 0, void 0, function* () {
@@ -157,7 +128,7 @@ class V2 {
157
128
  const _response = yield core.fetcher({
158
129
  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/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/initial-referring-provider`),
159
130
  method: "PATCH",
160
- 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),
131
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
161
132
  contentType: "application/json",
162
133
  requestType: "json",
163
134
  body: serializers.encounterProviders.v2.InitialReferringProviderUpdate.jsonOrThrow(request, {
@@ -206,21 +177,7 @@ class V2 {
206
177
  * @param {V2.RequestOptions} requestOptions - Request-specific configuration.
207
178
  *
208
179
  * @example
209
- * await client.encounterProviders.v2.updateSupervisingProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
210
- * npi: "string",
211
- * taxonomyCode: "string",
212
- * address: {
213
- * address1: "123 Main St",
214
- * address2: "Apt 1",
215
- * city: "New York",
216
- * state: "NY",
217
- * zipCode: "10001",
218
- * zipPlusFourCode: "1234"
219
- * },
220
- * firstName: "string",
221
- * lastName: "string",
222
- * organizationName: "string"
223
- * })
180
+ * await client.encounterProviders.v2.updateSupervisingProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {})
224
181
  */
225
182
  updateSupervisingProvider(encounterId, request, requestOptions) {
226
183
  return __awaiter(this, void 0, void 0, function* () {
@@ -228,7 +185,7 @@ class V2 {
228
185
  const _response = yield core.fetcher({
229
186
  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/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/supervising-provider`),
230
187
  method: "PATCH",
231
- 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),
188
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
232
189
  contentType: "application/json",
233
190
  requestType: "json",
234
191
  body: serializers.encounterProviders.v2.SupervisingProviderUpdate.jsonOrThrow(request, {
@@ -287,10 +244,7 @@ class V2 {
287
244
  * state: "NY",
288
245
  * zipCode: "10001",
289
246
  * zipPlusFourCode: "1234"
290
- * },
291
- * firstName: "string",
292
- * lastName: "string",
293
- * organizationName: "string"
247
+ * }
294
248
  * })
295
249
  */
296
250
  updateOrderingProvider(serviceLineId, request, requestOptions) {
@@ -299,7 +253,7 @@ class V2 {
299
253
  const _response = yield core.fetcher({
300
254
  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/encounter-providers/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/ordering-provider`),
301
255
  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),
256
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
303
257
  contentType: "application/json",
304
258
  requestType: "json",
305
259
  body: serializers.encounterProviders.v2.OrderingProviderUpdate.jsonOrThrow(request, {
@@ -357,10 +311,7 @@ class V2 {
357
311
  * state: "NY",
358
312
  * zipCode: "10001",
359
313
  * zipPlusFourCode: "1234"
360
- * },
361
- * firstName: "string",
362
- * lastName: "string",
363
- * organizationName: "string"
314
+ * }
364
315
  * })
365
316
  */
366
317
  createReferringProvider(encounterId, request, requestOptions) {
@@ -369,7 +320,7 @@ class V2 {
369
320
  const _response = yield core.fetcher({
370
321
  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/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/create-referring-provider`),
371
322
  method: "POST",
372
- 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),
323
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
373
324
  contentType: "application/json",
374
325
  requestType: "json",
375
326
  body: serializers.encounterProviders.v2.ReferringProvider.jsonOrThrow(request, {
@@ -429,10 +380,7 @@ class V2 {
429
380
  * zipCode: "10001",
430
381
  * zipPlusFourCode: "1234"
431
382
  * },
432
- * qualifier: "DQ",
433
- * firstName: "string",
434
- * lastName: "string",
435
- * organizationName: "string"
383
+ * qualifier: "DQ"
436
384
  * })
437
385
  */
438
386
  createInitialReferringProvider(encounterId, request, requestOptions) {
@@ -441,7 +389,7 @@ class V2 {
441
389
  const _response = yield core.fetcher({
442
390
  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/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/create-initial-referring-provider`),
443
391
  method: "POST",
444
- 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),
392
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
445
393
  contentType: "application/json",
446
394
  requestType: "json",
447
395
  body: serializers.encounterProviders.v2.InitialReferringProvider.jsonOrThrow(request, {
@@ -502,10 +450,7 @@ class V2 {
502
450
  * state: "NY",
503
451
  * zipCode: "10001",
504
452
  * zipPlusFourCode: "1234"
505
- * },
506
- * firstName: "string",
507
- * lastName: "string",
508
- * organizationName: "string"
453
+ * }
509
454
  * })
510
455
  */
511
456
  createSupervisingProvider(encounterId, request, requestOptions) {
@@ -514,7 +459,7 @@ class V2 {
514
459
  const _response = yield core.fetcher({
515
460
  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/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/create-supervising-provider`),
516
461
  method: "POST",
517
- 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),
462
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
518
463
  contentType: "application/json",
519
464
  requestType: "json",
520
465
  body: serializers.encounterProviders.v2.SupervisingProvider.jsonOrThrow(request, {
@@ -574,10 +519,7 @@ class V2 {
574
519
  * state: "NY",
575
520
  * zipCode: "10001",
576
521
  * zipPlusFourCode: "1234"
577
- * },
578
- * firstName: "string",
579
- * lastName: "string",
580
- * organizationName: "string"
522
+ * }
581
523
  * })
582
524
  */
583
525
  createOrderingProvider(serviceLineId, request, requestOptions) {
@@ -586,7 +528,7 @@ class V2 {
586
528
  const _response = yield core.fetcher({
587
529
  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/encounter-providers/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/create-ordering-provider`),
588
530
  method: "POST",
589
- 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),
531
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
590
532
  contentType: "application/json",
591
533
  requestType: "json",
592
534
  body: serializers.encounterProviders.v2.OrderingProvider.jsonOrThrow(request, {
@@ -642,7 +584,7 @@ class V2 {
642
584
  const _response = yield core.fetcher({
643
585
  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/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/referring-provider`),
644
586
  method: "DELETE",
645
- 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),
587
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
646
588
  contentType: "application/json",
647
589
  requestType: "json",
648
590
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -689,7 +631,7 @@ class V2 {
689
631
  const _response = yield core.fetcher({
690
632
  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/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/initial-referring-provider`),
691
633
  method: "DELETE",
692
- 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),
634
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
693
635
  contentType: "application/json",
694
636
  requestType: "json",
695
637
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -736,7 +678,7 @@ class V2 {
736
678
  const _response = yield core.fetcher({
737
679
  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/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/supervising-provider`),
738
680
  method: "DELETE",
739
- 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),
681
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
740
682
  contentType: "application/json",
741
683
  requestType: "json",
742
684
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -783,7 +725,7 @@ class V2 {
783
725
  const _response = yield core.fetcher({
784
726
  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/encounter-providers/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/ordering-provider`),
785
727
  method: "DELETE",
786
- 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),
728
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
787
729
  contentType: "application/json",
788
730
  requestType: "json",
789
731
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,