@vepler/sdk 1.9.10 → 1.10.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/FUNCTIONS.md +3 -3
- package/README.md +53 -31
- package/dist/commonjs/funcs/{healthGetV1LocationHealth.d.ts → healthCheckLocationHealth.d.ts} +2 -2
- package/dist/commonjs/funcs/{healthGetV1PlanningHealth.d.ts.map → healthCheckLocationHealth.d.ts.map} +1 -1
- package/dist/commonjs/funcs/{healthGetV1LocationHealth.js → healthCheckLocationHealth.js} +4 -4
- package/dist/commonjs/funcs/{healthGetV1PlanningHealth.js.map → healthCheckLocationHealth.js.map} +1 -1
- package/dist/{esm/funcs/healthGetV1PlanningHealth.d.ts → commonjs/funcs/healthCheckPlanningHealth.d.ts} +2 -2
- package/dist/commonjs/funcs/{healthGetV1LocationHealth.d.ts.map → healthCheckPlanningHealth.d.ts.map} +1 -1
- package/dist/commonjs/funcs/{healthGetV1PlanningHealth.js → healthCheckPlanningHealth.js} +4 -4
- package/dist/commonjs/funcs/{healthGetV1PropertyHealth.js.map → healthCheckPlanningHealth.js.map} +1 -1
- package/dist/{esm/funcs/healthGetV1PropertyHealth.d.ts → commonjs/funcs/healthCheckPropertyHealth.d.ts} +2 -2
- package/dist/commonjs/funcs/{healthGetV1PropertyHealth.d.ts.map → healthCheckPropertyHealth.d.ts.map} +1 -1
- package/dist/commonjs/funcs/{healthGetV1PropertyHealth.js → healthCheckPropertyHealth.js} +4 -4
- package/dist/commonjs/funcs/{healthGetV1LocationHealth.js.map → healthCheckPropertyHealth.js.map} +1 -1
- package/dist/{esm/funcs/locationPostV1LocationStreetQuery.d.ts → commonjs/funcs/locationSearchStreets.d.ts} +2 -2
- package/dist/commonjs/funcs/locationSearchStreets.d.ts.map +1 -0
- package/dist/commonjs/funcs/{locationPostV1LocationStreetQuery.js → locationSearchStreets.js} +5 -5
- package/dist/commonjs/funcs/locationSearchStreets.js.map +1 -0
- package/dist/commonjs/funcs/{planningGetV1PlanningApplicationIds.d.ts → planningGetPlanningApplications.d.ts} +2 -2
- package/dist/commonjs/funcs/planningGetPlanningApplications.d.ts.map +1 -0
- package/dist/commonjs/funcs/{planningGetV1PlanningApplicationIds.js → planningGetPlanningApplications.js} +6 -6
- package/dist/commonjs/funcs/planningGetPlanningApplications.js.map +1 -0
- package/dist/commonjs/funcs/{planningGetV1PlanningSourcesSourceIds.d.ts → planningGetPlanningApplicationsBySource.d.ts} +2 -2
- package/dist/commonjs/funcs/planningGetPlanningApplicationsBySource.d.ts.map +1 -0
- package/dist/commonjs/funcs/{planningGetV1PlanningSourcesSourceIds.js → planningGetPlanningApplicationsBySource.js} +6 -6
- package/dist/commonjs/funcs/planningGetPlanningApplicationsBySource.js.map +1 -0
- package/dist/commonjs/funcs/{planningPostV1PlanningQuery.d.ts → planningSearchPlanningApplications.d.ts} +2 -2
- package/dist/commonjs/funcs/planningSearchPlanningApplications.d.ts.map +1 -0
- package/dist/commonjs/funcs/{planningPostV1PlanningQuery.js → planningSearchPlanningApplications.js} +5 -5
- package/dist/commonjs/funcs/planningSearchPlanningApplications.js.map +1 -0
- package/dist/commonjs/funcs/propertyGetProperties.d.ts +17 -0
- package/dist/commonjs/funcs/propertyGetProperties.d.ts.map +1 -0
- package/dist/commonjs/funcs/{propertyGetV1PropertyPropertyIdPropertyIds.js → propertyGetProperties.js} +6 -6
- package/dist/commonjs/funcs/propertyGetProperties.js.map +1 -0
- package/dist/{esm/funcs/propertyGetV1PropertyLocationIds.d.ts → commonjs/funcs/propertyGetPropertiesByLocation.d.ts} +2 -2
- package/dist/commonjs/funcs/propertyGetPropertiesByLocation.d.ts.map +1 -0
- package/dist/commonjs/funcs/{propertyGetV1PropertyLocationIds.js → propertyGetPropertiesByLocation.js} +6 -6
- package/dist/commonjs/funcs/propertyGetPropertiesByLocation.js.map +1 -0
- package/dist/commonjs/funcs/{propertyPostV1PropertyPropertiesBySlugs.d.ts → propertyGetPropertiesBySlugs.d.ts} +2 -2
- package/dist/commonjs/funcs/propertyGetPropertiesBySlugs.d.ts.map +1 -0
- package/dist/commonjs/funcs/{propertyPostV1PropertyPropertiesBySlugs.js → propertyGetPropertiesBySlugs.js} +5 -5
- package/dist/commonjs/funcs/propertyGetPropertiesBySlugs.js.map +1 -0
- package/dist/commonjs/funcs/{propertyGetV1PropertySourcesSourceIds.d.ts → propertyGetPropertiesBySource.d.ts} +2 -2
- package/dist/commonjs/funcs/propertyGetPropertiesBySource.d.ts.map +1 -0
- package/dist/commonjs/funcs/{propertyGetV1PropertySourcesSourceIds.js → propertyGetPropertiesBySource.js} +6 -6
- package/dist/commonjs/funcs/propertyGetPropertiesBySource.js.map +1 -0
- package/dist/commonjs/funcs/propertySearchProperties.d.ts +18 -0
- package/dist/commonjs/funcs/propertySearchProperties.d.ts.map +1 -0
- package/dist/commonjs/funcs/{propertyPostV1PropertyQuery.js → propertySearchProperties.js} +5 -5
- package/dist/commonjs/funcs/propertySearchProperties.js.map +1 -0
- package/dist/commonjs/funcs/schoolMetricsGetMetrics.d.ts +17 -0
- package/dist/commonjs/funcs/schoolMetricsGetMetrics.d.ts.map +1 -0
- package/dist/commonjs/funcs/schoolMetricsGetMetrics.js +130 -0
- package/dist/commonjs/funcs/schoolMetricsGetMetrics.js.map +1 -0
- package/dist/commonjs/funcs/schoolMetricsListProfiles.d.ts +17 -0
- package/dist/commonjs/funcs/schoolMetricsListProfiles.d.ts.map +1 -0
- package/dist/commonjs/funcs/schoolMetricsListProfiles.js +104 -0
- package/dist/commonjs/funcs/schoolMetricsListProfiles.js.map +1 -0
- package/dist/commonjs/funcs/schoolsGet.d.ts +17 -0
- package/dist/commonjs/funcs/{propertyGetV1PropertyPropertyIdPropertyIds.d.ts.map → schoolsGet.d.ts.map} +1 -1
- package/dist/commonjs/funcs/schoolsGet.js +124 -0
- package/dist/commonjs/funcs/schoolsGet.js.map +1 -0
- package/dist/commonjs/funcs/{propertyGetV1PropertyPropertyIdPropertyIds.d.ts → schoolsGetBySlug.d.ts} +4 -4
- package/dist/commonjs/funcs/schoolsGetBySlug.d.ts.map +1 -0
- package/dist/commonjs/funcs/schoolsGetBySlug.js +124 -0
- package/dist/commonjs/funcs/schoolsGetBySlug.js.map +1 -0
- package/dist/commonjs/funcs/schoolsGetByUrn.d.ts +17 -0
- package/dist/commonjs/funcs/schoolsGetByUrn.d.ts.map +1 -0
- package/dist/commonjs/funcs/schoolsGetByUrn.js +124 -0
- package/dist/commonjs/funcs/schoolsGetByUrn.js.map +1 -0
- package/dist/{esm/funcs/propertyGetV1PropertyPropertyIdPropertyIds.d.ts → commonjs/funcs/schoolsList.d.ts} +4 -4
- package/dist/commonjs/funcs/schoolsList.d.ts.map +1 -0
- package/dist/commonjs/funcs/schoolsList.js +126 -0
- package/dist/commonjs/funcs/schoolsList.js.map +1 -0
- package/dist/commonjs/funcs/schoolsSearchNearby.d.ts +17 -0
- package/dist/commonjs/funcs/schoolsSearchNearby.d.ts.map +1 -0
- package/dist/commonjs/funcs/schoolsSearchNearby.js +125 -0
- package/dist/commonjs/funcs/schoolsSearchNearby.js.map +1 -0
- package/dist/commonjs/funcs/schoolsSearchWithin.d.ts +17 -0
- package/dist/commonjs/funcs/schoolsSearchWithin.d.ts.map +1 -0
- package/dist/commonjs/funcs/schoolsSearchWithin.js +125 -0
- package/dist/commonjs/funcs/schoolsSearchWithin.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.d.ts.map +1 -1
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/sdk/health.d.ts +3 -3
- package/dist/commonjs/sdk/health.js +9 -9
- package/dist/commonjs/sdk/location.d.ts +1 -1
- package/dist/commonjs/sdk/location.d.ts.map +1 -1
- package/dist/commonjs/sdk/location.js +3 -3
- package/dist/commonjs/sdk/location.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getmetricprofiles.d.ts +89 -0
- package/dist/commonjs/sdk/models/operations/getmetricprofiles.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getmetricprofiles.js +122 -0
- package/dist/commonjs/sdk/models/operations/getmetricprofiles.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getplanningapplications.d.ts +54 -0
- package/dist/commonjs/sdk/models/operations/getplanningapplications.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getplanningapplications.js +99 -0
- package/dist/commonjs/sdk/models/operations/getplanningapplications.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getplanningapplicationsbysource.d.ts +54 -0
- package/dist/commonjs/sdk/models/operations/getplanningapplicationsbysource.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getplanningapplicationsbysource.js +99 -0
- package/dist/commonjs/sdk/models/operations/getplanningapplicationsbysource.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getproperties.d.ts +69 -0
- package/dist/commonjs/sdk/models/operations/getproperties.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getproperties.js +105 -0
- package/dist/commonjs/sdk/models/operations/getproperties.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getpropertiesbylocation.d.ts +69 -0
- package/dist/commonjs/sdk/models/operations/getpropertiesbylocation.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getpropertiesbylocation.js +105 -0
- package/dist/commonjs/sdk/models/operations/getpropertiesbylocation.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getpropertiesbyslugs.d.ts +26 -0
- package/dist/commonjs/sdk/models/operations/getpropertiesbyslugs.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/{postv1propertyquery.js → getpropertiesbyslugs.js} +17 -17
- package/dist/commonjs/sdk/models/operations/getpropertiesbyslugs.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getpropertiesbysource.d.ts +69 -0
- package/dist/commonjs/sdk/models/operations/getpropertiesbysource.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getpropertiesbysource.js +105 -0
- package/dist/commonjs/sdk/models/operations/getpropertiesbysource.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getschoolbyid.d.ts +245 -0
- package/dist/commonjs/sdk/models/operations/getschoolbyid.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getschoolbyid.js +267 -0
- package/dist/commonjs/sdk/models/operations/getschoolbyid.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getschoolbyslug.d.ts +245 -0
- package/dist/commonjs/sdk/models/operations/getschoolbyslug.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getschoolbyslug.js +267 -0
- package/dist/commonjs/sdk/models/operations/getschoolbyslug.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getschoolbyurn.d.ts +245 -0
- package/dist/commonjs/sdk/models/operations/getschoolbyurn.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getschoolbyurn.js +267 -0
- package/dist/commonjs/sdk/models/operations/getschoolbyurn.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getschoolmetrics.d.ts +901 -0
- package/dist/commonjs/sdk/models/operations/getschoolmetrics.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getschoolmetrics.js +844 -0
- package/dist/commonjs/sdk/models/operations/getschoolmetrics.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/index.d.ts +17 -9
- package/dist/commonjs/sdk/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/index.js +17 -9
- package/dist/commonjs/sdk/models/operations/index.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/listschools.d.ts +248 -0
- package/dist/commonjs/sdk/models/operations/listschools.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/listschools.js +262 -0
- package/dist/commonjs/sdk/models/operations/listschools.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/searchplanningapplications.d.ts +26 -0
- package/dist/commonjs/sdk/models/operations/searchplanningapplications.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/{postv1propertypropertiesbyslugs.js → searchplanningapplications.js} +19 -19
- package/dist/commonjs/sdk/models/operations/searchplanningapplications.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/searchproperties.d.ts +26 -0
- package/dist/commonjs/sdk/models/operations/searchproperties.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/{postv1planningquery.js → searchproperties.js} +19 -19
- package/dist/commonjs/sdk/models/operations/searchproperties.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/searchschoolsnearby.d.ts +274 -0
- package/dist/commonjs/sdk/models/operations/searchschoolsnearby.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/searchschoolsnearby.js +282 -0
- package/dist/commonjs/sdk/models/operations/searchschoolsnearby.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/searchschoolswithin.d.ts +243 -0
- package/dist/commonjs/sdk/models/operations/searchschoolswithin.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/searchschoolswithin.js +260 -0
- package/dist/commonjs/sdk/models/operations/searchschoolswithin.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/searchstreets.d.ts +26 -0
- package/dist/commonjs/sdk/models/operations/searchstreets.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/{postv1locationstreetquery.js → searchstreets.js} +17 -17
- package/dist/commonjs/sdk/models/operations/searchstreets.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/index.d.ts +1 -0
- package/dist/commonjs/sdk/models/shared/index.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/index.js +1 -0
- package/dist/commonjs/sdk/models/shared/index.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/postcodeareafilter.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/propertyaddress.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/school.d.ts +441 -0
- package/dist/commonjs/sdk/models/shared/school.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/school.js +301 -0
- package/dist/commonjs/sdk/models/shared/school.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/streetquerybycoordinates.d.ts +2 -2
- package/dist/commonjs/sdk/planning.d.ts +7 -7
- package/dist/commonjs/sdk/planning.d.ts.map +1 -1
- package/dist/commonjs/sdk/planning.js +13 -13
- package/dist/commonjs/sdk/planning.js.map +1 -1
- package/dist/commonjs/sdk/property.d.ts +11 -11
- package/dist/commonjs/sdk/property.d.ts.map +1 -1
- package/dist/commonjs/sdk/property.js +21 -21
- package/dist/commonjs/sdk/property.js.map +1 -1
- package/dist/commonjs/sdk/schoolmetrics.d.ts +19 -0
- package/dist/commonjs/sdk/schoolmetrics.d.ts.map +1 -0
- package/dist/commonjs/sdk/schoolmetrics.js +32 -0
- package/dist/commonjs/sdk/schoolmetrics.js.map +1 -0
- package/dist/commonjs/sdk/schools.d.ts +47 -0
- package/dist/commonjs/sdk/schools.d.ts.map +1 -0
- package/dist/commonjs/sdk/schools.js +72 -0
- package/dist/commonjs/sdk/schools.js.map +1 -0
- package/dist/commonjs/sdk/sdk.d.ts +6 -0
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +8 -0
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/esm/funcs/{healthGetV1LocationHealth.d.ts → healthCheckLocationHealth.d.ts} +2 -2
- package/dist/esm/funcs/{healthGetV1LocationHealth.d.ts.map → healthCheckLocationHealth.d.ts.map} +1 -1
- package/dist/esm/funcs/{healthGetV1LocationHealth.js → healthCheckLocationHealth.js} +3 -3
- package/dist/esm/funcs/{healthGetV1PlanningHealth.js.map → healthCheckLocationHealth.js.map} +1 -1
- package/dist/{commonjs/funcs/healthGetV1PlanningHealth.d.ts → esm/funcs/healthCheckPlanningHealth.d.ts} +2 -2
- package/dist/esm/funcs/healthCheckPlanningHealth.d.ts.map +1 -0
- package/dist/esm/funcs/{healthGetV1PlanningHealth.js → healthCheckPlanningHealth.js} +3 -3
- package/dist/esm/funcs/{healthGetV1PropertyHealth.js.map → healthCheckPlanningHealth.js.map} +1 -1
- package/dist/{commonjs/funcs/healthGetV1PropertyHealth.d.ts → esm/funcs/healthCheckPropertyHealth.d.ts} +2 -2
- package/dist/esm/funcs/healthCheckPropertyHealth.d.ts.map +1 -0
- package/dist/esm/funcs/{healthGetV1PropertyHealth.js → healthCheckPropertyHealth.js} +3 -3
- package/dist/esm/funcs/{healthGetV1LocationHealth.js.map → healthCheckPropertyHealth.js.map} +1 -1
- package/dist/{commonjs/funcs/locationPostV1LocationStreetQuery.d.ts → esm/funcs/locationSearchStreets.d.ts} +2 -2
- package/dist/esm/funcs/locationSearchStreets.d.ts.map +1 -0
- package/dist/esm/funcs/{locationPostV1LocationStreetQuery.js → locationSearchStreets.js} +4 -4
- package/dist/esm/funcs/locationSearchStreets.js.map +1 -0
- package/dist/esm/funcs/{planningGetV1PlanningApplicationIds.d.ts → planningGetPlanningApplications.d.ts} +2 -2
- package/dist/esm/funcs/planningGetPlanningApplications.d.ts.map +1 -0
- package/dist/esm/funcs/{planningGetV1PlanningApplicationIds.js → planningGetPlanningApplications.js} +5 -5
- package/dist/esm/funcs/planningGetPlanningApplications.js.map +1 -0
- package/dist/esm/funcs/{planningGetV1PlanningSourcesSourceIds.d.ts → planningGetPlanningApplicationsBySource.d.ts} +2 -2
- package/dist/esm/funcs/planningGetPlanningApplicationsBySource.d.ts.map +1 -0
- package/dist/esm/funcs/{planningGetV1PlanningSourcesSourceIds.js → planningGetPlanningApplicationsBySource.js} +5 -5
- package/dist/esm/funcs/planningGetPlanningApplicationsBySource.js.map +1 -0
- package/dist/esm/funcs/{planningPostV1PlanningQuery.d.ts → planningSearchPlanningApplications.d.ts} +2 -2
- package/dist/esm/funcs/planningSearchPlanningApplications.d.ts.map +1 -0
- package/dist/esm/funcs/{planningPostV1PlanningQuery.js → planningSearchPlanningApplications.js} +4 -4
- package/dist/esm/funcs/planningSearchPlanningApplications.js.map +1 -0
- package/dist/esm/funcs/propertyGetProperties.d.ts +17 -0
- package/dist/esm/funcs/propertyGetProperties.d.ts.map +1 -0
- package/dist/esm/funcs/{propertyGetV1PropertyPropertyIdPropertyIds.js → propertyGetProperties.js} +5 -5
- package/dist/esm/funcs/propertyGetProperties.js.map +1 -0
- package/dist/{commonjs/funcs/propertyGetV1PropertyLocationIds.d.ts → esm/funcs/propertyGetPropertiesByLocation.d.ts} +2 -2
- package/dist/esm/funcs/propertyGetPropertiesByLocation.d.ts.map +1 -0
- package/dist/esm/funcs/{propertyGetV1PropertyLocationIds.js → propertyGetPropertiesByLocation.js} +5 -5
- package/dist/esm/funcs/propertyGetPropertiesByLocation.js.map +1 -0
- package/dist/esm/funcs/{propertyPostV1PropertyPropertiesBySlugs.d.ts → propertyGetPropertiesBySlugs.d.ts} +2 -2
- package/dist/esm/funcs/propertyGetPropertiesBySlugs.d.ts.map +1 -0
- package/dist/esm/funcs/{propertyPostV1PropertyPropertiesBySlugs.js → propertyGetPropertiesBySlugs.js} +4 -4
- package/dist/esm/funcs/propertyGetPropertiesBySlugs.js.map +1 -0
- package/dist/esm/funcs/{propertyGetV1PropertySourcesSourceIds.d.ts → propertyGetPropertiesBySource.d.ts} +2 -2
- package/dist/esm/funcs/propertyGetPropertiesBySource.d.ts.map +1 -0
- package/dist/esm/funcs/{propertyGetV1PropertySourcesSourceIds.js → propertyGetPropertiesBySource.js} +5 -5
- package/dist/esm/funcs/propertyGetPropertiesBySource.js.map +1 -0
- package/dist/esm/funcs/propertySearchProperties.d.ts +18 -0
- package/dist/esm/funcs/propertySearchProperties.d.ts.map +1 -0
- package/dist/esm/funcs/{propertyPostV1PropertyQuery.js → propertySearchProperties.js} +4 -4
- package/dist/esm/funcs/propertySearchProperties.js.map +1 -0
- package/dist/esm/funcs/schoolMetricsGetMetrics.d.ts +17 -0
- package/dist/esm/funcs/schoolMetricsGetMetrics.d.ts.map +1 -0
- package/dist/esm/funcs/schoolMetricsGetMetrics.js +94 -0
- package/dist/esm/funcs/schoolMetricsGetMetrics.js.map +1 -0
- package/dist/esm/funcs/schoolMetricsListProfiles.d.ts +17 -0
- package/dist/esm/funcs/schoolMetricsListProfiles.d.ts.map +1 -0
- package/dist/esm/funcs/schoolMetricsListProfiles.js +68 -0
- package/dist/esm/funcs/schoolMetricsListProfiles.js.map +1 -0
- package/dist/esm/funcs/schoolsGet.d.ts +17 -0
- package/dist/esm/funcs/{propertyGetV1PropertyPropertyIdPropertyIds.d.ts.map → schoolsGet.d.ts.map} +1 -1
- package/dist/esm/funcs/schoolsGet.js +88 -0
- package/dist/esm/funcs/schoolsGet.js.map +1 -0
- package/dist/esm/funcs/schoolsGetBySlug.d.ts +17 -0
- package/dist/esm/funcs/schoolsGetBySlug.d.ts.map +1 -0
- package/dist/esm/funcs/schoolsGetBySlug.js +88 -0
- package/dist/esm/funcs/schoolsGetBySlug.js.map +1 -0
- package/dist/esm/funcs/schoolsGetByUrn.d.ts +17 -0
- package/dist/esm/funcs/schoolsGetByUrn.d.ts.map +1 -0
- package/dist/esm/funcs/schoolsGetByUrn.js +88 -0
- package/dist/esm/funcs/schoolsGetByUrn.js.map +1 -0
- package/dist/esm/funcs/schoolsList.d.ts +17 -0
- package/dist/esm/funcs/schoolsList.d.ts.map +1 -0
- package/dist/esm/funcs/schoolsList.js +90 -0
- package/dist/esm/funcs/schoolsList.js.map +1 -0
- package/dist/esm/funcs/schoolsSearchNearby.d.ts +17 -0
- package/dist/esm/funcs/schoolsSearchNearby.d.ts.map +1 -0
- package/dist/esm/funcs/schoolsSearchNearby.js +89 -0
- package/dist/esm/funcs/schoolsSearchNearby.js.map +1 -0
- package/dist/esm/funcs/schoolsSearchWithin.d.ts +17 -0
- package/dist/esm/funcs/schoolsSearchWithin.d.ts.map +1 -0
- package/dist/esm/funcs/schoolsSearchWithin.js +89 -0
- package/dist/esm/funcs/schoolsSearchWithin.js.map +1 -0
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.d.ts.map +1 -1
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/sdk/health.d.ts +3 -3
- package/dist/esm/sdk/health.js +9 -9
- package/dist/esm/sdk/location.d.ts +1 -1
- package/dist/esm/sdk/location.d.ts.map +1 -1
- package/dist/esm/sdk/location.js +3 -3
- package/dist/esm/sdk/location.js.map +1 -1
- package/dist/esm/sdk/models/operations/getmetricprofiles.d.ts +89 -0
- package/dist/esm/sdk/models/operations/getmetricprofiles.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getmetricprofiles.js +82 -0
- package/dist/esm/sdk/models/operations/getmetricprofiles.js.map +1 -0
- package/dist/esm/sdk/models/operations/getplanningapplications.d.ts +54 -0
- package/dist/esm/sdk/models/operations/getplanningapplications.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getplanningapplications.js +59 -0
- package/dist/esm/sdk/models/operations/getplanningapplications.js.map +1 -0
- package/dist/esm/sdk/models/operations/getplanningapplicationsbysource.d.ts +54 -0
- package/dist/esm/sdk/models/operations/getplanningapplicationsbysource.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getplanningapplicationsbysource.js +59 -0
- package/dist/esm/sdk/models/operations/getplanningapplicationsbysource.js.map +1 -0
- package/dist/esm/sdk/models/operations/getproperties.d.ts +69 -0
- package/dist/esm/sdk/models/operations/getproperties.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getproperties.js +65 -0
- package/dist/esm/sdk/models/operations/getproperties.js.map +1 -0
- package/dist/esm/sdk/models/operations/getpropertiesbylocation.d.ts +69 -0
- package/dist/esm/sdk/models/operations/getpropertiesbylocation.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getpropertiesbylocation.js +65 -0
- package/dist/esm/sdk/models/operations/getpropertiesbylocation.js.map +1 -0
- package/dist/esm/sdk/models/operations/getpropertiesbyslugs.d.ts +26 -0
- package/dist/esm/sdk/models/operations/getpropertiesbyslugs.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getpropertiesbyslugs.js +34 -0
- package/dist/esm/sdk/models/operations/getpropertiesbyslugs.js.map +1 -0
- package/dist/esm/sdk/models/operations/getpropertiesbysource.d.ts +69 -0
- package/dist/esm/sdk/models/operations/getpropertiesbysource.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getpropertiesbysource.js +65 -0
- package/dist/esm/sdk/models/operations/getpropertiesbysource.js.map +1 -0
- package/dist/esm/sdk/models/operations/getschoolbyid.d.ts +245 -0
- package/dist/esm/sdk/models/operations/getschoolbyid.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getschoolbyid.js +219 -0
- package/dist/esm/sdk/models/operations/getschoolbyid.js.map +1 -0
- package/dist/esm/sdk/models/operations/getschoolbyslug.d.ts +245 -0
- package/dist/esm/sdk/models/operations/getschoolbyslug.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getschoolbyslug.js +219 -0
- package/dist/esm/sdk/models/operations/getschoolbyslug.js.map +1 -0
- package/dist/esm/sdk/models/operations/getschoolbyurn.d.ts +245 -0
- package/dist/esm/sdk/models/operations/getschoolbyurn.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getschoolbyurn.js +219 -0
- package/dist/esm/sdk/models/operations/getschoolbyurn.js.map +1 -0
- package/dist/esm/sdk/models/operations/getschoolmetrics.d.ts +901 -0
- package/dist/esm/sdk/models/operations/getschoolmetrics.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getschoolmetrics.js +771 -0
- package/dist/esm/sdk/models/operations/getschoolmetrics.js.map +1 -0
- package/dist/esm/sdk/models/operations/index.d.ts +17 -9
- package/dist/esm/sdk/models/operations/index.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/index.js +17 -9
- package/dist/esm/sdk/models/operations/index.js.map +1 -1
- package/dist/esm/sdk/models/operations/listschools.d.ts +248 -0
- package/dist/esm/sdk/models/operations/listschools.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/listschools.js +216 -0
- package/dist/esm/sdk/models/operations/listschools.js.map +1 -0
- package/dist/esm/sdk/models/operations/searchplanningapplications.d.ts +26 -0
- package/dist/esm/sdk/models/operations/searchplanningapplications.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/searchplanningapplications.js +34 -0
- package/dist/esm/sdk/models/operations/searchplanningapplications.js.map +1 -0
- package/dist/esm/sdk/models/operations/searchproperties.d.ts +26 -0
- package/dist/esm/sdk/models/operations/searchproperties.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/searchproperties.js +34 -0
- package/dist/esm/sdk/models/operations/searchproperties.js.map +1 -0
- package/dist/esm/sdk/models/operations/searchschoolsnearby.d.ts +274 -0
- package/dist/esm/sdk/models/operations/searchschoolsnearby.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/searchschoolsnearby.js +236 -0
- package/dist/esm/sdk/models/operations/searchschoolsnearby.js.map +1 -0
- package/dist/esm/sdk/models/operations/searchschoolswithin.d.ts +243 -0
- package/dist/esm/sdk/models/operations/searchschoolswithin.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/searchschoolswithin.js +214 -0
- package/dist/esm/sdk/models/operations/searchschoolswithin.js.map +1 -0
- package/dist/esm/sdk/models/operations/searchstreets.d.ts +26 -0
- package/dist/esm/sdk/models/operations/searchstreets.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/searchstreets.js +34 -0
- package/dist/esm/sdk/models/operations/searchstreets.js.map +1 -0
- package/dist/esm/sdk/models/shared/index.d.ts +1 -0
- package/dist/esm/sdk/models/shared/index.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/index.js +1 -0
- package/dist/esm/sdk/models/shared/index.js.map +1 -1
- package/dist/esm/sdk/models/shared/postcodeareafilter.d.ts +1 -1
- package/dist/esm/sdk/models/shared/propertyaddress.d.ts +1 -1
- package/dist/esm/sdk/models/shared/school.d.ts +441 -0
- package/dist/esm/sdk/models/shared/school.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/school.js +259 -0
- package/dist/esm/sdk/models/shared/school.js.map +1 -0
- package/dist/esm/sdk/models/shared/streetquerybycoordinates.d.ts +2 -2
- package/dist/esm/sdk/planning.d.ts +7 -7
- package/dist/esm/sdk/planning.d.ts.map +1 -1
- package/dist/esm/sdk/planning.js +13 -13
- package/dist/esm/sdk/planning.js.map +1 -1
- package/dist/esm/sdk/property.d.ts +11 -11
- package/dist/esm/sdk/property.d.ts.map +1 -1
- package/dist/esm/sdk/property.js +21 -21
- package/dist/esm/sdk/property.js.map +1 -1
- package/dist/esm/sdk/schoolmetrics.d.ts +19 -0
- package/dist/esm/sdk/schoolmetrics.d.ts.map +1 -0
- package/dist/esm/sdk/schoolmetrics.js +28 -0
- package/dist/esm/sdk/schoolmetrics.js.map +1 -0
- package/dist/esm/sdk/schools.d.ts +47 -0
- package/dist/esm/sdk/schools.d.ts.map +1 -0
- package/dist/esm/sdk/schools.js +68 -0
- package/dist/esm/sdk/schools.js.map +1 -0
- package/dist/esm/sdk/sdk.d.ts +6 -0
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +8 -0
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/examples/{healthGetV1LocationHealth.example.ts → healthCheckLocationHealth.example.ts} +2 -2
- package/openapi.json +908 -1
- package/package.json +1 -1
- package/src/funcs/{healthGetV1LocationHealth.ts → healthCheckLocationHealth.ts} +2 -2
- package/src/funcs/{healthGetV1PlanningHealth.ts → healthCheckPlanningHealth.ts} +2 -2
- package/src/funcs/{healthGetV1PropertyHealth.ts → healthCheckPropertyHealth.ts} +2 -2
- package/src/funcs/{locationPostV1LocationStreetQuery.ts → locationSearchStreets.ts} +8 -11
- package/src/funcs/{planningGetV1PlanningApplicationIds.ts → planningGetPlanningApplications.ts} +11 -11
- package/src/funcs/{planningGetV1PlanningSourcesSourceIds.ts → planningGetPlanningApplicationsBySource.ts} +20 -11
- package/src/funcs/{planningPostV1PlanningQuery.ts → planningSearchPlanningApplications.ts} +8 -8
- package/src/funcs/{propertyGetV1PropertyPropertyIdPropertyIds.ts → propertyGetProperties.ts} +11 -23
- package/src/funcs/{propertyGetV1PropertyLocationIds.ts → propertyGetPropertiesByLocation.ts} +11 -11
- package/src/funcs/{propertyPostV1PropertyPropertiesBySlugs.ts → propertyGetPropertiesBySlugs.ts} +8 -17
- package/src/funcs/{propertyGetV1PropertySourcesSourceIds.ts → propertyGetPropertiesBySource.ts} +11 -13
- package/src/funcs/{propertyPostV1PropertyQuery.ts → propertySearchProperties.ts} +8 -8
- package/src/funcs/schoolMetricsGetMetrics.ts +177 -0
- package/src/funcs/schoolMetricsListProfiles.ts +140 -0
- package/src/funcs/schoolsGet.ts +172 -0
- package/src/funcs/schoolsGetBySlug.ts +172 -0
- package/src/funcs/schoolsGetByUrn.ts +172 -0
- package/src/funcs/schoolsList.ts +173 -0
- package/src/funcs/schoolsSearchNearby.ts +172 -0
- package/src/funcs/schoolsSearchWithin.ts +172 -0
- package/src/lib/config.ts +3 -3
- package/src/sdk/health.ts +9 -9
- package/src/sdk/location.ts +4 -4
- package/src/sdk/models/operations/getmetricprofiles.ts +159 -0
- package/src/sdk/models/operations/getplanningapplications.ts +134 -0
- package/src/sdk/models/operations/getplanningapplicationsbysource.ts +147 -0
- package/src/sdk/models/operations/getproperties.ts +151 -0
- package/src/sdk/models/operations/getpropertiesbylocation.ts +155 -0
- package/src/sdk/models/operations/getpropertiesbyslugs.ts +71 -0
- package/src/sdk/models/operations/getpropertiesbysource.ts +155 -0
- package/src/sdk/models/operations/getschoolbyid.ts +473 -0
- package/src/sdk/models/operations/getschoolbyslug.ts +479 -0
- package/src/sdk/models/operations/getschoolbyurn.ts +474 -0
- package/src/sdk/models/operations/getschoolmetrics.ts +1552 -0
- package/src/sdk/models/operations/index.ts +17 -9
- package/src/sdk/models/operations/listschools.ts +470 -0
- package/src/sdk/models/operations/searchplanningapplications.ts +73 -0
- package/src/sdk/models/operations/searchproperties.ts +69 -0
- package/src/sdk/models/operations/searchschoolsnearby.ts +507 -0
- package/src/sdk/models/operations/searchschoolswithin.ts +475 -0
- package/src/sdk/models/operations/searchstreets.ts +69 -0
- package/src/sdk/models/shared/index.ts +1 -0
- package/src/sdk/models/shared/postcodeareafilter.ts +1 -1
- package/src/sdk/models/shared/propertyaddress.ts +1 -1
- package/src/sdk/models/shared/school.ts +588 -0
- package/src/sdk/models/shared/streetquerybycoordinates.ts +2 -2
- package/src/sdk/planning.ts +18 -18
- package/src/sdk/property.ts +30 -30
- package/src/sdk/schoolmetrics.ts +43 -0
- package/src/sdk/schools.ts +117 -0
- package/src/sdk/sdk.ts +12 -0
- package/test-local.ts +4 -4
- package/dist/commonjs/funcs/locationPostV1LocationStreetQuery.d.ts.map +0 -1
- package/dist/commonjs/funcs/locationPostV1LocationStreetQuery.js.map +0 -1
- package/dist/commonjs/funcs/planningGetV1PlanningApplicationIds.d.ts.map +0 -1
- package/dist/commonjs/funcs/planningGetV1PlanningApplicationIds.js.map +0 -1
- package/dist/commonjs/funcs/planningGetV1PlanningSourcesSourceIds.d.ts.map +0 -1
- package/dist/commonjs/funcs/planningGetV1PlanningSourcesSourceIds.js.map +0 -1
- package/dist/commonjs/funcs/planningPostV1PlanningQuery.d.ts.map +0 -1
- package/dist/commonjs/funcs/planningPostV1PlanningQuery.js.map +0 -1
- package/dist/commonjs/funcs/propertyGetV1PropertyLocationIds.d.ts.map +0 -1
- package/dist/commonjs/funcs/propertyGetV1PropertyLocationIds.js.map +0 -1
- package/dist/commonjs/funcs/propertyGetV1PropertyPropertyIdPropertyIds.js.map +0 -1
- package/dist/commonjs/funcs/propertyGetV1PropertySourcesSourceIds.d.ts.map +0 -1
- package/dist/commonjs/funcs/propertyGetV1PropertySourcesSourceIds.js.map +0 -1
- package/dist/commonjs/funcs/propertyPostV1PropertyPropertiesBySlugs.d.ts.map +0 -1
- package/dist/commonjs/funcs/propertyPostV1PropertyPropertiesBySlugs.js.map +0 -1
- package/dist/commonjs/funcs/propertyPostV1PropertyQuery.d.ts +0 -18
- package/dist/commonjs/funcs/propertyPostV1PropertyQuery.d.ts.map +0 -1
- package/dist/commonjs/funcs/propertyPostV1PropertyQuery.js.map +0 -1
- package/dist/commonjs/sdk/models/operations/getv1planningapplicationids.d.ts +0 -54
- package/dist/commonjs/sdk/models/operations/getv1planningapplicationids.d.ts.map +0 -1
- package/dist/commonjs/sdk/models/operations/getv1planningapplicationids.js +0 -99
- package/dist/commonjs/sdk/models/operations/getv1planningapplicationids.js.map +0 -1
- package/dist/commonjs/sdk/models/operations/getv1planningsourcessourceids.d.ts +0 -54
- package/dist/commonjs/sdk/models/operations/getv1planningsourcessourceids.d.ts.map +0 -1
- package/dist/commonjs/sdk/models/operations/getv1planningsourcessourceids.js +0 -99
- package/dist/commonjs/sdk/models/operations/getv1planningsourcessourceids.js.map +0 -1
- package/dist/commonjs/sdk/models/operations/getv1propertylocationids.d.ts +0 -69
- package/dist/commonjs/sdk/models/operations/getv1propertylocationids.d.ts.map +0 -1
- package/dist/commonjs/sdk/models/operations/getv1propertylocationids.js +0 -105
- package/dist/commonjs/sdk/models/operations/getv1propertylocationids.js.map +0 -1
- package/dist/commonjs/sdk/models/operations/getv1propertypropertyidpropertyids.d.ts +0 -69
- package/dist/commonjs/sdk/models/operations/getv1propertypropertyidpropertyids.d.ts.map +0 -1
- package/dist/commonjs/sdk/models/operations/getv1propertypropertyidpropertyids.js +0 -105
- package/dist/commonjs/sdk/models/operations/getv1propertypropertyidpropertyids.js.map +0 -1
- package/dist/commonjs/sdk/models/operations/getv1propertysourcessourceids.d.ts +0 -69
- package/dist/commonjs/sdk/models/operations/getv1propertysourcessourceids.d.ts.map +0 -1
- package/dist/commonjs/sdk/models/operations/getv1propertysourcessourceids.js +0 -105
- package/dist/commonjs/sdk/models/operations/getv1propertysourcessourceids.js.map +0 -1
- package/dist/commonjs/sdk/models/operations/postv1locationstreetquery.d.ts +0 -26
- package/dist/commonjs/sdk/models/operations/postv1locationstreetquery.d.ts.map +0 -1
- package/dist/commonjs/sdk/models/operations/postv1locationstreetquery.js.map +0 -1
- package/dist/commonjs/sdk/models/operations/postv1planningquery.d.ts +0 -26
- package/dist/commonjs/sdk/models/operations/postv1planningquery.d.ts.map +0 -1
- package/dist/commonjs/sdk/models/operations/postv1planningquery.js.map +0 -1
- package/dist/commonjs/sdk/models/operations/postv1propertypropertiesbyslugs.d.ts +0 -26
- package/dist/commonjs/sdk/models/operations/postv1propertypropertiesbyslugs.d.ts.map +0 -1
- package/dist/commonjs/sdk/models/operations/postv1propertypropertiesbyslugs.js.map +0 -1
- package/dist/commonjs/sdk/models/operations/postv1propertyquery.d.ts +0 -26
- package/dist/commonjs/sdk/models/operations/postv1propertyquery.d.ts.map +0 -1
- package/dist/commonjs/sdk/models/operations/postv1propertyquery.js.map +0 -1
- package/dist/esm/funcs/healthGetV1PlanningHealth.d.ts.map +0 -1
- package/dist/esm/funcs/healthGetV1PropertyHealth.d.ts.map +0 -1
- package/dist/esm/funcs/locationPostV1LocationStreetQuery.d.ts.map +0 -1
- package/dist/esm/funcs/locationPostV1LocationStreetQuery.js.map +0 -1
- package/dist/esm/funcs/planningGetV1PlanningApplicationIds.d.ts.map +0 -1
- package/dist/esm/funcs/planningGetV1PlanningApplicationIds.js.map +0 -1
- package/dist/esm/funcs/planningGetV1PlanningSourcesSourceIds.d.ts.map +0 -1
- package/dist/esm/funcs/planningGetV1PlanningSourcesSourceIds.js.map +0 -1
- package/dist/esm/funcs/planningPostV1PlanningQuery.d.ts.map +0 -1
- package/dist/esm/funcs/planningPostV1PlanningQuery.js.map +0 -1
- package/dist/esm/funcs/propertyGetV1PropertyLocationIds.d.ts.map +0 -1
- package/dist/esm/funcs/propertyGetV1PropertyLocationIds.js.map +0 -1
- package/dist/esm/funcs/propertyGetV1PropertyPropertyIdPropertyIds.js.map +0 -1
- package/dist/esm/funcs/propertyGetV1PropertySourcesSourceIds.d.ts.map +0 -1
- package/dist/esm/funcs/propertyGetV1PropertySourcesSourceIds.js.map +0 -1
- package/dist/esm/funcs/propertyPostV1PropertyPropertiesBySlugs.d.ts.map +0 -1
- package/dist/esm/funcs/propertyPostV1PropertyPropertiesBySlugs.js.map +0 -1
- package/dist/esm/funcs/propertyPostV1PropertyQuery.d.ts +0 -18
- package/dist/esm/funcs/propertyPostV1PropertyQuery.d.ts.map +0 -1
- package/dist/esm/funcs/propertyPostV1PropertyQuery.js.map +0 -1
- package/dist/esm/sdk/models/operations/getv1planningapplicationids.d.ts +0 -54
- package/dist/esm/sdk/models/operations/getv1planningapplicationids.d.ts.map +0 -1
- package/dist/esm/sdk/models/operations/getv1planningapplicationids.js +0 -59
- package/dist/esm/sdk/models/operations/getv1planningapplicationids.js.map +0 -1
- package/dist/esm/sdk/models/operations/getv1planningsourcessourceids.d.ts +0 -54
- package/dist/esm/sdk/models/operations/getv1planningsourcessourceids.d.ts.map +0 -1
- package/dist/esm/sdk/models/operations/getv1planningsourcessourceids.js +0 -59
- package/dist/esm/sdk/models/operations/getv1planningsourcessourceids.js.map +0 -1
- package/dist/esm/sdk/models/operations/getv1propertylocationids.d.ts +0 -69
- package/dist/esm/sdk/models/operations/getv1propertylocationids.d.ts.map +0 -1
- package/dist/esm/sdk/models/operations/getv1propertylocationids.js +0 -65
- package/dist/esm/sdk/models/operations/getv1propertylocationids.js.map +0 -1
- package/dist/esm/sdk/models/operations/getv1propertypropertyidpropertyids.d.ts +0 -69
- package/dist/esm/sdk/models/operations/getv1propertypropertyidpropertyids.d.ts.map +0 -1
- package/dist/esm/sdk/models/operations/getv1propertypropertyidpropertyids.js +0 -65
- package/dist/esm/sdk/models/operations/getv1propertypropertyidpropertyids.js.map +0 -1
- package/dist/esm/sdk/models/operations/getv1propertysourcessourceids.d.ts +0 -69
- package/dist/esm/sdk/models/operations/getv1propertysourcessourceids.d.ts.map +0 -1
- package/dist/esm/sdk/models/operations/getv1propertysourcessourceids.js +0 -65
- package/dist/esm/sdk/models/operations/getv1propertysourcessourceids.js.map +0 -1
- package/dist/esm/sdk/models/operations/postv1locationstreetquery.d.ts +0 -26
- package/dist/esm/sdk/models/operations/postv1locationstreetquery.d.ts.map +0 -1
- package/dist/esm/sdk/models/operations/postv1locationstreetquery.js +0 -34
- package/dist/esm/sdk/models/operations/postv1locationstreetquery.js.map +0 -1
- package/dist/esm/sdk/models/operations/postv1planningquery.d.ts +0 -26
- package/dist/esm/sdk/models/operations/postv1planningquery.d.ts.map +0 -1
- package/dist/esm/sdk/models/operations/postv1planningquery.js +0 -34
- package/dist/esm/sdk/models/operations/postv1planningquery.js.map +0 -1
- package/dist/esm/sdk/models/operations/postv1propertypropertiesbyslugs.d.ts +0 -26
- package/dist/esm/sdk/models/operations/postv1propertypropertiesbyslugs.d.ts.map +0 -1
- package/dist/esm/sdk/models/operations/postv1propertypropertiesbyslugs.js +0 -34
- package/dist/esm/sdk/models/operations/postv1propertypropertiesbyslugs.js.map +0 -1
- package/dist/esm/sdk/models/operations/postv1propertyquery.d.ts +0 -26
- package/dist/esm/sdk/models/operations/postv1propertyquery.d.ts.map +0 -1
- package/dist/esm/sdk/models/operations/postv1propertyquery.js +0 -34
- package/dist/esm/sdk/models/operations/postv1propertyquery.js.map +0 -1
- package/src/sdk/models/operations/getv1planningapplicationids.ts +0 -139
- package/src/sdk/models/operations/getv1planningsourcessourceids.ts +0 -140
- package/src/sdk/models/operations/getv1propertylocationids.ts +0 -155
- package/src/sdk/models/operations/getv1propertypropertyidpropertyids.ts +0 -173
- package/src/sdk/models/operations/getv1propertysourcessourceids.ts +0 -161
- package/src/sdk/models/operations/postv1locationstreetquery.ts +0 -72
- package/src/sdk/models/operations/postv1planningquery.ts +0 -71
- package/src/sdk/models/operations/postv1propertypropertiesbyslugs.ts +0 -80
- package/src/sdk/models/operations/postv1propertyquery.ts +0 -71
|
@@ -0,0 +1,588 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* School address information
|
|
13
|
+
*/
|
|
14
|
+
export type Address = {
|
|
15
|
+
/**
|
|
16
|
+
* County or region
|
|
17
|
+
*/
|
|
18
|
+
county?: string | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* Locality or district
|
|
21
|
+
*/
|
|
22
|
+
locality?: string | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* UK postcode
|
|
25
|
+
*/
|
|
26
|
+
postcode?: string | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* Street name and number
|
|
29
|
+
*/
|
|
30
|
+
street?: string | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* Town or city
|
|
33
|
+
*/
|
|
34
|
+
town?: string | undefined;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Current Ofsted rating
|
|
39
|
+
*/
|
|
40
|
+
export const CurrentRating = {
|
|
41
|
+
Outstanding: "outstanding",
|
|
42
|
+
Good: "good",
|
|
43
|
+
Satisfactory: "satisfactory",
|
|
44
|
+
Inadequate: "inadequate",
|
|
45
|
+
} as const;
|
|
46
|
+
/**
|
|
47
|
+
* Current Ofsted rating
|
|
48
|
+
*/
|
|
49
|
+
export type CurrentRating = ClosedEnum<typeof CurrentRating>;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Geographic coordinates
|
|
53
|
+
*/
|
|
54
|
+
export type Location = {
|
|
55
|
+
/**
|
|
56
|
+
* WGS84 latitude coordinate
|
|
57
|
+
*/
|
|
58
|
+
latitude: number;
|
|
59
|
+
/**
|
|
60
|
+
* WGS84 longitude coordinate
|
|
61
|
+
*/
|
|
62
|
+
longitude: number;
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Object type identifier
|
|
67
|
+
*/
|
|
68
|
+
export const ObjectT = {
|
|
69
|
+
School: "school",
|
|
70
|
+
} as const;
|
|
71
|
+
/**
|
|
72
|
+
* Object type identifier
|
|
73
|
+
*/
|
|
74
|
+
export type ObjectT = ClosedEnum<typeof ObjectT>;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Current operational status
|
|
78
|
+
*/
|
|
79
|
+
export const SchoolStatus = {
|
|
80
|
+
Open: "open",
|
|
81
|
+
Closed: "closed",
|
|
82
|
+
PendingClosure: "pending_closure",
|
|
83
|
+
} as const;
|
|
84
|
+
/**
|
|
85
|
+
* Current operational status
|
|
86
|
+
*/
|
|
87
|
+
export type SchoolStatus = ClosedEnum<typeof SchoolStatus>;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Type of educational institution
|
|
91
|
+
*/
|
|
92
|
+
export const SchoolType = {
|
|
93
|
+
Nursery: "nursery",
|
|
94
|
+
Primary: "primary",
|
|
95
|
+
Secondary: "secondary",
|
|
96
|
+
AllThrough: "all-through",
|
|
97
|
+
SixthForm: "sixth-form",
|
|
98
|
+
Special: "special",
|
|
99
|
+
Independent: "independent",
|
|
100
|
+
Academy: "academy",
|
|
101
|
+
Other: "other",
|
|
102
|
+
} as const;
|
|
103
|
+
/**
|
|
104
|
+
* Type of educational institution
|
|
105
|
+
*/
|
|
106
|
+
export type SchoolType = ClosedEnum<typeof SchoolType>;
|
|
107
|
+
|
|
108
|
+
export type School = {
|
|
109
|
+
/**
|
|
110
|
+
* School address information
|
|
111
|
+
*/
|
|
112
|
+
address?: Address | undefined;
|
|
113
|
+
/**
|
|
114
|
+
* Admissions policy type
|
|
115
|
+
*/
|
|
116
|
+
admissionsPolicy?: string | undefined;
|
|
117
|
+
/**
|
|
118
|
+
* Age range of students
|
|
119
|
+
*/
|
|
120
|
+
ageRange?: string | undefined;
|
|
121
|
+
/**
|
|
122
|
+
* Maximum student capacity
|
|
123
|
+
*/
|
|
124
|
+
capacity?: number | undefined;
|
|
125
|
+
/**
|
|
126
|
+
* Creation timestamp in ISO format
|
|
127
|
+
*/
|
|
128
|
+
createdAt: string;
|
|
129
|
+
/**
|
|
130
|
+
* Current Ofsted rating
|
|
131
|
+
*/
|
|
132
|
+
currentRating?: CurrentRating | undefined;
|
|
133
|
+
/**
|
|
134
|
+
* Current Ofsted rating value
|
|
135
|
+
*/
|
|
136
|
+
currentRatingValue?: string | undefined;
|
|
137
|
+
/**
|
|
138
|
+
* Distance from search point in meters (only in geographic searches)
|
|
139
|
+
*/
|
|
140
|
+
distance?: number | undefined;
|
|
141
|
+
/**
|
|
142
|
+
* DfE establishment number
|
|
143
|
+
*/
|
|
144
|
+
establishmentNumber?: number | undefined;
|
|
145
|
+
/**
|
|
146
|
+
* Gender admission policy
|
|
147
|
+
*/
|
|
148
|
+
gender?: string | undefined;
|
|
149
|
+
/**
|
|
150
|
+
* Name of the headteacher or principal
|
|
151
|
+
*/
|
|
152
|
+
headteacher?: string | undefined;
|
|
153
|
+
/**
|
|
154
|
+
* Unique internal identifier
|
|
155
|
+
*/
|
|
156
|
+
id: number;
|
|
157
|
+
/**
|
|
158
|
+
* Local authority code
|
|
159
|
+
*/
|
|
160
|
+
laCode?: string | undefined;
|
|
161
|
+
/**
|
|
162
|
+
* Local authority name
|
|
163
|
+
*/
|
|
164
|
+
laName?: string | undefined;
|
|
165
|
+
/**
|
|
166
|
+
* Date of last Ofsted inspection
|
|
167
|
+
*/
|
|
168
|
+
lastInspectionDate?: string | undefined;
|
|
169
|
+
/**
|
|
170
|
+
* Last data update timestamp in ISO format
|
|
171
|
+
*/
|
|
172
|
+
lastUpdated: string;
|
|
173
|
+
/**
|
|
174
|
+
* Geographic coordinates
|
|
175
|
+
*/
|
|
176
|
+
location?: Location | undefined;
|
|
177
|
+
/**
|
|
178
|
+
* Lower level geography code (LSOA)
|
|
179
|
+
*/
|
|
180
|
+
lowerLevelGeographyCode: string | null;
|
|
181
|
+
/**
|
|
182
|
+
* Official name of the school
|
|
183
|
+
*/
|
|
184
|
+
name: string;
|
|
185
|
+
/**
|
|
186
|
+
* Current number of enrolled students
|
|
187
|
+
*/
|
|
188
|
+
numberOfPupils?: number | undefined;
|
|
189
|
+
/**
|
|
190
|
+
* Object type identifier
|
|
191
|
+
*/
|
|
192
|
+
object: ObjectT;
|
|
193
|
+
/**
|
|
194
|
+
* Educational phase (e.g., Primary, Secondary, All-through)
|
|
195
|
+
*/
|
|
196
|
+
phase?: string | undefined;
|
|
197
|
+
/**
|
|
198
|
+
* Religious affiliation if any
|
|
199
|
+
*/
|
|
200
|
+
religiousCharacter?: string | undefined;
|
|
201
|
+
/**
|
|
202
|
+
* URL-friendly version of the school name
|
|
203
|
+
*/
|
|
204
|
+
slug: string | null;
|
|
205
|
+
/**
|
|
206
|
+
* Special educational provision
|
|
207
|
+
*/
|
|
208
|
+
specialClasses?: string | undefined;
|
|
209
|
+
/**
|
|
210
|
+
* Specialist resources available
|
|
211
|
+
*/
|
|
212
|
+
specialistResource?: string | undefined;
|
|
213
|
+
/**
|
|
214
|
+
* Current operational status
|
|
215
|
+
*/
|
|
216
|
+
status: SchoolStatus;
|
|
217
|
+
/**
|
|
218
|
+
* Sub-type of educational institution
|
|
219
|
+
*/
|
|
220
|
+
subType: string;
|
|
221
|
+
/**
|
|
222
|
+
* Main contact telephone number
|
|
223
|
+
*/
|
|
224
|
+
telephone?: string | undefined;
|
|
225
|
+
/**
|
|
226
|
+
* Unique identifier of the academy trust
|
|
227
|
+
*/
|
|
228
|
+
trustId?: string | undefined;
|
|
229
|
+
/**
|
|
230
|
+
* Name of the academy trust if applicable
|
|
231
|
+
*/
|
|
232
|
+
trustName?: string | undefined;
|
|
233
|
+
/**
|
|
234
|
+
* Type of educational institution
|
|
235
|
+
*/
|
|
236
|
+
type: SchoolType;
|
|
237
|
+
/**
|
|
238
|
+
* Last update timestamp in ISO format
|
|
239
|
+
*/
|
|
240
|
+
updatedAt: string;
|
|
241
|
+
/**
|
|
242
|
+
* Unique Reference Number assigned by the Department for Education
|
|
243
|
+
*/
|
|
244
|
+
urn: number;
|
|
245
|
+
/**
|
|
246
|
+
* School website URL
|
|
247
|
+
*/
|
|
248
|
+
website?: string | undefined;
|
|
249
|
+
};
|
|
250
|
+
|
|
251
|
+
/** @internal */
|
|
252
|
+
export const Address$inboundSchema: z.ZodType<Address, z.ZodTypeDef, unknown> =
|
|
253
|
+
z.object({
|
|
254
|
+
county: z.string().optional(),
|
|
255
|
+
locality: z.string().optional(),
|
|
256
|
+
postcode: z.string().optional(),
|
|
257
|
+
street: z.string().optional(),
|
|
258
|
+
town: z.string().optional(),
|
|
259
|
+
});
|
|
260
|
+
|
|
261
|
+
/** @internal */
|
|
262
|
+
export type Address$Outbound = {
|
|
263
|
+
county?: string | undefined;
|
|
264
|
+
locality?: string | undefined;
|
|
265
|
+
postcode?: string | undefined;
|
|
266
|
+
street?: string | undefined;
|
|
267
|
+
town?: string | undefined;
|
|
268
|
+
};
|
|
269
|
+
|
|
270
|
+
/** @internal */
|
|
271
|
+
export const Address$outboundSchema: z.ZodType<
|
|
272
|
+
Address$Outbound,
|
|
273
|
+
z.ZodTypeDef,
|
|
274
|
+
Address
|
|
275
|
+
> = z.object({
|
|
276
|
+
county: z.string().optional(),
|
|
277
|
+
locality: z.string().optional(),
|
|
278
|
+
postcode: z.string().optional(),
|
|
279
|
+
street: z.string().optional(),
|
|
280
|
+
town: z.string().optional(),
|
|
281
|
+
});
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* @internal
|
|
285
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
286
|
+
*/
|
|
287
|
+
export namespace Address$ {
|
|
288
|
+
/** @deprecated use `Address$inboundSchema` instead. */
|
|
289
|
+
export const inboundSchema = Address$inboundSchema;
|
|
290
|
+
/** @deprecated use `Address$outboundSchema` instead. */
|
|
291
|
+
export const outboundSchema = Address$outboundSchema;
|
|
292
|
+
/** @deprecated use `Address$Outbound` instead. */
|
|
293
|
+
export type Outbound = Address$Outbound;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
export function addressToJSON(address: Address): string {
|
|
297
|
+
return JSON.stringify(Address$outboundSchema.parse(address));
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
export function addressFromJSON(
|
|
301
|
+
jsonString: string,
|
|
302
|
+
): SafeParseResult<Address, SDKValidationError> {
|
|
303
|
+
return safeParse(
|
|
304
|
+
jsonString,
|
|
305
|
+
(x) => Address$inboundSchema.parse(JSON.parse(x)),
|
|
306
|
+
`Failed to parse 'Address' from JSON`,
|
|
307
|
+
);
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
/** @internal */
|
|
311
|
+
export const CurrentRating$inboundSchema: z.ZodNativeEnum<
|
|
312
|
+
typeof CurrentRating
|
|
313
|
+
> = z.nativeEnum(CurrentRating);
|
|
314
|
+
|
|
315
|
+
/** @internal */
|
|
316
|
+
export const CurrentRating$outboundSchema: z.ZodNativeEnum<
|
|
317
|
+
typeof CurrentRating
|
|
318
|
+
> = CurrentRating$inboundSchema;
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* @internal
|
|
322
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
323
|
+
*/
|
|
324
|
+
export namespace CurrentRating$ {
|
|
325
|
+
/** @deprecated use `CurrentRating$inboundSchema` instead. */
|
|
326
|
+
export const inboundSchema = CurrentRating$inboundSchema;
|
|
327
|
+
/** @deprecated use `CurrentRating$outboundSchema` instead. */
|
|
328
|
+
export const outboundSchema = CurrentRating$outboundSchema;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
/** @internal */
|
|
332
|
+
export const Location$inboundSchema: z.ZodType<
|
|
333
|
+
Location,
|
|
334
|
+
z.ZodTypeDef,
|
|
335
|
+
unknown
|
|
336
|
+
> = z.object({
|
|
337
|
+
latitude: z.number(),
|
|
338
|
+
longitude: z.number(),
|
|
339
|
+
});
|
|
340
|
+
|
|
341
|
+
/** @internal */
|
|
342
|
+
export type Location$Outbound = {
|
|
343
|
+
latitude: number;
|
|
344
|
+
longitude: number;
|
|
345
|
+
};
|
|
346
|
+
|
|
347
|
+
/** @internal */
|
|
348
|
+
export const Location$outboundSchema: z.ZodType<
|
|
349
|
+
Location$Outbound,
|
|
350
|
+
z.ZodTypeDef,
|
|
351
|
+
Location
|
|
352
|
+
> = z.object({
|
|
353
|
+
latitude: z.number(),
|
|
354
|
+
longitude: z.number(),
|
|
355
|
+
});
|
|
356
|
+
|
|
357
|
+
/**
|
|
358
|
+
* @internal
|
|
359
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
360
|
+
*/
|
|
361
|
+
export namespace Location$ {
|
|
362
|
+
/** @deprecated use `Location$inboundSchema` instead. */
|
|
363
|
+
export const inboundSchema = Location$inboundSchema;
|
|
364
|
+
/** @deprecated use `Location$outboundSchema` instead. */
|
|
365
|
+
export const outboundSchema = Location$outboundSchema;
|
|
366
|
+
/** @deprecated use `Location$Outbound` instead. */
|
|
367
|
+
export type Outbound = Location$Outbound;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
export function locationToJSON(location: Location): string {
|
|
371
|
+
return JSON.stringify(Location$outboundSchema.parse(location));
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
export function locationFromJSON(
|
|
375
|
+
jsonString: string,
|
|
376
|
+
): SafeParseResult<Location, SDKValidationError> {
|
|
377
|
+
return safeParse(
|
|
378
|
+
jsonString,
|
|
379
|
+
(x) => Location$inboundSchema.parse(JSON.parse(x)),
|
|
380
|
+
`Failed to parse 'Location' from JSON`,
|
|
381
|
+
);
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
/** @internal */
|
|
385
|
+
export const ObjectT$inboundSchema: z.ZodNativeEnum<typeof ObjectT> = z
|
|
386
|
+
.nativeEnum(ObjectT);
|
|
387
|
+
|
|
388
|
+
/** @internal */
|
|
389
|
+
export const ObjectT$outboundSchema: z.ZodNativeEnum<typeof ObjectT> =
|
|
390
|
+
ObjectT$inboundSchema;
|
|
391
|
+
|
|
392
|
+
/**
|
|
393
|
+
* @internal
|
|
394
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
395
|
+
*/
|
|
396
|
+
export namespace ObjectT$ {
|
|
397
|
+
/** @deprecated use `ObjectT$inboundSchema` instead. */
|
|
398
|
+
export const inboundSchema = ObjectT$inboundSchema;
|
|
399
|
+
/** @deprecated use `ObjectT$outboundSchema` instead. */
|
|
400
|
+
export const outboundSchema = ObjectT$outboundSchema;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
/** @internal */
|
|
404
|
+
export const SchoolStatus$inboundSchema: z.ZodNativeEnum<typeof SchoolStatus> =
|
|
405
|
+
z.nativeEnum(SchoolStatus);
|
|
406
|
+
|
|
407
|
+
/** @internal */
|
|
408
|
+
export const SchoolStatus$outboundSchema: z.ZodNativeEnum<typeof SchoolStatus> =
|
|
409
|
+
SchoolStatus$inboundSchema;
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* @internal
|
|
413
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
414
|
+
*/
|
|
415
|
+
export namespace SchoolStatus$ {
|
|
416
|
+
/** @deprecated use `SchoolStatus$inboundSchema` instead. */
|
|
417
|
+
export const inboundSchema = SchoolStatus$inboundSchema;
|
|
418
|
+
/** @deprecated use `SchoolStatus$outboundSchema` instead. */
|
|
419
|
+
export const outboundSchema = SchoolStatus$outboundSchema;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
/** @internal */
|
|
423
|
+
export const SchoolType$inboundSchema: z.ZodNativeEnum<typeof SchoolType> = z
|
|
424
|
+
.nativeEnum(SchoolType);
|
|
425
|
+
|
|
426
|
+
/** @internal */
|
|
427
|
+
export const SchoolType$outboundSchema: z.ZodNativeEnum<typeof SchoolType> =
|
|
428
|
+
SchoolType$inboundSchema;
|
|
429
|
+
|
|
430
|
+
/**
|
|
431
|
+
* @internal
|
|
432
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
433
|
+
*/
|
|
434
|
+
export namespace SchoolType$ {
|
|
435
|
+
/** @deprecated use `SchoolType$inboundSchema` instead. */
|
|
436
|
+
export const inboundSchema = SchoolType$inboundSchema;
|
|
437
|
+
/** @deprecated use `SchoolType$outboundSchema` instead. */
|
|
438
|
+
export const outboundSchema = SchoolType$outboundSchema;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
/** @internal */
|
|
442
|
+
export const School$inboundSchema: z.ZodType<School, z.ZodTypeDef, unknown> = z
|
|
443
|
+
.object({
|
|
444
|
+
address: z.lazy(() => Address$inboundSchema).optional(),
|
|
445
|
+
admissionsPolicy: z.string().optional(),
|
|
446
|
+
ageRange: z.string().optional(),
|
|
447
|
+
capacity: z.number().optional(),
|
|
448
|
+
createdAt: z.string(),
|
|
449
|
+
currentRating: CurrentRating$inboundSchema.optional(),
|
|
450
|
+
currentRatingValue: z.string().optional(),
|
|
451
|
+
distance: z.number().optional(),
|
|
452
|
+
establishmentNumber: z.number().optional(),
|
|
453
|
+
gender: z.string().optional(),
|
|
454
|
+
headteacher: z.string().optional(),
|
|
455
|
+
id: z.number(),
|
|
456
|
+
laCode: z.string().optional(),
|
|
457
|
+
laName: z.string().optional(),
|
|
458
|
+
lastInspectionDate: z.string().optional(),
|
|
459
|
+
lastUpdated: z.string(),
|
|
460
|
+
location: z.lazy(() => Location$inboundSchema).optional(),
|
|
461
|
+
lowerLevelGeographyCode: z.nullable(z.string()),
|
|
462
|
+
name: z.string(),
|
|
463
|
+
numberOfPupils: z.number().optional(),
|
|
464
|
+
object: ObjectT$inboundSchema,
|
|
465
|
+
phase: z.string().optional(),
|
|
466
|
+
religiousCharacter: z.string().optional(),
|
|
467
|
+
slug: z.nullable(z.string()),
|
|
468
|
+
specialClasses: z.string().optional(),
|
|
469
|
+
specialistResource: z.string().optional(),
|
|
470
|
+
status: SchoolStatus$inboundSchema,
|
|
471
|
+
subType: z.string(),
|
|
472
|
+
telephone: z.string().optional(),
|
|
473
|
+
trustId: z.string().optional(),
|
|
474
|
+
trustName: z.string().optional(),
|
|
475
|
+
type: SchoolType$inboundSchema,
|
|
476
|
+
updatedAt: z.string(),
|
|
477
|
+
urn: z.number(),
|
|
478
|
+
website: z.string().optional(),
|
|
479
|
+
});
|
|
480
|
+
|
|
481
|
+
/** @internal */
|
|
482
|
+
export type School$Outbound = {
|
|
483
|
+
address?: Address$Outbound | undefined;
|
|
484
|
+
admissionsPolicy?: string | undefined;
|
|
485
|
+
ageRange?: string | undefined;
|
|
486
|
+
capacity?: number | undefined;
|
|
487
|
+
createdAt: string;
|
|
488
|
+
currentRating?: string | undefined;
|
|
489
|
+
currentRatingValue?: string | undefined;
|
|
490
|
+
distance?: number | undefined;
|
|
491
|
+
establishmentNumber?: number | undefined;
|
|
492
|
+
gender?: string | undefined;
|
|
493
|
+
headteacher?: string | undefined;
|
|
494
|
+
id: number;
|
|
495
|
+
laCode?: string | undefined;
|
|
496
|
+
laName?: string | undefined;
|
|
497
|
+
lastInspectionDate?: string | undefined;
|
|
498
|
+
lastUpdated: string;
|
|
499
|
+
location?: Location$Outbound | undefined;
|
|
500
|
+
lowerLevelGeographyCode: string | null;
|
|
501
|
+
name: string;
|
|
502
|
+
numberOfPupils?: number | undefined;
|
|
503
|
+
object: string;
|
|
504
|
+
phase?: string | undefined;
|
|
505
|
+
religiousCharacter?: string | undefined;
|
|
506
|
+
slug: string | null;
|
|
507
|
+
specialClasses?: string | undefined;
|
|
508
|
+
specialistResource?: string | undefined;
|
|
509
|
+
status: string;
|
|
510
|
+
subType: string;
|
|
511
|
+
telephone?: string | undefined;
|
|
512
|
+
trustId?: string | undefined;
|
|
513
|
+
trustName?: string | undefined;
|
|
514
|
+
type: string;
|
|
515
|
+
updatedAt: string;
|
|
516
|
+
urn: number;
|
|
517
|
+
website?: string | undefined;
|
|
518
|
+
};
|
|
519
|
+
|
|
520
|
+
/** @internal */
|
|
521
|
+
export const School$outboundSchema: z.ZodType<
|
|
522
|
+
School$Outbound,
|
|
523
|
+
z.ZodTypeDef,
|
|
524
|
+
School
|
|
525
|
+
> = z.object({
|
|
526
|
+
address: z.lazy(() => Address$outboundSchema).optional(),
|
|
527
|
+
admissionsPolicy: z.string().optional(),
|
|
528
|
+
ageRange: z.string().optional(),
|
|
529
|
+
capacity: z.number().optional(),
|
|
530
|
+
createdAt: z.string(),
|
|
531
|
+
currentRating: CurrentRating$outboundSchema.optional(),
|
|
532
|
+
currentRatingValue: z.string().optional(),
|
|
533
|
+
distance: z.number().optional(),
|
|
534
|
+
establishmentNumber: z.number().optional(),
|
|
535
|
+
gender: z.string().optional(),
|
|
536
|
+
headteacher: z.string().optional(),
|
|
537
|
+
id: z.number(),
|
|
538
|
+
laCode: z.string().optional(),
|
|
539
|
+
laName: z.string().optional(),
|
|
540
|
+
lastInspectionDate: z.string().optional(),
|
|
541
|
+
lastUpdated: z.string(),
|
|
542
|
+
location: z.lazy(() => Location$outboundSchema).optional(),
|
|
543
|
+
lowerLevelGeographyCode: z.nullable(z.string()),
|
|
544
|
+
name: z.string(),
|
|
545
|
+
numberOfPupils: z.number().optional(),
|
|
546
|
+
object: ObjectT$outboundSchema,
|
|
547
|
+
phase: z.string().optional(),
|
|
548
|
+
religiousCharacter: z.string().optional(),
|
|
549
|
+
slug: z.nullable(z.string()),
|
|
550
|
+
specialClasses: z.string().optional(),
|
|
551
|
+
specialistResource: z.string().optional(),
|
|
552
|
+
status: SchoolStatus$outboundSchema,
|
|
553
|
+
subType: z.string(),
|
|
554
|
+
telephone: z.string().optional(),
|
|
555
|
+
trustId: z.string().optional(),
|
|
556
|
+
trustName: z.string().optional(),
|
|
557
|
+
type: SchoolType$outboundSchema,
|
|
558
|
+
updatedAt: z.string(),
|
|
559
|
+
urn: z.number(),
|
|
560
|
+
website: z.string().optional(),
|
|
561
|
+
});
|
|
562
|
+
|
|
563
|
+
/**
|
|
564
|
+
* @internal
|
|
565
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
566
|
+
*/
|
|
567
|
+
export namespace School$ {
|
|
568
|
+
/** @deprecated use `School$inboundSchema` instead. */
|
|
569
|
+
export const inboundSchema = School$inboundSchema;
|
|
570
|
+
/** @deprecated use `School$outboundSchema` instead. */
|
|
571
|
+
export const outboundSchema = School$outboundSchema;
|
|
572
|
+
/** @deprecated use `School$Outbound` instead. */
|
|
573
|
+
export type Outbound = School$Outbound;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
export function schoolToJSON(school: School): string {
|
|
577
|
+
return JSON.stringify(School$outboundSchema.parse(school));
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
export function schoolFromJSON(
|
|
581
|
+
jsonString: string,
|
|
582
|
+
): SafeParseResult<School, SDKValidationError> {
|
|
583
|
+
return safeParse(
|
|
584
|
+
jsonString,
|
|
585
|
+
(x) => School$inboundSchema.parse(JSON.parse(x)),
|
|
586
|
+
`Failed to parse 'School' from JSON`,
|
|
587
|
+
);
|
|
588
|
+
}
|
|
@@ -17,11 +17,11 @@ export type StreetQueryByCoordinatesType = ClosedEnum<
|
|
|
17
17
|
|
|
18
18
|
export type StreetQueryByCoordinates = {
|
|
19
19
|
/**
|
|
20
|
-
* Latitude
|
|
20
|
+
* Latitude in decimal degrees
|
|
21
21
|
*/
|
|
22
22
|
lat: number;
|
|
23
23
|
/**
|
|
24
|
-
* Longitude
|
|
24
|
+
* Longitude in decimal degrees
|
|
25
25
|
*/
|
|
26
26
|
lng: number;
|
|
27
27
|
/**
|
package/src/sdk/planning.ts
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
5
|
+
import { planningGetPlanningApplications } from "../funcs/planningGetPlanningApplications.js";
|
|
6
|
+
import { planningGetPlanningApplicationsBySource } from "../funcs/planningGetPlanningApplicationsBySource.js";
|
|
7
|
+
import { planningSearchPlanningApplications } from "../funcs/planningSearchPlanningApplications.js";
|
|
8
8
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
9
9
|
import * as operations from "./models/operations/index.js";
|
|
10
10
|
import * as shared from "./models/shared/index.js";
|
|
@@ -12,16 +12,16 @@ import { unwrapAsync } from "./types/fp.js";
|
|
|
12
12
|
|
|
13
13
|
export class Planning extends ClientSDK {
|
|
14
14
|
/**
|
|
15
|
-
* Get planning applications by
|
|
15
|
+
* Get planning applications by application IDs
|
|
16
16
|
*
|
|
17
17
|
* @remarks
|
|
18
|
-
* Retrieve planning application data using comma-separated
|
|
18
|
+
* Retrieve planning application data using comma-separated application identifiers
|
|
19
19
|
*/
|
|
20
|
-
async
|
|
21
|
-
request: operations.
|
|
20
|
+
async getPlanningApplications(
|
|
21
|
+
request: operations.GetPlanningApplicationsRequest,
|
|
22
22
|
options?: RequestOptions,
|
|
23
|
-
): Promise<operations.
|
|
24
|
-
return unwrapAsync(
|
|
23
|
+
): Promise<operations.GetPlanningApplicationsResponse> {
|
|
24
|
+
return unwrapAsync(planningGetPlanningApplications(
|
|
25
25
|
this,
|
|
26
26
|
request,
|
|
27
27
|
options,
|
|
@@ -29,16 +29,16 @@ export class Planning extends ClientSDK {
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
|
-
* Get planning applications by
|
|
32
|
+
* Get planning applications by source IDs
|
|
33
33
|
*
|
|
34
34
|
* @remarks
|
|
35
|
-
* Retrieve planning application data using comma-separated
|
|
35
|
+
* Retrieve planning application data using comma-separated source identifiers (e.g., council::reference)
|
|
36
36
|
*/
|
|
37
|
-
async
|
|
38
|
-
request: operations.
|
|
37
|
+
async getPlanningApplicationsBySource(
|
|
38
|
+
request: operations.GetPlanningApplicationsBySourceRequest,
|
|
39
39
|
options?: RequestOptions,
|
|
40
|
-
): Promise<operations.
|
|
41
|
-
return unwrapAsync(
|
|
40
|
+
): Promise<operations.GetPlanningApplicationsBySourceResponse> {
|
|
41
|
+
return unwrapAsync(planningGetPlanningApplicationsBySource(
|
|
42
42
|
this,
|
|
43
43
|
request,
|
|
44
44
|
options,
|
|
@@ -51,11 +51,11 @@ export class Planning extends ClientSDK {
|
|
|
51
51
|
* @remarks
|
|
52
52
|
* Search for planning applications using councils, status, dates, and other criteria
|
|
53
53
|
*/
|
|
54
|
-
async
|
|
54
|
+
async searchPlanningApplications(
|
|
55
55
|
request?: shared.PlanningQueryRequest | undefined,
|
|
56
56
|
options?: RequestOptions,
|
|
57
|
-
): Promise<operations.
|
|
58
|
-
return unwrapAsync(
|
|
57
|
+
): Promise<operations.SearchPlanningApplicationsResponse> {
|
|
58
|
+
return unwrapAsync(planningSearchPlanningApplications(
|
|
59
59
|
this,
|
|
60
60
|
request,
|
|
61
61
|
options,
|