candidhealth 0.39.9 → 0.39.11

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 (315) hide show
  1. package/README.md +28 -8
  2. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  3. package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  4. package/api/resources/chargeCapture/resources/v1/client/Client.js +5 -5
  5. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  6. package/api/resources/claims/types/Claim.d.ts +1 -0
  7. package/api/resources/clinicalTrials/index.d.ts +1 -0
  8. package/api/resources/clinicalTrials/index.js +17 -0
  9. package/api/resources/clinicalTrials/resources/index.d.ts +1 -0
  10. package/api/resources/clinicalTrials/resources/index.js +37 -0
  11. package/api/resources/clinicalTrials/resources/v1/index.d.ts +1 -0
  12. package/api/resources/clinicalTrials/resources/v1/index.js +17 -0
  13. package/api/resources/clinicalTrials/resources/v1/types/ClinicalTrial.d.ts +9 -0
  14. package/api/resources/clinicalTrials/resources/v1/types/ClinicalTrial.js +5 -0
  15. package/api/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.d.ts +9 -0
  16. package/api/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.js +11 -0
  17. package/api/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.d.ts +10 -0
  18. package/api/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.js +5 -0
  19. package/api/resources/clinicalTrials/resources/v1/types/index.d.ts +3 -0
  20. package/api/resources/clinicalTrials/resources/v1/types/index.js +19 -0
  21. package/api/resources/commons/types/AdjustmentId.d.ts +8 -0
  22. package/api/resources/commons/types/AdjustmentId.js +9 -0
  23. package/api/resources/commons/types/ClinicalTrialId.d.ts +8 -0
  24. package/api/resources/commons/types/ClinicalTrialId.js +9 -0
  25. package/api/resources/commons/types/ProcedureModifier.d.ts +16 -0
  26. package/api/resources/commons/types/ProcedureModifier.js +4 -0
  27. package/api/resources/commons/types/index.d.ts +2 -0
  28. package/api/resources/commons/types/index.js +2 -0
  29. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  30. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  31. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  32. package/api/resources/diagnoses/client/Client.js +3 -3
  33. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  34. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  35. package/api/resources/encounters/resources/v4/client/Client.d.ts +4 -1
  36. package/api/resources/encounters/resources/v4/client/Client.js +9 -6
  37. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +4 -1
  38. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +11 -4
  39. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +9 -4
  40. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  41. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  42. package/api/resources/exports/resources/v3/client/Client.d.ts +3 -0
  43. package/api/resources/exports/resources/v3/client/Client.js +4 -1
  44. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  45. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  46. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  47. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  48. package/api/resources/index.d.ts +1 -0
  49. package/api/resources/index.js +2 -1
  50. package/api/resources/individual/types/Patient.d.ts +6 -3
  51. package/api/resources/individual/types/PatientClinicalTrialInfo.d.ts +8 -0
  52. package/api/resources/individual/types/PatientClinicalTrialInfo.js +5 -0
  53. package/api/resources/individual/types/PatientClinicalTrialInfoCreate.d.ts +8 -0
  54. package/api/resources/individual/types/PatientClinicalTrialInfoCreate.js +5 -0
  55. package/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +6 -2
  56. package/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +1 -0
  57. package/api/resources/individual/types/index.d.ts +2 -0
  58. package/api/resources/individual/types/index.js +2 -0
  59. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  60. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  61. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  62. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  63. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  64. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  65. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  66. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +3 -1
  67. package/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +4 -1
  68. package/api/resources/organizationProviders/resources/v2/types/LicenseType.js +3 -0
  69. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  70. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  71. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  72. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  73. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  74. package/api/resources/payers/resources/v3/types/Payer.d.ts +1 -0
  75. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  76. package/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.d.ts +9 -0
  77. package/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.js +5 -0
  78. package/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.d.ts +11 -0
  79. package/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.js +9 -0
  80. package/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +2 -0
  81. package/api/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  82. package/api/resources/preEncounter/resources/common/types/index.js +2 -0
  83. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
  84. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  85. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  86. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  87. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +10 -10
  88. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  89. package/api/resources/serviceFacility/client/Client.js +1 -1
  90. package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  91. package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +5 -0
  92. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -1
  93. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +5 -0
  94. package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +6 -0
  95. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  96. package/api/resources/writeOffs/resources/v1/client/Client.d.ts +20 -0
  97. package/api/resources/writeOffs/resources/v1/client/Client.js +82 -4
  98. package/api/resources/writeOffs/resources/v1/client/index.d.ts +2 -0
  99. package/api/resources/writeOffs/resources/v1/client/index.js +3 -1
  100. package/api/resources/writeOffs/resources/v1/client/revertEraOriginatedInsuranceBalanceAdjustment.d.ts +22 -0
  101. package/api/resources/writeOffs/resources/v1/client/revertEraOriginatedInsuranceBalanceAdjustment.js +57 -0
  102. package/api/resources/writeOffs/resources/v1/client/revertInsuranceBalanceAdjustment.d.ts +22 -0
  103. package/api/resources/writeOffs/resources/v1/client/revertInsuranceBalanceAdjustment.js +57 -0
  104. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  105. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  106. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +5 -5
  107. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  108. package/dist/api/resources/claims/types/Claim.d.ts +1 -0
  109. package/dist/api/resources/clinicalTrials/index.d.ts +1 -0
  110. package/dist/api/resources/clinicalTrials/index.js +17 -0
  111. package/dist/api/resources/clinicalTrials/resources/index.d.ts +1 -0
  112. package/dist/api/resources/clinicalTrials/resources/index.js +37 -0
  113. package/dist/api/resources/clinicalTrials/resources/v1/index.d.ts +1 -0
  114. package/dist/api/resources/clinicalTrials/resources/v1/index.js +17 -0
  115. package/dist/api/resources/clinicalTrials/resources/v1/types/ClinicalTrial.d.ts +9 -0
  116. package/dist/api/resources/clinicalTrials/resources/v1/types/ClinicalTrial.js +5 -0
  117. package/dist/api/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.d.ts +9 -0
  118. package/dist/api/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.js +11 -0
  119. package/dist/api/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.d.ts +10 -0
  120. package/dist/api/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.js +5 -0
  121. package/dist/api/resources/clinicalTrials/resources/v1/types/index.d.ts +3 -0
  122. package/dist/api/resources/clinicalTrials/resources/v1/types/index.js +19 -0
  123. package/dist/api/resources/commons/types/AdjustmentId.d.ts +8 -0
  124. package/dist/api/resources/commons/types/AdjustmentId.js +9 -0
  125. package/dist/api/resources/commons/types/ClinicalTrialId.d.ts +8 -0
  126. package/dist/api/resources/commons/types/ClinicalTrialId.js +9 -0
  127. package/dist/api/resources/commons/types/ProcedureModifier.d.ts +16 -0
  128. package/dist/api/resources/commons/types/ProcedureModifier.js +4 -0
  129. package/dist/api/resources/commons/types/index.d.ts +2 -0
  130. package/dist/api/resources/commons/types/index.js +2 -0
  131. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  132. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  133. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  134. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  135. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  136. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  137. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +4 -1
  138. package/dist/api/resources/encounters/resources/v4/client/Client.js +9 -6
  139. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +4 -1
  140. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +11 -4
  141. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +9 -4
  142. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  143. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  144. package/dist/api/resources/exports/resources/v3/client/Client.d.ts +3 -0
  145. package/dist/api/resources/exports/resources/v3/client/Client.js +4 -1
  146. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  147. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  148. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  149. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  150. package/dist/api/resources/index.d.ts +1 -0
  151. package/dist/api/resources/index.js +2 -1
  152. package/dist/api/resources/individual/types/Patient.d.ts +6 -3
  153. package/dist/api/resources/individual/types/PatientClinicalTrialInfo.d.ts +8 -0
  154. package/dist/api/resources/individual/types/PatientClinicalTrialInfo.js +5 -0
  155. package/dist/api/resources/individual/types/PatientClinicalTrialInfoCreate.d.ts +8 -0
  156. package/dist/api/resources/individual/types/PatientClinicalTrialInfoCreate.js +5 -0
  157. package/dist/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +6 -2
  158. package/dist/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +1 -0
  159. package/dist/api/resources/individual/types/index.d.ts +2 -0
  160. package/dist/api/resources/individual/types/index.js +2 -0
  161. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  162. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  163. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  164. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  165. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  166. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  167. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  168. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +3 -1
  169. package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +4 -1
  170. package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.js +3 -0
  171. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  172. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  173. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  174. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  175. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  176. package/dist/api/resources/payers/resources/v3/types/Payer.d.ts +1 -0
  177. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  178. package/dist/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.d.ts +9 -0
  179. package/dist/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.js +5 -0
  180. package/dist/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.d.ts +11 -0
  181. package/dist/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.js +9 -0
  182. package/dist/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +2 -0
  183. package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  184. package/dist/api/resources/preEncounter/resources/common/types/index.js +2 -0
  185. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
  186. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  187. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  188. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  189. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +10 -10
  190. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  191. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  192. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  193. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +5 -0
  194. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -1
  195. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +5 -0
  196. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +6 -0
  197. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  198. package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +20 -0
  199. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +82 -4
  200. package/dist/api/resources/writeOffs/resources/v1/client/index.d.ts +2 -0
  201. package/dist/api/resources/writeOffs/resources/v1/client/index.js +3 -1
  202. package/dist/api/resources/writeOffs/resources/v1/client/revertEraOriginatedInsuranceBalanceAdjustment.d.ts +22 -0
  203. package/dist/api/resources/writeOffs/resources/v1/client/revertEraOriginatedInsuranceBalanceAdjustment.js +57 -0
  204. package/dist/api/resources/writeOffs/resources/v1/client/revertInsuranceBalanceAdjustment.d.ts +22 -0
  205. package/dist/api/resources/writeOffs/resources/v1/client/revertInsuranceBalanceAdjustment.js +57 -0
  206. package/dist/serialization/resources/clinicalTrials/index.d.ts +1 -0
  207. package/dist/serialization/resources/clinicalTrials/index.js +17 -0
  208. package/dist/serialization/resources/clinicalTrials/resources/index.d.ts +1 -0
  209. package/dist/serialization/resources/clinicalTrials/resources/index.js +37 -0
  210. package/dist/serialization/resources/clinicalTrials/resources/v1/index.d.ts +1 -0
  211. package/dist/serialization/resources/clinicalTrials/resources/v1/index.js +17 -0
  212. package/dist/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrial.d.ts +17 -0
  213. package/dist/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrial.js +50 -0
  214. package/dist/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.d.ts +10 -0
  215. package/dist/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.js +41 -0
  216. package/dist/serialization/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.d.ts +15 -0
  217. package/dist/serialization/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.js +46 -0
  218. package/dist/serialization/resources/clinicalTrials/resources/v1/types/index.d.ts +3 -0
  219. package/dist/serialization/resources/clinicalTrials/resources/v1/types/index.js +19 -0
  220. package/dist/serialization/resources/commons/types/AdjustmentId.d.ts +10 -0
  221. package/dist/serialization/resources/commons/types/AdjustmentId.js +45 -0
  222. package/dist/serialization/resources/commons/types/ClinicalTrialId.d.ts +10 -0
  223. package/dist/serialization/resources/commons/types/ClinicalTrialId.js +45 -0
  224. package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  225. package/dist/serialization/resources/commons/types/ProcedureModifier.js +4 -0
  226. package/dist/serialization/resources/commons/types/index.d.ts +2 -0
  227. package/dist/serialization/resources/commons/types/index.js +2 -0
  228. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  229. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  230. package/dist/serialization/resources/index.d.ts +1 -0
  231. package/dist/serialization/resources/index.js +2 -1
  232. package/dist/serialization/resources/individual/types/PatientClinicalTrialInfo.d.ts +14 -0
  233. package/dist/serialization/resources/individual/types/PatientClinicalTrialInfo.js +45 -0
  234. package/dist/serialization/resources/individual/types/PatientClinicalTrialInfoCreate.d.ts +14 -0
  235. package/dist/serialization/resources/individual/types/PatientClinicalTrialInfoCreate.js +45 -0
  236. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +2 -0
  237. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfo.js +2 -0
  238. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +2 -0
  239. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +2 -0
  240. package/dist/serialization/resources/individual/types/index.d.ts +2 -0
  241. package/dist/serialization/resources/individual/types/index.js +2 -0
  242. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +2 -0
  243. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +2 -0
  244. package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
  245. package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +3 -0
  246. package/dist/serialization/resources/payers/resources/v3/types/Payer.d.ts +2 -0
  247. package/dist/serialization/resources/payers/resources/v3/types/Payer.js +2 -0
  248. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.d.ts +16 -0
  249. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.js +47 -0
  250. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.d.ts +10 -0
  251. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.js +45 -0
  252. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +2 -0
  253. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +2 -0
  254. package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  255. package/dist/serialization/resources/preEncounter/resources/common/types/index.js +2 -0
  256. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +4 -0
  257. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +4 -0
  258. package/dist/version.d.ts +1 -1
  259. package/dist/version.js +1 -1
  260. package/package.json +1 -1
  261. package/reference.md +138 -0
  262. package/serialization/resources/clinicalTrials/index.d.ts +1 -0
  263. package/serialization/resources/clinicalTrials/index.js +17 -0
  264. package/serialization/resources/clinicalTrials/resources/index.d.ts +1 -0
  265. package/serialization/resources/clinicalTrials/resources/index.js +37 -0
  266. package/serialization/resources/clinicalTrials/resources/v1/index.d.ts +1 -0
  267. package/serialization/resources/clinicalTrials/resources/v1/index.js +17 -0
  268. package/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrial.d.ts +17 -0
  269. package/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrial.js +50 -0
  270. package/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.d.ts +10 -0
  271. package/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.js +41 -0
  272. package/serialization/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.d.ts +15 -0
  273. package/serialization/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.js +46 -0
  274. package/serialization/resources/clinicalTrials/resources/v1/types/index.d.ts +3 -0
  275. package/serialization/resources/clinicalTrials/resources/v1/types/index.js +19 -0
  276. package/serialization/resources/commons/types/AdjustmentId.d.ts +10 -0
  277. package/serialization/resources/commons/types/AdjustmentId.js +45 -0
  278. package/serialization/resources/commons/types/ClinicalTrialId.d.ts +10 -0
  279. package/serialization/resources/commons/types/ClinicalTrialId.js +45 -0
  280. package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  281. package/serialization/resources/commons/types/ProcedureModifier.js +4 -0
  282. package/serialization/resources/commons/types/index.d.ts +2 -0
  283. package/serialization/resources/commons/types/index.js +2 -0
  284. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  285. package/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  286. package/serialization/resources/index.d.ts +1 -0
  287. package/serialization/resources/index.js +2 -1
  288. package/serialization/resources/individual/types/PatientClinicalTrialInfo.d.ts +14 -0
  289. package/serialization/resources/individual/types/PatientClinicalTrialInfo.js +45 -0
  290. package/serialization/resources/individual/types/PatientClinicalTrialInfoCreate.d.ts +14 -0
  291. package/serialization/resources/individual/types/PatientClinicalTrialInfoCreate.js +45 -0
  292. package/serialization/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +2 -0
  293. package/serialization/resources/individual/types/PatientNonInsurancePayerInfo.js +2 -0
  294. package/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +2 -0
  295. package/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +2 -0
  296. package/serialization/resources/individual/types/index.d.ts +2 -0
  297. package/serialization/resources/individual/types/index.js +2 -0
  298. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +2 -0
  299. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +2 -0
  300. package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
  301. package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +3 -0
  302. package/serialization/resources/payers/resources/v3/types/Payer.d.ts +2 -0
  303. package/serialization/resources/payers/resources/v3/types/Payer.js +2 -0
  304. package/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.d.ts +16 -0
  305. package/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.js +47 -0
  306. package/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.d.ts +10 -0
  307. package/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.js +45 -0
  308. package/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +2 -0
  309. package/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +2 -0
  310. package/serialization/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  311. package/serialization/resources/preEncounter/resources/common/types/index.js +2 -0
  312. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +4 -0
  313. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +4 -0
  314. package/version.d.ts +1 -1
  315. package/version.js +1 -1
@@ -13,6 +13,7 @@ import * as CandidApi from "../../../../../index";
13
13
  * clearinghouseClaimId: "5BA7C3AB-2BC2-496C-8B10-6CAC73D0729D",
14
14
  * payerClaimId: "9BB9F259-9756-4F16-8F53-9DBB9F7EB1BB",
15
15
  * serviceLines: [{
16
+ * createdAt: "2023-01-01T00:00:00Z",
16
17
  * modifiers: [CandidApi.ProcedureModifier.TwentyTwo],
17
18
  * chargeAmountCents: 10000,
18
19
  * allowedAmountCents: 8000,
@@ -102,7 +103,8 @@ import * as CandidApi from "../../../../../index";
102
103
  * city: "San Francisco",
103
104
  * state: CandidApi.State.Ca,
104
105
  * zipCode: "94105"
105
- * }
106
+ * },
107
+ * clinicalTrials: []
106
108
  * }],
107
109
  * nonInsurancePayersInfo: [{
108
110
  * nonInsurancePayer: {
@@ -116,9 +118,11 @@ import * as CandidApi from "../../../../../index";
116
118
  * city: "San Francisco",
117
119
  * state: CandidApi.State.Ca,
118
120
  * zipCode: "94105"
119
- * }
121
+ * },
122
+ * clinicalTrials: []
120
123
  * },
121
- * memberId: "123456789"
124
+ * memberId: "123456789",
125
+ * clinicalTrialInfo: []
122
126
  * }],
123
127
  * phoneConsent: true,
124
128
  * email: CandidApi.Email("johndoe@joincandidhealth.com"),
@@ -418,7 +422,8 @@ import * as CandidApi from "../../../../../index";
418
422
  * "bmi": 24.2,
419
423
  * "age": 38
420
424
  * }
421
- * }]
425
+ * }],
426
+ * createdAt: "2023-01-01T00:00:00Z"
422
427
  * }
423
428
  */
424
429
  export interface Encounter extends CandidApi.encounters.v4.EncounterBase {
@@ -499,4 +504,6 @@ export interface Encounter extends CandidApi.encounters.v4.EncounterBase {
499
504
  epsdtReferral?: CandidApi.encounters.v4.EpsdtReferral;
500
505
  /** The date and time the encounter was last submitted to a payer. */
501
506
  lastSubmittedAt?: Date;
507
+ /** The date and time the encounter was created. */
508
+ createdAt: Date;
502
509
  }
@@ -14,6 +14,7 @@ import * as CandidApi from "../../../../../index";
14
14
  * clearinghouseClaimId: "5BA7C3AB-2BC2-496C-8B10-6CAC73D0729D",
15
15
  * payerClaimId: "9BB9F259-9756-4F16-8F53-9DBB9F7EB1BB",
16
16
  * serviceLines: [{
17
+ * createdAt: "2023-01-01T00:00:00Z",
17
18
  * modifiers: [CandidApi.ProcedureModifier.TwentyTwo],
18
19
  * chargeAmountCents: 10000,
19
20
  * allowedAmountCents: 8000,
@@ -103,7 +104,8 @@ import * as CandidApi from "../../../../../index";
103
104
  * city: "San Francisco",
104
105
  * state: CandidApi.State.Ca,
105
106
  * zipCode: "94105"
106
- * }
107
+ * },
108
+ * clinicalTrials: []
107
109
  * }],
108
110
  * nonInsurancePayersInfo: [{
109
111
  * nonInsurancePayer: {
@@ -117,9 +119,11 @@ import * as CandidApi from "../../../../../index";
117
119
  * city: "San Francisco",
118
120
  * state: CandidApi.State.Ca,
119
121
  * zipCode: "94105"
120
- * }
122
+ * },
123
+ * clinicalTrials: []
121
124
  * },
122
- * memberId: "123456789"
125
+ * memberId: "123456789",
126
+ * clinicalTrialInfo: []
123
127
  * }],
124
128
  * phoneConsent: true,
125
129
  * email: CandidApi.Email("johndoe@joincandidhealth.com"),
@@ -419,7 +423,8 @@ import * as CandidApi from "../../../../../index";
419
423
  * "bmi": 24.2,
420
424
  * "age": 38
421
425
  * }
422
- * }]
426
+ * }],
427
+ * createdAt: "2023-01-01T00:00:00Z"
423
428
  * }]
424
429
  * }
425
430
  */
@@ -84,7 +84,7 @@ class V1 {
84
84
  const _response = yield core.fetcher({
85
85
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/expected-network-status/v1"),
86
86
  method: "POST",
87
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
87
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.11", "User-Agent": "candidhealth/0.39.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
88
88
  contentType: "application/json",
89
89
  requestType: "json",
90
90
  body: serializers.expectedNetworkStatus.v1.ExpectedNetworkStatusRequest.jsonOrThrow(request, {
@@ -101,7 +101,7 @@ class V2 {
101
101
  const _response = yield core.fetcher({
102
102
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/expected-network-status/v2/compute/${encodeURIComponent(serializers.organizationProviders.v2.OrganizationProviderId.jsonOrThrow(renderingProviderId))}`),
103
103
  method: "POST",
104
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
104
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.11", "User-Agent": "candidhealth/0.39.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
105
105
  contentType: "application/json",
106
106
  requestType: "json",
107
107
  body: serializers.expectedNetworkStatus.v2.ExpectedNetworkStatusRequestV2.jsonOrThrow(request, {
@@ -186,7 +186,7 @@ class V2 {
186
186
  const _response = yield core.fetcher({
187
187
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/expected-network-status/v2/compute"),
188
188
  method: "POST",
189
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
189
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.11", "User-Agent": "candidhealth/0.39.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
190
190
  contentType: "application/json",
191
191
  requestType: "json",
192
192
  body: serializers.expectedNetworkStatus.v2.ComputeAllInNetworkProvidersRequest.jsonOrThrow(request, {
@@ -40,6 +40,9 @@ export declare class V3 {
40
40
  * up to 90 days in the past by default. Please email our [Support team](mailto:support@joincandidhealth.com) with any data requests
41
41
  * outside of these stated guarantees.
42
42
  *
43
+ * **New Customers:** This endpoint is not enabled by default for new Candid customers. To have this endpoint enabled for your organization,
44
+ * please email our [Support team](mailto:support@joincandidhealth.com) with the request.
45
+ *
43
46
  * @param {CandidApi.exports.v3.GetExportsRequest} request
44
47
  * @param {V3.RequestOptions} requestOptions - Request-specific configuration.
45
48
  *
@@ -73,6 +73,9 @@ class V3 {
73
73
  * up to 90 days in the past by default. Please email our [Support team](mailto:support@joincandidhealth.com) with any data requests
74
74
  * outside of these stated guarantees.
75
75
  *
76
+ * **New Customers:** This endpoint is not enabled by default for new Candid customers. To have this endpoint enabled for your organization,
77
+ * please email our [Support team](mailto:support@joincandidhealth.com) with the request.
78
+ *
76
79
  * @param {CandidApi.exports.v3.GetExportsRequest} request
77
80
  * @param {V3.RequestOptions} requestOptions - Request-specific configuration.
78
81
  *
@@ -92,7 +95,7 @@ class V3 {
92
95
  const _response = yield core.fetcher({
93
96
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/exports/v3"),
94
97
  method: "GET",
95
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
98
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.11", "User-Agent": "candidhealth/0.39.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
96
99
  contentType: "application/json",
97
100
  queryParameters: _queryParams,
98
101
  requestType: "json",
@@ -87,7 +87,7 @@ class V1 {
87
87
  const _response = yield core.fetcher({
88
88
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/external-payment-account-config/v1"),
89
89
  method: "GET",
90
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
90
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.11", "User-Agent": "candidhealth/0.39.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
91
91
  contentType: "application/json",
92
92
  queryParameters: _queryParams,
93
93
  requestType: "json",
@@ -73,7 +73,7 @@ class V3 {
73
73
  const _response = yield core.fetcher({
74
74
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/service-line/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/match`),
75
75
  method: "GET",
76
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
76
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.11", "User-Agent": "candidhealth/0.39.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
77
77
  contentType: "application/json",
78
78
  requestType: "json",
79
79
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -128,7 +128,7 @@ class V3 {
128
128
  const _response = yield core.fetcher({
129
129
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/service-line/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/match/${encodeURIComponent(serializers.RateId.jsonOrThrow(rateId))}`),
130
130
  method: "GET",
131
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
131
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.11", "User-Agent": "candidhealth/0.39.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
132
132
  contentType: "application/json",
133
133
  requestType: "json",
134
134
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -280,7 +280,7 @@ class V3 {
280
280
  const _response = yield core.fetcher({
281
281
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3"),
282
282
  method: "GET",
283
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
283
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.11", "User-Agent": "candidhealth/0.39.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
284
284
  contentType: "application/json",
285
285
  queryParameters: _queryParams,
286
286
  requestType: "json",
@@ -418,7 +418,7 @@ class V3 {
418
418
  const _response = yield core.fetcher({
419
419
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3/unique-dimension-values"),
420
420
  method: "GET",
421
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
421
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.11", "User-Agent": "candidhealth/0.39.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
422
422
  contentType: "application/json",
423
423
  queryParameters: _queryParams,
424
424
  requestType: "json",
@@ -458,7 +458,7 @@ class V3 {
458
458
  const _response = yield core.fetcher({
459
459
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/${encodeURIComponent(serializers.RateId.jsonOrThrow(rateId))}/history`),
460
460
  method: "GET",
461
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
461
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.11", "User-Agent": "candidhealth/0.39.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
462
462
  contentType: "application/json",
463
463
  requestType: "json",
464
464
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -533,7 +533,7 @@ class V3 {
533
533
  const _response = yield core.fetcher({
534
534
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3"),
535
535
  method: "POST",
536
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
536
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.11", "User-Agent": "candidhealth/0.39.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
537
537
  contentType: "application/json",
538
538
  requestType: "json",
539
539
  body: serializers.feeSchedules.v3.FeeScheduleUploadRequest.jsonOrThrow(request, {
@@ -590,7 +590,7 @@ class V3 {
590
590
  const _response = yield core.fetcher({
591
591
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/${encodeURIComponent(serializers.RateId.jsonOrThrow(rateId))}/${encodeURIComponent(version)}`),
592
592
  method: "DELETE",
593
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
593
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.11", "User-Agent": "candidhealth/0.39.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
594
594
  contentType: "application/json",
595
595
  requestType: "json",
596
596
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -638,7 +638,7 @@ class V3 {
638
638
  const _response = yield core.fetcher({
639
639
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3/payer-threshold/default"),
640
640
  method: "GET",
641
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
641
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.11", "User-Agent": "candidhealth/0.39.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
642
642
  contentType: "application/json",
643
643
  requestType: "json",
644
644
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -687,7 +687,7 @@ class V3 {
687
687
  const _response = yield core.fetcher({
688
688
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3/payer-threshold"),
689
689
  method: "GET",
690
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
690
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.11", "User-Agent": "candidhealth/0.39.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
691
691
  contentType: "application/json",
692
692
  queryParameters: _queryParams,
693
693
  requestType: "json",
@@ -732,7 +732,7 @@ class V3 {
732
732
  const _response = yield core.fetcher({
733
733
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/payer-threshold/${encodeURIComponent(serializers.payers.v3.PayerUuid.jsonOrThrow(payerUuid))}`),
734
734
  method: "PUT",
735
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
735
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.11", "User-Agent": "candidhealth/0.39.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
736
736
  contentType: "application/json",
737
737
  requestType: "json",
738
738
  body: serializers.feeSchedules.v3.PayerThreshold.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -94,7 +94,7 @@ class V1 {
94
94
  const _response = yield core.fetcher({
95
95
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/guarantors/v1/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}`),
96
96
  method: "POST",
97
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
97
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.11", "User-Agent": "candidhealth/0.39.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
98
98
  contentType: "application/json",
99
99
  requestType: "json",
100
100
  body: serializers.guarantor.v1.GuarantorCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -149,7 +149,7 @@ class V1 {
149
149
  const _response = yield core.fetcher({
150
150
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/guarantors/v1/${encodeURIComponent(serializers.guarantor.v1.GuarantorId.jsonOrThrow(guarantorId))}`),
151
151
  method: "GET",
152
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
152
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.11", "User-Agent": "candidhealth/0.39.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
153
153
  contentType: "application/json",
154
154
  requestType: "json",
155
155
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -209,7 +209,7 @@ class V1 {
209
209
  const _response = yield core.fetcher({
210
210
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/guarantors/v1/${encodeURIComponent(serializers.guarantor.v1.GuarantorId.jsonOrThrow(guarantorId))}`),
211
211
  method: "PATCH",
212
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
212
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.11", "User-Agent": "candidhealth/0.39.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
213
213
  contentType: "application/json",
214
214
  requestType: "json",
215
215
  body: serializers.guarantor.v1.GuarantorUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -89,7 +89,7 @@ class V1 {
89
89
  const _response = yield core.fetcher({
90
90
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/import-invoice/v1"),
91
91
  method: "POST",
92
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
92
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.11", "User-Agent": "candidhealth/0.39.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
93
93
  contentType: "application/json",
94
94
  requestType: "json",
95
95
  body: serializers.importInvoice.v1.CreateImportInvoiceRequest.jsonOrThrow(request, {
@@ -200,7 +200,7 @@ class V1 {
200
200
  const _response = yield core.fetcher({
201
201
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/import-invoice/v1"),
202
202
  method: "GET",
203
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
203
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.11", "User-Agent": "candidhealth/0.39.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
204
204
  contentType: "application/json",
205
205
  queryParameters: _queryParams,
206
206
  requestType: "json",
@@ -240,7 +240,7 @@ class V1 {
240
240
  const _response = yield core.fetcher({
241
241
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/import-invoice/v1/${encodeURIComponent(serializers.InvoiceId.jsonOrThrow(invoiceId))}`),
242
242
  method: "GET",
243
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
243
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.11", "User-Agent": "candidhealth/0.39.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
244
244
  contentType: "application/json",
245
245
  requestType: "json",
246
246
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -309,7 +309,7 @@ class V1 {
309
309
  const _response = yield core.fetcher({
310
310
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/import-invoice/v1/${encodeURIComponent(serializers.InvoiceId.jsonOrThrow(invoiceId))}`),
311
311
  method: "PATCH",
312
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
312
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.11", "User-Agent": "candidhealth/0.39.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
313
313
  contentType: "application/json",
314
314
  requestType: "json",
315
315
  body: serializers.importInvoice.v1.ImportInvoiceUpdateRequest.jsonOrThrow(request, {
@@ -3,6 +3,7 @@ export * as billingNotes from "./billingNotes";
3
3
  export * as chargeCaptureBundles from "./chargeCaptureBundles";
4
4
  export * as chargeCapture from "./chargeCapture";
5
5
  export * as claimSubmission from "./claimSubmission";
6
+ export * as clinicalTrials from "./clinicalTrials";
6
7
  export * as contracts from "./contracts";
7
8
  export * as credentialing from "./credentialing";
8
9
  export * as customSchemas from "./customSchemas";
@@ -36,12 +36,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.eligibility = exports.tags = exports.serviceFacility = exports.paymentAccountConfigs = exports.individual = exports.identifiers = exports.financials = exports.era = exports.eraCommons = exports.diagnoses = exports.commons = exports.claims = exports.preEncounter = exports.x12 = exports.writeOffs = exports.tasks = exports.serviceLines = exports.remits = exports.remitDrafts = exports.payers = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.nonInsurancePayers = exports.nonInsurancePayerRefunds = exports.nonInsurancePayerPayments = exports.medicationDispense = exports.invoices = exports.insuranceRefunds = exports.insurancePayments = exports.insuranceCards = exports.insuranceAdjudications = exports.importInvoice = exports.guarantor = exports.feeSchedules = exports.externalPaymentAccountConfig = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.customSchemas = exports.credentialing = exports.contracts = exports.claimSubmission = exports.chargeCapture = exports.chargeCaptureBundles = exports.billingNotes = exports.auth = void 0;
39
+ exports.eligibility = exports.tags = exports.serviceFacility = exports.paymentAccountConfigs = exports.individual = exports.identifiers = exports.financials = exports.era = exports.eraCommons = exports.diagnoses = exports.commons = exports.claims = exports.preEncounter = exports.x12 = exports.writeOffs = exports.tasks = exports.serviceLines = exports.remits = exports.remitDrafts = exports.payers = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.nonInsurancePayers = exports.nonInsurancePayerRefunds = exports.nonInsurancePayerPayments = exports.medicationDispense = exports.invoices = exports.insuranceRefunds = exports.insurancePayments = exports.insuranceCards = exports.insuranceAdjudications = exports.importInvoice = exports.guarantor = exports.feeSchedules = exports.externalPaymentAccountConfig = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.customSchemas = exports.credentialing = exports.contracts = exports.clinicalTrials = exports.claimSubmission = exports.chargeCapture = exports.chargeCaptureBundles = exports.billingNotes = exports.auth = void 0;
40
40
  exports.auth = __importStar(require("./auth"));
41
41
  exports.billingNotes = __importStar(require("./billingNotes"));
42
42
  exports.chargeCaptureBundles = __importStar(require("./chargeCaptureBundles"));
43
43
  exports.chargeCapture = __importStar(require("./chargeCapture"));
44
44
  exports.claimSubmission = __importStar(require("./claimSubmission"));
45
+ exports.clinicalTrials = __importStar(require("./clinicalTrials"));
45
46
  exports.contracts = __importStar(require("./contracts"));
46
47
  exports.credentialing = __importStar(require("./credentialing"));
47
48
  exports.customSchemas = __importStar(require("./customSchemas"));
@@ -21,7 +21,8 @@ import * as CandidApi from "../../../index";
21
21
  * city: "San Francisco",
22
22
  * state: CandidApi.State.Ca,
23
23
  * zipCode: "94105"
24
- * }
24
+ * },
25
+ * clinicalTrials: []
25
26
  * }],
26
27
  * nonInsurancePayersInfo: [{
27
28
  * nonInsurancePayer: {
@@ -35,9 +36,11 @@ import * as CandidApi from "../../../index";
35
36
  * city: "San Francisco",
36
37
  * state: CandidApi.State.Ca,
37
38
  * zipCode: "94105"
38
- * }
39
+ * },
40
+ * clinicalTrials: []
39
41
  * },
40
- * memberId: "123456789"
42
+ * memberId: "123456789",
43
+ * clinicalTrialInfo: []
41
44
  * }],
42
45
  * phoneConsent: true,
43
46
  * email: CandidApi.Email("johndoe@joincandidhealth.com"),
@@ -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 interface PatientClinicalTrialInfo {
6
+ clinicalTrialArm?: string;
7
+ clinicalTrial: CandidApi.clinicalTrials.v1.ClinicalTrial;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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 interface PatientClinicalTrialInfoCreate {
6
+ clinicalTrialArm?: string;
7
+ clinicalTrialId: CandidApi.ClinicalTrialId;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -16,12 +16,16 @@ import * as CandidApi from "../../../index";
16
16
  * city: "San Francisco",
17
17
  * state: CandidApi.State.Ca,
18
18
  * zipCode: "94105"
19
- * }
19
+ * },
20
+ * clinicalTrials: []
20
21
  * },
21
- * memberId: "123456789"
22
+ * memberId: "123456789",
23
+ * clinicalTrialInfo: []
22
24
  * }
23
25
  */
24
26
  export interface PatientNonInsurancePayerInfo {
25
27
  nonInsurancePayer: CandidApi.nonInsurancePayers.v1.NonInsurancePayer;
26
28
  memberId?: string;
29
+ /** A patient cannot be associated with a given trial more than once */
30
+ clinicalTrialInfo: CandidApi.PatientClinicalTrialInfo[];
27
31
  }
@@ -5,4 +5,5 @@ import * as CandidApi from "../../../index";
5
5
  export interface PatientNonInsurancePayerInfoCreate {
6
6
  nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId;
7
7
  memberId?: string;
8
+ clinicalTrialInfo?: CandidApi.PatientClinicalTrialInfoCreate[];
8
9
  }
@@ -4,6 +4,8 @@ export * from "./SubscriberBase";
4
4
  export * from "./SubscriberCreate";
5
5
  export * from "./Subscriber";
6
6
  export * from "./PatientNonInsurancePayerInfoCreate";
7
+ export * from "./PatientClinicalTrialInfoCreate";
8
+ export * from "./PatientClinicalTrialInfo";
7
9
  export * from "./PatientNonInsurancePayerInfo";
8
10
  export * from "./PatientCreate";
9
11
  export * from "./PatientUpdate";
@@ -20,6 +20,8 @@ __exportStar(require("./SubscriberBase"), exports);
20
20
  __exportStar(require("./SubscriberCreate"), exports);
21
21
  __exportStar(require("./Subscriber"), exports);
22
22
  __exportStar(require("./PatientNonInsurancePayerInfoCreate"), exports);
23
+ __exportStar(require("./PatientClinicalTrialInfoCreate"), exports);
24
+ __exportStar(require("./PatientClinicalTrialInfo"), exports);
23
25
  __exportStar(require("./PatientNonInsurancePayerInfo"), exports);
24
26
  __exportStar(require("./PatientCreate"), exports);
25
27
  __exportStar(require("./PatientUpdate"), exports);
@@ -73,7 +73,7 @@ class V1 {
73
73
  const _response = yield core.fetcher({
74
74
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/insurance-adjudications/v1/${encodeURIComponent(serializers.insuranceAdjudications.v1.InsuranceAdjudicationId.jsonOrThrow(insuranceAdjudicationId))}`),
75
75
  method: "GET",
76
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
76
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.11", "User-Agent": "candidhealth/0.39.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
77
77
  contentType: "application/json",
78
78
  requestType: "json",
79
79
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -135,7 +135,7 @@ class V1 {
135
135
  const _response = yield core.fetcher({
136
136
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/insurance-adjudications/v1"),
137
137
  method: "POST",
138
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
138
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.11", "User-Agent": "candidhealth/0.39.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
139
139
  contentType: "application/json",
140
140
  requestType: "json",
141
141
  body: serializers.insuranceAdjudications.v1.InsuranceAdjudicationCreate.jsonOrThrow(request, {
@@ -191,7 +191,7 @@ class V1 {
191
191
  const _response = yield core.fetcher({
192
192
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/insurance-adjudications/v1/${encodeURIComponent(serializers.insuranceAdjudications.v1.InsuranceAdjudicationId.jsonOrThrow(insuranceAdjudicationId))}`),
193
193
  method: "DELETE",
194
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
194
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.11", "User-Agent": "candidhealth/0.39.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
195
195
  contentType: "application/json",
196
196
  requestType: "json",
197
197
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -112,7 +112,7 @@ class V1 {
112
112
  const _response = yield core.fetcher({
113
113
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/insurance-payments/v1"),
114
114
  method: "GET",
115
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
115
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.11", "User-Agent": "candidhealth/0.39.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
116
116
  contentType: "application/json",
117
117
  queryParameters: _queryParams,
118
118
  requestType: "json",
@@ -168,7 +168,7 @@ class V1 {
168
168
  const _response = yield core.fetcher({
169
169
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/insurance-payments/v1/${encodeURIComponent(serializers.insurancePayments.v1.InsurancePaymentId.jsonOrThrow(insurancePaymentId))}`),
170
170
  method: "GET",
171
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
171
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.11", "User-Agent": "candidhealth/0.39.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
172
172
  contentType: "application/json",
173
173
  requestType: "json",
174
174
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -238,7 +238,7 @@ class V1 {
238
238
  const _response = yield core.fetcher({
239
239
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/insurance-payments/v1"),
240
240
  method: "POST",
241
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
241
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.11", "User-Agent": "candidhealth/0.39.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
242
242
  contentType: "application/json",
243
243
  requestType: "json",
244
244
  body: serializers.insurancePayments.v1.InsurancePaymentCreate.jsonOrThrow(request, {
@@ -304,7 +304,7 @@ class V1 {
304
304
  const _response = yield core.fetcher({
305
305
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/insurance-payments/v1/${encodeURIComponent(serializers.insurancePayments.v1.InsurancePaymentId.jsonOrThrow(insurancePaymentId))}`),
306
306
  method: "PATCH",
307
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
307
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.11", "User-Agent": "candidhealth/0.39.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
308
308
  contentType: "application/json",
309
309
  requestType: "json",
310
310
  body: serializers.insurancePayments.v1.InsurancePaymentUpdate.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/insurance-payments/v1/${encodeURIComponent(serializers.insurancePayments.v1.InsurancePaymentId.jsonOrThrow(insurancePaymentId))}`),
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.39.9", "User-Agent": "candidhealth/0.39.9", "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": "0.39.11", "User-Agent": "candidhealth/0.39.11", "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,