candidhealth 0.40.3 → 0.41.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 (334) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +19 -14
  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 +11 -0
  6. package/api/resources/chargeCapture/resources/v1/client/Client.js +63 -5
  7. package/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -0
  8. package/api/resources/chargeCapture/resources/v1/client/index.js +2 -1
  9. package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +17 -0
  10. package/api/resources/chargeCapture/resources/v1/client/requests/index.d.ts +1 -0
  11. package/api/resources/chargeCapture/resources/v1/client/updatePostBilledChange.d.ts +34 -0
  12. package/api/resources/chargeCapture/resources/v1/client/updatePostBilledChange.js +79 -0
  13. package/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +1 -0
  14. package/api/resources/{chargeCaptureBundles/resources/v1/types/ChargeBundleError.d.ts → chargeCapture/resources/v1/types/ChargeCaptureError.d.ts} +1 -1
  15. package/api/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
  16. package/api/resources/chargeCapture/resources/v1/types/index.js +1 -0
  17. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +7 -35
  18. package/api/resources/chargeCaptureBundles/resources/v1/client/get.d.ts +1 -7
  19. package/api/resources/chargeCaptureBundles/resources/v1/client/get.js +0 -11
  20. package/api/resources/chargeCaptureBundles/resources/v1/client/getAll.d.ts +1 -7
  21. package/api/resources/chargeCaptureBundles/resources/v1/client/getAll.js +0 -11
  22. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +1 -1
  23. package/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +0 -1
  24. package/api/resources/chargeCaptureBundles/resources/v1/types/index.js +0 -1
  25. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  26. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  27. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  28. package/api/resources/diagnoses/client/Client.js +3 -3
  29. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  30. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  31. package/api/resources/encounters/resources/v4/client/Client.js +5 -5
  32. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  33. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  34. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  35. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  36. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  37. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  38. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  39. package/api/resources/index.d.ts +1 -0
  40. package/api/resources/index.js +3 -1
  41. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  42. package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  43. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  44. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  45. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  46. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  47. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  48. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  49. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  50. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  51. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  52. package/api/resources/payerPlanGroups/client/Client.d.ts +30 -0
  53. package/api/resources/payerPlanGroups/client/Client.js +17 -0
  54. package/api/resources/payerPlanGroups/client/index.d.ts +1 -0
  55. package/api/resources/payerPlanGroups/client/index.js +2 -0
  56. package/api/resources/payerPlanGroups/index.d.ts +2 -0
  57. package/api/resources/payerPlanGroups/index.js +18 -0
  58. package/api/resources/payerPlanGroups/resources/index.d.ts +1 -0
  59. package/api/resources/payerPlanGroups/resources/index.js +37 -0
  60. package/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +100 -0
  61. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +435 -0
  62. package/api/resources/payerPlanGroups/resources/v1/client/create.d.ts +34 -0
  63. package/api/resources/payerPlanGroups/resources/v1/client/create.js +79 -0
  64. package/api/resources/payerPlanGroups/resources/v1/client/deactivate.d.ts +34 -0
  65. package/api/resources/payerPlanGroups/resources/v1/client/deactivate.js +79 -0
  66. package/api/resources/payerPlanGroups/resources/v1/client/get.d.ts +34 -0
  67. package/api/resources/payerPlanGroups/resources/v1/client/get.js +79 -0
  68. package/api/resources/payerPlanGroups/resources/v1/client/getMulti.d.ts +28 -0
  69. package/api/resources/payerPlanGroups/resources/v1/client/getMulti.js +68 -0
  70. package/api/resources/payerPlanGroups/resources/v1/client/index.d.ts +6 -0
  71. package/api/resources/payerPlanGroups/resources/v1/client/index.js +45 -0
  72. package/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +47 -0
  73. package/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.js +5 -0
  74. package/api/resources/payerPlanGroups/resources/v1/client/requests/index.d.ts +1 -0
  75. package/api/resources/payerPlanGroups/resources/v1/client/requests/index.js +2 -0
  76. package/api/resources/payerPlanGroups/resources/v1/client/update.d.ts +40 -0
  77. package/api/resources/payerPlanGroups/resources/v1/client/update.js +90 -0
  78. package/api/resources/payerPlanGroups/resources/v1/index.d.ts +2 -0
  79. package/api/resources/payerPlanGroups/resources/v1/index.js +18 -0
  80. package/api/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.d.ts +9 -0
  81. package/api/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.js +5 -0
  82. package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.d.ts +9 -0
  83. package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.js +5 -0
  84. package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.d.ts +8 -0
  85. package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.js +5 -0
  86. package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.d.ts +7 -0
  87. package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.js +5 -0
  88. package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.d.ts +9 -0
  89. package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.js +11 -0
  90. package/api/resources/payerPlanGroups/resources/v1/types/index.d.ts +5 -0
  91. package/api/resources/payerPlanGroups/resources/v1/types/index.js +21 -0
  92. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  93. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  94. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
  95. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  96. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  97. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  98. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  99. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  100. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  101. package/api/resources/serviceFacility/client/Client.js +1 -1
  102. package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  103. package/api/resources/tasks/resources/commons/types/TaskCategory.d.ts +2 -1
  104. package/api/resources/tasks/resources/commons/types/TaskCategory.js +1 -0
  105. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  106. package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  107. package/dist/Client.d.ts +3 -0
  108. package/dist/Client.js +19 -14
  109. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  110. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  111. package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +11 -0
  112. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +63 -5
  113. package/dist/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -0
  114. package/dist/api/resources/chargeCapture/resources/v1/client/index.js +2 -1
  115. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +17 -0
  116. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.js +5 -0
  117. package/dist/api/resources/chargeCapture/resources/v1/client/requests/index.d.ts +1 -0
  118. package/dist/api/resources/chargeCapture/resources/v1/client/updatePostBilledChange.d.ts +34 -0
  119. package/dist/api/resources/chargeCapture/resources/v1/client/updatePostBilledChange.js +79 -0
  120. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +1 -0
  121. package/dist/api/resources/{chargeCaptureBundles/resources/v1/types/ChargeBundleError.d.ts → chargeCapture/resources/v1/types/ChargeCaptureError.d.ts} +1 -1
  122. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureError.js +5 -0
  123. package/dist/api/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
  124. package/dist/api/resources/chargeCapture/resources/v1/types/index.js +1 -0
  125. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +7 -35
  126. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/get.d.ts +1 -7
  127. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/get.js +0 -11
  128. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/getAll.d.ts +1 -7
  129. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/getAll.js +0 -11
  130. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +1 -1
  131. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +0 -1
  132. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.js +0 -1
  133. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  134. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  135. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  136. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  137. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  138. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  139. package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -5
  140. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  141. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  142. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  143. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  144. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  145. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  146. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  147. package/dist/api/resources/index.d.ts +1 -0
  148. package/dist/api/resources/index.js +3 -1
  149. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  150. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  151. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  152. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  153. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  154. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  155. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  156. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  157. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  158. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  159. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  160. package/dist/api/resources/payerPlanGroups/client/Client.d.ts +30 -0
  161. package/dist/api/resources/payerPlanGroups/client/Client.js +17 -0
  162. package/dist/api/resources/payerPlanGroups/client/index.d.ts +1 -0
  163. package/dist/api/resources/payerPlanGroups/client/index.js +2 -0
  164. package/dist/api/resources/payerPlanGroups/index.d.ts +2 -0
  165. package/dist/api/resources/payerPlanGroups/index.js +18 -0
  166. package/dist/api/resources/payerPlanGroups/resources/index.d.ts +1 -0
  167. package/dist/api/resources/payerPlanGroups/resources/index.js +37 -0
  168. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +100 -0
  169. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +435 -0
  170. package/dist/api/resources/payerPlanGroups/resources/v1/client/create.d.ts +34 -0
  171. package/dist/api/resources/payerPlanGroups/resources/v1/client/create.js +79 -0
  172. package/dist/api/resources/payerPlanGroups/resources/v1/client/deactivate.d.ts +34 -0
  173. package/dist/api/resources/payerPlanGroups/resources/v1/client/deactivate.js +79 -0
  174. package/dist/api/resources/payerPlanGroups/resources/v1/client/get.d.ts +34 -0
  175. package/dist/api/resources/payerPlanGroups/resources/v1/client/get.js +79 -0
  176. package/dist/api/resources/payerPlanGroups/resources/v1/client/getMulti.d.ts +28 -0
  177. package/dist/api/resources/payerPlanGroups/resources/v1/client/getMulti.js +68 -0
  178. package/dist/api/resources/payerPlanGroups/resources/v1/client/index.d.ts +6 -0
  179. package/dist/api/resources/payerPlanGroups/resources/v1/client/index.js +45 -0
  180. package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +47 -0
  181. package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.js +5 -0
  182. package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/index.d.ts +1 -0
  183. package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/index.js +2 -0
  184. package/dist/api/resources/payerPlanGroups/resources/v1/client/update.d.ts +40 -0
  185. package/dist/api/resources/payerPlanGroups/resources/v1/client/update.js +90 -0
  186. package/dist/api/resources/payerPlanGroups/resources/v1/index.d.ts +2 -0
  187. package/dist/api/resources/payerPlanGroups/resources/v1/index.js +18 -0
  188. package/dist/api/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.d.ts +9 -0
  189. package/dist/api/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.js +5 -0
  190. package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.d.ts +9 -0
  191. package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.js +5 -0
  192. package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.d.ts +8 -0
  193. package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.js +5 -0
  194. package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.d.ts +7 -0
  195. package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.js +5 -0
  196. package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.d.ts +9 -0
  197. package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.js +11 -0
  198. package/dist/api/resources/payerPlanGroups/resources/v1/types/index.d.ts +5 -0
  199. package/dist/api/resources/payerPlanGroups/resources/v1/types/index.js +21 -0
  200. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  201. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  202. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
  203. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  204. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  205. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  206. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  207. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  208. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  209. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  210. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  211. package/dist/api/resources/tasks/resources/commons/types/TaskCategory.d.ts +2 -1
  212. package/dist/api/resources/tasks/resources/commons/types/TaskCategory.js +1 -0
  213. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  214. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  215. package/dist/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +1 -0
  216. package/dist/serialization/resources/chargeCapture/resources/v1/client/index.js +2 -1
  217. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +12 -0
  218. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.js +43 -0
  219. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/index.d.ts +1 -0
  220. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/index.js +3 -1
  221. package/dist/serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChange.d.ts +20 -0
  222. package/dist/serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChange.js +77 -0
  223. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -0
  224. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -0
  225. package/dist/serialization/resources/{chargeCaptureBundles/resources/v1/types/ChargeBundleError.d.ts → chargeCapture/resources/v1/types/ChargeCaptureError.d.ts} +2 -2
  226. package/{serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeBundleError.js → dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.js} +2 -2
  227. package/dist/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
  228. package/dist/serialization/resources/chargeCapture/resources/v1/types/index.js +1 -0
  229. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +0 -2
  230. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/index.js +1 -3
  231. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +2 -2
  232. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js +2 -2
  233. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +0 -1
  234. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +0 -1
  235. package/dist/serialization/resources/index.d.ts +1 -0
  236. package/dist/serialization/resources/index.js +3 -1
  237. package/dist/serialization/resources/payerPlanGroups/index.d.ts +1 -0
  238. package/dist/serialization/resources/payerPlanGroups/index.js +17 -0
  239. package/dist/serialization/resources/payerPlanGroups/resources/index.d.ts +1 -0
  240. package/dist/serialization/resources/payerPlanGroups/resources/index.js +37 -0
  241. package/dist/serialization/resources/payerPlanGroups/resources/v1/client/create.d.ts +20 -0
  242. package/dist/serialization/resources/payerPlanGroups/resources/v1/client/create.js +77 -0
  243. package/dist/serialization/resources/payerPlanGroups/resources/v1/client/deactivate.d.ts +20 -0
  244. package/dist/serialization/resources/payerPlanGroups/resources/v1/client/deactivate.js +77 -0
  245. package/dist/serialization/resources/payerPlanGroups/resources/v1/client/get.d.ts +20 -0
  246. package/{serialization/resources/chargeCaptureBundles → dist/serialization/resources/payerPlanGroups}/resources/v1/client/get.js +11 -5
  247. package/dist/serialization/resources/payerPlanGroups/resources/v1/client/getMulti.d.ts +15 -0
  248. package/dist/serialization/resources/{chargeCaptureBundles/resources/v1/client/get.js → payerPlanGroups/resources/v1/client/getMulti.js} +5 -5
  249. package/dist/serialization/resources/payerPlanGroups/resources/v1/client/index.d.ts +5 -0
  250. package/dist/serialization/resources/payerPlanGroups/resources/v1/client/index.js +41 -0
  251. package/dist/serialization/resources/payerPlanGroups/resources/v1/client/update.d.ts +25 -0
  252. package/dist/serialization/resources/payerPlanGroups/resources/v1/client/update.js +83 -0
  253. package/dist/serialization/resources/payerPlanGroups/resources/v1/index.d.ts +2 -0
  254. package/dist/serialization/resources/payerPlanGroups/resources/v1/index.js +18 -0
  255. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.d.ts +16 -0
  256. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.js +47 -0
  257. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.d.ts +17 -0
  258. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.js +50 -0
  259. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.d.ts +14 -0
  260. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.js +45 -0
  261. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.d.ts +14 -0
  262. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.js +47 -0
  263. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.d.ts +10 -0
  264. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.js +41 -0
  265. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/index.d.ts +5 -0
  266. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/index.js +21 -0
  267. package/dist/serialization/resources/tasks/resources/commons/types/TaskCategory.d.ts +1 -1
  268. package/dist/serialization/resources/tasks/resources/commons/types/TaskCategory.js +1 -0
  269. package/dist/version.d.ts +1 -1
  270. package/dist/version.js +1 -1
  271. package/package.json +1 -1
  272. package/reference.md +406 -0
  273. package/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +1 -0
  274. package/serialization/resources/chargeCapture/resources/v1/client/index.js +2 -1
  275. package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +12 -0
  276. package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.js +43 -0
  277. package/serialization/resources/chargeCapture/resources/v1/client/requests/index.d.ts +1 -0
  278. package/serialization/resources/chargeCapture/resources/v1/client/requests/index.js +3 -1
  279. package/serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChange.d.ts +20 -0
  280. package/serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChange.js +77 -0
  281. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -0
  282. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -0
  283. package/serialization/resources/{chargeCaptureBundles/resources/v1/types/ChargeBundleError.d.ts → chargeCapture/resources/v1/types/ChargeCaptureError.d.ts} +2 -2
  284. package/{dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeBundleError.js → serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.js} +2 -2
  285. package/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
  286. package/serialization/resources/chargeCapture/resources/v1/types/index.js +1 -0
  287. package/serialization/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +0 -2
  288. package/serialization/resources/chargeCaptureBundles/resources/v1/client/index.js +1 -3
  289. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +2 -2
  290. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js +2 -2
  291. package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +0 -1
  292. package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +0 -1
  293. package/serialization/resources/index.d.ts +1 -0
  294. package/serialization/resources/index.js +3 -1
  295. package/serialization/resources/payerPlanGroups/index.d.ts +1 -0
  296. package/serialization/resources/payerPlanGroups/index.js +17 -0
  297. package/serialization/resources/payerPlanGroups/resources/index.d.ts +1 -0
  298. package/serialization/resources/payerPlanGroups/resources/index.js +37 -0
  299. package/serialization/resources/payerPlanGroups/resources/v1/client/create.d.ts +20 -0
  300. package/serialization/resources/payerPlanGroups/resources/v1/client/create.js +77 -0
  301. package/serialization/resources/payerPlanGroups/resources/v1/client/deactivate.d.ts +20 -0
  302. package/serialization/resources/payerPlanGroups/resources/v1/client/deactivate.js +77 -0
  303. package/serialization/resources/payerPlanGroups/resources/v1/client/get.d.ts +20 -0
  304. package/serialization/resources/{chargeCaptureBundles/resources/v1/client/getAll.js → payerPlanGroups/resources/v1/client/get.js} +11 -5
  305. package/serialization/resources/payerPlanGroups/resources/v1/client/getMulti.d.ts +15 -0
  306. package/{dist/serialization/resources/chargeCaptureBundles/resources/v1/client/getAll.js → serialization/resources/payerPlanGroups/resources/v1/client/getMulti.js} +5 -5
  307. package/serialization/resources/payerPlanGroups/resources/v1/client/index.d.ts +5 -0
  308. package/serialization/resources/payerPlanGroups/resources/v1/client/index.js +41 -0
  309. package/serialization/resources/payerPlanGroups/resources/v1/client/update.d.ts +25 -0
  310. package/serialization/resources/payerPlanGroups/resources/v1/client/update.js +83 -0
  311. package/serialization/resources/payerPlanGroups/resources/v1/index.d.ts +2 -0
  312. package/serialization/resources/payerPlanGroups/resources/v1/index.js +18 -0
  313. package/serialization/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.d.ts +16 -0
  314. package/serialization/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.js +47 -0
  315. package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.d.ts +17 -0
  316. package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.js +50 -0
  317. package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.d.ts +14 -0
  318. package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.js +45 -0
  319. package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.d.ts +14 -0
  320. package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.js +47 -0
  321. package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.d.ts +10 -0
  322. package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.js +41 -0
  323. package/serialization/resources/payerPlanGroups/resources/v1/types/index.d.ts +5 -0
  324. package/serialization/resources/payerPlanGroups/resources/v1/types/index.js +21 -0
  325. package/serialization/resources/tasks/resources/commons/types/TaskCategory.d.ts +1 -1
  326. package/serialization/resources/tasks/resources/commons/types/TaskCategory.js +1 -0
  327. package/version.d.ts +1 -1
  328. package/version.js +1 -1
  329. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/get.d.ts +0 -15
  330. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/getAll.d.ts +0 -15
  331. package/serialization/resources/chargeCaptureBundles/resources/v1/client/get.d.ts +0 -15
  332. package/serialization/resources/chargeCaptureBundles/resources/v1/client/getAll.d.ts +0 -15
  333. /package/api/resources/{chargeCaptureBundles/resources/v1/types/ChargeBundleError.js → chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.js} +0 -0
  334. /package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeBundleError.js → api/resources/chargeCapture/resources/v1/types/ChargeCaptureError.js} +0 -0
@@ -67,11 +67,11 @@ class V1 {
67
67
  */
68
68
  get(chargeCaptureBundleId, requestOptions) {
69
69
  return __awaiter(this, void 0, void 0, function* () {
70
- var _a, _b, _c;
70
+ var _a, _b;
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/charge_capture_bundle/v1/${encodeURIComponent(serializers.ChargeCaptureBundleId.jsonOrThrow(chargeCaptureBundleId))}`),
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.40.3", "User-Agent": "candidhealth/0.40.3", "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.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
75
75
  contentType: "application/json",
76
76
  requestType: "json",
77
77
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -89,20 +89,6 @@ class V1 {
89
89
  }),
90
90
  };
91
91
  }
92
- if (_response.error.reason === "status-code") {
93
- switch ((_c = _response.error.body) === null || _c === void 0 ? void 0 : _c.errorName) {
94
- case "NotImplementedError":
95
- return {
96
- ok: false,
97
- error: serializers.chargeCaptureBundles.v1.get.Error.parseOrThrow(_response.error.body, {
98
- unrecognizedObjectKeys: "passthrough",
99
- allowUnrecognizedUnionMembers: true,
100
- allowUnrecognizedEnumValues: true,
101
- breadcrumbsPrefix: ["response"],
102
- }),
103
- };
104
- }
105
- }
106
92
  return {
107
93
  ok: false,
108
94
  error: CandidApi.chargeCaptureBundles.v1.get.Error._unknown(_response.error),
@@ -119,9 +105,9 @@ class V1 {
119
105
  return __awaiter(this, void 0, void 0, function* () {
120
106
  var _a, _b;
121
107
  const _response = yield core.fetcher({
122
- 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/charge_capture_bundle/v1/summary"),
108
+ 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/charge_capture_bundle/v1/all/summary"),
123
109
  method: "GET",
124
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
110
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
125
111
  contentType: "application/json",
126
112
  requestType: "json",
127
113
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -158,7 +144,7 @@ class V1 {
158
144
  const _response = yield core.fetcher({
159
145
  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/charge_capture_bundle/v1/${encodeURIComponent(serializers.ChargeCaptureBundleId.jsonOrThrow(chargeCaptureBundleId))}`),
160
146
  method: "POST",
161
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
147
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
162
148
  contentType: "application/json",
163
149
  requestType: "json",
164
150
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -216,7 +202,7 @@ class V1 {
216
202
  */
217
203
  getAll() {
218
204
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
219
- var _a, _b, _c;
205
+ var _a, _b;
220
206
  const { limit, sort, sortDirection, pageToken, patientExternalId, bundleStatus, chargeStatus, chargeExternalId, dateOfService, hasChargeCaptureUpdates, } = request;
221
207
  const _queryParams = {};
222
208
  if (limit != null) {
@@ -258,7 +244,7 @@ class V1 {
258
244
  const _response = yield core.fetcher({
259
245
  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/charge_capture_bundle/v1"),
260
246
  method: "GET",
261
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
247
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
262
248
  contentType: "application/json",
263
249
  queryParameters: _queryParams,
264
250
  requestType: "json",
@@ -277,20 +263,6 @@ class V1 {
277
263
  }),
278
264
  };
279
265
  }
280
- if (_response.error.reason === "status-code") {
281
- switch ((_c = _response.error.body) === null || _c === void 0 ? void 0 : _c.errorName) {
282
- case "NotImplementedError":
283
- return {
284
- ok: false,
285
- error: serializers.chargeCaptureBundles.v1.getAll.Error.parseOrThrow(_response.error.body, {
286
- unrecognizedObjectKeys: "passthrough",
287
- allowUnrecognizedUnionMembers: true,
288
- allowUnrecognizedEnumValues: true,
289
- breadcrumbsPrefix: ["response"],
290
- }),
291
- };
292
- }
293
- }
294
266
  return {
295
267
  ok: false,
296
268
  error: CandidApi.chargeCaptureBundles.v1.getAll.Error._unknown(_response.error),
@@ -3,12 +3,8 @@
3
3
  */
4
4
  import * as CandidApi from "../../../../../index";
5
5
  import * as core from "../../../../../../core";
6
- export type Error = CandidApi.chargeCaptureBundles.v1.get.Error.NotImplementedError | CandidApi.chargeCaptureBundles.v1.get.Error._Unknown;
6
+ export type Error = CandidApi.chargeCaptureBundles.v1.get.Error._Unknown;
7
7
  export declare namespace Error {
8
- interface NotImplementedError extends _Utils {
9
- errorName: "NotImplementedError";
10
- content: CandidApi.NotImplementedErrorMessage;
11
- }
12
8
  interface _Unknown extends _Utils {
13
9
  errorName: void;
14
10
  content: core.Fetcher.Error;
@@ -17,12 +13,10 @@ export declare namespace Error {
17
13
  _visit: <_Result>(visitor: CandidApi.chargeCaptureBundles.v1.get.Error._Visitor<_Result>) => _Result;
18
14
  }
19
15
  interface _Visitor<_Result> {
20
- notImplementedError: (value: CandidApi.NotImplementedErrorMessage) => _Result;
21
16
  _other: (value: core.Fetcher.Error) => _Result;
22
17
  }
23
18
  }
24
19
  export declare const Error: {
25
- readonly notImplementedError: (value: CandidApi.NotImplementedErrorMessage) => CandidApi.chargeCaptureBundles.v1.get.Error.NotImplementedError;
26
20
  readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.chargeCaptureBundles.v1.get.Error._Unknown;
27
21
  readonly _visit: <_Result>(value: CandidApi.chargeCaptureBundles.v1.get.Error, visitor: CandidApi.chargeCaptureBundles.v1.get.Error._Visitor<_Result>) => _Result;
28
22
  };
@@ -39,15 +39,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.Error = void 0;
40
40
  const CandidApi = __importStar(require("../../../../../index"));
41
41
  exports.Error = {
42
- notImplementedError: (value) => {
43
- return {
44
- content: value,
45
- errorName: "NotImplementedError",
46
- _visit: function (visitor) {
47
- return CandidApi.chargeCaptureBundles.v1.get.Error._visit(this, visitor);
48
- },
49
- };
50
- },
51
42
  _unknown: (fetcherError) => {
52
43
  return {
53
44
  errorName: undefined,
@@ -59,8 +50,6 @@ exports.Error = {
59
50
  },
60
51
  _visit: (value, visitor) => {
61
52
  switch (value.errorName) {
62
- case "NotImplementedError":
63
- return visitor.notImplementedError(value.content);
64
53
  default:
65
54
  return visitor._other(value);
66
55
  }
@@ -3,12 +3,8 @@
3
3
  */
4
4
  import * as CandidApi from "../../../../../index";
5
5
  import * as core from "../../../../../../core";
6
- export type Error = CandidApi.chargeCaptureBundles.v1.getAll.Error.NotImplementedError | CandidApi.chargeCaptureBundles.v1.getAll.Error._Unknown;
6
+ export type Error = CandidApi.chargeCaptureBundles.v1.getAll.Error._Unknown;
7
7
  export declare namespace Error {
8
- interface NotImplementedError extends _Utils {
9
- errorName: "NotImplementedError";
10
- content: CandidApi.NotImplementedErrorMessage;
11
- }
12
8
  interface _Unknown extends _Utils {
13
9
  errorName: void;
14
10
  content: core.Fetcher.Error;
@@ -17,12 +13,10 @@ export declare namespace Error {
17
13
  _visit: <_Result>(visitor: CandidApi.chargeCaptureBundles.v1.getAll.Error._Visitor<_Result>) => _Result;
18
14
  }
19
15
  interface _Visitor<_Result> {
20
- notImplementedError: (value: CandidApi.NotImplementedErrorMessage) => _Result;
21
16
  _other: (value: core.Fetcher.Error) => _Result;
22
17
  }
23
18
  }
24
19
  export declare const Error: {
25
- readonly notImplementedError: (value: CandidApi.NotImplementedErrorMessage) => CandidApi.chargeCaptureBundles.v1.getAll.Error.NotImplementedError;
26
20
  readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.chargeCaptureBundles.v1.getAll.Error._Unknown;
27
21
  readonly _visit: <_Result>(value: CandidApi.chargeCaptureBundles.v1.getAll.Error, visitor: CandidApi.chargeCaptureBundles.v1.getAll.Error._Visitor<_Result>) => _Result;
28
22
  };
@@ -39,15 +39,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.Error = void 0;
40
40
  const CandidApi = __importStar(require("../../../../../index"));
41
41
  exports.Error = {
42
- notImplementedError: (value) => {
43
- return {
44
- content: value,
45
- errorName: "NotImplementedError",
46
- _visit: function (visitor) {
47
- return CandidApi.chargeCaptureBundles.v1.getAll.Error._visit(this, visitor);
48
- },
49
- };
50
- },
51
42
  _unknown: (fetcherError) => {
52
43
  return {
53
44
  errorName: undefined,
@@ -59,8 +50,6 @@ exports.Error = {
59
50
  },
60
51
  _visit: (value, visitor) => {
61
52
  switch (value.errorName) {
62
- case "NotImplementedError":
63
- return visitor.notImplementedError(value.content);
64
53
  default:
65
54
  return visitor._other(value);
66
55
  }
@@ -13,5 +13,5 @@ export interface ChargeCaptureBundle {
13
13
  * All errors that were found when the bundle was attempted to be created.
14
14
  * Errors can correspond to the Bundle as a whole or specific underlying Charge Captures.
15
15
  */
16
- errors: CandidApi.chargeCaptureBundles.v1.ChargeBundleError[];
16
+ errors: CandidApi.chargeCapture.v1.ChargeCaptureError[];
17
17
  }
@@ -1,6 +1,5 @@
1
1
  export * from "./ChargeCaptureBundlePage";
2
2
  export * from "./ChargeCaptureBundle";
3
3
  export * from "./ChargeCaptureBundleSummary";
4
- export * from "./ChargeBundleError";
5
4
  export * from "./ChargeCaptureBundleStatus";
6
5
  export * from "./ChargeCaptureBundleSortField";
@@ -17,6 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./ChargeCaptureBundlePage"), exports);
18
18
  __exportStar(require("./ChargeCaptureBundle"), exports);
19
19
  __exportStar(require("./ChargeCaptureBundleSummary"), exports);
20
- __exportStar(require("./ChargeBundleError"), exports);
21
20
  __exportStar(require("./ChargeCaptureBundleStatus"), exports);
22
21
  __exportStar(require("./ChargeCaptureBundleSortField"), exports);
@@ -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/contracts/v2/${encodeURIComponent(serializers.contracts.v2.ContractId.jsonOrThrow(contractId))}`),
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.40.3", "User-Agent": "candidhealth/0.40.3", "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.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
75
75
  contentType: "application/json",
76
76
  requestType: "json",
77
77
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -170,7 +170,7 @@ class V2 {
170
170
  const _response = yield core.fetcher({
171
171
  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/contracts/v2"),
172
172
  method: "GET",
173
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
173
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
174
174
  contentType: "application/json",
175
175
  queryParameters: _queryParams,
176
176
  requestType: "json",
@@ -237,7 +237,7 @@ class V2 {
237
237
  const _response = yield core.fetcher({
238
238
  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/contracts/v2"),
239
239
  method: "POST",
240
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
240
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
241
241
  contentType: "application/json",
242
242
  requestType: "json",
243
243
  body: serializers.contracts.v2.ContractCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -275,7 +275,7 @@ class V2 {
275
275
  const _response = yield core.fetcher({
276
276
  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/contracts/v2/${encodeURIComponent(serializers.contracts.v2.ContractId.jsonOrThrow(contractId))}`),
277
277
  method: "DELETE",
278
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
278
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
279
279
  contentType: "application/json",
280
280
  requestType: "json",
281
281
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -355,7 +355,7 @@ class V2 {
355
355
  const _response = yield core.fetcher({
356
356
  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/contracts/v2/${encodeURIComponent(serializers.contracts.v2.ContractId.jsonOrThrow(contractId))}`),
357
357
  method: "PATCH",
358
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
358
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
359
359
  contentType: "application/json",
360
360
  requestType: "json",
361
361
  body: serializers.contracts.v2.ContractUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -83,7 +83,7 @@ class V2 {
83
83
  const _response = yield core.fetcher({
84
84
  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/provider-credentialing-span/v2"),
85
85
  method: "POST",
86
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
86
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
87
87
  contentType: "application/json",
88
88
  requestType: "json",
89
89
  body: serializers.credentialing.v2.ProviderCredentialingSpanCreate.jsonOrThrow(request, {
@@ -138,7 +138,7 @@ class V2 {
138
138
  const _response = yield core.fetcher({
139
139
  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/provider-credentialing-span/v2/${encodeURIComponent(serializers.ProviderCredentialingSpanId.jsonOrThrow(providerCredentialingId))}`),
140
140
  method: "GET",
141
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
141
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
142
142
  contentType: "application/json",
143
143
  requestType: "json",
144
144
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -217,7 +217,7 @@ class V2 {
217
217
  const _response = yield core.fetcher({
218
218
  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/provider-credentialing-span/v2"),
219
219
  method: "GET",
220
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
220
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
221
221
  contentType: "application/json",
222
222
  queryParameters: _queryParams,
223
223
  requestType: "json",
@@ -272,7 +272,7 @@ class V2 {
272
272
  const _response = yield core.fetcher({
273
273
  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/provider-credentialing-span/v2/${encodeURIComponent(serializers.ProviderCredentialingSpanId.jsonOrThrow(providerCredentialingId))}`),
274
274
  method: "DELETE",
275
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
275
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
276
276
  contentType: "application/json",
277
277
  requestType: "json",
278
278
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -331,7 +331,7 @@ class V2 {
331
331
  const _response = yield core.fetcher({
332
332
  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/provider-credentialing-span/v2/${encodeURIComponent(serializers.ProviderCredentialingSpanId.jsonOrThrow(providerCredentialingId))}`),
333
333
  method: "PATCH",
334
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
334
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
335
335
  contentType: "application/json",
336
336
  requestType: "json",
337
337
  body: serializers.credentialing.v2.ProviderCredentialingSpanUpdate.jsonOrThrow(request, {
@@ -72,7 +72,7 @@ class V1 {
72
72
  const _response = yield core.fetcher({
73
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/custom-schemas/v1"),
74
74
  method: "GET",
75
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "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.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
76
76
  contentType: "application/json",
77
77
  requestType: "json",
78
78
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -125,7 +125,7 @@ class V1 {
125
125
  const _response = yield core.fetcher({
126
126
  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/custom-schemas/v1/${encodeURIComponent(serializers.SchemaId.jsonOrThrow(schemaId))}`),
127
127
  method: "GET",
128
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
128
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
129
129
  contentType: "application/json",
130
130
  requestType: "json",
131
131
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -196,7 +196,7 @@ class V1 {
196
196
  const _response = yield core.fetcher({
197
197
  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/custom-schemas/v1"),
198
198
  method: "POST",
199
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
199
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
200
200
  contentType: "application/json",
201
201
  requestType: "json",
202
202
  body: serializers.customSchemas.v1.SchemaCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -258,7 +258,7 @@ class V1 {
258
258
  const _response = yield core.fetcher({
259
259
  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/custom-schemas/v1/${encodeURIComponent(serializers.SchemaId.jsonOrThrow(schemaId))}`),
260
260
  method: "PATCH",
261
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
261
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
262
262
  contentType: "application/json",
263
263
  requestType: "json",
264
264
  body: serializers.customSchemas.v1.SchemaUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -78,7 +78,7 @@ class Diagnoses {
78
78
  const _response = yield core.fetcher({
79
79
  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/diagnoses/v2"),
80
80
  method: "POST",
81
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
81
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
82
82
  contentType: "application/json",
83
83
  requestType: "json",
84
84
  body: serializers.StandaloneDiagnosisCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -123,7 +123,7 @@ class Diagnoses {
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/diagnoses/v2/${encodeURIComponent(serializers.DiagnosisId.jsonOrThrow(diagnosisId))}`),
125
125
  method: "PATCH",
126
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "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.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
127
127
  contentType: "application/json",
128
128
  requestType: "json",
129
129
  body: serializers.DiagnosisUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -177,7 +177,7 @@ class Diagnoses {
177
177
  const _response = yield core.fetcher({
178
178
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/diagnoses/v2/${encodeURIComponent(serializers.DiagnosisId.jsonOrThrow(diagnosisId))}`),
179
179
  method: "DELETE",
180
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
180
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
181
181
  contentType: "application/json",
182
182
  requestType: "json",
183
183
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -91,7 +91,7 @@ class V2 {
91
91
  const _response = yield core.fetcher({
92
92
  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/eligibility/v2"),
93
93
  method: "POST",
94
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
94
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
95
95
  contentType: "application/json",
96
96
  requestType: "json",
97
97
  body: request,
@@ -159,7 +159,7 @@ class V2 {
159
159
  const _response = yield core.fetcher({
160
160
  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/eligibility/v2/availity"),
161
161
  method: "GET",
162
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
162
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
163
163
  contentType: "application/json",
164
164
  requestType: "json",
165
165
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -225,7 +225,7 @@ class V2 {
225
225
  const _response = yield core.fetcher({
226
226
  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/eligibility/v2/availity"),
227
227
  method: "POST",
228
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
228
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
229
229
  contentType: "application/json",
230
230
  requestType: "json",
231
231
  body: request,
@@ -86,7 +86,7 @@ class V2 {
86
86
  const _response = yield core.fetcher({
87
87
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}`),
88
88
  method: "PATCH",
89
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
89
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
90
90
  contentType: "application/json",
91
91
  requestType: "json",
92
92
  body: serializers.encounterProviders.v2.ReferringProviderUpdate.jsonOrThrow(request, {
@@ -157,7 +157,7 @@ class V2 {
157
157
  const _response = yield core.fetcher({
158
158
  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
159
  method: "PATCH",
160
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
160
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
161
161
  contentType: "application/json",
162
162
  requestType: "json",
163
163
  body: serializers.encounterProviders.v2.InitialReferringProviderUpdate.jsonOrThrow(request, {
@@ -228,7 +228,7 @@ class V2 {
228
228
  const _response = yield core.fetcher({
229
229
  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
230
  method: "PATCH",
231
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
231
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
232
232
  contentType: "application/json",
233
233
  requestType: "json",
234
234
  body: serializers.encounterProviders.v2.SupervisingProviderUpdate.jsonOrThrow(request, {
@@ -299,7 +299,7 @@ class V2 {
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/encounter-providers/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/ordering-provider`),
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.40.3", "User-Agent": "candidhealth/0.40.3", "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.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
303
303
  contentType: "application/json",
304
304
  requestType: "json",
305
305
  body: serializers.encounterProviders.v2.OrderingProviderUpdate.jsonOrThrow(request, {
@@ -369,7 +369,7 @@ class V2 {
369
369
  const _response = yield core.fetcher({
370
370
  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
371
  method: "POST",
372
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
372
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
373
373
  contentType: "application/json",
374
374
  requestType: "json",
375
375
  body: serializers.encounterProviders.v2.ReferringProvider.jsonOrThrow(request, {
@@ -441,7 +441,7 @@ class V2 {
441
441
  const _response = yield core.fetcher({
442
442
  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
443
  method: "POST",
444
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
444
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
445
445
  contentType: "application/json",
446
446
  requestType: "json",
447
447
  body: serializers.encounterProviders.v2.InitialReferringProvider.jsonOrThrow(request, {
@@ -514,7 +514,7 @@ class V2 {
514
514
  const _response = yield core.fetcher({
515
515
  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
516
  method: "POST",
517
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
517
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
518
518
  contentType: "application/json",
519
519
  requestType: "json",
520
520
  body: serializers.encounterProviders.v2.SupervisingProvider.jsonOrThrow(request, {
@@ -586,7 +586,7 @@ class V2 {
586
586
  const _response = yield core.fetcher({
587
587
  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
588
  method: "POST",
589
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
589
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
590
590
  contentType: "application/json",
591
591
  requestType: "json",
592
592
  body: serializers.encounterProviders.v2.OrderingProvider.jsonOrThrow(request, {
@@ -642,7 +642,7 @@ class V2 {
642
642
  const _response = yield core.fetcher({
643
643
  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
644
  method: "DELETE",
645
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
645
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
646
646
  contentType: "application/json",
647
647
  requestType: "json",
648
648
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -689,7 +689,7 @@ class V2 {
689
689
  const _response = yield core.fetcher({
690
690
  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
691
  method: "DELETE",
692
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
692
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
693
693
  contentType: "application/json",
694
694
  requestType: "json",
695
695
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -736,7 +736,7 @@ class V2 {
736
736
  const _response = yield core.fetcher({
737
737
  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
738
  method: "DELETE",
739
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
739
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
740
740
  contentType: "application/json",
741
741
  requestType: "json",
742
742
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -783,7 +783,7 @@ class V2 {
783
783
  const _response = yield core.fetcher({
784
784
  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
785
  method: "DELETE",
786
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
786
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.0", "User-Agent": "candidhealth/0.41.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
787
787
  contentType: "application/json",
788
788
  requestType: "json",
789
789
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,