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
@@ -44,16 +44,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
44
44
  step((generator = generator.apply(thisArg, _arguments || [])).next());
45
45
  });
46
46
  };
47
- var __importDefault = (this && this.__importDefault) || function (mod) {
48
- return (mod && mod.__esModule) ? mod : { "default": mod };
49
- };
50
47
  Object.defineProperty(exports, "__esModule", { value: true });
51
48
  exports.V4 = void 0;
52
49
  const environments = __importStar(require("../../../../../../environments"));
53
50
  const core = __importStar(require("../../../../../../core"));
54
51
  const CandidApi = __importStar(require("../../../../../index"));
55
52
  const serializers = __importStar(require("../../../../../../serialization/index"));
56
- const url_join_1 = __importDefault(require("url-join"));
53
+ const headers_1 = require("../../../../../../core/headers");
57
54
  class V4 {
58
55
  constructor(_options = {}) {
59
56
  this._options = _options;
@@ -68,9 +65,12 @@ class V4 {
68
65
  * @example
69
66
  * await client.patientPayments.v4.getMulti()
70
67
  */
71
- getMulti() {
68
+ getMulti(request = {}, requestOptions) {
69
+ return core.HttpResponsePromise.fromPromise(this.__getMulti(request, requestOptions));
70
+ }
71
+ __getMulti() {
72
72
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
73
- var _a, _b, _c;
73
+ var _a, _b, _c, _d;
74
74
  const { limit, patientExternalId, claimId, serviceLineId, billingProviderId, unattributed, invoiceId, sources, sort, sortDirection, pageToken, } = request;
75
75
  const _queryParams = {};
76
76
  if (limit != null) {
@@ -117,46 +117,58 @@ class V4 {
117
117
  if (pageToken != null) {
118
118
  _queryParams["page_token"] = pageToken;
119
119
  }
120
+ let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
120
121
  const _response = yield core.fetcher({
121
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/patient-payments/v4"),
122
+ url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.CandidApiEnvironment.Production).candidApi, "/api/patient-payments/v4"),
122
123
  method: "GET",
123
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.7.0", "User-Agent": "candidhealth/1.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
124
- contentType: "application/json",
125
- queryParameters: _queryParams,
126
- requestType: "json",
124
+ headers: _headers,
125
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
127
126
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
128
127
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
129
128
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
130
129
  });
131
130
  if (_response.ok) {
132
131
  return {
133
- ok: true,
134
- body: serializers.patientPayments.v4.PatientPaymentsPage.parseOrThrow(_response.body, {
135
- unrecognizedObjectKeys: "passthrough",
136
- allowUnrecognizedUnionMembers: true,
137
- allowUnrecognizedEnumValues: true,
138
- breadcrumbsPrefix: ["response"],
139
- }),
132
+ data: {
133
+ ok: true,
134
+ body: serializers.patientPayments.v4.PatientPaymentsPage.parseOrThrow(_response.body, {
135
+ unrecognizedObjectKeys: "passthrough",
136
+ allowUnrecognizedUnionMembers: true,
137
+ allowUnrecognizedEnumValues: true,
138
+ breadcrumbsPrefix: ["response"],
139
+ }),
140
+ headers: _response.headers,
141
+ rawResponse: _response.rawResponse,
142
+ },
143
+ rawResponse: _response.rawResponse,
140
144
  };
141
145
  }
142
146
  if (_response.error.reason === "status-code") {
143
- switch ((_c = _response.error.body) === null || _c === void 0 ? void 0 : _c.errorName) {
147
+ switch ((_d = _response.error.body) === null || _d === void 0 ? void 0 : _d.errorName) {
144
148
  case "UnauthorizedError":
145
149
  case "UnprocessableEntityError":
146
150
  return {
147
- ok: false,
148
- error: serializers.patientPayments.v4.getMulti.Error.parseOrThrow(_response.error.body, {
149
- unrecognizedObjectKeys: "passthrough",
150
- allowUnrecognizedUnionMembers: true,
151
- allowUnrecognizedEnumValues: true,
152
- breadcrumbsPrefix: ["response"],
153
- }),
151
+ data: {
152
+ ok: false,
153
+ error: serializers.patientPayments.v4.getMulti.Error.parseOrThrow(_response.error.body, {
154
+ unrecognizedObjectKeys: "passthrough",
155
+ allowUnrecognizedUnionMembers: true,
156
+ allowUnrecognizedEnumValues: true,
157
+ breadcrumbsPrefix: ["response"],
158
+ }),
159
+ rawResponse: _response.rawResponse,
160
+ },
161
+ rawResponse: _response.rawResponse,
154
162
  };
155
163
  }
156
164
  }
157
165
  return {
158
- ok: false,
159
- error: CandidApi.patientPayments.v4.getMulti.Error._unknown(_response.error),
166
+ data: {
167
+ ok: false,
168
+ error: CandidApi.patientPayments.v4.getMulti.Error._unknown(_response.error),
169
+ rawResponse: _response.rawResponse,
170
+ },
171
+ rawResponse: _response.rawResponse,
160
172
  };
161
173
  });
162
174
  }
@@ -170,47 +182,63 @@ class V4 {
170
182
  * await client.patientPayments.v4.get(CandidApi.patientPayments.v4.PatientPaymentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
171
183
  */
172
184
  get(patientPaymentId, requestOptions) {
185
+ return core.HttpResponsePromise.fromPromise(this.__get(patientPaymentId, requestOptions));
186
+ }
187
+ __get(patientPaymentId, requestOptions) {
173
188
  return __awaiter(this, void 0, void 0, function* () {
174
- var _a, _b, _c;
189
+ var _a, _b, _c, _d;
190
+ let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
175
191
  const _response = yield core.fetcher({
176
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/patient-payments/v4/${encodeURIComponent(serializers.patientPayments.v4.PatientPaymentId.jsonOrThrow(patientPaymentId))}`),
192
+ url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.CandidApiEnvironment.Production).candidApi, `/api/patient-payments/v4/${encodeURIComponent(serializers.patientPayments.v4.PatientPaymentId.jsonOrThrow(patientPaymentId))}`),
177
193
  method: "GET",
178
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.7.0", "User-Agent": "candidhealth/1.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
179
- contentType: "application/json",
180
- requestType: "json",
194
+ headers: _headers,
195
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
181
196
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
182
197
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
183
198
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
184
199
  });
185
200
  if (_response.ok) {
186
201
  return {
187
- ok: true,
188
- body: serializers.patientPayments.v4.PatientPayment.parseOrThrow(_response.body, {
189
- unrecognizedObjectKeys: "passthrough",
190
- allowUnrecognizedUnionMembers: true,
191
- allowUnrecognizedEnumValues: true,
192
- breadcrumbsPrefix: ["response"],
193
- }),
202
+ data: {
203
+ ok: true,
204
+ body: serializers.patientPayments.v4.PatientPayment.parseOrThrow(_response.body, {
205
+ unrecognizedObjectKeys: "passthrough",
206
+ allowUnrecognizedUnionMembers: true,
207
+ allowUnrecognizedEnumValues: true,
208
+ breadcrumbsPrefix: ["response"],
209
+ }),
210
+ headers: _response.headers,
211
+ rawResponse: _response.rawResponse,
212
+ },
213
+ rawResponse: _response.rawResponse,
194
214
  };
195
215
  }
196
216
  if (_response.error.reason === "status-code") {
197
- switch ((_c = _response.error.body) === null || _c === void 0 ? void 0 : _c.errorName) {
217
+ switch ((_d = _response.error.body) === null || _d === void 0 ? void 0 : _d.errorName) {
198
218
  case "EntityNotFoundError":
199
219
  case "UnauthorizedError":
200
220
  return {
201
- ok: false,
202
- error: serializers.patientPayments.v4.get.Error.parseOrThrow(_response.error.body, {
203
- unrecognizedObjectKeys: "passthrough",
204
- allowUnrecognizedUnionMembers: true,
205
- allowUnrecognizedEnumValues: true,
206
- breadcrumbsPrefix: ["response"],
207
- }),
221
+ data: {
222
+ ok: false,
223
+ error: serializers.patientPayments.v4.get.Error.parseOrThrow(_response.error.body, {
224
+ unrecognizedObjectKeys: "passthrough",
225
+ allowUnrecognizedUnionMembers: true,
226
+ allowUnrecognizedEnumValues: true,
227
+ breadcrumbsPrefix: ["response"],
228
+ }),
229
+ rawResponse: _response.rawResponse,
230
+ },
231
+ rawResponse: _response.rawResponse,
208
232
  };
209
233
  }
210
234
  }
211
235
  return {
212
- ok: false,
213
- error: CandidApi.patientPayments.v4.get.Error._unknown(_response.error),
236
+ data: {
237
+ ok: false,
238
+ error: CandidApi.patientPayments.v4.get.Error._unknown(_response.error),
239
+ rawResponse: _response.rawResponse,
240
+ },
241
+ rawResponse: _response.rawResponse,
214
242
  };
215
243
  });
216
244
  }
@@ -242,13 +270,18 @@ class V4 {
242
270
  * })
243
271
  */
244
272
  create(request, requestOptions) {
273
+ return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions));
274
+ }
275
+ __create(request, requestOptions) {
245
276
  return __awaiter(this, void 0, void 0, function* () {
246
- var _a, _b, _c;
277
+ var _a, _b, _c, _d;
278
+ let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
247
279
  const _response = yield core.fetcher({
248
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/patient-payments/v4"),
280
+ url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.CandidApiEnvironment.Production).candidApi, "/api/patient-payments/v4"),
249
281
  method: "POST",
250
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.7.0", "User-Agent": "candidhealth/1.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
282
+ headers: _headers,
251
283
  contentType: "application/json",
284
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
252
285
  requestType: "json",
253
286
  body: serializers.patientPayments.v4.PatientPaymentCreate.jsonOrThrow(request, {
254
287
  unrecognizedObjectKeys: "strip",
@@ -259,34 +292,47 @@ class V4 {
259
292
  });
260
293
  if (_response.ok) {
261
294
  return {
262
- ok: true,
263
- body: serializers.patientPayments.v4.PatientPayment.parseOrThrow(_response.body, {
264
- unrecognizedObjectKeys: "passthrough",
265
- allowUnrecognizedUnionMembers: true,
266
- allowUnrecognizedEnumValues: true,
267
- breadcrumbsPrefix: ["response"],
268
- }),
295
+ data: {
296
+ ok: true,
297
+ body: serializers.patientPayments.v4.PatientPayment.parseOrThrow(_response.body, {
298
+ unrecognizedObjectKeys: "passthrough",
299
+ allowUnrecognizedUnionMembers: true,
300
+ allowUnrecognizedEnumValues: true,
301
+ breadcrumbsPrefix: ["response"],
302
+ }),
303
+ headers: _response.headers,
304
+ rawResponse: _response.rawResponse,
305
+ },
306
+ rawResponse: _response.rawResponse,
269
307
  };
270
308
  }
271
309
  if (_response.error.reason === "status-code") {
272
- switch ((_c = _response.error.body) === null || _c === void 0 ? void 0 : _c.errorName) {
310
+ switch ((_d = _response.error.body) === null || _d === void 0 ? void 0 : _d.errorName) {
273
311
  case "EntityNotFoundError":
274
312
  case "UnauthorizedError":
275
313
  case "UnprocessableEntityError":
276
314
  return {
277
- ok: false,
278
- error: serializers.patientPayments.v4.create.Error.parseOrThrow(_response.error.body, {
279
- unrecognizedObjectKeys: "passthrough",
280
- allowUnrecognizedUnionMembers: true,
281
- allowUnrecognizedEnumValues: true,
282
- breadcrumbsPrefix: ["response"],
283
- }),
315
+ data: {
316
+ ok: false,
317
+ error: serializers.patientPayments.v4.create.Error.parseOrThrow(_response.error.body, {
318
+ unrecognizedObjectKeys: "passthrough",
319
+ allowUnrecognizedUnionMembers: true,
320
+ allowUnrecognizedEnumValues: true,
321
+ breadcrumbsPrefix: ["response"],
322
+ }),
323
+ rawResponse: _response.rawResponse,
324
+ },
325
+ rawResponse: _response.rawResponse,
284
326
  };
285
327
  }
286
328
  }
287
329
  return {
288
- ok: false,
289
- error: CandidApi.patientPayments.v4.create.Error._unknown(_response.error),
330
+ data: {
331
+ ok: false,
332
+ error: CandidApi.patientPayments.v4.create.Error._unknown(_response.error),
333
+ rawResponse: _response.rawResponse,
334
+ },
335
+ rawResponse: _response.rawResponse,
290
336
  };
291
337
  });
292
338
  }
@@ -300,14 +346,19 @@ class V4 {
300
346
  * @example
301
347
  * await client.patientPayments.v4.update(CandidApi.patientPayments.v4.PatientPaymentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
302
348
  */
303
- update(patientPaymentId_1) {
349
+ update(patientPaymentId, request = {}, requestOptions) {
350
+ return core.HttpResponsePromise.fromPromise(this.__update(patientPaymentId, request, requestOptions));
351
+ }
352
+ __update(patientPaymentId_1) {
304
353
  return __awaiter(this, arguments, void 0, function* (patientPaymentId, request = {}, requestOptions) {
305
- var _a, _b, _c;
354
+ var _a, _b, _c, _d;
355
+ let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
306
356
  const _response = yield core.fetcher({
307
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/patient-payments/v4/${encodeURIComponent(serializers.patientPayments.v4.PatientPaymentId.jsonOrThrow(patientPaymentId))}`),
357
+ url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.CandidApiEnvironment.Production).candidApi, `/api/patient-payments/v4/${encodeURIComponent(serializers.patientPayments.v4.PatientPaymentId.jsonOrThrow(patientPaymentId))}`),
308
358
  method: "PATCH",
309
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.7.0", "User-Agent": "candidhealth/1.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
359
+ headers: _headers,
310
360
  contentType: "application/json",
361
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
311
362
  requestType: "json",
312
363
  body: serializers.patientPayments.v4.PatientPaymentUpdate.jsonOrThrow(request, {
313
364
  unrecognizedObjectKeys: "strip",
@@ -318,34 +369,47 @@ class V4 {
318
369
  });
319
370
  if (_response.ok) {
320
371
  return {
321
- ok: true,
322
- body: serializers.patientPayments.v4.PatientPayment.parseOrThrow(_response.body, {
323
- unrecognizedObjectKeys: "passthrough",
324
- allowUnrecognizedUnionMembers: true,
325
- allowUnrecognizedEnumValues: true,
326
- breadcrumbsPrefix: ["response"],
327
- }),
372
+ data: {
373
+ ok: true,
374
+ body: serializers.patientPayments.v4.PatientPayment.parseOrThrow(_response.body, {
375
+ unrecognizedObjectKeys: "passthrough",
376
+ allowUnrecognizedUnionMembers: true,
377
+ allowUnrecognizedEnumValues: true,
378
+ breadcrumbsPrefix: ["response"],
379
+ }),
380
+ headers: _response.headers,
381
+ rawResponse: _response.rawResponse,
382
+ },
383
+ rawResponse: _response.rawResponse,
328
384
  };
329
385
  }
330
386
  if (_response.error.reason === "status-code") {
331
- switch ((_c = _response.error.body) === null || _c === void 0 ? void 0 : _c.errorName) {
387
+ switch ((_d = _response.error.body) === null || _d === void 0 ? void 0 : _d.errorName) {
332
388
  case "EntityNotFoundError":
333
389
  case "UnauthorizedError":
334
390
  case "UnprocessableEntityError":
335
391
  return {
336
- ok: false,
337
- error: serializers.patientPayments.v4.update.Error.parseOrThrow(_response.error.body, {
338
- unrecognizedObjectKeys: "passthrough",
339
- allowUnrecognizedUnionMembers: true,
340
- allowUnrecognizedEnumValues: true,
341
- breadcrumbsPrefix: ["response"],
342
- }),
392
+ data: {
393
+ ok: false,
394
+ error: serializers.patientPayments.v4.update.Error.parseOrThrow(_response.error.body, {
395
+ unrecognizedObjectKeys: "passthrough",
396
+ allowUnrecognizedUnionMembers: true,
397
+ allowUnrecognizedEnumValues: true,
398
+ breadcrumbsPrefix: ["response"],
399
+ }),
400
+ rawResponse: _response.rawResponse,
401
+ },
402
+ rawResponse: _response.rawResponse,
343
403
  };
344
404
  }
345
405
  }
346
406
  return {
347
- ok: false,
348
- error: CandidApi.patientPayments.v4.update.Error._unknown(_response.error),
407
+ data: {
408
+ ok: false,
409
+ error: CandidApi.patientPayments.v4.update.Error._unknown(_response.error),
410
+ rawResponse: _response.rawResponse,
411
+ },
412
+ rawResponse: _response.rawResponse,
349
413
  };
350
414
  });
351
415
  }
@@ -359,43 +423,59 @@ class V4 {
359
423
  * await client.patientPayments.v4.delete(CandidApi.patientPayments.v4.PatientPaymentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
360
424
  */
361
425
  delete(patientPaymentId, requestOptions) {
426
+ return core.HttpResponsePromise.fromPromise(this.__delete(patientPaymentId, requestOptions));
427
+ }
428
+ __delete(patientPaymentId, requestOptions) {
362
429
  return __awaiter(this, void 0, void 0, function* () {
363
- var _a, _b, _c;
430
+ var _a, _b, _c, _d;
431
+ let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
364
432
  const _response = yield core.fetcher({
365
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/patient-payments/v4/${encodeURIComponent(serializers.patientPayments.v4.PatientPaymentId.jsonOrThrow(patientPaymentId))}`),
433
+ url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.CandidApiEnvironment.Production).candidApi, `/api/patient-payments/v4/${encodeURIComponent(serializers.patientPayments.v4.PatientPaymentId.jsonOrThrow(patientPaymentId))}`),
366
434
  method: "DELETE",
367
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.7.0", "User-Agent": "candidhealth/1.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
368
- contentType: "application/json",
369
- requestType: "json",
435
+ headers: _headers,
436
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
370
437
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
371
438
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
372
439
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
373
440
  });
374
441
  if (_response.ok) {
375
442
  return {
376
- ok: true,
377
- body: undefined,
443
+ data: {
444
+ ok: true,
445
+ body: undefined,
446
+ headers: _response.headers,
447
+ rawResponse: _response.rawResponse,
448
+ },
449
+ rawResponse: _response.rawResponse,
378
450
  };
379
451
  }
380
452
  if (_response.error.reason === "status-code") {
381
- switch ((_c = _response.error.body) === null || _c === void 0 ? void 0 : _c.errorName) {
453
+ switch ((_d = _response.error.body) === null || _d === void 0 ? void 0 : _d.errorName) {
382
454
  case "EntityNotFoundError":
383
455
  case "UnauthorizedError":
384
456
  case "UnprocessableEntityError":
385
457
  return {
386
- ok: false,
387
- error: serializers.patientPayments.v4.delete.Error.parseOrThrow(_response.error.body, {
388
- unrecognizedObjectKeys: "passthrough",
389
- allowUnrecognizedUnionMembers: true,
390
- allowUnrecognizedEnumValues: true,
391
- breadcrumbsPrefix: ["response"],
392
- }),
458
+ data: {
459
+ ok: false,
460
+ error: serializers.patientPayments.v4.delete.Error.parseOrThrow(_response.error.body, {
461
+ unrecognizedObjectKeys: "passthrough",
462
+ allowUnrecognizedUnionMembers: true,
463
+ allowUnrecognizedEnumValues: true,
464
+ breadcrumbsPrefix: ["response"],
465
+ }),
466
+ rawResponse: _response.rawResponse,
467
+ },
468
+ rawResponse: _response.rawResponse,
393
469
  };
394
470
  }
395
471
  }
396
472
  return {
397
- ok: false,
398
- error: CandidApi.patientPayments.v4.delete.Error._unknown(_response.error),
473
+ data: {
474
+ ok: false,
475
+ error: CandidApi.patientPayments.v4.delete.Error._unknown(_response.error),
476
+ rawResponse: _response.rawResponse,
477
+ },
478
+ rawResponse: _response.rawResponse,
399
479
  };
400
480
  });
401
481
  }
@@ -1,6 +1,6 @@
1
- export * from "./requests";
2
1
  export * as getMulti from "./getMulti";
3
2
  export * as get from "./get";
4
3
  export * as create from "./create";
5
4
  export * as update from "./update";
6
5
  export * as delete from "./delete";
6
+ export * from "./requests";
@@ -15,9 +15,6 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
19
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
20
- };
21
18
  var __importStar = (this && this.__importStar) || (function () {
22
19
  var ownKeys = function(o) {
23
20
  ownKeys = Object.getOwnPropertyNames || function (o) {
@@ -35,11 +32,14 @@ var __importStar = (this && this.__importStar) || (function () {
35
32
  return result;
36
33
  };
37
34
  })();
35
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
+ };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.delete = exports.update = exports.create = exports.get = exports.getMulti = void 0;
40
- __exportStar(require("./requests"), exports);
41
40
  exports.getMulti = __importStar(require("./getMulti"));
42
41
  exports.get = __importStar(require("./get"));
43
42
  exports.create = __importStar(require("./create"));
44
43
  exports.update = __importStar(require("./update"));
45
44
  exports.delete = __importStar(require("./delete"));
45
+ __exportStar(require("./requests"), exports);
@@ -7,27 +7,19 @@ import * as CandidApi from "../../../../../../index";
7
7
  * {}
8
8
  */
9
9
  export interface GetMultiPatientPaymentsRequest {
10
- /**
11
- * Defaults to 100. The value must be greater than 0 and less than 1000.
12
- */
10
+ /** Defaults to 100. The value must be greater than 0 and less than 1000. */
13
11
  limit?: number;
14
12
  patientExternalId?: CandidApi.PatientExternalId;
15
13
  claimId?: CandidApi.ClaimId;
16
14
  serviceLineId?: CandidApi.ServiceLineId;
17
15
  billingProviderId?: CandidApi.ProviderId;
18
- /**
19
- * returns payments with unattributed allocations if set to true
20
- */
16
+ /** returns payments with unattributed allocations if set to true */
21
17
  unattributed?: boolean;
22
18
  invoiceId?: CandidApi.InvoiceId;
23
19
  sources?: CandidApi.PatientTransactionSource | CandidApi.PatientTransactionSource[];
24
- /**
25
- * Defaults to payment_timestamp
26
- */
20
+ /** Defaults to payment_timestamp */
27
21
  sort?: CandidApi.patientPayments.v4.PatientPaymentSortField;
28
- /**
29
- * Sort direction. Defaults to descending order if not provided.
30
- */
22
+ /** Sort direction. Defaults to descending order if not provided. */
31
23
  sortDirection?: CandidApi.SortDirection;
32
24
  pageToken?: CandidApi.PageToken;
33
25
  }
@@ -10,16 +10,8 @@ export declare namespace PatientRefunds {
10
10
  /** Specify a custom URL to connect the client to. */
11
11
  baseUrl?: core.Supplier<string>;
12
12
  token?: core.Supplier<core.BearerToken | undefined>;
13
- }
14
- interface RequestOptions {
15
- /** The maximum time to wait for a response in seconds. */
16
- timeoutInSeconds?: number;
17
- /** The number of times to retry the request. Defaults to 2. */
18
- maxRetries?: number;
19
- /** A hook to abort the request. */
20
- abortSignal?: AbortSignal;
21
- /** Additional headers to include in the request. */
22
- headers?: Record<string, string>;
13
+ /** Additional headers to include in requests. */
14
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
23
15
  }
24
16
  }
25
17
  export declare class PatientRefunds {
@@ -10,6 +10,8 @@ export declare namespace V1 {
10
10
  /** Specify a custom URL to connect the client to. */
11
11
  baseUrl?: core.Supplier<string>;
12
12
  token?: core.Supplier<core.BearerToken | undefined>;
13
+ /** Additional headers to include in requests. */
14
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
13
15
  }
14
16
  interface RequestOptions {
15
17
  /** The maximum time to wait for a response in seconds. */
@@ -18,8 +20,10 @@ export declare namespace V1 {
18
20
  maxRetries?: number;
19
21
  /** A hook to abort the request. */
20
22
  abortSignal?: AbortSignal;
23
+ /** Additional query string parameters to include in the request. */
24
+ queryParams?: Record<string, unknown>;
21
25
  /** Additional headers to include in the request. */
22
- headers?: Record<string, string>;
26
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
23
27
  }
24
28
  }
25
29
  export declare class V1 {
@@ -35,7 +39,8 @@ export declare class V1 {
35
39
  * @example
36
40
  * await client.patientRefunds.v1.getMulti()
37
41
  */
38
- getMulti(request?: CandidApi.patientRefunds.v1.GetMultiPatientRefundsRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.patientRefunds.v1.PatientRefundsPage, CandidApi.patientRefunds.v1.getMulti.Error>>;
42
+ getMulti(request?: CandidApi.patientRefunds.v1.GetMultiPatientRefundsRequest, requestOptions?: V1.RequestOptions): core.HttpResponsePromise<core.APIResponse<CandidApi.patientRefunds.v1.PatientRefundsPage, CandidApi.patientRefunds.v1.getMulti.Error>>;
43
+ private __getMulti;
39
44
  /**
40
45
  * Retrieves a previously created patient refund by its `patient_refund_id`.
41
46
  *
@@ -45,7 +50,8 @@ export declare class V1 {
45
50
  * @example
46
51
  * await client.patientRefunds.v1.get(CandidApi.patientRefunds.v1.PatientRefundId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
47
52
  */
48
- get(patientRefundId: CandidApi.patientRefunds.v1.PatientRefundId, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.patientRefunds.v1.PatientRefund, CandidApi.patientRefunds.v1.get.Error>>;
53
+ get(patientRefundId: CandidApi.patientRefunds.v1.PatientRefundId, requestOptions?: V1.RequestOptions): core.HttpResponsePromise<core.APIResponse<CandidApi.patientRefunds.v1.PatientRefund, CandidApi.patientRefunds.v1.get.Error>>;
54
+ private __get;
49
55
  /**
50
56
  * Creates a new patient refund record and returns the newly created PatientRefund object.
51
57
  * The allocations can describe whether the refund is being applied toward a specific service line,
@@ -73,7 +79,8 @@ export declare class V1 {
73
79
  * }]
74
80
  * })
75
81
  */
76
- create(request: CandidApi.patientRefunds.v1.PatientRefundCreate, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.patientRefunds.v1.PatientRefund, CandidApi.patientRefunds.v1.create.Error>>;
82
+ create(request: CandidApi.patientRefunds.v1.PatientRefundCreate, requestOptions?: V1.RequestOptions): core.HttpResponsePromise<core.APIResponse<CandidApi.patientRefunds.v1.PatientRefund, CandidApi.patientRefunds.v1.create.Error>>;
83
+ private __create;
77
84
  /**
78
85
  * Updates the patient refund record matching the provided patient_refund_id.
79
86
  *
@@ -84,7 +91,8 @@ export declare class V1 {
84
91
  * @example
85
92
  * await client.patientRefunds.v1.update(CandidApi.patientRefunds.v1.PatientRefundId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
86
93
  */
87
- update(patientRefundId: CandidApi.patientRefunds.v1.PatientRefundId, request?: CandidApi.patientRefunds.v1.PatientRefundUpdate, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.patientRefunds.v1.PatientRefund, CandidApi.patientRefunds.v1.update.Error>>;
94
+ update(patientRefundId: CandidApi.patientRefunds.v1.PatientRefundId, request?: CandidApi.patientRefunds.v1.PatientRefundUpdate, requestOptions?: V1.RequestOptions): core.HttpResponsePromise<core.APIResponse<CandidApi.patientRefunds.v1.PatientRefund, CandidApi.patientRefunds.v1.update.Error>>;
95
+ private __update;
88
96
  /**
89
97
  * Deletes the patient refund record matching the provided patient_refund_id.
90
98
  *
@@ -94,6 +102,7 @@ export declare class V1 {
94
102
  * @example
95
103
  * await client.patientRefunds.v1.delete(CandidApi.patientRefunds.v1.PatientRefundId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
96
104
  */
97
- delete(patientRefundId: CandidApi.patientRefunds.v1.PatientRefundId, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<void, CandidApi.patientRefunds.v1.delete.Error>>;
105
+ delete(patientRefundId: CandidApi.patientRefunds.v1.PatientRefundId, requestOptions?: V1.RequestOptions): core.HttpResponsePromise<core.APIResponse<void, CandidApi.patientRefunds.v1.delete.Error>>;
106
+ private __delete;
98
107
  protected _getAuthorizationHeader(): Promise<string | undefined>;
99
108
  }