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
|
@@ -27,4 +27,10 @@ export interface EncounterServiceFacility {
|
|
|
27
27
|
npi?: string;
|
|
28
28
|
/** zip_plus_four_code is required for service facility address. When the zip_plus_four_code is not available use "9998" as per CMS documentation. */
|
|
29
29
|
address: CandidApi.StreetAddressLongZip;
|
|
30
|
+
/**
|
|
31
|
+
* An additional identifier for the service facility other than the facility's NPI. Some payers may require this field.
|
|
32
|
+
* Potential examples: state license number, provider commercial number, or location number.
|
|
33
|
+
* Box 32 section (b) of the CMS-1500 claim form.
|
|
34
|
+
*/
|
|
35
|
+
secondaryIdentification?: string;
|
|
30
36
|
}
|
|
@@ -20,4 +20,10 @@ export interface EncounterServiceFacilityBase {
|
|
|
20
20
|
npi?: string;
|
|
21
21
|
/** zip_plus_four_code is required for service facility address. When the zip_plus_four_code is not available use "9998" as per CMS documentation. */
|
|
22
22
|
address: CandidApi.StreetAddressLongZip;
|
|
23
|
+
/**
|
|
24
|
+
* An additional identifier for the service facility other than the facility's NPI. Some payers may require this field.
|
|
25
|
+
* Potential examples: state license number, provider commercial number, or location number.
|
|
26
|
+
* Box 32 section (b) of the CMS-1500 claim form.
|
|
27
|
+
*/
|
|
28
|
+
secondaryIdentification?: string;
|
|
23
29
|
}
|
|
@@ -25,4 +25,10 @@ export interface EncounterServiceFacilityUpdate {
|
|
|
25
25
|
npi?: string;
|
|
26
26
|
/** zip_plus_four_code is required for service facility address. When the zip_plus_four_code is not available use "9998" as per CMS documentation. */
|
|
27
27
|
address?: CandidApi.StreetAddressLongZip;
|
|
28
|
+
/**
|
|
29
|
+
* An additional identifier for the service facility other than the facility's NPI. Some payers may require this field.
|
|
30
|
+
* Potential examples: state license number, provider commercial number, or location number.
|
|
31
|
+
* Box 32 section (b) of the CMS-1500 claim form.
|
|
32
|
+
*/
|
|
33
|
+
secondaryIdentification?: string;
|
|
28
34
|
}
|
|
@@ -64,10 +64,7 @@ export declare class V2 {
|
|
|
64
64
|
* state: CandidApi.State.Ny,
|
|
65
65
|
* zipCode: "10001",
|
|
66
66
|
* zipPlusFourCode: "1234"
|
|
67
|
-
* }
|
|
68
|
-
* firstName: "string",
|
|
69
|
-
* lastName: "string",
|
|
70
|
-
* organizationName: "string"
|
|
67
|
+
* }
|
|
71
68
|
* },
|
|
72
69
|
* testResults: [{
|
|
73
70
|
* value: 1.1,
|
|
@@ -91,10 +91,7 @@ class V2 {
|
|
|
91
91
|
* state: CandidApi.State.Ny,
|
|
92
92
|
* zipCode: "10001",
|
|
93
93
|
* zipPlusFourCode: "1234"
|
|
94
|
-
* }
|
|
95
|
-
* firstName: "string",
|
|
96
|
-
* lastName: "string",
|
|
97
|
-
* organizationName: "string"
|
|
94
|
+
* }
|
|
98
95
|
* },
|
|
99
96
|
* testResults: [{
|
|
100
97
|
* value: 1.1,
|
|
@@ -113,7 +110,7 @@ class V2 {
|
|
|
113
110
|
Authorization: yield this._getAuthorizationHeader(),
|
|
114
111
|
"X-Fern-Language": "JavaScript",
|
|
115
112
|
"X-Fern-SDK-Name": "candidhealth",
|
|
116
|
-
"X-Fern-SDK-Version": "0.
|
|
113
|
+
"X-Fern-SDK-Version": "0.38.0",
|
|
117
114
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
118
115
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
119
116
|
},
|
|
@@ -208,7 +205,7 @@ class V2 {
|
|
|
208
205
|
Authorization: yield this._getAuthorizationHeader(),
|
|
209
206
|
"X-Fern-Language": "JavaScript",
|
|
210
207
|
"X-Fern-SDK-Name": "candidhealth",
|
|
211
|
-
"X-Fern-SDK-Version": "0.
|
|
208
|
+
"X-Fern-SDK-Version": "0.38.0",
|
|
212
209
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
213
210
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
214
211
|
},
|
|
@@ -272,7 +269,7 @@ class V2 {
|
|
|
272
269
|
Authorization: yield this._getAuthorizationHeader(),
|
|
273
270
|
"X-Fern-Language": "JavaScript",
|
|
274
271
|
"X-Fern-SDK-Name": "candidhealth",
|
|
275
|
-
"X-Fern-SDK-Version": "0.
|
|
272
|
+
"X-Fern-SDK-Version": "0.38.0",
|
|
276
273
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
277
274
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
278
275
|
},
|
|
@@ -93,7 +93,9 @@ export interface ServiceLine {
|
|
|
93
93
|
relatedInvoices?: CandidApi.Invoice[];
|
|
94
94
|
relatedInvoiceInfo?: CandidApi.invoices.v2.InvoiceInfo[];
|
|
95
95
|
denialReason?: CandidApi.serviceLines.v2.ServiceLineDenialReason;
|
|
96
|
+
/** 837p Loop2300, SV105. 02 for telemedicine, 11 for in-person. Full list [here](https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set). */
|
|
96
97
|
placeOfServiceCode?: CandidApi.FacilityTypeCode;
|
|
98
|
+
/** 837p Loop2300, SV105. 02 for telemedicine, 11 for in-person. Full list [here](https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set). */
|
|
97
99
|
placeOfServiceCodeAsSubmitted?: CandidApi.FacilityTypeCode;
|
|
98
100
|
serviceLineId: CandidApi.ServiceLineId;
|
|
99
101
|
procedureCode: string;
|
|
@@ -21,6 +21,7 @@ export interface ServiceLineCreate {
|
|
|
21
21
|
/** Indices (zero-indexed) of all the diagnoses this service line references */
|
|
22
22
|
diagnosisPointers: number[];
|
|
23
23
|
drugIdentification?: CandidApi.serviceLines.v2.DrugIdentification;
|
|
24
|
+
/** 837p Loop2300, SV105. If your organization does not intend to submit claims with a different place of service at the service line level, this field should not be populated. 02 for telemedicine, 11 for in-person. Full list [here](https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set). */
|
|
24
25
|
placeOfServiceCode?: CandidApi.FacilityTypeCode;
|
|
25
26
|
/** A free-form description to clarify the related data elements and their content. Maps to SV1-01, C003-07 on the 837-P. */
|
|
26
27
|
description?: string;
|
|
@@ -10,6 +10,7 @@ export interface ServiceLineCreateStandalone {
|
|
|
10
10
|
diagnosisIdTwo?: CandidApi.DiagnosisId;
|
|
11
11
|
diagnosisIdThree?: CandidApi.DiagnosisId;
|
|
12
12
|
denialReason?: CandidApi.serviceLines.v2.ServiceLineDenialReason;
|
|
13
|
+
/** 837p Loop2300, SV105. If your organization does not intend to submit claims with a different place of service at the service line level, this field should not be populated. 02 for telemedicine, 11 for in-person. Full list [here](https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set). */
|
|
13
14
|
placeOfServiceCode?: CandidApi.FacilityTypeCode;
|
|
14
15
|
procedureCode: string;
|
|
15
16
|
/**
|
|
@@ -12,6 +12,7 @@ export interface ServiceLineUpdate {
|
|
|
12
12
|
diagnosisIdThree?: CandidApi.DiagnosisId;
|
|
13
13
|
drugIdentification?: CandidApi.serviceLines.v2.DrugIdentification;
|
|
14
14
|
denialReason?: CandidApi.serviceLines.v2.ServiceLineDenialReason;
|
|
15
|
+
/** 837p Loop2300, SV105. If your organization does not intend to submit claims with a different place of service at the service line level, this field should not be populated. 02 for telemedicine, 11 for in-person. Full list [here](https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set). */
|
|
15
16
|
placeOfServiceCode?: CandidApi.FacilityTypeCode;
|
|
16
17
|
units?: CandidApi.ServiceLineUnits;
|
|
17
18
|
procedureCode?: string;
|
|
@@ -66,7 +66,7 @@ class V3 {
|
|
|
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
|
},
|
|
@@ -166,7 +166,7 @@ class V3 {
|
|
|
166
166
|
Authorization: yield this._getAuthorizationHeader(),
|
|
167
167
|
"X-Fern-Language": "JavaScript",
|
|
168
168
|
"X-Fern-SDK-Name": "candidhealth",
|
|
169
|
-
"X-Fern-SDK-Version": "0.
|
|
169
|
+
"X-Fern-SDK-Version": "0.38.0",
|
|
170
170
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
171
171
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
172
172
|
},
|
|
@@ -226,7 +226,7 @@ class V3 {
|
|
|
226
226
|
Authorization: yield this._getAuthorizationHeader(),
|
|
227
227
|
"X-Fern-Language": "JavaScript",
|
|
228
228
|
"X-Fern-SDK-Name": "candidhealth",
|
|
229
|
-
"X-Fern-SDK-Version": "0.
|
|
229
|
+
"X-Fern-SDK-Version": "0.38.0",
|
|
230
230
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
231
231
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
232
232
|
},
|
|
@@ -294,7 +294,7 @@ class V3 {
|
|
|
294
294
|
Authorization: yield this._getAuthorizationHeader(),
|
|
295
295
|
"X-Fern-Language": "JavaScript",
|
|
296
296
|
"X-Fern-SDK-Name": "candidhealth",
|
|
297
|
-
"X-Fern-SDK-Version": "0.
|
|
297
|
+
"X-Fern-SDK-Version": "0.38.0",
|
|
298
298
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
299
299
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
300
300
|
},
|
|
@@ -345,7 +345,7 @@ class V3 {
|
|
|
345
345
|
Authorization: yield this._getAuthorizationHeader(),
|
|
346
346
|
"X-Fern-Language": "JavaScript",
|
|
347
347
|
"X-Fern-SDK-Name": "candidhealth",
|
|
348
|
-
"X-Fern-SDK-Version": "0.
|
|
348
|
+
"X-Fern-SDK-Version": "0.38.0",
|
|
349
349
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
350
350
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
351
351
|
},
|
|
@@ -116,7 +116,7 @@ class V1 {
|
|
|
116
116
|
Authorization: yield this._getAuthorizationHeader(),
|
|
117
117
|
"X-Fern-Language": "JavaScript",
|
|
118
118
|
"X-Fern-SDK-Name": "candidhealth",
|
|
119
|
-
"X-Fern-SDK-Version": "0.
|
|
119
|
+
"X-Fern-SDK-Version": "0.38.0",
|
|
120
120
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
121
121
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
122
122
|
},
|
|
@@ -164,7 +164,7 @@ class V1 {
|
|
|
164
164
|
Authorization: yield this._getAuthorizationHeader(),
|
|
165
165
|
"X-Fern-Language": "JavaScript",
|
|
166
166
|
"X-Fern-SDK-Name": "candidhealth",
|
|
167
|
-
"X-Fern-SDK-Version": "0.
|
|
167
|
+
"X-Fern-SDK-Version": "0.38.0",
|
|
168
168
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
169
169
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
170
170
|
},
|
|
@@ -221,7 +221,7 @@ class V1 {
|
|
|
221
221
|
Authorization: yield this._getAuthorizationHeader(),
|
|
222
222
|
"X-Fern-Language": "JavaScript",
|
|
223
223
|
"X-Fern-SDK-Name": "candidhealth",
|
|
224
|
-
"X-Fern-SDK-Version": "0.
|
|
224
|
+
"X-Fern-SDK-Version": "0.38.0",
|
|
225
225
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
226
226
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
227
227
|
},
|
|
@@ -271,7 +271,7 @@ class V1 {
|
|
|
271
271
|
Authorization: yield this._getAuthorizationHeader(),
|
|
272
272
|
"X-Fern-Language": "JavaScript",
|
|
273
273
|
"X-Fern-SDK-Name": "candidhealth",
|
|
274
|
-
"X-Fern-SDK-Version": "0.
|
|
274
|
+
"X-Fern-SDK-Version": "0.38.0",
|
|
275
275
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
276
276
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
277
277
|
},
|
package/dist/Client.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import * as environments from "./environments";
|
|
|
5
5
|
import * as core from "./core";
|
|
6
6
|
import { Auth } from "./api/resources/auth/client/Client";
|
|
7
7
|
import { BillingNotes } from "./api/resources/billingNotes/client/Client";
|
|
8
|
+
import { ChargeCapture } from "./api/resources/chargeCapture/client/Client";
|
|
8
9
|
import { Contracts } from "./api/resources/contracts/client/Client";
|
|
9
10
|
import { Credentialing } from "./api/resources/credentialing/client/Client";
|
|
10
11
|
import { CustomSchemas } from "./api/resources/customSchemas/client/Client";
|
|
@@ -58,6 +59,8 @@ export declare class CandidApiClient {
|
|
|
58
59
|
get auth(): Auth;
|
|
59
60
|
protected _billingNotes: BillingNotes | undefined;
|
|
60
61
|
get billingNotes(): BillingNotes;
|
|
62
|
+
protected _chargeCapture: ChargeCapture | undefined;
|
|
63
|
+
get chargeCapture(): ChargeCapture;
|
|
61
64
|
protected _contracts: Contracts | undefined;
|
|
62
65
|
get contracts(): Contracts;
|
|
63
66
|
protected _credentialing: Credentialing | undefined;
|
package/dist/Client.js
CHANGED
|
@@ -40,36 +40,37 @@ const core = __importStar(require("./core"));
|
|
|
40
40
|
const Client_1 = require("./api/resources/auth/resources/v2/client/Client");
|
|
41
41
|
const Client_2 = require("./api/resources/auth/client/Client");
|
|
42
42
|
const Client_3 = require("./api/resources/billingNotes/client/Client");
|
|
43
|
-
const Client_4 = require("./api/resources/
|
|
44
|
-
const Client_5 = require("./api/resources/
|
|
45
|
-
const Client_6 = require("./api/resources/
|
|
46
|
-
const Client_7 = require("./api/resources/
|
|
47
|
-
const Client_8 = require("./api/resources/
|
|
48
|
-
const Client_9 = require("./api/resources/
|
|
49
|
-
const Client_10 = require("./api/resources/
|
|
50
|
-
const Client_11 = require("./api/resources/
|
|
51
|
-
const Client_12 = require("./api/resources/
|
|
52
|
-
const Client_13 = require("./api/resources/
|
|
53
|
-
const Client_14 = require("./api/resources/
|
|
54
|
-
const Client_15 = require("./api/resources/
|
|
55
|
-
const Client_16 = require("./api/resources/
|
|
56
|
-
const Client_17 = require("./api/resources/
|
|
57
|
-
const Client_18 = require("./api/resources/
|
|
58
|
-
const Client_19 = require("./api/resources/
|
|
59
|
-
const Client_20 = require("./api/resources/
|
|
60
|
-
const Client_21 = require("./api/resources/
|
|
61
|
-
const Client_22 = require("./api/resources/
|
|
62
|
-
const Client_23 = require("./api/resources/
|
|
63
|
-
const Client_24 = require("./api/resources/
|
|
64
|
-
const Client_25 = require("./api/resources/
|
|
65
|
-
const Client_26 = require("./api/resources/
|
|
66
|
-
const Client_27 = require("./api/resources/
|
|
67
|
-
const Client_28 = require("./api/resources/
|
|
68
|
-
const Client_29 = require("./api/resources/
|
|
69
|
-
const Client_30 = require("./api/resources/
|
|
70
|
-
const Client_31 = require("./api/resources/
|
|
71
|
-
const Client_32 = require("./api/resources/
|
|
72
|
-
const Client_33 = require("./api/resources/
|
|
43
|
+
const Client_4 = require("./api/resources/chargeCapture/client/Client");
|
|
44
|
+
const Client_5 = require("./api/resources/contracts/client/Client");
|
|
45
|
+
const Client_6 = require("./api/resources/credentialing/client/Client");
|
|
46
|
+
const Client_7 = require("./api/resources/customSchemas/client/Client");
|
|
47
|
+
const Client_8 = require("./api/resources/eligibility/client/Client");
|
|
48
|
+
const Client_9 = require("./api/resources/encounterProviders/client/Client");
|
|
49
|
+
const Client_10 = require("./api/resources/encounters/client/Client");
|
|
50
|
+
const Client_11 = require("./api/resources/expectedNetworkStatus/client/Client");
|
|
51
|
+
const Client_12 = require("./api/resources/exports/client/Client");
|
|
52
|
+
const Client_13 = require("./api/resources/externalPaymentAccountConfig/client/Client");
|
|
53
|
+
const Client_14 = require("./api/resources/feeSchedules/client/Client");
|
|
54
|
+
const Client_15 = require("./api/resources/guarantor/client/Client");
|
|
55
|
+
const Client_16 = require("./api/resources/importInvoice/client/Client");
|
|
56
|
+
const Client_17 = require("./api/resources/insuranceAdjudications/client/Client");
|
|
57
|
+
const Client_18 = require("./api/resources/insurancePayments/client/Client");
|
|
58
|
+
const Client_19 = require("./api/resources/insuranceRefunds/client/Client");
|
|
59
|
+
const Client_20 = require("./api/resources/medicationDispense/client/Client");
|
|
60
|
+
const Client_21 = require("./api/resources/nonInsurancePayerPayments/client/Client");
|
|
61
|
+
const Client_22 = require("./api/resources/nonInsurancePayerRefunds/client/Client");
|
|
62
|
+
const Client_23 = require("./api/resources/nonInsurancePayers/client/Client");
|
|
63
|
+
const Client_24 = require("./api/resources/organizationServiceFacilities/client/Client");
|
|
64
|
+
const Client_25 = require("./api/resources/organizationProviders/client/Client");
|
|
65
|
+
const Client_26 = require("./api/resources/patientPayments/client/Client");
|
|
66
|
+
const Client_27 = require("./api/resources/patientRefunds/client/Client");
|
|
67
|
+
const Client_28 = require("./api/resources/payers/client/Client");
|
|
68
|
+
const Client_29 = require("./api/resources/serviceLines/client/Client");
|
|
69
|
+
const Client_30 = require("./api/resources/tasks/client/Client");
|
|
70
|
+
const Client_31 = require("./api/resources/writeOffs/client/Client");
|
|
71
|
+
const Client_32 = require("./api/resources/preEncounter/client/Client");
|
|
72
|
+
const Client_33 = require("./api/resources/diagnoses/client/Client");
|
|
73
|
+
const Client_34 = require("./api/resources/serviceFacility/client/Client");
|
|
73
74
|
class CandidApiClient {
|
|
74
75
|
constructor(_options) {
|
|
75
76
|
this._options = _options;
|
|
@@ -89,125 +90,129 @@ class CandidApiClient {
|
|
|
89
90
|
var _a;
|
|
90
91
|
return ((_a = this._billingNotes) !== null && _a !== void 0 ? _a : (this._billingNotes = new Client_3.BillingNotes(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
91
92
|
}
|
|
93
|
+
get chargeCapture() {
|
|
94
|
+
var _a;
|
|
95
|
+
return ((_a = this._chargeCapture) !== null && _a !== void 0 ? _a : (this._chargeCapture = new Client_4.ChargeCapture(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
96
|
+
}
|
|
92
97
|
get contracts() {
|
|
93
98
|
var _a;
|
|
94
|
-
return ((_a = this._contracts) !== null && _a !== void 0 ? _a : (this._contracts = new
|
|
99
|
+
return ((_a = this._contracts) !== null && _a !== void 0 ? _a : (this._contracts = new Client_5.Contracts(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
95
100
|
}
|
|
96
101
|
get credentialing() {
|
|
97
102
|
var _a;
|
|
98
|
-
return ((_a = this._credentialing) !== null && _a !== void 0 ? _a : (this._credentialing = new
|
|
103
|
+
return ((_a = this._credentialing) !== null && _a !== void 0 ? _a : (this._credentialing = new Client_6.Credentialing(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
99
104
|
}
|
|
100
105
|
get customSchemas() {
|
|
101
106
|
var _a;
|
|
102
|
-
return ((_a = this._customSchemas) !== null && _a !== void 0 ? _a : (this._customSchemas = new
|
|
107
|
+
return ((_a = this._customSchemas) !== null && _a !== void 0 ? _a : (this._customSchemas = new Client_7.CustomSchemas(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
103
108
|
}
|
|
104
109
|
get eligibility() {
|
|
105
110
|
var _a;
|
|
106
|
-
return ((_a = this._eligibility) !== null && _a !== void 0 ? _a : (this._eligibility = new
|
|
111
|
+
return ((_a = this._eligibility) !== null && _a !== void 0 ? _a : (this._eligibility = new Client_8.Eligibility(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
107
112
|
}
|
|
108
113
|
get encounterProviders() {
|
|
109
114
|
var _a;
|
|
110
|
-
return ((_a = this._encounterProviders) !== null && _a !== void 0 ? _a : (this._encounterProviders = new
|
|
115
|
+
return ((_a = this._encounterProviders) !== null && _a !== void 0 ? _a : (this._encounterProviders = new Client_9.EncounterProviders(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
111
116
|
}
|
|
112
117
|
get encounters() {
|
|
113
118
|
var _a;
|
|
114
|
-
return ((_a = this._encounters) !== null && _a !== void 0 ? _a : (this._encounters = new
|
|
119
|
+
return ((_a = this._encounters) !== null && _a !== void 0 ? _a : (this._encounters = new Client_10.Encounters(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
115
120
|
}
|
|
116
121
|
get expectedNetworkStatus() {
|
|
117
122
|
var _a;
|
|
118
|
-
return ((_a = this._expectedNetworkStatus) !== null && _a !== void 0 ? _a : (this._expectedNetworkStatus = new
|
|
123
|
+
return ((_a = this._expectedNetworkStatus) !== null && _a !== void 0 ? _a : (this._expectedNetworkStatus = new Client_11.ExpectedNetworkStatus(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
119
124
|
}
|
|
120
125
|
get exports() {
|
|
121
126
|
var _a;
|
|
122
|
-
return ((_a = this._exports) !== null && _a !== void 0 ? _a : (this._exports = new
|
|
127
|
+
return ((_a = this._exports) !== null && _a !== void 0 ? _a : (this._exports = new Client_12.Exports(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
123
128
|
}
|
|
124
129
|
get externalPaymentAccountConfig() {
|
|
125
130
|
var _a;
|
|
126
|
-
return ((_a = this._externalPaymentAccountConfig) !== null && _a !== void 0 ? _a : (this._externalPaymentAccountConfig = new
|
|
131
|
+
return ((_a = this._externalPaymentAccountConfig) !== null && _a !== void 0 ? _a : (this._externalPaymentAccountConfig = new Client_13.ExternalPaymentAccountConfig(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
127
132
|
}
|
|
128
133
|
get feeSchedules() {
|
|
129
134
|
var _a;
|
|
130
|
-
return ((_a = this._feeSchedules) !== null && _a !== void 0 ? _a : (this._feeSchedules = new
|
|
135
|
+
return ((_a = this._feeSchedules) !== null && _a !== void 0 ? _a : (this._feeSchedules = new Client_14.FeeSchedules(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
131
136
|
}
|
|
132
137
|
get guarantor() {
|
|
133
138
|
var _a;
|
|
134
|
-
return ((_a = this._guarantor) !== null && _a !== void 0 ? _a : (this._guarantor = new
|
|
139
|
+
return ((_a = this._guarantor) !== null && _a !== void 0 ? _a : (this._guarantor = new Client_15.Guarantor(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
135
140
|
}
|
|
136
141
|
get importInvoice() {
|
|
137
142
|
var _a;
|
|
138
|
-
return ((_a = this._importInvoice) !== null && _a !== void 0 ? _a : (this._importInvoice = new
|
|
143
|
+
return ((_a = this._importInvoice) !== null && _a !== void 0 ? _a : (this._importInvoice = new Client_16.ImportInvoice(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
139
144
|
}
|
|
140
145
|
get insuranceAdjudications() {
|
|
141
146
|
var _a;
|
|
142
|
-
return ((_a = this._insuranceAdjudications) !== null && _a !== void 0 ? _a : (this._insuranceAdjudications = new
|
|
147
|
+
return ((_a = this._insuranceAdjudications) !== null && _a !== void 0 ? _a : (this._insuranceAdjudications = new Client_17.InsuranceAdjudications(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
143
148
|
}
|
|
144
149
|
get insurancePayments() {
|
|
145
150
|
var _a;
|
|
146
|
-
return ((_a = this._insurancePayments) !== null && _a !== void 0 ? _a : (this._insurancePayments = new
|
|
151
|
+
return ((_a = this._insurancePayments) !== null && _a !== void 0 ? _a : (this._insurancePayments = new Client_18.InsurancePayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
147
152
|
}
|
|
148
153
|
get insuranceRefunds() {
|
|
149
154
|
var _a;
|
|
150
|
-
return ((_a = this._insuranceRefunds) !== null && _a !== void 0 ? _a : (this._insuranceRefunds = new
|
|
155
|
+
return ((_a = this._insuranceRefunds) !== null && _a !== void 0 ? _a : (this._insuranceRefunds = new Client_19.InsuranceRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
151
156
|
}
|
|
152
157
|
get medicationDispense() {
|
|
153
158
|
var _a;
|
|
154
|
-
return ((_a = this._medicationDispense) !== null && _a !== void 0 ? _a : (this._medicationDispense = new
|
|
159
|
+
return ((_a = this._medicationDispense) !== null && _a !== void 0 ? _a : (this._medicationDispense = new Client_20.MedicationDispense(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
155
160
|
}
|
|
156
161
|
get nonInsurancePayerPayments() {
|
|
157
162
|
var _a;
|
|
158
|
-
return ((_a = this._nonInsurancePayerPayments) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerPayments = new
|
|
163
|
+
return ((_a = this._nonInsurancePayerPayments) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerPayments = new Client_21.NonInsurancePayerPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
159
164
|
}
|
|
160
165
|
get nonInsurancePayerRefunds() {
|
|
161
166
|
var _a;
|
|
162
|
-
return ((_a = this._nonInsurancePayerRefunds) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerRefunds = new
|
|
167
|
+
return ((_a = this._nonInsurancePayerRefunds) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerRefunds = new Client_22.NonInsurancePayerRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
163
168
|
}
|
|
164
169
|
get nonInsurancePayers() {
|
|
165
170
|
var _a;
|
|
166
|
-
return ((_a = this._nonInsurancePayers) !== null && _a !== void 0 ? _a : (this._nonInsurancePayers = new
|
|
171
|
+
return ((_a = this._nonInsurancePayers) !== null && _a !== void 0 ? _a : (this._nonInsurancePayers = new Client_23.NonInsurancePayers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
167
172
|
}
|
|
168
173
|
get organizationServiceFacilities() {
|
|
169
174
|
var _a;
|
|
170
|
-
return ((_a = this._organizationServiceFacilities) !== null && _a !== void 0 ? _a : (this._organizationServiceFacilities = new
|
|
175
|
+
return ((_a = this._organizationServiceFacilities) !== null && _a !== void 0 ? _a : (this._organizationServiceFacilities = new Client_24.OrganizationServiceFacilities(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
171
176
|
}
|
|
172
177
|
get organizationProviders() {
|
|
173
178
|
var _a;
|
|
174
|
-
return ((_a = this._organizationProviders) !== null && _a !== void 0 ? _a : (this._organizationProviders = new
|
|
179
|
+
return ((_a = this._organizationProviders) !== null && _a !== void 0 ? _a : (this._organizationProviders = new Client_25.OrganizationProviders(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
175
180
|
}
|
|
176
181
|
get patientPayments() {
|
|
177
182
|
var _a;
|
|
178
|
-
return ((_a = this._patientPayments) !== null && _a !== void 0 ? _a : (this._patientPayments = new
|
|
183
|
+
return ((_a = this._patientPayments) !== null && _a !== void 0 ? _a : (this._patientPayments = new Client_26.PatientPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
179
184
|
}
|
|
180
185
|
get patientRefunds() {
|
|
181
186
|
var _a;
|
|
182
|
-
return ((_a = this._patientRefunds) !== null && _a !== void 0 ? _a : (this._patientRefunds = new
|
|
187
|
+
return ((_a = this._patientRefunds) !== null && _a !== void 0 ? _a : (this._patientRefunds = new Client_27.PatientRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
183
188
|
}
|
|
184
189
|
get payers() {
|
|
185
190
|
var _a;
|
|
186
|
-
return ((_a = this._payers) !== null && _a !== void 0 ? _a : (this._payers = new
|
|
191
|
+
return ((_a = this._payers) !== null && _a !== void 0 ? _a : (this._payers = new Client_28.Payers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
187
192
|
}
|
|
188
193
|
get serviceLines() {
|
|
189
194
|
var _a;
|
|
190
|
-
return ((_a = this._serviceLines) !== null && _a !== void 0 ? _a : (this._serviceLines = new
|
|
195
|
+
return ((_a = this._serviceLines) !== null && _a !== void 0 ? _a : (this._serviceLines = new Client_29.ServiceLines(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
191
196
|
}
|
|
192
197
|
get tasks() {
|
|
193
198
|
var _a;
|
|
194
|
-
return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new
|
|
199
|
+
return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new Client_30.Tasks(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
195
200
|
}
|
|
196
201
|
get writeOffs() {
|
|
197
202
|
var _a;
|
|
198
|
-
return ((_a = this._writeOffs) !== null && _a !== void 0 ? _a : (this._writeOffs = new
|
|
203
|
+
return ((_a = this._writeOffs) !== null && _a !== void 0 ? _a : (this._writeOffs = new Client_31.WriteOffs(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
199
204
|
}
|
|
200
205
|
get preEncounter() {
|
|
201
206
|
var _a;
|
|
202
|
-
return ((_a = this._preEncounter) !== null && _a !== void 0 ? _a : (this._preEncounter = new
|
|
207
|
+
return ((_a = this._preEncounter) !== null && _a !== void 0 ? _a : (this._preEncounter = new Client_32.PreEncounter(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
203
208
|
}
|
|
204
209
|
get diagnoses() {
|
|
205
210
|
var _a;
|
|
206
|
-
return ((_a = this._diagnoses) !== null && _a !== void 0 ? _a : (this._diagnoses = new
|
|
211
|
+
return ((_a = this._diagnoses) !== null && _a !== void 0 ? _a : (this._diagnoses = new Client_33.Diagnoses(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
207
212
|
}
|
|
208
213
|
get serviceFacility() {
|
|
209
214
|
var _a;
|
|
210
|
-
return ((_a = this._serviceFacility) !== null && _a !== void 0 ? _a : (this._serviceFacility = new
|
|
215
|
+
return ((_a = this._serviceFacility) !== null && _a !== void 0 ? _a : (this._serviceFacility = new Client_34.ServiceFacility(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
211
216
|
}
|
|
212
217
|
}
|
|
213
218
|
exports.CandidApiClient = CandidApiClient;
|
|
@@ -87,7 +87,7 @@ class V2 {
|
|
|
87
87
|
Authorization: yield this._getAuthorizationHeader(),
|
|
88
88
|
"X-Fern-Language": "JavaScript",
|
|
89
89
|
"X-Fern-SDK-Name": "candidhealth",
|
|
90
|
-
"X-Fern-SDK-Version": "0.
|
|
90
|
+
"X-Fern-SDK-Version": "0.38.0",
|
|
91
91
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
92
92
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
93
93
|
},
|
|
@@ -32,5 +32,24 @@ export declare class V2 {
|
|
|
32
32
|
* })
|
|
33
33
|
*/
|
|
34
34
|
create(request: CandidApi.billingNotes.v2.StandaloneBillingNoteCreate, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.billingNotes.v2.BillingNote, CandidApi.billingNotes.v2.create.Error>>;
|
|
35
|
+
/**
|
|
36
|
+
* @param {CandidApi.billingNotes.v2.BillingNoteId} billingNoteId
|
|
37
|
+
* @param {V2.RequestOptions} requestOptions - Request-specific configuration.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* await client.billingNotes.v2.delete(CandidApi.billingNotes.v2.BillingNoteId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
41
|
+
*/
|
|
42
|
+
delete(billingNoteId: CandidApi.billingNotes.v2.BillingNoteId, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<void, CandidApi.billingNotes.v2.delete.Error>>;
|
|
43
|
+
/**
|
|
44
|
+
* @param {CandidApi.billingNotes.v2.BillingNoteId} billingNoteId
|
|
45
|
+
* @param {CandidApi.billingNotes.v2.BillingNoteUpdate} request
|
|
46
|
+
* @param {V2.RequestOptions} requestOptions - Request-specific configuration.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* await client.billingNotes.v2.update(CandidApi.billingNotes.v2.BillingNoteId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
50
|
+
* text: "string"
|
|
51
|
+
* })
|
|
52
|
+
*/
|
|
53
|
+
update(billingNoteId: CandidApi.billingNotes.v2.BillingNoteId, request: CandidApi.billingNotes.v2.BillingNoteUpdate, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.billingNotes.v2.BillingNote, CandidApi.billingNotes.v2.update.Error>>;
|
|
35
54
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
36
55
|
}
|