candidhealth 0.38.2 → 0.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +3 -0
- package/Client.js +67 -62
- 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.d.ts +2 -206
- package/api/resources/chargeCapture/resources/v1/client/Client.js +7 -211
- package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -103
- package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +1 -103
- package/api/resources/chargeCaptureBundles/client/Client.d.ts +26 -0
- package/api/resources/chargeCaptureBundles/client/Client.js +17 -0
- package/api/resources/chargeCaptureBundles/client/index.d.ts +1 -0
- package/api/resources/chargeCaptureBundles/client/index.js +2 -0
- package/api/resources/chargeCaptureBundles/index.d.ts +2 -0
- package/api/resources/chargeCaptureBundles/index.js +18 -0
- package/api/resources/chargeCaptureBundles/resources/index.d.ts +1 -0
- package/api/resources/chargeCaptureBundles/resources/index.js +27 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +57 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +270 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/get.d.ts +28 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/get.js +58 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/getAll.d.ts +28 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/getAll.js +58 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +4 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/index.js +33 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.d.ts +46 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.js +5 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/requests/index.js +2 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +28 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/resubmit.js +58 -0
- package/api/resources/chargeCaptureBundles/resources/v1/index.d.ts +2 -0
- package/api/resources/chargeCaptureBundles/resources/v1/index.js +18 -0
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeBundleError.d.ts +22 -0
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeBundleError.js +5 -0
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +17 -0
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js +5 -0
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +7 -0
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.js +5 -0
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +10 -0
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +12 -0
- package/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +4 -0
- package/api/resources/chargeCaptureBundles/resources/v1/types/index.js +20 -0
- package/api/resources/commons/types/ChargeCaptureBundleId.d.ts +8 -0
- package/api/resources/commons/types/ChargeCaptureBundleId.js +10 -0
- package/api/resources/commons/types/NetworkType.d.ts +9 -1
- package/api/resources/commons/types/NetworkType.js +2 -0
- package/api/resources/commons/types/NotImplementedErrorMessage.d.ts +6 -0
- package/api/resources/commons/types/NotImplementedErrorMessage.js +5 -0
- package/api/resources/commons/types/index.d.ts +2 -0
- package/api/resources/commons/types/index.js +2 -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.js +3 -3
- package/api/resources/encounterProviders/resources/v2/client/Client.d.ts +66 -8
- package/api/resources/encounterProviders/resources/v2/client/Client.js +78 -20
- package/api/resources/encounters/resources/v4/client/Client.d.ts +83 -95
- package/api/resources/encounters/resources/v4/client/Client.js +88 -100
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +62 -8
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +20 -5
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -82
- 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.js +10 -10
- package/api/resources/guarantor/resources/v1/client/Client.d.ts +21 -1
- package/api/resources/guarantor/resources/v1/client/Client.js +24 -4
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +2 -1
- 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/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/resources/appointments/resources/v1/client/Client.js +6 -6
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +2 -2
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.d.ts +4 -2
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.js +3 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitsRelatedEntity.d.ts +10 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitsRelatedEntity.js +5 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.d.ts +4 -3
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.js +3 -2
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.d.ts +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckStatus.d.ts +1 -2
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckStatus.js +0 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.d.ts +3 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/RelatedEntityContact.d.ts +7 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/RelatedEntityContact.js +5 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +2 -0
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +9 -9
- 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.d.ts +4 -1
- package/api/resources/serviceLines/resources/v2/client/Client.js +7 -4
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/api/resources/x12/resources/v1/types/Rarc.d.ts +3 -1
- package/api/resources/x12/resources/v1/types/Rarc.js +2 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +67 -62
- 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.d.ts +2 -206
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +7 -211
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -103
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +1 -103
- package/dist/api/resources/chargeCaptureBundles/client/Client.d.ts +26 -0
- package/dist/api/resources/chargeCaptureBundles/client/Client.js +17 -0
- package/dist/api/resources/chargeCaptureBundles/client/index.d.ts +1 -0
- package/dist/api/resources/chargeCaptureBundles/client/index.js +2 -0
- package/dist/api/resources/chargeCaptureBundles/index.d.ts +2 -0
- package/dist/api/resources/chargeCaptureBundles/index.js +18 -0
- package/dist/api/resources/chargeCaptureBundles/resources/index.d.ts +1 -0
- package/dist/api/resources/chargeCaptureBundles/resources/index.js +27 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +57 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +270 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/get.d.ts +28 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/get.js +58 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/getAll.d.ts +28 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/getAll.js +58 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +4 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.js +33 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.d.ts +46 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.js +5 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/index.js +2 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +28 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/resubmit.js +58 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/index.js +18 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeBundleError.d.ts +22 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeBundleError.js +5 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +17 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js +5 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +7 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.js +5 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +10 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +12 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +4 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.js +20 -0
- package/dist/api/resources/commons/types/ChargeCaptureBundleId.d.ts +8 -0
- package/dist/api/resources/commons/types/ChargeCaptureBundleId.js +10 -0
- package/dist/api/resources/commons/types/NetworkType.d.ts +9 -1
- package/dist/api/resources/commons/types/NetworkType.js +2 -0
- package/dist/api/resources/commons/types/NotImplementedErrorMessage.d.ts +6 -0
- package/dist/api/resources/commons/types/NotImplementedErrorMessage.js +5 -0
- package/dist/api/resources/commons/types/index.d.ts +2 -0
- package/dist/api/resources/commons/types/index.js +2 -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.js +3 -3
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.d.ts +66 -8
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +78 -20
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +83 -95
- package/dist/api/resources/encounters/resources/v4/client/Client.js +88 -100
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +62 -8
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +20 -5
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -82
- 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.js +10 -10
- package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +21 -1
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +24 -4
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +2 -1
- 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/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/resources/appointments/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +2 -2
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.d.ts +4 -2
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.js +3 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitsRelatedEntity.d.ts +10 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitsRelatedEntity.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.d.ts +4 -3
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.js +3 -2
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckStatus.d.ts +1 -2
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckStatus.js +0 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.d.ts +3 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/RelatedEntityContact.d.ts +7 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/RelatedEntityContact.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- 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.js +9 -9
- 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.d.ts +4 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +7 -4
- 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/api/resources/x12/resources/v1/types/Rarc.d.ts +3 -1
- package/dist/api/resources/x12/resources/v1/types/Rarc.js +2 -0
- package/dist/serialization/resources/chargeCaptureBundles/index.d.ts +1 -0
- package/dist/serialization/resources/chargeCaptureBundles/index.js +17 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/index.d.ts +1 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/index.js +27 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/get.d.ts +15 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/get.js +61 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/getAll.d.ts +15 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/getAll.js +61 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +3 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/index.js +29 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +15 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.js +61 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/index.d.ts +2 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/index.js +18 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeBundleError.d.ts +18 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeBundleError.js +39 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +21 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js +42 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +14 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.js +37 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +10 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +31 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +4 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +20 -0
- package/dist/serialization/resources/commons/types/ChargeCaptureBundleId.d.ts +10 -0
- package/dist/serialization/resources/commons/types/ChargeCaptureBundleId.js +35 -0
- package/dist/serialization/resources/commons/types/NetworkType.d.ts +1 -1
- package/dist/serialization/resources/commons/types/NetworkType.js +2 -0
- package/dist/serialization/resources/commons/types/NotImplementedErrorMessage.d.ts +12 -0
- package/dist/serialization/resources/commons/types/NotImplementedErrorMessage.js +33 -0
- package/dist/serialization/resources/commons/types/index.d.ts +2 -0
- package/dist/serialization/resources/commons/types/index.js +2 -0
- package/dist/serialization/resources/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +2 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.d.ts +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.js +3 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitsRelatedEntity.d.ts +16 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitsRelatedEntity.js +37 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.d.ts +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckStatus.d.ts +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckStatus.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.d.ts +3 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.js +3 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/RelatedEntityContact.d.ts +13 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/RelatedEntityContact.js +34 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +2 -0
- package/dist/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
- package/dist/serialization/resources/x12/resources/v1/types/Rarc.js +2 -0
- package/package.json +1 -1
- package/reference.md +314 -299
- package/serialization/resources/chargeCaptureBundles/index.d.ts +1 -0
- package/serialization/resources/chargeCaptureBundles/index.js +17 -0
- package/serialization/resources/chargeCaptureBundles/resources/index.d.ts +1 -0
- package/serialization/resources/chargeCaptureBundles/resources/index.js +27 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/client/get.d.ts +15 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/client/get.js +61 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/client/getAll.d.ts +15 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/client/getAll.js +61 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +3 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/client/index.js +29 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +15 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.js +61 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/index.d.ts +2 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/index.js +18 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeBundleError.d.ts +18 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeBundleError.js +39 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +21 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js +42 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +14 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.js +37 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +10 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +31 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +4 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +20 -0
- package/serialization/resources/commons/types/ChargeCaptureBundleId.d.ts +10 -0
- package/serialization/resources/commons/types/ChargeCaptureBundleId.js +35 -0
- package/serialization/resources/commons/types/NetworkType.d.ts +1 -1
- package/serialization/resources/commons/types/NetworkType.js +2 -0
- package/serialization/resources/commons/types/NotImplementedErrorMessage.d.ts +12 -0
- package/serialization/resources/commons/types/NotImplementedErrorMessage.js +33 -0
- package/serialization/resources/commons/types/index.d.ts +2 -0
- package/serialization/resources/commons/types/index.js +2 -0
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +2 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.d.ts +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.js +3 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitsRelatedEntity.d.ts +16 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitsRelatedEntity.js +37 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.js +2 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.d.ts +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.js +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.js +1 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckStatus.d.ts +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckStatus.js +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.d.ts +3 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.js +3 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/RelatedEntityContact.d.ts +13 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/RelatedEntityContact.js +34 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +2 -0
- package/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
- package/serialization/resources/x12/resources/v1/types/Rarc.js +2 -0
|
@@ -0,0 +1,58 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../index"));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
notImplementedError: (value) => {
|
|
33
|
+
return {
|
|
34
|
+
content: value,
|
|
35
|
+
errorName: "NotImplementedError",
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.chargeCaptureBundles.v1.getAll.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
_unknown: (fetcherError) => {
|
|
42
|
+
return {
|
|
43
|
+
errorName: undefined,
|
|
44
|
+
content: fetcherError,
|
|
45
|
+
_visit: function (visitor) {
|
|
46
|
+
return CandidApi.chargeCaptureBundles.v1.getAll.Error._visit(this, visitor);
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
_visit: (value, visitor) => {
|
|
51
|
+
switch (value.errorName) {
|
|
52
|
+
case "NotImplementedError":
|
|
53
|
+
return visitor.notImplementedError(value.content);
|
|
54
|
+
default:
|
|
55
|
+
return visitor._other(value);
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
19
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
20
|
+
};
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.getAll = exports.resubmit = exports.get = void 0;
|
|
30
|
+
__exportStar(require("./requests"), exports);
|
|
31
|
+
exports.get = __importStar(require("./get"));
|
|
32
|
+
exports.resubmit = __importStar(require("./resubmit"));
|
|
33
|
+
exports.getAll = __importStar(require("./getAll"));
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
* limit: 1,
|
|
9
|
+
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
|
|
10
|
+
* patientExternalId: "string",
|
|
11
|
+
* bundleStatus: CandidApi.chargeCaptureBundles.v1.ChargeCaptureBundleStatus.InProgress,
|
|
12
|
+
* chargeStatus: CandidApi.chargeCapture.v1.ChargeCaptureStatus.Planned,
|
|
13
|
+
* chargeExternalId: "string",
|
|
14
|
+
* dateOfService: "2023-01-15"
|
|
15
|
+
* }
|
|
16
|
+
*/
|
|
17
|
+
export interface GetAllChargeCaptureBundlesRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Maximum number of entities per page, defaults to 100.
|
|
20
|
+
*/
|
|
21
|
+
limit?: number;
|
|
22
|
+
pageToken?: CandidApi.PageToken;
|
|
23
|
+
/**
|
|
24
|
+
* The patient ID from the external EMR platform for the patient
|
|
25
|
+
*/
|
|
26
|
+
patientExternalId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* the status of the charge capture bundle, refers to whether it was able to create an encounter.
|
|
29
|
+
*/
|
|
30
|
+
bundleStatus?: CandidApi.chargeCaptureBundles.v1.ChargeCaptureBundleStatus;
|
|
31
|
+
/**
|
|
32
|
+
* the status of the charge captures
|
|
33
|
+
*/
|
|
34
|
+
chargeStatus?: CandidApi.chargeCapture.v1.ChargeCaptureStatus;
|
|
35
|
+
/**
|
|
36
|
+
* A client-specified unique ID to associate with this encounter;
|
|
37
|
+
* for example, your internal encounter ID or a Dr. Chrono encounter ID.
|
|
38
|
+
* This field should not contain PHI.
|
|
39
|
+
*/
|
|
40
|
+
chargeExternalId?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Date formatted as YYYY-MM-DD; eg: 2019-08-24.
|
|
43
|
+
* This date must be the local date in the timezone where the service occurred.
|
|
44
|
+
*/
|
|
45
|
+
dateOfService?: string;
|
|
46
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { type GetAllChargeCaptureBundlesRequest } from "./GetAllChargeCaptureBundlesRequest";
|
|
@@ -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 declare type Error = CandidApi.chargeCaptureBundles.v1.resubmit.Error.NotImplementedError | CandidApi.chargeCaptureBundles.v1.resubmit.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface NotImplementedError extends _Utils {
|
|
9
|
+
errorName: "NotImplementedError";
|
|
10
|
+
content: CandidApi.NotImplementedErrorMessage;
|
|
11
|
+
}
|
|
12
|
+
interface _Unknown extends _Utils {
|
|
13
|
+
errorName: void;
|
|
14
|
+
content: core.Fetcher.Error;
|
|
15
|
+
}
|
|
16
|
+
interface _Utils {
|
|
17
|
+
_visit: <_Result>(visitor: CandidApi.chargeCaptureBundles.v1.resubmit.Error._Visitor<_Result>) => _Result;
|
|
18
|
+
}
|
|
19
|
+
interface _Visitor<_Result> {
|
|
20
|
+
notImplementedError: (value: CandidApi.NotImplementedErrorMessage) => _Result;
|
|
21
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
export declare const Error: {
|
|
25
|
+
readonly notImplementedError: (value: CandidApi.NotImplementedErrorMessage) => CandidApi.chargeCaptureBundles.v1.resubmit.Error.NotImplementedError;
|
|
26
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.chargeCaptureBundles.v1.resubmit.Error._Unknown;
|
|
27
|
+
readonly _visit: <_Result>(value: CandidApi.chargeCaptureBundles.v1.resubmit.Error, visitor: CandidApi.chargeCaptureBundles.v1.resubmit.Error._Visitor<_Result>) => _Result;
|
|
28
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../index"));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
notImplementedError: (value) => {
|
|
33
|
+
return {
|
|
34
|
+
content: value,
|
|
35
|
+
errorName: "NotImplementedError",
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.chargeCaptureBundles.v1.resubmit.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
_unknown: (fetcherError) => {
|
|
42
|
+
return {
|
|
43
|
+
errorName: undefined,
|
|
44
|
+
content: fetcherError,
|
|
45
|
+
_visit: function (visitor) {
|
|
46
|
+
return CandidApi.chargeCaptureBundles.v1.resubmit.Error._visit(this, visitor);
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
_visit: (value, visitor) => {
|
|
51
|
+
switch (value.errorName) {
|
|
52
|
+
case "NotImplementedError":
|
|
53
|
+
return visitor.notImplementedError(value.content);
|
|
54
|
+
default:
|
|
55
|
+
return visitor._other(value);
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
};
|
|
@@ -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("./types"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
|
@@ -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
|
+
export interface ChargeBundleError {
|
|
6
|
+
id: string;
|
|
7
|
+
/**
|
|
8
|
+
* The underlying Charge Capture that this error object references.
|
|
9
|
+
* The Charge Capture referenced will be a part of the bundle tied to this error.
|
|
10
|
+
* Errors may also refer to all charge_captures present in a bundle, in which case this field will be null.
|
|
11
|
+
*/
|
|
12
|
+
chargeCaptureId?: CandidApi.ChargeCaptureId;
|
|
13
|
+
/** A human readable error explaining why this charge capture bundle failed to create a claim. */
|
|
14
|
+
message: string;
|
|
15
|
+
/**
|
|
16
|
+
* The field of the corresponding underlying ChargeCapture that has a field that is failing validations,
|
|
17
|
+
* is not present but marked as required, or otherwise in error.
|
|
18
|
+
*/
|
|
19
|
+
fieldInError?: string;
|
|
20
|
+
/** The ID of the ChargeCaptureBundle associated with this Error. */
|
|
21
|
+
bundleId: CandidApi.ChargeCaptureBundleId;
|
|
22
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
export interface ChargeCaptureBundle {
|
|
6
|
+
id: CandidApi.ChargeCaptureBundleId;
|
|
7
|
+
createdEncounterId?: CandidApi.EncounterId;
|
|
8
|
+
/** Status of the Bundle, Successful means that the Bundle created a corresponding Claim */
|
|
9
|
+
status: CandidApi.chargeCaptureBundles.v1.ChargeCaptureBundleStatus;
|
|
10
|
+
/** All the underlying ChargeCaptures that are present in a ChargeCaptureBundle. */
|
|
11
|
+
chargeCaptures: CandidApi.chargeCapture.v1.ChargeCapture[];
|
|
12
|
+
/**
|
|
13
|
+
* All errors that were found when the bundle was attempted to be created.
|
|
14
|
+
* Errors can correspond to the Bundle as a whole or specific underlying Charge Captures.
|
|
15
|
+
*/
|
|
16
|
+
errors: CandidApi.chargeCaptureBundles.v1.ChargeBundleError[];
|
|
17
|
+
}
|
package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts
ADDED
|
@@ -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 ChargeCaptureBundlePage extends CandidApi.ResourcePage {
|
|
6
|
+
items: CandidApi.chargeCaptureBundles.v1.ChargeCaptureBundle[];
|
|
7
|
+
}
|
package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export declare type ChargeCaptureBundleStatus = "in-progress" | "in-error" | "successful" | "aborted";
|
|
5
|
+
export declare const ChargeCaptureBundleStatus: {
|
|
6
|
+
readonly InProgress: "in-progress";
|
|
7
|
+
readonly InError: "in-error";
|
|
8
|
+
readonly Successful: "successful";
|
|
9
|
+
readonly Aborted: "aborted";
|
|
10
|
+
};
|
package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
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.ChargeCaptureBundleStatus = void 0;
|
|
7
|
+
exports.ChargeCaptureBundleStatus = {
|
|
8
|
+
InProgress: "in-progress",
|
|
9
|
+
InError: "in-error",
|
|
10
|
+
Successful: "successful",
|
|
11
|
+
Aborted: "aborted",
|
|
12
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
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("./ChargeCaptureBundlePage"), exports);
|
|
18
|
+
__exportStar(require("./ChargeCaptureBundle"), exports);
|
|
19
|
+
__exportStar(require("./ChargeBundleError"), exports);
|
|
20
|
+
__exportStar(require("./ChargeCaptureBundleStatus"), exports);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../index";
|
|
5
|
+
export declare type ChargeCaptureBundleId = string & {
|
|
6
|
+
ChargeCaptureBundleId: void;
|
|
7
|
+
};
|
|
8
|
+
export declare function ChargeCaptureBundleId(value: string): CandidApi.ChargeCaptureBundleId;
|
|
@@ -0,0 +1,10 @@
|
|
|
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.ChargeCaptureBundleId = void 0;
|
|
7
|
+
function ChargeCaptureBundleId(value) {
|
|
8
|
+
return value;
|
|
9
|
+
}
|
|
10
|
+
exports.ChargeCaptureBundleId = ChargeCaptureBundleId;
|
|
@@ -58,7 +58,13 @@ export declare type NetworkType =
|
|
|
58
58
|
| "WC"
|
|
59
59
|
/**
|
|
60
60
|
* Mutually Defined */
|
|
61
|
-
| "ZZ"
|
|
61
|
+
| "ZZ"
|
|
62
|
+
/**
|
|
63
|
+
* Commercial Insurance */
|
|
64
|
+
| "CI"
|
|
65
|
+
/**
|
|
66
|
+
* Blue Cross Blue Shield */
|
|
67
|
+
| "BL";
|
|
62
68
|
export declare const NetworkType: {
|
|
63
69
|
readonly Ppo: "12";
|
|
64
70
|
readonly Pos: "13";
|
|
@@ -79,4 +85,6 @@ export declare const NetworkType: {
|
|
|
79
85
|
readonly VeteransAffairsPlan: "VA";
|
|
80
86
|
readonly WorkersCompHealthClaim: "WC";
|
|
81
87
|
readonly MutuallyDefined: "ZZ";
|
|
88
|
+
readonly CommercialInsuranceCo: "CI";
|
|
89
|
+
readonly BlueCrossBlueShield: "BL";
|
|
82
90
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./EncounterId";
|
|
2
2
|
export * from "./ChargeCaptureId";
|
|
3
|
+
export * from "./ChargeCaptureBundleId";
|
|
3
4
|
export * from "./OrganizationId";
|
|
4
5
|
export * from "./ClaimId";
|
|
5
6
|
export * from "./PreEncounterPatientId";
|
|
@@ -56,6 +57,7 @@ export * from "./HttpServiceUnavailableErrorMessage";
|
|
|
56
57
|
export * from "./RequestValidationError";
|
|
57
58
|
export * from "./UpdatesDisabledDueToExternalSystemIntegrationErrorMessage";
|
|
58
59
|
export * from "./OrganizationNotAuthorizedErrorMessage";
|
|
60
|
+
export * from "./NotImplementedErrorMessage";
|
|
59
61
|
export * from "./PhoneNumber";
|
|
60
62
|
export * from "./PhoneNumberType";
|
|
61
63
|
export * from "./Email";
|
|
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./EncounterId"), exports);
|
|
18
18
|
__exportStar(require("./ChargeCaptureId"), exports);
|
|
19
|
+
__exportStar(require("./ChargeCaptureBundleId"), exports);
|
|
19
20
|
__exportStar(require("./OrganizationId"), exports);
|
|
20
21
|
__exportStar(require("./ClaimId"), exports);
|
|
21
22
|
__exportStar(require("./PreEncounterPatientId"), exports);
|
|
@@ -72,6 +73,7 @@ __exportStar(require("./HttpServiceUnavailableErrorMessage"), exports);
|
|
|
72
73
|
__exportStar(require("./RequestValidationError"), exports);
|
|
73
74
|
__exportStar(require("./UpdatesDisabledDueToExternalSystemIntegrationErrorMessage"), exports);
|
|
74
75
|
__exportStar(require("./OrganizationNotAuthorizedErrorMessage"), exports);
|
|
76
|
+
__exportStar(require("./NotImplementedErrorMessage"), exports);
|
|
75
77
|
__exportStar(require("./PhoneNumber"), exports);
|
|
76
78
|
__exportStar(require("./PhoneNumberType"), exports);
|
|
77
79
|
__exportStar(require("./Email"), exports);
|
|
@@ -66,7 +66,7 @@ class V2 {
|
|
|
66
66
|
Authorization: yield this._getAuthorizationHeader(),
|
|
67
67
|
"X-Fern-Language": "JavaScript",
|
|
68
68
|
"X-Fern-SDK-Name": "candidhealth",
|
|
69
|
-
"X-Fern-SDK-Version": "0.
|
|
69
|
+
"X-Fern-SDK-Version": "0.39.0",
|
|
70
70
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
71
71
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
72
72
|
},
|
|
@@ -171,7 +171,7 @@ class V2 {
|
|
|
171
171
|
Authorization: yield this._getAuthorizationHeader(),
|
|
172
172
|
"X-Fern-Language": "JavaScript",
|
|
173
173
|
"X-Fern-SDK-Name": "candidhealth",
|
|
174
|
-
"X-Fern-SDK-Version": "0.
|
|
174
|
+
"X-Fern-SDK-Version": "0.39.0",
|
|
175
175
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
176
176
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
177
177
|
},
|
|
@@ -246,7 +246,7 @@ class V2 {
|
|
|
246
246
|
Authorization: yield this._getAuthorizationHeader(),
|
|
247
247
|
"X-Fern-Language": "JavaScript",
|
|
248
248
|
"X-Fern-SDK-Name": "candidhealth",
|
|
249
|
-
"X-Fern-SDK-Version": "0.
|
|
249
|
+
"X-Fern-SDK-Version": "0.39.0",
|
|
250
250
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
251
251
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
252
252
|
},
|
|
@@ -292,7 +292,7 @@ class V2 {
|
|
|
292
292
|
Authorization: yield this._getAuthorizationHeader(),
|
|
293
293
|
"X-Fern-Language": "JavaScript",
|
|
294
294
|
"X-Fern-SDK-Name": "candidhealth",
|
|
295
|
-
"X-Fern-SDK-Version": "0.
|
|
295
|
+
"X-Fern-SDK-Version": "0.39.0",
|
|
296
296
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
297
297
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
298
298
|
},
|
|
@@ -380,7 +380,7 @@ class V2 {
|
|
|
380
380
|
Authorization: yield this._getAuthorizationHeader(),
|
|
381
381
|
"X-Fern-Language": "JavaScript",
|
|
382
382
|
"X-Fern-SDK-Name": "candidhealth",
|
|
383
|
-
"X-Fern-SDK-Version": "0.
|
|
383
|
+
"X-Fern-SDK-Version": "0.39.0",
|
|
384
384
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
385
385
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
386
386
|
},
|
|
@@ -78,7 +78,7 @@ class V2 {
|
|
|
78
78
|
Authorization: yield this._getAuthorizationHeader(),
|
|
79
79
|
"X-Fern-Language": "JavaScript",
|
|
80
80
|
"X-Fern-SDK-Name": "candidhealth",
|
|
81
|
-
"X-Fern-SDK-Version": "0.
|
|
81
|
+
"X-Fern-SDK-Version": "0.39.0",
|
|
82
82
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
83
83
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
84
84
|
},
|
|
@@ -141,7 +141,7 @@ class V2 {
|
|
|
141
141
|
Authorization: yield this._getAuthorizationHeader(),
|
|
142
142
|
"X-Fern-Language": "JavaScript",
|
|
143
143
|
"X-Fern-SDK-Name": "candidhealth",
|
|
144
|
-
"X-Fern-SDK-Version": "0.
|
|
144
|
+
"X-Fern-SDK-Version": "0.39.0",
|
|
145
145
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
146
146
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
147
147
|
},
|
|
@@ -228,7 +228,7 @@ class V2 {
|
|
|
228
228
|
Authorization: yield this._getAuthorizationHeader(),
|
|
229
229
|
"X-Fern-Language": "JavaScript",
|
|
230
230
|
"X-Fern-SDK-Name": "candidhealth",
|
|
231
|
-
"X-Fern-SDK-Version": "0.
|
|
231
|
+
"X-Fern-SDK-Version": "0.39.0",
|
|
232
232
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
233
233
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
234
234
|
},
|
|
@@ -291,7 +291,7 @@ class V2 {
|
|
|
291
291
|
Authorization: yield this._getAuthorizationHeader(),
|
|
292
292
|
"X-Fern-Language": "JavaScript",
|
|
293
293
|
"X-Fern-SDK-Name": "candidhealth",
|
|
294
|
-
"X-Fern-SDK-Version": "0.
|
|
294
|
+
"X-Fern-SDK-Version": "0.39.0",
|
|
295
295
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
296
296
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
297
297
|
},
|
|
@@ -358,7 +358,7 @@ class V2 {
|
|
|
358
358
|
Authorization: yield this._getAuthorizationHeader(),
|
|
359
359
|
"X-Fern-Language": "JavaScript",
|
|
360
360
|
"X-Fern-SDK-Name": "candidhealth",
|
|
361
|
-
"X-Fern-SDK-Version": "0.
|
|
361
|
+
"X-Fern-SDK-Version": "0.39.0",
|
|
362
362
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
363
363
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
364
364
|
},
|
|
@@ -67,7 +67,7 @@ class V1 {
|
|
|
67
67
|
Authorization: yield this._getAuthorizationHeader(),
|
|
68
68
|
"X-Fern-Language": "JavaScript",
|
|
69
69
|
"X-Fern-SDK-Name": "candidhealth",
|
|
70
|
-
"X-Fern-SDK-Version": "0.
|
|
70
|
+
"X-Fern-SDK-Version": "0.39.0",
|
|
71
71
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
72
72
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
73
73
|
},
|
|
@@ -128,7 +128,7 @@ class V1 {
|
|
|
128
128
|
Authorization: yield this._getAuthorizationHeader(),
|
|
129
129
|
"X-Fern-Language": "JavaScript",
|
|
130
130
|
"X-Fern-SDK-Name": "candidhealth",
|
|
131
|
-
"X-Fern-SDK-Version": "0.
|
|
131
|
+
"X-Fern-SDK-Version": "0.39.0",
|
|
132
132
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
133
133
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
134
134
|
},
|
|
@@ -207,7 +207,7 @@ class V1 {
|
|
|
207
207
|
Authorization: yield this._getAuthorizationHeader(),
|
|
208
208
|
"X-Fern-Language": "JavaScript",
|
|
209
209
|
"X-Fern-SDK-Name": "candidhealth",
|
|
210
|
-
"X-Fern-SDK-Version": "0.
|
|
210
|
+
"X-Fern-SDK-Version": "0.39.0",
|
|
211
211
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
212
212
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
213
213
|
},
|
|
@@ -277,7 +277,7 @@ class V1 {
|
|
|
277
277
|
Authorization: yield this._getAuthorizationHeader(),
|
|
278
278
|
"X-Fern-Language": "JavaScript",
|
|
279
279
|
"X-Fern-SDK-Name": "candidhealth",
|
|
280
|
-
"X-Fern-SDK-Version": "0.
|
|
280
|
+
"X-Fern-SDK-Version": "0.39.0",
|
|
281
281
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
282
282
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
283
283
|
},
|