candidhealth 0.39.6 → 0.39.8
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/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/api/resources/chargeCapture/resources/v1/client/Client.js +5 -5
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
- package/api/resources/commons/types/ProcedureModifier.d.ts +5 -1
- package/api/resources/commons/types/ProcedureModifier.js +1 -0
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/diagnoses/client/Client.js +3 -3
- package/api/resources/eligibility/resources/v2/client/Client.d.ts +9 -0
- package/api/resources/eligibility/resources/v2/client/Client.js +12 -3
- package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/api/resources/encounters/resources/v4/client/Client.js +5 -5
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +3 -0
- package/api/resources/feeSchedules/resources/v3/client/Client.js +31 -12
- package/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +1 -0
- package/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +2 -0
- package/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +2 -0
- package/api/resources/feeSchedules/resources/v3/types/DimensionMatch.d.ts +1 -0
- package/api/resources/feeSchedules/resources/v3/types/Dimensions.d.ts +2 -1
- package/api/resources/feeSchedules/resources/v3/types/MatchPayerPlanGroups.d.ts +12 -0
- package/api/resources/feeSchedules/resources/v3/types/MatchPayerPlanGroups.js +5 -0
- package/api/resources/feeSchedules/resources/v3/types/OptionalDimensions.d.ts +1 -0
- package/api/resources/feeSchedules/resources/v3/types/PayerPlanGroupDoesNotMatchRatePayerError.d.ts +8 -0
- package/api/resources/feeSchedules/resources/v3/types/PayerPlanGroupDoesNotMatchRatePayerError.js +5 -0
- package/api/resources/feeSchedules/resources/v3/types/ValidationError.d.ts +7 -1
- package/api/resources/feeSchedules/resources/v3/types/index.d.ts +2 -0
- package/api/resources/feeSchedules/resources/v3/types/index.js +2 -0
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +5 -1
- package/api/resources/organizationProviders/resources/v2/types/LicenseType.js +4 -0
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/client/Client.d.ts +3 -0
- package/api/resources/preEncounter/client/Client.js +13 -8
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +20 -2
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +89 -8
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/getVisits.d.ts +28 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/getVisits.js +68 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/index.js +2 -1
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +27 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.js +5 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +1 -1
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +13 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/Visit.js +5 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/VisitsPage.d.ts +7 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/VisitsPage.js +5 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/index.js +2 -0
- package/api/resources/preEncounter/resources/common/types/ExternalIdentifier.d.ts +12 -0
- package/api/resources/preEncounter/resources/common/types/ExternalIdentifier.js +5 -0
- package/api/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -0
- package/api/resources/preEncounter/resources/common/types/PayerPlanGroupId.d.ts +11 -0
- package/api/resources/preEncounter/resources/common/types/PayerPlanGroupId.js +9 -0
- package/api/resources/preEncounter/resources/common/types/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/common/types/index.js +2 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +21 -16
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +87 -24
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/getMultiPaginated.d.ts +28 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/getMultiPaginated.js +68 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/index.js +2 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.d.ts +22 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.js +5 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/Address.d.ts +12 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/Address.js +5 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitsRelatedEntity.d.ts +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoveragesPage.d.ts +7 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoveragesPage.js +5 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/ExpandedMemberInfo.d.ts +14 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/ExpandedMemberInfo.js +5 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +2 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +4 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/MemberInfo.d.ts +9 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/MemberInfo.js +5 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanMetadata.d.ts +3 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +4 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +4 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/client/Client.d.ts +30 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/client/Client.js +17 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/client/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/client/index.js +2 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/index.js +18 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/index.js +37 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +63 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +137 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +37 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/post.d.ts +22 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/post.js +57 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/index.js +18 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheck.d.ts +11 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheck.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.d.ts +17 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityResponse.d.ts +8 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityResponse.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Encounter.d.ts +12 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Encounter.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/IndividualProvider.d.ts +8 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/IndividualProvider.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/OrganizationProvider.d.ts +7 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/OrganizationProvider.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/ParsedResponse.d.ts +9 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/ParsedResponse.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Provider.d.ts +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Provider.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/RequestCorrection.d.ts +8 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/RequestCorrection.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +9 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +25 -0
- package/api/resources/preEncounter/resources/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/index.js +2 -1
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +1 -1
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +36 -7
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +84 -16
- package/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/client/reactivate.d.ts +34 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/reactivate.js +79 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +8 -2
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +8 -2
- package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/commons/types/ProcedureModifier.d.ts +5 -1
- package/dist/api/resources/commons/types/ProcedureModifier.js +1 -0
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/diagnoses/client/Client.js +3 -3
- package/dist/api/resources/eligibility/resources/v2/client/Client.d.ts +9 -0
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +12 -3
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +3 -0
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +31 -12
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +1 -0
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +2 -0
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +2 -0
- package/dist/api/resources/feeSchedules/resources/v3/types/DimensionMatch.d.ts +1 -0
- package/dist/api/resources/feeSchedules/resources/v3/types/Dimensions.d.ts +2 -1
- package/dist/api/resources/feeSchedules/resources/v3/types/MatchPayerPlanGroups.d.ts +12 -0
- package/dist/api/resources/feeSchedules/resources/v3/types/MatchPayerPlanGroups.js +5 -0
- package/dist/api/resources/feeSchedules/resources/v3/types/OptionalDimensions.d.ts +1 -0
- package/dist/api/resources/feeSchedules/resources/v3/types/PayerPlanGroupDoesNotMatchRatePayerError.d.ts +8 -0
- package/dist/api/resources/feeSchedules/resources/v3/types/PayerPlanGroupDoesNotMatchRatePayerError.js +5 -0
- package/dist/api/resources/feeSchedules/resources/v3/types/ValidationError.d.ts +7 -1
- package/dist/api/resources/feeSchedules/resources/v3/types/index.d.ts +2 -0
- package/dist/api/resources/feeSchedules/resources/v3/types/index.js +2 -0
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +5 -1
- package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.js +4 -0
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/client/Client.d.ts +3 -0
- package/dist/api/resources/preEncounter/client/Client.js +13 -8
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +20 -2
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +89 -8
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/getVisits.d.ts +28 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/getVisits.js +68 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/index.js +2 -1
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +27 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +13 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/Visit.js +5 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/VisitsPage.d.ts +7 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/VisitsPage.js +5 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/common/types/ExternalIdentifier.d.ts +12 -0
- package/dist/api/resources/preEncounter/resources/common/types/ExternalIdentifier.js +5 -0
- package/dist/api/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/common/types/PayerPlanGroupId.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/common/types/PayerPlanGroupId.js +9 -0
- package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/common/types/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +21 -16
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +87 -24
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/getMultiPaginated.d.ts +28 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/getMultiPaginated.js +68 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.js +2 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/Address.d.ts +12 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/Address.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitsRelatedEntity.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoveragesPage.d.ts +7 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoveragesPage.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/ExpandedMemberInfo.d.ts +14 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/ExpandedMemberInfo.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +4 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/MemberInfo.d.ts +9 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/MemberInfo.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanMetadata.d.ts +3 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +4 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +4 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/client/Client.d.ts +30 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/client/Client.js +17 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/client/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/client/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/index.js +18 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/index.js +37 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +63 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +137 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +37 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/post.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/post.js +57 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/index.js +18 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheck.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheck.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.d.ts +17 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityResponse.d.ts +8 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityResponse.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Encounter.d.ts +12 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Encounter.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/IndividualProvider.d.ts +8 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/IndividualProvider.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/OrganizationProvider.d.ts +7 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/OrganizationProvider.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/ParsedResponse.d.ts +9 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/ParsedResponse.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Provider.d.ts +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Provider.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/RequestCorrection.d.ts +8 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/RequestCorrection.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +9 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +25 -0
- package/dist/api/resources/preEncounter/resources/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/index.js +2 -1
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +36 -7
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +84 -16
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/reactivate.d.ts +34 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/reactivate.js +79 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +8 -2
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +8 -2
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
- package/dist/serialization/resources/commons/types/ProcedureModifier.js +1 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/types/DimensionMatch.d.ts +2 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/types/DimensionMatch.js +2 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/types/Dimensions.d.ts +2 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/types/Dimensions.js +2 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/types/MatchPayerPlanGroups.d.ts +15 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/types/MatchPayerPlanGroups.js +46 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/types/OptionalDimensions.d.ts +2 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/types/OptionalDimensions.js +2 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/types/PayerPlanGroupDoesNotMatchRatePayerError.d.ts +14 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/types/PayerPlanGroupDoesNotMatchRatePayerError.js +45 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/types/ValidationError.d.ts +8 -1
- package/dist/serialization/resources/feeSchedules/resources/v3/types/ValidationError.js +3 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/types/index.d.ts +2 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/types/index.js +2 -0
- package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
- package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +4 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getVisits.d.ts +15 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getVisits.js +71 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.js +2 -1
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +18 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.js +49 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/VisitsPage.d.ts +14 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/VisitsPage.js +47 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/index.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/index.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/ExternalIdentifier.d.ts +15 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/ExternalIdentifier.js +46 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProvider.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/PayerPlanGroupId.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/PayerPlanGroupId.js +45 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/index.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getMultiPaginated.d.ts +15 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getMultiPaginated.js +71 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/index.js +2 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Address.d.ts +18 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Address.js +49 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitsRelatedEntity.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitsRelatedEntity.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoveragesPage.d.ts +14 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoveragesPage.js +47 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ExpandedMemberInfo.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ExpandedMemberInfo.js +51 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MemberInfo.d.ts +15 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MemberInfo.js +46 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanMetadata.d.ts +4 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanMetadata.js +4 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +4 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +4 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/index.js +17 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/index.js +37 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/index.js +17 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheck.d.ts +19 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheck.js +50 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.d.ts +19 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.js +50 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityResponse.d.ts +11 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityResponse.js +8 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Encounter.d.ts +13 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Encounter.js +44 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/IndividualProvider.d.ts +14 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/IndividualProvider.js +45 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/OrganizationProvider.d.ts +13 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/OrganizationProvider.js +44 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/ParsedResponse.d.ts +17 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/ParsedResponse.js +48 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Provider.d.ts +12 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Provider.js +43 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/RequestCorrection.d.ts +14 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/RequestCorrection.js +45 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +9 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +25 -0
- package/dist/serialization/resources/preEncounter/resources/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/index.js +2 -1
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.js +2 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/reactivate.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/reactivate.js +77 -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/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +340 -19
- package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
- package/serialization/resources/commons/types/ProcedureModifier.js +1 -0
- package/serialization/resources/feeSchedules/resources/v3/types/DimensionMatch.d.ts +2 -0
- package/serialization/resources/feeSchedules/resources/v3/types/DimensionMatch.js +2 -0
- package/serialization/resources/feeSchedules/resources/v3/types/Dimensions.d.ts +2 -0
- package/serialization/resources/feeSchedules/resources/v3/types/Dimensions.js +2 -0
- package/serialization/resources/feeSchedules/resources/v3/types/MatchPayerPlanGroups.d.ts +15 -0
- package/serialization/resources/feeSchedules/resources/v3/types/MatchPayerPlanGroups.js +46 -0
- package/serialization/resources/feeSchedules/resources/v3/types/OptionalDimensions.d.ts +2 -0
- package/serialization/resources/feeSchedules/resources/v3/types/OptionalDimensions.js +2 -0
- package/serialization/resources/feeSchedules/resources/v3/types/PayerPlanGroupDoesNotMatchRatePayerError.d.ts +14 -0
- package/serialization/resources/feeSchedules/resources/v3/types/PayerPlanGroupDoesNotMatchRatePayerError.js +45 -0
- package/serialization/resources/feeSchedules/resources/v3/types/ValidationError.d.ts +8 -1
- package/serialization/resources/feeSchedules/resources/v3/types/ValidationError.js +3 -0
- package/serialization/resources/feeSchedules/resources/v3/types/index.d.ts +2 -0
- package/serialization/resources/feeSchedules/resources/v3/types/index.js +2 -0
- package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
- package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +4 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getVisits.d.ts +15 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getVisits.js +71 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.js +2 -1
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +18 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.js +49 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/VisitsPage.d.ts +14 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/VisitsPage.js +47 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/index.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/index.js +2 -0
- package/serialization/resources/preEncounter/resources/common/types/ExternalIdentifier.d.ts +15 -0
- package/serialization/resources/preEncounter/resources/common/types/ExternalIdentifier.js +46 -0
- package/serialization/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/common/types/ExternalProvider.js +1 -0
- package/serialization/resources/preEncounter/resources/common/types/PayerPlanGroupId.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/common/types/PayerPlanGroupId.js +45 -0
- package/serialization/resources/preEncounter/resources/common/types/index.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/common/types/index.js +2 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getMultiPaginated.d.ts +15 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getMultiPaginated.js +71 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/index.js +2 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Address.d.ts +18 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Address.js +49 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitsRelatedEntity.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitsRelatedEntity.js +2 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoveragesPage.d.ts +14 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoveragesPage.js +47 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ExpandedMemberInfo.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ExpandedMemberInfo.js +51 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.js +2 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +1 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MemberInfo.d.ts +15 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MemberInfo.js +46 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanMetadata.d.ts +4 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanMetadata.js +4 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +4 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +4 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/index.js +17 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/index.js +37 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/index.js +17 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheck.d.ts +19 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheck.js +50 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.d.ts +19 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.js +50 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityResponse.d.ts +11 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityResponse.js +8 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Encounter.d.ts +13 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Encounter.js +44 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/IndividualProvider.d.ts +14 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/IndividualProvider.js +45 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/OrganizationProvider.d.ts +13 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/OrganizationProvider.js +44 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/ParsedResponse.d.ts +17 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/ParsedResponse.js +48 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Provider.d.ts +12 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Provider.js +43 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/RequestCorrection.d.ts +14 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/RequestCorrection.js +45 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +9 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +25 -0
- package/serialization/resources/preEncounter/resources/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/index.js +2 -1
- package/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.js +2 -2
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/reactivate.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/reactivate.js +77 -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/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -98,16 +98,11 @@ class V1 {
|
|
|
98
98
|
* planType: "09",
|
|
99
99
|
* type: "01",
|
|
100
100
|
* period: {},
|
|
101
|
-
* insuranceCardImageLocator: "string"
|
|
101
|
+
* insuranceCardImageLocator: "string",
|
|
102
|
+
* payerPlanGroupId: CandidApi.preEncounter.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
102
103
|
* },
|
|
103
104
|
* verified: true,
|
|
104
|
-
* eligibilityChecks: [
|
|
105
|
-
* checkId: "string",
|
|
106
|
-
* serviceCode: "1",
|
|
107
|
-
* status: "COMPLETED",
|
|
108
|
-
* initiatedBy: CandidApi.preEncounter.UserId("string"),
|
|
109
|
-
* initiatedAt: "2024-01-15T09:30:00Z"
|
|
110
|
-
* }],
|
|
105
|
+
* eligibilityChecks: [],
|
|
111
106
|
* latestEligibilityCheck: {
|
|
112
107
|
* checkId: "string",
|
|
113
108
|
* status: "ACTIVE",
|
|
@@ -122,7 +117,7 @@ class V1 {
|
|
|
122
117
|
const _response = yield core.fetcher({
|
|
123
118
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/coverages/v1"),
|
|
124
119
|
method: "POST",
|
|
125
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
120
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
126
121
|
contentType: "application/json",
|
|
127
122
|
requestType: "json",
|
|
128
123
|
body: serializers.preEncounter.coverages.v1.MutableCoverage.jsonOrThrow(request, {
|
|
@@ -191,16 +186,11 @@ class V1 {
|
|
|
191
186
|
* planType: "09",
|
|
192
187
|
* type: "01",
|
|
193
188
|
* period: {},
|
|
194
|
-
* insuranceCardImageLocator: "string"
|
|
189
|
+
* insuranceCardImageLocator: "string",
|
|
190
|
+
* payerPlanGroupId: CandidApi.preEncounter.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
195
191
|
* },
|
|
196
192
|
* verified: true,
|
|
197
|
-
* eligibilityChecks: [
|
|
198
|
-
* checkId: "string",
|
|
199
|
-
* serviceCode: "1",
|
|
200
|
-
* status: "COMPLETED",
|
|
201
|
-
* initiatedBy: CandidApi.preEncounter.UserId("string"),
|
|
202
|
-
* initiatedAt: "2024-01-15T09:30:00Z"
|
|
203
|
-
* }],
|
|
193
|
+
* eligibilityChecks: [],
|
|
204
194
|
* latestEligibilityCheck: {
|
|
205
195
|
* checkId: "string",
|
|
206
196
|
* status: "ACTIVE",
|
|
@@ -215,7 +205,7 @@ class V1 {
|
|
|
215
205
|
const _response = yield core.fetcher({
|
|
216
206
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/coverages/v1/${encodeURIComponent(serializers.preEncounter.CoverageId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
|
|
217
207
|
method: "PUT",
|
|
218
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
208
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
219
209
|
contentType: "application/json",
|
|
220
210
|
requestType: "json",
|
|
221
211
|
body: serializers.preEncounter.coverages.v1.MutableCoverage.jsonOrThrow(request, {
|
|
@@ -257,6 +247,79 @@ class V1 {
|
|
|
257
247
|
};
|
|
258
248
|
});
|
|
259
249
|
}
|
|
250
|
+
/**
|
|
251
|
+
* Returns a page of Coverages based on the search criteria.
|
|
252
|
+
*
|
|
253
|
+
* @param {CandidApi.preEncounter.coverages.v1.CoverageGetMultiPaginatedRequest} request
|
|
254
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
255
|
+
*
|
|
256
|
+
* @example
|
|
257
|
+
* await client.preEncounter.coverages.v1.getMultiPaginated({
|
|
258
|
+
* patientId: "string",
|
|
259
|
+
* payerPlanGroupId: "string",
|
|
260
|
+
* pageToken: CandidApi.preEncounter.PageToken("string"),
|
|
261
|
+
* limit: 1
|
|
262
|
+
* })
|
|
263
|
+
*/
|
|
264
|
+
getMultiPaginated() {
|
|
265
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
266
|
+
var _a, _b, _c;
|
|
267
|
+
const { patientId, payerPlanGroupId, pageToken, limit } = request;
|
|
268
|
+
const _queryParams = {};
|
|
269
|
+
if (patientId != null) {
|
|
270
|
+
_queryParams["patient_id"] = patientId;
|
|
271
|
+
}
|
|
272
|
+
if (payerPlanGroupId != null) {
|
|
273
|
+
_queryParams["payer_plan_group_id"] = payerPlanGroupId;
|
|
274
|
+
}
|
|
275
|
+
if (pageToken != null) {
|
|
276
|
+
_queryParams["page_token"] = pageToken;
|
|
277
|
+
}
|
|
278
|
+
if (limit != null) {
|
|
279
|
+
_queryParams["limit"] = limit.toString();
|
|
280
|
+
}
|
|
281
|
+
const _response = yield core.fetcher({
|
|
282
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/coverages/v1/get-multi-paginated"),
|
|
283
|
+
method: "GET",
|
|
284
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
285
|
+
contentType: "application/json",
|
|
286
|
+
queryParameters: _queryParams,
|
|
287
|
+
requestType: "json",
|
|
288
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
289
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
290
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
291
|
+
});
|
|
292
|
+
if (_response.ok) {
|
|
293
|
+
return {
|
|
294
|
+
ok: true,
|
|
295
|
+
body: serializers.preEncounter.coverages.v1.CoveragesPage.parseOrThrow(_response.body, {
|
|
296
|
+
unrecognizedObjectKeys: "passthrough",
|
|
297
|
+
allowUnrecognizedUnionMembers: true,
|
|
298
|
+
allowUnrecognizedEnumValues: true,
|
|
299
|
+
breadcrumbsPrefix: ["response"],
|
|
300
|
+
}),
|
|
301
|
+
};
|
|
302
|
+
}
|
|
303
|
+
if (_response.error.reason === "status-code") {
|
|
304
|
+
switch ((_c = _response.error.body) === null || _c === void 0 ? void 0 : _c.errorName) {
|
|
305
|
+
case "BadRequestError":
|
|
306
|
+
return {
|
|
307
|
+
ok: false,
|
|
308
|
+
error: serializers.preEncounter.coverages.v1.getMultiPaginated.Error.parseOrThrow(_response.error.body, {
|
|
309
|
+
unrecognizedObjectKeys: "passthrough",
|
|
310
|
+
allowUnrecognizedUnionMembers: true,
|
|
311
|
+
allowUnrecognizedEnumValues: true,
|
|
312
|
+
breadcrumbsPrefix: ["response"],
|
|
313
|
+
}),
|
|
314
|
+
};
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
return {
|
|
318
|
+
ok: false,
|
|
319
|
+
error: CandidApi.preEncounter.coverages.v1.getMultiPaginated.Error._unknown(_response.error),
|
|
320
|
+
};
|
|
321
|
+
});
|
|
322
|
+
}
|
|
260
323
|
/**
|
|
261
324
|
* gets a specific Coverage
|
|
262
325
|
*
|
|
@@ -272,7 +335,7 @@ class V1 {
|
|
|
272
335
|
const _response = yield core.fetcher({
|
|
273
336
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/coverages/v1/${encodeURIComponent(serializers.preEncounter.CoverageId.jsonOrThrow(id))}`),
|
|
274
337
|
method: "GET",
|
|
275
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
338
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
276
339
|
contentType: "application/json",
|
|
277
340
|
requestType: "json",
|
|
278
341
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -311,7 +374,7 @@ class V1 {
|
|
|
311
374
|
const _response = yield core.fetcher({
|
|
312
375
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/coverages/v1/${encodeURIComponent(serializers.preEncounter.CoverageId.jsonOrThrow(id))}/history`),
|
|
313
376
|
method: "GET",
|
|
314
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
377
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
315
378
|
contentType: "application/json",
|
|
316
379
|
requestType: "json",
|
|
317
380
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -371,7 +434,7 @@ class V1 {
|
|
|
371
434
|
const _response = yield core.fetcher({
|
|
372
435
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/coverages/v1"),
|
|
373
436
|
method: "GET",
|
|
374
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
437
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
375
438
|
contentType: "application/json",
|
|
376
439
|
queryParameters: _queryParams,
|
|
377
440
|
requestType: "json",
|
|
@@ -416,7 +479,7 @@ class V1 {
|
|
|
416
479
|
const _response = yield core.fetcher({
|
|
417
480
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/coverages/v1/updates/scan"),
|
|
418
481
|
method: "GET",
|
|
419
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
482
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
420
483
|
contentType: "application/json",
|
|
421
484
|
queryParameters: _queryParams,
|
|
422
485
|
requestType: "json",
|
|
@@ -461,7 +524,7 @@ class V1 {
|
|
|
461
524
|
const _response = yield core.fetcher({
|
|
462
525
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/coverages/v1/${encodeURIComponent(serializers.preEncounter.CoverageId.jsonOrThrow(id))}/eligibility`),
|
|
463
526
|
method: "POST",
|
|
464
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
527
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
465
528
|
contentType: "application/json",
|
|
466
529
|
requestType: "json",
|
|
467
530
|
body: serializers.preEncounter.coverages.v1.CheckEligibilityRequest.jsonOrThrow(request, {
|
|
@@ -504,7 +567,7 @@ class V1 {
|
|
|
504
567
|
const _response = yield core.fetcher({
|
|
505
568
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/coverages/v1/${encodeURIComponent(serializers.preEncounter.CoverageId.jsonOrThrow(id))}/eligibility/${encodeURIComponent(checkId)}`),
|
|
506
569
|
method: "GET",
|
|
507
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
570
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
508
571
|
contentType: "application/json",
|
|
509
572
|
requestType: "json",
|
|
510
573
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
package/api/resources/preEncounter/resources/coverages/resources/v1/client/getMultiPaginated.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../../index";
|
|
5
|
+
import * as core from "../../../../../../../../core";
|
|
6
|
+
export type Error = CandidApi.preEncounter.coverages.v1.getMultiPaginated.Error.BadRequestError | CandidApi.preEncounter.coverages.v1.getMultiPaginated.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface BadRequestError extends _Utils {
|
|
9
|
+
errorName: "BadRequestError";
|
|
10
|
+
content: CandidApi.preEncounter.ErrorBase4Xx;
|
|
11
|
+
}
|
|
12
|
+
interface _Unknown extends _Utils {
|
|
13
|
+
errorName: void;
|
|
14
|
+
content: core.Fetcher.Error;
|
|
15
|
+
}
|
|
16
|
+
interface _Utils {
|
|
17
|
+
_visit: <_Result>(visitor: CandidApi.preEncounter.coverages.v1.getMultiPaginated.Error._Visitor<_Result>) => _Result;
|
|
18
|
+
}
|
|
19
|
+
interface _Visitor<_Result> {
|
|
20
|
+
badRequestError: (value: CandidApi.preEncounter.ErrorBase4Xx) => _Result;
|
|
21
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
export declare const Error: {
|
|
25
|
+
readonly badRequestError: (value: CandidApi.preEncounter.ErrorBase4Xx) => CandidApi.preEncounter.coverages.v1.getMultiPaginated.Error.BadRequestError;
|
|
26
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.coverages.v1.getMultiPaginated.Error._Unknown;
|
|
27
|
+
readonly _visit: <_Result>(value: CandidApi.preEncounter.coverages.v1.getMultiPaginated.Error, visitor: CandidApi.preEncounter.coverages.v1.getMultiPaginated.Error._Visitor<_Result>) => _Result;
|
|
28
|
+
};
|
package/api/resources/preEncounter/resources/coverages/resources/v1/client/getMultiPaginated.js
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.Error = void 0;
|
|
40
|
+
const CandidApi = __importStar(require("../../../../../../../index"));
|
|
41
|
+
exports.Error = {
|
|
42
|
+
badRequestError: (value) => {
|
|
43
|
+
return {
|
|
44
|
+
content: value,
|
|
45
|
+
errorName: "BadRequestError",
|
|
46
|
+
_visit: function (visitor) {
|
|
47
|
+
return CandidApi.preEncounter.coverages.v1.getMultiPaginated.Error._visit(this, visitor);
|
|
48
|
+
},
|
|
49
|
+
};
|
|
50
|
+
},
|
|
51
|
+
_unknown: (fetcherError) => {
|
|
52
|
+
return {
|
|
53
|
+
errorName: undefined,
|
|
54
|
+
content: fetcherError,
|
|
55
|
+
_visit: function (visitor) {
|
|
56
|
+
return CandidApi.preEncounter.coverages.v1.getMultiPaginated.Error._visit(this, visitor);
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
|
+
},
|
|
60
|
+
_visit: (value, visitor) => {
|
|
61
|
+
switch (value.errorName) {
|
|
62
|
+
case "BadRequestError":
|
|
63
|
+
return visitor.badRequestError(value.content);
|
|
64
|
+
default:
|
|
65
|
+
return visitor._other(value);
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./requests";
|
|
2
2
|
export * as create from "./create";
|
|
3
3
|
export * as update from "./update";
|
|
4
|
+
export * as getMultiPaginated from "./getMultiPaginated";
|
|
4
5
|
export * as get from "./get";
|
|
5
6
|
export * as getHistory from "./getHistory";
|
|
6
7
|
export * as getMulti from "./getMulti";
|
|
@@ -36,10 +36,11 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.getEligibility = exports.checkEligibility = exports.scan = exports.getMulti = exports.getHistory = exports.get = exports.update = exports.create = void 0;
|
|
39
|
+
exports.getEligibility = exports.checkEligibility = exports.scan = exports.getMulti = exports.getHistory = exports.get = exports.getMultiPaginated = exports.update = exports.create = void 0;
|
|
40
40
|
__exportStar(require("./requests"), exports);
|
|
41
41
|
exports.create = __importStar(require("./create"));
|
|
42
42
|
exports.update = __importStar(require("./update"));
|
|
43
|
+
exports.getMultiPaginated = __importStar(require("./getMultiPaginated"));
|
|
43
44
|
exports.get = __importStar(require("./get"));
|
|
44
45
|
exports.getHistory = __importStar(require("./getHistory"));
|
|
45
46
|
exports.getMulti = __importStar(require("./getMulti"));
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* patientId: "string",
|
|
9
|
+
* payerPlanGroupId: "string",
|
|
10
|
+
* pageToken: CandidApi.preEncounter.PageToken("string"),
|
|
11
|
+
* limit: 1
|
|
12
|
+
* }
|
|
13
|
+
*/
|
|
14
|
+
export interface CoverageGetMultiPaginatedRequest {
|
|
15
|
+
patientId?: string;
|
|
16
|
+
payerPlanGroupId?: string;
|
|
17
|
+
pageToken?: CandidApi.preEncounter.PageToken;
|
|
18
|
+
/**
|
|
19
|
+
* Must be between 0 and 1000. Defaults to 100
|
|
20
|
+
*/
|
|
21
|
+
limit?: number;
|
|
22
|
+
}
|
package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { type CoverageGetMultiPaginatedRequest } from "./CoverageGetMultiPaginatedRequest";
|
|
1
2
|
export { type CoverageGetMultiRequest } from "./CoverageGetMultiRequest";
|
|
2
3
|
export { type CoverageScanRequest } from "./CoverageScanRequest";
|
|
3
4
|
export { type CheckEligibilityRequest } from "./CheckEligibilityRequest";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface Address {
|
|
5
|
+
address1?: string;
|
|
6
|
+
address2?: string;
|
|
7
|
+
city?: string;
|
|
8
|
+
state?: string;
|
|
9
|
+
postalCode?: string;
|
|
10
|
+
countryCode?: string;
|
|
11
|
+
countrySubDivisionCode?: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../../index";
|
|
5
|
+
export interface CoveragesPage extends CandidApi.preEncounter.ResourcePage {
|
|
6
|
+
items: CandidApi.preEncounter.coverages.v1.Coverage[];
|
|
7
|
+
}
|
package/api/resources/preEncounter/resources/coverages/resources/v1/types/ExpandedMemberInfo.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../../index";
|
|
5
|
+
export interface ExpandedMemberInfo {
|
|
6
|
+
memberId?: string;
|
|
7
|
+
groupNumber?: string;
|
|
8
|
+
firstName?: string;
|
|
9
|
+
middleName?: string;
|
|
10
|
+
lastName?: string;
|
|
11
|
+
dateOfBirth?: string;
|
|
12
|
+
gender?: string;
|
|
13
|
+
address?: CandidApi.preEncounter.coverages.v1.Address;
|
|
14
|
+
}
|
package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts
CHANGED
|
@@ -13,4 +13,6 @@ export interface InsurancePlan {
|
|
|
13
13
|
type?: CandidApi.preEncounter.coverages.v1.InsuranceTypeCode;
|
|
14
14
|
period?: CandidApi.preEncounter.Period;
|
|
15
15
|
insuranceCardImageLocator?: string;
|
|
16
|
+
/** The ID of the Candid configured payer plan group associated with this coverage */
|
|
17
|
+
payerPlanGroupId?: CandidApi.preEncounter.PayerPlanGroupId;
|
|
16
18
|
}
|
package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts
CHANGED
|
@@ -179,6 +179,9 @@ export type InsuranceTypeCode =
|
|
|
179
179
|
/**
|
|
180
180
|
* Other */
|
|
181
181
|
| "OT"
|
|
182
|
+
/**
|
|
183
|
+
* Property Insurance - Personal */
|
|
184
|
+
| "PE"
|
|
182
185
|
/**
|
|
183
186
|
* Personal */
|
|
184
187
|
| "PL"
|
|
@@ -271,6 +274,7 @@ export declare const InsuranceTypeCode: {
|
|
|
271
274
|
readonly Cmv: "MV";
|
|
272
275
|
readonly Coa: "OA";
|
|
273
276
|
readonly Cot: "OT";
|
|
277
|
+
readonly Cpe: "PE";
|
|
274
278
|
readonly Cpl: "PL";
|
|
275
279
|
readonly Cpp: "PP";
|
|
276
280
|
readonly Cpr: "PR";
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../../../../index";
|
|
5
5
|
export interface PlanMetadata {
|
|
6
|
+
payerName?: string;
|
|
6
7
|
insuranceType?: string;
|
|
7
8
|
insuranceTypeCode?: string;
|
|
8
9
|
planName?: string;
|
|
@@ -11,4 +12,6 @@ export interface PlanMetadata {
|
|
|
11
12
|
startDate?: string;
|
|
12
13
|
endDate?: string;
|
|
13
14
|
planDates?: CandidApi.preEncounter.coverages.v1.PlanDate[];
|
|
15
|
+
subscriber?: CandidApi.preEncounter.coverages.v1.ExpandedMemberInfo;
|
|
16
|
+
dependent?: CandidApi.preEncounter.coverages.v1.ExpandedMemberInfo;
|
|
14
17
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./CoveragesPage";
|
|
1
2
|
export * from "./LatestEligibilityCheck";
|
|
2
3
|
export * from "./EligibilityCheckMetadata";
|
|
3
4
|
export * from "./CoverageEligibilityCheckResponse";
|
|
@@ -17,6 +18,9 @@ export * from "./EligibilityStatus";
|
|
|
17
18
|
export * from "./CoverageLevel";
|
|
18
19
|
export * from "./CoverageValueUnit";
|
|
19
20
|
export * from "./Subscriber";
|
|
21
|
+
export * from "./MemberInfo";
|
|
22
|
+
export * from "./Address";
|
|
23
|
+
export * from "./ExpandedMemberInfo";
|
|
20
24
|
export * from "./CoverageStatus";
|
|
21
25
|
export * from "./NetworkType";
|
|
22
26
|
export * from "./InsurancePlan";
|
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./CoveragesPage"), exports);
|
|
17
18
|
__exportStar(require("./LatestEligibilityCheck"), exports);
|
|
18
19
|
__exportStar(require("./EligibilityCheckMetadata"), exports);
|
|
19
20
|
__exportStar(require("./CoverageEligibilityCheckResponse"), exports);
|
|
@@ -33,6 +34,9 @@ __exportStar(require("./EligibilityStatus"), exports);
|
|
|
33
34
|
__exportStar(require("./CoverageLevel"), exports);
|
|
34
35
|
__exportStar(require("./CoverageValueUnit"), exports);
|
|
35
36
|
__exportStar(require("./Subscriber"), exports);
|
|
37
|
+
__exportStar(require("./MemberInfo"), exports);
|
|
38
|
+
__exportStar(require("./Address"), exports);
|
|
39
|
+
__exportStar(require("./ExpandedMemberInfo"), exports);
|
|
36
40
|
__exportStar(require("./CoverageStatus"), exports);
|
|
37
41
|
__exportStar(require("./NetworkType"), exports);
|
|
38
42
|
__exportStar(require("./InsurancePlan"), exports);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../../../environments";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
import { V1 } from "../resources/v1/client/Client";
|
|
7
|
+
export declare namespace EligibilityChecks {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: core.Supplier<environments.CandidApiEnvironment | environments.CandidApiEnvironmentUrls>;
|
|
10
|
+
/** Specify a custom URL to connect the client to. */
|
|
11
|
+
baseUrl?: core.Supplier<string>;
|
|
12
|
+
token?: core.Supplier<core.BearerToken | undefined>;
|
|
13
|
+
}
|
|
14
|
+
interface RequestOptions {
|
|
15
|
+
/** The maximum time to wait for a response in seconds. */
|
|
16
|
+
timeoutInSeconds?: number;
|
|
17
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
18
|
+
maxRetries?: number;
|
|
19
|
+
/** A hook to abort the request. */
|
|
20
|
+
abortSignal?: AbortSignal;
|
|
21
|
+
/** Additional headers to include in the request. */
|
|
22
|
+
headers?: Record<string, string>;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
export declare class EligibilityChecks {
|
|
26
|
+
protected readonly _options: EligibilityChecks.Options;
|
|
27
|
+
protected _v1: V1 | undefined;
|
|
28
|
+
constructor(_options?: EligibilityChecks.Options);
|
|
29
|
+
get v1(): V1;
|
|
30
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.EligibilityChecks = void 0;
|
|
7
|
+
const Client_1 = require("../resources/v1/client/Client");
|
|
8
|
+
class EligibilityChecks {
|
|
9
|
+
constructor(_options = {}) {
|
|
10
|
+
this._options = _options;
|
|
11
|
+
}
|
|
12
|
+
get v1() {
|
|
13
|
+
var _a;
|
|
14
|
+
return ((_a = this._v1) !== null && _a !== void 0 ? _a : (this._v1 = new Client_1.V1(this._options)));
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.EligibilityChecks = EligibilityChecks;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./resources"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as v1 from "./v1";
|