candidhealth 1.7.0 → 1.9.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 (1355) hide show
  1. package/Client.d.ts +5 -1
  2. package/Client.js +10 -4
  3. package/README.md +28 -3
  4. package/api/resources/auth/client/Client.d.ts +2 -10
  5. package/api/resources/auth/resources/default/client/Client.d.ts +7 -12
  6. package/api/resources/auth/resources/default/client/Client.js +39 -66
  7. package/api/resources/auth/resources/default/client/index.d.ts +1 -2
  8. package/api/resources/auth/resources/default/client/index.js +5 -6
  9. package/api/resources/auth/resources/default/client/requests/index.d.ts +0 -1
  10. package/api/resources/billingNotes/client/Client.d.ts +2 -10
  11. package/api/resources/billingNotes/resources/v2/client/Client.d.ts +13 -5
  12. package/api/resources/billingNotes/resources/v2/client/Client.js +100 -54
  13. package/api/resources/billingNotes/resources/v2/client/index.d.ts +1 -1
  14. package/api/resources/billingNotes/resources/v2/client/index.js +4 -4
  15. package/api/resources/billingNotes/resources/v2/client/requests/StandaloneBillingNoteCreate.d.ts +2 -1
  16. package/api/resources/billingNotes/resources/v2/types/BillingNote.d.ts +1 -1
  17. package/api/resources/chargeCapture/client/Client.d.ts +2 -10
  18. package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +17 -7
  19. package/api/resources/chargeCapture/resources/v1/client/Client.js +278 -117
  20. package/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
  21. package/api/resources/chargeCapture/resources/v1/client/index.js +4 -4
  22. package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +46 -84
  23. package/api/resources/chargeCaptureBundles/client/Client.d.ts +2 -10
  24. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +13 -5
  25. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +153 -66
  26. package/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +1 -1
  27. package/api/resources/chargeCaptureBundles/resources/v1/client/index.js +4 -4
  28. package/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.d.ts +26 -48
  29. package/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +2 -2
  30. package/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.d.ts +2 -2
  31. package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +4 -4
  32. package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.d.ts +4 -4
  33. package/api/resources/claims/types/Claim.d.ts +5 -5
  34. package/api/resources/commons/types/Clearinghouse.d.ts +14 -0
  35. package/api/resources/commons/types/Clearinghouse.js +16 -0
  36. package/api/resources/commons/types/ProcedureModifier.d.ts +13 -2
  37. package/api/resources/commons/types/ProcedureModifier.js +11 -0
  38. package/api/resources/commons/types/index.d.ts +1 -0
  39. package/api/resources/commons/types/index.js +1 -0
  40. package/api/resources/contracts/client/Client.d.ts +2 -10
  41. package/api/resources/contracts/resources/v2/client/Client.d.ts +30 -7
  42. package/api/resources/contracts/resources/v2/client/Client.js +179 -93
  43. package/api/resources/contracts/resources/v2/client/index.d.ts +1 -1
  44. package/api/resources/contracts/resources/v2/client/index.js +4 -4
  45. package/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +15 -1
  46. package/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts +5 -15
  47. package/api/resources/credentialing/client/Client.d.ts +2 -10
  48. package/api/resources/credentialing/resources/v2/client/Client.d.ts +25 -11
  49. package/api/resources/credentialing/resources/v2/client/Client.js +374 -211
  50. package/api/resources/credentialing/resources/v2/client/index.d.ts +1 -1
  51. package/api/resources/credentialing/resources/v2/client/index.js +4 -4
  52. package/api/resources/credentialing/resources/v2/client/requests/GetAllFacilityCredentialingSpansRequest.d.ts +4 -12
  53. package/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +5 -15
  54. package/api/resources/customSchemas/client/Client.d.ts +2 -10
  55. package/api/resources/customSchemas/resources/v1/client/Client.d.ts +13 -5
  56. package/api/resources/customSchemas/resources/v1/client/Client.js +154 -89
  57. package/api/resources/customSchemas/resources/v1/client/index.d.ts +1 -1
  58. package/api/resources/customSchemas/resources/v1/client/index.js +4 -4
  59. package/api/resources/diagnoses/client/Client.d.ts +13 -6
  60. package/api/resources/diagnoses/client/Client.js +101 -56
  61. package/api/resources/diagnoses/client/index.d.ts +1 -1
  62. package/api/resources/diagnoses/client/index.js +4 -4
  63. package/api/resources/diagnoses/types/Diagnosis.d.ts +2 -2
  64. package/api/resources/eligibility/client/Client.d.ts +2 -10
  65. package/api/resources/eligibility/resources/v2/client/Client.d.ts +11 -4
  66. package/api/resources/eligibility/resources/v2/client/Client.js +102 -52
  67. package/api/resources/encounterAttachments/client/Client.d.ts +2 -10
  68. package/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +11 -4
  69. package/api/resources/encounterAttachments/resources/v1/client/Client.js +74 -37
  70. package/api/resources/encounterAttachments/resources/v1/client/index.d.ts +1 -1
  71. package/api/resources/encounterAttachments/resources/v1/client/index.js +4 -4
  72. package/api/resources/encounterProviders/client/Client.d.ts +2 -10
  73. package/api/resources/encounterProviders/resources/v2/client/Client.d.ts +29 -13
  74. package/api/resources/encounterProviders/resources/v2/client/Client.js +449 -238
  75. package/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +1 -1
  76. package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +1 -1
  77. package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +1 -1
  78. package/api/resources/encounters/client/Client.d.ts +2 -10
  79. package/api/resources/encounters/resources/v4/client/Client.d.ts +60 -46
  80. package/api/resources/encounters/resources/v4/client/Client.js +217 -136
  81. package/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
  82. package/api/resources/encounters/resources/v4/client/create.js +11 -0
  83. package/api/resources/encounters/resources/v4/client/index.d.ts +1 -1
  84. package/api/resources/encounters/resources/v4/client/index.js +4 -4
  85. package/api/resources/encounters/resources/v4/client/requests/GetAllEncountersRequest.d.ts +14 -40
  86. package/api/resources/encounters/resources/v4/client/requests/index.d.ts +0 -2
  87. package/api/resources/encounters/resources/v4/types/ClinicalNoteCategory.d.ts +1 -1
  88. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +27 -41
  89. package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +10 -11
  90. package/api/resources/encounters/resources/v4/types/EncounterCreate.d.ts +27 -0
  91. package/api/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.d.ts +3 -36
  92. package/api/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +9 -4
  93. package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +10 -16
  94. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +14 -21
  95. package/api/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.d.ts +5 -0
  96. package/api/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.d.ts +2 -3
  97. package/api/resources/encounters/resources/v4/types/EncounterUpdate.d.ts +17 -0
  98. package/api/resources/encounters/resources/v4/types/index.d.ts +7 -4
  99. package/api/resources/encounters/resources/v4/types/index.js +7 -4
  100. package/api/resources/encountersUniversal/index.d.ts +1 -0
  101. package/api/resources/encountersUniversal/index.js +17 -0
  102. package/api/resources/{encounters/resources/v4/client/requests/EncounterCreate.d.ts → encountersUniversal/types/UniversalEncounterCreateBase.d.ts} +9 -70
  103. package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +40 -0
  104. package/api/resources/{encounters/resources/v4/client/requests/EncounterUpdate.d.ts → encountersUniversal/types/UniversalEncounterUpdateBase.d.ts} +9 -18
  105. package/api/resources/encountersUniversal/types/index.d.ts +3 -0
  106. package/api/resources/encountersUniversal/types/index.js +19 -0
  107. package/api/resources/expectedNetworkStatus/client/Client.d.ts +2 -10
  108. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +7 -2
  109. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +27 -16
  110. package/api/resources/expectedNetworkStatus/resources/v1/client/index.d.ts +1 -1
  111. package/api/resources/expectedNetworkStatus/resources/v1/client/index.js +4 -4
  112. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +9 -3
  113. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +79 -46
  114. package/api/resources/exports/client/Client.d.ts +2 -10
  115. package/api/resources/exports/resources/v3/client/Client.d.ts +7 -2
  116. package/api/resources/exports/resources/v3/client/Client.js +39 -27
  117. package/api/resources/exports/resources/v3/client/index.d.ts +1 -1
  118. package/api/resources/exports/resources/v3/client/index.js +4 -4
  119. package/api/resources/exports/resources/v3/types/GetExportsResponse.d.ts +2 -2
  120. package/api/resources/externalPaymentAccountConfig/client/Client.d.ts +2 -10
  121. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.d.ts +7 -2
  122. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +28 -20
  123. package/api/resources/externalPaymentAccountConfig/resources/v1/client/index.d.ts +1 -1
  124. package/api/resources/externalPaymentAccountConfig/resources/v1/client/index.js +4 -4
  125. package/api/resources/externalPaymentAccountConfig/resources/v1/client/requests/GetExternalPaymentAccountConfigsRequest.d.ts +1 -3
  126. package/api/resources/feeSchedules/client/Client.d.ts +2 -10
  127. package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +40 -12
  128. package/api/resources/feeSchedules/resources/v3/client/Client.js +413 -199
  129. package/api/resources/{auth/resources/default/client/getMachineTokenForOrgId.d.ts → feeSchedules/resources/v3/client/hardDeleteRatesByIds.d.ts} +4 -4
  130. package/api/resources/{auth/resources/default/client/getMachineTokenForOrgId.js → feeSchedules/resources/v3/client/hardDeleteRatesByIds.js} +1 -1
  131. package/api/resources/feeSchedules/resources/v3/client/index.d.ts +2 -1
  132. package/api/resources/feeSchedules/resources/v3/client/index.js +6 -5
  133. package/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -3
  134. package/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +2 -6
  135. package/api/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.d.ts +13 -0
  136. package/api/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.js +5 -0
  137. package/api/resources/feeSchedules/resources/v3/client/requests/index.d.ts +1 -0
  138. package/api/resources/feeSchedules/resources/v3/types/ValidationError.d.ts +4 -1
  139. package/api/resources/financials/types/PatientTransactionSource.d.ts +2 -1
  140. package/api/resources/financials/types/PatientTransactionSource.js +1 -0
  141. package/api/resources/guarantor/client/Client.d.ts +2 -10
  142. package/api/resources/guarantor/resources/v1/client/Client.d.ts +11 -4
  143. package/api/resources/guarantor/resources/v1/client/Client.js +91 -50
  144. package/api/resources/guarantor/resources/v1/types/Guarantor.d.ts +2 -0
  145. package/api/resources/guarantor/resources/v1/types/GuarantorCreate.d.ts +2 -0
  146. package/api/resources/guarantor/resources/v1/types/GuarantorOptional.d.ts +1 -0
  147. package/api/resources/guarantor/resources/v1/types/GuarantorUpdate.d.ts +1 -0
  148. package/api/resources/healthCareCodeInformation/client/Client.d.ts +2 -10
  149. package/api/resources/healthCareCodeInformation/resources/v1/client/Client.d.ts +9 -3
  150. package/api/resources/healthCareCodeInformation/resources/v1/client/Client.js +78 -47
  151. package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.d.ts +433 -40
  152. package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.js +95 -1
  153. package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.d.ts +12 -1
  154. package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.d.ts +0 -52
  155. package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.d.ts +14 -1
  156. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.d.ts +3 -0
  157. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformation.d.ts +6 -0
  158. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.d.ts +24 -5
  159. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.js +5 -1
  160. package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformation.d.ts +6 -0
  161. package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformation.d.ts +6 -0
  162. package/api/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.d.ts +12 -0
  163. package/api/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +0 -2
  164. package/api/resources/healthCareCodeInformation/resources/v1/types/index.js +0 -2
  165. package/api/resources/importInvoice/client/Client.d.ts +2 -10
  166. package/api/resources/importInvoice/resources/v1/client/Client.d.ts +13 -5
  167. package/api/resources/importInvoice/resources/v1/client/Client.js +142 -82
  168. package/api/resources/importInvoice/resources/v1/client/index.d.ts +1 -1
  169. package/api/resources/importInvoice/resources/v1/client/index.js +4 -4
  170. package/api/resources/importInvoice/resources/v1/client/requests/SearchImportedInvoicesRequest.d.ts +7 -21
  171. package/api/resources/index.d.ts +1 -0
  172. package/api/resources/index.js +3 -2
  173. package/api/resources/individual/types/Patient.d.ts +2 -0
  174. package/api/resources/individual/types/PatientBase.d.ts +2 -2
  175. package/api/resources/individual/types/PatientCreate.d.ts +2 -0
  176. package/api/resources/individual/types/PatientUpdate.d.ts +3 -2
  177. package/api/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +3 -2
  178. package/api/resources/insuranceAdjudications/client/Client.d.ts +2 -10
  179. package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +11 -4
  180. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +86 -47
  181. package/api/resources/insurancePayments/client/Client.d.ts +2 -10
  182. package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +9 -3
  183. package/api/resources/insurancePayments/resources/v1/client/Client.js +78 -50
  184. package/api/resources/insurancePayments/resources/v1/client/index.d.ts +1 -1
  185. package/api/resources/insurancePayments/resources/v1/client/index.js +4 -4
  186. package/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +3 -9
  187. package/api/resources/insuranceRefunds/client/Client.d.ts +2 -10
  188. package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +15 -6
  189. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +188 -108
  190. package/api/resources/insuranceRefunds/resources/v1/client/index.d.ts +1 -1
  191. package/api/resources/insuranceRefunds/resources/v1/client/index.js +4 -4
  192. package/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.d.ts +3 -9
  193. package/api/resources/medicationDispense/client/Client.d.ts +2 -10
  194. package/api/resources/medicationDispense/resources/v1/client/Client.d.ts +7 -2
  195. package/api/resources/medicationDispense/resources/v1/client/Client.js +39 -24
  196. package/api/resources/nonInsurancePayerPayments/client/Client.d.ts +2 -10
  197. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +15 -6
  198. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +188 -108
  199. package/api/resources/nonInsurancePayerPayments/resources/v1/client/index.d.ts +1 -1
  200. package/api/resources/nonInsurancePayerPayments/resources/v1/client/index.js +4 -4
  201. package/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/GetMultiNonInsurancePayerPaymentRequest.d.ts +3 -9
  202. package/api/resources/nonInsurancePayerRefunds/client/Client.d.ts +2 -10
  203. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +15 -6
  204. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +188 -108
  205. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/index.d.ts +1 -1
  206. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/index.js +4 -4
  207. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/GetMultiNonInsurancePayerRefundsRequest.d.ts +3 -9
  208. package/api/resources/nonInsurancePayers/client/Client.d.ts +2 -10
  209. package/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +19 -8
  210. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +252 -143
  211. package/api/resources/nonInsurancePayers/resources/v1/client/index.d.ts +1 -1
  212. package/api/resources/nonInsurancePayers/resources/v1/client/index.js +4 -4
  213. package/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +2 -6
  214. package/api/resources/nonInsurancePayers/resources/v1/client/requests/GetNonInsurancePayersCategoriesRequest.d.ts +3 -9
  215. package/api/resources/organizationProviders/client/Client.d.ts +2 -10
  216. package/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +5 -1
  217. package/api/resources/organizationProviders/resources/v2/types/LicenseType.js +4 -0
  218. package/api/resources/organizationProviders/resources/v3/client/Client.d.ts +13 -5
  219. package/api/resources/organizationProviders/resources/v3/client/Client.js +142 -82
  220. package/api/resources/organizationProviders/resources/v3/client/index.d.ts +1 -1
  221. package/api/resources/organizationProviders/resources/v3/client/index.js +4 -4
  222. package/api/resources/organizationProviders/resources/v3/client/requests/GetAllOrganizationProvidersRequestV2.d.ts +8 -24
  223. package/api/resources/organizationServiceFacilities/client/Client.d.ts +2 -10
  224. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +28 -6
  225. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +261 -100
  226. package/api/resources/organizationServiceFacilities/resources/v2/client/getByExternalId.d.ts +28 -0
  227. package/api/resources/organizationServiceFacilities/resources/v2/client/getByExternalId.js +68 -0
  228. package/api/resources/organizationServiceFacilities/resources/v2/client/index.d.ts +2 -1
  229. package/api/resources/organizationServiceFacilities/resources/v2/client/index.js +6 -5
  230. package/api/resources/organizationServiceFacilities/resources/v2/client/requests/GetAllOrganizationServiceFacilitiesRequest.d.ts +8 -12
  231. package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +4 -0
  232. package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +4 -0
  233. package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +4 -0
  234. package/api/resources/patientAr/client/Client.d.ts +2 -10
  235. package/api/resources/patientAr/resources/v1/client/Client.d.ts +9 -3
  236. package/api/resources/patientAr/resources/v1/client/Client.js +78 -50
  237. package/api/resources/patientAr/resources/v1/client/index.d.ts +1 -1
  238. package/api/resources/patientAr/resources/v1/client/index.js +4 -4
  239. package/api/resources/patientAr/resources/v1/client/requests/GetInventoryRecordsRequest.d.ts +2 -6
  240. package/api/resources/patientPayments/client/Client.d.ts +2 -10
  241. package/api/resources/patientPayments/resources/v3/types/PatientPayment.d.ts +1 -1
  242. package/api/resources/patientPayments/resources/v4/client/Client.d.ts +15 -6
  243. package/api/resources/patientPayments/resources/v4/client/Client.js +188 -108
  244. package/api/resources/patientPayments/resources/v4/client/index.d.ts +1 -1
  245. package/api/resources/patientPayments/resources/v4/client/index.js +4 -4
  246. package/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +4 -12
  247. package/api/resources/patientRefunds/client/Client.d.ts +2 -10
  248. package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +15 -6
  249. package/api/resources/patientRefunds/resources/v1/client/Client.js +188 -108
  250. package/api/resources/patientRefunds/resources/v1/client/index.d.ts +1 -1
  251. package/api/resources/patientRefunds/resources/v1/client/index.js +4 -4
  252. package/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +4 -12
  253. package/api/resources/payerPlanGroups/client/Client.d.ts +2 -10
  254. package/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +15 -6
  255. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +192 -112
  256. package/api/resources/payerPlanGroups/resources/v1/client/index.d.ts +1 -1
  257. package/api/resources/payerPlanGroups/resources/v1/client/index.js +4 -4
  258. package/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +3 -9
  259. package/api/resources/payers/client/Client.d.ts +5 -10
  260. package/api/resources/payers/client/Client.js +5 -0
  261. package/api/resources/payers/resources/index.d.ts +1 -0
  262. package/api/resources/payers/resources/index.js +2 -1
  263. package/api/resources/payers/resources/v3/client/Client.d.ts +9 -3
  264. package/api/resources/payers/resources/v3/client/Client.js +54 -34
  265. package/api/resources/payers/resources/v3/client/index.d.ts +1 -1
  266. package/api/resources/payers/resources/v3/client/index.js +4 -4
  267. package/api/resources/payers/resources/v3/client/requests/GetAllPayersRequest.d.ts +1 -3
  268. package/api/resources/payers/resources/v4/client/Client.d.ts +51 -0
  269. package/api/resources/payers/resources/v4/client/Client.js +177 -0
  270. package/{dist/api/resources/auth/resources/default/client/getMachineTokenForOrgId.d.ts → api/resources/payers/resources/v4/client/get.d.ts} +4 -4
  271. package/{dist/api/resources/auth/resources/default/client/getMachineTokenForOrgId.js → api/resources/payers/resources/v4/client/get.js} +1 -1
  272. package/api/resources/payers/resources/v4/client/getAll.d.ts +22 -0
  273. package/api/resources/payers/resources/v4/client/getAll.js +57 -0
  274. package/api/resources/payers/resources/v4/client/index.d.ts +3 -0
  275. package/api/resources/payers/resources/v4/client/index.js +42 -0
  276. package/api/resources/payers/resources/v4/client/requests/GetAllPayersRequest.d.ts +14 -0
  277. package/api/resources/payers/resources/v4/client/requests/GetAllPayersRequest.js +5 -0
  278. package/api/resources/payers/resources/v4/client/requests/index.d.ts +1 -0
  279. package/api/resources/payers/resources/v4/client/requests/index.js +2 -0
  280. package/api/resources/payers/resources/v4/index.d.ts +2 -0
  281. package/api/resources/payers/resources/v4/index.js +18 -0
  282. package/api/resources/payers/resources/v4/types/ClearinghousePayerInfo.d.ts +20 -0
  283. package/api/resources/payers/resources/v4/types/ClearinghousePayerInfo.js +5 -0
  284. package/api/resources/payers/resources/v4/types/Payer.d.ts +16 -0
  285. package/api/resources/payers/resources/v4/types/Payer.js +5 -0
  286. package/api/resources/payers/resources/v4/types/PayerIds.d.ts +11 -0
  287. package/api/resources/payers/resources/v4/types/PayerIds.js +5 -0
  288. package/api/resources/payers/resources/v4/types/PayerPage.d.ts +7 -0
  289. package/api/resources/payers/resources/v4/types/PayerPage.js +5 -0
  290. package/api/resources/payers/resources/v4/types/PayerUuid.d.ts +8 -0
  291. package/api/resources/payers/resources/v4/types/PayerUuid.js +9 -0
  292. package/api/resources/payers/resources/v4/types/PrimaryPayerIds.d.ts +11 -0
  293. package/api/resources/payers/resources/v4/types/PrimaryPayerIds.js +5 -0
  294. package/api/resources/payers/resources/v4/types/SupportState.d.ts +9 -0
  295. package/api/resources/payers/resources/v4/types/SupportState.js +11 -0
  296. package/api/resources/payers/resources/v4/types/index.d.ts +7 -0
  297. package/api/resources/payers/resources/v4/types/index.js +23 -0
  298. package/api/resources/preEncounter/client/Client.d.ts +2 -10
  299. package/api/resources/preEncounter/resources/appointments/client/Client.d.ts +2 -10
  300. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +22 -11
  301. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +254 -147
  302. package/api/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +1 -1
  303. package/api/resources/preEncounter/resources/appointments/resources/v1/client/index.js +4 -4
  304. package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/AppointmentScanRequest.d.ts +1 -1
  305. package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +2 -6
  306. package/api/resources/preEncounter/resources/common/types/CanonicalServiceFacilityId.d.ts +11 -0
  307. package/api/resources/preEncounter/resources/common/types/CanonicalServiceFacilityId.js +9 -0
  308. package/api/resources/preEncounter/resources/common/types/FilterQueryString.d.ts +1 -1
  309. package/api/resources/preEncounter/resources/common/types/index.d.ts +1 -0
  310. package/api/resources/preEncounter/resources/common/types/index.js +1 -0
  311. package/api/resources/preEncounter/resources/coverages/client/Client.d.ts +2 -10
  312. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +26 -14
  313. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +296 -163
  314. package/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +1 -1
  315. package/api/resources/preEncounter/resources/coverages/resources/v1/client/index.js +4 -4
  316. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.d.ts +1 -3
  317. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageScanRequest.d.ts +1 -1
  318. package/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -1
  319. package/api/resources/preEncounter/resources/eligibilityChecks/client/Client.d.ts +2 -10
  320. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +17 -7
  321. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +160 -88
  322. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +1 -1
  323. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +4 -4
  324. package/api/resources/preEncounter/resources/images/client/Client.d.ts +2 -10
  325. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.d.ts +15 -6
  326. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +175 -99
  327. package/api/resources/preEncounter/resources/images/resources/v1/client/index.d.ts +1 -1
  328. package/api/resources/preEncounter/resources/images/resources/v1/client/index.js +4 -4
  329. package/api/resources/preEncounter/resources/lists/client/Client.d.ts +2 -10
  330. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +9 -3
  331. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +67 -44
  332. package/api/resources/preEncounter/resources/lists/resources/v1/client/index.d.ts +1 -1
  333. package/api/resources/preEncounter/resources/lists/resources/v1/client/index.js +4 -4
  334. package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +3 -9
  335. package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +2 -6
  336. package/api/resources/preEncounter/resources/notes/client/Client.d.ts +2 -10
  337. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.d.ts +13 -5
  338. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +100 -51
  339. package/api/resources/preEncounter/resources/patients/client/Client.d.ts +2 -10
  340. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +41 -27
  341. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +435 -221
  342. package/api/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.d.ts +28 -0
  343. package/api/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.js +68 -0
  344. package/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +2 -1
  345. package/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +6 -5
  346. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +0 -4
  347. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +2 -6
  348. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.d.ts +1 -3
  349. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientScanRequest.d.ts +1 -1
  350. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +1 -3
  351. package/api/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
  352. package/api/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.d.ts +7 -0
  353. package/api/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.js +5 -0
  354. package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +5 -1
  355. package/api/resources/preEncounter/resources/patients/resources/v1/types/PatientServiceFacility.d.ts +10 -0
  356. package/api/resources/preEncounter/resources/patients/resources/v1/types/PatientServiceFacility.js +5 -0
  357. package/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.d.ts +2 -1
  358. package/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.js +1 -0
  359. package/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +2 -0
  360. package/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +2 -0
  361. package/api/resources/preEncounter/resources/tags/client/Client.d.ts +2 -10
  362. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.d.ts +15 -6
  363. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +127 -67
  364. package/api/resources/preEncounter/resources/tags/resources/v1/client/index.d.ts +1 -1
  365. package/api/resources/preEncounter/resources/tags/resources/v1/client/index.js +4 -4
  366. package/api/resources/serviceFacility/client/Client.d.ts +7 -2
  367. package/api/resources/serviceFacility/client/Client.js +27 -16
  368. package/api/resources/serviceLines/client/Client.d.ts +2 -10
  369. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +34 -4
  370. package/api/resources/serviceLines/resources/v2/client/Client.js +261 -61
  371. package/api/resources/serviceLines/resources/v2/client/createUniversal.d.ts +28 -0
  372. package/api/resources/serviceLines/resources/v2/client/createUniversal.js +68 -0
  373. package/api/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
  374. package/api/resources/serviceLines/resources/v2/client/index.js +3 -1
  375. package/api/resources/serviceLines/resources/v2/client/updateUniversal.d.ts +40 -0
  376. package/api/resources/serviceLines/resources/v2/client/updateUniversal.js +90 -0
  377. package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +12 -9
  378. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -45
  379. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.d.ts +7 -0
  380. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.js +5 -0
  381. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +47 -0
  382. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.js +5 -0
  383. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +9 -9
  384. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -47
  385. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.d.ts +7 -0
  386. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.js +5 -0
  387. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.d.ts +49 -0
  388. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.js +5 -0
  389. package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -45
  390. package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +45 -0
  391. package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.js +5 -0
  392. package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +13 -0
  393. package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.js +5 -0
  394. package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.d.ts +12 -0
  395. package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.js +5 -0
  396. package/api/resources/serviceLines/resources/v2/types/index.d.ts +7 -0
  397. package/api/resources/serviceLines/resources/v2/types/index.js +7 -0
  398. package/api/resources/superbills/client/Client.d.ts +2 -10
  399. package/api/resources/superbills/resources/v1/client/Client.d.ts +7 -2
  400. package/api/resources/superbills/resources/v1/client/Client.js +39 -24
  401. package/api/resources/superbills/resources/v1/client/index.d.ts +1 -1
  402. package/api/resources/superbills/resources/v1/client/index.js +4 -4
  403. package/api/resources/tasks/client/Client.d.ts +2 -10
  404. package/api/resources/tasks/resources/v3/client/Client.d.ts +15 -6
  405. package/api/resources/tasks/resources/v3/client/Client.js +168 -96
  406. package/api/resources/tasks/resources/v3/client/index.d.ts +1 -1
  407. package/api/resources/tasks/resources/v3/client/index.js +4 -4
  408. package/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +10 -30
  409. package/api/resources/writeOffs/client/Client.d.ts +2 -10
  410. package/api/resources/writeOffs/resources/v1/client/Client.d.ts +19 -9
  411. package/api/resources/writeOffs/resources/v1/client/Client.js +160 -90
  412. package/api/resources/writeOffs/resources/v1/client/index.d.ts +1 -1
  413. package/api/resources/writeOffs/resources/v1/client/index.js +4 -4
  414. package/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +2 -2
  415. package/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +4 -12
  416. package/api/resources/x12/resources/v1/types/TypeOfBillComposite.d.ts +1 -7
  417. package/api/resources/x12/resources/v1/types/TypeOfBillCompositeBase.d.ts +12 -0
  418. package/api/resources/x12/resources/v1/types/TypeOfBillCompositeBase.js +5 -0
  419. package/api/resources/x12/resources/v1/types/index.d.ts +1 -0
  420. package/api/resources/x12/resources/v1/types/index.js +1 -0
  421. package/core/auth/AuthProvider.d.ts +4 -0
  422. package/core/auth/AuthProvider.js +2 -0
  423. package/core/auth/AuthRequest.d.ts +9 -0
  424. package/core/auth/AuthRequest.js +2 -0
  425. package/core/auth/BasicAuth.js +3 -3
  426. package/core/base64.d.ts +2 -0
  427. package/core/base64.js +26 -0
  428. package/core/fetcher/APIResponse.d.ts +10 -0
  429. package/core/fetcher/BinaryResponse.d.ts +20 -0
  430. package/core/fetcher/BinaryResponse.js +17 -0
  431. package/core/fetcher/Fetcher.d.ts +4 -3
  432. package/core/fetcher/Fetcher.js +32 -12
  433. package/core/fetcher/Headers.d.ts +2 -0
  434. package/core/fetcher/Headers.js +84 -0
  435. package/core/fetcher/HttpResponsePromise.d.ts +58 -0
  436. package/core/fetcher/HttpResponsePromise.js +103 -0
  437. package/core/fetcher/RawResponse.d.ts +29 -0
  438. package/core/fetcher/RawResponse.js +44 -0
  439. package/core/fetcher/ResponseWithBody.d.ts +4 -0
  440. package/core/fetcher/ResponseWithBody.js +6 -0
  441. package/core/fetcher/createRequestUrl.d.ts +1 -1
  442. package/core/fetcher/createRequestUrl.js +3 -7
  443. package/core/fetcher/getErrorResponseBody.d.ts +1 -0
  444. package/core/fetcher/getErrorResponseBody.js +44 -0
  445. package/core/fetcher/getFetchFn.js +3 -3
  446. package/core/fetcher/getResponseBody.js +34 -32
  447. package/core/fetcher/index.d.ts +5 -1
  448. package/core/fetcher/index.js +7 -1
  449. package/core/fetcher/requestWithRetries.js +44 -8
  450. package/core/form-data-utils/FormDataWrapper.d.ts +4 -0
  451. package/core/form-data-utils/FormDataWrapper.js +58 -13
  452. package/core/form-data-utils/encodeAsFormParameter.d.ts +1 -0
  453. package/core/form-data-utils/encodeAsFormParameter.js +12 -0
  454. package/core/form-data-utils/index.d.ts +1 -0
  455. package/core/form-data-utils/index.js +3 -0
  456. package/core/headers.d.ts +3 -0
  457. package/core/headers.js +29 -0
  458. package/core/index.d.ts +2 -0
  459. package/core/index.js +3 -1
  460. package/core/runtime/runtime.js +0 -1
  461. package/core/schemas/builders/lazy/index.d.ts +1 -1
  462. package/core/schemas/builders/literals/index.d.ts +1 -1
  463. package/core/schemas/builders/literals/index.js +3 -3
  464. package/core/schemas/builders/object/index.d.ts +2 -2
  465. package/core/schemas/builders/object/object.d.ts +1 -1
  466. package/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +1 -1
  467. package/core/schemas/builders/object/types.d.ts +1 -1
  468. package/core/schemas/builders/schema-utils/index.d.ts +1 -1
  469. package/core/schemas/builders/undiscriminated-union/types.d.ts +1 -1
  470. package/core/schemas/builders/union/index.d.ts +1 -1
  471. package/core/schemas/builders/union/types.d.ts +1 -1
  472. package/core/schemas/builders/union/union.d.ts +1 -1
  473. package/core/schemas/utils/maybeSkipValidation.js +1 -1
  474. package/core/url/index.d.ts +2 -0
  475. package/core/url/index.js +7 -0
  476. package/core/url/join.d.ts +1 -0
  477. package/core/url/join.js +69 -0
  478. package/core/url/qs.d.ts +6 -0
  479. package/core/url/qs.js +64 -0
  480. package/dist/Client.d.ts +5 -1
  481. package/dist/Client.js +10 -4
  482. package/dist/api/resources/auth/client/Client.d.ts +2 -10
  483. package/dist/api/resources/auth/resources/default/client/Client.d.ts +7 -12
  484. package/dist/api/resources/auth/resources/default/client/Client.js +39 -66
  485. package/dist/api/resources/auth/resources/default/client/index.d.ts +1 -2
  486. package/dist/api/resources/auth/resources/default/client/index.js +5 -6
  487. package/dist/api/resources/auth/resources/default/client/requests/index.d.ts +0 -1
  488. package/dist/api/resources/billingNotes/client/Client.d.ts +2 -10
  489. package/dist/api/resources/billingNotes/resources/v2/client/Client.d.ts +13 -5
  490. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +100 -54
  491. package/dist/api/resources/billingNotes/resources/v2/client/index.d.ts +1 -1
  492. package/dist/api/resources/billingNotes/resources/v2/client/index.js +4 -4
  493. package/dist/api/resources/billingNotes/resources/v2/client/requests/StandaloneBillingNoteCreate.d.ts +2 -1
  494. package/dist/api/resources/billingNotes/resources/v2/types/BillingNote.d.ts +1 -1
  495. package/dist/api/resources/chargeCapture/client/Client.d.ts +2 -10
  496. package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +17 -7
  497. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +278 -117
  498. package/dist/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
  499. package/dist/api/resources/chargeCapture/resources/v1/client/index.js +4 -4
  500. package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +46 -84
  501. package/dist/api/resources/chargeCaptureBundles/client/Client.d.ts +2 -10
  502. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +13 -5
  503. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +153 -66
  504. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +1 -1
  505. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.js +4 -4
  506. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.d.ts +26 -48
  507. package/dist/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +2 -2
  508. package/dist/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.d.ts +2 -2
  509. package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +4 -4
  510. package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.d.ts +4 -4
  511. package/dist/api/resources/claims/types/Claim.d.ts +5 -5
  512. package/dist/api/resources/commons/types/Clearinghouse.d.ts +14 -0
  513. package/dist/api/resources/commons/types/Clearinghouse.js +16 -0
  514. package/dist/api/resources/commons/types/ProcedureModifier.d.ts +13 -2
  515. package/dist/api/resources/commons/types/ProcedureModifier.js +11 -0
  516. package/dist/api/resources/commons/types/index.d.ts +1 -0
  517. package/dist/api/resources/commons/types/index.js +1 -0
  518. package/dist/api/resources/contracts/client/Client.d.ts +2 -10
  519. package/dist/api/resources/contracts/resources/v2/client/Client.d.ts +30 -7
  520. package/dist/api/resources/contracts/resources/v2/client/Client.js +179 -93
  521. package/dist/api/resources/contracts/resources/v2/client/index.d.ts +1 -1
  522. package/dist/api/resources/contracts/resources/v2/client/index.js +4 -4
  523. package/dist/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +15 -1
  524. package/dist/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts +5 -15
  525. package/dist/api/resources/credentialing/client/Client.d.ts +2 -10
  526. package/dist/api/resources/credentialing/resources/v2/client/Client.d.ts +25 -11
  527. package/dist/api/resources/credentialing/resources/v2/client/Client.js +374 -211
  528. package/dist/api/resources/credentialing/resources/v2/client/index.d.ts +1 -1
  529. package/dist/api/resources/credentialing/resources/v2/client/index.js +4 -4
  530. package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllFacilityCredentialingSpansRequest.d.ts +4 -12
  531. package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +5 -15
  532. package/dist/api/resources/customSchemas/client/Client.d.ts +2 -10
  533. package/dist/api/resources/customSchemas/resources/v1/client/Client.d.ts +13 -5
  534. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +154 -89
  535. package/dist/api/resources/customSchemas/resources/v1/client/index.d.ts +1 -1
  536. package/dist/api/resources/customSchemas/resources/v1/client/index.js +4 -4
  537. package/dist/api/resources/diagnoses/client/Client.d.ts +13 -6
  538. package/dist/api/resources/diagnoses/client/Client.js +101 -56
  539. package/dist/api/resources/diagnoses/client/index.d.ts +1 -1
  540. package/dist/api/resources/diagnoses/client/index.js +4 -4
  541. package/dist/api/resources/diagnoses/types/Diagnosis.d.ts +2 -2
  542. package/dist/api/resources/eligibility/client/Client.d.ts +2 -10
  543. package/dist/api/resources/eligibility/resources/v2/client/Client.d.ts +11 -4
  544. package/dist/api/resources/eligibility/resources/v2/client/Client.js +102 -52
  545. package/dist/api/resources/encounterAttachments/client/Client.d.ts +2 -10
  546. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +11 -4
  547. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +74 -37
  548. package/dist/api/resources/encounterAttachments/resources/v1/client/index.d.ts +1 -1
  549. package/dist/api/resources/encounterAttachments/resources/v1/client/index.js +4 -4
  550. package/dist/api/resources/encounterProviders/client/Client.d.ts +2 -10
  551. package/dist/api/resources/encounterProviders/resources/v2/client/Client.d.ts +29 -13
  552. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +449 -238
  553. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +1 -1
  554. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +1 -1
  555. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +1 -1
  556. package/dist/api/resources/encounters/client/Client.d.ts +2 -10
  557. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +60 -46
  558. package/dist/api/resources/encounters/resources/v4/client/Client.js +217 -136
  559. package/dist/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
  560. package/dist/api/resources/encounters/resources/v4/client/create.js +11 -0
  561. package/dist/api/resources/encounters/resources/v4/client/index.d.ts +1 -1
  562. package/dist/api/resources/encounters/resources/v4/client/index.js +4 -4
  563. package/dist/api/resources/encounters/resources/v4/client/requests/GetAllEncountersRequest.d.ts +14 -40
  564. package/dist/api/resources/encounters/resources/v4/client/requests/index.d.ts +0 -2
  565. package/dist/api/resources/encounters/resources/v4/types/ClinicalNoteCategory.d.ts +1 -1
  566. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +27 -41
  567. package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +10 -11
  568. package/dist/api/resources/encounters/resources/v4/types/EncounterCreate.d.ts +27 -0
  569. package/dist/api/resources/encounters/resources/v4/types/EncounterCreate.js +5 -0
  570. package/dist/api/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.d.ts +3 -36
  571. package/dist/api/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +9 -4
  572. package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +10 -16
  573. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +14 -21
  574. package/dist/api/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.d.ts +5 -0
  575. package/dist/api/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.js +5 -0
  576. package/dist/api/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.d.ts +2 -3
  577. package/dist/api/resources/encounters/resources/v4/types/EncounterUpdate.d.ts +17 -0
  578. package/dist/api/resources/encounters/resources/v4/types/EncounterUpdate.js +5 -0
  579. package/dist/api/resources/encounters/resources/v4/types/index.d.ts +7 -4
  580. package/dist/api/resources/encounters/resources/v4/types/index.js +7 -4
  581. package/dist/api/resources/encountersUniversal/index.d.ts +1 -0
  582. package/dist/api/resources/encountersUniversal/index.js +17 -0
  583. package/dist/api/resources/{encounters/resources/v4/client/requests/EncounterCreate.d.ts → encountersUniversal/types/UniversalEncounterCreateBase.d.ts} +9 -70
  584. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateBase.js +5 -0
  585. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +40 -0
  586. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +5 -0
  587. package/dist/api/resources/{encounters/resources/v4/client/requests/EncounterUpdate.d.ts → encountersUniversal/types/UniversalEncounterUpdateBase.d.ts} +9 -18
  588. package/dist/api/resources/encountersUniversal/types/UniversalEncounterUpdateBase.js +5 -0
  589. package/dist/api/resources/encountersUniversal/types/index.d.ts +3 -0
  590. package/dist/api/resources/encountersUniversal/types/index.js +19 -0
  591. package/dist/api/resources/expectedNetworkStatus/client/Client.d.ts +2 -10
  592. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +7 -2
  593. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +27 -16
  594. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/index.d.ts +1 -1
  595. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/index.js +4 -4
  596. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +9 -3
  597. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +79 -46
  598. package/dist/api/resources/exports/client/Client.d.ts +2 -10
  599. package/dist/api/resources/exports/resources/v3/client/Client.d.ts +7 -2
  600. package/dist/api/resources/exports/resources/v3/client/Client.js +39 -27
  601. package/dist/api/resources/exports/resources/v3/client/index.d.ts +1 -1
  602. package/dist/api/resources/exports/resources/v3/client/index.js +4 -4
  603. package/dist/api/resources/exports/resources/v3/types/GetExportsResponse.d.ts +2 -2
  604. package/dist/api/resources/externalPaymentAccountConfig/client/Client.d.ts +2 -10
  605. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.d.ts +7 -2
  606. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +28 -20
  607. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/index.d.ts +1 -1
  608. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/index.js +4 -4
  609. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/requests/GetExternalPaymentAccountConfigsRequest.d.ts +1 -3
  610. package/dist/api/resources/feeSchedules/client/Client.d.ts +2 -10
  611. package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +40 -12
  612. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +413 -199
  613. package/dist/api/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.d.ts +22 -0
  614. package/dist/api/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.js +57 -0
  615. package/dist/api/resources/feeSchedules/resources/v3/client/index.d.ts +2 -1
  616. package/dist/api/resources/feeSchedules/resources/v3/client/index.js +6 -5
  617. package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -3
  618. package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +2 -6
  619. package/dist/api/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.d.ts +13 -0
  620. package/dist/api/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.js +5 -0
  621. package/dist/api/resources/feeSchedules/resources/v3/client/requests/index.d.ts +1 -0
  622. package/dist/api/resources/feeSchedules/resources/v3/types/ValidationError.d.ts +4 -1
  623. package/dist/api/resources/financials/types/PatientTransactionSource.d.ts +2 -1
  624. package/dist/api/resources/financials/types/PatientTransactionSource.js +1 -0
  625. package/dist/api/resources/guarantor/client/Client.d.ts +2 -10
  626. package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +11 -4
  627. package/dist/api/resources/guarantor/resources/v1/client/Client.js +91 -50
  628. package/dist/api/resources/guarantor/resources/v1/types/Guarantor.d.ts +2 -0
  629. package/dist/api/resources/guarantor/resources/v1/types/GuarantorCreate.d.ts +2 -0
  630. package/dist/api/resources/guarantor/resources/v1/types/GuarantorOptional.d.ts +1 -0
  631. package/dist/api/resources/guarantor/resources/v1/types/GuarantorUpdate.d.ts +1 -0
  632. package/dist/api/resources/healthCareCodeInformation/client/Client.d.ts +2 -10
  633. package/dist/api/resources/healthCareCodeInformation/resources/v1/client/Client.d.ts +9 -3
  634. package/dist/api/resources/healthCareCodeInformation/resources/v1/client/Client.js +78 -47
  635. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.d.ts +433 -40
  636. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.js +95 -1
  637. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.d.ts +12 -1
  638. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.d.ts +0 -52
  639. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.d.ts +14 -1
  640. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.d.ts +3 -0
  641. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformation.d.ts +6 -0
  642. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.d.ts +24 -5
  643. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.js +5 -1
  644. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformation.d.ts +6 -0
  645. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformation.d.ts +6 -0
  646. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.d.ts +12 -0
  647. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +0 -2
  648. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/index.js +0 -2
  649. package/dist/api/resources/importInvoice/client/Client.d.ts +2 -10
  650. package/dist/api/resources/importInvoice/resources/v1/client/Client.d.ts +13 -5
  651. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +142 -82
  652. package/dist/api/resources/importInvoice/resources/v1/client/index.d.ts +1 -1
  653. package/dist/api/resources/importInvoice/resources/v1/client/index.js +4 -4
  654. package/dist/api/resources/importInvoice/resources/v1/client/requests/SearchImportedInvoicesRequest.d.ts +7 -21
  655. package/dist/api/resources/index.d.ts +1 -0
  656. package/dist/api/resources/index.js +3 -2
  657. package/dist/api/resources/individual/types/Patient.d.ts +2 -0
  658. package/dist/api/resources/individual/types/PatientBase.d.ts +2 -2
  659. package/dist/api/resources/individual/types/PatientCreate.d.ts +2 -0
  660. package/dist/api/resources/individual/types/PatientUpdate.d.ts +3 -2
  661. package/dist/api/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +3 -2
  662. package/dist/api/resources/insuranceAdjudications/client/Client.d.ts +2 -10
  663. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +11 -4
  664. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +86 -47
  665. package/dist/api/resources/insurancePayments/client/Client.d.ts +2 -10
  666. package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +9 -3
  667. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +78 -50
  668. package/dist/api/resources/insurancePayments/resources/v1/client/index.d.ts +1 -1
  669. package/dist/api/resources/insurancePayments/resources/v1/client/index.js +4 -4
  670. package/dist/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +3 -9
  671. package/dist/api/resources/insuranceRefunds/client/Client.d.ts +2 -10
  672. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +15 -6
  673. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +188 -108
  674. package/dist/api/resources/insuranceRefunds/resources/v1/client/index.d.ts +1 -1
  675. package/dist/api/resources/insuranceRefunds/resources/v1/client/index.js +4 -4
  676. package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.d.ts +3 -9
  677. package/dist/api/resources/medicationDispense/client/Client.d.ts +2 -10
  678. package/dist/api/resources/medicationDispense/resources/v1/client/Client.d.ts +7 -2
  679. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +39 -24
  680. package/dist/api/resources/nonInsurancePayerPayments/client/Client.d.ts +2 -10
  681. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +15 -6
  682. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +188 -108
  683. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/index.d.ts +1 -1
  684. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/index.js +4 -4
  685. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/GetMultiNonInsurancePayerPaymentRequest.d.ts +3 -9
  686. package/dist/api/resources/nonInsurancePayerRefunds/client/Client.d.ts +2 -10
  687. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +15 -6
  688. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +188 -108
  689. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/index.d.ts +1 -1
  690. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/index.js +4 -4
  691. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/GetMultiNonInsurancePayerRefundsRequest.d.ts +3 -9
  692. package/dist/api/resources/nonInsurancePayers/client/Client.d.ts +2 -10
  693. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +19 -8
  694. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +252 -143
  695. package/dist/api/resources/nonInsurancePayers/resources/v1/client/index.d.ts +1 -1
  696. package/dist/api/resources/nonInsurancePayers/resources/v1/client/index.js +4 -4
  697. package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +2 -6
  698. package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/GetNonInsurancePayersCategoriesRequest.d.ts +3 -9
  699. package/dist/api/resources/organizationProviders/client/Client.d.ts +2 -10
  700. package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +5 -1
  701. package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.js +4 -0
  702. package/dist/api/resources/organizationProviders/resources/v3/client/Client.d.ts +13 -5
  703. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +142 -82
  704. package/dist/api/resources/organizationProviders/resources/v3/client/index.d.ts +1 -1
  705. package/dist/api/resources/organizationProviders/resources/v3/client/index.js +4 -4
  706. package/dist/api/resources/organizationProviders/resources/v3/client/requests/GetAllOrganizationProvidersRequestV2.d.ts +8 -24
  707. package/dist/api/resources/organizationServiceFacilities/client/Client.d.ts +2 -10
  708. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +28 -6
  709. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +261 -100
  710. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/getByExternalId.d.ts +28 -0
  711. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/getByExternalId.js +68 -0
  712. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/index.d.ts +2 -1
  713. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/index.js +6 -5
  714. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/requests/GetAllOrganizationServiceFacilitiesRequest.d.ts +8 -12
  715. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +4 -0
  716. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +4 -0
  717. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +4 -0
  718. package/dist/api/resources/patientAr/client/Client.d.ts +2 -10
  719. package/dist/api/resources/patientAr/resources/v1/client/Client.d.ts +9 -3
  720. package/dist/api/resources/patientAr/resources/v1/client/Client.js +78 -50
  721. package/dist/api/resources/patientAr/resources/v1/client/index.d.ts +1 -1
  722. package/dist/api/resources/patientAr/resources/v1/client/index.js +4 -4
  723. package/dist/api/resources/patientAr/resources/v1/client/requests/GetInventoryRecordsRequest.d.ts +2 -6
  724. package/dist/api/resources/patientPayments/client/Client.d.ts +2 -10
  725. package/dist/api/resources/patientPayments/resources/v3/types/PatientPayment.d.ts +1 -1
  726. package/dist/api/resources/patientPayments/resources/v4/client/Client.d.ts +15 -6
  727. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +188 -108
  728. package/dist/api/resources/patientPayments/resources/v4/client/index.d.ts +1 -1
  729. package/dist/api/resources/patientPayments/resources/v4/client/index.js +4 -4
  730. package/dist/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +4 -12
  731. package/dist/api/resources/patientRefunds/client/Client.d.ts +2 -10
  732. package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +15 -6
  733. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +188 -108
  734. package/dist/api/resources/patientRefunds/resources/v1/client/index.d.ts +1 -1
  735. package/dist/api/resources/patientRefunds/resources/v1/client/index.js +4 -4
  736. package/dist/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +4 -12
  737. package/dist/api/resources/payerPlanGroups/client/Client.d.ts +2 -10
  738. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +15 -6
  739. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +192 -112
  740. package/dist/api/resources/payerPlanGroups/resources/v1/client/index.d.ts +1 -1
  741. package/dist/api/resources/payerPlanGroups/resources/v1/client/index.js +4 -4
  742. package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +3 -9
  743. package/dist/api/resources/payers/client/Client.d.ts +5 -10
  744. package/dist/api/resources/payers/client/Client.js +5 -0
  745. package/dist/api/resources/payers/resources/index.d.ts +1 -0
  746. package/dist/api/resources/payers/resources/index.js +2 -1
  747. package/dist/api/resources/payers/resources/v3/client/Client.d.ts +9 -3
  748. package/dist/api/resources/payers/resources/v3/client/Client.js +54 -34
  749. package/dist/api/resources/payers/resources/v3/client/index.d.ts +1 -1
  750. package/dist/api/resources/payers/resources/v3/client/index.js +4 -4
  751. package/dist/api/resources/payers/resources/v3/client/requests/GetAllPayersRequest.d.ts +1 -3
  752. package/dist/api/resources/payers/resources/v4/client/Client.d.ts +51 -0
  753. package/dist/api/resources/payers/resources/v4/client/Client.js +177 -0
  754. package/dist/api/resources/payers/resources/v4/client/get.d.ts +22 -0
  755. package/dist/api/resources/payers/resources/v4/client/get.js +57 -0
  756. package/dist/api/resources/payers/resources/v4/client/getAll.d.ts +22 -0
  757. package/dist/api/resources/payers/resources/v4/client/getAll.js +57 -0
  758. package/dist/api/resources/payers/resources/v4/client/index.d.ts +3 -0
  759. package/dist/api/resources/payers/resources/v4/client/index.js +42 -0
  760. package/dist/api/resources/payers/resources/v4/client/requests/GetAllPayersRequest.d.ts +14 -0
  761. package/dist/api/resources/payers/resources/v4/client/requests/GetAllPayersRequest.js +5 -0
  762. package/dist/api/resources/payers/resources/v4/client/requests/index.d.ts +1 -0
  763. package/dist/api/resources/payers/resources/v4/client/requests/index.js +2 -0
  764. package/dist/api/resources/payers/resources/v4/index.d.ts +2 -0
  765. package/dist/api/resources/payers/resources/v4/index.js +18 -0
  766. package/dist/api/resources/payers/resources/v4/types/ClearinghousePayerInfo.d.ts +20 -0
  767. package/dist/api/resources/payers/resources/v4/types/ClearinghousePayerInfo.js +5 -0
  768. package/dist/api/resources/payers/resources/v4/types/Payer.d.ts +16 -0
  769. package/dist/api/resources/payers/resources/v4/types/Payer.js +5 -0
  770. package/dist/api/resources/payers/resources/v4/types/PayerIds.d.ts +11 -0
  771. package/dist/api/resources/payers/resources/v4/types/PayerIds.js +5 -0
  772. package/dist/api/resources/payers/resources/v4/types/PayerPage.d.ts +7 -0
  773. package/dist/api/resources/payers/resources/v4/types/PayerPage.js +5 -0
  774. package/dist/api/resources/payers/resources/v4/types/PayerUuid.d.ts +8 -0
  775. package/dist/api/resources/payers/resources/v4/types/PayerUuid.js +9 -0
  776. package/dist/api/resources/payers/resources/v4/types/PrimaryPayerIds.d.ts +11 -0
  777. package/dist/api/resources/payers/resources/v4/types/PrimaryPayerIds.js +5 -0
  778. package/dist/api/resources/payers/resources/v4/types/SupportState.d.ts +9 -0
  779. package/dist/api/resources/payers/resources/v4/types/SupportState.js +11 -0
  780. package/dist/api/resources/payers/resources/v4/types/index.d.ts +7 -0
  781. package/dist/api/resources/payers/resources/v4/types/index.js +23 -0
  782. package/dist/api/resources/preEncounter/client/Client.d.ts +2 -10
  783. package/dist/api/resources/preEncounter/resources/appointments/client/Client.d.ts +2 -10
  784. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +22 -11
  785. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +254 -147
  786. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +1 -1
  787. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/index.js +4 -4
  788. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/AppointmentScanRequest.d.ts +1 -1
  789. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +2 -6
  790. package/dist/api/resources/preEncounter/resources/common/types/CanonicalServiceFacilityId.d.ts +11 -0
  791. package/dist/api/resources/preEncounter/resources/common/types/CanonicalServiceFacilityId.js +9 -0
  792. package/dist/api/resources/preEncounter/resources/common/types/FilterQueryString.d.ts +1 -1
  793. package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +1 -0
  794. package/dist/api/resources/preEncounter/resources/common/types/index.js +1 -0
  795. package/dist/api/resources/preEncounter/resources/coverages/client/Client.d.ts +2 -10
  796. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +26 -14
  797. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +296 -163
  798. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +1 -1
  799. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.js +4 -4
  800. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.d.ts +1 -3
  801. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageScanRequest.d.ts +1 -1
  802. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -1
  803. package/dist/api/resources/preEncounter/resources/eligibilityChecks/client/Client.d.ts +2 -10
  804. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +17 -7
  805. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +160 -88
  806. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +1 -1
  807. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +4 -4
  808. package/dist/api/resources/preEncounter/resources/images/client/Client.d.ts +2 -10
  809. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.d.ts +15 -6
  810. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +175 -99
  811. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/index.d.ts +1 -1
  812. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/index.js +4 -4
  813. package/dist/api/resources/preEncounter/resources/lists/client/Client.d.ts +2 -10
  814. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +9 -3
  815. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +67 -44
  816. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/index.d.ts +1 -1
  817. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/index.js +4 -4
  818. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +3 -9
  819. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +2 -6
  820. package/dist/api/resources/preEncounter/resources/notes/client/Client.d.ts +2 -10
  821. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.d.ts +13 -5
  822. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +100 -51
  823. package/dist/api/resources/preEncounter/resources/patients/client/Client.d.ts +2 -10
  824. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +41 -27
  825. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +435 -221
  826. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.d.ts +28 -0
  827. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.js +68 -0
  828. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +2 -1
  829. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +6 -5
  830. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +0 -4
  831. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +2 -6
  832. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.d.ts +1 -3
  833. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientScanRequest.d.ts +1 -1
  834. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +1 -3
  835. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
  836. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.d.ts +7 -0
  837. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.js +5 -0
  838. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +5 -1
  839. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PatientServiceFacility.d.ts +10 -0
  840. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PatientServiceFacility.js +5 -0
  841. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.d.ts +2 -1
  842. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.js +1 -0
  843. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +2 -0
  844. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +2 -0
  845. package/dist/api/resources/preEncounter/resources/tags/client/Client.d.ts +2 -10
  846. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.d.ts +15 -6
  847. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +127 -67
  848. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/index.d.ts +1 -1
  849. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/index.js +4 -4
  850. package/dist/api/resources/serviceFacility/client/Client.d.ts +7 -2
  851. package/dist/api/resources/serviceFacility/client/Client.js +27 -16
  852. package/dist/api/resources/serviceLines/client/Client.d.ts +2 -10
  853. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +34 -4
  854. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +261 -61
  855. package/dist/api/resources/serviceLines/resources/v2/client/createUniversal.d.ts +28 -0
  856. package/dist/api/resources/serviceLines/resources/v2/client/createUniversal.js +68 -0
  857. package/dist/api/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
  858. package/dist/api/resources/serviceLines/resources/v2/client/index.js +3 -1
  859. package/dist/api/resources/serviceLines/resources/v2/client/updateUniversal.d.ts +40 -0
  860. package/dist/api/resources/serviceLines/resources/v2/client/updateUniversal.js +90 -0
  861. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +12 -9
  862. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -45
  863. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.d.ts +7 -0
  864. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.js +5 -0
  865. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +47 -0
  866. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.js +5 -0
  867. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +9 -9
  868. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -47
  869. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.d.ts +7 -0
  870. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.js +5 -0
  871. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.d.ts +49 -0
  872. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.js +5 -0
  873. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -45
  874. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +45 -0
  875. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.js +5 -0
  876. package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +13 -0
  877. package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.js +5 -0
  878. package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.d.ts +12 -0
  879. package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.js +5 -0
  880. package/dist/api/resources/serviceLines/resources/v2/types/index.d.ts +7 -0
  881. package/dist/api/resources/serviceLines/resources/v2/types/index.js +7 -0
  882. package/dist/api/resources/superbills/client/Client.d.ts +2 -10
  883. package/dist/api/resources/superbills/resources/v1/client/Client.d.ts +7 -2
  884. package/dist/api/resources/superbills/resources/v1/client/Client.js +39 -24
  885. package/dist/api/resources/superbills/resources/v1/client/index.d.ts +1 -1
  886. package/dist/api/resources/superbills/resources/v1/client/index.js +4 -4
  887. package/dist/api/resources/tasks/client/Client.d.ts +2 -10
  888. package/dist/api/resources/tasks/resources/v3/client/Client.d.ts +15 -6
  889. package/dist/api/resources/tasks/resources/v3/client/Client.js +168 -96
  890. package/dist/api/resources/tasks/resources/v3/client/index.d.ts +1 -1
  891. package/dist/api/resources/tasks/resources/v3/client/index.js +4 -4
  892. package/dist/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +10 -30
  893. package/dist/api/resources/writeOffs/client/Client.d.ts +2 -10
  894. package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +19 -9
  895. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +160 -90
  896. package/dist/api/resources/writeOffs/resources/v1/client/index.d.ts +1 -1
  897. package/dist/api/resources/writeOffs/resources/v1/client/index.js +4 -4
  898. package/dist/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +2 -2
  899. package/dist/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +4 -12
  900. package/dist/api/resources/x12/resources/v1/types/TypeOfBillComposite.d.ts +1 -7
  901. package/dist/api/resources/x12/resources/v1/types/TypeOfBillCompositeBase.d.ts +12 -0
  902. package/dist/api/resources/x12/resources/v1/types/TypeOfBillCompositeBase.js +5 -0
  903. package/dist/api/resources/x12/resources/v1/types/index.d.ts +1 -0
  904. package/dist/api/resources/x12/resources/v1/types/index.js +1 -0
  905. package/dist/core/auth/AuthProvider.d.ts +4 -0
  906. package/dist/core/auth/AuthProvider.js +2 -0
  907. package/dist/core/auth/AuthRequest.d.ts +9 -0
  908. package/dist/core/auth/AuthRequest.js +2 -0
  909. package/dist/core/auth/BasicAuth.js +3 -3
  910. package/dist/core/base64.d.ts +2 -0
  911. package/dist/core/base64.js +26 -0
  912. package/dist/core/fetcher/APIResponse.d.ts +10 -0
  913. package/dist/core/fetcher/BinaryResponse.d.ts +20 -0
  914. package/dist/core/fetcher/BinaryResponse.js +17 -0
  915. package/dist/core/fetcher/Fetcher.d.ts +4 -3
  916. package/dist/core/fetcher/Fetcher.js +32 -12
  917. package/dist/core/fetcher/Headers.d.ts +2 -0
  918. package/dist/core/fetcher/Headers.js +84 -0
  919. package/dist/core/fetcher/HttpResponsePromise.d.ts +58 -0
  920. package/dist/core/fetcher/HttpResponsePromise.js +103 -0
  921. package/dist/core/fetcher/RawResponse.d.ts +29 -0
  922. package/dist/core/fetcher/RawResponse.js +44 -0
  923. package/dist/core/fetcher/ResponseWithBody.d.ts +4 -0
  924. package/dist/core/fetcher/ResponseWithBody.js +6 -0
  925. package/dist/core/fetcher/createRequestUrl.d.ts +1 -1
  926. package/dist/core/fetcher/createRequestUrl.js +3 -7
  927. package/dist/core/fetcher/getErrorResponseBody.d.ts +1 -0
  928. package/dist/core/fetcher/getErrorResponseBody.js +44 -0
  929. package/dist/core/fetcher/getFetchFn.js +3 -3
  930. package/dist/core/fetcher/getResponseBody.js +34 -32
  931. package/dist/core/fetcher/index.d.ts +5 -1
  932. package/dist/core/fetcher/index.js +7 -1
  933. package/dist/core/fetcher/requestWithRetries.js +44 -8
  934. package/dist/core/form-data-utils/FormDataWrapper.d.ts +4 -0
  935. package/dist/core/form-data-utils/FormDataWrapper.js +58 -13
  936. package/dist/core/form-data-utils/encodeAsFormParameter.d.ts +1 -0
  937. package/dist/core/form-data-utils/encodeAsFormParameter.js +12 -0
  938. package/dist/core/form-data-utils/index.d.ts +1 -0
  939. package/dist/core/form-data-utils/index.js +3 -0
  940. package/dist/core/headers.d.ts +3 -0
  941. package/dist/core/headers.js +29 -0
  942. package/dist/core/index.d.ts +2 -0
  943. package/dist/core/index.js +3 -1
  944. package/dist/core/runtime/runtime.js +0 -1
  945. package/dist/core/schemas/builders/lazy/index.d.ts +1 -1
  946. package/dist/core/schemas/builders/literals/index.d.ts +1 -1
  947. package/dist/core/schemas/builders/literals/index.js +3 -3
  948. package/dist/core/schemas/builders/object/index.d.ts +2 -2
  949. package/dist/core/schemas/builders/object/object.d.ts +1 -1
  950. package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +1 -1
  951. package/dist/core/schemas/builders/object/types.d.ts +1 -1
  952. package/dist/core/schemas/builders/schema-utils/index.d.ts +1 -1
  953. package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +1 -1
  954. package/dist/core/schemas/builders/union/index.d.ts +1 -1
  955. package/dist/core/schemas/builders/union/types.d.ts +1 -1
  956. package/dist/core/schemas/builders/union/union.d.ts +1 -1
  957. package/dist/core/schemas/utils/maybeSkipValidation.js +1 -1
  958. package/dist/core/url/index.d.ts +2 -0
  959. package/dist/core/url/index.js +7 -0
  960. package/dist/core/url/join.d.ts +1 -0
  961. package/dist/core/url/join.js +69 -0
  962. package/dist/core/url/qs.d.ts +6 -0
  963. package/dist/core/url/qs.js +64 -0
  964. package/dist/errors/CandidApiError.d.ts +4 -1
  965. package/dist/errors/CandidApiError.js +4 -7
  966. package/dist/index.d.ts +2 -2
  967. package/dist/index.js +5 -5
  968. package/dist/serialization/resources/auth/resources/default/client/requests/index.d.ts +0 -1
  969. package/dist/serialization/resources/auth/resources/default/client/requests/index.js +1 -3
  970. package/dist/serialization/resources/commons/types/Clearinghouse.d.ts +10 -0
  971. package/dist/serialization/resources/commons/types/Clearinghouse.js +50 -0
  972. package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  973. package/dist/serialization/resources/commons/types/ProcedureModifier.js +11 -0
  974. package/dist/serialization/resources/commons/types/index.d.ts +1 -0
  975. package/dist/serialization/resources/commons/types/index.js +1 -0
  976. package/dist/serialization/resources/encounters/resources/v4/client/create.d.ts +6 -1
  977. package/dist/serialization/resources/encounters/resources/v4/client/create.js +6 -0
  978. package/dist/serialization/resources/encounters/resources/v4/client/index.d.ts +0 -1
  979. package/dist/serialization/resources/encounters/resources/v4/client/index.js +0 -4
  980. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +3 -4
  981. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +3 -4
  982. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +2 -2
  983. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.js +2 -2
  984. package/dist/serialization/resources/encounters/resources/v4/types/EncounterCreate.d.ts +22 -0
  985. package/dist/serialization/resources/encounters/resources/v4/types/EncounterCreate.js +55 -0
  986. package/dist/serialization/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.d.ts +4 -28
  987. package/dist/serialization/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.js +4 -28
  988. package/dist/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +2 -0
  989. package/dist/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.js +2 -0
  990. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +0 -2
  991. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +0 -2
  992. package/dist/serialization/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.d.ts +11 -0
  993. package/{serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.js → dist/serialization/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.js} +3 -5
  994. package/dist/serialization/resources/encounters/resources/v4/types/EncounterUpdate.d.ts +16 -0
  995. package/dist/serialization/resources/encounters/resources/v4/types/EncounterUpdate.js +49 -0
  996. package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +7 -4
  997. package/dist/serialization/resources/encounters/resources/v4/types/index.js +7 -4
  998. package/dist/serialization/resources/encountersUniversal/index.d.ts +1 -0
  999. package/dist/serialization/resources/encountersUniversal/index.js +17 -0
  1000. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +50 -0
  1001. package/{serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js → dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.js} +21 -31
  1002. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +36 -0
  1003. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +69 -0
  1004. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +46 -0
  1005. package/dist/serialization/resources/{encounters/resources/v4/client/requests/EncounterUpdate.js → encountersUniversal/types/UniversalEncounterUpdateBase.js} +20 -22
  1006. package/dist/serialization/resources/encountersUniversal/types/index.d.ts +3 -0
  1007. package/dist/serialization/resources/encountersUniversal/types/index.js +19 -0
  1008. package/dist/serialization/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.d.ts +9 -0
  1009. package/dist/serialization/resources/{auth/resources/default/client/requests/AuthGetTokenForOrgRequest.js → feeSchedules/resources/v3/client/hardDeleteRatesByIds.js} +3 -5
  1010. package/dist/serialization/resources/feeSchedules/resources/v3/client/index.d.ts +1 -0
  1011. package/dist/serialization/resources/feeSchedules/resources/v3/client/index.js +2 -1
  1012. package/dist/serialization/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.d.ts +13 -0
  1013. package/dist/serialization/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.js +44 -0
  1014. package/dist/serialization/resources/feeSchedules/resources/v3/client/requests/index.d.ts +1 -0
  1015. package/dist/serialization/resources/feeSchedules/resources/v3/client/requests/index.js +3 -1
  1016. package/dist/serialization/resources/feeSchedules/resources/v3/types/ValidationError.d.ts +4 -1
  1017. package/dist/serialization/resources/feeSchedules/resources/v3/types/ValidationError.js +1 -0
  1018. package/dist/serialization/resources/financials/types/PatientTransactionSource.d.ts +1 -1
  1019. package/dist/serialization/resources/financials/types/PatientTransactionSource.js +10 -1
  1020. package/dist/serialization/resources/guarantor/resources/v1/types/Guarantor.d.ts +1 -0
  1021. package/dist/serialization/resources/guarantor/resources/v1/types/Guarantor.js +1 -0
  1022. package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorCreate.d.ts +1 -0
  1023. package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorCreate.js +1 -0
  1024. package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorOptional.d.ts +1 -0
  1025. package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorOptional.js +1 -0
  1026. package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorUpdate.d.ts +1 -0
  1027. package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorUpdate.js +1 -0
  1028. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.d.ts +1 -1
  1029. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.js +95 -1
  1030. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.d.ts +2 -2
  1031. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.js +2 -2
  1032. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.d.ts +0 -12
  1033. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.js +1 -14
  1034. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.d.ts +2 -2
  1035. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.js +2 -2
  1036. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.d.ts +1 -1
  1037. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.js +19 -1
  1038. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +0 -2
  1039. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/index.js +0 -2
  1040. package/dist/serialization/resources/index.d.ts +1 -0
  1041. package/dist/serialization/resources/index.js +3 -2
  1042. package/dist/serialization/resources/individual/types/Patient.d.ts +1 -0
  1043. package/dist/serialization/resources/individual/types/Patient.js +1 -0
  1044. package/dist/serialization/resources/individual/types/PatientCreate.d.ts +1 -0
  1045. package/dist/serialization/resources/individual/types/PatientCreate.js +1 -0
  1046. package/dist/serialization/resources/individual/types/PatientUpdate.d.ts +1 -0
  1047. package/dist/serialization/resources/individual/types/PatientUpdate.js +1 -0
  1048. package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +1 -0
  1049. package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +1 -0
  1050. package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
  1051. package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +4 -0
  1052. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/getByExternalId.d.ts +15 -0
  1053. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/getByExternalId.js +71 -0
  1054. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/index.d.ts +1 -0
  1055. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/index.js +2 -1
  1056. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +3 -0
  1057. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.js +3 -0
  1058. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +3 -0
  1059. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.js +3 -0
  1060. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +3 -0
  1061. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.js +3 -0
  1062. package/dist/serialization/resources/payers/resources/index.d.ts +1 -0
  1063. package/dist/serialization/resources/payers/resources/index.js +2 -1
  1064. package/dist/serialization/resources/payers/resources/v4/index.d.ts +1 -0
  1065. package/dist/serialization/resources/payers/resources/v4/index.js +17 -0
  1066. package/dist/serialization/resources/payers/resources/v4/types/ClearinghousePayerInfo.d.ts +20 -0
  1067. package/dist/serialization/resources/payers/resources/v4/types/ClearinghousePayerInfo.js +51 -0
  1068. package/dist/serialization/resources/payers/resources/v4/types/Payer.d.ts +22 -0
  1069. package/dist/serialization/resources/payers/resources/v4/types/Payer.js +53 -0
  1070. package/dist/serialization/resources/payers/resources/v4/types/PayerIds.d.ts +14 -0
  1071. package/{serialization/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.js → dist/serialization/resources/payers/resources/v4/types/PayerIds.js} +6 -45
  1072. package/dist/serialization/resources/payers/resources/v4/types/PayerPage.d.ts +14 -0
  1073. package/dist/serialization/resources/payers/resources/v4/types/PayerPage.js +47 -0
  1074. package/dist/serialization/resources/payers/resources/v4/types/PayerUuid.d.ts +10 -0
  1075. package/dist/serialization/resources/payers/resources/v4/types/PayerUuid.js +45 -0
  1076. package/dist/serialization/resources/payers/resources/v4/types/PrimaryPayerIds.d.ts +14 -0
  1077. package/dist/serialization/resources/{healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.js → payers/resources/v4/types/PrimaryPayerIds.js} +6 -45
  1078. package/dist/serialization/resources/payers/resources/v4/types/SupportState.d.ts +10 -0
  1079. package/dist/serialization/resources/payers/resources/v4/types/SupportState.js +41 -0
  1080. package/dist/serialization/resources/payers/resources/v4/types/index.d.ts +7 -0
  1081. package/dist/serialization/resources/payers/resources/v4/types/index.js +23 -0
  1082. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalServiceFacilityId.d.ts +10 -0
  1083. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalServiceFacilityId.js +45 -0
  1084. package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -0
  1085. package/dist/serialization/resources/preEncounter/resources/common/types/index.js +1 -0
  1086. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -1
  1087. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +1 -1
  1088. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.d.ts +15 -0
  1089. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.js +71 -0
  1090. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  1091. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  1092. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
  1093. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.js +1 -1
  1094. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.d.ts +13 -0
  1095. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.js +44 -0
  1096. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +5 -1
  1097. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +5 -1
  1098. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientServiceFacility.d.ts +13 -0
  1099. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientServiceFacility.js +44 -0
  1100. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.d.ts +1 -1
  1101. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.js +1 -1
  1102. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +2 -0
  1103. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +2 -0
  1104. package/dist/serialization/resources/serviceLines/resources/v2/client/createUniversal.d.ts +15 -0
  1105. package/dist/serialization/resources/serviceLines/resources/v2/client/createUniversal.js +71 -0
  1106. package/dist/serialization/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
  1107. package/dist/serialization/resources/serviceLines/resources/v2/client/index.js +3 -1
  1108. package/dist/serialization/resources/serviceLines/resources/v2/client/updateUniversal.d.ts +25 -0
  1109. package/dist/serialization/resources/serviceLines/resources/v2/client/updateUniversal.js +83 -0
  1110. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -23
  1111. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +5 -24
  1112. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.d.ts +13 -0
  1113. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.js +46 -0
  1114. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +32 -0
  1115. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.js +63 -0
  1116. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +1 -0
  1117. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +1 -0
  1118. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -27
  1119. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +5 -28
  1120. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.d.ts +13 -0
  1121. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.js +46 -0
  1122. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.d.ts +36 -0
  1123. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.js +67 -0
  1124. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -24
  1125. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +5 -25
  1126. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +34 -0
  1127. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.js +65 -0
  1128. package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +19 -0
  1129. package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.js +52 -0
  1130. package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.d.ts +18 -0
  1131. package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.js +51 -0
  1132. package/dist/serialization/resources/serviceLines/resources/v2/types/index.d.ts +7 -0
  1133. package/dist/serialization/resources/serviceLines/resources/v2/types/index.js +7 -0
  1134. package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillComposite.d.ts +2 -7
  1135. package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillComposite.js +5 -8
  1136. package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeBase.d.ts +17 -0
  1137. package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeBase.js +48 -0
  1138. package/dist/serialization/resources/x12/resources/v1/types/index.d.ts +1 -0
  1139. package/dist/serialization/resources/x12/resources/v1/types/index.js +1 -0
  1140. package/dist/version.d.ts +1 -1
  1141. package/dist/version.js +1 -1
  1142. package/errors/CandidApiError.d.ts +4 -1
  1143. package/errors/CandidApiError.js +4 -7
  1144. package/index.d.ts +2 -2
  1145. package/index.js +5 -5
  1146. package/jest.config.mjs +37 -3
  1147. package/package.json +18 -12
  1148. package/reference.md +474 -116
  1149. package/scripts/rename-to-esm-files.js +10 -2
  1150. package/serialization/resources/auth/resources/default/client/requests/index.d.ts +0 -1
  1151. package/serialization/resources/auth/resources/default/client/requests/index.js +1 -3
  1152. package/serialization/resources/commons/types/Clearinghouse.d.ts +10 -0
  1153. package/serialization/resources/commons/types/Clearinghouse.js +50 -0
  1154. package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  1155. package/serialization/resources/commons/types/ProcedureModifier.js +11 -0
  1156. package/serialization/resources/commons/types/index.d.ts +1 -0
  1157. package/serialization/resources/commons/types/index.js +1 -0
  1158. package/serialization/resources/encounters/resources/v4/client/create.d.ts +6 -1
  1159. package/serialization/resources/encounters/resources/v4/client/create.js +6 -0
  1160. package/serialization/resources/encounters/resources/v4/client/index.d.ts +0 -1
  1161. package/serialization/resources/encounters/resources/v4/client/index.js +0 -4
  1162. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +3 -4
  1163. package/serialization/resources/encounters/resources/v4/types/Encounter.js +3 -4
  1164. package/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +2 -2
  1165. package/serialization/resources/encounters/resources/v4/types/EncounterBase.js +2 -2
  1166. package/serialization/resources/encounters/resources/v4/types/EncounterCreate.d.ts +22 -0
  1167. package/serialization/resources/encounters/resources/v4/types/EncounterCreate.js +55 -0
  1168. package/serialization/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.d.ts +4 -28
  1169. package/serialization/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.js +4 -28
  1170. package/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +2 -0
  1171. package/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.js +2 -0
  1172. package/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +0 -2
  1173. package/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +0 -2
  1174. package/serialization/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.d.ts +11 -0
  1175. package/serialization/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.js +41 -0
  1176. package/serialization/resources/encounters/resources/v4/types/EncounterUpdate.d.ts +16 -0
  1177. package/serialization/resources/encounters/resources/v4/types/EncounterUpdate.js +49 -0
  1178. package/serialization/resources/encounters/resources/v4/types/index.d.ts +7 -4
  1179. package/serialization/resources/encounters/resources/v4/types/index.js +7 -4
  1180. package/serialization/resources/encountersUniversal/index.d.ts +1 -0
  1181. package/serialization/resources/encountersUniversal/index.js +17 -0
  1182. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +50 -0
  1183. package/{dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js → serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.js} +21 -31
  1184. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +36 -0
  1185. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +69 -0
  1186. package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +46 -0
  1187. package/serialization/resources/{encounters/resources/v4/client/requests/EncounterUpdate.js → encountersUniversal/types/UniversalEncounterUpdateBase.js} +20 -22
  1188. package/serialization/resources/encountersUniversal/types/index.d.ts +3 -0
  1189. package/serialization/resources/encountersUniversal/types/index.js +19 -0
  1190. package/serialization/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.d.ts +9 -0
  1191. package/serialization/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.js +41 -0
  1192. package/serialization/resources/feeSchedules/resources/v3/client/index.d.ts +1 -0
  1193. package/serialization/resources/feeSchedules/resources/v3/client/index.js +2 -1
  1194. package/serialization/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.d.ts +13 -0
  1195. package/serialization/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.js +44 -0
  1196. package/serialization/resources/feeSchedules/resources/v3/client/requests/index.d.ts +1 -0
  1197. package/serialization/resources/feeSchedules/resources/v3/client/requests/index.js +3 -1
  1198. package/serialization/resources/feeSchedules/resources/v3/types/ValidationError.d.ts +4 -1
  1199. package/serialization/resources/feeSchedules/resources/v3/types/ValidationError.js +1 -0
  1200. package/serialization/resources/financials/types/PatientTransactionSource.d.ts +1 -1
  1201. package/serialization/resources/financials/types/PatientTransactionSource.js +10 -1
  1202. package/serialization/resources/guarantor/resources/v1/types/Guarantor.d.ts +1 -0
  1203. package/serialization/resources/guarantor/resources/v1/types/Guarantor.js +1 -0
  1204. package/serialization/resources/guarantor/resources/v1/types/GuarantorCreate.d.ts +1 -0
  1205. package/serialization/resources/guarantor/resources/v1/types/GuarantorCreate.js +1 -0
  1206. package/serialization/resources/guarantor/resources/v1/types/GuarantorOptional.d.ts +1 -0
  1207. package/serialization/resources/guarantor/resources/v1/types/GuarantorOptional.js +1 -0
  1208. package/serialization/resources/guarantor/resources/v1/types/GuarantorUpdate.d.ts +1 -0
  1209. package/serialization/resources/guarantor/resources/v1/types/GuarantorUpdate.js +1 -0
  1210. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.d.ts +1 -1
  1211. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.js +95 -1
  1212. package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.d.ts +2 -2
  1213. package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.js +2 -2
  1214. package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.d.ts +0 -12
  1215. package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.js +1 -14
  1216. package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.d.ts +2 -2
  1217. package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.js +2 -2
  1218. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.d.ts +1 -1
  1219. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.js +19 -1
  1220. package/serialization/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +0 -2
  1221. package/serialization/resources/healthCareCodeInformation/resources/v1/types/index.js +0 -2
  1222. package/serialization/resources/index.d.ts +1 -0
  1223. package/serialization/resources/index.js +3 -2
  1224. package/serialization/resources/individual/types/Patient.d.ts +1 -0
  1225. package/serialization/resources/individual/types/Patient.js +1 -0
  1226. package/serialization/resources/individual/types/PatientCreate.d.ts +1 -0
  1227. package/serialization/resources/individual/types/PatientCreate.js +1 -0
  1228. package/serialization/resources/individual/types/PatientUpdate.d.ts +1 -0
  1229. package/serialization/resources/individual/types/PatientUpdate.js +1 -0
  1230. package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +1 -0
  1231. package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +1 -0
  1232. package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
  1233. package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +4 -0
  1234. package/serialization/resources/organizationServiceFacilities/resources/v2/client/getByExternalId.d.ts +15 -0
  1235. package/serialization/resources/organizationServiceFacilities/resources/v2/client/getByExternalId.js +71 -0
  1236. package/serialization/resources/organizationServiceFacilities/resources/v2/client/index.d.ts +1 -0
  1237. package/serialization/resources/organizationServiceFacilities/resources/v2/client/index.js +2 -1
  1238. package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +3 -0
  1239. package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.js +3 -0
  1240. package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +3 -0
  1241. package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.js +3 -0
  1242. package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +3 -0
  1243. package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.js +3 -0
  1244. package/serialization/resources/payers/resources/index.d.ts +1 -0
  1245. package/serialization/resources/payers/resources/index.js +2 -1
  1246. package/serialization/resources/payers/resources/v4/index.d.ts +1 -0
  1247. package/serialization/resources/payers/resources/v4/index.js +17 -0
  1248. package/serialization/resources/payers/resources/v4/types/ClearinghousePayerInfo.d.ts +20 -0
  1249. package/serialization/resources/payers/resources/v4/types/ClearinghousePayerInfo.js +51 -0
  1250. package/serialization/resources/payers/resources/v4/types/Payer.d.ts +22 -0
  1251. package/serialization/resources/payers/resources/v4/types/Payer.js +53 -0
  1252. package/serialization/resources/payers/resources/v4/types/PayerIds.d.ts +14 -0
  1253. package/serialization/resources/payers/resources/v4/types/PayerIds.js +45 -0
  1254. package/serialization/resources/payers/resources/v4/types/PayerPage.d.ts +14 -0
  1255. package/serialization/resources/payers/resources/v4/types/PayerPage.js +47 -0
  1256. package/serialization/resources/payers/resources/v4/types/PayerUuid.d.ts +10 -0
  1257. package/serialization/resources/payers/resources/v4/types/PayerUuid.js +45 -0
  1258. package/serialization/resources/payers/resources/v4/types/PrimaryPayerIds.d.ts +14 -0
  1259. package/serialization/resources/payers/resources/v4/types/PrimaryPayerIds.js +45 -0
  1260. package/serialization/resources/payers/resources/v4/types/SupportState.d.ts +10 -0
  1261. package/serialization/resources/payers/resources/v4/types/SupportState.js +41 -0
  1262. package/serialization/resources/payers/resources/v4/types/index.d.ts +7 -0
  1263. package/serialization/resources/payers/resources/v4/types/index.js +23 -0
  1264. package/serialization/resources/preEncounter/resources/common/types/CanonicalServiceFacilityId.d.ts +10 -0
  1265. package/serialization/resources/preEncounter/resources/common/types/CanonicalServiceFacilityId.js +45 -0
  1266. package/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -0
  1267. package/serialization/resources/preEncounter/resources/common/types/index.js +1 -0
  1268. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -1
  1269. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +1 -1
  1270. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.d.ts +15 -0
  1271. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.js +71 -0
  1272. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  1273. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  1274. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
  1275. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.js +1 -1
  1276. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.d.ts +13 -0
  1277. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.js +44 -0
  1278. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +5 -1
  1279. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +5 -1
  1280. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientServiceFacility.d.ts +13 -0
  1281. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientServiceFacility.js +44 -0
  1282. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.d.ts +1 -1
  1283. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.js +1 -1
  1284. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +2 -0
  1285. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +2 -0
  1286. package/serialization/resources/serviceLines/resources/v2/client/createUniversal.d.ts +15 -0
  1287. package/serialization/resources/serviceLines/resources/v2/client/createUniversal.js +71 -0
  1288. package/serialization/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
  1289. package/serialization/resources/serviceLines/resources/v2/client/index.js +3 -1
  1290. package/serialization/resources/serviceLines/resources/v2/client/updateUniversal.d.ts +25 -0
  1291. package/serialization/resources/serviceLines/resources/v2/client/updateUniversal.js +83 -0
  1292. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -23
  1293. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +5 -24
  1294. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.d.ts +13 -0
  1295. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.js +46 -0
  1296. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +32 -0
  1297. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.js +63 -0
  1298. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +1 -0
  1299. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +1 -0
  1300. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -27
  1301. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +5 -28
  1302. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.d.ts +13 -0
  1303. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.js +46 -0
  1304. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.d.ts +36 -0
  1305. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.js +67 -0
  1306. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -24
  1307. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +5 -25
  1308. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +34 -0
  1309. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.js +65 -0
  1310. package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +19 -0
  1311. package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.js +52 -0
  1312. package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.d.ts +18 -0
  1313. package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.js +51 -0
  1314. package/serialization/resources/serviceLines/resources/v2/types/index.d.ts +7 -0
  1315. package/serialization/resources/serviceLines/resources/v2/types/index.js +7 -0
  1316. package/serialization/resources/x12/resources/v1/types/TypeOfBillComposite.d.ts +2 -7
  1317. package/serialization/resources/x12/resources/v1/types/TypeOfBillComposite.js +5 -8
  1318. package/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeBase.d.ts +17 -0
  1319. package/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeBase.js +48 -0
  1320. package/serialization/resources/x12/resources/v1/types/index.d.ts +1 -0
  1321. package/serialization/resources/x12/resources/v1/types/index.js +1 -0
  1322. package/version.d.ts +1 -1
  1323. package/version.js +1 -1
  1324. package/api/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +0 -13
  1325. package/api/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.d.ts +0 -4230
  1326. package/api/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.js +0 -1064
  1327. package/api/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.d.ts +0 -174
  1328. package/api/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.js +0 -50
  1329. package/dist/api/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +0 -13
  1330. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.d.ts +0 -4230
  1331. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.js +0 -1064
  1332. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.d.ts +0 -174
  1333. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.js +0 -50
  1334. package/dist/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +0 -12
  1335. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +0 -60
  1336. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +0 -48
  1337. package/dist/serialization/resources/encounters/resources/v4/client/requests/index.d.ts +0 -2
  1338. package/dist/serialization/resources/encounters/resources/v4/client/requests/index.js +0 -7
  1339. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.d.ts +0 -10
  1340. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.js +0 -1098
  1341. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.d.ts +0 -10
  1342. package/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +0 -12
  1343. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +0 -60
  1344. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +0 -48
  1345. package/serialization/resources/encounters/resources/v4/client/requests/index.d.ts +0 -2
  1346. package/serialization/resources/encounters/resources/v4/client/requests/index.js +0 -7
  1347. package/serialization/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.d.ts +0 -10
  1348. package/serialization/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.js +0 -1098
  1349. package/serialization/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.d.ts +0 -10
  1350. /package/api/resources/encounters/resources/v4/{client/requests → types}/EncounterCreate.js +0 -0
  1351. /package/api/resources/{auth/resources/default/client/requests/AuthGetTokenForOrgRequest.js → encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.js} +0 -0
  1352. /package/api/resources/encounters/resources/v4/{client/requests → types}/EncounterUpdate.js +0 -0
  1353. /package/{dist/api/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.js → api/resources/encountersUniversal/types/UniversalEncounterCreateBase.js} +0 -0
  1354. /package/{dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.js → api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js} +0 -0
  1355. /package/{dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.js → api/resources/encountersUniversal/types/UniversalEncounterUpdateBase.js} +0 -0
package/reference.md CHANGED
@@ -98,56 +98,6 @@ await client.auth.default.getToken({
98
98
  </dl>
99
99
  </details>
100
100
 
101
- <details><summary><code>client.auth.default.<a href="/src/api/resources/auth/resources/default/client/Client.ts">getMachineTokenForOrgId</a>({ ...params }) -> core.APIResponse<CandidApi.AuthGetTokenResponse, CandidApi.auth.default_.getMachineTokenForOrgId.Error></code></summary>
102
- <dl>
103
- <dd>
104
-
105
- #### 🔌 Usage
106
-
107
- <dl>
108
- <dd>
109
-
110
- <dl>
111
- <dd>
112
-
113
- ```typescript
114
- await client.auth.default.getMachineTokenForOrgId({
115
- orgId: "org_id",
116
- });
117
- ```
118
-
119
- </dd>
120
- </dl>
121
- </dd>
122
- </dl>
123
-
124
- #### ⚙️ Parameters
125
-
126
- <dl>
127
- <dd>
128
-
129
- <dl>
130
- <dd>
131
-
132
- **request:** `CandidApi.auth.default_.AuthGetTokenForOrgRequest`
133
-
134
- </dd>
135
- </dl>
136
-
137
- <dl>
138
- <dd>
139
-
140
- **requestOptions:** `Default.RequestOptions`
141
-
142
- </dd>
143
- </dl>
144
- </dd>
145
- </dl>
146
-
147
- </dd>
148
- </dl>
149
- </details>
150
-
151
101
  ## BillingNotes V2
152
102
 
153
103
  <details><summary><code>client.billingNotes.v2.<a href="/src/api/resources/billingNotes/resources/v2/client/Client.ts">create</a>({ ...params }) -> core.APIResponse<CandidApi.BillingNote, CandidApi.billingNotes.v2.create.Error></code></summary>
@@ -165,6 +115,7 @@ await client.auth.default.getMachineTokenForOrgId({
165
115
  ```typescript
166
116
  await client.billingNotes.v2.create({
167
117
  encounterId: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
118
+ text: "text",
168
119
  });
169
120
  ```
170
121
 
@@ -983,6 +934,20 @@ await client.contracts.v2.create({
983
934
  contractingProviderId: CandidApi.ContractingProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
984
935
  renderingProviderIds: new Set([CandidApi.RenderingProviderid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
985
936
  payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
937
+ effectiveDate: CandidApi.Date_("effective_date"),
938
+ regions: {
939
+ type: "states",
940
+ states: ["AA", "AA"],
941
+ },
942
+ commercialInsuranceTypes: {
943
+ type: "allApply",
944
+ },
945
+ medicareInsuranceTypes: {
946
+ type: "allApply",
947
+ },
948
+ medicaidInsuranceTypes: {
949
+ type: "allApply",
950
+ },
986
951
  });
987
952
  ```
988
953
 
@@ -3008,7 +2973,7 @@ await client.encounters.v4.getAll({
3008
2973
  primaryPayerNames: "Medicare,Medicaid",
3009
2974
  searchTerm: "doe",
3010
2975
  externalId: CandidApi.EncounterExternalId("123456"),
3011
- diagnosesUpdatedSince: "2019-08-24T14:15:22Z",
2976
+ diagnosesUpdatedSince: new Date("2019-08-24T14:15:22.000Z"),
3012
2977
  });
3013
2978
  ```
3014
2979
 
@@ -3106,34 +3071,17 @@ await client.encounters.v4.get(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7f
3106
3071
 
3107
3072
  ```typescript
3108
3073
  await client.encounters.v4.create({
3109
- patient: {
3110
- firstName: "first_name",
3111
- lastName: "last_name",
3112
- gender: "male",
3113
- externalId: "external_id",
3114
- dateOfBirth: "2023-01-15",
3115
- address: {
3116
- address1: "address1",
3117
- city: "city",
3118
- state: "AA",
3119
- zipCode: "zip_code",
3120
- },
3121
- },
3122
3074
  billingProvider: {
3123
3075
  address: {
3076
+ zipPlusFourCode: "zip_plus_four_code",
3124
3077
  address1: "address1",
3125
3078
  city: "city",
3126
3079
  state: "AA",
3127
3080
  zipCode: "zip_code",
3128
- zipPlusFourCode: "zip_plus_four_code",
3129
3081
  },
3130
3082
  taxId: "tax_id",
3131
3083
  npi: "npi",
3132
3084
  },
3133
- renderingProvider: {
3134
- npi: "npi",
3135
- },
3136
- responsibleParty: "INSURANCE_PAY",
3137
3085
  diagnoses: [
3138
3086
  {
3139
3087
  codeType: "ABF",
@@ -3145,6 +3093,28 @@ await client.encounters.v4.create({
3145
3093
  },
3146
3094
  ],
3147
3095
  placeOfServiceCode: "01",
3096
+ renderingProvider: {
3097
+ npi: "npi",
3098
+ },
3099
+ patient: {
3100
+ externalId: "external_id",
3101
+ dateOfBirth: "2023-01-15",
3102
+ address: {
3103
+ address1: "address1",
3104
+ city: "city",
3105
+ state: "AA",
3106
+ zipCode: "zip_code",
3107
+ },
3108
+ firstName: "first_name",
3109
+ lastName: "last_name",
3110
+ gender: "male",
3111
+ },
3112
+ responsibleParty: "INSURANCE_PAY",
3113
+ externalId: CandidApi.EncounterExternalId("external_id"),
3114
+ patientAuthorizedRelease: true,
3115
+ benefitsAssignedToProvider: true,
3116
+ providerAcceptsAssignment: true,
3117
+ billableStatus: "BILLABLE",
3148
3118
  });
3149
3119
  ```
3150
3120
 
@@ -3161,7 +3131,7 @@ await client.encounters.v4.create({
3161
3131
  <dl>
3162
3132
  <dd>
3163
3133
 
3164
- **request:** `CandidApi.encounters.v4.EncounterCreate`
3134
+ **request:** `CandidApi.EncounterCreate`
3165
3135
 
3166
3136
  </dd>
3167
3137
  </dl>
@@ -3225,11 +3195,20 @@ encounter has not already been submitted or adjudicated.
3225
3195
 
3226
3196
  ```typescript
3227
3197
  await client.encounters.v4.createFromPreEncounterPatient({
3228
- externalId: CandidApi.EncounterExternalId("external_id"),
3229
- patientAuthorizedRelease: true,
3230
- benefitsAssignedToProvider: true,
3231
- providerAcceptsAssignment: true,
3232
- billableStatus: "BILLABLE",
3198
+ renderingProvider: {
3199
+ npi: "npi",
3200
+ },
3201
+ placeOfServiceCode: "01",
3202
+ diagnoses: [
3203
+ {
3204
+ codeType: "ABF",
3205
+ code: "code",
3206
+ },
3207
+ {
3208
+ codeType: "ABF",
3209
+ code: "code",
3210
+ },
3211
+ ],
3233
3212
  preEncounterPatientId: CandidApi.PreEncounterPatientId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
3234
3213
  preEncounterAppointmentIds: [
3235
3214
  CandidApi.PreEncounterAppointmentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
@@ -3237,29 +3216,20 @@ await client.encounters.v4.createFromPreEncounterPatient({
3237
3216
  ],
3238
3217
  billingProvider: {
3239
3218
  address: {
3219
+ zipPlusFourCode: "zip_plus_four_code",
3240
3220
  address1: "address1",
3241
3221
  city: "city",
3242
3222
  state: "AA",
3243
3223
  zipCode: "zip_code",
3244
- zipPlusFourCode: "zip_plus_four_code",
3245
3224
  },
3246
3225
  taxId: "tax_id",
3247
3226
  npi: "npi",
3248
3227
  },
3249
- renderingProvider: {
3250
- npi: "npi",
3251
- },
3252
- diagnoses: [
3253
- {
3254
- codeType: "ABF",
3255
- code: "code",
3256
- },
3257
- {
3258
- codeType: "ABF",
3259
- code: "code",
3260
- },
3261
- ],
3262
- placeOfServiceCode: "01",
3228
+ externalId: CandidApi.EncounterExternalId("external_id"),
3229
+ patientAuthorizedRelease: true,
3230
+ benefitsAssignedToProvider: true,
3231
+ providerAcceptsAssignment: true,
3232
+ billableStatus: "BILLABLE",
3263
3233
  });
3264
3234
  ```
3265
3235
 
@@ -3308,7 +3278,7 @@ await client.encounters.v4.createFromPreEncounterPatient({
3308
3278
  <dd>
3309
3279
 
3310
3280
  ```typescript
3311
- await client.encounters.v4.update(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
3281
+ await client.encounters.v4.update(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {});
3312
3282
  ```
3313
3283
 
3314
3284
  </dd>
@@ -3332,7 +3302,7 @@ await client.encounters.v4.update(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0
3332
3302
  <dl>
3333
3303
  <dd>
3334
3304
 
3335
- **request:** `CandidApi.encounters.v4.EncounterUpdate`
3305
+ **request:** `CandidApi.EncounterUpdate`
3336
3306
 
3337
3307
  </dd>
3338
3308
  </dl>
@@ -4534,6 +4504,74 @@ await client.feeSchedules.v3.hardDeleteRates({
4534
4504
  </dl>
4535
4505
  </details>
4536
4506
 
4507
+ <details><summary><code>client.feeSchedules.v3.<a href="/src/api/resources/feeSchedules/resources/v3/client/Client.ts">hardDeleteRatesByIds</a>({ ...params }) -> core.APIResponse<number, CandidApi.feeSchedules.v3.hardDeleteRatesByIds.Error></code></summary>
4508
+ <dl>
4509
+ <dd>
4510
+
4511
+ #### 📝 Description
4512
+
4513
+ <dl>
4514
+ <dd>
4515
+
4516
+ <dl>
4517
+ <dd>
4518
+
4519
+ Hard deletes specific rates from the system by their IDs. This is a destructive operation and cannot be undone. Limited to 100 rate IDs maximum per request. For bulk deletion of more than 100 rates, use the hard_delete_rates endpoint with dimension filters. Returns the number of rates deleted.
4520
+
4521
+ </dd>
4522
+ </dl>
4523
+ </dd>
4524
+ </dl>
4525
+
4526
+ #### 🔌 Usage
4527
+
4528
+ <dl>
4529
+ <dd>
4530
+
4531
+ <dl>
4532
+ <dd>
4533
+
4534
+ ```typescript
4535
+ await client.feeSchedules.v3.hardDeleteRatesByIds({
4536
+ rateIds: [
4537
+ CandidApi.RateId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
4538
+ CandidApi.RateId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
4539
+ ],
4540
+ });
4541
+ ```
4542
+
4543
+ </dd>
4544
+ </dl>
4545
+ </dd>
4546
+ </dl>
4547
+
4548
+ #### ⚙️ Parameters
4549
+
4550
+ <dl>
4551
+ <dd>
4552
+
4553
+ <dl>
4554
+ <dd>
4555
+
4556
+ **request:** `CandidApi.feeSchedules.v3.HardDeleteRatesByIdsRequest`
4557
+
4558
+ </dd>
4559
+ </dl>
4560
+
4561
+ <dl>
4562
+ <dd>
4563
+
4564
+ **requestOptions:** `V3.RequestOptions`
4565
+
4566
+ </dd>
4567
+ </dl>
4568
+ </dd>
4569
+ </dl>
4570
+
4571
+ </dd>
4572
+ </dl>
4573
+ </details>
4574
+
4537
4575
  ## Guarantor V1
4538
4576
 
4539
4577
  <details><summary><code>client.guarantor.v1.<a href="/src/api/resources/guarantor/resources/v1/client/Client.ts">create</a>(encounterId, { ...params }) -> core.APIResponse<CandidApi.Guarantor, CandidApi.guarantor.v1.create.Error></code></summary>
@@ -7416,6 +7454,71 @@ await client.organizationServiceFacilities.v2.getMulti({
7416
7454
  </dl>
7417
7455
  </details>
7418
7456
 
7457
+ <details><summary><code>client.organizationServiceFacilities.v2.<a href="/src/api/resources/organizationServiceFacilities/resources/v2/client/Client.ts">getByExternalId</a>(externalId) -> core.APIResponse<CandidApi.OrganizationServiceFacility, CandidApi.organizationServiceFacilities.v2.getByExternalId.Error></code></summary>
7458
+ <dl>
7459
+ <dd>
7460
+
7461
+ #### 📝 Description
7462
+
7463
+ <dl>
7464
+ <dd>
7465
+
7466
+ <dl>
7467
+ <dd>
7468
+
7469
+ Looks up a single organization service facility by its `external_id` field. This can be useful
7470
+ for finding service facilities within Candid which are associated with service facilities in
7471
+ an external system.
7472
+
7473
+ </dd>
7474
+ </dl>
7475
+ </dd>
7476
+ </dl>
7477
+
7478
+ #### 🔌 Usage
7479
+
7480
+ <dl>
7481
+ <dd>
7482
+
7483
+ <dl>
7484
+ <dd>
7485
+
7486
+ ```typescript
7487
+ await client.organizationServiceFacilities.v2.getByExternalId("external_id");
7488
+ ```
7489
+
7490
+ </dd>
7491
+ </dl>
7492
+ </dd>
7493
+ </dl>
7494
+
7495
+ #### ⚙️ Parameters
7496
+
7497
+ <dl>
7498
+ <dd>
7499
+
7500
+ <dl>
7501
+ <dd>
7502
+
7503
+ **externalId:** `string`
7504
+
7505
+ </dd>
7506
+ </dl>
7507
+
7508
+ <dl>
7509
+ <dd>
7510
+
7511
+ **requestOptions:** `V2.RequestOptions`
7512
+
7513
+ </dd>
7514
+ </dl>
7515
+ </dd>
7516
+ </dl>
7517
+
7518
+ </dd>
7519
+ </dl>
7520
+ </details>
7521
+
7419
7522
  <details><summary><code>client.organizationServiceFacilities.v2.<a href="/src/api/resources/organizationServiceFacilities/resources/v2/client/Client.ts">create</a>({ ...params }) -> core.APIResponse<CandidApi.OrganizationServiceFacility, CandidApi.organizationServiceFacilities.v2.create.Error></code></summary>
7420
7523
  <dl>
7421
7524
  <dd>
@@ -8871,7 +8974,105 @@ await client.payers.v3.getAll({
8871
8974
  </dl>
8872
8975
  </details>
8873
8976
 
8874
- ## ServiceLines V2
8977
+ ## Payers V4
8978
+
8979
+ <details><summary><code>client.payers.v4.<a href="/src/api/resources/payers/resources/v4/client/Client.ts">get</a>(payerUuid) -> core.APIResponse<CandidApi.Payer, CandidApi.payers.v4.get.Error></code></summary>
8980
+ <dl>
8981
+ <dd>
8982
+
8983
+ #### 🔌 Usage
8984
+
8985
+ <dl>
8986
+ <dd>
8987
+
8988
+ <dl>
8989
+ <dd>
8990
+
8991
+ ```typescript
8992
+ await client.payers.v4.get(CandidApi.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
8993
+ ```
8994
+
8995
+ </dd>
8996
+ </dl>
8997
+ </dd>
8998
+ </dl>
8999
+
9000
+ #### ⚙️ Parameters
9001
+
9002
+ <dl>
9003
+ <dd>
9004
+
9005
+ <dl>
9006
+ <dd>
9007
+
9008
+ **payerUuid:** `CandidApi.PayerUuid`
9009
+
9010
+ </dd>
9011
+ </dl>
9012
+
9013
+ <dl>
9014
+ <dd>
9015
+
9016
+ **requestOptions:** `V4.RequestOptions`
9017
+
9018
+ </dd>
9019
+ </dl>
9020
+ </dd>
9021
+ </dl>
9022
+
9023
+ </dd>
9024
+ </dl>
9025
+ </details>
9026
+
9027
+ <details><summary><code>client.payers.v4.<a href="/src/api/resources/payers/resources/v4/client/Client.ts">getAll</a>({ ...params }) -> core.APIResponse<CandidApi.PayerPage, CandidApi.payers.v4.getAll.Error></code></summary>
9028
+ <dl>
9029
+ <dd>
9030
+
9031
+ #### 🔌 Usage
9032
+
9033
+ <dl>
9034
+ <dd>
9035
+
9036
+ <dl>
9037
+ <dd>
9038
+
9039
+ ```typescript
9040
+ await client.payers.v4.getAll();
9041
+ ```
9042
+
9043
+ </dd>
9044
+ </dl>
9045
+ </dd>
9046
+ </dl>
9047
+
9048
+ #### ⚙️ Parameters
9049
+
9050
+ <dl>
9051
+ <dd>
9052
+
9053
+ <dl>
9054
+ <dd>
9055
+
9056
+ **request:** `CandidApi.payers.v4.GetAllPayersRequest`
9057
+
9058
+ </dd>
9059
+ </dl>
9060
+
9061
+ <dl>
9062
+ <dd>
9063
+
9064
+ **requestOptions:** `V4.RequestOptions`
9065
+
9066
+ </dd>
9067
+ </dl>
9068
+ </dd>
9069
+ </dl>
9070
+
9071
+ </dd>
9072
+ </dl>
9073
+ </details>
9074
+
9075
+ ## ServiceLines V2
8875
9076
 
8876
9077
  <details><summary><code>client.serviceLines.v2.<a href="/src/api/resources/serviceLines/resources/v2/client/Client.ts">create</a>({ ...params }) -> core.APIResponse<CandidApi.ServiceLine, CandidApi.serviceLines.v2.create.Error></code></summary>
8877
9078
  <dl>
@@ -8926,6 +9127,114 @@ await client.serviceLines.v2.create({
8926
9127
  </dl>
8927
9128
  </details>
8928
9129
 
9130
+ <details><summary><code>client.serviceLines.v2.<a href="/src/api/resources/serviceLines/resources/v2/client/Client.ts">createUniversal</a>({ ...params }) -> core.APIResponse<CandidApi.ServiceLine, CandidApi.serviceLines.v2.createUniversal.Error></code></summary>
9131
+ <dl>
9132
+ <dd>
9133
+
9134
+ #### 🔌 Usage
9135
+
9136
+ <dl>
9137
+ <dd>
9138
+
9139
+ <dl>
9140
+ <dd>
9141
+
9142
+ ```typescript
9143
+ await client.serviceLines.v2.createUniversal({
9144
+ quantity: CandidApi.Decimal("quantity"),
9145
+ units: "MJ",
9146
+ claimId: CandidApi.ClaimId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
9147
+ });
9148
+ ```
9149
+
9150
+ </dd>
9151
+ </dl>
9152
+ </dd>
9153
+ </dl>
9154
+
9155
+ #### ⚙️ Parameters
9156
+
9157
+ <dl>
9158
+ <dd>
9159
+
9160
+ <dl>
9161
+ <dd>
9162
+
9163
+ **request:** `CandidApi.UniversalServiceLineCreateStandalone`
9164
+
9165
+ </dd>
9166
+ </dl>
9167
+
9168
+ <dl>
9169
+ <dd>
9170
+
9171
+ **requestOptions:** `V2.RequestOptions`
9172
+
9173
+ </dd>
9174
+ </dl>
9175
+ </dd>
9176
+ </dl>
9177
+
9178
+ </dd>
9179
+ </dl>
9180
+ </details>
9181
+
9182
+ <details><summary><code>client.serviceLines.v2.<a href="/src/api/resources/serviceLines/resources/v2/client/Client.ts">updateUniversal</a>(serviceLineId, { ...params }) -> core.APIResponse<CandidApi.ServiceLine, CandidApi.serviceLines.v2.updateUniversal.Error></code></summary>
9183
+ <dl>
9184
+ <dd>
9185
+
9186
+ #### 🔌 Usage
9187
+
9188
+ <dl>
9189
+ <dd>
9190
+
9191
+ <dl>
9192
+ <dd>
9193
+
9194
+ ```typescript
9195
+ await client.serviceLines.v2.updateUniversal(CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {});
9196
+ ```
9197
+
9198
+ </dd>
9199
+ </dl>
9200
+ </dd>
9201
+ </dl>
9202
+
9203
+ #### ⚙️ Parameters
9204
+
9205
+ <dl>
9206
+ <dd>
9207
+
9208
+ <dl>
9209
+ <dd>
9210
+
9211
+ **serviceLineId:** `CandidApi.ServiceLineId`
9212
+
9213
+ </dd>
9214
+ </dl>
9215
+
9216
+ <dl>
9217
+ <dd>
9218
+
9219
+ **request:** `CandidApi.UniversalServiceLineUpdate`
9220
+
9221
+ </dd>
9222
+ </dl>
9223
+
9224
+ <dl>
9225
+ <dd>
9226
+
9227
+ **requestOptions:** `V2.RequestOptions`
9228
+
9229
+ </dd>
9230
+ </dl>
9231
+ </dd>
9232
+ </dl>
9233
+
9234
+ </dd>
9235
+ </dl>
9236
+ </details>
9237
+
8929
9238
  <details><summary><code>client.serviceLines.v2.<a href="/src/api/resources/serviceLines/resources/v2/client/Client.ts">update</a>(serviceLineId, { ...params }) -> core.APIResponse<CandidApi.ServiceLine, CandidApi.serviceLines.v2.update.Error></code></summary>
8930
9239
  <dl>
8931
9240
  <dd>
@@ -9500,14 +9809,14 @@ await client.writeOffs.v1.create({
9500
9809
  writeOffs: [
9501
9810
  {
9502
9811
  type: "patient",
9503
- writeOffTimestamp: "2024-01-15T09:30:00Z",
9812
+ writeOffTimestamp: new Date("2024-01-15T09:30:00.000Z"),
9504
9813
  writeOffReason: "SMALL_BALANCE",
9505
9814
  serviceLineId: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
9506
9815
  amountCents: 1,
9507
9816
  },
9508
9817
  {
9509
9818
  type: "patient",
9510
- writeOffTimestamp: "2024-01-15T09:30:00Z",
9819
+ writeOffTimestamp: new Date("2024-01-15T09:30:00.000Z"),
9511
9820
  writeOffReason: "SMALL_BALANCE",
9512
9821
  serviceLineId: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
9513
9822
  amountCents: 1,
@@ -9773,7 +10082,7 @@ Adds an appointment. VersionConflictError is returned when the placer_appointmen
9773
10082
  ```typescript
9774
10083
  await client.preEncounter.appointments.v1.create({
9775
10084
  patientId: CandidApi.PatientId("patient_id"),
9776
- startTimestamp: "2024-01-15T09:30:00Z",
10085
+ startTimestamp: new Date("2024-01-15T09:30:00.000Z"),
9777
10086
  serviceDuration: 1,
9778
10087
  services: [{}, {}],
9779
10088
  });
@@ -10030,7 +10339,7 @@ Updates an appointment. The path must contain the next version number to prevent
10030
10339
  ```typescript
10031
10340
  await client.preEncounter.appointments.v1.update(CandidApi.AppointmentId("id"), "version", {
10032
10341
  patientId: CandidApi.PatientId("patient_id"),
10033
- startTimestamp: "2024-01-15T09:30:00Z",
10342
+ startTimestamp: new Date("2024-01-15T09:30:00.000Z"),
10034
10343
  serviceDuration: 1,
10035
10344
  services: [{}, {}],
10036
10345
  });
@@ -10113,7 +10422,7 @@ Scans up to 100 appointment updates. The since query parameter is inclusive, and
10113
10422
 
10114
10423
  ```typescript
10115
10424
  await client.preEncounter.appointments.v1.scan({
10116
- since: "2024-01-15T09:30:00Z",
10425
+ since: new Date("2024-01-15T09:30:00.000Z"),
10117
10426
  });
10118
10427
  ```
10119
10428
 
@@ -10258,7 +10567,6 @@ await client.preEncounter.coverages.v1.create({
10258
10567
  given: ["given", "given"],
10259
10568
  use: "USUAL",
10260
10569
  },
10261
- dateOfBirth: "2023-01-15",
10262
10570
  biologicalSex: "FEMALE",
10263
10571
  },
10264
10572
  relationship: "SELF",
@@ -10340,7 +10648,6 @@ await client.preEncounter.coverages.v1.update(CandidApi.CoverageId("d5e9c84f-c2b
10340
10648
  given: ["given", "given"],
10341
10649
  use: "USUAL",
10342
10650
  },
10343
- dateOfBirth: "2023-01-15",
10344
10651
  biologicalSex: "FEMALE",
10345
10652
  },
10346
10653
  relationship: "SELF",
@@ -10683,7 +10990,7 @@ Scans up to 100 coverage updates. The since query parameter is inclusive, and th
10683
10990
 
10684
10991
  ```typescript
10685
10992
  await client.preEncounter.coverages.v1.scan({
10686
- since: "2024-01-15T09:30:00Z",
10993
+ since: new Date("2024-01-15T09:30:00.000Z"),
10687
10994
  });
10688
10995
  ```
10689
10996
 
@@ -12210,10 +12517,6 @@ await client.preEncounter.patients.v1.create({
12210
12517
  country: "country",
12211
12518
  },
12212
12519
  ],
12213
- primaryTelecom: {
12214
- value: "value",
12215
- use: "HOME",
12216
- },
12217
12520
  otherTelecoms: [
12218
12521
  {
12219
12522
  value: "value",
@@ -12406,6 +12709,7 @@ Adds a patient and hydrates their MRN with a pre-existing MRN. Once this patient
12406
12709
  ```typescript
12407
12710
  await client.preEncounter.patients.v1.createWithMrn({
12408
12711
  body: {
12712
+ mrn: "mrn",
12409
12713
  name: {
12410
12714
  family: "family",
12411
12715
  given: ["given", "given"],
@@ -12451,10 +12755,6 @@ await client.preEncounter.patients.v1.createWithMrn({
12451
12755
  country: "country",
12452
12756
  },
12453
12757
  ],
12454
- primaryTelecom: {
12455
- value: "value",
12456
- use: "HOME",
12457
- },
12458
12758
  otherTelecoms: [
12459
12759
  {
12460
12760
  value: "value",
@@ -12581,7 +12881,6 @@ await client.preEncounter.patients.v1.createWithMrn({
12581
12881
  CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
12582
12882
  ],
12583
12883
  },
12584
- mrn: "mrn",
12585
12884
  },
12586
12885
  });
12587
12886
  ```
@@ -12809,6 +13108,69 @@ await client.preEncounter.patients.v1.get(CandidApi.PatientId("id"));
12809
13108
  </dl>
12810
13109
  </details>
12811
13110
 
13111
+ <details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">getByMrn</a>(mrn) -> core.APIResponse<CandidApi.Patient, CandidApi.preEncounter.patients.v1.getByMrn.Error></code></summary>
13112
+ <dl>
13113
+ <dd>
13114
+
13115
+ #### 📝 Description
13116
+
13117
+ <dl>
13118
+ <dd>
13119
+
13120
+ <dl>
13121
+ <dd>
13122
+
13123
+ Gets a patient by mrn.
13124
+
13125
+ </dd>
13126
+ </dl>
13127
+ </dd>
13128
+ </dl>
13129
+
13130
+ #### 🔌 Usage
13131
+
13132
+ <dl>
13133
+ <dd>
13134
+
13135
+ <dl>
13136
+ <dd>
13137
+
13138
+ ```typescript
13139
+ await client.preEncounter.patients.v1.getByMrn("mrn");
13140
+ ```
13141
+
13142
+ </dd>
13143
+ </dl>
13144
+ </dd>
13145
+ </dl>
13146
+
13147
+ #### ⚙️ Parameters
13148
+
13149
+ <dl>
13150
+ <dd>
13151
+
13152
+ <dl>
13153
+ <dd>
13154
+
13155
+ **mrn:** `string`
13156
+
13157
+ </dd>
13158
+ </dl>
13159
+
13160
+ <dl>
13161
+ <dd>
13162
+
13163
+ **requestOptions:** `V1.RequestOptions`
13164
+
13165
+ </dd>
13166
+ </dl>
13167
+ </dd>
13168
+ </dl>
13169
+
13170
+ </dd>
13171
+ </dl>
13172
+ </details>
13173
+
12812
13174
  <details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">getHistory</a>(id) -> core.APIResponse<CandidApi.Patient[], CandidApi.preEncounter.patients.v1.getHistory.Error></code></summary>
12813
13175
  <dl>
12814
13176
  <dd>
@@ -12946,10 +13308,6 @@ await client.preEncounter.patients.v1.update(CandidApi.PatientId("id"), "version
12946
13308
  country: "country",
12947
13309
  },
12948
13310
  ],
12949
- primaryTelecom: {
12950
- value: "value",
12951
- use: "HOME",
12952
- },
12953
13311
  otherTelecoms: [
12954
13312
  {
12955
13313
  value: "value",
@@ -13361,7 +13719,7 @@ Scans up to 100 patient updates. The since query parameter is inclusive, and the
13361
13719
 
13362
13720
  ```typescript
13363
13721
  await client.preEncounter.patients.v1.scan({
13364
- since: "2024-01-15T09:30:00Z",
13722
+ since: new Date("2024-01-15T09:30:00.000Z"),
13365
13723
  });
13366
13724
  ```
13367
13725
 
@@ -13773,9 +14131,9 @@ Creates a new diagnosis for an encounter
13773
14131
 
13774
14132
  ```typescript
13775
14133
  await client.diagnoses.create({
14134
+ encounterId: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
13776
14135
  codeType: "ABF",
13777
14136
  code: "code",
13778
- encounterId: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
13779
14137
  });
13780
14138
  ```
13781
14139