@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,40 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
|
|
7
|
+
export type GetRadonAtPointRequest = {
|
|
8
|
+
/**
|
|
9
|
+
* Latitude of the point, in WGS84 decimal degrees. Must be between -90 and 90.
|
|
10
|
+
*/
|
|
11
|
+
lat?: number | null | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* Longitude of the point, in WGS84 decimal degrees. Must be between -180 and 180.
|
|
14
|
+
*/
|
|
15
|
+
lng?: number | null | undefined;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export type GetRadonAtPointRequest$Outbound = {
|
|
20
|
+
lat?: number | null | undefined;
|
|
21
|
+
lng?: number | null | undefined;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const GetRadonAtPointRequest$outboundSchema: z.ZodType<
|
|
26
|
+
GetRadonAtPointRequest$Outbound,
|
|
27
|
+
z.ZodTypeDef,
|
|
28
|
+
GetRadonAtPointRequest
|
|
29
|
+
> = z.object({
|
|
30
|
+
lat: z.nullable(z.number()).optional(),
|
|
31
|
+
lng: z.nullable(z.number()).optional(),
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
export function getRadonAtPointRequestToJSON(
|
|
35
|
+
getRadonAtPointRequest: GetRadonAtPointRequest,
|
|
36
|
+
): string {
|
|
37
|
+
return JSON.stringify(
|
|
38
|
+
GetRadonAtPointRequest$outboundSchema.parse(getRadonAtPointRequest),
|
|
39
|
+
);
|
|
40
|
+
}
|
|
@@ -63,6 +63,7 @@ export * from "./getlistingbysource.js";
|
|
|
63
63
|
export * from "./getlistingsbylocation.js";
|
|
64
64
|
export * from "./getmetricprofiles.js";
|
|
65
65
|
export * from "./getmetricvalues.js";
|
|
66
|
+
export * from "./getnearesthistoriclandfill.js";
|
|
66
67
|
export * from "./getnearestpoi.js";
|
|
67
68
|
export * from "./getnearestpostcodes.js";
|
|
68
69
|
export * from "./getofficer.js";
|
|
@@ -80,6 +81,7 @@ export * from "./getpropertiesinsite.js";
|
|
|
80
81
|
export * from "./getpropertytiles.js";
|
|
81
82
|
export * from "./getprosperity.js";
|
|
82
83
|
export * from "./getpsc.js";
|
|
84
|
+
export * from "./getradonatpoint.js";
|
|
83
85
|
export * from "./getschooladmissionarea.js";
|
|
84
86
|
export * from "./getschoolbyid.js";
|
|
85
87
|
export * from "./getschoolbysource.js";
|
|
@@ -768,7 +768,7 @@ export type QuerySchoolsData = {
|
|
|
768
768
|
website?: string | undefined;
|
|
769
769
|
};
|
|
770
770
|
|
|
771
|
-
export type
|
|
771
|
+
export type QuerySchoolsMeta = {
|
|
772
772
|
/**
|
|
773
773
|
* How the catchment match was arrived at: which tiers were used, which were not, and why. Present only when the request supplied `catchmentReference`.
|
|
774
774
|
*/
|
|
@@ -798,7 +798,7 @@ export type QuerySchoolsResponseBody = {
|
|
|
798
798
|
* True when further items exist beyond this page.
|
|
799
799
|
*/
|
|
800
800
|
hasMore: boolean;
|
|
801
|
-
meta?:
|
|
801
|
+
meta?: QuerySchoolsMeta | undefined;
|
|
802
802
|
/**
|
|
803
803
|
* Object type discriminator. Always `list`.
|
|
804
804
|
*/
|
|
@@ -1320,18 +1320,21 @@ export function querySchoolsDataFromJSON(
|
|
|
1320
1320
|
}
|
|
1321
1321
|
|
|
1322
1322
|
/** @internal */
|
|
1323
|
-
export const
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1323
|
+
export const QuerySchoolsMeta$inboundSchema: z.ZodType<
|
|
1324
|
+
QuerySchoolsMeta,
|
|
1325
|
+
z.ZodTypeDef,
|
|
1326
|
+
unknown
|
|
1327
|
+
> = z.object({
|
|
1328
|
+
catchment: shared.CatchmentMeta$inboundSchema.optional(),
|
|
1329
|
+
});
|
|
1327
1330
|
|
|
1328
|
-
export function
|
|
1331
|
+
export function querySchoolsMetaFromJSON(
|
|
1329
1332
|
jsonString: string,
|
|
1330
|
-
): SafeParseResult<
|
|
1333
|
+
): SafeParseResult<QuerySchoolsMeta, SDKValidationError> {
|
|
1331
1334
|
return safeParse(
|
|
1332
1335
|
jsonString,
|
|
1333
|
-
(x) =>
|
|
1334
|
-
`Failed to parse '
|
|
1336
|
+
(x) => QuerySchoolsMeta$inboundSchema.parse(JSON.parse(x)),
|
|
1337
|
+
`Failed to parse 'QuerySchoolsMeta' from JSON`,
|
|
1335
1338
|
);
|
|
1336
1339
|
}
|
|
1337
1340
|
|
|
@@ -1348,7 +1351,7 @@ export const QuerySchoolsResponseBody$inboundSchema: z.ZodType<
|
|
|
1348
1351
|
> = z.object({
|
|
1349
1352
|
data: z.array(z.lazy(() => QuerySchoolsData$inboundSchema)),
|
|
1350
1353
|
has_more: z.boolean(),
|
|
1351
|
-
meta: z.lazy(() =>
|
|
1354
|
+
meta: z.lazy(() => QuerySchoolsMeta$inboundSchema).optional(),
|
|
1352
1355
|
object: QuerySchoolsObject$inboundSchema,
|
|
1353
1356
|
total_count: z.number().optional(),
|
|
1354
1357
|
url: z.string(),
|
|
@@ -38,7 +38,7 @@ export type AirQualityInstallationsItems = {
|
|
|
38
38
|
};
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
|
-
* The nearest
|
|
41
|
+
* The nearest regulated installations within the same radius, nearest first, each with its regulator, distance and bearing.
|
|
42
42
|
*/
|
|
43
43
|
export type Nearby = {
|
|
44
44
|
/**
|
|
@@ -63,17 +63,29 @@ export type Nearby = {
|
|
|
63
63
|
radiusM: number;
|
|
64
64
|
};
|
|
65
65
|
|
|
66
|
+
/**
|
|
67
|
+
* How many regulated installations sit within a radius of the location.
|
|
68
|
+
*/
|
|
66
69
|
export type WithinRadius = {
|
|
70
|
+
/**
|
|
71
|
+
* How many regulated installations sit within `radiusM` of the location, however many are listed.
|
|
72
|
+
*/
|
|
67
73
|
count: number;
|
|
74
|
+
/**
|
|
75
|
+
* Radius the count was taken over, in metres.
|
|
76
|
+
*/
|
|
68
77
|
radiusM: number;
|
|
69
78
|
};
|
|
70
79
|
|
|
71
80
|
export type AirQualityInstallations = {
|
|
72
81
|
/**
|
|
73
|
-
* The nearest
|
|
82
|
+
* The nearest regulated installations within the same radius, nearest first, each with its regulator, distance and bearing.
|
|
74
83
|
*/
|
|
75
84
|
nearby?: Nearby | undefined;
|
|
76
85
|
topReleases: Array<AirQualityTopRelease>;
|
|
86
|
+
/**
|
|
87
|
+
* How many regulated installations sit within a radius of the location.
|
|
88
|
+
*/
|
|
77
89
|
withinRadius: WithinRadius;
|
|
78
90
|
};
|
|
79
91
|
|
|
@@ -29,6 +29,10 @@ export type AirQualityPointOptions = {
|
|
|
29
29
|
* Include the per-pollutant calculation trail in `decay.calculation`. Defaults to false, and it is returned only on licences carrying the `airQualityPremium` permission.
|
|
30
30
|
*/
|
|
31
31
|
explain?: boolean | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Radius in metres that `installations` reports regulated installations within, between 100 and 5000. Defaults to 5000. It sets the count in `installations.withinRadius` and the list in `installations.nearby`; the decay model weighs installations out to 5000 metres whatever it is set to.
|
|
34
|
+
*/
|
|
35
|
+
installationRadiusM?: number | undefined;
|
|
32
36
|
};
|
|
33
37
|
|
|
34
38
|
/** @internal */
|
|
@@ -40,6 +44,7 @@ export type AirQualityPointOptions$Outbound = {
|
|
|
40
44
|
decay: boolean;
|
|
41
45
|
decayModel: string;
|
|
42
46
|
explain: boolean;
|
|
47
|
+
installationRadiusM?: number | undefined;
|
|
43
48
|
};
|
|
44
49
|
|
|
45
50
|
/** @internal */
|
|
@@ -51,6 +56,7 @@ export const AirQualityPointOptions$outboundSchema: z.ZodType<
|
|
|
51
56
|
decay: z.boolean().default(true),
|
|
52
57
|
decayModel: DecayModel$outboundSchema.default("v1"),
|
|
53
58
|
explain: z.boolean().default(false),
|
|
59
|
+
installationRadiusM: z.number().int().optional(),
|
|
54
60
|
});
|
|
55
61
|
|
|
56
62
|
export function airQualityPointOptionsToJSON(
|
|
@@ -20,6 +20,11 @@ export const Direction = {
|
|
|
20
20
|
} as const;
|
|
21
21
|
export type Direction = OpenEnum<typeof Direction>;
|
|
22
22
|
|
|
23
|
+
/**
|
|
24
|
+
* Deprecated. Use `climateProjection`, which names the period and allowances the projection was modelled with and compares it like for like with the present-day bands of the same sources of flooding.
|
|
25
|
+
*
|
|
26
|
+
* @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
27
|
+
*/
|
|
23
28
|
export type FloodClimate2080 = {
|
|
24
29
|
direction: Direction;
|
|
25
30
|
projectedRiskLevel: FloodRiskLevel | null;
|
|
@@ -0,0 +1,65 @@
|
|
|
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 {
|
|
10
|
+
FloodClimateAllowanceLevel,
|
|
11
|
+
FloodClimateAllowanceLevel$inboundSchema,
|
|
12
|
+
} from "./floodclimateallowancelevel.js";
|
|
13
|
+
import {
|
|
14
|
+
FloodClimateDriver,
|
|
15
|
+
FloodClimateDriver$inboundSchema,
|
|
16
|
+
} from "./floodclimatedriver.js";
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* One climate change allowance a projection dataset was modelled with.
|
|
20
|
+
*/
|
|
21
|
+
export type FloodClimateAllowance = {
|
|
22
|
+
/**
|
|
23
|
+
* Which of the Environment Agency's allowance levels the dataset applies: `central`, `higher_central` or `upper_end`.
|
|
24
|
+
*/
|
|
25
|
+
allowance: FloodClimateAllowanceLevel;
|
|
26
|
+
/**
|
|
27
|
+
* What the allowance adjusts.
|
|
28
|
+
*/
|
|
29
|
+
driver: FloodClimateDriver;
|
|
30
|
+
/**
|
|
31
|
+
* The named period the allowance projects to, such as '2050s'. Null where the allowance is cumulative to a year rather than an epoch.
|
|
32
|
+
*/
|
|
33
|
+
epoch: string | null;
|
|
34
|
+
/**
|
|
35
|
+
* First year of that period. Null where the allowance is cumulative to a year.
|
|
36
|
+
*/
|
|
37
|
+
fromYear: number | null;
|
|
38
|
+
/**
|
|
39
|
+
* Last year of the period, or the year a cumulative allowance runs to.
|
|
40
|
+
*/
|
|
41
|
+
toYear: number;
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
/** @internal */
|
|
45
|
+
export const FloodClimateAllowance$inboundSchema: z.ZodType<
|
|
46
|
+
FloodClimateAllowance,
|
|
47
|
+
z.ZodTypeDef,
|
|
48
|
+
unknown
|
|
49
|
+
> = z.object({
|
|
50
|
+
allowance: FloodClimateAllowanceLevel$inboundSchema,
|
|
51
|
+
driver: FloodClimateDriver$inboundSchema,
|
|
52
|
+
epoch: z.nullable(z.string()),
|
|
53
|
+
fromYear: z.nullable(z.number().int()),
|
|
54
|
+
toYear: z.number().int(),
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
export function floodClimateAllowanceFromJSON(
|
|
58
|
+
jsonString: string,
|
|
59
|
+
): SafeParseResult<FloodClimateAllowance, SDKValidationError> {
|
|
60
|
+
return safeParse(
|
|
61
|
+
jsonString,
|
|
62
|
+
(x) => FloodClimateAllowance$inboundSchema.parse(JSON.parse(x)),
|
|
63
|
+
`Failed to parse 'FloodClimateAllowance' from JSON`,
|
|
64
|
+
);
|
|
65
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
* Which of the Environment Agency's allowance levels the dataset applies: `central`, `higher_central` or `upper_end`.
|
|
11
|
+
*/
|
|
12
|
+
export const FloodClimateAllowanceLevel = {
|
|
13
|
+
Central: "central",
|
|
14
|
+
HigherCentral: "higher_central",
|
|
15
|
+
UpperEnd: "upper_end",
|
|
16
|
+
} as const;
|
|
17
|
+
/**
|
|
18
|
+
* Which of the Environment Agency's allowance levels the dataset applies: `central`, `higher_central` or `upper_end`.
|
|
19
|
+
*/
|
|
20
|
+
export type FloodClimateAllowanceLevel = OpenEnum<
|
|
21
|
+
typeof FloodClimateAllowanceLevel
|
|
22
|
+
>;
|
|
23
|
+
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const FloodClimateAllowanceLevel$inboundSchema: z.ZodType<
|
|
26
|
+
FloodClimateAllowanceLevel,
|
|
27
|
+
z.ZodTypeDef,
|
|
28
|
+
unknown
|
|
29
|
+
> = openEnums.inboundSchema(FloodClimateAllowanceLevel);
|
|
@@ -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 allowance adjusts.
|
|
11
|
+
*/
|
|
12
|
+
export const FloodClimateDriver = {
|
|
13
|
+
PeakRiverFlow: "peak_river_flow",
|
|
14
|
+
SeaLevelRise: "sea_level_rise",
|
|
15
|
+
PeakRainfallIntensity: "peak_rainfall_intensity",
|
|
16
|
+
} as const;
|
|
17
|
+
/**
|
|
18
|
+
* What the allowance adjusts.
|
|
19
|
+
*/
|
|
20
|
+
export type FloodClimateDriver = OpenEnum<typeof FloodClimateDriver>;
|
|
21
|
+
|
|
22
|
+
/** @internal */
|
|
23
|
+
export const FloodClimateDriver$inboundSchema: z.ZodType<
|
|
24
|
+
FloodClimateDriver,
|
|
25
|
+
z.ZodTypeDef,
|
|
26
|
+
unknown
|
|
27
|
+
> = openEnums.inboundSchema(FloodClimateDriver);
|
|
@@ -0,0 +1,88 @@
|
|
|
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
|
+
FloodClimateProjectionSource,
|
|
13
|
+
FloodClimateProjectionSource$inboundSchema,
|
|
14
|
+
} from "./floodclimateprojectionsource.js";
|
|
15
|
+
import {
|
|
16
|
+
FloodRiskLevel,
|
|
17
|
+
FloodRiskLevel$inboundSchema,
|
|
18
|
+
} from "./floodrisklevel.js";
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* How `projectedRiskLevel` compares with `presentRiskLevel`; a projected band over no present band is `increased`.
|
|
22
|
+
*/
|
|
23
|
+
export const FloodClimateProjectionDirection = {
|
|
24
|
+
Increased: "increased",
|
|
25
|
+
Unchanged: "unchanged",
|
|
26
|
+
Decreased: "decreased",
|
|
27
|
+
} as const;
|
|
28
|
+
/**
|
|
29
|
+
* How `projectedRiskLevel` compares with `presentRiskLevel`; a projected band over no present band is `increased`.
|
|
30
|
+
*/
|
|
31
|
+
export type FloodClimateProjectionDirection = OpenEnum<
|
|
32
|
+
typeof FloodClimateProjectionDirection
|
|
33
|
+
>;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* The climate change projection for the point. Present when a projection dataset of a known edition holds a band for the point and the request includes the `cc_2080` scenario; absent otherwise.
|
|
37
|
+
*/
|
|
38
|
+
export type FloodClimateProjection = {
|
|
39
|
+
/**
|
|
40
|
+
* The climate projections the allowances are derived from.
|
|
41
|
+
*/
|
|
42
|
+
climateProjections: string;
|
|
43
|
+
/**
|
|
44
|
+
* How `projectedRiskLevel` compares with `presentRiskLevel`; a projected band over no present band is `increased`.
|
|
45
|
+
*/
|
|
46
|
+
direction: FloodClimateProjectionDirection;
|
|
47
|
+
/**
|
|
48
|
+
* The greenhouse gas concentration pathway those projections assume.
|
|
49
|
+
*/
|
|
50
|
+
emissionsPathway: string;
|
|
51
|
+
presentRiskLevel: FloodRiskLevel | null;
|
|
52
|
+
projectedRiskLevel: FloodRiskLevel | null;
|
|
53
|
+
/**
|
|
54
|
+
* Each projection dataset that holds a band for the point, with its edition and allowances.
|
|
55
|
+
*/
|
|
56
|
+
sources: Array<FloodClimateProjectionSource>;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
/** @internal */
|
|
60
|
+
export const FloodClimateProjectionDirection$inboundSchema: z.ZodType<
|
|
61
|
+
FloodClimateProjectionDirection,
|
|
62
|
+
z.ZodTypeDef,
|
|
63
|
+
unknown
|
|
64
|
+
> = openEnums.inboundSchema(FloodClimateProjectionDirection);
|
|
65
|
+
|
|
66
|
+
/** @internal */
|
|
67
|
+
export const FloodClimateProjection$inboundSchema: z.ZodType<
|
|
68
|
+
FloodClimateProjection,
|
|
69
|
+
z.ZodTypeDef,
|
|
70
|
+
unknown
|
|
71
|
+
> = z.object({
|
|
72
|
+
climateProjections: z.string(),
|
|
73
|
+
direction: FloodClimateProjectionDirection$inboundSchema,
|
|
74
|
+
emissionsPathway: z.string(),
|
|
75
|
+
presentRiskLevel: z.nullable(FloodRiskLevel$inboundSchema),
|
|
76
|
+
projectedRiskLevel: z.nullable(FloodRiskLevel$inboundSchema),
|
|
77
|
+
sources: z.array(FloodClimateProjectionSource$inboundSchema),
|
|
78
|
+
});
|
|
79
|
+
|
|
80
|
+
export function floodClimateProjectionFromJSON(
|
|
81
|
+
jsonString: string,
|
|
82
|
+
): SafeParseResult<FloodClimateProjection, SDKValidationError> {
|
|
83
|
+
return safeParse(
|
|
84
|
+
jsonString,
|
|
85
|
+
(x) => FloodClimateProjection$inboundSchema.parse(JSON.parse(x)),
|
|
86
|
+
`Failed to parse 'FloodClimateProjection' from JSON`,
|
|
87
|
+
);
|
|
88
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
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 {
|
|
10
|
+
FloodClimateAllowance,
|
|
11
|
+
FloodClimateAllowance$inboundSchema,
|
|
12
|
+
} from "./floodclimateallowance.js";
|
|
13
|
+
import {
|
|
14
|
+
FloodPrimarySource,
|
|
15
|
+
FloodPrimarySource$inboundSchema,
|
|
16
|
+
} from "./floodprimarysource.js";
|
|
17
|
+
import {
|
|
18
|
+
FloodRiskLevel,
|
|
19
|
+
FloodRiskLevel$inboundSchema,
|
|
20
|
+
} from "./floodrisklevel.js";
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* One climate change projection dataset that holds a band for the point.
|
|
24
|
+
*/
|
|
25
|
+
export type FloodClimateProjectionSource = {
|
|
26
|
+
/**
|
|
27
|
+
* The climate change allowances the dataset was modelled with.
|
|
28
|
+
*/
|
|
29
|
+
allowances: Array<FloodClimateAllowance>;
|
|
30
|
+
/**
|
|
31
|
+
* Name of the Environment Agency climate change dataset read.
|
|
32
|
+
*/
|
|
33
|
+
dataset: string;
|
|
34
|
+
/**
|
|
35
|
+
* Edition of that dataset read, as the Environment Agency versions it.
|
|
36
|
+
*/
|
|
37
|
+
edition: string;
|
|
38
|
+
floodSource: FloodPrimarySource | null;
|
|
39
|
+
presentRiskLevel: FloodRiskLevel | null;
|
|
40
|
+
projectedRiskLevel: FloodRiskLevel | null;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
/** @internal */
|
|
44
|
+
export const FloodClimateProjectionSource$inboundSchema: z.ZodType<
|
|
45
|
+
FloodClimateProjectionSource,
|
|
46
|
+
z.ZodTypeDef,
|
|
47
|
+
unknown
|
|
48
|
+
> = z.object({
|
|
49
|
+
allowances: z.array(FloodClimateAllowance$inboundSchema),
|
|
50
|
+
dataset: z.string(),
|
|
51
|
+
edition: z.string(),
|
|
52
|
+
floodSource: z.nullable(FloodPrimarySource$inboundSchema),
|
|
53
|
+
presentRiskLevel: z.nullable(FloodRiskLevel$inboundSchema),
|
|
54
|
+
projectedRiskLevel: z.nullable(FloodRiskLevel$inboundSchema),
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
export function floodClimateProjectionSourceFromJSON(
|
|
58
|
+
jsonString: string,
|
|
59
|
+
): SafeParseResult<FloodClimateProjectionSource, SDKValidationError> {
|
|
60
|
+
return safeParse(
|
|
61
|
+
jsonString,
|
|
62
|
+
(x) => FloodClimateProjectionSource$inboundSchema.parse(JSON.parse(x)),
|
|
63
|
+
`Failed to parse 'FloodClimateProjectionSource' from JSON`,
|
|
64
|
+
);
|
|
65
|
+
}
|
|
@@ -10,6 +10,10 @@ import {
|
|
|
10
10
|
FloodClimate2080,
|
|
11
11
|
FloodClimate2080$inboundSchema,
|
|
12
12
|
} from "./floodclimate2080.js";
|
|
13
|
+
import {
|
|
14
|
+
FloodClimateProjection,
|
|
15
|
+
FloodClimateProjection$inboundSchema,
|
|
16
|
+
} from "./floodclimateprojection.js";
|
|
13
17
|
import {
|
|
14
18
|
FloodDataAvailability,
|
|
15
19
|
FloodDataAvailability$inboundSchema,
|
|
@@ -35,7 +39,16 @@ import {
|
|
|
35
39
|
import { Provenance, Provenance$inboundSchema } from "./provenance.js";
|
|
36
40
|
|
|
37
41
|
export type FloodRiskPoint = {
|
|
42
|
+
/**
|
|
43
|
+
* Deprecated. Use `climateProjection`, which names the period and allowances the projection was modelled with and compares it like for like with the present-day bands of the same sources of flooding.
|
|
44
|
+
*
|
|
45
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
46
|
+
*/
|
|
38
47
|
climate2080?: FloodClimate2080 | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* The climate change projection for the point. Present when a projection dataset of a known edition holds a band for the point and the request includes the `cc_2080` scenario; absent otherwise.
|
|
50
|
+
*/
|
|
51
|
+
climateProjection?: FloodClimateProjection | undefined;
|
|
39
52
|
coordinate: FloodRiskCoordinate;
|
|
40
53
|
dataAvailability: FloodDataAvailability;
|
|
41
54
|
defences?: FloodDefence | undefined;
|
|
@@ -60,6 +73,7 @@ export const FloodRiskPoint$inboundSchema: z.ZodType<
|
|
|
60
73
|
unknown
|
|
61
74
|
> = z.object({
|
|
62
75
|
climate2080: FloodClimate2080$inboundSchema.optional(),
|
|
76
|
+
climateProjection: FloodClimateProjection$inboundSchema.optional(),
|
|
63
77
|
coordinate: FloodRiskCoordinate$inboundSchema,
|
|
64
78
|
dataAvailability: FloodDataAvailability$inboundSchema,
|
|
65
79
|
defences: FloodDefence$inboundSchema.optional(),
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
export type FloodRiskPointRequest = {
|
|
17
17
|
coordinate: FloodRiskCoordinate;
|
|
18
18
|
/**
|
|
19
|
-
* Which scenarios to assess: `present` for today, `cc_2080` for the
|
|
19
|
+
* Which scenarios to assess: `present` for today, `cc_2080` for the climate change projection, or `both`. Defaults to `both`. The `cc_2080` value is a fixed name: `climateProjection` states the period each projection was modelled for.
|
|
20
20
|
*/
|
|
21
21
|
scenario?: FloodScenario | undefined;
|
|
22
22
|
/**
|
|
@@ -6,7 +6,7 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import { ClosedEnum } from "../../types/enums.js";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* Which scenarios to assess: `present` for today, `cc_2080` for the
|
|
9
|
+
* Which scenarios to assess: `present` for today, `cc_2080` for the climate change projection, or `both`. Defaults to `both`. The `cc_2080` value is a fixed name: `climateProjection` states the period each projection was modelled for.
|
|
10
10
|
*/
|
|
11
11
|
export const FloodScenario = {
|
|
12
12
|
Present: "present",
|
|
@@ -14,7 +14,7 @@ export const FloodScenario = {
|
|
|
14
14
|
Both: "both",
|
|
15
15
|
} as const;
|
|
16
16
|
/**
|
|
17
|
-
* Which scenarios to assess: `present` for today, `cc_2080` for the
|
|
17
|
+
* Which scenarios to assess: `present` for today, `cc_2080` for the climate change projection, or `both`. Defaults to `both`. The `cc_2080` value is a fixed name: `climateProjection` states the period each projection was modelled for.
|
|
18
18
|
*/
|
|
19
19
|
export type FloodScenario = ClosedEnum<typeof FloodScenario>;
|
|
20
20
|
|
|
@@ -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 { RFCDate } from "../../types/rfcdate.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* The release of the historic landfill record the answer was read from: the found site's record, or when nothing is found, the record for the nation the point is in. Null when nothing is found and `covered` is false.
|
|
13
|
+
*/
|
|
14
|
+
export type HazardEdition = {
|
|
15
|
+
/**
|
|
16
|
+
* The date the publisher gives for the release, as YYYY-MM-DD.
|
|
17
|
+
*/
|
|
18
|
+
date: RFCDate | null;
|
|
19
|
+
/**
|
|
20
|
+
* The licence the release is published under.
|
|
21
|
+
*/
|
|
22
|
+
licence: string | null;
|
|
23
|
+
/**
|
|
24
|
+
* Who publishes the release.
|
|
25
|
+
*/
|
|
26
|
+
publisher: string | null;
|
|
27
|
+
/**
|
|
28
|
+
* The publisher's page that states the release and its licence.
|
|
29
|
+
*/
|
|
30
|
+
sourceUrl: string | null;
|
|
31
|
+
/**
|
|
32
|
+
* The publisher's label for the release.
|
|
33
|
+
*/
|
|
34
|
+
version: string | null;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/** @internal */
|
|
38
|
+
export const HazardEdition$inboundSchema: z.ZodType<
|
|
39
|
+
HazardEdition,
|
|
40
|
+
z.ZodTypeDef,
|
|
41
|
+
unknown
|
|
42
|
+
> = z.object({
|
|
43
|
+
date: z.nullable(z.string().transform(v => new RFCDate(v))),
|
|
44
|
+
licence: z.nullable(z.string()),
|
|
45
|
+
publisher: z.nullable(z.string()),
|
|
46
|
+
sourceUrl: z.nullable(z.string()),
|
|
47
|
+
version: z.nullable(z.string()),
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
export function hazardEditionFromJSON(
|
|
51
|
+
jsonString: string,
|
|
52
|
+
): SafeParseResult<HazardEdition, SDKValidationError> {
|
|
53
|
+
return safeParse(
|
|
54
|
+
jsonString,
|
|
55
|
+
(x) => HazardEdition$inboundSchema.parse(JSON.parse(x)),
|
|
56
|
+
`Failed to parse 'HazardEdition' from JSON`,
|
|
57
|
+
);
|
|
58
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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
|
+
|
|
11
|
+
export const HazardOutlineType = {
|
|
12
|
+
MultiPolygon: "MultiPolygon",
|
|
13
|
+
} as const;
|
|
14
|
+
export type HazardOutlineType = ClosedEnum<typeof HazardOutlineType>;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* The outline as a GeoJSON MultiPolygon in WGS84.
|
|
18
|
+
*/
|
|
19
|
+
export type HazardOutline = {
|
|
20
|
+
/**
|
|
21
|
+
* Polygons, each a list of rings, each a list of longitude and latitude pairs in WGS84 decimal degrees.
|
|
22
|
+
*/
|
|
23
|
+
coordinates: Array<Array<Array<Array<number>>>>;
|
|
24
|
+
type: HazardOutlineType;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
/** @internal */
|
|
28
|
+
export const HazardOutlineType$inboundSchema: z.ZodNativeEnum<
|
|
29
|
+
typeof HazardOutlineType
|
|
30
|
+
> = z.nativeEnum(HazardOutlineType);
|
|
31
|
+
|
|
32
|
+
/** @internal */
|
|
33
|
+
export const HazardOutline$inboundSchema: z.ZodType<
|
|
34
|
+
HazardOutline,
|
|
35
|
+
z.ZodTypeDef,
|
|
36
|
+
unknown
|
|
37
|
+
> = z.object({
|
|
38
|
+
coordinates: z.array(z.array(z.array(z.array(z.number())))),
|
|
39
|
+
type: HazardOutlineType$inboundSchema,
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
export function hazardOutlineFromJSON(
|
|
43
|
+
jsonString: string,
|
|
44
|
+
): SafeParseResult<HazardOutline, SDKValidationError> {
|
|
45
|
+
return safeParse(
|
|
46
|
+
jsonString,
|
|
47
|
+
(x) => HazardOutline$inboundSchema.parse(JSON.parse(x)),
|
|
48
|
+
`Failed to parse 'HazardOutline' from JSON`,
|
|
49
|
+
);
|
|
50
|
+
}
|