@vepler/sdk 7.1.2 → 7.7.1
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/README.md +452 -434
- package/dist/commonjs/funcs/areasGetNearestHistoricLandfill.d.ts +19 -0
- package/dist/commonjs/funcs/areasGetNearestHistoricLandfill.d.ts.map +1 -0
- package/dist/commonjs/funcs/areasGetNearestHistoricLandfill.js +126 -0
- package/dist/commonjs/funcs/areasGetNearestHistoricLandfill.js.map +1 -0
- package/dist/commonjs/funcs/areasGetRadonAtPoint.d.ts +19 -0
- package/dist/commonjs/funcs/areasGetRadonAtPoint.d.ts.map +1 -0
- package/dist/commonjs/funcs/areasGetRadonAtPoint.js +124 -0
- package/dist/commonjs/funcs/areasGetRadonAtPoint.js.map +1 -0
- package/dist/commonjs/funcs/floodRiskPoint.d.ts +1 -1
- package/dist/commonjs/funcs/floodRiskPoint.js +1 -1
- package/dist/commonjs/funcs/noisePoint.d.ts +18 -0
- package/dist/commonjs/funcs/noisePoint.d.ts.map +1 -0
- package/dist/commonjs/funcs/noisePoint.js +121 -0
- package/dist/commonjs/funcs/noisePoint.js.map +1 -0
- package/dist/commonjs/funcs/poiGetNearestPOI.d.ts +1 -1
- package/dist/commonjs/funcs/poiGetNearestPOI.js +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/sdk/areas.d.ts +15 -0
- package/dist/commonjs/sdk/areas.d.ts.map +1 -1
- package/dist/commonjs/sdk/areas.js +20 -0
- package/dist/commonjs/sdk/areas.js.map +1 -1
- package/dist/commonjs/sdk/floodrisk.d.ts +1 -1
- package/dist/commonjs/sdk/floodrisk.js +1 -1
- package/dist/commonjs/sdk/models/errors/getnearesthistoriclandfill.d.ts +201 -0
- package/dist/commonjs/sdk/models/errors/getnearesthistoriclandfill.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/errors/getnearesthistoriclandfill.js +213 -0
- package/dist/commonjs/sdk/models/errors/getnearesthistoriclandfill.js.map +1 -0
- package/dist/commonjs/sdk/models/errors/getradonatpoint.d.ts +201 -0
- package/dist/commonjs/sdk/models/errors/getradonatpoint.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/errors/getradonatpoint.js +213 -0
- package/dist/commonjs/sdk/models/errors/getradonatpoint.js.map +1 -0
- package/dist/commonjs/sdk/models/errors/index.d.ts +3 -0
- package/dist/commonjs/sdk/models/errors/index.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/errors/index.js +3 -0
- package/dist/commonjs/sdk/models/errors/index.js.map +1 -1
- package/dist/commonjs/sdk/models/errors/querynoisepoint.d.ts +201 -0
- package/dist/commonjs/sdk/models/errors/querynoisepoint.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/errors/querynoisepoint.js +213 -0
- package/dist/commonjs/sdk/models/errors/querynoisepoint.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getnearesthistoriclandfill.d.ts +25 -0
- package/dist/commonjs/sdk/models/operations/getnearesthistoriclandfill.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getnearesthistoriclandfill.js +51 -0
- package/dist/commonjs/sdk/models/operations/getnearesthistoriclandfill.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getnearestpoi.d.ts +167 -68
- package/dist/commonjs/sdk/models/operations/getnearestpoi.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getnearestpoi.js +96 -47
- package/dist/commonjs/sdk/models/operations/getnearestpoi.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getpoimultipletiles.d.ts +8 -8
- package/dist/commonjs/sdk/models/operations/getpoimultipletiles.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getpoimultipletiles.js +11 -12
- package/dist/commonjs/sdk/models/operations/getpoimultipletiles.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getradonatpoint.d.ts +20 -0
- package/dist/commonjs/sdk/models/operations/getradonatpoint.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getradonatpoint.js +50 -0
- package/dist/commonjs/sdk/models/operations/getradonatpoint.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/index.d.ts +2 -0
- package/dist/commonjs/sdk/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/index.js +2 -0
- package/dist/commonjs/sdk/models/operations/index.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/queryschools.d.ts +4 -4
- package/dist/commonjs/sdk/models/operations/queryschools.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/queryschools.js +6 -7
- package/dist/commonjs/sdk/models/operations/queryschools.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/airqualityinstallations.d.ts +14 -2
- package/dist/commonjs/sdk/models/shared/airqualityinstallations.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/airqualityinstallations.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/airqualitypointoptions.d.ts +5 -0
- package/dist/commonjs/sdk/models/shared/airqualitypointoptions.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/airqualitypointoptions.js +1 -0
- package/dist/commonjs/sdk/models/shared/airqualitypointoptions.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/floodclimate2080.d.ts +5 -0
- package/dist/commonjs/sdk/models/shared/floodclimate2080.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/floodclimate2080.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/floodclimateallowance.d.ts +34 -0
- package/dist/commonjs/sdk/models/shared/floodclimateallowance.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/floodclimateallowance.js +56 -0
- package/dist/commonjs/sdk/models/shared/floodclimateallowance.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/floodclimateallowancelevel.d.ts +17 -0
- package/dist/commonjs/sdk/models/shared/floodclimateallowancelevel.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/floodclimateallowancelevel.js +51 -0
- package/dist/commonjs/sdk/models/shared/floodclimateallowancelevel.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/floodclimatedriver.d.ts +17 -0
- package/dist/commonjs/sdk/models/shared/floodclimatedriver.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/floodclimatedriver.js +51 -0
- package/dist/commonjs/sdk/models/shared/floodclimatedriver.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/floodclimateprojection.d.ts +47 -0
- package/dist/commonjs/sdk/models/shared/floodclimateprojection.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/floodclimateprojection.js +68 -0
- package/dist/commonjs/sdk/models/shared/floodclimateprojection.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/floodclimateprojectionsource.d.ts +30 -0
- package/dist/commonjs/sdk/models/shared/floodclimateprojectionsource.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/floodclimateprojectionsource.js +58 -0
- package/dist/commonjs/sdk/models/shared/floodclimateprojectionsource.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/floodriskpoint.d.ts +10 -0
- package/dist/commonjs/sdk/models/shared/floodriskpoint.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/floodriskpoint.js +2 -0
- package/dist/commonjs/sdk/models/shared/floodriskpoint.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/floodriskpointrequest.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/floodscenario.d.ts +2 -2
- package/dist/commonjs/sdk/models/shared/floodscenario.js +1 -1
- package/dist/commonjs/sdk/models/shared/hazardedition.d.ts +33 -0
- package/dist/commonjs/sdk/models/shared/hazardedition.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/hazardedition.js +55 -0
- package/dist/commonjs/sdk/models/shared/hazardedition.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/hazardoutline.d.ts +24 -0
- package/dist/commonjs/sdk/models/shared/hazardoutline.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/hazardoutline.js +56 -0
- package/dist/commonjs/sdk/models/shared/hazardoutline.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/historiclandfillnearestresponse.d.ts +28 -0
- package/dist/commonjs/sdk/models/shared/historiclandfillnearestresponse.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/historiclandfillnearestresponse.js +56 -0
- package/dist/commonjs/sdk/models/shared/historiclandfillnearestresponse.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/historiclandfillsite.d.ts +33 -0
- package/dist/commonjs/sdk/models/shared/historiclandfillsite.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/historiclandfillsite.js +55 -0
- package/dist/commonjs/sdk/models/shared/historiclandfillsite.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/index.d.ts +22 -0
- package/dist/commonjs/sdk/models/shared/index.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/index.js +22 -0
- package/dist/commonjs/sdk/models/shared/index.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/noiseband.d.ts +24 -0
- package/dist/commonjs/sdk/models/shared/noiseband.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/noiseband.js +52 -0
- package/dist/commonjs/sdk/models/shared/noiseband.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/noisebandset.d.ts +34 -0
- package/dist/commonjs/sdk/models/shared/noisebandset.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/noisebandset.js +60 -0
- package/dist/commonjs/sdk/models/shared/noisebandset.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/noisemapsource.d.ts +91 -0
- package/dist/commonjs/sdk/models/shared/noisemapsource.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/noisemapsource.js +89 -0
- package/dist/commonjs/sdk/models/shared/noisemapsource.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/noisenationcoverage.d.ts +33 -0
- package/dist/commonjs/sdk/models/shared/noisenationcoverage.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/noisenationcoverage.js +63 -0
- package/dist/commonjs/sdk/models/shared/noisenationcoverage.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/noisepointcoordinate.d.ts +25 -0
- package/dist/commonjs/sdk/models/shared/noisepointcoordinate.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/noisepointcoordinate.js +60 -0
- package/dist/commonjs/sdk/models/shared/noisepointcoordinate.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/noisepointrequest.d.ts +13 -0
- package/dist/commonjs/sdk/models/shared/noisepointrequest.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/noisepointrequest.js +50 -0
- package/dist/commonjs/sdk/models/shared/noisepointrequest.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/noisepointresponse.d.ts +59 -0
- package/dist/commonjs/sdk/models/shared/noisepointresponse.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/noisepointresponse.js +79 -0
- package/dist/commonjs/sdk/models/shared/noisepointresponse.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/noisereading.d.ts +37 -0
- package/dist/commonjs/sdk/models/shared/noisereading.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/noisereading.js +59 -0
- package/dist/commonjs/sdk/models/shared/noisereading.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/noisereadingstatus.d.ts +17 -0
- package/dist/commonjs/sdk/models/shared/noisereadingstatus.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/noisereadingstatus.js +51 -0
- package/dist/commonjs/sdk/models/shared/noisereadingstatus.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/noisesourcereadings.d.ts +18 -0
- package/dist/commonjs/sdk/models/shared/noisesourcereadings.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/noisesourcereadings.js +52 -0
- package/dist/commonjs/sdk/models/shared/noisesourcereadings.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/planninglistresponse.d.ts +51 -4
- package/dist/commonjs/sdk/models/shared/planninglistresponse.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/planninglistresponse.js +31 -1
- package/dist/commonjs/sdk/models/shared/planninglistresponse.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/radonpointresponse.d.ts +23 -0
- package/dist/commonjs/sdk/models/shared/radonpointresponse.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/radonpointresponse.js +54 -0
- package/dist/commonjs/sdk/models/shared/radonpointresponse.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/radonpotentialband.d.ts +20 -0
- package/dist/commonjs/sdk/models/shared/radonpotentialband.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/radonpotentialband.js +51 -0
- package/dist/commonjs/sdk/models/shared/radonpotentialband.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/radonsquare.d.ts +30 -0
- package/dist/commonjs/sdk/models/shared/radonsquare.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/radonsquare.js +55 -0
- package/dist/commonjs/sdk/models/shared/radonsquare.js.map +1 -0
- package/dist/commonjs/sdk/noise.d.ts +12 -0
- package/dist/commonjs/sdk/noise.d.ts.map +1 -0
- package/dist/commonjs/sdk/noise.js +22 -0
- package/dist/commonjs/sdk/noise.js.map +1 -0
- package/dist/commonjs/sdk/poi.d.ts +1 -1
- package/dist/commonjs/sdk/poi.js +1 -1
- package/dist/commonjs/sdk/sdk.d.ts +3 -0
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +4 -0
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/esm/funcs/areasGetNearestHistoricLandfill.d.ts +19 -0
- package/dist/esm/funcs/areasGetNearestHistoricLandfill.d.ts.map +1 -0
- package/dist/esm/funcs/areasGetNearestHistoricLandfill.js +90 -0
- package/dist/esm/funcs/areasGetNearestHistoricLandfill.js.map +1 -0
- package/dist/esm/funcs/areasGetRadonAtPoint.d.ts +19 -0
- package/dist/esm/funcs/areasGetRadonAtPoint.d.ts.map +1 -0
- package/dist/esm/funcs/areasGetRadonAtPoint.js +88 -0
- package/dist/esm/funcs/areasGetRadonAtPoint.js.map +1 -0
- package/dist/esm/funcs/floodRiskPoint.d.ts +1 -1
- package/dist/esm/funcs/floodRiskPoint.js +1 -1
- package/dist/esm/funcs/noisePoint.d.ts +18 -0
- package/dist/esm/funcs/noisePoint.d.ts.map +1 -0
- package/dist/esm/funcs/noisePoint.js +85 -0
- package/dist/esm/funcs/noisePoint.js.map +1 -0
- package/dist/esm/funcs/poiGetNearestPOI.d.ts +1 -1
- package/dist/esm/funcs/poiGetNearestPOI.js +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/sdk/areas.d.ts +15 -0
- package/dist/esm/sdk/areas.d.ts.map +1 -1
- package/dist/esm/sdk/areas.js +20 -0
- package/dist/esm/sdk/areas.js.map +1 -1
- package/dist/esm/sdk/floodrisk.d.ts +1 -1
- package/dist/esm/sdk/floodrisk.js +1 -1
- package/dist/esm/sdk/models/errors/getnearesthistoriclandfill.d.ts +201 -0
- package/dist/esm/sdk/models/errors/getnearesthistoriclandfill.d.ts.map +1 -0
- package/dist/esm/sdk/models/errors/getnearesthistoriclandfill.js +171 -0
- package/dist/esm/sdk/models/errors/getnearesthistoriclandfill.js.map +1 -0
- package/dist/esm/sdk/models/errors/getradonatpoint.d.ts +201 -0
- package/dist/esm/sdk/models/errors/getradonatpoint.d.ts.map +1 -0
- package/dist/esm/sdk/models/errors/getradonatpoint.js +171 -0
- package/dist/esm/sdk/models/errors/getradonatpoint.js.map +1 -0
- package/dist/esm/sdk/models/errors/index.d.ts +3 -0
- package/dist/esm/sdk/models/errors/index.d.ts.map +1 -1
- package/dist/esm/sdk/models/errors/index.js +3 -0
- package/dist/esm/sdk/models/errors/index.js.map +1 -1
- package/dist/esm/sdk/models/errors/querynoisepoint.d.ts +201 -0
- package/dist/esm/sdk/models/errors/querynoisepoint.d.ts.map +1 -0
- package/dist/esm/sdk/models/errors/querynoisepoint.js +171 -0
- package/dist/esm/sdk/models/errors/querynoisepoint.js.map +1 -0
- package/dist/esm/sdk/models/operations/getnearesthistoriclandfill.d.ts +25 -0
- package/dist/esm/sdk/models/operations/getnearesthistoriclandfill.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getnearesthistoriclandfill.js +14 -0
- package/dist/esm/sdk/models/operations/getnearesthistoriclandfill.js.map +1 -0
- package/dist/esm/sdk/models/operations/getnearestpoi.d.ts +167 -68
- package/dist/esm/sdk/models/operations/getnearestpoi.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getnearestpoi.js +86 -42
- package/dist/esm/sdk/models/operations/getnearestpoi.js.map +1 -1
- package/dist/esm/sdk/models/operations/getpoimultipletiles.d.ts +8 -8
- package/dist/esm/sdk/models/operations/getpoimultipletiles.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getpoimultipletiles.js +8 -9
- package/dist/esm/sdk/models/operations/getpoimultipletiles.js.map +1 -1
- package/dist/esm/sdk/models/operations/getradonatpoint.d.ts +20 -0
- package/dist/esm/sdk/models/operations/getradonatpoint.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getradonatpoint.js +13 -0
- package/dist/esm/sdk/models/operations/getradonatpoint.js.map +1 -0
- package/dist/esm/sdk/models/operations/index.d.ts +2 -0
- package/dist/esm/sdk/models/operations/index.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/index.js +2 -0
- package/dist/esm/sdk/models/operations/index.js.map +1 -1
- package/dist/esm/sdk/models/operations/queryschools.d.ts +4 -4
- package/dist/esm/sdk/models/operations/queryschools.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/queryschools.js +4 -5
- package/dist/esm/sdk/models/operations/queryschools.js.map +1 -1
- package/dist/esm/sdk/models/shared/airqualityinstallations.d.ts +14 -2
- package/dist/esm/sdk/models/shared/airqualityinstallations.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/airqualityinstallations.js.map +1 -1
- package/dist/esm/sdk/models/shared/airqualitypointoptions.d.ts +5 -0
- package/dist/esm/sdk/models/shared/airqualitypointoptions.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/airqualitypointoptions.js +1 -0
- package/dist/esm/sdk/models/shared/airqualitypointoptions.js.map +1 -1
- package/dist/esm/sdk/models/shared/floodclimate2080.d.ts +5 -0
- package/dist/esm/sdk/models/shared/floodclimate2080.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/floodclimate2080.js.map +1 -1
- package/dist/esm/sdk/models/shared/floodclimateallowance.d.ts +34 -0
- package/dist/esm/sdk/models/shared/floodclimateallowance.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/floodclimateallowance.js +19 -0
- package/dist/esm/sdk/models/shared/floodclimateallowance.js.map +1 -0
- package/dist/esm/sdk/models/shared/floodclimateallowancelevel.d.ts +17 -0
- package/dist/esm/sdk/models/shared/floodclimateallowancelevel.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/floodclimateallowancelevel.js +15 -0
- package/dist/esm/sdk/models/shared/floodclimateallowancelevel.js.map +1 -0
- package/dist/esm/sdk/models/shared/floodclimatedriver.d.ts +17 -0
- package/dist/esm/sdk/models/shared/floodclimatedriver.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/floodclimatedriver.js +15 -0
- package/dist/esm/sdk/models/shared/floodclimatedriver.js.map +1 -0
- package/dist/esm/sdk/models/shared/floodclimateprojection.d.ts +47 -0
- package/dist/esm/sdk/models/shared/floodclimateprojection.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/floodclimateprojection.js +31 -0
- package/dist/esm/sdk/models/shared/floodclimateprojection.js.map +1 -0
- package/dist/esm/sdk/models/shared/floodclimateprojectionsource.d.ts +30 -0
- package/dist/esm/sdk/models/shared/floodclimateprojectionsource.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/floodclimateprojectionsource.js +21 -0
- package/dist/esm/sdk/models/shared/floodclimateprojectionsource.js.map +1 -0
- package/dist/esm/sdk/models/shared/floodriskpoint.d.ts +10 -0
- package/dist/esm/sdk/models/shared/floodriskpoint.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/floodriskpoint.js +2 -0
- package/dist/esm/sdk/models/shared/floodriskpoint.js.map +1 -1
- package/dist/esm/sdk/models/shared/floodriskpointrequest.d.ts +1 -1
- package/dist/esm/sdk/models/shared/floodscenario.d.ts +2 -2
- package/dist/esm/sdk/models/shared/floodscenario.js +1 -1
- package/dist/esm/sdk/models/shared/hazardedition.d.ts +33 -0
- package/dist/esm/sdk/models/shared/hazardedition.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/hazardedition.js +18 -0
- package/dist/esm/sdk/models/shared/hazardedition.js.map +1 -0
- package/dist/esm/sdk/models/shared/hazardoutline.d.ts +24 -0
- package/dist/esm/sdk/models/shared/hazardoutline.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/hazardoutline.js +19 -0
- package/dist/esm/sdk/models/shared/hazardoutline.js.map +1 -0
- package/dist/esm/sdk/models/shared/historiclandfillnearestresponse.d.ts +28 -0
- package/dist/esm/sdk/models/shared/historiclandfillnearestresponse.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/historiclandfillnearestresponse.js +19 -0
- package/dist/esm/sdk/models/shared/historiclandfillnearestresponse.js.map +1 -0
- package/dist/esm/sdk/models/shared/historiclandfillsite.d.ts +33 -0
- package/dist/esm/sdk/models/shared/historiclandfillsite.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/historiclandfillsite.js +18 -0
- package/dist/esm/sdk/models/shared/historiclandfillsite.js.map +1 -0
- package/dist/esm/sdk/models/shared/index.d.ts +22 -0
- package/dist/esm/sdk/models/shared/index.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/index.js +22 -0
- package/dist/esm/sdk/models/shared/index.js.map +1 -1
- package/dist/esm/sdk/models/shared/noiseband.d.ts +24 -0
- package/dist/esm/sdk/models/shared/noiseband.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/noiseband.js +15 -0
- package/dist/esm/sdk/models/shared/noiseband.js.map +1 -0
- package/dist/esm/sdk/models/shared/noisebandset.d.ts +34 -0
- package/dist/esm/sdk/models/shared/noisebandset.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/noisebandset.js +23 -0
- package/dist/esm/sdk/models/shared/noisebandset.js.map +1 -0
- package/dist/esm/sdk/models/shared/noisemapsource.d.ts +91 -0
- package/dist/esm/sdk/models/shared/noisemapsource.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/noisemapsource.js +52 -0
- package/dist/esm/sdk/models/shared/noisemapsource.js.map +1 -0
- package/dist/esm/sdk/models/shared/noisenationcoverage.d.ts +33 -0
- package/dist/esm/sdk/models/shared/noisenationcoverage.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/noisenationcoverage.js +26 -0
- package/dist/esm/sdk/models/shared/noisenationcoverage.js.map +1 -0
- package/dist/esm/sdk/models/shared/noisepointcoordinate.d.ts +25 -0
- package/dist/esm/sdk/models/shared/noisepointcoordinate.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/noisepointcoordinate.js +22 -0
- package/dist/esm/sdk/models/shared/noisepointcoordinate.js.map +1 -0
- package/dist/esm/sdk/models/shared/noisepointrequest.d.ts +13 -0
- package/dist/esm/sdk/models/shared/noisepointrequest.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/noisepointrequest.js +13 -0
- package/dist/esm/sdk/models/shared/noisepointrequest.js.map +1 -0
- package/dist/esm/sdk/models/shared/noisepointresponse.d.ts +59 -0
- package/dist/esm/sdk/models/shared/noisepointresponse.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/noisepointresponse.js +42 -0
- package/dist/esm/sdk/models/shared/noisepointresponse.js.map +1 -0
- package/dist/esm/sdk/models/shared/noisereading.d.ts +37 -0
- package/dist/esm/sdk/models/shared/noisereading.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/noisereading.js +22 -0
- package/dist/esm/sdk/models/shared/noisereading.js.map +1 -0
- package/dist/esm/sdk/models/shared/noisereadingstatus.d.ts +17 -0
- package/dist/esm/sdk/models/shared/noisereadingstatus.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/noisereadingstatus.js +15 -0
- package/dist/esm/sdk/models/shared/noisereadingstatus.js.map +1 -0
- package/dist/esm/sdk/models/shared/noisesourcereadings.d.ts +18 -0
- package/dist/esm/sdk/models/shared/noisesourcereadings.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/noisesourcereadings.js +15 -0
- package/dist/esm/sdk/models/shared/noisesourcereadings.js.map +1 -0
- package/dist/esm/sdk/models/shared/planninglistresponse.d.ts +51 -4
- package/dist/esm/sdk/models/shared/planninglistresponse.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/planninglistresponse.js +28 -0
- package/dist/esm/sdk/models/shared/planninglistresponse.js.map +1 -1
- package/dist/esm/sdk/models/shared/radonpointresponse.d.ts +23 -0
- package/dist/esm/sdk/models/shared/radonpointresponse.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/radonpointresponse.js +17 -0
- package/dist/esm/sdk/models/shared/radonpointresponse.js.map +1 -0
- package/dist/esm/sdk/models/shared/radonpotentialband.d.ts +20 -0
- package/dist/esm/sdk/models/shared/radonpotentialband.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/radonpotentialband.js +14 -0
- package/dist/esm/sdk/models/shared/radonpotentialband.js.map +1 -0
- package/dist/esm/sdk/models/shared/radonsquare.d.ts +30 -0
- package/dist/esm/sdk/models/shared/radonsquare.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/radonsquare.js +18 -0
- package/dist/esm/sdk/models/shared/radonsquare.js.map +1 -0
- package/dist/esm/sdk/noise.d.ts +12 -0
- package/dist/esm/sdk/noise.d.ts.map +1 -0
- package/dist/esm/sdk/noise.js +18 -0
- package/dist/esm/sdk/noise.js.map +1 -0
- package/dist/esm/sdk/poi.d.ts +1 -1
- package/dist/esm/sdk/poi.js +1 -1
- package/dist/esm/sdk/sdk.d.ts +3 -0
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +4 -0
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/package.json +1 -1
- package/src/funcs/areasGetNearestHistoricLandfill.ts +194 -0
- package/src/funcs/areasGetRadonAtPoint.ts +189 -0
- package/src/funcs/floodRiskPoint.ts +1 -1
- package/src/funcs/noisePoint.ts +184 -0
- package/src/funcs/poiGetNearestPOI.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/sdk/areas.ts +37 -0
- package/src/sdk/floodrisk.ts +1 -1
- package/src/sdk/models/errors/getnearesthistoriclandfill.ts +408 -0
- package/src/sdk/models/errors/getradonatpoint.ts +391 -0
- package/src/sdk/models/errors/index.ts +3 -0
- package/src/sdk/models/errors/querynoisepoint.ts +391 -0
- package/src/sdk/models/operations/getnearesthistoriclandfill.ts +48 -0
- package/src/sdk/models/operations/getnearestpoi.ts +293 -118
- package/src/sdk/models/operations/getpoimultipletiles.ts +18 -19
- package/src/sdk/models/operations/getradonatpoint.ts +40 -0
- package/src/sdk/models/operations/index.ts +2 -0
- package/src/sdk/models/operations/queryschools.ts +14 -11
- package/src/sdk/models/shared/airqualityinstallations.ts +14 -2
- package/src/sdk/models/shared/airqualitypointoptions.ts +6 -0
- package/src/sdk/models/shared/floodclimate2080.ts +5 -0
- package/src/sdk/models/shared/floodclimateallowance.ts +65 -0
- package/src/sdk/models/shared/floodclimateallowancelevel.ts +29 -0
- package/src/sdk/models/shared/floodclimatedriver.ts +27 -0
- package/src/sdk/models/shared/floodclimateprojection.ts +88 -0
- package/src/sdk/models/shared/floodclimateprojectionsource.ts +65 -0
- package/src/sdk/models/shared/floodriskpoint.ts +14 -0
- package/src/sdk/models/shared/floodriskpointrequest.ts +1 -1
- package/src/sdk/models/shared/floodscenario.ts +2 -2
- package/src/sdk/models/shared/hazardedition.ts +58 -0
- package/src/sdk/models/shared/hazardoutline.ts +50 -0
- package/src/sdk/models/shared/historiclandfillnearestresponse.ts +56 -0
- package/src/sdk/models/shared/historiclandfillsite.ts +58 -0
- package/src/sdk/models/shared/index.ts +22 -0
- package/src/sdk/models/shared/noiseband.ts +47 -0
- package/src/sdk/models/shared/noisebandset.ts +60 -0
- package/src/sdk/models/shared/noisemapsource.ts +140 -0
- package/src/sdk/models/shared/noisenationcoverage.ts +64 -0
- package/src/sdk/models/shared/noisepointcoordinate.ts +61 -0
- package/src/sdk/models/shared/noisepointrequest.ts +36 -0
- package/src/sdk/models/shared/noisepointresponse.ts +109 -0
- package/src/sdk/models/shared/noisereading.ts +69 -0
- package/src/sdk/models/shared/noisereadingstatus.ts +27 -0
- package/src/sdk/models/shared/noisesourcereadings.ts +40 -0
- package/src/sdk/models/shared/planninglistresponse.ts +97 -4
- package/src/sdk/models/shared/radonpointresponse.ts +46 -0
- package/src/sdk/models/shared/radonpotentialband.ts +42 -0
- package/src/sdk/models/shared/radonsquare.ts +57 -0
- package/src/sdk/noise.ts +27 -0
- package/src/sdk/poi.ts +1 -1
- package/src/sdk/sdk.ts +6 -0
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import { NoiseBand, NoiseBand$inboundSchema } from "./noiseband.js";
|
|
10
|
+
import { NoiseBandSet, NoiseBandSet$inboundSchema } from "./noisebandset.js";
|
|
11
|
+
import {
|
|
12
|
+
NoiseMapSource,
|
|
13
|
+
NoiseMapSource$inboundSchema,
|
|
14
|
+
} from "./noisemapsource.js";
|
|
15
|
+
import {
|
|
16
|
+
NoiseReadingStatus,
|
|
17
|
+
NoiseReadingStatus$inboundSchema,
|
|
18
|
+
} from "./noisereadingstatus.js";
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Day-evening-night level (Lden), weighted for the evening and night.
|
|
22
|
+
*/
|
|
23
|
+
export type NoiseReading = {
|
|
24
|
+
/**
|
|
25
|
+
* The band from `bandSet` the level falls in. Null when there is no level, the level is below the quietest band, or the metric has no band set.
|
|
26
|
+
*/
|
|
27
|
+
band: NoiseBand | null;
|
|
28
|
+
/**
|
|
29
|
+
* The bands this metric is banded with. Null for Lnight.
|
|
30
|
+
*/
|
|
31
|
+
bandSet: NoiseBandSet | null;
|
|
32
|
+
/**
|
|
33
|
+
* The lowest level the map draws, in decibels. Set when `status` is `below_floor`: the level at the point is at or below this figure.
|
|
34
|
+
*/
|
|
35
|
+
floorDb: number | null;
|
|
36
|
+
/**
|
|
37
|
+
* Noise level at the point, in decibels, to one decimal place. Set only when `status` is `mapped`.
|
|
38
|
+
*/
|
|
39
|
+
levelDb: number | null;
|
|
40
|
+
source: NoiseMapSource;
|
|
41
|
+
/**
|
|
42
|
+
* What the map says at the point. `mapped` means it draws a level above its floor, given in `levelDb`. `below_floor` means it draws no level above its floor, which is given in `floorDb`. `not_covered` means no map covers the point or the metric is not available there, so nothing is known about the noise.
|
|
43
|
+
*/
|
|
44
|
+
status: NoiseReadingStatus;
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
/** @internal */
|
|
48
|
+
export const NoiseReading$inboundSchema: z.ZodType<
|
|
49
|
+
NoiseReading,
|
|
50
|
+
z.ZodTypeDef,
|
|
51
|
+
unknown
|
|
52
|
+
> = z.object({
|
|
53
|
+
band: z.nullable(NoiseBand$inboundSchema),
|
|
54
|
+
bandSet: z.nullable(NoiseBandSet$inboundSchema),
|
|
55
|
+
floorDb: z.nullable(z.number()),
|
|
56
|
+
levelDb: z.nullable(z.number()),
|
|
57
|
+
source: NoiseMapSource$inboundSchema,
|
|
58
|
+
status: NoiseReadingStatus$inboundSchema,
|
|
59
|
+
});
|
|
60
|
+
|
|
61
|
+
export function noiseReadingFromJSON(
|
|
62
|
+
jsonString: string,
|
|
63
|
+
): SafeParseResult<NoiseReading, SDKValidationError> {
|
|
64
|
+
return safeParse(
|
|
65
|
+
jsonString,
|
|
66
|
+
(x) => NoiseReading$inboundSchema.parse(JSON.parse(x)),
|
|
67
|
+
`Failed to parse 'NoiseReading' from JSON`,
|
|
68
|
+
);
|
|
69
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import * as openEnums from "../../types/enums.js";
|
|
7
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* What the map says at the point. `mapped` means it draws a level above its floor, given in `levelDb`. `below_floor` means it draws no level above its floor, which is given in `floorDb`. `not_covered` means no map covers the point or the metric is not available there, so nothing is known about the noise.
|
|
11
|
+
*/
|
|
12
|
+
export const NoiseReadingStatus = {
|
|
13
|
+
Mapped: "mapped",
|
|
14
|
+
BelowFloor: "below_floor",
|
|
15
|
+
NotCovered: "not_covered",
|
|
16
|
+
} as const;
|
|
17
|
+
/**
|
|
18
|
+
* What the map says at the point. `mapped` means it draws a level above its floor, given in `levelDb`. `below_floor` means it draws no level above its floor, which is given in `floorDb`. `not_covered` means no map covers the point or the metric is not available there, so nothing is known about the noise.
|
|
19
|
+
*/
|
|
20
|
+
export type NoiseReadingStatus = OpenEnum<typeof NoiseReadingStatus>;
|
|
21
|
+
|
|
22
|
+
/** @internal */
|
|
23
|
+
export const NoiseReadingStatus$inboundSchema: z.ZodType<
|
|
24
|
+
NoiseReadingStatus,
|
|
25
|
+
z.ZodTypeDef,
|
|
26
|
+
unknown
|
|
27
|
+
> = openEnums.inboundSchema(NoiseReadingStatus);
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import { NoiseReading, NoiseReading$inboundSchema } from "./noisereading.js";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Road traffic noise at the point.
|
|
13
|
+
*/
|
|
14
|
+
export type NoiseSourceReadings = {
|
|
15
|
+
/**
|
|
16
|
+
* Day-evening-night level (Lden), weighted for the evening and night.
|
|
17
|
+
*/
|
|
18
|
+
lden: NoiseReading;
|
|
19
|
+
lnight: NoiseReading;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
/** @internal */
|
|
23
|
+
export const NoiseSourceReadings$inboundSchema: z.ZodType<
|
|
24
|
+
NoiseSourceReadings,
|
|
25
|
+
z.ZodTypeDef,
|
|
26
|
+
unknown
|
|
27
|
+
> = z.object({
|
|
28
|
+
lden: NoiseReading$inboundSchema,
|
|
29
|
+
lnight: NoiseReading$inboundSchema,
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
export function noiseSourceReadingsFromJSON(
|
|
33
|
+
jsonString: string,
|
|
34
|
+
): SafeParseResult<NoiseSourceReadings, SDKValidationError> {
|
|
35
|
+
return safeParse(
|
|
36
|
+
jsonString,
|
|
37
|
+
(x) => NoiseSourceReadings$inboundSchema.parse(JSON.parse(x)),
|
|
38
|
+
`Failed to parse 'NoiseSourceReadings' from JSON`,
|
|
39
|
+
);
|
|
40
|
+
}
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
7
|
import { safeParse } from "../../../lib/schemas.js";
|
|
8
|
-
import
|
|
8
|
+
import * as openEnums from "../../types/enums.js";
|
|
9
|
+
import { ClosedEnum, OpenEnum } from "../../types/enums.js";
|
|
9
10
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
11
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
12
|
import {
|
|
@@ -13,6 +14,49 @@ import {
|
|
|
13
14
|
PlanningApplication$inboundSchema,
|
|
14
15
|
} from "./planningapplication.js";
|
|
15
16
|
|
|
17
|
+
/**
|
|
18
|
+
* How far the council's register can be relied on as of this response. 'current' means it is complete through completeThrough and that day is no more than 28 days before the request. 'unconfirmed' means completeThrough is more than 28 days before the request, or no day in the last 52 weeks can be confirmed although the register has been read, so applications received since may be missing. 'never_harvested' means no complete week of the council's register has been read, so completeThrough is null and an empty result says nothing about the area.
|
|
19
|
+
*/
|
|
20
|
+
export const PlanningListResponseStatus = {
|
|
21
|
+
Current: "current",
|
|
22
|
+
Unconfirmed: "unconfirmed",
|
|
23
|
+
NeverHarvested: "never_harvested",
|
|
24
|
+
} as const;
|
|
25
|
+
/**
|
|
26
|
+
* How far the council's register can be relied on as of this response. 'current' means it is complete through completeThrough and that day is no more than 28 days before the request. 'unconfirmed' means completeThrough is more than 28 days before the request, or no day in the last 52 weeks can be confirmed although the register has been read, so applications received since may be missing. 'never_harvested' means no complete week of the council's register has been read, so completeThrough is null and an empty result says nothing about the area.
|
|
27
|
+
*/
|
|
28
|
+
export type PlanningListResponseStatus = OpenEnum<
|
|
29
|
+
typeof PlanningListResponseStatus
|
|
30
|
+
>;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* How current this council's planning register is.
|
|
34
|
+
*/
|
|
35
|
+
export type PlanningListResponseRegister = {
|
|
36
|
+
/**
|
|
37
|
+
* The last day, as YYYY-MM-DD, of the newest week of the council's register read in full that closes at least 4 consecutive weeks read in full, within the last 52 weeks. Applications the council received after this day may not be included yet. Null when no such day exists.
|
|
38
|
+
*/
|
|
39
|
+
completeThrough: string | null;
|
|
40
|
+
/**
|
|
41
|
+
* How far the council's register can be relied on as of this response. 'current' means it is complete through completeThrough and that day is no more than 28 days before the request. 'unconfirmed' means completeThrough is more than 28 days before the request, or no day in the last 52 weeks can be confirmed although the register has been read, so applications received since may be missing. 'never_harvested' means no complete week of the council's register has been read, so completeThrough is null and an empty result says nothing about the area.
|
|
42
|
+
*/
|
|
43
|
+
status: PlanningListResponseStatus;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* A local planning authority the response covers, with how current its register is.
|
|
48
|
+
*/
|
|
49
|
+
export type Councils = {
|
|
50
|
+
/**
|
|
51
|
+
* Identifier for the local planning authority, the same slug as each application's provider field, for example 'lambeth'.
|
|
52
|
+
*/
|
|
53
|
+
provider: string;
|
|
54
|
+
/**
|
|
55
|
+
* How current this council's planning register is.
|
|
56
|
+
*/
|
|
57
|
+
register: PlanningListResponseRegister;
|
|
58
|
+
};
|
|
59
|
+
|
|
16
60
|
/**
|
|
17
61
|
* Object type discriminator. Always `list`.
|
|
18
62
|
*/
|
|
@@ -26,10 +70,11 @@ export type PlanningListResponseObject = ClosedEnum<
|
|
|
26
70
|
typeof PlanningListResponseObject
|
|
27
71
|
>;
|
|
28
72
|
|
|
29
|
-
/**
|
|
30
|
-
* One page of results, with the metadata needed to fetch the rest.
|
|
31
|
-
*/
|
|
32
73
|
export type PlanningListResponse = {
|
|
74
|
+
/**
|
|
75
|
+
* Every council the response covers, once each: on POST /query, each council named in the councils filter and each council holding an application that matches the request on any page; on the lookups by identifier, each council of a returned application, and on GET /sources/{sourceIds} also each council named in the identifiers. Read register to date the result: an empty data list is only evidence of no applications through that council's completeThrough day. Empty when the request names no council and matches nothing.
|
|
76
|
+
*/
|
|
77
|
+
councils: Array<Councils>;
|
|
33
78
|
/**
|
|
34
79
|
* The items on this page.
|
|
35
80
|
*/
|
|
@@ -52,6 +97,53 @@ export type PlanningListResponse = {
|
|
|
52
97
|
url: string;
|
|
53
98
|
};
|
|
54
99
|
|
|
100
|
+
/** @internal */
|
|
101
|
+
export const PlanningListResponseStatus$inboundSchema: z.ZodType<
|
|
102
|
+
PlanningListResponseStatus,
|
|
103
|
+
z.ZodTypeDef,
|
|
104
|
+
unknown
|
|
105
|
+
> = openEnums.inboundSchema(PlanningListResponseStatus);
|
|
106
|
+
|
|
107
|
+
/** @internal */
|
|
108
|
+
export const PlanningListResponseRegister$inboundSchema: z.ZodType<
|
|
109
|
+
PlanningListResponseRegister,
|
|
110
|
+
z.ZodTypeDef,
|
|
111
|
+
unknown
|
|
112
|
+
> = z.object({
|
|
113
|
+
completeThrough: z.nullable(z.string()),
|
|
114
|
+
status: PlanningListResponseStatus$inboundSchema,
|
|
115
|
+
});
|
|
116
|
+
|
|
117
|
+
export function planningListResponseRegisterFromJSON(
|
|
118
|
+
jsonString: string,
|
|
119
|
+
): SafeParseResult<PlanningListResponseRegister, SDKValidationError> {
|
|
120
|
+
return safeParse(
|
|
121
|
+
jsonString,
|
|
122
|
+
(x) => PlanningListResponseRegister$inboundSchema.parse(JSON.parse(x)),
|
|
123
|
+
`Failed to parse 'PlanningListResponseRegister' from JSON`,
|
|
124
|
+
);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/** @internal */
|
|
128
|
+
export const Councils$inboundSchema: z.ZodType<
|
|
129
|
+
Councils,
|
|
130
|
+
z.ZodTypeDef,
|
|
131
|
+
unknown
|
|
132
|
+
> = z.object({
|
|
133
|
+
provider: z.string(),
|
|
134
|
+
register: z.lazy(() => PlanningListResponseRegister$inboundSchema),
|
|
135
|
+
});
|
|
136
|
+
|
|
137
|
+
export function councilsFromJSON(
|
|
138
|
+
jsonString: string,
|
|
139
|
+
): SafeParseResult<Councils, SDKValidationError> {
|
|
140
|
+
return safeParse(
|
|
141
|
+
jsonString,
|
|
142
|
+
(x) => Councils$inboundSchema.parse(JSON.parse(x)),
|
|
143
|
+
`Failed to parse 'Councils' from JSON`,
|
|
144
|
+
);
|
|
145
|
+
}
|
|
146
|
+
|
|
55
147
|
/** @internal */
|
|
56
148
|
export const PlanningListResponseObject$inboundSchema: z.ZodNativeEnum<
|
|
57
149
|
typeof PlanningListResponseObject
|
|
@@ -63,6 +155,7 @@ export const PlanningListResponse$inboundSchema: z.ZodType<
|
|
|
63
155
|
z.ZodTypeDef,
|
|
64
156
|
unknown
|
|
65
157
|
> = z.object({
|
|
158
|
+
councils: z.array(z.lazy(() => Councils$inboundSchema)),
|
|
66
159
|
data: z.array(PlanningApplication$inboundSchema),
|
|
67
160
|
has_more: z.boolean(),
|
|
68
161
|
object: PlanningListResponseObject$inboundSchema,
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import { HazardEdition, HazardEdition$inboundSchema } from "./hazardedition.js";
|
|
10
|
+
import { RadonSquare, RadonSquare$inboundSchema } from "./radonsquare.js";
|
|
11
|
+
|
|
12
|
+
export type RadonPointResponse = {
|
|
13
|
+
/**
|
|
14
|
+
* Whether a square of the atlas contains the point. False for a point the atlas does not map, such as one offshore; `square` is then null and nothing is known about radon there.
|
|
15
|
+
*/
|
|
16
|
+
covered: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* The atlas release the square was read from. Null when `covered` is false.
|
|
19
|
+
*/
|
|
20
|
+
edition: HazardEdition | null;
|
|
21
|
+
/**
|
|
22
|
+
* The atlas square containing the point. A point on the shared edge or corner of squares takes the square with the highest class. Null when `covered` is false.
|
|
23
|
+
*/
|
|
24
|
+
square: RadonSquare | null;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
/** @internal */
|
|
28
|
+
export const RadonPointResponse$inboundSchema: z.ZodType<
|
|
29
|
+
RadonPointResponse,
|
|
30
|
+
z.ZodTypeDef,
|
|
31
|
+
unknown
|
|
32
|
+
> = z.object({
|
|
33
|
+
covered: z.boolean(),
|
|
34
|
+
edition: z.nullable(HazardEdition$inboundSchema),
|
|
35
|
+
square: z.nullable(RadonSquare$inboundSchema),
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
export function radonPointResponseFromJSON(
|
|
39
|
+
jsonString: string,
|
|
40
|
+
): SafeParseResult<RadonPointResponse, SDKValidationError> {
|
|
41
|
+
return safeParse(
|
|
42
|
+
jsonString,
|
|
43
|
+
(x) => RadonPointResponse$inboundSchema.parse(JSON.parse(x)),
|
|
44
|
+
`Failed to parse 'RadonPointResponse' from JSON`,
|
|
45
|
+
);
|
|
46
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* The class as a band of the share of homes in the square estimated to be at or above the radon Action Level: 0 to 1 for class 1, 1 to 3 for class 2, 3 to 5 for class 3, 5 to 10 for class 4, 10 to 30 for class 5, and 30 to 100 for class 6.
|
|
12
|
+
*/
|
|
13
|
+
export type RadonPotentialBand = {
|
|
14
|
+
/**
|
|
15
|
+
* Lower bound of the band, as a percentage of homes.
|
|
16
|
+
*/
|
|
17
|
+
lowerPercent: number;
|
|
18
|
+
/**
|
|
19
|
+
* Upper bound of the band, as a percentage of homes.
|
|
20
|
+
*/
|
|
21
|
+
upperPercent: number;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const RadonPotentialBand$inboundSchema: z.ZodType<
|
|
26
|
+
RadonPotentialBand,
|
|
27
|
+
z.ZodTypeDef,
|
|
28
|
+
unknown
|
|
29
|
+
> = z.object({
|
|
30
|
+
lowerPercent: z.number(),
|
|
31
|
+
upperPercent: z.number(),
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
export function radonPotentialBandFromJSON(
|
|
35
|
+
jsonString: string,
|
|
36
|
+
): SafeParseResult<RadonPotentialBand, SDKValidationError> {
|
|
37
|
+
return safeParse(
|
|
38
|
+
jsonString,
|
|
39
|
+
(x) => RadonPotentialBand$inboundSchema.parse(JSON.parse(x)),
|
|
40
|
+
`Failed to parse 'RadonPotentialBand' from JSON`,
|
|
41
|
+
);
|
|
42
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import { HazardOutline, HazardOutline$inboundSchema } from "./hazardoutline.js";
|
|
10
|
+
import {
|
|
11
|
+
RadonPotentialBand,
|
|
12
|
+
RadonPotentialBand$inboundSchema,
|
|
13
|
+
} from "./radonpotentialband.js";
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* The atlas square containing the point. A point on the shared edge or corner of squares takes the square with the highest class. Null when `covered` is false.
|
|
17
|
+
*/
|
|
18
|
+
export type RadonSquare = {
|
|
19
|
+
/**
|
|
20
|
+
* The 1 km square's grid reference, for example `TQ5812`.
|
|
21
|
+
*/
|
|
22
|
+
gridReference: string;
|
|
23
|
+
/**
|
|
24
|
+
* The outline as a GeoJSON MultiPolygon in WGS84.
|
|
25
|
+
*/
|
|
26
|
+
outline: HazardOutline;
|
|
27
|
+
/**
|
|
28
|
+
* The class as a band of the share of homes in the square estimated to be at or above the radon Action Level: 0 to 1 for class 1, 1 to 3 for class 2, 3 to 5 for class 3, 5 to 10 for class 4, 10 to 30 for class 5, and 30 to 100 for class 6.
|
|
29
|
+
*/
|
|
30
|
+
potential: RadonPotentialBand;
|
|
31
|
+
/**
|
|
32
|
+
* The square's radon class in the Indicative Atlas of Radon, from 1 (lowest potential) to 6 (highest). It is the highest class mapped anywhere in the square.
|
|
33
|
+
*/
|
|
34
|
+
radonClass: number;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/** @internal */
|
|
38
|
+
export const RadonSquare$inboundSchema: z.ZodType<
|
|
39
|
+
RadonSquare,
|
|
40
|
+
z.ZodTypeDef,
|
|
41
|
+
unknown
|
|
42
|
+
> = z.object({
|
|
43
|
+
gridReference: z.string(),
|
|
44
|
+
outline: HazardOutline$inboundSchema,
|
|
45
|
+
potential: RadonPotentialBand$inboundSchema,
|
|
46
|
+
radonClass: z.number().int(),
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
export function radonSquareFromJSON(
|
|
50
|
+
jsonString: string,
|
|
51
|
+
): SafeParseResult<RadonSquare, SDKValidationError> {
|
|
52
|
+
return safeParse(
|
|
53
|
+
jsonString,
|
|
54
|
+
(x) => RadonSquare$inboundSchema.parse(JSON.parse(x)),
|
|
55
|
+
`Failed to parse 'RadonSquare' from JSON`,
|
|
56
|
+
);
|
|
57
|
+
}
|
package/src/sdk/noise.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { noisePoint } from "../funcs/noisePoint.js";
|
|
6
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
7
|
+
import * as shared from "./models/shared/index.js";
|
|
8
|
+
import { unwrapAsync } from "./types/fp.js";
|
|
9
|
+
|
|
10
|
+
export class Noise extends ClientSDK {
|
|
11
|
+
/**
|
|
12
|
+
* Read road and rail noise at a coordinate
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* Returns road traffic and railway noise at one latitude and longitude, each as a day-evening-night level (Lden) and a night level (Lnight) in decibels. Read `status` on each reading before its level: `mapped` carries a level, `below_floor` states the lowest level the map draws instead of a level, and `not_covered` means no map covers the point or the metric is not available there. Each reading names its map's publisher, round, data year, edition and licence where the map states them, with the attribution and any use limitation the publisher requires to be shown alongside it. `nations` lists which UK nations the maps cover.
|
|
16
|
+
*/
|
|
17
|
+
async point(
|
|
18
|
+
request?: shared.NoisePointRequest | undefined,
|
|
19
|
+
options?: RequestOptions,
|
|
20
|
+
): Promise<shared.NoisePointResponse> {
|
|
21
|
+
return unwrapAsync(noisePoint(
|
|
22
|
+
this,
|
|
23
|
+
request,
|
|
24
|
+
options,
|
|
25
|
+
));
|
|
26
|
+
}
|
|
27
|
+
}
|
package/src/sdk/poi.ts
CHANGED
|
@@ -16,7 +16,7 @@ export class Poi extends ClientSDK {
|
|
|
16
16
|
* Find nearest points of interest
|
|
17
17
|
*
|
|
18
18
|
* @remarks
|
|
19
|
-
* Returns the points of interest closest to a location, nearest first, with the straight-line distance to each. Narrow the search with `types`, and add distances and times
|
|
19
|
+
* Returns the points of interest closest to a location, nearest first, with the straight-line distance and the direction to each. Narrow the search with `types`, and add distances and times by car, by bicycle and on foot with `routing`.
|
|
20
20
|
*/
|
|
21
21
|
async getNearestPOI(
|
|
22
22
|
request: operations.GetNearestPOIRequest,
|
package/src/sdk/sdk.ts
CHANGED
|
@@ -22,6 +22,7 @@ import { LandConstraint } from "./landconstraint.js";
|
|
|
22
22
|
import { Listings } from "./listings.js";
|
|
23
23
|
import { Metrics } from "./metrics.js";
|
|
24
24
|
import { Models } from "./models.js";
|
|
25
|
+
import { Noise } from "./noise.js";
|
|
25
26
|
import { Planning } from "./planning.js";
|
|
26
27
|
import { Poi } from "./poi.js";
|
|
27
28
|
import { Property } from "./property.js";
|
|
@@ -147,6 +148,11 @@ export class SDK extends ClientSDK {
|
|
|
147
148
|
return (this._streets ??= new Streets(this._options));
|
|
148
149
|
}
|
|
149
150
|
|
|
151
|
+
private _noise?: Noise;
|
|
152
|
+
get noise(): Noise {
|
|
153
|
+
return (this._noise ??= new Noise(this._options));
|
|
154
|
+
}
|
|
155
|
+
|
|
150
156
|
private _planning?: Planning;
|
|
151
157
|
get planning(): Planning {
|
|
152
158
|
return (this._planning ??= new Planning(this._options));
|