candidhealth 1.8.1 → 1.9.1
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.
- package/Client.d.ts +5 -1
- package/Client.js +10 -4
- package/README.md +28 -3
- package/api/resources/auth/client/Client.d.ts +2 -10
- package/api/resources/auth/resources/default/client/Client.d.ts +7 -14
- package/api/resources/auth/resources/default/client/Client.js +39 -68
- package/api/resources/auth/resources/default/client/index.d.ts +1 -2
- package/api/resources/auth/resources/default/client/index.js +5 -6
- package/api/resources/auth/resources/default/client/requests/index.d.ts +0 -1
- package/api/resources/billingNotes/client/Client.d.ts +2 -10
- package/api/resources/billingNotes/resources/v2/client/Client.d.ts +13 -5
- package/api/resources/billingNotes/resources/v2/client/Client.js +100 -54
- package/api/resources/billingNotes/resources/v2/client/index.d.ts +1 -1
- package/api/resources/billingNotes/resources/v2/client/index.js +4 -4
- package/api/resources/billingNotes/resources/v2/client/requests/StandaloneBillingNoteCreate.d.ts +2 -1
- package/api/resources/billingNotes/resources/v2/types/BillingNote.d.ts +1 -1
- package/api/resources/chargeCapture/client/Client.d.ts +2 -10
- package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +17 -7
- package/api/resources/chargeCapture/resources/v1/client/Client.js +208 -116
- package/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
- package/api/resources/chargeCapture/resources/v1/client/index.js +4 -4
- package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +37 -111
- package/api/resources/chargeCaptureBundles/client/Client.d.ts +2 -10
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +13 -5
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +115 -65
- package/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +1 -1
- package/api/resources/chargeCaptureBundles/resources/v1/client/index.js +4 -4
- package/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.d.ts +21 -63
- package/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +2 -2
- package/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.d.ts +2 -2
- package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +4 -4
- package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.d.ts +4 -4
- package/api/resources/claims/types/Claim.d.ts +5 -5
- package/api/resources/contracts/client/Client.d.ts +2 -10
- package/api/resources/contracts/resources/v2/client/Client.d.ts +30 -7
- package/api/resources/contracts/resources/v2/client/Client.js +179 -93
- package/api/resources/contracts/resources/v2/client/index.d.ts +1 -1
- package/api/resources/contracts/resources/v2/client/index.js +4 -4
- package/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +15 -1
- package/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts +5 -15
- package/api/resources/credentialing/client/Client.d.ts +2 -10
- package/api/resources/credentialing/resources/v2/client/Client.d.ts +25 -11
- package/api/resources/credentialing/resources/v2/client/Client.js +374 -211
- package/api/resources/credentialing/resources/v2/client/index.d.ts +1 -1
- package/api/resources/credentialing/resources/v2/client/index.js +4 -4
- package/api/resources/credentialing/resources/v2/client/requests/GetAllFacilityCredentialingSpansRequest.d.ts +4 -12
- package/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +5 -15
- package/api/resources/customSchemas/client/Client.d.ts +2 -10
- package/api/resources/customSchemas/resources/v1/client/Client.d.ts +13 -5
- package/api/resources/customSchemas/resources/v1/client/Client.js +154 -89
- package/api/resources/customSchemas/resources/v1/client/index.d.ts +1 -1
- package/api/resources/customSchemas/resources/v1/client/index.js +4 -4
- package/api/resources/diagnoses/client/Client.d.ts +13 -6
- package/api/resources/diagnoses/client/Client.js +101 -56
- package/api/resources/diagnoses/client/index.d.ts +1 -1
- package/api/resources/diagnoses/client/index.js +4 -4
- package/api/resources/diagnoses/types/Diagnosis.d.ts +2 -2
- package/api/resources/eligibility/client/Client.d.ts +2 -10
- package/api/resources/eligibility/resources/v2/client/Client.d.ts +11 -4
- package/api/resources/eligibility/resources/v2/client/Client.js +102 -52
- package/api/resources/encounterAttachments/client/Client.d.ts +2 -10
- package/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +11 -4
- package/api/resources/encounterAttachments/resources/v1/client/Client.js +74 -37
- package/api/resources/encounterAttachments/resources/v1/client/index.d.ts +1 -1
- package/api/resources/encounterAttachments/resources/v1/client/index.js +4 -4
- package/api/resources/encounterProviders/client/Client.d.ts +2 -10
- package/api/resources/encounterProviders/resources/v2/client/Client.d.ts +29 -13
- package/api/resources/encounterProviders/resources/v2/client/Client.js +449 -238
- package/api/resources/encounters/client/Client.d.ts +2 -10
- package/api/resources/encounters/resources/v4/client/Client.d.ts +50 -135
- package/api/resources/encounters/resources/v4/client/Client.js +207 -390
- package/api/resources/encounters/resources/v4/client/index.d.ts +1 -4
- package/api/resources/encounters/resources/v4/client/index.js +5 -8
- package/api/resources/encounters/resources/v4/client/requests/GetAllEncountersRequest.d.ts +14 -40
- package/api/resources/encounters/resources/v4/types/ClinicalNoteCategory.d.ts +1 -1
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +12 -12
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +12 -12
- package/api/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.d.ts +2 -3
- package/api/resources/encountersUniversal/types/index.d.ts +0 -3
- package/api/resources/encountersUniversal/types/index.js +0 -3
- package/api/resources/expectedNetworkStatus/client/Client.d.ts +2 -10
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +7 -2
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +27 -16
- package/api/resources/expectedNetworkStatus/resources/v1/client/index.d.ts +1 -1
- package/api/resources/expectedNetworkStatus/resources/v1/client/index.js +4 -4
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +9 -3
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +79 -46
- package/api/resources/exports/client/Client.d.ts +2 -10
- package/api/resources/exports/resources/v3/client/Client.d.ts +7 -2
- package/api/resources/exports/resources/v3/client/Client.js +39 -27
- package/api/resources/exports/resources/v3/client/index.d.ts +1 -1
- package/api/resources/exports/resources/v3/client/index.js +4 -4
- package/api/resources/exports/resources/v3/types/GetExportsResponse.d.ts +2 -2
- package/api/resources/externalPaymentAccountConfig/client/Client.d.ts +2 -10
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.d.ts +7 -2
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +28 -20
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/index.d.ts +1 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/index.js +4 -4
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/requests/GetExternalPaymentAccountConfigsRequest.d.ts +1 -3
- package/api/resources/feeSchedules/client/Client.d.ts +2 -10
- package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +29 -13
- package/api/resources/feeSchedules/resources/v3/client/Client.js +381 -211
- package/api/resources/feeSchedules/resources/v3/client/index.d.ts +1 -1
- package/api/resources/feeSchedules/resources/v3/client/index.js +4 -4
- package/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -3
- package/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +2 -6
- package/api/resources/guarantor/client/Client.d.ts +2 -10
- package/api/resources/guarantor/resources/v1/client/Client.d.ts +11 -4
- package/api/resources/guarantor/resources/v1/client/Client.js +91 -50
- package/api/resources/guarantor/resources/v1/types/Guarantor.d.ts +1 -1
- package/api/resources/healthCareCodeInformation/client/Client.d.ts +2 -10
- package/api/resources/healthCareCodeInformation/resources/v1/client/Client.d.ts +9 -3
- package/api/resources/healthCareCodeInformation/resources/v1/client/Client.js +78 -47
- package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.d.ts +433 -40
- package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.js +95 -1
- package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.d.ts +12 -1
- package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.d.ts +0 -52
- package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.d.ts +14 -1
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.d.ts +3 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformation.d.ts +6 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.d.ts +24 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.js +5 -1
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformation.d.ts +6 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformation.d.ts +6 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.d.ts +12 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +0 -16
- package/api/resources/healthCareCodeInformation/resources/v1/types/index.js +0 -16
- package/api/resources/importInvoice/client/Client.d.ts +2 -10
- package/api/resources/importInvoice/resources/v1/client/Client.d.ts +13 -5
- package/api/resources/importInvoice/resources/v1/client/Client.js +142 -82
- package/api/resources/importInvoice/resources/v1/client/index.d.ts +1 -1
- package/api/resources/importInvoice/resources/v1/client/index.js +4 -4
- package/api/resources/importInvoice/resources/v1/client/requests/SearchImportedInvoicesRequest.d.ts +7 -21
- package/api/resources/individual/types/Patient.d.ts +1 -1
- package/api/resources/insuranceAdjudications/client/Client.d.ts +2 -10
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +11 -4
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +86 -47
- package/api/resources/insurancePayments/client/Client.d.ts +2 -10
- package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +9 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +78 -50
- package/api/resources/insurancePayments/resources/v1/client/index.d.ts +1 -1
- package/api/resources/insurancePayments/resources/v1/client/index.js +4 -4
- package/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +3 -9
- package/api/resources/insuranceRefunds/client/Client.d.ts +2 -10
- package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +15 -6
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +188 -108
- package/api/resources/insuranceRefunds/resources/v1/client/index.d.ts +1 -1
- package/api/resources/insuranceRefunds/resources/v1/client/index.js +4 -4
- package/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.d.ts +3 -9
- package/api/resources/medicationDispense/client/Client.d.ts +2 -10
- package/api/resources/medicationDispense/resources/v1/client/Client.d.ts +7 -2
- package/api/resources/medicationDispense/resources/v1/client/Client.js +39 -24
- package/api/resources/nonInsurancePayerPayments/client/Client.d.ts +2 -10
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +15 -6
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +188 -108
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/index.d.ts +1 -1
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/index.js +4 -4
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/GetMultiNonInsurancePayerPaymentRequest.d.ts +3 -9
- package/api/resources/nonInsurancePayerRefunds/client/Client.d.ts +2 -10
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +15 -6
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +188 -108
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/index.d.ts +1 -1
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/index.js +4 -4
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/GetMultiNonInsurancePayerRefundsRequest.d.ts +3 -9
- package/api/resources/nonInsurancePayers/client/Client.d.ts +2 -10
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +19 -8
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +252 -143
- package/api/resources/nonInsurancePayers/resources/v1/client/index.d.ts +1 -1
- package/api/resources/nonInsurancePayers/resources/v1/client/index.js +4 -4
- package/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +2 -6
- package/api/resources/nonInsurancePayers/resources/v1/client/requests/GetNonInsurancePayersCategoriesRequest.d.ts +3 -9
- package/api/resources/organizationProviders/client/Client.d.ts +2 -10
- package/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +3 -1
- package/api/resources/organizationProviders/resources/v2/types/LicenseType.js +2 -0
- package/api/resources/organizationProviders/resources/v3/client/Client.d.ts +13 -5
- package/api/resources/organizationProviders/resources/v3/client/Client.js +142 -82
- package/api/resources/organizationProviders/resources/v3/client/index.d.ts +1 -1
- package/api/resources/organizationProviders/resources/v3/client/index.js +4 -4
- package/api/resources/organizationProviders/resources/v3/client/requests/GetAllOrganizationProvidersRequestV2.d.ts +8 -24
- package/api/resources/organizationServiceFacilities/client/Client.d.ts +2 -10
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +28 -6
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +261 -100
- package/api/resources/organizationServiceFacilities/resources/v2/client/getByExternalId.d.ts +28 -0
- package/api/resources/{auth/resources/default/client/getMachineTokenForOrgId.js → organizationServiceFacilities/resources/v2/client/getByExternalId.js} +12 -1
- package/api/resources/organizationServiceFacilities/resources/v2/client/index.d.ts +2 -1
- package/api/resources/organizationServiceFacilities/resources/v2/client/index.js +6 -5
- package/api/resources/organizationServiceFacilities/resources/v2/client/requests/GetAllOrganizationServiceFacilitiesRequest.d.ts +8 -12
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +4 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +4 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +4 -0
- package/api/resources/patientAr/client/Client.d.ts +2 -10
- package/api/resources/patientAr/resources/v1/client/Client.d.ts +9 -3
- package/api/resources/patientAr/resources/v1/client/Client.js +78 -50
- package/api/resources/patientAr/resources/v1/client/index.d.ts +1 -1
- package/api/resources/patientAr/resources/v1/client/index.js +4 -4
- package/api/resources/patientAr/resources/v1/client/requests/GetInventoryRecordsRequest.d.ts +2 -6
- package/api/resources/patientPayments/client/Client.d.ts +2 -10
- package/api/resources/patientPayments/resources/v3/types/PatientPayment.d.ts +1 -1
- package/api/resources/patientPayments/resources/v4/client/Client.d.ts +15 -6
- package/api/resources/patientPayments/resources/v4/client/Client.js +188 -108
- package/api/resources/patientPayments/resources/v4/client/index.d.ts +1 -1
- package/api/resources/patientPayments/resources/v4/client/index.js +4 -4
- package/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +4 -12
- package/api/resources/patientRefunds/client/Client.d.ts +2 -10
- package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +15 -6
- package/api/resources/patientRefunds/resources/v1/client/Client.js +188 -108
- package/api/resources/patientRefunds/resources/v1/client/index.d.ts +1 -1
- package/api/resources/patientRefunds/resources/v1/client/index.js +4 -4
- package/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +4 -12
- package/api/resources/payerPlanGroups/client/Client.d.ts +2 -10
- package/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +15 -6
- package/api/resources/payerPlanGroups/resources/v1/client/Client.js +192 -112
- package/api/resources/payerPlanGroups/resources/v1/client/index.d.ts +1 -1
- package/api/resources/payerPlanGroups/resources/v1/client/index.js +4 -4
- package/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +3 -9
- package/api/resources/payers/client/Client.d.ts +2 -10
- package/api/resources/payers/resources/v3/client/Client.d.ts +9 -3
- package/api/resources/payers/resources/v3/client/Client.js +54 -34
- package/api/resources/payers/resources/v3/client/index.d.ts +1 -1
- package/api/resources/payers/resources/v3/client/index.js +4 -4
- package/api/resources/payers/resources/v3/client/requests/GetAllPayersRequest.d.ts +1 -3
- package/api/resources/payers/resources/v4/client/Client.d.ts +9 -3
- package/api/resources/payers/resources/v4/client/Client.js +54 -34
- package/api/resources/payers/resources/v4/client/index.d.ts +1 -1
- package/api/resources/payers/resources/v4/client/index.js +4 -4
- package/api/resources/payers/resources/v4/client/requests/GetAllPayersRequest.d.ts +1 -3
- package/api/resources/payers/resources/v4/types/Payer.d.ts +2 -0
- package/api/resources/preEncounter/client/Client.d.ts +2 -10
- package/api/resources/preEncounter/resources/appointments/client/Client.d.ts +2 -10
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +22 -11
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +254 -147
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +1 -1
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/index.js +4 -4
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/AppointmentScanRequest.d.ts +1 -1
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +2 -6
- package/api/resources/preEncounter/resources/common/types/CanonicalServiceFacilityId.d.ts +11 -0
- package/api/resources/{encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js → preEncounter/resources/common/types/CanonicalServiceFacilityId.js} +4 -0
- package/api/resources/preEncounter/resources/common/types/FilterQueryString.d.ts +1 -1
- package/api/resources/preEncounter/resources/common/types/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/common/types/index.js +1 -0
- package/api/resources/preEncounter/resources/coverages/client/Client.d.ts +2 -10
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +26 -12
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +296 -161
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +1 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/index.js +4 -4
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.d.ts +1 -3
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageScanRequest.d.ts +1 -1
- package/api/resources/preEncounter/resources/eligibilityChecks/client/Client.d.ts +2 -10
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +17 -7
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +160 -88
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +1 -1
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +4 -4
- package/api/resources/preEncounter/resources/images/client/Client.d.ts +2 -10
- package/api/resources/preEncounter/resources/images/resources/v1/client/Client.d.ts +15 -6
- package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +175 -99
- package/api/resources/preEncounter/resources/images/resources/v1/client/index.d.ts +1 -1
- package/api/resources/preEncounter/resources/images/resources/v1/client/index.js +4 -4
- package/api/resources/preEncounter/resources/lists/client/Client.d.ts +2 -10
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +9 -3
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +67 -44
- package/api/resources/preEncounter/resources/lists/resources/v1/client/index.d.ts +1 -1
- package/api/resources/preEncounter/resources/lists/resources/v1/client/index.js +4 -4
- package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +3 -9
- package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +2 -6
- package/api/resources/preEncounter/resources/notes/client/Client.d.ts +2 -10
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.d.ts +13 -5
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +100 -51
- package/api/resources/preEncounter/resources/patients/client/Client.d.ts +2 -10
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +32 -16
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +404 -231
- package/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +4 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +2 -2
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.d.ts +1 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientScanRequest.d.ts +1 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +1 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/PatientServiceFacility.d.ts +10 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +1 -0
- package/api/resources/preEncounter/resources/tags/client/Client.d.ts +2 -10
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.d.ts +15 -6
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +127 -67
- package/api/resources/preEncounter/resources/tags/resources/v1/client/index.d.ts +1 -1
- package/api/resources/preEncounter/resources/tags/resources/v1/client/index.js +4 -4
- package/api/resources/serviceFacility/client/Client.d.ts +7 -2
- package/api/resources/serviceFacility/client/Client.js +27 -16
- package/api/resources/serviceLines/client/Client.d.ts +2 -10
- package/api/resources/serviceLines/resources/v2/client/Client.d.ts +17 -8
- package/api/resources/serviceLines/resources/v2/client/Client.js +188 -103
- package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +5 -5
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +1 -1
- package/api/resources/serviceLines/resources/v2/types/index.d.ts +0 -1
- package/api/resources/serviceLines/resources/v2/types/index.js +0 -1
- package/api/resources/superbills/client/Client.d.ts +2 -10
- package/api/resources/superbills/resources/v1/client/Client.d.ts +7 -2
- package/api/resources/superbills/resources/v1/client/Client.js +39 -24
- package/api/resources/superbills/resources/v1/client/index.d.ts +1 -1
- package/api/resources/superbills/resources/v1/client/index.js +4 -4
- package/api/resources/tasks/client/Client.d.ts +2 -10
- package/api/resources/tasks/resources/v3/client/Client.d.ts +15 -6
- package/api/resources/tasks/resources/v3/client/Client.js +168 -96
- package/api/resources/tasks/resources/v3/client/index.d.ts +1 -1
- package/api/resources/tasks/resources/v3/client/index.js +4 -4
- package/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +10 -30
- package/api/resources/writeOffs/client/Client.d.ts +2 -10
- package/api/resources/writeOffs/resources/v1/client/Client.d.ts +19 -9
- package/api/resources/writeOffs/resources/v1/client/Client.js +160 -90
- package/api/resources/writeOffs/resources/v1/client/index.d.ts +1 -1
- package/api/resources/writeOffs/resources/v1/client/index.js +4 -4
- package/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +2 -2
- package/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +4 -12
- package/api/resources/x12/resources/v1/types/index.d.ts +0 -1
- package/api/resources/x12/resources/v1/types/index.js +0 -1
- package/core/auth/AuthProvider.d.ts +4 -0
- package/core/auth/AuthProvider.js +2 -0
- package/core/auth/AuthRequest.d.ts +9 -0
- package/core/auth/AuthRequest.js +2 -0
- package/core/auth/BasicAuth.js +3 -3
- package/core/base64.d.ts +2 -0
- package/core/base64.js +26 -0
- package/core/fetcher/APIResponse.d.ts +10 -0
- package/core/fetcher/BinaryResponse.d.ts +20 -0
- package/core/fetcher/BinaryResponse.js +17 -0
- package/core/fetcher/Fetcher.d.ts +4 -3
- package/core/fetcher/Fetcher.js +32 -12
- package/core/fetcher/Headers.d.ts +2 -0
- package/core/fetcher/Headers.js +84 -0
- package/core/fetcher/HttpResponsePromise.d.ts +58 -0
- package/core/fetcher/HttpResponsePromise.js +103 -0
- package/core/fetcher/RawResponse.d.ts +29 -0
- package/core/fetcher/RawResponse.js +44 -0
- package/core/fetcher/ResponseWithBody.d.ts +4 -0
- package/core/fetcher/ResponseWithBody.js +6 -0
- package/core/fetcher/createRequestUrl.d.ts +1 -1
- package/core/fetcher/createRequestUrl.js +3 -7
- package/core/fetcher/getErrorResponseBody.d.ts +1 -0
- package/core/fetcher/getErrorResponseBody.js +44 -0
- package/core/fetcher/getFetchFn.js +3 -3
- package/core/fetcher/getResponseBody.js +34 -32
- package/core/fetcher/index.d.ts +5 -1
- package/core/fetcher/index.js +7 -1
- package/core/fetcher/requestWithRetries.js +44 -8
- package/core/form-data-utils/FormDataWrapper.d.ts +4 -0
- package/core/form-data-utils/FormDataWrapper.js +58 -13
- package/core/form-data-utils/encodeAsFormParameter.d.ts +1 -0
- package/core/form-data-utils/encodeAsFormParameter.js +12 -0
- package/core/form-data-utils/index.d.ts +1 -0
- package/core/form-data-utils/index.js +3 -0
- package/core/headers.d.ts +3 -0
- package/core/headers.js +29 -0
- package/core/index.d.ts +2 -0
- package/core/index.js +3 -1
- package/core/runtime/runtime.js +0 -1
- package/core/schemas/builders/lazy/index.d.ts +1 -1
- package/core/schemas/builders/literals/index.d.ts +1 -1
- package/core/schemas/builders/literals/index.js +3 -3
- package/core/schemas/builders/object/index.d.ts +2 -2
- package/core/schemas/builders/object/object.d.ts +1 -1
- package/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +1 -1
- package/core/schemas/builders/object/types.d.ts +1 -1
- package/core/schemas/builders/schema-utils/index.d.ts +1 -1
- package/core/schemas/builders/undiscriminated-union/types.d.ts +1 -1
- package/core/schemas/builders/union/index.d.ts +1 -1
- package/core/schemas/builders/union/types.d.ts +1 -1
- package/core/schemas/builders/union/union.d.ts +1 -1
- package/core/schemas/utils/maybeSkipValidation.js +1 -1
- package/core/url/index.d.ts +2 -0
- package/core/url/index.js +7 -0
- package/core/url/join.d.ts +1 -0
- package/core/url/join.js +69 -0
- package/core/url/qs.d.ts +6 -0
- package/core/url/qs.js +64 -0
- package/dist/Client.d.ts +5 -1
- package/dist/Client.js +10 -4
- package/dist/api/resources/auth/client/Client.d.ts +2 -10
- package/dist/api/resources/auth/resources/default/client/Client.d.ts +7 -14
- package/dist/api/resources/auth/resources/default/client/Client.js +39 -68
- package/dist/api/resources/auth/resources/default/client/index.d.ts +1 -2
- package/dist/api/resources/auth/resources/default/client/index.js +5 -6
- package/dist/api/resources/auth/resources/default/client/requests/index.d.ts +0 -1
- package/dist/api/resources/billingNotes/client/Client.d.ts +2 -10
- package/dist/api/resources/billingNotes/resources/v2/client/Client.d.ts +13 -5
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +100 -54
- package/dist/api/resources/billingNotes/resources/v2/client/index.d.ts +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/index.js +4 -4
- package/dist/api/resources/billingNotes/resources/v2/client/requests/StandaloneBillingNoteCreate.d.ts +2 -1
- package/dist/api/resources/billingNotes/resources/v2/types/BillingNote.d.ts +1 -1
- package/dist/api/resources/chargeCapture/client/Client.d.ts +2 -10
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +17 -7
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +208 -116
- package/dist/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/chargeCapture/resources/v1/client/index.js +4 -4
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +37 -111
- package/dist/api/resources/chargeCaptureBundles/client/Client.d.ts +2 -10
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +13 -5
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +115 -65
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.js +4 -4
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.d.ts +21 -63
- package/dist/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +2 -2
- package/dist/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.d.ts +2 -2
- package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +4 -4
- package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.d.ts +4 -4
- package/dist/api/resources/claims/types/Claim.d.ts +5 -5
- package/dist/api/resources/contracts/client/Client.d.ts +2 -10
- package/dist/api/resources/contracts/resources/v2/client/Client.d.ts +30 -7
- package/dist/api/resources/contracts/resources/v2/client/Client.js +179 -93
- package/dist/api/resources/contracts/resources/v2/client/index.d.ts +1 -1
- package/dist/api/resources/contracts/resources/v2/client/index.js +4 -4
- package/dist/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +15 -1
- package/dist/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts +5 -15
- package/dist/api/resources/credentialing/client/Client.d.ts +2 -10
- package/dist/api/resources/credentialing/resources/v2/client/Client.d.ts +25 -11
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +374 -211
- package/dist/api/resources/credentialing/resources/v2/client/index.d.ts +1 -1
- package/dist/api/resources/credentialing/resources/v2/client/index.js +4 -4
- package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllFacilityCredentialingSpansRequest.d.ts +4 -12
- package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +5 -15
- package/dist/api/resources/customSchemas/client/Client.d.ts +2 -10
- package/dist/api/resources/customSchemas/resources/v1/client/Client.d.ts +13 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +154 -89
- package/dist/api/resources/customSchemas/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/customSchemas/resources/v1/client/index.js +4 -4
- package/dist/api/resources/diagnoses/client/Client.d.ts +13 -6
- package/dist/api/resources/diagnoses/client/Client.js +101 -56
- package/dist/api/resources/diagnoses/client/index.d.ts +1 -1
- package/dist/api/resources/diagnoses/client/index.js +4 -4
- package/dist/api/resources/diagnoses/types/Diagnosis.d.ts +2 -2
- package/dist/api/resources/eligibility/client/Client.d.ts +2 -10
- package/dist/api/resources/eligibility/resources/v2/client/Client.d.ts +11 -4
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +102 -52
- package/dist/api/resources/encounterAttachments/client/Client.d.ts +2 -10
- package/dist/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +11 -4
- package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +74 -37
- package/dist/api/resources/encounterAttachments/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/encounterAttachments/resources/v1/client/index.js +4 -4
- package/dist/api/resources/encounterProviders/client/Client.d.ts +2 -10
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.d.ts +29 -13
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +449 -238
- package/dist/api/resources/encounters/client/Client.d.ts +2 -10
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +50 -135
- package/dist/api/resources/encounters/resources/v4/client/Client.js +207 -390
- package/dist/api/resources/encounters/resources/v4/client/index.d.ts +1 -4
- package/dist/api/resources/encounters/resources/v4/client/index.js +5 -8
- package/dist/api/resources/encounters/resources/v4/client/requests/GetAllEncountersRequest.d.ts +14 -40
- package/dist/api/resources/encounters/resources/v4/types/ClinicalNoteCategory.d.ts +1 -1
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +12 -12
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +12 -12
- package/dist/api/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.d.ts +2 -3
- package/dist/api/resources/encountersUniversal/types/index.d.ts +0 -3
- package/dist/api/resources/encountersUniversal/types/index.js +0 -3
- package/dist/api/resources/expectedNetworkStatus/client/Client.d.ts +2 -10
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +7 -2
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +27 -16
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/index.js +4 -4
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +9 -3
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +79 -46
- package/dist/api/resources/exports/client/Client.d.ts +2 -10
- package/dist/api/resources/exports/resources/v3/client/Client.d.ts +7 -2
- package/dist/api/resources/exports/resources/v3/client/Client.js +39 -27
- package/dist/api/resources/exports/resources/v3/client/index.d.ts +1 -1
- package/dist/api/resources/exports/resources/v3/client/index.js +4 -4
- package/dist/api/resources/exports/resources/v3/types/GetExportsResponse.d.ts +2 -2
- package/dist/api/resources/externalPaymentAccountConfig/client/Client.d.ts +2 -10
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.d.ts +7 -2
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +28 -20
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/index.js +4 -4
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/requests/GetExternalPaymentAccountConfigsRequest.d.ts +1 -3
- package/dist/api/resources/feeSchedules/client/Client.d.ts +2 -10
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +29 -13
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +381 -211
- package/dist/api/resources/feeSchedules/resources/v3/client/index.d.ts +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/index.js +4 -4
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -3
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +2 -6
- package/dist/api/resources/guarantor/client/Client.d.ts +2 -10
- package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +11 -4
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +91 -50
- package/dist/api/resources/guarantor/resources/v1/types/Guarantor.d.ts +1 -1
- package/dist/api/resources/healthCareCodeInformation/client/Client.d.ts +2 -10
- package/dist/api/resources/healthCareCodeInformation/resources/v1/client/Client.d.ts +9 -3
- package/dist/api/resources/healthCareCodeInformation/resources/v1/client/Client.js +78 -47
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.d.ts +433 -40
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.js +95 -1
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.d.ts +12 -1
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.d.ts +0 -52
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.d.ts +14 -1
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.d.ts +3 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformation.d.ts +6 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.d.ts +24 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.js +5 -1
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformation.d.ts +6 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformation.d.ts +6 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.d.ts +12 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +0 -16
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/index.js +0 -16
- package/dist/api/resources/importInvoice/client/Client.d.ts +2 -10
- package/dist/api/resources/importInvoice/resources/v1/client/Client.d.ts +13 -5
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +142 -82
- package/dist/api/resources/importInvoice/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/importInvoice/resources/v1/client/index.js +4 -4
- package/dist/api/resources/importInvoice/resources/v1/client/requests/SearchImportedInvoicesRequest.d.ts +7 -21
- package/dist/api/resources/individual/types/Patient.d.ts +1 -1
- package/dist/api/resources/insuranceAdjudications/client/Client.d.ts +2 -10
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +11 -4
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +86 -47
- package/dist/api/resources/insurancePayments/client/Client.d.ts +2 -10
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +9 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +78 -50
- package/dist/api/resources/insurancePayments/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/insurancePayments/resources/v1/client/index.js +4 -4
- package/dist/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +3 -9
- package/dist/api/resources/insuranceRefunds/client/Client.d.ts +2 -10
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +15 -6
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +188 -108
- package/dist/api/resources/insuranceRefunds/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/insuranceRefunds/resources/v1/client/index.js +4 -4
- package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.d.ts +3 -9
- package/dist/api/resources/medicationDispense/client/Client.d.ts +2 -10
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.d.ts +7 -2
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +39 -24
- package/dist/api/resources/nonInsurancePayerPayments/client/Client.d.ts +2 -10
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +15 -6
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +188 -108
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/index.js +4 -4
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/GetMultiNonInsurancePayerPaymentRequest.d.ts +3 -9
- package/dist/api/resources/nonInsurancePayerRefunds/client/Client.d.ts +2 -10
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +15 -6
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +188 -108
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/index.js +4 -4
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/GetMultiNonInsurancePayerRefundsRequest.d.ts +3 -9
- package/dist/api/resources/nonInsurancePayers/client/Client.d.ts +2 -10
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +19 -8
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +252 -143
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/index.js +4 -4
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +2 -6
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/GetNonInsurancePayersCategoriesRequest.d.ts +3 -9
- package/dist/api/resources/organizationProviders/client/Client.d.ts +2 -10
- package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +3 -1
- package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.js +2 -0
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.d.ts +13 -5
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +142 -82
- package/dist/api/resources/organizationProviders/resources/v3/client/index.d.ts +1 -1
- package/dist/api/resources/organizationProviders/resources/v3/client/index.js +4 -4
- package/dist/api/resources/organizationProviders/resources/v3/client/requests/GetAllOrganizationProvidersRequestV2.d.ts +8 -24
- package/dist/api/resources/organizationServiceFacilities/client/Client.d.ts +2 -10
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +28 -6
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +261 -100
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/getByExternalId.d.ts +28 -0
- package/dist/api/resources/{auth/resources/default/client/getMachineTokenForOrgId.js → organizationServiceFacilities/resources/v2/client/getByExternalId.js} +12 -1
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/index.d.ts +2 -1
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/index.js +6 -5
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/requests/GetAllOrganizationServiceFacilitiesRequest.d.ts +8 -12
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +4 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +4 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +4 -0
- package/dist/api/resources/patientAr/client/Client.d.ts +2 -10
- package/dist/api/resources/patientAr/resources/v1/client/Client.d.ts +9 -3
- package/dist/api/resources/patientAr/resources/v1/client/Client.js +78 -50
- package/dist/api/resources/patientAr/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/patientAr/resources/v1/client/index.js +4 -4
- package/dist/api/resources/patientAr/resources/v1/client/requests/GetInventoryRecordsRequest.d.ts +2 -6
- package/dist/api/resources/patientPayments/client/Client.d.ts +2 -10
- package/dist/api/resources/patientPayments/resources/v3/types/PatientPayment.d.ts +1 -1
- package/dist/api/resources/patientPayments/resources/v4/client/Client.d.ts +15 -6
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +188 -108
- package/dist/api/resources/patientPayments/resources/v4/client/index.d.ts +1 -1
- package/dist/api/resources/patientPayments/resources/v4/client/index.js +4 -4
- package/dist/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +4 -12
- package/dist/api/resources/patientRefunds/client/Client.d.ts +2 -10
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +15 -6
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +188 -108
- package/dist/api/resources/patientRefunds/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/patientRefunds/resources/v1/client/index.js +4 -4
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +4 -12
- package/dist/api/resources/payerPlanGroups/client/Client.d.ts +2 -10
- package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +15 -6
- package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +192 -112
- package/dist/api/resources/payerPlanGroups/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/payerPlanGroups/resources/v1/client/index.js +4 -4
- package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +3 -9
- package/dist/api/resources/payers/client/Client.d.ts +2 -10
- package/dist/api/resources/payers/resources/v3/client/Client.d.ts +9 -3
- package/dist/api/resources/payers/resources/v3/client/Client.js +54 -34
- package/dist/api/resources/payers/resources/v3/client/index.d.ts +1 -1
- package/dist/api/resources/payers/resources/v3/client/index.js +4 -4
- package/dist/api/resources/payers/resources/v3/client/requests/GetAllPayersRequest.d.ts +1 -3
- package/dist/api/resources/payers/resources/v4/client/Client.d.ts +9 -3
- package/dist/api/resources/payers/resources/v4/client/Client.js +54 -34
- package/dist/api/resources/payers/resources/v4/client/index.d.ts +1 -1
- package/dist/api/resources/payers/resources/v4/client/index.js +4 -4
- package/dist/api/resources/payers/resources/v4/client/requests/GetAllPayersRequest.d.ts +1 -3
- package/dist/api/resources/payers/resources/v4/types/Payer.d.ts +2 -0
- package/dist/api/resources/preEncounter/client/Client.d.ts +2 -10
- package/dist/api/resources/preEncounter/resources/appointments/client/Client.d.ts +2 -10
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +22 -11
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +254 -147
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/index.js +4 -4
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/AppointmentScanRequest.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +2 -6
- package/dist/api/resources/preEncounter/resources/common/types/CanonicalServiceFacilityId.d.ts +11 -0
- package/{api/resources/encountersUniversal/types/UniversalEncounterUpdate.js → dist/api/resources/preEncounter/resources/common/types/CanonicalServiceFacilityId.js} +4 -0
- package/dist/api/resources/preEncounter/resources/common/types/FilterQueryString.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/common/types/index.js +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/client/Client.d.ts +2 -10
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +26 -12
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +296 -161
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.js +4 -4
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.d.ts +1 -3
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageScanRequest.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/client/Client.d.ts +2 -10
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +17 -7
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +160 -88
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +4 -4
- package/dist/api/resources/preEncounter/resources/images/client/Client.d.ts +2 -10
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.d.ts +15 -6
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +175 -99
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/index.js +4 -4
- package/dist/api/resources/preEncounter/resources/lists/client/Client.d.ts +2 -10
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +9 -3
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +67 -44
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/index.js +4 -4
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +3 -9
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +2 -6
- package/dist/api/resources/preEncounter/resources/notes/client/Client.d.ts +2 -10
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.d.ts +13 -5
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +100 -51
- package/dist/api/resources/preEncounter/resources/patients/client/Client.d.ts +2 -10
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +32 -16
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +404 -231
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +4 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +2 -2
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.d.ts +1 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientScanRequest.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +1 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PatientServiceFacility.d.ts +10 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +1 -0
- package/dist/api/resources/preEncounter/resources/tags/client/Client.d.ts +2 -10
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.d.ts +15 -6
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +127 -67
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/index.js +4 -4
- package/dist/api/resources/serviceFacility/client/Client.d.ts +7 -2
- package/dist/api/resources/serviceFacility/client/Client.js +27 -16
- package/dist/api/resources/serviceLines/client/Client.d.ts +2 -10
- package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +17 -8
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +188 -103
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +5 -5
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +1 -1
- package/dist/api/resources/serviceLines/resources/v2/types/index.d.ts +0 -1
- package/dist/api/resources/serviceLines/resources/v2/types/index.js +0 -1
- package/dist/api/resources/superbills/client/Client.d.ts +2 -10
- package/dist/api/resources/superbills/resources/v1/client/Client.d.ts +7 -2
- package/dist/api/resources/superbills/resources/v1/client/Client.js +39 -24
- package/dist/api/resources/superbills/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/superbills/resources/v1/client/index.js +4 -4
- package/dist/api/resources/tasks/client/Client.d.ts +2 -10
- package/dist/api/resources/tasks/resources/v3/client/Client.d.ts +15 -6
- package/dist/api/resources/tasks/resources/v3/client/Client.js +168 -96
- package/dist/api/resources/tasks/resources/v3/client/index.d.ts +1 -1
- package/dist/api/resources/tasks/resources/v3/client/index.js +4 -4
- package/dist/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +10 -30
- package/dist/api/resources/writeOffs/client/Client.d.ts +2 -10
- package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +19 -9
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +160 -90
- package/dist/api/resources/writeOffs/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/writeOffs/resources/v1/client/index.js +4 -4
- package/dist/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +2 -2
- package/dist/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +4 -12
- package/dist/api/resources/x12/resources/v1/types/index.d.ts +0 -1
- package/dist/api/resources/x12/resources/v1/types/index.js +0 -1
- package/dist/core/auth/AuthProvider.d.ts +4 -0
- package/dist/core/auth/AuthProvider.js +2 -0
- package/dist/core/auth/AuthRequest.d.ts +9 -0
- package/dist/core/auth/AuthRequest.js +2 -0
- package/dist/core/auth/BasicAuth.js +3 -3
- package/dist/core/base64.d.ts +2 -0
- package/dist/core/base64.js +26 -0
- package/dist/core/fetcher/APIResponse.d.ts +10 -0
- package/dist/core/fetcher/BinaryResponse.d.ts +20 -0
- package/dist/core/fetcher/BinaryResponse.js +17 -0
- package/dist/core/fetcher/Fetcher.d.ts +4 -3
- package/dist/core/fetcher/Fetcher.js +32 -12
- package/dist/core/fetcher/Headers.d.ts +2 -0
- package/dist/core/fetcher/Headers.js +84 -0
- package/dist/core/fetcher/HttpResponsePromise.d.ts +58 -0
- package/dist/core/fetcher/HttpResponsePromise.js +103 -0
- package/dist/core/fetcher/RawResponse.d.ts +29 -0
- package/dist/core/fetcher/RawResponse.js +44 -0
- package/dist/core/fetcher/ResponseWithBody.d.ts +4 -0
- package/dist/core/fetcher/ResponseWithBody.js +6 -0
- package/dist/core/fetcher/createRequestUrl.d.ts +1 -1
- package/dist/core/fetcher/createRequestUrl.js +3 -7
- package/dist/core/fetcher/getErrorResponseBody.d.ts +1 -0
- package/dist/core/fetcher/getErrorResponseBody.js +44 -0
- package/dist/core/fetcher/getFetchFn.js +3 -3
- package/dist/core/fetcher/getResponseBody.js +34 -32
- package/dist/core/fetcher/index.d.ts +5 -1
- package/dist/core/fetcher/index.js +7 -1
- package/dist/core/fetcher/requestWithRetries.js +44 -8
- package/dist/core/form-data-utils/FormDataWrapper.d.ts +4 -0
- package/dist/core/form-data-utils/FormDataWrapper.js +58 -13
- package/dist/core/form-data-utils/encodeAsFormParameter.d.ts +1 -0
- package/dist/core/form-data-utils/encodeAsFormParameter.js +12 -0
- package/dist/core/form-data-utils/index.d.ts +1 -0
- package/dist/core/form-data-utils/index.js +3 -0
- package/dist/core/headers.d.ts +3 -0
- package/dist/core/headers.js +29 -0
- package/dist/core/index.d.ts +2 -0
- package/dist/core/index.js +3 -1
- package/dist/core/runtime/runtime.js +0 -1
- package/dist/core/schemas/builders/lazy/index.d.ts +1 -1
- package/dist/core/schemas/builders/literals/index.d.ts +1 -1
- package/dist/core/schemas/builders/literals/index.js +3 -3
- package/dist/core/schemas/builders/object/index.d.ts +2 -2
- package/dist/core/schemas/builders/object/object.d.ts +1 -1
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +1 -1
- package/dist/core/schemas/builders/object/types.d.ts +1 -1
- package/dist/core/schemas/builders/schema-utils/index.d.ts +1 -1
- package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +1 -1
- package/dist/core/schemas/builders/union/index.d.ts +1 -1
- package/dist/core/schemas/builders/union/types.d.ts +1 -1
- package/dist/core/schemas/builders/union/union.d.ts +1 -1
- package/dist/core/schemas/utils/maybeSkipValidation.js +1 -1
- package/dist/core/url/index.d.ts +2 -0
- package/dist/core/url/index.js +7 -0
- package/dist/core/url/join.d.ts +1 -0
- package/dist/core/url/join.js +69 -0
- package/dist/core/url/qs.d.ts +6 -0
- package/dist/core/url/qs.js +64 -0
- package/dist/errors/CandidApiError.d.ts +4 -1
- package/dist/errors/CandidApiError.js +4 -7
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -5
- package/dist/serialization/resources/auth/resources/default/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/auth/resources/default/client/requests/index.js +1 -3
- package/dist/serialization/resources/encounters/resources/v4/client/index.d.ts +0 -3
- package/dist/serialization/resources/encounters/resources/v4/client/index.js +1 -4
- package/dist/serialization/resources/encountersUniversal/types/index.d.ts +0 -3
- package/dist/serialization/resources/encountersUniversal/types/index.js +0 -3
- package/dist/serialization/resources/guarantor/resources/v1/types/Guarantor.d.ts +1 -1
- package/dist/serialization/resources/guarantor/resources/v1/types/Guarantor.js +1 -1
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.d.ts +1 -1
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.js +95 -1
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.d.ts +2 -2
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.js +2 -2
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.d.ts +0 -12
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.js +1 -14
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.d.ts +2 -2
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.js +2 -2
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.d.ts +1 -1
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.js +19 -1
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +0 -16
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/index.js +0 -16
- package/dist/serialization/resources/individual/types/Patient.d.ts +1 -1
- package/dist/serialization/resources/individual/types/Patient.js +1 -1
- package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
- package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +2 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/getByExternalId.d.ts +15 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/getByExternalId.js +71 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/index.d.ts +1 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/index.js +2 -1
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +3 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.js +3 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +3 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.js +3 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +3 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.js +3 -0
- package/dist/serialization/resources/payers/resources/v4/types/Payer.d.ts +1 -0
- package/dist/serialization/resources/payers/resources/v4/types/Payer.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalServiceFacilityId.d.ts +10 -0
- package/dist/serialization/resources/{x12/resources/v1/types/TypeOfBillCompositeUpdate.js → preEncounter/resources/common/types/CanonicalServiceFacilityId.js} +4 -11
- package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/index.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientServiceFacility.d.ts +13 -0
- package/{serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.js → dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientServiceFacility.js} +5 -7
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.d.ts +0 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.js +0 -1
- package/dist/serialization/resources/x12/resources/v1/types/index.d.ts +0 -1
- package/dist/serialization/resources/x12/resources/v1/types/index.js +0 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/errors/CandidApiError.d.ts +4 -1
- package/errors/CandidApiError.js +4 -7
- package/index.d.ts +2 -2
- package/index.js +5 -5
- package/jest.config.mjs +37 -3
- package/package.json +18 -12
- package/reference.md +125 -335
- package/scripts/rename-to-esm-files.js +10 -2
- package/serialization/resources/auth/resources/default/client/requests/index.d.ts +0 -1
- package/serialization/resources/auth/resources/default/client/requests/index.js +1 -3
- package/serialization/resources/encounters/resources/v4/client/index.d.ts +0 -3
- package/serialization/resources/encounters/resources/v4/client/index.js +1 -4
- package/serialization/resources/encountersUniversal/types/index.d.ts +0 -3
- package/serialization/resources/encountersUniversal/types/index.js +0 -3
- package/serialization/resources/guarantor/resources/v1/types/Guarantor.d.ts +1 -1
- package/serialization/resources/guarantor/resources/v1/types/Guarantor.js +1 -1
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.d.ts +1 -1
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.js +95 -1
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.d.ts +2 -2
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.js +2 -2
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.d.ts +0 -12
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.js +1 -14
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.d.ts +2 -2
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.js +2 -2
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.d.ts +1 -1
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.js +19 -1
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +0 -16
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/index.js +0 -16
- package/serialization/resources/individual/types/Patient.d.ts +1 -1
- package/serialization/resources/individual/types/Patient.js +1 -1
- package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
- package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +2 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/getByExternalId.d.ts +15 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/getByExternalId.js +71 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/index.d.ts +1 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/index.js +2 -1
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +3 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.js +3 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +3 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.js +3 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +3 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.js +3 -0
- package/serialization/resources/payers/resources/v4/types/Payer.d.ts +1 -0
- package/serialization/resources/payers/resources/v4/types/Payer.js +1 -0
- package/serialization/resources/preEncounter/resources/common/types/CanonicalServiceFacilityId.d.ts +10 -0
- package/serialization/resources/{x12/resources/v1/types/TypeOfBillCompositeUpdate.js → preEncounter/resources/common/types/CanonicalServiceFacilityId.js} +4 -11
- package/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/common/types/index.js +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +2 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientServiceFacility.d.ts +13 -0
- package/{dist/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.js → serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientServiceFacility.js} +5 -7
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/index.d.ts +0 -1
- package/serialization/resources/serviceLines/resources/v2/types/index.js +0 -1
- package/serialization/resources/x12/resources/v1/types/index.d.ts +0 -1
- package/serialization/resources/x12/resources/v1/types/index.js +0 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/auth/resources/default/client/getMachineTokenForOrgId.d.ts +0 -22
- package/api/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +0 -21
- package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +0 -70
- package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +0 -145
- package/api/resources/encounters/resources/v4/client/createUniversal.d.ts +0 -94
- package/api/resources/encounters/resources/v4/client/createUniversal.js +0 -189
- package/api/resources/encounters/resources/v4/client/updateUniversal.d.ts +0 -70
- package/api/resources/encounters/resources/v4/client/updateUniversal.js +0 -145
- package/api/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +0 -49
- package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +0 -47
- package/api/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +0 -39
- package/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +0 -11
- package/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +0 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.d.ts +0 -4230
- package/api/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.js +0 -1064
- package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +0 -11
- package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +0 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.d.ts +0 -174
- package/api/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.js +0 -50
- package/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +0 -11
- package/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +0 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +0 -12
- package/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +0 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +0 -19
- package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +0 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +0 -12
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +0 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +0 -12
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +0 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +0 -12
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +0 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +0 -12
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +0 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +0 -11
- package/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +0 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +0 -12
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +0 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +0 -12
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +0 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +0 -11
- package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +0 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +0 -12
- package/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +0 -5
- package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +0 -11
- package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +0 -5
- package/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +0 -30
- package/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js +0 -5
- package/dist/api/resources/auth/resources/default/client/getMachineTokenForOrgId.d.ts +0 -22
- package/dist/api/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +0 -21
- package/dist/api/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.js +0 -5
- package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +0 -70
- package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +0 -145
- package/dist/api/resources/encounters/resources/v4/client/createUniversal.d.ts +0 -94
- package/dist/api/resources/encounters/resources/v4/client/createUniversal.js +0 -189
- package/dist/api/resources/encounters/resources/v4/client/updateUniversal.d.ts +0 -70
- package/dist/api/resources/encounters/resources/v4/client/updateUniversal.js +0 -145
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +0 -49
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreate.js +0 -5
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +0 -47
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +0 -5
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +0 -39
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterUpdate.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +0 -11
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.d.ts +0 -4230
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.js +0 -1064
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +0 -11
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.d.ts +0 -174
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.js +0 -50
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +0 -11
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +0 -12
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +0 -19
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +0 -12
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +0 -12
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +0 -12
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +0 -12
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +0 -11
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +0 -12
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +0 -12
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +0 -11
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +0 -12
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +0 -5
- package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +0 -11
- package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +0 -5
- package/dist/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +0 -30
- package/dist/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js +0 -5
- package/dist/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +0 -15
- package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +0 -49
- package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +0 -112
- package/dist/serialization/resources/encounters/resources/v4/client/createUniversal.d.ts +0 -69
- package/dist/serialization/resources/encounters/resources/v4/client/createUniversal.js +0 -136
- package/dist/serialization/resources/encounters/resources/v4/client/updateUniversal.d.ts +0 -50
- package/dist/serialization/resources/encounters/resources/v4/client/updateUniversal.js +0 -113
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +0 -39
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.js +0 -72
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +0 -37
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +0 -70
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +0 -32
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.js +0 -65
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +0 -16
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +0 -49
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.d.ts +0 -10
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.js +0 -1098
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +0 -16
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +0 -49
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.d.ts +0 -10
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.js +0 -84
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +0 -16
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +0 -49
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +0 -18
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +0 -51
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +0 -37
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +0 -68
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +0 -18
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +0 -51
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +0 -18
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +0 -51
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +0 -18
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +0 -51
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +0 -18
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +0 -51
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +0 -16
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +0 -49
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +0 -18
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +0 -51
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +0 -18
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +0 -51
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +0 -16
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +0 -49
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +0 -18
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +0 -51
- package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +0 -15
- package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +0 -48
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +0 -18
- package/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +0 -15
- package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +0 -49
- package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +0 -112
- package/serialization/resources/encounters/resources/v4/client/createUniversal.d.ts +0 -69
- package/serialization/resources/encounters/resources/v4/client/createUniversal.js +0 -136
- package/serialization/resources/encounters/resources/v4/client/updateUniversal.d.ts +0 -50
- package/serialization/resources/encounters/resources/v4/client/updateUniversal.js +0 -113
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +0 -39
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.js +0 -72
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +0 -37
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +0 -70
- package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +0 -32
- package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.js +0 -65
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +0 -16
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +0 -49
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.d.ts +0 -10
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.js +0 -1098
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +0 -16
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +0 -49
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.d.ts +0 -10
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.js +0 -84
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +0 -16
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +0 -49
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +0 -18
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +0 -51
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +0 -37
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +0 -68
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +0 -18
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +0 -51
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +0 -18
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +0 -51
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +0 -18
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +0 -51
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +0 -18
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +0 -51
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +0 -16
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +0 -49
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +0 -18
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +0 -51
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +0 -18
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +0 -51
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +0 -16
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +0 -49
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +0 -18
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +0 -51
- package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +0 -15
- package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +0 -48
- package/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +0 -18
- /package/api/resources/{auth/resources/default/client/requests/AuthGetTokenForOrgRequest.js → preEncounter/resources/patients/resources/v1/types/PatientServiceFacility.js} +0 -0
- /package/{api/resources/encountersUniversal/types/UniversalEncounterCreate.js → dist/api/resources/preEncounter/resources/patients/resources/v1/types/PatientServiceFacility.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.V1 = void 0;
|
|
52
49
|
const environments = __importStar(require("../../../../../../environments"));
|
|
53
50
|
const core = __importStar(require("../../../../../../core"));
|
|
54
51
|
const CandidApi = __importStar(require("../../../../../index"));
|
|
52
|
+
const headers_1 = require("../../../../../../core/headers");
|
|
55
53
|
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
56
|
-
const url_join_1 = __importDefault(require("url-join"));
|
|
57
54
|
class V1 {
|
|
58
55
|
constructor(_options = {}) {
|
|
59
56
|
this._options = _options;
|
|
@@ -73,13 +70,18 @@ class V1 {
|
|
|
73
70
|
* })
|
|
74
71
|
*/
|
|
75
72
|
create(request, requestOptions) {
|
|
73
|
+
return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions));
|
|
74
|
+
}
|
|
75
|
+
__create(request, requestOptions) {
|
|
76
76
|
return __awaiter(this, void 0, void 0, function* () {
|
|
77
|
-
var _a, _b, _c;
|
|
77
|
+
var _a, _b, _c, _d;
|
|
78
|
+
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);
|
|
78
79
|
const _response = yield core.fetcher({
|
|
79
|
-
url:
|
|
80
|
+
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/medication-dispense/v1"),
|
|
80
81
|
method: "POST",
|
|
81
|
-
headers:
|
|
82
|
+
headers: _headers,
|
|
82
83
|
contentType: "application/json",
|
|
84
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
83
85
|
requestType: "json",
|
|
84
86
|
body: serializers.medicationDispense.v1.MedicationDispenseCreate.jsonOrThrow(request, {
|
|
85
87
|
unrecognizedObjectKeys: "strip",
|
|
@@ -90,17 +92,22 @@ class V1 {
|
|
|
90
92
|
});
|
|
91
93
|
if (_response.ok) {
|
|
92
94
|
return {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
95
|
+
data: {
|
|
96
|
+
ok: true,
|
|
97
|
+
body: serializers.encounters.v4.Encounter.parseOrThrow(_response.body, {
|
|
98
|
+
unrecognizedObjectKeys: "passthrough",
|
|
99
|
+
allowUnrecognizedUnionMembers: true,
|
|
100
|
+
allowUnrecognizedEnumValues: true,
|
|
101
|
+
breadcrumbsPrefix: ["response"],
|
|
102
|
+
}),
|
|
103
|
+
headers: _response.headers,
|
|
104
|
+
rawResponse: _response.rawResponse,
|
|
105
|
+
},
|
|
106
|
+
rawResponse: _response.rawResponse,
|
|
100
107
|
};
|
|
101
108
|
}
|
|
102
109
|
if (_response.error.reason === "status-code") {
|
|
103
|
-
switch ((
|
|
110
|
+
switch ((_d = _response.error.body) === null || _d === void 0 ? void 0 : _d.errorName) {
|
|
104
111
|
case "HttpRequestValidationError":
|
|
105
112
|
case "EncounterExternalIdUniquenessError":
|
|
106
113
|
case "EncounterPatientControlNumberUniquenessError":
|
|
@@ -108,19 +115,27 @@ class V1 {
|
|
|
108
115
|
case "SchemaInstanceValidationHttpFailure":
|
|
109
116
|
case "InvalidTagNamesError":
|
|
110
117
|
return {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
+
data: {
|
|
119
|
+
ok: false,
|
|
120
|
+
error: serializers.medicationDispense.v1.create.Error.parseOrThrow(_response.error.body, {
|
|
121
|
+
unrecognizedObjectKeys: "passthrough",
|
|
122
|
+
allowUnrecognizedUnionMembers: true,
|
|
123
|
+
allowUnrecognizedEnumValues: true,
|
|
124
|
+
breadcrumbsPrefix: ["response"],
|
|
125
|
+
}),
|
|
126
|
+
rawResponse: _response.rawResponse,
|
|
127
|
+
},
|
|
128
|
+
rawResponse: _response.rawResponse,
|
|
118
129
|
};
|
|
119
130
|
}
|
|
120
131
|
}
|
|
121
132
|
return {
|
|
122
|
-
|
|
123
|
-
|
|
133
|
+
data: {
|
|
134
|
+
ok: false,
|
|
135
|
+
error: CandidApi.medicationDispense.v1.create.Error._unknown(_response.error),
|
|
136
|
+
rawResponse: _response.rawResponse,
|
|
137
|
+
},
|
|
138
|
+
rawResponse: _response.rawResponse,
|
|
124
139
|
};
|
|
125
140
|
});
|
|
126
141
|
}
|
|
@@ -10,16 +10,8 @@ export declare namespace NonInsurancePayerPayments {
|
|
|
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
|
-
|
|
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 NonInsurancePayerPayments {
|
|
@@ -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 {
|
|
@@ -34,7 +38,8 @@ export declare class V1 {
|
|
|
34
38
|
* @example
|
|
35
39
|
* await client.nonInsurancePayerPayments.v1.getMulti()
|
|
36
40
|
*/
|
|
37
|
-
getMulti(request?: CandidApi.nonInsurancePayerPayments.v1.GetMultiNonInsurancePayerPaymentRequest, requestOptions?: V1.RequestOptions):
|
|
41
|
+
getMulti(request?: CandidApi.nonInsurancePayerPayments.v1.GetMultiNonInsurancePayerPaymentRequest, requestOptions?: V1.RequestOptions): core.HttpResponsePromise<core.APIResponse<CandidApi.nonInsurancePayerPayments.v1.NonInsurancePayerPaymentsPage, CandidApi.nonInsurancePayerPayments.v1.getMulti.Error>>;
|
|
42
|
+
private __getMulti;
|
|
38
43
|
/**
|
|
39
44
|
* Retrieves a previously created non-insurance payer payment by its `non_insurance_payer_payment_id`.
|
|
40
45
|
*
|
|
@@ -44,7 +49,8 @@ export declare class V1 {
|
|
|
44
49
|
* @example
|
|
45
50
|
* await client.nonInsurancePayerPayments.v1.get(CandidApi.nonInsurancePayerPayments.v1.NonInsurancePayerPaymentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
46
51
|
*/
|
|
47
|
-
get(nonInsurancePayerPaymentId: CandidApi.nonInsurancePayerPayments.v1.NonInsurancePayerPaymentId, requestOptions?: V1.RequestOptions):
|
|
52
|
+
get(nonInsurancePayerPaymentId: CandidApi.nonInsurancePayerPayments.v1.NonInsurancePayerPaymentId, requestOptions?: V1.RequestOptions): core.HttpResponsePromise<core.APIResponse<CandidApi.nonInsurancePayerPayments.v1.NonInsurancePayerPayment, CandidApi.nonInsurancePayerPayments.v1.get.Error>>;
|
|
53
|
+
private __get;
|
|
48
54
|
/**
|
|
49
55
|
* @param {CandidApi.nonInsurancePayerPayments.v1.NonInsurancePayerPaymentCreate} request
|
|
50
56
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -68,7 +74,8 @@ export declare class V1 {
|
|
|
68
74
|
* }]
|
|
69
75
|
* })
|
|
70
76
|
*/
|
|
71
|
-
create(request: CandidApi.nonInsurancePayerPayments.v1.NonInsurancePayerPaymentCreate, requestOptions?: V1.RequestOptions):
|
|
77
|
+
create(request: CandidApi.nonInsurancePayerPayments.v1.NonInsurancePayerPaymentCreate, requestOptions?: V1.RequestOptions): core.HttpResponsePromise<core.APIResponse<CandidApi.nonInsurancePayerPayments.v1.NonInsurancePayerPayment, CandidApi.nonInsurancePayerPayments.v1.create.Error>>;
|
|
78
|
+
private __create;
|
|
72
79
|
/**
|
|
73
80
|
* @param {CandidApi.nonInsurancePayerPayments.v1.NonInsurancePayerPaymentId} nonInsurancePayerPaymentId
|
|
74
81
|
* @param {CandidApi.nonInsurancePayerPayments.v1.UpdateNonInsurancePayerPaymentRequest} request
|
|
@@ -77,7 +84,8 @@ export declare class V1 {
|
|
|
77
84
|
* @example
|
|
78
85
|
* await client.nonInsurancePayerPayments.v1.update(CandidApi.nonInsurancePayerPayments.v1.NonInsurancePayerPaymentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
79
86
|
*/
|
|
80
|
-
update(nonInsurancePayerPaymentId: CandidApi.nonInsurancePayerPayments.v1.NonInsurancePayerPaymentId, request?: CandidApi.nonInsurancePayerPayments.v1.UpdateNonInsurancePayerPaymentRequest, requestOptions?: V1.RequestOptions):
|
|
87
|
+
update(nonInsurancePayerPaymentId: CandidApi.nonInsurancePayerPayments.v1.NonInsurancePayerPaymentId, request?: CandidApi.nonInsurancePayerPayments.v1.UpdateNonInsurancePayerPaymentRequest, requestOptions?: V1.RequestOptions): core.HttpResponsePromise<core.APIResponse<CandidApi.nonInsurancePayerPayments.v1.NonInsurancePayerPayment, CandidApi.nonInsurancePayerPayments.v1.update.Error>>;
|
|
88
|
+
private __update;
|
|
81
89
|
/**
|
|
82
90
|
* Deletes the non-insurance payer payment record matching the provided `non_insurance_payer_payment_id`.
|
|
83
91
|
*
|
|
@@ -87,6 +95,7 @@ export declare class V1 {
|
|
|
87
95
|
* @example
|
|
88
96
|
* await client.nonInsurancePayerPayments.v1.delete(CandidApi.nonInsurancePayerPayments.v1.NonInsurancePayerPaymentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
89
97
|
*/
|
|
90
|
-
delete(nonInsurancePayerPaymentId: CandidApi.nonInsurancePayerPayments.v1.NonInsurancePayerPaymentId, requestOptions?: V1.RequestOptions):
|
|
98
|
+
delete(nonInsurancePayerPaymentId: CandidApi.nonInsurancePayerPayments.v1.NonInsurancePayerPaymentId, requestOptions?: V1.RequestOptions): core.HttpResponsePromise<core.APIResponse<void, CandidApi.nonInsurancePayerPayments.v1.delete.Error>>;
|
|
99
|
+
private __delete;
|
|
91
100
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
92
101
|
}
|