@vepler/sdk 7.1.2 → 7.7.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/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,56 @@
|
|
|
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 {
|
|
11
|
+
HistoricLandfillSite,
|
|
12
|
+
HistoricLandfillSite$inboundSchema,
|
|
13
|
+
} from "./historiclandfillsite.js";
|
|
14
|
+
|
|
15
|
+
export type HistoricLandfillNearestResponse = {
|
|
16
|
+
/**
|
|
17
|
+
* Whether the point is in England or Wales and the historic landfill record for that nation is held. Elsewhere a site near the border can still be found, but `found: false` there does not show that none exists.
|
|
18
|
+
*/
|
|
19
|
+
covered: boolean;
|
|
20
|
+
edition: HazardEdition | null;
|
|
21
|
+
/**
|
|
22
|
+
* Whether a historic landfill site lies within `radiusM` of the point.
|
|
23
|
+
*/
|
|
24
|
+
found: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* The radius searched, in metres.
|
|
27
|
+
*/
|
|
28
|
+
radiusM: number;
|
|
29
|
+
/**
|
|
30
|
+
* The site whose outline is nearest the point. Null when `found` is false.
|
|
31
|
+
*/
|
|
32
|
+
site: HistoricLandfillSite | null;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
/** @internal */
|
|
36
|
+
export const HistoricLandfillNearestResponse$inboundSchema: z.ZodType<
|
|
37
|
+
HistoricLandfillNearestResponse,
|
|
38
|
+
z.ZodTypeDef,
|
|
39
|
+
unknown
|
|
40
|
+
> = z.object({
|
|
41
|
+
covered: z.boolean(),
|
|
42
|
+
edition: z.nullable(HazardEdition$inboundSchema),
|
|
43
|
+
found: z.boolean(),
|
|
44
|
+
radiusM: z.number().int(),
|
|
45
|
+
site: z.nullable(HistoricLandfillSite$inboundSchema),
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
export function historicLandfillNearestResponseFromJSON(
|
|
49
|
+
jsonString: string,
|
|
50
|
+
): SafeParseResult<HistoricLandfillNearestResponse, SDKValidationError> {
|
|
51
|
+
return safeParse(
|
|
52
|
+
jsonString,
|
|
53
|
+
(x) => HistoricLandfillNearestResponse$inboundSchema.parse(JSON.parse(x)),
|
|
54
|
+
`Failed to parse 'HistoricLandfillNearestResponse' from JSON`,
|
|
55
|
+
);
|
|
56
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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
|
+
|
|
11
|
+
/**
|
|
12
|
+
* The site whose outline is nearest the point. Null when `found` is false.
|
|
13
|
+
*/
|
|
14
|
+
export type HistoricLandfillSite = {
|
|
15
|
+
/**
|
|
16
|
+
* Direction from the point to the nearest point of the outline, in degrees clockwise from true north, to one decimal place. Null when `distanceM` is 0.
|
|
17
|
+
*/
|
|
18
|
+
bearingDeg: number | null;
|
|
19
|
+
/**
|
|
20
|
+
* Distance in metres from the point to the nearest edge of the site's outline, to one decimal place. 0 when the point is on or inside the outline.
|
|
21
|
+
*/
|
|
22
|
+
distanceM: number;
|
|
23
|
+
/**
|
|
24
|
+
* The site's name as the record gives it.
|
|
25
|
+
*/
|
|
26
|
+
name: string;
|
|
27
|
+
/**
|
|
28
|
+
* The outline as a GeoJSON MultiPolygon in WGS84.
|
|
29
|
+
*/
|
|
30
|
+
outline: HazardOutline;
|
|
31
|
+
/**
|
|
32
|
+
* The site's reference in the historic landfill record.
|
|
33
|
+
*/
|
|
34
|
+
reference: string;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/** @internal */
|
|
38
|
+
export const HistoricLandfillSite$inboundSchema: z.ZodType<
|
|
39
|
+
HistoricLandfillSite,
|
|
40
|
+
z.ZodTypeDef,
|
|
41
|
+
unknown
|
|
42
|
+
> = z.object({
|
|
43
|
+
bearingDeg: z.nullable(z.number()),
|
|
44
|
+
distanceM: z.number(),
|
|
45
|
+
name: z.string(),
|
|
46
|
+
outline: HazardOutline$inboundSchema,
|
|
47
|
+
reference: z.string(),
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
export function historicLandfillSiteFromJSON(
|
|
51
|
+
jsonString: string,
|
|
52
|
+
): SafeParseResult<HistoricLandfillSite, SDKValidationError> {
|
|
53
|
+
return safeParse(
|
|
54
|
+
jsonString,
|
|
55
|
+
(x) => HistoricLandfillSite$inboundSchema.parse(JSON.parse(x)),
|
|
56
|
+
`Failed to parse 'HistoricLandfillSite' from JSON`,
|
|
57
|
+
);
|
|
58
|
+
}
|
|
@@ -176,6 +176,11 @@ export * from "./exceedancelevel.js";
|
|
|
176
176
|
export * from "./extendedstatsaggregationresult.js";
|
|
177
177
|
export * from "./extractioncitation.js";
|
|
178
178
|
export * from "./floodclimate2080.js";
|
|
179
|
+
export * from "./floodclimateallowance.js";
|
|
180
|
+
export * from "./floodclimateallowancelevel.js";
|
|
181
|
+
export * from "./floodclimatedriver.js";
|
|
182
|
+
export * from "./floodclimateprojection.js";
|
|
183
|
+
export * from "./floodclimateprojectionsource.js";
|
|
179
184
|
export * from "./flooddataavailability.js";
|
|
180
185
|
export * from "./flooddefence.js";
|
|
181
186
|
export * from "./floodhazardrating.js";
|
|
@@ -203,6 +208,8 @@ export * from "./geographymetricslistresponse.js";
|
|
|
203
208
|
export * from "./geographymetricsrow.js";
|
|
204
209
|
export * from "./geographyrelatedarea.js";
|
|
205
210
|
export * from "./geographytimeseriespoint.js";
|
|
211
|
+
export * from "./hazardedition.js";
|
|
212
|
+
export * from "./hazardoutline.js";
|
|
206
213
|
export * from "./healthevidencelevel.js";
|
|
207
214
|
export * from "./healthimpact.js";
|
|
208
215
|
export * from "./healthimpactseverity.js";
|
|
@@ -214,6 +221,8 @@ export * from "./heritagezone.js";
|
|
|
214
221
|
export * from "./histogramaggregationresult.js";
|
|
215
222
|
export * from "./histogrambucket.js";
|
|
216
223
|
export * from "./historicalvaluation.js";
|
|
224
|
+
export * from "./historiclandfillnearestresponse.js";
|
|
225
|
+
export * from "./historiclandfillsite.js";
|
|
217
226
|
export * from "./imagecondition.js";
|
|
218
227
|
export * from "./imagedocumentclass.js";
|
|
219
228
|
export * from "./imagequality.js";
|
|
@@ -256,6 +265,16 @@ export * from "./mortgagecharge.js";
|
|
|
256
265
|
export * from "./nearestpostcodesresponse.js";
|
|
257
266
|
export * from "./nestedaggregation.js";
|
|
258
267
|
export * from "./nestedaggregationresult.js";
|
|
268
|
+
export * from "./noiseband.js";
|
|
269
|
+
export * from "./noisebandset.js";
|
|
270
|
+
export * from "./noisemapsource.js";
|
|
271
|
+
export * from "./noisenationcoverage.js";
|
|
272
|
+
export * from "./noisepointcoordinate.js";
|
|
273
|
+
export * from "./noisepointrequest.js";
|
|
274
|
+
export * from "./noisepointresponse.js";
|
|
275
|
+
export * from "./noisereading.js";
|
|
276
|
+
export * from "./noisereadingstatus.js";
|
|
277
|
+
export * from "./noisesourcereadings.js";
|
|
259
278
|
export * from "./observedfeature.js";
|
|
260
279
|
export * from "./officer.js";
|
|
261
280
|
export * from "./officerlistresponse.js";
|
|
@@ -352,6 +371,9 @@ export * from "./pscresponse.js";
|
|
|
352
371
|
export * from "./pscstatement.js";
|
|
353
372
|
export * from "./pscsummary.js";
|
|
354
373
|
export * from "./purchasestatus.js";
|
|
374
|
+
export * from "./radonpointresponse.js";
|
|
375
|
+
export * from "./radonpotentialband.js";
|
|
376
|
+
export * from "./radonsquare.js";
|
|
355
377
|
export * from "./rangedefinition.js";
|
|
356
378
|
export * from "./refurbishmentdata.js";
|
|
357
379
|
export * from "./registeredcharges.js";
|
|
@@ -0,0 +1,47 @@
|
|
|
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 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.
|
|
12
|
+
*/
|
|
13
|
+
export type NoiseBand = {
|
|
14
|
+
/**
|
|
15
|
+
* Band code, such as `ROAD_NOISE_MED`.
|
|
16
|
+
*/
|
|
17
|
+
code: string;
|
|
18
|
+
/**
|
|
19
|
+
* Lowest level in the band, in decibels, inclusive.
|
|
20
|
+
*/
|
|
21
|
+
fromDb: number;
|
|
22
|
+
/**
|
|
23
|
+
* Level the band stops below, in decibels. Null for the loudest band, which has no upper limit.
|
|
24
|
+
*/
|
|
25
|
+
toDb: number | null;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const NoiseBand$inboundSchema: z.ZodType<
|
|
30
|
+
NoiseBand,
|
|
31
|
+
z.ZodTypeDef,
|
|
32
|
+
unknown
|
|
33
|
+
> = z.object({
|
|
34
|
+
code: z.string(),
|
|
35
|
+
fromDb: z.number(),
|
|
36
|
+
toDb: z.nullable(z.number()),
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
export function noiseBandFromJSON(
|
|
40
|
+
jsonString: string,
|
|
41
|
+
): SafeParseResult<NoiseBand, SDKValidationError> {
|
|
42
|
+
return safeParse(
|
|
43
|
+
jsonString,
|
|
44
|
+
(x) => NoiseBand$inboundSchema.parse(JSON.parse(x)),
|
|
45
|
+
`Failed to parse 'NoiseBand' from JSON`,
|
|
46
|
+
);
|
|
47
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
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 { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import { NoiseBand, NoiseBand$inboundSchema } from "./noiseband.js";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Who set the bands. `vepler` means Vepler's own bands, the same ones the site and property noise overlay tags use. They are not the noise maps' published bands.
|
|
14
|
+
*/
|
|
15
|
+
export const NoiseBandSetSource = {
|
|
16
|
+
Vepler: "vepler",
|
|
17
|
+
} as const;
|
|
18
|
+
/**
|
|
19
|
+
* Who set the bands. `vepler` means Vepler's own bands, the same ones the site and property noise overlay tags use. They are not the noise maps' published bands.
|
|
20
|
+
*/
|
|
21
|
+
export type NoiseBandSetSource = ClosedEnum<typeof NoiseBandSetSource>;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* The bands this metric is banded with. Null for Lnight.
|
|
25
|
+
*/
|
|
26
|
+
export type NoiseBandSet = {
|
|
27
|
+
/**
|
|
28
|
+
* The bands, quietest first.
|
|
29
|
+
*/
|
|
30
|
+
bands: Array<NoiseBand | null>;
|
|
31
|
+
/**
|
|
32
|
+
* Who set the bands. `vepler` means Vepler's own bands, the same ones the site and property noise overlay tags use. They are not the noise maps' published bands.
|
|
33
|
+
*/
|
|
34
|
+
source: NoiseBandSetSource;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/** @internal */
|
|
38
|
+
export const NoiseBandSetSource$inboundSchema: z.ZodNativeEnum<
|
|
39
|
+
typeof NoiseBandSetSource
|
|
40
|
+
> = z.nativeEnum(NoiseBandSetSource);
|
|
41
|
+
|
|
42
|
+
/** @internal */
|
|
43
|
+
export const NoiseBandSet$inboundSchema: z.ZodType<
|
|
44
|
+
NoiseBandSet,
|
|
45
|
+
z.ZodTypeDef,
|
|
46
|
+
unknown
|
|
47
|
+
> = z.object({
|
|
48
|
+
bands: z.array(z.nullable(NoiseBand$inboundSchema)),
|
|
49
|
+
source: NoiseBandSetSource$inboundSchema,
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
export function noiseBandSetFromJSON(
|
|
53
|
+
jsonString: string,
|
|
54
|
+
): SafeParseResult<NoiseBandSet, SDKValidationError> {
|
|
55
|
+
return safeParse(
|
|
56
|
+
jsonString,
|
|
57
|
+
(x) => NoiseBandSet$inboundSchema.parse(JSON.parse(x)),
|
|
58
|
+
`Failed to parse 'NoiseBandSet' from JSON`,
|
|
59
|
+
);
|
|
60
|
+
}
|
|
@@ -0,0 +1,140 @@
|
|
|
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 * as openEnums from "../../types/enums.js";
|
|
8
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* `stated` when the publisher states the data year, `inferred` when it is worked out from the regulations the map was made under. Null when the basis is not recorded.
|
|
14
|
+
*/
|
|
15
|
+
export const DataYearBasis = {
|
|
16
|
+
Stated: "stated",
|
|
17
|
+
Inferred: "inferred",
|
|
18
|
+
} as const;
|
|
19
|
+
/**
|
|
20
|
+
* `stated` when the publisher states the data year, `inferred` when it is worked out from the regulations the map was made under. Null when the basis is not recorded.
|
|
21
|
+
*/
|
|
22
|
+
export type DataYearBasis = OpenEnum<typeof DataYearBasis>;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* The nation whose map the reading comes from. Null when the map does not state it.
|
|
26
|
+
*/
|
|
27
|
+
export const NoiseMapSourceNation = {
|
|
28
|
+
Eng: "ENG",
|
|
29
|
+
Sco: "SCO",
|
|
30
|
+
Wal: "WAL",
|
|
31
|
+
Nir: "NIR",
|
|
32
|
+
} as const;
|
|
33
|
+
/**
|
|
34
|
+
* The nation whose map the reading comes from. Null when the map does not state it.
|
|
35
|
+
*/
|
|
36
|
+
export type NoiseMapSourceNation = OpenEnum<typeof NoiseMapSourceNation>;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* `stated` when the publisher states the round, `inferred` when it is worked out from the regulations the map was made under. Null when `round` is null.
|
|
40
|
+
*/
|
|
41
|
+
export const RoundBasis = {
|
|
42
|
+
Stated: "stated",
|
|
43
|
+
Inferred: "inferred",
|
|
44
|
+
} as const;
|
|
45
|
+
/**
|
|
46
|
+
* `stated` when the publisher states the round, `inferred` when it is worked out from the regulations the map was made under. Null when `round` is null.
|
|
47
|
+
*/
|
|
48
|
+
export type RoundBasis = OpenEnum<typeof RoundBasis>;
|
|
49
|
+
|
|
50
|
+
export type NoiseMapSource = {
|
|
51
|
+
/**
|
|
52
|
+
* The attribution the licence requires to be shown wherever the reading is shown.
|
|
53
|
+
*/
|
|
54
|
+
attribution: string | null;
|
|
55
|
+
/**
|
|
56
|
+
* The year the map models noise for. Null when not stated.
|
|
57
|
+
*/
|
|
58
|
+
dataYear: number | null;
|
|
59
|
+
/**
|
|
60
|
+
* `stated` when the publisher states the data year, `inferred` when it is worked out from the regulations the map was made under. Null when the basis is not recorded.
|
|
61
|
+
*/
|
|
62
|
+
dataYearBasis: DataYearBasis | null;
|
|
63
|
+
/**
|
|
64
|
+
* The date the publisher published this edition of the map, as an ISO 8601 date. Null when not stated.
|
|
65
|
+
*/
|
|
66
|
+
edition: string | null;
|
|
67
|
+
/**
|
|
68
|
+
* The licence the map is published under, such as `OGL-UK-3.0`.
|
|
69
|
+
*/
|
|
70
|
+
licence: string | null;
|
|
71
|
+
/**
|
|
72
|
+
* The nation whose map the reading comes from. Null when the map does not state it.
|
|
73
|
+
*/
|
|
74
|
+
nation: NoiseMapSourceNation | null;
|
|
75
|
+
/**
|
|
76
|
+
* The body that publishes the map, such as the Welsh Government. Null when not stated.
|
|
77
|
+
*/
|
|
78
|
+
publisher: string | null;
|
|
79
|
+
/**
|
|
80
|
+
* The strategic noise mapping round the map belongs to, such as 4. Null when not stated.
|
|
81
|
+
*/
|
|
82
|
+
round: number | null;
|
|
83
|
+
/**
|
|
84
|
+
* `stated` when the publisher states the round, `inferred` when it is worked out from the regulations the map was made under. Null when `round` is null.
|
|
85
|
+
*/
|
|
86
|
+
roundBasis: RoundBasis | null;
|
|
87
|
+
/**
|
|
88
|
+
* The publisher's own limitation on how the map may be used, to be shown with the reading. Null when the publisher states none.
|
|
89
|
+
*/
|
|
90
|
+
useLimitation: string | null;
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
/** @internal */
|
|
94
|
+
export const DataYearBasis$inboundSchema: z.ZodType<
|
|
95
|
+
DataYearBasis,
|
|
96
|
+
z.ZodTypeDef,
|
|
97
|
+
unknown
|
|
98
|
+
> = openEnums.inboundSchema(DataYearBasis);
|
|
99
|
+
|
|
100
|
+
/** @internal */
|
|
101
|
+
export const NoiseMapSourceNation$inboundSchema: z.ZodType<
|
|
102
|
+
NoiseMapSourceNation,
|
|
103
|
+
z.ZodTypeDef,
|
|
104
|
+
unknown
|
|
105
|
+
> = openEnums.inboundSchema(NoiseMapSourceNation);
|
|
106
|
+
|
|
107
|
+
/** @internal */
|
|
108
|
+
export const RoundBasis$inboundSchema: z.ZodType<
|
|
109
|
+
RoundBasis,
|
|
110
|
+
z.ZodTypeDef,
|
|
111
|
+
unknown
|
|
112
|
+
> = openEnums.inboundSchema(RoundBasis);
|
|
113
|
+
|
|
114
|
+
/** @internal */
|
|
115
|
+
export const NoiseMapSource$inboundSchema: z.ZodType<
|
|
116
|
+
NoiseMapSource,
|
|
117
|
+
z.ZodTypeDef,
|
|
118
|
+
unknown
|
|
119
|
+
> = z.object({
|
|
120
|
+
attribution: z.nullable(z.string()),
|
|
121
|
+
dataYear: z.nullable(z.number().int()),
|
|
122
|
+
dataYearBasis: z.nullable(DataYearBasis$inboundSchema),
|
|
123
|
+
edition: z.nullable(z.string()),
|
|
124
|
+
licence: z.nullable(z.string()),
|
|
125
|
+
nation: z.nullable(NoiseMapSourceNation$inboundSchema),
|
|
126
|
+
publisher: z.nullable(z.string()),
|
|
127
|
+
round: z.nullable(z.number().int()),
|
|
128
|
+
roundBasis: z.nullable(RoundBasis$inboundSchema),
|
|
129
|
+
useLimitation: z.nullable(z.string()),
|
|
130
|
+
});
|
|
131
|
+
|
|
132
|
+
export function noiseMapSourceFromJSON(
|
|
133
|
+
jsonString: string,
|
|
134
|
+
): SafeParseResult<NoiseMapSource, SDKValidationError> {
|
|
135
|
+
return safeParse(
|
|
136
|
+
jsonString,
|
|
137
|
+
(x) => NoiseMapSource$inboundSchema.parse(JSON.parse(x)),
|
|
138
|
+
`Failed to parse 'NoiseMapSource' from JSON`,
|
|
139
|
+
);
|
|
140
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
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 * as openEnums from "../../types/enums.js";
|
|
8
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* UK nation.
|
|
14
|
+
*/
|
|
15
|
+
export const NoiseNationCoverageNation = {
|
|
16
|
+
Eng: "ENG",
|
|
17
|
+
Sco: "SCO",
|
|
18
|
+
Wal: "WAL",
|
|
19
|
+
Nir: "NIR",
|
|
20
|
+
} as const;
|
|
21
|
+
/**
|
|
22
|
+
* UK nation.
|
|
23
|
+
*/
|
|
24
|
+
export type NoiseNationCoverageNation = OpenEnum<
|
|
25
|
+
typeof NoiseNationCoverageNation
|
|
26
|
+
>;
|
|
27
|
+
|
|
28
|
+
export type NoiseNationCoverage = {
|
|
29
|
+
/**
|
|
30
|
+
* Whether the road and rail noise maps cover this nation.
|
|
31
|
+
*/
|
|
32
|
+
covered: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* UK nation.
|
|
35
|
+
*/
|
|
36
|
+
nation: NoiseNationCoverageNation;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
/** @internal */
|
|
40
|
+
export const NoiseNationCoverageNation$inboundSchema: z.ZodType<
|
|
41
|
+
NoiseNationCoverageNation,
|
|
42
|
+
z.ZodTypeDef,
|
|
43
|
+
unknown
|
|
44
|
+
> = openEnums.inboundSchema(NoiseNationCoverageNation);
|
|
45
|
+
|
|
46
|
+
/** @internal */
|
|
47
|
+
export const NoiseNationCoverage$inboundSchema: z.ZodType<
|
|
48
|
+
NoiseNationCoverage,
|
|
49
|
+
z.ZodTypeDef,
|
|
50
|
+
unknown
|
|
51
|
+
> = z.object({
|
|
52
|
+
covered: z.boolean(),
|
|
53
|
+
nation: NoiseNationCoverageNation$inboundSchema,
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
export function noiseNationCoverageFromJSON(
|
|
57
|
+
jsonString: string,
|
|
58
|
+
): SafeParseResult<NoiseNationCoverage, SDKValidationError> {
|
|
59
|
+
return safeParse(
|
|
60
|
+
jsonString,
|
|
61
|
+
(x) => NoiseNationCoverage$inboundSchema.parse(JSON.parse(x)),
|
|
62
|
+
`Failed to parse 'NoiseNationCoverage' from JSON`,
|
|
63
|
+
);
|
|
64
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
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
|
+
export type NoisePointCoordinate = {
|
|
11
|
+
/**
|
|
12
|
+
* Latitude in WGS84 decimal degrees. Between 49 and 61.
|
|
13
|
+
*/
|
|
14
|
+
lat: number;
|
|
15
|
+
/**
|
|
16
|
+
* Longitude in WGS84 decimal degrees. Between -9 and 2.
|
|
17
|
+
*/
|
|
18
|
+
lon: number;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const NoisePointCoordinate$inboundSchema: z.ZodType<
|
|
23
|
+
NoisePointCoordinate,
|
|
24
|
+
z.ZodTypeDef,
|
|
25
|
+
unknown
|
|
26
|
+
> = z.object({
|
|
27
|
+
lat: z.number(),
|
|
28
|
+
lon: z.number(),
|
|
29
|
+
});
|
|
30
|
+
/** @internal */
|
|
31
|
+
export type NoisePointCoordinate$Outbound = {
|
|
32
|
+
lat: number;
|
|
33
|
+
lon: number;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
/** @internal */
|
|
37
|
+
export const NoisePointCoordinate$outboundSchema: z.ZodType<
|
|
38
|
+
NoisePointCoordinate$Outbound,
|
|
39
|
+
z.ZodTypeDef,
|
|
40
|
+
NoisePointCoordinate
|
|
41
|
+
> = z.object({
|
|
42
|
+
lat: z.number(),
|
|
43
|
+
lon: z.number(),
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
export function noisePointCoordinateToJSON(
|
|
47
|
+
noisePointCoordinate: NoisePointCoordinate,
|
|
48
|
+
): string {
|
|
49
|
+
return JSON.stringify(
|
|
50
|
+
NoisePointCoordinate$outboundSchema.parse(noisePointCoordinate),
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
export function noisePointCoordinateFromJSON(
|
|
54
|
+
jsonString: string,
|
|
55
|
+
): SafeParseResult<NoisePointCoordinate, SDKValidationError> {
|
|
56
|
+
return safeParse(
|
|
57
|
+
jsonString,
|
|
58
|
+
(x) => NoisePointCoordinate$inboundSchema.parse(JSON.parse(x)),
|
|
59
|
+
`Failed to parse 'NoisePointCoordinate' from JSON`,
|
|
60
|
+
);
|
|
61
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import {
|
|
7
|
+
NoisePointCoordinate,
|
|
8
|
+
NoisePointCoordinate$Outbound,
|
|
9
|
+
NoisePointCoordinate$outboundSchema,
|
|
10
|
+
} from "./noisepointcoordinate.js";
|
|
11
|
+
|
|
12
|
+
export type NoisePointRequest = {
|
|
13
|
+
coordinate: NoisePointCoordinate;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/** @internal */
|
|
17
|
+
export type NoisePointRequest$Outbound = {
|
|
18
|
+
coordinate: NoisePointCoordinate$Outbound;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const NoisePointRequest$outboundSchema: z.ZodType<
|
|
23
|
+
NoisePointRequest$Outbound,
|
|
24
|
+
z.ZodTypeDef,
|
|
25
|
+
NoisePointRequest
|
|
26
|
+
> = z.object({
|
|
27
|
+
coordinate: NoisePointCoordinate$outboundSchema,
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
export function noisePointRequestToJSON(
|
|
31
|
+
noisePointRequest: NoisePointRequest,
|
|
32
|
+
): string {
|
|
33
|
+
return JSON.stringify(
|
|
34
|
+
NoisePointRequest$outboundSchema.parse(noisePointRequest),
|
|
35
|
+
);
|
|
36
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
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 * as openEnums from "../../types/enums.js";
|
|
8
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
import {
|
|
12
|
+
NoiseNationCoverage,
|
|
13
|
+
NoiseNationCoverage$inboundSchema,
|
|
14
|
+
} from "./noisenationcoverage.js";
|
|
15
|
+
import {
|
|
16
|
+
NoisePointCoordinate,
|
|
17
|
+
NoisePointCoordinate$inboundSchema,
|
|
18
|
+
} from "./noisepointcoordinate.js";
|
|
19
|
+
import {
|
|
20
|
+
NoiseSourceReadings,
|
|
21
|
+
NoiseSourceReadings$inboundSchema,
|
|
22
|
+
} from "./noisesourcereadings.js";
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* `covered` when the noise maps cover the point. `not_covered` when they do not, in which case every reading is `not_covered` and says nothing about the noise there.
|
|
26
|
+
*/
|
|
27
|
+
export const Coverage = {
|
|
28
|
+
Covered: "covered",
|
|
29
|
+
NotCovered: "not_covered",
|
|
30
|
+
} as const;
|
|
31
|
+
/**
|
|
32
|
+
* `covered` when the noise maps cover the point. `not_covered` when they do not, in which case every reading is `not_covered` and says nothing about the noise there.
|
|
33
|
+
*/
|
|
34
|
+
export type Coverage = OpenEnum<typeof Coverage>;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* UK nation the point lies in. Null when the point is not in the UK.
|
|
38
|
+
*/
|
|
39
|
+
export const NoisePointResponseNation = {
|
|
40
|
+
Eng: "ENG",
|
|
41
|
+
Sco: "SCO",
|
|
42
|
+
Wal: "WAL",
|
|
43
|
+
Nir: "NIR",
|
|
44
|
+
} as const;
|
|
45
|
+
/**
|
|
46
|
+
* UK nation the point lies in. Null when the point is not in the UK.
|
|
47
|
+
*/
|
|
48
|
+
export type NoisePointResponseNation = OpenEnum<
|
|
49
|
+
typeof NoisePointResponseNation
|
|
50
|
+
>;
|
|
51
|
+
|
|
52
|
+
export type NoisePointResponse = {
|
|
53
|
+
coordinate: NoisePointCoordinate;
|
|
54
|
+
/**
|
|
55
|
+
* `covered` when the noise maps cover the point. `not_covered` when they do not, in which case every reading is `not_covered` and says nothing about the noise there.
|
|
56
|
+
*/
|
|
57
|
+
coverage: Coverage;
|
|
58
|
+
/**
|
|
59
|
+
* UK nation the point lies in. Null when the point is not in the UK.
|
|
60
|
+
*/
|
|
61
|
+
nation: NoisePointResponseNation | null;
|
|
62
|
+
/**
|
|
63
|
+
* Which UK nations the noise maps cover.
|
|
64
|
+
*/
|
|
65
|
+
nations: Array<NoiseNationCoverage>;
|
|
66
|
+
rail: NoiseSourceReadings;
|
|
67
|
+
/**
|
|
68
|
+
* Road traffic noise at the point.
|
|
69
|
+
*/
|
|
70
|
+
road: NoiseSourceReadings;
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
/** @internal */
|
|
74
|
+
export const Coverage$inboundSchema: z.ZodType<
|
|
75
|
+
Coverage,
|
|
76
|
+
z.ZodTypeDef,
|
|
77
|
+
unknown
|
|
78
|
+
> = openEnums.inboundSchema(Coverage);
|
|
79
|
+
|
|
80
|
+
/** @internal */
|
|
81
|
+
export const NoisePointResponseNation$inboundSchema: z.ZodType<
|
|
82
|
+
NoisePointResponseNation,
|
|
83
|
+
z.ZodTypeDef,
|
|
84
|
+
unknown
|
|
85
|
+
> = openEnums.inboundSchema(NoisePointResponseNation);
|
|
86
|
+
|
|
87
|
+
/** @internal */
|
|
88
|
+
export const NoisePointResponse$inboundSchema: z.ZodType<
|
|
89
|
+
NoisePointResponse,
|
|
90
|
+
z.ZodTypeDef,
|
|
91
|
+
unknown
|
|
92
|
+
> = z.object({
|
|
93
|
+
coordinate: NoisePointCoordinate$inboundSchema,
|
|
94
|
+
coverage: Coverage$inboundSchema,
|
|
95
|
+
nation: z.nullable(NoisePointResponseNation$inboundSchema),
|
|
96
|
+
nations: z.array(NoiseNationCoverage$inboundSchema),
|
|
97
|
+
rail: NoiseSourceReadings$inboundSchema,
|
|
98
|
+
road: NoiseSourceReadings$inboundSchema,
|
|
99
|
+
});
|
|
100
|
+
|
|
101
|
+
export function noisePointResponseFromJSON(
|
|
102
|
+
jsonString: string,
|
|
103
|
+
): SafeParseResult<NoisePointResponse, SDKValidationError> {
|
|
104
|
+
return safeParse(
|
|
105
|
+
jsonString,
|
|
106
|
+
(x) => NoisePointResponse$inboundSchema.parse(JSON.parse(x)),
|
|
107
|
+
`Failed to parse 'NoisePointResponse' from JSON`,
|
|
108
|
+
);
|
|
109
|
+
}
|