candidhealth 0.40.1 → 0.40.3
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.d.ts +3 -0
- package/api/resources/chargeCapture/resources/v1/client/Client.js +22 -6
- package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +15 -0
- package/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +1 -0
- package/api/resources/chargeCapture/resources/v1/types/ChargeCapturePostBilledChange.d.ts +12 -0
- package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureSortField.d.ts +8 -0
- package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureSortField.js +10 -0
- package/api/resources/chargeCapture/resources/v1/types/index.d.ts +2 -0
- package/api/resources/chargeCapture/resources/v1/types/index.js +2 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +12 -2
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +58 -6
- package/api/resources/chargeCaptureBundles/resources/v1/client/getSummary.d.ts +22 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/getSummary.js +57 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +1 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/index.js +2 -1
- package/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.d.ts +17 -2
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +7 -0
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js +9 -0
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +3 -1
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +2 -0
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +11 -0
- package/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +2 -0
- package/api/resources/chargeCaptureBundles/resources/v1/types/index.js +2 -0
- package/api/resources/commons/types/ChargeCapturePostBilledChangeId.d.ts +8 -0
- package/api/resources/commons/types/ChargeCapturePostBilledChangeId.js +9 -0
- package/api/resources/commons/types/ProcedureModifier.d.ts +13 -1
- package/api/resources/commons/types/ProcedureModifier.js +3 -0
- package/api/resources/commons/types/index.d.ts +1 -0
- package/api/resources/commons/types/index.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.js +3 -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 -3
- package/api/resources/feeSchedules/resources/v3/client/Client.js +13 -13
- package/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +1 -1
- package/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -1
- package/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +1 -1
- 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.d.ts +0 -56
- package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -194
- package/api/resources/insurancePayments/resources/v1/client/index.d.ts +0 -3
- package/api/resources/insurancePayments/resources/v1/client/index.js +1 -4
- package/api/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
- package/api/resources/insurancePayments/resources/v1/types/index.d.ts +0 -1
- package/api/resources/insurancePayments/resources/v1/types/index.js +0 -1
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/medicationDispense/resources/v1/client/Client.d.ts +1 -1
- package/api/resources/medicationDispense/resources/v1/client/Client.js +2 -2
- 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 +7 -7
- package/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
- package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
- 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 +11 -11
- package/api/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.d.ts +2 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.js +1 -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.d.ts +2 -2
- package/api/resources/serviceLines/resources/v2/client/Client.js +5 -5
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
- package/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +2 -1
- package/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
- 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 +3 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +22 -6
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +15 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +1 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapturePostBilledChange.d.ts +12 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureSortField.d.ts +8 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureSortField.js +10 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/index.d.ts +2 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/index.js +2 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +12 -2
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +58 -6
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/getSummary.d.ts +22 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/getSummary.js +57 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.js +2 -1
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.d.ts +17 -2
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +7 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js +9 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +3 -1
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +2 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +11 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +2 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.js +2 -0
- package/dist/api/resources/commons/types/ChargeCapturePostBilledChangeId.d.ts +8 -0
- package/dist/api/resources/commons/types/ChargeCapturePostBilledChangeId.js +9 -0
- package/dist/api/resources/commons/types/ProcedureModifier.d.ts +13 -1
- package/dist/api/resources/commons/types/ProcedureModifier.js +3 -0
- package/dist/api/resources/commons/types/index.d.ts +1 -0
- package/dist/api/resources/commons/types/index.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.js +3 -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 -3
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +13 -13
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +1 -1
- 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.d.ts +0 -56
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -194
- package/dist/api/resources/insurancePayments/resources/v1/client/index.d.ts +0 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/index.js +1 -4
- package/dist/api/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
- package/dist/api/resources/insurancePayments/resources/v1/types/index.d.ts +0 -1
- package/dist/api/resources/insurancePayments/resources/v1/types/index.js +0 -1
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.d.ts +1 -1
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +2 -2
- 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 +7 -7
- package/dist/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
- 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 +11 -11
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.d.ts +2 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.js +1 -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.d.ts +2 -2
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +2 -1
- package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapturePostBilledChange.d.ts +15 -0
- package/dist/serialization/resources/{insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.js → chargeCapture/resources/v1/types/ChargeCapturePostBilledChange.js} +7 -6
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureSortField.d.ts +10 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureSortField.js +41 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +2 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/index.js +2 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +10 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js +41 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +1 -1
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +1 -1
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +14 -0
- package/dist/serialization/resources/{insurancePayments/resources/v1/types/InsurancePaymentCreate.js → chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js} +5 -9
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +2 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +2 -0
- package/dist/serialization/resources/commons/types/ChargeCapturePostBilledChangeId.d.ts +10 -0
- package/{serialization/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.js → dist/serialization/resources/commons/types/ChargeCapturePostBilledChangeId.js} +6 -6
- package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
- package/dist/serialization/resources/commons/types/ProcedureModifier.js +3 -0
- package/dist/serialization/resources/commons/types/index.d.ts +1 -0
- package/dist/serialization/resources/commons/types/index.js +1 -0
- package/dist/serialization/resources/insurancePayments/resources/v1/client/index.d.ts +0 -4
- package/dist/serialization/resources/insurancePayments/resources/v1/client/index.js +1 -8
- package/dist/serialization/resources/insurancePayments/resources/v1/types/index.d.ts +0 -1
- package/dist/serialization/resources/insurancePayments/resources/v1/types/index.js +0 -1
- package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.d.ts +1 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.js +1 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +1 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +53 -231
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapturePostBilledChange.d.ts +15 -0
- package/serialization/resources/{insurancePayments/resources/v1/types/InsurancePaymentCreate.js → chargeCapture/resources/v1/types/ChargeCapturePostBilledChange.js} +6 -9
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureSortField.d.ts +10 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureSortField.js +41 -0
- package/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +2 -0
- package/serialization/resources/chargeCapture/resources/v1/types/index.js +2 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +10 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js +41 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +1 -1
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +1 -1
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +14 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js +45 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +2 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +2 -0
- package/serialization/resources/commons/types/ChargeCapturePostBilledChangeId.d.ts +10 -0
- package/serialization/resources/commons/types/ChargeCapturePostBilledChangeId.js +45 -0
- package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
- package/serialization/resources/commons/types/ProcedureModifier.js +3 -0
- package/serialization/resources/commons/types/index.d.ts +1 -0
- package/serialization/resources/commons/types/index.js +1 -0
- package/serialization/resources/insurancePayments/resources/v1/client/index.d.ts +0 -4
- package/serialization/resources/insurancePayments/resources/v1/client/index.js +1 -8
- package/serialization/resources/insurancePayments/resources/v1/types/index.d.ts +0 -1
- package/serialization/resources/insurancePayments/resources/v1/types/index.js +0 -1
- package/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +2 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.d.ts +1 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.js +1 -1
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +1 -1
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/insurancePayments/resources/v1/client/create.d.ts +0 -40
- package/api/resources/insurancePayments/resources/v1/client/create.js +0 -90
- package/api/resources/insurancePayments/resources/v1/client/delete.d.ts +0 -40
- package/api/resources/insurancePayments/resources/v1/client/delete.js +0 -90
- package/api/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.d.ts +0 -18
- package/api/resources/insurancePayments/resources/v1/client/update.d.ts +0 -40
- package/api/resources/insurancePayments/resources/v1/client/update.js +0 -90
- package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.d.ts +0 -11
- package/dist/api/resources/insurancePayments/resources/v1/client/create.d.ts +0 -40
- package/dist/api/resources/insurancePayments/resources/v1/client/create.js +0 -90
- package/dist/api/resources/insurancePayments/resources/v1/client/delete.d.ts +0 -40
- package/dist/api/resources/insurancePayments/resources/v1/client/delete.js +0 -90
- package/dist/api/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.d.ts +0 -18
- package/dist/api/resources/insurancePayments/resources/v1/client/update.d.ts +0 -40
- package/dist/api/resources/insurancePayments/resources/v1/client/update.js +0 -90
- package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.d.ts +0 -11
- package/dist/serialization/resources/insurancePayments/resources/v1/client/create.d.ts +0 -25
- package/dist/serialization/resources/insurancePayments/resources/v1/client/create.js +0 -83
- package/dist/serialization/resources/insurancePayments/resources/v1/client/delete.d.ts +0 -25
- package/dist/serialization/resources/insurancePayments/resources/v1/client/delete.js +0 -83
- package/dist/serialization/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.d.ts +0 -14
- package/dist/serialization/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/insurancePayments/resources/v1/client/requests/index.js +0 -5
- package/dist/serialization/resources/insurancePayments/resources/v1/client/update.d.ts +0 -25
- package/dist/serialization/resources/insurancePayments/resources/v1/client/update.js +0 -83
- package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.d.ts +0 -18
- package/serialization/resources/insurancePayments/resources/v1/client/create.d.ts +0 -25
- package/serialization/resources/insurancePayments/resources/v1/client/create.js +0 -83
- package/serialization/resources/insurancePayments/resources/v1/client/delete.d.ts +0 -25
- package/serialization/resources/insurancePayments/resources/v1/client/delete.js +0 -83
- package/serialization/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.d.ts +0 -14
- package/serialization/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
- package/serialization/resources/insurancePayments/resources/v1/client/requests/index.js +0 -5
- package/serialization/resources/insurancePayments/resources/v1/client/update.d.ts +0 -25
- package/serialization/resources/insurancePayments/resources/v1/client/update.js +0 -83
- package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.d.ts +0 -18
- /package/api/resources/{insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.js → chargeCapture/resources/v1/types/ChargeCapturePostBilledChange.js} +0 -0
- /package/api/resources/{insurancePayments/resources/v1/types/InsurancePaymentCreate.js → chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js} +0 -0
- /package/dist/api/resources/{insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.js → chargeCapture/resources/v1/types/ChargeCapturePostBilledChange.js} +0 -0
- /package/dist/api/resources/{insurancePayments/resources/v1/types/InsurancePaymentCreate.js → chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js} +0 -0
|
@@ -92,7 +92,7 @@ class V2 {
|
|
|
92
92
|
const _response = yield core.fetcher({
|
|
93
93
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/auth/v2/token"),
|
|
94
94
|
method: "POST",
|
|
95
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.
|
|
95
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
96
96
|
contentType: "application/json",
|
|
97
97
|
requestType: "json",
|
|
98
98
|
body: serializers.auth.v2.AuthGetTokenRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -74,7 +74,7 @@ class V2 {
|
|
|
74
74
|
const _response = yield core.fetcher({
|
|
75
75
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/billing_notes/v2"),
|
|
76
76
|
method: "POST",
|
|
77
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.
|
|
77
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
78
78
|
contentType: "application/json",
|
|
79
79
|
requestType: "json",
|
|
80
80
|
body: serializers.billingNotes.v2.StandaloneBillingNoteCreate.jsonOrThrow(request, {
|
|
@@ -114,7 +114,7 @@ class V2 {
|
|
|
114
114
|
const _response = yield core.fetcher({
|
|
115
115
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/billing_notes/v2/${encodeURIComponent(serializers.billingNotes.v2.BillingNoteId.jsonOrThrow(billingNoteId))}`),
|
|
116
116
|
method: "DELETE",
|
|
117
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.
|
|
117
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
118
118
|
contentType: "application/json",
|
|
119
119
|
requestType: "json",
|
|
120
120
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -165,7 +165,7 @@ class V2 {
|
|
|
165
165
|
const _response = yield core.fetcher({
|
|
166
166
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/billing_notes/v2/${encodeURIComponent(serializers.billingNotes.v2.BillingNoteId.jsonOrThrow(billingNoteId))}`),
|
|
167
167
|
method: "PATCH",
|
|
168
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.
|
|
168
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
169
169
|
contentType: "application/json",
|
|
170
170
|
requestType: "json",
|
|
171
171
|
body: serializers.billingNotes.v2.BillingNoteUpdate.jsonOrThrow(request, {
|
|
@@ -79,11 +79,14 @@ export declare class V1 {
|
|
|
79
79
|
* @example
|
|
80
80
|
* await client.chargeCapture.v1.getAll({
|
|
81
81
|
* limit: 1,
|
|
82
|
+
* sort: "created_at",
|
|
83
|
+
* sortDirection: "asc",
|
|
82
84
|
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
|
|
83
85
|
* patientExternalId: "string",
|
|
84
86
|
* status: "planned",
|
|
85
87
|
* chargeExternalId: "string",
|
|
86
88
|
* dateOfService: "2023-01-15",
|
|
89
|
+
* bundleId: CandidApi.ChargeCaptureBundleId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
87
90
|
* excludeBundled: true
|
|
88
91
|
* })
|
|
89
92
|
*/
|
|
@@ -78,7 +78,7 @@ class V1 {
|
|
|
78
78
|
const _response = yield core.fetcher({
|
|
79
79
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/charge_captures/v1"),
|
|
80
80
|
method: "POST",
|
|
81
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.
|
|
81
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
82
82
|
contentType: "application/json",
|
|
83
83
|
requestType: "json",
|
|
84
84
|
body: serializers.chargeCapture.v1.CreateChargeCaptureRequest.jsonOrThrow(request, {
|
|
@@ -136,7 +136,7 @@ class V1 {
|
|
|
136
136
|
const _response = yield core.fetcher({
|
|
137
137
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/charge_captures/v1/${encodeURIComponent(serializers.ChargeCaptureId.jsonOrThrow(chargeCaptureId))}`),
|
|
138
138
|
method: "DELETE",
|
|
139
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.
|
|
139
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
140
140
|
contentType: "application/json",
|
|
141
141
|
requestType: "json",
|
|
142
142
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -191,7 +191,7 @@ class V1 {
|
|
|
191
191
|
const _response = yield core.fetcher({
|
|
192
192
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/charge_captures/v1/${encodeURIComponent(serializers.ChargeCaptureId.jsonOrThrow(chargeCaptureId))}`),
|
|
193
193
|
method: "PATCH",
|
|
194
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.
|
|
194
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
195
195
|
contentType: "application/json",
|
|
196
196
|
requestType: "json",
|
|
197
197
|
body: serializers.chargeCapture.v1.ChargeCaptureUpdate.jsonOrThrow(request, {
|
|
@@ -249,7 +249,7 @@ class V1 {
|
|
|
249
249
|
const _response = yield core.fetcher({
|
|
250
250
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/charge_captures/v1/${encodeURIComponent(serializers.ChargeCaptureId.jsonOrThrow(chargeCaptureId))}`),
|
|
251
251
|
method: "GET",
|
|
252
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.
|
|
252
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
253
253
|
contentType: "application/json",
|
|
254
254
|
requestType: "json",
|
|
255
255
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -280,22 +280,35 @@ class V1 {
|
|
|
280
280
|
* @example
|
|
281
281
|
* await client.chargeCapture.v1.getAll({
|
|
282
282
|
* limit: 1,
|
|
283
|
+
* sort: "created_at",
|
|
284
|
+
* sortDirection: "asc",
|
|
283
285
|
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
|
|
284
286
|
* patientExternalId: "string",
|
|
285
287
|
* status: "planned",
|
|
286
288
|
* chargeExternalId: "string",
|
|
287
289
|
* dateOfService: "2023-01-15",
|
|
290
|
+
* bundleId: CandidApi.ChargeCaptureBundleId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
288
291
|
* excludeBundled: true
|
|
289
292
|
* })
|
|
290
293
|
*/
|
|
291
294
|
getAll() {
|
|
292
295
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
293
296
|
var _a, _b;
|
|
294
|
-
const { limit, pageToken, patientExternalId, status, chargeExternalId, dateOfService, excludeBundled } = request;
|
|
297
|
+
const { limit, sort, sortDirection, pageToken, patientExternalId, status, chargeExternalId, dateOfService, bundleId, excludeBundled, } = request;
|
|
295
298
|
const _queryParams = {};
|
|
296
299
|
if (limit != null) {
|
|
297
300
|
_queryParams["limit"] = limit.toString();
|
|
298
301
|
}
|
|
302
|
+
if (sort != null) {
|
|
303
|
+
_queryParams["sort"] = serializers.chargeCapture.v1.ChargeCaptureSortField.jsonOrThrow(sort, {
|
|
304
|
+
unrecognizedObjectKeys: "strip",
|
|
305
|
+
});
|
|
306
|
+
}
|
|
307
|
+
if (sortDirection != null) {
|
|
308
|
+
_queryParams["sort_direction"] = serializers.SortDirection.jsonOrThrow(sortDirection, {
|
|
309
|
+
unrecognizedObjectKeys: "strip",
|
|
310
|
+
});
|
|
311
|
+
}
|
|
299
312
|
if (pageToken != null) {
|
|
300
313
|
_queryParams["page_token"] = pageToken;
|
|
301
314
|
}
|
|
@@ -313,13 +326,16 @@ class V1 {
|
|
|
313
326
|
if (dateOfService != null) {
|
|
314
327
|
_queryParams["date_of_service"] = dateOfService;
|
|
315
328
|
}
|
|
329
|
+
if (bundleId != null) {
|
|
330
|
+
_queryParams["bundle_id"] = bundleId;
|
|
331
|
+
}
|
|
316
332
|
if (excludeBundled != null) {
|
|
317
333
|
_queryParams["exclude_bundled"] = excludeBundled.toString();
|
|
318
334
|
}
|
|
319
335
|
const _response = yield core.fetcher({
|
|
320
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).candidApi, "/api/charge_captures/v1"),
|
|
321
337
|
method: "GET",
|
|
322
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.
|
|
338
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
323
339
|
contentType: "application/json",
|
|
324
340
|
queryParameters: _queryParams,
|
|
325
341
|
requestType: "json",
|
package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts
CHANGED
|
@@ -6,11 +6,14 @@ import * as CandidApi from "../../../../../../index";
|
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
8
|
* limit: 1,
|
|
9
|
+
* sort: "created_at",
|
|
10
|
+
* sortDirection: "asc",
|
|
9
11
|
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
|
|
10
12
|
* patientExternalId: "string",
|
|
11
13
|
* status: "planned",
|
|
12
14
|
* chargeExternalId: "string",
|
|
13
15
|
* dateOfService: "2023-01-15",
|
|
16
|
+
* bundleId: CandidApi.ChargeCaptureBundleId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
14
17
|
* excludeBundled: true
|
|
15
18
|
* }
|
|
16
19
|
*/
|
|
@@ -19,6 +22,14 @@ export interface GetAllChargeCapturesRequest {
|
|
|
19
22
|
* Maximum number of entities per page, defaults to 100.
|
|
20
23
|
*/
|
|
21
24
|
limit?: number;
|
|
25
|
+
/**
|
|
26
|
+
* Defaults to created_at
|
|
27
|
+
*/
|
|
28
|
+
sort?: CandidApi.chargeCapture.v1.ChargeCaptureSortField;
|
|
29
|
+
/**
|
|
30
|
+
* Sort direction. Defaults to descending order if not provided.
|
|
31
|
+
*/
|
|
32
|
+
sortDirection?: CandidApi.SortDirection;
|
|
22
33
|
pageToken?: CandidApi.PageToken;
|
|
23
34
|
/**
|
|
24
35
|
* The patient ID from the external EMR platform for the patient
|
|
@@ -39,6 +50,10 @@ export interface GetAllChargeCapturesRequest {
|
|
|
39
50
|
* This date must be the local date in the timezone where the service occurred.
|
|
40
51
|
*/
|
|
41
52
|
dateOfService?: string;
|
|
53
|
+
/**
|
|
54
|
+
* The ID of the charge capture bundle to which this charge capture belongs.
|
|
55
|
+
*/
|
|
56
|
+
bundleId?: CandidApi.ChargeCaptureBundleId;
|
|
42
57
|
/**
|
|
43
58
|
* Whether to exclude charge captures which are associated with a charge capture bundle.
|
|
44
59
|
*/
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* ChargeCapturePostBilledChange represents a change to a ChargeCapture that occurred after the ChargeCapture's status moved to BILLED. Action must be taken to resolve the update, and then the update should be marked as resolved.
|
|
7
|
+
*/
|
|
8
|
+
export interface ChargeCapturePostBilledChange {
|
|
9
|
+
id: CandidApi.ChargeCapturePostBilledChangeId;
|
|
10
|
+
message: string;
|
|
11
|
+
resolved: boolean;
|
|
12
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type ChargeCaptureSortField = "created_at" | "date_of_service";
|
|
5
|
+
export declare const ChargeCaptureSortField: {
|
|
6
|
+
readonly CreatedAt: "created_at";
|
|
7
|
+
readonly DateOfService: "date_of_service";
|
|
8
|
+
};
|
|
@@ -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.ChargeCaptureSortField = void 0;
|
|
7
|
+
exports.ChargeCaptureSortField = {
|
|
8
|
+
CreatedAt: "created_at",
|
|
9
|
+
DateOfService: "date_of_service",
|
|
10
|
+
};
|
|
@@ -17,4 +17,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./ChargeCapturePage"), exports);
|
|
18
18
|
__exportStar(require("./ChargeCapture"), exports);
|
|
19
19
|
__exportStar(require("./ChargeCaptureData"), exports);
|
|
20
|
+
__exportStar(require("./ChargeCaptureSortField"), exports);
|
|
20
21
|
__exportStar(require("./ChargeCaptureStatus"), exports);
|
|
22
|
+
__exportStar(require("./ChargeCapturePostBilledChange"), exports);
|
|
@@ -33,6 +33,13 @@ export declare class V1 {
|
|
|
33
33
|
* await client.chargeCaptureBundles.v1.get(CandidApi.ChargeCaptureBundleId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
34
34
|
*/
|
|
35
35
|
get(chargeCaptureBundleId: CandidApi.ChargeCaptureBundleId, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.chargeCaptureBundles.v1.ChargeCaptureBundle, CandidApi.chargeCaptureBundles.v1.get.Error>>;
|
|
36
|
+
/**
|
|
37
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* await client.chargeCaptureBundles.v1.getSummary()
|
|
41
|
+
*/
|
|
42
|
+
getSummary(requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.chargeCaptureBundles.v1.ChargeCaptureBundleSummary, CandidApi.chargeCaptureBundles.v1.getSummary.Error>>;
|
|
36
43
|
/**
|
|
37
44
|
* @param {CandidApi.ChargeCaptureBundleId} chargeCaptureBundleId
|
|
38
45
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -48,12 +55,15 @@ export declare class V1 {
|
|
|
48
55
|
* @example
|
|
49
56
|
* await client.chargeCaptureBundles.v1.getAll({
|
|
50
57
|
* limit: 1,
|
|
58
|
+
* sort: "created_at",
|
|
59
|
+
* sortDirection: "asc",
|
|
51
60
|
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
|
|
52
61
|
* patientExternalId: "string",
|
|
53
|
-
* bundleStatus: "
|
|
62
|
+
* bundleStatus: "not-started",
|
|
54
63
|
* chargeStatus: "planned",
|
|
55
64
|
* chargeExternalId: "string",
|
|
56
|
-
* dateOfService: "2023-01-15"
|
|
65
|
+
* dateOfService: "2023-01-15",
|
|
66
|
+
* hasChargeCaptureUpdates: true
|
|
57
67
|
* })
|
|
58
68
|
*/
|
|
59
69
|
getAll(request?: CandidApi.chargeCaptureBundles.v1.GetAllChargeCaptureBundlesRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.chargeCaptureBundles.v1.ChargeCaptureBundlePage, CandidApi.chargeCaptureBundles.v1.getAll.Error>>;
|
|
@@ -71,7 +71,7 @@ class V1 {
|
|
|
71
71
|
const _response = yield core.fetcher({
|
|
72
72
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/charge_capture_bundle/v1/${encodeURIComponent(serializers.ChargeCaptureBundleId.jsonOrThrow(chargeCaptureBundleId))}`),
|
|
73
73
|
method: "GET",
|
|
74
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.
|
|
74
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
75
75
|
contentType: "application/json",
|
|
76
76
|
requestType: "json",
|
|
77
77
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -109,6 +109,42 @@ class V1 {
|
|
|
109
109
|
};
|
|
110
110
|
});
|
|
111
111
|
}
|
|
112
|
+
/**
|
|
113
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
114
|
+
*
|
|
115
|
+
* @example
|
|
116
|
+
* await client.chargeCaptureBundles.v1.getSummary()
|
|
117
|
+
*/
|
|
118
|
+
getSummary(requestOptions) {
|
|
119
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
120
|
+
var _a, _b;
|
|
121
|
+
const _response = yield core.fetcher({
|
|
122
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/charge_capture_bundle/v1/summary"),
|
|
123
|
+
method: "GET",
|
|
124
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
125
|
+
contentType: "application/json",
|
|
126
|
+
requestType: "json",
|
|
127
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
128
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
129
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
130
|
+
});
|
|
131
|
+
if (_response.ok) {
|
|
132
|
+
return {
|
|
133
|
+
ok: true,
|
|
134
|
+
body: serializers.chargeCaptureBundles.v1.ChargeCaptureBundleSummary.parseOrThrow(_response.body, {
|
|
135
|
+
unrecognizedObjectKeys: "passthrough",
|
|
136
|
+
allowUnrecognizedUnionMembers: true,
|
|
137
|
+
allowUnrecognizedEnumValues: true,
|
|
138
|
+
breadcrumbsPrefix: ["response"],
|
|
139
|
+
}),
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
return {
|
|
143
|
+
ok: false,
|
|
144
|
+
error: CandidApi.chargeCaptureBundles.v1.getSummary.Error._unknown(_response.error),
|
|
145
|
+
};
|
|
146
|
+
});
|
|
147
|
+
}
|
|
112
148
|
/**
|
|
113
149
|
* @param {CandidApi.ChargeCaptureBundleId} chargeCaptureBundleId
|
|
114
150
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -122,7 +158,7 @@ class V1 {
|
|
|
122
158
|
const _response = yield core.fetcher({
|
|
123
159
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/charge_capture_bundle/v1/${encodeURIComponent(serializers.ChargeCaptureBundleId.jsonOrThrow(chargeCaptureBundleId))}`),
|
|
124
160
|
method: "POST",
|
|
125
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.
|
|
161
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
126
162
|
contentType: "application/json",
|
|
127
163
|
requestType: "json",
|
|
128
164
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -167,22 +203,35 @@ class V1 {
|
|
|
167
203
|
* @example
|
|
168
204
|
* await client.chargeCaptureBundles.v1.getAll({
|
|
169
205
|
* limit: 1,
|
|
206
|
+
* sort: "created_at",
|
|
207
|
+
* sortDirection: "asc",
|
|
170
208
|
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
|
|
171
209
|
* patientExternalId: "string",
|
|
172
|
-
* bundleStatus: "
|
|
210
|
+
* bundleStatus: "not-started",
|
|
173
211
|
* chargeStatus: "planned",
|
|
174
212
|
* chargeExternalId: "string",
|
|
175
|
-
* dateOfService: "2023-01-15"
|
|
213
|
+
* dateOfService: "2023-01-15",
|
|
214
|
+
* hasChargeCaptureUpdates: true
|
|
176
215
|
* })
|
|
177
216
|
*/
|
|
178
217
|
getAll() {
|
|
179
218
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
180
219
|
var _a, _b, _c;
|
|
181
|
-
const { limit, pageToken, patientExternalId, bundleStatus, chargeStatus, chargeExternalId, dateOfService } = request;
|
|
220
|
+
const { limit, sort, sortDirection, pageToken, patientExternalId, bundleStatus, chargeStatus, chargeExternalId, dateOfService, hasChargeCaptureUpdates, } = request;
|
|
182
221
|
const _queryParams = {};
|
|
183
222
|
if (limit != null) {
|
|
184
223
|
_queryParams["limit"] = limit.toString();
|
|
185
224
|
}
|
|
225
|
+
if (sort != null) {
|
|
226
|
+
_queryParams["sort"] = serializers.chargeCaptureBundles.v1.ChargeCaptureBundleSortField.jsonOrThrow(sort, {
|
|
227
|
+
unrecognizedObjectKeys: "strip",
|
|
228
|
+
});
|
|
229
|
+
}
|
|
230
|
+
if (sortDirection != null) {
|
|
231
|
+
_queryParams["sort_direction"] = serializers.SortDirection.jsonOrThrow(sortDirection, {
|
|
232
|
+
unrecognizedObjectKeys: "strip",
|
|
233
|
+
});
|
|
234
|
+
}
|
|
186
235
|
if (pageToken != null) {
|
|
187
236
|
_queryParams["page_token"] = pageToken;
|
|
188
237
|
}
|
|
@@ -203,10 +252,13 @@ class V1 {
|
|
|
203
252
|
if (dateOfService != null) {
|
|
204
253
|
_queryParams["date_of_service"] = dateOfService;
|
|
205
254
|
}
|
|
255
|
+
if (hasChargeCaptureUpdates != null) {
|
|
256
|
+
_queryParams["has_charge_capture_updates"] = hasChargeCaptureUpdates.toString();
|
|
257
|
+
}
|
|
206
258
|
const _response = yield core.fetcher({
|
|
207
259
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/charge_capture_bundle/v1"),
|
|
208
260
|
method: "GET",
|
|
209
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.
|
|
261
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
210
262
|
contentType: "application/json",
|
|
211
263
|
queryParameters: _queryParams,
|
|
212
264
|
requestType: "json",
|
|
@@ -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
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
export type Error = CandidApi.chargeCaptureBundles.v1.getSummary.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface _Unknown extends _Utils {
|
|
9
|
+
errorName: void;
|
|
10
|
+
content: core.Fetcher.Error;
|
|
11
|
+
}
|
|
12
|
+
interface _Utils {
|
|
13
|
+
_visit: <_Result>(visitor: CandidApi.chargeCaptureBundles.v1.getSummary.Error._Visitor<_Result>) => _Result;
|
|
14
|
+
}
|
|
15
|
+
interface _Visitor<_Result> {
|
|
16
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export declare const Error: {
|
|
20
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.chargeCaptureBundles.v1.getSummary.Error._Unknown;
|
|
21
|
+
readonly _visit: <_Result>(value: CandidApi.chargeCaptureBundles.v1.getSummary.Error, visitor: CandidApi.chargeCaptureBundles.v1.getSummary.Error._Visitor<_Result>) => _Result;
|
|
22
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
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
|
+
_unknown: (fetcherError) => {
|
|
43
|
+
return {
|
|
44
|
+
errorName: undefined,
|
|
45
|
+
content: fetcherError,
|
|
46
|
+
_visit: function (visitor) {
|
|
47
|
+
return CandidApi.chargeCaptureBundles.v1.getSummary.Error._visit(this, visitor);
|
|
48
|
+
},
|
|
49
|
+
};
|
|
50
|
+
},
|
|
51
|
+
_visit: (value, visitor) => {
|
|
52
|
+
switch (value.errorName) {
|
|
53
|
+
default:
|
|
54
|
+
return visitor._other(value);
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
};
|
|
@@ -36,8 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.getAll = exports.resubmit = exports.get = void 0;
|
|
39
|
+
exports.getAll = exports.resubmit = exports.getSummary = exports.get = void 0;
|
|
40
40
|
__exportStar(require("./requests"), exports);
|
|
41
41
|
exports.get = __importStar(require("./get"));
|
|
42
|
+
exports.getSummary = __importStar(require("./getSummary"));
|
|
42
43
|
exports.resubmit = __importStar(require("./resubmit"));
|
|
43
44
|
exports.getAll = __importStar(require("./getAll"));
|
|
@@ -6,12 +6,15 @@ import * as CandidApi from "../../../../../../index";
|
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
8
|
* limit: 1,
|
|
9
|
+
* sort: "created_at",
|
|
10
|
+
* sortDirection: "asc",
|
|
9
11
|
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
|
|
10
12
|
* patientExternalId: "string",
|
|
11
|
-
* bundleStatus: "
|
|
13
|
+
* bundleStatus: "not-started",
|
|
12
14
|
* chargeStatus: "planned",
|
|
13
15
|
* chargeExternalId: "string",
|
|
14
|
-
* dateOfService: "2023-01-15"
|
|
16
|
+
* dateOfService: "2023-01-15",
|
|
17
|
+
* hasChargeCaptureUpdates: true
|
|
15
18
|
* }
|
|
16
19
|
*/
|
|
17
20
|
export interface GetAllChargeCaptureBundlesRequest {
|
|
@@ -19,6 +22,14 @@ export interface GetAllChargeCaptureBundlesRequest {
|
|
|
19
22
|
* Maximum number of entities per page, defaults to 100.
|
|
20
23
|
*/
|
|
21
24
|
limit?: number;
|
|
25
|
+
/**
|
|
26
|
+
* Defaults to created_at
|
|
27
|
+
*/
|
|
28
|
+
sort?: CandidApi.chargeCaptureBundles.v1.ChargeCaptureBundleSortField;
|
|
29
|
+
/**
|
|
30
|
+
* Sort direction. Defaults to descending order if not provided.
|
|
31
|
+
*/
|
|
32
|
+
sortDirection?: CandidApi.SortDirection;
|
|
22
33
|
pageToken?: CandidApi.PageToken;
|
|
23
34
|
/**
|
|
24
35
|
* The patient ID from the external EMR platform for the patient
|
|
@@ -43,4 +54,8 @@ export interface GetAllChargeCaptureBundlesRequest {
|
|
|
43
54
|
* This date must be the local date in the timezone where the service occurred.
|
|
44
55
|
*/
|
|
45
56
|
dateOfService?: string;
|
|
57
|
+
/**
|
|
58
|
+
* If true, only return bundles that have charge captures that have been updated since the bundle has had a status of BILLED. See the updates property on ChargeCapture for more details.
|
|
59
|
+
*/
|
|
60
|
+
hasChargeCaptureUpdates?: boolean;
|
|
46
61
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
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.ChargeCaptureBundleSortField = void 0;
|
|
7
|
+
exports.ChargeCaptureBundleSortField = {
|
|
8
|
+
CreatedAt: "created_at",
|
|
9
|
+
};
|
package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type ChargeCaptureBundleStatus = "in-progress" | "in-error" | "successful" | "aborted";
|
|
4
|
+
export type ChargeCaptureBundleStatus = "not-started" | "in-progress" | "in-error" | "successful" | "successful-dry-run" | "aborted";
|
|
5
5
|
export declare const ChargeCaptureBundleStatus: {
|
|
6
|
+
readonly NotStarted: "not-started";
|
|
6
7
|
readonly InProgress: "in-progress";
|
|
7
8
|
readonly InError: "in-error";
|
|
8
9
|
readonly Successful: "successful";
|
|
10
|
+
readonly SuccessfulDryRun: "successful-dry-run";
|
|
9
11
|
readonly Aborted: "aborted";
|
|
10
12
|
};
|
|
@@ -5,8 +5,10 @@
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.ChargeCaptureBundleStatus = void 0;
|
|
7
7
|
exports.ChargeCaptureBundleStatus = {
|
|
8
|
+
NotStarted: "not-started",
|
|
8
9
|
InProgress: "in-progress",
|
|
9
10
|
InError: "in-error",
|
|
10
11
|
Successful: "successful",
|
|
12
|
+
SuccessfulDryRun: "successful-dry-run",
|
|
11
13
|
Aborted: "aborted",
|
|
12
14
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface ChargeCaptureBundleSummary {
|
|
5
|
+
/** The count of charge captures which are not bundled. */
|
|
6
|
+
chargeCaptureUnbundledCount: number;
|
|
7
|
+
/** The count of charge capture bundles that are in an error state. */
|
|
8
|
+
chargeCaptureBundlesInErrorCount: number;
|
|
9
|
+
/** The number of ChargeCapturePostBilledChange items that are unresolved. */
|
|
10
|
+
chargeCaptureUnresolvedChangeCount: number;
|
|
11
|
+
}
|
|
@@ -16,5 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./ChargeCaptureBundlePage"), exports);
|
|
18
18
|
__exportStar(require("./ChargeCaptureBundle"), exports);
|
|
19
|
+
__exportStar(require("./ChargeCaptureBundleSummary"), exports);
|
|
19
20
|
__exportStar(require("./ChargeBundleError"), exports);
|
|
20
21
|
__exportStar(require("./ChargeCaptureBundleStatus"), exports);
|
|
22
|
+
__exportStar(require("./ChargeCaptureBundleSortField"), exports);
|