candidhealth 0.40.2 → 0.40.4

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 (343) 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 +1 -0
  6. package/api/resources/chargeCapture/resources/v1/client/Client.js +10 -6
  7. package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +5 -0
  8. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +8 -1
  9. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +40 -4
  10. package/api/resources/chargeCaptureBundles/resources/v1/client/getSummary.d.ts +22 -0
  11. package/api/resources/chargeCaptureBundles/resources/v1/client/getSummary.js +57 -0
  12. package/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +1 -0
  13. package/api/resources/chargeCaptureBundles/resources/v1/client/index.js +2 -1
  14. package/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.d.ts +1 -1
  15. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +3 -1
  16. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +2 -0
  17. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +11 -0
  18. package/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +1 -0
  19. package/api/resources/chargeCaptureBundles/resources/v1/types/index.js +1 -0
  20. package/api/resources/commons/types/ProcedureModifier.d.ts +13 -1
  21. package/api/resources/commons/types/ProcedureModifier.js +3 -0
  22. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  23. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  24. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  25. package/api/resources/diagnoses/client/Client.js +3 -3
  26. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  27. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  28. package/api/resources/encounters/resources/v4/client/Client.js +5 -5
  29. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  30. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  31. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  32. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  33. package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +3 -3
  34. package/api/resources/feeSchedules/resources/v3/client/Client.js +13 -13
  35. package/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +1 -1
  36. package/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -1
  37. package/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +1 -1
  38. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  39. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  40. package/api/resources/index.d.ts +1 -0
  41. package/api/resources/index.js +3 -1
  42. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  43. package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +0 -56
  44. package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -194
  45. package/api/resources/insurancePayments/resources/v1/client/index.d.ts +0 -3
  46. package/api/resources/insurancePayments/resources/v1/client/index.js +1 -4
  47. package/api/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
  48. package/api/resources/insurancePayments/resources/v1/types/index.d.ts +0 -1
  49. package/api/resources/insurancePayments/resources/v1/types/index.js +0 -1
  50. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  51. package/api/resources/medicationDispense/resources/v1/client/Client.d.ts +1 -1
  52. package/api/resources/medicationDispense/resources/v1/client/Client.js +2 -2
  53. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  54. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  55. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  56. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  57. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  58. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  59. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  60. package/api/resources/payerPlanGroups/client/Client.d.ts +30 -0
  61. package/api/resources/payerPlanGroups/client/Client.js +17 -0
  62. package/api/resources/payerPlanGroups/client/index.d.ts +1 -0
  63. package/api/resources/payerPlanGroups/client/index.js +2 -0
  64. package/api/resources/payerPlanGroups/index.d.ts +2 -0
  65. package/api/resources/payerPlanGroups/index.js +18 -0
  66. package/api/resources/payerPlanGroups/resources/index.d.ts +1 -0
  67. package/api/resources/payerPlanGroups/resources/index.js +37 -0
  68. package/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +100 -0
  69. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +435 -0
  70. package/api/resources/payerPlanGroups/resources/v1/client/create.d.ts +34 -0
  71. package/api/resources/payerPlanGroups/resources/v1/client/create.js +79 -0
  72. package/api/resources/payerPlanGroups/resources/v1/client/deactivate.d.ts +34 -0
  73. package/api/resources/{insurancePayments/resources/v1/client/create.js → payerPlanGroups/resources/v1/client/deactivate.js} +3 -14
  74. package/api/resources/payerPlanGroups/resources/v1/client/get.d.ts +34 -0
  75. package/{dist/api/resources/insurancePayments/resources/v1/client/create.js → api/resources/payerPlanGroups/resources/v1/client/get.js} +3 -14
  76. package/api/resources/payerPlanGroups/resources/v1/client/getMulti.d.ts +28 -0
  77. package/api/resources/payerPlanGroups/resources/v1/client/getMulti.js +68 -0
  78. package/api/resources/payerPlanGroups/resources/v1/client/index.d.ts +6 -0
  79. package/api/resources/payerPlanGroups/resources/v1/client/index.js +45 -0
  80. package/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +47 -0
  81. package/api/resources/payerPlanGroups/resources/v1/client/requests/index.d.ts +1 -0
  82. package/api/resources/payerPlanGroups/resources/v1/client/requests/index.js +2 -0
  83. package/api/resources/payerPlanGroups/resources/v1/client/update.d.ts +40 -0
  84. package/api/resources/{insurancePayments → payerPlanGroups}/resources/v1/client/update.js +8 -8
  85. package/api/resources/payerPlanGroups/resources/v1/index.d.ts +2 -0
  86. package/api/resources/payerPlanGroups/resources/v1/index.js +18 -0
  87. package/api/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.d.ts +9 -0
  88. package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.d.ts +9 -0
  89. package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.d.ts +8 -0
  90. package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.js +5 -0
  91. package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.d.ts +7 -0
  92. package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.js +5 -0
  93. package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.d.ts +9 -0
  94. package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.js +11 -0
  95. package/api/resources/payerPlanGroups/resources/v1/types/index.d.ts +5 -0
  96. package/api/resources/payerPlanGroups/resources/v1/types/index.js +21 -0
  97. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  98. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  99. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
  100. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  101. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  102. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  103. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  104. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  105. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  106. package/api/resources/serviceFacility/client/Client.js +1 -1
  107. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +2 -2
  108. package/api/resources/serviceLines/resources/v2/client/Client.js +5 -5
  109. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  110. package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  111. package/dist/Client.d.ts +3 -0
  112. package/dist/Client.js +19 -14
  113. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  114. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  115. package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +1 -0
  116. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +10 -6
  117. package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +5 -0
  118. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +8 -1
  119. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +40 -4
  120. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/getSummary.d.ts +22 -0
  121. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/getSummary.js +57 -0
  122. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +1 -0
  123. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.js +2 -1
  124. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.d.ts +1 -1
  125. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +3 -1
  126. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +2 -0
  127. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +11 -0
  128. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js +5 -0
  129. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +1 -0
  130. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.js +1 -0
  131. package/dist/api/resources/commons/types/ProcedureModifier.d.ts +13 -1
  132. package/dist/api/resources/commons/types/ProcedureModifier.js +3 -0
  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.d.ts +3 -3
  145. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +13 -13
  146. package/dist/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +1 -1
  147. package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -1
  148. package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +1 -1
  149. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  150. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  151. package/dist/api/resources/index.d.ts +1 -0
  152. package/dist/api/resources/index.js +3 -1
  153. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  154. package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +0 -56
  155. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -194
  156. package/dist/api/resources/insurancePayments/resources/v1/client/index.d.ts +0 -3
  157. package/dist/api/resources/insurancePayments/resources/v1/client/index.js +1 -4
  158. package/dist/api/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
  159. package/dist/api/resources/insurancePayments/resources/v1/types/index.d.ts +0 -1
  160. package/dist/api/resources/insurancePayments/resources/v1/types/index.js +0 -1
  161. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  162. package/dist/api/resources/medicationDispense/resources/v1/client/Client.d.ts +1 -1
  163. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +2 -2
  164. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  165. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  166. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  167. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  168. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  169. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  170. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  171. package/dist/api/resources/payerPlanGroups/client/Client.d.ts +30 -0
  172. package/dist/api/resources/payerPlanGroups/client/Client.js +17 -0
  173. package/dist/api/resources/payerPlanGroups/client/index.d.ts +1 -0
  174. package/dist/api/resources/payerPlanGroups/client/index.js +2 -0
  175. package/dist/api/resources/payerPlanGroups/index.d.ts +2 -0
  176. package/dist/api/resources/payerPlanGroups/index.js +18 -0
  177. package/dist/api/resources/payerPlanGroups/resources/index.d.ts +1 -0
  178. package/dist/api/resources/payerPlanGroups/resources/index.js +37 -0
  179. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +100 -0
  180. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +435 -0
  181. package/dist/api/resources/payerPlanGroups/resources/v1/client/create.d.ts +34 -0
  182. package/dist/api/resources/payerPlanGroups/resources/v1/client/create.js +79 -0
  183. package/dist/api/resources/payerPlanGroups/resources/v1/client/deactivate.d.ts +34 -0
  184. package/{api/resources/insurancePayments/resources/v1/client/delete.js → dist/api/resources/payerPlanGroups/resources/v1/client/deactivate.js} +3 -14
  185. package/dist/api/resources/payerPlanGroups/resources/v1/client/get.d.ts +34 -0
  186. package/dist/api/resources/payerPlanGroups/resources/v1/client/get.js +79 -0
  187. package/dist/api/resources/payerPlanGroups/resources/v1/client/getMulti.d.ts +28 -0
  188. package/dist/api/resources/payerPlanGroups/resources/v1/client/getMulti.js +68 -0
  189. package/dist/api/resources/payerPlanGroups/resources/v1/client/index.d.ts +6 -0
  190. package/dist/api/resources/payerPlanGroups/resources/v1/client/index.js +45 -0
  191. package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +47 -0
  192. package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.js +5 -0
  193. package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/index.d.ts +1 -0
  194. package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/index.js +2 -0
  195. package/dist/api/resources/payerPlanGroups/resources/v1/client/update.d.ts +40 -0
  196. package/dist/api/resources/{insurancePayments → payerPlanGroups}/resources/v1/client/update.js +8 -8
  197. package/dist/api/resources/payerPlanGroups/resources/v1/index.d.ts +2 -0
  198. package/dist/api/resources/payerPlanGroups/resources/v1/index.js +18 -0
  199. package/dist/api/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.d.ts +9 -0
  200. package/dist/api/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.js +5 -0
  201. package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.d.ts +9 -0
  202. package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.js +5 -0
  203. package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.d.ts +8 -0
  204. package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.js +5 -0
  205. package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.d.ts +7 -0
  206. package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.js +5 -0
  207. package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.d.ts +9 -0
  208. package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.js +11 -0
  209. package/dist/api/resources/payerPlanGroups/resources/v1/types/index.d.ts +5 -0
  210. package/dist/api/resources/payerPlanGroups/resources/v1/types/index.js +21 -0
  211. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  212. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  213. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
  214. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  215. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  216. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  217. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  218. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  219. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  220. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  221. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +2 -2
  222. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +5 -5
  223. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  224. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  225. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +1 -1
  226. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +1 -1
  227. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +14 -0
  228. package/dist/serialization/resources/{insurancePayments/resources/v1/types/InsurancePaymentCreate.js → chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js} +5 -9
  229. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +1 -0
  230. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +1 -0
  231. package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  232. package/dist/serialization/resources/commons/types/ProcedureModifier.js +3 -0
  233. package/dist/serialization/resources/index.d.ts +1 -0
  234. package/dist/serialization/resources/index.js +3 -1
  235. package/dist/serialization/resources/insurancePayments/resources/v1/client/index.d.ts +0 -4
  236. package/dist/serialization/resources/insurancePayments/resources/v1/client/index.js +1 -8
  237. package/dist/serialization/resources/insurancePayments/resources/v1/types/index.d.ts +0 -1
  238. package/dist/serialization/resources/insurancePayments/resources/v1/types/index.js +0 -1
  239. package/dist/serialization/resources/payerPlanGroups/index.d.ts +1 -0
  240. package/dist/serialization/resources/payerPlanGroups/index.js +17 -0
  241. package/dist/serialization/resources/payerPlanGroups/resources/index.d.ts +1 -0
  242. package/dist/serialization/resources/payerPlanGroups/resources/index.js +37 -0
  243. package/dist/serialization/resources/payerPlanGroups/resources/v1/client/create.d.ts +20 -0
  244. package/dist/serialization/resources/payerPlanGroups/resources/v1/client/create.js +77 -0
  245. package/dist/serialization/resources/{insurancePayments/resources/v1/client/create.d.ts → payerPlanGroups/resources/v1/client/deactivate.d.ts} +2 -7
  246. package/dist/serialization/resources/{insurancePayments/resources/v1/client/create.js → payerPlanGroups/resources/v1/client/deactivate.js} +2 -8
  247. package/dist/serialization/resources/{insurancePayments/resources/v1/client/delete.d.ts → payerPlanGroups/resources/v1/client/get.d.ts} +2 -7
  248. package/dist/serialization/resources/{insurancePayments/resources/v1/client/delete.js → payerPlanGroups/resources/v1/client/get.js} +2 -8
  249. package/dist/serialization/resources/payerPlanGroups/resources/v1/client/getMulti.d.ts +15 -0
  250. package/dist/serialization/resources/payerPlanGroups/resources/v1/client/getMulti.js +71 -0
  251. package/dist/serialization/resources/payerPlanGroups/resources/v1/client/index.d.ts +5 -0
  252. package/dist/serialization/resources/payerPlanGroups/resources/v1/client/index.js +41 -0
  253. package/{serialization/resources/insurancePayments → dist/serialization/resources/payerPlanGroups}/resources/v1/client/update.d.ts +6 -6
  254. package/{serialization/resources/insurancePayments → dist/serialization/resources/payerPlanGroups}/resources/v1/client/update.js +7 -7
  255. package/dist/serialization/resources/payerPlanGroups/resources/v1/index.d.ts +2 -0
  256. package/dist/serialization/resources/payerPlanGroups/resources/v1/index.js +18 -0
  257. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.d.ts +16 -0
  258. package/{serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.js → dist/serialization/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.js} +7 -9
  259. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.d.ts +17 -0
  260. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.js +50 -0
  261. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.d.ts +14 -0
  262. package/dist/serialization/resources/{insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.js → payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.js} +6 -6
  263. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.d.ts +14 -0
  264. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.js +47 -0
  265. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.d.ts +10 -0
  266. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.js +41 -0
  267. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/index.d.ts +5 -0
  268. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/index.js +21 -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 +393 -231
  273. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +1 -1
  274. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +1 -1
  275. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +14 -0
  276. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js +45 -0
  277. package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +1 -0
  278. package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +1 -0
  279. package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  280. package/serialization/resources/commons/types/ProcedureModifier.js +3 -0
  281. package/serialization/resources/index.d.ts +1 -0
  282. package/serialization/resources/index.js +3 -1
  283. package/serialization/resources/insurancePayments/resources/v1/client/index.d.ts +0 -4
  284. package/serialization/resources/insurancePayments/resources/v1/client/index.js +1 -8
  285. package/serialization/resources/insurancePayments/resources/v1/types/index.d.ts +0 -1
  286. package/serialization/resources/insurancePayments/resources/v1/types/index.js +0 -1
  287. package/serialization/resources/payerPlanGroups/index.d.ts +1 -0
  288. package/serialization/resources/payerPlanGroups/index.js +17 -0
  289. package/serialization/resources/payerPlanGroups/resources/index.d.ts +1 -0
  290. package/serialization/resources/payerPlanGroups/resources/index.js +37 -0
  291. package/serialization/resources/payerPlanGroups/resources/v1/client/create.d.ts +20 -0
  292. package/serialization/resources/payerPlanGroups/resources/v1/client/create.js +77 -0
  293. package/serialization/resources/{insurancePayments/resources/v1/client/create.d.ts → payerPlanGroups/resources/v1/client/deactivate.d.ts} +2 -7
  294. package/{dist/serialization/resources/insurancePayments/resources/v1/client/update.js → serialization/resources/payerPlanGroups/resources/v1/client/deactivate.js} +2 -8
  295. package/{dist/serialization/resources/insurancePayments/resources/v1/client/update.d.ts → serialization/resources/payerPlanGroups/resources/v1/client/get.d.ts} +2 -7
  296. package/serialization/resources/{insurancePayments/resources/v1/client/create.js → payerPlanGroups/resources/v1/client/get.js} +2 -8
  297. package/serialization/resources/payerPlanGroups/resources/v1/client/getMulti.d.ts +15 -0
  298. package/serialization/resources/payerPlanGroups/resources/v1/client/getMulti.js +71 -0
  299. package/serialization/resources/payerPlanGroups/resources/v1/client/index.d.ts +5 -0
  300. package/serialization/resources/payerPlanGroups/resources/v1/client/index.js +41 -0
  301. package/serialization/resources/payerPlanGroups/resources/v1/client/update.d.ts +25 -0
  302. package/serialization/resources/payerPlanGroups/resources/v1/client/update.js +83 -0
  303. package/serialization/resources/payerPlanGroups/resources/v1/index.d.ts +2 -0
  304. package/serialization/resources/payerPlanGroups/resources/v1/index.js +18 -0
  305. package/serialization/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.d.ts +16 -0
  306. package/serialization/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.js +47 -0
  307. package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.d.ts +17 -0
  308. package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.js +50 -0
  309. package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.d.ts +14 -0
  310. package/serialization/resources/{insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.js → payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.js} +6 -6
  311. package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.d.ts +14 -0
  312. package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.js +47 -0
  313. package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.d.ts +10 -0
  314. package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.js +41 -0
  315. package/serialization/resources/payerPlanGroups/resources/v1/types/index.d.ts +5 -0
  316. package/serialization/resources/payerPlanGroups/resources/v1/types/index.js +21 -0
  317. package/version.d.ts +1 -1
  318. package/version.js +1 -1
  319. package/api/resources/insurancePayments/resources/v1/client/create.d.ts +0 -40
  320. package/api/resources/insurancePayments/resources/v1/client/delete.d.ts +0 -40
  321. package/api/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.d.ts +0 -18
  322. package/api/resources/insurancePayments/resources/v1/client/update.d.ts +0 -40
  323. package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.d.ts +0 -11
  324. package/dist/api/resources/insurancePayments/resources/v1/client/create.d.ts +0 -40
  325. package/dist/api/resources/insurancePayments/resources/v1/client/delete.d.ts +0 -40
  326. package/dist/api/resources/insurancePayments/resources/v1/client/delete.js +0 -90
  327. package/dist/api/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.d.ts +0 -18
  328. package/dist/api/resources/insurancePayments/resources/v1/client/update.d.ts +0 -40
  329. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.d.ts +0 -11
  330. package/dist/serialization/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.d.ts +0 -14
  331. package/dist/serialization/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
  332. package/dist/serialization/resources/insurancePayments/resources/v1/client/requests/index.js +0 -5
  333. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.d.ts +0 -18
  334. package/serialization/resources/insurancePayments/resources/v1/client/delete.d.ts +0 -25
  335. package/serialization/resources/insurancePayments/resources/v1/client/delete.js +0 -83
  336. package/serialization/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.d.ts +0 -14
  337. package/serialization/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
  338. package/serialization/resources/insurancePayments/resources/v1/client/requests/index.js +0 -5
  339. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.d.ts +0 -18
  340. /package/api/resources/{insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.js → chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js} +0 -0
  341. /package/api/resources/{insurancePayments/resources/v1/types/InsurancePaymentCreate.js → payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.js} +0 -0
  342. /package/{dist/api/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.js → api/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.js} +0 -0
  343. /package/{dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.js → api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.js} +0 -0
@@ -118,7 +118,7 @@ class V1 {
118
118
  const _response = yield core.fetcher({
119
119
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/coverages/v1"),
120
120
  method: "POST",
121
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
121
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
122
122
  contentType: "application/json",
123
123
  requestType: "json",
124
124
  body: serializers.preEncounter.coverages.v1.MutableCoverage.jsonOrThrow(request, {
@@ -207,7 +207,7 @@ class V1 {
207
207
  const _response = yield core.fetcher({
208
208
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/coverages/v1/${encodeURIComponent(serializers.preEncounter.CoverageId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
209
209
  method: "PUT",
210
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
210
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
211
211
  contentType: "application/json",
212
212
  requestType: "json",
213
213
  body: serializers.preEncounter.coverages.v1.MutableCoverage.jsonOrThrow(request, {
@@ -283,7 +283,7 @@ class V1 {
283
283
  const _response = yield core.fetcher({
284
284
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/coverages/v1/get-multi-paginated"),
285
285
  method: "GET",
286
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
286
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
287
287
  contentType: "application/json",
288
288
  queryParameters: _queryParams,
289
289
  requestType: "json",
@@ -337,7 +337,7 @@ class V1 {
337
337
  const _response = yield core.fetcher({
338
338
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/coverages/v1/${encodeURIComponent(serializers.preEncounter.CoverageId.jsonOrThrow(id))}`),
339
339
  method: "GET",
340
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
340
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
341
341
  contentType: "application/json",
342
342
  requestType: "json",
343
343
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -376,7 +376,7 @@ class V1 {
376
376
  const _response = yield core.fetcher({
377
377
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/coverages/v1/${encodeURIComponent(serializers.preEncounter.CoverageId.jsonOrThrow(id))}/history`),
378
378
  method: "GET",
379
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
379
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
380
380
  contentType: "application/json",
381
381
  requestType: "json",
382
382
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -436,7 +436,7 @@ class V1 {
436
436
  const _response = yield core.fetcher({
437
437
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/coverages/v1"),
438
438
  method: "GET",
439
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
439
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
440
440
  contentType: "application/json",
441
441
  queryParameters: _queryParams,
442
442
  requestType: "json",
@@ -481,7 +481,7 @@ class V1 {
481
481
  const _response = yield core.fetcher({
482
482
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/coverages/v1/updates/scan"),
483
483
  method: "GET",
484
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
484
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
485
485
  contentType: "application/json",
486
486
  queryParameters: _queryParams,
487
487
  requestType: "json",
@@ -526,7 +526,7 @@ class V1 {
526
526
  const _response = yield core.fetcher({
527
527
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/coverages/v1/${encodeURIComponent(serializers.preEncounter.CoverageId.jsonOrThrow(id))}/eligibility`),
528
528
  method: "POST",
529
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
529
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
530
530
  contentType: "application/json",
531
531
  requestType: "json",
532
532
  body: serializers.preEncounter.coverages.v1.CheckEligibilityRequest.jsonOrThrow(request, {
@@ -569,7 +569,7 @@ class V1 {
569
569
  const _response = yield core.fetcher({
570
570
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/coverages/v1/${encodeURIComponent(serializers.preEncounter.CoverageId.jsonOrThrow(id))}/eligibility/${encodeURIComponent(checkId)}`),
571
571
  method: "GET",
572
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
572
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
573
573
  contentType: "application/json",
574
574
  requestType: "json",
575
575
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -97,7 +97,7 @@ class V1 {
97
97
  const _response = yield core.fetcher({
98
98
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/eligibility-checks/v1"),
99
99
  method: "POST",
100
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
100
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
101
101
  contentType: "application/json",
102
102
  requestType: "json",
103
103
  body: serializers.preEncounter.eligibilityChecks.v1.EligibilityRequest.jsonOrThrow(request, {
@@ -86,7 +86,7 @@ class V1 {
86
86
  const _response = yield core.fetcher({
87
87
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/images/v1"),
88
88
  method: "POST",
89
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "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.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
90
90
  contentType: "application/json",
91
91
  requestType: "json",
92
92
  body: serializers.preEncounter.images.v1.MutableImage.jsonOrThrow(request, {
@@ -142,7 +142,7 @@ class V1 {
142
142
  const _response = yield core.fetcher({
143
143
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/images/v1/${encodeURIComponent(serializers.preEncounter.images.v1.ImageId.jsonOrThrow(id))}`),
144
144
  method: "GET",
145
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
145
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
146
146
  contentType: "application/json",
147
147
  requestType: "json",
148
148
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -210,7 +210,7 @@ class V1 {
210
210
  const _response = yield core.fetcher({
211
211
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/images/v1/${encodeURIComponent(serializers.preEncounter.images.v1.ImageId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
212
212
  method: "PUT",
213
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
213
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
214
214
  contentType: "application/json",
215
215
  requestType: "json",
216
216
  body: serializers.preEncounter.images.v1.MutableImage.jsonOrThrow(request, {
@@ -268,7 +268,7 @@ class V1 {
268
268
  const _response = yield core.fetcher({
269
269
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/images/v1/${encodeURIComponent(serializers.preEncounter.images.v1.ImageId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
270
270
  method: "DELETE",
271
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
271
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
272
272
  contentType: "application/json",
273
273
  requestType: "json",
274
274
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -328,7 +328,7 @@ class V1 {
328
328
  const _response = yield core.fetcher({
329
329
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/images/v1"),
330
330
  method: "GET",
331
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
331
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
332
332
  contentType: "application/json",
333
333
  queryParameters: _queryParams,
334
334
  requestType: "json",
@@ -98,7 +98,7 @@ class V1 {
98
98
  const _response = yield core.fetcher({
99
99
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/lists/v1/patient"),
100
100
  method: "GET",
101
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
101
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
102
102
  contentType: "application/json",
103
103
  queryParameters: _queryParams,
104
104
  requestType: "json",
@@ -177,7 +177,7 @@ class V1 {
177
177
  const _response = yield core.fetcher({
178
178
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/lists/v1/appointment"),
179
179
  method: "GET",
180
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "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.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
181
181
  contentType: "application/json",
182
182
  queryParameters: _queryParams,
183
183
  requestType: "json",
@@ -73,7 +73,7 @@ class V1 {
73
73
  const _response = yield core.fetcher({
74
74
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/notes/v1/${encodeURIComponent(serializers.preEncounter.NoteId.jsonOrThrow(id))}`),
75
75
  method: "GET",
76
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
76
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
77
77
  contentType: "application/json",
78
78
  requestType: "json",
79
79
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -116,7 +116,7 @@ class V1 {
116
116
  const _response = yield core.fetcher({
117
117
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/notes/v1"),
118
118
  method: "POST",
119
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
119
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
120
120
  contentType: "application/json",
121
121
  requestType: "json",
122
122
  body: serializers.preEncounter.notes.v1.MutableNote.jsonOrThrow(request, {
@@ -164,7 +164,7 @@ class V1 {
164
164
  const _response = yield core.fetcher({
165
165
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/notes/v1/${encodeURIComponent(serializers.preEncounter.NoteId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
166
166
  method: "PUT",
167
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
167
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
168
168
  contentType: "application/json",
169
169
  requestType: "json",
170
170
  body: serializers.preEncounter.notes.v1.MutableNote.jsonOrThrow(request, {
@@ -207,7 +207,7 @@ class V1 {
207
207
  const _response = yield core.fetcher({
208
208
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/notes/v1/${encodeURIComponent(serializers.preEncounter.NoteId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
209
209
  method: "DELETE",
210
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
210
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
211
211
  contentType: "application/json",
212
212
  requestType: "json",
213
213
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -259,7 +259,7 @@ class V1 {
259
259
  const _response = yield core.fetcher({
260
260
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/patients/v1"),
261
261
  method: "POST",
262
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
262
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
263
263
  contentType: "application/json",
264
264
  queryParameters: _queryParams,
265
265
  requestType: "json",
@@ -503,7 +503,7 @@ class V1 {
503
503
  const _response = yield core.fetcher({
504
504
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/patients/v1/with_mrn"),
505
505
  method: "POST",
506
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
506
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
507
507
  contentType: "application/json",
508
508
  queryParameters: _queryParams,
509
509
  requestType: "json",
@@ -586,7 +586,7 @@ class V1 {
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).preEncounter, "/patients/v1/get_multi"),
588
588
  method: "GET",
589
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "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.40.4", "User-Agent": "candidhealth/0.40.4", "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
  queryParameters: _queryParams,
592
592
  requestType: "json",
@@ -631,7 +631,7 @@ class V1 {
631
631
  const _response = yield core.fetcher({
632
632
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/patients/v1/search_providers"),
633
633
  method: "GET",
634
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
634
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
635
635
  contentType: "application/json",
636
636
  queryParameters: _queryParams,
637
637
  requestType: "json",
@@ -671,7 +671,7 @@ class V1 {
671
671
  const _response = yield core.fetcher({
672
672
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/patients/v1/${encodeURIComponent(serializers.preEncounter.PatientId.jsonOrThrow(id))}`),
673
673
  method: "GET",
674
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
674
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
675
675
  contentType: "application/json",
676
676
  requestType: "json",
677
677
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -724,7 +724,7 @@ class V1 {
724
724
  const _response = yield core.fetcher({
725
725
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/patients/v1/${encodeURIComponent(serializers.preEncounter.PatientId.jsonOrThrow(id))}/history`),
726
726
  method: "GET",
727
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
727
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
728
728
  contentType: "application/json",
729
729
  requestType: "json",
730
730
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -957,7 +957,7 @@ class V1 {
957
957
  const _response = yield core.fetcher({
958
958
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/patients/v1/${encodeURIComponent(serializers.preEncounter.PatientId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
959
959
  method: "PUT",
960
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
960
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
961
961
  contentType: "application/json",
962
962
  requestType: "json",
963
963
  body: serializers.preEncounter.patients.v1.MutablePatient.jsonOrThrow(request, {
@@ -1015,7 +1015,7 @@ class V1 {
1015
1015
  const _response = yield core.fetcher({
1016
1016
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/patients/v1/${encodeURIComponent(serializers.preEncounter.PatientId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
1017
1017
  method: "DELETE",
1018
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1018
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1019
1019
  contentType: "application/json",
1020
1020
  requestType: "json",
1021
1021
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1065,7 +1065,7 @@ class V1 {
1065
1065
  const _response = yield core.fetcher({
1066
1066
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/patients/v1/${encodeURIComponent(serializers.preEncounter.PatientId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
1067
1067
  method: "PATCH",
1068
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1068
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1069
1069
  contentType: "application/json",
1070
1070
  requestType: "json",
1071
1071
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1125,7 +1125,7 @@ class V1 {
1125
1125
  const _response = yield core.fetcher({
1126
1126
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/patients/v1"),
1127
1127
  method: "GET",
1128
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1128
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1129
1129
  contentType: "application/json",
1130
1130
  queryParameters: _queryParams,
1131
1131
  requestType: "json",
@@ -1170,7 +1170,7 @@ class V1 {
1170
1170
  const _response = yield core.fetcher({
1171
1171
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/patients/v1/updates/scan"),
1172
1172
  method: "GET",
1173
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1173
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1174
1174
  contentType: "application/json",
1175
1175
  queryParameters: _queryParams,
1176
1176
  requestType: "json",
@@ -73,7 +73,7 @@ class V1 {
73
73
  const _response = yield core.fetcher({
74
74
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/tags/v1/${encodeURIComponent(serializers.preEncounter.TagId.jsonOrThrow(id))}`),
75
75
  method: "GET",
76
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
76
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
77
77
  contentType: "application/json",
78
78
  requestType: "json",
79
79
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -123,7 +123,7 @@ class V1 {
123
123
  const _response = yield core.fetcher({
124
124
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/tags/v1"),
125
125
  method: "GET",
126
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "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.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
127
127
  contentType: "application/json",
128
128
  queryParameters: _queryParams,
129
129
  requestType: "json",
@@ -165,7 +165,7 @@ class V1 {
165
165
  const _response = yield core.fetcher({
166
166
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/tags/v1"),
167
167
  method: "POST",
168
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
168
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
169
169
  contentType: "application/json",
170
170
  requestType: "json",
171
171
  body: serializers.preEncounter.tags.v1.MutableTag.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -209,7 +209,7 @@ class V1 {
209
209
  const _response = yield core.fetcher({
210
210
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/tags/v1/${encodeURIComponent(serializers.preEncounter.TagId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
211
211
  method: "PUT",
212
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
212
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
213
213
  contentType: "application/json",
214
214
  requestType: "json",
215
215
  body: serializers.preEncounter.tags.v1.MutableTag.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -250,7 +250,7 @@ class V1 {
250
250
  const _response = yield core.fetcher({
251
251
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/tags/v1/${encodeURIComponent(serializers.preEncounter.TagId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
252
252
  method: "DELETE",
253
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
253
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
254
254
  contentType: "application/json",
255
255
  requestType: "json",
256
256
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -82,7 +82,7 @@ class ServiceFacility {
82
82
  const _response = yield core.fetcher({
83
83
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/service_facility/v2/${encodeURIComponent(serializers.ServiceFacilityId.jsonOrThrow(serviceFacilityId))}`),
84
84
  method: "PATCH",
85
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
85
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
86
86
  contentType: "application/json",
87
87
  requestType: "json",
88
88
  body: serializers.EncounterServiceFacilityUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -31,7 +31,7 @@ export declare class V2 {
31
31
  *
32
32
  * @example
33
33
  * await client.serviceLines.v2.create({
34
- * modifiers: ["22"],
34
+ * modifiers: ["AV"],
35
35
  * chargeAmountCents: 1,
36
36
  * diagnosisIdZero: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
37
37
  * diagnosisIdOne: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
@@ -90,7 +90,7 @@ export declare class V2 {
90
90
  * @example
91
91
  * await client.serviceLines.v2.update(CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
92
92
  * editReason: "string",
93
- * modifiers: ["22"],
93
+ * modifiers: ["AV"],
94
94
  * chargeAmountCents: 1,
95
95
  * diagnosisIdZero: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
96
96
  * diagnosisIdOne: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
@@ -64,7 +64,7 @@ class V2 {
64
64
  *
65
65
  * @example
66
66
  * await client.serviceLines.v2.create({
67
- * modifiers: ["22"],
67
+ * modifiers: ["AV"],
68
68
  * chargeAmountCents: 1,
69
69
  * diagnosisIdZero: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
70
70
  * diagnosisIdOne: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
@@ -120,7 +120,7 @@ class V2 {
120
120
  const _response = yield core.fetcher({
121
121
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/service-lines/v2"),
122
122
  method: "POST",
123
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
123
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
124
124
  contentType: "application/json",
125
125
  requestType: "json",
126
126
  body: serializers.serviceLines.v2.ServiceLineCreateStandalone.jsonOrThrow(request, {
@@ -169,7 +169,7 @@ class V2 {
169
169
  * @example
170
170
  * await client.serviceLines.v2.update(CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
171
171
  * editReason: "string",
172
- * modifiers: ["22"],
172
+ * modifiers: ["AV"],
173
173
  * chargeAmountCents: 1,
174
174
  * diagnosisIdZero: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
175
175
  * diagnosisIdOne: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
@@ -209,7 +209,7 @@ class V2 {
209
209
  const _response = yield core.fetcher({
210
210
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/service-lines/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}`),
211
211
  method: "PATCH",
212
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
212
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
213
213
  contentType: "application/json",
214
214
  requestType: "json",
215
215
  body: serializers.serviceLines.v2.ServiceLineUpdate.jsonOrThrow(request, {
@@ -265,7 +265,7 @@ class V2 {
265
265
  const _response = yield core.fetcher({
266
266
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/service-lines/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}`),
267
267
  method: "DELETE",
268
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
268
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
269
269
  contentType: "application/json",
270
270
  requestType: "json",
271
271
  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/tasks/v3/${encodeURIComponent(serializers.TaskId.jsonOrThrow(taskId))}/actions`),
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.2", "User-Agent": "candidhealth/0.40.2", "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.40.4", "User-Agent": "candidhealth/0.40.4", "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,
@@ -169,7 +169,7 @@ class V3 {
169
169
  const _response = yield core.fetcher({
170
170
  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/tasks/v3"),
171
171
  method: "GET",
172
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
172
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
173
173
  contentType: "application/json",
174
174
  queryParameters: _queryParams,
175
175
  requestType: "json",
@@ -221,7 +221,7 @@ class V3 {
221
221
  const _response = yield core.fetcher({
222
222
  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/tasks/v3/${encodeURIComponent(serializers.TaskId.jsonOrThrow(taskId))}`),
223
223
  method: "GET",
224
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
224
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
225
225
  contentType: "application/json",
226
226
  requestType: "json",
227
227
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -281,7 +281,7 @@ class V3 {
281
281
  const _response = yield core.fetcher({
282
282
  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/tasks/v3"),
283
283
  method: "POST",
284
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
284
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
285
285
  contentType: "application/json",
286
286
  requestType: "json",
287
287
  body: serializers.tasks.v3.TaskCreateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -324,7 +324,7 @@ class V3 {
324
324
  const _response = yield core.fetcher({
325
325
  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/tasks/v3/${encodeURIComponent(serializers.TaskId.jsonOrThrow(taskId))}`),
326
326
  method: "PATCH",
327
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
327
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
328
328
  contentType: "application/json",
329
329
  requestType: "json",
330
330
  body: serializers.tasks.v3.TaskUpdateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),