candidhealth 0.46.0 → 1.0.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 (316) 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 +0 -8
  4. package/api/resources/chargeCapture/resources/v1/client/Client.js +5 -52
  5. package/api/resources/chargeCapture/resources/v1/client/index.d.ts +0 -1
  6. package/api/resources/chargeCapture/resources/v1/client/index.js +1 -2
  7. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  8. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  9. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  10. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  11. package/api/resources/diagnoses/client/Client.js +3 -3
  12. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  13. package/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -3
  14. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  15. package/api/resources/encounters/resources/v4/client/Client.js +5 -5
  16. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  17. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  18. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  19. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  20. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  21. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  22. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  23. package/api/resources/index.d.ts +2 -0
  24. package/api/resources/index.js +3 -1
  25. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  26. package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  27. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  28. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  29. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  30. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  31. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  32. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  33. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  34. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  35. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  36. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  37. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  38. package/api/resources/pipelineCommons/index.d.ts +1 -0
  39. package/api/resources/pipelineCommons/index.js +17 -0
  40. package/api/resources/pipelineCommons/types/ConfigurableRuleId.d.ts +8 -0
  41. package/api/resources/pipelineCommons/types/ConfigurableRuleId.js +9 -0
  42. package/api/resources/pipelineCommons/types/index.d.ts +1 -0
  43. package/api/resources/pipelineCommons/types/index.js +17 -0
  44. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  45. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +1 -1
  46. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +11 -11
  47. package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.d.ts +2 -2
  48. package/api/resources/preEncounter/resources/coverages/resources/v1/types/LatestEligibilityCheck.d.ts +1 -1
  49. package/api/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.d.ts +1 -1
  50. package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +1 -5
  51. package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +1 -5
  52. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +40 -0
  53. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +102 -1
  54. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/batch.d.ts +22 -0
  55. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/batch.js +57 -0
  56. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +2 -0
  57. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +3 -1
  58. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/pollBatch.d.ts +22 -0
  59. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/pollBatch.js +57 -0
  60. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/BatchEligibilityResponse.d.ts +10 -0
  61. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheck.d.ts +2 -1
  62. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheckError.d.ts +8 -0
  63. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheckErrorDetails.d.ts +14 -0
  64. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheckErrorSource.d.ts +11 -0
  65. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheckErrorSource.js +10 -0
  66. package/api/resources/preEncounter/resources/{coverages → eligibilityChecks}/resources/v1/types/EligibilityCheckMetadata.d.ts +1 -1
  67. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheckPage.d.ts +7 -0
  68. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheckPage.js +5 -0
  69. package/{dist/api/resources/preEncounter/resources/coverages → api/resources/preEncounter/resources/eligibilityChecks}/resources/v1/types/EligibilityCheckStatus.d.ts +1 -1
  70. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.d.ts +5 -0
  71. package/api/resources/preEncounter/resources/{coverages → eligibilityChecks}/resources/v1/types/EligibilityStatus.d.ts +3 -0
  72. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/ParsedResponse.d.ts +1 -1
  73. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +8 -0
  74. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +8 -0
  75. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  76. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  77. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  78. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  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.js +3 -3
  82. package/api/resources/serviceLines/resources/v2/types/DenialReasonContent.d.ts +3 -1
  83. package/api/resources/serviceLines/resources/v2/types/DenialReasonContent.js +2 -0
  84. package/api/resources/superbills/resources/v1/client/Client.js +1 -1
  85. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  86. package/api/resources/tasks/resources/v3/types/Task.d.ts +1 -0
  87. package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  88. package/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +2 -1
  89. package/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
  90. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  91. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  92. package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +0 -8
  93. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +5 -52
  94. package/dist/api/resources/chargeCapture/resources/v1/client/index.d.ts +0 -1
  95. package/dist/api/resources/chargeCapture/resources/v1/client/index.js +1 -2
  96. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  97. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  98. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  99. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  100. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  101. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  102. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -3
  103. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  104. package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -5
  105. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  106. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  107. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  108. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  109. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  110. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  111. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  112. package/dist/api/resources/index.d.ts +2 -0
  113. package/dist/api/resources/index.js +3 -1
  114. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  115. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  116. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  117. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  118. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  119. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  120. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  121. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  122. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  123. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  124. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  125. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  126. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  127. package/dist/api/resources/pipelineCommons/index.d.ts +1 -0
  128. package/dist/api/resources/pipelineCommons/index.js +17 -0
  129. package/dist/api/resources/pipelineCommons/types/ConfigurableRuleId.d.ts +8 -0
  130. package/dist/api/resources/pipelineCommons/types/ConfigurableRuleId.js +9 -0
  131. package/dist/api/resources/pipelineCommons/types/index.d.ts +1 -0
  132. package/dist/api/resources/pipelineCommons/types/index.js +17 -0
  133. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  134. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +1 -1
  135. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +11 -11
  136. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.d.ts +2 -2
  137. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/LatestEligibilityCheck.d.ts +1 -1
  138. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.d.ts +1 -1
  139. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +1 -5
  140. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +1 -5
  141. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +40 -0
  142. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +102 -1
  143. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/batch.d.ts +22 -0
  144. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/batch.js +57 -0
  145. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +2 -0
  146. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +3 -1
  147. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/pollBatch.d.ts +22 -0
  148. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/pollBatch.js +57 -0
  149. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/BatchEligibilityResponse.d.ts +10 -0
  150. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/BatchEligibilityResponse.js +5 -0
  151. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheck.d.ts +2 -1
  152. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheckError.d.ts +8 -0
  153. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheckError.js +5 -0
  154. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheckErrorDetails.d.ts +14 -0
  155. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheckErrorDetails.js +5 -0
  156. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheckErrorSource.d.ts +11 -0
  157. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheckErrorSource.js +10 -0
  158. package/dist/api/resources/preEncounter/resources/{coverages → eligibilityChecks}/resources/v1/types/EligibilityCheckMetadata.d.ts +1 -1
  159. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheckMetadata.js +5 -0
  160. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheckPage.d.ts +7 -0
  161. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheckPage.js +5 -0
  162. package/{api/resources/preEncounter/resources/coverages → dist/api/resources/preEncounter/resources/eligibilityChecks}/resources/v1/types/EligibilityCheckStatus.d.ts +1 -1
  163. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.d.ts +5 -0
  164. package/dist/api/resources/preEncounter/resources/{coverages → eligibilityChecks}/resources/v1/types/EligibilityStatus.d.ts +3 -0
  165. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/ParsedResponse.d.ts +1 -1
  166. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +8 -0
  167. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +8 -0
  168. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  169. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  170. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  171. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  172. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  173. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  174. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  175. package/dist/api/resources/serviceLines/resources/v2/types/DenialReasonContent.d.ts +3 -1
  176. package/dist/api/resources/serviceLines/resources/v2/types/DenialReasonContent.js +2 -0
  177. package/dist/api/resources/superbills/resources/v1/client/Client.js +1 -1
  178. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  179. package/dist/api/resources/tasks/resources/v3/types/Task.d.ts +1 -0
  180. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  181. package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +2 -1
  182. package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
  183. package/dist/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +0 -1
  184. package/dist/serialization/resources/chargeCapture/resources/v1/client/index.js +1 -2
  185. package/dist/serialization/resources/index.d.ts +2 -0
  186. package/dist/serialization/resources/index.js +3 -1
  187. package/dist/serialization/resources/pipelineCommons/index.d.ts +1 -0
  188. package/dist/serialization/resources/pipelineCommons/index.js +17 -0
  189. package/dist/serialization/resources/pipelineCommons/types/ConfigurableRuleId.d.ts +10 -0
  190. package/dist/serialization/resources/pipelineCommons/types/ConfigurableRuleId.js +45 -0
  191. package/dist/serialization/resources/pipelineCommons/types/index.d.ts +1 -0
  192. package/dist/serialization/resources/pipelineCommons/types/index.js +17 -0
  193. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.d.ts +2 -2
  194. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.js +2 -2
  195. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/LatestEligibilityCheck.d.ts +1 -1
  196. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/LatestEligibilityCheck.js +1 -1
  197. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.d.ts +1 -1
  198. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.js +1 -1
  199. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +1 -5
  200. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +1 -5
  201. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/batch.d.ts +11 -0
  202. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/batch.js +42 -0
  203. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +1 -0
  204. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +37 -0
  205. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/index.d.ts +1 -0
  206. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/index.js +1 -0
  207. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/BatchEligibilityResponse.d.ts +13 -0
  208. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/BatchEligibilityResponse.js +44 -0
  209. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheck.d.ts +3 -1
  210. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheck.js +3 -1
  211. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheckError.d.ts +15 -0
  212. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheckError.js +46 -0
  213. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheckErrorDetails.d.ts +17 -0
  214. package/{serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.js → dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheckErrorDetails.js} +8 -10
  215. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheckErrorSource.d.ts +10 -0
  216. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheckErrorSource.js +41 -0
  217. package/dist/serialization/resources/preEncounter/resources/{coverages → eligibilityChecks}/resources/v1/types/EligibilityCheckMetadata.d.ts +2 -2
  218. package/dist/serialization/resources/preEncounter/resources/{coverages → eligibilityChecks}/resources/v1/types/EligibilityCheckMetadata.js +1 -1
  219. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheckPage.d.ts +14 -0
  220. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheckPage.js +47 -0
  221. package/{serialization/resources/preEncounter/resources/coverages → dist/serialization/resources/preEncounter/resources/eligibilityChecks}/resources/v1/types/EligibilityCheckStatus.d.ts +1 -1
  222. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.d.ts +1 -0
  223. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.js +1 -0
  224. package/{serialization/resources/preEncounter/resources/coverages → dist/serialization/resources/preEncounter/resources/eligibilityChecks}/resources/v1/types/EligibilityStatus.d.ts +1 -1
  225. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/ParsedResponse.d.ts +1 -1
  226. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/ParsedResponse.js +1 -1
  227. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +8 -0
  228. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +8 -0
  229. package/dist/serialization/resources/serviceLines/resources/v2/types/DenialReasonContent.d.ts +1 -1
  230. package/dist/serialization/resources/serviceLines/resources/v2/types/DenialReasonContent.js +2 -0
  231. package/dist/serialization/resources/tasks/resources/v3/types/Task.d.ts +2 -0
  232. package/dist/serialization/resources/tasks/resources/v3/types/Task.js +2 -0
  233. package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +1 -1
  234. package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
  235. package/dist/version.d.ts +1 -1
  236. package/dist/version.js +1 -1
  237. package/package.json +1 -1
  238. package/reference.md +149 -48
  239. package/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +0 -1
  240. package/serialization/resources/chargeCapture/resources/v1/client/index.js +1 -2
  241. package/serialization/resources/index.d.ts +2 -0
  242. package/serialization/resources/index.js +3 -1
  243. package/serialization/resources/pipelineCommons/index.d.ts +1 -0
  244. package/serialization/resources/pipelineCommons/index.js +17 -0
  245. package/serialization/resources/pipelineCommons/types/ConfigurableRuleId.d.ts +10 -0
  246. package/serialization/resources/pipelineCommons/types/ConfigurableRuleId.js +45 -0
  247. package/serialization/resources/pipelineCommons/types/index.d.ts +1 -0
  248. package/serialization/resources/pipelineCommons/types/index.js +17 -0
  249. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.d.ts +2 -2
  250. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.js +2 -2
  251. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/LatestEligibilityCheck.d.ts +1 -1
  252. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/LatestEligibilityCheck.js +1 -1
  253. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.d.ts +1 -1
  254. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.js +1 -1
  255. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +1 -5
  256. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +1 -5
  257. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/batch.d.ts +11 -0
  258. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/batch.js +42 -0
  259. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +1 -0
  260. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +37 -0
  261. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/index.d.ts +1 -0
  262. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/index.js +1 -0
  263. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/BatchEligibilityResponse.d.ts +13 -0
  264. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/BatchEligibilityResponse.js +44 -0
  265. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheck.d.ts +3 -1
  266. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheck.js +3 -1
  267. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheckError.d.ts +15 -0
  268. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheckError.js +46 -0
  269. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheckErrorDetails.d.ts +17 -0
  270. package/{dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.js → serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheckErrorDetails.js} +8 -10
  271. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheckErrorSource.d.ts +10 -0
  272. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheckErrorSource.js +41 -0
  273. package/serialization/resources/preEncounter/resources/{coverages → eligibilityChecks}/resources/v1/types/EligibilityCheckMetadata.d.ts +2 -2
  274. package/serialization/resources/preEncounter/resources/{coverages → eligibilityChecks}/resources/v1/types/EligibilityCheckMetadata.js +1 -1
  275. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheckPage.d.ts +14 -0
  276. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheckPage.js +47 -0
  277. package/{dist/serialization/resources/preEncounter/resources/coverages → serialization/resources/preEncounter/resources/eligibilityChecks}/resources/v1/types/EligibilityCheckStatus.d.ts +1 -1
  278. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.d.ts +1 -0
  279. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.js +1 -0
  280. package/{dist/serialization/resources/preEncounter/resources/coverages → serialization/resources/preEncounter/resources/eligibilityChecks}/resources/v1/types/EligibilityStatus.d.ts +1 -1
  281. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/ParsedResponse.d.ts +1 -1
  282. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/ParsedResponse.js +1 -1
  283. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +8 -0
  284. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +8 -0
  285. package/serialization/resources/serviceLines/resources/v2/types/DenialReasonContent.d.ts +1 -1
  286. package/serialization/resources/serviceLines/resources/v2/types/DenialReasonContent.js +2 -0
  287. package/serialization/resources/tasks/resources/v3/types/Task.d.ts +2 -0
  288. package/serialization/resources/tasks/resources/v3/types/Task.js +2 -0
  289. package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +1 -1
  290. package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
  291. package/version.d.ts +1 -1
  292. package/version.js +1 -1
  293. package/api/resources/chargeCapture/resources/v1/client/delete.d.ts +0 -34
  294. package/api/resources/chargeCapture/resources/v1/client/delete.js +0 -79
  295. package/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.d.ts +0 -11
  296. package/dist/api/resources/chargeCapture/resources/v1/client/delete.d.ts +0 -34
  297. package/dist/api/resources/chargeCapture/resources/v1/client/delete.js +0 -79
  298. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.d.ts +0 -11
  299. package/dist/serialization/resources/chargeCapture/resources/v1/client/delete.d.ts +0 -20
  300. package/dist/serialization/resources/chargeCapture/resources/v1/client/delete.js +0 -77
  301. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.d.ts +0 -19
  302. package/serialization/resources/chargeCapture/resources/v1/client/delete.d.ts +0 -20
  303. package/serialization/resources/chargeCapture/resources/v1/client/delete.js +0 -77
  304. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.d.ts +0 -19
  305. /package/api/resources/preEncounter/resources/{coverages/resources/v1/types/EligibilityCheck.js → eligibilityChecks/resources/v1/types/BatchEligibilityResponse.js} +0 -0
  306. /package/api/resources/preEncounter/resources/{coverages/resources/v1/types/EligibilityCheckMetadata.js → eligibilityChecks/resources/v1/types/EligibilityCheckError.js} +0 -0
  307. /package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.js → api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheckErrorDetails.js} +0 -0
  308. /package/{dist/api/resources/preEncounter/resources/coverages → api/resources/preEncounter/resources/eligibilityChecks}/resources/v1/types/EligibilityCheckMetadata.js +0 -0
  309. /package/api/resources/preEncounter/resources/{coverages → eligibilityChecks}/resources/v1/types/EligibilityCheckStatus.js +0 -0
  310. /package/api/resources/preEncounter/resources/{coverages → eligibilityChecks}/resources/v1/types/EligibilityStatus.js +0 -0
  311. /package/dist/api/resources/preEncounter/resources/{coverages → eligibilityChecks}/resources/v1/types/EligibilityCheckStatus.js +0 -0
  312. /package/dist/api/resources/preEncounter/resources/{coverages → eligibilityChecks}/resources/v1/types/EligibilityStatus.js +0 -0
  313. /package/dist/serialization/resources/preEncounter/resources/{coverages → eligibilityChecks}/resources/v1/types/EligibilityCheckStatus.js +0 -0
  314. /package/dist/serialization/resources/preEncounter/resources/{coverages → eligibilityChecks}/resources/v1/types/EligibilityStatus.js +0 -0
  315. /package/serialization/resources/preEncounter/resources/{coverages → eligibilityChecks}/resources/v1/types/EligibilityCheckStatus.js +0 -0
  316. /package/serialization/resources/preEncounter/resources/{coverages → eligibilityChecks}/resources/v1/types/EligibilityStatus.js +0 -0
@@ -106,7 +106,7 @@ class V1 {
106
106
  const _response = yield core.fetcher({
107
107
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/non-insurance-payer-payments/v1"),
108
108
  method: "GET",
109
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
109
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
110
110
  contentType: "application/json",
111
111
  queryParameters: _queryParams,
112
112
  requestType: "json",
@@ -160,7 +160,7 @@ class V1 {
160
160
  const _response = yield core.fetcher({
161
161
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/non-insurance-payer-payments/v1/${encodeURIComponent(serializers.nonInsurancePayerPayments.v1.NonInsurancePayerPaymentId.jsonOrThrow(nonInsurancePayerPaymentId))}`),
162
162
  method: "GET",
163
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
163
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
164
164
  contentType: "application/json",
165
165
  requestType: "json",
166
166
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -227,7 +227,7 @@ class V1 {
227
227
  const _response = yield core.fetcher({
228
228
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/non-insurance-payer-payments/v1"),
229
229
  method: "POST",
230
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
230
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
231
231
  contentType: "application/json",
232
232
  requestType: "json",
233
233
  body: serializers.nonInsurancePayerPayments.v1.NonInsurancePayerPaymentCreate.jsonOrThrow(request, {
@@ -283,7 +283,7 @@ class V1 {
283
283
  const _response = yield core.fetcher({
284
284
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/non-insurance-payer-payments/v1/${encodeURIComponent(serializers.nonInsurancePayerPayments.v1.NonInsurancePayerPaymentId.jsonOrThrow(nonInsurancePayerPaymentId))}`),
285
285
  method: "PATCH",
286
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
286
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
287
287
  contentType: "application/json",
288
288
  requestType: "json",
289
289
  body: serializers.nonInsurancePayerPayments.v1.UpdateNonInsurancePayerPaymentRequest.jsonOrThrow(request, {
@@ -340,7 +340,7 @@ class V1 {
340
340
  const _response = yield core.fetcher({
341
341
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/non-insurance-payer-payments/v1/${encodeURIComponent(serializers.nonInsurancePayerPayments.v1.NonInsurancePayerPaymentId.jsonOrThrow(nonInsurancePayerPaymentId))}`),
342
342
  method: "DELETE",
343
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
343
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
344
344
  contentType: "application/json",
345
345
  requestType: "json",
346
346
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -103,7 +103,7 @@ class V1 {
103
103
  const _response = yield core.fetcher({
104
104
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/non-insurance-payer-refunds/v1"),
105
105
  method: "GET",
106
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
106
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
107
107
  contentType: "application/json",
108
108
  queryParameters: _queryParams,
109
109
  requestType: "json",
@@ -157,7 +157,7 @@ class V1 {
157
157
  const _response = yield core.fetcher({
158
158
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/non-insurance-payer-refunds/v1/${encodeURIComponent(serializers.nonInsurancePayerRefunds.v1.NonInsurancePayerRefundId.jsonOrThrow(nonInsurancePayerRefundId))}`),
159
159
  method: "GET",
160
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
160
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
161
161
  contentType: "application/json",
162
162
  requestType: "json",
163
163
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -228,7 +228,7 @@ class V1 {
228
228
  const _response = yield core.fetcher({
229
229
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/non-insurance-payer-refunds/v1"),
230
230
  method: "POST",
231
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
231
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
232
232
  contentType: "application/json",
233
233
  requestType: "json",
234
234
  body: serializers.nonInsurancePayerRefunds.v1.NonInsurancePayerRefundCreate.jsonOrThrow(request, {
@@ -287,7 +287,7 @@ class V1 {
287
287
  const _response = yield core.fetcher({
288
288
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/non-insurance-payer-refunds/v1/${encodeURIComponent(serializers.nonInsurancePayerRefunds.v1.NonInsurancePayerRefundId.jsonOrThrow(nonInsurancePayerRefundId))}`),
289
289
  method: "PATCH",
290
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
290
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
291
291
  contentType: "application/json",
292
292
  requestType: "json",
293
293
  body: serializers.nonInsurancePayerRefunds.v1.NonInsurancePayerRefundUpdate.jsonOrThrow(request, {
@@ -344,7 +344,7 @@ class V1 {
344
344
  const _response = yield core.fetcher({
345
345
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/non-insurance-payer-refunds/v1/${encodeURIComponent(serializers.nonInsurancePayerRefunds.v1.NonInsurancePayerRefundId.jsonOrThrow(nonInsurancePayerRefundId))}`),
346
346
  method: "DELETE",
347
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
347
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
348
348
  contentType: "application/json",
349
349
  requestType: "json",
350
350
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -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/non-insurance-payers/v1"),
75
75
  method: "POST",
76
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "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": "1.0.0", "User-Agent": "candidhealth/1.0.0", "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
  body: serializers.nonInsurancePayers.v1.CreateNonInsurancePayerRequest.jsonOrThrow(request, {
@@ -131,7 +131,7 @@ class V1 {
131
131
  const _response = yield core.fetcher({
132
132
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/non-insurance-payers/v1/${encodeURIComponent(serializers.nonInsurancePayers.v1.NonInsurancePayerId.jsonOrThrow(nonInsurancePayerId))}/toggle_enablement`),
133
133
  method: "PATCH",
134
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
134
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
135
135
  contentType: "application/json",
136
136
  requestType: "json",
137
137
  body: serializers.nonInsurancePayers.v1.ToggleNonInsurancePayerEnablementRequest.jsonOrThrow(request, {
@@ -212,7 +212,7 @@ class V1 {
212
212
  const _response = yield core.fetcher({
213
213
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/non-insurance-payers/v1"),
214
214
  method: "GET",
215
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
215
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
216
216
  contentType: "application/json",
217
217
  queryParameters: _queryParams,
218
218
  requestType: "json",
@@ -264,7 +264,7 @@ class V1 {
264
264
  const _response = yield core.fetcher({
265
265
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/non-insurance-payers/v1/${encodeURIComponent(serializers.nonInsurancePayers.v1.NonInsurancePayerId.jsonOrThrow(nonInsurancePayerId))}`),
266
266
  method: "GET",
267
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
267
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
268
268
  contentType: "application/json",
269
269
  requestType: "json",
270
270
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -316,7 +316,7 @@ class V1 {
316
316
  const _response = yield core.fetcher({
317
317
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/non-insurance-payers/v1/${encodeURIComponent(serializers.nonInsurancePayers.v1.NonInsurancePayerId.jsonOrThrow(nonInsurancePayerId))}`),
318
318
  method: "PATCH",
319
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
319
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
320
320
  contentType: "application/json",
321
321
  requestType: "json",
322
322
  body: serializers.nonInsurancePayers.v1.NonInsurancePayerUpdateRequest.jsonOrThrow(request, {
@@ -371,7 +371,7 @@ class V1 {
371
371
  const _response = yield core.fetcher({
372
372
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/non-insurance-payers/v1/${encodeURIComponent(serializers.nonInsurancePayers.v1.NonInsurancePayerId.jsonOrThrow(nonInsurancePayerId))}`),
373
373
  method: "DELETE",
374
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
374
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
375
375
  contentType: "application/json",
376
376
  requestType: "json",
377
377
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -71,7 +71,7 @@ class V3 {
71
71
  const _response = yield core.fetcher({
72
72
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/organization-providers/v3/${encodeURIComponent(serializers.organizationProviders.v2.OrganizationProviderId.jsonOrThrow(organizationProviderId))}`),
73
73
  method: "GET",
74
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
74
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
75
75
  contentType: "application/json",
76
76
  requestType: "json",
77
77
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -153,7 +153,7 @@ class V3 {
153
153
  const _response = yield core.fetcher({
154
154
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/organization-providers/v3"),
155
155
  method: "GET",
156
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
156
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
157
157
  contentType: "application/json",
158
158
  queryParameters: _queryParams,
159
159
  requestType: "json",
@@ -212,7 +212,7 @@ class V3 {
212
212
  const _response = yield core.fetcher({
213
213
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/organization-providers/v3"),
214
214
  method: "POST",
215
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
215
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
216
216
  contentType: "application/json",
217
217
  requestType: "json",
218
218
  body: serializers.organizationProviders.v3.OrganizationProviderCreateV2.jsonOrThrow(request, {
@@ -268,7 +268,7 @@ class V3 {
268
268
  const _response = yield core.fetcher({
269
269
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/organization-providers/v3/${encodeURIComponent(serializers.organizationProviders.v2.OrganizationProviderId.jsonOrThrow(organizationProviderId))}`),
270
270
  method: "PATCH",
271
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
271
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
272
272
  contentType: "application/json",
273
273
  requestType: "json",
274
274
  body: serializers.organizationProviders.v3.OrganizationProviderUpdateV2.jsonOrThrow(request, {
@@ -71,7 +71,7 @@ class V2 {
71
71
  const _response = yield core.fetcher({
72
72
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/organization-service-facilities/v2/${encodeURIComponent(serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityId.jsonOrThrow(organizationServiceFacilityId))}`),
73
73
  method: "GET",
74
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
74
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
75
75
  contentType: "application/json",
76
76
  requestType: "json",
77
77
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -137,7 +137,7 @@ class V2 {
137
137
  const _response = yield core.fetcher({
138
138
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/organization-service-facilities/v2"),
139
139
  method: "GET",
140
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
140
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
141
141
  contentType: "application/json",
142
142
  queryParameters: _queryParams,
143
143
  requestType: "json",
@@ -193,7 +193,7 @@ class V2 {
193
193
  const _response = yield core.fetcher({
194
194
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/organization-service-facilities/v2"),
195
195
  method: "POST",
196
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
196
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
197
197
  contentType: "application/json",
198
198
  requestType: "json",
199
199
  body: serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityCreate.jsonOrThrow(request, {
@@ -266,7 +266,7 @@ class V2 {
266
266
  const _response = yield core.fetcher({
267
267
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/organization-service-facilities/v2/${encodeURIComponent(serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityId.jsonOrThrow(organizationServiceFacilityId))}`),
268
268
  method: "PATCH",
269
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
269
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
270
270
  contentType: "application/json",
271
271
  requestType: "json",
272
272
  body: serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityUpdate.jsonOrThrow(request, {
@@ -321,7 +321,7 @@ class V2 {
321
321
  const _response = yield core.fetcher({
322
322
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/organization-service-facilities/v2/${encodeURIComponent(serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityId.jsonOrThrow(organizationServiceFacilityId))}`),
323
323
  method: "DELETE",
324
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
324
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
325
325
  contentType: "application/json",
326
326
  requestType: "json",
327
327
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -120,7 +120,7 @@ class V4 {
120
120
  const _response = yield core.fetcher({
121
121
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/patient-payments/v4"),
122
122
  method: "GET",
123
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
123
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
124
124
  contentType: "application/json",
125
125
  queryParameters: _queryParams,
126
126
  requestType: "json",
@@ -175,7 +175,7 @@ class V4 {
175
175
  const _response = yield core.fetcher({
176
176
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/patient-payments/v4/${encodeURIComponent(serializers.patientPayments.v4.PatientPaymentId.jsonOrThrow(patientPaymentId))}`),
177
177
  method: "GET",
178
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
178
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
179
179
  contentType: "application/json",
180
180
  requestType: "json",
181
181
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -247,7 +247,7 @@ class V4 {
247
247
  const _response = yield core.fetcher({
248
248
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/patient-payments/v4"),
249
249
  method: "POST",
250
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
250
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
251
251
  contentType: "application/json",
252
252
  requestType: "json",
253
253
  body: serializers.patientPayments.v4.PatientPaymentCreate.jsonOrThrow(request, {
@@ -306,7 +306,7 @@ class V4 {
306
306
  const _response = yield core.fetcher({
307
307
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/patient-payments/v4/${encodeURIComponent(serializers.patientPayments.v4.PatientPaymentId.jsonOrThrow(patientPaymentId))}`),
308
308
  method: "PATCH",
309
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
309
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
310
310
  contentType: "application/json",
311
311
  requestType: "json",
312
312
  body: serializers.patientPayments.v4.PatientPaymentUpdate.jsonOrThrow(request, {
@@ -364,7 +364,7 @@ class V4 {
364
364
  const _response = yield core.fetcher({
365
365
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/patient-payments/v4/${encodeURIComponent(serializers.patientPayments.v4.PatientPaymentId.jsonOrThrow(patientPaymentId))}`),
366
366
  method: "DELETE",
367
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
367
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
368
368
  contentType: "application/json",
369
369
  requestType: "json",
370
370
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -120,7 +120,7 @@ class V1 {
120
120
  const _response = yield core.fetcher({
121
121
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/patient-refunds/v1"),
122
122
  method: "GET",
123
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
123
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
124
124
  contentType: "application/json",
125
125
  queryParameters: _queryParams,
126
126
  requestType: "json",
@@ -175,7 +175,7 @@ class V1 {
175
175
  const _response = yield core.fetcher({
176
176
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/patient-refunds/v1/${encodeURIComponent(serializers.patientRefunds.v1.PatientRefundId.jsonOrThrow(patientRefundId))}`),
177
177
  method: "GET",
178
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
178
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
179
179
  contentType: "application/json",
180
180
  requestType: "json",
181
181
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -247,7 +247,7 @@ class V1 {
247
247
  const _response = yield core.fetcher({
248
248
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/patient-refunds/v1"),
249
249
  method: "POST",
250
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
250
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
251
251
  contentType: "application/json",
252
252
  requestType: "json",
253
253
  body: serializers.patientRefunds.v1.PatientRefundCreate.jsonOrThrow(request, {
@@ -306,7 +306,7 @@ class V1 {
306
306
  const _response = yield core.fetcher({
307
307
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/patient-refunds/v1/${encodeURIComponent(serializers.patientRefunds.v1.PatientRefundId.jsonOrThrow(patientRefundId))}`),
308
308
  method: "PATCH",
309
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
309
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
310
310
  contentType: "application/json",
311
311
  requestType: "json",
312
312
  body: serializers.patientRefunds.v1.PatientRefundUpdate.jsonOrThrow(request, {
@@ -364,7 +364,7 @@ class V1 {
364
364
  const _response = yield core.fetcher({
365
365
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/patient-refunds/v1/${encodeURIComponent(serializers.patientRefunds.v1.PatientRefundId.jsonOrThrow(patientRefundId))}`),
366
366
  method: "DELETE",
367
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
367
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
368
368
  contentType: "application/json",
369
369
  requestType: "json",
370
370
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -139,7 +139,7 @@ class V1 {
139
139
  const _response = yield core.fetcher({
140
140
  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/payer-plan-groups/v1"),
141
141
  method: "GET",
142
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
142
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
143
143
  contentType: "application/json",
144
144
  queryParameters: _queryParams,
145
145
  requestType: "json",
@@ -193,7 +193,7 @@ class V1 {
193
193
  const _response = yield core.fetcher({
194
194
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/payer-plan-groups/v1/${encodeURIComponent(serializers.PayerPlanGroupId.jsonOrThrow(payerPlanGroupId))}`),
195
195
  method: "GET",
196
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
196
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
197
197
  contentType: "application/json",
198
198
  requestType: "json",
199
199
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -251,7 +251,7 @@ class V1 {
251
251
  const _response = yield core.fetcher({
252
252
  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/payer-plan-groups/v1"),
253
253
  method: "POST",
254
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
254
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
255
255
  contentType: "application/json",
256
256
  requestType: "json",
257
257
  body: serializers.payerPlanGroups.v1.MutablePayerPlanGroup.jsonOrThrow(request, {
@@ -313,7 +313,7 @@ class V1 {
313
313
  const _response = yield core.fetcher({
314
314
  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/payer-plan-groups/v1/${encodeURIComponent(serializers.PayerPlanGroupId.jsonOrThrow(payerPlanGroupId))}`),
315
315
  method: "PUT",
316
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
316
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
317
317
  contentType: "application/json",
318
318
  requestType: "json",
319
319
  body: serializers.payerPlanGroups.v1.MutablePayerPlanGroup.jsonOrThrow(request, {
@@ -371,7 +371,7 @@ class V1 {
371
371
  const _response = yield core.fetcher({
372
372
  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/payer-plan-groups/v1/${encodeURIComponent(serializers.PayerPlanGroupId.jsonOrThrow(payerPlanGroupId))}`),
373
373
  method: "PATCH",
374
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
374
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
375
375
  contentType: "application/json",
376
376
  requestType: "json",
377
377
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -71,7 +71,7 @@ class V3 {
71
71
  const _response = yield core.fetcher({
72
72
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/payers/v3/${encodeURIComponent(serializers.payers.v3.PayerUuid.jsonOrThrow(payerUuid))}`),
73
73
  method: "GET",
74
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
74
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
75
75
  contentType: "application/json",
76
76
  requestType: "json",
77
77
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -123,7 +123,7 @@ class V3 {
123
123
  const _response = yield core.fetcher({
124
124
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/payers/v3"),
125
125
  method: "GET",
126
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
126
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
127
127
  contentType: "application/json",
128
128
  queryParameters: _queryParams,
129
129
  requestType: "json",
@@ -0,0 +1 @@
1
+ export * from "./types";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../index";
5
+ export type ConfigurableRuleId = string & {
6
+ ConfigurableRuleId: void;
7
+ };
8
+ export declare function ConfigurableRuleId(value: string): CandidApi.ConfigurableRuleId;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.ConfigurableRuleId = ConfigurableRuleId;
7
+ function ConfigurableRuleId(value) {
8
+ return value;
9
+ }
@@ -0,0 +1 @@
1
+ export * from "./ConfigurableRuleId";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./ConfigurableRuleId"), exports);