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,30 @@
|
|
|
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.delete = exports.update = exports.create = exports.get = void 0;
|
|
27
|
+
exports.get = __importStar(require("./get"));
|
|
28
|
+
exports.create = __importStar(require("./create"));
|
|
29
|
+
exports.update = __importStar(require("./update"));
|
|
30
|
+
exports.delete = __importStar(require("./delete"));
|
|
@@ -0,0 +1,18 @@
|
|
|
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.update.Error.Raw, CandidApi.organizationServiceFacilities.v2.update.Error>;
|
|
8
|
+
export declare namespace Error {
|
|
9
|
+
type Raw = Error.HttpRequestValidationError | Error.EntityNotFoundError;
|
|
10
|
+
interface HttpRequestValidationError {
|
|
11
|
+
errorName: "HttpRequestValidationError";
|
|
12
|
+
content: serializers.RequestValidationError.Raw;
|
|
13
|
+
}
|
|
14
|
+
interface EntityNotFoundError {
|
|
15
|
+
errorName: "EntityNotFoundError";
|
|
16
|
+
content: serializers.EntityNotFoundErrorMessage.Raw;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
EntityNotFoundError: core.serialization.object({
|
|
38
|
+
content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).EntityNotFoundErrorMessage),
|
|
39
|
+
}),
|
|
40
|
+
})
|
|
41
|
+
.transform({
|
|
42
|
+
transform: (value) => {
|
|
43
|
+
switch (value.errorName) {
|
|
44
|
+
case "HttpRequestValidationError":
|
|
45
|
+
return CandidApi.organizationServiceFacilities.v2.update.Error.httpRequestValidationError(value.content);
|
|
46
|
+
case "EntityNotFoundError":
|
|
47
|
+
return CandidApi.organizationServiceFacilities.v2.update.Error.entityNotFoundError(value.content);
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
untransform: ({ _visit, ...value }) => value,
|
|
51
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,22 @@
|
|
|
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 OrganizationServiceFacility: core.serialization.ObjectSchema<serializers.organizationServiceFacilities.v2.OrganizationServiceFacility.Raw, CandidApi.organizationServiceFacilities.v2.OrganizationServiceFacility>;
|
|
8
|
+
export declare namespace OrganizationServiceFacility {
|
|
9
|
+
interface Raw {
|
|
10
|
+
organization_service_facility_id: serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityId.Raw;
|
|
11
|
+
name: string;
|
|
12
|
+
aliases: string[];
|
|
13
|
+
description?: string | null;
|
|
14
|
+
status?: serializers.organizationServiceFacilities.v2.ServiceFacilityStatus.Raw | null;
|
|
15
|
+
operational_status?: serializers.organizationServiceFacilities.v2.ServiceFacilityOperationalStatus.Raw | null;
|
|
16
|
+
mode?: serializers.organizationServiceFacilities.v2.ServiceFacilityMode.Raw | null;
|
|
17
|
+
type?: serializers.organizationServiceFacilities.v2.ServiceFacilityType.Raw | null;
|
|
18
|
+
physical_type?: serializers.organizationServiceFacilities.v2.ServiceFacilityPhysicalType.Raw | null;
|
|
19
|
+
telecoms: string[];
|
|
20
|
+
address: serializers.StreetAddressLongZip.Raw;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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.OrganizationServiceFacility = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.OrganizationServiceFacility = core.serialization.object({
|
|
32
|
+
organizationServiceFacilityId: core.serialization.property("organization_service_facility_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).organizationServiceFacilities.v2.OrganizationServiceFacilityId)),
|
|
33
|
+
name: core.serialization.string(),
|
|
34
|
+
aliases: core.serialization.list(core.serialization.string()),
|
|
35
|
+
description: core.serialization.string().optional(),
|
|
36
|
+
status: core.serialization
|
|
37
|
+
.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).organizationServiceFacilities.v2.ServiceFacilityStatus)
|
|
38
|
+
.optional(),
|
|
39
|
+
operationalStatus: core.serialization.property("operational_status", core.serialization
|
|
40
|
+
.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).organizationServiceFacilities.v2.ServiceFacilityOperationalStatus)
|
|
41
|
+
.optional()),
|
|
42
|
+
mode: core.serialization
|
|
43
|
+
.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).organizationServiceFacilities.v2.ServiceFacilityMode)
|
|
44
|
+
.optional(),
|
|
45
|
+
type: core.serialization
|
|
46
|
+
.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).organizationServiceFacilities.v2.ServiceFacilityType)
|
|
47
|
+
.optional(),
|
|
48
|
+
physicalType: core.serialization.property("physical_type", core.serialization
|
|
49
|
+
.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).organizationServiceFacilities.v2.ServiceFacilityPhysicalType)
|
|
50
|
+
.optional()),
|
|
51
|
+
telecoms: core.serialization.list(core.serialization.string()),
|
|
52
|
+
address: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).StreetAddressLongZip),
|
|
53
|
+
});
|
|
@@ -0,0 +1,21 @@
|
|
|
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 OrganizationServiceFacilityCreate: core.serialization.ObjectSchema<serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityCreate.Raw, CandidApi.organizationServiceFacilities.v2.OrganizationServiceFacilityCreate>;
|
|
8
|
+
export declare namespace OrganizationServiceFacilityCreate {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name: string;
|
|
11
|
+
aliases: string[];
|
|
12
|
+
description?: string | null;
|
|
13
|
+
status?: serializers.organizationServiceFacilities.v2.ServiceFacilityStatus.Raw | null;
|
|
14
|
+
operational_status?: serializers.organizationServiceFacilities.v2.ServiceFacilityOperationalStatus.Raw | null;
|
|
15
|
+
mode?: serializers.organizationServiceFacilities.v2.ServiceFacilityMode.Raw | null;
|
|
16
|
+
type?: serializers.organizationServiceFacilities.v2.ServiceFacilityType.Raw | null;
|
|
17
|
+
physical_type?: serializers.organizationServiceFacilities.v2.ServiceFacilityPhysicalType.Raw | null;
|
|
18
|
+
telecoms: string[];
|
|
19
|
+
address: serializers.StreetAddressLongZip.Raw;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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.OrganizationServiceFacilityCreate = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.OrganizationServiceFacilityCreate = core.serialization.object({
|
|
32
|
+
name: core.serialization.string(),
|
|
33
|
+
aliases: core.serialization.list(core.serialization.string()),
|
|
34
|
+
description: core.serialization.string().optional(),
|
|
35
|
+
status: core.serialization
|
|
36
|
+
.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).organizationServiceFacilities.v2.ServiceFacilityStatus)
|
|
37
|
+
.optional(),
|
|
38
|
+
operationalStatus: core.serialization.property("operational_status", core.serialization
|
|
39
|
+
.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).organizationServiceFacilities.v2.ServiceFacilityOperationalStatus)
|
|
40
|
+
.optional()),
|
|
41
|
+
mode: core.serialization
|
|
42
|
+
.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).organizationServiceFacilities.v2.ServiceFacilityMode)
|
|
43
|
+
.optional(),
|
|
44
|
+
type: core.serialization
|
|
45
|
+
.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).organizationServiceFacilities.v2.ServiceFacilityType)
|
|
46
|
+
.optional(),
|
|
47
|
+
physicalType: core.serialization.property("physical_type", core.serialization
|
|
48
|
+
.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).organizationServiceFacilities.v2.ServiceFacilityPhysicalType)
|
|
49
|
+
.optional()),
|
|
50
|
+
telecoms: core.serialization.list(core.serialization.string()),
|
|
51
|
+
address: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).StreetAddressLongZip),
|
|
52
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
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 OrganizationServiceFacilityId: core.serialization.Schema<serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityId.Raw, CandidApi.organizationServiceFacilities.v2.OrganizationServiceFacilityId>;
|
|
8
|
+
export declare namespace OrganizationServiceFacilityId {
|
|
9
|
+
type Raw = string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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.OrganizationServiceFacilityId = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../api"));
|
|
31
|
+
const core = __importStar(require("../../../../../../core"));
|
|
32
|
+
exports.OrganizationServiceFacilityId = core.serialization.string().transform({
|
|
33
|
+
transform: CandidApi.organizationServiceFacilities.v2.OrganizationServiceFacilityId,
|
|
34
|
+
untransform: (value) => value,
|
|
35
|
+
});
|
|
@@ -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 OrganizationServiceFacilityPage: core.serialization.ObjectSchema<serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityPage.Raw, CandidApi.organizationServiceFacilities.v2.OrganizationServiceFacilityPage>;
|
|
8
|
+
export declare namespace OrganizationServiceFacilityPage {
|
|
9
|
+
interface Raw extends serializers.ResourcePage.Raw {
|
|
10
|
+
items: serializers.organizationServiceFacilities.v2.OrganizationServiceFacility.Raw[];
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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.OrganizationServiceFacilityPage = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.OrganizationServiceFacilityPage = core.serialization
|
|
32
|
+
.object({
|
|
33
|
+
items: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).organizationServiceFacilities.v2.OrganizationServiceFacility)),
|
|
34
|
+
})
|
|
35
|
+
.extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ResourcePage));
|
|
@@ -0,0 +1,21 @@
|
|
|
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 OrganizationServiceFacilityUpdate: core.serialization.ObjectSchema<serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityUpdate.Raw, CandidApi.organizationServiceFacilities.v2.OrganizationServiceFacilityUpdate>;
|
|
8
|
+
export declare namespace OrganizationServiceFacilityUpdate {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name?: string | null;
|
|
11
|
+
aliases?: string[] | null;
|
|
12
|
+
description?: string | null;
|
|
13
|
+
status?: serializers.organizationServiceFacilities.v2.ServiceFacilityStatus.Raw | null;
|
|
14
|
+
operational_status?: serializers.organizationServiceFacilities.v2.ServiceFacilityOperationalStatus.Raw | null;
|
|
15
|
+
mode?: serializers.organizationServiceFacilities.v2.ServiceFacilityMode.Raw | null;
|
|
16
|
+
type?: serializers.organizationServiceFacilities.v2.ServiceFacilityType.Raw | null;
|
|
17
|
+
physical_type?: serializers.organizationServiceFacilities.v2.ServiceFacilityPhysicalType.Raw | null;
|
|
18
|
+
telecoms?: string[] | null;
|
|
19
|
+
address?: serializers.StreetAddressLongZip.Raw | null;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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.OrganizationServiceFacilityUpdate = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.OrganizationServiceFacilityUpdate = core.serialization.object({
|
|
32
|
+
name: core.serialization.string().optional(),
|
|
33
|
+
aliases: core.serialization.list(core.serialization.string()).optional(),
|
|
34
|
+
description: core.serialization.string().optional(),
|
|
35
|
+
status: core.serialization
|
|
36
|
+
.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).organizationServiceFacilities.v2.ServiceFacilityStatus)
|
|
37
|
+
.optional(),
|
|
38
|
+
operationalStatus: core.serialization.property("operational_status", core.serialization
|
|
39
|
+
.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).organizationServiceFacilities.v2.ServiceFacilityOperationalStatus)
|
|
40
|
+
.optional()),
|
|
41
|
+
mode: core.serialization
|
|
42
|
+
.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).organizationServiceFacilities.v2.ServiceFacilityMode)
|
|
43
|
+
.optional(),
|
|
44
|
+
type: core.serialization
|
|
45
|
+
.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).organizationServiceFacilities.v2.ServiceFacilityType)
|
|
46
|
+
.optional(),
|
|
47
|
+
physicalType: core.serialization.property("physical_type", core.serialization
|
|
48
|
+
.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).organizationServiceFacilities.v2.ServiceFacilityPhysicalType)
|
|
49
|
+
.optional()),
|
|
50
|
+
telecoms: core.serialization.list(core.serialization.string()).optional(),
|
|
51
|
+
address: core.serialization
|
|
52
|
+
.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).StreetAddressLongZip)
|
|
53
|
+
.optional(),
|
|
54
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
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 ServiceFacilityMode: core.serialization.Schema<serializers.organizationServiceFacilities.v2.ServiceFacilityMode.Raw, CandidApi.organizationServiceFacilities.v2.ServiceFacilityMode>;
|
|
8
|
+
export declare namespace ServiceFacilityMode {
|
|
9
|
+
type Raw = "instance" | "kind";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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.ServiceFacilityMode = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.ServiceFacilityMode = core.serialization.enum_(["instance", "kind"]);
|
|
@@ -0,0 +1,10 @@
|
|
|
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 ServiceFacilityOperationalStatus: core.serialization.Schema<serializers.organizationServiceFacilities.v2.ServiceFacilityOperationalStatus.Raw, CandidApi.organizationServiceFacilities.v2.ServiceFacilityOperationalStatus>;
|
|
8
|
+
export declare namespace ServiceFacilityOperationalStatus {
|
|
9
|
+
type Raw = "C" | "H" | "I" | "K" | "O" | "U";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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.ServiceFacilityOperationalStatus = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.ServiceFacilityOperationalStatus = core.serialization.enum_(["C", "H", "I", "K", "O", "U"]);
|
|
@@ -0,0 +1,10 @@
|
|
|
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 ServiceFacilityPhysicalType: core.serialization.Schema<serializers.organizationServiceFacilities.v2.ServiceFacilityPhysicalType.Raw, CandidApi.organizationServiceFacilities.v2.ServiceFacilityPhysicalType>;
|
|
8
|
+
export declare namespace ServiceFacilityPhysicalType {
|
|
9
|
+
type Raw = "si" | "bu" | "wi" | "wa" | "lvl" | "co" | "ro" | "bd" | "ve" | "ho" | "ca" | "rd" | "area" | "jdn";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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.ServiceFacilityPhysicalType = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.ServiceFacilityPhysicalType = core.serialization.enum_(["si", "bu", "wi", "wa", "lvl", "co", "ro", "bd", "ve", "ho", "ca", "rd", "area", "jdn"]);
|
|
@@ -0,0 +1,10 @@
|
|
|
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 ServiceFacilityStatus: core.serialization.Schema<serializers.organizationServiceFacilities.v2.ServiceFacilityStatus.Raw, CandidApi.organizationServiceFacilities.v2.ServiceFacilityStatus>;
|
|
8
|
+
export declare namespace ServiceFacilityStatus {
|
|
9
|
+
type Raw = "active" | "inactive" | "suspended";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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.ServiceFacilityStatus = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.ServiceFacilityStatus = core.serialization.enum_(["active", "inactive", "suspended"]);
|