candidhealth 0.7.0 → 0.8.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 +15 -10
- 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/ResourcePage.d.ts +7 -0
- package/api/resources/commons/types/UpdatesDisabledDueToExternalSystemIntegrationErrorMessage.d.ts +6 -0
- package/api/resources/commons/types/UpdatesDisabledDueToExternalSystemIntegrationErrorMessage.js +5 -0
- package/api/resources/commons/types/index.d.ts +1 -0
- package/api/resources/commons/types/index.js +1 -0
- package/api/resources/eligibility/resources/v2/client/Client.js +1 -1
- package/api/resources/encounters/resources/v4/client/Client.js +4 -4
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +5 -0
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +6 -1
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/guarantor/resources/v1/client/Client.d.ts +15 -0
- package/api/resources/guarantor/resources/v1/client/Client.js +18 -3
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +2 -1
- package/api/resources/insuranceAdjudication/resources/v1/client/Client.d.ts +3 -0
- package/api/resources/insuranceAdjudication/resources/v1/client/Client.js +6 -3
- package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +3 -0
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +6 -3
- package/api/resources/organizationProviders/resources/v3/client/Client.js +6 -4
- package/api/resources/organizationProviders/resources/v3/client/create.d.ts +7 -1
- package/api/resources/organizationProviders/resources/v3/client/create.js +11 -0
- package/api/resources/organizationProviders/resources/v3/client/update.d.ts +7 -1
- package/api/resources/organizationProviders/resources/v3/client/update.js +11 -0
- package/api/resources/organizationServiceFacilities/client/Client.d.ts +18 -0
- package/api/resources/organizationServiceFacilities/client/Client.js +18 -0
- package/api/resources/organizationServiceFacilities/client/index.d.ts +1 -0
- package/api/resources/organizationServiceFacilities/client/index.js +2 -0
- package/api/resources/organizationServiceFacilities/index.d.ts +2 -0
- package/api/resources/organizationServiceFacilities/index.js +18 -0
- package/api/resources/organizationServiceFacilities/resources/index.d.ts +1 -0
- package/api/resources/organizationServiceFacilities/resources/index.js +27 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +22 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +263 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/create.d.ts +28 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/create.js +58 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/delete.d.ts +28 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/delete.js +58 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/get.d.ts +28 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/get.js +58 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/getMulti.d.ts +22 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/getMulti.js +47 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/index.d.ts +6 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/index.js +35 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/requests/GetAllOrganizationServiceFacilitiesRequest.d.ts +18 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/requests/GetAllOrganizationServiceFacilitiesRequest.js +5 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/requests/index.d.ts +1 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/requests/index.js +2 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/update.d.ts +34 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/update.js +69 -0
- package/api/resources/organizationServiceFacilities/resources/v2/index.d.ts +2 -0
- package/api/resources/organizationServiceFacilities/resources/v2/index.js +18 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +50 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.js +5 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +48 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.js +5 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityId.d.ts +12 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityId.js +10 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityPage.d.ts +32 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityPage.js +5 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +48 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.js +5 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityMode.d.ts +18 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityMode.js +10 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityOperationalStatus.d.ts +34 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityOperationalStatus.js +14 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +66 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.js +22 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityStatus.d.ts +22 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityStatus.js +11 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +502 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.js +131 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/index.d.ts +10 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/index.js +26 -0
- package/api/resources/patientPayments/resources/v4/client/Client.d.ts +3 -0
- package/api/resources/patientPayments/resources/v4/client/Client.js +6 -3
- package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +3 -0
- package/api/resources/patientRefunds/resources/v1/client/Client.js +6 -3
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/writeOffs/resources/v1/client/Client.d.ts +3 -0
- package/api/resources/writeOffs/resources/v1/client/Client.js +6 -3
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +15 -10
- 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/ResourcePage.d.ts +7 -0
- package/dist/api/resources/commons/types/UpdatesDisabledDueToExternalSystemIntegrationErrorMessage.d.ts +6 -0
- package/dist/api/resources/commons/types/UpdatesDisabledDueToExternalSystemIntegrationErrorMessage.js +5 -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/eligibility/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +5 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +6 -1
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +15 -0
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +18 -3
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +2 -1
- package/dist/api/resources/insuranceAdjudication/resources/v1/client/Client.d.ts +3 -0
- package/dist/api/resources/insuranceAdjudication/resources/v1/client/Client.js +6 -3
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +3 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +6 -3
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +6 -4
- package/dist/api/resources/organizationProviders/resources/v3/client/create.d.ts +7 -1
- package/dist/api/resources/organizationProviders/resources/v3/client/create.js +11 -0
- package/dist/api/resources/organizationProviders/resources/v3/client/update.d.ts +7 -1
- package/dist/api/resources/organizationProviders/resources/v3/client/update.js +11 -0
- package/dist/api/resources/organizationServiceFacilities/client/Client.d.ts +18 -0
- package/dist/api/resources/organizationServiceFacilities/client/Client.js +18 -0
- package/dist/api/resources/organizationServiceFacilities/client/index.d.ts +1 -0
- package/dist/api/resources/organizationServiceFacilities/client/index.js +2 -0
- package/dist/api/resources/organizationServiceFacilities/index.d.ts +2 -0
- package/dist/api/resources/organizationServiceFacilities/index.js +18 -0
- package/dist/api/resources/organizationServiceFacilities/resources/index.d.ts +1 -0
- package/dist/api/resources/organizationServiceFacilities/resources/index.js +27 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +22 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +263 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/create.d.ts +28 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/create.js +58 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/delete.d.ts +28 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/delete.js +58 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/get.d.ts +28 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/get.js +58 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/getMulti.d.ts +22 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/getMulti.js +47 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/index.d.ts +6 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/index.js +35 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/requests/GetAllOrganizationServiceFacilitiesRequest.d.ts +18 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/requests/GetAllOrganizationServiceFacilitiesRequest.js +5 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/requests/index.d.ts +1 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/requests/index.js +2 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/update.d.ts +34 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/update.js +69 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/index.d.ts +2 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/index.js +18 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +50 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.js +5 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +48 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.js +5 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityId.d.ts +12 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityId.js +10 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityPage.d.ts +32 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityPage.js +5 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +48 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.js +5 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityMode.d.ts +18 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityMode.js +10 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityOperationalStatus.d.ts +34 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityOperationalStatus.js +14 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +66 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.js +22 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityStatus.d.ts +22 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityStatus.js +11 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +502 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.js +131 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/index.d.ts +10 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/index.js +26 -0
- package/dist/api/resources/patientPayments/resources/v4/client/Client.d.ts +3 -0
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +6 -3
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +3 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +6 -3
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +3 -0
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -3
- package/dist/serialization/resources/commons/types/UpdatesDisabledDueToExternalSystemIntegrationErrorMessage.d.ts +12 -0
- package/dist/serialization/resources/commons/types/UpdatesDisabledDueToExternalSystemIntegrationErrorMessage.js +33 -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/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +2 -1
- package/dist/serialization/resources/organizationProviders/resources/v3/client/create.d.ts +5 -1
- package/dist/serialization/resources/organizationProviders/resources/v3/client/create.js +5 -0
- package/dist/serialization/resources/organizationProviders/resources/v3/client/update.d.ts +5 -1
- package/dist/serialization/resources/organizationProviders/resources/v3/client/update.js +5 -0
- package/dist/serialization/resources/organizationServiceFacilities/index.d.ts +1 -0
- package/dist/serialization/resources/organizationServiceFacilities/index.js +17 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/index.d.ts +1 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/index.js +27 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/create.d.ts +14 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/create.js +46 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/delete.d.ts +14 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/delete.js +46 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/get.d.ts +14 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/get.js +46 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/index.d.ts +4 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/index.js +30 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/update.d.ts +18 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/update.js +51 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/index.d.ts +2 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/index.js +18 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +22 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.js +53 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +21 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.js +52 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityId.d.ts +10 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityId.js +35 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityPage.d.ts +12 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityPage.js +35 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +21 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.js +54 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityMode.d.ts +10 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityMode.js +31 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityOperationalStatus.d.ts +10 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityOperationalStatus.js +31 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +10 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.js +31 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityStatus.d.ts +10 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityStatus.js +31 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +10 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.js +155 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/index.d.ts +10 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/index.js +26 -0
- package/package.json +1 -1
- package/serialization/resources/commons/types/UpdatesDisabledDueToExternalSystemIntegrationErrorMessage.d.ts +12 -0
- package/serialization/resources/commons/types/UpdatesDisabledDueToExternalSystemIntegrationErrorMessage.js +33 -0
- package/serialization/resources/commons/types/index.d.ts +1 -0
- package/serialization/resources/commons/types/index.js +1 -0
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +2 -1
- package/serialization/resources/organizationProviders/resources/v3/client/create.d.ts +5 -1
- package/serialization/resources/organizationProviders/resources/v3/client/create.js +5 -0
- package/serialization/resources/organizationProviders/resources/v3/client/update.d.ts +5 -1
- package/serialization/resources/organizationProviders/resources/v3/client/update.js +5 -0
- package/serialization/resources/organizationServiceFacilities/index.d.ts +1 -0
- package/serialization/resources/organizationServiceFacilities/index.js +17 -0
- package/serialization/resources/organizationServiceFacilities/resources/index.d.ts +1 -0
- package/serialization/resources/organizationServiceFacilities/resources/index.js +27 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/create.d.ts +14 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/create.js +46 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/delete.d.ts +14 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/delete.js +46 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/get.d.ts +14 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/get.js +46 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/index.d.ts +4 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/index.js +30 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/update.d.ts +18 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/update.js +51 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/index.d.ts +2 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/index.js +18 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +22 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.js +53 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +21 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.js +52 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityId.d.ts +10 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityId.js +35 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityPage.d.ts +12 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityPage.js +35 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +21 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.js +54 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityMode.d.ts +10 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityMode.js +31 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityOperationalStatus.d.ts +10 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityOperationalStatus.js +31 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +10 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.js +31 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityStatus.d.ts +10 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityStatus.js +31 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +10 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.js +155 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/index.d.ts +10 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/index.js +26 -0
|
@@ -0,0 +1,131 @@
|
|
|
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.ServiceFacilityType = void 0;
|
|
7
|
+
exports.ServiceFacilityType = {
|
|
8
|
+
DiagnosticsOrTherapeuticsUnit: "DX",
|
|
9
|
+
CardiovascularDiagnosticsOrTherapeuticsUnit: "CVDX",
|
|
10
|
+
CardiacCatheterizationLab: "CATH",
|
|
11
|
+
EchocardiographyLab: "ECHO",
|
|
12
|
+
GastroenterologyDiagnosticsOrTherapeuticsLab: "GIDX",
|
|
13
|
+
EndoscopyLab: "ENDOS",
|
|
14
|
+
RadiologyDiagnosticsOrTherapeuticsUnit: "RADDX",
|
|
15
|
+
RadiationOncologyUnit: "RADO",
|
|
16
|
+
NeuroradiologyUnit: "RNEU",
|
|
17
|
+
Hospital: "HOSP",
|
|
18
|
+
ChronicCareFacility: "CHR",
|
|
19
|
+
HospitalsGeneralAcuteCareHospital: "GACH",
|
|
20
|
+
MilitaryHospital: "MHSP",
|
|
21
|
+
PsychatricCareFacility: "PSYCHF",
|
|
22
|
+
RehabilitationHospital: "RH",
|
|
23
|
+
AddictionTreatmentCenter: "RHAT",
|
|
24
|
+
IntellectualImpairmentCenter: "RHII",
|
|
25
|
+
ParentsWithAdjustmentDifficultiesCenter: "RHMAD",
|
|
26
|
+
PhysicalImpairmentCenter: "RHPI",
|
|
27
|
+
PhysicalImpairmentHearingCenter: "RHPIH",
|
|
28
|
+
PhysicalImpairmentMotorSkillsCenter: "RHPIMS",
|
|
29
|
+
PhysicalImpairmentVisualSkillsCenter: "RHPIVS",
|
|
30
|
+
YouthsWithAdjustmentDifficultiesCenter: "RHYAD",
|
|
31
|
+
HospitalUnit: "HU",
|
|
32
|
+
BoneMarrowTransplantUnit: "BMTU",
|
|
33
|
+
CoronaryCareUnit: "CCU",
|
|
34
|
+
ChestUnit: "CHEST",
|
|
35
|
+
EpilepsyUnit: "EPIL",
|
|
36
|
+
EmergencyRoom: "ER",
|
|
37
|
+
EmergencyTraumaUnit: "ETU",
|
|
38
|
+
HemodialysisUnit: "HD",
|
|
39
|
+
HospitalLaboratory: "HLAB",
|
|
40
|
+
InpatientLaboratory: "INLAB",
|
|
41
|
+
OutpatientLaboratory: "OUTLAB",
|
|
42
|
+
RadiologyUnit: "HRAD",
|
|
43
|
+
SpecimenCollectionSite: "HUSCS",
|
|
44
|
+
IntensiveCareUnit: "ICU",
|
|
45
|
+
PediatricIntensiveCareUnit: "PEDICU",
|
|
46
|
+
PediatricNeonatalIntensiveCareUnit: "PEDNICU",
|
|
47
|
+
InpatientPharmacy: "INPHARM",
|
|
48
|
+
MedicalLaboratory: "MBL",
|
|
49
|
+
NeurologyCriticalCareAndStrokeUnit: "NCCS",
|
|
50
|
+
NeurosurgeryUnit: "NS",
|
|
51
|
+
OutpatientPharmacy: "OUTPHARM",
|
|
52
|
+
PediatricUnit: "PEDU",
|
|
53
|
+
PsychiatricHospitalUnit: "PHU",
|
|
54
|
+
RehabilitationHospitalUnit: "RHU",
|
|
55
|
+
SleepDisordersUnit: "SLEEP",
|
|
56
|
+
NursingOrCustodialCareFacility: "NCCF",
|
|
57
|
+
SkilledNursingFacility: "SNF",
|
|
58
|
+
OutpatientFacility: "OF",
|
|
59
|
+
AllergyClinic: "ALL",
|
|
60
|
+
AmputeeClinic: "AMPUT",
|
|
61
|
+
BoneMarrowTransplantClinic: "BMTC",
|
|
62
|
+
BreastClinic: "BREAST",
|
|
63
|
+
ChildAndAdolescentNeurologyClinic: "CANC",
|
|
64
|
+
ChildAndAdolescentPsychiatryClinic: "CAPC",
|
|
65
|
+
AmbulatoryHealthCareFacilitiesClinicCenterRehabilitationCardiacFacilities: "CARD",
|
|
66
|
+
PediatricCardiologyClinic: "PEDCARD",
|
|
67
|
+
CoagulationClinic: "COAG",
|
|
68
|
+
ColonAndRectalSurgeryClinic: "CRS",
|
|
69
|
+
DermatologyClinic: "DERM",
|
|
70
|
+
EndocrinologyClinic: "ENDO",
|
|
71
|
+
PediatricEndocrinologyClinic: "PEDE",
|
|
72
|
+
OtorhinolaryngologyClinic: "ENT",
|
|
73
|
+
FamilyMedicineClinic: "FMC",
|
|
74
|
+
GastroenterologyClinic: "GI",
|
|
75
|
+
PediatricGastroenterologyClinic: "PEDGI",
|
|
76
|
+
GeneralInternalMedicineClinic: "GIM",
|
|
77
|
+
GynecologyClinic: "GYN",
|
|
78
|
+
HematologyClinic: "HEM",
|
|
79
|
+
PediatricHematologyClinic: "PEDHEM",
|
|
80
|
+
HypertensionClinic: "HTN",
|
|
81
|
+
ImpairmentEvaluationCenter: "IEC",
|
|
82
|
+
InfectiousDiseaseClinic: "INFD",
|
|
83
|
+
PediatricInfectiousDiseaseClinic: "PEDID",
|
|
84
|
+
InfertilityClinic: "INV",
|
|
85
|
+
LympedemaClinic: "LYMPH",
|
|
86
|
+
MedicalGeneticsClinic: "MGEN",
|
|
87
|
+
NephrologyClinic: "NEPH",
|
|
88
|
+
PediatricNephrologyClinic: "PEDNEPH",
|
|
89
|
+
NeurologyClinic: "NEUR",
|
|
90
|
+
ObstetricsClinic: "OB",
|
|
91
|
+
OralAndMaxillofacialSurgeryClinic: "OMS",
|
|
92
|
+
MedicalOncologyClinic: "ONCL",
|
|
93
|
+
PediatricOncologyClinic: "PEDHO",
|
|
94
|
+
OpthalmologyClinic: "OPH",
|
|
95
|
+
OptometryClinic: "OPTC",
|
|
96
|
+
OrthopedicsClinic: "ORTHO",
|
|
97
|
+
HandClinic: "HAND",
|
|
98
|
+
PainClinic: "PAINCL",
|
|
99
|
+
PrimaryCareClinic: "PC",
|
|
100
|
+
PediatricsClinic: "PEDC",
|
|
101
|
+
PediatricRheumatologyClinic: "PEDRHEUM",
|
|
102
|
+
PodiatryClinic: "POD",
|
|
103
|
+
PreventiveMedicineClinic: "PREV",
|
|
104
|
+
ProctologyClinic: "PROCTO",
|
|
105
|
+
ProvidersOffice: "PROFF",
|
|
106
|
+
ProsthodonticsClinic: "PROS",
|
|
107
|
+
PsychologyClinic: "PSI",
|
|
108
|
+
PsychiatryClinic: "PSY",
|
|
109
|
+
RheumatologyClinic: "RHEUM",
|
|
110
|
+
SportsMedicineClinic: "SPMED",
|
|
111
|
+
SurgeryClinic: "SU",
|
|
112
|
+
PlasticSurgeryClinic: "PLS",
|
|
113
|
+
UrologyClinic: "URO",
|
|
114
|
+
TransplantClinic: "TR",
|
|
115
|
+
TravelAndGeographicMedicineClinic: "TRAVEL",
|
|
116
|
+
WoundClinic: "WND",
|
|
117
|
+
ResidentialTreatmentFacility: "RTF",
|
|
118
|
+
PainRehabilitationCenter: "PRC",
|
|
119
|
+
SubstanceUseRehabilitationFacility: "SURF",
|
|
120
|
+
DeliveryAddress: "DADDR",
|
|
121
|
+
MobileUnit: "MOBL",
|
|
122
|
+
Ambulance: "AMB",
|
|
123
|
+
Pharmacy: "PHARM",
|
|
124
|
+
AccidentSite: "ACC",
|
|
125
|
+
CommunityLocation: "COMM",
|
|
126
|
+
CommunityServiceCenter: "CSC",
|
|
127
|
+
PatientsResidence: "PTRES",
|
|
128
|
+
School: "SCHOOL",
|
|
129
|
+
UnderageProtectionCenter: "UPC",
|
|
130
|
+
WorkSite: "WORK",
|
|
131
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from "./ServiceFacilityStatus";
|
|
2
|
+
export * from "./ServiceFacilityOperationalStatus";
|
|
3
|
+
export * from "./ServiceFacilityMode";
|
|
4
|
+
export * from "./ServiceFacilityPhysicalType";
|
|
5
|
+
export * from "./ServiceFacilityType";
|
|
6
|
+
export * from "./OrganizationServiceFacilityId";
|
|
7
|
+
export * from "./OrganizationServiceFacility";
|
|
8
|
+
export * from "./OrganizationServiceFacilityUpdate";
|
|
9
|
+
export * from "./OrganizationServiceFacilityCreate";
|
|
10
|
+
export * from "./OrganizationServiceFacilityPage";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./ServiceFacilityStatus"), exports);
|
|
18
|
+
__exportStar(require("./ServiceFacilityOperationalStatus"), exports);
|
|
19
|
+
__exportStar(require("./ServiceFacilityMode"), exports);
|
|
20
|
+
__exportStar(require("./ServiceFacilityPhysicalType"), exports);
|
|
21
|
+
__exportStar(require("./ServiceFacilityType"), exports);
|
|
22
|
+
__exportStar(require("./OrganizationServiceFacilityId"), exports);
|
|
23
|
+
__exportStar(require("./OrganizationServiceFacility"), exports);
|
|
24
|
+
__exportStar(require("./OrganizationServiceFacilityUpdate"), exports);
|
|
25
|
+
__exportStar(require("./OrganizationServiceFacilityCreate"), exports);
|
|
26
|
+
__exportStar(require("./OrganizationServiceFacilityPage"), exports);
|
|
@@ -14,11 +14,13 @@ export declare class V4 {
|
|
|
14
14
|
protected readonly options: V4.Options;
|
|
15
15
|
constructor(options: V4.Options);
|
|
16
16
|
/**
|
|
17
|
+
* **This endpoint is incubating.**
|
|
17
18
|
* Retrieves a previously created patient payment by its `patient_payment_id`.
|
|
18
19
|
*
|
|
19
20
|
*/
|
|
20
21
|
get(patientPaymentId: CandidApi.patientPayments.v4.PatientPaymentId): Promise<core.APIResponse<CandidApi.patientPayments.v4.PatientPayment, CandidApi.patientPayments.v4.get.Error>>;
|
|
21
22
|
/**
|
|
23
|
+
* **This endpoint is incubating.**
|
|
22
24
|
* Creates a new patient payment record and returns the newly created PatientPayment object.
|
|
23
25
|
* The allocations can describe whether the payment is being applied toward a specific service line,
|
|
24
26
|
* claim, or billing provider.
|
|
@@ -26,6 +28,7 @@ export declare class V4 {
|
|
|
26
28
|
*/
|
|
27
29
|
create(request: CandidApi.patientPayments.v4.PatientPaymentCreate): Promise<core.APIResponse<CandidApi.patientPayments.v4.PatientPayment, CandidApi.patientPayments.v4.create.Error>>;
|
|
28
30
|
/**
|
|
31
|
+
* **This endpoint is incubating.**
|
|
29
32
|
* Deletes the patient payment record matching the provided patient_payment_id.
|
|
30
33
|
*
|
|
31
34
|
*/
|
|
@@ -41,6 +41,7 @@ class V4 {
|
|
|
41
41
|
this.options = options;
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
44
|
+
* **This endpoint is incubating.**
|
|
44
45
|
* Retrieves a previously created patient payment by its `patient_payment_id`.
|
|
45
46
|
*
|
|
46
47
|
*/
|
|
@@ -52,7 +53,7 @@ class V4 {
|
|
|
52
53
|
Authorization: await this._getAuthorizationHeader(),
|
|
53
54
|
"X-Fern-Language": "JavaScript",
|
|
54
55
|
"X-Fern-SDK-Name": "candidhealth",
|
|
55
|
-
"X-Fern-SDK-Version": "0.
|
|
56
|
+
"X-Fern-SDK-Version": "0.8.0",
|
|
56
57
|
},
|
|
57
58
|
contentType: "application/json",
|
|
58
59
|
timeoutMs: 60000,
|
|
@@ -74,6 +75,7 @@ class V4 {
|
|
|
74
75
|
};
|
|
75
76
|
}
|
|
76
77
|
/**
|
|
78
|
+
* **This endpoint is incubating.**
|
|
77
79
|
* Creates a new patient payment record and returns the newly created PatientPayment object.
|
|
78
80
|
* The allocations can describe whether the payment is being applied toward a specific service line,
|
|
79
81
|
* claim, or billing provider.
|
|
@@ -87,7 +89,7 @@ class V4 {
|
|
|
87
89
|
Authorization: await this._getAuthorizationHeader(),
|
|
88
90
|
"X-Fern-Language": "JavaScript",
|
|
89
91
|
"X-Fern-SDK-Name": "candidhealth",
|
|
90
|
-
"X-Fern-SDK-Version": "0.
|
|
92
|
+
"X-Fern-SDK-Version": "0.8.0",
|
|
91
93
|
},
|
|
92
94
|
contentType: "application/json",
|
|
93
95
|
body: await serializers.patientPayments.v4.PatientPaymentCreate.jsonOrThrow(request, {
|
|
@@ -112,6 +114,7 @@ class V4 {
|
|
|
112
114
|
};
|
|
113
115
|
}
|
|
114
116
|
/**
|
|
117
|
+
* **This endpoint is incubating.**
|
|
115
118
|
* Deletes the patient payment record matching the provided patient_payment_id.
|
|
116
119
|
*
|
|
117
120
|
*/
|
|
@@ -123,7 +126,7 @@ class V4 {
|
|
|
123
126
|
Authorization: await this._getAuthorizationHeader(),
|
|
124
127
|
"X-Fern-Language": "JavaScript",
|
|
125
128
|
"X-Fern-SDK-Name": "candidhealth",
|
|
126
|
-
"X-Fern-SDK-Version": "0.
|
|
129
|
+
"X-Fern-SDK-Version": "0.8.0",
|
|
127
130
|
},
|
|
128
131
|
contentType: "application/json",
|
|
129
132
|
timeoutMs: 60000,
|
|
@@ -14,11 +14,13 @@ export declare class V1 {
|
|
|
14
14
|
protected readonly options: V1.Options;
|
|
15
15
|
constructor(options: V1.Options);
|
|
16
16
|
/**
|
|
17
|
+
* **This endpoint is incubating.**
|
|
17
18
|
* Retrieves a previously created patient refund by its `patient_refund_id`.
|
|
18
19
|
*
|
|
19
20
|
*/
|
|
20
21
|
get(patientRefundId: CandidApi.patientRefunds.v1.PatientRefundId): Promise<core.APIResponse<CandidApi.patientRefunds.v1.PatientRefund, CandidApi.patientRefunds.v1.get.Error>>;
|
|
21
22
|
/**
|
|
23
|
+
* **This endpoint is incubating.**
|
|
22
24
|
* Creates a new patient refund record and returns the newly created PatientRefund object.
|
|
23
25
|
* The allocations can describe whether the refund is being applied toward a specific service line,
|
|
24
26
|
* claim, or billing provider.
|
|
@@ -26,6 +28,7 @@ export declare class V1 {
|
|
|
26
28
|
*/
|
|
27
29
|
create(request: CandidApi.patientRefunds.v1.PatientRefundCreate): Promise<core.APIResponse<CandidApi.patientRefunds.v1.PatientRefund, CandidApi.patientRefunds.v1.create.Error>>;
|
|
28
30
|
/**
|
|
31
|
+
* **This endpoint is incubating.**
|
|
29
32
|
* Deletes the patient refund record matching the provided patient_refund_id.
|
|
30
33
|
*
|
|
31
34
|
*/
|
|
@@ -41,6 +41,7 @@ class V1 {
|
|
|
41
41
|
this.options = options;
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
44
|
+
* **This endpoint is incubating.**
|
|
44
45
|
* Retrieves a previously created patient refund by its `patient_refund_id`.
|
|
45
46
|
*
|
|
46
47
|
*/
|
|
@@ -52,7 +53,7 @@ class V1 {
|
|
|
52
53
|
Authorization: await this._getAuthorizationHeader(),
|
|
53
54
|
"X-Fern-Language": "JavaScript",
|
|
54
55
|
"X-Fern-SDK-Name": "candidhealth",
|
|
55
|
-
"X-Fern-SDK-Version": "0.
|
|
56
|
+
"X-Fern-SDK-Version": "0.8.0",
|
|
56
57
|
},
|
|
57
58
|
contentType: "application/json",
|
|
58
59
|
timeoutMs: 60000,
|
|
@@ -74,6 +75,7 @@ class V1 {
|
|
|
74
75
|
};
|
|
75
76
|
}
|
|
76
77
|
/**
|
|
78
|
+
* **This endpoint is incubating.**
|
|
77
79
|
* Creates a new patient refund record and returns the newly created PatientRefund object.
|
|
78
80
|
* The allocations can describe whether the refund is being applied toward a specific service line,
|
|
79
81
|
* claim, or billing provider.
|
|
@@ -87,7 +89,7 @@ class V1 {
|
|
|
87
89
|
Authorization: await this._getAuthorizationHeader(),
|
|
88
90
|
"X-Fern-Language": "JavaScript",
|
|
89
91
|
"X-Fern-SDK-Name": "candidhealth",
|
|
90
|
-
"X-Fern-SDK-Version": "0.
|
|
92
|
+
"X-Fern-SDK-Version": "0.8.0",
|
|
91
93
|
},
|
|
92
94
|
contentType: "application/json",
|
|
93
95
|
body: await serializers.patientRefunds.v1.PatientRefundCreate.jsonOrThrow(request, {
|
|
@@ -112,6 +114,7 @@ class V1 {
|
|
|
112
114
|
};
|
|
113
115
|
}
|
|
114
116
|
/**
|
|
117
|
+
* **This endpoint is incubating.**
|
|
115
118
|
* Deletes the patient refund record matching the provided patient_refund_id.
|
|
116
119
|
*
|
|
117
120
|
*/
|
|
@@ -123,7 +126,7 @@ class V1 {
|
|
|
123
126
|
Authorization: await this._getAuthorizationHeader(),
|
|
124
127
|
"X-Fern-Language": "JavaScript",
|
|
125
128
|
"X-Fern-SDK-Name": "candidhealth",
|
|
126
|
-
"X-Fern-SDK-Version": "0.
|
|
129
|
+
"X-Fern-SDK-Version": "0.8.0",
|
|
127
130
|
},
|
|
128
131
|
contentType: "application/json",
|
|
129
132
|
timeoutMs: 60000,
|
|
@@ -49,7 +49,7 @@ class V3 {
|
|
|
49
49
|
Authorization: await this._getAuthorizationHeader(),
|
|
50
50
|
"X-Fern-Language": "JavaScript",
|
|
51
51
|
"X-Fern-SDK-Name": "candidhealth",
|
|
52
|
-
"X-Fern-SDK-Version": "0.
|
|
52
|
+
"X-Fern-SDK-Version": "0.8.0",
|
|
53
53
|
},
|
|
54
54
|
contentType: "application/json",
|
|
55
55
|
timeoutMs: 60000,
|
|
@@ -89,7 +89,7 @@ class V3 {
|
|
|
89
89
|
Authorization: await 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.8.0",
|
|
93
93
|
},
|
|
94
94
|
contentType: "application/json",
|
|
95
95
|
queryParameters: _queryParams,
|
|
@@ -14,11 +14,13 @@ export declare class V1 {
|
|
|
14
14
|
protected readonly options: V1.Options;
|
|
15
15
|
constructor(options: V1.Options);
|
|
16
16
|
/**
|
|
17
|
+
* **This endpoint is incubating.**
|
|
17
18
|
* Retrieves a previously created write off by its `write_off_id`.
|
|
18
19
|
*
|
|
19
20
|
*/
|
|
20
21
|
get(writeOffId: CandidApi.writeOffs.v1.WriteOffId): Promise<core.APIResponse<CandidApi.writeOffs.v1.WriteOff, CandidApi.writeOffs.v1.get.Error>>;
|
|
21
22
|
/**
|
|
23
|
+
* **This endpoint is incubating.**
|
|
22
24
|
* Creates one or many write-offs given a specific set of allocations.
|
|
23
25
|
* The allocations can describe whether the refund is being applied toward a specific service line,
|
|
24
26
|
* claim, or billing provider.
|
|
@@ -26,6 +28,7 @@ export declare class V1 {
|
|
|
26
28
|
*/
|
|
27
29
|
create(request: CandidApi.writeOffs.v1.CreateWriteOffsRequest): Promise<core.APIResponse<CandidApi.writeOffs.v1.WriteOff[], CandidApi.writeOffs.v1.create.Error>>;
|
|
28
30
|
/**
|
|
31
|
+
* **This endpoint is incubating.**
|
|
29
32
|
* Reverts a write off given a `write_off_id`.
|
|
30
33
|
*
|
|
31
34
|
*/
|
|
@@ -41,6 +41,7 @@ class V1 {
|
|
|
41
41
|
this.options = options;
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
44
|
+
* **This endpoint is incubating.**
|
|
44
45
|
* Retrieves a previously created write off by its `write_off_id`.
|
|
45
46
|
*
|
|
46
47
|
*/
|
|
@@ -52,7 +53,7 @@ class V1 {
|
|
|
52
53
|
Authorization: await this._getAuthorizationHeader(),
|
|
53
54
|
"X-Fern-Language": "JavaScript",
|
|
54
55
|
"X-Fern-SDK-Name": "candidhealth",
|
|
55
|
-
"X-Fern-SDK-Version": "0.
|
|
56
|
+
"X-Fern-SDK-Version": "0.8.0",
|
|
56
57
|
},
|
|
57
58
|
contentType: "application/json",
|
|
58
59
|
timeoutMs: 60000,
|
|
@@ -74,6 +75,7 @@ class V1 {
|
|
|
74
75
|
};
|
|
75
76
|
}
|
|
76
77
|
/**
|
|
78
|
+
* **This endpoint is incubating.**
|
|
77
79
|
* Creates one or many write-offs given a specific set of allocations.
|
|
78
80
|
* The allocations can describe whether the refund is being applied toward a specific service line,
|
|
79
81
|
* claim, or billing provider.
|
|
@@ -87,7 +89,7 @@ class V1 {
|
|
|
87
89
|
Authorization: await this._getAuthorizationHeader(),
|
|
88
90
|
"X-Fern-Language": "JavaScript",
|
|
89
91
|
"X-Fern-SDK-Name": "candidhealth",
|
|
90
|
-
"X-Fern-SDK-Version": "0.
|
|
92
|
+
"X-Fern-SDK-Version": "0.8.0",
|
|
91
93
|
},
|
|
92
94
|
contentType: "application/json",
|
|
93
95
|
body: await serializers.writeOffs.v1.CreateWriteOffsRequest.jsonOrThrow(request, {
|
|
@@ -112,6 +114,7 @@ class V1 {
|
|
|
112
114
|
};
|
|
113
115
|
}
|
|
114
116
|
/**
|
|
117
|
+
* **This endpoint is incubating.**
|
|
115
118
|
* Reverts a write off given a `write_off_id`.
|
|
116
119
|
*
|
|
117
120
|
*/
|
|
@@ -123,7 +126,7 @@ class V1 {
|
|
|
123
126
|
Authorization: await this._getAuthorizationHeader(),
|
|
124
127
|
"X-Fern-Language": "JavaScript",
|
|
125
128
|
"X-Fern-SDK-Name": "candidhealth",
|
|
126
|
-
"X-Fern-SDK-Version": "0.
|
|
129
|
+
"X-Fern-SDK-Version": "0.8.0",
|
|
127
130
|
},
|
|
128
131
|
contentType: "application/json",
|
|
129
132
|
timeoutMs: 60000,
|
package/dist/Client.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ import { Exports } from "./api/resources/exports/client/Client";
|
|
|
12
12
|
import { Guarantor } from "./api/resources/guarantor/client/Client";
|
|
13
13
|
import { InsuranceAdjudication } from "./api/resources/insuranceAdjudication/client/Client";
|
|
14
14
|
import { InsuranceRefunds } from "./api/resources/insuranceRefunds/client/Client";
|
|
15
|
+
import { OrganizationServiceFacilities } from "./api/resources/organizationServiceFacilities/client/Client";
|
|
15
16
|
import { OrganizationProviders } from "./api/resources/organizationProviders/client/Client";
|
|
16
17
|
import { PatientPayments } from "./api/resources/patientPayments/client/Client";
|
|
17
18
|
import { PatientRefunds } from "./api/resources/patientRefunds/client/Client";
|
|
@@ -44,6 +45,8 @@ export declare class CandidApiClient {
|
|
|
44
45
|
get insuranceAdjudication(): InsuranceAdjudication;
|
|
45
46
|
protected _insuranceRefunds: InsuranceRefunds | undefined;
|
|
46
47
|
get insuranceRefunds(): InsuranceRefunds;
|
|
48
|
+
protected _organizationServiceFacilities: OrganizationServiceFacilities | undefined;
|
|
49
|
+
get organizationServiceFacilities(): OrganizationServiceFacilities;
|
|
47
50
|
protected _organizationProviders: OrganizationProviders | undefined;
|
|
48
51
|
get organizationProviders(): OrganizationProviders;
|
|
49
52
|
protected _patientPayments: PatientPayments | undefined;
|
package/dist/Client.js
CHANGED
|
@@ -13,11 +13,12 @@ const Client_6 = require("./api/resources/exports/client/Client");
|
|
|
13
13
|
const Client_7 = require("./api/resources/guarantor/client/Client");
|
|
14
14
|
const Client_8 = require("./api/resources/insuranceAdjudication/client/Client");
|
|
15
15
|
const Client_9 = require("./api/resources/insuranceRefunds/client/Client");
|
|
16
|
-
const Client_10 = require("./api/resources/
|
|
17
|
-
const Client_11 = require("./api/resources/
|
|
18
|
-
const Client_12 = require("./api/resources/
|
|
19
|
-
const Client_13 = require("./api/resources/
|
|
20
|
-
const Client_14 = require("./api/resources/
|
|
16
|
+
const Client_10 = require("./api/resources/organizationServiceFacilities/client/Client");
|
|
17
|
+
const Client_11 = require("./api/resources/organizationProviders/client/Client");
|
|
18
|
+
const Client_12 = require("./api/resources/patientPayments/client/Client");
|
|
19
|
+
const Client_13 = require("./api/resources/patientRefunds/client/Client");
|
|
20
|
+
const Client_14 = require("./api/resources/payers/client/Client");
|
|
21
|
+
const Client_15 = require("./api/resources/writeOffs/client/Client");
|
|
21
22
|
class CandidApiClient {
|
|
22
23
|
options;
|
|
23
24
|
constructor(options) {
|
|
@@ -59,25 +60,29 @@ class CandidApiClient {
|
|
|
59
60
|
get insuranceRefunds() {
|
|
60
61
|
return (this._insuranceRefunds ??= new Client_9.InsuranceRefunds(this.options));
|
|
61
62
|
}
|
|
63
|
+
_organizationServiceFacilities;
|
|
64
|
+
get organizationServiceFacilities() {
|
|
65
|
+
return (this._organizationServiceFacilities ??= new Client_10.OrganizationServiceFacilities(this.options));
|
|
66
|
+
}
|
|
62
67
|
_organizationProviders;
|
|
63
68
|
get organizationProviders() {
|
|
64
|
-
return (this._organizationProviders ??= new
|
|
69
|
+
return (this._organizationProviders ??= new Client_11.OrganizationProviders(this.options));
|
|
65
70
|
}
|
|
66
71
|
_patientPayments;
|
|
67
72
|
get patientPayments() {
|
|
68
|
-
return (this._patientPayments ??= new
|
|
73
|
+
return (this._patientPayments ??= new Client_12.PatientPayments(this.options));
|
|
69
74
|
}
|
|
70
75
|
_patientRefunds;
|
|
71
76
|
get patientRefunds() {
|
|
72
|
-
return (this._patientRefunds ??= new
|
|
77
|
+
return (this._patientRefunds ??= new Client_13.PatientRefunds(this.options));
|
|
73
78
|
}
|
|
74
79
|
_payers;
|
|
75
80
|
get payers() {
|
|
76
|
-
return (this._payers ??= new
|
|
81
|
+
return (this._payers ??= new Client_14.Payers(this.options));
|
|
77
82
|
}
|
|
78
83
|
_writeOffs;
|
|
79
84
|
get writeOffs() {
|
|
80
|
-
return (this._writeOffs ??= new
|
|
85
|
+
return (this._writeOffs ??= new Client_15.WriteOffs(this.options));
|
|
81
86
|
}
|
|
82
87
|
}
|
|
83
88
|
exports.CandidApiClient = CandidApiClient;
|
|
@@ -62,7 +62,7 @@ class V2 {
|
|
|
62
62
|
Authorization: await this._getAuthorizationHeader(),
|
|
63
63
|
"X-Fern-Language": "JavaScript",
|
|
64
64
|
"X-Fern-SDK-Name": "candidhealth",
|
|
65
|
-
"X-Fern-SDK-Version": "0.
|
|
65
|
+
"X-Fern-SDK-Version": "0.8.0",
|
|
66
66
|
},
|
|
67
67
|
contentType: "application/json",
|
|
68
68
|
body: await serializers.auth.v2.AuthGetTokenRequest.jsonOrThrow(request, {
|
|
@@ -48,7 +48,7 @@ class V2 {
|
|
|
48
48
|
Authorization: await this._getAuthorizationHeader(),
|
|
49
49
|
"X-Fern-Language": "JavaScript",
|
|
50
50
|
"X-Fern-SDK-Name": "candidhealth",
|
|
51
|
-
"X-Fern-SDK-Version": "0.
|
|
51
|
+
"X-Fern-SDK-Version": "0.8.0",
|
|
52
52
|
},
|
|
53
53
|
contentType: "application/json",
|
|
54
54
|
body: await serializers.billingNotes.v2.StandaloneBillingNoteCreate.jsonOrThrow(request, {
|
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../..";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* prevPageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
|
|
9
|
+
* nextPageToken: CandidApi.PageToken("eyAiZm9vIjogImJhciJ9o8dj3FU83fFJe8dalz4A")
|
|
10
|
+
* }
|
|
11
|
+
*/
|
|
5
12
|
export interface ResourcePage {
|
|
6
13
|
prevPageToken?: CandidApi.PageToken;
|
|
7
14
|
nextPageToken?: CandidApi.PageToken;
|
|
@@ -33,6 +33,7 @@ export * from "./EntityNotFoundErrorMessage";
|
|
|
33
33
|
export * from "./UnauthorizedErrorMessage";
|
|
34
34
|
export * from "./HttpServiceUnavailableErrorMessage";
|
|
35
35
|
export * from "./RequestValidationError";
|
|
36
|
+
export * from "./UpdatesDisabledDueToExternalSystemIntegrationErrorMessage";
|
|
36
37
|
export * from "./PhoneNumber";
|
|
37
38
|
export * from "./PhoneNumberType";
|
|
38
39
|
export * from "./Email";
|
|
@@ -49,6 +49,7 @@ __exportStar(require("./EntityNotFoundErrorMessage"), exports);
|
|
|
49
49
|
__exportStar(require("./UnauthorizedErrorMessage"), exports);
|
|
50
50
|
__exportStar(require("./HttpServiceUnavailableErrorMessage"), exports);
|
|
51
51
|
__exportStar(require("./RequestValidationError"), exports);
|
|
52
|
+
__exportStar(require("./UpdatesDisabledDueToExternalSystemIntegrationErrorMessage"), exports);
|
|
52
53
|
__exportStar(require("./PhoneNumber"), exports);
|
|
53
54
|
__exportStar(require("./PhoneNumberType"), exports);
|
|
54
55
|
__exportStar(require("./Email"), exports);
|
|
@@ -65,7 +65,7 @@ class V2 {
|
|
|
65
65
|
Authorization: await this._getAuthorizationHeader(),
|
|
66
66
|
"X-Fern-Language": "JavaScript",
|
|
67
67
|
"X-Fern-SDK-Name": "candidhealth",
|
|
68
|
-
"X-Fern-SDK-Version": "0.
|
|
68
|
+
"X-Fern-SDK-Version": "0.8.0",
|
|
69
69
|
},
|
|
70
70
|
contentType: "application/json",
|
|
71
71
|
body: request,
|
|
@@ -103,7 +103,7 @@ class V4 {
|
|
|
103
103
|
Authorization: await 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.8.0",
|
|
107
107
|
},
|
|
108
108
|
contentType: "application/json",
|
|
109
109
|
queryParameters: _queryParams,
|
|
@@ -133,7 +133,7 @@ class V4 {
|
|
|
133
133
|
Authorization: await this._getAuthorizationHeader(),
|
|
134
134
|
"X-Fern-Language": "JavaScript",
|
|
135
135
|
"X-Fern-SDK-Name": "candidhealth",
|
|
136
|
-
"X-Fern-SDK-Version": "0.
|
|
136
|
+
"X-Fern-SDK-Version": "0.8.0",
|
|
137
137
|
},
|
|
138
138
|
contentType: "application/json",
|
|
139
139
|
timeoutMs: 60000,
|
|
@@ -162,7 +162,7 @@ class V4 {
|
|
|
162
162
|
Authorization: await this._getAuthorizationHeader(),
|
|
163
163
|
"X-Fern-Language": "JavaScript",
|
|
164
164
|
"X-Fern-SDK-Name": "candidhealth",
|
|
165
|
-
"X-Fern-SDK-Version": "0.
|
|
165
|
+
"X-Fern-SDK-Version": "0.8.0",
|
|
166
166
|
},
|
|
167
167
|
contentType: "application/json",
|
|
168
168
|
body: await serializers.encounters.v4.EncounterCreate.jsonOrThrow(request, {
|
|
@@ -212,7 +212,7 @@ class V4 {
|
|
|
212
212
|
Authorization: await this._getAuthorizationHeader(),
|
|
213
213
|
"X-Fern-Language": "JavaScript",
|
|
214
214
|
"X-Fern-SDK-Name": "candidhealth",
|
|
215
|
-
"X-Fern-SDK-Version": "0.
|
|
215
|
+
"X-Fern-SDK-Version": "0.8.0",
|
|
216
216
|
},
|
|
217
217
|
contentType: "application/json",
|
|
218
218
|
body: await serializers.encounters.v4.EncounterUpdate.jsonOrThrow(request, {
|
|
@@ -13,6 +13,11 @@ export declare namespace V1 {
|
|
|
13
13
|
export declare class V1 {
|
|
14
14
|
protected readonly options: V1.Options;
|
|
15
15
|
constructor(options: V1.Options);
|
|
16
|
+
/**
|
|
17
|
+
* **This endpoint is incubating.**
|
|
18
|
+
* Computes the expected network status given the provided information.
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
16
21
|
compute(request: CandidApi.expectedNetworkStatus.v1.ExpectedNetworkStatusRequest): Promise<core.APIResponse<CandidApi.expectedNetworkStatus.v1.ExpectedNetworkStatusResponse, CandidApi.expectedNetworkStatus.v1.compute.Error>>;
|
|
17
22
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
18
23
|
}
|
|
@@ -40,6 +40,11 @@ class V1 {
|
|
|
40
40
|
constructor(options) {
|
|
41
41
|
this.options = options;
|
|
42
42
|
}
|
|
43
|
+
/**
|
|
44
|
+
* **This endpoint is incubating.**
|
|
45
|
+
* Computes the expected network status given the provided information.
|
|
46
|
+
*
|
|
47
|
+
*/
|
|
43
48
|
async compute(request) {
|
|
44
49
|
const _response = await core.fetcher({
|
|
45
50
|
url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, "/api/expected-network-status/v1"),
|
|
@@ -48,7 +53,7 @@ class V1 {
|
|
|
48
53
|
Authorization: await this._getAuthorizationHeader(),
|
|
49
54
|
"X-Fern-Language": "JavaScript",
|
|
50
55
|
"X-Fern-SDK-Name": "candidhealth",
|
|
51
|
-
"X-Fern-SDK-Version": "0.
|
|
56
|
+
"X-Fern-SDK-Version": "0.8.0",
|
|
52
57
|
},
|
|
53
58
|
contentType: "application/json",
|
|
54
59
|
body: await serializers.expectedNetworkStatus.v1.ExpectedNetworkStatusRequest.jsonOrThrow(request, {
|
|
@@ -68,7 +68,7 @@ class V3 {
|
|
|
68
68
|
Authorization: await 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.8.0",
|
|
72
72
|
},
|
|
73
73
|
contentType: "application/json",
|
|
74
74
|
queryParameters: _queryParams,
|