candidhealth 1.6.0 → 1.7.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 (921) hide show
  1. package/Client.d.ts +9 -3
  2. package/Client.js +52 -42
  3. package/README.md +1 -1
  4. package/api/resources/auth/resources/default/client/Client.d.ts +10 -0
  5. package/api/resources/auth/resources/default/client/Client.js +43 -1
  6. package/api/resources/auth/resources/default/client/getMachineTokenForOrgId.d.ts +22 -0
  7. package/api/resources/auth/resources/default/client/getMachineTokenForOrgId.js +57 -0
  8. package/api/resources/auth/resources/default/client/index.d.ts +1 -0
  9. package/api/resources/auth/resources/default/client/index.js +2 -1
  10. package/api/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +13 -0
  11. package/api/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.js +5 -0
  12. package/api/resources/auth/resources/default/client/requests/index.d.ts +1 -0
  13. package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  14. package/api/resources/chargeCapture/resources/v1/client/Client.js +6 -6
  15. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -4
  16. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  17. package/api/resources/credentialing/resources/v2/client/Client.d.ts +49 -0
  18. package/api/resources/credentialing/resources/v2/client/Client.js +295 -5
  19. package/api/resources/credentialing/resources/v2/client/createFacility.d.ts +34 -0
  20. package/api/resources/credentialing/resources/v2/client/createFacility.js +79 -0
  21. package/api/resources/credentialing/resources/v2/client/deleteFacility.d.ts +34 -0
  22. package/api/resources/credentialing/resources/v2/client/deleteFacility.js +79 -0
  23. package/api/resources/credentialing/resources/v2/client/getAllFacilities.d.ts +34 -0
  24. package/api/resources/credentialing/resources/v2/client/getAllFacilities.js +79 -0
  25. package/api/resources/credentialing/resources/v2/client/getFacility.d.ts +34 -0
  26. package/api/resources/credentialing/resources/v2/client/getFacility.js +79 -0
  27. package/api/resources/credentialing/resources/v2/client/index.d.ts +5 -0
  28. package/api/resources/credentialing/resources/v2/client/index.js +6 -1
  29. package/api/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanCreate.d.ts +27 -0
  30. package/api/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanCreate.js +5 -0
  31. package/api/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanUpdate.d.ts +26 -0
  32. package/api/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanUpdate.js +5 -0
  33. package/api/resources/credentialing/resources/v2/client/requests/GetAllFacilityCredentialingSpansRequest.d.ts +27 -0
  34. package/api/resources/credentialing/resources/v2/client/requests/GetAllFacilityCredentialingSpansRequest.js +5 -0
  35. package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +1 -1
  36. package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +1 -1
  37. package/api/resources/credentialing/resources/v2/client/requests/index.d.ts +3 -0
  38. package/api/resources/credentialing/resources/v2/client/updateFacility.d.ts +46 -0
  39. package/api/resources/credentialing/resources/v2/client/updateFacility.js +101 -0
  40. package/api/resources/credentialing/resources/v2/types/BaseCredentialingSpan.d.ts +22 -0
  41. package/api/resources/credentialing/resources/v2/types/BaseCredentialingSpan.js +5 -0
  42. package/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpan.d.ts +9 -0
  43. package/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpan.js +5 -0
  44. package/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpanId.d.ts +8 -0
  45. package/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpanId.js +9 -0
  46. package/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpanPage.d.ts +7 -0
  47. package/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpanPage.js +5 -0
  48. package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +3 -19
  49. package/api/resources/credentialing/resources/v2/types/index.d.ts +4 -0
  50. package/api/resources/credentialing/resources/v2/types/index.js +4 -0
  51. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  52. package/api/resources/diagnoses/client/Client.js +3 -3
  53. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  54. package/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -3
  55. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  56. package/api/resources/encounters/resources/v4/client/Client.js +5 -5
  57. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  58. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  59. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  60. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  61. package/api/resources/feeSchedules/resources/v3/client/Client.js +11 -11
  62. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  63. package/api/resources/healthCareCodeInformation/client/Client.d.ts +30 -0
  64. package/api/resources/healthCareCodeInformation/client/Client.js +17 -0
  65. package/api/resources/healthCareCodeInformation/client/index.d.ts +1 -0
  66. package/api/resources/healthCareCodeInformation/client/index.js +2 -0
  67. package/api/resources/healthCareCodeInformation/index.d.ts +2 -0
  68. package/api/resources/healthCareCodeInformation/index.js +18 -0
  69. package/api/resources/healthCareCodeInformation/resources/index.d.ts +1 -0
  70. package/api/resources/healthCareCodeInformation/resources/index.js +37 -0
  71. package/api/resources/healthCareCodeInformation/resources/v1/client/Client.d.ts +46 -0
  72. package/api/resources/healthCareCodeInformation/resources/v1/client/Client.js +179 -0
  73. package/api/resources/healthCareCodeInformation/resources/v1/client/getAllForEncounter.d.ts +28 -0
  74. package/api/resources/healthCareCodeInformation/resources/v1/client/getAllForEncounter.js +68 -0
  75. package/api/resources/healthCareCodeInformation/resources/v1/client/index.d.ts +2 -0
  76. package/api/resources/healthCareCodeInformation/resources/v1/client/index.js +38 -0
  77. package/api/resources/healthCareCodeInformation/resources/v1/client/update.d.ts +34 -0
  78. package/api/resources/healthCareCodeInformation/resources/v1/client/update.js +79 -0
  79. package/api/resources/healthCareCodeInformation/resources/v1/index.d.ts +2 -0
  80. package/api/resources/healthCareCodeInformation/resources/v1/index.js +18 -0
  81. package/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosis.d.ts +11 -0
  82. package/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosis.js +5 -0
  83. package/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisCodeQualifier.d.ts +14 -0
  84. package/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisCodeQualifier.js +10 -0
  85. package/api/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.d.ts +4230 -0
  86. package/api/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.js +1064 -0
  87. package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.d.ts +242 -0
  88. package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.js +67 -0
  89. package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformation.d.ts +11 -0
  90. package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformation.js +5 -0
  91. package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationCodeQualifier.d.ts +10 -0
  92. package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationCodeQualifier.js +9 -0
  93. package/api/resources/healthCareCodeInformation/resources/v1/types/D8Date.d.ts +4 -0
  94. package/api/resources/healthCareCodeInformation/resources/v1/types/D8Date.js +5 -0
  95. package/api/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.d.ts +174 -0
  96. package/api/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.js +50 -0
  97. package/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroup.d.ts +11 -0
  98. package/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroup.js +5 -0
  99. package/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupCodeQualifier.d.ts +10 -0
  100. package/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupCodeQualifier.js +9 -0
  101. package/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjury.d.ts +12 -0
  102. package/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjury.js +5 -0
  103. package/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryCodeQualifier.d.ts +14 -0
  104. package/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryCodeQualifier.js +10 -0
  105. package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformation.d.ts +18 -0
  106. package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformation.js +5 -0
  107. package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.d.ts +19 -0
  108. package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.js +5 -0
  109. package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.d.ts +57 -0
  110. package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.js +5 -0
  111. package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.d.ts +19 -0
  112. package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.js +5 -0
  113. package/api/resources/healthCareCodeInformation/resources/v1/types/IcdCode.d.ts +8 -0
  114. package/api/resources/healthCareCodeInformation/resources/v1/types/IcdCode.js +9 -0
  115. package/api/resources/healthCareCodeInformation/resources/v1/types/MsdrgCode.d.ts +8 -0
  116. package/api/resources/healthCareCodeInformation/resources/v1/types/MsdrgCode.js +9 -0
  117. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.d.ts +242 -0
  118. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.js +67 -0
  119. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformation.d.ts +12 -0
  120. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformation.js +5 -0
  121. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationCodeQualifier.d.ts +10 -0
  122. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationCodeQualifier.js +9 -0
  123. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.d.ts +58 -0
  124. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.js +21 -0
  125. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCodeQualifier.d.ts +10 -0
  126. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCodeQualifier.js +9 -0
  127. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformation.d.ts +12 -0
  128. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformation.js +5 -0
  129. package/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformation.d.ts +12 -0
  130. package/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformation.js +5 -0
  131. package/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationCodeQualifier.d.ts +14 -0
  132. package/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationCodeQualifier.js +10 -0
  133. package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformation.d.ts +12 -0
  134. package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformation.js +5 -0
  135. package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationCodeQualifier.d.ts +14 -0
  136. package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationCodeQualifier.js +10 -0
  137. package/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisit.d.ts +11 -0
  138. package/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisit.js +5 -0
  139. package/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitCodeQualifier.d.ts +14 -0
  140. package/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitCodeQualifier.js +10 -0
  141. package/api/resources/healthCareCodeInformation/resources/v1/types/PresentOnAdmissionIndicatorCode.d.ts +26 -0
  142. package/api/resources/healthCareCodeInformation/resources/v1/types/PresentOnAdmissionIndicatorCode.js +13 -0
  143. package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosis.d.ts +12 -0
  144. package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosis.js +5 -0
  145. package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisCodeQualifier.d.ts +14 -0
  146. package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisCodeQualifier.js +10 -0
  147. package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformation.d.ts +12 -0
  148. package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformation.js +5 -0
  149. package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationCodeQualifier.d.ts +18 -0
  150. package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationCodeQualifier.js +11 -0
  151. package/api/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.d.ts +7 -0
  152. package/api/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.js +5 -0
  153. package/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearAdmittingDiagnosis.d.ts +7 -0
  154. package/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearAdmittingDiagnosis.js +5 -0
  155. package/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearDiagnosisRelatedGroup.d.ts +7 -0
  156. package/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearDiagnosisRelatedGroup.js +5 -0
  157. package/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalDiagnosis.d.ts +7 -0
  158. package/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalDiagnosis.js +5 -0
  159. package/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalProcedureInformation.d.ts +7 -0
  160. package/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalProcedureInformation.js +5 -0
  161. package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCode.d.ts +8 -0
  162. package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCode.js +9 -0
  163. package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformation.d.ts +11 -0
  164. package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformation.js +5 -0
  165. package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeQualifier.d.ts +10 -0
  166. package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeQualifier.js +9 -0
  167. package/api/resources/healthCareCodeInformation/resources/v1/types/ValueCode.d.ts +541 -0
  168. package/api/resources/healthCareCodeInformation/resources/v1/types/ValueCode.js +115 -0
  169. package/api/resources/healthCareCodeInformation/resources/v1/types/ValueCodeQualifier.d.ts +10 -0
  170. package/api/resources/healthCareCodeInformation/resources/v1/types/ValueCodeQualifier.js +9 -0
  171. package/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformation.d.ts +12 -0
  172. package/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformation.js +5 -0
  173. package/api/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +46 -0
  174. package/api/resources/healthCareCodeInformation/resources/v1/types/index.js +62 -0
  175. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  176. package/api/resources/index.d.ts +3 -1
  177. package/api/resources/index.js +5 -3
  178. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  179. package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  180. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  181. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  182. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  183. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  184. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +7 -7
  185. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  186. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  187. package/api/resources/patientAr/client/Client.d.ts +30 -0
  188. package/api/resources/patientAr/client/Client.js +17 -0
  189. package/api/resources/patientAr/client/index.d.ts +1 -0
  190. package/api/resources/patientAr/client/index.js +2 -0
  191. package/api/resources/patientAr/index.d.ts +2 -0
  192. package/api/resources/patientAr/index.js +18 -0
  193. package/api/resources/patientAr/resources/index.d.ts +1 -0
  194. package/api/resources/patientAr/resources/index.js +37 -0
  195. package/api/resources/patientAr/resources/v1/client/Client.d.ts +54 -0
  196. package/api/resources/patientAr/resources/v1/client/Client.js +196 -0
  197. package/api/resources/patientAr/resources/v1/client/index.d.ts +3 -0
  198. package/api/resources/patientAr/resources/v1/client/index.js +42 -0
  199. package/api/resources/patientAr/resources/v1/client/itemize.d.ts +34 -0
  200. package/api/resources/patientAr/resources/v1/client/itemize.js +79 -0
  201. package/api/resources/patientAr/resources/v1/client/listInventory.d.ts +34 -0
  202. package/api/resources/patientAr/resources/v1/client/listInventory.js +79 -0
  203. package/api/resources/patientAr/resources/v1/client/requests/GetInventoryRecordsRequest.d.ts +19 -0
  204. package/api/resources/patientAr/resources/v1/client/requests/GetInventoryRecordsRequest.js +5 -0
  205. package/api/resources/patientAr/resources/v1/client/requests/index.d.ts +1 -0
  206. package/api/resources/patientAr/resources/v1/client/requests/index.js +2 -0
  207. package/api/resources/patientAr/resources/v1/index.d.ts +2 -0
  208. package/api/resources/patientAr/resources/v1/index.js +18 -0
  209. package/api/resources/patientAr/resources/v1/types/InsuranceAdjustmentInfo.d.ts +7 -0
  210. package/api/resources/patientAr/resources/v1/types/InsuranceAdjustmentInfo.js +5 -0
  211. package/api/resources/patientAr/resources/v1/types/InsurancePaymentInfo.d.ts +7 -0
  212. package/api/resources/patientAr/resources/v1/types/InsurancePaymentInfo.js +5 -0
  213. package/api/resources/patientAr/resources/v1/types/InvalidFiltersErrorType.d.ts +6 -0
  214. package/api/resources/patientAr/resources/v1/types/InvalidFiltersErrorType.js +5 -0
  215. package/api/resources/patientAr/resources/v1/types/InventoryRecord.d.ts +11 -0
  216. package/api/resources/patientAr/resources/v1/types/InventoryRecord.js +5 -0
  217. package/api/resources/patientAr/resources/v1/types/InvoiceItemizationResponse.d.ts +13 -0
  218. package/api/resources/patientAr/resources/v1/types/InvoiceItemizationResponse.js +5 -0
  219. package/api/resources/patientAr/resources/v1/types/ListInventoryPagedResponse.d.ts +10 -0
  220. package/api/resources/patientAr/resources/v1/types/ListInventoryPagedResponse.js +5 -0
  221. package/api/resources/patientAr/resources/v1/types/NonInsuranceAdjustmentInfo.d.ts +7 -0
  222. package/api/resources/patientAr/resources/v1/types/NonInsuranceAdjustmentInfo.js +5 -0
  223. package/api/resources/patientAr/resources/v1/types/NonInsurancePaymentInfo.d.ts +7 -0
  224. package/api/resources/patientAr/resources/v1/types/NonInsurancePaymentInfo.js +5 -0
  225. package/api/resources/patientAr/resources/v1/types/PatientAdjustmentInfo.d.ts +7 -0
  226. package/api/resources/patientAr/resources/v1/types/PatientAdjustmentInfo.js +5 -0
  227. package/api/resources/patientAr/resources/v1/types/PatientArStatus.d.ts +8 -0
  228. package/api/resources/patientAr/resources/v1/types/PatientArStatus.js +10 -0
  229. package/api/resources/patientAr/resources/v1/types/PatientPaymentAllocation.d.ts +12 -0
  230. package/api/resources/patientAr/resources/v1/types/PatientPaymentAllocation.js +5 -0
  231. package/api/resources/patientAr/resources/v1/types/PatientPaymentInfo.d.ts +10 -0
  232. package/api/resources/patientAr/resources/v1/types/PatientPaymentInfo.js +5 -0
  233. package/api/resources/patientAr/resources/v1/types/ServiceLineItemization.d.ts +28 -0
  234. package/api/resources/patientAr/resources/v1/types/ServiceLineItemization.js +5 -0
  235. package/api/resources/patientAr/resources/v1/types/index.d.ts +13 -0
  236. package/api/resources/patientAr/resources/v1/types/index.js +29 -0
  237. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  238. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  239. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  240. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  241. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  242. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  243. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +6 -6
  244. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  245. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  246. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  247. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  248. package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  249. package/api/resources/preEncounter/resources/patients/resources/v1/types/OriginationDetail.d.ts +10 -0
  250. package/api/resources/preEncounter/resources/patients/resources/v1/types/OriginationDetail.js +5 -0
  251. package/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralSource.d.ts +10 -0
  252. package/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralSource.js +12 -0
  253. package/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.d.ts +8 -0
  254. package/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.js +10 -0
  255. package/api/resources/preEncounter/resources/patients/resources/v1/types/SpecializationCategory.d.ts +34 -0
  256. package/api/resources/preEncounter/resources/patients/resources/v1/types/SpecializationCategory.js +36 -0
  257. package/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +4 -0
  258. package/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +4 -0
  259. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  260. package/api/resources/serviceFacility/client/Client.js +1 -1
  261. package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  262. package/api/resources/superbills/resources/v1/client/Client.js +1 -1
  263. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  264. package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  265. package/dist/Client.d.ts +9 -3
  266. package/dist/Client.js +52 -42
  267. package/dist/api/resources/auth/resources/default/client/Client.d.ts +10 -0
  268. package/dist/api/resources/auth/resources/default/client/Client.js +43 -1
  269. package/dist/api/resources/auth/resources/default/client/getMachineTokenForOrgId.d.ts +22 -0
  270. package/dist/api/resources/auth/resources/default/client/getMachineTokenForOrgId.js +57 -0
  271. package/dist/api/resources/auth/resources/default/client/index.d.ts +1 -0
  272. package/dist/api/resources/auth/resources/default/client/index.js +2 -1
  273. package/dist/api/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +13 -0
  274. package/dist/api/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.js +5 -0
  275. package/dist/api/resources/auth/resources/default/client/requests/index.d.ts +1 -0
  276. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  277. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +6 -6
  278. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -4
  279. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  280. package/dist/api/resources/credentialing/resources/v2/client/Client.d.ts +49 -0
  281. package/dist/api/resources/credentialing/resources/v2/client/Client.js +295 -5
  282. package/dist/api/resources/credentialing/resources/v2/client/createFacility.d.ts +34 -0
  283. package/dist/api/resources/credentialing/resources/v2/client/createFacility.js +79 -0
  284. package/dist/api/resources/credentialing/resources/v2/client/deleteFacility.d.ts +34 -0
  285. package/dist/api/resources/credentialing/resources/v2/client/deleteFacility.js +79 -0
  286. package/dist/api/resources/credentialing/resources/v2/client/getAllFacilities.d.ts +34 -0
  287. package/dist/api/resources/credentialing/resources/v2/client/getAllFacilities.js +79 -0
  288. package/dist/api/resources/credentialing/resources/v2/client/getFacility.d.ts +34 -0
  289. package/dist/api/resources/credentialing/resources/v2/client/getFacility.js +79 -0
  290. package/dist/api/resources/credentialing/resources/v2/client/index.d.ts +5 -0
  291. package/dist/api/resources/credentialing/resources/v2/client/index.js +6 -1
  292. package/dist/api/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanCreate.d.ts +27 -0
  293. package/dist/api/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanCreate.js +5 -0
  294. package/dist/api/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanUpdate.d.ts +26 -0
  295. package/dist/api/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanUpdate.js +5 -0
  296. package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllFacilityCredentialingSpansRequest.d.ts +27 -0
  297. package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllFacilityCredentialingSpansRequest.js +5 -0
  298. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +1 -1
  299. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +1 -1
  300. package/dist/api/resources/credentialing/resources/v2/client/requests/index.d.ts +3 -0
  301. package/dist/api/resources/credentialing/resources/v2/client/updateFacility.d.ts +46 -0
  302. package/dist/api/resources/credentialing/resources/v2/client/updateFacility.js +101 -0
  303. package/dist/api/resources/credentialing/resources/v2/types/BaseCredentialingSpan.d.ts +22 -0
  304. package/dist/api/resources/credentialing/resources/v2/types/BaseCredentialingSpan.js +5 -0
  305. package/dist/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpan.d.ts +9 -0
  306. package/dist/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpan.js +5 -0
  307. package/dist/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpanId.d.ts +8 -0
  308. package/dist/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpanId.js +9 -0
  309. package/dist/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpanPage.d.ts +7 -0
  310. package/dist/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpanPage.js +5 -0
  311. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +3 -19
  312. package/dist/api/resources/credentialing/resources/v2/types/index.d.ts +4 -0
  313. package/dist/api/resources/credentialing/resources/v2/types/index.js +4 -0
  314. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  315. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  316. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  317. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -3
  318. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  319. package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -5
  320. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  321. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  322. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  323. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  324. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +11 -11
  325. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  326. package/dist/api/resources/healthCareCodeInformation/client/Client.d.ts +30 -0
  327. package/dist/api/resources/healthCareCodeInformation/client/Client.js +17 -0
  328. package/dist/api/resources/healthCareCodeInformation/client/index.d.ts +1 -0
  329. package/dist/api/resources/healthCareCodeInformation/client/index.js +2 -0
  330. package/dist/api/resources/healthCareCodeInformation/index.d.ts +2 -0
  331. package/dist/api/resources/healthCareCodeInformation/index.js +18 -0
  332. package/dist/api/resources/healthCareCodeInformation/resources/index.d.ts +1 -0
  333. package/dist/api/resources/healthCareCodeInformation/resources/index.js +37 -0
  334. package/dist/api/resources/healthCareCodeInformation/resources/v1/client/Client.d.ts +46 -0
  335. package/dist/api/resources/healthCareCodeInformation/resources/v1/client/Client.js +179 -0
  336. package/dist/api/resources/healthCareCodeInformation/resources/v1/client/getAllForEncounter.d.ts +28 -0
  337. package/dist/api/resources/healthCareCodeInformation/resources/v1/client/getAllForEncounter.js +68 -0
  338. package/dist/api/resources/healthCareCodeInformation/resources/v1/client/index.d.ts +2 -0
  339. package/dist/api/resources/healthCareCodeInformation/resources/v1/client/index.js +38 -0
  340. package/dist/api/resources/healthCareCodeInformation/resources/v1/client/update.d.ts +34 -0
  341. package/dist/api/resources/healthCareCodeInformation/resources/v1/client/update.js +79 -0
  342. package/dist/api/resources/healthCareCodeInformation/resources/v1/index.d.ts +2 -0
  343. package/dist/api/resources/healthCareCodeInformation/resources/v1/index.js +18 -0
  344. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosis.d.ts +11 -0
  345. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosis.js +5 -0
  346. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisCodeQualifier.d.ts +14 -0
  347. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisCodeQualifier.js +10 -0
  348. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.d.ts +4230 -0
  349. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.js +1064 -0
  350. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.d.ts +242 -0
  351. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.js +67 -0
  352. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformation.d.ts +11 -0
  353. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformation.js +5 -0
  354. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationCodeQualifier.d.ts +10 -0
  355. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationCodeQualifier.js +9 -0
  356. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/D8Date.d.ts +4 -0
  357. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/D8Date.js +5 -0
  358. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.d.ts +174 -0
  359. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.js +50 -0
  360. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroup.d.ts +11 -0
  361. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroup.js +5 -0
  362. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupCodeQualifier.d.ts +10 -0
  363. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupCodeQualifier.js +9 -0
  364. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjury.d.ts +12 -0
  365. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjury.js +5 -0
  366. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryCodeQualifier.d.ts +14 -0
  367. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryCodeQualifier.js +10 -0
  368. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformation.d.ts +18 -0
  369. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformation.js +5 -0
  370. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.d.ts +19 -0
  371. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.js +5 -0
  372. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.d.ts +57 -0
  373. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.js +5 -0
  374. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.d.ts +19 -0
  375. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.js +5 -0
  376. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/IcdCode.d.ts +8 -0
  377. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/IcdCode.js +9 -0
  378. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/MsdrgCode.d.ts +8 -0
  379. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/MsdrgCode.js +9 -0
  380. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.d.ts +242 -0
  381. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.js +67 -0
  382. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformation.d.ts +12 -0
  383. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformation.js +5 -0
  384. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationCodeQualifier.d.ts +10 -0
  385. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationCodeQualifier.js +9 -0
  386. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.d.ts +58 -0
  387. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.js +21 -0
  388. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCodeQualifier.d.ts +10 -0
  389. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCodeQualifier.js +9 -0
  390. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformation.d.ts +12 -0
  391. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformation.js +5 -0
  392. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformation.d.ts +12 -0
  393. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformation.js +5 -0
  394. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationCodeQualifier.d.ts +14 -0
  395. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationCodeQualifier.js +10 -0
  396. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformation.d.ts +12 -0
  397. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformation.js +5 -0
  398. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationCodeQualifier.d.ts +14 -0
  399. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationCodeQualifier.js +10 -0
  400. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisit.d.ts +11 -0
  401. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisit.js +5 -0
  402. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitCodeQualifier.d.ts +14 -0
  403. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitCodeQualifier.js +10 -0
  404. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PresentOnAdmissionIndicatorCode.d.ts +26 -0
  405. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PresentOnAdmissionIndicatorCode.js +13 -0
  406. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosis.d.ts +12 -0
  407. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosis.js +5 -0
  408. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisCodeQualifier.d.ts +14 -0
  409. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisCodeQualifier.js +10 -0
  410. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformation.d.ts +12 -0
  411. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformation.js +5 -0
  412. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationCodeQualifier.d.ts +18 -0
  413. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationCodeQualifier.js +11 -0
  414. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.d.ts +7 -0
  415. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.js +5 -0
  416. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearAdmittingDiagnosis.d.ts +7 -0
  417. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearAdmittingDiagnosis.js +5 -0
  418. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearDiagnosisRelatedGroup.d.ts +7 -0
  419. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearDiagnosisRelatedGroup.js +5 -0
  420. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalDiagnosis.d.ts +7 -0
  421. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalDiagnosis.js +5 -0
  422. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalProcedureInformation.d.ts +7 -0
  423. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalProcedureInformation.js +5 -0
  424. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCode.d.ts +8 -0
  425. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCode.js +9 -0
  426. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformation.d.ts +11 -0
  427. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformation.js +5 -0
  428. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeQualifier.d.ts +10 -0
  429. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeQualifier.js +9 -0
  430. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueCode.d.ts +541 -0
  431. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueCode.js +115 -0
  432. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueCodeQualifier.d.ts +10 -0
  433. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueCodeQualifier.js +9 -0
  434. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformation.d.ts +12 -0
  435. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformation.js +5 -0
  436. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +46 -0
  437. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/index.js +62 -0
  438. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  439. package/dist/api/resources/index.d.ts +3 -1
  440. package/dist/api/resources/index.js +5 -3
  441. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  442. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  443. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  444. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  445. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  446. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  447. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +7 -7
  448. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  449. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  450. package/dist/api/resources/patientAr/client/Client.d.ts +30 -0
  451. package/dist/api/resources/patientAr/client/Client.js +17 -0
  452. package/dist/api/resources/patientAr/client/index.d.ts +1 -0
  453. package/dist/api/resources/patientAr/client/index.js +2 -0
  454. package/dist/api/resources/patientAr/index.d.ts +2 -0
  455. package/dist/api/resources/patientAr/index.js +18 -0
  456. package/dist/api/resources/patientAr/resources/index.d.ts +1 -0
  457. package/dist/api/resources/patientAr/resources/index.js +37 -0
  458. package/dist/api/resources/patientAr/resources/v1/client/Client.d.ts +54 -0
  459. package/dist/api/resources/patientAr/resources/v1/client/Client.js +196 -0
  460. package/dist/api/resources/patientAr/resources/v1/client/index.d.ts +3 -0
  461. package/dist/api/resources/patientAr/resources/v1/client/index.js +42 -0
  462. package/dist/api/resources/patientAr/resources/v1/client/itemize.d.ts +34 -0
  463. package/dist/api/resources/patientAr/resources/v1/client/itemize.js +79 -0
  464. package/dist/api/resources/patientAr/resources/v1/client/listInventory.d.ts +34 -0
  465. package/dist/api/resources/patientAr/resources/v1/client/listInventory.js +79 -0
  466. package/dist/api/resources/patientAr/resources/v1/client/requests/GetInventoryRecordsRequest.d.ts +19 -0
  467. package/dist/api/resources/patientAr/resources/v1/client/requests/GetInventoryRecordsRequest.js +5 -0
  468. package/dist/api/resources/patientAr/resources/v1/client/requests/index.d.ts +1 -0
  469. package/dist/api/resources/patientAr/resources/v1/client/requests/index.js +2 -0
  470. package/dist/api/resources/patientAr/resources/v1/index.d.ts +2 -0
  471. package/dist/api/resources/patientAr/resources/v1/index.js +18 -0
  472. package/dist/api/resources/patientAr/resources/v1/types/InsuranceAdjustmentInfo.d.ts +7 -0
  473. package/dist/api/resources/patientAr/resources/v1/types/InsuranceAdjustmentInfo.js +5 -0
  474. package/dist/api/resources/patientAr/resources/v1/types/InsurancePaymentInfo.d.ts +7 -0
  475. package/dist/api/resources/patientAr/resources/v1/types/InsurancePaymentInfo.js +5 -0
  476. package/dist/api/resources/patientAr/resources/v1/types/InvalidFiltersErrorType.d.ts +6 -0
  477. package/dist/api/resources/patientAr/resources/v1/types/InvalidFiltersErrorType.js +5 -0
  478. package/dist/api/resources/patientAr/resources/v1/types/InventoryRecord.d.ts +11 -0
  479. package/dist/api/resources/patientAr/resources/v1/types/InventoryRecord.js +5 -0
  480. package/dist/api/resources/patientAr/resources/v1/types/InvoiceItemizationResponse.d.ts +13 -0
  481. package/dist/api/resources/patientAr/resources/v1/types/InvoiceItemizationResponse.js +5 -0
  482. package/dist/api/resources/patientAr/resources/v1/types/ListInventoryPagedResponse.d.ts +10 -0
  483. package/dist/api/resources/patientAr/resources/v1/types/ListInventoryPagedResponse.js +5 -0
  484. package/dist/api/resources/patientAr/resources/v1/types/NonInsuranceAdjustmentInfo.d.ts +7 -0
  485. package/dist/api/resources/patientAr/resources/v1/types/NonInsuranceAdjustmentInfo.js +5 -0
  486. package/dist/api/resources/patientAr/resources/v1/types/NonInsurancePaymentInfo.d.ts +7 -0
  487. package/dist/api/resources/patientAr/resources/v1/types/NonInsurancePaymentInfo.js +5 -0
  488. package/dist/api/resources/patientAr/resources/v1/types/PatientAdjustmentInfo.d.ts +7 -0
  489. package/dist/api/resources/patientAr/resources/v1/types/PatientAdjustmentInfo.js +5 -0
  490. package/dist/api/resources/patientAr/resources/v1/types/PatientArStatus.d.ts +8 -0
  491. package/dist/api/resources/patientAr/resources/v1/types/PatientArStatus.js +10 -0
  492. package/dist/api/resources/patientAr/resources/v1/types/PatientPaymentAllocation.d.ts +12 -0
  493. package/dist/api/resources/patientAr/resources/v1/types/PatientPaymentAllocation.js +5 -0
  494. package/dist/api/resources/patientAr/resources/v1/types/PatientPaymentInfo.d.ts +10 -0
  495. package/dist/api/resources/patientAr/resources/v1/types/PatientPaymentInfo.js +5 -0
  496. package/dist/api/resources/patientAr/resources/v1/types/ServiceLineItemization.d.ts +28 -0
  497. package/dist/api/resources/patientAr/resources/v1/types/ServiceLineItemization.js +5 -0
  498. package/dist/api/resources/patientAr/resources/v1/types/index.d.ts +13 -0
  499. package/dist/api/resources/patientAr/resources/v1/types/index.js +29 -0
  500. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  501. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  502. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  503. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  504. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  505. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  506. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +6 -6
  507. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  508. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  509. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  510. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  511. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  512. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/OriginationDetail.d.ts +10 -0
  513. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/OriginationDetail.js +5 -0
  514. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralSource.d.ts +10 -0
  515. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralSource.js +12 -0
  516. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.d.ts +8 -0
  517. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.js +10 -0
  518. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/SpecializationCategory.d.ts +34 -0
  519. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/SpecializationCategory.js +36 -0
  520. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +4 -0
  521. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +4 -0
  522. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  523. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  524. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  525. package/dist/api/resources/superbills/resources/v1/client/Client.js +1 -1
  526. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  527. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  528. package/dist/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +12 -0
  529. package/dist/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.js +43 -0
  530. package/dist/serialization/resources/auth/resources/default/client/requests/index.d.ts +1 -0
  531. package/dist/serialization/resources/auth/resources/default/client/requests/index.js +3 -1
  532. package/dist/serialization/resources/credentialing/resources/v2/client/createFacility.d.ts +20 -0
  533. package/dist/serialization/resources/credentialing/resources/v2/client/createFacility.js +77 -0
  534. package/dist/serialization/resources/credentialing/resources/v2/client/deleteFacility.d.ts +20 -0
  535. package/dist/serialization/resources/credentialing/resources/v2/client/deleteFacility.js +77 -0
  536. package/dist/serialization/resources/credentialing/resources/v2/client/getAllFacilities.d.ts +20 -0
  537. package/dist/serialization/resources/credentialing/resources/v2/client/getAllFacilities.js +77 -0
  538. package/dist/serialization/resources/credentialing/resources/v2/client/getFacility.d.ts +20 -0
  539. package/dist/serialization/resources/credentialing/resources/v2/client/getFacility.js +77 -0
  540. package/dist/serialization/resources/credentialing/resources/v2/client/index.d.ts +5 -0
  541. package/dist/serialization/resources/credentialing/resources/v2/client/index.js +6 -1
  542. package/dist/serialization/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanCreate.d.ts +18 -0
  543. package/dist/serialization/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanCreate.js +49 -0
  544. package/dist/serialization/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanUpdate.d.ts +19 -0
  545. package/dist/serialization/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanUpdate.js +50 -0
  546. package/dist/serialization/resources/credentialing/resources/v2/client/requests/index.d.ts +2 -0
  547. package/dist/serialization/resources/credentialing/resources/v2/client/requests/index.js +5 -1
  548. package/dist/serialization/resources/credentialing/resources/v2/client/updateFacility.d.ts +30 -0
  549. package/dist/serialization/resources/credentialing/resources/v2/client/updateFacility.js +89 -0
  550. package/dist/serialization/resources/credentialing/resources/v2/types/BaseCredentialingSpan.d.ts +22 -0
  551. package/dist/serialization/resources/credentialing/resources/v2/types/BaseCredentialingSpan.js +53 -0
  552. package/dist/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpan.d.ts +16 -0
  553. package/dist/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpan.js +49 -0
  554. package/dist/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpanId.d.ts +10 -0
  555. package/dist/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpanId.js +45 -0
  556. package/dist/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpanPage.d.ts +14 -0
  557. package/dist/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpanPage.js +47 -0
  558. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +3 -12
  559. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +6 -13
  560. package/dist/serialization/resources/credentialing/resources/v2/types/index.d.ts +4 -0
  561. package/dist/serialization/resources/credentialing/resources/v2/types/index.js +4 -0
  562. package/dist/serialization/resources/healthCareCodeInformation/index.d.ts +1 -0
  563. package/dist/serialization/resources/healthCareCodeInformation/index.js +17 -0
  564. package/dist/serialization/resources/healthCareCodeInformation/resources/index.d.ts +1 -0
  565. package/dist/serialization/resources/healthCareCodeInformation/resources/index.js +37 -0
  566. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/client/getAllForEncounter.d.ts +15 -0
  567. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/client/getAllForEncounter.js +71 -0
  568. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/client/index.d.ts +2 -0
  569. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/client/index.js +38 -0
  570. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/client/update.d.ts +20 -0
  571. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/client/update.js +77 -0
  572. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/index.d.ts +2 -0
  573. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/index.js +18 -0
  574. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosis.d.ts +16 -0
  575. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosis.js +49 -0
  576. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisCodeQualifier.d.ts +10 -0
  577. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisCodeQualifier.js +41 -0
  578. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.d.ts +10 -0
  579. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.js +1098 -0
  580. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.d.ts +10 -0
  581. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.js +101 -0
  582. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformation.d.ts +16 -0
  583. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformation.js +49 -0
  584. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationCodeQualifier.d.ts +10 -0
  585. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationCodeQualifier.js +41 -0
  586. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/D8Date.d.ts +10 -0
  587. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/D8Date.js +41 -0
  588. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.d.ts +10 -0
  589. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.js +84 -0
  590. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroup.d.ts +16 -0
  591. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroup.js +49 -0
  592. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupCodeQualifier.d.ts +10 -0
  593. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupCodeQualifier.js +41 -0
  594. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjury.d.ts +18 -0
  595. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjury.js +51 -0
  596. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryCodeQualifier.d.ts +10 -0
  597. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryCodeQualifier.js +41 -0
  598. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformation.d.ts +15 -0
  599. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformation.js +48 -0
  600. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.d.ts +37 -0
  601. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.js +68 -0
  602. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.d.ts +23 -0
  603. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.js +54 -0
  604. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.d.ts +37 -0
  605. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.js +68 -0
  606. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/IcdCode.d.ts +10 -0
  607. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/IcdCode.js +45 -0
  608. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/MsdrgCode.d.ts +10 -0
  609. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/MsdrgCode.js +45 -0
  610. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.d.ts +10 -0
  611. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.js +101 -0
  612. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformation.d.ts +18 -0
  613. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformation.js +51 -0
  614. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationCodeQualifier.d.ts +10 -0
  615. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationCodeQualifier.js +41 -0
  616. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.d.ts +10 -0
  617. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.js +41 -0
  618. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCodeQualifier.d.ts +10 -0
  619. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCodeQualifier.js +41 -0
  620. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformation.d.ts +18 -0
  621. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformation.js +51 -0
  622. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformation.d.ts +18 -0
  623. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformation.js +51 -0
  624. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationCodeQualifier.d.ts +10 -0
  625. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationCodeQualifier.js +41 -0
  626. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformation.d.ts +18 -0
  627. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformation.js +51 -0
  628. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationCodeQualifier.d.ts +10 -0
  629. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationCodeQualifier.js +41 -0
  630. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisit.d.ts +16 -0
  631. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisit.js +49 -0
  632. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitCodeQualifier.d.ts +10 -0
  633. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitCodeQualifier.js +41 -0
  634. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PresentOnAdmissionIndicatorCode.d.ts +10 -0
  635. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PresentOnAdmissionIndicatorCode.js +41 -0
  636. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosis.d.ts +18 -0
  637. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosis.js +51 -0
  638. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisCodeQualifier.d.ts +10 -0
  639. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisCodeQualifier.js +41 -0
  640. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformation.d.ts +18 -0
  641. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformation.js +51 -0
  642. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationCodeQualifier.d.ts +10 -0
  643. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationCodeQualifier.js +41 -0
  644. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.d.ts +13 -0
  645. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.js +44 -0
  646. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearAdmittingDiagnosis.d.ts +13 -0
  647. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearAdmittingDiagnosis.js +44 -0
  648. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearDiagnosisRelatedGroup.d.ts +13 -0
  649. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearDiagnosisRelatedGroup.js +44 -0
  650. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalDiagnosis.d.ts +13 -0
  651. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalDiagnosis.js +44 -0
  652. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalProcedureInformation.d.ts +13 -0
  653. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalProcedureInformation.js +44 -0
  654. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCode.d.ts +10 -0
  655. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCode.js +45 -0
  656. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformation.d.ts +16 -0
  657. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformation.js +49 -0
  658. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeQualifier.d.ts +10 -0
  659. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeQualifier.js +41 -0
  660. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueCode.d.ts +10 -0
  661. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueCode.js +149 -0
  662. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueCodeQualifier.d.ts +10 -0
  663. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueCodeQualifier.js +41 -0
  664. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformation.d.ts +18 -0
  665. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformation.js +51 -0
  666. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +46 -0
  667. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/index.js +62 -0
  668. package/dist/serialization/resources/index.d.ts +3 -1
  669. package/dist/serialization/resources/index.js +5 -3
  670. package/dist/serialization/resources/patientAr/index.d.ts +1 -0
  671. package/dist/serialization/resources/patientAr/index.js +17 -0
  672. package/dist/serialization/resources/patientAr/resources/index.d.ts +1 -0
  673. package/dist/serialization/resources/patientAr/resources/index.js +37 -0
  674. package/dist/serialization/resources/patientAr/resources/v1/client/index.d.ts +2 -0
  675. package/dist/serialization/resources/patientAr/resources/v1/client/index.js +38 -0
  676. package/dist/serialization/resources/patientAr/resources/v1/client/itemize.d.ts +20 -0
  677. package/dist/serialization/resources/patientAr/resources/v1/client/itemize.js +77 -0
  678. package/dist/serialization/resources/patientAr/resources/v1/client/listInventory.d.ts +20 -0
  679. package/dist/serialization/resources/patientAr/resources/v1/client/listInventory.js +77 -0
  680. package/dist/serialization/resources/patientAr/resources/v1/index.d.ts +2 -0
  681. package/dist/serialization/resources/patientAr/resources/v1/index.js +18 -0
  682. package/dist/serialization/resources/patientAr/resources/v1/types/InsuranceAdjustmentInfo.d.ts +12 -0
  683. package/dist/serialization/resources/patientAr/resources/v1/types/InsuranceAdjustmentInfo.js +43 -0
  684. package/dist/serialization/resources/patientAr/resources/v1/types/InsurancePaymentInfo.d.ts +12 -0
  685. package/dist/serialization/resources/patientAr/resources/v1/types/InsurancePaymentInfo.js +43 -0
  686. package/dist/serialization/resources/patientAr/resources/v1/types/InvalidFiltersErrorType.d.ts +12 -0
  687. package/dist/serialization/resources/patientAr/resources/v1/types/InvalidFiltersErrorType.js +43 -0
  688. package/dist/serialization/resources/patientAr/resources/v1/types/InventoryRecord.d.ts +20 -0
  689. package/dist/serialization/resources/patientAr/resources/v1/types/InventoryRecord.js +51 -0
  690. package/dist/serialization/resources/patientAr/resources/v1/types/InvoiceItemizationResponse.d.ts +18 -0
  691. package/dist/serialization/resources/patientAr/resources/v1/types/InvoiceItemizationResponse.js +49 -0
  692. package/dist/serialization/resources/patientAr/resources/v1/types/ListInventoryPagedResponse.d.ts +15 -0
  693. package/dist/serialization/resources/patientAr/resources/v1/types/ListInventoryPagedResponse.js +46 -0
  694. package/dist/serialization/resources/patientAr/resources/v1/types/NonInsuranceAdjustmentInfo.d.ts +12 -0
  695. package/dist/serialization/resources/patientAr/resources/v1/types/NonInsuranceAdjustmentInfo.js +43 -0
  696. package/dist/serialization/resources/patientAr/resources/v1/types/NonInsurancePaymentInfo.d.ts +12 -0
  697. package/dist/serialization/resources/patientAr/resources/v1/types/NonInsurancePaymentInfo.js +43 -0
  698. package/dist/serialization/resources/patientAr/resources/v1/types/PatientAdjustmentInfo.d.ts +12 -0
  699. package/dist/serialization/resources/patientAr/resources/v1/types/PatientAdjustmentInfo.js +43 -0
  700. package/dist/serialization/resources/patientAr/resources/v1/types/PatientArStatus.d.ts +10 -0
  701. package/dist/serialization/resources/patientAr/resources/v1/types/PatientArStatus.js +41 -0
  702. package/dist/serialization/resources/patientAr/resources/v1/types/PatientPaymentAllocation.d.ts +13 -0
  703. package/dist/serialization/resources/patientAr/resources/v1/types/PatientPaymentAllocation.js +44 -0
  704. package/dist/serialization/resources/patientAr/resources/v1/types/PatientPaymentInfo.d.ts +14 -0
  705. package/dist/serialization/resources/patientAr/resources/v1/types/PatientPaymentInfo.js +45 -0
  706. package/dist/serialization/resources/patientAr/resources/v1/types/ServiceLineItemization.d.ts +32 -0
  707. package/dist/serialization/resources/patientAr/resources/v1/types/ServiceLineItemization.js +63 -0
  708. package/dist/serialization/resources/patientAr/resources/v1/types/index.d.ts +13 -0
  709. package/dist/serialization/resources/patientAr/resources/v1/types/index.js +29 -0
  710. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  711. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +2 -0
  712. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/OriginationDetail.d.ts +19 -0
  713. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/OriginationDetail.js +50 -0
  714. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralSource.d.ts +10 -0
  715. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralSource.js +41 -0
  716. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.d.ts +10 -0
  717. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.js +41 -0
  718. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/SpecializationCategory.d.ts +10 -0
  719. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/SpecializationCategory.js +70 -0
  720. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +4 -0
  721. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +4 -0
  722. package/dist/version.d.ts +1 -1
  723. package/dist/version.js +1 -1
  724. package/package.json +1 -1
  725. package/reference.md +898 -331
  726. package/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +12 -0
  727. package/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.js +43 -0
  728. package/serialization/resources/auth/resources/default/client/requests/index.d.ts +1 -0
  729. package/serialization/resources/auth/resources/default/client/requests/index.js +3 -1
  730. package/serialization/resources/credentialing/resources/v2/client/createFacility.d.ts +20 -0
  731. package/serialization/resources/credentialing/resources/v2/client/createFacility.js +77 -0
  732. package/serialization/resources/credentialing/resources/v2/client/deleteFacility.d.ts +20 -0
  733. package/serialization/resources/credentialing/resources/v2/client/deleteFacility.js +77 -0
  734. package/serialization/resources/credentialing/resources/v2/client/getAllFacilities.d.ts +20 -0
  735. package/serialization/resources/credentialing/resources/v2/client/getAllFacilities.js +77 -0
  736. package/serialization/resources/credentialing/resources/v2/client/getFacility.d.ts +20 -0
  737. package/serialization/resources/credentialing/resources/v2/client/getFacility.js +77 -0
  738. package/serialization/resources/credentialing/resources/v2/client/index.d.ts +5 -0
  739. package/serialization/resources/credentialing/resources/v2/client/index.js +6 -1
  740. package/serialization/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanCreate.d.ts +18 -0
  741. package/serialization/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanCreate.js +49 -0
  742. package/serialization/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanUpdate.d.ts +19 -0
  743. package/serialization/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanUpdate.js +50 -0
  744. package/serialization/resources/credentialing/resources/v2/client/requests/index.d.ts +2 -0
  745. package/serialization/resources/credentialing/resources/v2/client/requests/index.js +5 -1
  746. package/serialization/resources/credentialing/resources/v2/client/updateFacility.d.ts +30 -0
  747. package/serialization/resources/credentialing/resources/v2/client/updateFacility.js +89 -0
  748. package/serialization/resources/credentialing/resources/v2/types/BaseCredentialingSpan.d.ts +22 -0
  749. package/serialization/resources/credentialing/resources/v2/types/BaseCredentialingSpan.js +53 -0
  750. package/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpan.d.ts +16 -0
  751. package/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpan.js +49 -0
  752. package/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpanId.d.ts +10 -0
  753. package/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpanId.js +45 -0
  754. package/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpanPage.d.ts +14 -0
  755. package/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpanPage.js +47 -0
  756. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +3 -12
  757. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +6 -13
  758. package/serialization/resources/credentialing/resources/v2/types/index.d.ts +4 -0
  759. package/serialization/resources/credentialing/resources/v2/types/index.js +4 -0
  760. package/serialization/resources/healthCareCodeInformation/index.d.ts +1 -0
  761. package/serialization/resources/healthCareCodeInformation/index.js +17 -0
  762. package/serialization/resources/healthCareCodeInformation/resources/index.d.ts +1 -0
  763. package/serialization/resources/healthCareCodeInformation/resources/index.js +37 -0
  764. package/serialization/resources/healthCareCodeInformation/resources/v1/client/getAllForEncounter.d.ts +15 -0
  765. package/serialization/resources/healthCareCodeInformation/resources/v1/client/getAllForEncounter.js +71 -0
  766. package/serialization/resources/healthCareCodeInformation/resources/v1/client/index.d.ts +2 -0
  767. package/serialization/resources/healthCareCodeInformation/resources/v1/client/index.js +38 -0
  768. package/serialization/resources/healthCareCodeInformation/resources/v1/client/update.d.ts +20 -0
  769. package/serialization/resources/healthCareCodeInformation/resources/v1/client/update.js +77 -0
  770. package/serialization/resources/healthCareCodeInformation/resources/v1/index.d.ts +2 -0
  771. package/serialization/resources/healthCareCodeInformation/resources/v1/index.js +18 -0
  772. package/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosis.d.ts +16 -0
  773. package/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosis.js +49 -0
  774. package/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisCodeQualifier.d.ts +10 -0
  775. package/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisCodeQualifier.js +41 -0
  776. package/serialization/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.d.ts +10 -0
  777. package/serialization/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.js +1098 -0
  778. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.d.ts +10 -0
  779. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.js +101 -0
  780. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformation.d.ts +16 -0
  781. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformation.js +49 -0
  782. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationCodeQualifier.d.ts +10 -0
  783. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationCodeQualifier.js +41 -0
  784. package/serialization/resources/healthCareCodeInformation/resources/v1/types/D8Date.d.ts +10 -0
  785. package/serialization/resources/healthCareCodeInformation/resources/v1/types/D8Date.js +41 -0
  786. package/serialization/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.d.ts +10 -0
  787. package/serialization/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.js +84 -0
  788. package/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroup.d.ts +16 -0
  789. package/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroup.js +49 -0
  790. package/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupCodeQualifier.d.ts +10 -0
  791. package/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupCodeQualifier.js +41 -0
  792. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjury.d.ts +18 -0
  793. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjury.js +51 -0
  794. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryCodeQualifier.d.ts +10 -0
  795. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryCodeQualifier.js +41 -0
  796. package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformation.d.ts +15 -0
  797. package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformation.js +48 -0
  798. package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.d.ts +37 -0
  799. package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.js +68 -0
  800. package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.d.ts +23 -0
  801. package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.js +54 -0
  802. package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.d.ts +37 -0
  803. package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.js +68 -0
  804. package/serialization/resources/healthCareCodeInformation/resources/v1/types/IcdCode.d.ts +10 -0
  805. package/serialization/resources/healthCareCodeInformation/resources/v1/types/IcdCode.js +45 -0
  806. package/serialization/resources/healthCareCodeInformation/resources/v1/types/MsdrgCode.d.ts +10 -0
  807. package/serialization/resources/healthCareCodeInformation/resources/v1/types/MsdrgCode.js +45 -0
  808. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.d.ts +10 -0
  809. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.js +101 -0
  810. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformation.d.ts +18 -0
  811. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformation.js +51 -0
  812. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationCodeQualifier.d.ts +10 -0
  813. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationCodeQualifier.js +41 -0
  814. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.d.ts +10 -0
  815. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.js +41 -0
  816. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCodeQualifier.d.ts +10 -0
  817. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCodeQualifier.js +41 -0
  818. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformation.d.ts +18 -0
  819. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformation.js +51 -0
  820. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformation.d.ts +18 -0
  821. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformation.js +51 -0
  822. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationCodeQualifier.d.ts +10 -0
  823. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationCodeQualifier.js +41 -0
  824. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformation.d.ts +18 -0
  825. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformation.js +51 -0
  826. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationCodeQualifier.d.ts +10 -0
  827. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationCodeQualifier.js +41 -0
  828. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisit.d.ts +16 -0
  829. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisit.js +49 -0
  830. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitCodeQualifier.d.ts +10 -0
  831. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitCodeQualifier.js +41 -0
  832. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PresentOnAdmissionIndicatorCode.d.ts +10 -0
  833. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PresentOnAdmissionIndicatorCode.js +41 -0
  834. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosis.d.ts +18 -0
  835. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosis.js +51 -0
  836. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisCodeQualifier.d.ts +10 -0
  837. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisCodeQualifier.js +41 -0
  838. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformation.d.ts +18 -0
  839. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformation.js +51 -0
  840. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationCodeQualifier.d.ts +10 -0
  841. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationCodeQualifier.js +41 -0
  842. package/serialization/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.d.ts +13 -0
  843. package/serialization/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.js +44 -0
  844. package/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearAdmittingDiagnosis.d.ts +13 -0
  845. package/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearAdmittingDiagnosis.js +44 -0
  846. package/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearDiagnosisRelatedGroup.d.ts +13 -0
  847. package/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearDiagnosisRelatedGroup.js +44 -0
  848. package/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalDiagnosis.d.ts +13 -0
  849. package/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalDiagnosis.js +44 -0
  850. package/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalProcedureInformation.d.ts +13 -0
  851. package/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalProcedureInformation.js +44 -0
  852. package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCode.d.ts +10 -0
  853. package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCode.js +45 -0
  854. package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformation.d.ts +16 -0
  855. package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformation.js +49 -0
  856. package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeQualifier.d.ts +10 -0
  857. package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeQualifier.js +41 -0
  858. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueCode.d.ts +10 -0
  859. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueCode.js +149 -0
  860. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueCodeQualifier.d.ts +10 -0
  861. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueCodeQualifier.js +41 -0
  862. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformation.d.ts +18 -0
  863. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformation.js +51 -0
  864. package/serialization/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +46 -0
  865. package/serialization/resources/healthCareCodeInformation/resources/v1/types/index.js +62 -0
  866. package/serialization/resources/index.d.ts +3 -1
  867. package/serialization/resources/index.js +5 -3
  868. package/serialization/resources/patientAr/index.d.ts +1 -0
  869. package/serialization/resources/patientAr/index.js +17 -0
  870. package/serialization/resources/patientAr/resources/index.d.ts +1 -0
  871. package/serialization/resources/patientAr/resources/index.js +37 -0
  872. package/serialization/resources/patientAr/resources/v1/client/index.d.ts +2 -0
  873. package/serialization/resources/patientAr/resources/v1/client/index.js +38 -0
  874. package/serialization/resources/patientAr/resources/v1/client/itemize.d.ts +20 -0
  875. package/serialization/resources/patientAr/resources/v1/client/itemize.js +77 -0
  876. package/serialization/resources/patientAr/resources/v1/client/listInventory.d.ts +20 -0
  877. package/serialization/resources/patientAr/resources/v1/client/listInventory.js +77 -0
  878. package/serialization/resources/patientAr/resources/v1/index.d.ts +2 -0
  879. package/serialization/resources/patientAr/resources/v1/index.js +18 -0
  880. package/serialization/resources/patientAr/resources/v1/types/InsuranceAdjustmentInfo.d.ts +12 -0
  881. package/serialization/resources/patientAr/resources/v1/types/InsuranceAdjustmentInfo.js +43 -0
  882. package/serialization/resources/patientAr/resources/v1/types/InsurancePaymentInfo.d.ts +12 -0
  883. package/serialization/resources/patientAr/resources/v1/types/InsurancePaymentInfo.js +43 -0
  884. package/serialization/resources/patientAr/resources/v1/types/InvalidFiltersErrorType.d.ts +12 -0
  885. package/serialization/resources/patientAr/resources/v1/types/InvalidFiltersErrorType.js +43 -0
  886. package/serialization/resources/patientAr/resources/v1/types/InventoryRecord.d.ts +20 -0
  887. package/serialization/resources/patientAr/resources/v1/types/InventoryRecord.js +51 -0
  888. package/serialization/resources/patientAr/resources/v1/types/InvoiceItemizationResponse.d.ts +18 -0
  889. package/serialization/resources/patientAr/resources/v1/types/InvoiceItemizationResponse.js +49 -0
  890. package/serialization/resources/patientAr/resources/v1/types/ListInventoryPagedResponse.d.ts +15 -0
  891. package/serialization/resources/patientAr/resources/v1/types/ListInventoryPagedResponse.js +46 -0
  892. package/serialization/resources/patientAr/resources/v1/types/NonInsuranceAdjustmentInfo.d.ts +12 -0
  893. package/serialization/resources/patientAr/resources/v1/types/NonInsuranceAdjustmentInfo.js +43 -0
  894. package/serialization/resources/patientAr/resources/v1/types/NonInsurancePaymentInfo.d.ts +12 -0
  895. package/serialization/resources/patientAr/resources/v1/types/NonInsurancePaymentInfo.js +43 -0
  896. package/serialization/resources/patientAr/resources/v1/types/PatientAdjustmentInfo.d.ts +12 -0
  897. package/serialization/resources/patientAr/resources/v1/types/PatientAdjustmentInfo.js +43 -0
  898. package/serialization/resources/patientAr/resources/v1/types/PatientArStatus.d.ts +10 -0
  899. package/serialization/resources/patientAr/resources/v1/types/PatientArStatus.js +41 -0
  900. package/serialization/resources/patientAr/resources/v1/types/PatientPaymentAllocation.d.ts +13 -0
  901. package/serialization/resources/patientAr/resources/v1/types/PatientPaymentAllocation.js +44 -0
  902. package/serialization/resources/patientAr/resources/v1/types/PatientPaymentInfo.d.ts +14 -0
  903. package/serialization/resources/patientAr/resources/v1/types/PatientPaymentInfo.js +45 -0
  904. package/serialization/resources/patientAr/resources/v1/types/ServiceLineItemization.d.ts +32 -0
  905. package/serialization/resources/patientAr/resources/v1/types/ServiceLineItemization.js +63 -0
  906. package/serialization/resources/patientAr/resources/v1/types/index.d.ts +13 -0
  907. package/serialization/resources/patientAr/resources/v1/types/index.js +29 -0
  908. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  909. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +2 -0
  910. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/OriginationDetail.d.ts +19 -0
  911. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/OriginationDetail.js +50 -0
  912. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralSource.d.ts +10 -0
  913. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralSource.js +41 -0
  914. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.d.ts +10 -0
  915. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.js +41 -0
  916. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/SpecializationCategory.d.ts +10 -0
  917. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/SpecializationCategory.js +70 -0
  918. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +4 -0
  919. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +4 -0
  920. package/version.d.ts +1 -1
  921. package/version.js +1 -1
package/Client.d.ts CHANGED
@@ -19,6 +19,7 @@ import { Exports } from "./api/resources/exports/client/Client";
19
19
  import { ExternalPaymentAccountConfig } from "./api/resources/externalPaymentAccountConfig/client/Client";
20
20
  import { FeeSchedules } from "./api/resources/feeSchedules/client/Client";
21
21
  import { Guarantor } from "./api/resources/guarantor/client/Client";
22
+ import { HealthCareCodeInformation } from "./api/resources/healthCareCodeInformation/client/Client";
22
23
  import { ImportInvoice } from "./api/resources/importInvoice/client/Client";
23
24
  import { InsuranceAdjudications } from "./api/resources/insuranceAdjudications/client/Client";
24
25
  import { InsurancePayments } from "./api/resources/insurancePayments/client/Client";
@@ -27,8 +28,9 @@ import { MedicationDispense } from "./api/resources/medicationDispense/client/Cl
27
28
  import { NonInsurancePayerPayments } from "./api/resources/nonInsurancePayerPayments/client/Client";
28
29
  import { NonInsurancePayerRefunds } from "./api/resources/nonInsurancePayerRefunds/client/Client";
29
30
  import { NonInsurancePayers } from "./api/resources/nonInsurancePayers/client/Client";
30
- import { OrganizationServiceFacilities } from "./api/resources/organizationServiceFacilities/client/Client";
31
31
  import { OrganizationProviders } from "./api/resources/organizationProviders/client/Client";
32
+ import { OrganizationServiceFacilities } from "./api/resources/organizationServiceFacilities/client/Client";
33
+ import { PatientAr } from "./api/resources/patientAr/client/Client";
32
34
  import { PatientPayments } from "./api/resources/patientPayments/client/Client";
33
35
  import { PatientRefunds } from "./api/resources/patientRefunds/client/Client";
34
36
  import { PayerPlanGroups } from "./api/resources/payerPlanGroups/client/Client";
@@ -78,6 +80,7 @@ export declare class CandidApiClient {
78
80
  protected _externalPaymentAccountConfig: ExternalPaymentAccountConfig | undefined;
79
81
  protected _feeSchedules: FeeSchedules | undefined;
80
82
  protected _guarantor: Guarantor | undefined;
83
+ protected _healthCareCodeInformation: HealthCareCodeInformation | undefined;
81
84
  protected _importInvoice: ImportInvoice | undefined;
82
85
  protected _insuranceAdjudications: InsuranceAdjudications | undefined;
83
86
  protected _insurancePayments: InsurancePayments | undefined;
@@ -86,8 +89,9 @@ export declare class CandidApiClient {
86
89
  protected _nonInsurancePayerPayments: NonInsurancePayerPayments | undefined;
87
90
  protected _nonInsurancePayerRefunds: NonInsurancePayerRefunds | undefined;
88
91
  protected _nonInsurancePayers: NonInsurancePayers | undefined;
89
- protected _organizationServiceFacilities: OrganizationServiceFacilities | undefined;
90
92
  protected _organizationProviders: OrganizationProviders | undefined;
93
+ protected _organizationServiceFacilities: OrganizationServiceFacilities | undefined;
94
+ protected _patientAr: PatientAr | undefined;
91
95
  protected _patientPayments: PatientPayments | undefined;
92
96
  protected _patientRefunds: PatientRefunds | undefined;
93
97
  protected _payerPlanGroups: PayerPlanGroups | undefined;
@@ -116,6 +120,7 @@ export declare class CandidApiClient {
116
120
  get externalPaymentAccountConfig(): ExternalPaymentAccountConfig;
117
121
  get feeSchedules(): FeeSchedules;
118
122
  get guarantor(): Guarantor;
123
+ get healthCareCodeInformation(): HealthCareCodeInformation;
119
124
  get importInvoice(): ImportInvoice;
120
125
  get insuranceAdjudications(): InsuranceAdjudications;
121
126
  get insurancePayments(): InsurancePayments;
@@ -124,8 +129,9 @@ export declare class CandidApiClient {
124
129
  get nonInsurancePayerPayments(): NonInsurancePayerPayments;
125
130
  get nonInsurancePayerRefunds(): NonInsurancePayerRefunds;
126
131
  get nonInsurancePayers(): NonInsurancePayers;
127
- get organizationServiceFacilities(): OrganizationServiceFacilities;
128
132
  get organizationProviders(): OrganizationProviders;
133
+ get organizationServiceFacilities(): OrganizationServiceFacilities;
134
+ get patientAr(): PatientAr;
129
135
  get patientPayments(): PatientPayments;
130
136
  get patientRefunds(): PatientRefunds;
131
137
  get payerPlanGroups(): PayerPlanGroups;
package/Client.js CHANGED
@@ -64,27 +64,29 @@ const Client_14 = require("./api/resources/exports/client/Client");
64
64
  const Client_15 = require("./api/resources/externalPaymentAccountConfig/client/Client");
65
65
  const Client_16 = require("./api/resources/feeSchedules/client/Client");
66
66
  const Client_17 = require("./api/resources/guarantor/client/Client");
67
- const Client_18 = require("./api/resources/importInvoice/client/Client");
68
- const Client_19 = require("./api/resources/insuranceAdjudications/client/Client");
69
- const Client_20 = require("./api/resources/insurancePayments/client/Client");
70
- const Client_21 = require("./api/resources/insuranceRefunds/client/Client");
71
- const Client_22 = require("./api/resources/medicationDispense/client/Client");
72
- const Client_23 = require("./api/resources/nonInsurancePayerPayments/client/Client");
73
- const Client_24 = require("./api/resources/nonInsurancePayerRefunds/client/Client");
74
- const Client_25 = require("./api/resources/nonInsurancePayers/client/Client");
75
- const Client_26 = require("./api/resources/organizationServiceFacilities/client/Client");
67
+ const Client_18 = require("./api/resources/healthCareCodeInformation/client/Client");
68
+ const Client_19 = require("./api/resources/importInvoice/client/Client");
69
+ const Client_20 = require("./api/resources/insuranceAdjudications/client/Client");
70
+ const Client_21 = require("./api/resources/insurancePayments/client/Client");
71
+ const Client_22 = require("./api/resources/insuranceRefunds/client/Client");
72
+ const Client_23 = require("./api/resources/medicationDispense/client/Client");
73
+ const Client_24 = require("./api/resources/nonInsurancePayerPayments/client/Client");
74
+ const Client_25 = require("./api/resources/nonInsurancePayerRefunds/client/Client");
75
+ const Client_26 = require("./api/resources/nonInsurancePayers/client/Client");
76
76
  const Client_27 = require("./api/resources/organizationProviders/client/Client");
77
- const Client_28 = require("./api/resources/patientPayments/client/Client");
78
- const Client_29 = require("./api/resources/patientRefunds/client/Client");
79
- const Client_30 = require("./api/resources/payerPlanGroups/client/Client");
80
- const Client_31 = require("./api/resources/payers/client/Client");
81
- const Client_32 = require("./api/resources/serviceLines/client/Client");
82
- const Client_33 = require("./api/resources/superbills/client/Client");
83
- const Client_34 = require("./api/resources/tasks/client/Client");
84
- const Client_35 = require("./api/resources/writeOffs/client/Client");
85
- const Client_36 = require("./api/resources/preEncounter/client/Client");
86
- const Client_37 = require("./api/resources/diagnoses/client/Client");
87
- const Client_38 = require("./api/resources/serviceFacility/client/Client");
77
+ const Client_28 = require("./api/resources/organizationServiceFacilities/client/Client");
78
+ const Client_29 = require("./api/resources/patientAr/client/Client");
79
+ const Client_30 = require("./api/resources/patientPayments/client/Client");
80
+ const Client_31 = require("./api/resources/patientRefunds/client/Client");
81
+ const Client_32 = require("./api/resources/payerPlanGroups/client/Client");
82
+ const Client_33 = require("./api/resources/payers/client/Client");
83
+ const Client_34 = require("./api/resources/serviceLines/client/Client");
84
+ const Client_35 = require("./api/resources/superbills/client/Client");
85
+ const Client_36 = require("./api/resources/tasks/client/Client");
86
+ const Client_37 = require("./api/resources/writeOffs/client/Client");
87
+ const Client_38 = require("./api/resources/preEncounter/client/Client");
88
+ const Client_39 = require("./api/resources/diagnoses/client/Client");
89
+ const Client_40 = require("./api/resources/serviceFacility/client/Client");
88
90
  class CandidApiClient {
89
91
  constructor(_options) {
90
92
  this._options = _options;
@@ -160,89 +162,97 @@ class CandidApiClient {
160
162
  var _a;
161
163
  return ((_a = this._guarantor) !== null && _a !== void 0 ? _a : (this._guarantor = new Client_17.Guarantor(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
162
164
  }
165
+ get healthCareCodeInformation() {
166
+ var _a;
167
+ return ((_a = this._healthCareCodeInformation) !== null && _a !== void 0 ? _a : (this._healthCareCodeInformation = new Client_18.HealthCareCodeInformation(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
168
+ }
163
169
  get importInvoice() {
164
170
  var _a;
165
- return ((_a = this._importInvoice) !== null && _a !== void 0 ? _a : (this._importInvoice = new Client_18.ImportInvoice(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
171
+ return ((_a = this._importInvoice) !== null && _a !== void 0 ? _a : (this._importInvoice = new Client_19.ImportInvoice(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
166
172
  }
167
173
  get insuranceAdjudications() {
168
174
  var _a;
169
- return ((_a = this._insuranceAdjudications) !== null && _a !== void 0 ? _a : (this._insuranceAdjudications = new Client_19.InsuranceAdjudications(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
175
+ return ((_a = this._insuranceAdjudications) !== null && _a !== void 0 ? _a : (this._insuranceAdjudications = new Client_20.InsuranceAdjudications(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
170
176
  }
171
177
  get insurancePayments() {
172
178
  var _a;
173
- return ((_a = this._insurancePayments) !== null && _a !== void 0 ? _a : (this._insurancePayments = new Client_20.InsurancePayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
179
+ return ((_a = this._insurancePayments) !== null && _a !== void 0 ? _a : (this._insurancePayments = new Client_21.InsurancePayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
174
180
  }
175
181
  get insuranceRefunds() {
176
182
  var _a;
177
- return ((_a = this._insuranceRefunds) !== null && _a !== void 0 ? _a : (this._insuranceRefunds = new Client_21.InsuranceRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
183
+ return ((_a = this._insuranceRefunds) !== null && _a !== void 0 ? _a : (this._insuranceRefunds = new Client_22.InsuranceRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
178
184
  }
179
185
  get medicationDispense() {
180
186
  var _a;
181
- return ((_a = this._medicationDispense) !== null && _a !== void 0 ? _a : (this._medicationDispense = new Client_22.MedicationDispense(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
187
+ return ((_a = this._medicationDispense) !== null && _a !== void 0 ? _a : (this._medicationDispense = new Client_23.MedicationDispense(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
182
188
  }
183
189
  get nonInsurancePayerPayments() {
184
190
  var _a;
185
- return ((_a = this._nonInsurancePayerPayments) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerPayments = new Client_23.NonInsurancePayerPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
191
+ return ((_a = this._nonInsurancePayerPayments) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerPayments = new Client_24.NonInsurancePayerPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
186
192
  }
187
193
  get nonInsurancePayerRefunds() {
188
194
  var _a;
189
- return ((_a = this._nonInsurancePayerRefunds) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerRefunds = new Client_24.NonInsurancePayerRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
195
+ return ((_a = this._nonInsurancePayerRefunds) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerRefunds = new Client_25.NonInsurancePayerRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
190
196
  }
191
197
  get nonInsurancePayers() {
192
198
  var _a;
193
- return ((_a = this._nonInsurancePayers) !== null && _a !== void 0 ? _a : (this._nonInsurancePayers = new Client_25.NonInsurancePayers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
199
+ return ((_a = this._nonInsurancePayers) !== null && _a !== void 0 ? _a : (this._nonInsurancePayers = new Client_26.NonInsurancePayers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
200
+ }
201
+ get organizationProviders() {
202
+ var _a;
203
+ return ((_a = this._organizationProviders) !== null && _a !== void 0 ? _a : (this._organizationProviders = new Client_27.OrganizationProviders(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
194
204
  }
195
205
  get organizationServiceFacilities() {
196
206
  var _a;
197
- return ((_a = this._organizationServiceFacilities) !== null && _a !== void 0 ? _a : (this._organizationServiceFacilities = new Client_26.OrganizationServiceFacilities(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
207
+ return ((_a = this._organizationServiceFacilities) !== null && _a !== void 0 ? _a : (this._organizationServiceFacilities = new Client_28.OrganizationServiceFacilities(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
198
208
  }
199
- get organizationProviders() {
209
+ get patientAr() {
200
210
  var _a;
201
- return ((_a = this._organizationProviders) !== null && _a !== void 0 ? _a : (this._organizationProviders = new Client_27.OrganizationProviders(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
211
+ return ((_a = this._patientAr) !== null && _a !== void 0 ? _a : (this._patientAr = new Client_29.PatientAr(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
202
212
  }
203
213
  get patientPayments() {
204
214
  var _a;
205
- return ((_a = this._patientPayments) !== null && _a !== void 0 ? _a : (this._patientPayments = new Client_28.PatientPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
215
+ return ((_a = this._patientPayments) !== null && _a !== void 0 ? _a : (this._patientPayments = new Client_30.PatientPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
206
216
  }
207
217
  get patientRefunds() {
208
218
  var _a;
209
- return ((_a = this._patientRefunds) !== null && _a !== void 0 ? _a : (this._patientRefunds = new Client_29.PatientRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
219
+ return ((_a = this._patientRefunds) !== null && _a !== void 0 ? _a : (this._patientRefunds = new Client_31.PatientRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
210
220
  }
211
221
  get payerPlanGroups() {
212
222
  var _a;
213
- return ((_a = this._payerPlanGroups) !== null && _a !== void 0 ? _a : (this._payerPlanGroups = new Client_30.PayerPlanGroups(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
223
+ return ((_a = this._payerPlanGroups) !== null && _a !== void 0 ? _a : (this._payerPlanGroups = new Client_32.PayerPlanGroups(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
214
224
  }
215
225
  get payers() {
216
226
  var _a;
217
- return ((_a = this._payers) !== null && _a !== void 0 ? _a : (this._payers = new Client_31.Payers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
227
+ return ((_a = this._payers) !== null && _a !== void 0 ? _a : (this._payers = new Client_33.Payers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
218
228
  }
219
229
  get serviceLines() {
220
230
  var _a;
221
- return ((_a = this._serviceLines) !== null && _a !== void 0 ? _a : (this._serviceLines = new Client_32.ServiceLines(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
231
+ return ((_a = this._serviceLines) !== null && _a !== void 0 ? _a : (this._serviceLines = new Client_34.ServiceLines(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
222
232
  }
223
233
  get superbills() {
224
234
  var _a;
225
- return ((_a = this._superbills) !== null && _a !== void 0 ? _a : (this._superbills = new Client_33.Superbills(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
235
+ return ((_a = this._superbills) !== null && _a !== void 0 ? _a : (this._superbills = new Client_35.Superbills(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
226
236
  }
227
237
  get tasks() {
228
238
  var _a;
229
- return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new Client_34.Tasks(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
239
+ return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new Client_36.Tasks(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
230
240
  }
231
241
  get writeOffs() {
232
242
  var _a;
233
- return ((_a = this._writeOffs) !== null && _a !== void 0 ? _a : (this._writeOffs = new Client_35.WriteOffs(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
243
+ return ((_a = this._writeOffs) !== null && _a !== void 0 ? _a : (this._writeOffs = new Client_37.WriteOffs(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
234
244
  }
235
245
  get preEncounter() {
236
246
  var _a;
237
- return ((_a = this._preEncounter) !== null && _a !== void 0 ? _a : (this._preEncounter = new Client_36.PreEncounter(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
247
+ return ((_a = this._preEncounter) !== null && _a !== void 0 ? _a : (this._preEncounter = new Client_38.PreEncounter(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
238
248
  }
239
249
  get diagnoses() {
240
250
  var _a;
241
- return ((_a = this._diagnoses) !== null && _a !== void 0 ? _a : (this._diagnoses = new Client_37.Diagnoses(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
251
+ return ((_a = this._diagnoses) !== null && _a !== void 0 ? _a : (this._diagnoses = new Client_39.Diagnoses(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
242
252
  }
243
253
  get serviceFacility() {
244
254
  var _a;
245
- return ((_a = this._serviceFacility) !== null && _a !== void 0 ? _a : (this._serviceFacility = new Client_38.ServiceFacility(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
255
+ return ((_a = this._serviceFacility) !== null && _a !== void 0 ? _a : (this._serviceFacility = new Client_40.ServiceFacility(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
246
256
  }
247
257
  }
248
258
  exports.CandidApiClient = CandidApiClient;
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  [![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-Built%20with%20Fern-brightgreen)](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=https%3A%2F%2Fgithub.com%2Fcandidhealth%2Fcandid-node)
4
4
  [![npm shield](https://img.shields.io/npm/v/candidhealth)](https://www.npmjs.com/package/candidhealth)
5
5
 
6
- The Candid TypeScript library provides convenient access to the Candid API from TypeScript.
6
+ The Candid TypeScript library provides convenient access to the Candid APIs from TypeScript.
7
7
 
8
8
  ## Installation
9
9
 
@@ -68,5 +68,15 @@ export declare class Default {
68
68
  * })
69
69
  */
70
70
  getToken(request: CandidApi.auth.default_.AuthGetTokenRequest, requestOptions?: Default.RequestOptions): Promise<core.APIResponse<CandidApi.auth.default_.AuthGetTokenResponse, CandidApi.auth.default_.getToken.Error>>;
71
+ /**
72
+ * @param {CandidApi.auth.default_.AuthGetTokenForOrgRequest} request
73
+ * @param {Default.RequestOptions} requestOptions - Request-specific configuration.
74
+ *
75
+ * @example
76
+ * await client.auth.default.getMachineTokenForOrgId({
77
+ * orgId: "org_id"
78
+ * })
79
+ */
80
+ getMachineTokenForOrgId(request: CandidApi.auth.default_.AuthGetTokenForOrgRequest, requestOptions?: Default.RequestOptions): Promise<core.APIResponse<CandidApi.auth.default_.AuthGetTokenResponse, CandidApi.auth.default_.getMachineTokenForOrgId.Error>>;
71
81
  protected _getAuthorizationHeader(): Promise<string | undefined>;
72
82
  }
@@ -106,7 +106,7 @@ class Default {
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/auth/v2/token"),
108
108
  method: "POST",
109
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.6.0", "User-Agent": "candidhealth/1.6.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.7.0", "User-Agent": "candidhealth/1.7.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
  requestType: "json",
112
112
  body: serializers.auth.default_.AuthGetTokenRequest.jsonOrThrow(request, {
@@ -148,6 +148,48 @@ class Default {
148
148
  };
149
149
  });
150
150
  }
151
+ /**
152
+ * @param {CandidApi.auth.default_.AuthGetTokenForOrgRequest} request
153
+ * @param {Default.RequestOptions} requestOptions - Request-specific configuration.
154
+ *
155
+ * @example
156
+ * await client.auth.default.getMachineTokenForOrgId({
157
+ * orgId: "org_id"
158
+ * })
159
+ */
160
+ getMachineTokenForOrgId(request, requestOptions) {
161
+ return __awaiter(this, void 0, void 0, function* () {
162
+ var _a, _b;
163
+ const _response = yield core.fetcher({
164
+ 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/auth/v2/machine-token-for-org-id"),
165
+ method: "POST",
166
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.7.0", "User-Agent": "candidhealth/1.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
167
+ contentType: "application/json",
168
+ requestType: "json",
169
+ body: serializers.auth.default_.AuthGetTokenForOrgRequest.jsonOrThrow(request, {
170
+ unrecognizedObjectKeys: "strip",
171
+ }),
172
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
173
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
174
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
175
+ });
176
+ if (_response.ok) {
177
+ return {
178
+ ok: true,
179
+ body: serializers.auth.default_.AuthGetTokenResponse.parseOrThrow(_response.body, {
180
+ unrecognizedObjectKeys: "passthrough",
181
+ allowUnrecognizedUnionMembers: true,
182
+ allowUnrecognizedEnumValues: true,
183
+ breadcrumbsPrefix: ["response"],
184
+ }),
185
+ };
186
+ }
187
+ return {
188
+ ok: false,
189
+ error: CandidApi.auth.default_.getMachineTokenForOrgId.Error._unknown(_response.error),
190
+ };
191
+ });
192
+ }
151
193
  _getAuthorizationHeader() {
152
194
  return __awaiter(this, void 0, void 0, function* () {
153
195
  const bearer = yield core.Supplier.get(this._options.token);
@@ -0,0 +1,22 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../index";
5
+ import * as core from "../../../../../../core";
6
+ export type Error = CandidApi.auth.default_.getMachineTokenForOrgId.Error._Unknown;
7
+ export declare namespace Error {
8
+ interface _Unknown extends _Utils {
9
+ errorName: void;
10
+ content: core.Fetcher.Error;
11
+ }
12
+ interface _Utils {
13
+ _visit: <_Result>(visitor: CandidApi.auth.default_.getMachineTokenForOrgId.Error._Visitor<_Result>) => _Result;
14
+ }
15
+ interface _Visitor<_Result> {
16
+ _other: (value: core.Fetcher.Error) => _Result;
17
+ }
18
+ }
19
+ export declare const Error: {
20
+ readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.auth.default_.getMachineTokenForOrgId.Error._Unknown;
21
+ readonly _visit: <_Result>(value: CandidApi.auth.default_.getMachineTokenForOrgId.Error, visitor: CandidApi.auth.default_.getMachineTokenForOrgId.Error._Visitor<_Result>) => _Result;
22
+ };
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.Error = void 0;
40
+ const CandidApi = __importStar(require("../../../../../index"));
41
+ exports.Error = {
42
+ _unknown: (fetcherError) => {
43
+ return {
44
+ errorName: undefined,
45
+ content: fetcherError,
46
+ _visit: function (visitor) {
47
+ return CandidApi.auth.default_.getMachineTokenForOrgId.Error._visit(this, visitor);
48
+ },
49
+ };
50
+ },
51
+ _visit: (value, visitor) => {
52
+ switch (value.errorName) {
53
+ default:
54
+ return visitor._other(value);
55
+ }
56
+ },
57
+ };
@@ -1,2 +1,3 @@
1
1
  export * from "./requests";
2
2
  export * as getToken from "./getToken";
3
+ export * as getMachineTokenForOrgId from "./getMachineTokenForOrgId";
@@ -36,6 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.getToken = void 0;
39
+ exports.getMachineTokenForOrgId = exports.getToken = void 0;
40
40
  __exportStar(require("./requests"), exports);
41
41
  exports.getToken = __importStar(require("./getToken"));
42
+ exports.getMachineTokenForOrgId = __importStar(require("./getMachineTokenForOrgId"));
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * orgId: "org_id"
8
+ * }
9
+ */
10
+ export interface AuthGetTokenForOrgRequest {
11
+ /** Organization ID to generate token for. */
12
+ orgId: string;
13
+ }
@@ -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 });
@@ -1 +1,2 @@
1
1
  export { type AuthGetTokenRequest } from "./AuthGetTokenRequest";
2
+ export { type AuthGetTokenForOrgRequest } from "./AuthGetTokenForOrgRequest";
@@ -73,7 +73,7 @@ class V2 {
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/billing_notes/v2"),
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": "1.6.0", "User-Agent": "candidhealth/1.6.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.7.0", "User-Agent": "candidhealth/1.7.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.billingNotes.v2.StandaloneBillingNoteCreate.jsonOrThrow(request, {
@@ -113,7 +113,7 @@ class V2 {
113
113
  const _response = yield core.fetcher({
114
114
  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/billing_notes/v2/${encodeURIComponent(serializers.billingNotes.v2.BillingNoteId.jsonOrThrow(billingNoteId))}`),
115
115
  method: "DELETE",
116
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.6.0", "User-Agent": "candidhealth/1.6.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
116
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.7.0", "User-Agent": "candidhealth/1.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
117
117
  contentType: "application/json",
118
118
  requestType: "json",
119
119
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -164,7 +164,7 @@ class V2 {
164
164
  const _response = yield core.fetcher({
165
165
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/billing_notes/v2/${encodeURIComponent(serializers.billingNotes.v2.BillingNoteId.jsonOrThrow(billingNoteId))}`),
166
166
  method: "PATCH",
167
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.6.0", "User-Agent": "candidhealth/1.6.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
167
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.7.0", "User-Agent": "candidhealth/1.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
168
168
  contentType: "application/json",
169
169
  requestType: "json",
170
170
  body: serializers.billingNotes.v2.BillingNoteUpdate.jsonOrThrow(request, {
@@ -76,7 +76,7 @@ class V1 {
76
76
  const _response = yield core.fetcher({
77
77
  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/charge_captures/v1"),
78
78
  method: "POST",
79
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.6.0", "User-Agent": "candidhealth/1.6.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
79
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.7.0", "User-Agent": "candidhealth/1.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
80
80
  contentType: "application/json",
81
81
  requestType: "json",
82
82
  body: serializers.chargeCapture.v1.CreateChargeCaptureRequest.jsonOrThrow(request, {
@@ -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/charge_captures/v1/create-from-pre-encounter"),
162
162
  method: "POST",
163
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.6.0", "User-Agent": "candidhealth/1.6.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.7.0", "User-Agent": "candidhealth/1.7.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
  body: serializers.chargeCapture.v1.CreateChargeCaptureFromPreEncounterRequest.jsonOrThrow(request, {
@@ -221,7 +221,7 @@ class V1 {
221
221
  const _response = yield core.fetcher({
222
222
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/charge_captures/v1/${encodeURIComponent(serializers.ChargeCaptureId.jsonOrThrow(chargeCaptureId))}`),
223
223
  method: "PATCH",
224
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.6.0", "User-Agent": "candidhealth/1.6.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
224
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.7.0", "User-Agent": "candidhealth/1.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
225
225
  contentType: "application/json",
226
226
  requestType: "json",
227
227
  body: serializers.chargeCapture.v1.ChargeCaptureUpdate.jsonOrThrow(request, {
@@ -279,7 +279,7 @@ class V1 {
279
279
  const _response = yield core.fetcher({
280
280
  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/charge_captures/v1/${encodeURIComponent(serializers.ChargeCaptureId.jsonOrThrow(chargeCaptureId))}`),
281
281
  method: "GET",
282
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.6.0", "User-Agent": "candidhealth/1.6.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
282
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.7.0", "User-Agent": "candidhealth/1.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
283
283
  contentType: "application/json",
284
284
  requestType: "json",
285
285
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -514,7 +514,7 @@ class V1 {
514
514
  const _response = yield core.fetcher({
515
515
  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/charge_captures/v1"),
516
516
  method: "GET",
517
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.6.0", "User-Agent": "candidhealth/1.6.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
517
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.7.0", "User-Agent": "candidhealth/1.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
518
518
  contentType: "application/json",
519
519
  queryParameters: _queryParams,
520
520
  requestType: "json",
@@ -555,7 +555,7 @@ class V1 {
555
555
  const _response = yield core.fetcher({
556
556
  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/charge_captures/v1/changes/"),
557
557
  method: "PATCH",
558
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.6.0", "User-Agent": "candidhealth/1.6.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
558
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.7.0", "User-Agent": "candidhealth/1.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
559
559
  contentType: "application/json",
560
560
  requestType: "json",
561
561
  body: serializers.chargeCapture.v1.ChargeCapturePostBilledChangeUpdate.jsonOrThrow(request, {
@@ -71,7 +71,7 @@ class V1 {
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/charge_capture_claim_creation/v1/${encodeURIComponent(serializers.ChargeCaptureClaimCreationId.jsonOrThrow(chargeCaptureClaimCreationId))}`),
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": "1.6.0", "User-Agent": "candidhealth/1.6.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.7.0", "User-Agent": "candidhealth/1.7.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,
@@ -107,7 +107,7 @@ class V1 {
107
107
  const _response = yield core.fetcher({
108
108
  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/charge_capture_claim_creation/v1/all/summary"),
109
109
  method: "GET",
110
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.6.0", "User-Agent": "candidhealth/1.6.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
110
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.7.0", "User-Agent": "candidhealth/1.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
111
111
  contentType: "application/json",
112
112
  requestType: "json",
113
113
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -145,7 +145,7 @@ class V1 {
145
145
  const _response = yield core.fetcher({
146
146
  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/charge_capture_claim_creation/v1/error/${encodeURIComponent(chargeCaptureBundleErrorId)}`),
147
147
  method: "PATCH",
148
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.6.0", "User-Agent": "candidhealth/1.6.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
148
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.7.0", "User-Agent": "candidhealth/1.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
149
149
  contentType: "application/json",
150
150
  requestType: "json",
151
151
  body: serializers.chargeCaptureBundles.v1.ChargeCaptureBundleErrorResolution.jsonOrThrow(request, {
@@ -305,7 +305,7 @@ class V1 {
305
305
  const _response = yield core.fetcher({
306
306
  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/charge_capture_claim_creation/v1"),
307
307
  method: "GET",
308
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.6.0", "User-Agent": "candidhealth/1.6.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
308
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.7.0", "User-Agent": "candidhealth/1.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
309
309
  contentType: "application/json",
310
310
  queryParameters: _queryParams,
311
311
  requestType: "json",