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
|
@@ -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,
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import * as CandidApi from "../../../../api";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const UpdatesDisabledDueToExternalSystemIntegrationErrorMessage: core.serialization.ObjectSchema<serializers.UpdatesDisabledDueToExternalSystemIntegrationErrorMessage.Raw, CandidApi.UpdatesDisabledDueToExternalSystemIntegrationErrorMessage>;
|
|
8
|
+
export declare namespace UpdatesDisabledDueToExternalSystemIntegrationErrorMessage {
|
|
9
|
+
interface Raw {
|
|
10
|
+
message?: string | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.UpdatesDisabledDueToExternalSystemIntegrationErrorMessage = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.UpdatesDisabledDueToExternalSystemIntegrationErrorMessage = core.serialization.object({
|
|
32
|
+
message: core.serialization.string().optional(),
|
|
33
|
+
});
|
|
@@ -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);
|
|
@@ -8,6 +8,7 @@ export * as exports from "./exports";
|
|
|
8
8
|
export * as guarantor from "./guarantor";
|
|
9
9
|
export * as insuranceAdjudication from "./insuranceAdjudication";
|
|
10
10
|
export * as insuranceRefunds from "./insuranceRefunds";
|
|
11
|
+
export * as organizationServiceFacilities from "./organizationServiceFacilities";
|
|
11
12
|
export * as organizationProviders from "./organizationProviders";
|
|
12
13
|
export * as patientPayments from "./patientPayments";
|
|
13
14
|
export * as patientRefunds from "./patientRefunds";
|
|
@@ -26,7 +26,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.eligibility = exports.tags = exports.serviceFacility = exports.invoices = exports.insuranceCard = exports.individual = exports.identifiers = exports.financials = exports.era = exports.diagnoses = exports.contracts = exports.commons = exports.claims = exports.x12 = exports.writeOffs = exports.serviceLines = exports.payers = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.insuranceRefunds = exports.insuranceAdjudication = exports.guarantor = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.claimSubmission = exports.billingNotes = exports.auth = void 0;
|
|
29
|
+
exports.eligibility = exports.tags = exports.serviceFacility = exports.invoices = exports.insuranceCard = exports.individual = exports.identifiers = exports.financials = exports.era = exports.diagnoses = exports.contracts = exports.commons = exports.claims = exports.x12 = exports.writeOffs = exports.serviceLines = exports.payers = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.insuranceRefunds = exports.insuranceAdjudication = exports.guarantor = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.claimSubmission = exports.billingNotes = exports.auth = void 0;
|
|
30
30
|
exports.auth = __importStar(require("./auth"));
|
|
31
31
|
exports.billingNotes = __importStar(require("./billingNotes"));
|
|
32
32
|
exports.claimSubmission = __importStar(require("./claimSubmission"));
|
|
@@ -37,6 +37,7 @@ exports.exports = __importStar(require("./exports"));
|
|
|
37
37
|
exports.guarantor = __importStar(require("./guarantor"));
|
|
38
38
|
exports.insuranceAdjudication = __importStar(require("./insuranceAdjudication"));
|
|
39
39
|
exports.insuranceRefunds = __importStar(require("./insuranceRefunds"));
|
|
40
|
+
exports.organizationServiceFacilities = __importStar(require("./organizationServiceFacilities"));
|
|
40
41
|
exports.organizationProviders = __importStar(require("./organizationProviders"));
|
|
41
42
|
exports.patientPayments = __importStar(require("./patientPayments"));
|
|
42
43
|
exports.patientRefunds = __importStar(require("./patientRefunds"));
|
|
@@ -6,9 +6,13 @@ import * as CandidApi from "../../../../../../api";
|
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
export declare const Error: core.serialization.Schema<serializers.organizationProviders.v3.create.Error.Raw, CandidApi.organizationProviders.v3.create.Error>;
|
|
8
8
|
export declare namespace Error {
|
|
9
|
-
type Raw = Error.HttpRequestValidationError;
|
|
9
|
+
type Raw = Error.HttpRequestValidationError | Error.UpdatesDisabledDueToExternalSystemIntegrationError;
|
|
10
10
|
interface HttpRequestValidationError {
|
|
11
11
|
errorName: "HttpRequestValidationError";
|
|
12
12
|
content: serializers.RequestValidationError.Raw;
|
|
13
13
|
}
|
|
14
|
+
interface UpdatesDisabledDueToExternalSystemIntegrationError {
|
|
15
|
+
errorName: "UpdatesDisabledDueToExternalSystemIntegrationError";
|
|
16
|
+
content: serializers.UpdatesDisabledDueToExternalSystemIntegrationErrorMessage.Raw;
|
|
17
|
+
}
|
|
14
18
|
}
|
|
@@ -34,12 +34,17 @@ exports.Error = core.serialization
|
|
|
34
34
|
HttpRequestValidationError: core.serialization.object({
|
|
35
35
|
content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).RequestValidationError),
|
|
36
36
|
}),
|
|
37
|
+
UpdatesDisabledDueToExternalSystemIntegrationError: core.serialization.object({
|
|
38
|
+
content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UpdatesDisabledDueToExternalSystemIntegrationErrorMessage),
|
|
39
|
+
}),
|
|
37
40
|
})
|
|
38
41
|
.transform({
|
|
39
42
|
transform: (value) => {
|
|
40
43
|
switch (value.errorName) {
|
|
41
44
|
case "HttpRequestValidationError":
|
|
42
45
|
return CandidApi.organizationProviders.v3.create.Error.httpRequestValidationError(value.content);
|
|
46
|
+
case "UpdatesDisabledDueToExternalSystemIntegrationError":
|
|
47
|
+
return CandidApi.organizationProviders.v3.create.Error.updatesDisabledDueToExternalSystemIntegrationError(value.content);
|
|
43
48
|
}
|
|
44
49
|
},
|
|
45
50
|
untransform: ({ _visit, ...value }) => value,
|
|
@@ -6,7 +6,7 @@ import * as CandidApi from "../../../../../../api";
|
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
export declare const Error: core.serialization.Schema<serializers.organizationProviders.v3.update.Error.Raw, CandidApi.organizationProviders.v3.update.Error>;
|
|
8
8
|
export declare namespace Error {
|
|
9
|
-
type Raw = Error.HttpRequestValidationError | Error.EntityNotFoundError;
|
|
9
|
+
type Raw = Error.HttpRequestValidationError | Error.EntityNotFoundError | Error.UpdatesDisabledDueToExternalSystemIntegrationError;
|
|
10
10
|
interface HttpRequestValidationError {
|
|
11
11
|
errorName: "HttpRequestValidationError";
|
|
12
12
|
content: serializers.RequestValidationError.Raw;
|
|
@@ -15,4 +15,8 @@ export declare namespace Error {
|
|
|
15
15
|
errorName: "EntityNotFoundError";
|
|
16
16
|
content: serializers.EntityNotFoundErrorMessage.Raw;
|
|
17
17
|
}
|
|
18
|
+
interface UpdatesDisabledDueToExternalSystemIntegrationError {
|
|
19
|
+
errorName: "UpdatesDisabledDueToExternalSystemIntegrationError";
|
|
20
|
+
content: serializers.UpdatesDisabledDueToExternalSystemIntegrationErrorMessage.Raw;
|
|
21
|
+
}
|
|
18
22
|
}
|
|
@@ -37,6 +37,9 @@ exports.Error = core.serialization
|
|
|
37
37
|
EntityNotFoundError: core.serialization.object({
|
|
38
38
|
content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).EntityNotFoundErrorMessage),
|
|
39
39
|
}),
|
|
40
|
+
UpdatesDisabledDueToExternalSystemIntegrationError: core.serialization.object({
|
|
41
|
+
content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UpdatesDisabledDueToExternalSystemIntegrationErrorMessage),
|
|
42
|
+
}),
|
|
40
43
|
})
|
|
41
44
|
.transform({
|
|
42
45
|
transform: (value) => {
|
|
@@ -45,6 +48,8 @@ exports.Error = core.serialization
|
|
|
45
48
|
return CandidApi.organizationProviders.v3.update.Error.httpRequestValidationError(value.content);
|
|
46
49
|
case "EntityNotFoundError":
|
|
47
50
|
return CandidApi.organizationProviders.v3.update.Error.entityNotFoundError(value.content);
|
|
51
|
+
case "UpdatesDisabledDueToExternalSystemIntegrationError":
|
|
52
|
+
return CandidApi.organizationProviders.v3.update.Error.updatesDisabledDueToExternalSystemIntegrationError(value.content);
|
|
48
53
|
}
|
|
49
54
|
},
|
|
50
55
|
untransform: ({ _visit, ...value }) => value,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./resources";
|
|
@@ -0,0 +1,17 @@
|
|
|
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("./resources"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as v2 from "./v2";
|
|
@@ -0,0 +1,27 @@
|
|
|
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.v2 = void 0;
|
|
27
|
+
exports.v2 = __importStar(require("./v2"));
|
package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/create.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const Error: core.serialization.Schema<serializers.organizationServiceFacilities.v2.create.Error.Raw, CandidApi.organizationServiceFacilities.v2.create.Error>;
|
|
8
|
+
export declare namespace Error {
|
|
9
|
+
type Raw = Error.HttpRequestValidationError;
|
|
10
|
+
interface HttpRequestValidationError {
|
|
11
|
+
errorName: "HttpRequestValidationError";
|
|
12
|
+
content: serializers.RequestValidationError.Raw;
|
|
13
|
+
}
|
|
14
|
+
}
|
package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/create.js
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../api"));
|
|
31
|
+
const core = __importStar(require("../../../../../../core"));
|
|
32
|
+
exports.Error = core.serialization
|
|
33
|
+
.union("errorName", {
|
|
34
|
+
HttpRequestValidationError: core.serialization.object({
|
|
35
|
+
content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).RequestValidationError),
|
|
36
|
+
}),
|
|
37
|
+
})
|
|
38
|
+
.transform({
|
|
39
|
+
transform: (value) => {
|
|
40
|
+
switch (value.errorName) {
|
|
41
|
+
case "HttpRequestValidationError":
|
|
42
|
+
return CandidApi.organizationServiceFacilities.v2.create.Error.httpRequestValidationError(value.content);
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
untransform: ({ _visit, ...value }) => value,
|
|
46
|
+
});
|
package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/delete.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const Error: core.serialization.Schema<serializers.organizationServiceFacilities.v2.delete.Error.Raw, CandidApi.organizationServiceFacilities.v2.delete.Error>;
|
|
8
|
+
export declare namespace Error {
|
|
9
|
+
type Raw = Error.EntityNotFoundError;
|
|
10
|
+
interface EntityNotFoundError {
|
|
11
|
+
errorName: "EntityNotFoundError";
|
|
12
|
+
content: serializers.EntityNotFoundErrorMessage.Raw;
|
|
13
|
+
}
|
|
14
|
+
}
|
package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/delete.js
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../api"));
|
|
31
|
+
const core = __importStar(require("../../../../../../core"));
|
|
32
|
+
exports.Error = core.serialization
|
|
33
|
+
.union("errorName", {
|
|
34
|
+
EntityNotFoundError: core.serialization.object({
|
|
35
|
+
content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).EntityNotFoundErrorMessage),
|
|
36
|
+
}),
|
|
37
|
+
})
|
|
38
|
+
.transform({
|
|
39
|
+
transform: (value) => {
|
|
40
|
+
switch (value.errorName) {
|
|
41
|
+
case "EntityNotFoundError":
|
|
42
|
+
return CandidApi.organizationServiceFacilities.v2.delete.Error.entityNotFoundError(value.content);
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
untransform: ({ _visit, ...value }) => value,
|
|
46
|
+
});
|
package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/get.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const Error: core.serialization.Schema<serializers.organizationServiceFacilities.v2.get.Error.Raw, CandidApi.organizationServiceFacilities.v2.get.Error>;
|
|
8
|
+
export declare namespace Error {
|
|
9
|
+
type Raw = Error.EntityNotFoundError;
|
|
10
|
+
interface EntityNotFoundError {
|
|
11
|
+
errorName: "EntityNotFoundError";
|
|
12
|
+
content: serializers.EntityNotFoundErrorMessage.Raw;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../api"));
|
|
31
|
+
const core = __importStar(require("../../../../../../core"));
|
|
32
|
+
exports.Error = core.serialization
|
|
33
|
+
.union("errorName", {
|
|
34
|
+
EntityNotFoundError: core.serialization.object({
|
|
35
|
+
content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).EntityNotFoundErrorMessage),
|
|
36
|
+
}),
|
|
37
|
+
})
|
|
38
|
+
.transform({
|
|
39
|
+
transform: (value) => {
|
|
40
|
+
switch (value.errorName) {
|
|
41
|
+
case "EntityNotFoundError":
|
|
42
|
+
return CandidApi.organizationServiceFacilities.v2.get.Error.entityNotFoundError(value.content);
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
untransform: ({ _visit, ...value }) => value,
|
|
46
|
+
});
|