candidhealth 0.42.5 → 0.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (382) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +61 -56
  3. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  4. package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  5. package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +238 -5
  6. package/api/resources/chargeCapture/resources/v1/client/Client.js +253 -23
  7. package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +118 -1
  8. package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +118 -1
  9. package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +6 -11
  10. package/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +1 -1
  11. package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +5 -5
  12. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +8 -16
  13. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +26 -76
  14. package/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +0 -1
  15. package/api/resources/chargeCaptureBundles/resources/v1/client/index.js +1 -2
  16. package/api/resources/chargeCaptureBundles/resources/v1/client/requests/{GetAllChargeCaptureBundlesRequest.d.ts → GetAllChargeCaptureClaimCreationsRequest.d.ts} +17 -17
  17. package/api/resources/chargeCaptureBundles/resources/v1/client/requests/index.d.ts +1 -1
  18. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +20 -0
  19. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.d.ts +7 -0
  20. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.d.ts +7 -0
  21. package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js → api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.js} +2 -2
  22. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.d.ts +15 -0
  23. package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js → api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.js} +2 -2
  24. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.d.ts +15 -0
  25. package/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +5 -5
  26. package/api/resources/chargeCaptureBundles/resources/v1/types/index.js +5 -5
  27. package/api/resources/commons/types/ChargeCaptureClaimCreationId.d.ts +8 -0
  28. package/api/resources/commons/types/ChargeCaptureClaimCreationId.js +9 -0
  29. package/api/resources/commons/types/index.d.ts +1 -2
  30. package/api/resources/commons/types/index.js +1 -2
  31. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  32. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  33. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  34. package/api/resources/diagnoses/client/Client.js +3 -3
  35. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  36. package/api/resources/encounterAttachments/client/Client.d.ts +30 -0
  37. package/api/resources/encounterAttachments/client/Client.js +17 -0
  38. package/api/resources/encounterAttachments/client/index.d.ts +1 -0
  39. package/api/resources/encounterAttachments/client/index.js +2 -0
  40. package/api/resources/encounterAttachments/index.d.ts +2 -0
  41. package/api/resources/encounterAttachments/index.js +18 -0
  42. package/api/resources/encounterAttachments/resources/index.d.ts +1 -0
  43. package/{dist/serialization/resources/chargeCaptureBundles/resources/v1/client → api/resources/encounterAttachments/resources}/index.js +2 -2
  44. package/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +63 -0
  45. package/api/resources/encounterAttachments/resources/v1/client/Client.js +195 -0
  46. package/api/resources/encounterAttachments/resources/v1/client/create.d.ts +22 -0
  47. package/{dist/api/resources/chargeCaptureBundles/resources/v1/client/resubmit.js → api/resources/encounterAttachments/resources/v1/client/create.js} +1 -12
  48. package/api/resources/encounterAttachments/resources/v1/client/delete.d.ts +22 -0
  49. package/api/resources/{chargeCaptureBundles/resources/v1/client/resubmit.js → encounterAttachments/resources/v1/client/delete.js} +1 -12
  50. package/api/resources/encounterAttachments/resources/v1/client/get.d.ts +22 -0
  51. package/api/resources/encounterAttachments/resources/v1/client/get.js +57 -0
  52. package/api/resources/encounterAttachments/resources/v1/client/index.d.ts +4 -0
  53. package/api/resources/encounterAttachments/resources/v1/client/index.js +43 -0
  54. package/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.d.ts +11 -0
  55. package/api/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.d.ts +13 -0
  56. package/api/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +2 -0
  57. package/api/resources/encounterAttachments/resources/v1/client/requests/index.js +2 -0
  58. package/api/resources/encounterAttachments/resources/v1/index.d.ts +2 -0
  59. package/api/resources/encounterAttachments/resources/v1/index.js +18 -0
  60. package/api/resources/encounterAttachments/resources/v1/types/AttachmentId.d.ts +8 -0
  61. package/api/resources/{commons/types/ChargeCaptureBundleId.js → encounterAttachments/resources/v1/types/AttachmentId.js} +2 -2
  62. package/api/resources/encounterAttachments/resources/v1/types/BaseAttachment.d.ts +11 -0
  63. package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +8 -0
  64. package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +7 -0
  65. package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +9 -0
  66. package/api/resources/encounterAttachments/resources/v1/types/index.d.ts +4 -0
  67. package/api/resources/encounterAttachments/resources/v1/types/index.js +20 -0
  68. package/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -66
  69. package/api/resources/encounterProviders/resources/v2/client/Client.js +20 -78
  70. package/api/resources/encounters/resources/v4/client/Client.d.ts +110 -100
  71. package/api/resources/encounters/resources/v4/client/Client.js +115 -105
  72. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +9 -83
  73. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +97 -1
  74. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  75. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  76. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  77. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  78. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  79. package/api/resources/guarantor/resources/v1/client/Client.d.ts +1 -21
  80. package/api/resources/guarantor/resources/v1/client/Client.js +4 -24
  81. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  82. package/api/resources/index.d.ts +1 -0
  83. package/api/resources/index.js +3 -2
  84. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  85. package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  86. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  87. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  88. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  89. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  90. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  91. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  92. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  93. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  94. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  95. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  96. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  97. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  98. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  99. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  100. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  101. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  102. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  103. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  104. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  105. package/api/resources/serviceFacility/client/Client.js +1 -1
  106. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +1 -4
  107. package/api/resources/serviceLines/resources/v2/client/Client.js +4 -7
  108. package/api/resources/superbills/resources/v1/client/Client.js +1 -1
  109. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  110. package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  111. package/core/form-data-utils/FormDataWrapper.d.ts +60 -0
  112. package/core/form-data-utils/FormDataWrapper.js +188 -0
  113. package/core/form-data-utils/index.d.ts +1 -0
  114. package/core/form-data-utils/index.js +17 -0
  115. package/core/index.d.ts +1 -0
  116. package/core/index.js +1 -0
  117. package/dist/Client.d.ts +3 -0
  118. package/dist/Client.js +61 -56
  119. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  120. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  121. package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +238 -5
  122. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +253 -23
  123. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +118 -1
  124. package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +118 -1
  125. package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +6 -11
  126. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +1 -1
  127. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +5 -5
  128. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +8 -16
  129. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +26 -76
  130. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +0 -1
  131. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.js +1 -2
  132. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/{GetAllChargeCaptureBundlesRequest.d.ts → GetAllChargeCaptureClaimCreationsRequest.d.ts} +17 -17
  133. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/index.d.ts +1 -1
  134. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +20 -0
  135. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.d.ts +7 -0
  136. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.js +5 -0
  137. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.d.ts +7 -0
  138. package/{api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js → dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.js} +2 -2
  139. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.d.ts +15 -0
  140. package/{api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js → dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.js} +2 -2
  141. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.d.ts +15 -0
  142. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.js +5 -0
  143. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +5 -5
  144. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.js +5 -5
  145. package/dist/api/resources/commons/types/ChargeCaptureClaimCreationId.d.ts +8 -0
  146. package/dist/api/resources/commons/types/ChargeCaptureClaimCreationId.js +9 -0
  147. package/dist/api/resources/commons/types/index.d.ts +1 -2
  148. package/dist/api/resources/commons/types/index.js +1 -2
  149. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  150. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  151. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  152. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  153. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  154. package/dist/api/resources/encounterAttachments/client/Client.d.ts +30 -0
  155. package/dist/api/resources/encounterAttachments/client/Client.js +17 -0
  156. package/dist/api/resources/encounterAttachments/client/index.d.ts +1 -0
  157. package/dist/api/resources/encounterAttachments/client/index.js +2 -0
  158. package/dist/api/resources/encounterAttachments/index.d.ts +2 -0
  159. package/dist/api/resources/encounterAttachments/index.js +18 -0
  160. package/dist/api/resources/encounterAttachments/resources/index.d.ts +1 -0
  161. package/{serialization/resources/chargeCaptureBundles/resources/v1/client → dist/api/resources/encounterAttachments/resources}/index.js +2 -2
  162. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +63 -0
  163. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +195 -0
  164. package/dist/api/resources/encounterAttachments/resources/v1/client/create.d.ts +22 -0
  165. package/dist/api/resources/encounterAttachments/resources/v1/client/create.js +57 -0
  166. package/dist/api/resources/encounterAttachments/resources/v1/client/delete.d.ts +22 -0
  167. package/dist/api/resources/encounterAttachments/resources/v1/client/delete.js +57 -0
  168. package/dist/api/resources/encounterAttachments/resources/v1/client/get.d.ts +22 -0
  169. package/dist/api/resources/encounterAttachments/resources/v1/client/get.js +57 -0
  170. package/dist/api/resources/encounterAttachments/resources/v1/client/index.d.ts +4 -0
  171. package/dist/api/resources/encounterAttachments/resources/v1/client/index.js +43 -0
  172. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.d.ts +11 -0
  173. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.js +5 -0
  174. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.d.ts +13 -0
  175. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.js +5 -0
  176. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +2 -0
  177. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/index.js +2 -0
  178. package/dist/api/resources/encounterAttachments/resources/v1/index.d.ts +2 -0
  179. package/dist/api/resources/encounterAttachments/resources/v1/index.js +18 -0
  180. package/dist/api/resources/encounterAttachments/resources/v1/types/AttachmentId.d.ts +8 -0
  181. package/dist/api/resources/{commons/types/ChargeCaptureBundleId.js → encounterAttachments/resources/v1/types/AttachmentId.js} +2 -2
  182. package/dist/api/resources/encounterAttachments/resources/v1/types/BaseAttachment.d.ts +11 -0
  183. package/dist/api/resources/encounterAttachments/resources/v1/types/BaseAttachment.js +5 -0
  184. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +8 -0
  185. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js +5 -0
  186. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +7 -0
  187. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +9 -0
  188. package/dist/api/resources/encounterAttachments/resources/v1/types/index.d.ts +4 -0
  189. package/dist/api/resources/encounterAttachments/resources/v1/types/index.js +20 -0
  190. package/dist/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -66
  191. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +20 -78
  192. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +110 -100
  193. package/dist/api/resources/encounters/resources/v4/client/Client.js +115 -105
  194. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +9 -83
  195. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +97 -1
  196. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  197. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  198. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  199. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  200. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  201. package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +1 -21
  202. package/dist/api/resources/guarantor/resources/v1/client/Client.js +4 -24
  203. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  204. package/dist/api/resources/index.d.ts +1 -0
  205. package/dist/api/resources/index.js +3 -2
  206. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  207. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  208. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  209. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  210. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  211. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  212. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  213. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  214. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  215. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  216. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  217. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  218. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  219. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  220. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  221. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  222. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  223. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  224. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  225. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  226. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  227. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  228. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +1 -4
  229. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +4 -7
  230. package/dist/api/resources/superbills/resources/v1/client/Client.js +1 -1
  231. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  232. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  233. package/dist/core/form-data-utils/FormDataWrapper.d.ts +60 -0
  234. package/dist/core/form-data-utils/FormDataWrapper.js +188 -0
  235. package/dist/core/form-data-utils/index.d.ts +1 -0
  236. package/dist/core/form-data-utils/index.js +17 -0
  237. package/dist/core/index.d.ts +1 -0
  238. package/dist/core/index.js +1 -0
  239. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -2
  240. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -2
  241. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +2 -2
  242. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.js +2 -2
  243. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/index.d.ts +0 -1
  244. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/index.js +0 -1
  245. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +20 -0
  246. package/{serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js → dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.js} +6 -8
  247. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.d.ts +14 -0
  248. package/{serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.js → dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.js} +4 -4
  249. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.d.ts +10 -0
  250. package/{serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js → dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.js} +2 -2
  251. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundleStatus.d.ts → ChargeCaptureClaimCreationStatus.d.ts} +2 -2
  252. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.js +41 -0
  253. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.d.ts +16 -0
  254. package/{serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js → dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.js} +5 -5
  255. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +5 -5
  256. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +5 -5
  257. package/dist/serialization/resources/commons/types/{ChargeCaptureBundleId.d.ts → ChargeCaptureClaimCreationId.d.ts} +2 -2
  258. package/{serialization/resources/commons/types/ChargeCaptureBundleId.js → dist/serialization/resources/commons/types/ChargeCaptureClaimCreationId.js} +3 -3
  259. package/dist/serialization/resources/commons/types/index.d.ts +1 -2
  260. package/dist/serialization/resources/commons/types/index.js +1 -2
  261. package/dist/serialization/resources/encounterAttachments/index.d.ts +1 -0
  262. package/dist/serialization/resources/encounterAttachments/index.js +17 -0
  263. package/dist/serialization/resources/encounterAttachments/resources/index.d.ts +1 -0
  264. package/dist/serialization/resources/encounterAttachments/resources/index.js +37 -0
  265. package/dist/serialization/resources/encounterAttachments/resources/v1/client/get.d.ts +11 -0
  266. package/dist/serialization/resources/{chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js → encounterAttachments/resources/v1/client/get.js} +3 -2
  267. package/dist/serialization/resources/encounterAttachments/resources/v1/client/index.d.ts +2 -0
  268. package/dist/serialization/resources/encounterAttachments/resources/v1/client/index.js +41 -0
  269. package/dist/serialization/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.d.ts +13 -0
  270. package/dist/serialization/resources/{commons/types/NotImplementedErrorMessage.js → encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.js} +5 -4
  271. package/dist/serialization/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +1 -0
  272. package/dist/serialization/resources/encounterAttachments/resources/v1/client/requests/index.js +5 -0
  273. package/dist/serialization/resources/encounterAttachments/resources/v1/index.d.ts +2 -0
  274. package/dist/serialization/resources/encounterAttachments/resources/v1/index.js +18 -0
  275. package/dist/serialization/resources/encounterAttachments/resources/v1/types/AttachmentId.d.ts +10 -0
  276. package/dist/serialization/resources/encounterAttachments/resources/v1/types/AttachmentId.js +45 -0
  277. package/dist/serialization/resources/encounterAttachments/resources/v1/types/BaseAttachment.d.ts +18 -0
  278. package/dist/serialization/resources/encounterAttachments/resources/v1/types/BaseAttachment.js +49 -0
  279. package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +16 -0
  280. package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js +49 -0
  281. package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +10 -0
  282. package/dist/serialization/resources/{chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js → encounterAttachments/resources/v1/types/EncounterAttachmentType.js} +2 -2
  283. package/dist/serialization/resources/encounterAttachments/resources/v1/types/index.d.ts +4 -0
  284. package/dist/serialization/resources/encounterAttachments/resources/v1/types/index.js +20 -0
  285. package/dist/serialization/resources/index.d.ts +1 -0
  286. package/dist/serialization/resources/index.js +3 -2
  287. package/dist/version.d.ts +1 -1
  288. package/dist/version.js +1 -1
  289. package/package.json +3 -2
  290. package/reference.md +558 -246
  291. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -2
  292. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -2
  293. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +2 -2
  294. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.js +2 -2
  295. package/serialization/resources/chargeCaptureBundles/resources/v1/index.d.ts +0 -1
  296. package/serialization/resources/chargeCaptureBundles/resources/v1/index.js +0 -1
  297. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +20 -0
  298. package/{dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js → serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.js} +6 -8
  299. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.d.ts +14 -0
  300. package/{dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.js → serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.js} +4 -4
  301. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.d.ts +10 -0
  302. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.js +41 -0
  303. package/serialization/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundleStatus.d.ts → ChargeCaptureClaimCreationStatus.d.ts} +2 -2
  304. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.js +41 -0
  305. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.d.ts +16 -0
  306. package/{dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js → serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.js} +5 -5
  307. package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +5 -5
  308. package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +5 -5
  309. package/serialization/resources/commons/types/{ChargeCaptureBundleId.d.ts → ChargeCaptureClaimCreationId.d.ts} +2 -2
  310. package/{dist/serialization/resources/commons/types/ChargeCaptureBundleId.js → serialization/resources/commons/types/ChargeCaptureClaimCreationId.js} +3 -3
  311. package/serialization/resources/commons/types/index.d.ts +1 -2
  312. package/serialization/resources/commons/types/index.js +1 -2
  313. package/serialization/resources/encounterAttachments/index.d.ts +1 -0
  314. package/serialization/resources/encounterAttachments/index.js +17 -0
  315. package/serialization/resources/encounterAttachments/resources/index.d.ts +1 -0
  316. package/serialization/resources/encounterAttachments/resources/index.js +37 -0
  317. package/serialization/resources/encounterAttachments/resources/v1/client/get.d.ts +11 -0
  318. package/serialization/resources/encounterAttachments/resources/v1/client/get.js +42 -0
  319. package/serialization/resources/encounterAttachments/resources/v1/client/index.d.ts +2 -0
  320. package/serialization/resources/encounterAttachments/resources/v1/client/index.js +41 -0
  321. package/serialization/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.d.ts +13 -0
  322. package/serialization/resources/{commons/types/NotImplementedErrorMessage.js → encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.js} +5 -4
  323. package/serialization/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +1 -0
  324. package/serialization/resources/encounterAttachments/resources/v1/client/requests/index.js +5 -0
  325. package/serialization/resources/encounterAttachments/resources/v1/index.d.ts +2 -0
  326. package/serialization/resources/encounterAttachments/resources/v1/index.js +18 -0
  327. package/serialization/resources/encounterAttachments/resources/v1/types/AttachmentId.d.ts +10 -0
  328. package/serialization/resources/encounterAttachments/resources/v1/types/AttachmentId.js +45 -0
  329. package/serialization/resources/encounterAttachments/resources/v1/types/BaseAttachment.d.ts +18 -0
  330. package/serialization/resources/encounterAttachments/resources/v1/types/BaseAttachment.js +49 -0
  331. package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +16 -0
  332. package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js +49 -0
  333. package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +10 -0
  334. package/serialization/resources/{chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js → encounterAttachments/resources/v1/types/EncounterAttachmentType.js} +2 -2
  335. package/serialization/resources/encounterAttachments/resources/v1/types/index.d.ts +4 -0
  336. package/serialization/resources/encounterAttachments/resources/v1/types/index.js +20 -0
  337. package/serialization/resources/index.d.ts +1 -0
  338. package/serialization/resources/index.js +3 -2
  339. package/version.d.ts +1 -1
  340. package/version.js +1 -1
  341. package/api/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +0 -28
  342. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +0 -22
  343. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +0 -7
  344. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +0 -7
  345. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +0 -15
  346. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +0 -15
  347. package/api/resources/commons/types/ChargeCaptureBundleId.d.ts +0 -8
  348. package/api/resources/commons/types/NotImplementedErrorMessage.d.ts +0 -6
  349. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +0 -28
  350. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +0 -22
  351. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +0 -7
  352. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +0 -7
  353. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +0 -15
  354. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +0 -15
  355. package/dist/api/resources/commons/types/ChargeCaptureBundleId.d.ts +0 -8
  356. package/dist/api/resources/commons/types/NotImplementedErrorMessage.d.ts +0 -6
  357. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +0 -1
  358. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +0 -15
  359. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.js +0 -71
  360. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +0 -22
  361. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +0 -14
  362. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +0 -10
  363. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +0 -16
  364. package/dist/serialization/resources/commons/types/NotImplementedErrorMessage.d.ts +0 -12
  365. package/serialization/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +0 -1
  366. package/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +0 -15
  367. package/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.js +0 -71
  368. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +0 -22
  369. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +0 -14
  370. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +0 -10
  371. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +0 -16
  372. package/serialization/resources/commons/types/NotImplementedErrorMessage.d.ts +0 -12
  373. /package/api/resources/chargeCaptureBundles/resources/v1/client/requests/{GetAllChargeCaptureBundlesRequest.js → GetAllChargeCaptureClaimCreationsRequest.js} +0 -0
  374. /package/api/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundle.js → ChargeCaptureClaimCreation.js} +0 -0
  375. /package/api/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundlePage.js → ChargeCaptureClaimCreationPage.js} +0 -0
  376. /package/api/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundleSummary.js → ChargeCaptureClaimCreationSummary.js} +0 -0
  377. /package/api/resources/{commons/types/NotImplementedErrorMessage.js → encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.js} +0 -0
  378. /package/{dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.js → api/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.js} +0 -0
  379. /package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js → api/resources/encounterAttachments/resources/v1/types/BaseAttachment.js} +0 -0
  380. /package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.js → api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js} +0 -0
  381. /package/dist/api/resources/chargeCaptureBundles/resources/v1/{types/ChargeCaptureBundleSummary.js → client/requests/GetAllChargeCaptureClaimCreationsRequest.js} +0 -0
  382. /package/dist/api/resources/{commons/types/NotImplementedErrorMessage.js → chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.js} +0 -0
@@ -143,7 +143,7 @@ class V4 {
143
143
  const _response = yield core.fetcher({
144
144
  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/encounters/v4"),
145
145
  method: "GET",
146
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
146
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
147
147
  contentType: "application/json",
148
148
  queryParameters: _queryParams,
149
149
  requestType: "json",
@@ -181,7 +181,7 @@ class V4 {
181
181
  const _response = yield core.fetcher({
182
182
  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/encounters/v4/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}`),
183
183
  method: "GET",
184
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
184
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
185
185
  contentType: "application/json",
186
186
  requestType: "json",
187
187
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -253,10 +253,7 @@ class V4 {
253
253
  * taxId: "string",
254
254
  * npi: "string",
255
255
  * taxonomyCode: "string",
256
- * providerCommercialLicenseType: "0",
257
- * firstName: "string",
258
- * lastName: "string",
259
- * organizationName: "string"
256
+ * providerCommercialLicenseType: "0"
260
257
  * },
261
258
  * renderingProvider: {
262
259
  * npi: "string",
@@ -268,10 +265,7 @@ class V4 {
268
265
  * state: "NY",
269
266
  * zipCode: "10001",
270
267
  * zipPlusFourCode: "1234"
271
- * },
272
- * firstName: "string",
273
- * lastName: "string",
274
- * organizationName: "string"
268
+ * }
275
269
  * },
276
270
  * referringProvider: {
277
271
  * npi: "string",
@@ -283,10 +277,7 @@ class V4 {
283
277
  * state: "NY",
284
278
  * zipCode: "10001",
285
279
  * zipPlusFourCode: "1234"
286
- * },
287
- * firstName: "string",
288
- * lastName: "string",
289
- * organizationName: "string"
280
+ * }
290
281
  * },
291
282
  * initialReferringProvider: {
292
283
  * npi: "string",
@@ -299,10 +290,7 @@ class V4 {
299
290
  * zipCode: "10001",
300
291
  * zipPlusFourCode: "1234"
301
292
  * },
302
- * qualifier: "DQ",
303
- * firstName: "string",
304
- * lastName: "string",
305
- * organizationName: "string"
293
+ * qualifier: "DQ"
306
294
  * },
307
295
  * supervisingProvider: {
308
296
  * npi: "string",
@@ -314,10 +302,7 @@ class V4 {
314
302
  * state: "NY",
315
303
  * zipCode: "10001",
316
304
  * zipPlusFourCode: "1234"
317
- * },
318
- * firstName: "string",
319
- * lastName: "string",
320
- * organizationName: "string"
305
+ * }
321
306
  * },
322
307
  * serviceFacility: {
323
308
  * organizationName: "string",
@@ -336,28 +321,9 @@ class V4 {
336
321
  * insuranceCard: {
337
322
  * memberId: "string",
338
323
  * payerName: "string",
339
- * payerId: "string",
340
- * rxBin: "string",
341
- * rxPcn: "string",
342
- * imageUrlFront: "string",
343
- * imageUrlBack: "string",
344
- * emrPayerCrosswalk: "HEALTHIE",
345
- * groupNumber: "string",
346
- * planName: "string",
347
- * planType: "09",
348
- * insuranceType: "01",
349
- * payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
324
+ * payerId: "string"
350
325
  * },
351
326
  * patientRelationshipToSubscriberCode: "01",
352
- * dateOfBirth: "2023-01-15",
353
- * address: {
354
- * address1: "123 Main St",
355
- * address2: "Apt 1",
356
- * city: "New York",
357
- * state: "NY",
358
- * zipCode: "10001",
359
- * zipPlusFourCode: "1234"
360
- * },
361
327
  * firstName: "string",
362
328
  * lastName: "string",
363
329
  * gender: "male"
@@ -366,28 +332,9 @@ class V4 {
366
332
  * insuranceCard: {
367
333
  * memberId: "string",
368
334
  * payerName: "string",
369
- * payerId: "string",
370
- * rxBin: "string",
371
- * rxPcn: "string",
372
- * imageUrlFront: "string",
373
- * imageUrlBack: "string",
374
- * emrPayerCrosswalk: "HEALTHIE",
375
- * groupNumber: "string",
376
- * planName: "string",
377
- * planType: "09",
378
- * insuranceType: "01",
379
- * payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
335
+ * payerId: "string"
380
336
  * },
381
337
  * patientRelationshipToSubscriberCode: "01",
382
- * dateOfBirth: "2023-01-15",
383
- * address: {
384
- * address1: "123 Main St",
385
- * address2: "Apt 1",
386
- * city: "New York",
387
- * state: "NY",
388
- * zipCode: "10001",
389
- * zipPlusFourCode: "1234"
390
- * },
391
338
  * firstName: "string",
392
339
  * lastName: "string",
393
340
  * gender: "male"
@@ -396,28 +343,9 @@ class V4 {
396
343
  * insuranceCard: {
397
344
  * memberId: "string",
398
345
  * payerName: "string",
399
- * payerId: "string",
400
- * rxBin: "string",
401
- * rxPcn: "string",
402
- * imageUrlFront: "string",
403
- * imageUrlBack: "string",
404
- * emrPayerCrosswalk: "HEALTHIE",
405
- * groupNumber: "string",
406
- * planName: "string",
407
- * planType: "09",
408
- * insuranceType: "01",
409
- * payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
346
+ * payerId: "string"
410
347
  * },
411
348
  * patientRelationshipToSubscriberCode: "01",
412
- * dateOfBirth: "2023-01-15",
413
- * address: {
414
- * address1: "123 Main St",
415
- * address2: "Apt 1",
416
- * city: "New York",
417
- * state: "NY",
418
- * zipCode: "10001",
419
- * zipPlusFourCode: "1234"
420
- * },
421
349
  * firstName: "string",
422
350
  * lastName: "string",
423
351
  * gender: "male"
@@ -506,9 +434,7 @@ class V4 {
506
434
  * }],
507
435
  * referralNumber: "string",
508
436
  * epsdtReferral: {
509
- * conditionIndicator1: "AV",
510
- * conditionIndicator2: "AV",
511
- * conditionIndicator3: "AV"
437
+ * conditionIndicator1: "AV"
512
438
  * },
513
439
  * claimSupplementalInformation: [{
514
440
  * attachmentReportTypeCode: "03",
@@ -581,7 +507,7 @@ class V4 {
581
507
  const _response = yield core.fetcher({
582
508
  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/encounters/v4"),
583
509
  method: "POST",
584
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
510
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
585
511
  contentType: "application/json",
586
512
  requestType: "json",
587
513
  body: serializers.encounters.v4.EncounterCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -668,10 +594,7 @@ class V4 {
668
594
  * taxId: "string",
669
595
  * npi: "string",
670
596
  * taxonomyCode: "string",
671
- * providerCommercialLicenseType: "0",
672
- * firstName: "string",
673
- * lastName: "string",
674
- * organizationName: "string"
597
+ * providerCommercialLicenseType: "0"
675
598
  * },
676
599
  * renderingProvider: {
677
600
  * npi: "string",
@@ -683,10 +606,7 @@ class V4 {
683
606
  * state: "NY",
684
607
  * zipCode: "10001",
685
608
  * zipPlusFourCode: "1234"
686
- * },
687
- * firstName: "string",
688
- * lastName: "string",
689
- * organizationName: "string"
609
+ * }
690
610
  * },
691
611
  * initialReferringProvider: {
692
612
  * npi: "string",
@@ -699,10 +619,7 @@ class V4 {
699
619
  * zipCode: "10001",
700
620
  * zipPlusFourCode: "1234"
701
621
  * },
702
- * qualifier: "DQ",
703
- * firstName: "string",
704
- * lastName: "string",
705
- * organizationName: "string"
622
+ * qualifier: "DQ"
706
623
  * },
707
624
  * supervisingProvider: {
708
625
  * npi: "string",
@@ -714,10 +631,7 @@ class V4 {
714
631
  * state: "NY",
715
632
  * zipCode: "10001",
716
633
  * zipPlusFourCode: "1234"
717
- * },
718
- * firstName: "string",
719
- * lastName: "string",
720
- * organizationName: "string"
634
+ * }
721
635
  * },
722
636
  * serviceFacility: {
723
637
  * organizationName: "string",
@@ -858,7 +772,7 @@ class V4 {
858
772
  const _response = yield core.fetcher({
859
773
  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/encounters/v4/create-from-pre-encounter"),
860
774
  method: "POST",
861
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
775
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
862
776
  contentType: "application/json",
863
777
  requestType: "json",
864
778
  body: serializers.encounters.v4.EncounterCreateFromPreEncounter.jsonOrThrow(request, {
@@ -914,7 +828,103 @@ class V4 {
914
828
  * @example
915
829
  * await client.encounters.v4.update(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
916
830
  * diagnosisIds: [CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
917
- * placeOfServiceCodeAsSubmitted: "01"
831
+ * placeOfServiceCodeAsSubmitted: "01",
832
+ * benefitsAssignedToProvider: true,
833
+ * priorAuthorizationNumber: CandidApi.encounters.v4.PriorAuthorizationNumber("string"),
834
+ * externalId: CandidApi.EncounterExternalId("string"),
835
+ * dateOfService: "2023-01-15",
836
+ * tagIds: [],
837
+ * clinicalNotes: [],
838
+ * payToAddress: {
839
+ * address1: "123 Main St",
840
+ * address2: "Apt 1",
841
+ * city: "New York",
842
+ * state: "NY",
843
+ * zipCode: "10001",
844
+ * zipPlusFourCode: "1234"
845
+ * },
846
+ * billableStatus: "BILLABLE",
847
+ * responsibleParty: "INSURANCE_PAY",
848
+ * providerAcceptsAssignment: true,
849
+ * synchronicity: "Synchronous",
850
+ * placeOfServiceCode: "01",
851
+ * appointmentType: "string",
852
+ * endDateOfService: "2023-01-15",
853
+ * subscriberPrimary: {
854
+ * insuranceCard: {
855
+ * memberId: "string",
856
+ * payerName: "string",
857
+ * payerId: "string"
858
+ * },
859
+ * patientRelationshipToSubscriberCode: "01",
860
+ * firstName: "string",
861
+ * lastName: "string",
862
+ * gender: "male"
863
+ * },
864
+ * subscriberSecondary: {
865
+ * insuranceCard: {
866
+ * memberId: "string",
867
+ * payerName: "string",
868
+ * payerId: "string"
869
+ * },
870
+ * patientRelationshipToSubscriberCode: "01",
871
+ * firstName: "string",
872
+ * lastName: "string",
873
+ * gender: "male"
874
+ * },
875
+ * subscriberTertiary: {
876
+ * insuranceCard: {
877
+ * memberId: "string",
878
+ * payerName: "string",
879
+ * payerId: "string"
880
+ * },
881
+ * patientRelationshipToSubscriberCode: "01",
882
+ * firstName: "string",
883
+ * lastName: "string",
884
+ * gender: "male"
885
+ * },
886
+ * additionalInformation: "string",
887
+ * serviceAuthorizationExceptionCode: "1",
888
+ * admissionDate: "2023-01-15",
889
+ * dischargeDate: "2023-01-15",
890
+ * onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
891
+ * lastMenstrualPeriodDate: "2023-01-15",
892
+ * delayReasonCode: "1",
893
+ * patient: {},
894
+ * patientAuthorizedRelease: true,
895
+ * schemaInstances: [],
896
+ * vitals: {
897
+ * heightIn: 70,
898
+ * weightLbs: 165,
899
+ * bloodPressureSystolicMmhg: 115,
900
+ * bloodPressureDiastolicMmhg: 85,
901
+ * bodyTemperatureF: 98,
902
+ * hemoglobinGdl: 15.1,
903
+ * hematocritPct: 51.2
904
+ * },
905
+ * existingMedications: [],
906
+ * renderingProvider: {},
907
+ * serviceFacility: {
908
+ * organizationName: "Test Organization",
909
+ * address: {
910
+ * address1: "123 Main St",
911
+ * address2: "Apt 1",
912
+ * city: "New York",
913
+ * state: "NY",
914
+ * zipCode: "10001",
915
+ * zipPlusFourCode: "1234"
916
+ * }
917
+ * },
918
+ * guarantor: {},
919
+ * billingProvider: {},
920
+ * supervisingProvider: {},
921
+ * referringProvider: {},
922
+ * initialReferringProvider: {},
923
+ * referralNumber: "string",
924
+ * epsdtReferral: {
925
+ * conditionIndicator1: "AV"
926
+ * },
927
+ * claimSupplementalInformation: []
918
928
  * })
919
929
  */
920
930
  update(encounterId_1) {
@@ -923,7 +933,7 @@ class V4 {
923
933
  const _response = yield core.fetcher({
924
934
  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/encounters/v4/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}`),
925
935
  method: "PATCH",
926
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
936
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
927
937
  contentType: "application/json",
928
938
  requestType: "json",
929
939
  body: serializers.encounters.v4.EncounterUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -47,10 +47,7 @@ import * as CandidApi from "../../../../../../index";
47
47
  * taxId: "string",
48
48
  * npi: "string",
49
49
  * taxonomyCode: "string",
50
- * providerCommercialLicenseType: "0",
51
- * firstName: "string",
52
- * lastName: "string",
53
- * organizationName: "string"
50
+ * providerCommercialLicenseType: "0"
54
51
  * },
55
52
  * renderingProvider: {
56
53
  * npi: "string",
@@ -62,10 +59,7 @@ import * as CandidApi from "../../../../../../index";
62
59
  * state: "NY",
63
60
  * zipCode: "10001",
64
61
  * zipPlusFourCode: "1234"
65
- * },
66
- * firstName: "string",
67
- * lastName: "string",
68
- * organizationName: "string"
62
+ * }
69
63
  * },
70
64
  * referringProvider: {
71
65
  * npi: "string",
@@ -77,10 +71,7 @@ import * as CandidApi from "../../../../../../index";
77
71
  * state: "NY",
78
72
  * zipCode: "10001",
79
73
  * zipPlusFourCode: "1234"
80
- * },
81
- * firstName: "string",
82
- * lastName: "string",
83
- * organizationName: "string"
74
+ * }
84
75
  * },
85
76
  * initialReferringProvider: {
86
77
  * npi: "string",
@@ -93,10 +84,7 @@ import * as CandidApi from "../../../../../../index";
93
84
  * zipCode: "10001",
94
85
  * zipPlusFourCode: "1234"
95
86
  * },
96
- * qualifier: "DQ",
97
- * firstName: "string",
98
- * lastName: "string",
99
- * organizationName: "string"
87
+ * qualifier: "DQ"
100
88
  * },
101
89
  * supervisingProvider: {
102
90
  * npi: "string",
@@ -108,10 +96,7 @@ import * as CandidApi from "../../../../../../index";
108
96
  * state: "NY",
109
97
  * zipCode: "10001",
110
98
  * zipPlusFourCode: "1234"
111
- * },
112
- * firstName: "string",
113
- * lastName: "string",
114
- * organizationName: "string"
99
+ * }
115
100
  * },
116
101
  * serviceFacility: {
117
102
  * organizationName: "string",
@@ -130,28 +115,9 @@ import * as CandidApi from "../../../../../../index";
130
115
  * insuranceCard: {
131
116
  * memberId: "string",
132
117
  * payerName: "string",
133
- * payerId: "string",
134
- * rxBin: "string",
135
- * rxPcn: "string",
136
- * imageUrlFront: "string",
137
- * imageUrlBack: "string",
138
- * emrPayerCrosswalk: "HEALTHIE",
139
- * groupNumber: "string",
140
- * planName: "string",
141
- * planType: "09",
142
- * insuranceType: "01",
143
- * payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
118
+ * payerId: "string"
144
119
  * },
145
120
  * patientRelationshipToSubscriberCode: "01",
146
- * dateOfBirth: "2023-01-15",
147
- * address: {
148
- * address1: "123 Main St",
149
- * address2: "Apt 1",
150
- * city: "New York",
151
- * state: "NY",
152
- * zipCode: "10001",
153
- * zipPlusFourCode: "1234"
154
- * },
155
121
  * firstName: "string",
156
122
  * lastName: "string",
157
123
  * gender: "male"
@@ -160,28 +126,9 @@ import * as CandidApi from "../../../../../../index";
160
126
  * insuranceCard: {
161
127
  * memberId: "string",
162
128
  * payerName: "string",
163
- * payerId: "string",
164
- * rxBin: "string",
165
- * rxPcn: "string",
166
- * imageUrlFront: "string",
167
- * imageUrlBack: "string",
168
- * emrPayerCrosswalk: "HEALTHIE",
169
- * groupNumber: "string",
170
- * planName: "string",
171
- * planType: "09",
172
- * insuranceType: "01",
173
- * payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
129
+ * payerId: "string"
174
130
  * },
175
131
  * patientRelationshipToSubscriberCode: "01",
176
- * dateOfBirth: "2023-01-15",
177
- * address: {
178
- * address1: "123 Main St",
179
- * address2: "Apt 1",
180
- * city: "New York",
181
- * state: "NY",
182
- * zipCode: "10001",
183
- * zipPlusFourCode: "1234"
184
- * },
185
132
  * firstName: "string",
186
133
  * lastName: "string",
187
134
  * gender: "male"
@@ -190,28 +137,9 @@ import * as CandidApi from "../../../../../../index";
190
137
  * insuranceCard: {
191
138
  * memberId: "string",
192
139
  * payerName: "string",
193
- * payerId: "string",
194
- * rxBin: "string",
195
- * rxPcn: "string",
196
- * imageUrlFront: "string",
197
- * imageUrlBack: "string",
198
- * emrPayerCrosswalk: "HEALTHIE",
199
- * groupNumber: "string",
200
- * planName: "string",
201
- * planType: "09",
202
- * insuranceType: "01",
203
- * payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
140
+ * payerId: "string"
204
141
  * },
205
142
  * patientRelationshipToSubscriberCode: "01",
206
- * dateOfBirth: "2023-01-15",
207
- * address: {
208
- * address1: "123 Main St",
209
- * address2: "Apt 1",
210
- * city: "New York",
211
- * state: "NY",
212
- * zipCode: "10001",
213
- * zipPlusFourCode: "1234"
214
- * },
215
143
  * firstName: "string",
216
144
  * lastName: "string",
217
145
  * gender: "male"
@@ -300,9 +228,7 @@ import * as CandidApi from "../../../../../../index";
300
228
  * }],
301
229
  * referralNumber: "string",
302
230
  * epsdtReferral: {
303
- * conditionIndicator1: "AV",
304
- * conditionIndicator2: "AV",
305
- * conditionIndicator3: "AV"
231
+ * conditionIndicator1: "AV"
306
232
  * },
307
233
  * claimSupplementalInformation: [{
308
234
  * attachmentReportTypeCode: "03",
@@ -6,7 +6,103 @@ import * as CandidApi from "../../../../../../index";
6
6
  * @example
7
7
  * {
8
8
  * diagnosisIds: [CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
9
- * placeOfServiceCodeAsSubmitted: "01"
9
+ * placeOfServiceCodeAsSubmitted: "01",
10
+ * benefitsAssignedToProvider: true,
11
+ * priorAuthorizationNumber: CandidApi.encounters.v4.PriorAuthorizationNumber("string"),
12
+ * externalId: CandidApi.EncounterExternalId("string"),
13
+ * dateOfService: "2023-01-15",
14
+ * tagIds: [],
15
+ * clinicalNotes: [],
16
+ * payToAddress: {
17
+ * address1: "123 Main St",
18
+ * address2: "Apt 1",
19
+ * city: "New York",
20
+ * state: "NY",
21
+ * zipCode: "10001",
22
+ * zipPlusFourCode: "1234"
23
+ * },
24
+ * billableStatus: "BILLABLE",
25
+ * responsibleParty: "INSURANCE_PAY",
26
+ * providerAcceptsAssignment: true,
27
+ * synchronicity: "Synchronous",
28
+ * placeOfServiceCode: "01",
29
+ * appointmentType: "string",
30
+ * endDateOfService: "2023-01-15",
31
+ * subscriberPrimary: {
32
+ * insuranceCard: {
33
+ * memberId: "string",
34
+ * payerName: "string",
35
+ * payerId: "string"
36
+ * },
37
+ * patientRelationshipToSubscriberCode: "01",
38
+ * firstName: "string",
39
+ * lastName: "string",
40
+ * gender: "male"
41
+ * },
42
+ * subscriberSecondary: {
43
+ * insuranceCard: {
44
+ * memberId: "string",
45
+ * payerName: "string",
46
+ * payerId: "string"
47
+ * },
48
+ * patientRelationshipToSubscriberCode: "01",
49
+ * firstName: "string",
50
+ * lastName: "string",
51
+ * gender: "male"
52
+ * },
53
+ * subscriberTertiary: {
54
+ * insuranceCard: {
55
+ * memberId: "string",
56
+ * payerName: "string",
57
+ * payerId: "string"
58
+ * },
59
+ * patientRelationshipToSubscriberCode: "01",
60
+ * firstName: "string",
61
+ * lastName: "string",
62
+ * gender: "male"
63
+ * },
64
+ * additionalInformation: "string",
65
+ * serviceAuthorizationExceptionCode: "1",
66
+ * admissionDate: "2023-01-15",
67
+ * dischargeDate: "2023-01-15",
68
+ * onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
69
+ * lastMenstrualPeriodDate: "2023-01-15",
70
+ * delayReasonCode: "1",
71
+ * patient: {},
72
+ * patientAuthorizedRelease: true,
73
+ * schemaInstances: [],
74
+ * vitals: {
75
+ * heightIn: 70,
76
+ * weightLbs: 165,
77
+ * bloodPressureSystolicMmhg: 115,
78
+ * bloodPressureDiastolicMmhg: 85,
79
+ * bodyTemperatureF: 98,
80
+ * hemoglobinGdl: 15.1,
81
+ * hematocritPct: 51.2
82
+ * },
83
+ * existingMedications: [],
84
+ * renderingProvider: {},
85
+ * serviceFacility: {
86
+ * organizationName: "Test Organization",
87
+ * address: {
88
+ * address1: "123 Main St",
89
+ * address2: "Apt 1",
90
+ * city: "New York",
91
+ * state: "NY",
92
+ * zipCode: "10001",
93
+ * zipPlusFourCode: "1234"
94
+ * }
95
+ * },
96
+ * guarantor: {},
97
+ * billingProvider: {},
98
+ * supervisingProvider: {},
99
+ * referringProvider: {},
100
+ * initialReferringProvider: {},
101
+ * referralNumber: "string",
102
+ * epsdtReferral: {
103
+ * conditionIndicator1: "AV"
104
+ * },
105
+ * claimSupplementalInformation: []
10
106
  * }
11
107
  */
12
108
  export interface EncounterUpdate extends CandidApi.encounters.v4.EncounterOptional {
@@ -84,7 +84,7 @@ class V1 {
84
84
  const _response = yield core.fetcher({
85
85
  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/expected-network-status/v1"),
86
86
  method: "POST",
87
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
87
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
88
88
  contentType: "application/json",
89
89
  requestType: "json",
90
90
  body: serializers.expectedNetworkStatus.v1.ExpectedNetworkStatusRequest.jsonOrThrow(request, {
@@ -101,7 +101,7 @@ class V2 {
101
101
  const _response = yield core.fetcher({
102
102
  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/expected-network-status/v2/compute/${encodeURIComponent(serializers.organizationProviders.v2.OrganizationProviderId.jsonOrThrow(renderingProviderId))}`),
103
103
  method: "POST",
104
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
104
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
105
105
  contentType: "application/json",
106
106
  requestType: "json",
107
107
  body: serializers.expectedNetworkStatus.v2.ExpectedNetworkStatusRequestV2.jsonOrThrow(request, {
@@ -186,7 +186,7 @@ class V2 {
186
186
  const _response = yield core.fetcher({
187
187
  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/expected-network-status/v2/compute"),
188
188
  method: "POST",
189
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
189
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
190
190
  contentType: "application/json",
191
191
  requestType: "json",
192
192
  body: serializers.expectedNetworkStatus.v2.ComputeAllInNetworkProvidersRequest.jsonOrThrow(request, {