candidhealth 0.35.3 → 0.38.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 +65 -60
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.d.ts +19 -0
- package/api/resources/billingNotes/resources/v2/client/Client.js +125 -1
- package/api/resources/billingNotes/resources/v2/client/delete.d.ts +40 -0
- package/api/resources/billingNotes/resources/v2/client/delete.js +80 -0
- package/api/resources/billingNotes/resources/v2/client/index.d.ts +2 -0
- package/api/resources/billingNotes/resources/v2/client/index.js +3 -1
- package/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +13 -0
- package/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.js +5 -0
- package/api/resources/billingNotes/resources/v2/client/requests/index.d.ts +1 -0
- package/api/resources/billingNotes/resources/v2/client/update.d.ts +46 -0
- package/api/resources/billingNotes/resources/v2/client/update.js +91 -0
- package/api/resources/chargeCapture/client/Client.d.ts +26 -0
- package/api/resources/chargeCapture/client/Client.js +17 -0
- package/api/resources/chargeCapture/client/index.d.ts +1 -0
- package/api/resources/chargeCapture/client/index.js +2 -0
- package/api/resources/chargeCapture/index.d.ts +2 -0
- package/api/resources/chargeCapture/index.js +18 -0
- package/api/resources/chargeCapture/resources/index.d.ts +1 -0
- package/api/resources/chargeCapture/resources/index.js +27 -0
- package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +288 -0
- package/api/resources/chargeCapture/resources/v1/client/Client.js +579 -0
- package/api/resources/chargeCapture/resources/v1/client/create.d.ts +52 -0
- package/api/resources/chargeCapture/resources/v1/client/create.js +102 -0
- package/api/resources/chargeCapture/resources/v1/client/delete.d.ts +34 -0
- package/api/resources/chargeCapture/resources/v1/client/delete.js +69 -0
- package/api/resources/chargeCapture/resources/v1/client/get.d.ts +22 -0
- package/api/resources/chargeCapture/resources/v1/client/get.js +47 -0
- package/api/resources/chargeCapture/resources/v1/client/getAll.d.ts +22 -0
- package/api/resources/chargeCapture/resources/v1/client/getAll.js +47 -0
- package/api/resources/chargeCapture/resources/v1/client/index.d.ts +6 -0
- package/api/resources/chargeCapture/resources/v1/client/index.js +35 -0
- package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +136 -0
- package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +5 -0
- package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +137 -0
- package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +5 -0
- package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +35 -0
- package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.js +5 -0
- package/api/resources/chargeCapture/resources/v1/client/requests/index.d.ts +3 -0
- package/api/resources/chargeCapture/resources/v1/client/requests/index.js +2 -0
- package/api/resources/chargeCapture/resources/v1/client/update.d.ts +52 -0
- package/api/resources/chargeCapture/resources/v1/client/update.js +102 -0
- package/api/resources/chargeCapture/resources/v1/index.d.ts +2 -0
- package/api/resources/chargeCapture/resources/v1/index.js +18 -0
- package/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +12 -0
- package/api/resources/chargeCapture/resources/v1/types/ChargeCapture.js +5 -0
- package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +31 -0
- package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +5 -0
- package/api/resources/chargeCapture/resources/v1/types/ChargeCapturePage.d.ts +7 -0
- package/api/resources/chargeCapture/resources/v1/types/ChargeCapturePage.js +5 -0
- package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.d.ts +13 -0
- package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.js +15 -0
- package/api/resources/chargeCapture/resources/v1/types/index.d.ts +4 -0
- package/api/resources/chargeCapture/resources/v1/types/index.js +20 -0
- package/api/resources/commons/types/BillingProviderCommercialLicenseType.d.ts +16 -0
- package/api/resources/commons/types/BillingProviderCommercialLicenseType.js +18 -0
- package/api/resources/commons/types/ChargeCaptureId.d.ts +8 -0
- package/api/resources/commons/types/ChargeCaptureId.js +10 -0
- package/api/resources/commons/types/ProcedureModifier.d.ts +5 -1
- package/api/resources/commons/types/ProcedureModifier.js +1 -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 +6 -5
- package/api/resources/contracts/resources/v2/client/update.d.ts +7 -1
- package/api/resources/contracts/resources/v2/client/update.js +11 -0
- package/api/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.d.ts +6 -0
- package/api/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.js +5 -0
- package/api/resources/contracts/resources/v2/types/index.d.ts +1 -0
- package/api/resources/contracts/resources/v2/types/index.js +1 -0
- package/api/resources/credentialing/resources/v2/client/Client.js +6 -6
- 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 +8 -66
- package/api/resources/encounterProviders/resources/v2/client/Client.js +20 -78
- package/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +5 -0
- package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +5 -0
- package/api/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +5 -0
- package/api/resources/encounters/resources/v4/client/Client.d.ts +33 -275
- package/api/resources/encounters/resources/v4/client/Client.js +38 -280
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +11 -63
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +8 -21
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +18 -391
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -2
- package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +146 -0
- package/api/resources/encounters/resources/v4/types/EncounterOptional.js +5 -0
- package/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/api/resources/encounters/resources/v4/types/index.js +1 -0
- 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 +1 -21
- package/api/resources/guarantor/resources/v1/client/Client.js +4 -24
- 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.d.ts +1 -0
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +6 -5
- package/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.d.ts +1 -0
- package/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.d.ts +1 -0
- 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.js +8 -8
- 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/serviceFacility/types/EncounterServiceFacility.d.ts +6 -0
- package/api/resources/serviceFacility/types/EncounterServiceFacilityBase.d.ts +6 -0
- package/api/resources/serviceFacility/types/EncounterServiceFacilityUpdate.d.ts +6 -0
- package/api/resources/serviceLines/resources/v2/client/Client.d.ts +1 -4
- package/api/resources/serviceLines/resources/v2/client/Client.js +4 -7
- package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -0
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +65 -60
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.d.ts +19 -0
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +125 -1
- package/dist/api/resources/billingNotes/resources/v2/client/delete.d.ts +40 -0
- package/dist/api/resources/billingNotes/resources/v2/client/delete.js +80 -0
- package/dist/api/resources/billingNotes/resources/v2/client/index.d.ts +2 -0
- package/dist/api/resources/billingNotes/resources/v2/client/index.js +3 -1
- package/dist/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +13 -0
- package/dist/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.js +5 -0
- package/dist/api/resources/billingNotes/resources/v2/client/requests/index.d.ts +1 -0
- package/dist/api/resources/billingNotes/resources/v2/client/update.d.ts +46 -0
- package/dist/api/resources/billingNotes/resources/v2/client/update.js +91 -0
- package/dist/api/resources/chargeCapture/client/Client.d.ts +26 -0
- package/dist/api/resources/chargeCapture/client/Client.js +17 -0
- package/dist/api/resources/chargeCapture/client/index.d.ts +1 -0
- package/dist/api/resources/chargeCapture/client/index.js +2 -0
- package/dist/api/resources/chargeCapture/index.d.ts +2 -0
- package/dist/api/resources/chargeCapture/index.js +18 -0
- package/dist/api/resources/chargeCapture/resources/index.d.ts +1 -0
- package/dist/api/resources/chargeCapture/resources/index.js +27 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +288 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +579 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/create.d.ts +52 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/create.js +102 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/delete.d.ts +34 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/delete.js +69 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/get.d.ts +22 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/get.js +47 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/getAll.d.ts +22 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/getAll.js +47 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/index.d.ts +6 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/index.js +35 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +136 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +5 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +137 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +5 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +35 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.js +5 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/index.d.ts +3 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/index.js +2 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/update.d.ts +52 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/update.js +102 -0
- package/dist/api/resources/chargeCapture/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/chargeCapture/resources/v1/index.js +18 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +12 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapture.js +5 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +31 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +5 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapturePage.d.ts +7 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapturePage.js +5 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.d.ts +13 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.js +15 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/index.d.ts +4 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/index.js +20 -0
- package/dist/api/resources/commons/types/BillingProviderCommercialLicenseType.d.ts +16 -0
- package/dist/api/resources/commons/types/BillingProviderCommercialLicenseType.js +18 -0
- package/dist/api/resources/commons/types/ChargeCaptureId.d.ts +8 -0
- package/dist/api/resources/commons/types/ChargeCaptureId.js +10 -0
- package/dist/api/resources/commons/types/ProcedureModifier.d.ts +5 -1
- package/dist/api/resources/commons/types/ProcedureModifier.js +1 -0
- package/dist/api/resources/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 +6 -5
- package/dist/api/resources/contracts/resources/v2/client/update.d.ts +7 -1
- package/dist/api/resources/contracts/resources/v2/client/update.js +11 -0
- package/dist/api/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.d.ts +6 -0
- package/dist/api/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.js +5 -0
- package/dist/api/resources/contracts/resources/v2/types/index.d.ts +1 -0
- package/dist/api/resources/contracts/resources/v2/types/index.js +1 -0
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +6 -6
- 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 +8 -66
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +20 -78
- package/dist/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +5 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +5 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +5 -0
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +33 -275
- package/dist/api/resources/encounters/resources/v4/client/Client.js +38 -280
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +11 -63
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +8 -21
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +18 -391
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -2
- package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +146 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/dist/api/resources/encounters/resources/v4/types/index.js +1 -0
- 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 +1 -21
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +4 -24
- 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.d.ts +1 -0
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +6 -5
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.d.ts +1 -0
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.d.ts +1 -0
- 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.js +8 -8
- 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/serviceFacility/types/EncounterServiceFacility.d.ts +6 -0
- package/dist/api/resources/serviceFacility/types/EncounterServiceFacilityBase.d.ts +6 -0
- package/dist/api/resources/serviceFacility/types/EncounterServiceFacilityUpdate.d.ts +6 -0
- package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +1 -4
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +4 -7
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -0
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/serialization/resources/billingNotes/resources/v2/client/delete.d.ts +25 -0
- package/dist/serialization/resources/billingNotes/resources/v2/client/delete.js +73 -0
- package/dist/serialization/resources/billingNotes/resources/v2/client/index.d.ts +2 -0
- package/dist/serialization/resources/billingNotes/resources/v2/client/index.js +15 -0
- package/dist/serialization/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +12 -0
- package/dist/serialization/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.js +33 -0
- package/dist/serialization/resources/billingNotes/resources/v2/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/billingNotes/resources/v2/client/requests/index.js +3 -1
- package/dist/serialization/resources/billingNotes/resources/v2/client/update.d.ts +30 -0
- package/dist/serialization/resources/billingNotes/resources/v2/client/update.js +79 -0
- package/dist/serialization/resources/chargeCapture/index.d.ts +1 -0
- package/dist/serialization/resources/chargeCapture/index.js +17 -0
- package/dist/serialization/resources/chargeCapture/resources/index.d.ts +1 -0
- package/dist/serialization/resources/chargeCapture/resources/index.js +27 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/create.d.ts +35 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/create.js +85 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/delete.d.ts +20 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/delete.js +67 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +4 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/index.js +33 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +19 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +40 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +19 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +40 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/index.js +7 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/update.d.ts +35 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/update.js +85 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/index.d.ts +2 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/index.js +18 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +22 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +43 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +24 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +47 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapturePage.d.ts +14 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapturePage.js +37 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.d.ts +10 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.js +39 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +4 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/index.js +20 -0
- package/dist/serialization/resources/commons/types/BillingProviderCommercialLicenseType.d.ts +10 -0
- package/dist/serialization/resources/commons/types/BillingProviderCommercialLicenseType.js +31 -0
- package/dist/serialization/resources/commons/types/ChargeCaptureId.d.ts +10 -0
- package/dist/serialization/resources/commons/types/ChargeCaptureId.js +35 -0
- package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
- package/dist/serialization/resources/commons/types/ProcedureModifier.js +1 -0
- package/dist/serialization/resources/commons/types/index.d.ts +2 -0
- package/dist/serialization/resources/commons/types/index.js +2 -0
- package/dist/serialization/resources/contracts/resources/v2/client/update.d.ts +6 -1
- package/dist/serialization/resources/contracts/resources/v2/client/update.js +6 -0
- package/dist/serialization/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.d.ts +12 -0
- package/dist/serialization/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.js +33 -0
- package/dist/serialization/resources/contracts/resources/v2/types/index.d.ts +1 -0
- package/dist/serialization/resources/contracts/resources/v2/types/index.js +1 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.js +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.js +2 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -59
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +5 -60
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +70 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +91 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.js +1 -0
- package/dist/serialization/resources/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +2 -1
- package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.d.ts +1 -0
- package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.js +1 -0
- package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.d.ts +1 -0
- package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.js +1 -0
- package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacility.d.ts +1 -0
- package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacility.js +1 -0
- package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityBase.d.ts +1 -0
- package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityBase.js +1 -0
- package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdate.d.ts +1 -0
- package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdate.js +1 -0
- package/package.json +1 -1
- package/reference.md +608 -362
- package/serialization/resources/billingNotes/resources/v2/client/delete.d.ts +25 -0
- package/serialization/resources/billingNotes/resources/v2/client/delete.js +73 -0
- package/serialization/resources/billingNotes/resources/v2/client/index.d.ts +2 -0
- package/serialization/resources/billingNotes/resources/v2/client/index.js +15 -0
- package/serialization/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +12 -0
- package/serialization/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.js +33 -0
- package/serialization/resources/billingNotes/resources/v2/client/requests/index.d.ts +1 -0
- package/serialization/resources/billingNotes/resources/v2/client/requests/index.js +3 -1
- package/serialization/resources/billingNotes/resources/v2/client/update.d.ts +30 -0
- package/serialization/resources/billingNotes/resources/v2/client/update.js +79 -0
- package/serialization/resources/chargeCapture/index.d.ts +1 -0
- package/serialization/resources/chargeCapture/index.js +17 -0
- package/serialization/resources/chargeCapture/resources/index.d.ts +1 -0
- package/serialization/resources/chargeCapture/resources/index.js +27 -0
- package/serialization/resources/chargeCapture/resources/v1/client/create.d.ts +35 -0
- package/serialization/resources/chargeCapture/resources/v1/client/create.js +85 -0
- package/serialization/resources/chargeCapture/resources/v1/client/delete.d.ts +20 -0
- package/serialization/resources/chargeCapture/resources/v1/client/delete.js +67 -0
- package/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +4 -0
- package/serialization/resources/chargeCapture/resources/v1/client/index.js +33 -0
- package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +19 -0
- package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +40 -0
- package/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +19 -0
- package/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +40 -0
- package/serialization/resources/chargeCapture/resources/v1/client/requests/index.d.ts +2 -0
- package/serialization/resources/chargeCapture/resources/v1/client/requests/index.js +7 -0
- package/serialization/resources/chargeCapture/resources/v1/client/update.d.ts +35 -0
- package/serialization/resources/chargeCapture/resources/v1/client/update.js +85 -0
- package/serialization/resources/chargeCapture/resources/v1/index.d.ts +2 -0
- package/serialization/resources/chargeCapture/resources/v1/index.js +18 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +22 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +43 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +24 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +47 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapturePage.d.ts +14 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapturePage.js +37 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.d.ts +10 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.js +39 -0
- package/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +4 -0
- package/serialization/resources/chargeCapture/resources/v1/types/index.js +20 -0
- package/serialization/resources/commons/types/BillingProviderCommercialLicenseType.d.ts +10 -0
- package/serialization/resources/commons/types/BillingProviderCommercialLicenseType.js +31 -0
- package/serialization/resources/commons/types/ChargeCaptureId.d.ts +10 -0
- package/serialization/resources/commons/types/ChargeCaptureId.js +35 -0
- package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
- package/serialization/resources/commons/types/ProcedureModifier.js +1 -0
- package/serialization/resources/commons/types/index.d.ts +2 -0
- package/serialization/resources/commons/types/index.js +2 -0
- package/serialization/resources/contracts/resources/v2/client/update.d.ts +6 -1
- package/serialization/resources/contracts/resources/v2/client/update.js +6 -0
- package/serialization/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.d.ts +12 -0
- package/serialization/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.js +33 -0
- package/serialization/resources/contracts/resources/v2/types/index.d.ts +1 -0
- package/serialization/resources/contracts/resources/v2/types/index.js +1 -0
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.js +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.js +2 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -59
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +5 -60
- package/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +70 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +91 -0
- package/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/types/index.js +1 -0
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +2 -1
- package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.d.ts +1 -0
- package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.js +1 -0
- package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.d.ts +1 -0
- package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.js +1 -0
- package/serialization/resources/serviceFacility/types/EncounterServiceFacility.d.ts +1 -0
- package/serialization/resources/serviceFacility/types/EncounterServiceFacility.js +1 -0
- package/serialization/resources/serviceFacility/types/EncounterServiceFacilityBase.d.ts +1 -0
- package/serialization/resources/serviceFacility/types/EncounterServiceFacilityBase.js +1 -0
- package/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdate.d.ts +1 -0
- package/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdate.js +1 -0
package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
* status: CandidApi.chargeCapture.v1.ChargeCaptureStatus.Planned,
|
|
12
|
+
* externalId: CandidApi.EncounterExternalId("string")
|
|
13
|
+
* }
|
|
14
|
+
*/
|
|
15
|
+
export interface GetAllChargeCapturesRequest {
|
|
16
|
+
/**
|
|
17
|
+
* Maximum number of entities per page, defaults to 100.
|
|
18
|
+
*/
|
|
19
|
+
limit?: number;
|
|
20
|
+
pageToken?: CandidApi.PageToken;
|
|
21
|
+
/**
|
|
22
|
+
* The patient ID from the external EMR platform for the patient
|
|
23
|
+
*/
|
|
24
|
+
patientExternalId?: string;
|
|
25
|
+
/**
|
|
26
|
+
* the status of the charge captures
|
|
27
|
+
*/
|
|
28
|
+
status?: CandidApi.chargeCapture.v1.ChargeCaptureStatus;
|
|
29
|
+
/**
|
|
30
|
+
* A client-specified unique ID to associate with this encounter;
|
|
31
|
+
* for example, your internal encounter ID or a Dr. Chrono encounter ID.
|
|
32
|
+
* This field should not contain PHI.
|
|
33
|
+
*/
|
|
34
|
+
externalId?: CandidApi.EncounterExternalId;
|
|
35
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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.chargeCapture.v1.update.Error.EntityNotFoundError | CandidApi.chargeCapture.v1.update.Error.UnauthorizedError | CandidApi.chargeCapture.v1.update.Error.HttpRequestValidationsError | CandidApi.chargeCapture.v1.update.Error.SchemaInstanceValidationHttpFailure | CandidApi.chargeCapture.v1.update.Error.UnprocessableEntityError | CandidApi.chargeCapture.v1.update.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface EntityNotFoundError extends _Utils {
|
|
9
|
+
errorName: "EntityNotFoundError";
|
|
10
|
+
content: CandidApi.EntityNotFoundErrorMessage;
|
|
11
|
+
}
|
|
12
|
+
interface UnauthorizedError extends _Utils {
|
|
13
|
+
errorName: "UnauthorizedError";
|
|
14
|
+
content: CandidApi.UnauthorizedErrorMessage;
|
|
15
|
+
}
|
|
16
|
+
interface HttpRequestValidationsError extends _Utils {
|
|
17
|
+
errorName: "HttpRequestValidationsError";
|
|
18
|
+
content: CandidApi.RequestValidationError[];
|
|
19
|
+
}
|
|
20
|
+
interface SchemaInstanceValidationHttpFailure extends _Utils {
|
|
21
|
+
errorName: "SchemaInstanceValidationHttpFailure";
|
|
22
|
+
content: CandidApi.encounters.v4.SchemaInstanceValidationFailure;
|
|
23
|
+
}
|
|
24
|
+
interface UnprocessableEntityError extends _Utils {
|
|
25
|
+
errorName: "UnprocessableEntityError";
|
|
26
|
+
content: CandidApi.UnprocessableEntityErrorMessage;
|
|
27
|
+
}
|
|
28
|
+
interface _Unknown extends _Utils {
|
|
29
|
+
errorName: void;
|
|
30
|
+
content: core.Fetcher.Error;
|
|
31
|
+
}
|
|
32
|
+
interface _Utils {
|
|
33
|
+
_visit: <_Result>(visitor: CandidApi.chargeCapture.v1.update.Error._Visitor<_Result>) => _Result;
|
|
34
|
+
}
|
|
35
|
+
interface _Visitor<_Result> {
|
|
36
|
+
entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
|
|
37
|
+
unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => _Result;
|
|
38
|
+
httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
|
|
39
|
+
schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => _Result;
|
|
40
|
+
unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
|
|
41
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
export declare const Error: {
|
|
45
|
+
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.chargeCapture.v1.update.Error.EntityNotFoundError;
|
|
46
|
+
readonly unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => CandidApi.chargeCapture.v1.update.Error.UnauthorizedError;
|
|
47
|
+
readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.chargeCapture.v1.update.Error.HttpRequestValidationsError;
|
|
48
|
+
readonly schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => CandidApi.chargeCapture.v1.update.Error.SchemaInstanceValidationHttpFailure;
|
|
49
|
+
readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.chargeCapture.v1.update.Error.UnprocessableEntityError;
|
|
50
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.chargeCapture.v1.update.Error._Unknown;
|
|
51
|
+
readonly _visit: <_Result>(value: CandidApi.chargeCapture.v1.update.Error, visitor: CandidApi.chargeCapture.v1.update.Error._Visitor<_Result>) => _Result;
|
|
52
|
+
};
|
|
@@ -0,0 +1,102 @@
|
|
|
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
|
+
entityNotFoundError: (value) => {
|
|
33
|
+
return {
|
|
34
|
+
content: value,
|
|
35
|
+
errorName: "EntityNotFoundError",
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.chargeCapture.v1.update.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
unauthorizedError: (value) => {
|
|
42
|
+
return {
|
|
43
|
+
content: value,
|
|
44
|
+
errorName: "UnauthorizedError",
|
|
45
|
+
_visit: function (visitor) {
|
|
46
|
+
return CandidApi.chargeCapture.v1.update.Error._visit(this, visitor);
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
httpRequestValidationsError: (value) => {
|
|
51
|
+
return {
|
|
52
|
+
content: value,
|
|
53
|
+
errorName: "HttpRequestValidationsError",
|
|
54
|
+
_visit: function (visitor) {
|
|
55
|
+
return CandidApi.chargeCapture.v1.update.Error._visit(this, visitor);
|
|
56
|
+
},
|
|
57
|
+
};
|
|
58
|
+
},
|
|
59
|
+
schemaInstanceValidationHttpFailure: (value) => {
|
|
60
|
+
return {
|
|
61
|
+
content: value,
|
|
62
|
+
errorName: "SchemaInstanceValidationHttpFailure",
|
|
63
|
+
_visit: function (visitor) {
|
|
64
|
+
return CandidApi.chargeCapture.v1.update.Error._visit(this, visitor);
|
|
65
|
+
},
|
|
66
|
+
};
|
|
67
|
+
},
|
|
68
|
+
unprocessableEntityError: (value) => {
|
|
69
|
+
return {
|
|
70
|
+
content: value,
|
|
71
|
+
errorName: "UnprocessableEntityError",
|
|
72
|
+
_visit: function (visitor) {
|
|
73
|
+
return CandidApi.chargeCapture.v1.update.Error._visit(this, visitor);
|
|
74
|
+
},
|
|
75
|
+
};
|
|
76
|
+
},
|
|
77
|
+
_unknown: (fetcherError) => {
|
|
78
|
+
return {
|
|
79
|
+
errorName: undefined,
|
|
80
|
+
content: fetcherError,
|
|
81
|
+
_visit: function (visitor) {
|
|
82
|
+
return CandidApi.chargeCapture.v1.update.Error._visit(this, visitor);
|
|
83
|
+
},
|
|
84
|
+
};
|
|
85
|
+
},
|
|
86
|
+
_visit: (value, visitor) => {
|
|
87
|
+
switch (value.errorName) {
|
|
88
|
+
case "EntityNotFoundError":
|
|
89
|
+
return visitor.entityNotFoundError(value.content);
|
|
90
|
+
case "UnauthorizedError":
|
|
91
|
+
return visitor.unauthorizedError(value.content);
|
|
92
|
+
case "HttpRequestValidationsError":
|
|
93
|
+
return visitor.httpRequestValidationsError(value.content);
|
|
94
|
+
case "SchemaInstanceValidationHttpFailure":
|
|
95
|
+
return visitor.schemaInstanceValidationHttpFailure(value.content);
|
|
96
|
+
case "UnprocessableEntityError":
|
|
97
|
+
return visitor.unprocessableEntityError(value.content);
|
|
98
|
+
default:
|
|
99
|
+
return visitor._other(value);
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
};
|
|
@@ -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,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
export interface ChargeCapture {
|
|
6
|
+
id: CandidApi.ChargeCaptureId;
|
|
7
|
+
status: CandidApi.chargeCapture.v1.ChargeCaptureStatus;
|
|
8
|
+
chargeCaptureData: CandidApi.chargeCapture.v1.ChargeCaptureData;
|
|
9
|
+
patientExternalId: CandidApi.PatientExternalId;
|
|
10
|
+
encounterExternalId: CandidApi.EncounterExternalId;
|
|
11
|
+
ehrSourceUrl?: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
export interface ChargeCaptureData extends CandidApi.encounters.v4.EncounterOptional {
|
|
6
|
+
/**
|
|
7
|
+
* Ideally, this field should contain no more than 12 diagnoses. However, more diagnoses
|
|
8
|
+
* may be submitted at this time, and coders will later prioritize the 12 that will be
|
|
9
|
+
* submitted to the payor.
|
|
10
|
+
*/
|
|
11
|
+
diagnoses?: CandidApi.DiagnosisCreate[];
|
|
12
|
+
interventions?: CandidApi.encounters.v4.Intervention[];
|
|
13
|
+
/**
|
|
14
|
+
* **_This field is in beta._**
|
|
15
|
+
* To be included for claims that have been submitted outside of Candid.
|
|
16
|
+
* Candid supports posting remits and payments to these claims and working them in-platform (e.g. editing, resubmitting).
|
|
17
|
+
*/
|
|
18
|
+
externalClaimSubmission?: CandidApi.claimSubmission.v1.ExternalClaimSubmissionCreate;
|
|
19
|
+
/**
|
|
20
|
+
* Each service line must be linked to a diagnosis. Concretely,
|
|
21
|
+
* `service_line.diagnosis_pointers`must contain at least one entry which should be
|
|
22
|
+
* in bounds of the diagnoses list field.
|
|
23
|
+
*/
|
|
24
|
+
serviceLines?: CandidApi.serviceLines.v2.ServiceLineCreate[];
|
|
25
|
+
patientHistories?: CandidApi.encounters.v4.PatientHistoryCategory[];
|
|
26
|
+
/**
|
|
27
|
+
* Spot to store misc, human-readable, notes about this encounter to be
|
|
28
|
+
* used in the billing process.
|
|
29
|
+
*/
|
|
30
|
+
billingNotes?: CandidApi.billingNotes.v2.BillingNote[];
|
|
31
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export declare type ChargeCaptureStatus = "planned" | "not-billable" | "billable" | "aborted" | "billed" | "entered-in-error" | "unknown";
|
|
5
|
+
export declare const ChargeCaptureStatus: {
|
|
6
|
+
readonly Planned: "planned";
|
|
7
|
+
readonly NotBillable: "not-billable";
|
|
8
|
+
readonly Billable: "billable";
|
|
9
|
+
readonly Aborted: "aborted";
|
|
10
|
+
readonly Billed: "billed";
|
|
11
|
+
readonly EnteredInError: "entered-in-error";
|
|
12
|
+
readonly Unknown: "unknown";
|
|
13
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
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.ChargeCaptureStatus = void 0;
|
|
7
|
+
exports.ChargeCaptureStatus = {
|
|
8
|
+
Planned: "planned",
|
|
9
|
+
NotBillable: "not-billable",
|
|
10
|
+
Billable: "billable",
|
|
11
|
+
Aborted: "aborted",
|
|
12
|
+
Billed: "billed",
|
|
13
|
+
EnteredInError: "entered-in-error",
|
|
14
|
+
Unknown: "unknown",
|
|
15
|
+
};
|
|
@@ -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("./ChargeCapturePage"), exports);
|
|
18
|
+
__exportStar(require("./ChargeCapture"), exports);
|
|
19
|
+
__exportStar(require("./ChargeCaptureData"), exports);
|
|
20
|
+
__exportStar(require("./ChargeCaptureStatus"), exports);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export declare type BillingProviderCommercialLicenseType = "0" | "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I";
|
|
5
|
+
export declare const BillingProviderCommercialLicenseType: {
|
|
6
|
+
readonly LicensedClinicalSocialWorker: "0";
|
|
7
|
+
readonly LicensedProfessionalCounselor: "A";
|
|
8
|
+
readonly LicensedMarriageAndFamilyCounselor: "B";
|
|
9
|
+
readonly LicensedClinicalAlcoholAndDrugCounselor: "C";
|
|
10
|
+
readonly Psychologist: "D";
|
|
11
|
+
readonly PsychiatricNurse: "E";
|
|
12
|
+
readonly Psychiatrist: "F";
|
|
13
|
+
readonly ChildAdolescentPsychiatrist: "G";
|
|
14
|
+
readonly PhysicianAssistant: "H";
|
|
15
|
+
readonly NurseCnp: "I";
|
|
16
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
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.BillingProviderCommercialLicenseType = void 0;
|
|
7
|
+
exports.BillingProviderCommercialLicenseType = {
|
|
8
|
+
LicensedClinicalSocialWorker: "0",
|
|
9
|
+
LicensedProfessionalCounselor: "A",
|
|
10
|
+
LicensedMarriageAndFamilyCounselor: "B",
|
|
11
|
+
LicensedClinicalAlcoholAndDrugCounselor: "C",
|
|
12
|
+
Psychologist: "D",
|
|
13
|
+
PsychiatricNurse: "E",
|
|
14
|
+
Psychiatrist: "F",
|
|
15
|
+
ChildAdolescentPsychiatrist: "G",
|
|
16
|
+
PhysicianAssistant: "H",
|
|
17
|
+
NurseCnp: "I",
|
|
18
|
+
};
|
|
@@ -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 ChargeCaptureId = string & {
|
|
6
|
+
ChargeCaptureId: void;
|
|
7
|
+
};
|
|
8
|
+
export declare function ChargeCaptureId(value: string): CandidApi.ChargeCaptureId;
|
|
@@ -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.ChargeCaptureId = void 0;
|
|
7
|
+
function ChargeCaptureId(value) {
|
|
8
|
+
return value;
|
|
9
|
+
}
|
|
10
|
+
exports.ChargeCaptureId = ChargeCaptureId;
|
|
@@ -1165,7 +1165,10 @@ export declare type ProcedureModifier =
|
|
|
1165
1165
|
| "V3"
|
|
1166
1166
|
/**
|
|
1167
1167
|
* Two or more separate patient visits on the same date of service */
|
|
1168
|
-
| "XE"
|
|
1168
|
+
| "XE"
|
|
1169
|
+
/**
|
|
1170
|
+
* A service that is distinct because it was performed on a separate organ/structure */
|
|
1171
|
+
| "XS";
|
|
1169
1172
|
export declare const ProcedureModifier: {
|
|
1170
1173
|
readonly TwentyTwo: "22";
|
|
1171
1174
|
readonly TwentyThree: "23";
|
|
@@ -1555,4 +1558,5 @@ export declare const ProcedureModifier: {
|
|
|
1555
1558
|
readonly V2: "V2";
|
|
1556
1559
|
readonly V3: "V3";
|
|
1557
1560
|
readonly Xe: "XE";
|
|
1561
|
+
readonly Xs: "XS";
|
|
1558
1562
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from "./EncounterId";
|
|
2
|
+
export * from "./ChargeCaptureId";
|
|
2
3
|
export * from "./OrganizationId";
|
|
3
4
|
export * from "./ClaimId";
|
|
4
5
|
export * from "./PreEncounterPatientId";
|
|
@@ -60,3 +61,4 @@ export * from "./PhoneNumberType";
|
|
|
60
61
|
export * from "./Email";
|
|
61
62
|
export * from "./DelayReasonCode";
|
|
62
63
|
export * from "./IntendedSubmissionMedium";
|
|
64
|
+
export * from "./BillingProviderCommercialLicenseType";
|
|
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./EncounterId"), exports);
|
|
18
|
+
__exportStar(require("./ChargeCaptureId"), exports);
|
|
18
19
|
__exportStar(require("./OrganizationId"), exports);
|
|
19
20
|
__exportStar(require("./ClaimId"), exports);
|
|
20
21
|
__exportStar(require("./PreEncounterPatientId"), exports);
|
|
@@ -76,3 +77,4 @@ __exportStar(require("./PhoneNumberType"), exports);
|
|
|
76
77
|
__exportStar(require("./Email"), exports);
|
|
77
78
|
__exportStar(require("./DelayReasonCode"), exports);
|
|
78
79
|
__exportStar(require("./IntendedSubmissionMedium"), exports);
|
|
80
|
+
__exportStar(require("./BillingProviderCommercialLicenseType"), 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.38.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.38.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.38.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.38.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.38.0",
|
|
384
384
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
385
385
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
386
386
|
},
|
|
@@ -405,6 +405,7 @@ class V2 {
|
|
|
405
405
|
if (_response.error.reason === "status-code") {
|
|
406
406
|
switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
|
|
407
407
|
case "UnprocessableEntityError":
|
|
408
|
+
case "ContractInvalidExpirationDateHttpError":
|
|
408
409
|
return {
|
|
409
410
|
ok: false,
|
|
410
411
|
error: serializers.contracts.v2.update.Error.parseOrThrow(_response.error.body, {
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../../index";
|
|
5
5
|
import * as core from "../../../../../../core";
|
|
6
|
-
export declare type Error = CandidApi.contracts.v2.update.Error.UnprocessableEntityError | CandidApi.contracts.v2.update.Error._Unknown;
|
|
6
|
+
export declare type Error = CandidApi.contracts.v2.update.Error.UnprocessableEntityError | CandidApi.contracts.v2.update.Error.ContractInvalidExpirationDateHttpError | CandidApi.contracts.v2.update.Error._Unknown;
|
|
7
7
|
export declare namespace Error {
|
|
8
8
|
interface UnprocessableEntityError extends _Utils {
|
|
9
9
|
errorName: "UnprocessableEntityError";
|
|
10
10
|
content: CandidApi.UnprocessableEntityErrorMessage;
|
|
11
11
|
}
|
|
12
|
+
interface ContractInvalidExpirationDateHttpError extends _Utils {
|
|
13
|
+
errorName: "ContractInvalidExpirationDateHttpError";
|
|
14
|
+
content: CandidApi.contracts.v2.ContractInvalidExpirationDateError;
|
|
15
|
+
}
|
|
12
16
|
interface _Unknown extends _Utils {
|
|
13
17
|
errorName: void;
|
|
14
18
|
content: core.Fetcher.Error;
|
|
@@ -18,11 +22,13 @@ export declare namespace Error {
|
|
|
18
22
|
}
|
|
19
23
|
interface _Visitor<_Result> {
|
|
20
24
|
unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
|
|
25
|
+
contractInvalidExpirationDateHttpError: (value: CandidApi.contracts.v2.ContractInvalidExpirationDateError) => _Result;
|
|
21
26
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
22
27
|
}
|
|
23
28
|
}
|
|
24
29
|
export declare const Error: {
|
|
25
30
|
readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.contracts.v2.update.Error.UnprocessableEntityError;
|
|
31
|
+
readonly contractInvalidExpirationDateHttpError: (value: CandidApi.contracts.v2.ContractInvalidExpirationDateError) => CandidApi.contracts.v2.update.Error.ContractInvalidExpirationDateHttpError;
|
|
26
32
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.contracts.v2.update.Error._Unknown;
|
|
27
33
|
readonly _visit: <_Result>(value: CandidApi.contracts.v2.update.Error, visitor: CandidApi.contracts.v2.update.Error._Visitor<_Result>) => _Result;
|
|
28
34
|
};
|
|
@@ -38,6 +38,15 @@ exports.Error = {
|
|
|
38
38
|
},
|
|
39
39
|
};
|
|
40
40
|
},
|
|
41
|
+
contractInvalidExpirationDateHttpError: (value) => {
|
|
42
|
+
return {
|
|
43
|
+
content: value,
|
|
44
|
+
errorName: "ContractInvalidExpirationDateHttpError",
|
|
45
|
+
_visit: function (visitor) {
|
|
46
|
+
return CandidApi.contracts.v2.update.Error._visit(this, visitor);
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
},
|
|
41
50
|
_unknown: (fetcherError) => {
|
|
42
51
|
return {
|
|
43
52
|
errorName: undefined,
|
|
@@ -51,6 +60,8 @@ exports.Error = {
|
|
|
51
60
|
switch (value.errorName) {
|
|
52
61
|
case "UnprocessableEntityError":
|
|
53
62
|
return visitor.unprocessableEntityError(value.content);
|
|
63
|
+
case "ContractInvalidExpirationDateHttpError":
|
|
64
|
+
return visitor.contractInvalidExpirationDateHttpError(value.content);
|
|
54
65
|
default:
|
|
55
66
|
return visitor._other(value);
|
|
56
67
|
}
|
|
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./ContractIsLinkedToFeeScheduleError"), exports);
|
|
18
|
+
__exportStar(require("./ContractInvalidExpirationDateError"), exports);
|
|
18
19
|
__exportStar(require("./ContractId"), exports);
|
|
19
20
|
__exportStar(require("./ContractingProviderId"), exports);
|
|
20
21
|
__exportStar(require("./RenderingProviderid"), exports);
|