candidhealth 0.40.1 → 0.40.3

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 (282) hide show
  1. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  2. package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  3. package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +3 -0
  4. package/api/resources/chargeCapture/resources/v1/client/Client.js +22 -6
  5. package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +15 -0
  6. package/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +1 -0
  7. package/api/resources/chargeCapture/resources/v1/types/ChargeCapturePostBilledChange.d.ts +12 -0
  8. package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureSortField.d.ts +8 -0
  9. package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureSortField.js +10 -0
  10. package/api/resources/chargeCapture/resources/v1/types/index.d.ts +2 -0
  11. package/api/resources/chargeCapture/resources/v1/types/index.js +2 -0
  12. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +12 -2
  13. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +58 -6
  14. package/api/resources/chargeCaptureBundles/resources/v1/client/getSummary.d.ts +22 -0
  15. package/api/resources/chargeCaptureBundles/resources/v1/client/getSummary.js +57 -0
  16. package/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +1 -0
  17. package/api/resources/chargeCaptureBundles/resources/v1/client/index.js +2 -1
  18. package/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.d.ts +17 -2
  19. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +7 -0
  20. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js +9 -0
  21. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +3 -1
  22. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +2 -0
  23. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +11 -0
  24. package/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +2 -0
  25. package/api/resources/chargeCaptureBundles/resources/v1/types/index.js +2 -0
  26. package/api/resources/commons/types/ChargeCapturePostBilledChangeId.d.ts +8 -0
  27. package/api/resources/commons/types/ChargeCapturePostBilledChangeId.js +9 -0
  28. package/api/resources/commons/types/ProcedureModifier.d.ts +13 -1
  29. package/api/resources/commons/types/ProcedureModifier.js +3 -0
  30. package/api/resources/commons/types/index.d.ts +1 -0
  31. package/api/resources/commons/types/index.js +1 -0
  32. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  33. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  34. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  35. package/api/resources/diagnoses/client/Client.js +3 -3
  36. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  37. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  38. package/api/resources/encounters/resources/v4/client/Client.js +5 -5
  39. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  40. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  41. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  42. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  43. package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +3 -3
  44. package/api/resources/feeSchedules/resources/v3/client/Client.js +13 -13
  45. package/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +1 -1
  46. package/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -1
  47. package/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +1 -1
  48. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  49. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  50. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  51. package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +0 -56
  52. package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -194
  53. package/api/resources/insurancePayments/resources/v1/client/index.d.ts +0 -3
  54. package/api/resources/insurancePayments/resources/v1/client/index.js +1 -4
  55. package/api/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
  56. package/api/resources/insurancePayments/resources/v1/types/index.d.ts +0 -1
  57. package/api/resources/insurancePayments/resources/v1/types/index.js +0 -1
  58. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  59. package/api/resources/medicationDispense/resources/v1/client/Client.d.ts +1 -1
  60. package/api/resources/medicationDispense/resources/v1/client/Client.js +2 -2
  61. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  62. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  63. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  64. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  65. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  66. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  67. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  68. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  69. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  70. package/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +1 -0
  71. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
  72. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  73. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  74. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  75. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  76. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  77. package/api/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.d.ts +2 -1
  78. package/api/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.js +1 -0
  79. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  80. package/api/resources/serviceFacility/client/Client.js +1 -1
  81. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +2 -2
  82. package/api/resources/serviceLines/resources/v2/client/Client.js +5 -5
  83. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  84. package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  85. package/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +2 -1
  86. package/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
  87. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  88. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  89. package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +3 -0
  90. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +22 -6
  91. package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +15 -0
  92. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +1 -0
  93. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapturePostBilledChange.d.ts +12 -0
  94. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureSortField.d.ts +8 -0
  95. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureSortField.js +10 -0
  96. package/dist/api/resources/chargeCapture/resources/v1/types/index.d.ts +2 -0
  97. package/dist/api/resources/chargeCapture/resources/v1/types/index.js +2 -0
  98. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +12 -2
  99. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +58 -6
  100. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/getSummary.d.ts +22 -0
  101. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/getSummary.js +57 -0
  102. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +1 -0
  103. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.js +2 -1
  104. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.d.ts +17 -2
  105. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +7 -0
  106. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js +9 -0
  107. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +3 -1
  108. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +2 -0
  109. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +11 -0
  110. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +2 -0
  111. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.js +2 -0
  112. package/dist/api/resources/commons/types/ChargeCapturePostBilledChangeId.d.ts +8 -0
  113. package/dist/api/resources/commons/types/ChargeCapturePostBilledChangeId.js +9 -0
  114. package/dist/api/resources/commons/types/ProcedureModifier.d.ts +13 -1
  115. package/dist/api/resources/commons/types/ProcedureModifier.js +3 -0
  116. package/dist/api/resources/commons/types/index.d.ts +1 -0
  117. package/dist/api/resources/commons/types/index.js +1 -0
  118. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  119. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  120. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  121. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  122. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  123. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  124. package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -5
  125. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  126. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  127. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  128. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  129. package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +3 -3
  130. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +13 -13
  131. package/dist/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +1 -1
  132. package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -1
  133. package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +1 -1
  134. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  135. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  136. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  137. package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +0 -56
  138. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -194
  139. package/dist/api/resources/insurancePayments/resources/v1/client/index.d.ts +0 -3
  140. package/dist/api/resources/insurancePayments/resources/v1/client/index.js +1 -4
  141. package/dist/api/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
  142. package/dist/api/resources/insurancePayments/resources/v1/types/index.d.ts +0 -1
  143. package/dist/api/resources/insurancePayments/resources/v1/types/index.js +0 -1
  144. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  145. package/dist/api/resources/medicationDispense/resources/v1/client/Client.d.ts +1 -1
  146. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +2 -2
  147. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  148. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  149. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  150. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  151. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  152. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  153. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  154. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  155. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  156. package/dist/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +1 -0
  157. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
  158. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  159. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  160. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  161. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  162. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  163. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.d.ts +2 -1
  164. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.js +1 -0
  165. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  166. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  167. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +2 -2
  168. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +5 -5
  169. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  170. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  171. package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +2 -1
  172. package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
  173. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -0
  174. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -0
  175. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapturePostBilledChange.d.ts +15 -0
  176. package/dist/serialization/resources/{insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.js → chargeCapture/resources/v1/types/ChargeCapturePostBilledChange.js} +7 -6
  177. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureSortField.d.ts +10 -0
  178. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureSortField.js +41 -0
  179. package/dist/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +2 -0
  180. package/dist/serialization/resources/chargeCapture/resources/v1/types/index.js +2 -0
  181. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +10 -0
  182. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js +41 -0
  183. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +1 -1
  184. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +1 -1
  185. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +14 -0
  186. package/dist/serialization/resources/{insurancePayments/resources/v1/types/InsurancePaymentCreate.js → chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js} +5 -9
  187. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +2 -0
  188. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +2 -0
  189. package/dist/serialization/resources/commons/types/ChargeCapturePostBilledChangeId.d.ts +10 -0
  190. package/{serialization/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.js → dist/serialization/resources/commons/types/ChargeCapturePostBilledChangeId.js} +6 -6
  191. package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  192. package/dist/serialization/resources/commons/types/ProcedureModifier.js +3 -0
  193. package/dist/serialization/resources/commons/types/index.d.ts +1 -0
  194. package/dist/serialization/resources/commons/types/index.js +1 -0
  195. package/dist/serialization/resources/insurancePayments/resources/v1/client/index.d.ts +0 -4
  196. package/dist/serialization/resources/insurancePayments/resources/v1/client/index.js +1 -8
  197. package/dist/serialization/resources/insurancePayments/resources/v1/types/index.d.ts +0 -1
  198. package/dist/serialization/resources/insurancePayments/resources/v1/types/index.js +0 -1
  199. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +2 -0
  200. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +2 -0
  201. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.d.ts +1 -1
  202. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.js +1 -1
  203. package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +1 -1
  204. package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
  205. package/dist/version.d.ts +1 -1
  206. package/dist/version.js +1 -1
  207. package/package.json +1 -1
  208. package/reference.md +53 -231
  209. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -0
  210. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -0
  211. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapturePostBilledChange.d.ts +15 -0
  212. package/serialization/resources/{insurancePayments/resources/v1/types/InsurancePaymentCreate.js → chargeCapture/resources/v1/types/ChargeCapturePostBilledChange.js} +6 -9
  213. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureSortField.d.ts +10 -0
  214. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureSortField.js +41 -0
  215. package/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +2 -0
  216. package/serialization/resources/chargeCapture/resources/v1/types/index.js +2 -0
  217. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +10 -0
  218. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js +41 -0
  219. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +1 -1
  220. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +1 -1
  221. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +14 -0
  222. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js +45 -0
  223. package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +2 -0
  224. package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +2 -0
  225. package/serialization/resources/commons/types/ChargeCapturePostBilledChangeId.d.ts +10 -0
  226. package/serialization/resources/commons/types/ChargeCapturePostBilledChangeId.js +45 -0
  227. package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  228. package/serialization/resources/commons/types/ProcedureModifier.js +3 -0
  229. package/serialization/resources/commons/types/index.d.ts +1 -0
  230. package/serialization/resources/commons/types/index.js +1 -0
  231. package/serialization/resources/insurancePayments/resources/v1/client/index.d.ts +0 -4
  232. package/serialization/resources/insurancePayments/resources/v1/client/index.js +1 -8
  233. package/serialization/resources/insurancePayments/resources/v1/types/index.d.ts +0 -1
  234. package/serialization/resources/insurancePayments/resources/v1/types/index.js +0 -1
  235. package/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +2 -0
  236. package/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +2 -0
  237. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.d.ts +1 -1
  238. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.js +1 -1
  239. package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +1 -1
  240. package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
  241. package/version.d.ts +1 -1
  242. package/version.js +1 -1
  243. package/api/resources/insurancePayments/resources/v1/client/create.d.ts +0 -40
  244. package/api/resources/insurancePayments/resources/v1/client/create.js +0 -90
  245. package/api/resources/insurancePayments/resources/v1/client/delete.d.ts +0 -40
  246. package/api/resources/insurancePayments/resources/v1/client/delete.js +0 -90
  247. package/api/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.d.ts +0 -18
  248. package/api/resources/insurancePayments/resources/v1/client/update.d.ts +0 -40
  249. package/api/resources/insurancePayments/resources/v1/client/update.js +0 -90
  250. package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.d.ts +0 -11
  251. package/dist/api/resources/insurancePayments/resources/v1/client/create.d.ts +0 -40
  252. package/dist/api/resources/insurancePayments/resources/v1/client/create.js +0 -90
  253. package/dist/api/resources/insurancePayments/resources/v1/client/delete.d.ts +0 -40
  254. package/dist/api/resources/insurancePayments/resources/v1/client/delete.js +0 -90
  255. package/dist/api/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.d.ts +0 -18
  256. package/dist/api/resources/insurancePayments/resources/v1/client/update.d.ts +0 -40
  257. package/dist/api/resources/insurancePayments/resources/v1/client/update.js +0 -90
  258. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.d.ts +0 -11
  259. package/dist/serialization/resources/insurancePayments/resources/v1/client/create.d.ts +0 -25
  260. package/dist/serialization/resources/insurancePayments/resources/v1/client/create.js +0 -83
  261. package/dist/serialization/resources/insurancePayments/resources/v1/client/delete.d.ts +0 -25
  262. package/dist/serialization/resources/insurancePayments/resources/v1/client/delete.js +0 -83
  263. package/dist/serialization/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.d.ts +0 -14
  264. package/dist/serialization/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
  265. package/dist/serialization/resources/insurancePayments/resources/v1/client/requests/index.js +0 -5
  266. package/dist/serialization/resources/insurancePayments/resources/v1/client/update.d.ts +0 -25
  267. package/dist/serialization/resources/insurancePayments/resources/v1/client/update.js +0 -83
  268. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.d.ts +0 -18
  269. package/serialization/resources/insurancePayments/resources/v1/client/create.d.ts +0 -25
  270. package/serialization/resources/insurancePayments/resources/v1/client/create.js +0 -83
  271. package/serialization/resources/insurancePayments/resources/v1/client/delete.d.ts +0 -25
  272. package/serialization/resources/insurancePayments/resources/v1/client/delete.js +0 -83
  273. package/serialization/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.d.ts +0 -14
  274. package/serialization/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
  275. package/serialization/resources/insurancePayments/resources/v1/client/requests/index.js +0 -5
  276. package/serialization/resources/insurancePayments/resources/v1/client/update.d.ts +0 -25
  277. package/serialization/resources/insurancePayments/resources/v1/client/update.js +0 -83
  278. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.d.ts +0 -18
  279. /package/api/resources/{insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.js → chargeCapture/resources/v1/types/ChargeCapturePostBilledChange.js} +0 -0
  280. /package/api/resources/{insurancePayments/resources/v1/types/InsurancePaymentCreate.js → chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js} +0 -0
  281. /package/dist/api/resources/{insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.js → chargeCapture/resources/v1/types/ChargeCapturePostBilledChange.js} +0 -0
  282. /package/dist/api/resources/{insurancePayments/resources/v1/types/InsurancePaymentCreate.js → chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.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.40.1", "User-Agent": "candidhealth/0.40.1", "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.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
147
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.40.1", "User-Agent": "candidhealth/0.40.1", "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.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
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,
@@ -581,7 +581,7 @@ class V4 {
581
581
  const _response = yield core.fetcher({
582
582
  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
583
  method: "POST",
584
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.1", "User-Agent": "candidhealth/0.40.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
584
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
585
585
  contentType: "application/json",
586
586
  requestType: "json",
587
587
  body: serializers.encounters.v4.EncounterCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -858,7 +858,7 @@ class V4 {
858
858
  const _response = yield core.fetcher({
859
859
  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
860
  method: "POST",
861
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.1", "User-Agent": "candidhealth/0.40.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
861
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
862
862
  contentType: "application/json",
863
863
  requestType: "json",
864
864
  body: serializers.encounters.v4.EncounterCreateFromPreEncounter.jsonOrThrow(request, {
@@ -923,7 +923,7 @@ class V4 {
923
923
  const _response = yield core.fetcher({
924
924
  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
925
  method: "PATCH",
926
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.1", "User-Agent": "candidhealth/0.40.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
926
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
927
927
  contentType: "application/json",
928
928
  requestType: "json",
929
929
  body: serializers.encounters.v4.EncounterUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -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.40.1", "User-Agent": "candidhealth/0.40.1", "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.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
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.40.1", "User-Agent": "candidhealth/0.40.1", "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.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
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.40.1", "User-Agent": "candidhealth/0.40.1", "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.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
190
190
  contentType: "application/json",
191
191
  requestType: "json",
192
192
  body: serializers.expectedNetworkStatus.v2.ComputeAllInNetworkProvidersRequest.jsonOrThrow(request, {
@@ -95,7 +95,7 @@ class V3 {
95
95
  const _response = yield core.fetcher({
96
96
  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/exports/v3"),
97
97
  method: "GET",
98
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.1", "User-Agent": "candidhealth/0.40.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
98
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
99
99
  contentType: "application/json",
100
100
  queryParameters: _queryParams,
101
101
  requestType: "json",
@@ -87,7 +87,7 @@ class V1 {
87
87
  const _response = yield core.fetcher({
88
88
  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/external-payment-account-config/v1"),
89
89
  method: "GET",
90
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.1", "User-Agent": "candidhealth/0.40.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
90
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
91
91
  contentType: "application/json",
92
92
  queryParameters: _queryParams,
93
93
  requestType: "json",
@@ -66,7 +66,7 @@ export declare class V3 {
66
66
  * networkTypes: "12",
67
67
  * payerPlanGroupIds: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
68
68
  * cptCode: "string",
69
- * modifiers: "22"
69
+ * modifiers: "AV"
70
70
  * })
71
71
  */
72
72
  getMulti(request?: CandidApi.feeSchedules.v3.GetMultiRequest, requestOptions?: V3.RequestOptions): Promise<core.APIResponse<CandidApi.feeSchedules.v3.RatesPage, CandidApi.feeSchedules.v3.getMulti.Error>>;
@@ -90,7 +90,7 @@ export declare class V3 {
90
90
  * networkTypes: "12",
91
91
  * payerPlanGroupIds: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
92
92
  * cptCode: "string",
93
- * modifiers: "22"
93
+ * modifiers: "AV"
94
94
  * })
95
95
  */
96
96
  getUniqueValuesForDimension(request: CandidApi.feeSchedules.v3.GetUniqueDimensionValuesRequest, requestOptions?: V3.RequestOptions): Promise<core.APIResponse<CandidApi.feeSchedules.v3.DimensionsPage, CandidApi.feeSchedules.v3.getUniqueValuesForDimension.Error>>;
@@ -125,7 +125,7 @@ export declare class V3 {
125
125
  * networkTypes: new Set(["12"]),
126
126
  * payerPlanGroupIds: new Set([CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
127
127
  * cptCode: "string",
128
- * modifiers: new Set(["22"])
128
+ * modifiers: new Set(["AV"])
129
129
  * },
130
130
  * entries: [{
131
131
  * startDate: "2024-04-11",
@@ -73,7 +73,7 @@ class V3 {
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).candidApi, `/api/fee-schedules/v3/service-line/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/match`),
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.1", "User-Agent": "candidhealth/0.40.1", "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.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
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,
@@ -128,7 +128,7 @@ class V3 {
128
128
  const _response = yield core.fetcher({
129
129
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/service-line/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/match/${encodeURIComponent(serializers.RateId.jsonOrThrow(rateId))}`),
130
130
  method: "GET",
131
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.1", "User-Agent": "candidhealth/0.40.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
131
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
132
132
  contentType: "application/json",
133
133
  requestType: "json",
134
134
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -187,7 +187,7 @@ class V3 {
187
187
  * networkTypes: "12",
188
188
  * payerPlanGroupIds: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
189
189
  * cptCode: "string",
190
- * modifiers: "22"
190
+ * modifiers: "AV"
191
191
  * })
192
192
  */
193
193
  getMulti() {
@@ -280,7 +280,7 @@ class V3 {
280
280
  const _response = yield core.fetcher({
281
281
  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/fee-schedules/v3"),
282
282
  method: "GET",
283
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.1", "User-Agent": "candidhealth/0.40.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
283
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
284
284
  contentType: "application/json",
285
285
  queryParameters: _queryParams,
286
286
  requestType: "json",
@@ -325,7 +325,7 @@ class V3 {
325
325
  * networkTypes: "12",
326
326
  * payerPlanGroupIds: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
327
327
  * cptCode: "string",
328
- * modifiers: "22"
328
+ * modifiers: "AV"
329
329
  * })
330
330
  */
331
331
  getUniqueValuesForDimension(request, requestOptions) {
@@ -418,7 +418,7 @@ class V3 {
418
418
  const _response = yield core.fetcher({
419
419
  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/fee-schedules/v3/unique-dimension-values"),
420
420
  method: "GET",
421
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.1", "User-Agent": "candidhealth/0.40.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
421
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
422
422
  contentType: "application/json",
423
423
  queryParameters: _queryParams,
424
424
  requestType: "json",
@@ -458,7 +458,7 @@ class V3 {
458
458
  const _response = yield core.fetcher({
459
459
  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/fee-schedules/v3/${encodeURIComponent(serializers.RateId.jsonOrThrow(rateId))}/history`),
460
460
  method: "GET",
461
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.1", "User-Agent": "candidhealth/0.40.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
461
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
462
462
  contentType: "application/json",
463
463
  requestType: "json",
464
464
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -517,7 +517,7 @@ class V3 {
517
517
  * networkTypes: new Set(["12"]),
518
518
  * payerPlanGroupIds: new Set([CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
519
519
  * cptCode: "string",
520
- * modifiers: new Set(["22"])
520
+ * modifiers: new Set(["AV"])
521
521
  * },
522
522
  * entries: [{
523
523
  * startDate: "2024-04-11",
@@ -533,7 +533,7 @@ class V3 {
533
533
  const _response = yield core.fetcher({
534
534
  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/fee-schedules/v3"),
535
535
  method: "POST",
536
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.1", "User-Agent": "candidhealth/0.40.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
536
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
537
537
  contentType: "application/json",
538
538
  requestType: "json",
539
539
  body: serializers.feeSchedules.v3.FeeScheduleUploadRequest.jsonOrThrow(request, {
@@ -590,7 +590,7 @@ class V3 {
590
590
  const _response = yield core.fetcher({
591
591
  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/fee-schedules/v3/${encodeURIComponent(serializers.RateId.jsonOrThrow(rateId))}/${encodeURIComponent(version)}`),
592
592
  method: "DELETE",
593
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.1", "User-Agent": "candidhealth/0.40.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
593
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
594
594
  contentType: "application/json",
595
595
  requestType: "json",
596
596
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -638,7 +638,7 @@ class V3 {
638
638
  const _response = yield core.fetcher({
639
639
  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/fee-schedules/v3/payer-threshold/default"),
640
640
  method: "GET",
641
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.1", "User-Agent": "candidhealth/0.40.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
641
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
642
642
  contentType: "application/json",
643
643
  requestType: "json",
644
644
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -687,7 +687,7 @@ class V3 {
687
687
  const _response = yield core.fetcher({
688
688
  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/fee-schedules/v3/payer-threshold"),
689
689
  method: "GET",
690
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.1", "User-Agent": "candidhealth/0.40.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
690
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
691
691
  contentType: "application/json",
692
692
  queryParameters: _queryParams,
693
693
  requestType: "json",
@@ -732,7 +732,7 @@ class V3 {
732
732
  const _response = yield core.fetcher({
733
733
  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/fee-schedules/v3/payer-threshold/${encodeURIComponent(serializers.payers.v3.PayerUuid.jsonOrThrow(payerUuid))}`),
734
734
  method: "PUT",
735
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.1", "User-Agent": "candidhealth/0.40.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
735
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
736
736
  contentType: "application/json",
737
737
  requestType: "json",
738
738
  body: serializers.feeSchedules.v3.PayerThreshold.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -18,7 +18,7 @@ import * as CandidApi from "../../../../../../index";
18
18
  * networkTypes: new Set(["12"]),
19
19
  * payerPlanGroupIds: new Set([CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
20
20
  * cptCode: "string",
21
- * modifiers: new Set(["22"])
21
+ * modifiers: new Set(["AV"])
22
22
  * },
23
23
  * entries: [{
24
24
  * startDate: "2024-04-11",
@@ -17,7 +17,7 @@ import * as CandidApi from "../../../../../../index";
17
17
  * networkTypes: "12",
18
18
  * payerPlanGroupIds: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
19
19
  * cptCode: "string",
20
- * modifiers: "22"
20
+ * modifiers: "AV"
21
21
  * }
22
22
  */
23
23
  export interface GetMultiRequest {
@@ -17,7 +17,7 @@ import * as CandidApi from "../../../../../../index";
17
17
  * networkTypes: "12",
18
18
  * payerPlanGroupIds: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
19
19
  * cptCode: "string",
20
- * modifiers: "22"
20
+ * modifiers: "AV"
21
21
  * }
22
22
  */
23
23
  export interface GetUniqueDimensionValuesRequest {
@@ -94,7 +94,7 @@ class V1 {
94
94
  const _response = yield core.fetcher({
95
95
  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/guarantors/v1/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}`),
96
96
  method: "POST",
97
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.1", "User-Agent": "candidhealth/0.40.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
97
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
98
98
  contentType: "application/json",
99
99
  requestType: "json",
100
100
  body: serializers.guarantor.v1.GuarantorCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -149,7 +149,7 @@ class V1 {
149
149
  const _response = yield core.fetcher({
150
150
  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/guarantors/v1/${encodeURIComponent(serializers.guarantor.v1.GuarantorId.jsonOrThrow(guarantorId))}`),
151
151
  method: "GET",
152
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.1", "User-Agent": "candidhealth/0.40.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
152
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
153
153
  contentType: "application/json",
154
154
  requestType: "json",
155
155
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -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).candidApi, `/api/guarantors/v1/${encodeURIComponent(serializers.guarantor.v1.GuarantorId.jsonOrThrow(guarantorId))}`),
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.1", "User-Agent": "candidhealth/0.40.1", "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.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
213
213
  contentType: "application/json",
214
214
  requestType: "json",
215
215
  body: serializers.guarantor.v1.GuarantorUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -89,7 +89,7 @@ class V1 {
89
89
  const _response = yield core.fetcher({
90
90
  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/import-invoice/v1"),
91
91
  method: "POST",
92
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.1", "User-Agent": "candidhealth/0.40.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
92
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
93
93
  contentType: "application/json",
94
94
  requestType: "json",
95
95
  body: serializers.importInvoice.v1.CreateImportInvoiceRequest.jsonOrThrow(request, {
@@ -200,7 +200,7 @@ class V1 {
200
200
  const _response = yield core.fetcher({
201
201
  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/import-invoice/v1"),
202
202
  method: "GET",
203
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.1", "User-Agent": "candidhealth/0.40.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
203
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
204
204
  contentType: "application/json",
205
205
  queryParameters: _queryParams,
206
206
  requestType: "json",
@@ -240,7 +240,7 @@ class V1 {
240
240
  const _response = yield core.fetcher({
241
241
  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/import-invoice/v1/${encodeURIComponent(serializers.InvoiceId.jsonOrThrow(invoiceId))}`),
242
242
  method: "GET",
243
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.1", "User-Agent": "candidhealth/0.40.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
243
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
244
244
  contentType: "application/json",
245
245
  requestType: "json",
246
246
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -309,7 +309,7 @@ class V1 {
309
309
  const _response = yield core.fetcher({
310
310
  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/import-invoice/v1/${encodeURIComponent(serializers.InvoiceId.jsonOrThrow(invoiceId))}`),
311
311
  method: "PATCH",
312
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.1", "User-Agent": "candidhealth/0.40.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
312
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
313
313
  contentType: "application/json",
314
314
  requestType: "json",
315
315
  body: serializers.importInvoice.v1.ImportInvoiceUpdateRequest.jsonOrThrow(request, {
@@ -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).candidApi, `/api/insurance-adjudications/v1/${encodeURIComponent(serializers.insuranceAdjudications.v1.InsuranceAdjudicationId.jsonOrThrow(insuranceAdjudicationId))}`),
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.1", "User-Agent": "candidhealth/0.40.1", "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.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
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,
@@ -135,7 +135,7 @@ class V1 {
135
135
  const _response = yield core.fetcher({
136
136
  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/insurance-adjudications/v1"),
137
137
  method: "POST",
138
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.1", "User-Agent": "candidhealth/0.40.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
138
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
139
139
  contentType: "application/json",
140
140
  requestType: "json",
141
141
  body: serializers.insuranceAdjudications.v1.InsuranceAdjudicationCreate.jsonOrThrow(request, {
@@ -191,7 +191,7 @@ class V1 {
191
191
  const _response = yield core.fetcher({
192
192
  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/insurance-adjudications/v1/${encodeURIComponent(serializers.insuranceAdjudications.v1.InsuranceAdjudicationId.jsonOrThrow(insuranceAdjudicationId))}`),
193
193
  method: "DELETE",
194
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.1", "User-Agent": "candidhealth/0.40.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
194
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
195
195
  contentType: "application/json",
196
196
  requestType: "json",
197
197
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -55,61 +55,5 @@ export declare class V1 {
55
55
  * await client.insurancePayments.v1.get(CandidApi.insurancePayments.v1.InsurancePaymentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
56
56
  */
57
57
  get(insurancePaymentId: CandidApi.insurancePayments.v1.InsurancePaymentId, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.insurancePayments.v1.InsurancePayment, CandidApi.insurancePayments.v1.get.Error>>;
58
- /**
59
- * Creates a new insurance payment record and returns the newly created `InsurancePayment` object. This endpoint
60
- * should only be used for insurance payments that do not have a corresponding ERA (for example: a settlement check
61
- * from a payer). If the payment is an ERA, then you should used the insurance-adjudications API.
62
- *
63
- * @param {CandidApi.insurancePayments.v1.InsurancePaymentCreate} request
64
- * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
65
- *
66
- * @example
67
- * await client.insurancePayments.v1.create({
68
- * payerIdentifier: {
69
- * type: "payer_info"
70
- * },
71
- * amountCents: 1,
72
- * paymentTimestamp: "2024-01-15T09:30:00Z",
73
- * paymentNote: "string",
74
- * allocations: [{
75
- * amountCents: 1,
76
- * target: {
77
- * type: "service_line_by_id",
78
- * value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
79
- * }
80
- * }]
81
- * })
82
- */
83
- create(request: CandidApi.insurancePayments.v1.InsurancePaymentCreate, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.insurancePayments.v1.InsurancePayment, CandidApi.insurancePayments.v1.create.Error>>;
84
- /**
85
- * Updates the patient payment record matching the provided insurance_payment_id. If updating the payment amount,
86
- * then the allocations must be appropriately updated as well.
87
- *
88
- * @param {CandidApi.insurancePayments.v1.InsurancePaymentId} insurancePaymentId
89
- * @param {CandidApi.insurancePayments.v1.InsurancePaymentUpdate} request
90
- * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
91
- *
92
- * @example
93
- * await client.insurancePayments.v1.update(CandidApi.insurancePayments.v1.InsurancePaymentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
94
- * paymentTimestamp: "2024-01-15T09:30:00Z",
95
- * paymentNote: {
96
- * type: "set",
97
- * value: "string"
98
- * }
99
- * })
100
- */
101
- update(insurancePaymentId: CandidApi.insurancePayments.v1.InsurancePaymentId, request?: CandidApi.insurancePayments.v1.InsurancePaymentUpdate, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.insurancePayments.v1.InsurancePayment, CandidApi.insurancePayments.v1.update.Error>>;
102
- /**
103
- * Deletes the insurance payment record matching the provided `insurance_payment_id`.
104
- * If the matching record's organization_id does not match the authenticated user's
105
- * current organization_id, then a response code of `403` will be returned.
106
- *
107
- * @param {CandidApi.insurancePayments.v1.InsurancePaymentId} insurancePaymentId
108
- * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
109
- *
110
- * @example
111
- * await client.insurancePayments.v1.delete(CandidApi.insurancePayments.v1.InsurancePaymentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
112
- */
113
- delete(insurancePaymentId: CandidApi.insurancePayments.v1.InsurancePaymentId, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<void, CandidApi.insurancePayments.v1.delete.Error>>;
114
58
  protected _getAuthorizationHeader(): Promise<string | undefined>;
115
59
  }