candidhealth 0.24.5 → 0.25.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 +13 -8
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/api/resources/commons/types/AppointmentId.d.ts +8 -0
- package/api/resources/commons/types/AppointmentId.js +10 -0
- package/api/resources/commons/types/index.d.ts +1 -0
- package/api/resources/commons/types/index.js +1 -0
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounters/resources/v4/client/Client.js +4 -4
- 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/financials/types/AllocationTarget.d.ts +4 -1
- package/api/resources/financials/types/AllocationTargetCreate.d.ts +5 -1
- package/api/resources/financials/types/AppointmentAllocationTarget.d.ts +7 -0
- package/api/resources/financials/types/index.d.ts +1 -0
- package/api/resources/financials/types/index.js +1 -0
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/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/{patients/resources/v1 → common}/types/ExternalProvider.d.ts +3 -2
- package/api/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts +8 -0
- package/api/resources/preEncounter/resources/common/types/ExternalProviderType.js +10 -0
- package/api/resources/preEncounter/resources/common/types/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/common/types/index.js +2 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +6 -4
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +12 -10
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +2 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +289 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +78 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +21 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +5 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +1 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +2 -16
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +9 -23
- package/api/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +0 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +4 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +0 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +0 -1
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/client/Client.d.ts +26 -0
- package/api/resources/serviceLines/client/Client.js +17 -0
- package/api/resources/serviceLines/client/index.d.ts +1 -0
- package/api/resources/serviceLines/client/index.js +2 -0
- package/api/resources/serviceLines/index.d.ts +1 -0
- package/api/resources/serviceLines/index.js +1 -0
- package/api/resources/serviceLines/resources/v2/client/Client.d.ts +92 -0
- package/api/resources/serviceLines/resources/v2/client/Client.js +238 -0
- package/api/resources/serviceLines/resources/v2/client/create.d.ts +28 -0
- package/api/resources/serviceLines/resources/v2/client/create.js +58 -0
- package/api/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
- package/api/resources/serviceLines/resources/v2/client/index.js +28 -0
- package/api/resources/serviceLines/resources/v2/client/update.d.ts +40 -0
- package/api/resources/serviceLines/resources/v2/client/update.js +80 -0
- package/api/resources/serviceLines/resources/v2/index.d.ts +1 -0
- package/api/resources/serviceLines/resources/v2/index.js +1 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +36 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +5 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +37 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +5 -0
- package/api/resources/serviceLines/resources/v2/types/index.d.ts +2 -0
- package/api/resources/serviceLines/resources/v2/types/index.js +2 -0
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/api/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +2 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +13 -8
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/commons/types/AppointmentId.d.ts +8 -0
- package/dist/api/resources/commons/types/AppointmentId.js +10 -0
- package/dist/api/resources/commons/types/index.d.ts +1 -0
- package/dist/api/resources/commons/types/index.js +1 -0
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
- 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/financials/types/AllocationTarget.d.ts +4 -1
- package/dist/api/resources/financials/types/AllocationTargetCreate.d.ts +5 -1
- package/dist/api/resources/financials/types/AppointmentAllocationTarget.d.ts +7 -0
- package/dist/api/resources/financials/types/AppointmentAllocationTarget.js +5 -0
- package/dist/api/resources/financials/types/index.d.ts +1 -0
- package/dist/api/resources/financials/types/index.js +1 -0
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/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/{patients/resources/v1 → common}/types/ExternalProvider.d.ts +3 -2
- package/dist/api/resources/preEncounter/resources/common/types/ExternalProvider.js +5 -0
- package/dist/api/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts +8 -0
- package/dist/api/resources/preEncounter/resources/common/types/ExternalProviderType.js +10 -0
- package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/common/types/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +6 -4
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +12 -10
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +2 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +289 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +78 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +21 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +1 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +2 -16
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +9 -23
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +0 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +4 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +0 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +0 -1
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/client/Client.d.ts +26 -0
- package/dist/api/resources/serviceLines/client/Client.js +17 -0
- package/dist/api/resources/serviceLines/client/index.d.ts +1 -0
- package/dist/api/resources/serviceLines/client/index.js +2 -0
- package/dist/api/resources/serviceLines/index.d.ts +1 -0
- package/dist/api/resources/serviceLines/index.js +1 -0
- package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +92 -0
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +238 -0
- package/dist/api/resources/serviceLines/resources/v2/client/create.d.ts +28 -0
- package/dist/api/resources/serviceLines/resources/v2/client/create.js +58 -0
- package/dist/api/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
- package/dist/api/resources/serviceLines/resources/v2/client/index.js +28 -0
- package/dist/api/resources/serviceLines/resources/v2/client/update.d.ts +40 -0
- package/dist/api/resources/serviceLines/resources/v2/client/update.js +80 -0
- package/dist/api/resources/serviceLines/resources/v2/index.d.ts +1 -0
- package/dist/api/resources/serviceLines/resources/v2/index.js +1 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +36 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +5 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +37 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +5 -0
- package/dist/api/resources/serviceLines/resources/v2/types/index.d.ts +2 -0
- package/dist/api/resources/serviceLines/resources/v2/types/index.js +2 -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/api/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +2 -0
- package/dist/serialization/resources/commons/types/AppointmentId.d.ts +10 -0
- package/dist/serialization/resources/commons/types/AppointmentId.js +35 -0
- package/dist/serialization/resources/commons/types/index.d.ts +1 -0
- package/dist/serialization/resources/commons/types/index.js +1 -0
- package/dist/serialization/resources/financials/types/AllocationTarget.d.ts +5 -1
- package/dist/serialization/resources/financials/types/AllocationTarget.js +2 -0
- package/dist/serialization/resources/financials/types/AllocationTargetCreate.d.ts +6 -1
- package/dist/serialization/resources/financials/types/AllocationTargetCreate.js +4 -0
- package/dist/serialization/resources/financials/types/AppointmentAllocationTarget.d.ts +13 -0
- package/dist/serialization/resources/financials/types/AppointmentAllocationTarget.js +34 -0
- package/dist/serialization/resources/financials/types/index.d.ts +1 -0
- package/dist/serialization/resources/financials/types/index.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +22 -0
- package/dist/serialization/resources/preEncounter/resources/{patients/resources/v1 → common}/types/ExternalProvider.js +8 -6
- package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.js +31 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/index.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +3 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.js +3 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +102 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +5 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +2 -2
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +0 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.js +0 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -3
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +3 -3
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +0 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +0 -1
- package/dist/serialization/resources/serviceLines/resources/v2/client/create.d.ts +15 -0
- package/dist/serialization/resources/serviceLines/resources/v2/client/create.js +61 -0
- package/dist/serialization/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/client/index.js +28 -0
- package/dist/serialization/resources/serviceLines/resources/v2/client/update.d.ts +25 -0
- package/dist/serialization/resources/serviceLines/resources/v2/client/update.js +73 -0
- package/dist/serialization/resources/serviceLines/resources/v2/index.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/index.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +43 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +64 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +42 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +63 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.d.ts +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.js +2 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +4 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.js +4 -0
- package/package.json +1 -1
- package/reference.md +164 -24
- package/serialization/resources/commons/types/AppointmentId.d.ts +10 -0
- package/serialization/resources/commons/types/AppointmentId.js +35 -0
- package/serialization/resources/commons/types/index.d.ts +1 -0
- package/serialization/resources/commons/types/index.js +1 -0
- package/serialization/resources/financials/types/AllocationTarget.d.ts +5 -1
- package/serialization/resources/financials/types/AllocationTarget.js +2 -0
- package/serialization/resources/financials/types/AllocationTargetCreate.d.ts +6 -1
- package/serialization/resources/financials/types/AllocationTargetCreate.js +4 -0
- package/serialization/resources/financials/types/AppointmentAllocationTarget.d.ts +13 -0
- package/serialization/resources/financials/types/AppointmentAllocationTarget.js +34 -0
- package/serialization/resources/financials/types/index.d.ts +1 -0
- package/serialization/resources/financials/types/index.js +1 -0
- package/serialization/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +22 -0
- package/serialization/resources/preEncounter/resources/{patients/resources/v1 → common}/types/ExternalProvider.js +8 -6
- package/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.js +31 -0
- package/serialization/resources/preEncounter/resources/common/types/index.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/common/types/index.js +2 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +3 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.js +3 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +102 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +5 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +2 -2
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +0 -2
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.js +0 -2
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -3
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +3 -3
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +0 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +0 -1
- package/serialization/resources/serviceLines/resources/v2/client/create.d.ts +15 -0
- package/serialization/resources/serviceLines/resources/v2/client/create.js +61 -0
- package/serialization/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
- package/serialization/resources/serviceLines/resources/v2/client/index.js +28 -0
- package/serialization/resources/serviceLines/resources/v2/client/update.d.ts +25 -0
- package/serialization/resources/serviceLines/resources/v2/client/update.js +73 -0
- package/serialization/resources/serviceLines/resources/v2/index.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/index.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +43 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +64 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +42 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +63 -0
- package/serialization/resources/serviceLines/resources/v2/types/index.d.ts +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/index.js +2 -0
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +4 -0
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.js +4 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/ExternalProvider.d.ts +0 -20
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/ExternalProvider.d.ts +0 -20
- /package/api/resources/{preEncounter/resources/patients/resources/v1/types/ExternalProvider.js → financials/types/AppointmentAllocationTarget.js} +0 -0
- /package/{dist/api/resources/preEncounter/resources/patients/resources/v1 → api/resources/preEncounter/resources/common}/types/ExternalProvider.js +0 -0
package/Client.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ import { OrganizationProviders } from "./api/resources/organizationProviders/cli
|
|
|
23
23
|
import { PatientPayments } from "./api/resources/patientPayments/client/Client";
|
|
24
24
|
import { PatientRefunds } from "./api/resources/patientRefunds/client/Client";
|
|
25
25
|
import { Payers } from "./api/resources/payers/client/Client";
|
|
26
|
+
import { ServiceLines } from "./api/resources/serviceLines/client/Client";
|
|
26
27
|
import { Tasks } from "./api/resources/tasks/client/Client";
|
|
27
28
|
import { WriteOffs } from "./api/resources/writeOffs/client/Client";
|
|
28
29
|
import { PreEncounter } from "./api/resources/preEncounter/client/Client";
|
|
@@ -86,6 +87,8 @@ export declare class CandidApiClient {
|
|
|
86
87
|
get patientRefunds(): PatientRefunds;
|
|
87
88
|
protected _payers: Payers | undefined;
|
|
88
89
|
get payers(): Payers;
|
|
90
|
+
protected _serviceLines: ServiceLines | undefined;
|
|
91
|
+
get serviceLines(): ServiceLines;
|
|
89
92
|
protected _tasks: Tasks | undefined;
|
|
90
93
|
get tasks(): Tasks;
|
|
91
94
|
protected _writeOffs: WriteOffs | undefined;
|
package/Client.js
CHANGED
|
@@ -58,10 +58,11 @@ const Client_18 = require("./api/resources/organizationProviders/client/Client")
|
|
|
58
58
|
const Client_19 = require("./api/resources/patientPayments/client/Client");
|
|
59
59
|
const Client_20 = require("./api/resources/patientRefunds/client/Client");
|
|
60
60
|
const Client_21 = require("./api/resources/payers/client/Client");
|
|
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/
|
|
61
|
+
const Client_22 = require("./api/resources/serviceLines/client/Client");
|
|
62
|
+
const Client_23 = require("./api/resources/tasks/client/Client");
|
|
63
|
+
const Client_24 = require("./api/resources/writeOffs/client/Client");
|
|
64
|
+
const Client_25 = require("./api/resources/preEncounter/client/Client");
|
|
65
|
+
const Client_26 = require("./api/resources/serviceFacility/client/Client");
|
|
65
66
|
class CandidApiClient {
|
|
66
67
|
constructor(_options) {
|
|
67
68
|
this._options = _options;
|
|
@@ -153,21 +154,25 @@ class CandidApiClient {
|
|
|
153
154
|
var _a;
|
|
154
155
|
return ((_a = this._payers) !== null && _a !== void 0 ? _a : (this._payers = new Client_21.Payers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
155
156
|
}
|
|
157
|
+
get serviceLines() {
|
|
158
|
+
var _a;
|
|
159
|
+
return ((_a = this._serviceLines) !== null && _a !== void 0 ? _a : (this._serviceLines = new Client_22.ServiceLines(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
160
|
+
}
|
|
156
161
|
get tasks() {
|
|
157
162
|
var _a;
|
|
158
|
-
return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new
|
|
163
|
+
return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new Client_23.Tasks(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
159
164
|
}
|
|
160
165
|
get writeOffs() {
|
|
161
166
|
var _a;
|
|
162
|
-
return ((_a = this._writeOffs) !== null && _a !== void 0 ? _a : (this._writeOffs = new
|
|
167
|
+
return ((_a = this._writeOffs) !== null && _a !== void 0 ? _a : (this._writeOffs = new Client_24.WriteOffs(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
163
168
|
}
|
|
164
169
|
get preEncounter() {
|
|
165
170
|
var _a;
|
|
166
|
-
return ((_a = this._preEncounter) !== null && _a !== void 0 ? _a : (this._preEncounter = new
|
|
171
|
+
return ((_a = this._preEncounter) !== null && _a !== void 0 ? _a : (this._preEncounter = new Client_25.PreEncounter(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
167
172
|
}
|
|
168
173
|
get serviceFacility() {
|
|
169
174
|
var _a;
|
|
170
|
-
return ((_a = this._serviceFacility) !== null && _a !== void 0 ? _a : (this._serviceFacility = new
|
|
175
|
+
return ((_a = this._serviceFacility) !== null && _a !== void 0 ? _a : (this._serviceFacility = new Client_26.ServiceFacility(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
171
176
|
}
|
|
172
177
|
}
|
|
173
178
|
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.25.0",
|
|
91
91
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
92
92
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
93
93
|
},
|
|
@@ -69,7 +69,7 @@ class V2 {
|
|
|
69
69
|
Authorization: yield this._getAuthorizationHeader(),
|
|
70
70
|
"X-Fern-Language": "JavaScript",
|
|
71
71
|
"X-Fern-SDK-Name": "candidhealth",
|
|
72
|
-
"X-Fern-SDK-Version": "0.
|
|
72
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
73
73
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
74
74
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
75
75
|
},
|
|
@@ -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 AppointmentId = string & {
|
|
6
|
+
AppointmentId: void;
|
|
7
|
+
};
|
|
8
|
+
export declare function AppointmentId(value: string): CandidApi.AppointmentId;
|
|
@@ -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.AppointmentId = void 0;
|
|
7
|
+
function AppointmentId(value) {
|
|
8
|
+
return value;
|
|
9
|
+
}
|
|
10
|
+
exports.AppointmentId = AppointmentId;
|
|
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./EncounterId"), exports);
|
|
18
18
|
__exportStar(require("./OrganizationId"), exports);
|
|
19
19
|
__exportStar(require("./ClaimId"), exports);
|
|
20
|
+
__exportStar(require("./AppointmentId"), exports);
|
|
20
21
|
__exportStar(require("./ServiceLineId"), exports);
|
|
21
22
|
__exportStar(require("./PatientExternalId"), exports);
|
|
22
23
|
__exportStar(require("./EncounterExternalId"), 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.25.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.25.0",
|
|
175
175
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
176
176
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
177
177
|
},
|
|
@@ -239,7 +239,7 @@ class V2 {
|
|
|
239
239
|
Authorization: yield this._getAuthorizationHeader(),
|
|
240
240
|
"X-Fern-Language": "JavaScript",
|
|
241
241
|
"X-Fern-SDK-Name": "candidhealth",
|
|
242
|
-
"X-Fern-SDK-Version": "0.
|
|
242
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
243
243
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
244
244
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
245
245
|
},
|
|
@@ -285,7 +285,7 @@ class V2 {
|
|
|
285
285
|
Authorization: yield this._getAuthorizationHeader(),
|
|
286
286
|
"X-Fern-Language": "JavaScript",
|
|
287
287
|
"X-Fern-SDK-Name": "candidhealth",
|
|
288
|
-
"X-Fern-SDK-Version": "0.
|
|
288
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
289
289
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
290
290
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
291
291
|
},
|
|
@@ -373,7 +373,7 @@ class V2 {
|
|
|
373
373
|
Authorization: yield this._getAuthorizationHeader(),
|
|
374
374
|
"X-Fern-Language": "JavaScript",
|
|
375
375
|
"X-Fern-SDK-Name": "candidhealth",
|
|
376
|
-
"X-Fern-SDK-Version": "0.
|
|
376
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
377
377
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
378
378
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
379
379
|
},
|
|
@@ -67,7 +67,7 @@ class V1 {
|
|
|
67
67
|
Authorization: yield this._getAuthorizationHeader(),
|
|
68
68
|
"X-Fern-Language": "JavaScript",
|
|
69
69
|
"X-Fern-SDK-Name": "candidhealth",
|
|
70
|
-
"X-Fern-SDK-Version": "0.
|
|
70
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
71
71
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
72
72
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
73
73
|
},
|
|
@@ -128,7 +128,7 @@ class V1 {
|
|
|
128
128
|
Authorization: yield this._getAuthorizationHeader(),
|
|
129
129
|
"X-Fern-Language": "JavaScript",
|
|
130
130
|
"X-Fern-SDK-Name": "candidhealth",
|
|
131
|
-
"X-Fern-SDK-Version": "0.
|
|
131
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
132
132
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
133
133
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
134
134
|
},
|
|
@@ -207,7 +207,7 @@ class V1 {
|
|
|
207
207
|
Authorization: yield this._getAuthorizationHeader(),
|
|
208
208
|
"X-Fern-Language": "JavaScript",
|
|
209
209
|
"X-Fern-SDK-Name": "candidhealth",
|
|
210
|
-
"X-Fern-SDK-Version": "0.
|
|
210
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
211
211
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
212
212
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
213
213
|
},
|
|
@@ -277,7 +277,7 @@ class V1 {
|
|
|
277
277
|
Authorization: yield this._getAuthorizationHeader(),
|
|
278
278
|
"X-Fern-Language": "JavaScript",
|
|
279
279
|
"X-Fern-SDK-Name": "candidhealth",
|
|
280
|
-
"X-Fern-SDK-Version": "0.
|
|
280
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
281
281
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
282
282
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
283
283
|
},
|
|
@@ -83,7 +83,7 @@ class V2 {
|
|
|
83
83
|
Authorization: yield this._getAuthorizationHeader(),
|
|
84
84
|
"X-Fern-Language": "JavaScript",
|
|
85
85
|
"X-Fern-SDK-Name": "candidhealth",
|
|
86
|
-
"X-Fern-SDK-Version": "0.
|
|
86
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
87
87
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
88
88
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
89
89
|
},
|
|
@@ -156,7 +156,7 @@ class V2 {
|
|
|
156
156
|
Authorization: yield this._getAuthorizationHeader(),
|
|
157
157
|
"X-Fern-Language": "JavaScript",
|
|
158
158
|
"X-Fern-SDK-Name": "candidhealth",
|
|
159
|
-
"X-Fern-SDK-Version": "0.
|
|
159
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
160
160
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
161
161
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
162
162
|
},
|
|
@@ -227,7 +227,7 @@ class V2 {
|
|
|
227
227
|
Authorization: yield this._getAuthorizationHeader(),
|
|
228
228
|
"X-Fern-Language": "JavaScript",
|
|
229
229
|
"X-Fern-SDK-Name": "candidhealth",
|
|
230
|
-
"X-Fern-SDK-Version": "0.
|
|
230
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
231
231
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
232
232
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
233
233
|
},
|
|
@@ -132,7 +132,7 @@ class V4 {
|
|
|
132
132
|
Authorization: yield this._getAuthorizationHeader(),
|
|
133
133
|
"X-Fern-Language": "JavaScript",
|
|
134
134
|
"X-Fern-SDK-Name": "candidhealth",
|
|
135
|
-
"X-Fern-SDK-Version": "0.
|
|
135
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
136
136
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
137
137
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
138
138
|
},
|
|
@@ -178,7 +178,7 @@ class V4 {
|
|
|
178
178
|
Authorization: yield this._getAuthorizationHeader(),
|
|
179
179
|
"X-Fern-Language": "JavaScript",
|
|
180
180
|
"X-Fern-SDK-Name": "candidhealth",
|
|
181
|
-
"X-Fern-SDK-Version": "0.
|
|
181
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
182
182
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
183
183
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
184
184
|
},
|
|
@@ -600,7 +600,7 @@ class V4 {
|
|
|
600
600
|
Authorization: yield this._getAuthorizationHeader(),
|
|
601
601
|
"X-Fern-Language": "JavaScript",
|
|
602
602
|
"X-Fern-SDK-Name": "candidhealth",
|
|
603
|
-
"X-Fern-SDK-Version": "0.
|
|
603
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
604
604
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
605
605
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
606
606
|
},
|
|
@@ -769,7 +769,7 @@ class V4 {
|
|
|
769
769
|
Authorization: yield this._getAuthorizationHeader(),
|
|
770
770
|
"X-Fern-Language": "JavaScript",
|
|
771
771
|
"X-Fern-SDK-Name": "candidhealth",
|
|
772
|
-
"X-Fern-SDK-Version": "0.
|
|
772
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
773
773
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
774
774
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
775
775
|
},
|
|
@@ -79,7 +79,7 @@ class V1 {
|
|
|
79
79
|
Authorization: yield this._getAuthorizationHeader(),
|
|
80
80
|
"X-Fern-Language": "JavaScript",
|
|
81
81
|
"X-Fern-SDK-Name": "candidhealth",
|
|
82
|
-
"X-Fern-SDK-Version": "0.
|
|
82
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
83
83
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
84
84
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
85
85
|
},
|
|
@@ -86,7 +86,7 @@ class V2 {
|
|
|
86
86
|
Authorization: yield this._getAuthorizationHeader(),
|
|
87
87
|
"X-Fern-Language": "JavaScript",
|
|
88
88
|
"X-Fern-SDK-Name": "candidhealth",
|
|
89
|
-
"X-Fern-SDK-Version": "0.
|
|
89
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
90
90
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
91
91
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
92
92
|
},
|
|
@@ -169,7 +169,7 @@ class V2 {
|
|
|
169
169
|
Authorization: yield this._getAuthorizationHeader(),
|
|
170
170
|
"X-Fern-Language": "JavaScript",
|
|
171
171
|
"X-Fern-SDK-Name": "candidhealth",
|
|
172
|
-
"X-Fern-SDK-Version": "0.
|
|
172
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
173
173
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
174
174
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
175
175
|
},
|
|
@@ -86,7 +86,7 @@ class V3 {
|
|
|
86
86
|
Authorization: yield this._getAuthorizationHeader(),
|
|
87
87
|
"X-Fern-Language": "JavaScript",
|
|
88
88
|
"X-Fern-SDK-Name": "candidhealth",
|
|
89
|
-
"X-Fern-SDK-Version": "0.
|
|
89
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
90
90
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
91
91
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
92
92
|
},
|
|
@@ -82,7 +82,7 @@ class V1 {
|
|
|
82
82
|
Authorization: yield this._getAuthorizationHeader(),
|
|
83
83
|
"X-Fern-Language": "JavaScript",
|
|
84
84
|
"X-Fern-SDK-Name": "candidhealth",
|
|
85
|
-
"X-Fern-SDK-Version": "0.
|
|
85
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
86
86
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
87
87
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
88
88
|
},
|
|
@@ -68,7 +68,7 @@ class V3 {
|
|
|
68
68
|
Authorization: yield this._getAuthorizationHeader(),
|
|
69
69
|
"X-Fern-Language": "JavaScript",
|
|
70
70
|
"X-Fern-SDK-Name": "candidhealth",
|
|
71
|
-
"X-Fern-SDK-Version": "0.
|
|
71
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
72
72
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
73
73
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
74
74
|
},
|
|
@@ -131,7 +131,7 @@ class V3 {
|
|
|
131
131
|
Authorization: yield this._getAuthorizationHeader(),
|
|
132
132
|
"X-Fern-Language": "JavaScript",
|
|
133
133
|
"X-Fern-SDK-Name": "candidhealth",
|
|
134
|
-
"X-Fern-SDK-Version": "0.
|
|
134
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
135
135
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
136
136
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
137
137
|
},
|
|
@@ -274,7 +274,7 @@ class V3 {
|
|
|
274
274
|
Authorization: yield this._getAuthorizationHeader(),
|
|
275
275
|
"X-Fern-Language": "JavaScript",
|
|
276
276
|
"X-Fern-SDK-Name": "candidhealth",
|
|
277
|
-
"X-Fern-SDK-Version": "0.
|
|
277
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
278
278
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
279
279
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
280
280
|
},
|
|
@@ -401,7 +401,7 @@ class V3 {
|
|
|
401
401
|
Authorization: yield this._getAuthorizationHeader(),
|
|
402
402
|
"X-Fern-Language": "JavaScript",
|
|
403
403
|
"X-Fern-SDK-Name": "candidhealth",
|
|
404
|
-
"X-Fern-SDK-Version": "0.
|
|
404
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
405
405
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
406
406
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
407
407
|
},
|
|
@@ -449,7 +449,7 @@ class V3 {
|
|
|
449
449
|
Authorization: yield this._getAuthorizationHeader(),
|
|
450
450
|
"X-Fern-Language": "JavaScript",
|
|
451
451
|
"X-Fern-SDK-Name": "candidhealth",
|
|
452
|
-
"X-Fern-SDK-Version": "0.
|
|
452
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
453
453
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
454
454
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
455
455
|
},
|
|
@@ -531,7 +531,7 @@ class V3 {
|
|
|
531
531
|
Authorization: yield this._getAuthorizationHeader(),
|
|
532
532
|
"X-Fern-Language": "JavaScript",
|
|
533
533
|
"X-Fern-SDK-Name": "candidhealth",
|
|
534
|
-
"X-Fern-SDK-Version": "0.
|
|
534
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
535
535
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
536
536
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
537
537
|
},
|
|
@@ -596,7 +596,7 @@ class V3 {
|
|
|
596
596
|
Authorization: yield this._getAuthorizationHeader(),
|
|
597
597
|
"X-Fern-Language": "JavaScript",
|
|
598
598
|
"X-Fern-SDK-Name": "candidhealth",
|
|
599
|
-
"X-Fern-SDK-Version": "0.
|
|
599
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
600
600
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
601
601
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
602
602
|
},
|
|
@@ -652,7 +652,7 @@ class V3 {
|
|
|
652
652
|
Authorization: yield this._getAuthorizationHeader(),
|
|
653
653
|
"X-Fern-Language": "JavaScript",
|
|
654
654
|
"X-Fern-SDK-Name": "candidhealth",
|
|
655
|
-
"X-Fern-SDK-Version": "0.
|
|
655
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
656
656
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
657
657
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
658
658
|
},
|
|
@@ -709,7 +709,7 @@ class V3 {
|
|
|
709
709
|
Authorization: yield this._getAuthorizationHeader(),
|
|
710
710
|
"X-Fern-Language": "JavaScript",
|
|
711
711
|
"X-Fern-SDK-Name": "candidhealth",
|
|
712
|
-
"X-Fern-SDK-Version": "0.
|
|
712
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
713
713
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
714
714
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
715
715
|
},
|
|
@@ -762,7 +762,7 @@ class V3 {
|
|
|
762
762
|
Authorization: yield this._getAuthorizationHeader(),
|
|
763
763
|
"X-Fern-Language": "JavaScript",
|
|
764
764
|
"X-Fern-SDK-Name": "candidhealth",
|
|
765
|
-
"X-Fern-SDK-Version": "0.
|
|
765
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
766
766
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
767
767
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
768
768
|
},
|
|
@@ -6,7 +6,7 @@ import * as CandidApi from "../../../index";
|
|
|
6
6
|
* Allocation targets describe whether the portion of a payment is being applied toward a specific service line,
|
|
7
7
|
* claim, billing provider, or is unallocated.
|
|
8
8
|
*/
|
|
9
|
-
export declare type AllocationTarget = CandidApi.AllocationTarget.ServiceLine | CandidApi.AllocationTarget.Claim | CandidApi.AllocationTarget.BillingProviderId | CandidApi.AllocationTarget.Unattributed;
|
|
9
|
+
export declare type AllocationTarget = CandidApi.AllocationTarget.ServiceLine | CandidApi.AllocationTarget.Claim | CandidApi.AllocationTarget.BillingProviderId | CandidApi.AllocationTarget.Appointment | CandidApi.AllocationTarget.Unattributed;
|
|
10
10
|
export declare namespace AllocationTarget {
|
|
11
11
|
interface ServiceLine extends CandidApi.ServiceLineAllocationTarget {
|
|
12
12
|
type: "service_line";
|
|
@@ -17,6 +17,9 @@ export declare namespace AllocationTarget {
|
|
|
17
17
|
interface BillingProviderId extends CandidApi.BillingProviderAllocationTarget {
|
|
18
18
|
type: "billing_provider_id";
|
|
19
19
|
}
|
|
20
|
+
interface Appointment extends CandidApi.AppointmentAllocationTarget {
|
|
21
|
+
type: "appointment";
|
|
22
|
+
}
|
|
20
23
|
interface Unattributed {
|
|
21
24
|
type: "unattributed";
|
|
22
25
|
}
|
|
@@ -6,7 +6,7 @@ import * as CandidApi from "../../../index";
|
|
|
6
6
|
* Allocation targets describe whether the portion of a payment is being applied toward a specific service line,
|
|
7
7
|
* claim, billing provider, or is unallocated.
|
|
8
8
|
*/
|
|
9
|
-
export declare type AllocationTargetCreate = CandidApi.AllocationTargetCreate.ServiceLineById | CandidApi.AllocationTargetCreate.ClaimById | CandidApi.AllocationTargetCreate.ClaimByEncounterExternalId | CandidApi.AllocationTargetCreate.BillingProviderById | CandidApi.AllocationTargetCreate.Unattributed;
|
|
9
|
+
export declare type AllocationTargetCreate = CandidApi.AllocationTargetCreate.ServiceLineById | CandidApi.AllocationTargetCreate.ClaimById | CandidApi.AllocationTargetCreate.ClaimByEncounterExternalId | CandidApi.AllocationTargetCreate.BillingProviderById | CandidApi.AllocationTargetCreate.AppointmentById | CandidApi.AllocationTargetCreate.Unattributed;
|
|
10
10
|
export declare namespace AllocationTargetCreate {
|
|
11
11
|
interface ServiceLineById {
|
|
12
12
|
type: "service_line_by_id";
|
|
@@ -24,6 +24,10 @@ export declare namespace AllocationTargetCreate {
|
|
|
24
24
|
type: "billing_provider_by_id";
|
|
25
25
|
value: CandidApi.ProviderId;
|
|
26
26
|
}
|
|
27
|
+
interface AppointmentById {
|
|
28
|
+
type: "appointment_by_id";
|
|
29
|
+
value: CandidApi.AppointmentId;
|
|
30
|
+
}
|
|
27
31
|
interface Unattributed {
|
|
28
32
|
type: "unattributed";
|
|
29
33
|
}
|
|
@@ -4,6 +4,7 @@ export * from "./Allocation";
|
|
|
4
4
|
export * from "./ServiceLineAllocationTarget";
|
|
5
5
|
export * from "./ClaimAllocationTarget";
|
|
6
6
|
export * from "./BillingProviderAllocationTarget";
|
|
7
|
+
export * from "./AppointmentAllocationTarget";
|
|
7
8
|
export * from "./AllocationTarget";
|
|
8
9
|
export * from "./AllocationCreate";
|
|
9
10
|
export * from "./AllocationTargetCreate";
|
|
@@ -20,6 +20,7 @@ __exportStar(require("./Allocation"), exports);
|
|
|
20
20
|
__exportStar(require("./ServiceLineAllocationTarget"), exports);
|
|
21
21
|
__exportStar(require("./ClaimAllocationTarget"), exports);
|
|
22
22
|
__exportStar(require("./BillingProviderAllocationTarget"), exports);
|
|
23
|
+
__exportStar(require("./AppointmentAllocationTarget"), exports);
|
|
23
24
|
__exportStar(require("./AllocationTarget"), exports);
|
|
24
25
|
__exportStar(require("./AllocationCreate"), exports);
|
|
25
26
|
__exportStar(require("./AllocationTargetCreate"), exports);
|
|
@@ -89,7 +89,7 @@ class V1 {
|
|
|
89
89
|
Authorization: yield this._getAuthorizationHeader(),
|
|
90
90
|
"X-Fern-Language": "JavaScript",
|
|
91
91
|
"X-Fern-SDK-Name": "candidhealth",
|
|
92
|
-
"X-Fern-SDK-Version": "0.
|
|
92
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
93
93
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
94
94
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
95
95
|
},
|
|
@@ -152,7 +152,7 @@ class V1 {
|
|
|
152
152
|
Authorization: yield this._getAuthorizationHeader(),
|
|
153
153
|
"X-Fern-Language": "JavaScript",
|
|
154
154
|
"X-Fern-SDK-Name": "candidhealth",
|
|
155
|
-
"X-Fern-SDK-Version": "0.
|
|
155
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
156
156
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
157
157
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
158
158
|
},
|
|
@@ -220,7 +220,7 @@ class V1 {
|
|
|
220
220
|
Authorization: yield this._getAuthorizationHeader(),
|
|
221
221
|
"X-Fern-Language": "JavaScript",
|
|
222
222
|
"X-Fern-SDK-Name": "candidhealth",
|
|
223
|
-
"X-Fern-SDK-Version": "0.
|
|
223
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
224
224
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
225
225
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
226
226
|
},
|
|
@@ -78,7 +78,7 @@ class V1 {
|
|
|
78
78
|
Authorization: yield this._getAuthorizationHeader(),
|
|
79
79
|
"X-Fern-Language": "JavaScript",
|
|
80
80
|
"X-Fern-SDK-Name": "candidhealth",
|
|
81
|
-
"X-Fern-SDK-Version": "0.
|
|
81
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
82
82
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
83
83
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
84
84
|
},
|
|
@@ -176,7 +176,7 @@ class V1 {
|
|
|
176
176
|
Authorization: yield this._getAuthorizationHeader(),
|
|
177
177
|
"X-Fern-Language": "JavaScript",
|
|
178
178
|
"X-Fern-SDK-Name": "candidhealth",
|
|
179
|
-
"X-Fern-SDK-Version": "0.
|
|
179
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
180
180
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
181
181
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
182
182
|
},
|
|
@@ -224,7 +224,7 @@ class V1 {
|
|
|
224
224
|
Authorization: yield this._getAuthorizationHeader(),
|
|
225
225
|
"X-Fern-Language": "JavaScript",
|
|
226
226
|
"X-Fern-SDK-Name": "candidhealth",
|
|
227
|
-
"X-Fern-SDK-Version": "0.
|
|
227
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
228
228
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
229
229
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
230
230
|
},
|
|
@@ -295,7 +295,7 @@ class V1 {
|
|
|
295
295
|
Authorization: yield this._getAuthorizationHeader(),
|
|
296
296
|
"X-Fern-Language": "JavaScript",
|
|
297
297
|
"X-Fern-SDK-Name": "candidhealth",
|
|
298
|
-
"X-Fern-SDK-Version": "0.
|
|
298
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
299
299
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
300
300
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
301
301
|
},
|
|
@@ -68,7 +68,7 @@ class V1 {
|
|
|
68
68
|
Authorization: yield this._getAuthorizationHeader(),
|
|
69
69
|
"X-Fern-Language": "JavaScript",
|
|
70
70
|
"X-Fern-SDK-Name": "candidhealth",
|
|
71
|
-
"X-Fern-SDK-Version": "0.
|
|
71
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
72
72
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
73
73
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
74
74
|
},
|
|
@@ -127,7 +127,7 @@ class V1 {
|
|
|
127
127
|
Authorization: yield this._getAuthorizationHeader(),
|
|
128
128
|
"X-Fern-Language": "JavaScript",
|
|
129
129
|
"X-Fern-SDK-Name": "candidhealth",
|
|
130
|
-
"X-Fern-SDK-Version": "0.
|
|
130
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
131
131
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
132
132
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
133
133
|
},
|
|
@@ -191,7 +191,7 @@ class V1 {
|
|
|
191
191
|
Authorization: yield this._getAuthorizationHeader(),
|
|
192
192
|
"X-Fern-Language": "JavaScript",
|
|
193
193
|
"X-Fern-SDK-Name": "candidhealth",
|
|
194
|
-
"X-Fern-SDK-Version": "0.
|
|
194
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
195
195
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
196
196
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
197
197
|
},
|
|
@@ -103,7 +103,7 @@ class V1 {
|
|
|
103
103
|
Authorization: yield this._getAuthorizationHeader(),
|
|
104
104
|
"X-Fern-Language": "JavaScript",
|
|
105
105
|
"X-Fern-SDK-Name": "candidhealth",
|
|
106
|
-
"X-Fern-SDK-Version": "0.
|
|
106
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
107
107
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
108
108
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
109
109
|
},
|
|
@@ -167,7 +167,7 @@ class V1 {
|
|
|
167
167
|
Authorization: yield this._getAuthorizationHeader(),
|
|
168
168
|
"X-Fern-Language": "JavaScript",
|
|
169
169
|
"X-Fern-SDK-Name": "candidhealth",
|
|
170
|
-
"X-Fern-SDK-Version": "0.
|
|
170
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
171
171
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
172
172
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
173
173
|
},
|
|
@@ -239,7 +239,7 @@ class V1 {
|
|
|
239
239
|
Authorization: yield this._getAuthorizationHeader(),
|
|
240
240
|
"X-Fern-Language": "JavaScript",
|
|
241
241
|
"X-Fern-SDK-Name": "candidhealth",
|
|
242
|
-
"X-Fern-SDK-Version": "0.
|
|
242
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
243
243
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
244
244
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
245
245
|
},
|
|
@@ -313,7 +313,7 @@ class V1 {
|
|
|
313
313
|
Authorization: yield this._getAuthorizationHeader(),
|
|
314
314
|
"X-Fern-Language": "JavaScript",
|
|
315
315
|
"X-Fern-SDK-Name": "candidhealth",
|
|
316
|
-
"X-Fern-SDK-Version": "0.
|
|
316
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
317
317
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
318
318
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
319
319
|
},
|
|
@@ -381,7 +381,7 @@ class V1 {
|
|
|
381
381
|
Authorization: yield this._getAuthorizationHeader(),
|
|
382
382
|
"X-Fern-Language": "JavaScript",
|
|
383
383
|
"X-Fern-SDK-Name": "candidhealth",
|
|
384
|
-
"X-Fern-SDK-Version": "0.
|
|
384
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
385
385
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
386
386
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
387
387
|
},
|