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
@@ -88,7 +88,7 @@ class V1 {
88
88
  const _response = yield core.fetcher({
89
89
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/non-insurance-payers/v1"),
90
90
  method: "POST",
91
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.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),
91
+ 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),
92
92
  contentType: "application/json",
93
93
  requestType: "json",
94
94
  body: serializers.nonInsurancePayers.v1.CreateNonInsurancePayerRequest.jsonOrThrow(request, {
@@ -146,7 +146,7 @@ class V1 {
146
146
  const _response = yield core.fetcher({
147
147
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/non-insurance-payers/v1/${encodeURIComponent(serializers.nonInsurancePayers.v1.NonInsurancePayerId.jsonOrThrow(nonInsurancePayerId))}/toggle_enablement`),
148
148
  method: "PATCH",
149
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.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),
149
+ 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),
150
150
  contentType: "application/json",
151
151
  requestType: "json",
152
152
  body: serializers.nonInsurancePayers.v1.ToggleNonInsurancePayerEnablementRequest.jsonOrThrow(request, {
@@ -235,7 +235,7 @@ class V1 {
235
235
  const _response = yield core.fetcher({
236
236
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/non-insurance-payers/v1"),
237
237
  method: "GET",
238
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.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),
238
+ 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),
239
239
  contentType: "application/json",
240
240
  queryParameters: _queryParams,
241
241
  requestType: "json",
@@ -287,7 +287,7 @@ class V1 {
287
287
  const _response = yield core.fetcher({
288
288
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/non-insurance-payers/v1/${encodeURIComponent(serializers.nonInsurancePayers.v1.NonInsurancePayerId.jsonOrThrow(nonInsurancePayerId))}`),
289
289
  method: "GET",
290
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.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),
290
+ 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),
291
291
  contentType: "application/json",
292
292
  requestType: "json",
293
293
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -350,7 +350,7 @@ class V1 {
350
350
  const _response = yield core.fetcher({
351
351
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/non-insurance-payers/v1/${encodeURIComponent(serializers.nonInsurancePayers.v1.NonInsurancePayerId.jsonOrThrow(nonInsurancePayerId))}`),
352
352
  method: "PATCH",
353
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.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),
353
+ 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),
354
354
  contentType: "application/json",
355
355
  requestType: "json",
356
356
  body: serializers.nonInsurancePayers.v1.NonInsurancePayerUpdateRequest.jsonOrThrow(request, {
@@ -405,7 +405,7 @@ class V1 {
405
405
  const _response = yield core.fetcher({
406
406
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/non-insurance-payers/v1/${encodeURIComponent(serializers.nonInsurancePayers.v1.NonInsurancePayerId.jsonOrThrow(nonInsurancePayerId))}`),
407
407
  method: "DELETE",
408
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.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),
408
+ 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),
409
409
  contentType: "application/json",
410
410
  requestType: "json",
411
411
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -71,7 +71,7 @@ class V3 {
71
71
  const _response = yield core.fetcher({
72
72
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/organization-providers/v3/${encodeURIComponent(serializers.organizationProviders.v2.OrganizationProviderId.jsonOrThrow(organizationProviderId))}`),
73
73
  method: "GET",
74
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.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,
@@ -153,7 +153,7 @@ class V3 {
153
153
  const _response = yield core.fetcher({
154
154
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/organization-providers/v3"),
155
155
  method: "GET",
156
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.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),
156
+ 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),
157
157
  contentType: "application/json",
158
158
  queryParameters: _queryParams,
159
159
  requestType: "json",
@@ -224,7 +224,7 @@ class V3 {
224
224
  const _response = yield core.fetcher({
225
225
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/organization-providers/v3"),
226
226
  method: "POST",
227
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.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),
227
+ 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),
228
228
  contentType: "application/json",
229
229
  requestType: "json",
230
230
  body: serializers.organizationProviders.v3.OrganizationProviderCreateV2.jsonOrThrow(request, {
@@ -314,7 +314,7 @@ class V3 {
314
314
  const _response = yield core.fetcher({
315
315
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/organization-providers/v3/${encodeURIComponent(serializers.organizationProviders.v2.OrganizationProviderId.jsonOrThrow(organizationProviderId))}`),
316
316
  method: "PATCH",
317
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.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),
317
+ 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),
318
318
  contentType: "application/json",
319
319
  requestType: "json",
320
320
  body: serializers.organizationProviders.v3.OrganizationProviderUpdateV2.jsonOrThrow(request, {
@@ -71,7 +71,7 @@ class V2 {
71
71
  const _response = yield core.fetcher({
72
72
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/organization-service-facilities/v2/${encodeURIComponent(serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityId.jsonOrThrow(organizationServiceFacilityId))}`),
73
73
  method: "GET",
74
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.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,
@@ -137,7 +137,7 @@ class V2 {
137
137
  const _response = yield core.fetcher({
138
138
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/organization-service-facilities/v2"),
139
139
  method: "GET",
140
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.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),
140
+ 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),
141
141
  contentType: "application/json",
142
142
  queryParameters: _queryParams,
143
143
  requestType: "json",
@@ -193,7 +193,7 @@ class V2 {
193
193
  const _response = yield core.fetcher({
194
194
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/organization-service-facilities/v2"),
195
195
  method: "POST",
196
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.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),
196
+ 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),
197
197
  contentType: "application/json",
198
198
  requestType: "json",
199
199
  body: serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityCreate.jsonOrThrow(request, {
@@ -266,7 +266,7 @@ class V2 {
266
266
  const _response = yield core.fetcher({
267
267
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/organization-service-facilities/v2/${encodeURIComponent(serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityId.jsonOrThrow(organizationServiceFacilityId))}`),
268
268
  method: "PATCH",
269
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.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),
269
+ 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),
270
270
  contentType: "application/json",
271
271
  requestType: "json",
272
272
  body: serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityUpdate.jsonOrThrow(request, {
@@ -321,7 +321,7 @@ class V2 {
321
321
  const _response = yield core.fetcher({
322
322
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/organization-service-facilities/v2/${encodeURIComponent(serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityId.jsonOrThrow(organizationServiceFacilityId))}`),
323
323
  method: "DELETE",
324
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.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),
324
+ 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),
325
325
  contentType: "application/json",
326
326
  requestType: "json",
327
327
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -132,7 +132,7 @@ class V4 {
132
132
  const _response = yield core.fetcher({
133
133
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/patient-payments/v4"),
134
134
  method: "GET",
135
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.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),
135
+ 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),
136
136
  contentType: "application/json",
137
137
  queryParameters: _queryParams,
138
138
  requestType: "json",
@@ -187,7 +187,7 @@ class V4 {
187
187
  const _response = yield core.fetcher({
188
188
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/patient-payments/v4/${encodeURIComponent(serializers.patientPayments.v4.PatientPaymentId.jsonOrThrow(patientPaymentId))}`),
189
189
  method: "GET",
190
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.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),
190
+ 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),
191
191
  contentType: "application/json",
192
192
  requestType: "json",
193
193
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -256,7 +256,7 @@ class V4 {
256
256
  const _response = yield core.fetcher({
257
257
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/patient-payments/v4"),
258
258
  method: "POST",
259
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.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),
259
+ 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),
260
260
  contentType: "application/json",
261
261
  requestType: "json",
262
262
  body: serializers.patientPayments.v4.PatientPaymentCreate.jsonOrThrow(request, {
@@ -325,7 +325,7 @@ class V4 {
325
325
  const _response = yield core.fetcher({
326
326
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/patient-payments/v4/${encodeURIComponent(serializers.patientPayments.v4.PatientPaymentId.jsonOrThrow(patientPaymentId))}`),
327
327
  method: "PATCH",
328
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.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),
328
+ 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),
329
329
  contentType: "application/json",
330
330
  requestType: "json",
331
331
  body: serializers.patientPayments.v4.PatientPaymentUpdate.jsonOrThrow(request, {
@@ -383,7 +383,7 @@ class V4 {
383
383
  const _response = yield core.fetcher({
384
384
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/patient-payments/v4/${encodeURIComponent(serializers.patientPayments.v4.PatientPaymentId.jsonOrThrow(patientPaymentId))}`),
385
385
  method: "DELETE",
386
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.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),
386
+ 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),
387
387
  contentType: "application/json",
388
388
  requestType: "json",
389
389
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -132,7 +132,7 @@ class V1 {
132
132
  const _response = yield core.fetcher({
133
133
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/patient-refunds/v1"),
134
134
  method: "GET",
135
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.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),
135
+ 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),
136
136
  contentType: "application/json",
137
137
  queryParameters: _queryParams,
138
138
  requestType: "json",
@@ -187,7 +187,7 @@ class V1 {
187
187
  const _response = yield core.fetcher({
188
188
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/patient-refunds/v1/${encodeURIComponent(serializers.patientRefunds.v1.PatientRefundId.jsonOrThrow(patientRefundId))}`),
189
189
  method: "GET",
190
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.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),
190
+ 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),
191
191
  contentType: "application/json",
192
192
  requestType: "json",
193
193
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -257,7 +257,7 @@ class V1 {
257
257
  const _response = yield core.fetcher({
258
258
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/patient-refunds/v1"),
259
259
  method: "POST",
260
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.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),
260
+ 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),
261
261
  contentType: "application/json",
262
262
  requestType: "json",
263
263
  body: serializers.patientRefunds.v1.PatientRefundCreate.jsonOrThrow(request, {
@@ -330,7 +330,7 @@ class V1 {
330
330
  const _response = yield core.fetcher({
331
331
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/patient-refunds/v1/${encodeURIComponent(serializers.patientRefunds.v1.PatientRefundId.jsonOrThrow(patientRefundId))}`),
332
332
  method: "PATCH",
333
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.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),
333
+ 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),
334
334
  contentType: "application/json",
335
335
  requestType: "json",
336
336
  body: serializers.patientRefunds.v1.PatientRefundUpdate.jsonOrThrow(request, {
@@ -388,7 +388,7 @@ class V1 {
388
388
  const _response = yield core.fetcher({
389
389
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/patient-refunds/v1/${encodeURIComponent(serializers.patientRefunds.v1.PatientRefundId.jsonOrThrow(patientRefundId))}`),
390
390
  method: "DELETE",
391
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.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),
391
+ 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),
392
392
  contentType: "application/json",
393
393
  requestType: "json",
394
394
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -0,0 +1,30 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as environments from "../../../../environments";
5
+ import * as core from "../../../../core";
6
+ import { V1 } from "../resources/v1/client/Client";
7
+ export declare namespace PayerPlanGroups {
8
+ interface Options {
9
+ environment?: core.Supplier<environments.CandidApiEnvironment | environments.CandidApiEnvironmentUrls>;
10
+ /** Specify a custom URL to connect the client to. */
11
+ baseUrl?: core.Supplier<string>;
12
+ token?: core.Supplier<core.BearerToken | undefined>;
13
+ }
14
+ interface RequestOptions {
15
+ /** The maximum time to wait for a response in seconds. */
16
+ timeoutInSeconds?: number;
17
+ /** The number of times to retry the request. Defaults to 2. */
18
+ maxRetries?: number;
19
+ /** A hook to abort the request. */
20
+ abortSignal?: AbortSignal;
21
+ /** Additional headers to include in the request. */
22
+ headers?: Record<string, string>;
23
+ }
24
+ }
25
+ export declare class PayerPlanGroups {
26
+ protected readonly _options: PayerPlanGroups.Options;
27
+ protected _v1: V1 | undefined;
28
+ constructor(_options?: PayerPlanGroups.Options);
29
+ get v1(): V1;
30
+ }
@@ -0,0 +1,17 @@
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.PayerPlanGroups = void 0;
7
+ const Client_1 = require("../resources/v1/client/Client");
8
+ class PayerPlanGroups {
9
+ constructor(_options = {}) {
10
+ this._options = _options;
11
+ }
12
+ get v1() {
13
+ var _a;
14
+ return ((_a = this._v1) !== null && _a !== void 0 ? _a : (this._v1 = new Client_1.V1(this._options)));
15
+ }
16
+ }
17
+ exports.PayerPlanGroups = PayerPlanGroups;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export * from "./resources";
2
+ export * from "./client";
@@ -0,0 +1,18 @@
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("./resources"), exports);
18
+ __exportStar(require("./client"), exports);
@@ -0,0 +1 @@
1
+ export * as v1 from "./v1";
@@ -0,0 +1,37 @@
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.v1 = void 0;
37
+ exports.v1 = __importStar(require("./v1"));
@@ -0,0 +1,100 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as environments from "../../../../../../environments";
5
+ import * as core from "../../../../../../core";
6
+ import * as CandidApi from "../../../../../index";
7
+ export declare namespace V1 {
8
+ interface Options {
9
+ environment?: core.Supplier<environments.CandidApiEnvironment | environments.CandidApiEnvironmentUrls>;
10
+ /** Specify a custom URL to connect the client to. */
11
+ baseUrl?: core.Supplier<string>;
12
+ token?: core.Supplier<core.BearerToken | undefined>;
13
+ }
14
+ interface RequestOptions {
15
+ /** The maximum time to wait for a response in seconds. */
16
+ timeoutInSeconds?: number;
17
+ /** The number of times to retry the request. Defaults to 2. */
18
+ maxRetries?: number;
19
+ /** A hook to abort the request. */
20
+ abortSignal?: AbortSignal;
21
+ /** Additional headers to include in the request. */
22
+ headers?: Record<string, string>;
23
+ }
24
+ }
25
+ export declare class V1 {
26
+ protected readonly _options: V1.Options;
27
+ constructor(_options?: V1.Options);
28
+ /**
29
+ * Returns all payer plan groups matching filter criteria.
30
+ *
31
+ * @param {CandidApi.payerPlanGroups.v1.PayerPlanGroupGetMultiRequest} request
32
+ * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
33
+ *
34
+ * @example
35
+ * await client.payerPlanGroups.v1.getMulti({
36
+ * planGroupName: "string",
37
+ * payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
38
+ * payerId: CandidApi.payers.v3.PayerId("string"),
39
+ * planType: "09",
40
+ * isActive: true,
41
+ * payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
42
+ * limit: 1,
43
+ * sortBySimilarity: "string",
44
+ * sort: "plan_group_name",
45
+ * sortDirection: "asc",
46
+ * pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9")
47
+ * })
48
+ */
49
+ getMulti(request?: CandidApi.payerPlanGroups.v1.PayerPlanGroupGetMultiRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.payerPlanGroups.v1.PayerPlanGroupPage, CandidApi.payerPlanGroups.v1.getMulti.Error>>;
50
+ /**
51
+ * Return a plan group with a given ID.
52
+ *
53
+ * @param {CandidApi.PayerPlanGroupId} payerPlanGroupId
54
+ * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
55
+ *
56
+ * @example
57
+ * await client.payerPlanGroups.v1.get(CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
58
+ */
59
+ get(payerPlanGroupId: CandidApi.PayerPlanGroupId, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.payerPlanGroups.v1.PayerPlanGroup, CandidApi.payerPlanGroups.v1.get.Error>>;
60
+ /**
61
+ * Create a payer plan group
62
+ *
63
+ * @param {CandidApi.payerPlanGroups.v1.MutablePayerPlanGroup} request
64
+ * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
65
+ *
66
+ * @example
67
+ * await client.payerPlanGroups.v1.create({
68
+ * planGroupName: "string",
69
+ * payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
70
+ * planType: "09"
71
+ * })
72
+ */
73
+ create(request: CandidApi.payerPlanGroups.v1.MutablePayerPlanGroup, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.payerPlanGroups.v1.PayerPlanGroup, CandidApi.payerPlanGroups.v1.create.Error>>;
74
+ /**
75
+ * Update any of the fields on a payer plan group
76
+ *
77
+ * @param {CandidApi.PayerPlanGroupId} payerPlanGroupId
78
+ * @param {CandidApi.payerPlanGroups.v1.MutablePayerPlanGroup} request
79
+ * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
80
+ *
81
+ * @example
82
+ * await client.payerPlanGroups.v1.update(CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
83
+ * planGroupName: "string",
84
+ * payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
85
+ * planType: "09"
86
+ * })
87
+ */
88
+ update(payerPlanGroupId: CandidApi.PayerPlanGroupId, request: CandidApi.payerPlanGroups.v1.MutablePayerPlanGroup, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.payerPlanGroups.v1.PayerPlanGroup, CandidApi.payerPlanGroups.v1.update.Error>>;
89
+ /**
90
+ * Marks the payer plan group as deactivated
91
+ *
92
+ * @param {CandidApi.PayerPlanGroupId} payerPlanGroupId
93
+ * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
94
+ *
95
+ * @example
96
+ * await client.payerPlanGroups.v1.deactivate(CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
97
+ */
98
+ deactivate(payerPlanGroupId: CandidApi.PayerPlanGroupId, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.payerPlanGroups.v1.PayerPlanGroup, CandidApi.payerPlanGroups.v1.deactivate.Error>>;
99
+ protected _getAuthorizationHeader(): Promise<string | undefined>;
100
+ }